@charset "utf-8";

/* ============================================================================
   additional.css
   共通 + 「墓じまいをお考えの方へ」(hakajimai) / 「永代納骨墓のご案内」(annai) /
   「永代納骨墓空き区画状況」(kukaku) の3ページ分の追加スタイル

   [全体構成]
   1. 共通　　　　… 3ページ（またはannai/kukaku）で見た目が同じパーツをまとめた場所。
                     hakajimaiのHTMLは `.hj-` クラス、annai/kukakuのHTMLは `.mc-` クラス
                     を使っているが、中身が同じ宣言はセレクタを並べて1箇所にまとめている
                     （例: `#main .hj-hero .hj-contact-banner, #main .mc-contact-banner`）。
                     こうすることで見た目を変えたいときに1箇所を直すだけで済む。
   2. hakajimai専用 … .hj- プレフィックスのみで使う、そのページだけの見た目。
   3. annai専用     … .an- プレフィックスのみで使う、そのページだけの見た目。
   4. kukaku専用    … .kk- プレフィックスのみで使う、そのページだけの見た目。

   [重要]
   ・style.css は編集不可の既存資産のため、このファイルでは一切変更しない。
   ・style.css 側の意図しないグローバル指定（#main p の font-size:18px など）を
     引き継がないよう、当ページ内の要素は原則クラス名で指定し、明示的に
     リセット／上書きしている。
   ・#main h2 は style.css 側で「黒背景＋波模様バナー」として完成済みのため、
     このファイルでは一切触れない（3ページとも見出しバーの見た目に一致するため）。
   ・hakajimai/annai.html・annai/annai.html・annai/kukaku/annai.html の
     HTML側のクラス名は一切変更していない（`.hj-` `.an-` `.kk-` `.mc-` は
     すべてこれまで通り使える）。今回はCSS側の重複をまとめただけで、
     どのページも見た目・動作は変わらない。
   ・将来 style.css をモダンな書き方（CSS変数・rem・Grid等）に置き換える際、
     このファイルの --hj- / --mc- プレフィックス付きカスタムプロパティ群だけを
     置き換えれば配色・余白の一括調整ができるようにしてある。

   [レスポンシブ方針]
   ・既存 style.css がデスクトップファースト（max-width で絞り込む書き方）で
     統一されているため、本ファイルもそれに合わせて max-width で記述している。
   ・ブレークポイントは既存サイトの主要な切り替え幅である 1100px / 740px。

   [配色]
   ・緑は枠線・文字色すべて #009E52（--hj-green）に統一。
   ・薄い緑の背景は #F1F6EC（--hj-green-pale）のみ。
   ・紺の背景は #363B87（--hj-contact-bg）のみ（連絡先バナー／FAQ／アクセス見出し等で共用）。
   ・黄色のアクセントは #FFF485（--mc-yellow、check.svgのfill値と統一）のみ。
   ・それ以外の文字色は基本 #FFFFFF / #000000。
   ============================================================================ */


/* ============================================================================
   1. 共通（hakajimai / annai / kukaku）
   ============================================================================ */

/* ----------------------------------------------------------------------------
   1-0. カスタムプロパティ
   ※ :root ではなく #main に閉じて定義し、他ページ・他コンポーネントに
     影響しないようにしている（style.css は :root を使っていないため、
     グローバルに :root を汚さない方針）。3ページ分をここに集約。
---------------------------------------------------------------------------- */
#main {
    --hj-green: #009E52;          /* 緑：枠線・文字色などすべてこの1色に統一 */
    --hj-green-pale: #F1F6EC;     /* 薄い緑：背景色（flow-step本体／note／価格欄で共用） */
    --hj-text: #000000;           /* 本文の黒文字 */
    --hj-vertical-space: 1rem;    /* flow-stepの垂直余白（hakajimai専用） */
    --hj-horizontal-space: 1rem;  /* flow-stepの水平余白（hakajimai専用） */
    --hj-border-radius: 10px;     /* flow-stepの角丸（hakajimai専用） */
    --hj-contact-bg: #363B87;     /* 紺：連絡先バナー／FAQ／アクセス見出し等で共用 */
    --mc-yellow: #FFF485;         /* 黄：アクセス見出し・チェックアイコン（check.svgのfill値と統一） */
    --mc-navy-deep: #1C2C5B;      /* 濃紺：アクセスセクションの写真オーバーレイ用 */
    --font-noto-serif: "Noto Serif JP", serif;
}

/* ----------------------------------------------------------------------------
   1-1. ページ土台（#main h2 の直後、各ページ本文の共通の幅・余白）
   hakajimai=.hj-hero／annai=.an-hero／kukaku=.kk-hero、いずれも同じ見た目。
---------------------------------------------------------------------------- */
#main .hj-hero,
#main .an-hero,
#main .kk-hero {
    max-width: 609px;
    margin: 0 auto;
    padding: 0;
    text-align: left; /* body { text-align:center } を打ち消す */
}

#main .hj-hero,
#main .kk-hero {
    background-color: #fff;
}

@media (max-width: 1100px) {
    #main .hj-hero,
    #main .an-hero,
    #main .kk-hero {
        padding: 0 0 35px;
    }
}

/* ----------------------------------------------------------------------------
   1-2. セクション見出しピル
   （hakajimai「墓じまい（改葬）の流れについて」／annai「永代納骨墓ラインナップ」
   「よくあるご質問」で使用）
---------------------------------------------------------------------------- */
#main .hj-hero .flow > h3,
#main .mc-section-badge {
    color: var(--hj-green);
    text-align: center;
    font-size: 16px;
    font-weight: 500;
    width: fit-content;
    padding: 3px 28px;
    margin: 24px auto;
    border: 1px solid var(--hj-green);
    border-radius: 2px;
}
#main .mc-section-badge {
    width: 16rem;
    border-color: #323B94;
    color: #323B94
}

/* ----------------------------------------------------------------------------
   1-3. お問い合わせ紺バナー（寺名ロゴ＋住所）
   hakajimai=.hj-contact-banner／annai=.mc-contact-banner、いずれも同じ見た目。
   ロゴ画像のみページごとに差し替え（hakajimai: logo_contact-banner.svg／
   annai: myousyuji_logo.png）。
---------------------------------------------------------------------------- */
#main .hj-hero .hj-contact-banner,
#main .mc-contact-banner {
    margin: 32px 0 0;
    padding: 40px 20px 32px;
    background-color: var(--hj-contact-bg);
    text-align: center;
}
#main .mc-contact-banner {
    margin: 0 0 8px 0;
}

#main .hj-hero .hj-contact-banner__logo,
#main .mc-contact-banner__logo {
    display: block;
    width: 100%;
    max-width: 256px;
    height: auto;
    margin: 0 auto;
}

#main .hj-hero .hj-contact-banner__address,
#main .mc-contact-banner__address {
    margin: 24px 0 0;
    padding: 0;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.2;
    color: #fff;
}

@media (max-width: 740px) {
    #main .hj-hero .hj-contact-banner,
    #main .mc-contact-banner {
        padding: 32px 16px 28px;
    }
}

/* ----------------------------------------------------------------------------
   1-4. チェックリスト（annai「アクセス抜群の参拝環境」の4項目などで使用）
---------------------------------------------------------------------------- */
#main .mc-checklist {
    margin: 0;
    padding: 0;
    list-style: none;
}

#main .mc-checklist li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 12px;
    font-size: 22px;
    font-weight: 500;
    line-height: 1.4;
    color: var(--mc-yellow);
}

#main .mc-checklist li:last-child {
    margin-bottom: 0;
}

#main .mc-checklist li::before {
    position: relative;
    top: 5px;
    content: url("/annai/media/check.svg");
    flex: 0 0 auto;
    width: 35px;
    height: 35px;
    /*background-color: var(--mc-yellow);*/
    /*-webkit-mask: url("/annai/media/check.svg") no-repeat center / contain;*/
    /*mask: url("/annai/media/check.svg") no-repeat center / contain;*/
}

@media (max-width: 740px) {
    #main .mc-checklist li {
        font-size: 18px;
    }

    #main .mc-checklist li::before {
        width: 30px;
        height: 30px;
    }
}


/* ----------------------------------------------------------------------------
   1-5. 画像そのままのバナーリンク（空き区画状況／墓じまい／足立石材）
   ボタン文言まで画像内に焼き込み済みのため、リンクは画像を出すだけでよい。
---------------------------------------------------------------------------- */
#main .mc-banner-link {
    display: block;
    line-height: 0;
    transition: opacity .2s ease;
}

#main .mc-banner-link:hover,
#main .mc-banner-link:focus {
    opacity: .85;
}

#main .mc-banner-link img {
    display: block;
    width: 100%;
    height: auto;
    margin: 0;
}

/* ----------------------------------------------------------------------------
   1-6. バナー類の余白（足立石材バナー単体／空き区画・墓じまいの2連バナー）
---------------------------------------------------------------------------- */
#main .an-adachi-banner,
#main .kk-adachi-banner {
    margin: 0;
}

#main .an-banner-pair {
    display: flex;
    gap: 2px;
    margin: 0 0 8px;
}

#main .an-banner-pair .mc-banner-link {
    flex: 1 1 0;
}

@media (max-width: 740px) {
    #main .an-banner-pair {
        flex-direction: column;
        gap: 12px;
        margin: 0 0 12px;
    }
}

/* ----------------------------------------------------------------------------
   1-7. ページ背景テクスチャ（annai・kukaku共通。bg1.jpgの代わりにこの2ページだけ差し替え）
---------------------------------------------------------------------------- */
body.annai #contents,
body.kukaku #contents {
    background-image: url("/annai/media/haikei.jpg");
    background-size: 640px auto;
    background-repeat: repeat;
}


/* ============================================================================
   2. hakajimai（墓じまいをお考えの方へ）専用スタイル
   ============================================================================ */

/* ----------------------------------------------------------------------------
   2-1. メインビジュアル（イラスト＋キャプション）
   figure / figcaption は style.css のリセット対象外なので明示的にリセット
---------------------------------------------------------------------------- */
#main .hj-hero .hero-illustration {
    margin: 0 0 24px;
    padding: 0;
    text-align: center;
}

#main .hj-hero .hero-illustration img {
    display: block;
    margin: 0 auto;
    max-width: 324px;
    /* width:100%; height:auto; max-width:100%; は style.css の img{} で対応済み */
}

@media (max-width: 740px) {
    #main .hj-hero .hero-illustration img {
        max-width: 249px;
    }
}

#main .hj-hero .hero-illustration figcaption {
    margin: 16px 0 0;
    padding: 0;
    text-align: center;
}

#main .hj-hero .lead-points {
    display: inline-block;
    margin: 0 auto;
    padding: 0;
    text-align: left;
    list-style: none; /* ul は style.css で既に none だが明示しておく */
}

#main .hj-hero .lead-points li {
    position: relative;
    padding-left: 1.3em;
    margin-bottom: 6px;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.5;
    color: var(--hj-green);
}

#main .hj-hero .lead-points li::before {
    content: "■";
    position: absolute;
    left: 0;
    top: calc(50% - 3px);
    transform: translateY(-50%);
    font-size: 24px;
}

#main .hj-hero .lead-caption {
    margin: 4px 0 0;
    padding: 0; /* #main p の padding を打ち消す */
    font-size: 16px;
    font-weight: 500;
    color: var(--hj-text);
    text-align: center;
}

/* ----------------------------------------------------------------------------
   2-2. 流れセクション（見出しh3は「1-2. セクション見出しピル」で共通化済み）
---------------------------------------------------------------------------- */
#main .hj-hero .flow {
    margin-top: 28px;
}

/* ----------------------------------------------------------------------------
   2-3. 手順リスト（ol.flow-list）
---------------------------------------------------------------------------- */
#main .hj-hero .flow-list {
    margin: 0;
    padding: 0 20px;
    list-style: none; /* ol は style.css 未リセットのため明示 */
}

@media (max-width: 740px) {
    #main .hj-hero .flow-list {
        padding: 0;
    }
}

#main .hj-hero .flow-step {
    position: relative;
    border: 1px solid var(--hj-green);
    border-radius: var(--hj-border-radius);
    margin: 0 0 80px; /* 矢印アイコン分の余白を確保 */
}

#main .hj-hero .flow-step:last-child {
    margin-bottom: 0;
}

/* ステップ間の矢印（∨∨）
   arrow.svg は fill: #cbe0b9 が内部に焼き込まれた単色画像。
   色を動的に変える必要がない装飾要素なので、mask ではなく background-image で
   そのまま表示する（HTML側にタグを追加せず ::after のみで完結させる）。
   box の下端（top:100%）を基準に配置し、margin-top で位置を微調整している。 */
#main .hj-hero .flow-step:not(:last-child)::after {
    content: "";
    position: absolute;
    left: 50%;
    top: calc(100% + 29px);
    width: 24px;
    height: 22px;
    transform: translateX(-50%);
    background-image: url("/annai/hakajimai/media/arrow.svg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

#main .hj-hero .flow-step > h4 {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: calc(var(--hj-vertical-space) * 0.75) var(--hj-horizontal-space);
    border-radius: calc(var(--hj-border-radius) - 1px) calc(var(--hj-border-radius)  - 1px) 0 0;
    font-size: 16px;
    font-weight: bold;
    line-height: 1.4;
    color: #fff;
    background-color: var(--hj-green);
}

#main .hj-hero .flow-step .step-number {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background-color: #fff;
    color: var(--hj-green);
    font-size: 18px;
    font-weight: bold;
}

/* #main p (font-size:18px / padding:0 10px 1em) を明示的に打ち消す */
#main .hj-hero .flow-step > p {
    margin: 0;
    padding: var(--hj-vertical-space) var(--hj-horizontal-space);
    font-size: 16px;
    font-weight: 500;
    line-height: 1.25;
    color: var(--hj-text);
}

/* 手順3の子リスト（①②③の説明）
   カウンター＋疑似要素の白丸バッジ方式。
   flow-step側の緑丸バッジ（.step-number）と同じ「丸で数字を囲む」表現に統一しつつ、
   配色を反転（白背景・緑文字）させることで、メイン手順との階層差を出している。
   counter-increment で自動採番されるため、li の増減時も CSS 側の修正は不要。 */
#main .hj-hero .sub-steps {
    list-style: none;
    counter-reset: sub-step;
    margin: 0;
    padding: var(--hj-vertical-space) var(--hj-horizontal-space);
}

#main .hj-hero .sub-steps li {
    counter-increment: sub-step;
    position: relative;
    padding-left: 1.5em;
    margin: 0 0 6px;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.25;
    color: var(--hj-text);
}

#main .hj-hero .sub-steps li:last-child {
    margin-bottom: 0;
}

#main .hj-hero .sub-steps li::before {
    content: counter(sub-step);
    position: absolute;
    left: 0;
    top: 0.15em;
    /*transform: translateY(-50%);*/
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.3em;
    height: 1.3em;
    border-radius: 50%;
    border: 1px solid currentColor;
    font-size: 12px;
    line-height: 1;
}

#main .hj-hero .flow-step .application-form {
    padding: var(--hj-vertical-space) var(--hj-horizontal-space);
    border-radius: 0 0 calc(var(--hj-border-radius) - 1px) calc(var(--hj-border-radius)  - 1px);
    background-color: var(--hj-green-pale);
}

/* 申請書ダウンロードの案内文：薄い緑背景 #F1F6EC */
#main .hj-hero .flow-step .note {
    margin: 10px 0 14px;
    padding: 10px 12px;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.7;
    color: var(--hj-green);
    border-radius: 4px;
}

/* ----------------------------------------------------------------------------
   2-4. 申請書ダウンロードリンク（外部サイトへの遷移）
---------------------------------------------------------------------------- */
#main .hj-hero .download-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background-color: #fff;
    color: var(--hj-green);
    margin: 0 auto;
    border: 1px solid var(--hj-green);
    border-radius: 4px;
    padding: 6px 18px;
    width: fit-content;
    font-size: 14px;
    font-weight: bold;
    text-decoration: none;
    transition: background-color .2s ease, color .2s ease;
}

/* style.css の a:hover { color:#33747c; } を上書き */
#main .hj-hero .download-button:hover,
#main .hj-hero .download-button:focus {
    background-color: var(--hj-green);
    color: #fff;
}

#main .hj-hero .download-button .icon-download {
    /* download.svg は viewBox="0 0 34.21 30.71"（横:縦 ≒ 1.11:1） */
    width: 17px;
    height: 15px;
    background-color: currentColor;
    -webkit-mask: url("/annai/hakajimai/media/download.svg") no-repeat center / contain;
    mask: url("/annai/hakajimai/media/download.svg") no-repeat center / contain;
}

/* ----------------------------------------------------------------------------
   2-5. スクリーンリーダー専用テキスト
   ※ サイト内に .sr-only が既存で無いことを前提としたフォールバック定義。
     もし既に共通の隠しテキストクラスがあれば、そちらの利用に統一してよい。
---------------------------------------------------------------------------- */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ----------------------------------------------------------------------------
   2-6. 結びの文章（流れセクションの下、連絡先バナーの上）
---------------------------------------------------------------------------- */
#main .hj-hero .closing-message {
    margin: 32px 0 0;
    padding: 0 12px;
    font-size: 16px;
    font-weight: bold;
    line-height: 1.9;
    text-align: center;
    color: var(--hj-green);
}

/* ----------------------------------------------------------------------------
   2-7. レスポンシブ（hakajimai固有のブレークポイント調整。
   連絡先バナーは「1-3」で共通化済みのためここには含めない）
---------------------------------------------------------------------------- */
@media (max-width: 740px) {
    #main .hj-hero .flow-step {
        padding: 0;
    }

    #main .hj-hero .flow-step > h4 {
        font-size: 16px;
        font-weight: 700;
    }

    #main .hj-hero .lead-points li,
    #main .hj-hero .lead-caption {
        font-size: 14px;
    }

    #main .hj-hero .closing-message {
        font-size: 15px;
        line-height: 1.8;
    }
}


/* ============================================================================
   3. annai（永代納骨墓のご案内）専用スタイル
   ============================================================================ */

/* ----------------------------------------------------------------------------
   3-1. メインビジュアル（写真＋テキストオーバーレイ）
---------------------------------------------------------------------------- */
#main .an-visual {
    position: relative;
    margin: 0;
    line-height: 0;
}

#main .an-visual img {
    display: block;
    width: 100%;
    height: auto;
}

#main .an-visual__caption {
    position: absolute;
    top: 50%;
    left: 6%;
    transform: translateY(-50%);
    line-height: 1.4;
    font-family: var(--font-noto-serif);
    font-weight: 700;
    color: #fff;
}

#main .an-visual__lead {
    margin: 0 0 6px;
    padding: 0;
    border-top: 1px solid #fff;
    border-bottom: 1px solid #fff;
    width: fit-content;
    font-size: 26px;
    text-shadow: 0 1px 8px rgba(0, 0, 0, .45);
}

#main .an-visual__title {
    margin: 0 0 14px;
    padding: 0;
    font-size: 70px;
    text-shadow: 0 2px 12px rgba(0, 0, 0, .4);
}

#main .an-visual__text {
    margin: 0;
    padding: 0;
    font-size: 18px;
    line-height: 1.6;
    color: #fff;
    text-shadow: 0 1px 8px rgba(0, 0, 0, .5);
}

@media (max-width: 740px) {
    #main .an-visual__caption {
    }

    #main .an-visual__lead {
        font-size: 15px;
    }

    #main .an-visual__title {
        margin-bottom: 10px;
        font-size: 40px;
    }

    #main .an-visual__text {
        font-size: 13px;
        line-height: 1.7;
    }
}

/* ----------------------------------------------------------------------------
   3-2. 明宗寺永代納骨墓「6つの安心」
---------------------------------------------------------------------------- */
#main .an-anshin {
    margin: 0;
    padding: 32px 0;
    text-align: center;
    background-color: #fff;
}

#main .an-anshin__heading {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin: 0 0 48px;
    padding: 0;
    font-family: var(--font-noto-serif);
    font-size: 25px;
    font-weight: 700;
    line-height: 1.2;
    color: #000;
}

#main .an-anshin__heading strong {
    display: initial;
    margin-top: 2px;
    font-size: 65px;
    font-weight: 500;
    color: var(--hj-green);
}

#main .an-anshin__heading strong span {
    font-size: 52px;
}

#main .an-anshin__grid {
    display: grid;
    justify-content: center;
    grid-template-columns: repeat(3, 150px);
    gap: 18px 28px;
    margin: 0;
    padding: 0;
    list-style: none;
}

#main .an-anshin__grid li {
    aspect-ratio: 1 / 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 8px;
    border-radius: 50%;
    background-color: var(--hj-green);
    color: #fff;
    text-align: center;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.72));
}

#main .an-anshin__grid h4 {
    margin: 0 0 6px;
    padding: 0;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
}

#main .an-anshin__grid p {
    margin: 0;
    padding: 0;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.2;
}

@media (max-width: 740px) {
    #main .an-anshin__heading {
        flex-direction: column;
        font-size: 21px;
    }
    #main .an-anshin__heading strong {
        /*display: block;*/
        font-size: 56px;
    }

    #main .an-anshin__heading strong span {
        font-size: 44px;
    }

    #main .an-anshin__grid {
        grid-template-columns: repeat(2, 150px);
        gap: 18px;
    }
}

/* ----------------------------------------------------------------------------
   3-3. 全景写真／「安心とやすらぎのかたち」
---------------------------------------------------------------------------- */
#main .an-photo {
    margin: 0 0 28px;
    line-height: 0;
}

#main .an-photo img {
    display: block;
    width: 100%;
    height: auto;
}

#main .an-concept {
    margin: 0 0 28px;
    text-align: center;
}

#main .an-concept__img {
    display: block;
    width: 100%;
    max-width: 420px;
    height: auto;
    margin: 0 auto 12px;
}

#main .an-concept__text {
    margin: 0;
    padding: 0;
    font-family: var(--font-noto-serif);
    font-size: 16px;
    font-weight: 500;
    line-height: 1.8;
    color: #000;
}

/* ----------------------------------------------------------------------------
   3-4. 永代納骨墓ラインナップ（bxSliderカルーセル）
   中央のカード1枚だけを「窓」として見せ、その両隣のカードが少しだけ
   見切れる「ピークカルーセル」構成にしている。
   ・JS側で毎回、中央カードの表示幅（slideWidth）を .an-lineup の実測幅より
     意図的に狭く指定する（PC/SPともminSlides:maxSlides:1）。
   ・bxSliderは .bx-wrapper に max-width:slideWidth を、.bx-viewport に
     width:100%／overflow:hidden をインラインstyleで直接付与してくるため、
     ここでのCSSは「.bx-wrapper を中央寄せする」「.bx-viewportのoverflow:hidden
     を !important で上書きして見せる」の2点だけを行う
     （インライン指定は詳細度が非常に高いため !important が必須）。
---------------------------------------------------------------------------- */
#main .an-lineup {
    margin: 0 0 21px;
    overflow: hidden; /* ここが「両隣のカードを見切れさせる枠」になる（.an-heroの既存幅のまま、広げてはいない） */
}

@media (max-width: 740px) {
    #main .an-lineup {
        margin: 0 0 8px;
    }
}

#main .an-lineup__slider {
    margin: 0;
    padding: 0;
    height: 100%;
    list-style: none;
}

#main .an-lineup .bx-wrapper {
    margin: 0 auto 40px; /* bxSliderがインラインで付与する max-width:slideWidth の箱を左右中央寄せ */
    border: none;
    background: transparent;
    box-shadow: none;
}

#main .an-lineup .bx-wrapper .bx-viewport {
    overflow: visible !important; /* bxSliderのインライン overflow:hidden を上書きし、両隣を見切れさせる */
    box-shadow: none;
}

#main .an-lineup .bx-wrapper .bx-pager {
    padding-top: 18px;
}

#main .an-lineup .bx-wrapper .bx-pager.bx-default-pager a {
    background: var(--hj-green-pale) !important;
    border: 1px solid var(--hj-contact-bg);
}

#main .an-lineup .bx-wrapper .bx-pager.bx-default-pager a:hover,
#main .an-lineup .bx-wrapper .bx-pager.bx-default-pager a.active {
    background: var(--hj-contact-bg) !important;
}

#main .an-lineup .bx-wrapper .bx-controls-direction a {
    top: 48%;
    width: 43px;
    height: 43px;
}

#main .an-lineup .bx-wrapper .bx-controls-direction a.bx-prev {
    left: -95px;
    background-position: 0 -41px;
}

#main .an-lineup .bx-wrapper .bx-controls-direction a.bx-next {
    right: -95px;
    background-position: -57px -41px;
}

#main .an-lineup .bx-wrapper .bx-controls-direction a.bx-prev:hover {
    background-position: 0 2px;
}

#main .an-lineup .bx-wrapper .bx-controls-direction a.bx-next:hover {
    background-position: -57px 2px;
}

@media (max-width: 740px) {
    #main .an-lineup .bx-wrapper .bx-controls-direction a.bx-prev {
        left: -25px;
    }
    #main .an-lineup .bx-wrapper .bx-controls-direction a.bx-next {
        right: -25px;
    }
}


#main .an-lineup__card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    padding-top: 16px;
    background: #fff;
    border: 1px solid #e0ded7;
    border-radius: 3px;
    overflow: hidden;
    font-family: var(--font-noto-serif);
    text-align: center;
    filter: drop-shadow(0 3px 5px rgba(0, 0, 0, 0.3));
}

#main .an-lineup__summary {
    flex: 2;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

#main .an-lineup__summary::after {
    content: "";
    display: block;
    margin: 16px auto 0;
    width: 80%;
    height: 1px;
    background-color: #8e8e8e;
}

#main .an-lineup__tag {
    margin: 0;
    padding: 9px 10px;
    background-color: var(--hj-green);
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.4;
    font-family: initial;
    flex: 0;
}

#main .an-lineup__name {
    margin: 14px 0 2px;
    padding: 0 10px;
    font-size: 24px;
    font-weight: 700;
    color: var(--hj-green);
    flex: 0;
}

#main .an-lineup__name span {
    display: block;
    margin-top: 2px;
    font-size: 12px;
    font-weight: 500;
    color: var(--hj-text);
    font-family: initial;
}

#main .an-lineup__photo {
    margin: 12px 12px 0;
    line-height: 0;
    flex: 0;
}

#main .an-lineup__photo img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 4px;
}

#main .an-lineup__desc {
    margin: 12px 0 0;
    padding: 0 16px;
    font-family: var(--font-noto-serif);
    font-size: 15px;
    font-weight: 500;
    line-height: 1.5;
    color: #000;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

#main .an-lineup__desc-note {
    display: block;
    margin-top: 16px;
    font-size: 11px;
    font-weight: 400;
    color: var(--hj-text);
    font-family: initial;
}

#main .an-lineup__price {
    padding: 14px 16px 16px;
    flex: 0 0 220px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

#main .an-lineup__card:last-child .an-lineup__price {
    justify-content: center;
}

#main .an-lineup__price-heading {
    margin: 0 0 10px;
    padding: 0;
    font-size: 12.5px;
    font-weight: bold;
    line-height: 1.6;
    color: var(--hj-text);
}

#main .an-lineup__price-heading span {
    font-size: 10.5px;
    font-weight: 500;
}

#main .an-lineup__price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 7px 0;
    border-top: 1px dashed #c8ddc0;
}

#main .an-lineup__price-row:first-of-type {
    border-top: none;
}

#main .an-lineup__price-label {
    margin: 0;
    padding: 4px 0;
    border: 1px solid #000;
    border-radius: 3px;
    width: 88px;
    text-align: center;
    line-height: 1.3;
}

#main .an-lineup__price-label strong {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #000;
}

#main .an-lineup__price-label span {
    display: block;
    font-size: 10px;
    font-weight: 500;
    color: var(--hj-text);
}

#main .an-lineup__price-row img {
    height: 42px;
    width: auto;
}

#main .an-lineup__price-note {
    margin: 8px 0 0;
    padding: 0;
    font-size: 11px;
    font-weight: bold;
    text-align: center;
    color: var(--hj-text);
    display: flex;
    justify-content: center;
    align-items: center;
}

#main .an-lineup__price-note .leader-line {
    flex: 1;
    border-bottom: 1px solid #999;
    margin: 0 8px;
}

#main .an-lineup__price--range {
    text-align: center;
}

#main .an-lineup__price--range img {
    width: auto;
    max-width: 280px;
    height: 42px;
    margin: 0 auto;
}


/* ----------------------------------------------------------------------------
   3-5. よくあるご質問（jQuery UI Accordion）
   jquery-ui（smoothness）のテーマ装飾はこのページでは使わず、全プロパティを
   明示指定して独自デザインに上書きしている（#main起点のためテーマより詳細度が高い）。
---------------------------------------------------------------------------- */
#main .an-faq {
    margin: 0 0 32px;
}

#main .an-faq__q {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 10px;
    padding: 14px 44px 14px 16px;
    background: var(--hj-contact-bg);
    background-image: none;
    border: none;
    border-radius: 6px;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.5;
    cursor: pointer;
    list-style: none;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
}

#main .an-faq__q-mark {
    flex: 0 0 auto;
}

#main .an-faq__icon {
    position: absolute;
    top: 50%;
    right: 16px;
    width: 14px;
    height: 14px;
    transform: translateY(-50%);
}

#main .an-faq__icon::before,
#main .an-faq__icon::after {
    content: "";
    position: absolute;
    top: 6px;
    width: 8px;
    height: 2px;
    background: #fff;
}

#main .an-faq__icon::before {
    left: 0;
    transform: rotate(45deg);
}

#main .an-faq__icon::after {
    right: 0;
    transform: rotate(-45deg);
}

#main .an-faq__q[aria-expanded="true"] .an-faq__icon::before {
    left: 0;
    width: 14px;
    transform: none;
}

#main .an-faq__q[aria-expanded="true"] .an-faq__icon::after {
    display: none;
}

#main .an-faq__a {
    margin: -14px 0 10px 0;
    padding: 18px 16px 14px;
    background: #EAEAF5;
    background-image: none;
    border: none;
    border-radius: 6px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
}

#main .an-faq__a p {
    display: flex;
    gap: 8px;
    margin: 0;
    padding: 0;
    font-size: 16px;
    font-width: 500;
    line-height: 1.8;
    color: var(--hj-contact-bg);
}

#main .an-faq__a-mark {
    flex: 0 0 auto;
    font-weight: bold;
    color: var(--hj-contact-bg);
}

/* ----------------------------------------------------------------------------
   3-6. 松江市中心地でアクセス抜群の参拝環境（写真＋チェックリスト＋マップ）
---------------------------------------------------------------------------- */
#main .an-access {
    margin: 0;
}

#main .an-access__panel {
    position: relative;
    padding: 40px 24px 36px;
    background: var(--hj-contact-bg) url("/annai/media/myousyuji_gaikan_pc.jpg") center / cover no-repeat;
    overflow: hidden;
}

@media (max-width: 740px) {
    #main .an-access__panel {
        padding: 32px 20px 28px;
        background-image: url("/annai/media/myousyuji_gaikan_sp.jpg");
    }
}

#main .an-access__panel::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(28, 44, 91, .55), rgba(28, 44, 91, .78));
}

#main .an-access__panel > * {
    position: relative;
    z-index: 1;
}

#main .an-access__lead {
    display: inline-block;
    margin: 0 0 10px;
    padding: 0 16px;
    border-top: 1px solid #fff;
    border-bottom: 1px solid #fff;
    font-size: 31px;
    font-weight: 500;
    color: #fff;
}

#main .an-access__lead span {
    font-size: 24px;
}

@media (max-width: 740px) {
    #main .an-access__lead {
        font-size: 23px;
    }

    #main .an-access__lead span {
        font-size: 18px;
    }
}

#main .an-access__title {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin: 0 0 22px;
    font-size: 50px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--mc-yellow);
}

#main .an-access__title span:not(.an-access__badge) {
    font-size: 41px;
    font-weight: 700;
    color: #fff;
}

#main .an-access__badge {
    display: inline-block;
    padding: 6px 10px;
    background: #fff;
    color: var(--hj-contact-bg);
    font-size: 24px;
    font-weight: bold;
    line-height: 1.3;
}

@media (max-width: 740px) {
    #main .an-access__title {
        font-size: 35px;
        letter-spacing: 0;
    }

    #main .an-access__title span:not(.an-access__badge) {
        font-size: 29px;
        margin-left: -5px;
        margin-right: -5px;
    }

    #main .an-access__badge {
        font-size: 18px;
        padding: 6px 8px;
        line-height: 1.1;
    }
}

#main .an-access__map {
    line-height: 0;
}

#main .an-access__map iframe {
    display: block;
    width: 100%;
    height: 360px;
    border: 0;
}

/* ============================================================================
   4. kukaku（永代納骨墓空き区画状況）専用スタイル
   ============================================================================ */
#main .kk-diagram {
    margin: 0 0 12px;
    line-height: 0;
}

#main .kk-diagram img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 3px;
}

#main .kk-caption {
    margin: 0 0 32px;
    padding: 0;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.7;
    text-align: center;
    color: #555;
}

.sr-visible-s {
    display: none;
}

@media (max-width: 740px) {
    .sr-visible-s {
        display: initial;
    }
}
