:root {
    --sm: 4px;
    --md: 8px;
    --lg: 12px;
    --xl: 18px;
    --xxl: 24px;
    --colSub: #f7eee3;
    --colMain: #eb863e;
    --colAcc: #4a3324;
    --colAcc2: #ff2a00;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    overflow-x: hidden;
}

.font-maru {
    font-family: "Zen Maru Gothic", sans-serif;
    ;
}

.center-image-container {
    display: flex;
    justify-content: center;
}

.list {
    display: grid;
    gap: var(--sm);
}

.list li {
    display: block;
    background-color: white;
    padding: var(--lg);
    font-weight: 500;
    border-radius: var(--md);
}

.article-h3 {
    text-align: center;
    padding-bottom: var(--xxl);
    text-underline-offset: 4px;
    position: relative;
}

.caption-card {
    padding: var(--xl);
    background-color: var(--colSub);
    margin: var(--md);
    box-shadow: 2px 2px 4px 0 rgba(0, 0, 0, 0.15);
    border-radius: var(--sm);
    line-height: 1.5;
    font-size: smaller;
}

.section {
    background-color: var(--colSub);
    padding: var(--xxl);
}

.section-header h2 {
    font-size: 1.125rem;
    text-align: center;
    padding-block: var(--xl);
}

.section-h2 {
    color: var(--colAcc);
    font-size: 2rem;
    text-align: center;
    padding-block: var(--xxl);
}

.title-h3 {
    color: var(--colAcc2);
    font-size: 1.125rem;
    font-weight: 500;
    text-align: center;
    margin-bottom: var(--md);
}

.article-sub {
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--colMain);
    text-align: center;
    padding: var(--md);
}

.article-card {
    padding: var(--xl);
    border-radius: var(--lg);
    background-color: white;
    margin-block: var(--xxl);
}

.article-caption {
    line-height: 2;
    font-weight: 400;
    font-size: 0.9rem;
    padding: var(--lg);
}

.article-image {
    border-radius: var(--lg);
    overflow: hidden;
}

.article-card h2 {
    font-size: 1.2rem;
    text-align: center;
    position: relative;
}

.full-image-container {
    position: relative;
}

.full-image-container img {
    width: 100%;
    object-fit: contain;
}

.hidden {
    display: none;
    opacity: 0;
    pointer-events: none;
}

.floating-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--colSub);
    z-index: 100;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: var(--sm) 0;
    border-top: 1px #ccc solid;
}

/*header*/
.header {
    position: sticky;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    padding: var(--md);
    justify-content: space-between;
    background-color: #fff;
    z-index: 100;
}

.header-nav {
    display: inline-flex;
    gap: var(--md);
    font-size: small;
    padding-inline: var(--md);
}

.header-sub {
    background-color: var(--colSub);
}

.header-sub h1 {
    font-size: 0.8rem;
    font-weight: 400;
    text-align: center;
    padding-block: var(--sm);
}

.header-logo-container {
    width: 80px;
}

.header-logo-container img {
    max-width: 100%;
    object-fit: contain;
    object-position: center;
}

/*cta*/
.header-cta {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: var(--sm);
}

.cta-button-container {
    text-align: center;

}

.cta-text {
    font-weight: 600;
    color: #333;

}

.cta-button {
    background-color: var(--colAcc);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: var(--md);
    border-radius: 9999px;
    width: 75%;
    font-weight: 400;
    color: #fff;
}

/*problem*/

/*solution*/
.solution-section {
    padding: var(--xxl);
}

.solution-h2 {
    padding: 0 var(--sm);
}

.solution-article {
    padding: var(--xl) 0;
}

/*carousel*/
.carousel-container {
    width: 100%;
    overflow: hidden;
}

.carousel {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    padding: 8px 20px 16px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scroll-padding-left: 20px;

    /* スクロールバーを隠したい場合 */
    scrollbar-width: none;
}

.carousel::-webkit-scrollbar {
    display: none;
}

.carousel-item {
    flex: 0 0 80%;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    border-radius: 18px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.carousel-item img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
}

.carousel-caption {
    padding: var(--md);
    font-size: 0.9rem;
    color: #333;

}

/*proof*/
.proof-section {
    padding: var(--xxl) 0;
}

.proof-h2 {
    color: black;
    padding-bottom: var(--xxl);
    text-align: center;
    font-size: 1.5rem;
}

.proof-strong {
    color: var(--colAcc);
    font-size: 2rem;
}

.step-img-container {
    display: flex;
    flex-direction: column;
    gap: var(--md);
}

/*case*/
.case-h4 {
    margin: var(--md) 0;
    padding: var(--md) var(--sm);
    font-weight: 500;
    background-color: var(--colAcc);
    color: white;
}

.case-caption {
    line-height: 2;
    font-size: small;
    font-weight: 400;
    background-color: var(--colSub);
    padding: var(--xxl);
}

.stars {
    display: inline-flex;
    gap: var(--sm);
}

.stars img {
    width: 20px;
}

/*scene*/
.scene-h3 {
    transform: rotate(-5deg) translateY(20px);
    font-size: 2rem;
    color: var(--colAcc);
    transform-origin: top;
    background-color: var(--colSub);
    width: fit-content;
    padding-inline: var(--xl);
    border: dotted 2px var(--colAcc);
}

.scene-caption {
    margin-bottom: var(--xl);
    padding: var(--md);
    font-size: small;
    color: #777;
}

#value .article {
    margin-block: var(--xxl);
}

/*order*/
.order-step {
    border-bottom: 1px var(--colAcc) dotted;
    font-weight: 500;
    padding: var(--md);
    color: var(--colAcc);
}

.order-img {
    padding: var(--xl);
    border: var(--colAcc) 2px solid;
    margin: var(--md) var(--md);
    border-radius: var(--xl);
}

.order-caption {
    padding: var(--xl);

}

/*safe*/
.safe-h3 {
    text-align: center;
}

/* =========================
   price section
========================= */

.price-section {
    background: #fffaf2;
    padding: 64px 16px 96px;
}

.price-inner {
    max-width: 920px;
    margin: 0 auto;
}

.price-kicker {
    text-align: center;
    color: #b78a58;
    font-size: 13px;
    letter-spacing: 0.12em;
    font-weight: 700;
    margin-bottom: 8px;
}

.price-main-card {
    background: #ffffff;
    border: 1px solid #ead8bf;
    border-radius: 28px;
    padding: 28px 18px 24px;
    box-shadow: 0 12px 32px rgba(126, 92, 54, 0.12);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.price-main-card::before {
    content: "";
    position: absolute;
    top: -80px;
    right: -80px;
    width: 180px;
    height: 180px;
    background: #f7dfbd;
    border-radius: 50%;
    opacity: 0.45;
}

.price-label {
    display: inline-block;
    background: #5f4734;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    padding: 7px 18px;
    border-radius: 999px;
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}

.price-main {
    display: flex;
    justify-content: center;
    align-items: baseline;
    gap: 4px;
    color: #4a3324;
    position: relative;
    z-index: 1;
}

.price-yen {
    font-size: 15px;
    font-weight: 700;
}

.price-number {
    font-size: clamp(52px, 14vw, 86px);
    line-height: 1;
    font-weight: 900;
    letter-spacing: -0.04em;
}

.price-unit {
    font-size: 22px;
    font-weight: 800;
}

.price-lead {
    margin-top: 16px;
    color: #5d5048;
    font-size: 15px;
    line-height: 1.9;
    font-weight: 500;
    position: relative;
    z-index: 1;
}

.coupon-box {
    margin: 24px auto 0;
    padding: 20px 14px;
    max-width: 520px;
    background: #fff4df;
    border: 2px dashed #d79b51;
    border-radius: 22px;
    position: relative;
    z-index: 1;
}

.coupon-badge {
    display: inline-block;
    background: #d46f3d;
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    padding: 5px 14px;
    border-radius: 999px;
    margin-bottom: 8px;
}

.coupon-title {
    font-size: 15px;
    font-weight: 700;
    color: #5f4734;
}

.coupon-price {
    margin-top: 4px;
    color: #c85d2b;
    font-weight: 900;
    font-size: 22px;
}

.coupon-price span {
    font-size: 42px;
    letter-spacing: -0.04em;
}

.price-note {
    margin-top: 16px;
    font-size: 14px;
    line-height: 1.8;
    color: #6b5b4d;
    position: relative;
    z-index: 1;
}

.price-flow,
.price-items,
.price-safe-card {
    margin-top: 28px;
    background: #ffffff;
    border-radius: 24px;
    padding: 24px 16px;
    border: 1px solid #efdfca;
}

.price-h3 {
    text-align: center;
    color: #4a3324;
    font-size: 22px;
    line-height: 1.5;
    margin-bottom: 18px;
}

.price-flow-list {
    display: grid;
    gap: 14px;
}

.price-flow-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    background: #fffaf2;
    border-radius: 18px;
    padding: 16px;
}

.flow-num {
    flex: 0 0 auto;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #5f4734;
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 13px;
    font-weight: 800;
}

.price-flow-item h4 {
    font-size: 16px;
    color: #4a3324;
    margin-bottom: 4px;
}

.price-flow-item p {
    font-size: 14px;
    line-height: 1.7;
    color: #6b5b4d;
}

.price-items-caption {
    text-align: center;
    color: #6b5b4d;
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 16px;
}

.price-item-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.price-item-card {
    background: #fffaf2;
    border-radius: 18px;
    padding: 16px 10px;
    text-align: center;
    border: 1px solid #efd8b9;
}

.item-name {
    color: #5f4734;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 6px;
}

.item-price {
    color: #4a3324;
    font-size: 18px;
    font-weight: 900;
}

.price-small-note {
    margin-top: 14px;
    font-size: 12px;
    line-height: 1.7;
    color: #7b6d61;
}

.price-safe-card {
    background: #f6efe5;
}

.price-safe-card p {
    color: #5f5045;
    font-size: 15px;
    line-height: 1.9;
}

.price-cta {
    margin-top: 32px;
    text-align: center;
}

.price-cta-text {
    color: #5f4734;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 14px;
}

.price-cta-button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 54px;
    padding: 0 28px;
    border-radius: 999px;
    background: #4a3324;
    color: #fff;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(74, 51, 36, 0.22);
}

/* =========================
   floating coupon
========================= */

.floating-coupon {
    position: fixed;
    right: 14px;
    bottom: 104px;
    z-index: 999;
    width: 92px;
    height: 92px;
    border-radius: 50%;
    background: #d46f3d;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(83, 48, 28, 0.28);
    border: 3px solid #fff4df;
    transform: rotate(4deg);
}

.floating-coupon::after {
    content: "";
    position: absolute;
    inset: 7px;
    border: 1px dashed rgba(255, 255, 255, 0.75);
    border-radius: 50%;
}

.floating-coupon .coupon-small {
    font-size: 12px;
    font-weight: 800;
    line-height: 1.1;
    position: relative;
    z-index: 1;
}

.floating-coupon .coupon-big {
    font-size: 18px;
    font-weight: 900;
    line-height: 1.15;
    position: relative;
    z-index: 1;
}

/* =========================
   cta mid
========================= */

.cta-mid-section {
    background: linear-gradient(180deg, #fffaf2 0%, #f3e6d6 100%);
    padding: 64px 16px;
}

.cta-mid-inner {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
    background: #ffffff;
    border-radius: 30px;
    padding: 32px 18px;
    border: 1px solid #ecd8bd;
    box-shadow: 0 12px 32px rgba(126, 92, 54, 0.12);
}

.cta-mid-kicker,
.cta-last-kicker {
    color: #b78a58;
    font-size: 13px;
    letter-spacing: 0.12em;
    font-weight: 800;
    margin-bottom: 10px;
}

.cta-mid-title,
.cta-last-title {
    color: #4a3324;
    font-size: clamp(28px, 8vw, 46px);
    line-height: 1.35;
    margin-bottom: 18px;
}

.cta-mid-caption,
.cta-last-caption {
    color: #5f5045;
    font-size: 15px;
    line-height: 1.9;
    margin-bottom: 24px;
}

.cta-coupon-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    background: #fff4df;
    border: 2px dashed #d79b51;
    border-radius: 22px;
    padding: 18px 16px;
    max-width: 520px;
    margin: 0 auto 24px;
    text-align: left;
}

.coupon-card-label {
    display: inline-block;
    background: #d46f3d;
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    padding: 4px 12px;
    border-radius: 999px;
    margin-bottom: 6px;
}

.coupon-card-title {
    color: #5f4734;
    font-size: 14px;
    font-weight: 700;
}

.cta-coupon-right {
    color: #c85d2b;
    font-weight: 900;
    white-space: nowrap;
}

.cta-coupon-right span {
    font-size: 36px;
    letter-spacing: -0.04em;
}

.cta-mid-buttons {
    display: grid;
    gap: 12px;
    justify-content: center;
}

.cta-main-button,
.cta-last-button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 54px;
    padding: 0 28px;
    border-radius: 999px;
    background: #4a3324;
    color: #fff;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(74, 51, 36, 0.22);
}

.cta-sub-button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 48px;
    padding: 0 24px;
    border-radius: 999px;
    background: #fffaf2;
    color: #5f4734;
    font-weight: 800;
    text-decoration: none;
    border: 1px solid #ead8bf;
}

/* =========================
   works
========================= */

.works-section {
    background: #fff;
    padding: 72px 16px;
}

.works-lead {
    max-width: 760px;
    margin: -8px auto 28px;
    text-align: center;
    color: #5f5045;
    font-size: 15px;
    line-height: 1.9;
}

.works-case-card {
    max-width: 860px;
    margin: 0 auto 36px;
    background: #fffaf2;
    border-radius: 28px;
    padding: 22px 14px 20px;
    border: 1px solid #efdfca;
}

.works-case-label {
    display: inline-block;
    background: #5f4734;
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    padding: 5px 13px;
    border-radius: 999px;
    margin-bottom: 12px;
}

.works-case-title {
    color: #4a3324;
    font-size: 22px;
    line-height: 1.5;
    margin-bottom: 16px;
}

.works-case-image {
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    display: block;
    margin-bottom: 16px;
}

.works-review {
    background: #ffffff;
    border-radius: 22px;
    padding: 18px 16px;
    box-shadow: 0 8px 18px rgba(126, 92, 54, 0.08);
}

.works-review .stars {
    display: flex;
    gap: 3px;
    margin-bottom: 8px;
}

.works-review .stars img {
    width: 18px;
    height: 18px;
}

.works-review h4 {
    color: #4a3324;
    font-size: 16px;
    margin-bottom: 8px;
}

.works-review p {
    color: #5f5045;
    font-size: 14px;
    line-height: 1.9;
    margin-top: 8px;
}

/* =========================
   faq
========================= */

.faq-section {
    background: #f6efe5;
    padding: 72px 16px;
}

.faq-list {
    max-width: 760px;
    margin: 0 auto;
    display: grid;
    gap: 12px;
}

.faq-item {
    background: #ffffff;
    border-radius: 18px;
    border: 1px solid #ead8bf;
    overflow: hidden;
}

.faq-item summary {
    cursor: pointer;
    list-style: none;
    padding: 18px 44px 18px 18px;
    color: #4a3324;
    font-size: 15px;
    font-weight: 800;
    position: relative;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: "+";
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: #b78a58;
    font-size: 24px;
    font-weight: 700;
}

.faq-item[open] summary::after {
    content: "−";
}

.faq-item p {
    padding: 0 18px 18px;
    color: #5f5045;
    font-size: 14px;
    line-height: 1.9;
}

/* =========================
   cta last
========================= */

.cta-last-section {
    background: #fffaf2;
    padding: 72px 16px 84px;
}

.cta-last-inner {
    max-width: 820px;
    margin: 0 auto;
    text-align: center;
    background: #ffffff;
    border-radius: 32px;
    padding: 36px 18px;
    border: 1px solid #ecd8bd;
    box-shadow: 0 12px 32px rgba(126, 92, 54, 0.12);
}

.cta-last-points {
    display: grid;
    gap: 12px;
    margin: 24px auto 28px;
    max-width: 620px;
}

.cta-last-points div {
    background: #fffaf2;
    border-radius: 18px;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    text-align: left;
}

.cta-last-points span {
    width: 38px;
    height: 38px;
    flex: 0 0 auto;
    border-radius: 50%;
    background: #5f4734;
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 12px;
    font-weight: 800;
}

.cta-last-points p {
    color: #4a3324;
    font-size: 15px;
    font-weight: 800;
}

/* =========================
   notes
========================= */

.notes-section {
    background: #ffffff;
    padding: 64px 16px 120px;
}

.notes-list {
    max-width: 760px;
    margin: 0 auto;
    background: #f8f4ee;
    border-radius: 24px;
    padding: 22px 18px;
    display: grid;
    gap: 10px;
}

.notes-list li {
    color: #5f5045;
    font-size: 13px;
    line-height: 1.8;
    padding-left: 1.2em;
    position: relative;
}

.notes-list li::before {
    content: "※";
    position: absolute;
    left: 0;
    color: #b78a58;
}

/* =========================
   responsive
========================= */

@media (min-width: 768px) {

    .cta-mid-section,
    .works-section,
    .faq-section,
    .cta-last-section {
        padding-left: 24px;
        padding-right: 24px;
    }

    .cta-mid-inner,
    .cta-last-inner {
        padding: 48px 40px;
    }

    .cta-mid-buttons {
        display: flex;
        align-items: center;
    }

    .works-case-card {
        padding: 32px;
    }

    .works-case-title {
        font-size: 26px;
    }

    .works-review {
        padding: 24px;
    }

    .cta-last-points {
        grid-template-columns: repeat(3, 1fr);
    }

    .cta-last-points div {
        display: block;
        text-align: center;
        padding: 18px 14px;
    }

    .cta-last-points span {
        margin: 0 auto 10px;
    }

    .notes-list {
        padding: 28px 32px;
    }
}

/* =========================
   order form
========================= */

.order-form-section {
    background: #fffaf2;
    padding: 72px 16px 120px;
}

.order-form-inner {
    max-width: 920px;
    margin: 0 auto;
}

.form-kicker {
    text-align: center;
    color: #b78a58;
    font-size: 13px;
    letter-spacing: 0.12em;
    font-weight: 800;
    margin-bottom: 8px;
}

.form-lead {
    text-align: center;
    color: #5f5045;
    font-size: 15px;
    line-height: 1.9;
    margin: -6px auto 28px;
}

.order-form {
    display: grid;
    gap: 24px;
}

.form-block {
    background: #fff;
    border: 1px solid #ead8bf;
    border-radius: 24px;
    padding: 22px 16px;
    box-shadow: 0 8px 22px rgba(126, 92, 54, 0.08);
}

.form-title {
    display: block;
    color: #4a3324;
    font-size: 18px;
    font-weight: 900;
    line-height: 1.5;
    margin-bottom: 14px;
}

.required {
    display: inline-block;
    background: #d46f3d;
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 999px;
    vertical-align: middle;
    margin-left: 4px;
}

.form-help {
    color: #6b5b4d;
    font-size: 13px;
    line-height: 1.7;
    margin-top: -4px;
    margin-bottom: 14px;
}

/* style radio */

.style-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.style-card {
    cursor: pointer;
}

.style-card input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.style-card-body {
    display: block;
    border: 3px solid #e5e5e5;
    border-radius: 22px;
    padding: 10px 10px 12px;
    background: #fff;
    text-align: center;
    transition: 0.18s ease;
}

.style-card-body img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    border-radius: 16px;
    background: #fafafa;
    display: block;
    margin-bottom: 8px;
}

.style-card-body span {
    color: #333;
    font-size: 14px;
    font-weight: 800;
}

.style-card input:checked+.style-card-body {
    border-color: #4eb7df;
    box-shadow: 0 0 0 4px rgba(78, 183, 223, 0.16);
}

/* product */

.product-list {
    display: grid;
    gap: 14px;
}

.product-card {
    border: 1px solid #ead8bf;
    border-radius: 20px;
    padding: 14px;
    background: #fffaf2;
}

.product-card.is-checked {
    border-color: #4eb7df;
    box-shadow: 0 0 0 4px rgba(78, 183, 223, 0.14);
    background: #f7fcff;
}

.product-head {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
}

.product-head input {
    width: 20px;
    height: 20px;
    accent-color: #4eb7df;
}

.product-thumb {
    width: 76px;
    height: 76px;
    flex: 0 0 auto;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #eee;
}

.product-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-info {
    display: grid;
    gap: 4px;
}

.product-name {
    color: #4a3324;
    font-size: 16px;
    font-weight: 900;
}

.product-price {
    color: #c85d2b;
    font-size: 15px;
    font-weight: 900;
}

.product-controls {
    display: grid;
    grid-template-columns: 1fr 110px;
    gap: 10px;
    margin-top: 14px;
}

.product-controls label {
    color: #5f5045;
    font-size: 13px;
    font-weight: 700;
}

.product-controls select,
.product-controls input {
    width: 100%;
    margin-top: 5px;
    min-height: 44px;
    border: 1px solid #d8c6b0;
    border-radius: 12px;
    padding: 0 10px;
    background: #fff;
    font-size: 15px;
}

.product-controls select:disabled,
.product-controls input:disabled {
    background: #eee;
    color: #999;
}

/* summary */

.price-summary {
    margin-top: 18px;
    background: #ffffff;
    border: 1px solid #ead8bf;
    border-radius: 20px;
    padding: 16px;
}

.price-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    color: #4a3324;
    font-size: 15px;
    padding: 8px 0;
    border-bottom: 1px solid #f0e4d5;
}

.price-row.coupon strong {
    color: #c85d2b;
}

.price-row.total {
    border-bottom: none;
    font-size: 18px;
    font-weight: 900;
    padding-top: 14px;
}

.price-row.total strong {
    color: #c85d2b;
    font-size: 24px;
}

.summary-note {
    color: #7b6d61;
    font-size: 12px;
    line-height: 1.7;
    margin-top: 10px;
}

/* inputs */

.form-grid {
    display: grid;
    gap: 16px;
}

.form-grid label {
    display: block;
    color: #4a3324;
    font-size: 14px;
    font-weight: 800;
    margin-bottom: 6px;
}

.form-input {
    width: 100%;
    min-height: 48px;
    border: 1px solid #d8c6b0;
    border-radius: 14px;
    padding: 0 13px;
    background: #fff;
    font-size: 16px;
}

input[type="file"].form-input {
    padding: 12px;
    height: auto;
}

.form-input.is-error,
.product-card.is-error,
.style-grid.is-error {
    border-color: #d84242 !important;
    box-shadow: 0 0 0 3px rgba(216, 66, 66, 0.12);
}

.form-error {
    min-height: 18px;
    margin-top: 6px;
    color: #d84242;
    font-size: 12px;
    line-height: 1.5;
}

.input-counter {
    text-align: right;
    color: #7b6d61;
    font-size: 12px;
    margin-top: 4px;
}

.image-preview {
    margin-top: 14px;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid #ead8bf;
    background: #fff;
}

.image-preview img {
    width: 100%;
    max-height: 360px;
    object-fit: contain;
    display: block;
}

.hidden {
    display: none !important;
}

.zip-row {
    display: grid;
    grid-template-columns: 1fr 104px;
    gap: 8px;
}

.zip-button {
    border: none;
    border-radius: 14px;
    background: #5f4734;
    color: #fff;
    font-weight: 800;
    font-size: 13px;
    cursor: pointer;
}

.submit-area {
    text-align: center;
    padding-bottom: 24px;
}

.submit-error {
    color: #d84242;
    font-size: 13px;
    line-height: 1.7;
    margin-bottom: 10px;
}

.submit-button {
    width: 100%;
    max-width: 420px;
    min-height: 58px;
    border: none;
    border-radius: 999px;
    background: #4a3324;
    color: #fff;
    font-size: 17px;
    font-weight: 900;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(74, 51, 36, 0.22);
}

.submit-button:disabled {
    background: #c9c1ba;
    box-shadow: none;
    cursor: not-allowed;
}

.submit-note {
    color: #7b6d61;
    font-size: 12px;
    line-height: 1.7;
    margin-top: 10px;
}

/**/
.hn {
    position: absolute;

    max-height: 0px;
    max-width: 0px;
    z-index: -1;
}

/*footer*/
.footer {
    background-color: var(--colAcc);
    color: #fff;
    padding: var(--xxl) 0 0 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-company {
    margin-top: auto;
    font-size: 0.7rem;
    
    width: 100%;
    text-align: center;
}

.footer a {
    display: block;
    font-size: 0.85rem;
    color: #ccc;
    text-align: center;
}

.footer-links {
    margin: 24px 0;

}
.overlay{
    display: none;
    flex-direction:column ;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.4);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    color: #fff;
}
.spinner{
    width: 45px;
    height: 45px;
    border: 4px #fff solid;
    border-top: #333 4px solid;
    border-radius: 9999px;
    animation:spin 0.5s linear infinite;
}
@keyframes spin {
    100%{
        transform: rotate(360deg);
    }
}
@media (min-width: 768px) {
    .order-form-section {
        padding-left: 24px;
        padding-right: 24px;
    }

    .form-block {
        padding: 28px;
    }

    .style-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .product-list {
        grid-template-columns: repeat(2, 1fr);
    }

    .form-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* floating-cta と重ならないように調整 */
@media (max-width: 480px) {
    .floating-coupon {
        right: 10px;
        bottom: 108px;
        width: 82px;
        height: 82px;
    }

    .floating-coupon .coupon-big {
        font-size: 16px;
    }

    .price-section {
        padding-bottom: 112px;
    }
}

@media (min-width: 768px) {
    .price-section {
        padding: 88px 24px 120px;
    }

    .price-main-card {
        padding: 40px 32px 34px;
    }

    .price-flow,
    .price-items,
    .price-safe-card {
        padding: 32px;
    }

    .price-item-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .floating-coupon {
        right: 32px;
        bottom: 122px;
        width: 108px;
        height: 108px;
    }

    .floating-coupon .coupon-big {
        font-size: 21px;
    }
}