*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}
html{
    font-size: 16px;
    scroll-behavior: smooth;
}
img,video{
    vertical-align: bottom;
}
ul,ol{
    list-style: none;
}
a{
    text-decoration: none;
    color: #000;
    transition: all ease .4s;
}
a:hover{
    opacity: .6;
}
p{
    font-family: "SourceSansPro-Regular", sans-serif;
}
@font-face {
    font-family: "CorporateS-Light";
    src: url(../fonts/CorporateS-Light.otf) format("opentype");
}
@font-face {
    font-family: "CorporateS-Regular";
    src: url(../fonts/CorporateS-Regular.otf) format("opentype");
}
@font-face {
    font-family: "ShipporiMincho-Medium";
    src: url(../fonts/ShipporiMincho-Medium.ttf) format("opentype");
}
@font-face {
    font-family: "SourceSansPro-Regular";
    src: url(../fonts/SourceSansPro-Regular.ttf) format("opentype");
}
@font-face {
    font-family: "SourceSansPro-Bold";
    src: url(../fonts/SourceSansPro-Bold.ttf) format("opentype");
}
/* --- 共通 --- */

.wrapper{
    max-width: 74rem;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
}

header{
    max-width: 74rem;
    width: 100%;
    margin: 0 auto;
    padding: 1.65rem 1.3rem;
}

.head_logo_rerative{
    position: relative;
}
.head_logo{
    position: fixed;
    top: 1.65rem;
    z-index: 100;
}
.head_logo a{
    display: inline-block;
}
.head_logo img{
    height: 47.2px;
}

.head_tel{
    text-align: right;
}
.head_tel > a{
    display: inline-flex;
    justify-content: center;
    align-items: center;
}
.head_tel > a > span{
    font-family: "CorporateS-Light" ,sans-serif;
    font-size: 2.6rem;
}
.head_tel > a > img{
    width: 30px;
    margin-left: 1.5rem;
}

.mv_area{
    position: relative;
    text-align: right;
}
.mv_area > .animated-text{
    line-height: 2.4;
    font-size: clamp(2rem,4.1666666666666666666666666666667vw,3rem);
    position: absolute;
    text-align: left;
    max-width: 1184px;
    top: 50%;
    padding: 0 20px;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    font-family: "ShipporiMincho-Medium" ,serif;
    font-weight: normal;
}
.video_wrap{
    width: 57vw;
    position: relative;
    display: inline-block;
}
.mv_area video{
    width: 100%;
    height: 46vw;
    object-fit: cover;
}
.video_wrap::before{
    content: "";
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background: #00154b;
    transform-origin: right center; /* 右端を起点に伸ばす */
    transform: scaleX(0);  
    top: 0;
    animation: none;
}
.video_wrap::after{
    content: "";
    position: absolute;
    left: 0;
    width: 2px;
    height: 100%;
    background: #00154b;
    transform-origin: center top; /* 右端を起点に伸ばす */
    transform: scaleY(0);  
    left: 0;
    animation: none;
}
.video_wrap.animate::before {
  animation: draw_beside 5s linear forwards;
}
.video_wrap.animate::after {
  animation: draw_vertical 5s 5s linear forwards;
}
@keyframes draw_beside {
from { transform: scaleX(0); }
to   { transform: scaleX(1); }
}
@keyframes draw_vertical {
from { transform: scaleY(0); }
to   { transform: scaleY(1); }
}

.head_nav{
    width: 100%;
    position: relative;
}
.head_nav::before,
.second_head_active::before{
    content: "";
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background: #00154b;
    transform-origin: left center; /* 右端を起点に伸ばす */
    transform: scaleX(0);  
    top: -1px;
    animation: none;
}
.head_nav::after,
.second_head_active::after{
    content: "";
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background: #00154b;
    transform-origin: right center; /* 右端を起点に伸ばす */
    transform: scaleX(0);  
    bottom: 0;
    animation: none;
}
.head_nav.animate::before,
.head_nav.animate::after{
    animation: draw_beside 5s linear forwards;
}
.head_nav > ul{
    display: flex;
    justify-content: flex-end;
    align-items: center;
    height: 100px;
}
.head_nav > ul > li{
    margin-right: clamp(40px,5.2083vw,70px);
    height: 100%;
}
.head_nav > ul > li > a{
    height: 100%;
    display: inline-block;
    line-height: 100px;
}

.head_nav > ul > li:last-of-type{
    margin-right: 0;
}

.main_container{
    position: relative;
}
.main_container::before{
    content: "";
    position: absolute;
    width: 2px;
    height: 100%;
    background: #00154b;
    transform-origin: center top; /* 右端を起点に伸ばす */
    transform: scaleY(0);  
    left: 0;
    top: 0;
    animation: none;   
}
.main_container::after{
    content: "";
    position: absolute;
    width: 2px;
    height: 100%;
    background: #00154b;
    transform-origin: center top; /* 右端を起点に伸ばす */
    transform: scaleY(0);  
    right: 0;
    top: 0;
    animation: none;   
}
.main_container.animate::before,
.main_container.animate::after{
    animation: draw_vertical 5s linear forwards; 
    z-index: 50;
}
/* 文字単位アニメーション */
.animated-texts span {
  display: inline-block;
  opacity: 0;
  transform: translateX(-100%);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.animated-texts span.animate {
  opacity: 1;
  transform: translateX(0);
}

/* 単体要素アニメーション */
.animate-on-scroll.hidden-span {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.animate-on-scroll.animate {
  opacity: 1;
  transform: translateY(0);
}


.second_head_active{
    width: 100%;
    position: fixed;
    top: 0;
    background-color: #fff;
    z-index: 100;
}
.second_head_active::before,
.second_head_active::after,
.second_head_nav::before,
.second_head_nav::after{
    animation: none !important;
    transform: scaleX(1);
}
.headLogo_wrapper{
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 74rem;
    width: 100%;
    padding: 0 20px;
    margin: 0 auto;
}
.headLogo_wrapper > .head_logo{
    position: static;
}
.headLogo_wrapper nav::before,
.headLogo_wrapper nav::after{
    content: none;
}
.headLogo_wrapper ul{
    max-width: none;
    width: auto;
    padding: 0;
    margin: 0;  
}

/* --- トップ --- */
.main_container{
    padding: 5.6rem 0;
}
.top_main_container > section,
.other_main_container > div{
    padding: 5.6rem 14.027777777777779vw;
    padding-top: 0;
    position: relative;
}
.top_main_container > section:nth-of-type(2),
.other_main_container > section{
    padding: 5.6rem 14.027777777777779vw;
}
.top_main_container > div:last-of-type{
    padding: 5.6rem 0;
    padding-bottom: 0;
}
.news_main_container > div{
    position: relative;
}
.top_main_container > section:first-of-type::before,
.top_main_container > section:nth-of-type(2)::before,
.news_main_container > div::before,
.other_main_container > section::before{
    content: "";
    position: absolute;
    width: 100%;
    height: 2px;
    background: #00154b;
    transform-origin: left center;
    transform: scaleX(0);  
    left: 0;
    bottom: 0;
    animation: none;   
}
.top_main_container > section.animate:first-of-type::before,
.top_main_container > section.animate:nth-of-type(2)::before,
.news_main_container > div::before,
.other_main_container > section::before{
    animation: draw_beside 5s linear forwards;
}
.top_main_container h2,
.other_main_container h2{
    font-size: 2.6rem;
    text-align: center;
    padding-bottom: 2.3rem;
    font-family: "SourceSansPro-Bold", sans-serif;
    margin-top: 1rem;
}
.greet_box{
    line-height: 1.96875;
}
.greet_name{
    text-align: right;
    margin-top: 1rem;
}
.greet_name > img{
    height: 2.6rem;
    vertical-align: middle;
    margin-left: 1rem;
}
.column_button{
    margin-top: 3rem;
    background-color: #00154b;
    display: block;
}
.column_button > img {
    width: 100%;
}

.contact_area{
    display: flex;
    justify-content: center;
    align-items: center;
    border: #00154b 2px solid;
    width: max-content;
    margin: 0 auto;
}
.contact_area > p{
    background-color: #00154b;
    color: #fff;
    padding: 0 clamp(1.6rem,3.3333333333333333333333333333333vw,3.6rem);
    font-size: 1.5rem;
    height: 97px;
    line-height: 97px;
    position: relative;
}
.contact_area > p::after{
    content: '';
    position: absolute;
    top: 0;
    right: -24px;
    width: 24px;
    height: 97px;
    background: #00154b;
    clip-path: polygon(
        0 0,
        100% 50%,
        0 100%
    );
}
.contact_area > a:first-of-type{
    color: #00154b;
    margin: 0 clamp(1.6rem,3.3333333333333333333333333333333vw,3.6rem);
    font-size: clamp(2rem,4.1666666666666666666666666666667vw,2.6rem);
    font-family: "CorporateS-Light" ,sans-serif;
    height: 97px;
    line-height: 97px;
}
.contact_area > a:last-of-type{
    background-color: #00154b;
    height: 97px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 97px;
}
.contact_area > a:last-of-type > img{
    height: 3.9375rem;
}


/* --- フッター --- */
footer{
    background-color: #00154b;
    overflow: hidden;
}
.foot_flex{
    display: flex;
    justify-content: space-between;
    max-width: 74rem;
    width: 100%;
    margin: 0 auto;
    padding-top: 2rem;
}
.foot_flex > nav{
    padding-left: clamp(2rem,4.1666666666666666666666666666667vw,7.5rem);;
}
.foot_flex > nav li{
    margin-bottom: .5rem;
}
.foot_flex > nav a{
    color: #fff;
}
.foot_flex > p{
    color: #fff;
}
.foot_flex > p > img{
    height: 2.5rem;
    margin-right: 1rem;
}

.foot_info{
    max-width: 74rem;
    width: 100%;
    margin: 0 auto;
    margin-top: 8rem;
    padding: 0 20px;
    padding-bottom: 30px;
}
.foot_info > p{
    color: #fff;
}
.foot_info > p img{
    height: 52px;
    margin-right: 24px;
}
.foot_pen_area{
    width: 100%;
    position: relative;
}
.foot_pen_area > div{
    width: 100%;
    overflow-x: hidden;
    overflow-y: visible;
}
.foot_pen_area > img{
    position: absolute;
    width: 194px;
    aspect-ratio: 194 / 176;
    bottom: 1px;
    right: -194px;
}
.foot_pen_area > div > img{
    width: 74rem;
}
small{
    color: #fff;
}

/* --- 業務内容 --- */
.other_main_container > div{
    padding: 5.6rem clamp(1.3rem,2.7083333333333333333333333333333vw,7.5rem);
    padding-top: 0;
}
.service_main_container{
    background-color: #f5f0eb;
    padding-bottom: 0;
}
.other_main_container > section{
    background-color: #fff;
}
.service_flex{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(1rem,2.0833333333333333333333333333333vw,2rem);
    align-items: center;
}
.service_flex > a{
    background-color: #b2b2b2;
    color: #fff;
    padding: 20px clamp(20px,2.60416666vw,45px);
    border-radius: 999px;
    font-weight: bold;
    text-align: center;
    font-size: clamp(0.875rem,1.8229166666666666666666666666667vw,1rem);
}
.service_main_container h3{
    background-color: #00154b;
    color: #fff;
    width: 240px;
    height: 48px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    border-radius: 999px;
    font-size: 1rem;
}
.service_big_text{
    font-size: clamp(2.1rem,4.375vw,2.625rem);
    color: #00154b;
    font-weight: bold;
    text-align: center;
    padding: 2.75rem 0;
}
#transcriptionAudio > p:nth-of-type(2){
    color: #00154b;
    padding-left: 1em;
    text-indent: -1em;
    margin-bottom: 4rem;
}
.service_main_container ul > li{
    display: grid;
    grid-template-columns: minmax(5em, 200px) minmax(300px, 1fr);    margin-bottom: 1em;
    font-size: 1rem;
}
.service_main_container h4{
    font-size: 1rem;
    margin-bottom: 1em;
}
.service_main_container h5{
    font-size: 1rem;
}
.accordion_button{
    margin-top: 2em;
    font-size:2rem;
    color: #00154b;
    background-color: #d4cab4;
    padding: 12px 0;
    padding-left: 65px;
    position: relative;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
        cursor: pointer;
}
.accordion_button > span{
    display: inline-block;
    position: absolute;
    width: 43px;
    height: 43px;
    background-color: #00154b;
    left: 11px;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 999px;
}
.accordion_button > span::before{
    content: "";
    position: absolute;
    width: 18px;
    height: 18px;
    border-bottom: 4px #fff solid;
    border-right: 4px #fff solid;
    left: 50%;
    top: 0.3978125rem;
    transform: translateX(-50%) rotate(45deg);
}
.accordion_button > span::after{
    content: "";
    position: absolute;
    width: 18px;
    height: 18px;
    border-bottom: 4px #fff solid;
    border-right: 4px #fff solid;
    left: 50%;
    bottom: 0.3978125rem;
    transform: translateX(-50%) rotate(225deg);
}
.accordion_button > span::after{
    content: none;
}
.accordion_button.active > span::after{
    content: "";
}
.accordion_button.active > span::before{
    content: none;
}
.accordion_content{
    background-color: #f5f0eb;
    color: #00154b;
    grid-template-columns: minmax(310px,1fr) minmax(210px,300px);
    opacity: 0;
    transform: translateY(10px);
    padding: 18px;
    align-items: flex-start;
    transition: all 1s ease;
}
.accordion_content > div > p:first-of-type{
    font-size: 2rem;
    margin-bottom: 24px;
}
.accordion_content.active{
    opacity: 1;
    transform: translateY(0);
}
.accordion_content > img{
    max-width: 350px;
    width: 100%;
}
.service_shorthand_flex{
    margin-top: 5rem;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px;
}
.service_shorthand_flex img{
  max-width: 100%;
  height: auto;
  display: block;
}
.service_text{
    color: #00154b;
    font-size: 24px;
    font-weight: bold;
    text-align: center;
}

.other_main_container > div.service_flow{
    padding-top: 5.6rem;
}
.service_flow > picture > img{
    margin-top: 2rem;
    max-width: 100%;
  height: auto;
  display: block;
}


.other_main_container{
    padding-bottom: 0;
}
.gaiyou_main_container > div:nth-of-type(2) > h2{
    padding-top: 5.6rem;
}
.gaiyou_flex{
    display: grid;
    grid-template-columns:  minmax(300px, 1fr) minmax(200px, 300px);
}
.gaiyou_flex > p{
    margin-right: 21px;
    line-height: 1.9;
}
.gaiyou_flex > div > img{
    max-width: 100%;
    display: block;
}
.gaiyou_flex > div > p{
    text-indent: -1em;
    padding-left: 1em;
}
.gaiyou_flex > div > p:first-of-type{
    margin-bottom: 3rem;
}
.gaiyou_grid{
    display: grid;
    grid-template-columns: 180px 1fr;
    padding: 1.2rem 2.625rem;
    border-top: #808080 1px solid;
    align-items: center;
}
.gaiyou_grid:last-of-type{
    border-bottom: #808080 1px solid;
}
.gaiyou_grid > h3{
    font-weight: normal;
    font-size: 1rem;
}

.recruit_big_text{
    font-size: 2rem;
    max-width: 576px;
    width: 100%;
    margin: 0 auto;
    line-height: 1.9;
}
.recruit_big_text + p{
    max-width: 576px;
    width: 100%;
    margin: 0 auto;
    line-height: 1.9;
}
.recruit_main_container h3{
    font-size: 2rem;
    text-align: center;
    padding-top: 5.6rem;
    padding-bottom: 2rem;
}
.recruit_grid{
    display: grid;
    grid-template-columns: 1fr minmax(300px,400px);
    padding-top: 5rem;
    gap: 1rem;
}
.recruit_grid .recruit_big_text{
    padding-bottom: 1.5rem;
}
.recruit_grid > img{
    max-width: 100%;
    display: block;
}

.contact_main_container > div > p > span{
    color: #e60012;
}
.contact_main_container form{
    padding-top: 5.6rem;
}
.contact_main_container form > label{
    display: grid;
    grid-template-columns: minmax(150px, 200px) 1fr;
    align-items: center;
    padding-bottom: 40px;
}
.contact_main_container form > label span{
    color: #e60012;
}
.contact_main_container form > label > input{
    height: 60px;
    padding: 1rem;
}
.contact_main_container form > label > textarea{
    height: 180px;
    padding: 1rem;
}
.contact_main_container form > p{
    text-align: center;
}
.contact_main_container form > input[name="send"]{
    background-color: #00154b;
    color: #fff;
    padding: 20px 73px;
    margin: 0 auto;
    display: block  ;
    margin-top: 40px;
}

.news_card{
    display: block;
    padding-bottom: 3rem;
}
.news_card:last-of-type{
    padding-bottom: 0;
}

.nav_sp_list{
    display: none;
}
.hamburger_button{
    display: none;
}
.hamburger_button::before{
    transition: all ease-in .6s;
    content: "";
    position: absolute;
    opacity: 0;
    bottom: -24px;
    left: 50%;
    transform: translate(-50%, 5px);
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 17.32px solid #00154b;
}
.second_head_flex > p{
    display: none;
}
.error-messages{
    text-align: center;
    margin-top: 2rem;
    color: #e60012;
}

.single_news_title{
    font-family: "ShipporiMincho-Medium", serif;
    color: #00154b;
}

.news_main_container h2 + p{
    text-align: center;
    font-size: 1.3rem;
}
.other_main_container > div.news_content{
    padding-top: 3rem;
}
.other_main_container > div:last-of-type:before{
    content: none;
}
.news_content > h3{
    font-size: 1.6rem;
}
.news_content > p{
    padding-top: 3rem;
}
.single-pagination,
.pagination{
    display: grid;
    grid-template-columns: repeat(2,1fr);
    margin-top: 2rem;
    justify-items: center;
}
.single_news_title > img{
    width: 100%;
    max-width: 770px;
    margin: 0 auto;
    display: block;
}
@media screen and (max-width:768px) {
.single_news_title > img{
    padding: 0 clamp(5px,1.6666666666666666666666666666667vw,40px);
}
    .news_main_container h2 + p{
        font-size: clamp(1rem,5.3333333333333333333333333333333vw,1.3rem);
    }
    .news_content > h3{
        font-size: clamp(1.3rem,6.9333333333333333333333333333333vw,1.6rem);
    }
    .news_content > time,
    .news_content > p{
        font-size: 1rem;
    }
    .news_content > p{
        padding-top: 2rem;
    }
    .nav_sp_list{
        display: inline-block;
    }
    .head_logo {
        position: static;
    }
    .head_tel {
        text-align: left;
    }
    .head_tel > a > span {
        font-size: clamp(1rem,5.3333333333333333333333333333333vw,1.5rem);
    }
    .head_tel > a > img{
        display: none;
    }
    header {
        max-width: none;
        width: 100%;
        margin: 0 auto;
        padding: 1.3rem;
        height: 116.8px;
        position: fixed;
        top: 0;
        left: 0;
        z-index: 1000;
        background-color: #fff;
    }
    .hamburger_button{
        background-color: #fff;
        border: 1px #00154b solid;
        border-radius: 999px;
        width: 70px;
        height: 70px;
        position: absolute;
        display: block;
        right: 1.3rem;
        top: 50%;
        transform: translateY(-50%);
    }
    .hamburger_button > span{
        width: 25px;
        height: 4px;
        display: inline-block;
        background-color: #00154b;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        border-radius: 999px;
        transition: all ease .6s;
    }
    .hamburger_button > span:first-of-type{
        top: calc(50% - 8px);
    }
    .hamburger_button > span:last-of-type{
        top: calc(50% + 8px);
    }
    .second_head_flex{
        display: none;
        opacity: 0;
        position: fixed;
        top: 0;
        left: 0;
        background-color: #00154b;
        z-index: 800;
        width: 100%;
        height: calc(100dvh - 116.8px);
        margin-top: 116.8px;
        transform: translateY(-20px);
        transition: all ease .6s;
    }
    .main_container::before {
        left: clamp(5px,1.6666666666666666666666666666667vw,20px);
    }
    .main_container::after {
        right: clamp(5px,1.6666666666666666666666666666667vw,20px);
    }
    .mv_area{
        margin-top: 116.8px;
    }
    .video_wrap {
        width: 100%;
    }
    .mv_area video {
        height: calc(100dvh - 116.8px);
    }
    .video_wrap::after{
        position: absolute;
        left: 0;
        width: 100%;
        height: 2px;
        background: #00154b;
        transform-origin: left center; /* 右端を起点に伸ばす */
        transform: scaleX(0);  
        bottom: 0;
        animation: none;
        z-index: 101;
    }
    .video_wrap.animate::after {
        animation: draw_beside 5s linear forwards;
        }
    .mv_area > .animated-text {
        font-size: clamp(2rem, 4.1666666666666666666666666666667vw, 3rem);
        width: max-content;
        color: #fff;
        top: calc(50% - 7dvh);
        filter: drop-shadow(#000 2px 2px 3px);
        z-index: 100;
    }
    .contact_area > p {
        padding: 0 1.6rem;
        font-size: clamp(1rem,5.3vw,1.5rem);
        height: 80px;
        line-height: 80px;
        position: relative;
        width: 100%;
    }
    .contact_area > p::after {
        height: 15px;
        clip-path: polygon(0 0, 100% 0, 50% 100%);
        right: 0;
        bottom: -14px;
        width: 100%;
        top: auto;
    }
    .contact_area > a:first-of-type {
        margin: 0;
        padding-left: clamp(15px,5vw,30px);
        font-size: clamp(1.4rem,7.4666666666666666666666666666667vw,3rem);
        height: 80px;
        line-height: 80px;
        width: calc(100% - 80px);
        margin-top: 15px; 
    }
    .contact_area > a:last-of-type {
        height: 80px;
        width: 80px;
        margin-top: 15px;
    }
    .contact_area > a:last-of-type > img {
        height: 3.4rem;
    }
    .foot_info > p img {
        display: block;
        margin-bottom: .4rem;
    }
    
    .contact_area {
        flex-wrap: wrap;
        max-width: 600px;
        width: 100%;
    }
    .head_logo img {
        height: clamp(32px,10.666666666666666666666666666667vw,47.2px);
    }
    .top_main_container h2, .other_main_container h2 {
        font-size: clamp(1.8rem,9.6vw,2.6rem);
        text-align: center;
        padding-bottom: 2.3rem;
        font-family: "SourceSansPro-Bold", sans-serif;
    }
    .top_main_container > section, .other_main_container > div {
        padding: clamp(3rem,16vw,5.6rem) clamp(1rem,5.3333333333333333333333333333333vw,100px);
        padding-top: 0;
        position: relative;
    }
        .top_main_container > section:nth-of-type(2), .other_main_container > section {
        padding: clamp(3rem,16vw,5.6rem) clamp(1rem,5.3333333333333333333333333333333vw,100px);
    }
    .greet_box {
        line-height: 1.8;
        font-size: clamp(.85rem,4.5333333333333333333333333333333vw,1rem);
    }
    .main_container {
        padding: clamp(4rem,21.333333333333333333333333333333vw,5.6rem) 0;
    }
    .greet_name > img {
        height: clamp(2rem,10.6vw,2.6rem);
    }
    .greet_name {
        font-size: clamp(.85rem,4.5333333333333333333333333333333vw,1rem);
    }
    .top_main_container > div:last-of-type {
        padding: clamp(3rem, 16vw, 5.6rem) clamp(1rem, 5.3333333333333333333333333333333vw, 100px);
        padding-bottom: 0;
    }
    .foot_flex > p {
        padding: 0 clamp(2rem, 4.1666666666666666666666666666667vw, 7.5rem);
    }
    .second_head_flex.active {
        opacity: 1;
        transform: translateY(0);
    }
    .second_head_flex.active > .head_nav::before, .second_head_active::before,
    .second_head_flex.active > .head_nav::after, .second_head_active::after{
        content: none;
    }
    .head_nav > ul {
        display: block;
        height: auto;
        width: fit-content;
        padding-top: 3rem;
    }
    .head_nav > ul > li {
        margin-right: 0;
        height: 100%;
        margin-bottom: .6rem;
    }
    .head_nav > ul > li > a {
        color: #fff;
        line-height: 1;
    }
    .second_head_flex.active > p{
        background-color: #fff;
        height: 80px;
        display: inline-flex;
        justify-content: center;
        align-items: center;
        font-size: 12px;
        width: 100%;
        position: absolute;
        bottom: 0;
        left: 0;
    }
    .hamburger_button.active{
        background-color: #00154b;
    }
    .hamburger_button.active::before{
        opacity: 1;
        transform: translate(-50%, 0);
    }
    .hamburger_button.active > span{
        background-color: #fff;
    }
    .hamburger_button.active > span:nth-of-type(1){
        transform: translate(-50%, -50%) rotate(45deg);
        top: 50%;
    }
    .hamburger_button.active > span:nth-of-type(2){
        opacity: 0;
    }
    .hamburger_button.active > span:nth-of-type(3){
        transform: translate(-50%, -50%) rotate(-45deg);
        top: 50%;
    }

    .service_main_container ul > li{
        grid-template-columns: 1fr;
        gap: 1rem;
        margin-bottom: 2em;
    }
    .service_big_text {
        font-size: clamp(1.7rem,9.0666666666666666666666666666667vw, 2.1rem);
    }
    .service_flex {
        grid-template-columns: 1fr;
        gap: clamp(1rem, 2.0833333333333333333333333333333vw, 2rem);
    }
    .accordion_button {
        margin-top: 1em;
        font-size: 1.7rem;
    }
    .accordion_content {
        grid-template-columns:1fr;
    }
    .accordion_content > img{
        margin-top: 1rem;
    }
    .service_shorthand_flex {
        margin-top: 3rem;
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .gaiyou_flex {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .gaiyou_flex > p {
        margin-right: 0;
    }
    .gaiyou_grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        justify-items: center;
    }
    .recruit_grid {
        grid-template-columns: 1fr;
        justify-items: center;
    }
    .recruit_big_text + p {
        font-size: 14px;
        width: fit-content;
    }
    .recruit_big_text {
        font-size: clamp(1.3rem,6.9333333333333333333333333333333vw,2rem);
    }
        .single_news_title h2{
        font-size: clamp(1.1rem,5.8666666666666666666666666666667vw,1.8rem);
    }
}

@media screen and (max-width:600px) {
    .foot_flex {
        flex-direction: column;
    }
    .foot_flex > p{
        margin-top: 1rem;
    }
    .foot_flex > p > img {
        margin-bottom: 10px;
    }
    .contact_main_container form > label {
        grid-template-columns: 1fr;
    }
}
