/*
  This is your main CSS style sheet file, its content and the content generated by visual-override.js and the Custom CSS tool are merged into one, the style.css file.
  Therefore, attach only the style.css file to the head section.
*/
html, body {
  margin: 0;
  height: 100%;
}

* {
  box-sizing: border-box;
}

html{
  font-family: "Ubuntu", "Noto Sans JP",sans-serif;
  font-size: 16px;
  line-height: 1.75;
}

body{
    background-color: #f1f1f1;
}

header{
    width:25%;
    height:100%;
    position: fixed;
    background-color: #f1f1f1;
    border-right: #aaaaaa dashed 2px;
}

main{
    padding:24px;
    padding-left:calc(25% + 24px);
}

a{
  text-decoration: none;
  color:#000;
}

.r18{
  overflow: hidden;
  margin-bottom:-10px;
}

.r18 .works_list_image,.r18 .mainWorks_image,.r18 .otherWorks_list_image{
  filter:blur(10px);
}

.pageTitle{
    font-size: 36px;
    margin:0;
    margin-bottom:16px;
}

.pagenation{
    display: flex;
    justify-content: space-between;
    margin: 48px 16px 24px;
}

.blog_list{
    padding:0;
    margin:0;
    list-style: none;
}

.blog_list_item{
    padding: 24px 0;
    border-top: #aaaaaa dashed 2px;
}

.blog_list_item:last-child{
    border-bottom: #aaaaaa dashed 2px;
}

.blog_title{
    font-size:20px;
    padding-bottom:16px;
}

.post_caption{
  border-bottom: #aaaaaa dashed 2px;
  padding-bottom: 24px;
}

.post_meta{
  padding-bottom: 24px;
  border-bottom: #aaaaaa dashed 2px;
}

.post_caption_title{
  margin:0;
  margin-bottom:8px;
}

.post_caption_description{
  margin:0;
}

.blog_caption,.post_caption_description{
    font-size:16px;
}

.blog_meta,.post_meta{
    padding-top:16px;
}

.mainWorks_imageWrapper,.otherWorks_list_item,.works_imageWrapper{
      display: inline-block;
      background-color: #ccc;
  width:100%;
  a{
    display:block;
  }
}

.mainWorks_image,.otherWorks_list_image,.works_list_image{
  vertical-align:top;
  object-fit: cover;
  aspect-ratio: 1/1;
  width:100%;
}

.mainWorks_image{
  vertical-align:top;
  object-fit: cover;
  aspect-ratio: 2/1;
  width:100%;
}


.mainWorks_caption,.works_caption,.blog_meta,.post_meta{
    display: flex;
}

.mainWorks_caption_title,.works_caption_title,.blog_meta_tag,.post_meta_tag{
    margin:8px;
    margin-right:auto;
}

.mainWorks_caption_year,.works_caption_year,.blog_meta_date,.post_meta_date{
    margin:8px;
    margin-left:auto;
    color: #7e7e7e;
}

.works_list{
  list-style: none;
    margin:0;
    padding:0;
    display: flex;
    flex-wrap:wrap;
    gap:0 16px;
}

.otherWorks_list{
    margin:0;
    padding:0;
    display: flex;
    flex-wrap:wrap;
    gap:16px;
}


.otherWorks_list_item,.works_list_item{
  width:calc(50% - 8px);
}

footer{
    padding:24px;
    text-align: right;
}

.sns_list{
    list-style-type: none;
    display: flex;
    margin:0 auto;
    padding:0;
}

.sns_item{
    margin:0 8px;
}

.sns_item:first-child{
    margin-left:auto;
}

.sns_item:last-child{
    margin-right:0;
}

.footerText{
    color:#7e7e7e;
    padding-top:16px;
}

.logo{
    font-size:22px;
    margin:0;
}

.top-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  background-color: #f1f1f1;;
  /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
  color: #000;
  height: 100%;
  padding: 24px;
}

.menu {
  display: flex;
  flex-direction: column;
  list-style-type: none;
  margin: 0;
  padding: 0;
  
}

  .menu li a{
    font-weight: bold;
    font-size:24px;
  }

.menu > li {
  margin: 0;
  overflow: hidden;
}

.menu-button-container {
  display: none;
  height: 100%;
  width: 30px;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

#menu-toggle {
  display: none;
}

.menu-button,
.menu-button::before,
.menu-button::after {
  display: block;
  background-color: #000;
  position: absolute;
  height: 3px;
  width: 24px;
  transition: transform 400ms cubic-bezier(0.23, 1, 0.32, 1);
  border-radius: 2px;
}

.menu-button::before {
  content: '';
  margin-top: -8px;
}

.menu-button::after {
  content: '';
  margin-top: 8px;
}

#menu-toggle:checked + .menu-button-container .menu-button::before {
  margin-top: 0px;
  transform: rotate(405deg);
}

#menu-toggle:checked + .menu-button-container .menu-button {
  background: rgba(255, 255, 255, 0);
}

#menu-toggle:checked + .menu-button-container .menu-button::after {
  margin-top: 0px;
  transform: rotate(-405deg);
}

@media (max-width: 724px) {
  html{
    font-size: 14px;
  }
.top-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  background-color: #f1f1f1;
  /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
  color: #000;
  height: 56px;
  padding: 24px;
}

  .menu-button-container {
    display: flex;
  }
  .menu {
    position: absolute;
    top: 0;
    margin-top: 56px;
    left: 0;
    flex-direction: column;
    width: 100%;
    justify-content: center;
    align-items: center;
  }

  .menu li a{
    font-weight: bold;
    font-size:16px;
  }

  #menu-toggle ~ .menu li {
    height: 0;
    margin: 0;
    padding: 0 1.5em;
    border: 0;
    transition: height 400ms cubic-bezier(0.23, 1, 0.32, 1);
  }
  #menu-toggle:checked ~ .menu li {
    border: none;
    height: 2.5em;
    padding: 0.25em 1.5em;
    transition: height 400ms cubic-bezier(0.23, 1, 0.32, 1);
  }
  .menu > li {
    display: flex;
    justify-content: left;
    font-size:16px;
    margin: 0;
    padding: 1em 0;
    width: 100%;
    color: #000;
    background-color: #f1f1f1;
  }
  #menu-toggle:checked ~ .menu li:last-child {
    height:3em;
    padding-bottom:1.5em;
  }

  header{
    width:100%;
    height:56px;
    border-right: none;
  }

  main{
    padding:24px;
    padding-top:80px;
}

  .logo{
    font-size:18px;
    margin:0;
}

.mainWorks_image{
  vertical-align:top;
  object-fit: cover;
  aspect-ratio: 1/1;
  width:100%;
}

.works_list{
    margin:0;
    padding:0;
    display: flex;
    flex-wrap:wrap;
}

.works_list_item{
  width:100%;
}

.sns_item:first-child{
    margin-left:auto;
}

.sns_item:last-child{
    margin-right:auto;
}

.works_list{
    gap:0;
}

footer{
    padding:24px;
    text-align: center;
}

}

@media (prefers-color-scheme: dark){
      body{
        background-color: rgb(64, 70, 82);
        color:#fff;
      }
      header{
    background-color: rgb(64, 70, 82);
}

a{
  text-decoration: none;
  color:#fff;
}

  .top-nav {
    background-color: rgb(64, 70, 82);
    /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
    color: #fff;
  }

   .menu > li {
    color: #fff;
    background-color: rgb(64, 70, 82);
  }

  #menu-toggle:checked + .menu-button-container .menu-button {
  background: rgb(64, 70, 82);
}

.menu-button,
.menu-button::before,
.menu-button::after {
  background-color: #fff;
}


      .sns_item{
        filter: brightness(0) invert(0.65);
      }

      .pageTitle{
        color:#fff;
      }

      .post_text,.page_text{
        a{
          color: rgb(94, 217, 255);
        }
        blockquote{
          background-color: #252931;
        }
      }

  }

/*** CSS classes generated by Publii; a complete list of all CSS classes can be found at https://getpublii.com/dev/default-publii-classes-for-using-with-css/ ***/

/* Text alignment */
.align-left {} 
.align-right {} 
.align-center {} 
.align-justify {}

/* Post images*/
.post__image--left,.post__image--left img{
   max-width: 800px;
   margin:12px;
  margin-right:auto;
  margin-left:0;
}
.post__image--right,.post__image--right img{
   max-width: 800px;
   margin:12px;
  margin-right:0;
  margin-left:auto;
}
.post__image--center,.post__image--center img{
  max-width: 800px;
  margin:12px;
  margin-right:auto;
  margin-left:auto;
}

.post__image img{
  max-width:100%;
  height:auto;
}

.post__image figcaption{
  text-align: center;
}

.post__image--wide {}
.post__image--full  {}

/* Post video*/
.post__video {} 

/* Post video*/
.post__iframe {}

/* Table of content*/
.post__toc {}

/* Separator - option represented by the <hr> element, available by all editors; additionally the block editor generates three classes for <hr> element to have a different look */ 
hr {}
.separator--dot {}
.separator--dots {}
.separator--long-line {}

/* Gallery */
.gallery-wrapper {
  margin:24px 0;
}
.gallery-wrapper--wide {}
.gallery-wrapper--full {}
.gallery {
  display: flex;
  flex-wrap: wrap;
  gap:8px;
}
.gallery__item{
  margin:0;
}

.post_text p{
  max-width:800px;
  margin: 24px 0;
}

.gallery[data-columns="1"] .gallery__item{
  width:100%;
}
.gallery[data-columns="2"] .gallery__item{
  width:calc(50% - 5px);
}
.gallery[data-columns="3"] .gallery__item{
  width:calc(33% - 5px);
}

.gallery__item figcaption {
  display:none;
}
.gallery__item img{
  width:100%;
  height:auto;
  aspect-ratio: 1/1;
  object-fit: cover;
}

/* Menu */
.menu {}
.menu-level-x {} /* where 'x' is a menu level number*/
.submenu {}
.submenu-level-x {} /* where 'x' is a submenu level number*/
.active {}
.has-submenu {}
.active-parent {}