/* ===================================
   リセット・ベーススタイル
=================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    scroll-padding-top: clamp(80px, 10vw, 120px);
}

/* フォント設定 */
:root {
    --font-sans-jp: 'Noto Sans JP', system-ui, -apple-system, Segoe UI, Roboto, 'Helvetica Neue', Arial, sans-serif;
    --font-latin: 'Poppins', system-ui, -apple-system, Segoe UI, Roboto, 'Helvetica Neue', Arial, sans-serif;

    /* カラー設定 */
    --color-red: #C50018;
    --color-black: #2C2A2A;
    --color-gray: #80878c;
    --color-light-gray: #E0E5E9;
    --color-white: #fff;

    /* 既存カラーの置き換え用 */
    --color-primary: var(--color-red);
    --color-text: #222222;
    --color-text-light: #6b7280;
    --color-text-muted: #374151;
    --color-bg-light: var(--color-gray);
    --color-bg-white: var(--color-white);

    /* サイズ設定 */
    --radius-sm: 3px;
    --radius-md: 8px;
    --container: 1440px;
    --header-height: 84px;

    /* トランジション設定 */
    --transition: .6s cubic-bezier(.34, -.04, .32, 1.01);
}

body {
    font-family: var(--font-sans-jp);
    font-size: clamp(14px, 1.28vw, 16px);
    font-feature-settings: "palt";
    line-height: 1.8;
    letter-spacing: .05em;
    color: var(--color-text);
    background-color: var(--color-bg-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.win body {
    font-feature-settings: normal;
    letter-spacing: -0.001em;
}

/* ===================================
   Case Card Component
=================================== */
.case-card {
    background: #fff;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: auto !important;
    max-width: 416px;
}

.case-card a {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    justify-content: space-between;
    height: 100%;
    color: inherit;
}

.case-card .slide-ttl {
    font-size: clamp(13px, 1vw, 14px);
    font-weight: 500;
    padding: 32px;
}

.case-card .thumb {
    margin-bottom: 32px;
    flex-shrink: 0;
}

.case-card .thumb img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    object-position: center;
    transition: var(--transition);
}

.case-card .meta {
    font-size: clamp(13px, 1vw, 14px);
    color: #777;
    margin-bottom: 24px;
    padding: 0 32px;
}

.case-card .lead {
    font-size: clamp(16px, 1vw, 18px);
    font-weight: 500;
    line-height: 1.55;
    padding: 0 32px;
    margin-bottom: 37px;
}

.case-card .more {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 32px 32px;
    white-space: nowrap;
    gap: 16px;
    margin-top: auto;
}

.case-card .more span {
    transition: var(--transition);
    color: var(--color-black);
}

.case-card .more span.gray-line {
    flex-grow: 1;
    overflow: hidden;
    height: 1px;
    background-color: #D9D9D9;
    vertical-align: middle;
}

@media (hover: hover) and (pointer: fine) {
    .case-studies .more:hover span {
        color: var(--color-red);
        transform: translateX(2px);
    }
}

@media (max-width: 900px) {
    .case-card {
        max-width: 325px;
    }
}

/* 英字主体の見出しはPoppinsを優先 */
.hero-heading,
.section-title,
.company-link span,
.recruit__title {
    font-family: var(--font-latin);
}

/* 数字・英字混在もPoppinsを優先 */
.case-study__title,
.video-info h3 {
    font-family: var(--font-latin);
}

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

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

ul {
    list-style: none;
}

.sp-only {
    display: none;
}

.pc-only {
    display: block;
}

.sp-only-inline {
    display: none;
}

.sp-br {
    display: none;
}

@media screen and (max-width: 900px) {
    .sp-only {
        display: block;
    }

    .pc-only {
        display: none;
    }

    .sp-only-inline {
        display: inline;
    }

    .sp-br {
        display: inline;
    }
}

/* ===================================
   ユーティリティクラス
=================================== */
.container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 80px;
}

@media screen and (max-width: 767px) {
    .container {
        padding: 0 20px;
    }
}

@media screen and (max-width: 1180px) {
    :root {
        --header-height: 58px;
    }
}

.btn {
    display: inline-block;
    padding: 6px 20px;
    text-align: center;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 13px;
    white-space: nowrap;
    border-radius: var(--radius-sm);
    line-height: 1.5;
}

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

@media (hover: hover) and (pointer: fine) {
    .btn--primary:hover {
        background-color: #A00014;
    }
}

.btn--secondary {
    background-color: transparent;
    color: var(--color-white);
    background: var(--color-gray);
}

@media (hover: hover) and (pointer: fine) {
    .btn--secondary:hover {
        background-color: var(--color-text-light);
        color: var(--color-white);
    }
}

.btn--red {
    background-color: var(--color-primary);
    color: var(--color-white);
}

@media (hover: hover) and (pointer: fine) {
    .btn--red:hover {
        background-color: #A00014;
    }
}

.btn-arrow {
    font-family: var(--font-latin);
    font-size: 14px;
    font-weight: 400;
    letter-spacing: .05em;
    color: var(--color-white);
    display: flex;
    align-items: center;
    gap: 12px;
    transition: var(--transition);
    width: fit-content;
    margin-inline: auto;
    padding: 0;
}


.btn-arrow span {
    transition: var(--transition);
}

@media (hover: hover) and (pointer: fine) {
    .btn-arrow:hover span {
        transform: translateX(2px);
        color: var(--color-red) !important;
    }
}

.btn-arrow-square {
    width: auto;
    min-width: 288px;
    max-width: fit-content;
    height: auto !important;
    min-height: 45px;
    padding: 8px 16px;
    background-color: var(--color-red);
    justify-content: space-between !important;
    border-radius: var(--radius-sm) !important;
    white-space: normal;
    text-align: left;
}

.btn-arrow-square.white {
    background-color: var(--color-white);
    color: var(--color-red);
}

.btn-arrow-square span {
    font-size: 14px;
}

@media (hover: hover) and (pointer: fine) {
    .btn-arrow-square:hover span {
        color: rgba(255, 255, 255, 0.871);
    }

    .btn-arrow-square:hover {
        background-color: #A00014;
    }

    .btn-arrow-square.white:hover {
        background-color: rgba(255, 255, 255, 0.95);
    }

    .btn-arrow-square.white:hover span {
        color: var(--color-red);
    }
}


@media screen and (max-width: 767px) {
    .btn-arrow-square {
        max-width: none;
        justify-content: space-between !important;
    }
}

.btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #fff;
    font-size: 32px;
    line-height: 1;
    font-family: var(--font-latin);
    text-decoration: none;
    justify-content: space-between;
    width: 100%;
}

.btn-cta {
    transition: var(--transition);
}

@media (hover: hover) and (pointer: fine) {
    .btn-cta:hover {
        color: var(--color-red) !important;
    }
}

.section-header {
    margin-bottom: clamp(40px, 10vw, 56px);
}

.h2-title-jp {
    display: grid;
    font-weight: 600;
    gap: 4px;
    grid-template-columns: min-content min-content auto;
    color: var(--black);
    font-size: clamp(12px, .3vw + 12px, 16px);
    margin: 0 0 12px;
    letter-spacing: .06em;
    line-height: 1;
    align-items: center;

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

    }
}

.h2-title-jp span {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: var(--color-black);
    margin-right: 4px;

    @media screen and (max-width: 767px) {
        width: 6px;
        height: 6px;
    }
}

/* ---------------------------------
   Sidebar TOC module (shared)
---------------------------------- */
.toc-sidebar {
    --sidebar-card-bg: var(--color-red);
    --sidebar-card-color: #fff;
    --sidebar-arrow-bg: url(assets/images/service/simple-arrow.svg);
    position: relative;
    font-family: var(--font-latin);
}

.toc-sidebar__nav {
    margin: 0;
}

.toc-sidebar__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 18px;
}

.toc-sidebar__pc {
    display: none;
    height: 100%;
}

.toc-sidebar__card {
    position: sticky;
    top: calc(var(--header-height, 88px) + 16px);
    background: var(--sidebar-card-bg);
    color: var(--sidebar-card-color);
    padding: 64px 40px;
    border: none;
    box-shadow: 0 4px 24px 0 #00000026;
    margin-top: -70px;
}

.toc-sidebar__title {
    margin: 0 0 32px;
    font-size: 14px;
    letter-spacing: .08em;
    line-height: 1;
    font-weight: 500;
    opacity: .95;
}

.toc-sidebar__title+.toc-sidebar__nav::before {
    content: "";
    display: block;
    height: 1px;
    width: 100%;
    background: rgba(255, 255, 255, .30);
    margin: 0 0 32px;
}

.toc-sidebar__list a {
    --toc-sidebar-square: 24px;
    display: grid;
    grid-template-columns: 1fr var(--toc-sidebar-square);
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--sidebar-card-color);
    line-height: 1.35;
    font-size: 0.875rem;
    transition: opacity .2s ease;
}

@media (hover: hover) and (pointer: fine) {
    .toc-sidebar__list a:hover {
        opacity: .85;
    }
}

.toc-sidebar__list a .icon-square {
    width: var(--toc-sidebar-square);
    height: var(--toc-sidebar-square);
    background: rgba(255, 255, 255, .28);
    position: relative;
    display: inline-block;
}

.toc-sidebar__list a .icon-square::before {
    content: "";
    position: absolute;
    inset: 0;
    margin: auto;
    width: 10px;
    height: 10px;
    background-image: var(--sidebar-arrow-bg);
    background-size: contain;
    background-repeat: no-repeat;
}

.toc-sidebar__list a.is-active {
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-thickness: 2px;
}

.toc-sidebar__sp {
    margin: 0 0 16px;
    box-shadow: 0 4px 24px 0 #00000026;
}

.toc-sidebar__sp summary {
    list-style: none;
    cursor: pointer;
    padding: 40px 24px;
    background: var(--sidebar-card-bg);
    color: var(--sidebar-card-color);
    font-weight: 500;
    font-size: 12px;
    position: relative;
}

.toc-sidebar__sp summary::-webkit-details-marker {
    display: none;
}

.toc-sidebar__sp summary::after {
    content: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTUiIGhlaWdodD0iMTUiIHZpZXdCb3g9IjAgMCAxNSAxNSIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cmVjdCB5PSI3IiB3aWR0aD0iMTUiIGhlaWdodD0iMSIgZmlsbD0id2hpdGUiLz48cmVjdCB4PSI4IiB3aWR0aD0iMTUiIGhlaWdodD0iMC45OTk5OTkiIHRyYW5zZm9ybT0icm90YXRlKDkwIDggMCkiIGZpbGw9IndoaXRlIi8+PC9zdmc+");
    font-size: 20px;
    line-height: 1;
    font-family: var(--font-sans-jp);
    font-weight: 400;
    position: absolute;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    opacity: .95;
}

.toc-sidebar__sp[open] summary::after {
    content: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTUiIGhlaWdodD0iMTUiIHZpZXdCb3g9IjAgMCAxNSAxNSIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cmVjdCB5PSI3IiB3aWR0aD0iMTUiIGhlaWdodD0iMSIgZmlsbD0id2hpdGUiLz48L3N2Zz4=");
}

.toc-sidebar__sp .toc-sidebar__nav {
    background: var(--sidebar-card-bg);
    padding: 12px 14px 16px;
}

.toc-sidebar__sp .toc-sidebar__list {
    gap: 10px;
}

.toc-sidebar__sp .toc-sidebar__list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 15px;
    color: var(--sidebar-card-color);
    padding: 12px 12px;
    text-decoration: none;
    font-weight: 500;
}

@media screen and (max-width: 768px) {
    .toc-sidebar__sp .toc-sidebar__list a {
        font-size: 12px;
    }
}


.toc-sidebar__sp .toc-sidebar__list a .icon-square {
    width: 24px;
    height: 24px;
    background: #ffffff4d;
    position: relative;
    flex: 0 0 26px;
}

.toc-sidebar__sp .toc-sidebar__list a .icon-square::before {
    background-image: var(--sidebar-arrow-bg);
}

@media (min-width: 1025px) {
    .toc-sidebar__sp {
        display: none;
    }

    .toc-sidebar__pc {
        display: block;
    }
}

.h2-title-jp span:first-child {
    background: var(--color-red);
    margin-right: 0;
}

.h2-title-en {
    font-family: var(--font-latin);
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1;
    font-size: clamp(40px, 5vw, 80px);
    /* 大見出し SERVICE */
    margin: 0;
    color: var(--color-text);
}

.icon-square {
    display: inline-block;
    width: 8px;
    height: 8px;
    background-color: #d00;
    /* 必要に応じて変更 */
    flex-shrink: 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--color-text);
}

.section-description {
    font-size: 1.1rem;
    color: var(--color-text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* リンクリスト */
.link-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.link-list li {
    border-bottom: 1px solid rgba(0, 0, 0, .1);
}

.link-list li:first-of-type {
    border-top: 1px solid rgba(0, 0, 0, .1);
}

.link-list li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 5px;
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

@media (hover: hover) and (pointer: fine) {

    .link-list li a:hover {
        color: var(--color-primary);
        background-color: #fafafa6b;
        transform: translateX(2px);
    }
}

/* ページリンクリスト */
.page-links {
    background: var(--color-light-gray);
    padding: clamp(48px, 10vw, 80px) 0;
    margin: 40px 16px 0;
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-md);
}

.page-links::before {
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    background:
        url("../images/solution/solution-list-bg.png") no-repeat 0 0;
    background-size: auto;
    position: absolute;
    top: -10%;
    left: 0;
    z-index: 0;
}


.page-links__inner {
    display: grid;
    grid-template-columns: 296px 1fr;
    /* 左見出し＋右リンク群 */
    gap: 24px 32px;
    align-items: start;
}

.page-links__head {
    position: relative;
    z-index: 1
}

.page-links__head .h2-title-en {
    font-size: clamp(24px, 4vw, 32px);
    font-weight: 500;
}

.page-links__list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 0 32px;
    position: relative;
    z-index: 1;
}

.page-links__list li {
    padding-block: 9px;
}

.page-links__list li:first-of-type {
    border-top: none;
}

.page-links__list li a {
    height: 100%;
    font-weight: 500;
}


/* SP */
@media (max-width: 768px) {
    .page-links {
        margin-inline: 0;
        margin-bottom: 0;
    }

    .page-links::before {
        display: none;
    }

    .page-links__inner {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .page-links__list {
        grid-template-columns: 1fr;
        gap: 0;
    }
}



/*==============================================================
* 以下ページ共通要素
*
* パンくず
*
/==============================================================*/
.breadcrumb {
    padding: clamp(10px, 4vw, 20px) 0;
    position: relative;
    z-index: 1
}

.breadcrumb-bottom {
    padding: clamp(40px, 10vw, 64px) 0;
}

.breadcrumb .container {
    margin-inline: auto;
}

.breadcrumb__list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    margin: 0;
    padding: 0;
    list-style: none;
    gap: 0;
    font-size: clamp(12px, 0.25vw + 12px, 14px);
    line-height: 1.9;
}

.breadcrumb-bottom .breadcrumb__list {
    justify-content: flex-start;
}

/* 各項目 */
.breadcrumb__item {
    color: var(--color-text-light);
    max-width: 100%;
    opacity: .8;
}

.breadcrumb__item span {
    font-size: clamp(10px, 0.25vw, 11px);
    line-height: 160%;
    text-align: center;
}

.breadcrumb__item+.breadcrumb__item::before {
    content: "—";
    margin: 0 10px;
    color: rgba(34, 34, 34, 0.50);
}


.bc-bottom .breadcrumb__link {
    text-decoration: none;
}

/* 現在ページは濃色 */
.breadcrumb__item.is-current {
    color: var(--color-text);
    font-weight: 500;
    opacity: 1;
}

.bc-bottom .breadcrumb__list {
    justify-content: flex-start;
    padding: clamp(40px, 10vw, 64px) 0;
}

@media screen and (max-width: 767px) {
    .breadcrumb {
        padding-block: 0;
    }
}

/*==============================================================
/ ページ共通Timeline (導入プロセス)
/==============================================================*/

.process-flow {
    --dot-size: 7px;
    --rail-gap: 32px;
    --item-gap: 32px;
    --badge-size: 88px;
    --col-gap: 32px;

}

/* レールは ul の ::before で描画 */
.process-flow__list {
    position: relative;
    list-style: none;
    margin: 0;
    padding: 0 0 0 var(--rail-gap);
}

.process-flow__list::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 1px;
    background: var(--color-red);
}

/* 各アイテム */
.process-flow__item {
    position: relative;
    margin: 0 0 var(--item-gap);
}


.process-flow__item:last-child {
    margin-bottom: 0;
}

/* レール上のマーカー（直径7px、中心がレール上に来る） */
.process-flow__marker {
    position: absolute;
    left: -32px;
    top: calc(var(--badge-size) / 2 - var(--dot-size) / 2);
    width: var(--dot-size);
    height: var(--dot-size);
    background: var(--color-red);
    border-radius: 50%;
    transform: translateX(-50%);
    /* 中心をレールに合わせる */
}

/* バッジ + 本文の2カラム */
.process-flow__card {
    display: grid;
    grid-template-columns: var(--badge-size) 1fr;
    column-gap: var(--col-gap);
    align-items: center;
}

/* 赤いバッジ */
.process-flow__badge {
    width: var(--badge-size);
    height: var(--badge-size);
    background: var(--color-red);
    color: #fff;
    border-radius: var(--radius-sm);
    display: grid;
    place-content: center;
    row-gap: 4px;
    text-align: center;
}

.process-flow__step {
    font-size: 12px;
    letter-spacing: 0;
    font-family: var(--font-latin);
    font-weight: 500;
}

.process-flow__num {
    font-family: var(--font-latin);
    display: block;
    font-size: clamp(24px, 2vw, 32px);
    font-weight: 500;
    line-height: 1;
}

/* 本文 */
.process-flow__title {
    margin: 0 0 8px;
    font-weight: 500;
    font-size: clamp(18px, 1.8vw, 20px);
    color: var(--color-text);
}

.process-flow__text {
    margin: 0;
    line-height: 1.8;
}

/* ====== SP（～767px） ====== */
@media (max-width: 767px) {
    .process-flow {
        --rail-gap: 16px;
        --item-gap: 24px;
        --badge-size: 60px;
        --col-gap: 16px;
    }

    .process-flow__card {
        align-items: start;
    }

    .process-flow__marker {
        left: -16px;
        top: calc(var(--badge-size) / 2 - var(--dot-size) / 2);
    }
}

/*==============================================================
/ ページ共通ヒーロー/hero-common
/==============================================================*/
.hero-common {
    position: relative;
    overflow: hidden;
    top: -64px;
    margin-bottom: -64px;
    background: var(--color-light-gray);
}

.hero-common__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    text-align: right;
}

.hero-common__bg-img img {
    width: auto;
    height: 100%;
    object-fit: contain;
}

.hero-common__inner {
    position: relative;
    padding: clamp(120px, 20vw, 220px) 24px clamp(16px, 5vw, 40px);
}

@media screen and (max-width: 767px) {
    .hero-common__inner {
        padding-bottom: 0;
    }
}

.hero-common .h2-title-jp {
    color: var(--color-text);
    font-weight: 500;
}

.hero-common .h2-title-en {
    font-family: var(--font-latin);
    font-weight: 500;
    margin-bottom: clamp(48px, 10vw, 80px);
    font-size: clamp(40px, 7vw, 96px);
    position: relative;
    letter-spacing: -0.03em;
    z-index: 1;
}

.hero-common__breadcrumb {
    padding-inline: 24px;
    padding-bottom: clamp(24px, 4vw, 40px);
}

.hero-common__breadcrumb--has-sidebar {
    padding-bottom: clamp(40px, calc(300px - 30vw), 70px);
}

.hero-common__breadcrumb .breadcrumb {
    margin: 0;
    padding: 0;
}

@media screen and (max-width: 1023.98px) {
    .hero-common__breadcrumb {
        padding-inline: 20px;
    }
}

@media screen and (max-width: 767px) {
    .hero-common__breadcrumb {
        padding-bottom: 16px;
    }
    .single-xd .hero-common__breadcrumb,
    .single-outsourcing .hero-common__breadcrumb,
    .post-type-archive-service .hero-common__breadcrumb,
    .post-type-archive-news .hero-common__breadcrumb {
        padding-bottom: 16px;
    }

    .hero-common__breadcrumb .breadcrumb .container {
        width: 100%;
        padding: 0;
    }
}

/*==============================================================
/ ページ共通カード型アーカイブ
/==============================================================*/
.gray-card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    align-items: stretch;
}

.customer_voice .gray-card-grid {
    gap: 32px;
}

.solution-section .gray-card-grid {
    gap: 16px;
}

/* ここがポイント：グリッド直下の li をフレックス化 */
.gray-card-grid>.gray-card-item {
    display: flex;
}

/* a を親いっぱいに伸ばす。背景/余白は a に */
.gray-card-item .gray-card-body {
    display: flex;
    flex-direction: column;
    gap: 32px;
    min-height: 100%;
    width: 100%;
    flex: 1;
    background-color: #F5F7F8;
    padding-block: 32px;
    border-radius: var(--radius-sm);
}

.gray-card-grid .swiper-slide {
    height: auto !important;
}

.gray-card-body .card-meta {
    font-weight: 500;
    font-size: 14px;
    color: rgba(0, 0, 0, 0.5);
    padding-inline: 32px;
}

.gray-card-body .card-title {
    font-size: 14px;
    font-weight: 500;
    display: block;
    padding-inline: 32px;
}

.gray-card-body .card-excerpt {
    padding-inline: 32px;
    font-size: clamp(16px, 2vw, 18px);
    line-height: 1.55;
    font-weight: 500;
    margin: 0;
}

.gray-card-body .thumb {
    width: 100%;
    height: auto;
    display: block;
    overflow: hidden;
}

.gray-card-body .thumb img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    object-position: center;
    transition: var(--transition);
}

@media (hover: hover) and (pointer: fine) {
    .gray-card-body .thumb img:hover {
        transform: scale(1.1);
    }
}

.gray-card-body .more {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 32px 0;
    white-space: nowrap;
    gap: 16px;
    margin-top: auto;
}

.gray-card-body .more span {
    transition: var(--transition);
    color: var(--color-black);
    font-family: var(--font-latin);
    font-weight: 500;
}

@media (hover: hover) and (pointer: fine) {

    .case-studies .more:hover span {
        color: var(--color-red);
        transform: translateX(2px);
    }
}

.gray-card-body .more span.gray-line {
    flex-grow: 1;
    overflow: hidden;
    height: 1px;
    background-color: #D9D9D9;
    vertical-align: middle;
}

@media screen and (max-width: 1280px) {
    .gray-card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media screen and (max-width: 767px) {
    .gray-card-grid {
        grid-template-columns: 1fr;
    }
}

.case-pager.pager-gray {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    color: var(--black);
    margin-bottom: 40px;
}

.case-pager.pager-gray .nav-btn span {
    margin-bottom: 40px;
    font-size: 16px;
    letter-spacing: 0%;
    font-weight: 400;
}

.case-pager.pager-gray .nav-btn {
    width: 32px;
    height: 32px;
    border: none;
    border-radius: var(--radius-sm);
    background: var(--color-bg-neutral, #F5F7F8);
    position: relative;
}

.case-pager.pager-gray .nav-btn.prev::before,
.case-pager.pager-gray .nav-btn.next::before {
    content: "";
    position: absolute;
    inset: 0;
    margin: auto;
    width: 4.5px;
    height: 4.5px;
    border-left: 1px solid #333;
    border-bottom: 1px solid #333;
    transform: rotate(45deg);
}

.case-pager.pager-gray .nav-btn.next::before {
    transform: rotate(-135deg);
}

/* ===================================
   モーダル
=================================== */

/* contact-guide モーダル */
#contact-guide {
    width: min(760px, 92vw);
    border: none;
    padding: clamp(32px, 10vw, 64px) clamp(20px, 5vw, 88px);
    animation: contactModal-in .18s ease-out;
    margin: auto;
}

#contact-guide::backdrop {
    background: rgba(0, 0, 0, .30);
}

@keyframes contactModal-in {
    from {
        opacity: 0;
        transform: translateY(6px) scale(.995);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

/* header */

#contact-guide .modal__close {
    position: absolute;
    top: 28px;
    right: 28px;
    inline-size: 32px;
    block-size: 32px;
    border: 0;
    border-radius: var(--radius-md);
    background: transparent;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    outline: none;
}

#contact-guide .modal__close:focus {
    outline: none;
}

@media screen and (max-width: 767px) {
    #contact-guide .modal__close {
        top: 15px;
        right: 15px;
        inline-size: 24px;
        block-size: 24px;
    }
}

#contact-guide .modal__head {
    margin-bottom: 24px;
}

#contact-guide .modal__title {
    font-weight: 500;
    font-size: clamp(18px, 3vw, 20px);
    line-height: 155%;
    letter-spacing: 5%;
    text-align: center;
    color: var(--color-text);
}

/* content */
#contact-guide .modal__lead {
    font-weight: 400;
    font-size: clamp(13px, 2vw, 14px);
    text-align: center;
    color: var(--color-text);
    margin-bottom: 24px;
}

#contact-guide .modal__menu {
    list-style: none;
    margin-bottom: 24px;
    padding: 0;
    display: grid;
    gap: 12px;
}

#contact-guide .modal__menu li {
    display: grid;
    grid-template-columns: 34px 1fr;
    gap: 13px;
    align-items: center;
    line-height: 1.7;
    line-height: 180%;
    letter-spacing: 5%;

}

#contact-guide .modal__menu .num {
    display: inline-grid;
    place-items: center;
    inline-size: 32px;
    block-size: 32px;
    border-radius: var(--radius-sm);
    background: var(--color-red);
    color: var(--color-white);
    font-family: var(--font-latin);
    font-weight: 500;
    font-size: 16px;
    line-height: 100%;
    letter-spacing: 0%;
}


#contact-guide .modal__sep {
    border: 0;
    height: 1px;
    background: #E6E6E6;
    margin: 18px 0;
}

#contact-guide .modal__tel {
    text-align: center;
}

#contact-guide .modal__tel-label {
    font-style: Medium;
    font-size: clamp(18px, 3vw, 20px);
    line-height: 155%;
    letter-spacing: 5%;
    text-align: center;
    margin-bottom: 24px;
}

#contact-guide .modal__tel-num {
    font-size: clamp(24px, 3vw, 32px);
    font-family: var(--font-latin);
    font-weight: 400;
    line-height: 100%;
    letter-spacing: 2%;
    margin-bottom: 12px;
    position: relative;
    display: inline-block;
}

#contact-guide .modal__tel-num::before {
    content: "";
    display: inline-block;
    background-image: url(../images/ic-phone.svg);
    background-size: contain;
    inline-size: 24px;
    block-size: 24px;
    margin-inline: auto;
    position: absolute;
    top: 4px;
    left: -30px;
}

#contact-guide .modal__tel-num a {
    color: var(--black, #2C2A2A);
    text-decoration: none;
}

#contact-guide .modal__tel-note {
    color: var(--color-text);
    font-size: clamp(11px, 1vw, 12px);
    line-height: 160%;
    letter-spacing: 5%;
    text-align: center;
}

@keyframes contactModal-in {
    from {
        opacity: 0;
        transform: translateY(6px) scale(.995);
    }

    to {
        opacity: 1;
        transform: none;
    }
}


@media screen and (max-width: 767px) {
    #contact-guide .modal__tel-num::before {
        inline-size: 16px;
        block-size: 16px;
        left: -24px;
    }
}

/* ===================================
   アニメーション
=================================== */
/* 汎用フェードアップ */
.fade-up {
    opacity: 0;
    transform: translateY(100px);
    transition: opacity 2s ease, transform 2s ease;
    will-change: opacity, transform;
}

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


/* ===================================
   ヘッダー
=================================== */
.header {
    position: sticky;
    top: 20px;
    left: 0;
    right: 0;
    z-index: 1000;
    width: 97%;
    max-width: var(--container);
    margin-inline: auto;
    padding: 0 16px;
    border-radius: var(--radius-sm);
}

@media screen and (max-width: 1180px) {
    .header {
        top: 5px;
    }
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 64px;
    margin: 0 24px;
}

@media screen and (max-width: 1280px) {
    .header__inner {
        margin: 0;
    }
}

@media screen and (max-width: 1180px) {
    .header__inner {
        min-height: 53px;
        margin: 0;
        padding: 0;
    }
}

.header__logo {
    margin-right: 40px;
    display: flex;
    align-items: center;
}

@media screen and (max-width: 1320px) {
    .header__logo {
        margin-right: 20px;
    }
}

.header__logo .logo {
    display: block;
    width: 158px;
    height: auto;
}

@media screen and (max-width: 1280px) {
    .header__logo .logo {
        width: 12.34375vw;
    }
}

@media screen and (max-width: 1180px) {
    .header__logo .logo {
        width: 125px;
    }
}

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

.nav-list {
    display: flex;
    gap: 24px;
}

.nav-link {
    font-weight: 500;
    color: var(--color-text);
    font-size: 13px;
    white-space: nowrap;
    position: relative;
    line-height: 100%;
    display: block;
}

@media (hover: hover) and (pointer: fine) {

    .nav-link:hover {
        color: var(--color-primary);
    }
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-primary);
    transition: width 0.3s ease;
}

@media (hover: hover) and (pointer: fine) {
    .nav-link:hover::after {
        width: 100%;
    }
}

.header__cta {
    display: flex;
    align-items: center;
    gap: 4px;
}

@media screen and (max-width: 1280px) {
    .header__cta {
        margin-left: 20px;
    }
}


.header__menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    position: fixed;
    top: 5px;
    right: clamp(15px, 4vw, 30px);
    z-index: 1001;
    mix-blend-mode: difference;
    height: 53px;
}

.header__menu-toggle span {
    display: block;
    width: 48px;
    height: 1px;
    background-color: var(--color-white);
    margin: 3px 0;
    transition: all 0.3s ease;
    transform: translateZ(0);
    backface-visibility: hidden;
}

/* モバイルメニューのスタイル */
.header__nav.is-active {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    padding: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.header__nav.is-active .nav-list {
    flex-direction: column;
    gap: 16px;
}

.header__nav.is-active .nav-link {
    font-size: 1.1rem;
    padding: 12px 0;
    border-bottom: 1px solid var(--color-bg-light);
}

.header__nav.is-active .nav-link:last-child {
    border-bottom: none;
}

/* スクロール時のヘッダースタイル */
.header.is-scrolled {
    background-color: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(20px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

@media (hover: hover) and (pointer: fine) {
    .header.is-scrolled:hover {
        background-color: #fff;
    }
}

/* ===================================
   メインコンテンツ
=================================== */
.main {
    margin-top: 0;
}

/* ===================================
   ヒーローセクション
=================================== */
.hero {
    position: relative;
    min-height: 100vh;
    align-items: center;
}

.hero__background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
}

.hero__bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7);
}

.hero__inner {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero__content {
    max-width: 600px;
}

.hero__subtitle {
    font-size: 1.2rem;
    margin-bottom: 16px;
    opacity: 0.9;
}

.hero__title {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 32px;
}

.hero__info-box {
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 24px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    max-width: 400px;
}

.hero__info-text {
    font-size: 1rem;
    line-height: 1.6;
}

/* ---------------------------------
   Hero Sidebar (shared module)
---------------------------------- */
.hero-sidebar {
    position: relative;
    overflow: hidden;
    top: -64px;
    margin-bottom: -64px;
    background: var(--color-light-gray);
    color: var(--color-text);
}

.hero-sidebar__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    margin: 0 calc(50% - 50vw);
    width: 100vw;
}

.hero-sidebar__bg-img,
.hero-sidebar__bg-img img {
    display: block;
    width: auto;
    margin: 0 auto;
    min-height: 460px;
}

.hero--recruit .hero-sidebar__bg-img,
.hero--recruit .hero-sidebar__bg-img img {
    height: 100%;
}

.hero-sidebar__bg-img img {
    object-fit: cover;
}

.hero-sidebar__bg--blur {
    z-index: 0;
    overflow: hidden;
}

.hero-sidebar__bg--main {
    z-index: 0;
}

.hero-sidebar__bg-img--blur img {
    filter: blur(24px);
    width: 100%;
    height: auto;
    transform: scale(1.08);
    transform-origin: center;
}

.hero-sidebar__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.28) 0%, rgba(0, 0, 0, 0.65) 100%);
    opacity: 0.55;
}

.hero-sidebar__inner {
    position: relative;
    z-index: 1;
    padding: clamp(96px, 12vw, 160px) 24px clamp(40px, 10vw, 96px);
}

.hero-sidebar__label {
    margin: 0 0 18px;
    font-weight: 500;
}

.hero-sidebar__title {
    margin: 0;
    font-size: clamp(32px, 6vw, 40px);
    font-weight: 500;
}

.hero-sidebar__breadcrumb {
    position: relative;
    z-index: 1;
    padding-inline: 24px;
    padding-bottom: clamp(24px, 4vw, 40px);
}

.hero-sidebar__breadcrumb--has-sidebar {
    padding-bottom: 40px;
}

@media screen and (max-width: 1024px) {
    .hero-sidebar__breadcrumb--has-sidebar {
        padding-bottom: 70px;
    }
}

.hero-sidebar__breadcrumb .breadcrumb {
    margin: 0;
    padding: 0;
}

.hero-sidebar--invert {
    color: var(--color-white);
}

.hero-sidebar--invert .hero-sidebar__label,
.hero-sidebar--invert .hero-sidebar__title {
    color: var(--color-white);
}

.hero-sidebar--invert .hero-sidebar__label span:nth-child(2) {
    background: var(--color-white);
}

.hero-sidebar--invert .hero-sidebar__breadcrumb .breadcrumb__item,
.hero-sidebar--invert .hero-sidebar__breadcrumb .breadcrumb__item span,
.hero-sidebar--invert .hero-sidebar__breadcrumb .breadcrumb__link {
    color: rgba(255, 255, 255, 0.75);
    opacity: 1;
}

.hero-sidebar--invert .hero-sidebar__breadcrumb .breadcrumb__item.is-current,
.hero-sidebar--invert .hero-sidebar__breadcrumb .breadcrumb__item.is-current span {
    color: var(--color-white);
}

.hero-sidebar--invert .hero-sidebar__breadcrumb .breadcrumb__item+.breadcrumb__item::before {
    color: rgba(255, 255, 255, 0.4);
}

@media screen and (max-width: 1023.98px) {
    .hero-sidebar {
        top: -58px;
        margin-bottom: -58px;
    }

    .hero-sidebar__inner {
        padding: clamp(80px, 18vw, 140px) 20px clamp(32px, 10vw, 72px);
    }

    .hero-sidebar__breadcrumb {
        padding-inline: 20px;
    }
}

@media screen and (max-width: 767px) {
    .hero-sidebar__breadcrumb {
        padding-inline: 20px;
    }
}

/* ビジョンセクションは top.css へ移行 */


/* ===================================
   サービスセクション
=================================== */
.services {
    background-color: #fff;
    padding: clamp(80px, 12vw, 160px) 0 0;
}

.services__showcase {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 400px;
}

.services__phones {
    display: flex;
    gap: 40px;
    align-items: center;
}

.phone-mockup {
    width: 200px;
    height: 400px;
    background-color: #1f2937;
    border-radius: 20px;
    padding: 8px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.phone-screen {
    width: 100%;
    height: 100%;
    border-radius: 12px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.purple-app {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.green-app {
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
}

.app-icon {
    margin-bottom: 16px;
}

.app-content h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.app-content p {
    font-size: 0.9rem;
    opacity: 0.9;
}



/* ===================================
   ソリューションセクション
=================================== */
.solution {
    padding: 0 0 clamp(48px, 12vw, 160px);
    background: #000;
    z-index: 1;
    position: relative;
}

.solution-body {
    display: flex;
    align-items: stretch;
    height: 100%;
    gap: clamp(40px, 10vw, 80px);
}

@media screen and (max-width: 900px) {
    .solution-body {
        gap: 0;
    }
}

@media screen and (max-width: 900px) {
    .solution-body {
        flex-direction: column;
    }
}

.solution-body>* {
    flex: 1;
}

.solution-ttl {
    background-image: url(../images/solution-bg-img.jpg);
    background-size: cover;
    background-position: center;
    width: 100%;
    height: 100vh;
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1;
    overflow: hidden;
    background: #000;
}

.solution-ttl::after {
    content: "";
    position: absolute;
    inset: 0;
    /* 上は透けて下に向かって黒が濃くなる */
    background: linear-gradient(to bottom,
            rgba(0, 0, 0, 0.1) 10%,
            rgba(0, 0, 0, 0.4) 40%,
            rgba(0, 0, 0, .8) 80%,
            rgba(0, 0, 0, 1) 100%);
    z-index: 1;
    pointer-events: none;
}

/* 追加：クロスフェード画像レイヤー */
.solution-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity .6s ease;
    z-index: 1;
    pointer-events: none;
}

.solution-bg.is-show {
    opacity: 1;
}

.solution-ttl-inner {
    padding: 0 0 74px 80px;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: end;
    position: absolute;
    bottom: 0;
    z-index: 2;
}

@media screen and (max-width: 900px) {
    .solution-ttl {
        aspect-ratio: 1.05/1;
        position: relative;
        top: unset;
        left: unset;
        right: unset;
        z-index: unset
    }

    .solution-ttl-inner {
        padding: 0 0 48px 41px;
    }

    .solution-ttl .section-header {
        margin-bottom: 0;
    }
}

.solution-ttl h2,
.solution-ttl p {
    color: var(--color-white);
}

.solution-ttl .h2-title-jp span:nth-child(2) {
    background: var(--color-white);
}

.solution .btn-arrow {
    margin-inline: 0;
}

.sector-list {
    max-width: 80%;
    list-style: none;
    margin: 0;
    padding: 160px 0 0;
}

@media screen and (max-width: 1024px) {
    .sector-list {
        max-width: 100%;
        padding: 120px 80px 0 0;
    }
}

@media screen and (max-width: 900px) {
    .solution-list {
        padding: 24px 24px 0;
    }

    .sector-list {
        padding: 0;
        margin-bottom: 24px;
        max-width: 100%;
    }
}

.sector-item {
    border-bottom: 1px solid rgba(255, 255, 255, .3);
}

.sector-item>a {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 24px;
    min-height: clamp(96px, 16vw, 160px);
    padding: clamp(24px, 4vw, 48px) 0;
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

@media (hover: hover) and (pointer: fine) {
    .sector-item>a:hover {
        background: rgba(255, 255, 255, .1);
    }
}

/* サムネイル */
.sector-item .thumb {
    width: 160px;
    aspect-ratio: 1/1;
    overflow: hidden;
    flex: 0 0 auto;
}

.sector-item .thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: var(--transition);
}

@media (hover: hover) and (pointer: fine) {
    .sector-item>a:hover .thumb img {
        transform: scale(1.1);
    }
}

/* タイトル */
.sector-item .title {
    margin: 0;
    font-weight: 500;
    font-size: clamp(18px, 1vw + 14px, 20px);
    letter-spacing: .02em;
    color: var(--color-white);
    transition: var(--transition);
}

@media (hover: hover) and (pointer: fine) {
    .sector-item>a:hover .title {
        transform: translateX(5px);
    }
}

/* モバイル最適化：行間を広げ、画像を少し小さめに */
@media (max-width: 1024px) and (min-width: 900px) {
    .sector-item .thumb {
        width: 120px;
    }
}

@media (max-width: 480px) {
    .sector-item>a {
        gap: 16px;
        min-height: 120px;
    }

    .sector-item .thumb {
        width: 120px;
    }
}

/* CASE STUDIES は top.css へ移行 */

.swiper-scrollbar {
    height: 3px;
    background: rgba(0, 0, 0, .1);
}

.swiper-scrollbar-drag {
    background: #b00;
}


/* COMPANY は top.css へ移行 */

/* RECRUIT は top.css へ移行 */

/* ===================================
   ニュースリリースセクション
=================================== */
.news {
    padding: clamp(80px, 15vw, 120px) 0;
    background: #fff;
    position: relative;
    z-index: 1;
}

.news-head h2 span {
    display: block;
}

.news-grid {
    display: grid;
    grid-template-columns: minmax(240px, 420px) 1fr;
    gap: clamp(20px, 4vw, 56px);
    align-items: start;
}

.news .btn-arrow {
    color: var(--black);
    margin-inline: 0;
}

.news-title {
    font-family: var(--font-latin);
    font-weight: 800;
    line-height: .95;
    letter-spacing: .02em;
    font-size: clamp(40px, 7vw, 96px);
    color: var(--black, #2C2A2A);
    margin: 0 0 12px;
}

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

.news-item a {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: nowrap;
    padding: 24px 0;
    text-decoration: none;
    color: var(--black);
    border-bottom: 1px solid #E7EBEF;
}

.news-item .date {
    color: var(--text);
    font-family: var(--font-latin);
    font-size: 12px;
    white-space: nowrap;
    min-width: 72.5px;
}

.news-item .badge {
    display: inline-block;
    text-align: center;
    width: clamp(90px, 12vw, 120px);
    line-height: 1.2;
    padding: 6px 10px;
    font-size: 11px;
    background: #F3F5F8;
    color: var(--black);
    border-radius: 100px;
    white-space: nowrap;
}

.news-item .ttl {
    font-size: clamp(14px, 2vw, 16px);
    line-height: 1.6;
    flex: 1;
    min-width: 0;
}

/* PDFアイコン表示用 */
.news-item.has-pdf .ttl::after {
    content: "";
    display: inline-block;
    width: 16px;
    height: 17px;
    margin-left: 8px;
    background-image: url("../images/icon-pdf.svg");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    vertical-align: middle;
}

@media screen and (max-width: 1024px) {
    .news-head h2 span {
        display: inline;
        margin-right: .2em;
    }

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

    .news-list {
        margin-bottom: 10px;
    }

    .news-item a {
        flex-wrap: wrap;
    }

    .news-item .ttl {
        width: 100%;
        flex: none;
    }
}

/* ===================================
   コンタクト
=================================== */
.contact-band {
    background: var(--color-black);
    color: #fff;
    padding: 80px 20px;
    position: relative;
    z-index: 1;
}

.contact-band .contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.contact-band .contact-left {
    width: 35%;
}

.contact-band .contact-right {
    border-left: 1px solid rgba(255, 255, 255, .15);
    height: 100%;
}

.contact-band .contact-title {
    font-family: var(--font-latin);
    font-size: 24px;
    font-weight: 500;
    letter-spacing: .02em;
    line-height: 1;
    margin: 0 0 32px;
}

.contact-band .service-contact__lead {
    font-weight: 400;
    margin-bottom: 42px;
    text-align: center;
}

.contact-band .service-contact__card-excerpt {
    font-size: 16px;
    padding-bottom: 48px;
    text-align: center;
}

.contact-band .caption {
    font-weight: 600;
    font-size: 18px;
}

.contact-band .contact-right .caption {
    color: var(--color-white);
    font-size: 18px;
    margin: 0 0 16px;
}

.contact-band .contact-right .hours,
.contact-band .contact-right .note {
    color: var(--color-white);
    font-size: 12px;
    margin: 0 0 16px;
}

.contact-band .contact-form,
.contact-band .contact-tel {
    height: auto;
}

.contact-band .contact-form {
    border: none;
    text-align: center;
}

.contact-band .contact-form .btn-arrow-square {
    margin: 0 auto;
}

.contact-band .contact-tel {
    align-items: center;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-band .contact-tel .tel {
    align-items: center;
    color: #fff;
    display: inline-flex;
    font-family: var(--font-latin);
    font-size: 32px;
    font-weight: 400;
    gap: 8px;
    line-height: 1;
    text-decoration: none;
}

.contact-band .contact-tel .hours {
    font-size: 14px;
}

.contact-band .contact-tel .note {
    font-size: 11px;
    font-style: normal;
    font-weight: 400;
    letter-spacing: 0.05em;
    line-height: 160%;
    text-align: center;
}

.contact-band .contact-tel .note a {
    text-decoration: underline;
    transition: var(--transition);
}

@media (hover: hover) {
    .contact-band .contact-tel .note a:hover {
        color: var(--color-light-gray);
    }
}

@media screen and (max-width: 1240px) {
    .contact-band {
        padding: 16px 20px;
        max-width: 640px;
        margin: 0 auto;
    }

    .contact-band .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-band .contact-right {
        border-left: 0;
        border-top: 1px solid rgba(255, 255, 255, .15);
    }

    .contact-band .contact-title {
        font-size: 18px;
    }

    .contact-band .caption {
        font-size: 16px;
    }

    .contact-band .contact-tel .hours {
        font-size: 12px;
    }

    .contact-band .contact-tel .note {
        font-size: 13px;
    }

    .contact-band .contact-right .caption {
        font-size: 16px;
    }

    .contact-band .service-contact__lead {
        font-size: 32px;
        text-align: left;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    }

    .contact-band .service-contact__card-excerpt {
        border-bottom: 1px solid rgba(255, 255, 255, .15);
        font-size: 14px;
        padding-bottom: 25px;
        text-align: left;
    }

    .contact-band .contact-right .hours,
    .contact-band .contact-right .note {
        font-size: 11px;
    }

    .contact-band .contact-form,
    .contact-band .contact-tel {
        border-right: none;
        padding: 25px 0;
    }

    .contact-band .contact-form {
        padding-left: 0;
        text-align: center;
    }

    .contact-band .contact-tel {
        padding-right: 0;
    }
}

/* ===================================
   コンタクト フッター
=================================== */

.contact-band-footer {
    background: var(--color-black);
    color: #fff;
    padding: 80px 0;
    position: relative;
    z-index: 1;
}

.contact-band-footer .contact-grid {
    align-items: start;
    display: grid;
    gap: clamp(32px, 6vw, 64px);
    grid-template-columns: minmax(0, 260px) minmax(700px, 1fr);
}

.contact-band-footer .contact-left {}

.contact-band-footer .contact-right {
    display: flex;
    height: 100%;
    justify-content: center;
}

.contact-band-footer .contact-title {
    font-family: var(--font-latin);
    font-size: 24px;
    font-weight: 500;
}

.contact-band-footer .contact-right .caption {
    color: var(--color-white);
    font-weight: 500;
    margin: 0 0 16px;
}

.contact-band-footer .contact-right .hours,
.contact-band-footer .contact-right .note {
    color: var(--color-white);
    font-size: 12px;
    margin: 16px 0 0;
}

.contact-band-footer .contact-tel {
    height: auto;
    padding-left: 64px;
}

.contact-band-footer .contact-tel .tel {
    align-items: center;
    color: #fff;
    display: inline-flex;
    font-family: var(--font-latin);
    font-size: 32px;
    font-weight: 500;
    gap: 8px;
    line-height: 1;
    text-decoration: none;
}

.contact-band-footer .contact-tel .note {
    font-size: 11px;
    line-height: 160%;
}

.contact-band-footer .contact-tel .note a {
    text-decoration: underline;
    transition: var(--transition);
}

.contact-band-footer .contact-form {
    border-right: 1px solid rgba(255, 255, 255, .15);
    height: auto;
    padding-right: 64px;
}

@media (hover: hover) {
    .contact-band-footer .contact-tel .note a:hover {
        color: var(--color-light-gray);
    }
}

@media screen and (max-width: 1024px) {
    .contact-band-footer .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 900px) {
    .contact-band-footer {
        padding: 64px 4px 40px;
    }

    .contact-band-footer .contact-right {
        display: block;
    }

    .contact-band-footer .caption {
        font-size: 13px;
    }

    .contact-band-footer .contact-form,
    .contact-band-footer .contact-tel {
        border-right: none;
        border-top: 1px solid rgba(255, 255, 255, .15);
        padding: 25px 0;
    }
}


/* ===================================
   フッター
=================================== */
.footer {
    background-color: var(--color-bg-white);
    color: var(--color-text);
    border-top: 1px solid var(--color-bg-light);
}

.footer__inner {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: clamp(40px, 4vw, 56px);
    padding-top: clamp(64px, 12vw, 120px);
    padding-bottom: clamp(64px, 12vw, 120px);
}

@media screen and (max-width: 900px) {
    .footer__inner {
        grid-template-columns: 1fr;
    }
}


.footer__logo .logo {
    width: 140px;
    height: auto;
    width: auto;
}

.footer__nav {
    display: grid;
    gap: 60px 24px;
    grid-template-columns: repeat(4, 1fr);
}

.footer__nav-title {
    margin: 0 0 20px;
    font-size: 14px;
    color: var(--color-text);
    font-weight: 500;
}

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

.footer__nav-list li+li {
    margin-top: 8px;
}

.footer__nav-list a {
    color: var(--color-text);
    font-size: clamp(11px, 1vw, 12px);
    transition: color 0.3s ease;
    display: block;
}

.footer__nav-list-sub {
    margin-top: 8px;
    display: flex;
    flex-direction: column;
    padding-left: 16px;
    padding-bottom: 16px;
}


@media (hover: hover) and (pointer: fine) {
    .footer__nav-list a:hover {
        color: var(--color-primary);
    }
}

@media (max-width: 900px) {
    .footer__nav {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .footer__nav-title {
        border-bottom: 1px solid rgba(0, 0, 0, .1);
    }
}

.footer__bottom {
    border-top: 1px solid rgba(0, 0, 0, .1);
    padding: clamp(32px, 12vw, 64px) 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer__legal {
    display: flex;
    gap: 24px;
}

.footer__legal a {
    color: var(--color-text);
    font-size: 11px;
    transition: color 0.3s ease;
}

@media (hover: hover) and (pointer: fine) {
    .footer__legal a:hover {
        color: var(--color-primary);
    }
}

.footer__copyright {
    color: var(--color-text);
    font-size: 11px;
    font-family: var(--font-latin);
    font-weight: 400;
}

@media screen and (max-width: 1024px) {
    .footer__bottom {
        flex-direction: column;
        align-items: start;
        gap: 40px;
    }

    .footer__legal {
        flex-direction: column;
        gap: 16px;
    }
}

/* ===================================
   レスポンシブデザイン
=================================== */

/* タブレット */
@media (max-width: 1180px) {
    .header__nav {
        display: none;
    }

    .header__cta {
        display: none;
    }

    .header__menu-toggle {
        display: flex;
    }

    .services__phones {
        gap: 20px;
    }

    .phone-mockup {
        width: 150px;
        height: 300px;
    }

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

}

/* スマートフォン */
@media (max-width: 768px) {

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

    .phone-mockup {
        width: 120px;
        height: 240px;
    }

}

@media (max-width: 480px) {}

/* ヒーロー（KV）は top.css へ移行 */


/* ===============================
   背景色付きセクション
=============================== */
.outsourcing-section {
    background-color: var(--color-light-gray);
    position: relative;
    z-index: 2;
}

.outsourcing-section .service-block {
    margin: 0;
}

/* SERVICE（renewal）は top.css へ移行 */


/*==============================================================
/ Who we are
/==============================================================*/
.page-header {
    padding-top: clamp(20px, 4vw, 100px);
}

h1.page-header__title {
    font-family: var(--font-latin);
    font-style: normal;
    font-weight: 600;
    font-size: clamp(48px, 6vw, 108px);
    line-height: 100%;
    text-align: center;
    letter-spacing: -0.03em;
    color: var(--color-text);
    margin: 14px auto;
}

h1.page-header__title span {
    color: var(--color-red);
}

span.page-header__sub {
    font-weight: 700;
    font-size: clamp(16px, 2vw, 20px);
    line-height: 160%;
    letter-spacing: 0.05em;
    color: var(--color-text) !important;
    text-align: center !important;
    display: block;
}

/* ===== WHO WE ARE : Vision section ===== */
.who-vision {
    padding: clamp(74px, 12vw, 160px) 0;
    color: var(--color-text);
    background: var(--color-white);
}

.who-vision .container {
    margin-inline: auto;
}

/* 見出し */
.who-vision__head {
    text-align: center;
    margin-bottom: clamp(64px, 10vw, 85px);
}

.who-vision__title {
    font-weight: 500;
    line-height: 1.55;
    margin: 0 0 clamp(24px, 4vw, 32px);
    font-size: clamp(24px, 5vw, 40px);
}

.who-vision__lead {
    max-width: fit-content;
    margin: 0 auto;
    line-height: 1.9;
    font-size: 16px;
}

/* swiper*/
.who-vision-swiper {
    margin-bottom: 15px;
}

.page-header-swiper,
.page-header-swiper-bottom,
.who-vision-swiper,
.who-vision-swiper-bottom {
    overflow: hidden;
}

.page-header-swiper .swiper-wrapper,
.page-header-swiper-bottom .swiper-wrapper,
.who-vision-swiper .swiper-wrapper,
.who-vision-swiper-bottom .swiper-wrapper {
    transition-timing-function: linear;
}

.page-header-swiper .swiper-slide,
.page-header-swiper-bottom .swiper-slide {
    height: 270px !important;
    width: auto !important;
    overflow: hidden;
    margin-right: -1px;
}

.who-vision-swiper .swiper-slide,
.who-vision-swiper-bottom .swiper-slide {
    overflow: hidden;
    height: 214px !important;
    width: 296px !important;
}

.page-header-swiper .swiper-slide img,
.page-header-swiper-bottom .swiper-slide img,
.who-vision-swiper .swiper-slide img,
.who-vision-swiper-bottom .swiper-slide img {
    width: auto;
    height: 100%;
}

.page-header-swiper .swiper-slide img,
.page-header-swiper-bottom .swiper-slide img {
    margin-right: calc(var(--overlap) * -1 - 0.5px);
    /* 0.5px分だけ余計に被せる */
    transform: translateZ(0);
}

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

    .page-header-swiper .swiper-slide,
    .page-header-swiper-bottom .swiper-slide {
        height: 160px !important;
    }

    .who-vision-swiper .swiper-slide,
    .who-vision-swiper-bottom .swiper-slide {
        height: 120px !important;
        width: 166px !important;
    }
}

/* ===== WHO WE ARE : MISSION ===== */
.who-mission {
    position: relative;
    isolation: isolate;
    padding: clamp(120px, 16vw, 200px) 20px;
    display: grid;
    place-items: center;
    color: var(--white);
    overflow: hidden;
    text-align: center;
}

/* 背景画像 + スクリーン */
.who-mission__bg {
    position: absolute;
    inset: 0;
    margin: 0;
    z-index: -1;
}

.who-mission__bg img,
.who-mission__bg picture {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.who-mission__scrim {
    position: absolute;
    inset: 0;
}

/* 中央コンテンツ */
.who-mission .container {
    width: 100%;
    max-width: fit-content;
}

.who-mission__inner {
    text-align: center;
    margin-inline: auto;
}

/* セクションタイトル */
.who-mission .section-header {
    width: fit-content;
    margin-inline: auto;
    margin-bottom: clamp(40px, 6vw, 48px);
}

.who-mission .h2-title-jp {
    color: var(--color-white);
    margin-inline: auto;
    display: inline-grid;
}

.who-mission .h2-title-jp span:nth-child(2) {
    background-color: var(--color-white);
}

.who-mission .h2-title-en {
    color: var(--color-white);
}

/* 日本語タイトル（32〜48px ルール） */
.who-mission__title {
    font-weight: 500;
    font-style: Medium;
    font-size: clamp(24px, 5vw, 40px);
    line-height: 140%;
    letter-spacing: 5%;
    color: var(--color-white);
    margin-bottom: clamp(20px, 2vw, 24px);
}

/* リード文（14〜16px） */
.who-mission__lead {
    font-weight: 400;
    font-style: Regular;
    line-height: 180%;
    letter-spacing: 5%;
    text-align: center;
    color: var(--color-white);
}

/* ループテキスト */
.loop-text {
    overflow: hidden;
    width: 100%;
    margin-inline: auto;
    position: relative;
    top: clamp(-90px, -10vw, -40px);
    z-index: 1;
}

/* トラック：中身を横並びで連結し、これ全体を動かす */
.loop-track {
    display: flex;
    gap: 2rem;
    /* 文字列の間隔（お好みで） */
    white-space: nowrap;
    will-change: transform;
    animation: marquee 24s linear infinite;
    /* デフォルト速度。JSで上書き可 */
}

.loop-item {
    flex: 0 0 auto;
    font-family: var(--font-latin, Poppins, Inter, system-ui, sans-serif);
    font-weight: 600;
    font-size: clamp(90px, 12vw, 200px);
    line-height: 1;
    letter-spacing: -0.03em;
    color: var(--color-red);
}

@keyframes marquee {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

/* ===== POLICY ===== */
.who-policy .container {
    margin-inline: auto;
    padding-bottom: clamp(80px, 12vw, 160px);
}

/* イントロ 2カラム */
.who-policy__intro {
    display: grid;
    grid-template-columns: 1.1fr 1.3fr;
    gap: min(6vw, 64px);
    align-items: start;
    margin-top: clamp(24px, 4vw, 40px);
}

.who-policy__catch {
    font-weight: 500;
    font-style: Medium;
    line-height: 140%;
    letter-spacing: .05em;
    font-size: clamp(24px, 5vw, 40px);
}

.who-policy__text {
    margin: 0;
    line-height: 1.9;
    display: flex;
    flex-direction: column;
    gap: 1em;
}

/*図表*/
.who-policy__panel {
    margin-top: clamp(32px, 5vw, 80px);
    text-align: center;
}

.who-policy__panel img {
    width: 100%;
    height: auto;
    object-fit: cover;
    object-position: center;
    display: block;
}

@media screen and (max-width: 767px) {
    .who-policy__intro {
        grid-template-columns: 1fr;
    }
}

/* ===== STRENGTH ===== */
.who-strength {
    position: relative;
    color: var(--white);
    overflow: hidden;
    padding: clamp(86px, 14vw, 147px) 0;
    background: #0E0E0E;
    isolation: isolate;
}

.who-strength__bg {
    position: absolute;
    inset: 0;
    z-index: -1;
}

.who-strength__bg .tx {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(.55) contrast(1.05);
}

.who-strength__bg .swash {
    position: absolute;
    inset: 0;
    width: 1600px;
    max-width: none;
    left: 50%;
    top: 10%;
    transform: translateX(-50%);
    opacity: .4;
    pointer-events: none;
}

.who-strength .container {
    margin-inline: auto;
}

.who-strength .h2-title-jp,
.who-strength .h2-title-en {
    color: var(--color-white);
}

.who-strength .h2-title-jp span:nth-of-type(2) {
    background-color: var(--color-white);
}

/* grid */
.strength-grid {
    list-style: none;
    padding: 0;
    margin: clamp(24px, 3vw, 32px) 0 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(16px, 2vw, 24px);
}

/* card */
.strength-card {
    position: relative;
    background: rgba(255, 255, 255, .02);
    padding: 14px;
}

.strength-card .badge {
    position: absolute;
    left: 10px;
    top: 10px;
    display: inline-grid;
    place-items: center;
    padding: 16px;
    background: #0E0E0E;
    color: var(--color-white);
    font-weight: 700;
    font-family: var(--font-latin);
    font-size: 24px;
    line-height: 100%;
    text-align: center;
    z-index: 1;
    border-radius: 0 0 16px 0px;
}

.strength-card__thumb {
    margin: 0 0 32px;
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.strength-card__thumb img {
    display: block;
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    height: auto;
    object-fit: cover;
}

.strength-card__title {
    margin: 0 0 24px;
    font-weight: 500;
    font-size: 24px;
    line-height: 155%;
    color: var(--color-white);

    @media (max-width: 768px) {
        font-size: 18px;
    }

}

.strength-card__text {
    margin: 0;
    color: var(--color-white);
}

/* responsive */
@media (max-width: 1024px) {
    .strength-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 640px) {
    .strength-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== FUTURE ===== */
.who-future {
    position: relative;
    background: var(--light-gray, #E0E5E9);
    overflow: hidden;
    padding: clamp(48px, 6vw, 80px) 0 clamp(56px, 7vw, 96px);
    isolation: isolate;
}

/* 透かし背景（右上に大きく） */
.who-future__bg {
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
}

.who-future__bg img {
    position: absolute;
    right: 24px;
    top: clamp(24px, 4vw, 48px);
    width: 100%;
    max-width: 680px;
}

/* コンテナ共通 */
.who-future .container {
    margin-inline: auto;
}

/* ヘッダー */
.who-future .section-header {
    margin-bottom: clamp(40px, 5vw, 100px);
}

/* イントロ (2カラム) */
.who-future__intro {
    display: grid;
    grid-template-columns: 1.2fr 1.4fr;
    gap: min(6vw, 64px);
    align-items: start;
    margin-bottom: clamp(40px, 5vw, 72px);
}

.who-future__catch {
    font-weight: 500;
    font-style: Medium;
    line-height: 140%;
    letter-spacing: .05em;
    font-size: clamp(24px, 3vw, 32px);
}

.who-future__text {
    color: var(--color-text);
}

.who-future__text p {
    margin: 0 0 1em;
}

/* 図表パネル（差し替え） */
.who-future__head {
    text-align: center;
}

.who-future__title {
    font-weight: 700;
    line-height: 1.35;
    font-size: clamp(24px, 3vw, 40px);
    margin: 0 0 clamp(16px, 2vw, 32px);
    font-weight: 500;
}

.who-future__title .is-accent {
    color: var(--color-red);
}

.who-future__lead {
    color: var(--color-text);
    font-size: clamp(12px, 1.5vw, 14px);
}

.who-future__panel {
    background: #F5F7F8;
    border-radius: var(--radius-md);
    padding: clamp(40px, 5vw, 80px) clamp(20px, 3vw, 80px);
}

.who-future__panel-img {
    position: relative;
    margin: clamp(28px, 4vw, 40px) auto 0;
    max-width: 1040px;
}

.who-future__panel img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 18px;
}

/* ラベル（赤ピル） */
.who-future__tag {
    position: absolute;
    top: var(--y);
    left: var(--x);
    transform: translate(-50%, -50%);
    background: var(--c-red);
    color: #fff;
    font-weight: 700;
    font-size: clamp(11px, 1.2vw, 13px);
    line-height: 1;
    padding: .7em 1em;
    border-radius: 999px;
    box-shadow: 0 6px 18px rgba(211, 25, 39, .18);
    white-space: nowrap;
    pointer-events: none;
}

/* 白ベースの補助ラベル（図中説明用） */
.who-future__tag--ghost {
    background: #fff;
    color: var(--c-text);
    box-shadow: 0 6px 18px rgba(0, 0, 0, .08);
    border: 1px solid #eee;
}

/* 図版右下の赤いキャプション */
.who-future__caption {
    position: absolute;
    right: clamp(8px, 3vw, 24px);
    bottom: clamp(8px, 2vw, 16px);
    color: var(--c-red);
    font-weight: 700;
    font-size: clamp(13px, 1.6vw, 16px);
    letter-spacing: .04em;
}

/* SPの配置（--xs / --ys を優先） */
@media (max-width: 900px) {
    .who-future {
        border-radius: 12px;
    }

    .who-future__tag {
        top: var(--ys, var(--y));
        left: var(--xs, var(--x));
        font-size: 11px;
        padding: .6em .9em;
    }
}


/* Responsive */
@media (max-width: 1024px) {
    .who-future__intro {
        grid-template-columns: 1fr;
        gap: 18px;
    }
}

/* ========== common ========== */
.visually-hidden {
    position: absolute !important;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

/* ========== who links ========== */
.who-links .container {
    max-width: 970px;
    margin-inline: auto;
}

.who-links {
    padding: clamp(80px, 10vw, 120px) 0;
}

.who-links__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(28px, 3vw, 40px);
    list-style: none;
    margin: 0;
    padding: 0;
}

.link-card {
    display: block;
    text-decoration: none;
    color: inherit;
}

.link-card__media {
    margin: 0 0 18px;
    overflow: hidden;
    background: #fff;
    aspect-ratio: 16 / 9;
}

.link-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .6s cubic-bezier(.2, .8, .2, 1);
}

@media (hover:hover) {
    .link-card:hover .link-card__media img {
        transform: scale(1.03);
    }
}

.link-card__meta {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.link-card__title {
    font-weight: 500;
    font-style: Medium;
    font-size: 20px;
    line-height: 155%;
    letter-spacing: 5%;
    color: var(--color-text);
}

.link-card__meta .btn-arrow {
    margin-inline: 0;
    margin: 0 0 0 auto;
}

.link-card__meta .btn-arrow span {
    color: var(--color-text);
}

.more-text {
    font-size: clamp(14px, .25vw + 13.3px, 16px);
    color: var(--black, #2C2A2A);
}

/* 赤い正方形の矢印ボタン（CSSだけで作成） */
.btn-square-arrow {
    inline-size: 36px;
    block-size: 28px;
    /* 画像より少し縦短い四角 */
    background: var(--red, #C50018);
    border-radius: 4px;
    position: relative;
}

.btn-square-arrow::before {
    content: "";
    position: absolute;
    inset: 0;
    margin: auto;
    width: 10px;
    height: 10px;
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: translateX(0) rotate(-45deg);
    left: 50%;
    top: 50%;
    transform: translate(-40%, -50%) rotate(-45deg);
}

@media (hover:hover) {
    .link-card:hover .btn-square-arrow::before {
        transform: translate(-20%, -50%) rotate(-45deg);
        transition: transform .25s ease;
    }
}

/* ========== responsive ========== */
@media (max-width: 900px) {
    .who-links__grid {
        grid-template-columns: 1fr;
    }
}

/* ========== header-mobile ========== */
@media (max-width: 1180px) {

    .gnav[hidden] {
        display: none;
    }

    .gnav__backdrop {
        position: fixed;
        inset: 0;
        background: transparent;
        opacity: 0;
        transition: opacity .2s ease;
        pointer-events: none;
    }

    .gnav.is-open .gnav__backdrop {
        opacity: 1;
        pointer-events: auto;
    }

    .gnav__panel {
        position: fixed;
        inset: 0 0 0 auto;
        width: 100%;
        max-width: 100%;
        background: #fff;
        display: grid;
        grid-template-rows: auto 1fr auto;
        transition: var(--transition);
        opacity: 0;
        padding-top: 62px;
        z-index: 100;
    }

    .gnav.is-open .gnav__panel {
        opacity: 1;
    }

    .gnav__back {
        display: none;
        height: 44px;
        padding: 0 16px;
        border: 0;
        background: transparent;
        font-size: 15px;
        color: var(--color-text);
        text-align: left;
        font-weight: 500;
    }

    .gnav.is-sub .gnav__back {
        display: block;
    }

    .gnav__list {
        margin: 0;
        padding: 0 20px;
        list-style: none;
        overflow: auto;
        border-top: 1px solid rgba(0, 0, 0, .1);
    }

    .gnav__item {
        border-bottom: 1px solid rgba(0, 0, 0, .1);
    }

    .gnav__item:last-child {
        border-bottom: 0;
    }

    .gnav__link {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        padding: 18px 0;
        font-size: 15px;
        color: var(--color-text);
        text-decoration: none;
        background: #fff;
        border: 0;
        font-family: var(--font-jp);
    }

    .gnav__chev {
        color: var(--color-red);
        margin-right: .5em;
        font-size: 16px;
        line-height: 1;
        display: inline-block;
    }

    /* サブメニュー */

    /* current 以外のルート項目を隠す */
    .gnav.is-sub .gnav__list>.gnav__item {
        display: none;
    }

    .gnav.is-sub .gnav__list>.gnav__item.is-current {
        display: block;
    }

    .gnav__sub[hidden] {
        display: none;
    }

    .gnav__sub .footer__nav-list-sub li {
        padding: 4px 0;
    }


    .gnav.is-sub .gnav__sub {
        display: block;
        height: auto;
        overflow: auto;
        background: #fff;
    }

    .gnav.is-sub .gnav__link {
        display: none;
    }

    .gnav.is-sub .gnav__sub li:first-of-type .gnav__sublink {
        border-top: none;
    }

    /* 戻るボタンは is-sub の時だけ表示 */
    .gnav__back {
        display: none;
    }

    .gnav.is-sub .gnav__back {
        display: block;
    }


    /* height制御のため displayは維持 */

    .gnav__sublink {
        display: block;
        padding: 16px 0;
        text-decoration: none;
        color: #2C2A2A;
        border-top: 1px solid #E0E5E9;
    }

    .gnav__cta {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 4px;
        padding: 12px;
        position: sticky;
        bottom: 0;
        background: #fff;
    }

    .btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        height: 44px;
        border-radius: 6px;
        text-decoration: none;
        font-size: 14px;
    }

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

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

/* Safari 16.4+ など対応ブラウザで効く：常にスクロールバー分の溝を予約 */
@supports (scrollbar-gutter: stable) {
    header {
        scrollbar-gutter: stable both-edges;
    }
}

/*==============================================================
/ 共通セクション見出し
/==============================================================*/
.section-heading .h2-title-jp {
    font-size: clamp(10px, 2vw, 14px);
    font-weight: 700;
    margin-bottom: clamp(48px, 10vw, 80px);
}

.h2-title-jp.is-en {
    font-weight: 600;
    font-family: var(--font-latin);

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

.section-heading h2 {
    font-size: clamp(24px, 3vw, 32px);
    font-weight: 500;
    line-height: 1.5;
    margin: 0 0 clamp(40px, 3vw, 64px);
}

.section-heading h3 {
    font-size: clamp(24px, 2vw, 32px);
    font-weight: 500;
}

.section-heading.section-heading-large .service-section-title {
    font-size: 64px;
    font-weight: 500;
    margin: 0 0 clamp(80px, 3vw, 120px);

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


.section-heading.section-heading-large .h2-title-jp {
    margin-bottom: clamp(12px, 3vw, 16px);
}


/*==============================================================
/ FAQ
/==============================================================*/

/* リスト */
.faq-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: clamp(12px, 1.4vw, 16px);
}

/* アイテム */
.faq-item {
    background: #F5F7F8;
}

/* 見出し（Q行） */
.faq-head {
    all: unset;
    /* ボタンのデフォルト解除 */
    display: grid;
    grid-template-columns: 30px 1fr auto;
    align-items: center;
    gap: 16px;
    width: 100%;
    padding: 32px;
    cursor: pointer;
    box-sizing: border-box;
}

.qa-mark {
    font-weight: 700;
    letter-spacing: .05em;
}

.qa-q {
    font-family: var(--font-latin);
    color: var(--color-red);
    font-size: clamp(24px, 3vw, 32px);
    font-weight: 500;
}

.qa-a {
    font-family: var(--font-latin);
    color: var(--color-red);
    font-size: clamp(24px, 3vw, 32px);
    font-weight: 500;
    line-height: 1;
}

/* 質問テキストは右の丸ボタンまで伸ばす */
.faq-question {
    flex: 1 1 auto;
    line-height: 1.8;
    font-weight: 500;
}

/* ボタン */
.faq-btn {
    flex: 0 0 auto;
    width: 25px;
    height: 25px;
    border-radius: 999px;
    background: var(--color-black);
    color: var(--color-white);
    display: grid;
    place-items: center;
}

.faq-btn .icon-plus {
    width: 11px;
    height: 11px
}

.faq-btn .icon-minus {
    display: none;
    width: 11.5px;
    height: auto;
}

/* 初期は＋表示 */

/* パネル（回答） */
.faq-panel {

    height: 0;
    opacity: 0;
    overflow: hidden;
    transition: height .28s ease, opacity .28s ease;
    will-change: height;
}

.faq-item.is-open .faq-panel {
    opacity: 1;
}

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

.faq-answer {
    border-top: 1px solid rgba(0, 0, 0, .1);
    padding: 32px;
    display: grid;
    grid-template-columns: 34px 1fr;
    gap: 16px;
    align-items: flex-start;
    font-weight: 500;

}

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

    .faq-head,
    .faq-answer {
        gap: 8px;
        padding: 24px 20px;
    }
}

.faq-answer__body {
    line-height: 2;
}

/* 開状態 */
.faq-item.is-open .faq-btn {
    background: var(--color-red);
}

.faq-item.is-open .faq-btn .icon-plus {
    display: none;
}

.faq-item.is-open .faq-btn .icon-minus {
    display: block;
}

/* アクセシビリティの視覚非表示（テーマにあれば不要） */
.screen-reader-text {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}



/*==============================================================
/  404
/==============================================================*/
/* 404 */
.error-404 .page-content.notfound {
    text-align: center;
    padding: clamp(56px, 12vw, 140px) 0;
}

.notfound__head .h2-title-jp {
    font-family: var(--font-latin);
    margin-bottom: 16px;
    justify-content: center;
    font-weight: 500;
}

.notfound__code {
    font-family: var(--font-latin);
    font-weight: 500;
    font-size: clamp(40px, 8vw, 96px);
    line-height: 1;
    letter-spacing: .03em;
    margin: 0 0 clamp(64px, 12vw, 80px);
    color: var(--color-text);
}

.notfound__lead {
    color: var(--color-text);
    margin: 0 0 clamp(40px, 6vw, 48px);
    font-size: 16px;
}


.notfound__actions .btn {
    min-width: 280px;
}

@media screen and (max-width: 767px) {
    .notfound__actions .btn {
        width: 100%;
    }
}

/*==============================================================
/ plivacy policy
/==============================================================*/
/* privacy policy */
.pp {
    margin-inline: auto;
    margin-block: clamp(80px, 12vw, 160px);
}

.pp-section {
    padding: 32px 0;
}

.pp-section:first-child {
    border-top: 0;
    padding-top: 0;
}

.pp-h {
    font-size: clamp(20px, 2.2vw, 24px);
    font-weight: 500;
    padding-bottom: 1rem;
    margin: 0 0 clamp(24px, 3vw, 32px);
    border-bottom: 1px solid rgba(0, 0, 0, .1);
}

.pp p {
    line-height: 1.9;
    margin: 0 0 16px;
}

.pp-list {
    margin: 12px 0 0 0;
    padding: 0 0 0 1.2em;
    list-style: disc;
}

.pp-list li {
    margin: 6px 0;
    line-height: 1.9;
}

.pp-table-wrap {
    margin-top: clamp(24px, 3vw, 32px);
    overflow-x: auto;
}

.pp-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    font-size: clamp(13px, 1.6vw, 14px);
}

.pp-table th,
.pp-table td {
    border: 1px solid rgba(0, 0, 0, .1);
    padding: clamp(20px, 2vw, 24px);
    background: #fff;
    vertical-align: middle;
}

.pp-table th {
    width: 280px;
    font-weight: 500;
    text-align: left;
}

.pp-ol {
    margin: 0;
    padding: 0 0 0 1.2em;
}

.pp-ol li {
    margin: 4px 0;
}

.pp-note a {
    text-decoration: underline;
}

.pp-section a {
    overflow-wrap: anywhere;
    word-break: break-all;
    white-space: normal;
    display: inline-block;
    max-width: 100%;
}

.pp-address {
    font-style: normal;
    line-height: 1.9;
}

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

    .pp-table,
    .pp-table tbody,
    .pp-table tr,
    .pp-table th,
    .pp-table td {
        display: block;
        width: 100%;
    }

    .pp-table {
        border: 1px solid rgba(0, 0, 0, .1);
    }

    .pp-table tr {
        border: 0;
        border-top: 1px solid #e5e7eb;
    }

    .pp-table tr:first-child {
        border-top: 0;
    }

    .pp-table th,
    .pp-table td {
        border: 0;
    }

}

/*==============================================================
/ contact
/==============================================================*/

.contact-page {
    padding: clamp(80px, 10vw, 160px) 0;
}

.contact-page .text {
    margin-bottom: 58px;

    @media (max-width: 768px) {
        margin-bottom: 48px;
    }

}

.contact-page__article {
    max-width: 1062px;
    margin: 0 auto;

}
