/* 基本設定 */
: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;
    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; }

@media (min-width: 600px) {
    .contact-buttons {
        flex-direction: row;
        justify-content: center;
    }
    .btn-contact {
        flex: 1;
        min-height: 80px;
    }
}

/*** guide ***/
: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: 80px 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: 14px;
}

.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;
    padding: 20px 5px;
}

/* --- Payment Section (Grid) --- */
.payment-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    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);
}

.payment-grid .payment-card.full-width {
    grid-column: 1 / span 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;
}

@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;
}

@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;
    }
}

/* お届けまでの日数の目安  */
.delivery-container {
    display: flex;
    gap: 30px;
    align-items: flex-start;
    margin-top: 20px;
}

.delivery-image {
    flex: 1;
    min-width: 0;
}

.delivery-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
}

/* 右側：コンテンツブロック */
.delivery-content {
    flex: 1;
    min-width: 0;
    font-size: 15px;
    line-height: 1.6;
    color: #333333;
}

.delivery-alert {
    color: #d9383a;
    font-weight: bold;
    margin-bottom: 12px;
}

.delivery-notes {
    list-style-type: disc;
    margin: 15px 0 20px 20px;
    padding: 0;
}

.delivery-notes li {
    margin-bottom: 8px;
}

/* 商品別・納期案内エリア */
.delivery-product-info {
    border-top: 1px dashed #e0e0e0;
    padding-top: 15px;
}

.delivery-product-info p {
    margin-bottom: 8px;
}

.delivery-product-info p:last-child {
    margin-bottom: 0;
}

.delivery-product-info strong {
    color: #d9383a;
}

.highlight-text {
    font-weight: bold;
    color: #b71c1c;
}

@media screen and (max-width: 768px) {
    .delivery-container {
        flex-direction: column;
        gap: 20px;
    }

    .delivery-image,
    .delivery-content {
        width: 100%; /* 全幅化 */
    }
}

/* --- Info Cards & Buttons --- */
.two-col {
    display: grid;
    grid-template-columns: 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;
    }
}

/*不良品について*/
.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);
}

.return-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    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);
}

.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;
}

@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);
    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;
}

@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;
    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;
    }
}

.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);
}


.logo-container {
    display: table;
    width: 100%;
    max-width: 1000px;
    margin: 50px auto 30px auto;
    table-layout: fixed;
    border-collapse: separate;
    border-spacing: 15px 0;
}

.logo-item {
    display: table-cell;
    vertical-align: middle;
    text-align: center;
    height: 90px;
    background-color: #fafafa;
    border: 1px solid #eaeaea;
    border-radius: 4px;
    padding: 10px;
}

.logo-item img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    vertical-align: middle;
}

@media (max-width: 768px) {
    .logo-container {
        display: block;
        border-spacing: 0;
        text-align: center;
        font-size: 0;
        width: 100%;
        padding: 0;
    }
    
    .logo-item {
        display: inline-block;
        width: 29%;
        margin: 8px 2%;
        height: 75px;
        padding: 8px 5px;
        background-color: #fafafa;
        border: 1px solid #eaeaea;
        border-radius: 6px;
        text-align: center;
        white-space: nowrap;
    }

    .logo-item::before {
        content: "";
        display: inline-block;
        height: 100%;
        vertical-align: middle;
    }

    .logo-item img {
        display: inline-block;
        max-width: 100%;
        max-height: 100%;
        width: auto;
        height: auto;
        object-fit: contain;
        vertical-align: middle;
    }
}

