@charset "utf-8";

/*============================
採用メッセージ
============================*/

#recruit .inner {
    position: relative;
    z-index: 1;
}

#recruit .inner::before {
    content: "";
    background: url(../images/recruit/illust_top_right.png) no-repeat center center;
    background-size: 100%;
    width: 146px;
    height: 93px;
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    z-index: -1;
}

#recruit .inner::after {
    content: "";
    background: url(../../images/common/illust_border_circle.png) no-repeat center center;
    background-size: 100%;
    width: 120px;
    height: 120px;
    display: block;
    position: absolute;
    bottom: 0;
    right: 0;
    z-index: -1;
}

#recruit .flex {
    align-items: center;
}

#recruit .photo {
    width: 640px;
    position: relative;
}

#recruit .photo::before {
    content: "";
    background: url(../../images/common/illust_dot_circle.png) no-repeat center center;
    background-size: 100%;
    width: 200px;
    height: 200px;
    display: block;
    position: absolute;
    right: -10px;
    bottom: 0;
    display: none;
}

#recruit .photo .photo_inner {
    /*    border-radius: 5px 50% 50% 5px;*/
    border-radius: 5px;
    overflow: hidden;
}

#recruit .photo .photo_inner img {
    width: 100%;
}

#recruit .text {
    width: 360px;
}

#recruit .text p.lead {
    margin-bottom: 15px;
}

@media only screen and (max-width: 768px) {

    #recruit .inner::before {
        width: 73px;
        height: 47px;
        z-index: 1;
    }

    #recruit .inner::after {
        width: 60px;
        height: 60px;
        z-index: -1;
    }

    #recruit .flex {
        display: block;
    }

    #recruit .photo {
        width: 100%;
        margin-bottom: 20px;
    }

    #recruit .photo::before {
        width: 100px;
        height: 100px;
        right: 0;
    }

    #recruit .text {
        width: 100%;
    }
}

/*============================
いいところ
============================*/

#good-point {
    background: #f3fafe;
}

#good-point .flex {
    align-items: stretch;
    gap: 40px;
}

#good-point .title_box {
    margin-bottom: 30px;
}

#good-point .box {
    width: 500px;
}

#good-point .box {
    background: #ebf8e0;
    border-radius: 5px;
    padding: 20px;
    display: flex;
    flex-direction: column;
}

#good-point .box dt {
    font-size: 18px;
    padding-left: 45px;
    position: relative;
    font-weight: 700;
    margin-bottom: 20px;
}

#good-point .box dt::before {
    content: "\e139";
    font-family: "Font Awesome 7 Free";
    font-size: 20px;
    font-weight: 900;
    background: #fff;
    width: 35px;
    height: 35px;
    line-height: 35px;
    border-radius: 50%;
    color: #009b83;
    position: absolute;
    top: 0;
    left: 0;
    text-align: center;
    display: inline-block;
    transform: rotate(45deg);
}

#good-point .box dd {
    background: #fff;
    padding: 20px;
    border-radius: 5px;
    flex-grow: 1;
}

@media only screen and (max-width: 768px) {

    #good-point .flex {
        gap: 20px;
    }

    #good-point .box {
        width: 100%;
    }

    #good-point .box dt {
        font-size: 16px;
        padding-left: 35px;
    }

    #good-point .box dt::before {
        font-size: 16px;
        width: 30px;
        height: 30px;
        line-height: 30px;
    }

    #good-point .box dd {
        padding: 15px;
    }
}

/*============================
社員インタビュー
============================*/

/*ボタン*/
#staff_btn ul {
    gap: 40px;
    margin-bottom: 60px;
    justify-content: flex-start;
}

#staff_btn ul li {
    width: 320px;
    border-radius: 5px;
    overflow: hidden;
}

#staff_btn ul li a {
    display: block;
    position: relative;
}

#staff_btn ul li a .photo {
    position: relative;
}

#staff_btn ul li a .photo::before {
    content: "";
    background: #fff;
    width: 30px;
    height: 30px;
    display: block;
    position: absolute;
    right: 20px;
    bottom: 20px;
    margin: auto;
    border-radius: 50%;
    z-index: 20;
}

#staff_btn ul li a .photo::after {
    content: "";
    width: 6px;
    height: 6px;
    display: block;
    border-top: solid 2px #ec6941;
    border-right: solid 2px #ec6941;
    transform: rotate(135deg);
    position: absolute;
    right: 31px;
    bottom: 31px;
    margin: auto;
    z-index: 20;
}

#staff_btn ul li a .photo img {
    width: 100%;
    height: 100%;
    object-position: center;
    object-fit: cover;
}

#staff_btn ul li a .photo figure::before {
    content: "";
    background-image: linear-gradient(0deg, rgba(0, 155, 131, 1) 40%, rgba(0, 155, 131, 0));
    display: block;
    width: 100%;
    height: 140px;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 0 0 5px 5px;
    z-index: 9;
}

#staff_btn ul li a .photo figure::after {
    content: "";
    background-image: linear-gradient(0deg, rgba(103, 198, 18, 1) 40%, rgba(103, 198, 18, 0));
    display: block;
    width: 100%;
    height: 140px;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 0 0 5px 5px;
    /* before（10）より上に重ねるため 11 に設定 */
    z-index: 10;
    /* 最初は透明にしておく */
    opacity: 0;
    transition: opacity 0.4s ease;
}

#staff_btn ul li a .text {
    color: #fff;
    position: absolute;
    bottom: 15px;
    left: 20px;
    z-index: 10;
    font-weight: 700;
}

#staff_btn ul li a .text .brand {
    line-height: 1.5;
}

#staff_btn ul li a .text .name {
    font-size: 20px;
    margin-top: 0;
}

/*QA*/
#interview .staff_box {
    scroll-margin-top: 110px;
    background: #f3fafe;
    border-radius: 5px;
}

#interview .staff_box:not(:last-child) {
    margin-bottom: 40px;
}

#interview .staff {
    padding: 40px;
}

#interview .staff .inner {
    position: relative;
    width: 100%;
}

#interview .staff .inner .photo {
    width: 360px;
    height: 360px;
    border-radius: 50%;
    overflow: hidden;
}

#interview .staff .inner .photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

#interview .staff .inner .text {
    font-weight: 700;
    flex: 1;
    padding-left: 20px;
}

#interview .staff .inner .text h3 {
    font-size: 40px;
    line-height: 1;
    color: #2ca5df;
    margin-bottom: 20px;
}

#interview .staff .inner .text .brand_name {
    font-size: 20px;
}

#interview .staff .inner .text .name {
    font-size: 30px;
    margin-top: 5px;
}

#interview .staff .inner .text .name .kana {
    font-size: 14px;
    display: block;
}

#interview .staff .inner .text .catch {
    font-size: 30px;
    line-height: 1.5;
}

/*↓↓↓↓開閉するボックス↓↓↓*/
/* 1. hidden-box自体の高さを0にし、中身がはみ出さないようにする */
.hidden-box {
    position: relative;
    /* 閉じている時は高さを0に */
    height: 0;
}

.hidden-inner {
    width: 1040px;
    margin: auto;
    position: relative;
}

/*チェック時は見えなくする*/

.hidden-box input {
    display: none;
}

/* 3. 中身が表示された時だけ、親要素の高さが出るようにする */
.hidden-box:has(input:checked) {
    height: auto;
}

/*中身を非表示にしておく*/

.hidden-box .hidden-show {
    height: 0;
    overflow: hidden;
    opacity: 0;
    transition: 0.5s;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    padding: 0 40px;
    gap: 40px;
}

/*クリックで中身表示*/

.hidden-box input:checked ~ .hidden-show {
    height: auto;
    opacity: 1;
    padding-bottom: 40px;
}

/*ボタンの装飾*/
/* 2. labelの位置調整による余白を打ち消す */
.hidden-box label {
    font-size: 23px;
    font-weight: 700;
    padding-right: 70px;
    /* relativeからabsoluteに変更 */
    position: absolute;
    left: 420px;
    /* staffセクションの余白部分に浮かせる */
    top: -85px;
    cursor: pointer;
    z-index: 10;
}

.hidden-box label::before {
    content: "";
    width: 40px;
    height: 40px;
    display: block;
    background: #047248;
    border-radius: 50%;
    position: absolute;
    right: 0;
    top: 0;
}

.hidden-box label.gyukaku::before {
    background: #222222;
}

.hidden-box label.cheeseplus::before {
    background: #00479d;
}

.hidden-box label.elevencut::before {
    background: #ed0f0f;
}

.hidden-box label.anytimefitness::before {
    background: #6042b5;
}

.hidden-box label.soluna::before {
    background: #f19149;
}

.hidden-box label::after {
    content: "";
    width: 40px;
    height: 1px;
    display: block;
    background: #67c612;
    position: absolute;
    right: 20px;
    top: 50%;
}

.hidden-box label,
.hidden-box label::before {
    -webkit-transition: all 0.4s ease;
    -moz-transition: all 0.4s ease;
    -o-transition: all 0.4s ease;
    transition: all 0.4s ease;
}

/*ボタンホバー時*/

.hidden-box label:hover {
    opacity: 1;
}

.hidden-box label:hover::before {
    background: #2ca5df;
}

.hidden-show {
    -js-display: flex;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    align-items: stretch;
}

.hidden-show .box {
    width: 460px;
    border-radius: 5px;
    padding: 30px;
    background: #fff;
    position: relative;
}

.hidden-show .box .question {
    font-size: 18px;
    font-weight: 700;
    padding-left: 80px;
    position: relative;
}

.hidden-show .box .question::before {
    content: "Q";
    font-size: 40px;
    font-family: "Poppins", sans-serif;
    color: #fff;
    width: 60px;
    height: 60px;
    line-height: 60px;
    background: #67c612;
    border-radius: 50%;
    display: block;
    text-align: center;
    position: absolute;
    left: 0;
    top: 0;
}

.hidden-show .box .answer {
    padding-top: 15px;
    font-size: 14px;
}

@media only screen and (max-width: 768px) {

    #staff_btn .inner {
        width: 100%;
    }

    /*ボタン*/
    #staff_btn ul {
        gap: 20px;
        margin-bottom: 30px;
    }

    #staff_btn ul li {
        width: 100%;
    }

    #staff_btn ul li a .text .name {
        font-size: 18px;
    }

    /*QA*/
    #interview .staff_box {
        scroll-margin-top: 110px;
    }

    #interview .staff_box:not(:last-child) {
        margin-bottom: 20px;
    }

    #interview .staff {
        padding: 20px 20px 66px;
    }

    #interview .staff .inner {
        display: block;
    }

    #interview .staff .inner .photo {
        width: 100%;
        height: 100%;
        max-width: 360px;
        max-height: 360px;
        margin: 0 auto 5px;
    }

    #interview .staff .inner .text {
        padding-left: 0;
    }

    #interview .staff .inner .text h3 {
        font-size: 30px;
        margin-bottom: 5px;
    }

    #interview .staff .inner .text .brand_name {
        font-size: 16px;
    }

    #interview .staff .inner .text .name {
        font-size: 22px;
    }

    #interview .staff .inner .text .name .kana {
        font-size: 13px;
        display: block;
    }

    #interview .staff .inner .text .catch {
        font-size: 16px;
    }

    /*↓↓↓↓開閉するボックス↓↓↓*/
    /* 1. hidden-box自体の高さを0にし、中身がはみ出さないようにする */
    .hidden-inner {
        width: 100%;
    }

    /*中身を非表示にしておく*/

    .hidden-box .hidden-show {
        padding: 0 20px;
        gap: 20px;
    }

    /*クリックで中身表示*/

    .hidden-box input:checked ~ .hidden-show {
        padding-bottom: 20px;
    }

    /*ボタンの装飾*/
    /* 2. labelの位置調整による余白を打ち消す */
    .hidden-box label {
        font-size: 18px;
        padding-right: 60px;
        left: auto;
        right: 20px;
        top: -48px;
    }

    .hidden-box label::before {
        width: 26px;
        height: 26px;
        top: 3px;
    }

    .hidden-box label::after {
        width: 40px;
        right: 15px;
    }

    .hidden-box label,
    .hidden-box label::before {
        -webkit-transition: none;
        -moz-transition: none;
        -o-transition: none;
        transition: none;
    }

    /*ボタンホバー時*/

    .hidden-box label:hover::before {
        background: #047248;
    }

    .hidden-box label.gyukaku:hover::before {
        background: #222222;
    }

    .hidden-box label.cheeseplus:hover::before {
        background: #00479d;
    }

    .hidden-box label.elevencut:hover::before {
        background: #ed0f0f;
    }

    .hidden-box label.anytimefitness:hover::before {
        background: #6042b5;
    }

    .hidden-box label.soluna:hover::before {
        background: #f19149;
    }

    .hidden-show .box {
        width: 100%;
        padding: 20px;
    }

    .hidden-show .box .question {
        font-size: 16px;
        padding-left: 65px;
        line-height: 1.5;
    }

    .hidden-show .box .question::before {
        font-size: 30px;
        width: 50px;
        height: 50px;
        line-height: 50px;
    }

    .hidden-show .box .answer {
        padding-top: 15px;
        font-size: 14px;
    }

}

/*============================
募集要項
============================*/
#recruit_info {
    background: #f3fafe;
}

#recruit_info .tab-wrap ul.flex {
    justify-content: flex-start;
}

#recruit_info .tab-btn {
    width: auto;
    padding: 15px 10px;
    text-align: center;
    list-style: none;
    cursor: pointer;
    background: #fff;
    border-radius: 10px 10px 0 0;
    border-bottom: 3px solid #f3fafe;
    margin-right: 3px;
}

#recruit_info .tab-btn.show {
    background: #fff;
    border-color: #ec6941;
}

#recruit_info .tab-contents {
    display: none;
    border-radius: 0 5px 5px 5px;
    padding: 40px 60px;
    background: #fff;
}

#recruit_info .tab-contents.show {
    display: block;
    /* 縦並びのテーブルやリストを内包するためblockを推奨 */
}

#recruit_info .tab-contents.show .flex {
    display: flex;
    /* 必要に応じて記述 */
}

table.info tr {
    position: relative;
    padding: 0;
}

table.info tr::after {
    content: "";
    width: 200px;
    height: 3px;
    background: #0dac67;
    position: absolute;
    left: 0;
    bottom: -2px;
}

table.info th {
    width: 200px;
    background: transparent;
}

@media only screen and (max-width: 768px) {

    #recruit_info .tab-wrap ul.flex {
        justify-content: flex-start;
    }

    #recruit_info .tab-btn {
        padding: 5px 10px;
        border-radius: 10px;
        border-color: #f2f2f2;
        margin-bottom: 10px;
        font-size: 13px;
    }

    #recruit_info .tab-contents {
        padding: 30px;
        border-radius: 5px;
    }

    table.info tr::after {
        width: 50px;
    }

    table.info th {
        width: 100%;
        display: block;
        text-align: left;
        padding-bottom: 0;
    }

    table.info td {
        padding-left: 0;
    }

}
