/* ホームページデザインの大枠構成 */
.visually-hidden{
    position:absolute;
    width:1px;
    height:1px;
    overflow:hidden;
    clip:rect(0 0 0 0);
}
/* コンテンツ内要素 */
.main-visual {
    margin: 0 auto;
    background-color: var(--color-body-darker);
    z-index: -1;
}
.sec1 { display: none; } /* 動画はスマホで非表示（データ節約） */
.sec2 { display: block; } /* 画像はスマホで表示 */
@media (min-width: 769px) {
    .sec1 { display: block; } /* 動画表示 */
    .sec2 { display: none; }
}
.full-img {
    max-height: 100vh;
    margin: 0 auto;
    object-fit: contain;
}
/* キャッチコピー */
.catch-section {
    padding: 20px 0 40px;
    color: var(--font1-color);
}
@media (min-width: 769px) {
    .catch-section {
    padding: 80px 0 100px;
}
}
.catch-back {
    position: relative;
    background-image: 
        linear-gradient(rgba(233,227,215,0.85),rgba(233,227,215,0.85)),
        url("../img/index/catch-visual.webp");
    margin-bottom: var(--space-section-s);
}
.catch-back::after {
    content: '';
    border-top-left-radius: 50% 100%;
    border-top-right-radius: 50% 100%;
    position: absolute;
    bottom: 0;
    width: 100%;
    background-color: var(--color-body);
    height: 20px;
}
.catch-grid {
    display: grid;
    grid-template-columns:1fr;
    grid-template-rows: auto auto;
    gap: 1rem;
}
@media (min-width: 769px){
    .catch-grid {
    grid-template-columns:1fr 1fr;
    grid-template-rows: auto;
    gap: 0;
    }
}
.catch-one {
    align-self: center;
    justify-self: center;
}
.catch-two {
    width: 65%;
    align-self: center;
    justify-self: center;
}
@media (min-width: 769px) {
    .catch-two {
        width: 90%;
    }
}
.zigzag-text {
    display: inline-block;
    text-align: left;
    padding-left: 1.5em;   
    text-indent: -1.5em; 
    font-size: 1.5rem;
    font-weight: 600;
    font-family: 'しっぽり明朝', serif;
    font-feature-settings: "palt"; /* 文字詰め（プロポーショナルメトリクス）を有効化 */
    letter-spacing: 0.1em; 
    margin-right: -0.5em; /* 最後の句点の空白分、右側の判定を削る */
}
/* フォント色　一部変更 */
.font-color-sub {
    color: var(--color-point1);
    font-size: 1.7rem;
    font-weight: 600;
    text-align: center;
    text-indent: -3em;
    font-family: 'しっぽり明朝', serif;
    letter-spacing: 0.1em; 
}
.font-color-sub2 {
    color: var(--color-point2);
    font-size: 1.7rem;
    font-weight: 600;
    text-align: center;
    text-indent: -3em;
    font-family: 'しっぽり明朝', serif;
    letter-spacing: 0.1em; 
}

/* --- CTAデザイン --- */
.bl_cta {
    background-color: var(--color-body-darker);
    width: 100%;
    margin-top: var(--space-section-s); /* モバイル時は少し狭める */
    padding-block: var(--space-content-m);
    text-align: center;
    border-top: 2px solid var(--color-primary);
}
/* @media (min-width: 769px) {
    .bl_cta {
        margin-block: 40px;
        padding-block: 40px;
    }
} */
.bl_cta_message {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--font1-color);
    margin-bottom: var(--space-content-m);
    line-height: 1.5;
}
@media (min-width: 769px) {
    .bl_cta_message {
        font-size: 1.4rem;
        letter-spacing: 0.05em;
    }
}

/* --- 価格表 --- */
/* カードの外枠デザインを保持するためのラッパー */
.bl_priceCardSpan4_inner {
    display: grid;
    grid-template-rows: subgrid;
    grid-row: span 4;
    gap: var(--space-component-s);
    background: var(--color-card);
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: var(--space-content-s);
    text-align: center;
    position: relative;
}
/* 強調プラン */
.bl_priceCardSpan4_inner__featured {
    border: 2px solid var(--color-primary);
}
@media (min-width: 768px) {
    .bl_priceCardSpan4_inner__featured {
        transform: scale(1.02);
        z-index: 1;
    }
}

/* カード内部パーツ */
.bl_card_info {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap; /* 狭い時に折り返す */
    column-gap: 2em;      /* 項目間の余白 */
    margin-top: auto;
    margin-bottom: 20px;
    padding-top: 15px;
    border-top: 1px dashed rgb(233, 227, 215);
}
.bl_card_price {
    font-size: var(--font-size-price);
    font-weight: 600;
    align-self: center;
}
.bl_card_term { 
    font-size: var(--font-size-term);
    font-weight: 600;
    align-self: center;
}
.bl_card_guidance { 
    font-size: var(--font-size-p);
    font-weight: 500;
    align-self: center;
}
/* .bl_card_price::after {
    content: "";
    display: inline-block;
    width: 1px; 
    height: 0.8em; 
    background-color: #ccc;
    margin: 0 8px;  
    vertical-align: middle;
} */
.bl_priceCard_title { align-self: center; }
.bl_priceCard_price {
    font-size: var(--font-size-price);
    font-weight: 600;
    align-self: center;
}
.bl_priceCard_price span {
    font-size: var(--font-size-p);
}
.bl_priceCard_list {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
    align-self: start;
}
.bl_priceCard_list li {
    font-size: var(--font-size-card-body);
    padding-block: 8px;
    border-bottom: 1px solid #eee;
}
/* バッジ */
.el_badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-primary);
    color: var(--font-white-color);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
}

/* --- 1. 全サイズ共通：基本構造 --- */
/* Element: Step Label */
.el_stepLabel {
    display: inline-block;
    font-size: 12px;
    color: var(--font-white-color, #fff);
    background: var(--color-primary, #3b82f6);
    padding: 4px 12px;
    border-radius: 20px;
    font-weight: bold;
    line-height: 1.2;
    flex-shrink: 0;
}
.el_stepTitle {
    font-size: var(--font-size-p);
}
.bl_flowContainer {
    max-width: 1000px; /* 日本語が読みやすいとされる40文字前後の幅 */
    margin-inline: auto; /* 中央寄せ */
    width: 100%;
}
/* --- Block: Flow --- */
.bl_flow {
    list-style: none;
    padding: 0;
    margin: 0;
}
.bl_flow_item {
    position: relative;
    margin-bottom: 40px; /* ステップ間の余白 */
}
/* ステップを繋ぐドット線（2番目以降の要素に適用） */
.bl_flow_item:not(:first-child)::before {
    content: "";
    position: absolute;
    top: -40px;
    /* 計算式：
    左パディング(20px) + (STEPラベルの概算幅(74px) / 2) 
    ※ラベル幅は文字数やフォントで微変動するため、実機を見ながら調整してください
    */
    left: calc(20px + 37px); 
    transform: translateX(-50%);
    height: 40px;
    border-left: 3px dotted var(--color-accent, #ef7317);
    z-index: 1;
}
.bl_flow li:last-child {
    margin-bottom: 0;
}
.bl_flow_inner {
    display: block; /* モバイルは縦並び */
    padding: 20px;
    border: 2px solid var(--color-primary);
    border-radius: 10px;
    background: var(--color-body, #fff);
    position: relative;
}
/* 枠下の矢印装飾（最後の要素以外） */
.bl_flow_item:not(:last-child) .bl_flow_inner::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 15px solid transparent;
    border-top-color: var(--color-primary);
    z-index: 2;
}
.bl_flow_header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    color: var(--color-primary);
    font-weight: 600;
    font-size: 1.1rem;
}
.bl_flow_body {
    font-size: var(--font-size-p);
    line-height: 1.6;
    margin: 0;
}
/* --- Desktop Adjustment (720px以上) --- */
@media (min-width: 720px) {
    .bl_flow_item:not(:first-child)::before {
        /* PCではヘッダーが180pxの縦並び中央になるため、
        左パディング(30px) + (ヘッダー幅180px / 2) 
        */
        left: calc(30px + 90px); 
        transform: translateX(-50%);
    }
    .bl_flow_inner {
        display: flex; /* PCは横並び */
        align-items: center;
        padding: 30px;
    }
    .bl_flow_header {
        flex-direction: column; /* アイコンを上、文字を下に */
        align-items: center;
        width: 180px;
        margin-bottom: 0;
        margin-right: 30px;
        text-align: center;
    }
    .bl_flow_body {
        flex: 1;
    }
}

/* 境界線コンテナ */
.el_divider {
    line-height: 0; /* 下に隙間が出るのを防ぐ */
    width: 100%;
    overflow: hidden;
}

.el_divider svg {
    display: block;
    width: 100%;
    /* 描画領域を広げた分、高さを少し出すときれいに見えます */
    height: 80px; 
}

/* 変化色セクションの背景 */
.ly_section__accent {
    background-color: rgb(233, 227, 215);
    margin-top: 0; /* 境界線と密着させる */
    padding-top: 20px;
}

.el_divider__to-beige {
    /* SVG内の描画位置を下げた分、
        ネガティブマージンで少し上のセクションに食い込ませると
        隙間なくきれいに繋がります
    */
    margin-bottom: -30px; 
    position: relative;
    z-index: 1;
}

.el_divider_inner {
    width: 100%;
    max-width: 800px; /* 線が伸びすぎないよう、innerの幅に合わせるのがおすすめ */
    margin: 0 auto;
    line-height: 0;
}

.el_divider_inner svg {
    display: block;
    width: 100%;
    height: auto;
}


/* 見本全体のコンテナ */
.bl_delivery_demo {
    max-width: 600px;
    margin: 40px auto;
    background: #fcfcfc;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 30px;
    position: relative;
}
/* お問い合わせページと共通のスタイルを流用 */
.bl_delivery_demo .el_tag_required {
    background-color: var(--color-accent); /* 本物と同じ色 */
    /* 見本なので少しだけ変化をつけるなら */
    filter: saturate(0.7); 
}

/* 入力タブの形も本物に寄せる */
.bl_delivery_demo .el_input_mock {
    border: 1px solid #ddd;
    border-radius: 6px; /* 本物の input と同じ角丸 */
    background: #f9f9f9; /* 本物より少しだけグレーにする */
    height: 40px;
    display: flex;
    align-items: center;
    padding-left: 10px;
    color: #bbb; /* 文字色は薄く */
}
/* 「見本」というキャプション */
.bl_delivery_demo_caption {
    position: absolute;
    top: -12px;
    left: 20px;
    background: var(--color-primary); /* イラストレーターとしてのメインカラー */
    color: #fff;
    font-size: 0.8rem;
    padding: 2px 12px;
    border-radius: 20px;
    font-weight: 600;
}

.bl_delivery_demo_label {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: #333;
}

/* 見本専用の調整 */
.bl_demo_form_item {
    pointer-events: none; /* 要素全体へのクリック反応を無効化 */
    user-select: none;    /* テキスト選択を不可にして「図」のような扱いに */
}

/* 本物のラジオボタンに見えるように再現 */
.el_demo_radio-mark {
    display: inline-block;
    width: 18px;
    height: 18px;
    border: 1px solid #ddd;
    border-radius: 50%;
    margin-right: 8px;
    vertical-align: middle;
    background: #fff;
    position: relative;
}

/* 選択されている状態の丸（擬似要素） */
.is-selected .el_demo_radio-mark::after {
    content: "";
    position: absolute;
    top: 4px;
    left: 4px;
    width: 8px;
    height: 8px;
    background: var(--color-primary); /* イラストレーターのメインカラー */
    border-radius: 50%;
}

/* 入力欄の再現（inputタグを使わない） */
.el_input_mock {
    background-color: #f5f5f5;
    color: #bbb;
    display: flex;
    align-items: center;
    cursor: default;
}