/**
 * ヒーロー以降 — AI感を抑えた編集・コーポレート寄りのセクション
 */
.has-lp-sections {
    --lp-text: #1a1f2b;
    --lp-muted: #5c6578;
    --lp-line: #e2e6ee;
    --lp-surface: #ffffff;
    --lp-wash: #f6f7f9;
    --lp-accent: #0066cc;
    --lp-font-jp: "Noto Sans JP", "Yu Gothic UI", "Yu Gothic", "游ゴシック体", sans-serif;
    --lp-font-en: "Jost", "Helvetica Neue", Arial, sans-serif;
}

.has-lp-sections .section-padding {
    padding: clamp(64px, 10vw, 96px) 0;
}

.has-lp-sections .bg-gray,
.has-lp-sections .bg-light-blue {
    background: var(--lp-wash);
}

/* 見出し：中央＋下線をやめ、左寄せの編集スタイル */
.has-lp-sections .section-head {
    max-width: 1100px;
    margin: 0 auto 40px;
    padding: 0 20px;
    box-sizing: border-box;
}

.has-lp-sections .section-meta {
    display: inline-flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 10px;
}

.has-lp-sections .section-step {
    font-family: var(--lp-font-en);
    font-size: 0.86rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    color: rgba(0, 102, 204, 0.75);
}

.has-lp-sections .section-head--tight {
    margin-bottom: 32px;
}

.has-lp-sections .section-label {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--lp-accent);
    margin-bottom: 0;
}

.has-lp-sections .section-title {
    text-align: left;
    font-size: clamp(1.5rem, 3.5vw, 2rem);
    font-weight: 800;
    margin: 0 0 12px;
    letter-spacing: 0.02em;
    color: var(--lp-text);
    line-height: 1.35;
}

.has-lp-sections .section-title::after {
    display: none;
}

.has-lp-sections .section-desc {
    text-align: left;
    max-width: 36em;
    margin: 0;
    font-size: 0.98rem;
    line-height: 1.8;
    color: var(--lp-muted);
    font-weight: 400;
}

.has-lp-sections .container {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 24px;
}

/* --- MVV（強調） --- */
.mvv-section {
    background: var(--lp-wash);
    padding-bottom: clamp(64px, 10vw, 96px);
}

.mvv-band {
    background: linear-gradient(145deg, #0c2340 0%, #153a63 52%, #1a4d7a 100%);
    color: #fff;
    padding: clamp(56px, 9vw, 88px) 0 clamp(72px, 11vw, 104px);
}

.mvv-band__inner {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 24px;
}

.mvv-kicker {
    margin: 0 0 14px;
    font-family: var(--lp-font-en);
    font-size: clamp(0.85rem, 1.6vw, 1rem);
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.72);
}

.mvv-band-lead {
    margin: 0;
    max-width: 22em;
    font-size: clamp(1rem, 2.2vw, 1.15rem);
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.9);
}

.mvv-showcase {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, 520px);
    gap: 28px 40px;
    align-items: stretch;
    margin-top: -3.5rem;
    position: relative;
    z-index: 1;
    max-width: 1120px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 24px;
}

.mvv-showcase__statements {
    display: flex;
    flex-direction: column;
    gap: 0;
    background: var(--lp-surface);
    border: 1px solid var(--lp-line);
    border-radius: 6px;
    box-shadow: 0 20px 56px rgba(12, 35, 64, 0.12);
    overflow: hidden;
}

.mvv-statement {
    padding: clamp(28px, 4vw, 40px) clamp(28px, 4vw, 44px);
    border-bottom: 1px solid var(--lp-line);
}

.mvv-statement:last-child {
    border-bottom: none;
}

.mvv-statement--vision {
    background: #fff;
}

.mvv-statement--mission {
    background: #fafbfc;
}

/* ACES 風: 英字ラベルは Jost、本文は游ゴシック系の太めサンセリフ */
.mvv-statement__en {
    margin: 0 0 20px;
    font-family: var(--lp-font-en);
    font-size: clamp(0.95rem, 1.8vw, 1.1rem);
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--lp-accent);
    line-height: 1;
}

.mvv-statement__label {
    margin: 0 0 16px;
    font-family: var(--lp-font-jp);
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    color: var(--lp-muted);
}

.mvv-statement__quote {
    margin: 0;
    max-width: 20em;
    font-family: var(--lp-font-jp);
    font-size: clamp(1.35rem, 2.2vw, 1.85rem);
    font-weight: 700;
    line-height: 1.75;
    letter-spacing: 0.02em;
    font-feature-settings: "palt";
    color: var(--lp-text);
    text-wrap: balance;
    word-break: normal;
    overflow-wrap: anywhere;
}

@media (min-width: 901px) {
    .mvv-statement__quote {
        font-size: 1.75rem;
        line-height: 1.8;
    }

    .mvv-statement--mission .mvv-statement__quote {
        max-width: none;
    }
}

/* --- MVV スライドショー --- */
.mvv-slideshow {
    margin: 0;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid var(--lp-line);
    box-shadow: 0 16px 48px rgba(12, 35, 64, 0.1);
    background: var(--lp-line);
    align-self: end;
    display: block;
}

.mvv-slideshow__viewport {
    position: relative;
    aspect-ratio: 21 / 13;
    overflow: hidden;
    background: #dfe4eb;
    min-height: 420px;
}

.mvv-slideshow__slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.85s ease;
    pointer-events: none;
}

.mvv-slideshow__slide.is-active {
    opacity: 1;
    pointer-events: auto;
    z-index: 1;
}

.mvv-slideshow__slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: scale(1.035);
    transition: transform 1.1s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform;
}

.mvv-slideshow__slide.is-active img {
    transform: scale(1);
}

.mvv-slideshow__dots {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 12px;
    z-index: 2;
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 0 12px;
    pointer-events: none;
}

.mvv-slideshow__dot {
    pointer-events: auto;
    width: 8px;
    height: 8px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.45);
    cursor: pointer;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.mvv-slideshow__dot.is-active {
    background: #fff;
    transform: scale(1.15);
}

.mvv-slideshow__dot:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 2px;
}

/* caption は使わない（画像を大きく見せる） */

@media (prefers-reduced-motion: reduce) {
    .mvv-slideshow__slide {
        transition: none;
    }

    .mvv-slideshow__slide:not(.is-active) {
        visibility: hidden;
    }

    .mvv-slideshow__slide img {
        transition: none;
        transform: none;
    }
}

/* --- VALUES --- */
.values-section {
    position: relative;
    overflow: hidden;
    background-color: #f7f9fc;
    background-image: url("../images/lp/value_background.webp");
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}

.values-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.7);
    pointer-events: none;
    z-index: 0;
}

.values-section > .section-head,
.values-section > .container {
    position: relative;
    z-index: 1;
}

.values-trio {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-top: 1px solid var(--lp-line);
    border-bottom: 1px solid var(--lp-line);
}

.values-trio > li {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: clamp(22px, 3vw, 32px) clamp(18px, 2.5vw, 28px);
    border-right: 1px solid var(--lp-line);
}

.values-trio > li:last-child {
    border-right: none;
}

.values-trio .value-num {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--lp-accent);
    letter-spacing: 0.06em;
}

.values-trio .value-title {
    margin: 0 0 8px;
    font-size: clamp(1rem, 2.2vw, 1.05rem);
    font-weight: 700;
    color: var(--lp-text);
    line-height: 1.55;
    text-wrap: pretty;
}

.values-trio p {
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.8;
    color: var(--lp-muted);
    text-wrap: pretty;
}

/* 旧リスト（参照用・未使用） */
.values-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
    border-top: 1px solid var(--lp-line);
}

.values-list li {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 20px 28px;
    padding: 24px 0;
    border-bottom: 1px solid var(--lp-line);
    align-items: start;
}

.values-list .value-num {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--lp-accent);
    letter-spacing: 0.06em;
    padding-top: 4px;
}

.values-list .value-title {
    margin: 0 0 6px;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--lp-text);
    line-height: 1.45;
}

.values-list p {
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.75;
    color: var(--lp-muted);
}

/* --- SERVICE --- */
.service-section {
    background: var(--lp-surface);
}

.service-rows {
    display: flex;
    flex-direction: column;
    gap: 0;
    border-top: 1px solid var(--lp-line);
}

.service-row {
    display: grid;
    grid-template-columns: minmax(200px, 280px) minmax(0, 1fr);
    gap: 32px;
    padding: 32px 0;
    border-bottom: 1px solid var(--lp-line);
    align-items: center;
}

@media (min-width: 901px) {
    .service-row:nth-child(even) {
        grid-template-columns: minmax(0, 1fr) minmax(200px, 280px);
    }

    .service-row:nth-child(even) .service-row__media {
        order: 2;
    }
}

.service-row__media {
    margin: 0;
    border-radius: 4px;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    background: var(--lp-line);
}

.service-row__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.service-row__num {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--lp-accent);
    margin-bottom: 8px;
}

.service-row__title {
    margin: 0 0 10px;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--lp-text);
    line-height: 1.4;
}

.service-row__desc {
    margin: 0 0 12px;
    font-size: 0.94rem;
    line-height: 1.8;
    color: var(--lp-muted);
}

.service-row__link {
    display: inline-block;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--lp-accent);
    text-decoration: none;
}

.service-row__link:hover {
    text-decoration: underline;
    opacity: 1;
}

/* --- 強み（旧 stats の代替） --- */
.strength-section {
    background: var(--lp-wash);
    border-top: 1px solid var(--lp-line);
    border-bottom: 1px solid var(--lp-line);
}

.strength-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px;
}

.strength-item h3 {
    margin: 0 0 8px;
    font-size: 1rem;
    font-weight: 700;
    color: var(--lp-text);
}

.strength-item p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.75;
    color: var(--lp-muted);
}

/* --- メディア --- */
.media-section {
    background: var(--lp-surface);
}

.media-grid-editorial {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
}

.media-card-editorial {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    border: 1px solid var(--lp-line);
    border-radius: 4px;
    overflow: hidden;
    background: var(--lp-surface);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.media-card-editorial:hover {
    border-color: #c5d0e0;
    box-shadow: 0 12px 40px rgba(26, 31, 43, 0.08);
}

.media-card-editorial__thumb {
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--lp-line);
}

.media-card-editorial__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.media-card-editorial__body {
    padding: 20px 22px 22px;
}

.media-card-editorial__meta {
    font-size: 0.75rem;
    color: var(--lp-muted);
    margin-bottom: 8px;
}

.media-card-editorial__title {
    margin: 0 0 8px;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--lp-accent);
}

.media-card-editorial__desc {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--lp-muted);
}

/* --- Numbers / Partners / News（REIMEI 寄せ） --- */
.numbers-section {
    background: var(--lp-surface);
    border-top: 1px solid var(--lp-line);
}

.numbers-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.number-card {
    border: 1px solid var(--lp-line);
    border-radius: 6px;
    background: #fff;
    padding: 22px 22px 20px;
}

.number-card__value {
    margin: 0 0 10px;
    color: var(--lp-text);
    line-height: 1.1;
}

.number-card__num {
    display: inline-block;
    font-family: var(--lp-font-en);
    font-size: clamp(2rem, 4vw, 2.7rem);
    font-weight: 600;
    letter-spacing: 0.02em;
    font-variant-numeric: tabular-nums;
    transition: transform 0.35s var(--motion-ease, ease), color 0.35s ease;
}

.number-card__num.is-counting {
    color: var(--lp-accent, #0066cc);
    transform: scale(1.04);
}

.number-card.is-visible .number-card__num.is-counted {
    transform: scale(1);
}

.news-loading,
.news-empty {
    margin: 0;
    padding: 20px 0;
    font-size: 0.92rem;
    line-height: 1.8;
    color: var(--lp-muted);
    border-bottom: 1px solid var(--lp-line);
}

.number-card__unit {
    margin-left: 6px;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--lp-muted);
}

.number-card__label {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--lp-muted);
}

/* Partners は現状使わない */

/* --- 掲載実績（ロゴマーキー） --- */
.publication-section {
    background: var(--lp-wash);
    border-top: 1px solid var(--lp-line);
}

.publication-section .section-head {
    margin-bottom: 28px;
}

.publication-section__body {
    max-width: 1100px;
}

.publication-marquee {
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 10%, #000 90%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0%, #000 10%, #000 90%, transparent 100%);
}

.publication-marquee__track {
    display: flex;
    width: max-content;
    animation: publication-marquee-scroll 40s linear infinite;
}

.publication-marquee__list {
    display: flex;
    align-items: center;
    gap: clamp(40px, 6vw, 72px);
    margin: 0;
    padding: 8px 36px;
    list-style: none;
}

.publication-marquee__item {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 120px;
    height: 52px;
}

.publication-marquee__item img {
    display: block;
    max-height: 44px;
    max-width: min(200px, 28vw);
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(15%);
    opacity: 0.88;
}

@media (min-width: 769px) {
    .publication-marquee__list {
        gap: clamp(48px, 5vw, 88px);
        padding: 12px 48px;
    }

    .publication-marquee__item {
        min-width: 160px;
        height: 76px;
    }

    .publication-marquee__item img {
        max-height: 68px;
        max-width: min(320px, 22vw);
    }
}

.publication-more {
    margin: 20px 0 0;
    text-align: center;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: var(--lp-muted);
}

@keyframes publication-marquee-scroll {
    to {
        transform: translateX(-50%);
    }
}

@media (prefers-reduced-motion: reduce) {
    .publication-marquee__track {
        animation: none;
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
        gap: 24px 40px;
    }

    .publication-marquee__list[aria-hidden="true"] {
        display: none;
    }

    .publication-marquee {
        -webkit-mask-image: none;
        mask-image: none;
    }
}

.news-section {
    background: var(--lp-surface);
}

.news-list {
    display: flex;
    flex-direction: column;
    border-top: 1px solid var(--lp-line);
}

.news-item {
    display: grid;
    grid-template-columns: 120px 92px minmax(0, 1fr);
    gap: 12px 16px;
    padding: 16px 0;
    border-bottom: 1px solid var(--lp-line);
    text-decoration: none;
    color: inherit;
    align-items: center;
}

.news-item:hover {
    background: rgba(0, 102, 204, 0.03);
    opacity: 1;
}

.news-item__date {
    font-family: var(--lp-font-en);
    font-size: 0.9rem;
    color: var(--lp-muted);
}

.news-item__tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 28px;
    border-radius: 999px;
    border: 1px solid var(--lp-line);
    background: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--lp-muted);
}

.news-item__title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--lp-text);
    line-height: 1.6;
}

/* --- 会社概要 --- */
.company-section {
    background: var(--lp-wash);
}

.has-lp-sections .company-table-wrap {
    max-width: 100%;
    margin: 0;
    border-radius: 4px;
    box-shadow: none;
    border: 1px solid var(--lp-line);
}

.has-lp-sections .company-table th {
    width: 9.5rem;
    min-width: 9.5rem;
    background: #eef1f5;
    color: var(--lp-text);
    font-size: 0.9rem;
    white-space: nowrap;
    vertical-align: top;
}

.has-lp-sections .company-table td {
    word-break: break-word;
    overflow-wrap: anywhere;
    vertical-align: top;
}

.has-lp-sections .company-table th,
.has-lp-sections .company-table td {
    padding: 18px 20px;
}

.has-lp-sections .company-pair {
    display: block;
    line-height: 1.7;
}

.has-lp-sections .company-pair + .company-pair {
    margin-top: 0.25em;
}

.has-lp-sections .company-pair-label {
    display: inline-block;
    width: 7.5em;
    flex-shrink: 0;
}

.has-lp-sections .officer-list,
.has-lp-sections .business-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.has-lp-sections .section-head--in-container {
    max-width: none;
    margin-bottom: 24px;
    padding: 0;
}

@media (max-width: 900px) {
    .mvv-showcase {
        grid-template-columns: 1fr;
        margin-top: -2.5rem;
    }

    .mvv-slideshow {
        order: -1;
    }

    .mvv-slideshow__viewport {
        min-height: 320px;
    }

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

    .strength-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .media-grid-editorial {
        grid-template-columns: 1fr;
    }

    .numbers-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .has-lp-sections .section-head,
    .has-lp-sections .section-desc {
        text-align: left;
    }

    .values-trio {
        grid-template-columns: 1fr;
    }

    .values-trio > li {
        border-right: none;
        border-bottom: 1px solid var(--lp-line);
        padding: 22px 0;
    }

    .values-trio > li:last-child {
        border-bottom: none;
    }

    .news-item {
        grid-template-columns: 1fr;
        gap: 6px;
        padding: 14px 0;
        align-items: start;
    }

    .news-item__tag {
        justify-self: start;
        width: fit-content;
        padding: 0 12px;
    }

    /* 会社概要 — 見出しとテーブルの幅を揃え、縦積み表示 */
    .has-lp-sections .company-section {
        overflow-x: clip;
    }

    .has-lp-sections .company-table,
    .has-lp-sections .company-table tbody,
    .has-lp-sections .company-table tr {
        display: block;
        width: 100%;
    }

    .has-lp-sections .company-table th,
    .has-lp-sections .company-table td {
        display: block;
        width: 100%;
        box-sizing: border-box;
    }

    .has-lp-sections .company-table th {
        padding: 14px 20px 6px;
        border-bottom: none;
        font-size: 0.82rem;
        letter-spacing: 0.04em;
    }

    .has-lp-sections .company-table td {
        padding: 0 20px 18px;
        border-bottom: 1px solid var(--lp-line);
        font-size: 0.95rem;
    }

    .has-lp-sections .company-table tr:last-child td {
        border-bottom: none;
        padding-bottom: 20px;
    }
}
