/*
Theme Name: lightning-child
Template: lightning
*/

/* ============================================================
   ASA高松中央（新聞牛乳） 共通スタイル
   ============================================================ */

/* ============================================================
   共通変数（デザイントークン）
   ============================================================ */
:root {
    --asa-color-accent: #b08d57;
    --asa-color-border: #e6dcc8;
    --asa-color-bg-soft: #f7f2ea;
    --asa-color-text-muted: #77695a;

    /* お問い合わせフォーム系 */
    --asa-color-form-bg: #e9e6e1;
    --asa-color-required: #d0021b;
    --asa-color-input-border: #d8d3cb;

    --asa-color-form-accent: var(--asa-color-footer-bg);
    --asa-color-form-accent-dark: #b0864a;

    /* フッター。TOPページのBUSINESSカード（新聞販売店事業）にも流用する */
    --asa-color-footer-bg: #c9a063;

    --asa-color-footer-nav-bg: var(--asa-color-footer-bg);
    --asa-color-footer-nav-text: #fff;
    --asa-color-footer-nav-border: rgba(255, 255, 255, 0.5);

    /* TOPページ「BUSINESS［事業案内］」の事業別カラー */
    --asa-color-business-milk: #106bbd;
    --asa-color-business-mobile: #009439;

    /* お問い合わせセクション（[asc_contact_cta]）の背景 */
    --asa-color-contact-bg: var(--asa-color-bg-soft);

    --asa-color-line: #06c755;

    /* 見出しラベル・番号・Qバッジで使う明朝体 */
    --asa-font-mincho: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", serif;

    --asa-section-inline: 20px;
    --asa-contact-section-inline: 24px;

    /*
     * 中央コンテンツの幅。左右のペインは残りを半分ずつ分ける。
     *
     * **28%だけにすると、画面が狭いノートPCで中央が潰れる。**
     * 28%は画面の幅に対する割合なので、
     *   1920px → 538px（デザインの基準）
     *   1280px → 358px（13.3インチのノートPCはここ）
     *    992px → 278px
     * と、狭い画面ほど中央が細くなる。
     * 中の部品は1920pxを前提に組んであるため、
     * 固定幅のボタンや折り返さない電話番号がはみ出す。
     *
     * **そこで420pxを下限にしている。**
     * 1500px以上の画面では28%がそのまま使われるので、
     * 基準にしているデザインの見え方は変わらない。
     * 下回る画面でだけ中央を優先し、ペインが細くなる。
     */
    --asa-content-width: max(420px, 28%);
}

/* ============================================================
   共通パーツ
   ============================================================ */

.asa-guide-menu__link,
.asa-pay-method__item,
.asa-faq__item,
.asa-infocard {
    background: #fff;
    border: 1px solid var(--asa-color-border);
    color: inherit;
}

.asa-guide-menu__icon,
.asa-pay-method__icon,
.asa-infocard__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 30%;
    max-width: 120px;
    aspect-ratio: 1 / 1;
    color: var(--asa-color-accent);
}

.asa-infocard__icon--wide {
    aspect-ratio: auto;
    max-width: 140px;
}

.asa-infocard__icon--wide img {
    display: block;
    width: 100%;
    max-width: none;
    height: auto;
}

.asa-guide-menu__body,
.asa-pay-method__body,
.asa-infocard__body {
    display: flex;
    flex: 1 1 70%;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

/* 見出し。文字サイズだけ各ページ側で調整する */
.asa-guide-menu__title,
.asa-pay-method__title,
.asa-infocard__title {
    display: inline-block;
    padding-bottom: 4px;
    border-bottom: 2px solid var(--asa-color-border);
    color: var(--asa-color-accent);
    font-weight: bold;
}

.asa-infocard__title--line {
    display: block;
    margin-bottom: 4px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--asa-color-border);
    font-size: 1.3rem;
}

/* カード内の横並び1行（アイコン＋本文） */
.asa-pay-method__row,
.asa-infocard__row {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* 見出しの下に続く説明文 */
.asa-pay-method__desc,
.asa-infocard__desc {
    color: var(--asa-color-text-muted);
    font-size: 0.85rem;
    line-height: 1.6;
}

/* 押せることを伝える浮き上がり（カード・写真カード共通） */
.asa-guide-menu__link,
.asa-top-subscription__card {
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease;
}

.asa-guide-menu__link:hover,
.asa-guide-menu__link:focus,
.asa-top-subscription__card:hover,
.asa-top-subscription__card:focus {
    transform: translateY(-3px);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.12);
    opacity: 1;
}

.asa-guide-menu__link:active,
.asa-top-subscription__card:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.asa-guide-menu__link:hover,
.asa-guide-menu__link:focus {
    border-color: var(--asa-color-accent);
    color: inherit;
}

.asa-faq__title,
.asa-pay-method__heading,
.asa-dot-heading {
    --asa-heading-underline: var(--asa-color-footer-bg);

    position: relative;
    margin: 0 0 28px;
    padding: 0 0 16px;
    border: none;
    font-size: 1.8rem;
    font-weight: bold;
    line-height: 1.45;
    text-align: center;
}

.asa-faq__title::after,
.asa-pay-method__heading::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 50%;
    height: 3px;
    background: var(--asa-heading-underline);
    transform: translateX(-50%);
}

.asa-dot-heading::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 75px;
    height: 6px;
    background-image: radial-gradient(circle, var(--asa-color-accent) 3px, transparent 3px);
    background-size: 15px 6px;
    background-repeat: repeat-x;
    transform: translateX(-50%);
}

.asa-layout__pane--center:has(.asa-guide-hero),
.asa-layout__pane--center:has(.asa-contact-section) {
    background: var(--asa-color-form-bg);
}

@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}

html {
    overscroll-behavior-y: none;
}

.asa-page {
    position: relative;
    width: 100%;
}

/* ヘッダーのロゴを中央へ。リンクがwidth:fit-contentのブロックのため左右marginで寄せる */
@media (min-width: 992px) {

    body.asa-site-layout .site-header-logo {
        margin-right: 0;
    }

    body.asa-site-layout .site-header-logo a {
        margin-left: auto;
        margin-right: auto;
    }
}

body.asa-site-layout .site-footer {
    border-top: none;
}

body.asa-site-layout .page-header {
    display: none;
}

body.asa-site-layout .sub-section {
    display: none;
}

body.asa-site-layout .main-section--col--two {
    width: 100%;
    float: none;
}

body.asa-site-layout .breadcrumb {
    margin: 0;
    padding: 8px 0;
    font-size: 0.75rem;
}

body.asa-site-layout .breadcrumb a {
    color: inherit;
}

body.asa-site-layout .breadcrumb a:hover,
body.asa-site-layout .breadcrumb a:focus {
    color: inherit;
    opacity: 0.7;
}

body.asa-site-layout .site-body {
    padding-top: 0;
    padding-bottom: 0;
}

body.asa-site-layout .site-body-container,
body.asa-site-layout .main-section,
body.asa-site-layout .entry,
body.asa-site-layout .entry-body {
    margin: 0;
    padding-left: 0;
    padding-right: 0;
    padding-bottom: 0;
}

/* ペインを出さない幅では本文を画面幅いっぱいに使う（style-notes.md参照） */
@media (max-width: 991px) {

    body.asa-site-layout .site-body-container,
    body.asa-site-layout .site-header-container,
    body.asa-site-layout .breadcrumb .container {
        max-width: none;
    }
}

/* ============================================================
   スクロール表示アニメーション
   ============================================================ */

.asa-scroll-fade {
    opacity: 0;
    transform: translateY(28px);
    transition:
        opacity 0.65s ease,
        transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

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

.asa-scroll-fade-left,
.asa-scroll-fade-right {
    opacity: 0;
    transition:
        opacity 0.7s ease,
        transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.asa-scroll-fade-left {
    transform: translateX(-40px);
}

.asa-scroll-fade-right {
    transform: translateX(40px);
}

.asa-scroll-fade-left.is-visible,
.asa-scroll-fade-right.is-visible {
    opacity: 1;
    transform: translateX(0);
}

@media (prefers-reduced-motion: reduce) {

    .asa-scroll-fade,
    .asa-scroll-fade.is-visible,
    .asa-scroll-fade-left,
    .asa-scroll-fade-left.is-visible,
    .asa-scroll-fade-right,
    .asa-scroll-fade-right.is-visible {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

.asa-layout__backdrop {
    display: none;
}

/* 右ペインのメニュー。ペインごとPC幅でしか出さない */
.asa-pane-menu {
    display: none;
}

.asa-layout__pane--center {
    position: relative;
    z-index: 1;
    width: 100%;
    background: #fff;
}

@media (min-width: 992px) {

    body.asa-site-layout {
        padding-left: calc((100% - var(--asa-content-width)) / 2);
        padding-right: calc((100% - var(--asa-content-width)) / 2);
    }

    .asa-layout__backdrop {
        display: flex;
        justify-content: space-between;

        position: fixed;
        inset: 0;
        z-index: 2;

        width: 100%;
        height: 100vh;

        pointer-events: none;
    }

    .asa-layout__backdrop-pane--left,
    .asa-layout__backdrop-pane--right {
        position: relative;
        flex: 0 0 calc((100% - var(--asa-content-width)) / 2);
        max-width: calc((100% - var(--asa-content-width)) / 2);
        height: 100%;
        overflow: hidden;
    }

    .asa-layout__backdrop-image {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    /*
     * 左ペインは焼き込みの文字が左寄り（端から13.8%〜75.4%）。
     * 切り取る位置を中央より少し左へ寄せておくと、
     * ブラウザ窓が縦長のときに文字の頭が欠けにくい。
     */
    .asa-layout__backdrop-pane--left .asa-layout__backdrop-image {
        object-position: 40% center;
    }

    /*
     * 牛乳以外のページの右ペイン。
     * 写真ではなく無地の背景に部品を重ねて作る。
     */
    .asa-layout__backdrop-pane--flat {
        background: #323333;
    }

    /*
     * 重ねる飾り（透過PNG）。
     * 位置も大きさもペインに対する割合で指定する。
     * 数値はデザイン画像（アセット 19ボタン.png）からの実測値。
     */
    .asa-pane-deco {
        position: absolute;
        display: block;
        max-width: none;
        height: auto;
    }

    /* 金の筆記体「For your daily Life」 */
    .asa-pane-deco--script {
        left: 9%;
        top: 3.5%;
        width: 24.34%;
    }

    /* 「QUICK MENU」＋リード文。右端はボタンと揃える */
    .asa-pane-deco--title {
        left: 13.42%;
        top: 6.36%;
        width: 73.45%;
    }

    /* 「お困りですか？」の吹き出し。下のキャラクターの左隣に置く */
    .asa-pane-deco--balloon {
        left: 13.27%;
        top: 76.9%;
        width: 42.48%;
    }

    /*
     * 牛乳びん（牛乳ページだけ）。キャラクターの左隣に立たせる。
     *
     * **ここだけ幅ではなく高さで大きさを決めている。**
     * 他の飾りはペインの横幅に対する割合だが、これはキャラクターと
     * 足元の高さをそろえたいため、キャラクター（.asa-blink）と
     * 同じ「ペインの高さに対する割合」で指定する。
     *
     * キャラクターは object-fit: contain ＋ object-position: 77.5% で
     * ペインの57.6%〜83.4%に描かれる。
     *
     * **計算上ぴったり左隣は42.4%だが、依頼主の指示で35%にしてある**
     * （2026-09-28）。びんはキャラクターの箱の中へ入り込むが、
     * **キャラクターの足元は左右が透明なのでびんが見える。**
     * HTMLではびんのほうが先にあるため、重なる部分は
     * キャラクターが前面に来る（並んで立っているように見える）。
     *
     * --asa-blink-x か --asa-blink-height を変えたらここも要調整。
     *
     * すぐ左には吹き出しがある。高さを10%より大きくすると
     * 吹き出しの右下の線に重なる。
     */
    .asa-pane-deco--bottle {
        --asa-pane-bottle-height: 10%;
        --asa-pane-bottle-right: 35%;
        --asa-pane-bottle-bottom: 3.5%;

        right: var(--asa-pane-bottle-right);
        bottom: var(--asa-pane-bottle-bottom);
        width: auto;
        height: var(--asa-pane-bottle-height);
    }

    /*
     * 「朝日新聞オリジナルキャラクター マダニャイ」のクレジット。
     * 飾りの中でこれだけは全ページに出す（牛乳ページも同じ位置）。
     * まばたきのキャラクターに重ねるため、HTMLでは.asa-blinkより
     * 後ろに置いてある（後から書いたほうが前面に来る）。
     */
    .asa-pane-deco--credit {
        left: 72.6%;
        top: 92%;
        width: 14.4%;
    }

    /*
     * まばたきのキャラクター（マダニャイ）。
     * 数値はレイアウト画像「新聞PCview.png」からの実測値。
     * 画像の中で 高さ22.14vh・中心はペインの71.1%・
     * 下端から3.5vh浮いた位置にいる。
     */
    .asa-blink {
        --asa-blink-height: 22.14%;

        /* 下端からの浮き */
        --asa-blink-bottom: 3.5%;

        /*
         * 左右の位置。0%＝左端・50%＝中央・100%＝右端。
         * 画像はこの箱の高さに合わせて収まるため、描画幅は
         * 高さ × 画像の縦横比（0.746）＝約16.5vh。
         * 77.5%でキャラクターの中心がペインの約71%に来る。
         */
        --asa-blink-x: 77.5%;

        position: absolute;
        right: 0;
        bottom: var(--asa-blink-bottom);
        left: 0;
        height: var(--asa-blink-height);
        pointer-events: none;
    }

    .asa-blink__frame {
        position: absolute;
        inset: 0;
        display: block;
        width: 100%;
        max-width: none;
        height: 100%;
        object-fit: contain;
        object-position: var(--asa-blink-x) bottom;
        opacity: 0;
    }

    .asa-blink__frame.is-active {
        opacity: 1;
    }

    /*
     * 右ペインのメニュー。
     * 縦位置・大きさをvhで決めているのは、背景画像が
     * 画面の高さに合わせて拡大縮小するため（object-fit: cover）。
     * 同じ単位で揃えると、画像の中の見出しとの間隔が変わらない。
     */
    .asa-pane-menu {
        --asa-pane-menu-gap: 1.26vh;

        /* 文字とアイコンの色。牛乳ページだけ青にする（末尾で上書き） */
        --asa-pane-menu-ink: #333;

        /* マウスを乗せたとき・押したときの地色 */
        --asa-pane-menu-active: var(--asa-color-footer-bg);

        display: block;
        position: fixed;
        top: 20.91vh;
        right: 0;
        z-index: 3;

        /*
         * 左右の余白。レイアウト画像は13.13%（ボタン幅73.75%）だが、
         * 依頼主が画面を見て決めた5%（幅90%）を採用している。
         */
        width: calc((100% - var(--asa-content-width)) / 2);
        padding: 0 5%;
    }

    .asa-pane-menu__list {
        display: flex;
        flex-direction: column;
        gap: var(--asa-pane-menu-gap);

        margin: 0;
        padding: 0;
        list-style: none;
    }

    .asa-pane-menu__item {
        margin: 0;
    }

    .asa-pane-menu__link {
        /*
         * カードの地色。アイコンの白抜き（牛乳びんのラベル・
         * ハートの波形）もこの色を使うため、変数にしてある。
         * 反転したときに白抜きが消えないようにするための仕組み。
         */
        --asa-pane-menu-bg: #fff;

        display: flex;
        align-items: center;
        gap: clamp(8px, 1.4vh, 16px);

        min-height: 7.5vh;
        padding: 0 clamp(10px, 1.6vh, 20px);
        border-radius: 10px;

        background: var(--asa-pane-menu-bg);
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);

        color: var(--asa-pane-menu-ink);
        font-weight: bold;
        line-height: 1.3;
        text-decoration: none;

        transition:
            transform 0.2s ease,
            box-shadow 0.2s ease,
            background-color 0.2s ease,
            color 0.2s ease;
    }

    .asa-pane-menu__icon {
        flex: 0 0 auto;
        display: flex;
        align-items: center;
        justify-content: center;
        width: clamp(24px, 3.6vh, 40px);
    }

    .asa-pane-menu__icon svg {
        display: block;
        width: 100%;
        height: auto;
    }

    /* アイコンの白抜き。カードの地色に合わせて切り替わる */
    .asa-pane-menu__icon .asa-icon-hole {
        fill: var(--asa-pane-menu-bg);
    }

    .asa-pane-menu__icon .asa-icon-hole-line {
        stroke: var(--asa-pane-menu-bg);
    }

    .asa-pane-menu__label {
        flex: 1 1 auto;
        font-size: clamp(0.85rem, 1.9vh, 1.2rem);
    }

    .asa-pane-menu__arrow {
        flex: 0 0 auto;
        width: clamp(14px, 2.2vh, 24px);
    }

    .asa-pane-menu__arrow svg {
        display: block;
        width: 100%;
        height: auto;
    }

    /* マウスを乗せたとき・押したときだけ青地に反転する */
    body.asa-site-layout .asa-pane-menu__link:hover,
    body.asa-site-layout .asa-pane-menu__link:focus,
    body.asa-site-layout .asa-pane-menu__link:active {
        --asa-pane-menu-bg: var(--asa-pane-menu-active);

        color: #fff;
        opacity: 1;
        transform: translateY(-2px);
        box-shadow: 0 5px 16px rgba(0, 0, 0, 0.2);
    }

    @media (prefers-reduced-motion: reduce) {

        .asa-pane-menu__link,
        body.asa-site-layout .asa-pane-menu__link:hover,
        body.asa-site-layout .asa-pane-menu__link:focus {
            transform: none;
            transition: none;
        }
    }

}

/* ============================================================
   固定ヘッダー
   ============================================================ */

/*
 * ヘッダーは常に画面上部へ固定する（PC・モバイルとも）。
 *
 * **Lightning本体の固定機能（body.header_scrolled）には頼らない。**
 * 本体はスクロール量がヘッダーの高さを超えた瞬間に
 * position:fixed へ切り替える作りで、
 *   ・切り替わる瞬間に位置が飛ぶ
 *   ・幅が画面いっぱいになり、PCでは中央の帯から外れてロゴが横へ動く
 *   ・背景色もそのときだけ付く
 *   ・ロゴを消して細い帯にする（このサイトは中身がロゴだけなので空になる）
 * という副作用がある。最初から固定にしておけば全部起きない。
 */
#site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;

    width: auto;
    max-width: none;

    /* 本体は「スクロール中」だけ背景を付けるので、こちらで常に付ける */
    background-color: var(--vk-color-header-bg, #fff);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* 本体がスクロール時に足す「落ちてくる」動きは打ち消す */
.header_scrolled #site-header {
    width: auto;
    max-width: none;
    animation: none;
}

/* PC幅では中央の帯に合わせる（bodyの左右paddingと同じ計算） */
@media (min-width: 992px) {
    #site-header {
        left: calc((100% - var(--asa-content-width)) / 2);
        right: calc((100% - var(--asa-content-width)) / 2);
    }
}

/* 本体がスクロール中に消すロゴを出し直す */
body.asa-site-layout.header_scrolled .site-header-logo {
    display: block;
}

/*
 * ヘッダーが浮いたぶん、本文を下げる。
 * 高さはheader-height.jsが実測して --asa-header-height に入れる。
 */
body.asa-site-layout {
    padding-top: var(--asa-header-height, 0px);
}

/*
 * **本体のJSがヘッダーの次の要素へ入れる余白を打ち消す。**
 *   main.js … スクロール中だけ
 *   nextElementSibling.style.marginTop = ヘッダーの高さ
 * （設定 add_header_offset_margin。固定になって本文が
 * 上へ詰まるのを補正するためのもの）
 *
 * こちらは常に固定＋上の padding-top で下げているため、
 * この余白が入ると**スクロールした瞬間に本文が二重に下がる。**
 * インラインstyleで入るため !important でしか消せない。
 */
body.asa-site-layout .site-body,
body.asa-site-layout .page-header {
    margin-top: 0 !important;
}

/*
 * 管理バー（ログイン中）のぶんだけ下げる。
 * 本体にも同じ指定があるが、上の #site-header（ID指定）のほうが
 * 強いため効かない。書き戻す。
 *
 * **600px以下では入れない。** WordPressの管理バーは
 * その幅だと固定ではなく本文と一緒に流れるため、
 * ずらすと下げたぶんの隙間が残り続ける。
 */
@media (min-width: 601px) {
    body.asa-site-layout.admin-bar #site-header {
        top: 46px;
    }
}

@media (min-width: 783px) {
    body.asa-site-layout.admin-bar #site-header {
        top: 32px;
    }
}

/*
 * モバイルのヘッダーの高さを、ハンバーガーボタンに揃える。
 *
 * 本体のボタン（.vk-mobile-nav-menu-btn）は
 * **34px角・画面の上から5px**の固定。
 * ロゴを同じ高さ・同じ余白にすると上下の位置がそろう。
 *   5px ＋ 34px ＋ 5px ＝ 44px
 *
 * 本体の既定は 8px ＋ 50px ＋ 8px ＝ 66px。
 * ロゴ画像は2560×590（縦横比4.339）で、
 * **高さ34pxなら幅147px。** 入れ物より十分狭いので横は切れない。
 *
 * 本文を下げる量はheader-height.jsが実測しているため、
 * ここを変えるだけで本文の位置も追従する。
 */
@media (max-width: 991px) {

    body.asa-site-layout .site-header-logo {
        padding-top: 5px;
        margin-bottom: 5px;
    }

    body.asa-site-layout .site-header-logo img {
        max-height: 34px;
    }
}

.asa-top-section__title {
    border-top: none;
    border-bottom: none;
    padding: 0;
}

/* ============================================================
   TOPページ
   ============================================================ */

.asa-top-hero {
    position: relative;
    height: calc(100vh - var(--asa-header-height, 0px));
    height: calc(100dvh - var(--asa-header-height, 0px));
    overflow: hidden;
}

.asa-top-hero__image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 写真に重ねるコピーは左上に配置する */
.asa-top-hero__copy {
    position: absolute;
    left: 0;
    top: 0;
    padding: 24px;
}

.asa-top-hero__title {
    margin: 0;
    color: #fff;
    font-size: 1.7rem;
    font-weight: bold;
    line-height: 1.6;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

.asa-top-hero__lead {
    margin: 12px 0 0;
    color: #fff;
    font-size: 1.25rem;
    font-weight: bold;
    line-height: 1.8;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

.asa-top-hero--light .asa-top-hero__title,
.asa-top-hero--light .asa-top-hero__lead {
    color: #222;
    text-shadow: none;
}

.asa-top-hero--light .asa-top-hero__title {
    font-size: 2.1rem;
}

.asa-top-hero__copy--spread {
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 32px 24px 40px;
}

/* 上下に離すため、リード文側のmargin-topは打ち消す */
.asa-top-hero__copy--spread .asa-top-hero__lead {
    margin-top: 0;
}

@media (max-width: 991px) {
    .asa-top-hero__copy--spread {
        padding-bottom: calc(56px + 58px + env(safe-area-inset-bottom, 0px));
    }
}

.asa-top-section {
    --asa-section-inline: 20px;
    padding: 40px var(--asa-section-inline);
}

/* 「Philosophy［企業理念］」等の英字ラベル（下線＋短いアクセントバー） */
.asa-top-section__label {
    position: relative;
    margin: 0 0 24px;
    padding-bottom: 14px;
    color: var(--asa-color-accent);
    font-family: var(--asa-font-mincho);
    font-size: 0.85rem;
    letter-spacing: 0.05em;
}

.asa-top-section__label::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1px;
    background: var(--asa-color-border);
}

.asa-top-section__label::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    z-index: 1;
    width: 32px;
    height: 2px;
    background: var(--asa-color-accent);
}

/* サイト全体のセクション見出し。フォームの見出しともサイズを揃えてある */
.asa-top-section__title {
    margin: 0 0 20px;
    font-size: 1.8rem;
    font-weight: bold;
    line-height: 1.45;
}

.asa-top-section__title-accent {
    color: var(--asa-color-accent);
}

/* 見出しを中央寄せにしたい場合に併記する */
.asa-top-section__title--center {
    text-align: center;
}

/* 本文中の強調（アクセントカラー＋太字） */
.asa-accent-text {
    color: var(--asa-color-accent);
    font-weight: bold;
}

.asa-top-philosophy__text p {
    margin: 0 0 18px;
    font-weight: bold;
    line-height: 1.8;
    color: #333;
}

.asa-top-philosophy__text p:last-child {
    margin-bottom: 0;
}

.asa-top-button-row {
    text-align: right;
}

.asa-top-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-top: 24px;
    padding: 16px 20px 16px 40px;
    background: var(--asa-color-accent);
    border: none;
    border-radius: 999px;
    color: #fff;
    text-decoration: none;
}

.asa-top-button__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #fff;
    color: var(--asa-color-accent);
    font-size: 0.9rem;
}

.asa-top-button--icon-right {
    position: relative;
    justify-content: center;
    padding-right: 56px;
    padding-left: 32px;
}

.asa-top-button--icon-right .asa-top-button__icon {
    position: absolute;
    top: 50%;
    right: 16px;
    transform: translateY(-50%);
}

.asa-top-gallery .wp-block-vk-blocks-slider {
    position: relative;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0 0 34px;
    overflow: hidden;
}

.asa-top-gallery .wp-block-vk-blocks-slider-item {
    height: auto;
    margin: 0;
    padding: 0 6px !important;
}

.asa-top-gallery .vk_slider_item-background-area {
    display: none;
}

.asa-top-gallery .vk_slider_item_container {
    display: flex;
    align-items: stretch;
    width: 100%;
    max-width: none;
    height: 100%;
    margin: 0;
    padding: 0;
}

.asa-top-gallery__image {
    display: block;
    width: 100%;
    height: 260px;
    object-fit: cover;
    border-radius: 8px;
}

.asa-top-gallery .swiper-button-next,
.asa-top-gallery .swiper-button-prev {
    display: none !important;
}

.asa-top-gallery .swiper-pagination {
    position: absolute;
    right: 0;
    bottom: 4px;
    left: 0;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    width: 100%;
    margin: 0;
    padding: 0;

    text-align: center;
}

.asa-top-gallery .swiper-pagination-bullet {
    display: block;
    width: 9px;
    height: 9px;
    margin: 0 !important;
    border: 0;
    border-radius: 50%;
    background-color: var(--asa-color-border);
    opacity: 1;
}

.asa-top-gallery .swiper-pagination-bullet-active {
    background-color: var(--asa-color-accent);
}

/* ============================================================
   TOPページ「BUSINESS［事業案内］」
   ============================================================ */
.asa-top-business__card {
    padding-top: 32px;
}

.asa-top-business__card:first-child {
    padding-top: 0;
}

.asa-top-business__divider,
.asa-divider {
    margin: 32px 0 0;
    border: none;
    border-top: 1px solid var(--asa-color-border);
}

/* 単独の区切り線は上下どちらにも余白を取る */
.asa-divider {
    margin-bottom: 32px;
}

.asa-top-business__image {
    display: block;
    width: calc(100% + var(--asa-section-inline) * 2);
    max-width: none;
    height: 220px;
    margin: 0 calc(var(--asa-section-inline) * -1) 20px;
    object-fit: cover;
}

.asa-top-business__title {
    margin: 0 0 4px;
    font-size: 1.4rem;
    font-weight: bold;
    text-align: center;
}

.asa-top-business__en {
    margin: 0 0 16px;
    font-size: 0.85rem;
    font-weight: bold;
    letter-spacing: 0.12em;
    text-align: center;
}

.asa-top-business__en--news {
    color: var(--asa-color-footer-bg);
}

.asa-top-business__en--milk {
    color: var(--asa-color-business-milk);
}

.asa-top-business__en--mobile {
    color: var(--asa-color-business-mobile);
}

.asa-top-business__text p {
    margin: 0;
    line-height: 1.9;
}

.asa-top-business__card .asa-top-button-row {
    text-align: center;
}

.asa-top-business__button,
.asa-top-button--block {
    display: flex;
    width: 100%;
    justify-content: center;
    box-sizing: border-box;
}

.asa-top-button.asa-top-business__button--milk {
    background: var(--asa-color-business-milk);
}

.asa-top-button.asa-top-business__button--mobile {
    background: var(--asa-color-business-mobile);
}

.asa-top-business__button--milk .asa-top-button__icon {
    color: var(--asa-color-business-milk);
}

.asa-top-business__button--mobile .asa-top-button__icon {
    color: var(--asa-color-business-mobile);
}

/* 事業案内ページ（theme/pages/business/）のリード文でも流用している */
.asa-top-support__lead {
    margin: 4px 0 24px;
    color: var(--asa-color-text-muted);
    text-align: center;
}

.asa-top-careers {
    background: var(--asa-color-bg-soft);
}

.asa-top-careers .asa-top-section__title {
    font-size: 1.3rem;
}

/* 採用情報の写真（3枚並び）はセクションの左右余白いっぱいまで広げる */
.asa-top-careers__photos {
    display: flex;
    gap: 4px;
    width: calc(100% + var(--asa-section-inline) * 2);
    margin: 0 calc(var(--asa-section-inline) * -1) 28px;
}

.asa-top-careers__photos img {
    display: block;
    width: 33.33%;
    max-width: none;
    height: 140px;
    object-fit: cover;
}

/* 3枚が1枚の画像になっている場合。切り抜かず元の比率のまま出す */
.asa-top-careers__photos--single img {
    width: 100%;
    height: auto;
    object-fit: initial;
}

.asa-top-careers__text p {
    margin: 0 0 16px;
    line-height: 1.8;
}

.asa-top-careers__text p:last-child {
    margin-bottom: 0;
}

.asa-top-subscription__list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.asa-top-subscription__card {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 8px;
    color: #fff;
    text-decoration: none;
}

/* 背景にアイコンが入っているので切り取らず、画像全体を出す */
.asa-top-subscription__card img {
    display: block;
    width: 100%;
    height: auto;
}

.asa-top-subscription__overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 16px 24px;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.05));
}

.asa-top-subscription__caption {
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    opacity: 0.85;
}

.asa-top-subscription__title {
    margin: 6px 0 14px;
    font-size: 1.6rem;
    font-weight: bold;
}

.asa-top-subscription__link {
    font-size: 0.85rem;
    text-decoration: underline;
}

.asa-guide-hero {
    padding-top: 16px;
    padding-bottom: 8px;
    text-align: left;
}

/* 見出し（H1・H2）とリード文は中央揃え。パンくずだけ左揃えのまま */
.asa-guide-hero .asa-top-section__title,
.asa-guide-info .asa-top-section__title,
.asa-guide-hero .asa-top-support__lead,
.asa-guide-info__lead {
    text-align: center;
}

.asa-guide-crumb {
    position: relative;
    margin: 0 0 36px;
    padding-bottom: 14px;
    color: var(--asa-color-text-muted);
    font-size: 0.8rem;
    letter-spacing: 0.05em;
}

.asa-guide-crumb::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1px;
    background: var(--asa-color-border);
}

.asa-guide-crumb::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    z-index: 1;
    width: 32px;
    height: 2px;
    background: var(--asa-color-accent);
}

.asa-guide-crumb__jp {
    margin-left: 2px;
}

/* アイコン左・テキスト右の横並び1カラムカード */
.asa-guide-menu {
    padding-top: 8px;
}

.asa-guide-menu__list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 0;
    padding: 0;
    list-style: none;
}

/* Lightningのli既定marginを打ち消し、間隔をgapだけで制御する */
.asa-guide-menu__item {
    margin: 0;
}

.asa-guide-menu__link {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px 20px;
    border-radius: 8px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
    text-decoration: none;
}

/* 入れ物（3:7比率）はそのまま、中のアイコンだけ80%に縮める */
.asa-guide-menu__icon svg {
    width: 80%;
    height: 80%;
}

/* アイコンと余白が1枚の横長画像になっている場合。文字は画像の右側へ重ねる */
.asa-guide-menu__link--image {
    position: relative;
    display: block;
    padding: 0;
    overflow: hidden;
}

.asa-guide-menu__image {
    display: block;
    width: 100%;
    max-width: none;
    height: auto;
}

.asa-guide-menu__link--image .asa-guide-menu__body {
    position: absolute;
    top: 50%;
    right: 20px;
    left: 33%;
    transform: translateY(-50%);
}

.asa-guide-menu__title {
    font-size: 1.3rem;
}

.asa-guide-menu__desc {
    color: var(--asa-color-text-muted);
    font-size: 1rem;
    line-height: 1.6;
}

.asa-guide-info__number {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin: 0 0 20px;
    padding-top: 24px;
    border-top: 1px solid var(--asa-color-border);
    font-weight: bold;
}

.asa-guide-info__number-value {
    color: var(--asa-color-accent);
    font-family: var(--asa-font-mincho);
    font-size: 2rem;
}

.asa-guide-info__lead {
    margin: 0 0 28px;
    color: var(--asa-color-text-muted);
    line-height: 1.9;
}

/* 背景の黒ぼかしを薄くしたぶん、白文字は影で浮かせる */
.asa-guide-photocard__block {
    display: flex;
    flex-direction: column;
    width: 100%;
    transform: translateY(-30px);
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.55);
}

/* 画像全体を出すぶんカードが低くなるので、文字を詰める */
@media (max-width: 991px) {
    .asa-top-subscription__overlay {
        padding: 12px 20px;
    }

    .asa-guide-photocard__block {
        transform: translateY(-12px);
    }

    .asa-guide-photocard__title {
        margin-bottom: 8px;
        font-size: 1.5rem;
    }

    .asa-guide-photocard__desc {
        font-size: 0.85rem;
    }
}

.asa-guide-photocard__title {
    margin: 0 0 14px;
    font-size: 2rem;
    font-weight: bold;
}

.asa-guide-photocard__sub-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.asa-guide-photocard__desc {
    padding-top: 2px;
    font-size: 1rem;
    line-height: 1.5;
}

.asa-guide-photocard__icon {
    flex: 0 0 auto;
    width: 84px;
    height: 84px;
    color: #fff;
    opacity: 0.9;
}

.asa-guide-photocard__icon svg {
    width: 100%;
    height: 100%;
}

/* 見出しの基本形は共通パーツ側。下線の色だけこのページ用に差し替える */
.asa-pay-method__heading {
    --asa-heading-underline: var(--asa-color-accent);
}

.asa-pay-method__list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.asa-pay-method__item {
    padding: 24px;
    border-radius: 12px;
}

.asa-pay-method__icon svg {
    width: 100%;
    height: 100%;
}

.asa-pay-method__title {
    font-size: 1.1rem;
}

.asa-pay-method__button {
    position: relative;
    display: block;
    margin-top: 20px;
    padding: 14px 56px 14px 20px;
    border: 1px solid var(--asa-color-accent);
    border-radius: 999px;
    color: var(--asa-color-accent);
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    transition:
        background-color 0.16s ease,
        color 0.16s ease;
}

.asa-pay-method__button:hover,
.asa-pay-method__button:focus {
    background-color: var(--asa-color-accent);
    color: #fff;
}

.asa-pay-method__button-arrow {
    position: absolute;
    top: 50%;
    right: 16px;
    transform: translateY(-50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--asa-color-accent);
    color: #fff;
    font-size: 0.9rem;
    transition:
        background-color 0.16s ease,
        color 0.16s ease;
}

.asa-pay-method__button:hover .asa-pay-method__button-arrow,
.asa-pay-method__button:focus .asa-pay-method__button-arrow {
    background: #fff;
    color: var(--asa-color-accent);
}

.asa-philosophy__hero-image,
.asa-fullbleed-image {
    display: block;
    width: calc(100% + var(--asa-section-inline) * 2);
    max-width: none;
    margin: 24px calc(var(--asa-section-inline) * -1);
    height: auto;
}

/* ヒーロー写真直下の説明文（「商売とは～」）はこのページだけ中央寄せ */
.asa-philosophy__intro-text.asa-top-philosophy__text p {
    text-align: center;
}

/* 番号見出し（「01 企業理念」等）の直下のH2タイトルは左揃え（デザイン画像どおり） */
.asa-contact-section.asa-philosophy .asa-guide-info__number + .asa-top-section__title {
    text-align: left;
}

.asa-philosophy__gallery {
    width: calc(100% + var(--asa-section-inline) * 2);
    max-width: none;
    margin: 24px calc(var(--asa-section-inline) * -1) 0;
}

/* 写真の直後に続く本文は、写真側の余白に上乗せしてさらに離す */
.asa-philosophy__text-gap {
    margin-top: 16px;
}

/* 「信用」「信頼」「温もり」の3枚を、1枚の白いカードに並べる */
.asa-philosophy__values {
    margin: 24px 0 28px;
    padding: 20px 16px;
    background: #fff;
    border-radius: 10px;
}

.asa-philosophy__values img {
    display: block;
    width: 100%;
    max-width: none;
    height: auto;
}

/* 画像に焼き込まれた区切り線の重なりを1本にする */
.asa-philosophy__value:not(:last-child) img {
    clip-path: inset(0 0 0.3% 0);
}

.asa-philosophy__quote {
    margin: 40px 0;
    color: var(--asa-color-accent);
    font-size: 1.9rem;
    font-weight: bold;
    text-align: center;
    line-height: 1.6;
    white-space: nowrap;
}

/*
 * 左右ペインが出ている幅では、中央が420px前後まで細くなる。
 * 1.9remのままだと「この人がいるから大丈夫」12文字が
 * 中央の内寸（約372px）とほぼ同じ幅になり、
 * 環境によってはみ出す（nowrapなので折り返さない）。
 */
@media (min-width: 992px) and (max-width: 1599px) {
    .asa-philosophy__quote {
        font-size: 1.6rem;
    }
}

@media (max-width: 480px) {
    .asa-philosophy__quote {
        font-size: 1.3rem;
    }
}

/* 「あなたがいてくれて良かった」は完全な画像のため横幅いっぱいで置く */
.asa-philosophy__quote-image {
    display: block;
    width: calc(100% + var(--asa-section-inline) * 2);
    max-width: none;
    margin: 24px calc(var(--asa-section-inline) * -1) 0;
    height: auto;
}

.asa-faq__question.asa-philosophy__pledge-question {
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 16px 18px 8px;
}

.asa-philosophy__pledge-title {
    font-size: 1.2rem;
    font-weight: bold;
}

.asa-philosophy__pledge-en {
    color: var(--asa-color-accent);
    font-size: 0.85rem;
    letter-spacing: 0.05em;
}

.asa-philosophy__checklist {
    display: flex;
    flex-direction: column;
    width: fit-content;
    max-width: 100%;
    gap: 10px;
    margin: 20px auto 0;
    padding: 0;
    list-style: none;
}

.asa-philosophy__checklist li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: bold;
}

.asa-philosophy__checklist-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 22px;
    height: 22px;
    border: 2px solid var(--asa-color-accent);
    border-radius: 3px;
    color: var(--asa-color-accent);
}

.asa-philosophy__checklist-icon svg {
    width: 14px;
    height: 14px;
}

/* 「Googleマップで見る」ボタン（.asa-top-buttonの流用）の中央寄せ */
.asa-philosophy__map-button-row {
    margin: 20px 0 40px;
    text-align: center;
}

.asa-philosophy__map-button-row .asa-top-button {
    margin-top: 0;
    padding-right: 32px;
    padding-left: 32px;
}

/* 「05 会社概要」の表はTOPページより少し文字を大きくする */
.asa-contact-section.asa-philosophy .asa-top-contact__info-row {
    font-size: 0.92rem;
}

.asa-contact-section.asa-philosophy,
.asa-layout__pane--center:has(.asa-contact-section.asa-philosophy) {
    background: var(--asa-color-contact-bg);
}

.asa-contact-section.asa-philosophy .asa-guide-info__number {
    margin-top: 24px;
    padding-top: 40px;
}

/* 長文が続くため、本文だけ白帯にして読みやすくする（.asa-faqと同じ考え方） */
.asa-doc {
    width: calc(100% + var(--asa-section-inline) * 2);
    margin: 32px calc(var(--asa-section-inline) * -1) 0;
    padding: 40px var(--asa-section-inline);
    background: #fff;
}

.asa-doc__text p {
    margin: 0 0 16px;
    font-size: 0.9rem;
    line-height: 2;
}

.asa-doc__text p:last-child {
    margin-bottom: 0;
}

.asa-doc__text--center p {
    text-align: center;
}

.asa-doc__text--large p {
    font-size: 1rem;
}

.asa-doc--flush {
    padding-top: 0;
}

/* 条文の中の小見出し（「・共同利用する個人情報の項目」など） */
.asa-doc__subhead {
    margin: 24px 0 8px;
    color: var(--asa-color-accent);
    font-size: 0.9rem;
    font-weight: bold;
    line-height: 1.7;
}

/* 箇条書き。Lightningのli既定marginを打ち消して自前の間隔にする */
.asa-doc__list {
    margin: 0 0 16px;
    padding-left: 1.3em;
    font-size: 0.9rem;
    line-height: 1.9;
}

.asa-doc__list li {
    margin: 0 0 8px;
}

.asa-doc__list li:last-child {
    margin-bottom: 0;
}

/* 箱の中で目立たせたい一文 */
.asa-doc__box-strong {
    font-size: 1.05rem;
    font-weight: bold;
    line-height: 1.9;
}

/* 電話窓口など、本文から少し独立させたい情報 */
.asa-doc__box {
    margin: 16px 0;
    padding: 20px;
    background: var(--asa-color-bg-soft);
    border-radius: 12px;
    font-size: 0.9rem;
    line-height: 1.9;
}

.asa-doc__box p {
    margin: 0 0 12px;
}

.asa-doc__box p:last-child {
    margin-bottom: 0;
}

/* 窓口の対象地域など、箱の中の長い前置き */
.asa-doc__box-label {
    display: block;
    margin-bottom: 4px;
    font-size: 0.8rem;
    font-weight: bold;
}

/* 申請書PDFなどへのリンク一覧 */
.asa-doc__links {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 16px 0 0;
    padding: 0;
    list-style: none;
}

.asa-doc__links li {
    margin: 0;
}

.asa-doc__link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 18px;
    border: 1px solid var(--asa-color-border);
    border-radius: 8px;
    color: inherit;
    font-size: 0.9rem;
    font-weight: bold;
    text-decoration: none;
    transition:
        border-color 0.2s ease,
        background-color 0.2s ease;
}

.asa-doc__link:hover,
.asa-doc__link:focus {
    background: var(--asa-color-bg-soft);
    border-color: var(--asa-color-accent);
    color: inherit;
    opacity: 1;
}

.asa-doc__link-icon {
    flex: 0 0 auto;
    color: var(--asa-color-accent);
    font-size: 0.75rem;
    font-weight: normal;
}

/* 制定日・改定日などの末尾表記 */
.asa-doc__meta {
    margin: 32px 0 0;
    padding-top: 20px;
    border-top: 1px solid var(--asa-color-border);
    color: var(--asa-color-text-muted);
    font-size: 0.8rem;
    line-height: 1.9;
    text-align: right;
}

.asa-doc .asa-guide-info__number {
    margin-top: 32px;
    padding-top: 32px;
}

.asa-doc .asa-guide-info__number:first-child {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

/* 蛍光ペン風のマーカー。下寄りに引くため背景グラデーションで描く */
.asa-doc__marker {
    background: linear-gradient(transparent 58%, #fbf07d 58%);
}

/* 「※〜の場合があります」のような小さな補足 */
.asa-note-text {
    margin: 20px 0 0;
    color: var(--asa-color-text-muted);
    font-size: 0.8rem;
    line-height: 1.8;
}

/* 中央寄せにしたい場合に併記する */
.asa-note-text--center {
    text-align: center;
}

.asa-note-text--alert {
    padding: 12px 14px;
    border: 1px solid var(--asa-color-required);
    border-radius: 8px;
    color: var(--asa-color-required);
    text-align: center;
}

/* 申し込み締切。ページの中で一番目立たせたい */
.asa-deadline {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    margin: 24px 0;
    padding: 18px 16px;
    border: 3px solid var(--asa-color-required);
    border-radius: 12px;
    background: #fff;
    text-align: center;
}

.asa-deadline__label {
    display: inline-block;
    padding: 4px 16px;
    border-radius: 999px;
    background: var(--asa-color-required);
    color: #fff;
    font-size: 0.9rem;
    font-weight: bold;
}

.asa-deadline__date {
    color: var(--asa-color-required);
    font-size: 2.2rem;
    font-weight: bold;
    line-height: 1.3;
}

.asa-deadline__day {
    font-size: 1.4rem;
}

@media (max-width: 480px) {
    .asa-deadline__date {
        font-size: 1.8rem;
    }

    .asa-deadline__day {
        font-size: 1.2rem;
    }
}

/* カードの内側余白・角丸（背景と枠線は冒頭の共通パーツ側） */
.asa-infocard {
    padding: 24px 20px;
    border-radius: 12px;
}

.asa-alert-heading {
    margin: 0 0 24px;
    padding: 0;
    border: none;
    font-weight: bold;
    line-height: 1.35;
    text-align: center;
}

.asa-alert-heading__sub,
.asa-alert-heading__main {
    display: block;
}

.asa-alert-heading__sub {
    font-size: 2.1rem;
}

.asa-alert-heading__main {
    font-size: 2.7rem;
}

@media (min-width: 992px) and (max-width: 1599px) {
    .asa-alert-heading__sub {
        font-size: 1.6rem;
    }

    .asa-alert-heading__main {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .asa-alert-heading__sub {
        font-size: 1.7rem;
    }

    .asa-alert-heading__main {
        font-size: 2.2rem;
    }
}

/* 見出しの上に置く塗りつぶしのピル型ラベル（「お客様へ大切なおしらせ」） */
.asa-pill-label {
    display: block;
    width: fit-content;
    max-width: 100%;
    margin: 0 auto 24px;
    padding: 10px 32px;
    background: var(--asa-color-footer-bg);
    border-radius: 999px;
    color: #fff;
    font-size: 0.95rem;
    font-weight: bold;
    text-align: center;
}

.asa-pill-label::after {
    content: none;
}

.asa-pill-label--outline {
    margin-bottom: 32px;
    padding: 12px 40px;
    background: transparent;
    border: 2px solid var(--asa-color-accent);
    color: var(--asa-color-accent);
    font-size: 1.25rem;
    line-height: 1.4;
}

.asa-section-en {
    margin: 0 0 6px;
    color: var(--asa-color-accent);
    font-family: var(--asa-font-mincho);
    font-size: 1.05rem;
    letter-spacing: 0.08em;
    text-align: center;
}

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

.asa-check-list li {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 0;
    padding: 18px 0;
    border-bottom: 1px solid var(--asa-color-border);
    font-size: 1rem;
    font-weight: bold;
    line-height: 1.8;
}

.asa-check-list li:first-child {
    border-top: 1px solid var(--asa-color-border);
}

.asa-check-list__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 32px;
    height: 32px;
    background: var(--asa-color-footer-bg);
    color: #fff;
}

.asa-check-list__icon svg {
    width: 20px;
    height: 20px;
}

/* 円形アイコン＋見出しを横に並べる一覧（「大雨／台風／大雪／地震」） */
.asa-icon-circles {
    display: flex;
    gap: 10px;
    margin: 0 0 32px;
    padding: 0;
    list-style: none;
}

.asa-icon-circles li {
    flex: 1 1 0;
    margin: 0;
    min-width: 0;
    text-align: center;
}

.asa-icon-circles__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    background: var(--asa-color-bg-soft);
    color: var(--asa-color-accent);
}

.asa-icon-circles__icon svg {
    width: 56%;
    height: 56%;
}

/* 円と中身が1枚の画像になっている場合 */
.asa-icon-circles__icon--image {
    background: none;
}

.asa-icon-circles__icon--image img {
    display: block;
    width: 100%;
    max-width: none;
    height: auto;
}

.asa-icon-circles__label {
    display: block;
    margin-top: 10px;
    font-size: 0.9rem;
    font-weight: bold;
}

.asa-slant-photos {
    position: relative;
    display: flex;
    gap: 6px;
    width: calc(100% + var(--asa-section-inline) * 2);
    margin: 0 calc(var(--asa-section-inline) * -1);
    overflow: hidden;
}

.asa-slant-photos__item {
    flex: 1 1 0;
    height: 150px;
    overflow: hidden;
    transform: skewX(-9deg);
}

.asa-slant-photos {
    margin-bottom: 24px;
}

.asa-slant-photos__item:first-child {
    margin-left: -16px;
}

.asa-slant-photos__item:last-child {
    margin-right: -16px;
}

.asa-slant-photos__item img {
    display: block;
    width: 100%;
    max-width: none;
    height: 100%;
    object-fit: cover;
    transform: skewX(9deg) scale(1.16);
}

/* 4枚が斜めの区切りごと1枚の画像になっている場合 */
.asa-slant-photos--single img {
    display: block;
    width: 100%;
    max-width: none;
    height: auto;
}

/* 写真の下端を白へ溶かす（デザイン画像どおりの見せ方） */
.asa-slant-photos::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 45%;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #fff);
    pointer-events: none;
}

.asa-holiday-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin: 0 0 12px;
    padding: 0;
    list-style: none;
}

.asa-holiday-list li {
    margin: 0;
}

/* 「1月｜2日（金）」。月と日の間の縦線はカードいっぱいの高さにする */
.asa-holiday-card {
    display: flex;
    align-items: stretch;
    justify-content: center;
    padding: 18px 8px;
    background: #fff;
    border-radius: 10px;
}

.asa-holiday-card__month {
    display: flex;
    align-items: center;
    padding-right: 14px;
    color: var(--asa-color-accent);
    font-size: 0.9rem;
    font-weight: bold;
}

.asa-holiday-card__date {
    display: flex;
    align-items: baseline;
    padding-left: 14px;
    border-left: 1px solid var(--asa-color-accent);
    font-weight: bold;
}

.asa-holiday-card__day {
    font-size: 1.9rem;
    line-height: 1;
}

.asa-holiday-card__unit,
.asa-holiday-card__weekday {
    font-size: 0.95rem;
}

/* 紙面ビューアの案内。枠・文字ごと1枚の画像 */
.asa-holiday-viewer {
    display: block;
    width: 100%;
    max-width: none;
    height: auto;
    margin: 16px 0;
}

.asa-paper-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 0 0 32px;
    padding: 0;
    list-style: none;
}

.asa-paper-list li {
    margin: 0;
}

/* 銘柄名だけはアクセントカラーではなく本文と同じ黒にする */
.asa-infocard--paper .asa-infocard__title {
    color: inherit;
}

.asa-infocard--paper .asa-infocard__desc {
    color: #333;
    font-size: 0.9rem;
    line-height: 1.9;
}

.asa-area-search__label {
    display: block;
    margin: 20px 0 10px;
    font-size: 1.1rem;
    font-weight: bold;
}

.asa-area-search__input {
    display: block;
    border-color: var(--asa-color-accent);
    border-radius: 999px;
    font-family: inherit;
}

.asa-area-search__button {
    margin-top: 16px;
    border: none;
    font-family: inherit;
    font-size: 1.05rem;
    font-weight: bold;
    cursor: pointer;
}

/* 検索結果。JSがhidden属性を外して表示する */
.asa-area-search__result {
    margin-top: 20px;
    padding: 20px;
    background: #fff;
    border-radius: 12px;
    font-size: 0.9rem;
    line-height: 1.9;
}

.asa-area-search__result-name {
    display: block;
    margin-bottom: 8px;
    color: var(--asa-color-accent);
    font-size: 1.2rem;
    font-weight: bold;
}

.asa-area-search__result-miss {
    color: var(--asa-color-required);
    font-weight: bold;
}

/* 一覧全体への注意書き（取扱銘柄はエリアによって異なる旨） */
.asa-area-note {
    margin: 0 0 8px;
    color: var(--asa-color-text-muted);
    font-size: 0.8rem;
    line-height: 1.8;
}

/* 販売所ごとの見出し。上下を罫線で挟む */
.asa-area-group + .asa-area-group {
    margin-top: 32px;
}

/* 他ページから #milk-area で飛んできたとき、見出しが固定ヘッダーに隠れないように */
#milk-area {
    scroll-margin-top: calc(var(--asa-header-height, 0px) + 16px);
}

.asa-area-milk .asa-top-button-row {
    margin-top: 8px;
    text-align: center;
}

.asa-area-set + .asa-area-set {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px dashed var(--asa-color-border);
}

.asa-area-group__name {
    margin: 0;
    padding: 16px 0;
    border-top: 1px solid var(--asa-color-border);
    border-bottom: 1px solid var(--asa-color-border);
    color: var(--asa-color-accent);
    font-size: 1.4rem;
    font-weight: bold;
    text-align: center;
}

.asa-area-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin: 20px 0;
    padding: 0;
    list-style: none;
}

.asa-area-tags li {
    margin: 0;
}

.asa-area-tags__label {
    font-size: 0.9rem;
    font-weight: bold;
}

.asa-area-tag {
    display: inline-block;
    padding: 6px 16px;
    border: 1px solid #333;
    border-radius: 999px;
    font-size: 0.8rem;
}

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

.asa-area-list li {
    display: flex;
    gap: 16px;
    margin: 0;
    padding: 5px 0;
    font-size: 0.85rem;
    line-height: 1.7;
}

.asa-area-list__code {
    flex: 0 0 auto;
}

.asa-career-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.asa-career-list li {
    position: relative;
    margin: 0;
}

.asa-career__row {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 12px 0;
}

.asa-career__thumb {
    flex: 0 0 40%;
    max-width: 200px;
    aspect-ratio: 4 / 3;
}

.asa-career__thumb img {
    display: block;
    width: 100%;
    max-width: none;
    height: 100%;
    object-fit: cover;
}

/* 切り取る位置を右へ寄せる（被写体が右にいる写真用） */
.asa-career__thumb--right img {
    object-position: right center;
}

.asa-career__thumb--right-soft img {
    object-position: 70% center;
}

.asa-career__body {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
}

.asa-career__title {
    color: var(--asa-color-accent);
    font-size: 1.25rem;
    font-weight: bold;
}

.asa-career__desc {
    font-size: 0.95rem;
    line-height: 1.6;
}

.asa-career-list li.is-closed .asa-career__row {
    filter: grayscale(1);
}

.asa-career-list li.is-closed::after {
    content: "現在募集は行っていません";
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 16px;
    background: rgba(140, 140, 140, 0.68);
    color: #fff;
    font-size: 1.15rem;
    font-weight: bold;
    line-height: 1.5;
    text-align: center;
}

.asa-product-group {
    margin-top: 56px;

    /* 右ペインのメニューから飛んできたとき、固定ヘッダーに隠れないように */
    scroll-margin-top: calc(var(--asa-header-height, 0px) + 16px);
}

.asa-product-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 36px 16px;
    margin: 0 0 28px;
    padding: 0;
    list-style: none;
}

.asa-product-list li {
    display: flex;
    flex-direction: column;
    margin: 0;
    min-width: 0;
}

.asa-product__image {
    display: block;
    width: 100%;
    max-width: none;
    height: 170px;
    margin: 0 auto 14px;
    object-fit: contain;
}

.asa-product__name {
    margin: 0 0 10px;
    font-size: 1.05rem;
    font-weight: bold;
    line-height: 1.45;
    text-align: center;
}

.asa-product__desc {
    margin: 0;
    font-size: 0.85rem;
    line-height: 1.8;
}

.asa-product__spec {
    margin: 2px 0 0;
    padding-left: 0.8em;
    font-size: 0.8rem;
    line-height: 1.7;
}

.asa-product__spec span {
    display: block;
}

.asa-product__price {
    margin: auto 0 0;
    padding-top: 10px;
    color: var(--asa-color-accent);
    font-size: 0.95rem;
    font-weight: bold;
    text-align: center;
}

/* 「（仮）」。正式な価格が入ったら出力ごと消える（PHP側で分岐） */
.asa-product__price-note {
    color: var(--asa-color-required);
    font-size: 0.75rem;
    font-weight: normal;
}

/* 数量欄と「カートに入れる」。狭い列なので縦に積む */
.asa-product__order {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
}

.asa-qty {
    display: flex;
    align-items: stretch;
    width: 100%;
    max-width: 168px;
    background: #fff;
    border: 1px solid var(--asa-color-border);
    border-radius: 6px;
    overflow: hidden;
}

.asa-qty__button,
.asa-qty__input {
    flex: 1 1 0;
    min-width: 0;
}

.asa-qty__button,
.asa-qty__button:hover,
.asa-qty__button:focus,
.asa-qty__button:active {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    margin: 0;
    padding: 0;
    background: var(--asa-color-bg-soft);
    border: none;
    border-radius: 0;
    color: var(--asa-color-accent);
    font-size: 1.15rem;
    font-weight: bold;
    line-height: 1;
    cursor: pointer;
}

.asa-qty .asa-qty__input {
    align-self: stretch;
    box-sizing: border-box;
    height: auto;
    min-height: 44px;
    margin: 0;
    padding: 0 2px;
    border: none;
    border-left: 1px solid var(--asa-color-border);
    border-right: 1px solid var(--asa-color-border);
    border-radius: 0;
    background: #fff;
    box-shadow: none;
    font-family: inherit;
    font-size: 1rem;
    font-weight: bold;
    line-height: 1;
    text-align: center;
}

/* カートの行の中に置く小さい版。ここだけ幅を固定する */
.asa-qty--sm {
    flex: 0 0 auto;
    width: 126px;
    max-width: none;
}

.asa-qty--sm .asa-qty__button {
    min-height: 38px;
    font-size: 1rem;
}

.asa-qty.asa-qty--sm .asa-qty__input {
    min-height: 38px;
    font-size: 0.9rem;
}

/* 「カートに入れる」「追加する」の共通の見た目 */
.asa-product__add,
.asa-cart__add-button,
.asa-product__add:hover,
.asa-product__add:focus,
.asa-cart__add-button:hover,
.asa-cart__add-button:focus {
    padding: 9px 18px;
    background: var(--asa-color-accent);
    border: none;
    border-radius: 999px;
    color: #fff;
    font-family: inherit;
    font-size: 0.85rem;
    font-weight: bold;
    line-height: 1.4;
    white-space: nowrap;
    cursor: pointer;
}

.asa-product__add {
    width: 100%;
}

.asa-product__add.is-added,
.asa-product__add.is-added:hover {
    background: var(--asa-color-business-mobile);
}

.asa-cart-fab {
    position: fixed;
    top: calc(var(--asa-header-height, 0px) + 12px);
    right: 20px;
    z-index: 1150;

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

    width: 54px;
    height: 54px;

    border-radius: 50%;
    background-color: var(--asa-color-accent);
    color: #fff;
    text-decoration: none;

    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;

    box-shadow:
        0 8px 20px rgba(16, 107, 189, 0.28),
        0 3px 7px rgba(0, 0, 0, 0.16);

    -webkit-tap-highlight-color: transparent;

    transition:
        opacity 0.25s ease,
        transform 0.25s ease,
        top 0.25s ease;
}

.asa-cart-fab.is-visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

/* ヘッダーが画面から出ている間は上へ詰める（milk-cart.jsが付け外し） */
.asa-cart-fab.is-stuck {
    top: 12px;
}

.asa-cart-fab:link,
.asa-cart-fab:visited,
.asa-cart-fab:hover,
.asa-cart-fab:focus,
.asa-cart-fab:active {
    color: #fff;
    text-decoration: none;
}

.material-symbols-rounded.asa-cart-fab__icon {
    color: inherit;
    font-size: 26px;
    line-height: 1;
    font-variation-settings: "FILL" 1, "wght" 500, "GRAD" 0, "opsz" 24;
}

/* 点数のバッジ。右上に少しはみ出して重ねる */
.asa-cart-fab__count {
    position: absolute;
    top: -4px;
    right: -4px;

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

    min-width: 24px;
    height: 24px;
    padding: 0 6px;

    border: 2px solid #fff;
    border-radius: 999px;
    background-color: var(--asa-color-required);
    color: #fff;
    font-size: 0.75rem;
    font-weight: bold;
    line-height: 1;
}

@media (min-width: 992px) {
    .asa-cart-fab {
        right: calc((100% - var(--asa-content-width)) / 2 + 16px);
    }
}

@media (max-width: 991px) {
    .asa-cart-fab {
        right: 14px;
        width: 48px;
        height: 48px;
    }

    .material-symbols-rounded.asa-cart-fab__icon {
        font-size: 24px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .asa-cart-fab {
        transition: none;
    }
}

.asa-cart {
    margin-bottom: 40px;
    padding: 24px 20px;
    background: #fff;
    border: 1px solid var(--asa-color-border);
    border-radius: 12px;
}

.asa-cart__title {
    margin: 0 0 16px;
    font-size: 1.15rem;
    font-weight: bold;
    text-align: center;
}

.asa-cart__empty {
    margin: 0;
    color: var(--asa-color-text-muted);
    font-size: 0.85rem;
    line-height: 1.8;
    text-align: center;
}

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

.asa-cart-item {
    margin: 0;
    padding: 14px 0;
    border-bottom: 1px solid var(--asa-color-border);
}

.asa-cart-item:first-child {
    border-top: 1px solid var(--asa-color-border);
}

.asa-cart-item__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.asa-cart-item__name {
    font-size: 0.9rem;
    font-weight: bold;
    line-height: 1.5;
}

/* 削除（ゴミ箱アイコン）。指で押せる大きさを確保する */
.asa-cart-item__remove,
.asa-cart-item__remove:hover,
.asa-cart-item__remove:focus,
.asa-cart-item__remove:active {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 34px;
    height: 34px;
    padding: 0;
    background: none;
    border: none;
    border-radius: 50%;
    color: var(--asa-color-text-muted);
    cursor: pointer;
}

.asa-cart-item__remove:hover,
.asa-cart-item__remove:focus-visible {
    background: var(--asa-color-bg-soft);
    color: var(--asa-color-required);
}

.material-symbols-rounded.asa-cart-item__remove-icon {
    color: inherit;
    font-size: 22px;
    line-height: 1;
    font-variation-settings: "FILL" 0, "wght" 500, "GRAD" 0, "opsz" 24;
}

.asa-cart-item__foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 10px;
}

.asa-cart-item__price {
    font-size: 0.9rem;
    font-weight: bold;
}

.asa-cart__total {
    margin: 16px 0 0;
    font-size: 1rem;
    font-weight: bold;
    text-align: right;
}

.asa-cart__actions {
    margin-top: 12px;
    text-align: right;
}

.asa-cart__clear,
.asa-cart__clear:hover,
.asa-cart__clear:focus {
    padding: 8px 16px;
    background: #fff;
    border: 1px solid var(--asa-color-input-border);
    border-radius: 999px;
    color: var(--asa-color-text-muted);
    font-family: inherit;
    font-size: 0.8rem;
    cursor: pointer;
}

/* 商品ラインナップまで戻らなくても足せるようにするための追加欄 */
.asa-cart__add {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px dashed var(--asa-color-border);
}

.asa-cart__add-label {
    margin: 0 0 10px;
    font-size: 0.9rem;
    font-weight: bold;
}

.asa-cart__select {
    width: 100%;
    max-width: 100%;
    padding: 12px 14px;
    background: #fff;
    border: 1px solid var(--asa-color-input-border);
    border-radius: 6px;
    font-family: inherit;
    font-size: 0.85rem;
}

.asa-cart__add-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 12px;
}

.asa-form input[type="submit"]:disabled,
.asa-contact-section .asa-form input[type="submit"]:disabled:hover {
    opacity: 0.45;
    filter: none;
    cursor: not-allowed;
}

.asa-form__field--hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
}

.asa-top-contact {
    background: var(--asa-color-contact-bg);
    text-align: center;
}

.asa-top-contact__title {
    margin: 0 0 8px;
    padding: 0;
    border: none;
    font-size: 1.8rem;
    font-weight: bold;
}

.asa-top-contact__lead {
    margin: 0 0 24px;
    font-size: 0.8rem;
}

/* 英字・ASAマーク・店名が1枚になったロゴ */
.asa-top-contact__logo-image {
    display: block;
    width: 84%;
    max-width: 360px;
    height: auto;
    margin: 0 auto 20px;
}

.asa-top-contact__phone {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 10px;
    color: var(--asa-color-accent);
    font-size: 2.6rem;
    font-weight: bold;
    letter-spacing: 0.01em;
    text-decoration: none;
    white-space: nowrap;
}

.material-symbols-rounded.asa-top-contact__phone-icon {
    font-size: 48px;
    font-variation-settings: "FILL" 1, "wght" 600, "GRAD" 0, "opsz" 48;
}

@media (min-width: 992px) {
    .asa-top-contact__phone {
        pointer-events: none;
    }
}

.asa-top-contact__hours {
    margin: 0 0 20px;
    font-size: 1.1rem;
    font-weight: bold;
}

/* 「※3営業日以内に返信いたします」の吹き出し */
.asa-top-contact__notice {
    position: relative;
    display: inline-block;
    margin: 0 0 24px;
    padding: 12px 24px;
    border: 1px solid var(--asa-color-accent);
    border-radius: 12px;
    color: var(--asa-color-accent);
    font-size: 1.1rem;
}

.asa-top-contact__notice::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -7px;
    width: 14px;
    height: 14px;
    background: var(--asa-color-contact-bg);
    border-right: 1px solid var(--asa-color-accent);
    border-bottom: 1px solid var(--asa-color-accent);
    transform: translateX(-50%) rotate(45deg);
}

.asa-top-contact__action {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-bottom: 32px;
}

.asa-top-contact__action .asa-top-button {
    margin-top: 0;
    width: 320px;
    max-width: 100%;
    padding: 12px 56px;
    background: var(--asa-color-accent);
    font-size: 1.15rem;
}

.asa-top-contact__action .asa-top-button.asa-top-contact__line-button {
    position: relative;
    justify-content: center;
    padding: 8px 56px;
    background: #fff;
    box-shadow: inset 0 0 0 2px var(--asa-color-line);
    color: var(--asa-color-line);
}

.asa-top-contact__line-mark {
    position: absolute;
    top: 50%;
    right: calc(100% + 10px);
    width: 36px;
    height: 36px;
    max-width: none;
    object-fit: contain;
    transform: translateY(-50%);
}

.asa-top-contact__line-text {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 0;
}

.asa-top-contact__line-sub {
    font-size: 0.8rem;
    line-height: 1.3;
    white-space: nowrap;
}

.asa-top-contact__line-main {
    font-size: 1.35rem;
    font-weight: bold;
    line-height: 1.25;
    white-space: nowrap;
}

.asa-top-contact__map {
    margin: 0 0 28px;
}

/* 地図は横幅と同じ高さ（1:1）で表示する */
.asa-top-contact__map-frame {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    border: 0;
}

/* 会社情報（名称・所在地・電話番号など） */
.asa-top-contact__info {
    margin: 0;
    text-align: left;
}

.asa-top-contact__info-row {
    display: flex;
    gap: 16px;
    padding: 14px 4px;
    border-bottom: 1px solid var(--asa-color-border);
    font-size: 0.8rem;
}

.asa-top-contact__info-row:first-child {
    border-top: 1px solid var(--asa-color-border);
}

.asa-top-contact__info-row dt {
    flex: 0 0 72px;
    margin: 0;
    color: var(--asa-color-text-muted);
    font-weight: normal;
}

.asa-top-contact__info-row dd {
    margin: 0;
    line-height: 1.8;
}

.asa-top-contact__map-link {
    color: var(--asa-color-accent);
    text-decoration: underline;
}

/* ============================================================
   お問い合わせフォームページ
   ============================================================ */

.asa-contact-section {
    --asa-section-inline: var(--asa-contact-section-inline);
    padding: 32px var(--asa-section-inline) 48px;
    background: var(--asa-color-form-bg);
}

/* .asa-form-heroがある場合は、写真をパンくずの直下まで詰める */
.asa-contact-section:has(.asa-form-hero) {
    padding-top: 0;
}

.asa-contact-section:has(.asa-top-contact) {
    padding-bottom: 0;
}

.asa-contact-section .asa-top-contact {
    width: calc(100% + var(--asa-contact-section-inline) * 2);
    margin: 0 calc(var(--asa-contact-section-inline) * -1);
}

.asa-form-hero {
    position: relative;
}

.asa-form-hero__media {
    position: relative;
    width: calc(100% + var(--asa-section-inline) * 2);
    margin: 0 calc(var(--asa-section-inline) * -1);
    overflow: hidden;
}

.asa-form-hero__image {
    display: block;
    width: 100%;
    height: auto;
}

/* タイトル・点線・リード文をまとめて写真の左上に重ねる */
.asa-form-hero__copy {
    position: absolute;
    top: 24px;
    left: 24px;
    right: 24px;
}

.asa-form-hero__title {
    position: relative;
    margin: 0 0 10px;
    padding: 0 0 12px;
    color: #fff;
    font-size: 2rem;
    font-weight: bold;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.55);
}

/* タイトル直下の点線（デザイン画像の飾り線） */
.asa-form-hero__title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 60%;
    border-bottom: 2px dotted #fff;
}

.asa-form-hero__lead {
    margin: 0;
    color: #fff;
    font-size: 1.1rem;
    font-weight: bold;
    line-height: 1.8;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.55);
}

.asa-form-hero__notice {
    width: calc(100% + var(--asa-section-inline) * 2);
    margin: 0 calc(var(--asa-section-inline) * -1);
    padding: 24px 16px;
    background: #fff;
    text-align: center;
}

.asa-form-hero__notice p {
    position: relative;
    display: inline-block;
    margin: 0;
    padding: 0 28px;
    color: #333;
    font-size: 0.9rem;
    font-weight: bold;
    line-height: 1.9;
}

.asa-form-hero__notice + *:not(.asc-cf7-multistep) {
    margin-top: 40px;
}

.asa-form-hero__notice p::before,
.asa-form-hero__notice p::after {
    content: "";
    position: absolute;
    top: 22%;
    width: 2px;
    height: 56%;
    background: var(--asa-color-footer-bg);
}

.asa-form-hero__notice p::before {
    left: 8px;
    transform: rotate(-18deg);
}

.asa-form-hero__notice p::after {
    right: 8px;
    transform: rotate(18deg);
}

.asa-contact-header {
    text-align: center;
}

.asa-contact-header__title {
    margin: 0 0 8px;
    padding: 0;
    border: none;
    font-size: 1.5rem;
    font-weight: bold;
    line-height: 1.45;
}

.asa-contact-header__english {
    margin: 0 0 28px;
    color: #9a948c;
    font-size: 0.9rem;
    letter-spacing: 0.18em;
}

.asa-contact-header__icon {
    display: block;
    width: 56px;
    height: 56px;
    margin: 0 auto 24px;
    object-fit: contain;
}

.asa-contact-header__description p {
    margin: 0 0 20px;
    font-size: 0.9rem;
    line-height: 1.9;
}

.asa-contact-header__description p:last-child {
    margin-bottom: 0;
}

.asa-form {
    margin-top: 40px;
}

.asa-form__heading {
    margin: 0 0 16px;
    padding: 0;
    border: none;
    font-size: 1.8rem;
    font-weight: bold;
    text-align: center;
}

.asa-form__lead {
    margin: 0 0 24px;
    font-size: 0.9rem;
    line-height: 1.9;
    text-align: center;
}

.asa-form__field {
    margin-bottom: 20px;
}

.asa-form input[type="text"],
.asa-form input[type="tel"],
.asa-form input[type="email"],
.asa-form input[type="number"],
.asa-form textarea,
.asa-area-search__input {
    width: 100%;
    padding: 14px 16px;
    background: #fff;
    border: 1px solid var(--asa-color-input-border);
    border-radius: 6px;
    font-size: 1rem;
}

.asa-form input::placeholder,
.asa-form textarea::placeholder,
.asa-area-search__input::placeholder {
    color: #b3ada4;
}

.asa-form input:focus,
.asa-form textarea:focus,
.asa-area-search__input:focus {
    outline: none;
    border-color: var(--asa-color-form-accent);
}

.asa-form input.wpcf7-not-valid,
.asa-form textarea.wpcf7-not-valid,
.asa-form select.wpcf7-not-valid {
    border-color: var(--asa-color-required);
}

.asa-form .wpcf7-not-valid-tip {
    display: block;
    margin-top: 6px;
    color: var(--asa-color-required);
    font-size: 0.7rem;
    font-weight: bold;
}

.asa-form__date-select {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.asa-form__date-select select {
    min-width: 88px;
    padding: 12px 18px;
    background: #fff;
    border: 1px solid var(--asa-color-input-border);
    border-radius: 6px;
    font-size: 1rem;
}

.asa-form__date-select-unit {
    margin-right: 4px;
    font-size: 0.9rem;
}

.asa-form__input--postal,
.asa-form__input--address {
    display: block;
    max-width: 200px;
}

/* 自動入力される住所欄は編集不可の見た目にする */
.asa-form__input--address {
    background: #f2efeb;
}

/* 「全角カタカナ」「半角数字」などの小さな注記 */
.asa-form__hint {
    margin: 0 0 4px;
    color: var(--asa-color-text-muted);
    font-size: 0.7rem;
    text-align: right;
}

/* 「お届け先の住所」などの見出し */
.asa-form__label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    font-size: 1rem;
    font-weight: bold;
}

.asa-form__label--with-hint {
    justify-content: space-between;
}

.asa-form__label-text {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.asa-form__label--with-hint .asa-form__hint {
    margin: 0;
    font-weight: normal;
    white-space: nowrap;
}

.asa-form__required {
    display: inline-block;
    padding: 2px 8px;
    background: var(--asa-color-required);
    border-radius: 3px;
    color: #fff;
    font-size: 0.65rem;
    font-weight: bold;
    line-height: 1.6;
}

/* 「必須」バッジと対になる「任意」バッジ（留守止めフォーム等） */
.asa-form__required-opt {
    display: inline-block;
    padding: 2px 8px;
    background: var(--asa-color-text-muted);
    border-radius: 3px;
    color: #fff;
    font-size: 0.65rem;
    font-weight: bold;
    line-height: 1.6;
}

.asa-form__note {
    margin: 8px 0 0;
    color: var(--asa-color-text-muted);
    font-size: 0.7rem;
    line-height: 1.7;
}

.asa-form__note--positive {
    color: #1a7a3a;
    font-weight: bold;
}

.asa-form__note--warning {
    color: var(--asa-color-required);
    font-weight: bold;
}

.asa-form__privacy {
    margin-top: 36px;
    text-align: center;
}

.asa-form__privacy-link {
    margin: 0 0 12px;
    font-size: 1rem;
    font-weight: bold;
}

.asa-form__privacy-link a {
    color: inherit;
    text-decoration: underline;
}

.asa-form__privacy-note {
    margin: 0;
    color: var(--asa-color-text-muted);
    font-size: 0.7rem;
}

.asa-form input[type="submit"],
.asa-form__submit {
    display: block;
    width: fit-content;
    margin: 24px auto 0;
    padding: 14px 32px;
    background: var(--asa-color-footer-bg);
    border: none;
    border-radius: 999px;
    color: #fff;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
}

.asa-contact-section .asa-form input[type="submit"]:hover,
.asa-contact-section .asa-form input[type="submit"]:focus,
.asa-contact-section .asa-form input[type="submit"]:active {
    background: var(--asa-color-footer-bg);
    filter: brightness(0.9);
    border: none;
    color: #fff;
    opacity: 1;
}

.asa-form__radio .wpcf7-form-control-wrap,
.asa-form__radio .wpcf7-radio,
.asa-form__radio .wpcf7-list-item {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
}

/* 選択肢一覧の上端に区切り線（各行の下線と合わせて、全行が罫線で囲まれる） */
.asa-form__radio .wpcf7-radio {
    border-top: 1px solid var(--asa-color-input-border);
}

.asa-form__radio .wpcf7-list-item > label {
    display: flex;
    align-items: center;
    gap: 16px;
    width: 100%;
    min-height: 56px;
    margin: 0;
    padding: 8px 4px;
    border-bottom: 1px solid var(--asa-color-input-border);
    background-color: transparent;
    cursor: pointer;
    transition: background-color 0.16s ease;
}

.asa-form__radio .wpcf7-list-item > label:hover {
    background-color: var(--asa-color-bg-soft);
}

/* ラジオボタン本体：ネイティブ外観を消し、外周リング＋白抜き中央の独自スタイルにする */
.asa-form__radio input[type="radio"] {
    flex: 0 0 auto;
    width: 26px;
    height: 26px;
    margin: 0;
    padding: 0;
    border: 2px solid var(--asa-color-input-border);
    border-radius: 50%;
    background-color: #fff;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    transition:
        border-color 0.16s ease,
        box-shadow 0.16s ease;
}

.asa-form__radio input[type="radio"]:checked {
    border-color: var(--asa-color-accent);
    background-color: var(--asa-color-accent);
    /* 外周をアクセントカラー、中央を白抜きにする */
    box-shadow: inset 0 0 0 5px #fff;
}

.asa-form__radio input[type="radio"]:focus-visible {
    outline: 3px solid rgba(176, 141, 87, 0.25);
    outline-offset: 2px;
}

.asa-form__radio .wpcf7-list-item-label {
    display: block;
    min-width: 0;
    color: #333;
    font-size: 1.1rem;
    font-weight: bold;
    line-height: 1.3;
    text-align: left;
}

.asa-form__check .wpcf7-checkbox {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.asa-form__check .wpcf7-list-item {
    display: inline-flex;
    align-items: center;
    margin: 0 24px 8px 0;
}

.asa-form__check .wpcf7-list-item > label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.asa-form__check input[type="checkbox"] {
    flex: 0 0 auto;
    width: 24px;
    height: 24px;
    margin: 0;
    padding: 0;
    border: 2px solid var(--asa-color-input-border);
    border-radius: 50%;
    background-color: #fff;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    transition:
        border-color 0.16s ease,
        box-shadow 0.16s ease;
}

.asa-form__check input[type="checkbox"]:checked {
    border-color: var(--asa-color-accent);
    background-color: var(--asa-color-accent);
    box-shadow: inset 0 0 0 5px #fff;
}

.asa-form__check input[type="checkbox"]:focus-visible {
    outline: 3px solid rgba(176, 141, 87, 0.25);
    outline-offset: 2px;
}

/* 「その他」の自由記入欄はチェックボックス一覧と少し間隔を空ける */
#asa-hold-other-brand {
    margin-top: 12px;
}

#asa-hold-other-brand:disabled {
    background-color: #f2efeb;
    color: var(--asa-color-text-muted);
    cursor: not-allowed;
}

/* 選ばれるまで入力できない欄（conditional-required.js） */
.asa-form [data-required-when] input:disabled,
.asa-form [data-required-when] textarea:disabled,
.asa-form [data-required-when] select:disabled {
    background-color: #f2efeb;
    color: var(--asa-color-text-muted);
    cursor: not-allowed;
}

.asa-form__check input[type="checkbox"]:disabled {
    cursor: not-allowed;
}

.asa-form__check input[type="checkbox"]:disabled + span,
.asa-form__check label:has(input[type="checkbox"]:disabled) {
    color: var(--asa-color-text-muted);
    opacity: 0.55;
}

/* 複数選択でも一覧を行型にする（.asa-form__radioと同じ見た目） */
.asa-form__check--rows,
.asa-form__check--rows .wpcf7-list-item {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
}

.asa-form__check--rows .wpcf7-list-item > label {
    display: flex;
    align-items: center;
    gap: 16px;
    width: 100%;
    min-height: 56px;
    margin: 0;
    padding: 8px 4px;
    border-bottom: 1px solid var(--asa-color-input-border);
    background-color: transparent;
    cursor: pointer;
    transition: background-color 0.16s ease;
}

.asa-form__check--rows .wpcf7-list-item > label:hover {
    background-color: var(--asa-color-bg-soft);
}

.asa-form__check--rows input[type="checkbox"] {
    width: 26px;
    height: 26px;
}

.asa-form__check--rows .wpcf7-list-item-label {
    display: block;
    min-width: 0;
    color: #333;
    font-size: 1.1rem;
    font-weight: bold;
    line-height: 1.3;
    text-align: left;
}

/* 案内配信のチェックボックス */
.asa-form__newsletter {
    margin-top: 0;
    font-size: 0.75rem;
}

.asa-form__newsletter .wpcf7-list-item {
    margin: 0;
}

.asa-form__newsletter input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-right: 8px;
    accent-color: #433f3a;
    vertical-align: middle;
}

/* このセクションだけ白背景を幅いっぱいに敷く */
.asa-faq {
    width: calc(100% + var(--asa-section-inline) * 2);
    margin: 48px calc(var(--asa-section-inline) * -1) 0;
    padding: 64px var(--asa-section-inline);
    background: #fff;
}

/* 各Q&Aは独立した角丸カードとして隙間を空けて並べる */
.asa-faq__list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.asa-faq__item {
    border-radius: 12px;
    overflow: hidden;
}

.asa-faq__question {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
    padding: 16px 18px;
    font-size: 1.05rem;
    font-weight: bold;
    line-height: 1.6;
    cursor: pointer;
}

/* Q：塗りつぶしの円形バッジ。明朝体はデザイン画像どおりの仕様 */
.asa-faq__badge {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 44px;
    height: 44px;
    background: var(--asa-color-footer-bg);
    border-radius: 50%;
    color: #fff;
    font-family: var(--asa-font-mincho);
    font-size: 1.4rem;
    font-weight: bold;
    font-style: normal;
}

.asa-faq__question-text {
    flex: 1 1 auto;
}

.asa-faq__chevron {
    flex: 0 0 auto;
    color: var(--asa-color-footer-bg);
    font-size: 0.9rem;
    font-weight: 900;
    -webkit-text-stroke: 0.6px currentColor;
    transform: rotate(90deg);
    transition: transform 0.2s ease;
}

.asa-faq__item.is-closed .asa-faq__chevron {
    transform: rotate(0deg);
}

.asa-faq__answer-wrap {
    display: grid;
    grid-template-rows: 1fr;
    transition: grid-template-rows 0.25s ease;
}

.asa-faq__item.is-closed .asa-faq__answer-wrap {
    grid-template-rows: 0fr;
}

.asa-faq__answer {
    min-height: 0;
    margin: 0;
    padding: 14px 18px 18px;
    border-top: 1px solid var(--asa-color-border);
    color: #333;
    font-size: 0.95rem;
    line-height: 1.8;
    overflow: hidden;
    transition:
        padding 0.25s ease,
        border-color 0.25s ease;
}

.asa-faq__item.is-closed .asa-faq__answer {
    padding-top: 0;
    padding-bottom: 0;
    border-top-color: transparent;
}

.asa-faq__answer.asa-philosophy__pledge-answer {
    padding: 0 24px 24px;
    border-top: none;
    font-size: 0.85rem;
}

.asc-cf7-page-transition {
    position: fixed;
    inset: 0;
    z-index: 1100;

    background: #fff;

    opacity: 0;
    pointer-events: none;

    transition: opacity 0.2s ease;
}

.asc-cf7-page-transition.is-active {
    opacity: 1;
    pointer-events: auto;
}

.asc-cf7-page-transition::after {
    content: "";

    position: absolute;
    top: 50%;
    left: 50%;

    width: 44px;
    height: 44px;
    margin: -22px 0 0 -22px;

    border: 3px solid var(--asa-color-border);
    border-top-color: var(--asa-color-accent);
    border-radius: 50%;

    animation: asa-spin 0.8s linear infinite;
}

@keyframes asa-spin {
    to {
        transform: rotate(360deg);
    }
}

@media (prefers-reduced-motion: reduce) {
    .asc-cf7-page-transition::after {
        animation: none;
    }
}

.asa-contact-section .asc-cf7-confirm-title,
.asa-contact-section .asc-cf7-complete-title {
    position: relative;
    margin: 40px 0 28px;
    padding: 0 0 16px;
    border: none;
    background: none;
    font-size: 1.5rem;
    font-weight: bold;
    line-height: 1.45;
    text-align: center;
}

.asa-contact-section .asc-cf7-confirm-title::after,
.asa-contact-section .asc-cf7-complete-title::after {
    content: "";

    position: absolute;
    left: 50%;
    right: auto;
    bottom: 0;

    width: 75px;
    height: 6px;

    border: none;
    background-image: radial-gradient(circle, var(--asa-color-accent) 3px, transparent 3px);
    background-size: 15px 6px;
    background-repeat: repeat-x;

    line-height: normal;
    overflow: visible;
    transform: translateX(-50%);
}

.asa-contact-section .asc-cf7-confirm-row {
    border-bottom: 1px solid var(--asa-color-input-border);
}

.asa-contact-section .asc-cf7-confirm-line {
    display: block;
    padding-left: 1em;
    text-indent: -1em;
}

/* 値が空の行（区切りの空行）もそのぶんの高さを残す */
.asa-contact-section .asc-cf7-confirm-line:empty {
    min-height: 0.6em;
}

.asa-contact-section .asc-cf7-confirm-row[data-field="order_items"] {
    display: block;
}

.asa-contact-section .asc-cf7-confirm-row[data-field="order_items"] dt {
    margin-bottom: 10px;
    font-weight: bold;
}

.asa-contact-section .asc-cf7-confirm-row[data-field="order_items"] .asc-cf7-confirm-value {
    padding: 14px 16px;
    background: var(--asa-color-bg-soft);
    border-radius: 8px;
    font-size: 0.9rem;
    line-height: 1.9;
}

.asa-contact-section .asc-cf7-confirm-row[data-field="order_items"] .asc-cf7-confirm-line:last-child {
    margin-top: 10px;
    padding-top: 10px;
    padding-left: 0;
    border-top: 1px solid var(--asa-color-border);
    font-weight: bold;
    text-indent: 0;
    text-align: right;
}

.asa-contact-section .asc-cf7-confirm-actions {
    justify-content: center;
}

/* ステップ切替時のスクロール先。固定ヘッダーに隠れないよう下げる */
.asa-contact-section,
.asa-contact-section .asc-cf7-step {
    scroll-margin-top: calc(var(--asa-header-height, 0px) + 16px);
}

/* ボタンのすぐ下にCTAが来ないよう、フォームの下に余白を置く */
.asa-contact-section .asc-cf7-multistep {
    margin-bottom: 56px;
}

.asa-contact-section .asc-cf7-back-button,
.asa-contact-section .asc-cf7-send-button,
.asa-contact-section .asc-cf7-restart-button {
    padding: 14px 32px;
    border: none;
    border-radius: 999px;
    font-family: inherit;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
}

.asa-contact-section .asc-cf7-send-button,
.asa-contact-section .asc-cf7-restart-button {
    background: var(--asa-color-form-accent);
    color: #fff;
}

.asa-contact-section .asc-cf7-send-button:hover,
.asa-contact-section .asc-cf7-send-button:focus,
.asa-contact-section .asc-cf7-restart-button:hover,
.asa-contact-section .asc-cf7-restart-button:focus {
    background: var(--asa-color-form-accent-dark);
    color: #fff;
}

/* 「修正する」は戻る操作なので、枠線だけの控えめな見た目にする */
.asa-contact-section .asc-cf7-back-button {
    background: #fff;
    border: 1px solid var(--asa-color-input-border);
    color: inherit;
}

.asa-contact-section .asc-cf7-back-button:hover,
.asa-contact-section .asc-cf7-back-button:focus {
    background: var(--asa-color-bg-soft);
    color: inherit;
}

.asa-contact-section .asc-cf7-step-complete p {
    margin: 0 0 16px;
    line-height: 1.9;
    text-align: center;
}

.asa-contact-section .asc-cf7-complete-site-name {
    font-weight: bold;
}

.asa-contact-section .asc-cf7-complete-actions {
    margin-top: 28px;
    text-align: center;
}

/* ============================================================
   リンク・ボタンのホバー
   ============================================================ */
body.asa-site-layout .asa-layout__pane--center a:hover,
body.asa-site-layout .asa-layout__pane--center a:focus {
    opacity: 0.8;
}

.asa-form__privacy-link a:hover,
.asa-form__privacy-link a:focus {
    color: inherit;
}

.asa-top-subscription__card:hover,
.asa-top-subscription__card:focus {
    color: #fff;
}

.asa-top-contact__phone:hover,
.asa-top-contact__phone:focus,
.asa-top-contact__map-link:hover,
.asa-top-contact__map-link:focus {
    color: var(--asa-color-accent);
}

.asa-top-button:hover,
.asa-top-button:focus {
    background: var(--asa-color-accent);
    color: #fff;
    opacity: 0.85;
}

.asa-top-button.asa-area-search__button:hover,
.asa-top-button.asa-area-search__button:focus {
    background: var(--asa-color-accent);
    color: #fff;
    opacity: 0.85;
}

.asa-top-button.asa-top-business__button--milk:hover,
.asa-top-button.asa-top-business__button--milk:focus {
    background: var(--asa-color-business-milk);
}

.asa-top-button.asa-top-business__button--mobile:hover,
.asa-top-button.asa-top-business__button--mobile:focus {
    background: var(--asa-color-business-mobile);
}

/* ============================================================
   フッターナビゲーション
   ============================================================ */

body.asa-site-layout .asa-footer-nav {
    padding: 12px 20px 24px;
    background: var(--asa-color-footer-nav-bg);
}

.asa-footer-menu,
.asa-footer-menu__sublist {
    margin: 0;
    padding: 0;
    list-style: none;
}

.asa-footer-menu__item {
    margin: 0;
    border-bottom: 1px solid var(--asa-color-footer-nav-border);
}

.asa-footer-menu__link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 13px 4px;
    color: var(--asa-color-footer-nav-text);
    font-size: 0.85rem;
    text-decoration: none;
}

.asa-footer-menu__link:hover,
.asa-footer-menu__link:focus {
    color: var(--asa-color-footer-nav-text);
    opacity: 0.85;
}

.asa-footer-menu__arrow {
    flex: 0 0 auto;
    font-size: 0.7rem;
    opacity: 0.9;
}

.asa-footer-menu__heading {
    display: block;
    margin: 18px 0 0;
    padding: 0 4px 6px;
    color: var(--asa-color-footer-nav-text);
    font-size: 0.85rem;
    text-decoration: none;
}

.asa-footer-menu__heading:hover,
.asa-footer-menu__heading:focus {
    color: var(--asa-color-footer-nav-text);
    opacity: 0.85;
}

/* 見出し配下のリンクは内側へ寄せる */
.asa-footer-menu__sublist .asa-footer-menu__link {
    padding-left: 18px;
}

body.asa-site-layout .site-footer-copyright {
    padding: 20px;
    font-size: 0.7rem;
    text-align: center;
}

/* ============================================================
   モバイル下部固定CTA
   ============================================================ */
.asa-mobile-cta {
    display: none;
}

.asa-mobile-cta__item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 0;
    min-height: 58px;
    padding: 8px 10px;
    border: 0;
    text-align: center;
    text-decoration: none;
}

.asa-mobile-cta__item,
.asa-mobile-cta__item:link,
.asa-mobile-cta__item:visited,
.asa-mobile-cta__item:hover,
.asa-mobile-cta__item:active,
.asa-mobile-cta__item:focus,
.asa-mobile-cta__item:focus-visible {
    text-decoration: none;
    opacity: 1;
    -webkit-tap-highlight-color: transparent;
}

.asa-mobile-cta__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 0;
}

.asa-mobile-cta__main {
    display: block;
    color: inherit;
    font-size: 0.95rem;
    font-weight: bold;
    line-height: 1.2;
    white-space: nowrap;
}

/* 英字の補足。明朝体はサイト内の他の英字ラベルと揃えている */
.asa-mobile-cta__sub {
    display: block;
    margin-top: 2px;
    color: inherit;
    font-family: var(--asa-font-mincho);
    font-size: 0.6rem;
    font-weight: bold;
    line-height: 1;
    letter-spacing: 0.05em;
    white-space: nowrap;
}

.asa-mobile-cta__item--line,
.asa-mobile-cta__item--line:link,
.asa-mobile-cta__item--line:visited,
.asa-mobile-cta__item--line:hover,
.asa-mobile-cta__item--line:active,
.asa-mobile-cta__item--line:focus,
.asa-mobile-cta__item--line:focus-visible {
    background-color: #fff;
    color: var(--asa-color-line);
}

.asa-mobile-cta__line-mark {
    display: block;
    flex: 0 0 auto;
    width: 32px;
    height: 32px;
    max-width: none;
    object-fit: contain;
}

/* 電話側。こちらはサイトのアクセントカラー */
.asa-mobile-cta__item--phone,
.asa-mobile-cta__item--phone:link,
.asa-mobile-cta__item--phone:visited,
.asa-mobile-cta__item--phone:hover,
.asa-mobile-cta__item--phone:active,
.asa-mobile-cta__item--phone:focus,
.asa-mobile-cta__item--phone:focus-visible {
    background-color: var(--asa-color-accent);
    color: #fff;
}

.material-symbols-rounded.asa-mobile-cta__phone-icon {
    flex: 0 0 auto;
    color: inherit;
    font-size: 28px;
    line-height: 1;
    font-variation-settings: "FILL" 1, "wght" 600, "GRAD" 0, "opsz" 24;
}

@media (max-width: 991px) {

    .asa-mobile-cta {
        position: fixed;
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 1200;
        display: grid;
        grid-template-columns: 40% 60%;
        width: 100%;
        padding-bottom: env(safe-area-inset-bottom, 0px);
        background-color: #fff;
        box-shadow: 0 -4px 14px rgba(0, 0, 0, 0.1);
    }

    body.asa-site-layout {
        padding-bottom: calc(58px + env(safe-area-inset-bottom, 0px));
    }

    /* LINE側と電話側の境目 */
    .asa-mobile-cta__item--line {
        border-right: 1px solid rgba(6, 199, 85, 0.2);
    }

    /* タップしたことが分かるように、押下中だけ少し沈ませる */
    .asa-mobile-cta__item--line:active {
        background-color: #f1fbf5;
    }

    .asa-mobile-cta__item--phone:active {
        filter: brightness(0.9);
    }
}

body.asa-site-layout .page_top_btn,
body.asa-site-layout #page_top {
    display: none !important;
}

/* ============================================================
   ページ先頭へ戻るボタン
   ============================================================ */
.asa-scroll-top {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 1150;

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

    width: 52px;
    height: 52px;
    margin: 0;
    padding: 0;

    border: 0;
    border-radius: 50%;
    background-color: var(--asa-color-accent);
    color: #fff;

    opacity: 0;
    transform: translateY(12px);
    pointer-events: none;

    box-shadow:
        0 8px 20px rgba(90, 67, 33, 0.24),
        0 3px 7px rgba(0, 0, 0, 0.16);

    appearance: none;
    -webkit-appearance: none;
    -webkit-tap-highlight-color: transparent;
    cursor: pointer;

    transition:
        opacity 0.25s ease,
        transform 0.25s ease,
        box-shadow 0.18s ease;
}

.asa-scroll-top:hover,
.asa-scroll-top:focus,
.asa-scroll-top:focus-visible,
.asa-scroll-top:active {
    background-color: var(--asa-color-accent);
    color: #fff;
}

.asa-scroll-top.is-visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.asa-scroll-top.is-visible:hover,
.asa-scroll-top.is-visible:focus-visible {
    box-shadow:
        0 4px 10px rgba(90, 67, 33, 0.2),
        0 2px 4px rgba(0, 0, 0, 0.13);
}

.material-symbols-rounded.asa-scroll-top__icon {
    color: inherit;
    font-size: 28px;
    line-height: 1;
    font-variation-settings: "FILL" 0, "wght" 700, "GRAD" 0, "opsz" 24;
}

@media (prefers-reduced-motion: reduce) {
    .asa-scroll-top {
        transition: none;
    }
}

@media (max-width: 991px) {
    .asa-scroll-top {
        right: 14px;
        bottom: calc(70px + env(safe-area-inset-bottom, 0px));
        width: 46px;
        height: 46px;
    }

    .material-symbols-rounded.asa-scroll-top__icon {
        font-size: 24px;
    }
}

/* ============================================================
   ページ別の配色
   ============================================================ */

body.asa-page--milk {
    --asa-color-accent: var(--asa-color-business-milk);
    --asa-color-border: #cfe0ef;
    --asa-color-bg-soft: #eef5fb;
    --asa-color-text-muted: #6b7785;

    --asa-color-footer-bg: var(--asa-color-business-milk);

    /* フッターナビは色帯ではなく、白地＋青文字 */
    --asa-color-footer-nav-bg: #fff;
    --asa-color-footer-nav-text: var(--asa-color-business-milk);
    --asa-color-footer-nav-border: #cfe0ef;

    /* CTA・フォームの背景。このページはどちらも白 */
    --asa-color-contact-bg: #fff;
    --asa-color-form-bg: #fff;

    --asa-color-form-accent: var(--asa-color-business-milk);
    --asa-color-form-accent-dark: #0d5896;
}

body.asa-page--milk .breadcrumb {
    display: none;
}

/* 右ペインのメニューもこのページだけ青にする */
body.asa-page--milk .asa-pane-menu {
    --asa-pane-menu-ink: var(--asa-color-business-milk);
    --asa-pane-menu-active: var(--asa-color-business-milk);
}