*, ::before,::after {
    box-sizing: border-box;
    border-width: 0;
}

body, html {
    width: 100%;
    height: 2000px;
    margin: 0;
    padding: 0;
    overflow: visible;
    -webkit-text-size-adjust: 100%;
    font-size: 100%;
}

body {
    font-family: sans-serif, 'YuGothic';
    line-height: 2;
    font-weight: 500;
    letter-spacing: 0.05em;
    background: #fff;  
}

html, body, a, h1, h2, div, span, p, ul, li, img {
    margin: 0;
    padding: 0;  
}

a, .open a:visited {
    text-decoration: none;
    margin: 0;
    padding: 0;
}

.header_wrapper {
    display: block;
    top: 0;
    left: 0;
    z-index: 9000;
    width: 100%;  
}

.header_inner {
    position: fixed;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding:  0px 30px;
    width: 100%;
    height: 80px;
    z-index: 10;
    box-sizing: border-box;
    overflow: hidden;
}

#header_logo {
    padding: 0;
    margin: 0;
    top: 0;
    line-height: 60px;
    position: relative;
    z-index: 901;
}

#header_logo a {
    text-decoration: none;
    text-transform: uppercase;
}

.header_menu {
    position: fixed;
    display: block;
    right: 40px;
    top: 60px; 
    width: auto;
    height: 0;
    min-width: 98px;
    z-index: 900;
}

.header_nav {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex-wrap: nowrap;
}

.header_nav li  {
    list-style-type: none;
    text-decoration: none;
    padding: 5px 0;
    text-align: right;
    line-height: 1;
} 

.header_nav li:nth-child(1) {
    padding-top: 0;
}
.header_nav li a {
    padding-bottom: 3px;
}

.header_menu ul li a,.header_menu ul li a:visited {
    color: #202020;
    position: relative;
    transition: color 350ms;
    transition-timing-function: cubic-bezier(1 ,0, 0, 0);
}

.header_menu ul li a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    border: 1px solid #202020;
    transition: all .35s;
    transform:  scale(0, 1);
    transform-origin: left top;
}

.header_menu ul li a:hover::after {
    transform: scale(1, 1);
}

button {
    background: rgba(0, 0, 0, 0.0);
}

#hamburger {
    cursor: pointer;
    position: relative;
    border: 0;
    outline: none;
    width: 50px;
    height: 15px;
    top: 0px; 
    right: 0px;   
    z-index: 1001;   
    cursor: pointer;
}

.ham_button {
    position: absolute;
    display: block;
    top: 0;
    right: 0;
    margin: 0;
    padding: 0;
    width: 45px;
    height: 45px;
    transform: translate(0, 0);
}

#hamburger > span {
    position: absolute;
    display: block;
    left: 0;
    height: 2px;
    width: 100%;
    border-radius: 1px;
    background: #202020;
    transform: rotate(0deg);
    transition: 0.25s ease;
    opacity: 1;
}

#hamburger span:nth-child(1) {
    top: 0px;
}

#hamburger span:nth-child(2) {
    top: 7px;
}

#hamburger span:nth-child(3) {
    top: 7px;
}

#hamburger span:nth-child(4) {
    top: 14px;
}

#hamburger.open > span {
    background: #fff;
}

#hamburger.open > span:nth-child(1) {
    top: 7px;
    width: 0%;
    left: 50%;
}

#hamburger.open > span:nth-child(2) {
    transform: rotate(45deg);
}

#hamburger.open > span:nth-child(3) {
    transform: rotate(-45deg);
}

#hamburger.open > span:nth-child(4) {
    top: 7px;
    left: 50%;
    width: 0%;
}

/* ハンバーガーナビ*/
nav.header_menu_open {
    position: fixed;
    display: block;
    width: 0%;
    height: 100vh;
    top: 0;
    left: 0;
    background: #4B73FF;
    transition: width .4s; /*widthでロゴタイトルが固定される*/
    transform: translateX(0px); 
    transition-timing-function: cubic-bezier(0.50, 0.1, 0.09, 0.97);
    z-index: 1000;
    overflow-x: hidden;
    overflow-y: auto;
}

.header_menu_open.show {
    transform: translateX(0px);
    width: 100%;
    top: 0;
    left: 0;    
}

h2.nav_logo {
    display: grid;
    grid-template-columns: 1fr 60px;
    padding: 0px 30px;
    opacity: 1;
    top: 0;
    margin: 0;
    height: 80px;
    align-items: center;
    line-height: 60px;
    visibility: visible;
}

 .header_menu_open .nav_list li.nav_i {
    transition: opacity .3s, transform .6s;
    transform: translateX(80px);
    opacity: 0;
    transition-timing-function: cubic-bezier(0.165, 0.84, 0.44, 1);
}

.header_menu_open .social li.social_i {
    position: relative;
    transition: opacity .3s, transform .6s;
    transform: translateY(30px);
    opacity: 0;
    transition-timing-function: cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* 中のメニューのアニメーション */
.header_menu_open.open .nav_list li.nav_i {
    transform: translateX(0);
    opacity: 1;
}

.header_menu_open.open .social li.social_i {
    transform: translateY(0);
    opacity: 1;
}

.header_menu_open .nav_list ul {
    margin: 0 43px;
}

.header_menu_open.open li.nav_i:nth-child(1) {
    transition-delay: .3s;
}

.header_menu_open.open li.nav_i:nth-child(2) {
    transition-delay: .37s;
}

.header_menu_open.open li.nav_i:nth-child(3) {
    transition-delay: .44s;
}

.header_menu_open.open li.nav_i:nth-child(4) {
    transition-delay: .51s;
}

.header_menu_open.open li.social_i:nth-child(1){
    transition-delay: .58s;   
}
.header_menu_open.open li.social_i:nth-child(2){
    transition-delay: .65s;   
}
.header_menu_open.open li.social_i:nth-child(3){
    transition-delay: .72s;   
}

 li.nav_i:nth-child(1) {
    transition-delay: 0s;
}

 li.nav_i:nth-child(2) {
    transition-delay: 0s;
}

 li.nav_i:nth-child(3) {
    transition-delay: 0s;
}

 li.nav_i:nth-child(4) {
    transition-delay: 0s;
}

.social li.social_i:nth-child(1) {
    transition-delay: 0s;
}
.social li.social_i:nth-child(2) {
    transition-delay: 0s;
}
.social li.social_i:nth-child(3) {
    transition-delay: 0s;
}

.header_menu_open .nav_list {
    padding-top: 130px;     
}

.header_menu_open.show .nav_list ul {
    position: relative;
    margin: 0 43px 0px 43px; 
    padding: 0;
}

.header_menu_open .nav_list a {
    position: relative;
    display: block;
    margin-bottom: 20px;
    color: #fff;
    letter-spacing: 0.05em;
    text-decoration: none;
    cursor: pointer;
}

.header_menu_open .social a {
    position: relative;
    display: inline-block;
    color: #fff;
    text-decoration: none;
    cursor: pointer;
}

.nav_list a::before {
    position: absolute;
    display: block;
    content: "";
    height: 1px;
    bottom: 0;
    left: 0;
    width: 101%;
    background: -webkit-linear-gradient(0deg, #bdc2e8, #00f2fe);
    transform-origin: left top;
}

.nav_list a:hover {
    color: #92fe9d;
}

ul {
    list-style: none;
}

.social_i {
    position: relative;
}

.social > li {
    display: inline;   
    overflow: hidden;
}

li.social_i a:hover, .social_i a:visited:hover::after  {
    color: #92fe9d;
}

.nav_list a::after { 
    position: absolute;
    display: block;
    content: "";
    height: 1px;
    bottom: 0;
    left: 0;
    width: 101%;
    border: 1px solid #92fe9d;
    transform: scale(0,1);
    transform-origin: left top;
    transition:  all .3s;
}

li.social_i a::after { 
    position: absolute;
    content: "";
    height: 1px;
    bottom: 0;
    left: 0;
    width: 100%;
    border: 1px solid #92fe9d;
    transform: scale(0,1);
    transform-origin: left top;
    transition:  all .3s;
}

nav ul li a:hover::after, .nav_list a:hover::after {
    transform: scale(1,1);
}

li.social_i a:hover::after {
    transform: scale(1,1);   
}

.nav_footer {
    position: fixed;
    float: right;
    margin-top: 50px;
    padding: 0 50px;
    position: fixed;
    align-items: center; 
    width: 100%;
    max-width: 100%;  
}

.nav_list .nav_i , .nav_footer .social_i {
    list-style-type: none;
}

ul.social {
    position: fixed;
    display: flex;
    justify-content: flex-end;
    gap: 1vh;
    text-align: right;
}

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

@media (max-width: 768px) {
    .header_nav {
       display: none;
    }

    li.nav_i {
        font-size: calc(110 / 1560*(100vw - var(--scrollbar-width)));
    }

    .nav_footer {
        position: fixed; 
        padding: 0 50px;
        padding-right: 50px;
    }
    .social_i {
        font-size: calc( 24 / 750*(100vw - var(--scrollbar-width)));
    } 

    .social {
        display: flex;
        flex-direction: row;
        margin-right: 60px;
        margin: 0;
        gap: 1vh;
    }

    .social_i {
       position: relative;
       margin-left: 20px;
    }  
}

@media (min-width: 769px) {
    .header_nav {
        padding: 0;
        opacity: 1;      
    }
    
    .header_nav li a {
        font-size: 1.4rem;
        text-decoration: none;
        color: #202020;       
    }
    
    .nav_list ul {
        margin: 0 90px 0 90px;    
    }
    
    li.nav_i {
        font-size: calc(90 / 1560*(100vw - var(--scrollbar-width)));
    }   

    .nav_footer {
        position: fixed;
    }

    .social_i {
        position: relative;
        margin-left: 50px;
    }
}

@media (max-width: 980px) {
    .header_nav {
       display: none;     
    }    
}

@media (min-width: 981px) {
    #hamburger {
        display: none;
    }
    .header_menu_open.open {
        display: none;
    }
}

/* main */

.contents_wrapper {
    min-height: 100vh;
}

.contents_inner {
    position: relative;
    display: block;
    top: 0;
    padding-bottom: 30px;
    overflow: hidden;
    width: 100%; 
    min-height: 100vh;   
    background: #bdc2e8;
    z-index: 0;
}

.container {
    position: relative;
    width: 100%;
    align-content: center;
    height: 100vh; 
}

.wrap_ttl {
    display: flex;
    flex-direction: column;
    padding: 0em;
    margin: auto;   
}

.text-container {
    display: inline-block;
    padding: 0 38px;
    font-family: 'Graphink', sans-serif;
    font-weight: 600;
    letter-spacing: .02em;
    overflow: hidden;
}

.ttl_flex {
    display: flex;
    flex-direction: column;  
    color: #A0FE65;
}

.ttl_2 {   
    -webkit-text-fill-color: transparent;
    -webkit-text-stroke-width: 1px;
}

.text-container span {
    display: block;
    position: relative;
    opacity: 1;  
    line-height: 1.1;
}

.text-container > span {
    width: 80vw;
    padding-bottom: 30px;
}

.text-container span, .text-container span::after {
    display: inline;
    animation-duration: 1500ms;
    animation-timing-function: cubic-bezier(0.075, 0.82, 0.165, 1);
    transition-delay: 0s;
    animation-fill-mode: forwards;
    overflow: hidden;  
}

.ttl_1 {
    position: relative;
}

.ttl_2 {
    margin-left: 30px;
}

.ttl_3 {
    margin-left: 60px;
}

.spacer {
    height: 20vh;
}

.text-container span.active {
    display: inline;
    height: auto;
    position: relative;
    animation: clip-text 800ms cubic-bezier(0.7, 0.02, 0.2, .3);   
}

.about_ttl.active,.photo_ttl.active ,.news_ttl.active {
    display: inline;
    height: auto;
    position: relative;
    animation: clip-text 800ms cubic-bezier(0.7, 0.02, 0.2, .3);   
}

.text-container span.active::after {
    content: "";
    position: absolute;
    background: linear-gradient(220.55deg, #FFEB3A 0%, #4DEF8E 100%);
    opacity: .8;
    margin-bottom: 20px;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    transform-origin: 0% 50%;
    animation: slideLeft 1500ms cubic-bezier(1, 0.01, 0.2, 1);
    transform: scaleY(0);
    width: 100%;
}

.about_ttl.active::after , .photo_ttl.active::after , 
.news_ttl.active::after {
    content: "";
    position: absolute;
    background: #001C55;
    margin: 0px;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    transform-origin: 0% 50%;
    animation: slideLeft 1500ms cubic-bezier(1, 0.01, 0.2, 1);
    transform: scaleY(0);
    width: 100%;
}

@keyframes slideLeft {
    0% {
        transform-origin: right;
        transform: scaleX(0); 
    }
    50% {
        transform-origin: right;
        transform: scaleX(1);
    }
    50.1% {
        transform-origin: left;
        transform: scaleX(1);
    }
    100% {
        transform-origin: left;
        transform: scaleX(0);
    }  
 }

@keyframes clip-text {
    0% {
        clip-path:  inset(0 0 0 0);  
    }
    100% {
        clip-path:  inset(0 0 0 0);   
    }  
 }

.top_layer {
    position: absolute;
    top: 50%;
    left: 5px;
    writing-mode: vertical-lr;
    text-align: center;
    text-orientation: upright;
}

.wrap_sub_txt {
    position: absolute;
    right: 60px;
    font-style: normal;
    font-weight: 400;
    line-height: 1.8;
    width: 45%;
    height: auto;
    overflow: hidden;
}

.wrap_sub_txt p {
    font-size: 1rem;
    color: #8B8B8B;
}

.wrap_scroll {
    position: absolute;
    display: block;
    bottom: 0;
    width: 22px;
    right: 38px;
    height: auto; 
    margin: 0;
    z-index: 200;
}

.ttl_scroll {
    display: block;
    width: auto;
    writing-mode: vertical-rl;
    pointer-events: none;   
    right: 10px;
    font-size: .8rem;
    letter-spacing: .25rem;
}

.ttl_scroll::after {
    content: '';
    display: block;
    position: absolute;
    height: 120px;
    width: 2px;
    background-color: #202020;
    top: 0;
    left: 0;
    z-index: 2;
}

/* 波のアニメーション */
.ripple-container {
    position: relative;
    display: inline-block;
    padding: 30px 50px;
    color: #e6e6e6;
    font-size: 18px;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
}

.ripple-circle {
    position: absolute;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.5);
    pointer-events: none;
    width: 0;
    height: 0;
}

/* ABOUT */

.about {
    position: relative;
    top: 0;
    width: 100%;
    height: 100%;
    padding: 50px 0;
    padding-top: 100px;
    margin: 0;
    min-height: 100vh;
    overflow: hidden;
}

.about_inner {
    display: block;
    padding: 0 10%;
    z-index: 101;
    background-color: #fff;
    width: auto;
}

.about_ttl ,.news_ttl {
    display: inline;
    padding-bottom: 10px;
    font-size: 2.7rem;
    width: 100%;
    overflow: hidden;
}

.about_wrap h3,.skill {
    display: inline;
    line-height: 1;
    font-weight: 500;
    width: 100%;
}

.about_wrap {
    line-height: 2;
    padding-top: 80px;
}

.about_wrap p {
    display: block;
    padding-top: 2rem;
    font-size: 1rem;
}

.skill_inner {
    padding-top: 100px;
    padding-bottom: 130px;
    box-sizing: border-box;
}

.skill {
    font-size: 25px;
}

.skill_ttl {
    padding-left: 0px;
    padding-right: 30px;
    padding-top: 30px;
    display: flex;
    justify-content: flex-start;
    box-sizing: border-box;
}

.skill_ttl p img {
    padding-right: 20px;
}

.skill_ttl p {
    display: flex;
    align-items: center;
    padding: 10px 40px;
    font-size: 20px;   
}

.skill_ttl p:nth-child(1){
    border-left: 1px solid #001C55;
}

.skill_ttl p:nth-child(2) {
    border-left: 1px solid #001C55;  
}

.skill_ttl p:nth-child(3) {
    border-left: 1px solid #001C55;
}

.skill_sub {
    padding-top: 50px;
    text-align: right;
}

.skill_sub p {
    font-size: 1rem;
}

/* NewS */
.news_section {
    position: relative;
    width: 100%;
    height: 100%;
    padding: 0 10%;
    overflow: hidden;
}

.news_inner {
    padding-bottom: 220px;
}

.news_inner p {
    font-size: 1.3rem;
}

.news_wrap {
    padding-top: 80px;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 35px;
}
.news_item {
    display: flex;
    flex-direction: column;
    border-top: 1px solid #202020;
    width: 76%;
}
.news_item p {
    font-size: 1rem;
}

.news_wrap img {
    position: relative;
    width: 440px;
}

/* Photo Gallery */

.index {
    display: flex;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    will-change: transform, opacity;
}

.photo_botm .index img {
    display: inline;
    object-fit: cover;
    width: 100%;  
    height: auto;
    background: #e6e6e6;
}

.photo .index:nth-child(3n) {
    grid-row: span 2;
} 

/* フェードインのアニメーション */

.fade_in {
    opacity: 0;
    transition: opacity .8s, ease-out, transform .8s ease-out;
    object-fit: cover;
}

.fade_in {
    transform: translateY(20px);
}

.fade_in.active {
    opacity: 1;
    transition-duration: 1.8s;
    transform: translate(0, 0);
}

.index.fade_in:nth-child(1) {
    transition-delay: .1s;
}

.index.fade_in:nth-child(2) {
    transition-delay: .3s;
}

.index.fade_in:nth-child(3) {
    transition-delay: .5s;
}

.index.fade_in:nth-child(4) {
    transition-delay: .1s;
}

.index.fade_in:nth-child(5) {
    transition-delay: .3s;
}

.photoG_botm {
    background: #e6e6e6;
    overflow: hidden;
    padding-top: 100px;
}

.photo_inner_botm {
    padding: 0 100px;
    overflow: hidden;
}

.photo_botm {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3,1fr);
    grid-auto-flow: 100px;
    gap: 10px;
    width: 100%;
    padding-top: 50px;
    padding-bottom: 130px;
    overflow: hidden; 
}

.photo_botm .index {
    overflow: hidden;
    position: relative;
}

.photo_botm .index img:hover {
    transform: scale(1.1);
    transition: .3s ease-in-out;
}

.photo_ttl {
    display: inline;
    padding-bottom: 10px;
}

.photo_inner_botm .photo_ttl {
    display: inline;
    padding-left: 0px;
    font-size: 1.6rem;
    line-height: 2;
    overflow: hidden;  
}

.photo_botm > .index:nth-child(3n) {
    grid-row: span 2;
}

/* CONTACT */

.contact {
    position: relative;
    padding-top: 100px;
    padding-bottom: 10px;
    border-top: 1px solid #E3F2FD;
    border-bottom: 1px solid #E3F2FD;
    overflow: hidden;
}

.contact_inner {
    max-height: 60%;
    padding-top: 30%;
    padding-bottom: 20%;
    align-items: center;
    display: flex;
    justify-content: center;
    flex-direction: column;
    pointer-events: none;
    overflow: hidden;
    z-index: 1;
}

.contact_inner p {
    color: #001C55;
}

.contact_wrap {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    margin-top: 20px;
    overflow: hidden;
    z-index: 2;
    cursor: pointer;
    pointer-events: all;
}

h2.contact_contents {
    color: #001C55;
    letter-spacing: .04rem;
    position: relative;
}

.contact_wrap > p > a {
    font-weight: 400;
    font-size: 1.3rem;
    text-decoration: none;
    color: #001C55;
}

/* SLIDER */

.slider_contents {
    position: absolute;
    z-index: 1;
    overflow: hidden;
    width: 100%; 
}

.swiper_inner.swiper-sub {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    padding: 20px 0px;
    visibility: visible; 
}

.swiper-wrapper {
    position: relative;
    overflow: hidden;
    overflow: visible;
    gap: 50px ;
}

.contact_slider .swiper-slide {
    width: 300px;
    height: 200px;
    pointer-events: none;
}

.swiper_inner.swiper-sub .contact_slider {
    transition-timing-function: linear;  
}

.swiper_inner .swiper-slide.swiper_text {
    display: flex;
    float: left;
    position: relative;
    justify-content: center;
    align-items: center;
}

.text_block {
    color: #e6e6e6;
    opacity: .5;
    flex: none;
    line-height: 1;
    font-weight: 600;
    font-size: calc(100 / 1560*(100vw - var(--scrollbar-width)));
}

/* FOOTER*/

.footer_nav {
    display: grid;
    position: relative;
    padding: 20px 10px;
    grid-auto-flow: column;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    overflow: hidden;
}

.footer_item a {
    text-decoration: none;
    color: #202020;
    cursor: pointer;
}

.footer_item a:visited {
    color: #202020;
}

.footer_title {
    font-weight: 600;
}

.footer_copy {
    font-size: .8rem;
    line-height: 1.6;
    font-weight: 400;
}

@media (max-width: 768px) {
    .wrap_sub_txt {
        width: 60%;
    }

    .wrap_sub_txt p {
        padding-top: 20px;
        font-size: .8rem;
    }

    .about {
        padding-top: 100px;
    }

    .about_inner {
        padding: 0 5%;
    }

    .about_wrap {
        padding-top: 80px;
    }

    .about_wrap p {
        font-size: 0.8rem;
    }

    .skill_inner {
        display: flex;
        position: relative;
        flex-direction: column;
        align-content: flex-end;
    }

    .skill_ttl {
        display: flex;
        flex-direction: column;
        text-align: center; 
        flex-wrap: wrap;
        justify-content: center;
        align-items: stretch;
        align-content: space-around;  
    }
    
    .skill_ttl p {
        padding: 0px 20px;
        font-size: calc(45 / 750*(100vw - var(--scrollbar-width)));
        margin-bottom: 20px;
    }

    .skill_ttl img {
        width: 55px;
        height: auto;
    }

    .skill_sub p {
        width: 70%;
        float: right;
    }

    .news_image img {
        width: 310px;
    }

    .photo_inner {
        padding: 20px 20px;
    }

    .photo_inner_botm {
        padding: 0 60px;
    }

    .index:nth-child(3n) {
        grid-row: span 2;
    }

    .photo_botm {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        gap: 30px;
    }

    .photo_botm > .index:nth-child(3n) {
        grid-row: span 2;
    }

    .contact {
        padding: 150px 0;
    }
    
    .contact_inner p {
        font-size: 14px;
        font-weight: 300;
    }

    .footer_item {
        font-size: 1rem;
    }
    
    .footer_title {
        font-size: .8rem;
    } 

    .footer_copy {
        font-size: .6rem;
    }
}

@media (min-width: 769px) {
    .contact {
        padding: 100px;
    }
    
    .contact_contents {
        font-size: 2.8rem;
    }
}


@media (max-width: 980px) {
    .contact_contents {
        font-size: 2.2rem;
    }

    .ttl_flex span {
        font-size: calc(98 / 980*(100vw - var(--scrollbar-width)));  
        width: 70vw;
    } 
}


@media (min-width: 981px) {
    .ttl_flex span {
        font-size: calc(120 / 1560*(100vw - var(--scrollbar-width)));  
        width: 60vw;
    }

    .ttl_1 { 
        margin-left: 20px;
    }

    .ttl_2 {
        margin-left: 100px;
    }

    .ttl_3 {
        margin-left: 180px;
    }
}