@charset "UTF-8";

/* ----------------------------------------------------
       1.TOP
    ---------------------------------------------------- */

/* Hero Section with Video */
.hero-section {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    max-height: 1080px;
    flex-shrink: 0;
    overflow: hidden;
    background-color: #000;
}

.hero-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

/* 共通 */
.hero-video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-pc {
    display: block;
}

.video-sp {
    display: none;
}

/* スマホ */
@media screen and (max-width: 768px) {
    .video-pc {
        display: none;
    }

    .video-sp {
        display: block;
    }
}

/* スクロールダウンの位置 */
.scroll {
    position: absolute;
    left: 50%;
    bottom: 10px;
    transform: translateX(-50%);
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: #fff;
    z-index: 10;
}

.scroll span {
    font-family: "Poppins", sans-serif;
    writing-mode: vertical-rl;
    color: #fff;
    font-size: 20px;
    font-weight: 600;
}

/* 線 */
.scroll-line {
    position: relative;
    width: 2px;
    height: 130px;
    background: rgba(255, 255, 255, 0.3);
    /* 薄い白 */
}

/* 動く線 */
.scroll-line::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    transform: scaleY(0);
    transform-origin: top;
    animation: scroll 2s infinite;
}

@media screen and (max-width: 768px) {
    .scroll {
        left: auto;
        right: 16px;
        transform: none;
        bottom: 20px;
    }

    .scroll span {
        font-size: 14px;
    }

    .scroll-line {
        height: 90px;
    }
}

/* アニメーション（微調整） */
@keyframes scroll {
    0% {
        transform: scaleY(0);
        transform-origin: top;
    }

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

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

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

/* Concept Section */
#concept {
    position: relative;
    padding: 160px 0;
    min-height: 1080px;
    background: linear-gradient(to bottom,
            rgba(0, 0, 0),
            rgba(0, 0, 0, 0.8));
    /*background-color: rgba(253, 235, 212, 0.3);*/
    /*border-radius: 100px 0 100px 0px;*/
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.concept-center-content {
    position: relative;
    z-index: 50;
    text-align: center;
    width: 800px;
    padding: 20px;
    max-width: 90%;
}

.concept-label {
    color: #eb6729;
    font-weight: 700;
    letter-spacing: 0.3em;
    margin-bottom: 32px;
    font-size: 40px;
    font-family: "Poppins", sans-serif;
    /*text-shadow: 0 0 15px rgba(245, 245, 245, 0.9), 0 0 8px rgba(255, 255, 255, 0.8);*/
}

.brush-font {
    font-family: 'Yu Gothic', 'YuGothic', 'Hiragino Kaku Gothic ProN', 'Meiryo', sans-serif;
    font-weight: 900;
    color: #fff;
    letter-spacing: 0.3em;
    font-size: 42px;
    line-height: 1.4;
    /*text-shadow: 0 0 20px rgba(245, 245, 245, 0.9), 0 0 10px rgba(255, 255, 255, 0.8);*/
    margin-bottom: 40px;
}

.concept-description {
    font-size: 16px;
    line-height: 2.8;
    color: #fff;
    font-weight: 500;
    text-align: justify;
    text-align-last: center;
    /*text-shadow: 0 0 15px rgba(245, 245, 245, 0.9), 0 0 8px rgba(255, 255, 255, 0.8);*/
}

/* our conceptの写真 */
.scatter-img-wrapper {
    position: absolute;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);

    filter: grayscale(100%);
    z-index: 10;
    background-color: #ddd;
    cursor: pointer;

    opacity: 0;

    transform:
        translateY(60px)
        scale(0.96)
        rotate(var(--rotate));

    transition:
        opacity 1s ease,
        transform 1s cubic-bezier(.22,.61,.36,1),
        filter .5s ease;
}

.scatter-img-wrapper::after {
    content: "";
    position: absolute;
    inset: 0;
    background-color: rgba(128, 128, 128, 0.3);
    pointer-events: none;
}

.scatter-img-wrapper.is-active {
    opacity: 1;

    transform:
        translateY(0)
        scale(1)
        rotate(var(--rotate));
}

.scatter-img-wrapper:hover {
    transform:
        translateY(0)
        scale(1.03)
        rotate(0deg);

    filter: grayscale(2%);
    z-index: 60;
}

.scatter-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.scatter-1 {
    top: 8%;
    left: 43%;
    width: 340px;
    height: 220px;
    --rotate: 3deg;
}

.scatter-2 {
    top: 15%;
    right: 18%;
    width: 300px;
    height: 200px;
    --rotate: 8deg;
}

.scatter-3 {
    top: 35%;
    right: 8%;
    width: 320px;
    height: 240px;
    --rotate: 5deg;
}

.scatter-4 {
    bottom: 10%;
    right: 18%;
    width: 280px;
    height: 350px;
    --rotate: -6deg;
}

.scatter-5 {
    bottom: 5%;
    left: 40%;
    width: 360px;
    height: 240px;
    --rotate: -3deg;
}

.scatter-6 {
    bottom: 15%;
    left: 18%;
    width: 300px;
    height: 200px;
    --rotate: -8deg;
}

.scatter-7 {
    top: 45%;
    left: 8%;
    width: 320px;
    height: 240px;
    --rotate: -5deg;
}

.scatter-8 {
    top: 15%;
    left: 18%;
    width: 280px;
    height: 280px;
    --rotate: 6deg;
}

/*スクロール*/
.horizontal-section {
    height: 40vh;
    position: relative;
}

.horizontal-sticky {
    position: relative; /* sticky不要 */
    height: 40vh;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.horizontal-sticky::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1;
}

.horizontal-text {
    display: flex;
    gap: 80px;
    white-space: nowrap;
    z-index: 2;
    animation: marquee 18s linear infinite;
    will-change: transform;
}

.horizontal-text span {
    font-family: "Poppins", sans-serif;
    letter-spacing: 0.2em;
    font-size: clamp(80px, 10vw, 180px);
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
}

@keyframes marquee {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

/*企業理念へ*/
.philo-hero {
    display: grid;
    grid-template-columns: 1.4fr 0.9fr;
    gap: 60px;
    align-items: start;
    padding: 300px 7%;
}

.philo-hero__text {
    padding-top: 20px;
}

.philo-hero__title {
    margin: 0 0 40px;
    font-family: "Poppins", sans-serif;
    font-size: clamp(64px, 9vw, 150px);
    font-weight: 500;
    line-height: 0.92;
    letter-spacing: 0.01em;
    color: #111;
}

.philo-hero__title span {
    display: inline-block;
}

.philo-hero__desc {
    margin: 0 0 36px;
    font-size: 28px;
    line-height: 1.9;
    font-weight: 700;
    color: #111;
}

.philo-hero__image-area {
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
}

.philo-hero__image {
    display: block;
    width: 100%;
    max-width: 420px;
    height: auto;
    object-fit: contain;
}

@media screen and (max-width: 768px) {
    .philo-hero {
        grid-template-columns: 1fr;
        gap: 28px;
        padding: 80px 20px;
    }

    .philo-hero__text {
        order: 2;
        padding-top: 0;
    }

    .philo-hero__image-area {
        order: 1;
        justify-content: center;
    }

    .philo-hero__title {
        font-size: clamp(42px, 15vw, 72px);
        line-height: 0.98;
        margin-bottom: 24px;
    }

    .philo-hero__desc {
        font-size: 14px;
        line-height: 1.8;
        margin-bottom: 24px;
    }

    .philo-hero__image {
        max-width: 280px;
    }
}

.company-visual {
    position: relative;
    background: linear-gradient(90deg, #111 0%, #0a0a0a 100%);
    color: #fff;
    overflow: hidden;
    padding: 140px 0 120px;
}

.company-visual__inner {
    position: relative;
    width: min(1400px, calc(100% - 80px));
    margin: 0 auto;
}

.company-visual__top-image {
    position: absolute;
    top: 0;
    left: 80px;
    width: 38%;
    max-width: 520px;
    z-index: 1;
    filter: grayscale(100%);
}

.company-visual__top-image img {
    width: 100%;
    display: block;
    border-radius: 6px;
}

.company-visual__label {
    font-family: "Poppins", sans-serif;
    position: relative;
    z-index: 2;
    margin-left: 48%;
    margin-bottom: 18px;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.2em;
}

.company-visual__title {
    position: relative;
    z-index: 2;
    margin: 0;
    padding-top: 120px;
    font-family: "Poppins", sans-serif;
    font-size: clamp(72px, 10vw, 170px);
    font-weight: 500;
    line-height: 0.88;
    letter-spacing: 0.01em;
    color: rgba(255, 255, 255, 0.95);
}

.company-visual__title span {
    display: block;
}

.company-visual__title span:nth-child(1) {
    padding-left: 22%;
}

.company-visual__title span:nth-child(2) {
    padding-left: 42%;
}

.company-visual__title span:nth-child(3) {
    padding-left: 22%;
}

.company-visual__content {
    display: grid;
    grid-template-columns: 1.1fr 0.7fr;
    gap: 60px;
    align-items: start;
    margin-top: 40px;
}

.company-visual__text {
    padding-left: 56%;
    max-width: 760px;
}

.company-visual__lead {
    font-size: 28px;
    font-weight: 700;
    line-height: 1.6;
    margin: 0 0 28px;
}

.company-visual__desc {
    line-height: 2;
    margin: 0 0 36px;
    color: rgba(255, 255, 255, 0.92);
}

.company-visual__link a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 220px;
    height: 58px;
    border-radius: 999px;
    background: #000;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 0.05em;
    transition: transform 0.3s ease, background 0.3s ease;
}

.company-visual__link a:hover {
    transform: translateY(-2px);
    background: #1a1a1a;
}

.company-visual__side-image {
    display: flex;
    justify-content: flex-end;
    margin-top: -40px;
    filter: grayscale(100%);
}

.company-visual__side-image img {
    width: 100%;
    max-width: 330px;
    display: block;
    border-radius: 6px;
}

.js-fade-up {
    opacity: 0;
    transform: translateY(60px);
    transition: opacity 1s ease, transform 1s ease;
}

.js-fade-up.is-active {
    opacity: 1;
    transform: translateY(0);
}

.js-title-reveal span {
    opacity: 0;
    transform: translateY(80px);
    transition: opacity 0.9s ease, transform 0.9s ease;
}

.js-title-reveal.is-active span {
    opacity: 1;
    transform: translateY(0);
}

.js-title-reveal.is-active span:nth-child(1) {
    transition-delay: 0.05s;
}

.js-title-reveal.is-active span:nth-child(2) {
    transition-delay: 0.18s;
}

.js-title-reveal.is-active span:nth-child(3) {
    transition-delay: 0.31s;
}

@media screen and (max-width: 1200px) {
    .company-visual__top-image {
        left: 20px;
        width: 34%;
    }

    .company-visual__label {
        margin-left: 42%;
    }

    .company-visual__title span:nth-child(1),
    .company-visual__title span:nth-child(2),
    .company-visual__title span:nth-child(3) {
        padding-left: 0;
    }

    .company-visual__text {
        padding-left: 35%;
    }
}

@media screen and (max-width: 768px) {
    .company-visual {
        padding: 90px 0 80px;
    }

    .company-visual__inner {
        width: calc(100% - 32px);
    }

    .company-visual__top-image {
        position: relative;
        top: auto;
        left: auto;
        width: 100%;
        max-width: 100%;
        margin-bottom: 20px;
    }

    .company-visual__label {
        margin-left: 0;
        margin-bottom: 16px;
        font-size: 14px;
    }

    .company-visual__title {
        padding-top: 0;
        font-size: clamp(54px, 16vw, 86px);
        line-height: 0.95;
        margin-bottom: 26px;
    }

    .company-visual__content {
        grid-template-columns: 1fr;
        gap: 26px;
        margin-top: 0;
    }

    .company-visual__text {
        padding-left: 0;
    }

    .company-visual__lead {
        font-size: 22px;
        margin-bottom: 18px;
    }

    .company-visual__desc {
        font-size: 14px;
        line-height: 2;
        margin-bottom: 24px;
    }

    .company-visual__side-image {
        justify-content: center;
        margin-top: 0;
    }

    .company-visual__side-image img {
        max-width: 100%;
    }

    .company-visual__link a {
        min-width: 180px;
        height: 50px;
        font-size: 14px;
    }
}

/*カラム*/
.link-gate-section {
    position: relative;
    overflow: hidden;
    /*background: #f6f6f4;*/
    min-height: 100vh;
    padding: 140px 0 110px;
}

.link-gate-bg {
    position: absolute;
    left: 50%;
    bottom: -10px;
    transform: translateX(-50%);
    width: min(1400px, 92vw);
    opacity: 0.18;
    pointer-events: none;
    z-index: 1;
}

.link-gate-bg img {
    display: block;
    width: 100%;
    height: auto;
}

.link-gate-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.2); /* ←白ぼかし感 */
}

.link-gate-inner {
    position: relative;
    z-index: 2;
    width: min(1320px, calc(100% - 80px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 70px;
    align-items: start;
}

.link-gate-lead {
    max-width: 520px;
    padding-top: 20px;
}

.link-gate-sub {
    font-size: 40px;
    font-weight: 900;
    letter-spacing: 0.2em;
    color: #eb6729;
    margin: 0 0 22px;
}

.link-gate-heading {
    font-size: 43px;
    line-height: 1.35;
    font-weight: 700;
    color: #111;
    margin: 0 0 32px;
}

.link-gate-desc {
    line-height: 2;
    margin: 0;
}

.link-gate-cards {
    display: flex;
    flex-direction: column;
    gap: 28px;
    padding-top: 80px;
}

.link-gate-card {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    min-height: 360px;
    border: 1px solid #666;
    display: block;
    text-decoration: none;
}

/* 写真を枠いっぱいに敷く */
.card-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
    filter: grayscale(100%);
}

/* 写真の上にうっすら暗さをのせる */
.card-overlay {
    position: absolute;
    inset: 0;
    background: rgba(128, 128, 128, 0.15);
    z-index: 2;
}

/* 文字 */
.link-gate-card-content {
    position: absolute;
    left: 40px;
    bottom: 34px;
    z-index: 3;
}

/* 矢印 */
.link-gate-card-arrow {
    position: absolute;
    right: 40px;
    bottom: 30px;
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: #111;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
}
.link-gate-card-text {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.link-gate-card-en {
    font-family: "Poppins", sans-serif;
    font-size: 36px;
    letter-spacing: 0.18em;
    font-weight: 900;
    color: #eb6729;
    margin: 0;
    text-shadow: 0 2px 6px rgba(0,0,0,0.4);
}

.link-gate-card-ja {
    font-size: 14px;
    line-height: 1.3;
    font-weight: 700;
    color: #fff;
    margin: 0;
}


/* ←これ追加 */
.link-gate-card-arrow i {
    color: #fff;
    transition: transform 0.3s ease;
}

/* ホバーで矢印だけ動かす */
.link-gate-card:hover .link-gate-card-arrow i {
    transform: translateX(4px);
}

/* Split Section */
.split-section-wrapper {
    padding: 260px 0;
}

.split-section {
    display: flex;
    width: 100%;
    min-height: 600px;
    position: relative;
    margin-bottom: 300px;
}

.split-section:last-child {
    margin-bottom: 0;
}

.split-section:nth-child(even) {
    flex-direction: row-reverse;
}

.split-text-area {
    width: 50%;
    padding: 0 100px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-sizing: border-box;
}

.split-image-area {
    width: 50%;
    height: 600px;
    overflow: hidden;
    position: relative;
}

.split-image-area::after {
    content: "";
    position: absolute;
    inset: 0;
    background-color: rgba(128, 128, 128, 0.3);
    pointer-events: none;
}


.split-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transition: transform 1s cubic-bezier(0.165, 0.84, 0.44, 1), filter 0.5s;
}

.split-section:hover .split-image {
    transform: scale(1.02);
    filter: grayscale(10%);
}

.split-title-ja {
    font-family: "Noto Serif JP", serif;
    letter-spacing: 0.2em;
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 32px;
    color: #000;
    line-height: 1.3;
}

.split-title-sub {
    font-family: "Poppins", sans-serif;
    font-size: 78px;
    font-weight: 900;
    color: #111;
    margin-bottom: 40px;
    letter-spacing: 0.2em;
}

.black{
    color: #111;
}

.split-desc {
    font-size: 15px;
    line-height: 2.0;
    color: #333;
    margin-bottom: 60px;
    text-align: justify;
}

/*.minimal-btn {
    display: inline-flex;
    align-items: center;
    font-family: "Poppins", sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: #eb6729;
    text-decoration: none;
    letter-spacing: 0.1em;
    position: relative;
    padding-bottom: 8px;
    border-bottom: 2px solid #ddd;
    width: fit-content;
    transition: border-color 0.3s;
}

.minimal-btn:hover {
    border-color: #eb6729;
    color: #eb6729;
}*/

/* Gate Section */
.gate-section {
    display: flex;
    width: 100%;
}

.gate-card {
    width: 50%;
    display: block;
    position: relative;
    text-decoration: none;
    height: 500px;
    overflow: hidden;
    border-right: 1px solid rgba(255, 255, 255, 0.5);
}

.gate-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 1s;
    filter: grayscale(100%);
}

.gate-card:hover .gate-bg {
    /*transform: scale(1.05);*/
    filter: grayscale(30%);
}

.gate-content {
    position: relative;
    z-index: 10;
    padding: 80px 100px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 100%;
    background-color: rgba(128, 128, 128, 0.4);
    transition: opacity 0.5s;
    box-sizing: border-box;
}

.gate-card:hover .gate-content {
    opacity: 1;
}

.high-visual__label {
    font-family: "Poppins", sans-serif;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.2em;
}

.gate-title {
    font-family: "Noto Sans JP", sans-serif;
    font-weight: 500;
    font-size: 40px;
    color: #fff;
    margin-bottom: 24px;
}

.gate-text {
    color: #fff;
    margin-bottom: 32px;
    line-height: 1.8;
    font-size: 14px;
}

/*2枠のところ*/
.gate-link {
    font-family: "Poppins", sans-serif;
    color: #eb6729;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.2em;
    display: inline-flex;
    width: fit-content;
    align-items: center;
    transition: color 0.3s;
    background-color: #fff;
    padding: 12px 20px;
    border-radius: 4px;
}

/*縦3つのところ*/
.gate-link1 a {
    font-family: "Poppins", sans-serif;
    font-size: 12px;
    color: #eb6729;
    font-weight: 600;
    letter-spacing: 0.2em;
    display: flex;
    align-items: center;
    transition: color 0.3s;
    text-decoration: none;
}


.gate-card:hover .gate-link .gate-link1 {
    color: #eb6729;
}

.gate-arrow {
    margin-left: 16px;
    transition: transform 0.3s;
}

.gate-card:hover .gate-arrow {
    transform: translateX(8px);
}

.gate-link1 a:hover .gate-arrow {
    transform: translateX(8px);
    text-decoration: none;
}

@media (max-width: 1024px) {
    .link-gate-section {
        min-height: auto;
        padding: 80px 0;
    }

    .link-gate-inner {
        width: min(100% - 48px, 100%);
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .link-gate-lead {
        max-width: 100%;
    }

    .link-gate-heading {
        font-size: 34px;
        line-height: 1.5;
        margin-bottom: 20px;
    }

    .link-gate-desc {
        font-size: 15px;
        line-height: 1.9;
    }

    .link-gate-cards {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .link-gate-card {
        min-height: 260px;
    }

    .link-gate-card-en {
        font-size: 28px;
    }

    .link-gate-card-ja {
        font-size: 13px;
    }

    .link-gate-card-content {
        left: 24px;
        bottom: 24px;
    }

    .link-gate-card-arrow {
        right: 24px;
        bottom: 24px;
        width: 50px;
        height: 50px;
        border-radius: 14px;
    }
}

@media (max-width: 767px) {
    .link-gate-section {
        padding: 60px 0;
    }

    .link-gate-inner {
        width: calc(100% - 32px);
        gap: 32px;
    }

    .link-gate-heading {
        font-size: 28px;
        line-height: 1.5;
    }

    .link-gate-desc {
        font-size: 14px;
        line-height: 1.8;
    }

    .link-gate-cards {
        gap: 16px;
    }

    .link-gate-card {
        min-height: 280px;
        border-radius: 18px;
    }

    .link-gate-card-content {
        left: 20px;
        bottom: 20px;
    }

    .link-gate-card-en {
        font-size: 22px;
        letter-spacing: 0.12em;
    }

    .link-gate-card-ja {
        font-size: 12px;
    }

    .link-gate-card-arrow {
        right: 20px;
        bottom: 20px;
        width: 44px;
        height: 44px;
        border-radius: 12px;
    }

    .high-visual__label {
        font-size: 12px;
        margin-bottom: 14px;
    }
}

/* Instagram */
.insta-section {
    padding-top: 260px;
    padding-bottom: 150px;
    position: relative;
    overflow: hidden;
}

.insta-header {
    text-align: center;
    margin-bottom: 80px;
    position: relative;
}

.insta-title {
    font-family: 'Noto Serif', serif;
    font-weight: 900;
    font-size: 42px;
    color: #eb6729;
    letter-spacing: 0.2em;
    line-height: 1;
    margin-bottom: -32px;
    position: relative;
    z-index: 0;
}

.insta-hashtags {
    position: relative;
    top: 40px;
    display: flex;
    gap: 10px;
    /* 間隔 */
    flex-wrap: wrap;
    /* スマホで折り返す */
    justify-content: center;
}

.insta-hashtag {
    background-color: #fff;
    border: 1px solid #666;
    border-radius: 999px;
    /* しっかり丸く */
    padding: 6px 14px;
    font-size: 14px;
    font-weight: 600;
    color: #1f2937;
    white-space: nowrap;
    /* 改行防止 */
}

.insta-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.insta-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    aspect-ratio: 1;
    transition: transform 0.7s;
}

.insta-grid-item {
    overflow: hidden;
}

.insta-grid-item:hover .insta-img {
    transform: scale(1.1);
}


/* Responsive Styles */
@media screen and (max-width: 1200px) {
    .brush-font {
        font-size: 52px;
    }

    .split-text-area {
        padding: 0 50px;
    }

    .gate-content {
        padding: 60px 50px;
    }
}

@media screen and (max-width: 768px) {
    .hero-section {
        height: 80vh;
        min-height: 500px;
    }

    .brush-font {
        font-size: 36px;
        margin-bottom: 24px;
    }

    .concept-description {
        font-size: 14px;
        line-height: 1.6;
        text-align: center;
        text-align-last: auto;
    }

    .concept-label {
        margin-bottom: 20px;
        font-size: 12px;
    }

    #concept {
        padding: 100px 0;
        min-height: auto;
        flex-direction: column;
    }

    /* Adjust scatter images for mobile - stack vertically or hide some */
    .scatter-img-wrapper {
        position: relative;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
        transform: none !important;
        margin: 10px;
        width: 80% !important;
        max-width: 300px;
        height: 200px !important;
        display: none;
    }

    .scatter-img-wrapper:nth-child(2),
    .scatter-img-wrapper:nth-child(5),
    .scatter-img-wrapper:nth-child(8) {
        display: block;
    }

    /* Show only a few images */
    .concept-center-content {
        margin-bottom: 40px;
    }

    .split-section-wrapper {
        padding: 80px 0;
    }

    .split-section {
        flex-direction: column !important;
        min-height: auto;
        margin-bottom: 80px;
    }

    .split-image-area {
        width: 100%;
        height: 300px;
        order: 1;
    }

    .split-text-area {
        width: 100%;
        padding: 40px 20px;
        order: 2;
        align-items: center;
        text-align: center;
    }

    .split-title-ja {
        font-size: 32px;
        margin-bottom: 20px;
    }

    .split-title-sub {
        margin-bottom: 20px;
    }

    .split-desc {
        text-align: center;
        font-size: 14px;
        margin-bottom: 32px;
    }

    .gate-section {
        flex-direction: column;
    }

    .gate-card {
        width: 100%;
        height: 400px;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.5);
    }

    .gate-content {
        padding: 40px 20px;
    }

    .gate-title {
        font-size: 32px;
    }

    .gate-text {
        font-size: 14px;
    }

    .insta-section {
        padding: 80px 0;
    }

    .insta-header {
        margin-bottom: 40px;
    }

    .insta-title {
        font-size: 42px;
    }

    .insta-hashtag{
        font-size: 12px;
        padding: 3px 8px;
        margin-bottom: 10px;
    }

    .insta-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .insta-grid-item {
        max-width: 400px;
        margin: 0 auto;
        width: 100%;
    }
}

/* ----------------------------------------------------
       2.企業理念
    ---------------------------------------------------- */
/* ===== パララックス ===== */
.philosophy-parallax {
    position: relative;
    height: 260vh;
    /* タイトル1画面 + テキスト1画面 */
    margin:200px 0;
}

.philosophy-bg {
    position: sticky;
    top: 0;
    height: 100vh;
    width: 100%;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.bg1 {
    background-image: url("../img/para1.jpg");
    z-index: 0;
}

.bg2 {
    background-image: url("../img/para2.jpg");
    z-index: 1;
    margin-top: -100vh;
    opacity: 0;
    transition: opacity 0.8s ease;
}

.philosophy-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
}

.philosophy-inner {
    position: absolute;
    inset: 0;
    z-index: 3;
}

/* これが上の“ため” */
.philosophy-top-space {
    height: 35vh;
}

.philosophy-page {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    box-sizing: border-box;
}

.philosophy-page-title {
    text-align: center;
}

.philosophy-title {
    color: #fff;
    font-size: clamp(32px, 5vw, 40px);
    line-height: 2;
    letter-spacing: 0.12em;
    font-weight: 700;
}

.philosophy-text-wrap {
    max-width: 700px;
    margin: 0 auto;
    padding: 70px;
    text-align: left;
    background-color: #eb6729;
    border-radius: 20px;
}

.rinen {
    font-family: "Poppins", sans-serif;
    font-weight: 800;
    color: #fff;
    font-size: 30px;
    letter-spacing: 0.2em;
}

.philosophy-sub {
    font-size: 14px;
    letter-spacing: 0.2em;
    color: #fff;
    margin-bottom: 100px;
}

.philosophy-text {
    color: #fff;
    font-size: 18px;
    line-height: 2.8;
    font-weight: 800;
}

/* ふわっと */
.fade-up {
    opacity: 0;
    transform: translateY(60px);
    transition: opacity 0.9s ease, transform 0.9s ease;
}

.fade-up.active {
    opacity: 1;
    transform: translateY(0);
}

@media screen and (max-width: 768px) {
    .philosophy-parallax {
        height: auto;
        margin: 100px 0;
    }

    .philosophy-bg {
        height: 100vh;
    }

    .bg2 {
        margin-top: -100vh;
    }

    .philosophy-inner {
        position: relative;
    }

    .philosophy-top-space {
        height: 10vh;
    }

    .philosophy-page {
        height: auto;
        min-height: 100vh;
        padding: 30px 20px;
    }

    .philosophy-title {
        font-size: 24px;
        line-height: 1.8;
        letter-spacing: 0.08em;
    }

    .text-img img {
        max-width: 120px;
        height: auto;
    }

    .philosophy-text-wrap {
        max-width: 100%;
        padding: 35px 20px;
        border-radius: 16px;
    }

    .rinen {
        font-size: 22px;
        letter-spacing: 0.12em;
    }

    .philosophy-sub {
        font-size: 12px;
        margin-bottom: 40px;
    }

    .philosophy-text {
        font-size: 14px;
        line-height: 2.1;
        font-weight: 700;
    }
}

/* Origin Story (Video & Text) */
.origin-section {
    max-width: 1400px;
    border-radius: 8px;
    padding: 40px 10px;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 30px;
    align-items: end;
    margin: 0 auto;
    box-sizing: border-box;
}

/* サムネ */
.video-thumbnail img {
    width: 100%;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.video-thumbnail img:hover {
    transform: scale(0.98); /* ←縮む */
}

/* モーダル全体 */
.video-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.8);
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

/* 動画ボックス */
.video-modal-content {
    position: relative;
    width: 70%;
    max-width: 900px;
}

/* 動画 */
.video-modal video {
    width: 100%;
    border-radius: 8px;
}

/* 閉じるボタン */
.close-btn {
    position: absolute;
    top: -40px;
    right: 0;
    font-size: 30px;
    color: #fff;
    cursor: pointer;
}

.origin-text {
    box-sizing: border-box;
}

.origin-text h3 {
    font-family: 'Yu Gothic', 'YuGothic', 'Hiragino Kaku Gothic ProN', 'Meiryo', sans-serif;
    font-size: 30px;
    font-weight: 900;
    padding-bottom: 30px;
}

.origin-text p {
    line-height: 1.8;
}

.origin-text p:last-child {
    margin-bottom: 0;
}

.ceo-name {
    text-align: right;
    margin-top: 40px;
    letter-spacing: 0.05em;
}

/*   Responsive Media Queries  */

/* Tablet (768px - 1200px) */
@media screen and (max-width: 1200px) {
    .slide-container {
        width: 100%;
        height: auto;
        min-height: 100vh;
    }

    .origin-section {
        padding: 60px 40px;
        gap: 30px;
        margin-bottom: 100px;
    }

    .origin-text h3 {
        font-size: 24px;
    }

    .origin-text p {
        font-size: 14px;
    }

    .attitude-section {
        gap: 40px;
        margin-bottom: 80px;
    }

    .attitude-card {
        padding: 40px;
    }
}

/* Mobile (768px or less) */
@media screen and (max-width: 768px) {

    /* 1 Column Layout for Sections */
    .origin-section {
        grid-template-columns: 1fr;
        padding: 10px;
        gap: 30px;
        margin-bottom: 60px;
    }

    .origin-text h3 {
        font-size: 20px;
    }

    .origin-text p {
        font-size: 14px;
    }

    .attitude-section {
        grid-template-columns: 1fr;
        gap: 24px;
        margin-bottom: 60px;
    }

    .attitude-card {
        padding: 24px;
        border-left-width: 5px;
    }

    .attitude-title {
        font-size: 22px;
    }

    .attitude-title i {
        font-size: 24px;
    }

    .attitude-desc {
        font-size: 14px;
    }
}

/* ----------------------------------------------------
       3.会社概要
    ---------------------------------------------------- */

/* タブ */
.tabs-wrapper {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.tabs-nav {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 140px;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 15px 50px;
    background-color: #fff;
    color: #666;
    border: 1px solid #666;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    outline: none;
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
}

.tab-btn:hover {
    border-color: #eb6729;
    color: #eb6729;
}

.tab-btn.active {
    background-color: #eb6729;
    color: #fff;
    border-color: #eb6729;
}

.tab-content {
    background-color: #fff;
    border-radius: 12px;
    /*box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);*/
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
    display: none;
    /* Hidden by default */
    min-height: 500px;
    width: 100%;
}

.tab-content.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

/* Overview Tab Content */
.overview-container {
    padding: 0 80px;
}

.company-table {
    margin: 0 auto;
    width: 80%;
    border-collapse: separate;
    border-spacing: 0 20px;
}

.company-table th {
    text-align: left;
    padding: 15px 20px;
    width: 40%;
    font-weight: 600;
    border-bottom: 1px solid #eee;
    vertical-align: top;
}

.company-table td {
    text-align: left;
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
    line-height: 2.2;
}

.client-note {
    margin-top: 20px;
    font-size: 0.8rem;
}

.data-label {
    display: inline-block;
    width: 8px;
    height: 8px;
    background-color: #eb6729;
    border-radius: 50%;
    margin-right: 10px;
    vertical-align: middle;
}

/* Location Tab Content */
.location-layout {
    display: flex;
    height: 600px;
}

.location-info {
    width: 40%;
    padding: 60px;
    background-color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-sizing: border-box;
}

.location-map {
    width: 60%;
    height: 100%;
    position: relative;
}

.location-map iframe {
    width: 100%;
    height: 100%;
    border: 0;
    /*filter: grayscale(100%);*/
}

.office-label {
    font-family: "Poppins", sans-serif;
    font-size: 14px;
    color: #eb6729;
    font-weight: 600;
    letter-spacing: 0.2em;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.office-name {
    font-size: 28px;
    font-weight: 600;
    margin: 0 0 50px;
    line-height: 1.2;
}

.info-row {
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid #f0f0f0;
}

.info-row:last-child {
    border-bottom: none;
}

.info-title {
    font-family: "Poppins", sans-serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.2em;
    color: #888;
    margin-bottom: 8px;
    display: block;
}

.info-value {
    font-size: 15px;
    font-weight: 500;
    line-height: 2.0;
    display: block;
}

.info-value i {
    color: #eb6729;
    margin-right: 10px;
    width: 20px;
    text-align: center;
}

/* Responsive Media Queries */

/* Tablet (max-width: 1200px) */
@media (max-width: 1200px) {

    .overview-container {
        padding: 40px;
    }

    .location-info {
        padding: 40px;
    }
}

/* Mobile (max-width: 768px) */
@media (max-width: 768px) {

    .tabs-nav {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        margin-bottom: 30px;
    }

    .tab-btn {
        width: 100%;
        padding: 12px 20px;
        justify-content: center;
        font-size: 16px;
        box-sizing: border-box;
        color: #666;
        text-decoration: none;
        -webkit-tap-highlight-color: transparent;
    }

    .tab-btn i {
        color: inherit;
    }

    .tab-btn.active {
        color: #fff;
    }

    /* Table Responsive */
    .overview-container {
        padding: 20px;
    }

    .company-table,
    .company-table tbody,
    .company-table tr,
    .company-table th,
    .company-table td {
        display: block;
        width: 100%;
        box-sizing: border-box;
    }

    .company-table tr {
        margin-bottom: 20px;
        border-bottom: 1px solid #eee;
        padding-bottom: 20px;
    }

    .company-table th {
        width: 100%;
        padding: 0 0 10px 0;
        border: none;
        color: #EA5514;
    }

    .company-table td {
        padding: 0;
        border: none;
    }

    .data-label {
        display: none;
    }

    /* Location Responsive */
    .location-layout {
        flex-direction: column;
        height: auto;
    }

    .location-info {
        width: 100%;
        padding: 30px;
    }

    .location-map {
        width: 100%;
        height: 300px;
    }

    .office-name {
        font-size: 28px;
        margin-bottom: 20px;
    }
}

/* ----------------------------------------------------
       4.事業内容
    ---------------------------------------------------- */

/* Service Section */
.service-section {
    display: flex;
    width: 100%;
    min-height: 600px;
    position: relative;
    background-color: #fff;
    padding-bottom: 200px;
}

/*.service-section:nth-child(even) {
    background-color: #f9f9f9;
}*/

.service-section.reverse {
    flex-direction: row-reverse;
}

.service-image-col {
    flex: 1;
    position: relative;
    /*overflow: hidden;*/
    min-height: 500px;
}

.service-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease, filter 0.7s ease;
    filter: grayscale(100%);
}

/*.service-section:hover .service-image {
    transform: scale(1.05);
    filter: grayscale(40%);
}*/

.service-text-col {
    flex: 1;
    padding: 80px 100px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

.section-number {
    font-family: 'Noto Serif', serif;
    font-size: 70px;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 20px;
}

.service-tags-label {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 15px;
    display: block;
}

.service-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 30px;
}

.service-tag {
    font-size: 14px;
    padding: 6px 16px;
    border: 1px solid #666;
    border-radius: 20px;
    font-weight: 500;
}

.service-desc {
    font-size: 16px;
    line-height: 1.8;
    text-align: justify;
}

.services-story {
    position: relative;
    background: #fff;
}

.services-story-inner {
    position: relative;
}

/* ===== 紙芝居用 追加 ===== */
.services-wrap {
    display: flex;
    width: 100%;
    align-items: flex-start;
}

.service-image-sticky {
    position: sticky;
    top: 0;
    height: 100vh;
}

.service-texts {
    flex: 1;
}

.service-text-block {
    min-height: 100vh;
    padding: 80px 100px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: #fff;
    box-sizing: border-box;
    opacity: 1;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.business-title-1 {
    font-family: 'Noto Serif', serif;
    font-size: 20px;
    font-weight: 900;
    color: #eb6729;
    letter-spacing: 0.2em;
    margin-bottom: 10px;
    text-transform: uppercase;
    text-align: center;
}

.business-title-2 {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 40px;
    line-height: 1.4;
    border-bottom: 1px solid #ddd;
    padding-bottom: 20px;
    text-align: center;
}


/* Strengths Section */
.strengths-section {
    padding: 160px 100px;
}

.strengths-layout {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 60px;
    align-items: start;
}

.strengths-left {
    padding-top: 20px;
}

.strength-lead {
    margin-top: 24px;
    line-height: 2;
}

.strengths-right {
    min-width: 0;
    overflow: visible;
}

.strengths-carousel-wrap {
    position: relative;
    overflow: visible;
    width: 70%;
    margin: 0 auto;
}

.strengths-carousel {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    scroll-snap-type: x mandatory;
    padding: 0;
}

.strengths-carousel::-webkit-scrollbar {
    display: none;
}

.strength-slide {
    flex: 0 0 100%; /*もともと72%*/
    max-width: 100%; /*もともと72%*/
    scroll-snap-align: center;
}

.strength-slide-image {
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border: 1px solid #666;
    border-radius: 24px;
    margin-bottom: 20px;
}

.strength-slide-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.strength-slide-body {
    margin: 0 30px;
}

.strength-slide-body h3 {
    color: #eb6729;
    font-size: 22px;
    font-weight: 900;
    margin-bottom: 12px;
}

.strength-slide-body p {
    font-size: 14px;
    line-height: 1.9;
    margin: 0;
}

.strength-nav {
    position: absolute;
    top: 35%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border: 1px solid #111;
    border-radius: 50%;
    background: #fff;
    color: #eb6729;
    font-size: 20px;
    cursor: pointer;
    z-index: 3;
    transition: all 0.3s ease;
}

.strength-nav:hover {
    background: #eb6729;
    color: #fff;
}

.strength-nav.prev {
    left: -60px;
}

.strength-nav.next {
    right: -60px;
}

.strengths-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 24px;
}

.strength-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #d8d8d8;
    border: none;
    padding: 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.strength-dot.active {
    background: #eb6729;
    transform: scale(1.15);
}

@media screen and (max-width: 1200px) {
    .strengths-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .strengths-left {
        max-width: 100%;
    }

    .strengths-right {
        width: 100%;
    }

    .strengths-carousel-wrap {
        width: 100%;
    }

}

@media screen and (max-width: 768px) {
    .strengths-section {
        padding: 70px 16px;
    }

    .strengths-layout {
        gap: 28px;
    }

    .strengths-left {
        padding-top: 0;
    }

    .strength-lead {
        margin-top: 16px;
        line-height: 1.9;
        font-size: 14px;
    }

    .strengths-carousel-wrap {
        padding: 0;
        overflow: visible;
    }

    .strengths-carousel {
        gap: 16px;
        overflow-x: auto;
        scroll-padding: 0 20px;
        padding: 0 20px;
        scroll-snap-type: x mandatory;
    }

    .strength-slide {
        flex: 0 0 100%;
        max-width: 100%;
        scroll-snap-align: center;
        background: #fff;
        border: 1px solid #666;
        border-radius: 24px;
        padding: 16px 16px 22px;
        box-sizing: border-box;
    }

    .strength-slide-image {
        width: 100%;
        aspect-ratio: 16 / 10;
        margin-bottom: 18px;
        border-radius: 16px;
        border: none;
    }

    .strength-slide-body {
        margin: 0;
    }

    .strength-slide-body h3 {
        font-size: 20px;
        line-height: 1.4;
        margin-bottom: 14px;
    }

    .strength-slide-body p {
        line-height: 2;
    }

    .strength-nav {
        top: 120px;
        width: 42px;
        height: 42px;
        font-size: 16px;
        background: #fff;
        border: 1px solid #666;
        color: #eb6729;
    }

    .strength-nav.prev {
        left: 8px;
    }

    .strength-nav.next {
        right: 8px;
    }

    .strengths-dots {
        margin-top: 18px;
    }

    .strength-dot {
        width: 7px;
        height: 7px;
    }

    .strength-dot.active {
        width: 8px;
        height: 8px;
    }
}

/* Cooperation Box */
.cooperation-wrapper {
    padding: 0 100px 120px;
    background-color: #fff;
}

.cooperation-box {
    border-radius: 12px;
    padding: 60px;
    display: flex;
    align-items: center;
    gap: 60px;
}

.cooperation-content {
    flex: 1;
}

.cooperation-desc {
    line-height: 2;
}

.cooperation-btn {
    display: inline-flex;
    align-items: center;
    padding: 15px 40px;
    background-color: #333;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
    transition: all 0.3s;
    margin-top: 30px;
}

.cooperation-btn:hover {
    background-color: #EA5514;
}

/* CTA Section */
.cta-section {
    text-align: center;
    background-color: #333;
    color: #fff;
    padding: 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-bottom: 0;
    margin: 0 auto;
}

.cta-inner {
    max-width: 800px;
    /* ← 横幅制限 */
    margin: 0 auto;
    /* ← 中央寄せ */
    padding: 0 20px;
    /* ← スマホ余白 */
}

.cta-heading {
    font-size: 20px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 24px;
}

.cta-text {
    font-size: 16px;
    color: #fff;
    margin-bottom: 40px;
    line-height: 1.8;
}

.cta-container {
    display: flex;
    gap: 24px;
    justify-content: center;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 20px 60px;
    background-color: #eb6729;
    color: white;
    font-weight: 700;
    font-size: 18px;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.3s;
}

.btn-primary:hover {
    background-color: #d64a10;
    transform: translateY(-2px);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 300px;
    padding: 18px 30px;
    background-color: transparent;
    color: #eb6729;
    border: 3px solid #eb6729;
    font-weight: 700;
    font-size: 18px;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.3s;
}

.btn-outline .fa-solid{
    margin-right: 10px;
}

.btn-outline:hover {
    background-color: #eb6729;
    color: #fff;
}

/* RESPONSIVE DESIGN (Media Queries) */

/* Override fixed slide dimensions for responsive behavior */
@media (max-width: 1200px) {

    /* Adjust padding for tablet/smaller desktop */
    .service-text-col,
    .strengths-wrapper,
    .cooperation-wrapper,
    .unified-footer {
        padding-left: 40px;
        padding-right: 40px;
    }
}

/* Tablet (768px - 1200px) */
@media (min-width: 769px) and (max-width: 1200px) {
    .strengths-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile (768px and below) */
@media (max-width: 768px) {

    /* Typography Scale Down */
    .centered-heading-ja {
        font-size: 32px;
    }

    .section-title-ja {
        font-size: 28px;
    }

    .section-number {
        font-size: 48px;
    }

    .page-intro-centered {
        font-size: 14px;
        padding: 0 10px;
        margin-top: 20px;
    }

    /* Service Sections: Stacked 1 Column */
    .services-wrap {
        flex-direction: column;
    }

    .service-image-col,
    .service-image-sticky {
        position: relative;
        top: auto;
        height: 280px;
        min-height: 280px;
        width: 100%;
    }

    .service-image {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .service-texts {
        width: 100%;
    }

    .service-text-block {
        min-height: auto;
        padding: 50px 20px 60px;
    }

    .section-number {
        font-size: 42px;
        margin-bottom: 16px;
    }

    .service-tags {
        gap: 10px;
        margin-bottom: 24px;
    }

    .service-tag {
        font-size: 13px;
        padding: 5px 12px;
    }

    .service-desc {
        font-size: 15px;
        line-height: 1.8;
        text-align: left;
    }

    /* Strengths: 1 Column */
    .strengths-wrapper {
        padding: 60px 20px;
    }

    .strengths-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-top: 40px;
    }

    /* Cooperation: Stacked */
    .cooperation-wrapper {
        padding: 0 20px 60px;
    }

    .cooperation-box {
        flex-direction: column;
        padding: 30px 20px;
        gap: 30px;
    }

    .cooperation-btn {
        width: 100%;
        justify-content: center;
        margin-top: 10px;
    }

    /* CTA */
    .cta-section {
        padding: 60px 20px 100px;
    }

    .cta-heading {
        font-size: 20px;
        line-height: 1.6;
    }

    .cta-container {
        flex-direction: column;
        gap: 15px;
    }

    .btn-primary,
    .btn-outline {
        width: 100%;
        padding: 15px 0;
    }
}

/* ----------------------------------------------------
       4.車両紹介
    ---------------------------------------------------- */

/* Content Sections */
.content-section {
    max-width: 1200px;
    margin: 0 auto;
    box-sizing: border-box;
    width: 100%;
}

/* Section Title */
.section-title-wrapper {
    padding: 0 100px;
    position: relative;
}

.section-desc {
    margin-top: 30px;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
    margin-bottom: 0;
}

/* Vehicle Grid */
.vehicle-grid {
    max-width: 1400PX;
    margin: 0 auto;
    padding: 0 40PX 160PX;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 100px;
    margin-bottom: 140px;
}

.vehicle-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    height: 100%;
}

/*.vehicle-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}*/

.vehicle-img-wrapper {
    height: 360px;
    overflow: hidden;
    position: relative;
}

.vehicle-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.vehicle-card:hover .vehicle-img {
    transform: scale(1.05);
}

.vehicle-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.vehicle-name {
    font-size: 32px;
    font-weight: 700;
    color: #1a1a1a;
    margin-top: 0;
    margin-bottom: 15px;
    padding-bottom: 10px;
}

.vehicle-specs {
    margin-bottom: 20px;
}

.spec-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 14px;
    font-size: 14px;
    line-height: 1.6;
    border-bottom: 1px dotted #eee;
    padding-bottom: 4px;
}

.spec-label {
    font-weight: 500;
}

.spec-value {
    color: #333;
    font-weight: 700;
}

.vehicle-usage {
    font-size: 14px;
    line-height: 1.6;
    margin-top: 0;
    margin-bottom: 20px;
    flex-grow: 1;
}

.btn-download {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 10px;
    background-color: #f9f9f9;
    color: #333;
    font-weight: 700;
    font-size: 13px;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.3s;
    border: 1px solid #eee;
    box-sizing: border-box;
    margin-top: auto;
}

.btn-download:hover {
    background-color: #EA5514;
    color: #fff;
    border-color: #EA5514;
}

/* Management & Safety Section */
.management-section {
    max-width: 1400PX;
    margin: 0 auto;
    padding: 0 40PX 160PX;
    border-radius: 8px;
}

.management-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px;
    margin: 60px 0 80px;
    text-align: center;
}

.management-stat {
    padding: 30px 20px;
    border: 1px solid #666;
    border-radius: 12px;
    transition: all 0.3s;
}

.stat-number {
    font-family: 'Poppins', sans-serif;
    font-size: 50px;
    color: #eb6729;
    font-weight: 800;
    line-height: 1;
}

.stat-number-wrap {
    display: inline-flex;
    align-items: flex-end;
    justify-content: center;
    gap: 4px;
}

.stat-number-wrap small {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
}

.stat-label {
    display: block;
    margin-bottom: 10px;
    letter-spacing: 0.1em;
    font-size: 18px;
    font-weight: 600;
}

.management-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.mgmt-col h3 {
    font-size: 28px;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.mgmt-col h3 i {
    font-size: 24px;
    padding: 10px;
    border-radius: 50%;
}

.mgmt-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mgmt-item {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid #666;
}

.mgmt-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.mgmt-icon {
    font-size: 20px;
    color: #eb6729;
    margin-top: 3px;
    width: 25px;
    text-align: center;
}

.mgmt-info h4 {
    font-size: 18px;
    font-weight: 900;
    color: #eb6729;
    margin-top: 0;
    margin-bottom: 8px;
}

.mgmt-info p {
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

/* Safety Icons Grid */
.safety-icons {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.safety-box {
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #666;
    text-align: center;
}

.safety-box i {
    font-size: 28px;
    margin-bottom: 10px;
    display: block;
}

.safety-box span {
    font-size: 13px;
    font-weight: 700;
    display: block;
    line-height: 1.3;
}

.safety-desc {
    margin-bottom: 20px;
    font-size: 14px;
    margin-top: 0;
    line-height: 1.6;
}

/* CTA Section */
/*.cta-section {
    background-color: #333;
    color: #fff;
    padding: 60px;
    text-align: center;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
    margin-bottom: 0;
}*/

.cta-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(#444 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0.3;
}

.cta-content {
    position: relative;
    z-index: 10;
}

.cta-title {
    font-size: 32px;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 15px;
}

.cta-desc {
    color: #ccc;
    margin-top: 0;
    margin-bottom: 30px;
    line-height: 1.6;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-btn-large {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: #eb6729;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: 0 10px 30px rgba(234, 85, 20, 0.4);
}

.cta-btn-large:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(234, 85, 20, 0.5);
    background-color: #d1450b;
}

.cta-link-wrapper {
    margin-top: 20px;
}

.cta-link {
    color: #fff;
    text-decoration: underline;
    font-size: 14px;
    transition: color 0.3s;
}

.cta-link:hover {
    color: #EA5514;
}

/* --- Responsive Styles --- */

/* Tablet (max-width: 1200px) */
@media screen and (max-width: 1200px) {

    .vehicle-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .management-section {
        padding: 40px;
    }

    .management-grid {
        gap: 40px;
    }

    .section-title-ja {
        font-size: 36px;
    }
}

/* Mobile (max-width: 768px) */
@media screen and (max-width: 768px) {
    .page-hero {
        height: 300px;
        margin-top: 71px;
    }

    .hero-title-ja {
        font-size: 42px;
    }

    .hero-title-en {
        font-size: 16px;
    }

    .content-section {
        padding: 60px 20px;
    }

    .section-title-ja {
        font-size: 32px;
    }

    .section-desc {
        font-size: 14px;
    }

    .vehicle-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 0 10px;
        margin-bottom: 80px;
    }

    .management-section {
        padding: 0px 20px;
        margin-bottom: 80px;
    }

    .management-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .safety-icons {
        grid-template-columns: repeat(2, 1fr);
    }

    .cta-section {
        padding: 40px 20px;
    }

    .cta-title {
        font-size: 24px;
    }

    .cta-desc {
        font-size: 14px;
    }

    .cta-btn-large {
        width: 100%;
        box-sizing: border-box;
        justify-content: center;
        padding: 12px 20px;
        font-size: 16px;
    }
}

/* ----------------------------------------------------
       5.社会貢献活動
    ---------------------------------------------------- */
.csr-title{
    font-family: 'Noto Sans JP', sans-serif;
    font-style: normal;
}

.csr-page {
    background-color: #FFE0A3;
    padding: 80px 0;
}

/* Message Section */
.message-box {
    position: relative;
    text-align: center;
    max-width: 1000px;
    margin: 0 auto 120px;
    padding: 0 20px;
}

.message-main {
    font-family: 'Yu Gothic', 'YuGothic', 'Hiragino Kaku Gothic ProN', 'Meiryo', sans-serif;
    font-size: 36px;
    font-weight: 700;
    line-height: 1.8;
    color: #1a1a1a;
    padding: 20px 0;
    margin-bottom: 40px;
    background-color: #fff;
    border: 1px solid #666;
    border-radius: 12px;
}

.message-sub {
    font-size: 16px;
    line-height: 2.5;
    margin: 0;
}

/* 左右イラスト */
.message-visual {
    position: absolute;
    top: 60%;
    transform: translateY(-50%);
    width: 300px;
    z-index: 1;
}

.message-visual.left {
    left: -200px;
    transform: translateY(-50%);
    animation: floatXReverse 4s ease-in-out infinite;
}

.message-visual.right {
    right: -200px;
    top: 70%;
    transform: translateY(-50%);
    animation: floatX 3s ease-in-out infinite;
}

.message-visual img {
    width: 100%;
}

@keyframes floatXReverse {
    0% {
        transform: translateY(-50%) translateX(0);
    }

    50% {
        transform: translateY(-50%) translateX(-15px);
    }

    100% {
        transform: translateY(-50%) translateX(0);
    }
}

@keyframes floatX {
    0% {
        transform: translateY(-50%) translateX(0);
    }

    50% {
        transform: translateY(-50%) translateX(15px);
    }

    100% {
        transform: translateY(-50%) translateX(0);
    }
}

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

/* Special Feature: Lien */
.feature-container {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 120px;
    display: flex;
    align-items: center;
}

.feature-img-col.custom-photo-layout {
    width: 50%;
    position: relative;
    min-height: 720px;
    padding: 50px;
    box-sizing: border-box;
}

.feature-img-col.custom-photo-layout .photo {
    position: absolute;
    overflow: hidden;
    border-radius: 16px;
    border: 8px solid #ffe25e;
    outline: 4px dashed #fff;
}

.feature-img-col.custom-photo-layout .photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* 左下 */
.photo-left {
    width: 30%;
    aspect-ratio: 1 / 1;
    left: 0;
    bottom: 20px;
}

/* 真ん中大 */
.photo-center {
    width: 46%;
    aspect-ratio: 1 / 1.12;
    left: 25%;
    top: 120px;
}

/* 右上 */
.photo-right {
    width: 34%;
    aspect-ratio: 1 / 1;
    right: 0;
    top: 20px;
}

.feature-content-col {
    width: 50%;
    padding: 40px 70px;
    margin: 0 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-sizing: border-box;
    background-color: #fff;
    border: 1px solid #666;
    border-radius: 12px;
}

.feature-label {
    display: inline-block;
    background: #EA5514;
    color: #fff;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 30px;
    align-self: flex-start;
}

.feature-heading {
    font-size: 32px;
    font-weight: 900;
    color: #eb6729;
    margin-bottom: 30px;
    line-height: 1.5;
    margin-top: 0;
    letter-spacing: 0.2em;
    text-shadow:
        -4px -4px 0 #fff,
        4px -4px 0 #fff,
        -4px 4px 0 #fff,
        4px 4px 0 #fff;
}

.heading-bottom {
    margin-left: 120px;
    margin-top: 10px;
}

@media (max-width: 1560px) {
    .heading-bottom {
        margin-left: 0px;
    }
}

.feature-text {
    margin-bottom: 30px;
    margin-top: 0;
}

.feature-subheading {
    font-size: 22px;
    font-weight: 800;
    color: #eb6729;
    margin-bottom: 15px;
}

@media screen and (max-width: 1200px) {
    .feature-img-col.custom-photo-layout {
        min-height: 500px;
    }

    .photo-center {
        top: 80px;
    }
}

@media screen and (max-width: 767px) {
    .feature-container {
        width: 100% !important;
        margin-left: 0 !important;
        flex-direction: column;
        gap: 24px;
        padding: 0 10px;
        box-sizing: border-box;
    }

    .feature-img-col.custom-photo-layout {
        width: 100% !important;
        min-height: auto !important;
        padding: 0 !important;
        display: flex;
        flex-direction: column;
        gap: 24px;
    }

    .feature-img-col.custom-photo-layout .photo {
        position: static !important;
        height: auto !important;
        min-height: 0 !important;
        aspect-ratio: 1 / 1 !important;
        border-radius: 0 !important;
        overflow: hidden !important;
    }

    .feature-img-col.custom-photo-layout .photo img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        display: block;
    }

    .photo-left {
        width: 72% !important;
        margin: 0 auto 0 0 !important;
    }

    .photo-center {
        width: 78% !important;
        margin: 0 0 0 auto !important;
    }

    .photo-right {
        width: 72% !important;
        margin: 0 auto 0 0 !important;
    }

    .feature-content-col {
        width: 100% !important;
        padding: 20px;
    }
}

/* Activity Categories */
.categories-grid {
    max-width: 1400px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin: 0 auto 120px;
}

.category-card {
    background: #fff;
    padding: 50px 20px;
    border: 1px solid #9e9e9e;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s;
}

.category-icon {
    margin-bottom: 20px;
}

.category-icon img {
    width: 200px;
    height: auto;
    /*filter: grayscale(100%);*/
}

.category-title {
    color: #eb6729;
    font-size: 24px;
    font-weight: 900;
    margin-bottom: 20px;
    margin-top: 0;
}

.category-desc {
    text-align: left;
    margin: 0;
}


.activities-visual {
    width: 100%;
    margin-top: 80px;
}

.activities-visual img {
    width: 100%;
    height: auto;
    display: block;
    /*filter: grayscale(100%);*/
}

/* Responsive Styles */
/* Tablet (768px - 1200px) */
@media screen and (min-width: 768px) and (max-width: 1200px) {
    .hero-title-ja {
        font-size: 56px;
    }

    .message-main {
        font-size: 32px;
    }

    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .feature-content-col {
        padding: 50px;
    }
}

/* Mobile (< 768px) */
@media screen and (max-width: 767px) {
    .page-hero {
        margin-top: 85px;
        height: 300px;
    }

    .hero-title-ja {
        font-size: 42px;
    }

    .content-section {
        padding-top: 60px;
        padding-bottom: 60px;
    }

    .section-title-ja {
        font-size: 36px;
    }

    .section-spacing {
        margin-bottom: 60px;
    }

    .message-main {
        font-size: 20px;
    }

    .message-sub {
        font-size: 14px;
    }

    .message-box {
        margin-bottom: 60px;
    }

    .feature-heading {
        font-size: 20px;
    }

    .feature-subheading {
        font-size: 18px;
    }

    .categories-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 10px;
        margin-bottom: 60px;
    }
}

/*ぐるぐる*/
.kv-circle-clip {
    position: relative;
    width: 100%;
    margin: 0 auto;
    overflow: hidden;
    padding-top: 20px;
}

/* 円テキストを見せる範囲 */
.kv-circle-text {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1200px;
    height: 380px;
    margin: 0 auto;
    overflow: hidden;
}

/* SVG本体 */
.circle-svg {
    width: 100%;
    height: auto;
    display: block;
    transform: translateY(-20px) rotate(0deg);
    transform-origin: center center;
    animation: rotateCircle 35s linear infinite;
}

/* 文字 */
.circle-text {
    fill: #fff;
    font-size: 60px;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

/* 下の画像 */
.activities-visual {
    position: relative;
    z-index: 2;
    margin-top: -70px;
    text-align: center;
}

/* 回転 */
@keyframes rotateCircle {
    from {
        transform: translateY(-20px) rotate(0deg);
    }

    to {
        transform: translateY(-20px) rotate(360deg);
    }
}

@media (max-width: 768px) {
    .kv-circle-text {
        position: relative;
        max-width: 100%;
        height: 180px;
        overflow: hidden;
    }

    .circle-svg {
        position: absolute;
        top: 0;
        left: 50%;
        width: 100%;
        max-width: none;
        display: block;
        transform-box: fill-box;
        transform-origin: center;
        animation: rotateCircleSp 20s linear infinite;
    }

    .circle-text {
        fill: #fff;
        font-size: 62px;
        font-weight: 900;
        letter-spacing: 0.1em;
    }
}

@keyframes rotateCircleSp {
    from {
        transform: translateX(-50%) translateY(-20px) rotate(0deg);
    }

    to {
        transform: translateX(-50%) translateY(-20px) rotate(360deg);
    }
}

/* ----------------------------------------------------
       6.働く環境
    ---------------------------------------------------- */

/* Timeline */
.timeline-container {
    position: relative;
    /* Spacing 140px */
    padding: 40px 100px 160px;
}


.timeline-steps {
    display: flex;
    justify-content: flex-start;
    z-index: 2;
    gap: 8px;
}

.timeline-step {
    position: relative;
    text-align: center;
    padding: 15px;
    width: 18%;
    box-shadow: 0 0 0 1px #111;
    border-radius: 12px;
}

/* ▶ 重なり防止用の白（境目きれいにする） */
.timeline-step::before {
    content: "";
    position: absolute;
    top: 50%;
    right: -22px;
    transform: translateY(-50%);
    border-top: 22px solid transparent;
    border-bottom: 22px solid transparent;
    border-left: 22px solid #111;
    z-index: 1;
}

/* ▶ 最後は矢印いらない */
.timeline-step:last-child::after,
.timeline-step:last-child::before {
    display: none;
}

.step-time {
    font-family: 'Oswald', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: #eb6729;
    margin-bottom: 10px;
    display: block;
}

.step-icon-box {
    width: 80px;
    height: 80px;
    background-color: #fff;
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    font-size: 32px;
    border: 2px solid #EA5514;
    transition: transform 0.3s;
}

.timeline-step:hover .step-icon-box {
    background-color: #eb6729;
    color: #fff;
}

.step-title {
    font-weight: 700;
    font-size: 16px;
    /* Slightly larger for readability */
    margin-bottom: 10px;
    display: block;
    min-height: 4em;
}

.step-desc {
    font-size: 12px;
    /* Body text */
    line-height: 1.8;
}

/* Scenes & Uniform */
/* 2カラム */
.uniform-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    padding: 40px;
}

.uniform-card {
    width: 100%;
    max-width: 300px;
    aspect-ratio: 4 / 5;
    perspective: 1000px;
    cursor: pointer;
    min-width: 0;
}

.uniform-inner {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.7s ease;
}

/* タップ時 */
.uniform-card.is-flipped .uniform-inner {
    transform: rotateY(180deg);
}

/* hoverできる端末だけ */
@media (hover: hover) and (pointer: fine) {
    .uniform-card:hover .uniform-inner {
        transform: rotateY(180deg);
    }
}

.uniform-front,
.uniform-back {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    border-radius: 16px;
    overflow: hidden;
}

.uniform-back {
    transform: rotateY(180deg);
}

.uniform-front img,
.uniform-back img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border: 1px solid #666;
    border-radius: 16px;
}

.uniform-label {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background: rgba(0, 0, 0, 0.4);
    color: #fff;
    padding: 6px 12px;
    font-size: 14px;
    border-radius: 4px;
    z-index: 2;
}

.uniform-title {
    margin-top: 10px;
    font-size: 20px;
    font-weight: 700;
    text-align: center;
}

.mini{
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

@media screen and (max-width: 768px) {
    .uniform-grid {
        grid-template-columns: 1fr;
        padding-right: 40px;
    }
}

/* Welfare Section */
.welfare-section {
    padding: 160px 100px;
}

.welfare-layout {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 60px;
    align-items: start;
}

.welfare-left {
    padding-top: 20px;
}

.welfare-lead {
    margin-top: 24px;
    font-size: 14px;
    line-height: 2;
}

.welfare-right {
    min-width: 0;
}

.welfare-panels {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.welfare-panel {
    background: #fff;
    border-radius: 24px;
    padding: 32px 28px;
    border: 1px solid #666;
    min-height: 320px;
}

.welfare-panel-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #333;
    padding-bottom: 12px;
    border-bottom: 2px solid #eb6729;
}

.welfare-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.welfare-list li {
    position: relative;
    padding-left: 45px;
    margin-bottom: 18px;
    font-size: 15px;
    line-height: 1.9;
}

.welfare-list-2col {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}

.welfare-list li::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 20px;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: #eb6729;
    border-radius: 50%;
}

@media screen and (max-width: 1024px) {
    .welfare-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .welfare-intro {
        position: static;
    }
}

@media screen and (max-width: 768px) {
    .welfare-layout {
        padding: 0 10px;
    }

    .welfare-section {
        padding: 80px 0 100px;
    }

    .welfare-heading {
        font-size: 24px;
    }

    .welfare-panels {
        display: grid;
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .welfare-panel {
        flex: 0 0 85%;
    }
}

/* Events Masonry */
.events-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 140px;
    /* Spacing 140px */
}

.event-card {
    background-color: #fff;
    border-radius: 8px;
    /* Corner radius 8px */
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

.event-img-container {
    overflow: hidden;
    /* Replacing .overflow-hidden utility */
}

.event-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.5s;
}

.event-card:hover .event-img {
    transform: scale(1.05);
}

.event-info {
    padding: 20px;
}

.event-title {
    font-weight: 700;
    font-size: 20px;
    margin-bottom: 5px;
}

.event-tag {
    font-size: 12px;
    color: #EA5514;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.scenes-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    /* Spacing 140px */
    align-items: center;
}

.scenes-images {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.scene-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 8px;
    /* Corner radius 8px */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

@media screen and (max-width: 1200px) {
    .scenes-images {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* Responsive Styles */
@media screen and (max-width: 1200px) {
    .content-section {
        padding: 50px;
        max-width: 100%;
    }

    .scenes-grid,
    .welfare-grid,
    .events-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .insta-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

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

    .page-hero {
        height: 300px;
        margin-top: 0;
    }

    .hero-title-ja {
        font-size: 32px;
    }

    .hero-title-en {
        font-size: 16px;
    }

    .content-section {
        padding: 40px 20px;
    }

    .section-title-ja {
        font-size: 32px;
    }

    .section-desc {
        font-size: 14px;
    }

    /* Timeline */
    .timeline-steps {
        flex-direction: column;
    }

    .timeline-step {
        width: 100%;
        margin-bottom: 40px;
        position: relative;
    }

    /* ▼ 下向き矢印 */
    .timeline-step::after {
        content: "";
        position: absolute;
        left: 50%;
        bottom: -20px;
        transform: translateX(-50%);
        border-left: 15px solid transparent;
        border-right: 15px solid transparent;
        border-top: 20px solid #111;
        z-index: 2;
    }

    /* ▼ 境目の白（影みたいなやつ） */
    .timeline-step::before {
        content: "";
        position: absolute;
        left: 50%;
        bottom: -22px;
        transform: translateX(-50%);
        border-left: 17px solid transparent;
        border-right: 17px solid transparent;
        z-index: 1;
    }

    /* ▼ 最後は矢印なし */
    .timeline-step:last-child::after,
    .timeline-step:last-child::before {
        display: none;
    }

    .step-icon-box {
        margin-bottom: 15px;
    }

    /* Scenes */
    .scenes-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        margin-bottom: 60px;
    }

    .scenes-images {
        grid-template-columns: 1fr;
    }

    /* Welfare */
    .welfare-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 60px;
    }

    /* Events */
    .events-grid {
        grid-template-columns: 1fr;
        margin-bottom: 60px;
    }

    /* Instagram */
    .insta-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .insta-section {
        padding: 40px 20px;
    }
}

/* ----------------------------------------------------
       7.求人情報
    ---------------------------------------------------- */

/* Why Us / Benefits */
.benefits-grid {
    padding: 40px 100px 160px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 140px;
}

.benefit-card {
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    border: 1PX solid #666;
    transition: transform 0.3s;
}

.benefit-icon {
    font-size: 48px;
    color: #eb6729;
    margin-bottom: 24px;
}

.benefit-title {
    font-size: 18px !important;
    font-weight: 700;
    margin-bottom: 16px;
}

.benefit-desc {
    line-height: 1.8;
    margin: 0;
}

/* Job Positions */
.requirements-section {
    max-width: 1400PX;
    margin: 0 auto;
    padding: 0 40PX 160PX;
    background: #fff;
}

.requirements-table-wrap {
    margin-top: 50px;
    border: 1px solid #333;
    border-radius: 24px;
    overflow: hidden;
    background: #fff;
}

.requirements-table {
    margin: 0;
    padding: 0;
}

.requirements-row {
    display: grid;
    grid-template-columns: 240px 1fr;
}

.requirements-row:not(:last-child) {
    border-bottom: 1px solid #333;
}

.requirements-row dt,
.requirements-row dd {
    margin: 0;
    padding: 28px 38px;
    font-size: 16px;
    line-height: 1.9;
}

.requirements-row dt {
    background: #FEDCBD;
    font-weight: 700;
    color: #111;
    border-right: 1px solid #333;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.requirements-row dd {
    background: #fff;
}

.requirements-btn-wrap {
    margin-top: 40px;
    text-align: center;
}

.requirements-entry-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 220px;
    padding: 16px 30px;
    background: #eb6729;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    border-radius: 999px;
    transition: opacity 0.3s ease;
}

.requirements-entry-btn:hover {
    background-color: #000;
}

@media screen and (max-width: 768px) {
    .requirements-section {
        padding: 30px 20px;
    }

    .requirements-table-wrap {
        border-radius: 16px;
    }

    .requirements-row {
        grid-template-columns: 1fr;
    }

    .requirements-row dt {
        border-right: none;
        border-bottom: 1px solid #333;
        justify-content: flex-start;
        text-align: left;
        padding: 18px 20px;
    }

    .requirements-row dd {
        padding: 18px 20px 22px;
        font-size: 15px;
    }
}

/* Selection Flow */
.flow-container {
    position: relative;
    max-width: 1400px;
    margin: 0 auto 140px;
    padding: 0 40PX;
}

.flow-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
}

.flow-step {
    width: 22%;
    text-align: center;
    position: relative;
    background: #fff;
    padding: 40px 30px;
    border-radius: 8px;
    border: 1PX solid #666;
}

.flow-step::after {
    content: '\f054';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    right: -30px;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
    font-size: 28px;
}

.flow-step:last-child::after {
    display: none;
}

.flow-num {
    display: inline-block;
    width: 36px;
    height: 36px;
    background: #eb6729;
    color: #fff;
    border-radius: 50%;
    line-height: 36px;
    font-weight: 700;
    margin-bottom: 20px;
    font-size: 16px;
}

.flow-title {
    font-weight: 700;
    font-size: 18px !important;
    margin-bottom: 12px;
}

.flow-desc {
    line-height: 1.8;
    margin: 0;
}

/* FAQ */
.faq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto 100px;
    padding: 0 40PX;
}

.faq-item {
    background: #fff;
    padding: 40px;
    border-radius: 8px;
    border: 1PX solid #666;
}

.faq-q {
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 12px;
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.faq-q::before {
    content: 'Q.';
    color: #eb6729;
    font-size: 24px;
    line-height: 1;
    margin-right: 4px;
}

.faq-a {
    line-height: 1.8;
    padding-left: 32px;
    margin: 0;
}

/* Responsive Breakpoints */
/* Tablet (768px - 1200px) */
@media (max-width: 1200px) {
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .positions-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Maintain 2 columns for tablet as requested */
    .flow-step {
        padding: 30px 20px;
    }

    .flow-step::after {
        right: -25px;
        font-size: 20px;
    }
}

/* Mobile (Max 768px) */
@media (max-width: 768px) {
    .page-hero {
        height: 300px;
        margin-top: 80px;
    }

    .hero-title-en {
        font-size: 16px;
        margin-bottom: 10px;
    }


    .content-section {
        padding: 60px 20px;
    }

    .section-title-wrapper {
        padding: 20px 10px;
    }

    .section-title-ja::after {
        margin-top: 15px;
    }

    .section-desc {
        font-size: 15px;
        margin-top: 20px;
    }

    /* 1 Column Layouts for Mobile */
    .benefits-grid {
        grid-template-columns: 1fr;
        padding: 60px 10px;
    }

    .positions-grid {
        grid-template-columns: 1fr;
        margin-bottom: 80px;
    }

    .faq-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 60px 10px;
    }

    /* Flow Adjustment for Mobile */
    .flow-steps {
        flex-direction: column;
        gap: 40px;
    }

    .flow-step {
        width: 100%;
        box-sizing: border-box;
    }

    .flow-step::after {
        content: '\f107';
        /* arrow down */
        top: auto;
        bottom: -30px;
        right: 50%;
        transform: translateX(50%);
    }

    .flow-container {
        padding: 40px 10px;
    }

    /* Position Card Adjustments */
    .pos-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .pos-tags {
        flex-wrap: wrap;
    }

    .pos-detail-row {
        flex-direction: column;
        gap: 5px;
    }

    .pos-label {
        width: 100%;
        margin-bottom: 5px;
    }

    /* CTA Mobile */
    .cta-section {
        padding: 50px 20px;
    }

    .cta-title {
        font-size: 28px !important;
    }

    .cta-btn-large {
        padding: 15px 40px;
        font-size: 16px;
        width: 100%;
        box-sizing: border-box;
        justify-content: center;
    }
}

/*お問い合わせ*/
/* CONTACT */
.contact-tel-box {
    text-align: center;
    margin-bottom: 50px;
}

.contact-tel-lead {
    font-size: 14px;
    margin-bottom: 10px;
}

.contact-tel {
    font-family: "Poppins", sans-serif;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 28px;
    font-weight: 700;
    color: #111;
    text-decoration: none;
    letter-spacing: 0.05em;
}

.contact-tel i {
    font-size: 22px;
}

.contact-tel:hover {
    color: #eb6729;
}

.contact-tel-time {
    margin-top: 8px;
    font-size: 13px;
}

.contact-section {
    padding: 0 0 140px;
}

.contact-intro {
    max-width: 760px;
    margin: 0 auto 60px;
    text-align: center;
}

.contact-lead {
    line-height: 2;
}

.contact-form-wrap {
    max-width: 920px;
    margin: 0 auto;
    background: #fff;
    padding: 60px;
    box-sizing: border-box;
}

.cf7__list {
    margin: 0;
}

.cf7__list dt {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 14px;
    color: #111;
}

.cf7__list dd {
    margin: 0 0 34px;
}

.cf7__required {
    display: inline-block;
    margin-right: 10px;
    padding: 2px 8px;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.4;
    color: #fff;
    background: #eb6729;
    vertical-align: middle;
}

.cf7 input[type="text"],
.cf7 input[type="email"],
.cf7 input[type="tel"],
.cf7 select,
.cf7 textarea {
    width: 100%;
    border: 1px solid #666;
    background: #fff;
    padding: 16px 18px;
    font-size: 15px;
    color: #111;
    box-sizing: border-box;
    appearance: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.cf7 textarea {
    min-height: 220px;
    resize: vertical;
}

.cf7 input::placeholder,
.cf7 textarea::placeholder {
    color: #999;
}

.cf7 input:focus,
.cf7 select:focus,
.cf7 textarea:focus {
    outline: none;
    border-color: #111;
    box-shadow: 0 0 0 1px #111;
}

.cf7 select {
    background-image:
        linear-gradient(45deg, transparent 50%, #111 50%),
        linear-gradient(135deg, #111 50%, transparent 50%);
    background-position:
        calc(100% - 22px) calc(50% - 2px),
        calc(100% - 16px) calc(50% - 2px);
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;
}

.cf7__privacy {
    margin-top: 10px;
    font-size: 14px;
    line-height: 1.8;
    color: #333;
}

.cf7__privacy .wpcf7-list-item {
    margin: 0;
}

.cf7__privacy input[type="checkbox"] {
    margin-right: 8px;
}

.cf7__submit {
    margin-top: 42px;
    text-align: center;
}

.cf7__submit .wpcf7-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 240px;
    height: 58px;
    padding: 0 36px;
    border: none;
    border-radius: 999px;
    background: #111;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.15em;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
}

.cf7__submit .wpcf7-submit:hover {
    background: #eb6729;
}

.cf7 .wpcf7-not-valid-tip {
    margin-top: 8px;
    font-size: 13px;
}

.cf7 .wpcf7-response-output {
    margin: 30px 0 0 !important;
    padding: 14px 18px !important;
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.8;
}

@media screen and (max-width: 768px) {
    .contact-section {
        padding-bottom: 90px;
    }

    .contact-intro {
        margin-bottom: 36px;
        padding: 0 10px;
    }

    .contact-form-wrap {
        padding: 28px 20px;
    }

    .cf7__list dt {
        font-size: 14px;
        margin-bottom: 10px;
    }

    .cf7__list dd {
        margin-bottom: 24px;
    }

    .cf7 input[type="text"],
    .cf7 input[type="email"],
    .cf7 input[type="tel"],
    .cf7 select,
    .cf7 textarea {
        padding: 14px 14px;
        font-size: 14px;
    }

    .cf7 textarea {
        min-height: 180px;
    }

    .cf7__submit .wpcf7-submit {
        width: 100%;
        min-width: 0;
    }
}


.page-content {
  max-width:650px;
  width: min(100% - 40px, 900px);
  margin: 0 auto;
  padding: 60px 0;
  line-height: 2;
}

.page-content h2 {
  margin-top: 48px;
  margin-bottom: 16px;
  padding-left: 16px;
  border-left: 4px solid #eb6729;
  font-size: 24px;
}

.page-content p {
  margin-bottom: 18px;
}

.page-content ul {
  margin: 16px 0 24px;
  padding-left: 1.5em;
}

.page-content li {
  margin-bottom: 8px;
}

.cf-turnstile,
.cf7sr-turnstile {
    margin-top: 20px;
    display: flex;
    justify-content: center;
}
