/* fontsize：clamp(最小値rem, ▲中間値vw, 最大値rem)

▲中間値vwの出し方
1)pc時（＊default）:ベース横幅2000px
2)tab時（max991px）:ベース横幅991px
3)sp時 （max576px）:ベース横幅576px

*/


/*共通*/
:root {
    --primary-color: #162613;
    --text-color: #0b0f0a;
    --accent-color: #ec7126;
    --gray: #b3b3b3;
    --light-gray: #e4e4e4;
    --text-red: #df0000;
    --bg-gray: #f9f9f9;
    --font-size-pc-large: clamp(1.6rem, 1.6145307769929365vw, 1.8rem); /* 1.6rem~1.8rem*/
    --font-size-pc-base: clamp(1.4rem, 1.4127144298688195vw, 1.6rem); /* 1.4rem~1.6rem*/
    --font-size-pc-small: clamp(1.3rem, 1.3118062563067607vw, 1.4rem); /* 1.3rem~1.4rem*/  
    --font-size-sp-large: clamp(1.6rem, 5.625vw, 1.8rem); /* 1.6rem~1.8rem*/
    --font-size-sp-base: clamp(1.5rem, 4.6875vw, 1.6rem); /* 1.5rem~1.6rem*/
    --font-size-sp-small: clamp(1.3rem, 4.0625vw, 1.4rem); /* 1.3rem~1.4rem*/
}

.aspect-ratio3-2{
    aspect-ratio: 3 / 2;
}

.aspect-ratio1-1{
    aspect-ratio: 1 / 1;
}

.aspect-ratio4-3{
    aspect-ratio: 4 / 3;
}

html{
    font-size: 62.5%;
}

body {
    font-size:var(--font-size-pc-base);
    color: var(--text-color);
    overflow-x: hidden !important;
    position: relative;
    margin: 0;
    padding: 0;
    text-align: justify;
}

main {
        position: relative; 
        overflow-x: hidden !important;
    }

.sp-br{
    display: none;
    }

.container{
    max-width: 1470px;
    margin: 0 auto;
}

.container-fluid{
    width: 100%;
}

.sub-container{
    max-width: 1100px;
    margin: 0 auto;
}

@media (max-width:1470px) {
    .container,.sub-container{
    padding: 0 6rem;
}
}

@media (max-width:991px) {
    .container,.sub-container{
    padding: unset;
    padding: 0 24px;
}
}

@media (max-width:576px) {
    .sp-24{
        padding: 0 24px;
    }
}

@media (max-width:576px) {
    .sp-br{
        display: block;
    }
}

img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

body{
    overflow-y: scroll; -webkit-overflow-scrolling: touch;
    font-family: "Noto Sans JP", "Afacad", sans-serif;
    font-weight: 400;
    line-break: 1.8;
    word-break:break-all;
}

ul{
    padding: 0;
    list-style: none;
    margin-bottom: 0;
}

a{
    text-decoration: none !important;
}

p{
    font-family: "Noto Sans JP", sans-serif;
    color:var(--text-color);
    font-size:var(--font-size-pc-base);
    font-weight: 400;
    margin-bottom: 0;
    line-break:strict;
    line-height: 1.8;
    font-feature-settings: "palt";
    letter-spacing:0.05rem;
    text-align: justify;
}

h1,
h2,
h3,
h4,
h5,
h6
{
    line-break:strict;
    letter-spacing:0.06rem; 
    line-height: 1.8;
}


/* ---余白 (m)--- */
.sec-my-lg-9{
    margin: 9rem 0 !important;
}
.mt-lg-12{
    margin-top: 12rem !important;
}
.mt-lg-9{
    margin-top: 9rem !important;
}
.mt-lg-8{
    margin-top: 8rem !important;
}
.mt-lg-6{
    margin-top: 6rem !important;
}
.mt-lg-4{
    margin-top: 4rem !important;
}
.mt-lg-3{
    margin-top: 3rem !important;
}
.mt-lg-2{
    margin-top: 2rem !important;
}
.mt-lg-1{
    margin-top: 1rem !important;
}

@media (max-width: 1200px) {
.sec-my-md-4{
    margin: 4rem 0 !important;
}
.mt-md-6{
    margin-top: 6rem !important;
}
.mt-md-4{
    margin-top: 4rem !important;
}
.mt-md-3{
    margin-top: 3rem !important;
}
.mt-md-2{
    margin-top: 2rem !important;
}
.mt-md-0{
    margin-top: 0 !important;
}
}

@media (max-width: 768px) {
.mt-md-6{
    margin-top: 6rem !important;
}
}

@media (max-width: 576px) {
.sec-py-xs-6{
padding: 6rem 0 !important;
}
.mt-xs-6{
    margin-top: 6rem !important;
}
.mt-xs-4{
    margin-top: 4rem !important;
}
.mt-xs-3{
    margin-top: 3rem !important;
}
.mt-xs-2{
    margin-top: 2rem !important;
}
.mt-xs-1{
    margin-top: 1rem !important;
}
}

/* ---余白 (p)--- */
.sec-py-lg-9{
    padding: 9rem 0 !important;
}
.sec-py-lg-16{
    padding: 16rem 0 !important;
}
.sec-py-lg-12{
    padding: 12rem 0 !important;
}
.pt-lg-16{
    padding-top: 16rem !important; 
}
.pt-lg-12{
    padding-top: 12rem !important; 
}
.pt-lg-9{
    padding-top: 9rem !important; 
}
.pt-lg-8{
    padding-top: 8rem !important; 
}
.pt-lg-6{
    padding-top: 6rem !important; 
}
.pt-lg-4{
    padding-top: 4rem !important; 
}
.px-lg-6{
    padding: 0 6rem !important; 
}
.px-lg-3{
    padding: 0 3rem !important; 
}
.py-lg-12{
    padding: 12rem 0 !important; 
}
.py-lg-9{
    padding: 9rem 0 !important; 
}
.py-lg-8{
    padding: 8rem 0 !important; 
}
.py-lg-6{
    padding: 6rem 0 !important; 
}
.pb-lg-9{
    padding-bottom: 9rem !important; 
}
.pb-lg-6{
    padding-bottom: 6rem !important; 
}
.p-lg-8{
    padding: 8rem;
}
.py-lg-8{
    padding: 8rem 0 !important;
}
.py-lg-4{
    padding: 4rem 0 !important;
}
.pr-lg-2{
    padding-right: 2rem !important;
}

@media (max-width: 1200px) {
.sec-py-md-9{
padding: 9rem 0 !important;
}
.sec-py-md-6{
padding: 6rem 0 !important;
}
.pt-md-8{
    padding-top: 8rem !important;
}
.pt-md-6{
    padding-top: 6rem !important;
}
.pt-md-4{
    padding-top: 4rem !important;
}
.py-md-6{
    padding: 6rem 0 !important;
}
.pb-md-4{
    padding-bottom: 4rem !important; 
}
.pb-md-6{
    padding-bottom: 6rem !important; 
}
.p-md-4{
    padding: 4rem;
}
.p-md-3{
    padding: 3rem;
}
.p-md-0{
    padding: 0 0  !important;
}
}



/* 共通セクションスタイル */
/* button */
    .mail-icon{
    width: 20px;
    height: 16px;
    margin-left: 16px;
    }

    .button-ani {
    position: relative;
    display: block;
    overflow: hidden;
    width: 100%;
    height: 48px;
    padding: 16px 32px !important;
    border: 1px solid var(--primary-color);
    display: flex;
    align-items: center;
    transition: transform 0.4s ease-in-out;
    }

    .button-ani span {
    color: var(--primary-color);
    transition: color 0.4s ease-in-out;
    display: flex;
    align-items: center;
    } 

    .button-ani::before,
    .button-ani::after {
    content: '';
    position: absolute;
    inset: 0;
    border-top: 24px solid var(--primary-color);
    border-bottom: 24px solid var(--primary-color);
    transition: transform 0.4s ease-in-out;
    z-index: -1;
    }

    .button-ani::before {
    border-right: 24px solid transparent;
    transform: translateX(-100%);
    }

    .button-ani::after {
    border-left: 24px solid transparent;
    transform: translateX(100%);
    }

    /* hover*/
    @media (hover: hover) {
        .pc-nav .button-ani:hover{
        font-weight: 400;
        }
        .button-ani:hover.button-ani span{
        color: #fff;
        }
        .button-ani:hover::before {
        transform: translateX(-25%);
        }
        .button-ani:hover::after {
        transform: translateX(25%);
        }
    }

    .more-button{
        display: inline-block;
    }

    .more-button a{
        transition: color 0.4s ease-in-out;
    }

    .more-button .button-ani::before,
    .more-button .button-ani::after {
    z-index: 0;
    }

    .morebutton-icon{
    width: 8px;
    margin-left: 40px;
    }

    .more-button .button-ani{
    transition: color 0.4s ease-in-out;
    }
    
    .more-button .button-ani span{
    transition: color 0.4s ease-in-out;
    } 

    /* hover*/
    @media (hover: hover) {
        .more-button .button-ani:hover.button-ani span{
        color: #fff;
        z-index: 1;
        }
    }



.fixed-img{
    position: fixed;
    z-index: -2;
    width: 100%;
    height: 100%;
    bottom: 0;
    right: 0;
}

.fixed-img img{
    object-fit: cover;
    object-position: center bottom;
}

.fixed-img .sp-only{
    display: none;
}

@media (max-width:576px) {
.fixed-img .pc-only{
    display: none;
}
.fixed-img .sp-only{
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center bottom;
}
}




/* header */
    .logo{
    width: 22%;
    max-width: 280px;
    }

    body.menu-open {
    overflow: hidden;
    }

    header {
    position: fixed;
    background: #fff;
    z-index: 900;
    width: 100%;
    top: 0;
    right: 0;
    }

    .header-inner {
    margin: 0 auto;
    padding: 20px 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    }

    .header .current{
        color: var(--accent-color);
    }

    /* PCナビ */
    .pc-nav ul {
    display: flex;
    align-items: center;
    gap: 1.6rem;
    list-style: none;
    }
    
    .pc-nav a {
    text-decoration: none;
    padding: 8px;
    font-size: var(--font-size-pc-base);
    color: var(--text-color);
    font-weight: 400;
    transition: color 0.2s ease-in-out;
    }

    .pc-nav .button a{
    padding: 28px 40px;
    }

    @media (hover: hover) {
    .pc-nav a:hover{
    color: var(--accent-color);
    }
    }
    
    .contact_wrapper{
    display: flex;
    justify-content:center ;
    align-items: center;
    gap: 4rem;
    position: relative;
    }

    .contact_wrapper .tel{
    margin-left: 4rem;
    }

    .contact_wrapper .num{
    font-size: 2.4rem;
    }

    .contact_wrapper::before{
        content:"";
        display:block;
        width:1px;
        height:52px;
        background-color:#c5c5c9;
        position:absolute;
        top: 20%;
        left: 0px; 
    }

@media (min-width: 1199px) and (max-width:1440px){
.logo{
width:18%;
min-width: 180px;
}
.header-inner {
    padding:  16px 40px;
}
.contact_wrapper{
    gap: 1rem;
}
.pc-nav a{
    padding: 20px 8px;
}
.contact_wrapper .tel{
    margin-left: 2rem;
}
}

    /* ハンバーガー */
    .hamburger {
    width: 30px;
    height: 22px;
    position: relative;
    background: none;
    border: none;
    cursor: pointer;
    display: none;
    z-index: 1100;
    }

    .hamburger span {
    position: absolute;
    width: 100%;
    height: 2px;
    background: #000;
    left: 0;
    }

    .hamburger span:nth-child(1) { top: 0; }
    .hamburger span:nth-child(2) { top: 10px; }
    .hamburger span:nth-child(3) { bottom: 0; }

    /* SPメニュー */
    .nav {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100vh;
    background: #fff;
    padding: 80px 20px;
    transition: 0.3s;
    z-index: 1200;
    }

    .nav.open {
    left: 0;
    }


    /* メニュー */
    .menu {
    list-style: none;
    display: flex;
    flex-direction: column;
    text-align: center;
    width: 100%;
    overflow: scroll;
    }

    .menu li {
    position: relative;
    }

    .menu li::after{
    content:"";
    display:block;
    width:100%;
    height:1px;
    background-color:#c5c5c9;
    position:absolute;
    bottom: 0;
    left:0;
    }

    .menu li:last-child::after {
    display: none;
    }

    .menu li a{
        display: block;
    padding: 2.4rem 0;
    }

    .menu li .current{
        color: var(--accent-color);
    }

    .menu a {
    text-decoration: none;
    color: var(--text-color);
    font-size: var(--font-size-sp-base);
    }

    .menu .button{
        width: fit-content;
        margin: 3.2rem auto 0;
    }

    .menu .button a{
        display: flex;
    }

    .nav-close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 32px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1300;
    color: var(--text-color);
    }

    .menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    opacity: 0;
    pointer-events: none;
    transition: 0.3s;
    z-index: 900;
    }

    .menu-overlay.active {
    opacity: 1;
    pointer-events: auto;
    }


@media (max-width: 1200px) {
.header .logo{
    width: 50%;
    max-width: 200px;
} 

.pc-nav {
display: none;
}

.hamburger {
display: block;
}
.header-inner {
padding: 16px 40px;
}

.menu .cv-button a{
    margin: 0 auto;
    margin-top: 30px;
    padding: 28px 60px;
}
.contact_wrapper::before{
    display: none;
}
.contact_wrapper{
    display: block;
    margin-top: 60px !important;
}
.contact_wrapper .tel{
    margin-left: 0;
}
}

@media (max-width: 576px) {
.header-inner {
    padding: 16px 24px;
    }
.contact_wrapper .num{
    font-size: 1.8rem;
}
.header .logo{
    max-width: 160px;
} 
}


/* footer */
.footer-contents{
    padding-bottom: 60px;
}

.footer-contents-inner{
    padding: 160px 120px 120px 120px;
    max-width: 1470px;
    margin:0 auto;
}

.footer-contents .row{
    justify-content: space-between;
}

/* left */
.footer-logo{
    width: 320px;
}

.access{
display: flex;
align-items: center;
}

.access a{
    display: inline-block;
    width: 14px;
    height:16px;
    margin-left: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.map-icon{
width: 100%;
height: 100%;
object-fit: contain;
}

.footer-overview{
    display: flex;
    flex-direction: column;
}

.footer-overview .name{
    display: block;
    font-size: var(--font-size-pc-base);
    font-weight: 500;
}

.footer-overview .access{
    font-size: var(--font-size-pc-base);
}

.footer-overview .num a{
    cursor: unset;
    line-height: 1.2;
    display: inline-block;
}

/* right */
.footer-right{
    display: flex;
    justify-content: space-around;
}

.footer-right ul{
    row-gap: 3.2rem;
    column-gap: 6rem; 
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}


.footer-right-contact{
display: flex;
flex-direction: column;
gap: 2.4rem;
align-items: center;
}

.footer-right-contact_tel{
    font-family: "Afacad", sans-serif;
    font-size:  clamp(1.8rem, 1.15vw, 2.4rem);
}

footer .nav-items__item a{
    color: var(--text-color);
    font-weight: 400;
    transition: ease .3s;
}

@media (hover: hover) {
footer .nav-items__item a:hover{
    opacity: 0.6;
}
}

.copy-right{
    position: relative;
    padding-top: 4rem;
}

.copy-right::before{
    display: block;
    position: absolute;
    content: "";
    top: 0;
    right: 0;
    width: 100%;
    height: 1px;
    background-color: #e4e4e4;
}

.copy-right-txt{
    display: block;
    text-align: center;
    font-size: 1.2rem;
}

@media (max-width: 1470px) {
.footer-contents-inner{
    padding: 120px 32px;
}
.footer-right ul{
    column-gap: 3rem;
}
}

@media (max-width:991px) {
.footer-contents-inner{
    width: 92%;
    padding: 60px 0;
}
.footer-logo{
    width: 280px;
}
}

@media (max-width:768px) {
.footer-right{
    display: block;
}
.footer-contents .cv-button{
    margin-top: 40px;
}
.footer-right ul{
    row-gap: 1.2rem;
    column-gap: 1.2rem;
}
.footer-right ul li{
    background-color: rgba(192, 192, 192, 0.4);
    padding: 1.6rem;
    text-align: center;
}
.footer-right-contact{
    margin-top: 40px;
}
.footer-overview{
    align-items: center;
    gap: 2rem;
}
.footer-logo{
    margin: 0 auto;
}
}

@media (max-width:576px) {
.footer-contents-inner{
    padding: 60px 24px;
    width: 100%;
}

.footer .nav-items__item, .footer .nav-items__item a{
    font-size: var(--font-size-sp-base);
}

footer .nav-items__item{
padding: 12px;
padding-left: 0;
}

.footer-overview .access{
font-size: var(--font-size-pc-medium);
}

.footer-overview .num span{
    margin-bottom: .4rem;
    font-size: var(--font-size-pc-medium);
}


.footer-overview .num a{
color: var(--text-color);
}

.footer-logo{
    width: 72%;
}

.footer-overview .access a{
    margin-bottom: -24px;
}
}

.common-header{
    height: 50vh;
    position: relative;
}

.common-header h3{
    position: absolute;
    bottom: -10%;
    right: 0;
    color: #fff;
    background-color: var(--text-color);
    padding: 24px 80px 24px 160px;
    clip-path: polygon(90px 0, 100% 0, 100% 100%, 0 100%, 0 100%);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    font-family: "Afacad", sans-serif;
    font-size: clamp(6rem, 3.6vw, 8rem); 
    line-height: 1;
    font-weight: 400;
}

.common-header h3 .ja{
font-size: clamp(1.4rem, 0.12vw, 3rem) ;
}

.breadcrumb-list{
    font-size: 1.2rem;
    margin-top: 1.6rem;
    font-weight: 400;
    color:var(--text-color);
}
.breadcrumb-list a{
    color:#929292;
    font-weight: 600;
}

.breadcrumb-list .active{
    color: var(--text-color);
    font-weight: 600;
}

.breadcrumb-item+.breadcrumb-item::before{
    float: left;
    padding-right: var(--bs-breadcrumb-item-padding-x);
    color: var(--bs-breadcrumb-divider-color);
    content: var(--bs-breadcrumb-divider, "/");
}

/* sub-sec-ttl */
.txtanimation .__line{
    overflow-y: hidden;
    display: flex;
    align-items: flex-end;
    height: 8rem
}

.txtanimation .__char{
    display: block;
    line-height: 1;
    margin-bottom: -1em;
    transition: margin-bottom 0.6s;
    font-size: clamp(5rem, 4vw, 9rem);
    font-family: "Afacad", sans-serif;
    line-height: 1;
    font-weight: 400;
}

.txtanimation.__show .__row .__char{
        margin-bottom: 5px;
}

.sub-page .sec-ttl{
    border-top: none;
    display: flex;
    align-items: center;
}

.sub-page .sec-ttl::before{
    display: none;
}

.sub-page .sec-ttl .txtanimation .__row .__line{
    line-height: 1;
    position: relative;
    font-size: clamp(7rem, 4vw, 9rem);
    width: fit-content;
    z-index: 1;
}

.sub-page .sec-ttl .txtanimation .__row .__line::after{
    position: absolute;
    content: "";
    bottom: 12px;
    left: 0;
    height: 8px;
    width: 100%;
    background-color: var(--accent-color);
    clip-path: polygon(1.2% 0%, 100% 0%, 98.8% 100%, 0% 100%);
    transform: scaleX(0); 
    transform-origin: left; 
    z-index: -1;
}

.sub-page .sec-ttl .txtanimation.__show .__row .__line::after {
    animation: extendLine 1s ease forwards;
    animation-delay: 0.8s; 
}

@keyframes extendLine {
    to {
        transform: scaleX(1); 
    }
} 

@media (max-width:991px) {
.txtanimation .__line{
    height: 6rem
    }
}


.sub-page .sec-ttl p{
    font-size: clamp(1.8rem, 0.95vw, 2rem);
    margin-left: 60px;
    font-family: "Noto Serif", serif;
    font-weight: 600;
}

.sub-page .sec-sub_ttl{
padding: 1rem 0;
border-top: 1px solid #e4e4e4;
}

.sub-page .sec-sub_ttl h2{
    font-size: clamp(2.4rem, 1.3vw, 2.8rem);
    font-weight: 600;
    position: relative;
    font-family: "Noto Serif", serif;
    font-weight: 600;
}

.sub-page .sec-sub_ttl h2::before{
    position: absolute;
    content: '';
    width: 2%;
    left: 0;
    top: -11px;
    border-top: 2px solid #ef8633;
}


@media (max-width:991px) {
.common-header h3{
    padding: 32px 60px 32px 120px;
}
.sub-page .sec-ttl{
    display: block;
}
.sub-page .sec-ttl p{
    margin-left: 0;
}
}

@media (max-width:768px) {
.sub-page .sec-ttl .txtanimation{
    font-size: clamp(5.1rem, 10.4vw, 9rem);
}
.sub-page .sec-sub_ttl h2::before{
    width: 8%;
}
}

@media (max-width:576px) {
.common-header h3{
    padding: 20px 32px 20px 100px;
    font-size: clamp(4.2rem, 9.2vw, 5.4rem); 
    bottom: 0;
}
.common-header{
    height: 60vh;
}
}










