/*
Theme Name: Intense Recruit Kawase Created
Template: IntenseRecruit
Description: インテンスグループ採用WordPressテーマ
Version: 1.0.0
*/

@charset "UTF-8";

/* =========================================
   Variables & Reset
========================================= */
:root {
    --color-primary: #CF1126;
    /* コーポレートカラー・アクセント */
    --color-text: #333333;
    --color-text-light: #666666;
    --color-bg: #FFFFFF;
    --color-bg-light: #F8F9FA;
    --color-bg-dark: #1A1A1A;

    --font-ja: 'Noto Sans JP', sans-serif;
    --font-en: 'Montserrat', sans-serif;

    --width-container: 1100px;
    --header-height: 80px;
}

.ifing {
    --color-primary: #31006f;
}

.invade {
    --color-primary: #333;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    /* JS慣性スクロール（Lenis）と競合するため scroll-behavior: smooth は削除 */
}

body {
    font-family: var(--font-ja);
    color: var(--color-text);
    background-color: var(--color-bg);
    line-height: 1.6;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: bottom;
}

.container {
    max-width: var(--width-container);
    margin: 0 auto;
    padding: 0 4%;
}

.section {
    padding: 140px 0;
}

@media (max-width: 768px) {
    .section {
        padding: 80px 0;
    }
}

.bg-light {
    background-color: var(--color-bg-light);
}

.bg-dark {
    background-color: var(--color-bg-dark);
    color: #fff;
}

.text-center {
    text-align: center;
}

.mt-4 {
    margin-top: 40px;
}

/* Placeholder for images */
.img-placeholder {
    width: 100%;
    height: 100%;
    aspect-ratio: 4 / 3;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-weight: bold;
    font-family: var(--font-en);
    letter-spacing: 0.1em;
}

@media (max-width: 768px) {
    .img-placeholder {
        aspect-ratio: 16 / 9;
    }
}

/* =========================================
   Typography & Titles
========================================= */
.section__header {
    text-align: center;
    margin-bottom: 80px;
}

@media (max-width: 768px) {
    .section__header {
        margin-bottom: 50px;
    }
}

.section__title {
    font-family: var(--font-en);
    font-size: 2.6rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--color-text);
    margin-bottom: 10px;
}

.section__subtitle {
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    color: var(--color-text-light);
}

.section__header--white .section__title {
    color: #fff;
}

.section__header--white .section__subtitle {
    color: #ccc;
}

/* =========================================
   Buttons
========================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 40px;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 50px;
    cursor: pointer;
    letter-spacing: 0.05em;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.1);
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform 0.3s ease;
    z-index: -1;
}

.btn:hover::before {
    transform: scaleY(1);
}

.btn--primary {
    background-color: var(--color-primary);
    color: #fff;
}

.btn--outline {
    border: 2px solid var(--color-primary);
    color: var(--color-primary);
}

.btn--outline:hover {
    background-color: var(--color-primary);
    color: #fff;
}

.btn--outline-white {
    border: 2px solid #fff;
    color: #fff;
}

.btn--outline-white:hover {
    background-color: #fff;
    color: var(--color-primary);
}

.btn--entry {
    background-color: var(--color-primary);
    color: #fff;
    font-family: var(--font-ja);
    font-weight: 700;
    padding: 10px 20px;
    font-size: 0.85rem;
    border-radius: 4px;
    /* 少しシャープに */
}

.btn--entry-mid {
    background-color: var(--color-text);
}

/* =========================================
   Header
========================================= */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: rgba(255, 255, 255, 1);
    backdrop-filter: blur(10px);
    z-index: 100;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    padding: 0 4%;
}

.header__logo a {
    font-family: var(--font-en);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
    display: flex;
    align-items: center;
    gap: 10px;

    img {
        height: 1em;
    }
}

.header__logo span {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--color-text);
    font-family: var(--font-ja);
}

.header__actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header__entry {
    display: flex;
    gap: 10px;
}

@media (max-width: 768px) {
    .header__entry {
        display: none;
    }
}

.header__hamburger {
    display: block;
    width: 30px;
    height: 20px;
    position: relative;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 102;
    /* Above drawer */
}

.header__hamburger span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--color-text);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.header__hamburger span:nth-child(1) {
    top: 0;
}

.header__hamburger span:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
    opacity: 1;
}

.header__hamburger span:nth-child(3) {
    bottom: 0;
}

.header__hamburger.is-active span:nth-child(1) {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
}

.header__hamburger.is-active span:nth-child(2) {
    opacity: 0;
    transform: translateY(-50%) translateX(20px);
}

.header__hamburger.is-active span:nth-child(3) {
    bottom: 50%;
    transform: translateY(50%) rotate(-45deg);
}

/* =========================================
   Drawer Menu
========================================= */
.header__drawer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(15px);
    z-index: 101;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header__drawer.is-active {
    opacity: 1;
    visibility: visible;
}

.header__drawer-list {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.header__drawer-list a {
    font-family: var(--font-en);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-text);
    letter-spacing: 0.1em;
    position: relative;
    display: inline-block;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.4s ease;
}

.header__drawer.is-active .header__drawer-list a {
    transform: translateY(0);
    opacity: 1;
}

.header__drawer-list a:hover {
    color: var(--color-primary);
}

/* Stagger animation for links */
.header__drawer.is-active .header__drawer-list li:nth-child(1) a {
    transition-delay: 0.1s;
}

.header__drawer.is-active .header__drawer-list li:nth-child(2) a {
    transition-delay: 0.15s;
}

.header__drawer.is-active .header__drawer-list li:nth-child(3) a {
    transition-delay: 0.2s;
}

.header__drawer.is-active .header__drawer-list li:nth-child(4) a {
    transition-delay: 0.25s;
}

.header__drawer.is-active .header__drawer-list li:nth-child(5) a {
    transition-delay: 0.3s;
}

.header__drawer.is-active .header__drawer-list li:nth-child(6) a {
    transition-delay: 0.35s;
}

.header__drawer.is-active .header__drawer-list li:nth-child(7) a {
    transition-delay: 0.4s;
}

.header__drawer-entry {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 40px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease 0.5s;
}

.header__drawer.is-active .header__drawer-entry {
    opacity: 1;
    transform: translateY(0);
}

@media (min-width: 769px) {
    .header__drawer-entry {
        display: none;
    }
}

/* =========================================
   First View (FV)
========================================= */
.fv {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    /* PC: 文字の見切れを防ぐために比率を維持 */
    margin-top: var(--header-height);
    /* ヘッダーに被らないよう調整 */
    position: relative;
    background-color: #000;
    overflow: hidden;
}

/* 下層ページ用FV：パンくず直後に隙間なく配置するため margin-top を除去 */
.fv--subpage {
    margin-top: 0;
}

@media (max-width: 768px) {
    .fv {
        height: auto;
        /* スマホ: 縦横比を9:11.25に維持して画像がピッタリ収まるように調整 */
        aspect-ratio: 9 / 11.25;
        margin-top: var(--header-height);

        &.fv--subpage {
            aspect-ratio: 16 / 9;
            margin-top: 0;

            .fv__scroll {
                display: none;
            }
        }
    }
}

.fv__slider {
    width: 100%;
    height: 100%;
}

.fv__image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    /* Zoom animation handled by GSAP/Swiper */
}

/* Background Images */
.fv__image--01 {
    background-image: url('../FV素材/1.jpg');
}

.fv__image--02 {
    background-image: url('../FV素材/6.jpg');
}

.fv__image--03 {
    background-image: url('../FV素材/8.jpg');
}

.fv__image--04 {
    background-image: url('../FV素材/9.jpg');
}

@media (max-width: 768px) {

    /* スマホ用縦長画像への切り替え（ファイル名は想定） */
    .fv__image--01 {
        background-image: url('../FV素材/1_sp.jpg');
    }

    .fv__image--02 {
        background-image: url('../FV素材/6_sp.jpg');
    }

    .fv__image--03 {
        background-image: url('../FV素材/8_sp.jpg');
    }

    .fv__image--04 {
        background-image: url('../FV素材/9_sp.jpg');
    }
}

/* Pagination: Horizontal Bars */
.fv__pagination {
    bottom: 40px !important;
    display: flex;
    justify-content: center;
    gap: 15px;
    z-index: 10;
}

.swiper-pagination-bullet {
    width: 40px;
    height: 3px;
    border-radius: 0;
    background-color: rgba(255, 255, 255, 0.4);
    opacity: 1;
    transition: all 0.3s ease;
}

.swiper-pagination-bullet-active {
    background-color: var(--color-primary);
    width: 60px;
}

.fv__scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    color: #fff;
    font-family: var(--font-en);
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.fv__scroll::after {
    content: '';
    width: 1px;
    height: 50px;
    background-color: #fff;
    margin-top: 10px;
    animation: scrollLine 2s infinite ease-in-out;
    transform-origin: top;
}

@keyframes scrollLine {
    0% {
        transform: scaleY(0);
    }

    50% {
        transform: scaleY(1);
    }

    100% {
        transform: scaleY(0);
        transform-origin: bottom;
    }
}

/* =========================================
   Big Catchcopy
========================================= */
.catchcopy {
    padding: 160px 0;
    text-align: center;
    background-color: var(--color-bg);
}

@media (max-width: 768px) {
    .catchcopy {
        padding: 100px 0;
    }
}

.catchcopy__main {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 40px;
    line-height: 1.4;
}

.catchcopy__sub {
    font-size: 1.1rem;
    line-height: 2;
    color: var(--color-text);
}

@media (max-width: 768px) {
    .catchcopy__main {
        font-size: 2rem;
    }

    .catchcopy__sub {
        font-size: 0.95rem;
    }
}

/* For GSAP SplitText effect */
.char {
    display: inline-block;
}

/* =========================================
   Recruit List
========================================= */
.recruit__cards {
    display: flex;
    flex-wrap: wrap;
    gap: 60px;
    justify-content: center;
}

@media (max-width: 768px) {
    .recruit__cards {
        gap: 30px;
    }
}

.recruit__card {
    flex: 0 0 calc(50% - 30px);
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    display: block;
}

.recruit__card:hover .recruit__card-image>div {
    transform: scale(1.05);
}

.recruit__card-image {
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

@media (max-width: 768px) {
    .recruit__card-image {
        aspect-ratio: 16 / 9;
    }
}

.recruit__card-image>div {
    transition: transform 0.5s ease;
}

.recruit__card-body {
    padding: 40px;
    text-align: center;
}

.recruit__card-body h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--color-primary);
}

.recruit__card-body p {
    margin-bottom: 20px;
    color: var(--color-text-light);
}

@media (max-width: 768px) {
    .recruit__card {
        flex: 0 0 100%;
        height: auto;
    }

    .recruit__card-body {
        padding: 30px 20px;
    }

    .recruit__card-body h3 {
        font-size: 1.3rem;
    }
}

/* =========================================
   Media Block (Common Two Column Layouts)
========================================= */
.media-block {
    display: flex;
    align-items: center;
    gap: 100px;
}

.media-block--reverse {
    flex-direction: row;
}

.media-block__image {
    flex: 1;
}

.media-block__text {
    flex: 1;
}

/* 画像要素のみに角丸と影を適用 */
.media-block .img-placeholder,
.media-block img {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.media-block__title {
    font-size: 1.8rem;
    margin-bottom: 20px;
    line-height: 1.4;
    color: var(--color-primary);
}

.media-block__desc {
    margin-bottom: 30px;
    color: var(--color-text-light);
    text-align: justify;
}

@media (max-width: 992px) {
    .media-block {
        flex-direction: column;
        gap: 30px;
        align-items: stretch;
    }

    .media-block--reverse {
        flex-direction: column-reverse;
    }

    .media-block__image,
    .media-block__text {
        width: 100%;
        text-align: center;
    }

    .media-block__title {
        font-size: 1.5rem;
    }
}

/* =========================================
   Career Model
========================================= */
.career__intro {
    text-align: center;
    margin-bottom: 50px;
}

.career__steps {
    display: flex;
    gap: 30px;
    position: relative;
}

/* Connecting line */
.career__steps::before {
    content: '';
    position: absolute;
    top: 30px;
    left: 10%;
    right: 10%;
    height: 2px;
    background-color: #ddd;
    z-index: 0;
}

@media (max-width: 768px) {
    .career__steps::before {
        display: none;
    }
}

.career__step {
    flex: 1;
    background: #fff;
    padding: 40px 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    position: relative;
    z-index: 1;
}

.career__step-year {
    display: inline-block;
    background-color: var(--color-primary);
    color: #fff;
    font-family: var(--font-en);
    font-weight: 700;
    padding: 5px 20px;
    border-radius: 20px;
    margin-bottom: 20px;
}

.career__step h4 {
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.career__step p {
    font-size: 0.9rem;
    color: var(--color-text-light);
}

@media (max-width: 768px) {
    .career__steps {
        flex-direction: column;
    }
}

/* =========================================
   Welfare
========================================= */
.welfare__numbers {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: space-between;
}

.welfare__item {
    flex: 1 1 calc(25% - 30px);
    min-width: 200px;
    text-align: center;
    padding: 40px 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.welfare__item:hover {
    transform: translateY(-10px);
    border-color: var(--color-primary);
}

.welfare__item-title {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: #ccc;
}

.welfare__item-num {
    font-family: var(--font-en);
    font-size: clamp(2rem, 2.5vw, 2rem);
    white-space: nowrap;
    font-weight: 700;
    color: var(--color-primary);
}

.welfare__item-num--ratio {
    font-size: clamp(1.4rem, 3vw, 2.2rem);
}

/* =========================================
   Interview
========================================= */
.interview__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.interview__card {
    display: block;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.interview__card:hover .interview__img>div {
    transform: scale(1.05);
}

.interview__img {
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

@media (max-width: 768px) {
    .interview__img {
        aspect-ratio: 16 / 9;
    }
}

.interview__img>div {
    transition: transform 0.5s ease;
}

.interview__info {
    padding: 30px;
}

.interview__dept {
    display: inline-block;
    font-size: 0.85rem;
    color: var(--color-primary);
    font-weight: 700;
    margin-bottom: 10px;
}

.interview__catch {
    font-size: 1.1rem;
    font-weight: 700;
}

/* =========================================
   FAQ
========================================= */
.faq__list {
    max-width: 800px;
    margin: 0 auto;
}

.faq__item {
    margin-bottom: 15px;
    border: 1px solid #eee;
    border-radius: 5px;
    overflow: hidden;
}

.faq__question {
    width: 100%;
    text-align: left;
    padding: 20px;
    padding-right: calc(20px + 1em);
    background-color: #fff;
    border: none;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    position: relative;
    font-family: var(--font-ja);
}

.faq__question span {
    color: var(--color-primary);
    font-family: var(--font-en);
    margin-right: 15px;
    font-size: 1.3rem;
}

.faq__question::after {
    content: '+';
    position: absolute;
    right: 20px;
    font-size: 1.5rem;
    color: var(--color-primary);
    transition: transform 0.3s ease;
}

.faq__question.is-open::after {
    transform: rotate(45deg);
}

.faq__answer {
    background-color: var(--color-bg-light);
    height: 0;
    overflow: hidden;
    transition: height 0.3s ease;
}

.faq__answer-inner {
    padding: 20px;
    border-top: 1px solid #eee;
}

/* =========================================
   Footer
========================================= */
.footer {
    background-color: var(--color-bg-dark);
    color: #fff;
    padding: 80px 0 20px;
}

.footer__inner {
    display: flex;
    justify-content: space-between;
    margin-bottom: 60px;
}

.footer__info h2 {
    font-family: var(--font-en);
    font-size: 2rem;
    color: var(--color-primary);
    margin-bottom: 15px;
}

.footer__info p {
    color: #ccc;
    font-size: 0.9rem;
}

.footer__links {
    display: flex;
    gap: 60px;
}

.footer__nav li {
    margin-bottom: 10px;
}

.footer__nav a {
    color: #ccc;
    font-size: 0.95rem;
}

.footer__nav a:hover {
    color: var(--color-primary);
}

.footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
}

.footer__bottom a {
    font-size: 0.9rem;
    color: #ccc;
}

.footer__bottom a:hover {
    color: #fff;
}

.footer__copyright {
    font-size: 0.8rem;
    color: #999;
    font-family: var(--font-en);
}

@media (max-width: 768px) {
    .footer__inner {
        flex-direction: column;
        gap: 40px;
    }

    .footer__links {
        flex-direction: column;
        gap: 20px;
    }

    .footer__bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

/* =========================================
   Animations (GSAP Utilities)
========================================= */
.js-fade-up {
    opacity: 0;
    transform: translateY(30px);
}

/* =========================================
   Lower Pages Components
========================================= */

/* Page Header (Subpage FV) */
.page-header {
    height: 40vh;
    min-height: 300px;
    background-color: var(--color-bg-dark);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: var(--header-height);
    overflow: hidden;
}

.page-header__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0.6;
    z-index: 0;
}

.page-header__title {
    position: relative;
    z-index: 1;
    color: #fff;
    font-family: var(--font-en);
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-align: center;
}

.page-header__subtitle {
    display: block;
    font-size: 1rem;
    font-family: var(--font-ja);
    font-weight: 500;
    margin-top: 10px;
    letter-spacing: 0.05em;
}

@media (max-width: 768px) {
    .page-header {
        height: 30vh;
    }

    .page-header__title {
        font-size: 2rem;
    }
}

/* Breadcrumbs */
.breadcrumb {
    background-color: var(--color-bg-light);
    padding: 15px 0;
    font-size: 0.85rem;
    color: var(--color-text-light);
}

/* FVスライダーがある下層ページ用：page-headerが非表示のため、パンくずにヘッダー分の余白を追加 */
.breadcrumb--with-fv {
    margin-top: var(--header-height);
}

.breadcrumb__list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.breadcrumb__item {
    display: flex;
    align-items: center;
}

.breadcrumb__item:not(:last-child)::after {
    content: '>';
    margin-left: 10px;
    font-family: var(--font-en);
}

.breadcrumb__item a {
    color: var(--color-primary);
    text-decoration: underline;
}

.breadcrumb__item a:hover {
    text-decoration: none;
}

/* Typography for Content Area */
.content-area {
    padding: 80px 0;
}

.heading-primary {
    font-size: 2.2rem;
    color: var(--color-primary);
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--color-primary);
    font-weight: 700;

    @media screen and (max-width: 768px) {
        font-size: 1.8rem;
    }
}

.heading-secondary {
    font-size: 1.6rem;
    color: var(--color-text);
    margin-top: 50px;
    margin-bottom: 25px;
    padding-left: 15px;
    border-left: 5px solid var(--color-primary);
    font-weight: 700;
}

.heading-tertiary {
    font-size: 1.2rem;
    color: var(--color-text);
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: 700;
}

.content-area p {
    margin-bottom: 20px;
    line-height: 1.8;
}

.content-area ul.list-disc {
    list-style: disc;
    margin-left: 25px;
    margin-bottom: 20px;
}

.content-area ul.list-disc li {
    margin-bottom: 10px;
}

/* Data Table */
.data-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 40px;
    background-color: #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border-radius: 8px;
    overflow: hidden;

    p {
        margin-bottom: 0;
    }
}

.data-table th,
.data-table td {
    padding: 20px;
    border-bottom: 1px solid #eee;
    text-align: left;
}

.data-table th {
    width: 30%;
    background-color: var(--color-bg-light);
    font-weight: 700;
    color: var(--color-primary);
}

.data-table tr:last-child th,
.data-table tr:last-child td {
    border-bottom: none;
}

@media (max-width: 768px) {

    .data-table th,
    .data-table td {
        display: block;
        width: 100%;
    }

    .data-table th {
        padding-bottom: 10px;
        background-color: transparent;
        color: var(--color-primary);
        border-bottom: none;
    }

    .data-table td {
        padding-top: 0;
        padding-bottom: 20px;
        margin-bottom: 10px;
    }

    .data-table tr:not(:last-child) {
        border-bottom: 1px dashed #ddd;
    }
}

/* =========================================
   Creative Sections (Features, Gallery, Hero, Timeline, Tabs)
========================================= */

/* Feature Grid (4つの特徴など) */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

@media (max-width: 768px) {
    .feature-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

.feature-card {
    background: #fff;
    padding: 50px 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.02);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.feature-card__number {
    font-family: var(--font-en);
    font-size: 5rem;
    font-weight: 700;
    color: rgba(207, 17, 38, 0.05);
    /* primary color with low opacity */
    position: absolute;
    top: 10px;
    right: 20px;
    line-height: 1;
    pointer-events: none;
    transition: all 0.4s ease;
}

.feature-card:hover .feature-card__number {
    color: rgba(207, 17, 38, 0.1);
    transform: scale(1.1);
}

.feature-card__title {
    font-size: 1.5rem;
    color: var(--color-primary);
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.feature-card__text {
    color: var(--color-text-light);
    line-height: 1.8;
    position: relative;
    z-index: 1;
}


/* Content Hero (1カラム 画像+テキスト) */
.content-hero {
    position: relative;
    margin-bottom: 80px;
}

.content-hero__image {
    width: 100%;
    height: 60vh;
    min-height: 400px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.content-hero__image .img-placeholder,
.content-hero__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.content-hero__box {
    width: 90%;
    max-width: 800px;
    background: #fff;
    padding: 60px;
    border-radius: 15px;
    margin: -100px auto 0;
    position: relative;
    z-index: 2;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    text-align: center;
}

.content-hero__title {
    font-size: 2rem;
    color: var(--color-primary);
    margin-bottom: 20px;
    white-space: break-spaces;
}

.content-hero__text {
    color: var(--color-text-light);
    line-height: 1.8;
    text-align: left;
}

@media (max-width: 768px) {
    .content-hero__image {
        height: 52vw;
        border-radius: 10px;
        min-height: auto;
    }

    .content-hero__box {
        width: 95%;
        padding: 40px 20px;
        margin: -50px auto 0;
    }

    .content-hero__title {
        font-size: 1.5rem;
    }
}

/* Vertical Timeline (縦型タイムライン) */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 20px;
    /* 左側にラインを配置 */
    width: 2px;
    background-color: var(--color-primary);
    opacity: 0.3;
}

.timeline__item {
    position: relative;
    padding-left: 60px;
    margin-bottom: 50px;
}

.timeline__item:last-child {
    margin-bottom: 0;
}

.timeline__dot {
    position: absolute;
    left: 11px;
    top: 5px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: var(--color-primary);
    border: 4px solid #fff;
    box-shadow: 0 0 0 2px rgba(207, 17, 38, 0.2);
}

.timeline__date {
    font-family: var(--font-en);
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 10px;
    display: inline-block;
    background: rgba(207, 17, 38, 0.05);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
}

.timeline__title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.timeline__text {
    color: var(--color-text-light);
}

@media (max-width: 768px) {
    .timeline::before {
        left: 15px;
    }

    .timeline__dot {
        left: 6px;
    }

    .timeline__item {
        padding-left: 45px;
        margin-bottom: 40px;
    }

    .timeline__title {
        font-size: 1.2rem;
    }
}

/* Tabs UI (タブ切り替え) */
.tabs {
    margin-bottom: 60px;
}

.tabs__nav {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.tabs__btn {
    padding: 15px 40px;
    background: transparent;
    border: 2px solid #ddd;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-text-light);
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-ja);
}

.tabs__btn:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.tabs__btn.is-active {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: #fff;
}

.tabs__content {
    display: none;
    animation: fadeIn 0.5s ease;
}

.tabs__content.is-active {
    display: block;
}

.in-if-iv {
    .tabs__btn {
        &:nth-child(2) {
            --color-primary: #31006f;
        }

        &:nth-child(3) {
            --color-primary: #333;
        }
    }

    [data-content="tab-2"] {
        --color-primary: #31006f;
    }

    [data-content="tab-3"] {
        --color-primary: #333;
    }

}


@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .tabs__nav {
        gap: 10px;
    }

    .tabs__btn {
        padding: 12px 25px;
        font-size: 0.9rem;
        flex: 1 1 calc(50% - 10px);
        text-align: center;
    }
}

/* =========================================
   Tabs Image Layout (タブ内画像レイアウト)
========================================= */
.tabs__single-image {
    width: 100%;
}

.tabs__single-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    display: block;
    object-fit: cover;
}

.tabs__single-image .img-placeholder {
    width: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 12px;
}

.tabs__single-image .img-placeholder:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12);
}

/* =========================================
   Single Image (画像のみ1カラム)
========================================= */
.single-image {
    width: 100%;
    margin-bottom: 60px;
}

.single-image img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    display: block;
    object-fit: cover;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.single-image img:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.12);
}

.single-image .img-placeholder {
    width: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 15px;
}

.single-image .img-placeholder:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.12);
}

@media (max-width: 768px) {
    .single-image {
        margin-bottom: 40px;
    }
}

/* =========================================
   Senior Staff Page FV (先輩社員個別FV)
   ========================================= */
.staff-fv {
    margin-top: var(--header-height);
    position: relative;
    width: 100%;
    height: 60vh;
    min-height: 480px;
    background-color: var(--color-bg-dark);
    overflow: hidden;
}

.staff-fv__picture {
    width: 100%;
    height: 100%;
    display: block;
}

.staff-fv__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 25%;
    display: block;
}

/* Overlay for ensuring text readability */
.staff-fv::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0.15) 100%);
    z-index: 1;
    pointer-events: none;
}

.staff-fv__content {
    position: absolute;
    bottom: 12%;
    left: 0;
    width: 100%;
    z-index: 2;
    color: #fff;
}

.staff-fv__tag {
    display: inline-block;
    background-color: var(--color-primary);
    color: #fff;
    font-family: var(--font-en);
    font-size: 0.85rem;
    font-weight: 700;
    padding: 6px 18px;
    border-radius: 20px;
    margin-bottom: 15px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.staff-fv__title {
    font-family: var(--font-en);
    font-size: clamp(2.5rem, 5.5vw, 4.5rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: 0.05em;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    margin-bottom: 15px;
}

.staff-fv__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px 30px;
    font-size: 1.1rem;
    font-weight: 500;
    color: #eee;
}

.staff-fv__meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.staff-fv__meta-label {
    font-size: 0.75rem;
    background-color: rgba(255, 255, 255, 0.15);
    padding: 2px 8px;
    border-radius: 4px;
    font-family: var(--font-en);
    font-weight: 600;
    color: #fff;
}

/* Scroll indicator on FV */
.staff-fv__scroll {
    position: absolute;
    bottom: 30px;
    right: 5%;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-family: var(--font-en);
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    writing-mode: vertical-rl;
}

.staff-fv__scroll::after {
    content: '';
    width: 1px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.5);
    animation: scrollLine 2s infinite ease-in-out;
}

@keyframes scrollLine {
    0% {
        transform: scaleY(0);
        transform-origin: top;
    }

    50% {
        transform: scaleY(1);
        transform-origin: top;
    }

    50.1% {
        transform: scaleY(1);
        transform-origin: bottom;
    }

    100% {
        transform: scaleY(0);
        transform-origin: bottom;
    }
}

/* Responsive adjustment for Mobile (768px and down) */
@media (max-width: 768px) {
    .staff-fv {
        height: 75dvh;
        min-height: auto;
    }

    .staff-fv__image {
        object-position: center 30%;
    }

    .staff-fv__content {
        bottom: 8%;
    }

    .staff-fv__meta {
        font-size: 0.95rem;
        gap: 10px 20px;
    }

    .staff-fv__scroll {
        display: none;
        /* Hide on mobile to save space */
    }
}

/* =========================================
   SNS Section (SNSリンクまとめセクション)
   ========================================= */
.sns-section {
    background-color: var(--color-bg-light);
}

.sns-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 50px;
}

.sns-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #fff;
    padding: 30px 40px;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.03);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s ease, border-color 0.4s ease;
    width: calc(25% - 22.5px);
    min-width: 180px;
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.sns-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(207, 17, 38, 0.08);
    border-color: rgba(207, 17, 38, 0.15);
}

.sns-card__icon-wrapper {
    width: 70px;
    height: 70px;
    border-radius: 18px;
    overflow: hidden;
    margin-bottom: 18px;
    background-color: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.02);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.sns-card:hover .sns-card__icon-wrapper {
    transform: scale(1.08) rotate(3deg);
}

.sns-card__icon {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sns-card__icon-placeholder {
    font-family: var(--font-en);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--color-primary);
}

.sns-card__title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-text);
    transition: color 0.3s ease;
}

.sns-card:hover .sns-card__title {
    color: var(--color-primary);
}

@media (max-width: 992px) {
    .sns-card {
        width: calc(33.333% - 20px);
    }
}

@media (max-width: 576px) {
    .sns-grid {
        gap: 15px;
    }

    .sns-card {
        width: calc(50% - 7.5px);
        padding: 20px 15px;
        min-width: auto;
        border-radius: 12px;
    }

    .sns-card__icon-wrapper {
        width: 55px;
        height: 55px;
        border-radius: 12px;
        margin-bottom: 12px;
    }

    .sns-card__title {
        font-size: 0.9rem;
    }
}