@charset "UTF-8";
/* 基礎設定 */
html {
    scrollbar-gutter: stable; /* メニュー開閉時のレイアウトシフト防止 */
}
/* scrollbar-gutter:stable でスクロールバー幅は常に確保済みのため
   Bootstrap モーダルが body に付加する padding-right を打ち消す */
body.modal-open {
    padding-right: 0 !important;
}
html, body {
    font-size: 16px;
    font-family: "Noto Sans JP", sans-serif;
    position: relative;
    font-weight: 400;
    margin: 0;
    padding: 0;
    width: 100%;
    scroll-behavior: auto !important;
    overflow-x: clip;
    animation: fadeIn 1s;
    overflow-wrap: anywhere;
    word-break: normal;
    line-break: strict;
}
/*--- 画面全体をフェードイン(animation設定) ---*/
@keyframes fadeIn {
    0% {opacity: 0}
    100% {opacity: 1}
}
@-webkit-keyframes fadeIn {
    0% {opacity: 0}
    100% {opacity: 1}
}
html.nosc, body.nosc{
    /* overflow: hidden; */
}
.color-red { color: #E40046;}
.color-pn { color: #FA6582;}
.color-blue { color: #1A7DB2;}
.color-lblue { color: #E7ECF7;}
.color-wh{ color: #fff;}
.color-gr { color: #D6F0A8;}
.color-dgr { color: #465A64;}
.color-vgr { color: #73AE2E;}
.color-yg { color: #ABE8B9;}
.color-lgr{ color: #F4F595;}
.color-ye{ color: #FFF200;}
.color-ly{ color: #FFF9F4;}
.color-or{ color: #FFEABA;}
.color-prp{ color: #721DC8;}
.color-gray{ color: #7c7c7c;}
.color-bw{ color: #4D0001;}
.color-bk{ color: #000;}

.bg-red { background: #E40046;}
.bg-pn { background: #FCDBE4;}
.bg-blue { background: #1A7DB2;}
.bg-lblue { background: #E7ECF7;}
.bg-gr { background: #D6F0A8;}
.bg-dgr { background: #465A64;}
.bg-lgr { background: #F4F595;}
.bg-vgr { background: #73AE2E;}
.bg-yg { background: #ABE8B9;}
.bg-ye { background: #FFF200;}
.bg-lye { background: #FFF9F4;}
.bg-or { background: #FFEABA;}
.bg-lor { background: #ffecdc;}
.bg-bk { background: #000333;}
.bg-wh { background: #fff;}
.bg-gray { background: #7c7c7c;}
.bg-bw { background: #4D0001;}

.bg-box {
    padding: 1.5rem;
    border-radius: 5px;
    background: #EDF2F7;
    margin-bottom: 2rem;
}
.wh-box {
    padding: 1.5rem;
    background: #fff;
}

button {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    border: none;
    background: none;
    padding: 0;
    margin: 0;
    font: inherit;
    color: inherit;
    outline: none;
}
input:not([type=checkbox],[type=radio]) {
    appearance: none;
    border: none;
    outline: none;
}
input[type=checkbox], input[type="radio"] { cursor: pointer; }
.post-password-form { padding: 4rem 0;}
.post-password-form input[type=password] {
    border: 1px solid #DBDBDB;
    border-radius: 3px;
    margin-inline: .5em;
}
.post-password-form input[type=submit] {
    background: var(--main-color);
    color: #fff;
    border-radius: 3px;
}
.post-password-form label, .post-password-form input[type=submit] { margin-bottom: .5rem; }

:root {
    --main-color: #339FD6;
    --sub-color: #F8F8F8;
    --normal-color: #000;
    --rc-green:  #34d49c;
    --rc-pink:   #f98aa8;
    --rc-orange: #ffa058;
    --rc-grad: linear-gradient(118.88deg, #34d49c 23%, #aed682 28.9%, #faba75 39.9%, #f987ab 68.9%, #9ea3ea 80.7%, #279ed4 92.6%);

    --bg-color: rgba(217, 217, 217, 0.20);
    --bg-normal: #fff;

    --btn-width: 194px;
    --btn-height: 50px;

    --font-ja: "Noto Sans JP", sans-serif;
    --font-en: 'Lexend', sans-serif;
    --font-fa: "Font Awesome 7 Free";
    --font-num: "ff-din-paneuropean", sans-serif;
}
.main-color { color: var(--main-color);}
.sub-color { color: var(--sub-color);}
.grad-color { display: inline-block;
    background: linear-gradient(119.40deg, #34d49c 23%, #aed682 28.9%, #faba75 39.9%, #f987ab 68.9%, #9ea3ea 80.7%, #279ed4 92.6%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;}

h1, h2, h3, h4, h5, h6 {
    color: #333;
    font-weight: 700;
    line-height: 1.3;
    margin-inline: auto;
    margin-bottom: 1.5rem;
    padding: 0;
}
h1 { font-size: 38px;}
h2 { font-size: 32px;}
h3 { font-size: 29px;}
h4 { font-size: 25px;}
h5 {
    font-size: 22px;
    font-weight: 400;
    letter-spacing: 0.02em;
}
h6 {
    font-size: 18px;
    font-weight: 400;
    letter-spacing: 0.02em;
}

hgroup > h2 {
    font-family: var(--font-en);
    margin-bottom: 0;
    text-wrap: nowrap;
}

/*--- grid-box ---*/
.grid-box {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 1.5rem;
}
.grig-wrap0 { grid-gap: 0; }
.grid1 {
    grid-template-columns: repeat(1, 1fr);
    grid-gap: 0;
}
.grid2 { grid-template-columns: repeat(2, 1fr); }
.grid3 { grid-template-columns: repeat(3, 1fr); }
.grid5 { grid-template-columns: repeat(5, 1fr); }

p {
    margin: 0 auto 1.5rem;
    padding: 0;
    line-height: 1.8;
    letter-spacing: 0.02em;
}
a:link,a:visited,a:hover,a:active{ text-decoration: none;}
a {
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
}

a.link-block {
    display: block;
    width: 100%;
    height: 100%;
}
a.link-flex {
    display: flex;
    width: 100%;
    height: 100%;
}

section {
    position: relative;
    z-index: 10;
    padding: 5rem 0;
}
.sec-inline img {
    max-width: 100%;
    height: auto;
}
.sec-inline-start {
    padding-inline-start: calc((100vw - 1000px) / 2);
    padding-left: 7.5%;
}
.sec-inline-end {
    padding-inline-end: calc((100vw - 1000px) / 2);
    padding-right: 7.5%;
}
.container-fluid{ padding: 0;}

ul, dd, figure { margin-bottom: 0; }
ol { line-height: 2;}

a.anchorpoint {
    display: block;
    padding-top: 70px;
    margin-top: -70px;
}

/* ナビゲーション */
#head {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 70px;
    z-index: 999;
    transition: .3s;
}

#head h1 { margin: 0}

.h-logo {
    position: relative;
    display: flex;
    align-items: center;
    line-height: 1;
    height: 100%;
    padding-left: 1rem;
}

.nosc .menu-list { display: none !important; }
.menu-wrap {
    display: flex;
    align-items: center;
    height: 70px;
    padding: 0 30px;
    gap: 0;
}
.menu-list {

}
.menu-list > ul {

}
.menu-list > ul > li {

}

.menu-list > ul > li > a {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
}

.nosc #head {
    background: #fff;
}
.nosc .menu-wrap, #cpage .menu-wrap { border: none;}
.nosc .openbtn { 
    background: #F7F7F7;
    box-shadow: none;
}

/* ハンバーガーメニュー */
.openbtn{
    position: absolute;
    top: 50%;
    right: 5%;
    transform: translateY(-50%);
    z-index: 1001;
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 6px;
    transition: .3s;
    background: var(--main-color);
}
.openbtn span {
    display: block;
    transition: .3s;
    position: absolute;
    left: 50%;
    transform: translate(-50%,-50%);
    background-color: #333;
    width: 15px;
    height: 1.5px;
    border-radius: 100vmax;
}
.openbtn span:nth-of-type(1) { top: 35%; }
.openbtn span:nth-of-type(2) { top: 50%; }
.openbtn span:nth-of-type(3) { top: 65%; }

/* .menu-wrap */
.openbtn.active{ display: block !important;}

.openbtn {
    position: relative;
    top: auto;
    right: auto;
    transform: none;
    width: 36px;
    height: 39px;
    border-radius: 4px;
    background: #fff;
    box-shadow: -1px 2px 2px rgba(0,0,0,.25);
    flex-shrink: 0;
}
.openbtn.active span:nth-of-type(1) {
    top: 45%; 
    left: 25%;
    transform: translateY(0px) rotate(-45deg);
    width: 50%;
    background: #000;
}
.openbtn.active span:nth-of-type(2) {
    display: none;
}
.openbtn.active span:nth-of-type(3) {
    top: 60%;
    left: 25%;
    transform: translateY(-6px) rotate(45deg);
    width: 50%;
    background: #000;
}


.nosc .nav-menu{ opacity: 0;}
.nosc .menu-wrap .d-lg-none { display: block !important;}

/* ハンバーガーメニュー内部 */
#clickarea {
    position: fixed;
    min-width: 350px;
    width: 30%;
    min-height: 100vh;
    min-height: 100dvh;
    max-height: 100vh;
    max-height: 100dvh;
    right: 0;
    background: #fff;
    transition: .4s;
    opacity: 0;
    z-index: -1;
    visibility: hidden;
    overflow: hidden; /* 閉じる時の幅膨張を防ぐ */
}
#clickarea.panelactive {
    opacity: 1;
    visibility: visible;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overflow-x: hidden;
}
#clickarea .click-list {
    position: relative;
    z-index: 0;
    max-width: 600px;
    width: calc(100% - 2rem);
    margin-inline: auto;
    min-height: 100vh;
    min-height: -webkit-fill-available;
}
.click-list > ul { }
.click-list > ul > li { }
.click-list > ul > li::before { }
.click-list > ul > li > a { }
.click-list > ul > li > span { }

.click-link {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-bottom: 1.5rem;
}
.click-link .btn01 { max-width: none;}

/* ボタン類 */
.btn01, .btn02 {
    position: relative;
    max-width: var(--btn-width);
    width: 100%;
    height: var(--btn-height);
    border: 1px solid var(--main-color);
    border-radius: 7px;
    overflow: hidden;
    z-index: 10;
}
.btn01 a, .btn02 a {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1.25em;
    width: 100%;
    height: 100%;
    background-color: var(--main-color);
    border-radius: 6px;
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    padding: 7.5px 1rem 7.5px 1rem;
    transition: .3s;
    z-index: 10;
}

/* TOPのsection設定 */
.sec-wrap {
    position: relative;
    width: 85%;
    max-width: 1050px;
    margin-inline: auto;
}

/* TOP */
#maintop {
    position: relative;
    width: 100%;
    height: 100%;
    padding: 0;
    z-index: 20;
}
#maintop img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* フッター*/
footer {
    position: relative;
    padding-top: 0;
    background: #fff;
    z-index: 10;
}
.f-wrap {
    position: relative;
    padding-top: 7rem;
    overflow: hidden;
}

.cr { }



@media (min-width: 1300px) {
    .sec-inline-start, .sec-inline-end { padding: 0; }
}
@media (max-width: 767px) {
    html, body { font-size: 16px; }
    .contact-form dl dt {
        width: 100%;
        margin-right: 0;
        margin-bottom: auto;
        padding: 10px 0;
    }
    .contact-form dl dd { width: 100%; }
    .contact-form dl dd input, .contact-form dl dd textarea { max-width: 100%; }
    .contact-form dl > .contact-short-item { display: block; }
}
@media (max-width: 575px) {
    .grid2 { grid-template-columns: repeat(1, 1fr) !important; }
    .grid3 { grid-template-columns: repeat(1, 1fr) !important; }
    .grid4 { grid-template-columns: repeat(2, 1fr) !important; }
    .grid5 { grid-template-columns: repeat(2, 1fr) !important; }
    .openbtn {
        width: 30px;
        height: 30px;
    }
    .nosc .openbtn { background: transparent;}

    a.anchorpoint {
        padding-top: 70px;
        margin-top: -70px;
    }
    
    .openbtn span { width: 10.5px;}
    /* .openbtn.active span:nth-of-type(1) {
        top: 45%;
        left: 25%;
    }
    .openbtn.active span:nth-of-type(3) {
        top: 65%;
        left: 25%;
    } */
    .h-logo .brand { width: 185px;}
    .sec-wrap { width: 85%; }
    .table th, .table td {
        display: block;
        width: 100%;
    }
    .box-wh, .box-gray, .box-grad { padding: 2rem; }
    .sec-inline {
        padding-inline: initial;
        padding-left: 7%;
        padding-right: 7%;
    }
    .js-scrollable {
        width: 100%;
        overflow: scroll;
    }
    #contact p { font-size: 16px; }
    .contact-wrap { align-items: stretch; }
    #aform_btn_back {
        font-size: 0.9em;
        margin-bottom: 1rem;
    }
}

/* ==================================================
   RECRUIT PAGE
   ================================================== */

/* --- ヘッダー ---
   Figma: height=67px, icon=67×67, ENTRY=97×39, hamburger=36×39
*/
/* #head {
    background: #fff;
    height: auto;
    box-shadow: 0 2px 8px rgba(0,0,0,.06);
    transition: box-shadow .3s;
}
#head.is-scrolled {
    box-shadow: 0 2px 14px rgba(0,0,0,.13);
} */

.h-logo {
    flex: 1 1 auto;
    margin: 0;
    overflow: hidden;
    padding-left: 0;
}
.h-logo a {
    display: flex;
    align-items: center;
    gap: 0;
    text-decoration: none;
    height: 100%;
}
.brand { max-width: 300px; }
.logo-icon {
    width: 60px;
    height: 60px;
    object-fit: cover;
    flex-shrink: 0;
}
.logo-name {
    width: 138px;
    height: auto;
    margin-left: 10px;
    flex-shrink: 0;
}
.logo-recruit {
    width: 48px;
    height: auto;
    margin-left: 6px;
    flex-shrink: 0;
}
.rc-head-right {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}
/* ENTRY: 白背景＋シャドウ、span に display:inline-block を付けてグラデーション文字を確実に描画 */
.rc-head-entry {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 97px;
    height: 39px;
    border-radius: 4px;
    background: #fff;
    box-shadow: -1px 2px 2px rgba(0,0,0,.25);
    text-decoration: none;
    font-family: var(--font-en);
    font-size: 18px;
    font-weight: 500;
    transition: .3s;
}
.rc-head-entry a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    transition: .3s;
}
.rc-head-entry span {
    display: inline-block; /* background-clip:text の確実な描画に必要 */
    background: linear-gradient(118.88deg, #34d49c 23%, #aed682 28.9%, #faba75 39.9%, #f987ab 68.9%, #9ea3ea 80.7%, #279ed4 92.6%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    transition: .3s;
}
.rc-head-entry:hover, .nosc .rc-head-entry {
    background: var(--rc-grad);
}
.rc-head-entry:hover span, .nosc .rc-head-entry span {
    color: #fff;
    background: none;
    -webkit-text-fill-color: #fff;
}
.rc-head-entry a { color: #fff;}

/* --- clickarea --- */
#clickarea { padding-top: 80px; }
#clickarea.panelactive { z-index: 998; }
#clickarea .click-list { padding: 0 2rem 2rem; }
.click-list > ul {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem;
}
.click-list > ul > li {
    position: relative;
}
.click-list > ul > li::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: -1px;
    right: -1px;
    height: 2px;
    background: #E9E9E9;
    border-radius: 1px;
}
.click-list > ul > li > a {
    display: flex;
    flex-direction: column;
    padding: 1.25rem 0 10px;
    color: #333;
    position: relative;
}
.click-list > ul > li > a::after {
    content: "›";
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    color: #999;
}
/* Figma clickarea: ja=14px bold, en=12px Lexend Medium */
.click-ja {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.3;
}
.click-en {
    font-family: var(--font-en);
    font-size: 12px;
    font-weight: 500;
    color: var(--main-color);
    margin-top: 4px;
}
.click-en.grad-color {
    width: fit-content;
    background: linear-gradient(119.40deg, #34d49c 23%, #aed682 28.9%, #faba75 39.9%, #f987ab 68.9%, #9ea3ea 80.7%, #279ed4 92.6%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}
/* Figma clickarea: CORPORATE SITE は青塗りボタン(#339fd6)、148×33px、白テキスト */
.click-corpbtn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 148px;
    height: 50px;
    background: var(--main-color);
    border: none;
    border-radius: 4px;
    font-family: var(--font-en);
    font-size: 14px;
    color: #fff;
    font-weight: 500;
    text-decoration: none;
    margin: 0 auto;
}
.click-entrybtn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 48px;
    background: var(--rc-grad);
    border-radius: 7px;
    font-family: var(--font-en);
    font-size: 15px;
    color: #fff;
    font-weight: 500;
    text-decoration: none;
}

/* --- サイドボタン --- */
.sidebtn {
    position: fixed;
    right: 0;
    bottom: 5%;
    transform: translateY(-50%);
    z-index: 100;
}
.sidebtn a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    padding: 15px 14px;
    background: #fff;
    color: var(--main-color);
    font-family: var(--font-en);
    font-size: 18px;
    border-radius: 4px 0 0 4px;
    box-shadow: -1px 2px 2px rgba(0,0,0,.25);
    text-decoration: none;
    letter-spacing: 0.04em;
}
.sidebtn span {
    writing-mode: vertical-rl;
    white-space: nowrap;
}

/* --- 共通 hgroup --- */
.rc-hgroup { margin-bottom: 3rem; }
.rc-hgroup--center { text-align: center; }
hgroup > h2 {
    font-family: var(--font-en);
    font-size: 64px;
    font-weight: 500;
    color: #333;
    line-height: 1.2;
    margin-bottom: 0;
}
/* Figma ENTRYタイトル: node 199:112 グラデーション / display:inline-block で確実描画 */
.rc-en-title--grad {
    display: inline-block;
    background: linear-gradient(118.88deg, #34d49c 23%, #aed682 28.9%, #faba75 39.9%, #f987ab 68.9%, #9ea3ea 80.7%, #279ed4 92.6%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}
hgroup > span {
    font-size: 14px;
    font-weight: 700;
    color: #333;
    margin-bottom: 0;
    margin-top: 4px;
}

/* --- HERO ---
   Figma: vector left=156/1278=12.2%, height=764/818=93.4%
   背景画像: Figma -scale-y-100 rotate-180 = 水平反転
   Vectorはアスペクト比を保持（object-fit:fillは使わない）
*/
#maintop {
    position: relative;
    height: 100svh;
    min-height: 480px;
    overflow: hidden;
    padding: 0;
}
.maintop-bg {
    position: absolute;
    inset: 0;
}
.maintop-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.maintop-vector {
    position: absolute;
    /* left: 0%; */
    right: 0;
    top: 0;
    height: 93.4%;
    pointer-events: none;
    z-index: 1;
}

#maintop .maintop-vector img {
    position: absolute;
    top: 0;
    right: 0;
    width: auto;
    height: 100vh;
    object-fit: cover;
}
.maintop-txt {
    position: absolute;
    bottom: 80px;
    left: 4%;
    z-index: 2;
    color: #fff;
}
.maintop-sub {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 4px;
    margin-inline: 0;
    margin-left: 6px;
    opacity: 0;
    transition: opacity .3s ease;
    transition-delay: 3.4s;
}
.maintop-txt p:nth-child(2) {
    clip-path: inset(0 100% 0 0);
    transition: clip-path 1.4s cubic-bezier(0.37, 0, 0.63, 1);
    transition-delay: 0.6s;
}
.maintop-txt p:nth-child(3) {
    clip-path: inset(0 100% 0 0);
    transition: clip-path 1.4s cubic-bezier(0.37, 0, 0.63, 1);
    transition-delay: 2.0s;
}
.maintop-txt.is-animated .maintop-sub {
    opacity: 1;
}
.maintop-txt.is-animated p:nth-child(2),
.maintop-txt.is-animated p:nth-child(3) {
    clip-path: inset(0);
}
.maintop-en {
    font-family: var(--font-en);
    font-size: clamp(36px, 6.2vw, 80px);
    font-weight: 600;
    line-height: 1.25;
    margin-bottom: 0;
}

/* --- SEC01: MESSAGE --- */
#sec01 {
    background: #fff;
    padding: 7.5rem 0;
}
#sec01 .sec-wrap {
    max-width: 1065px;
}
.sec01-inner {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    grid-template-areas:
        "hg  img"
        "txt img";
    column-gap: 40px;
    row-gap: 0;
}
.sec01-hgroup {
    grid-area: hg;
    margin-bottom: 2.5rem;
}
.sec01-left   { grid-area: txt; }
.sec01-right  {
    grid-area: img;
    align-self: center;
}
.sec01-heading {
    display: inline-block;
    font-size: 32px;
    font-weight: 700;
    background: linear-gradient(143deg, #69a1de 21%, #f987ab 40%, #faba75 63%, #aed682 72%, #34d49c 77%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    margin-bottom: 1.75rem;
    line-height: 1.4;
}
.sec01-body p {
    font-size: 18px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 1.5rem;
}
.sec01-body p:last-child { margin-bottom: 0; }

.sec01-body .large-txt { font-size: 20px;}

.sec01-right {
    max-width: 435px;
}
.sec01-img {
    border-radius: 13px;
    /* overflow: hidden; */
}
.sec01-img img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 13px;
    display: block;
}

/* --- SEC02: DATA ---*/
#sec02 {
    background: rgba(217,217,217,.2);
    padding: 5rem 0 8rem;
    position: relative;
    overflow: hidden;
    z-index: 11;
}
#sec02 .rc-hgroup { margin-bottom: 3.5rem;}

.sec02-bg01 {
    position: absolute;
    left: 0;
    top: -10%;
    width: 98%;
    opacity: .65;
    pointer-events: none;
    z-index: 0;
    clip-path: inset(0 0 100% 0);
    transition: clip-path 1.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.sec02-bg01.is-drawn { clip-path: inset(0 0 0% 0); }
.sec02-bg01 img {
    width: 100%;
    height: auto;
    display: block;
}
#sec02 .sec-wrap {
    position: relative;
    z-index: 1;
}

.sec02-wrap {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
    margin-top: 3rem;
    max-width: 965px;
    margin-inline: auto;
}
.data-card {
    background: #fff;
    border-radius: 13px;
    padding: 1.5rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    aspect-ratio: 1;
}
.data-card__bg {
    position: absolute;
    top: 25px;
    left: 50%;
    transform: translateX(-50%);
    width: 130px;
    height: 130px;
    z-index: 0;
    pointer-events: none;
}
.sec02-img {
    max-width: 130px;
    width: 50%;
    margin-inline: auto;
    margin-bottom: 1.25rem;
    aspect-ratio: 1;
}
.data-card__bg img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.data-card__icon {
    position: relative;
    z-index: 1;
    width: 130px;
    height: 130px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}
.data-card__icon img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}
.data-card__label {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 4px;
    position: relative;
    z-index: 1;
    text-align: center;
    line-height: 1.3;
}
.data-card__num {
    display: flex;
    align-items: flex-end;
    gap: 2px;
    position: relative;
    z-index: 1;
    margin-bottom: 0;
    line-height: 1;
}
.data-card__pre {
    font-size: 30px;
    font-weight: 700;
}
.data-card__big {
    font-family: var(--font-num);
    font-size: clamp(36px, 5vw, 64px);
    font-weight: 700;
    line-height: 1;
    /* margin-bottom: 3px; */
}
.data-card__unit {
    font-size: 30px;
    font-weight: 700;
}
.data-card__note {
    font-size: 14px;
    font-weight: 700;
    margin-left: 4px;
    margin-bottom: 0;
    position: relative;
    z-index: 1;
}

.data-card--blue   .data-card__label, .data-card--blue   .data-card__num, .data-card--blue   .data-card__note { color: #339fd6; }
.data-card--pink   .data-card__label, .data-card--pink   .data-card__num, .data-card--pink   .data-card__note { color: #f98aa8; }
.data-card--orange .data-card__label, .data-card--orange .data-card__num, .data-card--orange .data-card__note { color: #ffa058; }
.data-card--green  .data-card__label, .data-card--green  .data-card__num, .data-card--green  .data-card__note { color: #34d49c; }

/* --- SEC03: STAFF ---*/
#sec03 {
    background: #fff;
    position: relative;
    overflow: visible;
    padding: 5.5rem 0 7.5rem;
}
.sec03-bg01 {
    position: absolute;
    left: -10%;
    top: -5%;
    max-width: 200px;
    width: 25%;
    pointer-events: none;
    z-index: -1;
}
.sec03-bg02 {
    position: absolute;
    right: -8%;
    bottom: -15%;
    max-width: 165px;
    width: 19%;
    pointer-events: none;
    z-index: -1;
}
.sec03-bg01 img, .sec03-bg02 img {
    width: 100%;
    height: auto;
}
/* sec02-bg02: SVGにtransform済み(visible 1253/1280≈98%)・right=0 */
.sec02-bg02 {
    position: absolute;
    right: 0;
    top: -109%;
    width: 98%;
    opacity: .65;
    pointer-events: none;
    z-index: 0;
    clip-path: inset(0 0 100% 0);
    transition: clip-path 1.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.sec02-bg02.is-drawn { clip-path: inset(0 0 0% 0); }
.sec02-bg02 img {
    width: 100%;
    height: auto;
    display: block;
}
/* sec04-bg01: SVGにtransform済み(visible 1257/1280≈98%)・left=0 */
.sec04-bg01 {
    position: absolute;
    left: 0;
    top: 54%;
    width: 98%;
    opacity: .65;
    pointer-events: none;
    z-index: 0;
    clip-path: inset(0 0 100% 0);
    transition: clip-path 3s cubic-bezier(0.4, 0, 0.2, 1);
}
.sec04-bg01.is-drawn { clip-path: inset(0 0 0% 0); }
.sec04-bg01 img {
    width: 100%;
    height: auto;
    display: block;
}
#sec03 .sec-wrap {
    position: relative;
    z-index: 1;
}

.staff-row {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    margin-top: 4.5rem;
}
.staff-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    width: 50%;
    max-width: 340px;
}
.staff-row .staff-card:last-child { margin-right: 4%;}
.staff-blob {
    width: 93%;
    /* aspect-ratio: 1 / 1.35; */
    overflow: hidden;
    margin-bottom: 1.5rem;
}
.staff-blob img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
}
.staff-name {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    text-align: center;
    margin-bottom: 0;
    margin-right: 19%;
    text-wrap: nowrap;
}

/* --- SEC04: ENVIRONMENT ---
   bg01はsec03に移動済み、bg02はsec04内にクリップ
*/
#sec04 {
    background: rgba(217,217,217,.2);
    padding: 80px 0 8rem;
    position: relative;
    overflow: hidden;
}
/* sec04-bg02: SVGにtransform済み(visible 1253/1280≈98%)・right=0 */
.sec04-bg02 {
    position: absolute;
    right: 0;
    top: 23%;
    width: 98%;
    opacity: .65;
    pointer-events: none;
    z-index: 0;
    clip-path: inset(0 0 100% 0);
    transition: clip-path 3s cubic-bezier(0.4, 0, 0.2, 1);
}
.sec04-bg02.is-drawn { clip-path: inset(0 0 0% 0); }
.sec04-bg02 img {
    width: 100%;
    height: auto;
    display: block;
}
#sec04 .sec-wrap {
    position: relative;
    z-index: 1;
}

.env-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    margin-top: 3.5rem;
    margin-bottom: 60px;
}
.env-box {
    border-radius: 15px;
    overflow: hidden;
}
.env-box__header {
    padding: 18px 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    max-height: 74px;
}
.env-box__header--green { background: linear-gradient(to top, #34d49c, #c1d434 164.19%); }
.env-box__header--pink  { background: linear-gradient(142deg, #f98aa8, #f987db 142%); }
/* 社内イベントヘッダー: 画像のみ・枠線なし */
.env-box__header--event {
    background: linear-gradient(to bottom, #fac66f, #fb9f58);
    max-height: 74px;
    border-radius: 13px 13px 0 0;
}
.env-box__title {
    font-size: 32px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0;
    text-align: center;
}
.env-box--green, .env-box--pink {
    max-width: 482px;
    width: 100%;
    margin-inline: auto;
}
.env-box--green .env-box__body,
.env-box--pink  .env-box__body {
    background: #fff;
    border: 2px solid;
    border-top: none;
    padding: 15px 30px;
    min-height: 127px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-radius: 0 0 13px 13px;
}
.env-box--green .env-box__body { border-color: #34d49c; }
.env-box--pink  .env-box__body { border-color: #f98aa8; }
/* 福利厚生ボックス本文: Figma 18px, leading=17px(tight), 行間=1em */
.env-box--green .env-box__body p {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    margin: 0;
}
.env-box--green .env-box__body p:last-child { margin-bottom: 0; }
/* 教育制度ボックス本文 */
.env-box__sub {
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #333;
    margin-bottom: 8px !important;
    line-height: 1.5 !important;
    text-align: left;
    margin-inline: 0;
}
.env-box__text {
    font-weight: 400 !important;
    font-size: 16px !important;
    line-height: calc(27 / 16) !important;
    color: #333;
    margin-bottom: 0 !important;
}

/* 社内イベントボックス: ヘッダーに枠線なし、ボディのみ橙枠 */
.env-box--event {
    border-radius: 15px;
    overflow: hidden;
}
.env-box__body--event {
    background: #fff;
    border: 2px solid #ffa058;
    border-top: none;
    padding: 45px 48px 28px;
    border-radius: 0 0 13px 13px;
}
.event-photos {
    display: flex;
    gap: 70px;
}
.event-photo {
    flex: 1;
    margin: 0;
}
.event-photo img {
    width: 100%;
    aspect-ratio: 3/2;
    object-fit: cover;
    border-radius: 10px;
    display: block;
}
.event-photo figcaption {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    text-align: left;
    margin-top: 10px;
}

/* --- ITO マーキー --- */
.rc-sectxt {
    background: linear-gradient(132deg, #34d49c 23%, #aed682 28.9%, #faba75 39.9%, #f987ab 68.9%, #9ea3ea 80.7%, #279ed4 92.6%);
    overflow: hidden;
    height: 295px;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 10;
    padding: 0;
}
.rc-sectxt__track {
    display: flex;
    align-items: center;
    width: max-content;
    flex-shrink: 0;
}
.rc-sectxt__track.is-ready {
    animation: rc-marquee 40s linear infinite;
}
.rc-sectxt__track img {
    height: 140px;
    width: auto;
    flex-shrink: 0;
    margin-right: 20px;
}
@keyframes rc-marquee {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

/* --- SEC05: RECRUIT ---
   Figma: 募集職種終端〜募集要項title gap≈69px, title〜tab gap≈14px
*/
#sec05 {
    background: #fff;
    padding: 7rem 0 5rem;
}
#sec05 .rc-hgroup { margin-bottom: calc(3.5rem + 4px); }

.rc-recruit-box {
    border-radius: 15px;
    overflow: hidden;
    margin-top: 2rem;
    margin-bottom: 60px;
}
.rc-recruit-box__header {
    background: linear-gradient(164deg, #339fd6 0%, #affff6 164%);
    padding: 18px 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    max-height: 74px;
}
.rc-recruit-box__title {
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0;
}
.rc-recruit-box__body {
    background: #fff;
    border: 2px solid #339fd6;
    border-top: none;
    padding: 17px 49px 13px;
    border-radius: 0 0 15px 15px;
}
.rc-recruit-box__body p {
    position: relative;
    font-size: 18px;
    color: #333;
    margin-bottom: 0;
    padding: 1em 1.5em;
}
.rc-recruit-box__body p::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 1em;
    height: 2px;
    background: var(--main-color);
    border-radius: 100vmax;
}
.rc-recruit-box__body p:last-child::after { display: none; }

.rc-tab-heading {
    font-size: 32px;
    font-weight: 700;
    color: #339fd6;
    text-align: center;
    margin-bottom: 14px;
}
.rc-tab-box {
    border: 2px solid #339fd6;
    border-radius: 15px;
    overflow: hidden;
    background: #fff;
    padding: 44px 48px;
}
.rc-tbl {
    width: 100%;
    border-collapse: collapse;
}
.rc-tbl__row th,
.rc-tbl__row td {
    padding: .85em 24px;
    font-size: 18px;
    color: #333;
    vertical-align: middle;
    text-align: left;
    border: none;
}
.rc-tbl__row th {
    width: 180px;
    font-weight: 700;
    white-space: nowrap;
}
.rc-tbl__row td { 
    font-weight: 400;
    padding: .85em 2.25em;
 }
.rc-tbl__row--colored { background: #EBF5FB; }

/* --- SEC06: ENTRY --- */
#sec06 {
    background: #f7f7f7;
    padding: 80px 0 4.75rem;
}
#sec06 .rc-hgroup { margin-bottom: 2.25rem;}
.sec06-note {
    text-align: center;
    font-size: 18px;
    margin-bottom: 2.5rem;
}
.sec06-note a {
    color: #333;
}
#sec06 hgroup {
    display: flex;
    flex-direction: column;
}

.entry-form-wrap {
    background: #fff;
    border-radius: 15px;
    padding: 40px 48px;
    max-width: 900px;
    margin-inline: auto;
}
/* Figma: label列=270px幅（label left=194, input left=464 → 270px差） */
.form-row {
    display: flex;
    align-items: flex-start;
    border-bottom: 1px solid rgba(0,0,0,.08);
    padding: 16px 0;
    gap: 20px;
}
.form-label {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 200px;
    padding-top: 10px;
    flex-shrink: 0;
}
.form-label__name {
    font-size: 16px;
    font-weight: 700;
    color: #333;
}
.form-must {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(51,159,214,.1);
    color: #339fd6;
    font-size: 14px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 5px;
    white-space: nowrap;
}
.form-input { flex: 1; }
.form-input input,
.form-input textarea {
    width: 100%;
    background: rgba(51,51,51,.05);
    border-radius: 9px;
    border: none;
    padding: 10px 16px;
    font-size: 16px;
    color: #333;
    font-family: var(--font-ja);
    outline: none;
    transition: background .2s;
}
.form-input input::placeholder, .form-input textarea::placeholder { color: rgba(0,0,0,.3); }
.form-input input:focus, .form-input textarea:focus { background: rgba(51,159,214,.08); }
.form-input textarea {
    resize: vertical;
    min-height: 86px;
}

/* Figma プライバシー: ラベル|チェックボックス が同行、下にポリシーテキスト */
.form-row--privacy { border-bottom: none; }
.form-privacy__agree {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    color: #333;
    cursor: pointer;
    margin-bottom: 14px;
}
.form-privacy__agree input[type=checkbox] {
    width: 27px;
    height: 27px;
    border: 2px solid #339fd6;
    border-radius: 5px;
    accent-color: #339fd6;
    flex-shrink: 0;
    cursor: pointer;
}
.form-privacy__text-offset {
    display: flex;
    gap: 20px;
}
.form-privacy__text-spacer {
    min-width: 200px;
    flex-shrink: 0;
}
.form-privacy__text {
    flex: 1;
    background: #F5F5F5;
    border-radius: 9px;
    padding: 10px 16px 18px;
    font-size: 16px;
    color: #333;
    line-height: 1.75;
    height: 169px;
    overflow-y: auto;
}
.form-submit {
    text-align: center;
    padding-top: 28px;
}
.submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 120px;
    height: 42px;
    background: #279ed4;
    border: 2px solid #279ed4;
    border-radius: 4px;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    font-family: var(--font-ja);
    cursor: pointer;
}

/* --- CF7: .contact-form Figma対応 --- */
/* dt/dd ブラウザデフォルトリセット */
.contact-form dl { margin: 0; }
.contact-form dl dt,
.contact-form dl dd { margin: 0; padding: 0; }

.contact-form {
    margin-inline: auto;
    background: #fff;
    border-radius: 15px;
    padding: 3.5rem 50px 1.5rem;
}
/* 各フィールド行 */
.contact-form dl > .contact-short-item {
    display: flex;
    align-items: center;
    border-bottom: 2px solid #E9E9E9;
    padding: 18px 0 20px;
    gap: 10px;
}
.contact-form dl > .contact-short-item.csi-pp, .contact-form dl > .contact-short-item.csi-ta {
    align-items: flex-start;
}
.contact-form dl > .contact-short-item:first-child { padding-top: 0; }
.contact-form dl > .contact-short-item:last-of-type { border-bottom: none; }

/* ラベル列 */
.contact-form dl dt {
    display: flex;
    align-items: center;
    /* min-width: 200px; */
    flex: .45;
    flex-shrink: 0;
}
.contact-form dl dt label {
    display: flex;
    align-items: center;
    gap: 1em;
    padding-left: 1.5em;
}
.contact-form .txt {
    font-size: 18px;
    font-weight: 700;
    color: #333;
}
.contact-form .must {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #EBF5FB;
    color: #339fd6;
    font-size: 16px;
    font-weight: 700;
    padding: 2px 10px;
    border-radius: 5px;
    white-space: nowrap;
}

/* 入力列 */
.contact-form dl dd { flex: 1; }
.contact-form .wpcf7-form-control-wrap { 
    display: block;
    width: 100%;
 }
.contact-form .wpcf7-form-control-wrap input:not([type=checkbox]),
.contact-form .wpcf7-form-control-wrap textarea {
    width: 100%;
    background: #F5F5F5;
    border-radius: 9px;
    border: none;
    padding: 8px 1em;
    font-size: 18px;
    color: #333;
    font-family: var(--font-ja);
    outline: none;
    transition: background .2s;
}
.contact-form .wpcf7-form-control-wrap input:not([type=checkbox])::placeholder,
.contact-form .wpcf7-form-control-wrap textarea::placeholder { color: rgba(0,0,0,.3); }
.contact-form .wpcf7-form-control-wrap input:not([type=checkbox]):focus,
.contact-form .wpcf7-form-control-wrap textarea:focus { background: rgba(51,159,214,.08); }
.contact-form .wpcf7-form-control-wrap textarea {
    resize: vertical;
    height: 86px;
}

/* プライバシー行: dtのpadding-top不要 */
.contact-form .contact-short-item:has(.wpcf7-acceptance) dt { padding-top: 0; }
.contact-form .wpcf7-acceptance,
.contact-form .wpcf7-list-item { display: block; }
.contact-form .wpcf7-list-item label {
    display: flex;
    align-items: center;
    gap: 1em;
    font-size: 18px;
    color: #333;
    cursor: pointer;
    margin-bottom: 2em;
    position: relative;
}
/* ネイティブチェックボックスは非表示にして::beforeで代替 */
.contact-form .wpcf7-list-item input[type=checkbox] {
    position: absolute;
    opacity: 0;
    width: 27px;
    height: 27px;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    margin: 0;
    cursor: pointer;
}
/* カスタムチェックボックス: Figma準拠(28×27px, border 2px #339fd6, radius 5px) */
.contact-form .wpcf7-list-item label::before {
    content: '';
    display: block;
    width: 27px;
    height: 27px;
    border: 2px solid #339fd6;
    border-radius: 5px;
    background: transparent;
    flex-shrink: 0;
    box-sizing: border-box;
    transition: background .2s;
}
/* チェック時: 塗りつぶし＋白チェックマーク */
.contact-form .wpcf7-list-item label:has(input[type=checkbox]:checked)::before {
    background: #339fd6;
}
.contact-form .wpcf7-list-item label:has(input[type=checkbox]:checked)::after {
    content: '';
    position: absolute;
    left: 6px;
    top: 50%;
    transform: translate(50%,-65%) rotate(45deg);
    width: 7px;
    height: 12px;
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
}

/* 送信ボタン */
.wpcf7-submit {
    display: block;
    margin: 28px auto 0;
    width: 120px;
    height: 42px;
    background: #279ed4;
    border: 2px solid #279ed4 !important;
    border-radius: 4px;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    font-family: var(--font-ja);
    cursor: pointer;
    transition: .3s;
}

/* CF7 レスポンス出力エリア */
.wpcf7-response-output { margin: 8px 0 0; padding: 8px 16px; font-size: 14px; }

#aform_btn_submit {
    color: #fff;
    background: var(--main-color);
    box-shadow: 0px 3px 3px rgba(0,0,0,.25);
    border-width: 1px;
    border-color: #fff;
    border-style: solid;
}

/* --- CF7 contact-from: dt/dd リセット & 入力欄 */
.contact-from dl { margin: 0; }
.contact-from dt,
.contact-from dd { margin: 0; padding: 0; }
.contact-from .wpcf7-form-control-wrap { display: block; width: 100%; }
.form-label--privacy { padding-top: 0; }
/* CF7 acceptance: チェックボックス */
.contact-from .wpcf7-acceptance,
.contact-from .wpcf7-list-item { display: block; }
.contact-from .wpcf7-list-item label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    color: #333;
    cursor: pointer;
    margin-bottom: 14px;
}
.contact-from .wpcf7-list-item input[type=checkbox] {
    width: 27px;
    height: 27px;
    border: 2px solid #339fd6;
    border-radius: 5px;
    accent-color: #339fd6;
    flex-shrink: 0;
    cursor: pointer;
}

/* --- POPUP --- */
.rc-popup-dialog { max-width: 1020px; }
.rc-popup-content {
    border: none;
    border-radius: 21px;
    box-shadow: 0 4px 24px rgba(0,0,0,.25);
    overflow: hidden;
}
.rc-popup-body {
    display: flex;
    gap: 32px;
    padding: 50px 48px 50px 40px;
    position: relative;
}
.popup-photo-col {
    flex-shrink: 0;
    max-width: 295px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.popup-photo {
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    background: #d9d9d9;
    aspect-ratio: 3/4;
    margin-bottom: 2.5rem;
}
.popup-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.popup-name {
    width: 100%;
    font-size: 15px;
    font-weight: 700;
    color: #333;
    text-align: left;
    margin: 0;
}
.popup-txt-col {
    flex: 1;
    min-width: 0;
}
/* Figma INTERVIEW: node 1:4564 グラデーション忠実再現
   134.97deg, green→yellow-green→orange→pink→blue */
.popup-en-title {
    font-family: var(--font-en);
    font-size: 36px;
    font-weight: 500;
    display: inline-block; /* background-clip:text の確実な描画に必要 */
    background: linear-gradient(134.97deg, #34d49c 23%, #aed682 28.9%, #faba75 39.9%, #f987ab 68.9%, #69a1de 92.6%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    margin-bottom: 16px;
    line-height: 1.2;
}
.popup-body-txt p {
    font-size: 18px;
    color: #333;
    line-height: 1.8;
    margin-bottom: 1rem;
}
.popup-body-txt p:last-child { margin-bottom: 0; }
.rc-popup-content .btn-close {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 10;
    background: #f7f7f7 url(../img/close.svg) center / 1em auto no-repeat;
    border-radius: 4px;
    padding: 0;
    width: 36px;
    height: 39px;
    opacity: 1;
}

/* --- FOOTER --- */
footer {
    background: linear-gradient(139deg, #34d49c 8%, #aed682 16%, #faba75 30%, #f987ab 68%, #9ea3ea 84%, #279ed4 99%);
    padding: 0;
}
.ft-wrap {
    padding: 3rem 20px;
    text-align: center;
}
.ft-icons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    margin-bottom: 15px;
}
.ft-icon-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.ft-icon-link img {
    width: 54px;
    height: 54px;
    object-fit: cover;
    display: block;
}
.ft-wrap .cp {
    color: #fff;
    font-size: 14px;
    margin-bottom: 0;
}

@media (max-width: 991px) {
    .maintop-vector {
        position: absolute;
        right: 0;
        top: 0;
        height: 93.4%;
        pointer-events: none;
        z-index: 1;
    }

    #maintop .maintop-vector img {
        position: absolute;
        top: 0;
        right: 0;
        width: auto;
        height: 100vh;
        object-fit: cover;
    }

    .data-card__big { font-size: clamp(24px, 4vw, 48px); }
    .data-card__pre, .data-card__unit { font-size: clamp(21px, 2vw, 30px); }
    .sec02-wrap { gap: 15px;}

    .env-grid { gap: 2rem;}
    .env-box__title { font-size: clamp(21px, 3.5vw, 32px);}
    .event-photos { gap: 30px; }

    .sec03-bg02 {
        bottom: -20%;
    }
    .popup-body-txt p { font-size: 14px; }
    .popup-photo-col { width: 40%;}
}

@media (max-width: 767px) {
    .brand { max-width: 230px;}
    #clickarea {
        width: 100%;
        min-width: auto;
        right: auto;
    }
    
    .sec01-inner {
        grid-template-columns: 1fr;
        grid-template-areas:
            "hg"
            "img"
            "txt";
        gap: 0;
    }
    .sec01-hgroup {
        margin-bottom: 2rem;
        text-align: center;
    }
    .sec01-right {
        margin-bottom: 2rem;
        width: 80%;
        margin-inline: auto;
    }
    .sec01-img { margin-left: 10px;}

    .sec02-wrap {
        max-width: 500px;
        grid-template-columns: repeat(2, 1fr);
        gap: 35px;
    }

    .staff-row .staff-card:last-child, .staff-name { 
        margin-right: auto;
        margin-inline: auto;
    }

    /* .rc-popup-body {
        max-height: 650px;
        overflow-y: scroll;
        flex-direction: column;
        padding: 65px 20px 24px;
        gap: 20px;
    }
    .popup-photo { width: 80%;}
    .popup-photo-col {
        width: 100%;
        margin-inline: auto;
    } */
    .popup-photo-col { width: 100%;}
    .popup-en-title  { font-size: 26px; }
    .popup-body-txt p { font-size: 13px; }
    
}

@media (max-width: 575px) {
    /* Figma SP: header height≈50px, ロゴ左、ハンバーガー右、ENTRYボタン非表示 */
    #head { 
        height: auto; 
        background: #fff;
    }
    .menu-wrap {
        height: 55px;
        padding: 0 10px;
    }
    .h-logo .brand {
        height: auto;
        width: 225px;
        /* width: 185px; */
        object-fit: contain;
    }
    /* 既存のロゴ個別クラスは brand 統合後は不要 */
    .logo-icon, .logo-name, .logo-recruit { display: none; }
    .rc-head-entry { display: none; } /* SP はヘッダーENTRYなし */
    .openbtn {
        width: 28px;
        height: 28px;
        box-shadow: none;
        background: transparent;
    }
    .openbtn span { 
        width: 13px;
    }
    .openbtn span:nth-of-type(1) {
        top: 25%;
    }
    .openbtn span:nth-of-type(2) {
        top: 50%;
    }
    .openbtn span:nth-of-type(3) {
        top: 75%;
    }
    .openbtn.active span:nth-of-type(1) { top: 40%;}
    .sidebtn { display: none; }

    /* Figma SP: padding-top=80px */
    #clickarea { padding-top: 40px; }
    #clickarea .click-list {
        padding: 2rem 0.5rem 2rem;
        width: 85%;
    }

    /* Figma SP: 35px (desktop 64px)、ja-sub 12px */
    hgroup > h2 { font-size: 35px; }
    hgroup > span { font-size: 12px; }
    .rc-hgroup { margin-bottom: 1.5rem; }

    /* Figma SP: "Design Your Dream," 29px, sub 14px, left=15px */
    #maintop { min-height: 500px; }
    .maintop-txt {
        bottom: 60px;
        left: 5%;
    }
    .maintop-sub { font-size: 14px; }
    .maintop-en {
        font-size: clamp(29px, 8.5vw, 45px);
        line-height: 1.3;
    }
    /* Figma SP: vector visible, left=-222px / right=-36px on 320px viewport */
    

    #sec01 { padding: 3rem 0 5rem; }
    
    .sec01-heading {
        font-size: 32px;
        line-height: 1.4;
    }
    .sec01-body p {
        font-size: 14px;
        line-height: 1.9;
    }
    .sec01-right {
        max-width: 350px;
        width: 100%;
    }

    .sec01-body .large-txt { font-size: 16px;}

    /* Figma SP: 1列、カード 251×251px 中央揃え、gap=35px */
    #sec02 { padding: 3rem 0 3.5rem; }
    .sec02-wrap {
        grid-template-columns: 1fr;
        gap: 35px;
        max-width: 251px;
        margin-inline: auto;
        margin-top: 2rem;
    }
    .data-card {
        min-height: 251px;
        padding: 21px 16px 23px;
    }
    .data-card__bg {
        top: 21px;
        width: 110px;
        height: 110px;
    }
    .data-card__icon {
        width: 100px;
        height: 100px;
        margin-bottom: 22px;
    }
    .sec02-img { margin-bottom: 17px; }
    .data-card__big  { font-size: 50px; margin-bottom: 2px; }
    .data-card__pre, .data-card__unit { font-size: 20px; }
    .data-card__label { font-size: 16px; margin-bottom: 3px; }
    .data-card__note  { font-size: 14px; }

    /* Figma SP: 縦積み、クロスbgは非表示 */
    #sec03 { padding: 3.5rem 0 5.5rem; }
    .staff-row {
        flex-direction: column;
        align-items: center;
        gap: 48px;
        margin-top: 3.5rem;
    }
    .staff-card {
        width: 85%;
        max-width: 270px;
    }
    .staff-blob img {
        max-width: 185px;
        margin-inline: auto;
    }
    .staff-name { font-size: 18px; }
    /* sec02-bg01: sec02 hgroup にかかる位置 */
    .sec02-bg01 {
        left: -100%;
        width: 300%;
        top: -5%;
    }
    .sec02-bg01 img {
        width: 80%;
        height: auto;
    }
    /* sec02-bg02: sec03 hgroup にかかる位置 */
    .sec02-bg02 {
        display: block;
        left: -50%;
        right: -120.6%;
        width: auto;
        top: -130vw;
    }
    .sec02-bg02 img {
        width: 80%;
        height: auto;
    }

    .sec03-bg01 {
        left: 0%;
        top: 7.5%;
        max-width: 95px;
        width: auto;
    }
    .sec03-bg02 {
        right: 1%;
        bottom: 21%;
        max-width: 80px;
        width: auto;
    }

    .rc-popup-body {
        max-height: 650px;
        overflow-y: scroll;
        flex-direction: column;
        padding: 65px 25px 50px;
        gap: 20px;
    }
    .popup-photo { 
        width: 80%;
        margin-bottom: 1rem;
    }
    .popup-photo-col {
        width: 100%;
        margin-inline: auto;
    }
    .popup-name { text-align: center;}
    .popup-en-title  { font-size: 26px; }
    .popup-body-txt p { font-size: 13px; }

    /* sec04-bg01: sec03 中腹〜下部 */
    .sec04-bg01 {
        display: block;
        left: -67.8%;
        right: auto;
        width: 300%;
        top: 50%;
    }
    .sec04-bg01 img {
        width: 100%;
        height: auto;
    }

    #sec04 { padding: 3rem 0 3.5rem; }
    .env-grid {
        grid-template-columns: 1fr;
        gap: 0;
        margin-top: 3rem;
        margin-bottom: 0;
    }
    .env-box {
        /* max-width: 250px; */
        width: 100%;
        margin-inline: auto;
    }
    .env-grid .env-box { margin-bottom: 50px; }
    .env-box__title { font-size: 24px; }
    .env-box--green .env-box__body,
    .env-box--pink  .env-box__body {
        min-height: auto;
        padding: 20px 24px;
    }
    .env-box--green .env-box__body p {
        font-size: 16px;
        line-height: 2;
        margin-bottom: 4px;
    }
    .env-box__sub  { font-size: 16px !important; }
    .env-box__text { font-size: 14px !important; }
    .env-box__body--event { padding: 24px; }
    .event-photos {
        flex-direction: column;
        gap: 25px;
    }
    .event-photo figcaption { 
        font-size: 16px;
        text-align: center;
        margin-top: 10px;
    }
    .env-box__header { max-height: 62px;}

    /* Figma SP: height=99px、img=47px */
    .rc-sectxt { height: 99px; }
    .rc-sectxt__track img { height: 47px; margin-right: 12px; }

    /* Figma SP: 募集職種=251px幅、タブ=100px幅、テーブル縦積み */
    #sec05 { padding: 3rem 0; }
    .rc-tab-box { 
        /* max-width: 250px; */
        width: 100%;
        margin-inline: auto;
        padding: 1.5rem 1rem;
        border-radius: 15px
    }
    .rc-recruit-box { 
        margin-top: 3rem;
        margin-bottom: 25px;
    }
    .rc-tab-heading          { font-size: 24px; }
    .rc-recruit-box__header  { max-height: 60px; }
    .rc-recruit-box__title   { font-size: 24px; }
    .rc-recruit-box__body    { padding: 1rem 22px .25rem; }
    .rc-recruit-box__body p  { 
        font-size: 16px;
        padding: 1em 0;
    }
    .rc-recruit-box__body p:first-child { padding-top: 0; }
/* テーブル: ラベル上・値下に縦積み */
    .rc-tbl__row th,
    .rc-tbl__row td {
        display: block;
        width: 100%;
    }
    .rc-tbl__row th {
        padding: 1em 1.5em .5em;
        font-size: 16px;
    }
    .rc-tbl__row td {
        padding: 0 1.5em 14px;
        font-size: 16px;
    }


    #sec06 { padding: 60px 0; }
    #sec06 .rc-hgroup { margin-bottom: 2rem;}
    .sec06-note {
        font-size: 13px;
        line-height: 1.7;
    }
    .entry-form-wrap { padding: 24px 22px; }
    .contact-form {
        padding: 1.5rem 1.5rem 2rem;
    }
    .form-row {
        flex-direction: column;
        gap: 8px;
        padding: 14px 0;
    }
    .form-label {
        padding-top: 0;
        min-width: auto;
        flex-wrap: wrap;
    }
    .form-label__name { font-size: 16px; }
    .contact-form .must { font-size: 14px;}
    .form-input input {
        height: 36px;
        padding: 0 12px;
        font-size: 14px;
    }
    .form-input textarea { font-size: 14px; }
    .contact-form .txt { font-size: 16px;}
    .contact-form dl dt label { padding-left: 0;}
    .form-privacy__text {
        font-size: 12px;
        height: auto;
        max-height: 150px;
    }
    .contact-from .wpcf7-list-item label { font-size: 16px; }
    .form-input { width: 100%; }
    /* CF7 SP: 縦積み */
    .contact-form dl > .contact-short-item {
        flex-direction: column;
        gap: 8px;
        padding: 14px 0;
    }
    .contact-form dl dt {
        padding-top: 0;
        min-width: auto;
    }
    .contact-form .wpcf7-form-control-wrap input:not([type=checkbox]) {
        height: 36px;
        padding: 0 12px;
        font-size: 14px;
    }
    .contact-form .wpcf7-form-control-wrap textarea { font-size: 14px; }
    .contact-form .wpcf7-list-item label { font-size: 16px; }
    .screen-reader-response p { 
        display: none;
        margin: 0;
    }
    .wpcf7-submit { 
        font-size: 16px;
        width: 102px;
        height: 36px;
    }

    

    /* Figma SP: LINE=45px, YouTube=45px, X=33px */
    .ft-wrap { padding: 2.5rem 20px 2rem; }
    .ft-icons {
        gap: 8px;
        margin-bottom: 7px;
    }
    .ft-icon-link img {
        width: 45px;
        height: 45px;
    }
    .ft-wrap .cp { font-size: 10px; }
}

@media (max-width: 475px) {
    .maintop-vector {
        display: block;
        top: auto;
        right: -9%;
        bottom: -2%;
        height: 70%;
    }
    #maintop .maintop-vector img {
        width: auto;
        height: 100%;
    }
}

@media (any-hover: hover) { 
    .wpcf7-submit:hover {
        background: #fff;
        color: var(--main-color);
    }
}

/* ==============================================
   スクロールアニメーション
   ============================================== */

/* --- フェード（基本） --- */
.js-fade {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
    transition-delay: var(--delay, 0s);
}
.js-fade.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- ポップイン（cardPop） --- */
@keyframes cardPop {
    0%   { transform: scale(0.2, 0.2); opacity: 0; }
    50%  { transform: scale(1.05, 1.05); opacity: 1; }
    100% { transform: scale(1, 1); opacity: 1; }
}

.sec02-wrap .data-card.js-fade,
#sec03 .sec03-bg01.js-fade,
#sec03 .sec03-bg02.js-fade,
#sec03 .staff-card.js-fade,
#sec01 .sec01-right.js-fade {
    transform: scale(0.2, 0.2);
    transition: none;
}

.sec02-wrap .data-card.js-fade.is-visible,
#sec03 .sec03-bg01.js-fade.is-visible,
#sec03 .sec03-bg02.js-fade.is-visible,
#sec03 .staff-card.js-fade.is-visible,
#sec01 .sec01-right.js-fade.is-visible {
    animation-name: cardPop;
    animation-fill-mode: forwards;
    animation-duration: 0.8s;
    animation-delay: var(--delay, 0s);
    opacity: 0;
    transform: scale(0.2, 0.2);
}

/* --- クリップスライド（js-clip） --- */
.js-clip {
    opacity: 1;
    transform: none;
    transition: none;
}

.rc-hgroup.js-clip h2,
.rc-hgroup.js-clip span,
#sec01 .rc-hgroup.js-fade h2,
#sec01 .rc-hgroup.js-fade span {
    clip-path: inset(0 100% 0 0);
    transition: clip-path 2s cubic-bezier(0.37, 0, 0.63, 1);
}

.rc-hgroup.js-clip span, 
#sec01 .rc-hgroup.js-fade span {
    display: block;
}

.rc-hgroup.js-clip.is-visible h2,
.rc-hgroup.js-clip.is-visible span,
#sec01 .rc-hgroup.js-fade.is-visible h2,
#sec01 .rc-hgroup.js-fade.is-visible span { clip-path: inset(0); }

#sec01 .rc-hgroup.js-fade {
    opacity: 1;
    transform: none;
    transition: none;
}

#sec06 .rc-hgroup.js-clip h2 {
    will-change: clip-path;
    transition: clip-path .6s cubic-bezier(0.37, 0, 0.63, 1);
}
#sec06 .rc-hgroup.js-clip span {
    transition: clip-path 1s cubic-bezier(0.37, 0, 0.63, 1);
}