@charset "utf-8";
/*
Theme Name: boki vol3 local
*/



:root{
    --font-size: 16px;
--font-family: "Helvetica Neue",
    Arial,
    "Hiragino Kaku Gothic ProN",
    "Hiragino Sans",
    Meiryo,
    sans-serif;


--gutter: 16px;

--white: #fff;

--light-gray: #efefef;
--gray: #828282;
--black: #000;

            --scale: 1.1;
            --heading-lv1: calc( var(--font-size) * pow(var(--scale), 6));
            --heading-lv2: calc( var(--font-size) * pow(var(--scale), 5));
            --heading-lv3: calc( var(--font-size) * pow(var(--scale), 4));
            --heading-lv4: calc( var(--font-size) * pow(var(--scale), 3));
            --heading-lv5: calc( var(--font-size) * pow(var(--scale), 2));
            --heading-lv6: calc( var(--font-size) * pow(var(--scale), 1));
            --small: calc(var(--font-size) * 0.9);
            --smaller: calc(var(--font-size) * 0.8);


--light-blue: #e9faff;
--bg-color: #f4fcff;

--theme-color: #185ac5;;

--content-width: 1100px;
}



html{
font-size: var(--font-size);
}

body{
    font-family: var(--font-family);
    line-height: 1.8;
    background-color: var(--light-blue);
}

.heading-lv1{
    font-size: var(--heading-lv1);
}
.heading-lv2{
    font-size: var(--heading-lv2);
}
.heading-lv3{
    font-size: var(--heading-lv3);
}
.heading-lv4{
    font-size: var(--heading-lv4);
}
.heading-lv5{
    font-size: var(--heading-lv5);
}
.heading-lv6{
    font-size: var(--heading-lv6);
}
.small{
    font-size: var(--small);
}
.smaller{
    font-size: var(--smaller);
}

.wrap{
    display: flex;
margin-bottom: 3rem;

}

.container{
    max-width: var(--content-width);
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--gutter);
    padding-right: var(--gutter);

}

.header{
    position: sticky;
    top:0;
    box-shadow: 0 0 6px #cde0ff;
    background-color: var(--white);
    margin-bottom: 2rem;
}

.header__inner{

 display: flex;
 justify-content: flex-end;
    padding-left: var(--gutter);
    padding-right: var(--gutter);
    align-items: center;
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.site-name{
font-size: clamp(1.4rem, 0.52rem + 3.52vw, 2.5rem);
margin-right: auto;
line-height: 1;
}

.gnav{
    display: flex;
    gap: 1rem;
    align-items: center;
}

.gnav i{
    font-size: var(--heading-lv5);
}

.gnav__link{
    display: flex;
    gap: 0.4rem;
    align-items: center;
}
.gnav__link div{
    display: none;
}
.hamburger{

    width: 1.8rem;
    height: 1.8rem;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: 1rem;

}

@media (width > 800px){
    .hamburger{
        display: none;
    }
    .gnav{
    font-size: var(--small);
}
.gnav i{
 font-size: var(--small);
}
    .gnav__link div{
    display: block;
}
}

.hamburger-bar{
    width: 100%;
    height: 2px;
    background-color: currentColor;
    position: relative;
    border-radius: 9999px;

}

.hamburger-bar::before{
    content: "";
     width: 100%;
    height: 2px;
    background-color:currentColor;
    position: absolute;
    top: -8px;
    left:0;
    border-radius: 9999px;
}
.hamburger-bar::after{
    content: "";
     width: 100%;
    height: 2px;
    background-color:currentColor;
    position: absolute;
    bottom: -8px;
    left:0;
    border-radius: 9999px;
}

.menu{
    position: fixed;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100vh;
    overflow-y: auto;

    /* z-index: calc(infinity); */
        z-index: 100000;
    transition: all 0.5s;
    align-items: center;
    background-color: var(--white);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3rem;
}

.nav{
    padding: 2rem;
}

.nav__contents{
    margin-bottom: 2rem;
}

.nav__heading{
    margin-bottom: 1rem;
    font-weight: bold;
    background-color: var(--white);
    border-left: 10px solid var(--theme-color);
    padding: 0.4rem 0.6rem;
}

.nav__pages li a{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.6rem 0.2rem;
}

.nav__pages li:not(:last-of-type){
    border-bottom: 1px #ccc solid;
}

.nav__pages li a::after{
    content: "\f054";
    font-family: "Font Awesome 7 Free";
    font-weight: bold;
    font-size: var(--small);
}

.nav__post{
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.nav__post-link{
display: flex;
justify-content: space-between;
background-color: var(--white);
}

.nav__post-thumbnail{
    flex: 0 0 30%;
    height: auto;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    margin: 0;
}
.nav__post-thumbnail img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.nav__post-title{
    flex: 0 0 68%;
    padding: 0.4rem;
    line-height: 1.4;
    font-size: var(--small);
}

.nav__post-category{
    font-size: var(--smaller);
    color: var(--gray);

}

.nav__post-date{
    font-size: small;
}
.open .menu{
    top: 0;
}

body.open{
    overflow: hidden;
}


.main{
    overflow-y: auto;
}

.main__inner{
}





@media (width > 800px){
    .wrap{
        justify-content: space-between;

}

.header{
    z-index: calc(infinity);

}


.main{
    flex: 0 0 67%;
    order: 1;
    padding: 1.4rem;
    background-color: var(--white);
    border-radius: 1.4rem;
}
.menu{
    order: 2;
    flex: 0 0 30%;
    position: static;
    opacity: 1;
    z-index: 1;
    display: flex;
    padding: 0;
    overflow-y: auto;
    width: 100%;
    height: auto;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 1.4rem;
    border-radius: 0.6rem;
}
.nav{
    padding: 0;
}



}


.heading-lv2{
    font-size: var(--heading-lv3);
}

.top-section{
    margin-bottom: 2rem;
}

.top-title{
    font-weight: bold;
    margin-bottom: 1rem;
    padding: 0.6rem 0;
    line-height: 1;
    border-bottom: 2px var(--theme-color) solid;
}




.entry__container{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    background-color: var(--light-blue);
    gap: 1rem;

}

.entry__link{
    background-color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    aspect-ratio: 2 / 1;
    border-radius: 0.6rem;
}



.tips__container{
        display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
}

.tips__link{
    background-color: #fff;
    display: flex;
    border-radius: 0.6rem;
    flex-direction: column;
    overflow: hidden;
}

.tips__image{
    width: 100%;
    height: auto;
    margin-bottom: 0;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}
.tips__image img{
    width: 100%;
    height: 100%;
    object-fit: cover;

}

.tips__text{
    padding: 1rem;
}

.tips__text h3{
    font-weight: bold;
}

.tips__text p{
    line-height: 1.4;
    font-size: var(--small);
    color: var(--gray);
}



.news__container{
        display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem 0.4rem;
}

.news__link{
    background-color: #fff;
    border-radius: 0.6rem;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    padding: 0.6rem;
}

.news__image{
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 2;
    overflow: hidden;
}
.news__image img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news__text{
      overflow: hidden;
  display: -webkit-box;
  text-overflow: ellipsis;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  font-size: small;
}




/* 詳細ページ */


.post-container{
    background-color: var(--white);
    border-radius: 0.6rem;
    padding: 1rem;
}

@media (width > 800px){
    .post-container{
        padding: 2rem;
    }
}

.bread{
    color: var(--gray);
    font-size: small;
    margin-bottom: 1rem;
    background-color: var(--white);
    
}

.bread__container{
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow-x: hidden;
}

.bread__container > *{
display: inline;
}
.bread__item:last-of-type{

}

@media (width > 800px) {
    .bread__item:last-of-type{
}
}


.bread__item:last-of-type a{ 

}

.bread__item:not(:last-of-type)::after{
    content: "/";
    margin: 0 0.6rem;
}


.article__thumbnail{
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
}

.article__thumbnail img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}


.article__title{
    font-weight: bold;
    font-size: var(--heading-lv5);
    margin-bottom: 2rem;
    line-height: 1.4;
}

.article__postdate{
    text-align: right;
}

.article__post-information{
    font-size: var(--small);
    margin-bottom: 3rem;
}
.article__category-container{
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
}
.article__category-link{
    display: block;
    width: fit-content;
    padding: 0.3rem 0.6rem;
    line-height: 1;
    background-color: var(--theme-color);
    color: var(--white);
}
.content{


    h2{
        /* border-bottom: var(--theme-color) solid 1px; */
        margin-bottom: 1.4rem;
        font-size: var(--heading-lv3);
        line-height: 1.4;
        font-weight: bold;
    }
    p{
        margin: 1rem 0;
    }

    p + h2,
    p + h3,
    p + h4,
    p + h5
    {
        margin-top: 3rem;
    }

    blockquote{
        background-color: var(--light-gray);
        padding: 1rem;
        border-radius: 1rem;

    }
    blockquote::before{
        content: "\f10d";
        font-family: "Font Awesome 7 Free";
        font-weight: bold;

    }

    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px #000 solid;
}

.tags__container{
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.tags__item a{
    display: block;
    width: fit-content;
    padding: 0.6rem;
    line-height: 1;
    font-size: var(--small);
    border: 1px var(--theme-color) solid;
    color: var(--theme-color);
    border-radius: 0.6rem;
}
.tags__item a::before{
    content: "\23";
    font-family: "Font Awesome 7 Free";
    color: currentColor;
    margin-right: 0.2rem;
}

.pagination .nav-links{
    display: flex;
    justify-content: space-between;
    flex-direction: column;
}

.pagination .nav-links > *{
    flex: 0 0 100%;
}

@media (width > 600px){
    .pagination .nav-links{
    flex-direction: row;
}

.pagination .nav-links > *{
    flex: 0 0 45%;
}
}


.pagination .nav-links > * a{
font-size: var(--small);
  overflow: hidden;
  display: -webkit-box;
  text-overflow: ellipsis;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}




.comment{

    .comment-reply-title{
        font-size: var(--heading-lv4);
    }

    .comment-notes{
        font-size: var(--small);
        color: var(--gray);
        line-height: 1.4;
        margin-bottom: 1rem;
    }

    textarea{
        width: 100%;
        border: 1px #000 solid;
    }

    .submit{
        width: fit-content;
        margin: 0 auto;
        display: block;
        background: var(--light-gray);
        padding: 0.2rem 1rem;
        margin-bottom: 2rem;
    }
    .comment-body{
        margin-bottom: 1rem;
    }
    .reply a{
        display: block;
        width: fit-content;
        padding: 0.2rem 1rem;
        background: var(--theme-color);
        color: var(--white);
        margin-left: auto;
    }
    p{
        display: flex;
        flex-direction: column;
        margin-bottom: 1rem;
    }
    input,
    textarea{
        border: 1px var(--gray) solid;
        border-radius: 0.2rem;
    }
    input[type="checkbox"]{
        all: revert;
    }

    .comment-form-cookies-consent{
        display: flex;
        flex-direction: row;
        font-size: var(--smaller);
        line-height: 1.4;
        gap: 0.6rem;
    }

    @media (width > 800px) {
            .comment-form-cookies-consent label{
                flex: 0 0 auto;

    }
        input,
    textarea{
        width: 100%;
    }
    }

    .form-submit .submit{
        margin-top: 2rem;

    }

    .comment-reply-title::before{
        content: "\f075";
        font-family: "Font Awesome 7 Free";
        margin-right: 0.4rem;
        font-weight: bold;
    }

}

@media (width > 800px){
    .comment{
        p{
            flex-direction: row;

            label{
                flex: 0 0 25%;
            }
        }

    }
}

.footer{
    padding: 3rem 0;
    background-color: var(--theme-color);
    color: var(--white);
}
.copyright{
    text-align: center;
}

.footer__all-pages{
    columns: 1;
    column-gap: 3rem;
    margin-bottom: 3rem;
}

@media (width > 600px){
.footer__all-pages{
    columns: 2;
}
}
@media (width > 800px){
    .footer__all-pages{
    columns: 4;
}
}

  .footer__all-pages > li{
    margin-bottom: 1rem;
        position: relative;
        overflow: hidden;
        break-inside: avoid;
    }
      .footer__all-pages > li > a{
        font-weight: bold;
      }

        .footer__all-pages .children li{
            line-height: 1.6;
  }
  .footer__all-pages .children li a{
    font-size: var(--smaller);
  }

.related__heading{
    font-size: var(--heading-lv3);
    font-weight: bold;
}

.related__container{
    display: grid;

}
.related__link{
    display: grid;
    grid-template-columns: 30% auto;
    gap: 0.6rem;
    align-items: start;
}

@media (width > 800px){

    .related__container{
        gap: 1rem 0.6rem;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));

}
    .related__link{
    grid-template-columns: 1fr;
    grid-template-rows: 1fr auto;
    gap: 0.6rem;
    align-items: start;
    }
}

.related__image{
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    margin-bottom: 0;
}

.related__image img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.related__title{
    font-size: var(--small);
      overflow: hidden;
  display: -webkit-box;
  text-overflow: ellipsis;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}



/* お問い合わせ */

.contact input[type="text"]{
    border: 1px #CCC solid;
    padding: 0.4rem;
    width: 100%;
}
.contact input[type="email"]{
    border: 1px #CCC solid;
    padding: 0.4rem;
    width: 100%;
}
.contact textarea{
    border: 1px #CCC solid;
    padding: 0.4rem;
    width: 100%;
}
.contact input[type="submit"]{
    width: fit-content;
    display: block;
    margin: 1rem auto;
    padding: 0.4rem 2rem;
    background-color: #185ac5;
    color: #fff;
}