
/* ===================================================================

    under

=================================================================== */
.undersec_kv{
    padding-top: 150px;
    position: relative;
    height: 640px;
    margin-bottom: 400px;
}
.undersec_kv .bg{
    content: "";
    display: inline-block;
    position: absolute;
    top: 0;
    left: 0;
    width: 60vw;
    max-width: 1000px;
    min-width: 60%;
    height: 100%;
    background: var(--main-color);
    z-index: -1;
}
.undersec_kv .bg::before{
    content: "";
    display: inline-block;
    position: absolute;
    top: 0;
    left: calc(100% - 1px);
    width: 0;
    height: 0;
    border-top: 640px solid var(--main-color);
    border-right: 300px solid transparent;
}
.undersec_kv .bg::after{
    content: "";
    display: inline-block;
    position: absolute;
    top: 0;
    right: -180px;
    background-image: url(../images/icon_hisayama.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    width: 610px;
    height: 420px;
}
.undersec_kv h1{
    color: var(--color-white);
    margin-bottom: 110px;
}
.undersec_kv h1 span{
    display: block;
}
.undersec_kv h1 .ja{
    font-size: 48px;
    line-height: 1;
    margin-bottom: 20px;
}
.undersec_kv h1 .en{
    font-size: 24px;
}
.undersec_kv .bread {
    font-size: 14px;
    margin-bottom: 25px;
}
.undersec_kv .bread ul{
    flex-wrap: wrap;
    gap: 0 40px;
}
.undersec_kv .bread li{
    position: relative;
    mix-blend-mode: color-burn;
}
.undersec_kv .bread li:first-child a{
    font-weight: 600;
    color: var(--main-color);
}
.undersec_kv .bread li a::after{
    content: "";
    display: inline-block;
    width: 10px;
    height: 1px;
    background: #333;
    position: absolute;
    left: calc(100% + 20px);
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
}
.undersec_kv img{
    max-width: 1720px;
    height: 500px;
    width: calc(100vw - 200px);
    margin-right: calc(((100vw - 100%) / 2) * -1);
    margin-left: calc(((100vw - 100%) / 2) * -1);
    object-fit: cover;
}
.under .leadtxt{
    font-size: 26px;
    line-height: 1.8;
    margin-bottom: 90px;
    font-weight: 600;
}
.under .ttlhead .en{
    margin-bottom: 20px;
}
.under .ttlhead .ja{
    line-height: 1;
}
.under .lastwrap{
    margin-bottom: 150px;
}

@media only screen and (max-width: 1024px) {
    .undersec_kv{
        height: 580px;
        padding-top: 120px;
        margin-bottom: 320px;
    }
    .undersec_kv .bg::before{
        border-top: 490px solid var(--main-color);
        border-right: 250px solid transparent;
    }
    .undersec_kv .bg::after{
        width: 510px;
        height: 350px;
    }
    .undersec_kv h1 {
        margin-bottom: 90px;
        padding-left: 40px;
    }
    .undersec_kv img {
        width: calc(100vw - 150px);
        height: 350px;
    }
    #strengths .undersec_kv img{
    object-position: 90%;
    }
    .under .leadtxt{
        font-size: 22px;
    }
}
@media only screen and (max-width: 768px) {
    .undersec_kv {
        height: 450px;
    }
    .undersec_kv .bg::before{
        border-top: 500px solid var(--main-color);
        border-right: 250px solid transparent;
    }
    .undersec_kv .bg::after{
        width: 330px;
        height: 230px;
    }
    .undersec_kv h1 {
        padding-left: 40px;
        margin-bottom: 60px;
    }
    .undersec_kv h1 .ja{
        font-size: 42px;
        margin-bottom: 10px;
    }
    .undersec_kv h1 .en{
        font-size: 20px;
    }
    .undersec_kv img {
        width: calc(100vw - 90px);
        height: 300px;
    }
    .under .leadtxt{
        font-size: 18px;
    }
    .under .lastwrap{
        margin-bottom: 120px;
    }
}
@media only screen and (max-width: 479px) {
    .under .ttlhead .en {
        margin-bottom: 10px;
    }
    .undersec_kv .bread ul{
        justify-content: flex-start;
        gap: 0 30px;
    }
    .undersec_kv .bread li,
    .undersec_kv .bread li a{
        font-size: 14px;
    }
    .undersec_kv .bread li a::after{
        left: calc(100% + 15px);
    }
    .under .leadtxt{
        font-size: 16px;
        margin-bottom: 45px;
    }
    .undersec_kv {
        height: 300px;
        padding-top: 60px;
        margin-bottom: 180px;
    }
    .undersec_kv h1{
        padding: 0;
    }
    .undersec_kv h1 .ja {
        font-size: 30px;
    }
    .undersec_kv h1 .en {
        font-size: 16px;
    }
    .undersec_kv .bg::after {
        width: 200px;
        height: 140px;
        right: -110px;
    }
    .undersec_kv .bg::before {
        border-top: 300px solid var(--main-color);
        border-right: 170px solid transparent;
    }
    .undersec_kv img {
        width: calc(100vw - 30px);
        height: 180px;
    }
    .under .lastwrap{
        margin-bottom: 90px;
    }
}


/* ===================================================================

    strengths

=================================================================== */
#strengths .head .num{
    font-size: 100px;
    line-height: 1;
}
#strengths .slash::after{
    width: 3px;
    height: 55px;
    margin-right: 20px;
}
#strengths .leadbottom{
    font-size: 26px;
    padding: 80px 0;
    background: var(--main-color);
    color: var(--color-white);
    margin-bottom: 100px;
}


/* ===================================================================

    fullwideset

=================================================================== */
.fullwideset{
    margin-bottom: 100px;
}
.fullwideset.set_a .image{
    width: 90vw;
    margin-left:calc(((100vw - 100%) / 2) * -1);
}
.fullwideset.set_a .image img{
    padding-right: 100px;
}
.fullwideset.set_b .image{
    width: 90vw;
    margin-right: calc(((100vw - 100%) / 2) * -1);
}
.fullwideset.set_b .image img{
    padding-left: 100px;
}
.fullwideset .head,
.fullwideset h2{
    color: var(--main-color);
}
.fullwideset .head .en{
    font-size: 24px;
}
.fullwideset h2{
    font-size: 48px;
    line-height: 1.3;
    margin-bottom: 50px;
}
.fullwideset .txts{
    width: 60vw;
    min-width: 650px;
}
.fullwideset .txt01{
    font-size: 36px;
    margin-bottom: 30px;
    font-weight: 700;
    line-height: 1.5;
    letter-spacing: -0.025rem;
}
.fullwideset .txt02{
    font-size: 18px;
    text-align: justify;
}


@media only screen and (max-width: 1024px) {
    #strengths .head .num {
        font-size: 90px;
    }
    .fullwideset .txts {
        min-width: 550px;
    }
    .fullwideset h2 {
        font-size: 42px;
        margin-bottom: 30px;
    }
    .fullwideset .txt01 {
        font-size: 32px;
        margin-bottom: 20px;
    }
    .fullwideset.set_a .image img {
        padding-right: 45px;
    }
    .fullwideset.set_b .image img {
        padding-left: 45px;
    }
    #strengths .leadbottom {
        font-size: 24px;
    }
}
@media only screen and (max-width: 768px) {
    .fullwideset.set_a,
    .fullwideset.set_b{
        gap: 30px;
    }
    .fullwideset.set_a{
        flex-direction: column-reverse;
    }
    .fullwideset.set_b{
        flex-direction: column;
    }
    .fullwideset .txts,
    .fullwideset.set_a .image{
        width: 100%;
        margin: auto;
    }
    .fullwideset.set_a .image ,
    .fullwideset.set_b .image {
        width: 100%;
    }
    .fullwideset.set_a .image img ,
    .fullwideset.set_b .image img {
        padding: 0;
    }
    .fullwideset {
        margin-bottom: 60px;
    }
    .fullwideset h2 {
        font-size: 38px;
        margin-bottom: 20px;
    }
    .fullwideset .txts {
        min-width: auto;
    }
    .fullwideset .txt01 {
        font-size: 28px;
        margin-bottom: 15px;
    }
    #strengths .head .num {
        font-size: 80px;
    }
    #strengths .slash::after {
        margin-right: 10px;
    }
    #strengths .leadbottom {
        padding: 60px 0;
        font-size: 20px;
    }
}
@media only screen and (max-width: 479px) {
    .fullwideset {
        margin-bottom: 60px;
    }
    .fullwideset h2 {
        font-size: 24px;
    }
    .fullwideset h2 br{
        display: none;
    }
    #strengths .slash::after {
        margin-left: 15px;
        height: 40px;
    }
    #strengths .head .num {
        font-size: 60px;
    }
    .fullwideset .head .en {
        font-size: 20px;
        line-height: 1.5;
    }
    .fullwideset .txt01 {
        font-size: 20px;
        margin-bottom: 10px;
    }
    .fullwideset .txt02 {
        font-size: 16px;
    }
    .fullwideset {
        margin-bottom: 45px;
    }
    #strengths .leadbottom {
        font-size: 16px;
        padding: 40px 0;
        margin-bottom: 80px;
    }
}


/* ===================================================================

    safety

=================================================================== */
#safety .head{
    color: var(--main-color);
    margin-bottom: 60px;
}
#safety .head .ja{
    font-size: 48px;
    line-height: 1.3;
}
#safety .head .en{
    font-size: 24px;
}
#safety .policywrap .slash::after ,
#safety .commitwrap .slash::after {
    top: 0;
    width: 4px;
    height: 120px;
    margin-left: 50px;
    transform: rotate(40deg);
}
#safety .fullwideset01{
    position: relative;
    margin-bottom: 120px;
}
#safety .fullwideset01 ::after {
    content: "";
    display: inline-block;
    top: 50%;
    -webkit-transform : translateY(-50%);
    transform : translateY(-50%);
    right: 0;
    position: absolute;
    background: #f5f5f5;
    width: 65vw;
    margin-right:calc(((100vw - 100%) / 2) * -1);
    margin-left:calc(((100vw - 100%) / 2) * -1);
    height: 650px;
    z-index: -1;
}
#safety .policy_while {
    margin-bottom: 120px;
}
#safety .policy_while .ttl{
    font-size: 36px;
    margin-bottom: 30px;
    line-height: 1.3;
}
#safety .policy_while .txts{
    margin-bottom: 40px;
    line-height: 3.5;
}
#safety .policy_while .txts p{
    font-size: 28px;
    display: inline;
    color: var(--main-color);
    background: linear-gradient(transparent 45%, #ccdfee 45%);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 20px;
}
#safety .policy_while .txt{
    font-size: 18px;
}

#safety .managewrap{
    background-image: url(../images/bg_safety.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 80px 0 150px;
}
#safety .managewrap h2{
    font-size: 36px;
    margin-bottom: 30px;
    line-height: 1.5;
    text-align: center;
}
#safety .managewrap .inner{
    gap: 40px;
}
#safety .managewrap .manageset{
    padding: 15px 20px 25px;
    background: var(--color-white);
    width: calc(100% / 2 - 20px);
    box-shadow: 5px 5px 5px rgba(0,0,0,0.2);
}
#safety .managewrap .manageset .num,
#safety .managewrap .manageset h3{
    color: var(--main-color);
}
#safety .managewrap .manageset .num{
    font-size: 50px;
    line-height: 1;
    margin-bottom: 5px;
}
#safety .managewrap .manageset h3{
    font-size: 24px;
    margin-bottom: 20px;
    line-height: 1.3;
}
#safety .managewrap .slash::after{
    top: 5px;
    width: 3px;
    height: 40px;
    margin-left: 20px;
}
#safety .commitwrap .commitset{
    gap: 60px;
    margin-bottom: 40px;
}
#safety .commitwrap .commitset:last-child{
    margin-bottom: 0;
}
#safety .commitwrap .commitset h3{
    font-size: 36px;
    line-height: 1.2;
    margin-bottom: 30px;
}
#safety .commitwrap .commitset p{
    font-size: 18px;
}
#safety .commitwrap .commitset .txts{
    width: calc(100% - 560px);
}
#safety .commitwrap .commitset .image{
    width: 500px;
}

@media only screen and (max-width: 1024px) {
    #safety .policy_while {
        margin-bottom: 90px;
    }
    #safety .policy_while .txts{
        line-height: 3;
    }
    #safety .policy_while .txts p {
        font-size: 24px;
    }
    #safety .policy_while .ttl {
        font-size: 32px;
        margin-bottom: 20px;
    }
    #safety .commitwrap .commitset h3 {
        font-size: 30px;
    }
    #safety .commitwrap .commitset {
        gap: 40px;
    }
    #safety .commitwrap .commitset .txts {
        width: calc(100% - 540px);
    }
}
@media only screen and (max-width: 768px) {
    #safety .head {
        margin-bottom: 40px;
        width: calc(100% - 20px);
    }
    #safety .policywrap .slash::after,
    #safety .commitwrap .slash::after{
        width: 3px;
        height: 100px;
        margin-left: 30px;
    }
    #safety .head .ja {
        font-size: 42px;
    }
    #safety .fullwideset01 {
        margin-bottom: 90px;
    }
    #safety .fullwideset01 ::after {
        width: 85vw;
        height: calc(100% + 50px);
    }
    #safety .policy_while .ttl {
        font-size: 28px;
        margin-bottom: 15px;
    }
    #safety .policy_while .txts{
        line-height: 2.5;
    }
    #safety .policy_while .txts p {
        font-size: 22px;
    }
    #safety .managewrap{
        padding: 60px 0 120px;
    }
    #safety .managewrap .inner {
        gap: 30px;
    }
    #safety .managewrap .manageset {
        padding: 15px 20px 25px;
        width: calc(100% / 2 - 15px);
    }
    #safety .managewrap .manageset h3 {
        font-size: 22px;
        margin-bottom: 15px;
    }
    #safety .commitwrap .commitset{
        flex-direction: column;
        margin-bottom: 60px;
        gap: 20px;
    }
    #safety .commitwrap .commitset .txts ,
    #safety .commitwrap .commitset .image {
        width: 100%;
    }
}
@media only screen and (max-width: 479px) {
    #safety .head {
        margin-bottom: 30px;
    }
    #safety .head .ja {
        font-size: 28px;
    }
    #safety .head .en {
        font-size: 18px;
        line-height: 1.3;
    }
    #safety .policywrap .slash::after,
    #safety .commitwrap .slash::after {
        width: 2px;
        height: 70px;
        margin-left: 20px;
    }
    #safety .fullwideset01 {
        margin-bottom: 60px;
    }
    #safety .policy_while {
        margin-bottom: 60px;
    }
    #safety .policy_while .ttl {
        font-size: 22px;
    }
    #safety .policy_while .txts{
        line-height: 2;
    }
    #safety .policy_while .txts p {
        font-size: 16px;
    }
    #safety .policy_while .txt {
        font-size: 16px;
    }
    #safety .managewrap{
        padding: 50px 0 90px;
    }
    #safety .managewrap .manageset{
        width: 100%;
    }
    #safety .managewrap h2 {
        font-size: 26px;
        margin-bottom: 20px;
    }
    #safety .managewrap .manageset h3 {
        font-size: 20px;
        margin-bottom: 15px;
    }
    #safety .managewrap .manageset .num {
        font-size: 40px;
    }
    #safety .managewrap .slash::after {
        top: 2px;
        width: 2px;
        height: 30px;
        margin-left: 15px;
    }
    #safety .commitwrap .commitset h3 {
        font-size: 20px;
        margin-bottom: 5px;
    }
    #safety .commitwrap .commitset p {
        font-size: 16px;
    }
    #safety .commitwrap .commitset {
        gap: 10px;
        margin-bottom: 50px;
    }
}


/* ===================================================================

    office

=================================================================== */
#office .leadtxt{
    margin-bottom: 0;
}
#office .allmap{
    content: "";
    display: inline-block;
    width: 100vw;
    margin-right: calc(((100vw - 100%) / 2) * -1);
    margin-left: calc(((100vw - 100%) / 2) * -1);
    max-height: 510px;
    height: 40vw;
    background-image: url(../images/office_map.jpg);
    background-position: center bottom;
    background-repeat: no-repeat;
    background-size: cover;
}

#office .mapwrap{
    margin-bottom: 80px;
}
#office .officeset .inner{
    margin-bottom: 40px;
    gap: 20px;
}
#office .officeset h2{
    position: relative;
    display: inline-flex;
    align-items: center;
    color: var(--main-color);
    font-size: 30px;
    margin-bottom: 30px;
    line-height: 1;
}
.slash::after{
    content: "";
    display: inline-block;
    position: relative;
    top: 3px;
    width: 2px;
    height: 50px;
    background: var(--main-color);
    margin-left: 25px;
    transform: rotate(30deg);
}
#office .officeset .image{
    width: 480px;
}
#office .officeset .txts{
    font-size: 15px;
    line-height: 1.8;
    width: calc(100% - 480px);
}
#office .officeset .txts address{
    margin-bottom: 20px;
}
#office .officeset .txts .head{
    color: var(--main-color);
    font-size: 16px;
    font-weight: 700;
}
#office .officeset .txts .txt01{
    margin-bottom: 15px;
}
#office .officeset .root02{
    margin-top: 15px;
}
#office .officeset:not(:last-child){
    margin-bottom: 60px;
}
#office .officeset .root{
    padding-left: 20px;
}

@media only screen and (max-width: 1024px) {
    #office .officeset .image{
        width: 380px;
    }
    #office .officeset .txts{
        width: calc(100% - 380px);
    }
}
@media only screen and (max-width: 768px) {
    #office .officeset .inner {
        flex-direction: column;
    }
    #office .officeset .image,
    #office .officeset .txts{
        width: 100%;
    }
    #office .officeset .root {
        padding-left: 0;
    }
    #office .allmap{
        height: 40vw;
    }
}
@media only screen and (max-width: 479px) {
    #office .allmap{
        height: 50vw;
    }
    #office .map iframe{
        height: 180px;
    }
    #office .officeset h2 {
        font-size: 24px;
        margin-bottom: 15px;
        max-width: calc(100% - 15px);
    }
    .slash::after{
        height: 40px;
        top: 2px;
        margin-left: 20px;
    }
}




/* ===================================================================

    company

=================================================================== */
#company .companyset{
    gap: 110px;
}
#company .companyset .ttlhead{
    min-width: 285px;
}
#company .companyset .en{
    color: var(--main-color);
}
#company .companyset .txt01{
    font-size: 72px;
    display: inline-block;
    color: var(--color-white);
    background: var(--sub-color);
    line-height: 1;
    line-height: 1;
    padding: 20px 30px;
    font-weight: 700;
    letter-spacing: 0.5rem;
    margin-bottom: 30px;
}
#company .companyset .txt02{
    font-size: 18px;
    font-weight: 600;
    line-height: 2;
}
#company .companyset01{
    border-bottom: solid 1px #333333;
    padding-bottom: 80px;
    margin-bottom: 80px;
}
#company .companywrap{
    padding-bottom: 420px;
    position: relative;
}
#company .companywrap .inner::after{
    content: "";
    display: inline-block;
    width: 100vw;
    margin-right:calc(((100vw - 100%) / 2) * -1);
    margin-left:calc(((100vw - 100%) / 2) * -1);
    height: 700px;
    z-index: -1;
    position: absolute;
    bottom: 0;
    left: 0;
    background-image: url(../images/company01.jpg);
    background-position: center top;
    background-repeat: no-repeat;
    background-size: cover;
}
#company .messagewrap{
    position: relative;
    padding: 150px 0 130px;
    margin-bottom: 150px;
}
#company .messagewrap::after{
    content: "";
    display: inline-block;
    width: 100%;
    height: 500px;
    background: #f0f5fa;
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: -1;
}
#company .messagewrap .ttlhead .en{
    color: var(--main-color);
}
#company .messagewrap .inner{
    gap: 140px;
}
#company .messagewrap .presiset .image{
    display: flex;
    max-width: 360px;
    width: 40vw;
    margin-top: 45px;
    margin-bottom: 25px;
}
#company .messagewrap .txt01{
    font-size: 32px;
    line-height: 1.8;
    margin-bottom: 45px;
    font-weight: 700;
}
#company .messagewrap .txt01 span{
    margin-left: 5px;
}
#company .messagewrap .txt02{
    line-height: 2.3;
}
#company .messagewrap .txt02,
#company .messagewrap .txt03{
    font-weight: 400;
}
#company .messagewrap .name{
    font-size: 20px;
    font-weight: 700;
    margin-left: 20px;
}
#company .overviewrap .en{
    color: var(--main-color);
}
#company .overviewrap .ttlhead{
    margin-bottom: 60px;
}
#company .overviewrap table{
    width: 100%;
}
#company .overviewrap tr{
    border-bottom: solid 1px #c8c8c8;
}
#company .overviewrap th{
    width: 260px;
    font-weight: 700;
    border-bottom: solid 1px var(--main-color);
}
#company .overviewrap th,
#company .overviewrap td{
    padding: 30px 10px;
    text-align: left;
}

@media only screen and (max-width: 1024px) {
    #company .companywrap .inner::after{
        height: 450px;
    }
    #company .companywrap {
        padding-bottom: 300px;
    }
    #company .messagewrap .presiset .image{
        width: 30vw;
    }
    #company .messagewrap::after{
        height: 570px;
    }
    #company .messagewrap .inner {
        gap: 90px;
    }
    #company .messagewrap{
        margin-bottom: 120px;
    }
}
@media only screen and (max-width: 768px) {
    #company .companywrap{
        padding-bottom: 250px;
    }
    #company .companywrap .inner::after{
        height: 350px;
    }
    #company .companyset{
        flex-direction: column;
        gap: 30px;
    }
    #company .companyset .ttlhead{
        width: 100%;
    }
    #company .companyset .txt01 {
        font-size: 62px;
    }
    #company .companyset .txt01 {
        font-size: 42px;
        padding: 10px 20px;
        margin-bottom: 20px;
    }
    #company .companyset01 {
        padding-bottom: 60px;
        margin-bottom: 60px;
    }
    #company .messagewrap .presiset .image{
        width: 100%;
    }
    #company .messagewrap::after{
        height: 460px;
    }
    #company .messagewrap .inner {
        gap: 80px;
        flex-direction: column;
    }
    #company .messagewrap {
        padding: 100px 0 90px;
        margin-bottom: 90px;
        background-position: 70%;
    }
    #company .overviewrap th{
        width: 180px;
    }
    #company .overviewrap th,
    #company .overviewrap td {
        padding: 20px 10px;
    }
}
@media only screen and (max-width: 479px) {
    #company .companyset .txt02 {
        font-size: 16px;
    }
    #company .companyset01 {
        padding-bottom: 40px;
        margin-bottom: 40px;
    }
    #company .companywrap {
        padding-bottom: 200px;
    }
    #company .companywrap .inner::after {
        height: 300px;
    }
    #company .messagewrap {
        padding: 80px 0;
        margin-bottom: 60px;
    }
    #company .messagewrap::after{
        height: 90vh;
    }
    #company .messagewrap .inner {
        gap: 60px;
    }
    #company .messagewrap .presiset .image{
        margin-top: 30px;
        margin-bottom: 10px;
    }
    #company .messagewrap .txt01 {
        font-size: 6vw;
        margin-bottom: 30px;
    }
    #company .overviewrap .ttlhead {
        margin-bottom: 30px;
    }
    #company .overviewrap tr{
        display: flex;
        flex-direction: column;
    }
    #company .overviewrap th,
    #company .overviewrap td{
        width: 100%;
        border: none;
    }
    #company .overviewrap th{
        padding: 20px 0 0;
    }
    #company .overviewrap td{
        border-bottom: solid 1px var(--main-color);
        padding: 0 10px 10px;
    }
}



/* ===================================================================

    recruit

=================================================================== */
#recruit .linkset,
.reclinkset{
    display: block;
    position: relative;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 70px 60px 60px;
}
#recruit .linkset01{
    background-image: url(../images/recruit01.jpg);
}
#recruit .linkset02{
    background-image: url(../images/recruit02.jpg);
}
#recruit .linkset03{
    background-image: url(../images/recruit03.jpg);
}
.reclinkset{
    background-image: url(../images/recruit04.jpg);
}
#recruit .linkset:not(:last-child){
    margin-bottom: 30px;
}
#recruit .linkset .inner,
.reclinkset .inner{
    max-width: 670px;
}
#recruit .linkset01 *,
#recruit .linkset02 *,
#recruit .linkset03 *{
    color: #fff;
}
#recruit .linkset .head,
.reclinkset .head{
    line-height: 1;
}
#recruit .linkset .ja,
.reclinkset .ja{
    display: block;
    font-size: 42px;
    margin-bottom: 20px;
}
#recruit .linkset .en,
.reclinkset .en{
    display: block;
    font-size: 24px;
    margin-bottom: 40px;
}
#recruit .linkset .txt,
.reclinkset .txt{
    font-size: 20px;
}

#recruit .linkset01::after,
#recruit .linkset02::after,
#recruit .linkset03::after{
    content: "";
    display: inline-block;
    width: 360px;
    height: 75px;
    position: absolute;
    right: 0;
    bottom: 0;
    z-index: 1;
    background-image: url(../images/recruit_vm01.png);
    background-position: bottom right;
    background-repeat: no-repeat;
    background-size: contain;
}
.reclinkset p{
    font-weight: 700;
}
.reclinkset::after{
    content: "";
    display: inline-block;
    width: 390px;
    height: 120px;
    position: absolute;
    right: 0;
    bottom: 0;
    z-index: 1;
    background-image: url(../images/recruit_vm02.png);
    background-position: bottom right;
    background-repeat: no-repeat;
    background-size: contain;
}

@media only screen and (max-width: 1024px) {
    #recruit .linkset,
    .reclinkset{
        padding: 60px 50px 50px;
    }
    #recruit .linkset .inner ,
    .reclinkset .inner {
        max-width: 600px;
    }
    #recruit .linkset01::after,
    #recruit .linkset02::after,
    #recruit .linkset03::after{
        width: 280px;
    }
    .reclinkset::after{
        width: 320px;
    }
}
@media only screen and (max-width: 768px) {
    #recruit .linkset ,
    .reclinkset{
        padding: 45px 40px 90px;
    }
    #recruit .linkset .ja ,
    .reclinkset .ja {
        font-size: 35px;
        margin-bottom: 15px;
    }
    #recruit .linkset .en ,
    .reclinkset .en {
        font-size: 20px;
        margin-bottom: 30px;
    }
    #recruit .linkset .txt,
    .reclinkset .txt{
        font-size: 18px;
    }
    .reclinkset{
        background-position:  55% !important;
    }
    #recruit .linkset01::after,
    #recruit .linkset02::after,
    #recruit .linkset03::after{
        width: 250px;
    }
    .reclinkset::after{
        width: 280px;
    }
}
@media only screen and (max-width: 479px) {
    #recruit .linkset ,
    .reclinkset{
        padding: 30px 20px 60px;
    }
    .reclinkset{
        background-position: 60% !important;
    }
    #recruit .linkset01::after,
    #recruit .linkset02::after,
    #recruit .linkset03::after{
        width: 50vw;
    }
    .reclinkset::after{
        width: 50vw;
    }
    #recruit .linkset .ja ,
    .reclinkset .ja {
        font-size: 6.5vw;
        margin-bottom: 10px;
    }
    #recruit .linkset .en ,
    .reclinkset .en {
        font-size: 16px;
    }
    #recruit .linkset .txt ,
    .reclinkset .txt {
        font-size: 16px;
        letter-spacing: 0.01rem;
    }
    .reclinkset .txt {
        text-shadow: 0 0 5px #fff;
    }
}

/* ===================================================================

    voices

=================================================================== */
#voices .tab {
    margin: 0 auto;
}

#voices .tab-buttons {
    gap: 30px;
    margin-bottom: 70px;
}
#voices .tab-buttons button {
    font-size: 24px;
    font-weight: 600;
    letter-spacing: 0.2rem;
    color: var(--main-color);
    width: calc(100% / 4 - 22.5px);
    background: var(--color-white);
    border: solid 4px var(--main-color);
    padding: 15px 15px 15px 25px;
    cursor: pointer;
    transition: all 0.5s;
}
#voices .tab-buttons button:hover {
    background: #2a99d840;
}
#voices .tab-buttons button.active {
    background: #2a99d8;
    color: #fff;
}
#voices .tab-buttons button span{
    position: relative;
}
#voices .tab-buttons button span::before{
    content: "";
    display: inline-block;
    position: absolute;
    top: -5px;
    right: calc(100% + 20px);
    width: 2px;
    height: 40px;
    background: var(--main-color);
    margin-left: 25px;
    transform: rotate(30deg);
}
#voices .tab-buttons button.active span::before{
    background: var(--color-white);
}
#voices .tab-contents .content {
    display: none;
    animation: fadeIn 0.5s ease-in-out;
}
#voices .tab-contents .content.active {
    display: block;
}

#voices .tab-contents .head{
    color: var(--main-color);
    border-bottom: solid 3px var(--main-color);
    padding-bottom: 5px;
    margin-bottom: 60px;
}
#voices .tab-contents .head h3{
    font-size: 30px;
    line-height: 1.3;
}
#voices .tab-contents .head .slash::after{
    height: 40px;
}
#voices .tab-contents .head .meta{
    font-weight: 600;
}
#voices .tab-contents .head .meta01{
    font-size: 16px;
    margin-left: 20px;
}
#voices .tab-contents .head .meta02{
    font-size: 20px;
    margin-left: 15px;
}
#voices .tab-contents .txt01{
    color: var(--main-color);
    font-weight: 600;
    margin-bottom: 20px;
    line-height: 1;
    padding-left: 58px;
    text-indent: -58px;
}
#voices .tab-contents .txt01 span{
    font-size: 24px;
}
#voices .tab-contents .txt02{
    padding-left: 60px;
}
#voices .tab-contents .txtwhile{
    margin-bottom: 30px;
}
#voices .tab-contents .schedule{
    max-width: 760px;
    margin: auto;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@media only screen and (max-width: 1024px) {
    #voices .tab-buttons button{
        font-size: 20px;
    }
    #voices .tab-buttons button span::before{
        height: 35px;
    }
    #voices .tab-contents .txt02 {
        padding-left: 50px;
    }
}
@media only screen and (max-width: 768px) {
    #voices .tab-buttons {
        gap: 20px;
        margin-bottom: 40px;
    }
    #voices .tab-buttons button{
        font-size: 16px;
        padding: 12px 5px 12px 15px;
        width: calc(100% / 4 - 15px);
        border: solid 3px var(--main-color);
    }
    #voices .tab-buttons button span::before {
        top: -2px;
        right: calc(100% + 10px);
        height: 25px;
    }
    #voices .tab-contents .head {
        margin-bottom: 40px;
    }
    #voices .tab-contents .head h3 {
        font-size: 28px;
    }
    #voices .tab-contents .head .slash::after {
        height: 35px;
        margin-left: 15px;
    }
    #voices .tab-contents .head .meta01 {
        margin-left: 10px;
    }
    #voices .tab-contents .head .meta02 {
        font-size: 18px;
        margin-left: 10px;
    }
    #voices .tab-contents .txt01{
        margin-bottom: 10px;
        padding-left: 46px;
        text-indent: -46px;
    }
    #voices .tab-contents .txt01 span {
        font-size: 22px;
    }
    #voices .tab-contents .txt02 {
        padding-left: 45px;
    }
}
@media only screen and (max-width: 479px) {
    #voices .tab-buttons {
        gap: 15px;
    }
    #voices .tab-buttons button{
        width: calc(100% / 2 - 7.5px);
    }
    #voices .tab-contents .head{
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 30px;
        border-bottom: solid 2px var(--main-color);
    }
    #voices .tab-contents .head h3 {
        font-size: 24px;
        margin-bottom: 5px;
    }
    #voices .tab-contents .head .slash::after {
        height: 30px;
        top: 5px;
    }
    #voices .tab-contents .head .meta {
        display: flex;
        flex-direction: column;
        line-height: 1.3;
    }
    #voices .tab-contents .head .meta02{
        font-size: 16px;
    }
    #voices .tab-contents .head .meta01,
    #voices .tab-contents .head .meta02 {
        margin-left: 0;
    }
    #voices .tab-contents .txt01 {
        padding-left: 31px;
        text-indent: -31px;
    }
    #voices .tab-contents .txt01 span{
        font-size: 18px;
    }
    #voices .tab-contents .txt02 {
        padding-left: 0;
        text-align: left;
    }
}



/* ===================================================================

    flow

=================================================================== */
#flow .leadbottom{
    font-size: 26px;
    font-weight: 700;
    padding: 270px 0 150px;
    margin-bottom: 100px;
    background-image: url(../images/bg_flow.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

#flow .tab-buttons {
    gap: 30px;
    margin-bottom: 70px;
}
#flow .tab-buttons button {
    font-size: 24px;
    font-weight: 600;
    letter-spacing: 0.2rem;
    color: var(--main-color);
    width: calc(100% / 3 - 20px);
    background: var(--color-white);
    border: solid 4px var(--main-color);
    padding: 15px 15px 15px 25px;
    cursor: pointer;
    transition: all 0.5s;
}
#flow .tab-buttons button:hover {
    background: #2a99d840;
}
#flow .tab-buttons button.active {
    background: #2a99d8;
    color: #fff;
}
#flow .tab-buttons button span{
    position: relative;
}
#flow .tab-buttons button span::before{
    content: "";
    display: inline-block;
    position: absolute;
    top: -5px;
    right: calc(100% + 20px);
    width: 2px;
    height: 40px;
    background: var(--main-color);
    margin-left: 25px;
    transform: rotate(30deg);
}
#flow .tab-buttons button.active span::before{
    background: var(--color-white);
}
#flow .tab-contents .content {
    display: none;
    animation: fadeIn 0.5s ease-in-out;
}
#flow .tab-contents .content.active {
    display: block;
}

#flow .fullwideset .head{
    margin-bottom: 30px;
}
#flow .fullwideset .txts{
    min-width: 700px;
}
#flow .fullwideset h2 {
    margin-bottom: 10px;
}
#flow .fullwideset .en{
    line-height: 1.3;
}
#flow .fullwideset.set_b .image img{
    padding-left: 60px;
}

#flow .schedulewrap{
    padding: 100px 0 90px;
    background: #edf4f7;
    width:100vw;
    margin-right:calc(((100vw - 100%) / 2) * -1);
    margin-left:calc(((100vw - 100%) / 2) * -1);
}
#flow .schedulewrap .timelinwrap{
    max-width: 500px;
}
#flow .schedulewrap .head .en{
    line-height: 1.3;
    font-size: 60px;
    margin-bottom: 80px;
    color: var(--main-color);
}
#flow .schedulewrap .timehead{
    padding-bottom: 10px;
    line-height: 1;
}
#flow .schedulewrap .timeset{
    position: relative;
}
#flow .schedulewrap .timeset img{
    position: absolute;
    top: 0;
    left: calc(100% + 60px);
    max-width: 600px;
    width: calc(100vw - 620px);
}
#flow .schedulewrap .timeset:not(:last-child){
    margin-bottom: 60px;
}
#flow .schedulewrap .time{
    font-size: 44px;
    position: relative;
    top: 2px;
    margin-right: 35px;
    font-weight: 700;
    color: var(--main-color);
}
#flow .schedulewrap .ttl {
    font-size: 36px;
}
#flow .schedulewrap .txt{
    font-size: 18px;
}

#flow .timelinwrap .yazirusi {
    position: relative;
    width: 100%;
    margin-bottom: 35px;
}
#flow .timelinwrap .line01 {
    height: 3px;
    background-color: var(--main-color);
}
#flow .timelinwrap .line02 {
    position: absolute;
    top: 0;
    right: 0;
    transform-origin: right bottom;
    width: 40px;
    height: 3px;
    background-color: var(--main-color);
    transform: rotate(35deg);
}

@media only screen and (max-width: 1024px) {
    #flow .tab-buttons button{
        font-size: 20px;
    }
    #flow .tab-buttons button span::before{
        height: 35px;
    }
    #flow .fullwideset h2{
        font-size: 36px;
    }
    #flow .fullwideset .txts {
        min-width: 550px;
    }
    #flow .fullwideset.set_b .image img {
        padding-left: 30px;
    }
    .fullwideset .txt01 {
        font-size: 28px;
    }
    #flow .leadbottom{
        padding: 220px 0 120px;
        font-size: 24px;
    }
}
@media only screen and (max-width: 768px) {
    #flow .tab-buttons {
        gap: 20px;
        margin-bottom: 40px;
    }
    #flow .tab-buttons button{
        font-size: 16px;
        padding: 12px 5px 12px 15px;
        width: calc(100% / 3 - 13.5px);
        border: solid 3px var(--main-color);
    }
    #flow .tab-buttons button span::before {
        top: -2px;
        right: calc(100% + 10px);
        height: 25px;
    }
    #flow .fullwideset .txts {
        min-width: auto;
    }
    #flow .fullwideset.set_b .image img{
        padding: 0;
    }
    #flow .schedulewrap {
        padding: 80px 0;
    }
    #flow .schedulewrap .head .en {
        font-size: 50px;
        margin-bottom: 60px;
    }
    #flow .schedulewrap .time {
        font-size: 38px;
        margin-right: 20px;
    }
    #flow .schedulewrap .ttl {
        font-size: 30px;
    }
    #flow .schedulewrap .timelinwrap {
        max-width: 100%;
    }
    #flow .schedulewrap .timeset img {
        position: unset;
        max-width: unset;
        margin-top: 20px;
        width: 100%;
    }
    #flow .leadbottom{
        padding: 120px 0 80px;
    }
}
@media only screen and (max-width: 479px) {
    #flow .tab-buttons {
        gap: 10px;
    }
    #flow .tab-buttons button{
        width: 100%;
    }
    #flow .fullwideset h2{
        font-size: 26px;
    }
    .fullwideset .txt01 {
        font-size: 24px;
    }
    #flow .schedulewrap {
        padding: 60px 0;
    }
    #flow .schedulewrap .head .en {
        font-size: 40px;
        margin-bottom: 30px;
    }
    #flow .schedulewrap .time {
        font-size: 24px;
        margin-right: 10px;
    }
    #flow .schedulewrap .ttl {
        font-size: 20px;
    }
    #flow .timelinwrap .line02{
        width: 30px;
    }
    #flow .timelinwrap .yazirusi {
        margin-bottom: 15px;
    }
    #flow .leadbottom{
        font-size: 16px;
        margin-bottom: 80px;
        padding: 60px 0 40px;
        background-position: 35%;
    }
}




/* ===================================================================

    privacy

=================================================================== */
#privacy .policyset dt{
    font-size: 18px;
    line-height: 1;
    border-bottom: solid 1px #c8c8c8;
    padding-bottom: 10px;
    margin-bottom: 10px;
    font-weight: 600;
}
#privacy .policyset dd{
    margin-bottom: 40px;
}
#privacy .policyset dd ul,
#privacy .policyset dd address{
    margin-top: 10px;
}

@media only screen and (max-width: 479px) {
    #privacy .policyset dt {
        font-size: 16px;
    }
}


/* ===================================================================

    contact

=================================================================== */
#contact .telwrap a{
    background: var(--main-color);
    padding: 20px 60px;
    max-width: 400px;
    margin: 0 auto 60px;
    line-height: 1;
}
#contact .telwrap.thanks{
    margin-top: 60px;
}
#contact .headtxt{
    margin-bottom: 30px;
}
#contact .headtxt span{
    color: var(--sub-color);
}
#contact dl{
    display: flex;
    border-bottom: solid 1px #c8c8c8;
}
#contact dl.first{
    border-top: solid 1px #c8c8c8;
}
#contact dt{
    width: 300px;
    background: #f6fbff;
}
#contact dd{
    width: calc(100% - 300px);
}
#contact dt,
#contact dd{
    padding: 30px 10px;
}
#contact input[type="text"],
#contact textarea{
    width: 100%;
    max-width: 100%;
    min-width: 200px;
    padding: 10px;
    font-size: 16px;
}
#contact .btn_area{
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}
#contact .btn_area *{
    font-size: 18px;
}
#contact input[name="submitBack"]{
    background: #c8c8c8 !important;
}
#contact input[type="submit"]{
    background: var(--main-color);
    color: var(--color-white);
    border: none;
    max-width: 350px;
    width: 100%;
    padding: 20px;
}
#contact input[type="submit"]:hover{
    cursor: pointer;
}
#contact .hissu{
    background: var(--main-color);
    color: var(--color-white);
    padding: 3px 6px;
    line-height: 1;
    margin-left: 10px;
    font-size: 14px;
}
#contact .add .inner{
    gap: 5px;
    margin-bottom: 10px;
}
#contact .add .inner input{
    min-width: 150px;
    width: 150px;
}
#contact .doui{
    text-align: center;
    margin-top: 30px;
}
#contact .doui a{
    text-decoration: underline !important;
    color: var(--main-color);
    font-weight: 700;
}
#contact .thanks_txt .btn_area{
    text-align: center;
    margin-top: 40px;
}
#contact .thanks_txt .btn_area a{
    display: inline-block;
    background: var(--main-color);
    color: var(--color-white);
    border-radius: 50vh;
    line-height: 1;
    padding: 20px;
    min-width: 250px;}

@media only screen and (max-width: 1024px) {
}
@media only screen and (max-width: 768px) {
    #contact dt {
        width: 220px;
    }
    #contact dd{
        width: calc(100% - 220px);
    }
    #contact dt, #contact dd {
        padding: 25px 10px
    }
    #contact .mwform-checkbox-field input,
    #contact .mwform-radio-field input {
    margin-right: 0;
    }
}
@media only screen and (max-width: 650px) {
    #contact dl{
        flex-direction: column;
    }
    #contact dt,
    #contact dd{
        width: 100%;
    }
    #contact dt, #contact dd {
        padding: 10px;
    }
}


/* ===================================================================

    postunder

=================================================================== */
.postunder .innerwrap{
    gap: 40px;
}
.postunder article{
    width: calc(100% - 25% - 40px);
}
.postunder article .num{
    letter-spacing: -0.01rem;
}
.postunder aside{
    width: 25%;
}
.postunder aside h3{
    font-size: 18px;
    margin-bottom: 10px;
    padding: 10px;
    background: var(--main-color);
    color: var(--color-white);
    line-height: 1;
}
.postunder aside .new_kiji{
    margin-bottom: 40px;
    line-height: 1.3;
}
.postunder aside .new_kiji li{
    margin-bottom: 10px;
}
.postunder aside .new_kiji .num{
    letter-spacing: -0.01rem;
}


@media only screen and (max-width: 1024px) {
}
@media only screen and (max-width: 768px) {
}
@media only screen and (max-width: 479px) {
}

/* ===================================================================

    archive

=================================================================== */
.archive .itemwrap{
    margin-bottom: 60px;
}
.archive .item{
    transition: 0.5s;
}
.archive .item:hover{
    transition: 0.5s;
    background: #f6fbff;
}
.archive .item a{
    width: 100%;
    display: inline-block;
    padding: 30px 0;
    border-bottom: solid 1px #c8c8c8;
}
.archive .item:first-child a{
    border-top: solid 1px #c8c8c8;
}
.archive .item:hover a{
    opacity: 1;
}
.archive .date{
    font-size: 20px;
    letter-spacing: -0.01rem;
    margin-right: 15px;
}
.archive .cate{
    background: #edf3f8;
    padding: 8px 20px;
    line-height: 1;
    margin-right: 45px;
    min-width: 130px;
    text-align: center;
}
.archive .ttl{
    font-weight: normal;
}
.archive .pageNav li{
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 40px;
}
.archive .pageNav li.current{
    background: var(--main-color);
    color: var(--color-white);
}
.archive .pageNav li.pagePrev,
.archive .pageNav li.pageNext{
    width: 60px;
}
.archive .pageNav li a{
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media only screen and (max-width: 1024px) {
    .archive .cate{
        margin-right: 30px;
    }
}
@media only screen and (max-width: 768px) {
    .postunder .innerwrap {
        flex-direction: column;
        gap: 80px;
    }
    .postunder article ,
    .postunder aside{
        width: 100%;
    }
}
@media only screen and (max-width: 479px) {
    .archive .itemwrap {
        margin-bottom: 40px;
    }
    .archive .item .inner{
        flex-wrap: wrap;
    }
    .archive .date {
        font-size: 18px;
        margin-right: 10px;
    }
    .archive .cate {
        min-width: auto;
        padding: 7px 10px;
        font-size: 14px;
    }
    .archive .item a {
        padding: 20px 0;
    }
}

/* ===================================================================

    single

=================================================================== */
.single .tophead{
    margin-bottom: 20px;
}
.single .cate{
    margin-right: 20px;
    background: #edf3f8;
    padding: 8px 20px;
    line-height: 1;
}
.single h2{
    line-height: 1.2;
    font-size: 32px;
    border-bottom: solid 1px #c8c8c8;
    padding-bottom: 5px;
    margin-bottom: 20px;
}
.single .kiji_cont{
    margin-bottom: 60px;
}
.single .btn_back a{
    display: inline-block;
    background: var(--main-color);
    color: var(--color-white);
    border-radius: 50vh;
    line-height: 1;
    padding: 20px;
    min-width: 250px;
}


@media only screen and (max-width: 1024px) {
}
@media only screen and (max-width: 768px) {
}
@media only screen and (max-width: 479px) {
    .single .kiji_cont {
        margin-bottom: 30px;
    }
    .single h2{
        font-size: 20px;
    }
    .single .cate{
        margin-right: 10px;
    }
    .single .undersec_kv h1{
        margin-bottom: 40px;
    }
}
