/* AI Omakase Plan page styles (follows the pricing page design) */

/* Base */
section.omakase-page {
    background: #fff;
    padding: 75px 0 0;
    font-family: 'Hiragino Sans', sans-serif;
}

.omakase-page * {
    box-sizing: border-box;
}

/* Header */
.omakase-header {
    text-align: center;
    margin-bottom: 24px;
}

.omakase-eyebrow {
    font-size: 16px;
    font-weight: 600 !important;
    margin: 0 0 4px;
}

.omakase-title {
    font-size: 38px;
    font-weight: 600;
    color: #000;
    line-height: 1.4;
    margin: 0 0 24px;
}

.omakase-subtitle {
    font-size: 16px;
    color: #333;
}

.omakase-subtitle p {
    margin: 0;
}

/* Shared section */
.omakase-section {
    max-width: 960px;
    margin: 100px auto;
}

.section-title {
    font-size: 22px;
    font-weight: 600;
    color: #333;
    text-align: center;
    line-height: 1.5;
    margin: 0 0 32px;
}

/* Highlighter-style emphasis; keep the product name from breaking mid-word */
.omakase-highlight {
    background: linear-gradient(transparent 60%, rgba(11, 163, 96, 0.3) 60%);
    white-space: nowrap;
}

/* Challenges */
.omakase-issues {
    display: flex;
    gap: 24px;
}

.omakase-issue-card {
    flex: 1;
    background: #eee;
    border-radius: 12px;
    padding: 16px;
    text-align: center;
}

.omakase-issue-img {
    display: block;
    margin: 0 auto 16px;
    max-width: 150px;
    height: auto;
}

.omakase-issue-card p {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    line-height: 1.6;
    margin: 0;
}

/* Flow */
.omakase-phase {
    border: 6px solid #ededed;
    border-radius: 12px;
    padding: 16px 32px;
    margin-bottom: 24px;
}

.omakase-phase-label {
    width: fit-content;
    margin: 8px auto;
    padding: 4px 32px;
    background: var(--main-color-1);
    color: #fff;
    font-size: 24px;
    font-weight: 600;
    text-align: center;
    border-radius: 100px;
}

/* Operation phase uses the accent orange */
.omakase-phase-label--ops {
    background: #ED842F;
}

.omakase-phase-desc {
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    color: #333;
    line-height: 1.6;
    margin: 0 0 32px;
    text-wrap: pretty;
}

.omakase-phase-img {
    display: block;
    margin: 0 auto 24px;
    max-width: 90%;
    height: auto;
    background-color: #fafafa;
    border-radius: 8px;
}

/* Arrow between phases */
.omakase-phase-arrow {
    width: 0;
    height: 0;
    margin: 0 auto 24px;
    border-left: 18px solid transparent;
    border-right: 18px solid transparent;
    border-top: 18px solid rgba(11, 163, 96, 0.54);
}

/* Reasons to choose */
.omakase-reasons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.omakase-reason-card {
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 16px;
    row-gap: 10px;
    align-items: center;
    background: #fafafa;
    border-radius: 12px;
    padding: 24px;
}

.omakase-reason-num {
    width: 40px;
    height: 40px;
    background: var(--main-color-1);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 600;
}

.omakase-reason-card h3 {
    grid-column: 2;
    font-size: 18px;
    font-weight: 600;
    color: #333;
    line-height: 1.5;
    margin: 0;
}

/* Span the full width so the text isn't indented by the number column */
.omakase-reason-card p {
    grid-column: 1 / -1;
    font-size: 15px;
    color: #666;
    line-height: 1.7;
    margin: 0;
}

/* Q&A */
.faq-section {
    max-width: 960px;
    margin: 0 auto;
}

.faq-list {
    background: #FAFAFA;
    border-radius: 12px;
    padding: 24px 32px;
}

.faq-item {
    margin-bottom: 16px;
}

.faq-item:last-child {
    margin-bottom: 0;
}

.faq-question {
    display: flex;
    align-items: center;
    gap: 16px;
    cursor: pointer;
}

.faq-icon {
    flex-shrink: 0;
    width: 39px;
    padding: 4px 10px;
    background: var(--main-color-1);
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.faq-question h3 {
    flex: 1;
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.faq-toggle {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    display: inline-block;
    transition: transform 0.3s ease;
}

.faq-item.is-open .faq-toggle {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    padding: 0 16px;
    background: #fff;
    border-radius: 6px;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.5s ease-out, opacity 0.4s ease-out, padding 0.4s ease-out, margin-top 0.4s ease-out;
}

.faq-item.is-open .faq-answer {
    max-height: 1000px;
    margin-top: 16px;
    padding: 16px;
    opacity: 1;
}

.faq-answer p {
    font-size: 16px;
    color: #333;
    line-height: 1.6;
    margin: 0 0 1.5em;
}

.faq-answer p:last-child {
    margin-bottom: 0;
}

.omakase-br-sp {
    display: none;
}

/* ==========================================
   Responsive
   ========================================== */

/* Tablet (<= 959px) */
@media screen and (max-width: 959px) {
    .omakase-page {
        padding: 75px 0;
    }

    .omakase-title {
        font-size: 24px;
    }

    .omakase-subtitle p {
        font-size: 14px;
    }

    .omakase-br-sp {
        display: block;
    }

    /* Q&A */
    .faq-list {
        padding: 24px 16px;
    }

    .faq-question {
        gap: 8px;
    }

    .faq-icon {
        font-size: 16px;
    }

    .faq-question h3 {
        font-size: 14px;
    }

    .faq-answer p {
        font-size: 14px;
    }
}

/* Smartphone (<= 767px) */
@media screen and (max-width: 767px) {
    .section-title {
        font-size: 19px;
    }

    .omakase-issues {
        flex-direction: column;
        gap: 12px;
    }

    .omakase-phase {
        padding: 20px 12px;
    }

    /* Widen the wide flow diagrams so their inner text stays legible */
    .omakase-phase-img {
        max-width: 100%;
    }

    .omakase-reasons {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .omakase-reason-card {
        padding: 20px 16px;
    }

    .omakase-reason-card h3 {
        font-size: 16px;
    }
}
