/* =========================================
   ハードカバーガイド リデザイン
   help.css 読み込み後に help_hardcover.css として読み込む前提
========================================= */

/* -----------------------------------------
   Base
----------------------------------------- */
.hardcover-guide-page {
    padding-bottom: 50px;
}

.guide-breadcrumb {
    margin-bottom: 20px;
    font-size: 14px;
    color: #666;
}

.guide-breadcrumb a {
    color: #333;
    text-decoration: none;
}

.guide-breadcrumb i {
    margin: 0 8px;
    color: #999;
}

.guide-shell {
    width: 100%;
}

/* -----------------------------------------
   Hero
----------------------------------------- */
.guide-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    padding: 10px 40px;
    border-radius: 24px;
    background: linear-gradient(135deg, #f8fbff 0%, #eef4ff 55%, #e0eaff 100%);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    margin-bottom: 24px;
}

.guide-hero__content {
    flex: 1;
    min-width: 280px;
}

.guide-hero__eyebrow {
    display: inline-block;
    margin-bottom: 12px !important;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(37, 99, 235, 0.08);
    color: #2563eb;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.guide-hero__title {
    margin: 0 0 14px !important;
    font-size: 52px;
    line-height: 1.1;
    font-weight: 800;
    color: #1d4ed8;
}

.guide-hero__lead {
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    color: #263342;
    font-size: 20px;
    line-height: 1.8;
}

.guide-hero__visual {
    flex: 0 0 520px;
    min-width: 320px;
}

.guide-sample-card {
    padding: 14px;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    box-shadow: 0 10px 28px rgba(37, 99, 235, 0.12);
}

.guide-sample-card img {
    width: 100%;
    border-radius: 12px;
}

/* -----------------------------------------
   Quick nav
----------------------------------------- */
.guide-quicknav {
    display: grid;
    gap: 16px;
    margin-bottom: 24px;
}

.guide-quicknav--hardcover {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.guide-quicknav__item {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 18px 20px;
    background: #fff;
    border: 1px solid #e4eaef;
    border-radius: 18px;
    color: #1d4ed8;
    font-size: 22px;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.04);
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.guide-quicknav__item:hover {
    transform: translateY(-2px);
    color: #1d4ed8 !important;
    background: #f8fbff;
    text-decoration: none;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.08);
}

.guide-quicknav__item i {
    font-size: 22px;
}

.guide-quicknav__item--green {
    color: #18733d;
}

.guide-quicknav__item--green:hover {
    color: #14532d !important;
    background: #f8fcf9;
}

.guide-quicknav__item--blue {
    color: #2563eb;
}

/* -----------------------------------------
   Accordion / section
----------------------------------------- */
.modern-help-accordion {
    width: 100%;
    margin: 0;
}

.modern-help-accordion>h1 {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 18px 0 0 !important;
    padding: 18px 24px;
    background: #fff;
    color: #1d4ed8;
    border: 1px solid #e6edf1;
    border-radius: 20px 20px 0 0;
    font-family: inherit;
    font-size: 30px;
    font-weight: 800;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04);
}

.modern-help-accordion>h1:first-child {
    margin-top: 0 !important;
}

.hardcover-guide-page .modern-help-accordion>h1:hover,
.hardcover-guide-page .modern-help-accordion>h1:hover span {
    color: #1d4ed8 !important;
    background: #fff !important;
}

.guide-title-blue {
    color: #2563eb;
}

.guide-section-body {
    display: block;
    margin-bottom: 18px;
    padding: 24px;
    background: #f9fbfc;
    border: 1px solid #e6edf1;
    border-top: 0;
    border-radius: 0 0 20px 20px;
}

.guide-card {
    padding: 22px;
    background: #fff;
    border: 1px solid #e6edf1;
    border-radius: 18px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04);
}

.guide-card__title {
    margin-bottom: 16px;
    color: #1d4ed8;
    font-size: 24px;
    font-weight: 800;
    text-align: left;
}

/* -----------------------------------------
   Section 1: specification
----------------------------------------- */
.guide-spec-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 380px;
    gap: 20px;
    align-items: start;
}

.guide-spec-table {
    border: 1px solid #e6edf1;
    border-radius: 14px;
    overflow: hidden;
}

.guide-spec-row {
    display: grid;
    grid-template-columns: 180px 1fr;
}

.guide-spec-row:not(:last-child) {
    border-bottom: 1px solid #e6edf1;
}

.guide-spec-row__head {
    padding: 16px;
    background: #f4f8fb;
    font-weight: 700;
}

.guide-spec-row__body {
    padding: 16px;
    line-height: 1.8;
}

.guide-helper-text {
    display: block;
    margin-top: 6px;
    color: #6b7280;
    font-size: 13px;
    line-height: 1.6;
}

.guide-info-card {
    background: #f8fbff;
    border-color: #d8e6fb;
}

.guide-info-card__title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    color: #2563eb;
    font-size: 20px;
    font-weight: 800;
}

.guide-info-card p {
    margin: 0 0 12px !important;
    padding: 0 !important;
    background: transparent !important;
    line-height: 1.8;
}

.guide-info-card p:last-child {
    margin-bottom: 0 !important;
}

/* -----------------------------------------
   Section 2: price simulation
----------------------------------------- */
.guide-price-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 380px;
    gap: 20px;
    align-items: start;
}

.guide-price-form-card {
    background: #f8fbff;
    border-color: #d8e6fb;
}

.guide-form-table {
    border: 1px solid #e6edf1;
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
}

.guide-form-row {
    display: grid;
    grid-template-columns: 180px 1fr;
}

.guide-form-row:not(:last-child) {
    border-bottom: 1px solid #e6edf1;
}

.guide-form-row__head {
    padding: 16px;
    background: #f4f8fb;
    font-weight: 700;
}

.guide-form-row__body {
    padding: 16px;
    line-height: 1.8;
}

.guide-radio {
    display: block;
    margin: 0 0 8px;
    font-weight: 600;
}

.guide-radio:last-child {
    margin-bottom: 0;
}

.guide-radio input {
    margin-right: 6px;
}

.guide-page-select {
    max-width: 200px;
}

.hardcover-guide-page .guide-btn-primary,
.hardcover-guide-page .guide-btn-primary:focus,
.hardcover-guide-page .guide-btn-primary:active {
    min-width: 220px;
    padding: 14px 22px;
    color: #fff !important;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%) !important;
    border: 0 !important;
    border-color: transparent !important;
    border-radius: 12px;
    box-shadow: none;
    font-size: 18px;
    font-weight: 700;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.hardcover-guide-page .guide-btn-primary:hover {
    transform: translateY(-1px);
    color: #fff !important;
    background: linear-gradient(135deg, #2f6df0 0%, #1e40af 100%) !important;
    border-color: transparent !important;
    box-shadow: 0 8px 18px rgba(37, 99, 235, 0.22);
}

.guide-price-result-card {
    background: linear-gradient(135deg, #fffaf0 0%, #ffffff 100%);
    border-color: #f3d79b;
}

.guide-price-result-card__label {
    color: #8a5a00;
    font-size: 18px;
    font-weight: 800;
}

.guide-price-result-card__price {
    margin: 14px 0;
    color: #d64242;
    font-size: 38px;
    font-weight: 900;
    line-height: 1.2;
}

.guide-price-result-card__tax {
    color: #4b5563;
    font-size: 16px;
    font-weight: 700;
}

.guide-price-result-card__shipping {
    padding: 12px 14px;
    background: #fff;
    border: 1px solid #f0dcc7;
    border-radius: 12px;
    color: #1f2937;
    font-weight: 700;
}

/* -----------------------------------------
   Section 3: flow
----------------------------------------- */
.guide-flow-list {
    display: grid;
    gap: 16px;
}

.guide-flow-item {
    display: grid;
    grid-template-columns: 58px 1fr;
    gap: 16px;
    padding: 20px;
    background: #fff;
    border: 1px solid #e6edf1;
    border-radius: 18px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04);
}

.guide-flow-item__step {
    width: 58px;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #2563eb;
    color: #fff;
    font-size: 24px;
    font-weight: 900;
}

.guide-flow-item__title {
    margin-bottom: 8px;
    color: #1d4ed8;
    font-size: 21px;
    font-weight: 800;
}

.guide-flow-item p {
    margin: 0 0 12px !important;
    padding: 0 !important;
    background: transparent !important;
    line-height: 1.8;
}

.guide-inline-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 999px;
    background: #2563eb;
    color: #fff !important;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.guide-inline-button:hover {
    background: #1d4ed8;
    color: #fff !important;
    text-decoration: none;
}

.guide-inline-button--orange {
    background: #c95f05;
}

.guide-inline-button--orange:hover {
    background: #9a4f06;
}

/* -----------------------------------------
   Section 4: contact
----------------------------------------- */
.guide-contact-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    background: linear-gradient(135deg, #f3fbf5 0%, #ffffff 100%);
    border-color: #cfe8d6;
}

.guide-contact-card__title {
    margin-bottom: 8px;
    color: #166534;
    font-size: 22px;
    font-weight: 800;
}

.guide-contact-card p {
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    line-height: 1.8;
}

.guide-contact-card__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-shrink: 0;
    min-width: 190px;
    padding: 14px 18px;
    border-radius: 12px;
    background: #18733d;
    color: #fff !important;
    font-weight: 800;
    text-decoration: none;
}

.guide-contact-card__button:hover {
    background: #14532d;
    color: #fff !important;
    text-decoration: none;
}

.guide-back-top {
    margin-top: 24px;
    text-align: center;
}

/* -----------------------------------------
   Utility / help.css override
----------------------------------------- */
.mt30 {
    margin-top: 30px !important;
}

.center {
    text-align: center;
}

.hardcover-guide-page .accordion p,
.hardcover-guide-page .accordion .guide-helper-text {
    background: transparent !important;
}

/* -----------------------------------------
   Responsive
----------------------------------------- */
@media screen and (max-width: 991px) {
    .guide-hero {
        flex-direction: column;
        align-items: flex-start;
        padding: 28px 24px;
    }

    .guide-hero__title {
        font-size: 38px;
    }

    .guide-hero__lead {
        font-size: 17px;
    }

    .guide-hero__visual {
        flex: 1 1 auto;
        width: 100%;
    }

    .guide-quicknav--hardcover {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .guide-spec-layout,
    .guide-price-layout {
        grid-template-columns: 1fr;
    }

    .modern-help-accordion>h1 {
        padding: 16px 18px;
        font-size: 26px;
    }

    .guide-section-body {
        padding: 16px;
    }

    .guide-contact-card {
        align-items: flex-start;
        flex-direction: column;
    }

    .guide-contact-card__button {
        width: 100%;
    }
}

@media screen and (max-width: 480px) {
    .guide-hero__title {
        font-size: 32px;
    }

    .guide-quicknav--hardcover {
        grid-template-columns: 1fr;
    }

    .guide-quicknav__item {
        min-height: 64px;
        font-size: 18px;
    }

    .guide-card {
        padding: 16px;
    }

    .guide-card__title,
    .guide-info-card__title,
    .guide-contact-card__title {
        font-size: 20px;
    }

    .guide-spec-row,
    .guide-form-row {
        grid-template-columns: 1fr;
    }

    .guide-spec-row__head,
    .guide-form-row__head {
        border-bottom: 1px solid #e6edf1;
    }

    .guide-flow-item {
        grid-template-columns: 1fr;
    }
}
