/*共通*/
:root {
    --primary-color: #125fa3;
    --text-color: #151616;
    --light-gray: #f4f5f6;
    --font-size-pc-base: clamp(1.6rem, 1.403rem + 0.32vw, 1.8rem); /* ●1.8rem*/
    --font-size-pc-medium: clamp(1.4rem, 1.203rem + 0.32vw, 1.6rem);/* 1.6rem*/
    --font-size-pc-small: clamp(1.2rem, 1.003rem + 0.32vw, 1.4rem);/* 1.4rem*/
    --font-size-tab-base: clamp(1.4rem, 0.715rem + 1.43vw, 1.6rem);/* ●1.6rem*/
    --font-size-tab-small: clamp(1.2rem, 0.515rem + 1.43vw, 1.4rem);/* 1.4rem*/
    --font-size-sp-base: clamp(1.4rem, 1.257rem + 0.72vw, 1.6rem);/* ●1.6rem*/
    --font-size-pc-sub_c-ttl: clamp(2.8rem, 2.603rem + 0.32vw, 3rem); /* ●3rem*/
}
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;
    height: 100vh; 
    background-image: url('/img/fixed-bg.jpg');
    background-attachment: fixed;
    background-position: center center; 
    background-repeat: no-repeat; 
    background-size: cover; 
}
main {
        position: relative; 
        z-index: 1; 
        overflow-x: hidden !important;
    }
.sp-br{
    display: none;
    }
@media (max-width:768px) {
    .container {
        padding: 0 24px !important;
    }
    .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: "Albert Sans", "Zen Kaku Gothic New", sans-serif;
    font-weight: 400;
    line-break: 1.8;
    word-break:break-all;
}
@media (max-width:768px) {
body{
    font-weight: 500;
} 
}

ul{
    padding: 0;
    list-style: none;
    margin-bottom: 0;
}
a{
    text-decoration: none !important;
}
p{
    font-family: "Zen Kaku Gothic New", 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;
}
@media (max-width:768px) {
    p{
        font-weight: 500;
    }
}
h1,
h2,
h3,
h4,
h5,
h6
{
    line-break:strict;
    letter-spacing:0.06rem; 
    line-height: 1.8;
}
@media (max-width: 767px) {
    p{
        font-size: var(--font-size-sp-base);
    }
}


/* aos-ani */
[data-aos=zoom-out-right] {
    -webkit-transform: translate(-60px) scale(1.1) ;
    transform: translate(-60px) scale(1.1)
}
[data-aos=zoom-out-left] {
    -webkit-transform: translate(60px) scale(1.1);
    transform: translate(60px) scale(1.1)
}
[data-aos=fade-up] {
    -webkit-transform: translateY(60px);
    transform: translateY(60px)
}

/* ---余白 (m)--- */
.sec-mt-lg-16{
    margin-top: 16rem !important;
}
.sec-mt-lg-12{
    margin-top: 12rem !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: 8rem !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: 991px) {
.sec-mt-md-9{
    margin-top: 9rem !important;
}
.sec-mt-md-6{
    margin-top: 9rem !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: 576px) {
.mt-xs-6{
    margin-top: 6rem !important;
}
.mt-xs-4{
    margin-top: 4rem !important;
}
.mt-xs-3{
    margin-top: 3rem !important;
}
}
/* ---余白 (p)--- */
.pt-lg-16{
    padding-top: 16rem !important; 
}
.pt-lg-9{
    padding-top: 9rem !important; 
}
.pt-lg-8{
    padding-top: 8rem !important; 
}
.px-lg-6{
    padding: 0 6rem !important; 
}
.py-lg-12{
    padding: 12rem 0 !important; 
}
.py-lg-9{
    padding: 9rem 0 !important; 
}
.py-lg-8{
    padding: 8rem 0 !important; 
}
.pb-lg-9{
    padding-bottom: 9rem !important; 
}
.p-lg-8{
    padding: 8rem;
}
.py-lg-8{
    padding: 8rem 0 !important;
}
@media (max-width: 991px) {
.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; 
}
.p-md-4{
    padding: 4rem;
}
.p-md-3{
    padding: 3rem;
}
.p-md-0{
    padding: 0 0  !important;
}
}


/* 共通セクションスタイル */
.contents-header .ttl .txtanimation .__row {
    overflow-y: hidden;
    display: flex;
    align-items: flex-end;
    height: 6.2em;
    }
.contents-header .ttl .txtanimation .__row span {
    display: block;
    font-size: 6.2rem;
    font-weight: 500;
    line-height: 1;
    margin-bottom: -1em;
    transition: margin-bottom 0.3s;
    opacity: 0;
    transform: translate(-1px, 60px) rotate3d(1, 0.6, 0, 180deg);
    transform-origin: 50% 100%;
    }

    /* 発火時のスタイル */
.contents-header .ttl .txtanimation.__show .__row span {
    margin-bottom: 0;
    opacity: 1;
    transform: translate(0, 0) rotate3d(0, 0, 0, 0);
    transition: transform 1.2s cubic-bezier(0.08, 0.8, 0.315, 1);
    }

.contents-header .ttl .txtanimation.__show .__row span:nth-of-type(1) {
    transition-delay: 0s;
    }
.contents-header .ttl .txtanimation.__show .__row span:nth-of-type(2) {
    transition-delay: 0.06s;
    }
.contents-header .ttl .txtanimation.__show .__row span:nth-of-type(3) {
    transition-delay: 0.12s;
    }
.contents-header .ttl .txtanimation.__show .__row span:nth-of-type(4) {
    transition-delay: 0.18s;
    }
.contents-header .ttl .txtanimation.__show .__row span:nth-of-type(5) {
    transition-delay: 0.24s;
    }
.contents-header .ttl .txtanimation.__show .__row span:nth-of-type(6) {
    transition-delay: 0.3s;
}
.contents-header .ttl .txtanimation.__show .__row span:nth-of-type(7) {
    transition-delay: 0.36s;
}
.contents-header .ttl .txtanimation.__show .__row span:nth-of-type(8) {
    transition-delay: 0.42s;
}
.contents-header .ttl .txtanimation.__show .__row span:nth-of-type(9) {
    transition-delay: 0.48s;
}
.contents-header .ttl .txtanimation.__show .__row span:nth-of-type(10) {
    transition-delay: 0.54s;
}
.contents-header .ttl .txtanimation.__show .__row span:nth-of-type(11) {
    transition-delay: 0.6s;
}
.contents-header .ttl .txtanimation.__show .__row span:nth-of-type(12) {
    transition-delay: 0.66s;
}
.contents-header .ttl .txtanimation.__show .__row span:nth-of-type(13) {
    transition-delay: 0.72s;
}
.breadcrumb-list{
    font-size: 1.2rem;
    margin-top: 2rem;
    font-weight: 500;
    color: var(--text-color);
}
.breadcrumb-list a{
    color: var(--text-color);
}
.breadcrumb-list .active{
color: #6e6e6e;
}
.line{
    width: 100%;
    height: 1px;
    background-color: var(--text-color);
    margin-bottom: 12rem;
    position: relative;
    }
.line::before{
    position: absolute;
    content: "";
    width: 4%;
    height: 3px;
    background-color: var(--primary-color);
    top: -1px;
    left: 0;
    z-index: 3;
}


/* h2-animation */
.passing .passing-box {
	display: block;
}
.passing .passing-bar {
	position: relative;
	display: inline-block;
	-webkit-transform: translate3d(0, 0, 0);
	-ms-transform: translate3d(0, 0, 0);
	transform: translate3d(0, 0, 0);
}
.passing .passing-bar:before {
	content: '';
	display: inline-block;
	width: 0;
	height: 100%;
	position: absolute;
	left: 0;
	top: 0;
	z-index: 1;
	background: var(--text-color);
}
.passing .passing-txt {
	opacity: 0;
	-webkit-transform: translate3d(0, 0, 0);
	-ms-transform: translate3d(0, 0, 0);
	transform: translate3d(0, 0, 0);
    color: var(--text-color);
	font-size: var(--font-size-pc-sub_c-ttl);
    font-weight: 500;
	line-height: 1.5;
}
.passing.move .passing-bar:before {
	-webkit-animation: passing-bar 1s ease 0s 1 normal forwards;
	animation: passing-bar 1s ease 0s 1 normal forwards;
}
.passing.move .passing-txt {
	-webkit-animation: passing-txt 0s ease .5s 1 normal forwards;
	animation:passing-txt 0s ease .5s 1 normal forwards;
}
@keyframes passing-bar{
	0% {
		left: 0;
		width: 0;
	}
	50% {
		left: 0;
		width: 100%;
	}
	51% {
		left: 0;
		width: 100%;
	}
	100% {
		left: 100%;
		width: 0;
	}
}
@-webkit-keyframes passing-bar{
	0% {
		left: 0;
		right: auto;
		width: 0;
	}
	50% {
		left: 0;
		right: auto;
		width: 100%;
	}
	51% {
		left: auto;
		right: 0;
		width: 100%;
	}
	100% {
		left: auto;
		right: 0;
		width: 0;
	}
}
@keyframes passing-txt{
	0% { opacity:0; }
	50% { opacity:0; }
	100% { opacity:1; }
}
@-webkit-keyframes passing-txt{
	0% { opacity: 0; }
	50% { opacity: 0; }
	100% { opacity: 1; }
}

.s-main-contents .__ttl h2{
    font-size: var(--font-size-pc-sub_c-ttl);
    font-weight: 500;
}
.s-main-contents .__ttl span{
    font-size: var(--font-size-pc-small);
}

@media (max-width: 991px) {
.contents-header .ttl .txtanimation .__row {
    height: 3.6rem;
    }
.contents-header .ttl .txtanimation .__row span {
    font-size: 3.6rem;
    }
}
@media (max-width: 576px) {
    .line{
    margin-bottom: 6rem;
    }
.contents-header .ttl .txtanimation .__row {
    height: 2.4rem;
    }
.contents-header .ttl .txtanimation .__row span {
    font-size: 2.4rem;
    }
.s-main-contents .__ttl h2{
    font-size: clamp(2.2rem, 1.95rem + 1.25vw, 2.4rem);
    }
}

/* button */
.cv-button{
    display: block;
    background-color:var(--primary-color);
    border-radius: 28px;
    transition: 0.2s ease-in-out;
    padding: 1.2rem 3.6rem;
    border-radius: 24px; 
}

/* more-button */
.more-button a ,.cv-button a{
width: fit-content;
}
.more-button a {
    text-align: center;
    color: #fff;
    background-color:var(--primary-color);
    display: block;
    text-decoration: none;
    position: relative;
    padding: 20px 42px;
    border-radius: 30px;
    transition: 0.2s;
    font-size:var(--font-size-pc-base);
    }
.more-button a .__roll-animation ,.cv-button a .__roll-animation{
    overflow: hidden;
    height: 1.2em;
    width: max-content;
    }
.more-button a .__roll-animation span ,.cv-button a .__roll-animation span {
    font-size:var(--font-size-pc-base);
    line-height: 1.2;
    font-weight: 700;
    display: block;
    width: 100%;
    will-change: margin-top;
    transition: margin-top 0.2s;
    }
.more-button a:hover .__roll-animation span.__initial, .cv-button a:hover .__roll-animation span.__initial{
    margin-top: -1.2em;
    }
@media (max-width: 768px) {
    .more-button a {
        padding: 16px 30px;
        margin: 0 auto;
    }
    .cv-button{
        padding: 1.2rem 2rem;  
    }
}
/* header */
.header{
    position: fixed;
    background-color: rgba(255, 255, 255, 0.9);
    width: 100%;
    left: 0;
    top: 0;
    z-index: 100;
    transform: translateY(0); 
    transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
    }
.header__inner {
    padding: 12px 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: inherit;
    position: relative;
}
.header__title {
    width:15%;
    height: auto;
    line-height: 1;
}
@media (max-width: 1399px) {
    .header__title {
    width:30%;
    } 
}
@media (max-width: 768px) {
    .header__inner {
        padding: 12px 24px; 
    }
    .header__title {
    width:60%;
    } 
}

/* header-nav */
.header__nav {
    position: absolute;
    right: 0;
    top: 0;
    height: 100vh;
    transform: translateX(100%);
    background-color: #ffffff;
    transition: ease-in-out .4s;
}
@media screen and (min-width: 1680px) {
    .header__nav {
    position: static;
    transform: initial;
    background-color: inherit;
    height: inherit;
    display: flex;
    justify-content: end;
    }
    .nav__items {
    width: 100%;
    display: flex;
    align-items: center;
    height: initial;
    justify-content: end;
    }
    .nav-items {
        position: inherit;
        top: 0;
        left: 0;
        transform: translate(0, 0);
        }
}
/* nav-item */
.nav-items__item{
padding: 0 18px;
text-align: center;
}
.nav-items__item:last-child{
padding: 0 ;
padding-left: 24px;
}
.nav-items__item a {
    color:var(--text-color);
    font-weight: 600;
    text-align: center;
    font-size:var(--font-size-pc-small);
    text-decoration: none;
}
.nav-items__item a .ja{
    display: block;
    padding-top: 1rem;
    font-size:var(--font-size-pc-small);
    font-weight: 500;
}
@media (hover: hover) {
    .nav-items__item a:hover{
    color: var(--primary-color);
    font-weight: 700;
    }
}
.nav-items__item .cv-button{
    background-color:var(--primary-color);
    padding: 0;
}
.nav-items__item .cv-button a{
    display: block;
    color: #fff;
    font-weight: 500;
    text-align: center;
    font-size:var(--font-size-pc-base);
    text-decoration: none;
    text-align: center;
    padding: 1.2rem 2.4rem;
}
.nav-items__item .contact{
    background-color: #fff;
    border: solid 1px var(--primary-color);
}
.nav-items__item .contact .__roll-animation span{
    color: var(--primary-color);
}
@media (max-width:1600px){
    .nav-items__item{
        padding: 0 18px;
    }
}
@media (max-width: 1679px) {
    .nav-items__item:last-child{
        padding-left: 0;
        padding: 1.6rem ;
    } 
}

/* header_cv-button */
.cv-button_wrapper{
    display: flex;
    gap:8px;
}
.cv-button_wrapper{
    position: relative;
    margin-left: 24px;
}
.cv-button_wrapper::before{
    content:"";
    display:block;
    width:1px;
    height:24px;
    background-color:#b0b0b0;
    position:absolute;
    top:10px;
    left:-12px;
}
@media (max-width: 1679px) {
    .cv-button_wrapper{
        display: block;
        margin-left: 0;
    }
    .cv-button_wrapper::before{
        display: none;
    }
    .nav-items__item{
        padding: 1rem 0;
    }
}

/* 1679からhum */
@media (max-width: 1679px) {
    .nav-items{
        width: 100%;
    }
    .nav-items__item a .ja{
    font-size: var(--font-size-sp-base);
    }
    .nav-items__item .cv-button{
        margin-top: 1.2rem;
    }
    .nav-items__item .cv-button a{
    margin: 0 auto;
    padding: 1.6rem 2.4rem;
    }
}
.nav-items__item .current {
    color: var(--primary-color);
    font-weight: 700;
}

/* hamburger */
.header__hamburger {
    width: 48px;
    height: 100%;
}
.hamburger {
    background-color: transparent;
    border-color: transparent;
    z-index: 9999;
}
    @media screen and (min-width: 1680px) {
        .hamburger {
        display: none;
        }
    }
.hamburger span {
    width: 100%;
    height: 1px;
    background-color: var(--text-color);
    position: relative;
    transition: ease .4s;
    display: block;
}
.hamburger span:nth-child(1) {
    top: 0;
}
.hamburger span:nth-child(2) {
    margin: 8px 0;
}
.hamburger span:nth-child(3) {
    top: 0;
}
/* hum-open */
.header__nav.active {
    transform: translateX(0);
    width: 40%;
    z-index: 101;
}
@media (max-width: 1679px) {
    .header__nav.active {
        width: 320px;
        height: 100vh;
    }
    header .nav__items{
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        padding: 3rem 0;
    }
}
.hamburger.active span:nth-child(1) {
    top: 5px;
    transform: rotate(45deg);
}
.hamburger.active span:nth-child(2) {
    opacity: 0;
}
.hamburger.active span:nth-child(3) {
    top: -13px;
    transform: rotate(-45deg);
}
@media screen and (max-width: 1199px) {
    .nav-items .g-btn{
        margin-left: 0;
        padding: 12px 30px;
    }
    .nav-items__item a{
        padding: 0;
    }
    .nav-items{
        text-align: center;
    }
    .nav-items__item-sec-tel span, .footer-access-tel span{
        font-size:1.4rem;
        padding: 8px 16px;
    }
}
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.9); 
    z-index: 100;
    opacity: 0;
    visibility: hidden;
}
.overlay.active {
    opacity: 1;
    visibility: visible;
}
/* footer */
.footer{
    background-color: #fff;
}
.footer-nav-list{
    display: flex;
}
.footer-contents-inner{
    max-width: 1570px;
    margin: 60px auto 0;
    padding: 0 60px;
}
.footer .nav-01{
    display: flex;
    justify-content: space-between;
    align-items: start;
}
.footer .nav__items{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(4, auto);
    grid-auto-flow: column;
    gap: 0 6rem;
}
.footer .nav-items__item, .footer .nav-items__item a{
    text-align: start;
}
.footer .nav-items__item{
    margin-bottom: 3.2rem;
}
.footer .nav-02{
    display: flex;
    justify-content: space-between;
    align-items: end;
}
.footer-logo{
    width: 286px;
}
.footer-overview{
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}
.footer-overview .name{
    display: block;
    font-size: var(--font-size-pc-base);
    font-weight: 500;
}
.footer-overview .access{
    font-size: var(--font-size-pc-small);
}
.footer-overview .access img{
    width: 10px;
    margin-left: 10px;
    margin-bottom: 4px;
}
.footer-overview .num{
    position: relative;
    padding-left: 10px;
}
.footer-overview .num span{
    font-family: "Albert Sans";
    display: block;
    font-size: var(--font-size-pc-small);
    font-weight: 400;
}
.footer-overview .num ::before{
    content:"";
    display:block;
    width:2px;
    height:30px;
    background-color:var(--text-color);
    position:absolute;
    top:0;
    left:0
}
.footer .nav-items__item:last-child{
        padding: 0 18px;
}
.copy-right p{
    font-size: var(--font-size-pc-small);
    color: #b0b0b0;
}
.sub-footer-copy .maincopy .bar{
    background-color: var(--text-color);
    padding: 0 1rem;
}
.sub-footer-copy .maincopy .txt{
    color: #fff;
}

@media (max-width: 1679px) {
    .footer .nav-items__item:last-child{
        padding: 1rem 0;
    }
}
@media (max-width: 1199px) {
    .footer-nav-list{
        margin-top: 9rem;
    }
    .footer-contents-inner{
        padding: 0 90px;
    }
    .footer .nav-01{
        display: block;
    }
    .footer-nav-list{
        display: block;
    }
    .footer .nav__items{
        justify-content: start;
    }
    .footer .nav-items__item{
        padding: 0;
    }
    .footer .nav-items__item:last-child{
        padding: 0;
}
    .footer .nav-items__item:last-child{
        padding-left: 0;
    }
    .footer .nav-02{
    display: block;
    margin-top: 6rem;
    }
    .copy-right{
        margin-top: 6rem;
        text-align: center;
    }
}
@media (max-width:576px) {
    .footer-contents-inner{
        padding: 0 24px;
    }
    .footer .nav-items__item, .footer .nav-items__item a{
        font-size: var(--font-size-sp-base);
    }
    .footer-copy .txt-ani-wrapper .bar{
        padding: 0px 1rem;
    }
    .footer-copy .maincopy p{
    margin-left: 0;
    font-size:clamp(1.8rem, 1.657rem + 0.72vw, 2rem);
    margin-left: 1rem;
    }
    .footer-copy .maincopy{
        align-items: center;
    }
    .footer-overview .access{
    font-size: var(--font-size-pc-medium);
    }
    .footer-overview .num span{
        margin-bottom: .4rem;
        font-size: var(--font-size-pc-medium);
    }
    .sub-footer-copy .maincopy{
        margin-left: 0;
        align-items: center;
    }
    .sub-footer-copy .maincopy .txt{
        font-size: clamp(2.4rem, 2.257rem + 0.72vw, 2.6rem);
    }
    .sub-footer-copy .maincopy p{
        font-size: clamp(1.8rem, 1.657rem + 0.72vw, 2rem);
        margin-left: 1rem;
    }
    .footer .nav__items{
        gap: 0 3rem;
    }
    .footer-overview .num a{
    color: var(--text-color);
}
}




