/* ============================================================
   common.css — 全ページ共通スタイル（カラー変数・ヘッダー・フッター・ボタン等）
   日本コロイド株式会社
   ============================================================ */

/* ─── CSS変数 ─── */
:root {
    /* メインカラー（緑） */
    --color-main: #118848;

    --color-sub-main: #10775A;

    /* メインカラー濃いめ（hover） */
    --color-main-dark: #0d6e39;
    /* アクセントカラー */
    --color-accent: #FFA42D;
    /* MV半透明ボックス */
    --color-main-mid: #368872;
    /* ライトグリーン背景 */
    --color-bg-green: #e8f7ee;
    /* クリーム背景 */
    --color-bg-cream: #FBFFE1;
    /* 黄色背景 */
    --color-bg-yellow: #FBFFE1;
    /* 本文テキスト */
    --color-text: #222222;
    /* サブテキスト */
    --color-text-light: #555555;

    --color-white: #ffffff;
    --color-border: #d0d0d0;

    --font-jp: 'Noto Sans JP', 'Hiragino Sans', 'Yu Gothic', sans-serif;
    --font-en: 'Jost', sans-serif;

    --sidebar-w: 324px;
    --header-h: 72px;
    --hamburger-bp: 1100px;
}

@media (max-width: 768px) {
    :root {
        --header-h: 60px;
        --content-pad: 16px;
    }
}

/* ============================================================
   表示切り替え
   ============================================================ */

/* PCのみ表示：1025px以上 */
.pc-only {
    display: block;
}

.pc-tablet-only {
    display: block;
}

/* タブレットのみ表示：769px〜1024px */
.tablet-only {
    display: none;
}

/* SPのみ表示：768px以下 */
.sp-only {
    display: none;
}

/* タブレット・SPのみ表示：1024px以下 */
.tablet-sp-only {
    display: none;
}

/* 590px以下のみ表示 */
.sp-small-only {
    display: none;
}

/* 1100px～ 1480px*/
.pc-middle-only {
    display: none;
}

@media (min-width: 1100px) and (max-width: 1480px) {
    .pc-middle-only {
        display: inline;
    }
}


/* タブレット：769px〜1024px
============================================================ */
@media (min-width: 769px) and (max-width: 1024px) {
    .pc-only {
        display: none;
    }

    .tablet-only {
        display: block;
    }

    .tablet-sp-only {
        display: block;
    }
}

/* SP：768px以下
============================================================ */
@media (max-width: 768px) {
    .pc-only {
        display: none;
    }

    .sp-only {
        display: block;
    }

    .tablet-sp-only {
        display: block;
    }

    .pc-tablet-only {
        display: none;
    }
}

/* SP：590px以下
============================================================ */
@media (max-width: 590px) {
    .sp-small-only {
        display: block;
    }

    .sp-small-hide {
        display: none !important;
    }
}

/* SP：480px以下
============================================================ */
.sp-xsmall-only {
    display: none;
}

@media (max-width: 480px) {
    .sp-xsmall-only {
        display: block;
    }
}

/* ─── ベース ─── */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    font-size: 62.5%;
    scroll-behavior: smooth;
}

@media (max-width: 1024px) {
    html {
        scroll-behavior: auto;
    }
}

body {
    font-family: var(--font-jp);
    font-size: clamp(1.5rem, 1.4vw, 1.6rem);
    color: var(--color-text);
    line-height: 1.7;
    overflow-x: hidden;
}

/* 後で消す */
/* body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 50%;

    transform: translateX(-50%);
    width: 1600px;
    height: 100vh;

    background-image:
        repeating-linear-gradient(to bottom,
            rgba(255, 0, 0, 0.5) 0 5px,
            transparent 5px 10px),
        repeating-linear-gradient(to bottom,
            rgba(255, 0, 0, 0.5) 0 5px,
            transparent 5px 10px),
        repeating-linear-gradient(to bottom,
            rgba(255, 0, 0, 0.5) 0 5px,
            transparent 5px 10px),
        repeating-linear-gradient(to bottom,
            rgba(255, 0, 0, 0.5) 0 5px,
            transparent 5px 10px);

    background-size:
        1px 100%,
        1px 100%,
        1px 100%,
        1px 100%;

    background-position:
        412px 0,
        879px 0,
        1045px 0,
        1512px 0;

    background-repeat: no-repeat;

    pointer-events: none;
    z-index: 9999;
} */

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

a {
    color: inherit;
    transition: opacity 0.2s;
}

a:hover {
    opacity: 0.75;
}

@media (min-width: 1025px) {
    a[href^="tel:"] {
        pointer-events: none;
        cursor: default;
    }
}

/* ══════════════════════════════════════════════
   SIDEBAR（左固定ナビ）
══════════════════════════════════════════════ */
.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: var(--sidebar-w);
    height: 100%;
    background: var(--color-main);
    z-index: 200;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: none;
    overscroll-behavior-y: contain;
}

.sidebar::-webkit-scrollbar {
    display: none;
}

/* ロゴ */
.sidebar__logo {
    padding: 3.2rem 2.4rem;
    text-align: center;
    flex-shrink: 0;
}

.sidebar__logo a {
    display: block;
    text-decoration: none;
    color: var(--color-white);
}

.sidebar__logo-img {
    width: 124px;
    height: 124px;
    margin: 0 auto 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.sidebar__logo-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.sidebar__logo-name {
    display: block;
    font-size: clamp(1.7rem, 2vw, 2.3rem);
    font-weight: 700;
    color: var(--color-white);
    line-height: 1.4;
    letter-spacing: 0.02em;
}

.sidebar__logo-sub {
    display: block;
    font-family: var(--font-en);
    font-size: clamp(0.9rem, 0.85vw, 1rem);
    color: rgba(255, 255, 255, 0.65);
    letter-spacing: 0.04em;
    margin-top: 0.4rem;
}

/* 区切り */
.sidebar__divider {
    display: flex;
    align-items: center;
    padding: 0 2.4rem 2rem;
    flex-shrink: 0;
}

.sidebar__divider::before,
.sidebar__divider::after {
    content: '';
    flex: 1;
    height: 1px;
    /* background: rgba(255, 255, 255, 0.3); */
    background-color: var(--color-white);
}

.sidebar__divider-icon {
    width: 30px;
    height: 30px;
    margin: 0 1rem;
    flex-shrink: 0;
}

.sidebar__divider-icon img {
    width: 100%;
    height: 100%;
    filter: brightness(0) invert(1);
}

/* ナビゲーション */
.sidebar__nav {
    flex: 0 0 auto;
    padding: 0 0 1rem;
}

.sidebar__nav-list {
    list-style: none;
    margin: 0 2rem;
}

.sidebar__nav-link {
    display: block;
    padding: 1.2rem 2.4rem;
    color: var(--color-white);
    text-decoration: none;
    font-size: clamp(1.3rem, 1.2vw, 1.5rem);
    font-weight: 600;
    letter-spacing: 0.02em;
    transition: background 0.2s;
}

.sidebar__nav-link:hover,
.sidebar__nav-link[aria-current="page"] {
    background: rgba(255, 255, 255, 0.12);
    opacity: 1;
}

/* サブメニュー */
/*.sidebar__nav-sub {
    list-style: none;
    background: rgba(0, 0, 0, 0.12);
}

.sidebar__nav-sub-link {
    display: block;
    padding: 0.9rem 2.4rem 0.9rem 3.6rem;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: clamp(1.3rem, 1.1vw, 1.4rem);
    font-weight: 500;
    position: relative;
    transition: background 0.2s;
}

 .sidebar__nav-sub-link::before {
    content: '—';
    position: absolute;
    left: 2.4rem;
    opacity: 0.5;
    font-size: 1rem;
} 

.sidebar__nav-sub-link:hover {
    background: rgba(255, 255, 255, 0.1);
    opacity: 1;
}*/

/* お問い合わせボタン */
.sidebar__cta-wrap {
    position: relative;
    padding: 2.5rem 4rem 4rem;
    flex-shrink: 0;
}

.sidebar__cta-wrap::after {
    content: "";
    position: absolute;
    left: 2.4rem;
    right: 2.4rem;
    bottom: 1rem;
    height: 1px;
    background: var(--color-white);
}

.sidebar__cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    padding: 1.2rem 2rem;
    background: var(--color-text);
    color: var(--color-white);
    text-decoration: none;
    font-size: clamp(1.3rem, 1.2vw, 1.5rem);
    font-weight: 600;
    letter-spacing: 0.02em;
    transition: background 0.2s;
    border-radius: 999px;
}

.sidebar__cta:hover {
    background: #333;
    opacity: 1;
}

.sidebar__cta-icon {
    width: 18px;
    height: 18px;
    filter: brightness(0) invert(1);
    flex-shrink: 0;
}

/* ══════════════════════════════════════════════
   SP HEADER（上固定ナビ・ハンバーガーメニュー）
══════════════════════════════════════════════ */
.sp-header {
    display: none;
}

/* ハンバーガーボタン */
.hamburger {
    position: relative;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;

    width: 48px;
    height: 48px;
    padding: 12px;
    gap: 6px;

    background: transparent;
    border: none;

    cursor: pointer;
    z-index: 2;
}

.hamburger span {
    display: block;

    width: 28px;
    height: 2px;

    background: var(--color-white);

    transition:
        transform 0.3s ease,
        opacity 0.3s ease;

    transform-origin: center;
}

.hamburger.is-open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.is-open span:nth-child(2) {
    opacity: 0;
    visibility: hidden;
}

.hamburger.is-open span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* SPメニューはPCでは非表示 */
.sp-menu {
    display: none;
}

/* オーバーレイ */
.sidebar-overlay {
    position: fixed;
    inset: 0;
    z-index: 290;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
        opacity 0.35s ease,
        visibility 0.35s ease;
}

.sidebar-overlay.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}


@media (max-width: 1100px) {
    .sidebar {
        display: none;
    }

    .sp-header {
        position: fixed;
        top: 0;
        left: 0;
        z-index: 320;

        display: flex;
        align-items: center;
        justify-content: space-between;

        width: 100vw;
        height: 72px;
        padding: 0 1.6rem;
        box-sizing: border-box;

        background: var(--color-main);
    }

    .sp-header__logo {
        display: flex;
        align-items: center;
        gap: 1rem;
        min-width: 0;
        flex: 1 1 auto;
    }

    .sp-header__logo img {
        width: 48px;
        height: 48px;
        flex: 0 0 48px;
        object-fit: contain;
    }

    .sp-header__name-group {
        display: flex;
        flex-direction: column;
    }

    .sp-header__name {
        min-width: 0;
        font-size: clamp(1.2rem, 3.5vw, 1.6rem);
        white-space: nowrap;
        color: var(--color-white);
        font-weight: 600;
    }

    .sp-header__name-sub {
        display: block;
        font-family: var(--font-en);
        font-size: clamp(0.9rem, 0.85vw, 1rem);
        color: rgba(255, 255, 255, 0.65);
        letter-spacing: 0.04em;
    }

    .hamburger {
        flex: 0 0 48px;
    }

    /* ─── SPメニュー本体 ─── */
    .sp-menu {
        position: fixed;
        top: 0;
        right: 0;
        left: 0;
        z-index: 310;
        display: block;
        width: 100%;
        height: 100dvh;
        padding: 2.4rem 4rem 4rem;
        box-sizing: border-box;
        background: var(--color-main);
        overflow-y: auto;
        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition:
            opacity 0.6s ease,
            visibility 0.6s ease;
    }

    .sp-menu.is-open {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    /* ─── メニュー ─── */
    .sp-menu__nav {
        padding: calc(var(--header-h) + 2.4rem) 3rem 2rem;
    }

    .sp-menu__list {
        margin: 0;
        padding: 0;
        list-style: none;
        border-top: 1px solid rgba(255, 255, 255, 0.7);
    }

    .sp-menu__list li {
        border-bottom: 1px solid rgba(255, 255, 255, 0.7);
    }

    .sp-menu__list a {
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 5.6rem;
        padding: 1.2rem;
        color: var(--color-white);
        font-size: 1.5rem;
        font-weight: 600;
        line-height: 1.5;
        text-align: center;
        text-decoration: none;
    }

    /* ─── 電話・お問い合わせ ─── */
    .sp-menu__contact {
        display: flex;
        flex-direction: column;
        gap: 1.2rem;
        width: 100%;
        max-width: 360px;
        margin: 3rem auto 0;
    }

    .sp-menu__tel,
    .sp-menu__contact-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 1.4rem;
        min-height: 6rem;
        padding: 1.2rem 2rem;
        border: 1px solid var(--color-white);
        border-radius: 12px;
        color: var(--color-white);
        text-decoration: none;
    }

    .sp-menu__tel img,
    .sp-menu__contact-btn img {
        display: block;

        width: 26px;
        height: 26px;

        object-fit: contain;
        flex-shrink: 0;
    }

    .sp-menu__tel span {
        font-family: var(--font-en);
        font-size: 2rem;
        font-weight: 600;
        letter-spacing: 0.04em;
    }

    .sp-menu__contact-btn span {
        font-size: 1.5rem;
        font-weight: 600;
    }

    /* ─── 住所 ─── */
    .sp-menu__company {
        margin-top: 3rem;
        text-align: center;
    }

    .sp-menu__company-link {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: fit-content;
        margin: 0 auto;
        color: var(--color-white);
        text-decoration: none;
    }

    .sp-menu__company-logo {
        display: block;
        width: 80px;
        height: auto;
        margin-bottom: 1rem;
        object-fit: contain;
    }

    .sp-menu__company-name {
        display: block;
        font-size: 1.6rem;
        font-weight: 700;
        line-height: 1.5;
        letter-spacing: 0.04em;
        color: var(--color-white);
    }

    .sp-menu__address {
        margin-top: 1.6rem;
        font-size: 1.2rem;
        line-height: 1.8;
        color: rgba(255, 255, 255, 0.8);
        text-align: center;
    }
}


@media (max-width: 480px) {
    .sp-menu {
        padding: 2rem 2.4rem 3rem;
    }

    .sp-menu__logo {
        width: 140px;
    }

    .sp-menu__list a {
        min-height: 5rem;
        font-size: 1.4rem;
    }

    .sp-menu__contact {
        margin-top: 2.4rem;
    }

    .sp-header {
        padding: 0 1rem;
    }

    .sp-header__logo {
        gap: 0.6rem;
    }

    .sp-header__logo img {
        width: 40px;
        height: 40px;
    }

    .hamburger {
        width: 42px;
        height: 42px;
        padding: 9px;
    }
}

/* ══════════════════════════════════════════════
   MAIN WRAPPER（サイドバー分だけ右にずらす）
══════════════════════════════════════════════ */
.main {
    margin-left: var(--sidebar-w);
    min-height: 100vh;
}

@media (max-width: 1100px) {
    .main {
        margin-left: 0;
        width: 100%;
        max-width: none;
    }
}

/* コンテナ（メインエリア内）*/
.container {
    max-width: 1100px;
    margin: 0 auto;
    /* padding: 0 4.8rem; */
}

@media (max-width: 1480px) {
    .container {
        padding: 0 3rem;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 2rem;
    }
}


/* ─── セクション見出し（共通） ─── */
.sec-head {
    margin-bottom: 4rem;
}

.sec-head h2 {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.sec-head h2.center {
    justify-content: center;
}

.sec-head__ja {
    font-size: clamp(3rem, 4vw, 4.8rem);
    font-weight: 700;
    color: var(--color-main);
}

.sec-head__lead {
    font-size: clamp(1.5rem, 1.3vw, 1.6rem);
    color: var(--color-text);
    line-height: 1.9;
    margin-bottom: 4rem;
}


.sec-head__sublead {
    font-size: clamp(1.8rem, 2vw, 2.4rem);
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 1.2rem;
}

@media (max-width: 599px) {
    .sec-head__ja {
        font-size: 2.4rem;
    }
}

/* ─── ボタン共通 ─── */
.btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-jp);
    font-weight: 600;
    border-radius: 999px;
    padding: 1rem 5.5rem 1rem 3.5rem;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
    white-space: nowrap;
}

.btn--fill {
    background: var(--color-main);
    color: var(--color-white);
    border: 2px solid var(--color-main);
}

.btn--fill:hover {
    background: var(--color-main-dark);
    border-color: var(--color-main-dark);
    opacity: 1;
}

.btn--outline {
    background: #fff;
    color: var(--color-main);
    border: 1px solid var(--color-main);
}

.btn--outline:hover {
    background: var(--color-main);
    opacity: 1;
    color: var(--color-white);
}

.btn--dark {
    background: var(--color-text);
    color: var(--color-white);
    border: 2px solid var(--color-text);
}

.btn--dark:hover {
    background: #444;
    border-color: #444;
    opacity: 1;
}

.btn__arrow {
    position: absolute;
    right: 2rem;
    top: 50%;
    translate: 0 -50%;

    font-size: 1.2rem;
    line-height: 1;
    font-family: var(--font-en);

    transition: transform 0.3s ease;
}

.btn:hover .btn__arrow {
    transform: translateX(5px);
}

@media (max-width: 590px) {
    .btn {
        width: 100%;
        padding: 1.4rem 4rem;
        font-size: 1.4rem;
    }
}


/* ─── フェードイン ─── */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.65s ease, transform 0.65s ease;
}

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

.fade-in-delay-1 {
    transition-delay: 0.1s;
}

.fade-in-delay-2 {
    transition-delay: 0.2s;
}

.fade-in-delay-3 {
    transition-delay: 0.3s;
}

.fade-in-delay-4 {
    transition-delay: 0.4s;
}

/* ============================================================
   CONTACT（お問い合わせ：TOP・下層共通）
   ============================================================ */
.contact {
    padding: 7rem 1em;
    text-align: center;
    background: var(--color-white);
    color: var(--color-text);
}

/* ─── ボタンエリア ─── */
.contact__btns {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(2rem, calc(13.33vw - 11.33rem), 10rem);
}

/* ─── 電話 ─── */
.contact__phone {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    min-width: 370px;
    padding: 1.6rem 4rem 1.4rem;
    gap: 0.8rem;

    background: var(--color-main);
    color: var(--color-white);
    border-radius: 999px;

    text-decoration: none;
}

.contact__phone-num {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;

    font-family: var(--font-en);
    font-size: clamp(2.4rem, 2.8vw, 3.2rem);
    font-weight: 500;
    line-height: 1;
    letter-spacing: 0.04em;
}

.contact__phone-icon {
    display: block;
    width: 24px;
    height: 24px;
    object-fit: contain;
    flex-shrink: 0;
}

.contact__phone-hours {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;

    font-size: clamp(1.6rem, 1.5vw, 2rem);
    line-height: 1;
}

.contact__phone-hours-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 0.3rem 1rem;

    background: var(--color-text);
    color: var(--color-white);
    border-radius: 999px;

    font-size: clamp(1.4rem, 1.3vw, 1.6rem);
    line-height: 1;
}

.contact__phone-hours-time {
    font-family: var(--font-en);
    font-size: clamp(1.6rem, 1.5vw, 2rem);
    font-weight: 500;
    line-height: 1;
}

/* ─── フォームボタン ─── */
.contact__btns .btn--fill {
    min-width: 370px;
    padding: 2rem 5rem;

    background: #222;
    border-color: #222;
}

.contact__btns .btn--fill:hover {
    background: #444;
    border-color: #444;
    opacity: 1;
}


.contact__btns .btn--outline {
    min-width: 370px;
    padding: 2rem 5rem;
}

.contact__form-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1.4;
}

.contact__form-sub {
    font-size: clamp(1.2rem, 1.1vw, 1.4rem);
    font-weight: 400;
}

.contact__form-main {
    font-size: clamp(1.8rem, 2.8vw, 2rem);
    font-weight: 600;
}

/* 色変更 */
.contact--dark {
    background: var(--color-main-dark);
}

.contact--dark .contact__heading {
    color: var(--color-bg-green);
}

.contact--dark .contact__lead {
    color: var(--color-white);
}

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

/* 下層 */
.contact.contact--light-green .sec-head__ja {
    font-size: clamp(2.8rem, 4vw, 4.2rem);
}

@media (max-width: 800px) {

    .contact,
    .cta-contact {
        padding: 5rem 0;
    }

    .contact__btns {
        flex-direction: column;
        gap: 2rem;
    }
}

@media (max-width: 590px) {

    .contact__phone,
    .contact__btns .btn--fill {
        width: 100%;
        min-width: 0;
    }
}

@media (max-width: 480px) {
    .contact__phone-num {
        font-size: 2.4rem;
    }
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
    background: var(--color-bg-yellow);
    padding: 7rem 0 0;
}

.footer .container {
    min-height: 510px;
    display: flex;
    flex-direction: column;
}

/* ─── 全体 ─── */
.footer__inner {
    display: grid;
    grid-template-columns: 210px minmax(0, 1fr);
    gap: clamp(2rem, 3vw, 4rem);
}


/* 会社情報 */
.footer__brand {
    text-align: left;
}

.footer__brand-title {
    width: max-content;
    margin-bottom: 1.6rem;
}

/* ロゴ */
.footer__brand-logo {
    display: flex;
    justify-content: center;
    margin-bottom: 1.6rem;
}

.footer__brand-logo img {
    display: block;
    width: 85px;
    height: auto;
}


/* 会社名 */
.footer__brand-name {
    margin: 0;
    font-size: clamp(1.6rem, 1.5vw, 1.8rem);
    font-weight: 700;
    color: var(--color-text-green);
}


/* 住所・電話 */
.footer__brand-info {
    text-align: left;
}

.footer__brand-info p {
    margin: 0;
}

.footer__brand-info p+p {
    margin-top: 2.6rem;
}

.footer__brand-info a {
    color: inherit;
    text-decoration: none;
}


/* ナビゲーション */
.footer__nav {
    min-width: 0;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    column-gap: clamp(1.5rem, 2vw, 3rem);
    row-gap: 4.5rem;
    align-items: start;
}

.footer__nav-col {
    min-width: 0;
}

.footer__nav-col--other {
    grid-column: auto;
    grid-row: auto;
    width: auto;
}

.footer__nav-col-title--sub {
    margin-top: 3rem;
}

/* 見出し */
.footer__nav-col-title {
    display: block;

    margin-bottom: 1.2rem;

    color: var(--color-main);
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1.5;
    white-space: nowrap;
}

.footer__nav-col-title:not(:first-child) {
    margin-top: 1rem;
}

/* 各リンク */
.footer__nav-link {
    display: block;
    padding: 0.45rem 0;
    color: var(--color-text);
    font-size: 1.4rem;
    line-height: 1.6;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer__nav-link::before {
    content: "一";
    margin-right: 0.4rem;
    color: var(--color-text);
    font-size: 1rem;
}

.footer__nav-link:hover {
    color: var(--color-main);
    opacity: 1;
}

.footer__nav-col-title,
.footer__nav-link {
    white-space: normal;
    overflow-wrap: anywhere;
}

/* コピーライト */
.footer__copy {
    margin-top: auto;
    padding: 3rem 0 0.8rem;

    color: var(--color-main);
    font-family: var(--font-en);
    font-size: 1.1rem;
    text-align: center;
}

@media (max-width: 1200px) {
    .footer__inner {
        grid-template-columns: 180px minmax(0, 1fr);
        gap: 2.4rem;
    }

    .footer__nav {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        column-gap: 2rem;
    }

    .footer__nav-col--other {
        grid-column: auto;
        grid-row: auto;
    }
}

@media (max-width: 768px) {
    .footer {
        padding-top: 5rem;
    }

    .footer .container {
        min-height: 0;
    }

    .footer__inner {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .footer__brand {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer__brand-name {
        white-space: normal;
    }

    .footer__brand-info {
        line-height: 1.8;
    }

    .footer__nav {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 3.5rem 2rem;
    }

    .footer__copy {
        margin-top: 4rem;
        padding-bottom: 1.5rem;
    }
}

@media (max-width: 480px) {
    .footer__nav-col-title {
        font-size: 1.3rem;
    }

    .footer__nav-link {
        font-size: 1.2rem;
    }
}

/* ─── ページトップ ─── */
.page-top {
    position: fixed;
    right: 3rem;
    bottom: 3rem;
    width: 52px;
    height: 52px;
    padding: 0;
    background: var(--color-main);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    z-index: 90;

    display: flex;
    align-items: center;
    justify-content: center;

    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);

    transition:
        opacity 0.3s ease,
        visibility 0.3s ease,
        transform 0.3s ease,
        background 0.3s ease;
}

.page-top.is-show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.page-top__arrow {
    width: 10px;
    height: 10px;
    border-top: 2px solid var(--color-white);
    border-left: 2px solid var(--color-white);
    transform: rotate(45deg) translate(2px, 2px);
}

@media (hover: hover) {
    .page-top:hover {
        background: var(--color-main-dark);
        transform: translateY(-3px);
    }
}

@media (max-width: 768px) {
    .page-top {
        right: 1.6rem;
        bottom: 1.6rem;
        width: 46px;
        height: 46px;
    }
}


/* ============================================================
   下層ページ共通スタイル
   ============================================================ */

/* ─── ページヘッダー帯 ─── */
.page-header {
    background: var(--color-bg-cream);
    padding: 4rem 0;
}

.page-header__inner {
    max-width: var(--content-max);
    margin: 0 auto;
    padding: 0 var(--content-pad);
}

.page-header__en {
    font-family: var(--font-en);
    font-size: clamp(3.2rem, 6vw, 6.4rem);
    font-weight: 700;
    color: var(--color-main);
    letter-spacing: 0.02em;
    line-height: 1;
}

.page-header__ja {
    font-size: clamp(2.8rem, 4vw, 4.2rem);
    font-weight: 700;
    color: var(--color-main);
    padding-top: 2rem;
}

.page-header__lead {
    padding-top: 1rem;
    line-height: 1.85;
    color: var(--color-text-light);
}

@media (max-width: 1100px) {
    .page-header {
        margin-top: 72px;
        padding: 0 0 2rem;
    }
}

@media (max-width: 768px) {
    .page-header__lead {
        font-size: 1.4rem;
    }
}

@media (max-width: 599px) {
    .page-header__lead {
        font-size: 1.2rem;
    }
}


/* ─── パンくずリスト ─── */
.breadcrumb {
    padding: 1.2rem 0;
    border-bottom: 1px solid var(--color-border);
    margin-bottom: 0;
}

.breadcrumb__list {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin: 0;
}

.breadcrumb__item {
    font-size: 1.2rem;
    color: var(--color-text-light);
}

.breadcrumb__item+.breadcrumb__item::before {
    content: "›";
    margin-right: 0.4rem;
    color: var(--color-border);
}

.breadcrumb__link {
    color: var(--color-main);
}

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

@media (max-width: 1100px) {
    .breadcrumb {
        padding: 0.8rem 0;
        border-bottom: 1px solid var(--color-border);
        margin-bottom: 0;
    }
}

@media (max-width: 768px) {
    .breadcrumb {
        padding: 0.8rem 0;
    }
}


/* ─── 下層ページ 共通サブナビゲーション ─── */
.sub-nav {
    border-bottom: 1px solid var(--color-border);
    position: sticky;
    top: var(--header-h);
    z-index: 100;
    background-color: #fff;
}

.sub-nav__list {
    display: flex;
    max-width: var(--content-max);
    margin: 0 auto;
    padding: 0 var(--content-pad);
}

.sub-nav__link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.4rem 2.4rem;
    font-weight: 600;
    color: var(--color-text-light);
    border-bottom: 3px solid transparent;
    transition: color 0.2s, border-color 0.2s;
    white-space: nowrap;
}

.sub-nav__link::after {
    display: none;
}

.sub-nav__link:hover,
.sub-nav__link.is-active {
    color: var(--color-main);
    border-bottom-color: var(--color-main);
    opacity: 1;
}

.sub-nav__scroll-note {
    display: none;
}

.sub-nav__list>li:first-child>.sub-nav__link {
    padding-left: 0;
}

@media (min-width: 900px) {
    .sub-nav {
        top: 0;
    }
}

@media (max-width: 768px) {
    .sub-nav {
        border-bottom: none;
    }

    .sub-nav .container {
        padding: 1rem 0;
        min-width: 0;
    }

    .sub-nav__list {
        overflow-x: auto;
        flex-wrap: nowrap;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
        border-bottom: 1px solid var(--color-border);
        background-color: var(--color-bg-green);
        width: 100%;
        min-width: 0;
        box-sizing: border-box;
    }

    .sub-nav__list li {
        flex-shrink: 0;
    }

    .sub-nav__list::-webkit-scrollbar {
        height: 4px;
    }

    .sub-nav__link {
        position: relative;
        display: block;
        padding: 1.2rem 3.2rem 1.2rem 1.6rem;
        font-size: clamp(1.2rem, 3.2vw, 1.4rem);
        white-space: nowrap;
    }

    .sub-nav__link::after {
        content: '';
        display: block;
        flex-shrink: 0;
        width: 8px;
        height: 8px;
        border-right: 2px solid currentColor;
        border-bottom: 2px solid currentColor;
        transform: rotate(45deg);
        position: absolute;
        right: 1.2rem;
        top: 53%;
        margin-top: -7px;
        transition: margin-top 0.2s ease;
    }

    .sub-nav__link:hover::after {
        margin-top: -4px;
    }

    .sub-nav__link:hover,
    .sub-nav__link.is-active {
        border-bottom-color: transparent;
    }

    .sub-nav__scroll-note {
        /* display: block; */
        font-size: clamp(0.8rem, 3.2vw, 1rem);
        text-align: right;
        background: transparent !important;
    }

    .sub-nav.is-overflowing .sub-nav__scroll-note {
        display: block;
    }
}


/* ─── 下層コンテンツ基本レイアウト ─── */
.subpage-contents {
    padding-top: 6rem;
    padding-bottom: 8rem;
}

/* ─── 下層セクション共通 ─── */
.subpage-section {
    padding: 6rem 0;
}

.subpage-section+.subpage-section {
    border-top: 1px solid var(--color-border);
}

@media (max-width: 768px) {
    /* .page-header {
        padding-top: calc(var(--header-h) + 2.4rem);
        padding-bottom: 2.4rem;
    } */

    .subpage-section {
        padding: 4rem 0;
    }
}

/* セクション見出し（下層共通） */
.section-head {
    margin-bottom: 4.8rem;
}

.section-head__en {
    font-family: var(--font-en);
    font-size: clamp(4rem, 3.5vw, 7rem);
    font-weight: 700;
    color: var(--color-main);
    letter-spacing: 0.04em;
    line-height: 1;
}

.section-head__ja {
    font-size: clamp(2rem, 1.6vw, 2.5rem);
    font-weight: 700;
    color: var(--color-text);
    margin-top: 0.6rem;
}

.sub-section-head {
    margin-bottom: 6rem;
}

.sub-section-head__ja {
    font-size: clamp(2.4rem, 2.8vw, 3.2rem);
    font-weight: 700;
    color: var(--color-main);
    line-height: 1.4;
}

@media (max-width: 768px) {
    .section-head {
        margin-bottom: 3.2rem;
    }

    .sub-section-head {
        margin-bottom: 2rem;
    }
}


/* ============================================================
   faq.css — よくあるご質問ページ
   日本コロイド株式会社
   ============================================================ */
/* ============================================================
   FAQ コンテンツエリア
   ============================================================ */
.faq-section {
    background: var(--color-white);
    padding: 6rem 0 9rem;
}

/* スクロールオフセット（sticky header + sticky nav 分） */
.faq__section {
    scroll-margin-top: calc(var(--header-h) + 56px);
    padding: 2rem 0 4rem;
}

.faq__section+.faq__section {
    padding-top: 3rem;
}

@media (max-width: 768px) {
    .faq-section {
        padding: 4rem 0 6rem;
    }

    .faq__section {
        padding-bottom: 4rem;
    }

    .faq__section+.faq__section {
        padding-top: 2rem;
    }
}


/* ============================================================
   セクション見出し
   ============================================================ */
.faq__section-title {
    font-size: clamp(1.6rem, 1.5vw, 1.9rem);
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 2.4rem;
    padding-bottom: 1.2rem;
    border-bottom: 2px solid var(--color-main);
}

@media (max-width: 768px) {
    .faq__section-title {
        font-size: clamp(1.5rem, 4.5vw, 1.8rem);
        margin-bottom: 1.6rem;
    }
}


/* Q&A アコーディオンリスト */
.faq__list {
    border-top: 1px solid var(--color-border);
}

.faq__item {
    border-bottom: 1px solid var(--color-border);
}


/* Q（質問行）：クリックトリガー
============================================================ */
.faq__question {
    display: flex;
    align-items: center;
    gap: 1.6rem;
    width: 100%;
    padding: 2rem 1.2rem;
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
    transition: background 0.15s;
    font-family: var(--font-jp);
}

.faq__question:hover {
    background: var(--color-bg-green);
}

.faq__q-badge {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-main);
    color: var(--color-white);
    font-size: clamp(1.3rem, 1.2vw, 1.5rem);
    font-weight: 700;
    font-family: var(--font-en);
    border-radius: 5px;
}

.faq__q-text {
    flex: 1;
    font-weight: 600;
    line-height: 1.65;
    color: var(--color-text);
}

/* ▼ シェブロンアイコン */
.faq__icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    position: relative;
    margin-left: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.faq__icon::before {
    content: '';
    display: block;
    width: 10px;
    height: 10px;
    border-right: 2px solid var(--color-text-light);
    border-bottom: 2px solid var(--color-text-light);
    transform: rotate(45deg);
    margin-top: -4px;
    transition: transform 0.3s ease;
}

/* 開いたとき ▲ */
.faq__item.is-open .faq__icon::before {
    transform: rotate(-135deg);
    margin-top: 4px;
}

.faq__item.is-open .faq__question {
    background: var(--color-bg-green);
}

@media (max-width: 768px) {
    .faq__question {
        gap: 1.2rem;
        padding: 1.6rem 0.8rem;
    }

    .faq__q-badge {
        width: 28px;
        height: 28px;
        font-size: clamp(1.2rem, 3.2vw, 1.4rem);
    }
}


/* A（回答エリア）：アコーディオン展開
============================================================ */

.faq__answer {
    height: 0;
    overflow: hidden;
    transition: height 0.35s ease-in-out;
}

.faq__answer-inner {
    display: flex;
    gap: 1.6rem;
    align-items: flex-start;
    padding: 1.6rem 1.2rem 2.4rem;
}

.faq__a-badge {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid var(--color-main);
    color: var(--color-main);
    font-size: clamp(1.3rem, 1.2vw, 1.5rem);
    font-weight: 700;
    font-family: var(--font-en);
    background: var(--color-white);
    border-radius: 5px;
}

.faq__a-text {
    flex: 1;
    line-height: 1.9;
    color: var(--color-text);
}

.faq__a-text a {
    color: var(--color-main);
    text-decoration: underline;
    text-underline-offset: 3px;
}

@media (min-width: 1025px) {
    .faq__a-text a[href^="tel:"] {
        color: var(--color-text);
        text-decoration: none;
    }
}

@media (max-width: 768px) {
    .faq__answer-inner {
        gap: 1.2rem;
        padding: 1.2rem 0.8rem 2rem;
    }

    .faq__a-badge {
        width: 28px;
        height: 28px;
        font-size: clamp(1.2rem, 3.2vw, 1.4rem);
    }
}