/* 基本設定 */
:root {
    --primary-color: #dc3b3b;
    --accent-color: #e67e22;
    --line-color: #06c755;
    --bg-color: #fcfaf5;
    --text-color: #333;
    --border-color: #ddd;
}

.faq-container {
    max-width: 800px;
    margin: 60px auto 40px;
    background: #fff;
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.faq-title {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

/* 目次（TOC） */
.faq-toc {
    background-color: #fef5f5;
    margin: 20px auto 40px; 
    padding: 30px 20px; 
    border-radius: 8px;
    text-align: center;
}

/* 「カテゴリーから探す」というタイトルの調整 */
.toc-title {
    font-weight: bold;
    font-size: 1.1rem;
    color: #333;
    /* タイトルとボタンの間の余白を広げる */
    margin: 0 0 20px 0; 
    display: block;
}

/* ボタンを並べるリストの調整 */
.faq-toc ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    /* ボタン同士の間隔（縦横）を確保 */
    gap: 15px; 
}

/* 各ボタンのデザイン */
.faq-toc a {
    text-decoration: none;
    color: #c0392b;
    background: #fff;
    /* ボタン内の余白を広げて押しやすくする（シニア配慮） */
    padding: 10px 20px; 
    border: 1px solid #c0392b;
    border-radius: 25px;
    font-size: 0.95rem;
    display: inline-block;
    transition: 0.3s;
    /* 30代ユーザーに馴染みのあるホバー感 */
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.faq-toc a:hover {
    background: #c0392b;
    color: #fff;
}

/* カテゴリー見出し */
.faq-category {
    margin: 40px 0 15px;
    font-size: 1.3rem;
    padding-left: 15px;
    border-left: 5px solid var(--primary-color);
    background: #f9f9f9;
    padding-top: 5px;
    padding-bottom: 5px;
}

/* FAQアコーディオン本体 */
.faq-item {
    border-bottom: 1px solid var(--border-color);
}

.faq-logic {
    display: none;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 10px;
    cursor: pointer;
    font-weight: bold;
    font-size: 1.15rem;
}

.faq-question::before {
    content: "Q";
    background: var(--primary-color);
    color: #fff;
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    margin-right: 15px;
    flex-shrink: 0;
    font-size: 0.9rem;
}

.icon-toggle {
    position: relative;
    width: 16px;
    height: 16px;
    margin-left: 10px;
}

.icon-toggle::before, .icon-toggle::after {
    content: "";
    position: absolute;
    background-color: var(--primary-color);
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    transition: 0.3s;
}

.icon-toggle::before { width: 100%; height: 2px; }
.icon-toggle::after { width: 2px; height: 100%; }

.faq-logic:checked ~ .faq-answer {
    max-height: 1000px;
    padding-bottom: 20px;
}

.faq-logic:checked ~ .faq-question .icon-toggle::after {
    transform: translate(-50%, -50%) rotate(90deg);
    opacity: 0;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-in-out;
}

.faq-answer-inner {
    padding: 10px 15px 20px 53px;
    position: relative;
    font-size: 1.05rem;
}

.faq-answer-inner::before {
    content: "A";
    color: var(--accent-color);
    font-weight: bold;
    font-size: 1.4rem;
    position: absolute;
    left: 12px;
    top: 6px;
}

/* お問い合わせセクション */
.contact-section {
    margin-top: 60px;
    padding: 30px;
    background-color: #f4f4f4;
    border-radius: 12px;
    text-align: center;
}

.contact-title {
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.contact-text {
    font-size: 0.95rem;
    margin-bottom: 25px;
}

.contact-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.btn-contact {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 15px;
    text-decoration: none;
    color: #fff;
    border-radius: 8px;
    font-weight: bold;
    transition: 0.3s;
}

.btn-contact.tel { background-color: var(--primary-color); }
.btn-contact.mail { background-color: #555; }
.btn-contact.line { background-color: var(--line-color); }

.btn-contact:hover { opacity: 0.8; transform: translateY(-2px); }

.btn-contact .label { font-size: 1.2rem; }
.btn-contact .sub-label { font-size: 0.85rem; font-weight: normal; margin-top: 5px; }

/* PC向けレイアウト調整 */
@media (min-width: 600px) {
    .contact-buttons {
        flex-direction: row;
        justify-content: center;
    }
    .btn-contact {
        flex: 1;
        min-height: 80px;
    }
}

/*** guide ***/
/* 
  Guide Page Custom Styles 
  Concept: Modern, Accessible, Professional
*/

/* --- Base & Variables --- */
:root {
    --primary-color: #dc3b3b;
    --primary-light: #fff5f5;
    --text-main: #333333;
    --text-sub: #666666;
    --bg-light: #fdfdfd;
    --border-color: #e0e0e0;
    --shadow-soft: 0 4px 12px rgba(0, 0, 0, 0.05);
    --radius-m: 8px;
}

.guide-page-wrapper {
    padding: 40px 0px;
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    color: var(--text-main);
    line-height: 1.8;
}

.guide-container {
    max-width: 1000px;
    margin: 0 auto;
    background: #ffffff;
    padding: 60px 40px;
    border-radius: 12px;
    box-shadow: var(--shadow-soft);
}

/* モバイル対応（シニアの方もスマホ利用が多いため） */
@media (max-width: 768px) {
    .guide-container { padding: 30px 20px; }
}

/* --- Typography --- */
.guide-main-title {
    font-size: 32px;
    text-align: center;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-main);
    letter-spacing: 0.05em;
}

.guide-intro {
    text-align: center;
    color: var(--text-sub);
    margin-bottom: 50px;
    font-size: 16px;
}

.guide-h2 {
    display: flex;
    align-items: center;
    font-size: 24px;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 10px;
    margin: 60px 0 30px;
    color: var(--text-main);
}

.guide-h2 .material-icons {
    margin-right: 10px;
    color: var(--primary-color);
    font-size: 30px;
}

.guide-h3, .guide-h3-sub {
    font-size: 20px;
    margin-bottom: 20px;
    padding-left: 12px;
    border-left: 4px solid var(--primary-color);
}

/* --- 商品種別ごとの返品規定 見出しの修正 --- */

.guide-h3-sub {
    display: flex;
    align-items: center;
    font-size: 18px;
    font-weight: bold;
    color: var(--text-main);
    margin: 50px 0 25px; 
    padding-left: 12px;
    border-left: 4px solid var(--primary-color); /* 赤い縦棒 */
    line-height: 1.4;
}

/* スマホでは余白を少し調整 */
@media (max-width: 768px) {
    .guide-h3-sub {
        margin: 40px 0 20px;
        font-size: 17px;
    }
}

/* --- Section Layout --- */
.guide-section {
    margin-bottom: 40px;
}

/* --- Payment Section (Grid) --- */
.payment-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 基本は2列 */
    gap: 20px;
    align-items: start; /* 中身の量に合わせて高さを可変に */
}

.payment-card {
    border: 1px solid var(--border-color);
    padding: 24px;
    border-radius: var(--radius-m);
    transition: transform 0.2s;
}

.payment-card:hover {
    border-color: var(--primary-color);
}

.payment-card h3 {
    display: block;
    font-size: 18px !important;
    font-weight: 700 !important; /* 太字を強制 */
    color: var(--primary-color) !important;
    margin-bottom: 12px !important;
    border: none; /* もし他で線がついている場合は解除 */
}

.method-item strong {
    display: block;
    font-size: 16px;
    font-weight: 700 !important; /* 太字を強制 */
    color: var(--text-main);
    margin-bottom: 4px;
}

.payment-card.full-width {
    background: #fffafa;
    border: 1px solid var(--primary-color);
}

/* 後払いカード（full-width）を1枚で横いっぱいに広げる */
.payment-grid .payment-card.full-width {
    grid-column: 1 / span 2; /* 2列分を占有する */
    width: 100%;
    box-sizing: border-box;
}

/* --- Score 後払い --- */
.score-main-list {
    list-style: none;
    padding: 0;
    margin: 0 0 16px 0;
}

.score-main-list li {
    margin-bottom: 8px;
    line-height: 1.5;
}

.score-notes {
    font-size: 0.9em;
    color: #333;
    margin-bottom: 16px;
}

.note-item {
    margin: 0 0 8px 0;
    line-height: 1.6;
}

.score-sub-list {
    list-style: none;
    padding-left: 14px;
    margin: 0 0 12px 0;
    font-size: 0.95em;
}

.score-sub-list li {
    margin-bottom: 4px;
    line-height: 1.5;
}

.app-pay {
    background: #fff;
    border: 1px solid #e0e0e0;
    padding: 12px;
    border-radius: 4px;
    margin-bottom: 16px;
}

.app-pay-title {
    font-weight: bold;
    margin: 0 0 8px 0;
}

.alert-box {
    text-align: center;
    border-top: 1px dashed #ccc;
    padding-top: 16px;
}

.score-banner-link {
    display: inline-block;
    margin-top: 12px;
    margin-bottom: 8px;
    text-decoration: none;
    transition: opacity 0.2s ease;
    vertical-align: middle;
}

.score-banner-link:hover {
    opacity: 0.8;
}

.score-banner-img {
    display: block;
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    margin: 0 auto;
}

/* モバイル（スマホ）では全て1列にする */
@media (max-width: 640px) {
    .payment-grid {
        grid-template-columns: 1fr;
    }
    .payment-grid .payment-card.full-width {
        grid-column: 1 / span 1;
    }
}

.brand-icons {
    font-size: 13px;
    font-weight: 500;
    color: #666;
    background: #f5f5f5; /* 薄いグレー背景を敷いて「タグ」のように見せる */
    padding: 4px 10px;
    border-radius: 4px;
    display: inline-block;
    margin-bottom: 15px;
    letter-spacing: 0.05em;
}

.highlight-text {
    font-weight: bold;
    color: #d32f2f;
}

.score-details ul {
    list-style: none;
    padding: 0;
    margin: 15px 0;
}

.score-details li {
    padding: 5px 0;
    border-bottom: 1px dashed #ccc;
}

.score-details li strong {
    font-weight: 700 !important;
    color: var(--text-main);
}

.app-pay {
    font-size: 14px;
    background: #fff;
    padding: 10px;
    border-radius: 4px;
    margin-top: 10px;
}

@media (max-width: 600px) {
    .payment-grid { grid-template-columns: 1fr; }
}

/* --- Shipping Section --- */
/* --- 送料セクションのレイアウト修正 --- */

.shipping-box {
    background: #fffafa;
    border: 1px solid var(--primary-color);
    padding: 30px;
    border-radius: var(--radius-m);
    /* 横並びを解除し、縦に積む設定 */
    display: flex;
    flex-direction: column;
    gap: 20px;
    text-align: center; /* 中央揃えで安心感を演出 */
}

.shipping-main {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding-bottom: 20px;
    border-bottom: 1px dashed #eecccc;
}

.free-badge {
    background: var(--primary-color);
    color: white;
    padding: 6px 20px;
    font-weight: bold;
    font-size: 18px;
    border-radius: 50px;
    white-space: nowrap;
}

.shipping-main p {
    margin: 0;
    font-weight: bold;
    font-size: 16px;
    color: var(--text-main);
}

.shipping-notes {
    text-align: left; /* 補足事項は左寄せで読みやすく */
    font-size: 14px;
    color: var(--text-sub);
    width: 100%;
}

.shipping-notes p {
    margin: 5px 0;
    line-height: 1.6;
}

.special-area {
    color: var(--primary-color);
    font-weight: bold;
    margin-top: 10px !important;
}

/* スマホ用の詳細設定（ブレイクポイントは一般的な768px以下に設定） */
@media (max-width: 768px) {
    .shipping-box {
        padding: 20px 15px; /* 左右の余白を少し詰めて内側を広く */
    }

    .shipping-main {
        flex-direction: column; /* 縦並びに変更 */
        gap: 12px;
        text-align: center;
    }

    .free-badge {
        font-size: 16px; /* 少しだけ小さくして収まりを良くする */
        padding: 6px 16px;
        width: fit-content; /* 幅をテキストに合わせる */
        margin: 0 auto;
    }

    .shipping-main p {
        font-size: 15px; /* テキストも微調整 */
        line-height: 1.4;
        width: 100%;
    }

    .shipping-notes {
        font-size: 13px; /* 補足事項も1段小さく */
    }
}

/* --- Info Cards & Buttons --- */
.two-col {
    display: grid;
    grid-template-columns: 1fr; /* 必要に応じて1fr 1frに調整 */
}

/* --- 会員登録カードのレイアウト再修正 --- */

.info-card {
    background: #fff5f5;
    padding: 50px 40px; /* 上下左右の余白をさらに広げて贅沢に */
    border-radius: var(--radius-m);
    text-align: center;
    border: 1px solid #fdeeee;
}

.info-card .guide-h3 {
    display: block; /* 横いっぱいのブロック要素に */
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-color);
    margin: 0 auto 30px; /* 下に余裕を持たせる */
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
    width: fit-content; /* 下線の長さを文字に合わせる */
    border-left: none; /* 前の棒が残っていたら消す */
}

.check-list {
    list-style: none;
    padding: 0;
    margin: 0 auto 40px; /* リスト下の余白を広げてボタンと離す */
    display: inline-block; /* リスト自体は中央に置き、中身は左寄せ */
    text-align: left;
    max-width: 400px; /* 広がりすぎないよう制限 */
}

.check-list li {
    position: relative;
    padding-left: 35px; /* チェックアイコンとの距離を広げる */
    margin-bottom: 18px; /* 箇条書きの間隔を広くして読みやすく */
    font-size: 17px; /* 文字サイズを少しアップ */
    color: var(--text-main);
    line-height: 1.5;
}

/* チェックアイコンの微調整 */
.check-list li::before {
    content: '';
    position: absolute;
    left: 5px;
    top: 50%;
    transform: translateY(-70%) rotate(45deg);
    width: 7px;
    height: 14px;
    border-right: 3px solid var(--primary-color); /* 少し太くして視認性アップ */
    border-bottom: 3px solid var(--primary-color);
}

.btn-action {
    display: block;
    width: 320px; /* ボタンにしっかりとした幅を持たせる */
    max-width: 100%;
    margin: 0 auto;
    background: var(--primary-color);
    color: white !important;
    padding: 20px 0; /* 高さを出して押しやすく */
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    font-size: 20px; /* 文字を大きく */
    box-shadow: 0 4px 15px rgba(220, 59, 59, 0.2);
}

/* スマホ対応 */
@media (max-width: 768px) {
    .info-card {
        padding: 30px 20px;
    }
    .check-list li {
        font-size: 15px;
    }
    .btn-action {
        width: 100%; /* スマホでは押しやすく横いっぱいに */
        padding: 15px 20px;
        box-sizing: border-box;
    }
}

/* --- 1. アラートボックス（不良品について）の改良 --- */
.alert-box-notice {
    background: #fdf2f2; /* 黒から、安心感のある薄いピンク系へ変更 */
    border: 1px solid #eecccc;
    padding: 25px;
    border-radius: var(--radius-m);
    margin-bottom: 40px;
    text-align: left;
}

.alert-box-notice strong {
    display: block;
    font-size: 18px;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.alert-box-notice p {
    font-size: 15px;
    line-height: 1.7;
    margin: 0;
    color: var(--text-main);
}

/* --- 2. 返品規定グリッドの調整 --- */
.return-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3列でゆったり配置 */
    gap: 25px;
    margin: 30px 0 50px;
}

.return-item {
    background: #fff;
    border: 1px solid #eee;
    padding: 25px 20px;
    border-radius: var(--radius-m);
    transition: transform 0.2s ease;
}

.return-item h4 {
    font-size: 16px;
    margin: 15px 0 10px;
    color: var(--text-main);
    line-height: 1.4;
}

.return-item .tag {
    background: #f5f5f5;
    font-size: 12px;
    padding: 3px 10px;
    border-radius: 4px;
    color: #666;
}

.return-item .target-item {
    font-size: 13px;
    color: var(--primary-color);
    font-weight: bold;
    margin-bottom: 15px;
}

.return-item .desc {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-sub);
}

/* --- 3. 返品をお受けできないケース（下部） --- */
.return-cannot-accept {
    background: #f9f9f9;
    padding: 30px;
    border-radius: var(--radius-m);
    border-top: 3px solid #ddd;
}

.return-cannot-accept h4 {
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 17px;
    color: #444;
}

.return-cannot-accept ul {
    padding: 0;
    margin: 0;
    list-style: none;
}

.return-cannot-accept li {
    margin-bottom: 15px;
    font-size: 14px;
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.return-cannot-accept li strong {
    color: #e63946;
    min-width: 130px;
}

/* --- スマホ対応：1列に --- */
@media (max-width: 900px) {
    .return-grid {
        grid-template-columns: 1fr;
    }
    
    .alert-box-notice {
        padding: 20px;
    }
}

/* --- Caution List --- */
/* --- お買い物についてのご注意 セクション --- */

.caution-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2列を維持 */
    gap: 30px; /* 項目間の余白を広げる */
    margin-top: 30px;
}

.caution-item {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    border-bottom: 2px solid #f5f5f5; /* 下線を入れることで項目を区切る */
}

.caution-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    color: var(--primary-color); /* アイコンと見出しにテーマカラーを適用 */
}

.caution-header .material-symbols-outlined {
    font-size: 28px; /* アイコンを少し大きく */
    font-variation-settings: 'wght' 300; /* 細めで洗練された印象に */
}

.caution-header h4 {
    margin: 0;
    font-size: 16px;
    font-weight: bold;
    color: var(--text-main);
    line-height: 1.4;
}

.caution-body p {
    margin: 0;
    font-size: 14px;
    line-height: 1.8; /* 行間を広げて可読性アップ */
    color: var(--text-sub);
}

/* セール商品の項目だけ少し強調する場合 */
.caution-item:last-child {
    background-color: #fff9f9;
    border-bottom-color: #fee;
}

/* スマホ対応：1列にする */
@media (max-width: 768px) {
    .caution-list {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .caution-item {
        padding: 15px 5px; /* スマホでは横幅を節約 */
    }
}
/* --- Contact Section --- */
.contact-guide {
    text-align: center;
    margin-top: 60px;
}

.contact-box {
    background: #fdfdfd;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 40px 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.02);
}

.contact-lead {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 30px;
    color: var(--text-main);
}

.contact-links {
    display: flex;
    flex-direction: column; /* 縦に並べることで押しやすさを確保 */
    gap: 15px;
    max-width: 500px;
    margin: 0 auto;
}

.contact-btn {
    display: flex;
    align-items: center;
    padding: 15px 25px;
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.3s ease;
    border: 1px solid #ddd;
    background: #fff;
    text-align: left;
}

.contact-btn .material-symbols-outlined {
    font-size: 32px;
    margin-right: 20px;
}

.btn-txt {
    display: flex;
    flex-direction: column;
}

.btn-txt .label {
    font-size: 12px;
    font-weight: bold;
    margin-bottom: 2px;
}

.btn-txt .main-val {
    font-size: 18px;
    font-weight: bold;
}

.btn-txt .sub {
    font-size: 11px;
    color: #888;
}

/* 各ボタンのカラー個性 */
.contact-btn.tel {
    border-left: 5px solid #dca3a3; /* お店のテーマカラー */
    color: #444;
}

.contact-btn.line {
    border-left: 5px solid #06C755; /* LINEグリーン */
    color: #444;
}

.contact-btn.mail {
    border-left: 5px solid #666;
    color: #444;
}

.contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    background: #fffafa;
}

/* スマホ表示での調整 */
@media (max-width: 640px) {
    .contact-lead {
        font-size: 14px;
    }
    .btn-txt .main-val {
        font-size: 16px;
    }
}

/* Google Fonts Material Symbols Outlined 設定 */
.material-symbols-outlined {
    font-family: 'Material Symbols Outlined' !important;
    font-weight: 300;
    font-style: normal;
    font-size: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    -webkit-font-smoothing: antialiased;
    font-variation-settings:
    'FILL' 0,
    'wght' 300,
    'GRAD' 0,
    'opsz' 24;
    vertical-align: middle;
}

/* タイトル横のアイコン専用の余白調整 */
.guide-h2 .material-symbols-outlined {
    margin-right: 12px;
    font-size: 28px; /* 見出し横は少し大きく */
    color: var(--primary-color);
}