@charset "utf-8";

.primary .inner p {
    margin-top: 0;
}

/*============================
ボタン
============================*/

.btn_area {
    padding-bottom: 100px;
}

.btn_area .flex {
    justify-content: flex-start;
    grid-gap: 40px;
}

.btn_area li {
    width: 230px;
    height: 230px;
    /*ボタンのための余白*/
    margin-bottom: 20px;
}

.btn_area li a {
    position: relative;
	display: block;
	height: 100%;
}

.btn_area li a::before {
    content: "";
    display: block;
    background: #ddf0c5;
    width: 100%;
    height: 180px;
    border-radius: 10px;
    position: absolute;
    left: 0;
    bottom: 0;
    z-index: -1;
}

.btn_area li a::after {
    content: "\f063";
    width: 40px;
    height: 40px;
    line-height: 40px;
    display: block;
    background: #5db016;
    color: #fff;
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 15px;
    text-align: center;
    position: absolute;
    right: 0;
    left: 0;
    bottom: -20px;
    margin: auto;
    border-radius: 20px;
    z-index: 10;
}


.btn_area li img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    border-radius: 10px;
    display: block;
    margin-top: auto;
}

.btn_area li p {
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    position: absolute;
    left: 20px;
    bottom: 30px;
}

.btn_area li p .kana {
    font-size: 12px;
    display: block;
}

/*ホバーしたら_まとめる*/
/*
.btn_area li a:hover {
    opacity: 1;
}
*/


@media only screen and (max-width: 768px) {
    .btn_area {
        padding-bottom: 50px;
    }

    .btn_area .flex {
        grid-gap: 20px;
    }

    .btn_area li {
        width: calc(50% - 10px);
        height: 180px;
    }

    .btn_area li a::before {
        height: 150px;
    }

    .btn_area li p {
        font-size: 16px;
    }

    .btn_area li p .kana {
        font-size: 12px;
        display: block;
    }
}

/*============================
スタッフ紹介
============================*/
.staff_area {
    background: #0099c2;
    padding: 100px 0;
    counter-reset: number;
}

.staff_area .box {
    background: #fff;
    border-radius: 10px;
    padding: 60px;
    /*入社年の基準*/
    position: relative;
	/* スタッフ紹介の各ボックスがターゲットになった時の停止位置を調整 */
    /* 固定ヘッダーに重ならないように、スクロール時の停止位置を下げる */
    scroll-margin-top: 120px;
    /* ここをヘッダーの高さ以上に設定してください */
}

.staff_area .box:not(:last-child) {
    margin-bottom: 60px;
}

.staff_area div.flex {
    margin-bottom: 40px;
}

.staff_area .box .photo {
    width: 460px;
    position: relative;
}

.staff_area .box .photo p {
    font-size: 70px;
    color: #fff;
    position: absolute;
    left: 0;
    right: 0;
    bottom: -12px;
    line-height: 1;
    font-weight: 600;
    text-align: center;
}

.staff_area .box .photo p::before {
    counter-increment: number;
    content: "#"counter(number) " ";
    color: #5db016;
}

.staff_area .box .photo p span {
    display: block;
}

.staff_area .box .text {
    width: 420px;
}

.staff_area .box .join {
    position: absolute;
    top: 0;
    right: 0;
    background: #5db016;
    padding: 10px 0;
    width: 160px;
    display: block;
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    text-align: center;
    border-radius: 0 10px 0 10px;
}

.staff_area .box p.post {
    font-size: 20px;
    font-weight: 700;
}

.staff_area .box p.name {
    font-weight: 600;
    font-size: 30px;
    margin-bottom: 25px;
}

.staff_area .box p.name span {
    display: block;
    font-size: 14px;
}

/*プロフィール*/

.staff_area .box .prof,
.staff_area .box .reason {
    margin-bottom: 25px;
}

.staff_area .box .prof dt,
.staff_area .box .prof dd {
    display: inline;
}

.staff_area .box .prof dt {
    color: #5db016;
    font-weight: 600;
}

.staff_area .box .prof dt::after {
    content: "/";
    padding-left: 5px;
}

/*入社のきっかけ*/

.staff_area .box .reason dt,
.staff_area .box .qualification dt {
    color: #5db016;
    font-weight: 600;
}

.staff_area .box dd ul li {
    padding-left: 16px;
    position: relative;
}

.staff_area .box dd ul li::before {
    content: "";
    width: 6px;
    height: 6px;
    background: #5db016;
    display: block;
    border-radius: 3px;
    position: absolute;
    top: 10px;
    left: 3px;
}

.message {
    background: #ddf0c5;
    border-radius: 10px;
    padding: 40px;
}

.message dt {
    font-size: 15px;
}

.message dt .eng {
    display: block;
    color: #5db016;
    font-size: 40px;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 10px;
    letter-spacing: inherit;
}

.message dd {
    width: 600px;
}

#staff07 .message dd {
    width: 525px;
}

@media only screen and (max-width: 768px) {
    .staff_area {
    padding: 50px 0;
}

.staff_area .box {
    padding: 30px;
	/* スマホ用：ヘッダーが低くなる場合はここを調整 */
    scroll-margin-top: 100px;
}

.staff_area .box:not(:last-child) {
    margin-bottom: 30px;
}

.staff_area div.flex {
    margin-bottom: 30px;
}

.staff_area .box .photo {
    width: 100%;
    margin-bottom: 20px;
}

.staff_area .box .photo p {
    font-size: 40px;
    bottom: -6px;
}

.staff_area .box .text {
    width: 100%;
}

.staff_area .box .join {
    width: 120px;
    font-size: 16px;
}

.staff_area .box p.post {
    font-size: 18px;
}

.staff_area .box p.name {
    font-size: 20px;
    margin-bottom: 15px;
}

.staff_area .box p.name span {
    font-size: 12px;
}

/*プロフィール*/

.staff_area .box .prof,
.staff_area .box .reason {
    margin-bottom: 15px;
}

.message {
    padding: 20px;
}

.message dt {
    margin-bottom: 20px;
}

.message dt .eng {
    font-size: 30px;
}

.message dd {
    width: 100%;
}

#staff07 .message dd {
    width: 100%;
}
}
