@charset "UTF-8";
                                /* 共通 */
*{
    text-decoration: none;
}
:root{
    --v-space:clamp(90px,9vw,120px)
}

body{
    background-color: #0d1117;
    height: 100%;
    margin: 0;
    color: #e5e7eb;
    font-family: "Yu Gothic", "Meiryo", sans-serif;
}
a{
    color: #3a82f7;
    transition: color 0.3s;
}

a:hover{
    color: #1e90ff;
}

h1,h2,h3,ul,figure{
    margin: 0;
    padding: 0;
    list-style: none;
}

img{
    display: block;
    max-width: 100%;
    height: auto;
}


                                /* 横幅と左右の余白 */

.w-container{
    width: min(92%,1500px);
    margin: auto;
    position: relative;
}

                                /* ヘッダー　設定 */

.title{
    font-size: clamp(20px, 45vw, 36px);
}

.title img{
    max-width: 70%;
    height: auto;
}

.header{
    height: 112px;
    background-color:#111827;
    color:   #e5e7eb;
    border-bottom: 1px solid  #1e293b;

}

.header-container{
    display:flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;

}

                                /* ナビゲーションボタン　設定   */
.navbtn{
    padding: 0;
    outline: none;
    border:none;
    background: transparent;
    color: #aaa;
    cursor: pointer;
    font-size: 30px;
}

.nav a{
    color: #aaa;
}

.open .navbtn{
    z-index: 110;
    color: #fff;
}

.navbtn .fa-bars{
    display: revert;
}

.open .navbtn .fa-bars{
    display: none;
}

.navbtn .fa-times{
    display: none;
}

.open .navbtn .fa-times{
    display: revert;
}

@media (min-width: 768px) {
    .navbtn{
        display: none;
    }
}

/* ナビゲーションボタン モバイル */
@media (max-width:767px) {
    .nav{
        position: fixed;
        inset: 0 -100% 0 100%;
        z-index: 100;
        background-color: #4e483ae6;
        transition: transform 0.3s;
    }

    .nav ul{
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        height: 100%;
        gap: 40px;
        color: #fff;
    }

    .open .nav{
        transform: translate(-100%,0);
    }

    .open body{
        position: fixed;
        overflow: hidden;
    }

}

/* ナビゲーションメニュー：PC */

@media (min-width: 768px) {
    .nav ul{
        display: flex;
        gap: 40px;
        color: #707070;
    }
}


                                /* トップページ　設定 */

.hero{
    height: 100vh;
    background-image: url(../image/hero.webp);
    background-position: center;
    background-size: cover;
    transition: transform 1.5s ease, filter 1.5s ease;
}

.hero.zoom{
    transform: scale(1.3);
    filter: brightness(0.6);
}

.hero-container{
    display: grid;
    justify-items: center;
    align-content: center;
    height: 100%;
}

.catch {
    writing-mode: vertical-rl;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 25px;
    height: 100vh;
    width: 100%;
}

.catch-text{
    font-size: 35px;
    opacity: 0.85;
}

#hero-btn{
    font-size:1.5rem;
    padding: 12px 28px;
    background: #fff;
    cursor: pointer;
    transition: background 0.3s, color 0.3s;
    position: relative;
    z-index: 1;
    writing-mode: horizontal-tb;
    opacity: 0.9;
    border-radius: 15%;
}

#hero-btn:hover{
    background: #333;
    color: #fff;
}

                               /* contents.html　設定 */

.hero2{
    height: 650px;
    background-image: url(../image/hero.webp);
    background-position: center;
    background-size: cover;
}

.hero2-text{
    display: grid;
    justify-content: center;
    align-items: center;
    height: 100%;
    opacity: 0.85;
    font-size: clamp(10px, 2.5vw, 18px);
}


.imgtext{
    padding: var(--v-space)0;
}


                                /* タイトルとサブタイトル */

.heading-decoration{
    font-size: clamp(30px,3vw,40px);
    min-height: 0vw;
    font-weight: 400;
}

.heading-decoration::after{
    display: block;
    content: '';
    width: 160px;
    height: 0px;
    border-top: solid 1px #b72661;
    margin-top: 0;
}


.heading-decoration + p{
    margin-top: 1em;
    margin-bottom: 2em;
    font-family: "Montserrat",sans-serif;
    font-size: 18px;
}


.imgtext-container{
    display: flex;
    flex-direction: column;
    gap: clamp(45px,6vw,80px);

}

.imgtext + .imgtexe{
    padding-top: 0;
}

                                /* 768px以下の設定↓ */

@media(min-width:768px){
    .imgtext-container{
        flex-direction: row;
        align-items: center;

    }

    .imgtext-container.reverse{
        flex-direction: row-reverse;

    }

    .imgtext-container > .text{
        flex: 1;
        min-width: 17em;

    }

    .imgtext-container > .img{
        flex: 2;
    }

    .hero2-text h1{
        font-size: 20px;
    }


}


                                /* 記事一覧　設定 */
.posts{
    padding: var(--v-space)0;
    background-color: #333;
}

.posts-container{
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 32px 25px;
}

@media(min-width: 768px){
    .posts-container{
        grid-template-columns: repeat(3,1fr);
    }
}

                                /* 記事一覧の　設定 */

.posts h2{
    color: #000;
    position: absolute;
}

.heading{
    
    top: calc((var(--v-space) + 0.8em) * -1);
    font-family: "Montserrat",sans-serif;
    font-size: clamp(40px,5.2vw,70px);
    min-height: 0vw;
    font-weight: 300;
}

.heading span{
    display: block;
    color: #5c91e6;
    font-size: 18px;
}

.post a{
    display: block;
    text-decoration: none;
}

.post h3{
    margin: 1em 0 0.5em;
    font-size: clamp(12px,2vw,20px);
    min-height: 0vw;
}

.post p{
    max-width: 20em;
    font-size: clamp(10px,1.6vw,14px);
    min-height: 0vw;
}

.post img{
    aspect-ratio: 3 / 2;
    object-fit: cover;
    width: 100%;
}

@supports not (aspect-ratio: 3 / 2){
    .post img{
        height: 180px;
    }
}

                                /* ページトップ　設定 */
#pagetop{
    border-radius: 50%;
    height: 55px;
    width: 55px;
    background-color: #fff;
    border: 2px solid #113c4a;
    position: fixed;
    right: 30px;
    bottom: 30px;
    z-index: 100;
    opacity: 0.9;
    display: flex;
    justify-content: center;
    align-items: center;
}

#pagetop:hover{
    background-color: #cde2f0;
}

#pagetop_inner{
    height: 15px;
    width: 15px;
    border-top:3px solid #305662 ;
    border-right:3px solid #305662 ;
    transform: translate(0,20%) rotate(-45deg);
}

                                /* caution.html  設定 */
.caution .w-container{
    max-width: 720px;
}

.caution .heading-decoration{
    font-size: clamp(30px, 6.25vw, 48px);
}

.caution-container{
    font-size: clamp(16px, 2.4vw, 18px);
}

.cautino h2{
    margin: 24px;
}

.cautino ul{
    list-style-type: disc;
}

.caution-container{
    margin-top: clamp(20px, 5vw, 80px);
}

article h1{
    padding-top: 20px;
}

                                /* caution.html 768px以下の設定 */
@media (max-width: 768px){
    .cautino ul {
        padding-left: 1.5em;
    }
}
                                /* フッター　設定 */

.footer{
    padding: 70px 0;
    background-color:#0a0e14;
    color: #9ca3af;
    font-size: 13px;
    border-top: 1px solid #1e293b;
}

.footer-title{
    font-family: "WDXL Lubrifont TC", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 50px;
    color: #9ac0ff;
}

.footer-container{
    display: flex;
    flex-direction: column;
    gap: 50px;
    align-items: center;
}

.footer-copy{
    color: #000;
}

                                /* フッターテキストメニュー */

.footer-menu{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.footer-menu a{
    color: #aaa;
}