/* ==========================================================================
   FOOD FAMILIAR (フードファミリア) LP Stylesheet
   100% faithful to LPデザイン_PC版.pdf (1440px base) & LPデザイン_スマホ版.pdf (390px base)
   ========================================================================== */

:root {
    --c-green-border: #54cb48;
    --c-cta-bg: #345b3b;
    --c-cta-hover: #28482e;
    --c-brand-green: #2f5b3a;
    --c-brand-sub: #8c7b65;
    --c-heading: #4b4033;
    --c-subhead: #5f5242;
    --c-text: #595849;
    --c-card-white: #fffefd;
    --c-card-yellow: #f8f2a4;
    --c-card-yellow-alt: #fcf2a2;
    --c-card-cream: #fff9db;
    --c-input-bg: #fffdf6;
    --c-badge-bg: #fff5a7;
    --c-badge-text: #43a037;
    --c-step-bg: #fcf0c2;
    --c-step-text: #594c3d;
    --c-req-bg: #efe4be;
    --c-divider: #d8d0bc;
    --font-sans: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    height: 100%;
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--font-sans);
    color: var(--c-text);
    background-color: #fffaf0;
    font-feature-settings: "palt" 1;
    -webkit-font-smoothing: antialiased;
    height: 100%;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

h1,
h2,
h3,
h4,
p,
ul,
li {
    margin: 0;
    padding: 0;
}

ul {
    list-style: none;
}

a {
    color: inherit;
    text-decoration: none;
}


/* Visibility Helpers */

.pc-only {
    display: block;
}

.sp-only {
    display: none;
}

br.pc-only {
    display: inline;
}

br.sp-only {
    display: none;
}


/* Outer Wrapper */

.lp-wrapper {
    width: 1440px;
    max-width: 100%;
    margin: 0 auto;
    overflow: hidden;
    background-color: #fffaf0;
    transform-origin: top center;
    transition: transform 120ms linear;
    will-change: transform;
}


/* Base Section */

.lp-section {
    position: relative;
    width: 100%;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-position: top center;
}


/* Standard Section Container (PC: 1080px) */

.sec-inner {
    width: 1080px;
    max-width: calc(100% - 48px);
    margin: 0 auto;
    padding-top: 266px;
}

.sec-header {
    text-align: center;
}

.sec-title {
    font-size: 30px;
    font-weight: 700;
    color: var(--c-heading);
    line-height: 1.4;
    letter-spacing: 0.02em;
}

.sec-title-underline {
    width: 172px;
    height: 7px;
    margin: 14px auto 0;
}

.sec-lead {
    margin-top: 34px;
    text-align: center;
    font-size: 15.5px;
    line-height: 1.9;
    color: var(--c-text);
    font-weight: 400;
}


/* Base Card */

.card {
    background-color: var(--c-card-white);
    border: 2px solid var(--c-green-border);
    border-radius: 24px;
}

.card--yellow {
    background-color: var(--c-card-yellow);
}

.card--cream {
    background-color: var(--c-card-cream);
}


/* Base CTA Button */

.btn-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background-color: var(--c-cta-bg);
    color: #ffffff;
    font-family: var(--font-sans);
    font-size: 16px;
    font-weight: 700;
    border-radius: 9999px;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.15s ease;
    text-decoration: none;
    line-height: 1;
}

.btn-cta:hover {
    background-color: var(--c-cta-hover);
    transform: translateY(-1px);
}

.btn-cta__icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}


/* ==========================================================================
   SECTION 01: HEADER & HERO
   ========================================================================== */

.sec-01 {
    background-image: url("../assets/bg/pc_sec_01.png");
    min-height: 1432px;
    padding-top: 76px;
    padding-bottom: 110px;
}

.site-header {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.brand-logo {
    display: inline-flex;
    align-items: center;
    gap: 14px;
}

.brand-logo__icon {
    width: 52px;
    height: 52px;
}

.brand-logo__texts {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.brand-logo__ja {
    font-size: 22px;
    font-weight: 700;
    color: var(--c-brand-green);
    letter-spacing: 0.08em;
    line-height: 1.2;
}

.brand-logo__en {
    margin-top: 4px;
    font-size: 13px;
    font-weight: 500;
    color: var(--c-brand-sub);
    letter-spacing: 0.14em;
    line-height: 1;
}

.header-nav-bar {
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.global-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
}

.global-nav__link {
    font-size: 14.5px;
    font-weight: 700;
    color: var(--c-subhead);
    transition: opacity 0.2s ease;
}

.global-nav__link:hover {
    opacity: 0.7;
}

.header-cta-wrap {
    margin-top: 16px;
}

.btn-cta--header {
    width: 268px;
    height: 48px;
    font-size: 14.5px;
}

.hero-container {
    width: 1080px;
    max-width: calc(100% - 48px);
    margin: 136px auto 0;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.hero-left {
    width: 538px;
}

.hero-badges {
    display: flex;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 36px;
    padding: 0 22px;
    background-color: var(--c-badge-bg);
    border: 1.5px solid var(--c-green-border);
    border-radius: 9999px;
    color: var(--c-badge-text);
    font-size: 14px;
    font-weight: 700;
}

.hero-title {
    margin-top: 28px;
    font-size: 38px;
    font-weight: 700;
    color: var(--c-heading);
    line-height: 1.48;
    letter-spacing: 0.02em;
}

.hero-sub {
    margin-top: 24px;
    font-size: 15.5px;
    line-height: 1.88;
    color: var(--c-text);
}

.hero-info-card {
    margin-top: 24px;
    width: 538px;
    min-height: 174px;
    padding: 24px 28px;
    display: flex;
    align-items: center;
    gap: 24px;
    background-color: var(--c-card-white);
    border: 2px solid var(--c-green-border);
    border-radius: 24px;
}

.hero-info-card__icon {
    width: 56px;
    height: 46px;
    flex-shrink: 0;
}

.hero-info-card__text {
    font-size: 15px;
    line-height: 1.85;
    color: var(--c-text);
}

.hero-cta-wrap {
    margin-top: 24px;
}

.btn-cta--hero {
    width: 310px;
    height: 56px;
    font-size: 16.5px;
}

.hero-note {
    margin-top: 16px;
    font-size: 13.5px;
    line-height: 1.75;
    color: var(--c-text);
}

.hero-right {
    width: 508px;
    padding-top: 184px;
}

.hero-photo--pc {
    width: 508px;
    height: 468px;
    border: 2px solid var(--c-green-border);
    border-radius: 24px;
    overflow: hidden;
    background-color: var(--c-card-white);
}

.hero-photo--pc img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* ==========================================================================
   SECTION 02: TARGET (毎日食べても飽きない、ほっとする食事を)
   ========================================================================== */

.sec-02 {
    background-image: url("../assets/bg/pc_sec_02.png");
    min-height: 1034px;
}

.sec-02__lead {
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
}

.target-grid {
    margin-top: 38px;
    display: grid;
    grid-template-columns: repeat(3, 340px);
    justify-content: space-between;
}

.target-card {
    min-height: 312px;
    padding: 36px 30px 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.target-card__icon-wrap {
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.target-card__icon {
    max-height: 58px;
    width: auto;
}

.target-card__title {
    margin-top: 18px;
    font-size: 21px;
    font-weight: 700;
    color: var(--c-heading);
    text-align: center;
}

.target-card__desc {
    margin-top: 16px;
    font-size: 15px;
    line-height: 1.85;
    color: var(--c-text);
    text-align: left;
}


/* ==========================================================================
   SECTION 03: PATTERNS (このような方にご相談いただいています)
   ========================================================================== */

.sec-03 {
    background-image: url("../assets/bg/pc_sec_03.png");
    min-height: 1304px;
}

.patterns-grid {
    margin-top: 48px;
    display: grid;
    grid-template-columns: repeat(2, 522px);
    justify-content: space-between;
    row-gap: 28px;
}

.pattern-card {
    min-height: 252px;
    padding: 32px 30px;
    display: flex;
    align-items: flex-start;
    gap: 22px;
}

.pattern-card__icon {
    width: 56px;
    height: auto;
    flex-shrink: 0;
    margin-top: 2px;
}

.pattern-card__title {
    font-size: 20px;
    font-weight: 700;
    color: var(--c-heading);
    line-height: 1.45;
}

.pattern-card__desc {
    margin-top: 14px;
    font-size: 15px;
    line-height: 1.85;
    color: var(--c-text);
}

.pattern-card--full {
    grid-column: 1 / -1;
    min-height: 176px;
    align-items: center;
    padding: 28px 36px;
}


/* ==========================================================================
   SECTION 04: TROUBLES (昼食提供で、こんなお困りごとはありませんか？)
   ========================================================================== */

.sec-04 {
    background-image: url("../assets/bg/pc_sec_04.png");
    min-height: 1264px;
}

.trouble-top-grid {
    margin-top: 46px;
    display: grid;
    grid-template-columns: 376px 662px;
    justify-content: space-between;
    align-items: center;
}

.trouble-photo {
    width: 376px;
    height: 493px;
    border: 2px solid var(--c-green-border);
    border-radius: 24px;
    overflow: hidden;
    background-color: var(--c-card-white);
}

.trouble-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.trouble-check-list {
    display: flex;
    flex-direction: column;
}

.trouble-check-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 0;
    border-bottom: 1px dashed var(--c-divider);
    font-size: 15.5px;
    font-weight: 500;
    color: var(--c-heading);
    line-height: 1.5;
}

.trouble-check-list__icon {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
}

.trouble-bottom-card {
    margin-top: 38px;
    min-height: 132px;
    padding: 30px 36px;
    display: flex;
    align-items: center;
}

.trouble-bottom-card__text {
    font-size: 15.5px;
    line-height: 1.9;
    color: var(--c-text);
}


/* ==========================================================================
   SECTION 05: SUMMER MORNING (例えば、夏休みの朝に、少しだけゆとりを)
   ========================================================================== */

.sec-05 {
    background-image: url("../assets/bg/pc_sec_05.png");
    min-height: 1044px;
}

.summer-grid {
    margin-top: 52px;
    display: grid;
    grid-template-columns: 470px 564px;
    justify-content: space-between;
    align-items: center;
}

.summer-photo {
    width: 470px;
    height: 320px;
    border: 2px solid var(--c-green-border);
    border-radius: 24px;
    overflow: hidden;
    background-color: var(--c-card-white);
}

.summer-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.summer-content__icon {
    width: 58px;
    height: 58px;
}

.summer-content__title {
    margin-top: 18px;
    font-size: 24px;
    font-weight: 700;
    color: var(--c-heading);
    line-height: 1.55;
}

.summer-content__desc {
    margin-top: 20px;
    font-size: 15.5px;
    line-height: 1.9;
    color: var(--c-text);
}


/* ==========================================================================
   SECTION 06: EASY OPERATION
   ========================================================================== */

.sec-06 {
    background-image: url("../assets/bg/pc_sec_06.png");
    min-height: 1038px;
}

.sec-06__lead {
    max-width: 780px;
    margin-left: auto;
    margin-right: auto;
}

.easy-grid {
    margin-top: 38px;
    display: grid;
    grid-template-columns: repeat(3, 340px);
    justify-content: space-between;
}

.easy-card {
    min-height: 315px;
    padding: 36px 30px 30px;
}

.easy-card__icon-wrap {
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.easy-card__icon {
    max-height: 56px;
    width: auto;
}

.easy-card__title {
    margin-top: 18px;
    font-size: 20px;
    font-weight: 700;
    color: var(--c-heading);
}

.easy-card__desc {
    margin-top: 16px;
    font-size: 15px;
    line-height: 1.85;
    color: var(--c-text);
}


/* ==========================================================================
   SECTION 07: REASONS (フードファミリアが選ばれる理由)
   ========================================================================== */

.sec-07 {
    background-image: url("../assets/bg/pc_sec_07.png");
    min-height: 2421.3px;
}

.reasons-list {
    margin-top: 56px;
    display: flex;
    flex-direction: column;
    gap: 72px;
}

.reason-row {
    display: grid;
    grid-template-columns: 436px 596px;
    justify-content: space-between;
    align-items: center;
}

.reason-photo {
    width: 436px;
    height: 294px;
    border: 2px solid var(--c-green-border);
    border-radius: 24px;
    overflow: hidden;
    background-color: var(--c-card-white);
}

.reason-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.reason-tag {
    display: flex;
    align-items: center;
    gap: 14px;
}

.reason-tag__icon {
    height: 44px;
    width: auto;
}

.reason-tag__label {
    font-size: 15px;
    font-weight: 700;
    color: var(--c-subhead);
    letter-spacing: 0.04em;
}

.reason-body__title {
    margin-top: 16px;
    font-size: 24px;
    font-weight: 700;
    color: var(--c-heading);
    line-height: 1.48;
}

.reason-body__desc {
    margin-top: 16px;
    font-size: 15.5px;
    line-height: 1.88;
    color: var(--c-text);
}


/* ==========================================================================
   SECTION 08: MENU EXAMPLES (実際にこれまで提供した一部のお弁当例)
   ========================================================================== */

.sec-08 {
    background-image: url("../assets/bg/pc_sec_08.png");
    min-height: 1362px;
}

.sec-08__lead {
    max-width: 780px;
    margin-left: auto;
    margin-right: auto;
}

.menu-grid {
    margin-top: 38px;
    display: grid;
    grid-template-columns: repeat(3, 340px);
    justify-content: space-between;
    row-gap: 36px;
}

.menu-card {
    height: 325px;
    padding: 18px 18px 22px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}

.menu-card__img-wrap {
    width: 304px;
    height: 220px;
    border-radius: 14px;
    overflow: hidden;
}

.menu-card__img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.menu-card__title {
    font-size: 18.5px;
    font-weight: 700;
    color: var(--c-heading);
    text-align: center;
}


/* ==========================================================================
   SECTION 09: COMPARISON
   ========================================================================== */

.sec-09 {
    background-image: url("../assets/bg/pc_sec_09.png");
    min-height: 1469.3px;
}

.sec-09__lead {
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
}

.compare-grid {
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(2, 522px);
    justify-content: space-between;
}

.compare-card {
    min-height: 752px;
    padding: 36px 34px;
}

.compare-card__icon {
    height: 58px;
    width: auto;
}

.compare-card__header {
    margin-top: 18px;
    font-size: 21px;
    font-weight: 700;
    color: var(--c-heading);
}

.compare-list {
    margin-top: 16px;
    display: flex;
    flex-direction: column;
}

.compare-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 17px 0;
    border-bottom: 1px dashed var(--c-divider);
    font-size: 15px;
    line-height: 1.65;
    color: var(--c-text);
}

.compare-list__icon {
    width: 20px;
    height: 20px;
    margin-top: 3px;
    flex-shrink: 0;
}


/* ==========================================================================
   SECTION 10: TRACK RECORD (手づくり弁当から、地域・学校・職場の食支援へ)
   ========================================================================== */

.sec-10 {
    background-image: url("../assets/bg/pc_sec_10.png");
    min-height: 874px;
}

.case-grid {
    margin-top: 46px;
    display: grid;
    grid-template-columns: 472px 574px;
    justify-content: space-between;
}

.case-card {
    min-height: 274px;
    padding: 36px 34px;
}

.case-card--award {
    background-color: var(--c-card-yellow-alt);
}

.case-card__icon {
    width: 60px;
    height: auto;
}

.case-card__title {
    margin-top: 18px;
    font-size: 21px;
    font-weight: 700;
    color: var(--c-heading);
}

.case-card__desc {
    margin-top: 14px;
    font-size: 15px;
    line-height: 1.85;
    color: var(--c-text);
}

.case-card--story {
    display: flex;
    align-items: center;
}

.case-card__story-text {
    font-size: 15.5px;
    line-height: 1.92;
    color: var(--c-text);
}


/* ==========================================================================
   SECTION 11: CEO MESSAGE (代表メッセージ)
   ========================================================================== */

.sec-11 {
    background-image: url("../assets/bg/pc_sec_11.png");
    min-height: 1150px;
}

.thoughts-grid {
    margin-top: 46px;
    display: grid;
    grid-template-columns: 415px 616px;
    justify-content: space-between;
    align-items: center;
}

.thoughts-photo {
    width: 415px;
    height: 553px;
    border-radius: 24px;
    overflow: hidden;
}

.thoughts-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.thoughts-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--c-heading);
    line-height: 1.48;
}

.thoughts-p {
    margin-top: 22px;
    font-size: 15.5px;
    line-height: 1.92;
    color: var(--c-text);
}

.thoughts-sign {
    margin-top: 26px;
    font-size: 16px;
    font-weight: 700;
    color: var(--c-heading);
}


/* ==========================================================================
   SECTION 12: FLOW (まずは試食から。導入できる条件を一緒に確認します。)
   ========================================================================== */

.sec-12 {
    background-image: url("../assets/bg/pc_sec_12.png");
    min-height: 1241.3px;
}

.flow-grid {
    margin-top: 46px;
    display: grid;
    grid-template-columns: repeat(3, 340px);
    justify-content: space-between;
    row-gap: 28px;
}

.flow-card {
    min-height: 304px;
    padding: 30px 28px;
}

.flow-card__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.flow-step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background-color: var(--c-step-bg);
    color: var(--c-step-text);
    font-size: 17px;
    font-weight: 700;
}

.flow-card__icon {
    max-height: 50px;
    width: auto;
}

.flow-card__title {
    margin-top: 20px;
    font-size: 20px;
    font-weight: 700;
    color: var(--c-heading);
}

.flow-card__desc {
    margin-top: 14px;
    font-size: 15px;
    line-height: 1.85;
    color: var(--c-text);
}


/* ==========================================================================
   SECTION 13: AREA & CONDITIONS (対応エリア・導入条件)
   ========================================================================== */

.sec-13 {
    background-image: url("../assets/bg/pc_sec_13.png");
    min-height: 1244px;
}

.area-grid {
    margin-top: 46px;
    display: grid;
    grid-template-columns: repeat(2, 522px);
    justify-content: space-between;
    align-items: stretch;
}

.area-card {
    min-height: 646px;
    padding: 34px 32px;
    display: flex;
    flex-direction: column;
}

.area-card__head {
    display: flex;
    align-items: center;
    gap: 18px;
}

.area-card__icon {
    height: 54px;
    width: auto;
    flex-shrink: 0;
}

.area-card__title {
    font-size: 21px;
    font-weight: 700;
    color: var(--c-heading);
}

.area-card__desc {
    margin-top: 24px;
    font-size: 15.5px;
    line-height: 1.9;
    color: var(--c-text);
}

.area-check-list {
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.area-check-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 15.5px;
    line-height: 1.85;
    color: var(--c-text);
}

.area-check-list__icon {
    width: 20px;
    height: 20px;
    margin-top: 4px;
    flex-shrink: 0;
}

.area-card__illust {
    margin-top: auto;
    width: 100%;
    height: 302px;
    border: 2px solid var(--c-green-border);
    border-radius: 20px;
    overflow: hidden;
    background-color: #ffffff;
}

.area-card__illust img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* ==========================================================================
   SECTION 14: FAQ (よくある質問)
   ========================================================================== */

.sec-14 {
    background-image: url("../assets/bg/pc_sec_14.png");
    min-height: 2300px;
}

.sec-14__inner {
    width: 1080px;
}

.faq-group {
    margin-top: 42px;
}

.faq-group--second {
    margin-top: 56px;
}

.faq-group__title {
    font-size: 20px;
    font-weight: 700;
    color: var(--c-heading);
    padding-bottom: 14px;
    border-bottom: 1px solid var(--c-divider);
}

.faq-list {
    display: flex;
    flex-direction: column;
}

.faq-item {
    padding: 24px 0;
    border-bottom: 1px dashed var(--c-divider);
}

.faq-item__q-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.faq-item__icon {
    width: 26px;
    height: 24px;
    flex-shrink: 0;
}

.faq-item__q {
    font-size: 16.5px;
    font-weight: 700;
    color: var(--c-heading);
    line-height: 1.5;
}

.faq-item__a {
    margin-top: 10px;
    padding-left: 38px;
    font-size: 15px;
    line-height: 1.88;
    color: var(--c-text);
}


/* ==========================================================================
   SECTION 15: CLOSING CTA
   ========================================================================== */

.sec-15 {
    background-image: url("../assets/bg/pc_sec_15.png");
    min-height: 1068px;
}

.closing-grid {
    margin-top: 48px;
    display: grid;
    grid-template-columns: 492px 542px;
    justify-content: space-between;
    align-items: center;
}

.closing-content__icon {
    width: 60px;
    height: auto;
}

.closing-p {
    margin-top: 24px;
    font-size: 16px;
    line-height: 1.95;
    color: var(--c-text);
}

.closing-cta-wrap {
    margin-top: 28px;
}

.btn-cta--closing {
    width: 316px;
    height: 56px;
    font-size: 16.5px;
}

.closing-note {
    margin-top: 18px;
    font-size: 13.5px;
    line-height: 1.75;
    color: var(--c-text);
}

.closing-photo {
    width: 542px;
    height: 412px;
    border: 2px solid var(--c-green-border);
    border-radius: 24px;
    overflow: hidden;
    background-color: var(--c-card-white);
}

.closing-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* ==========================================================================
   SECTION 16: FORM
   ========================================================================== */

.sec-16 {
    background-image: url("../assets/bg/pc_sec_16.png");
    min-height: 2013.3px;
}

.form-card {
    width: 948px;
    max-width: 100%;
    margin: 44px auto 0;
    padding: 40px 46px 46px;
}

.form-card__intro {
    text-align: center;
    font-size: 15px;
    line-height: 1.85;
    color: var(--c-text);
}

.lp-form {
    margin-top: 32px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 416px);
    justify-content: space-between;
    row-gap: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group--full {
    grid-column: 1 / -1;
}

.form-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14.5px;
    font-weight: 700;
    color: var(--c-heading);
}

.form-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 3px 9px;
    border-radius: 6px;
    background-color: var(--c-req-bg);
    color: var(--c-heading);
    font-size: 11.5px;
    font-weight: 700;
    line-height: 1.2;
}

.form-control {
    width: 100%;
    height: 48px;
    padding: 0 16px;
    background-color: var(--c-input-bg);
    border: 1.5px solid var(--c-green-border);
    border-radius: 10px;
    font-family: var(--font-sans);
    font-size: 14.5px;
    color: var(--c-heading);
    outline: none;
    transition: box-shadow 0.15s ease;
}

.form-control::placeholder {
    color: #8c887b;
}

.form-control:focus {
    box-shadow: 0 0 0 3px rgba(84, 203, 72, 0.25);
}

.select-wrap {
    position: relative;
}

.form-control--select {
    appearance: none;
    -webkit-appearance: none;
    padding-right: 36px;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%234b4033' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round' d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
}

.form-control--textarea {
    height: 98px;
    padding: 14px 16px;
    resize: vertical;
    line-height: 1.65;
}

.form-submit-wrap {
    margin-top: 32px;
    display: flex;
    justify-content: center;
}

.btn-cta--submit {
    width: 100%;
    height: 54px;
    font-size: 16px;
}

.btn-cta--submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    pointer-events: none;
}


/* ==========================================================================
   MODAL DIALOG
   ========================================================================== */

.modal-backdrop {
    position: fixed;
    inset: 0;
    background-color: rgba(45, 38, 30, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    z-index: 1000;
}

.modal-backdrop[hidden] {
    display: none;
}

.modal-dialog {
    width: 100%;
    max-width: 520px;
    background-color: var(--c-card-white);
    border: 2px solid var(--c-green-border);
    border-radius: 24px;
    padding: 32px 28px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
    transform: none;
    /* transform: scale(var(--lp-scale, 1)); */
    /* transform-origin: center center; */
}

.modal-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--c-heading);
    text-align: center;
}

.modal-lead {
    margin-top: 12px;
    font-size: 14.5px;
    line-height: 1.75;
    color: var(--c-text);
    text-align: center;
}

.modal-body {
    margin-top: 18px;
    padding: 16px 18px;
    background-color: var(--c-card-cream);
    border-radius: 14px;
    font-size: 13.5px;
    line-height: 1.75;
    color: var(--c-heading);
    max-height: 45vh;
    overflow-y: auto;
}

.modal-actions {
    margin-top: 24px;
    display: flex;
    justify-content: center;
}

.btn-cta--modal {
    width: 220px;
    height: 46px;
    font-size: 15px;
}


/* ==========================================================================
   SMARTPHONE LAYOUT (max-width: 768px — 390px Design Base)
   100% faithful to LPデザイン_スマホ版.pdf
   ========================================================================== */

@media (max-width: 768px) {
    .pc-only {
        display: none !important;
    }
    .sp-only {
        display: block !important;
    }
    br.pc-only {
        display: none !important;
    }
    br.sp-only {
        display: inline !important;
    }
    .lp-wrapper {
        width: 390px;
        max-width: 100%;
    }
    .sec-inner {
        width: 342px;
        max-width: calc(100% - 48px);
        padding-top: 198px;
    }
    .sec-title {
        font-size: 23px;
        line-height: 1.45;
    }
    .sec-title-underline {
        width: 136px;
        height: 6px;
        margin: 12px auto 0;
    }
    .sec-lead {
        margin-top: 24px;
        font-size: 14.5px;
        line-height: 1.88;
    }
    /* --- SP Section 01 --- */
    .sec-01 {
        background-image: url("../assets/bg/sp_sec_01.png");
        min-height: 1800px;
        padding-top: 84px;
        padding-bottom: 80px;
    }
    .brand-logo {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    .brand-logo__icon {
        width: 48px;
        height: 48px;
    }
    .brand-logo__texts {
        align-items: center;
    }
    .brand-logo__ja {
        font-size: 21px;
    }
    .brand-logo__en {
        font-size: 12px;
    }
    .hero-container {
        width: 342px;
        max-width: calc(100% - 48px);
        margin: 106px auto 0;
        flex-direction: column;
    }
    .hero-left {
        width: 100%;
    }
    .hero-badge {
        height: 42px;
        padding: 0 22px;
        font-size: 14px;
    }
    .hero-title {
        margin-top: 26px;
        font-size: 30px;
        line-height: 1.55;
    }
    .hero-photo--sp {
        margin-top: 28px;
        width: 342px;
        height: 314px;
        border: 2px solid var(--c-green-border);
        border-radius: 24px;
        overflow: hidden;
        background-color: var(--c-card-white);
    }
    .hero-photo--sp img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    .hero-sub {
        margin-top: 28px;
        font-size: 16px;
        line-height: 1.95;
    }
    .hero-info-card {
        margin-top: 28px;
        width: 100%;
        min-height: 360px;
        padding: 36px 26px;
        flex-direction: column;
        align-items: center;
        gap: 22px;
    }
    .hero-info-card__icon {
        width: 56px;
        height: 46px;
    }
    .hero-info-card__text {
        font-size: 15.5px;
        line-height: 1.95;
    }
    .hero-cta-wrap {
        margin-top: 28px;
    }
    .btn-cta--hero {
        width: 286px;
        max-width: 100%;
        height: 54px;
        font-size: 15.5px;
    }
    .hero-note {
        margin-top: 20px;
        font-size: 14px;
        line-height: 1.85;
    }
    /* --- SP Section 02 --- */
    .sec-02 {
        background-image: url("../assets/bg/sp_sec_02.png");
        min-height: 1638px;
    }
    .target-grid {
        margin-top: 30px;
        grid-template-columns: 1fr;
        row-gap: 26px;
    }
    .target-card {
        min-height: 280px;
        padding: 32px 26px;
    }
    /* --- SP Section 03 --- */
    .sec-03 {
        background-image: url("../assets/bg/sp_sec_03.png");
        min-height: 2426px;
    }
    .patterns-grid {
        margin-top: 32px;
        grid-template-columns: 1fr;
        row-gap: 20px;
    }
    .pattern-card {
        min-height: 340px;
        padding: 28px 24px;
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    .pattern-card--full {
        min-height: 368px;
    }
    /* --- SP Section 04 --- */
    .sec-04 {
        background-image: url("../assets/bg/sp_sec_04.png");
        min-height: 2022px;
    }
    .trouble-top-grid {
        margin-top: 32px;
        grid-template-columns: 1fr;
        row-gap: 24px;
    }
    .trouble-photo {
        width: 342px;
        height: 421px;
    }
    .trouble-check-list li {
        align-items: flex-start;
        padding: 14px 0;
        font-size: 15px;
        line-height: 1.7;
    }
    .trouble-check-list__icon {
        margin-top: 3px;
    }
    .trouble-bottom-card {
        margin-top: 28px;
        min-height: 284px;
        padding: 26px 24px;
    }
    /* --- SP Section 05 --- */
    .sec-05 {
        background-image: url("../assets/bg/sp_sec_05.png");
        min-height: 1325.3px;
    }
    .summer-grid {
        margin-top: 32px;
        grid-template-columns: 1fr;
        row-gap: 26px;
    }
    .summer-photo {
        width: 342px;
        height: 234px;
    }
    .summer-content__title {
        font-size: 22px;
        line-height: 1.55;
    }
    .summer-content__desc {
        font-size: 15px;
    }
    /* --- SP Section 06 --- */
    .sec-06 {
        background-image: url("../assets/bg/sp_sec_06.png");
        min-height: 1686px;
    }
    .easy-grid {
        margin-top: 30px;
        grid-template-columns: 1fr;
        row-gap: 26px;
    }
    .easy-card {
        min-height: 280px;
        padding: 30px 26px;
    }
    /* --- SP Section 07 --- */
    .sec-07 {
        background-image: url("../assets/bg/sp_sec_07.png");
        min-height: 3520px;
    }
    .reasons-list {
        margin-top: 32px;
        gap: 32px;
    }
    .reason-row {
        grid-template-columns: 1fr;
        row-gap: 20px;
        padding-bottom: 32px;
        border-bottom: 1px dashed var(--c-divider);
    }
    .reason-row:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }
    .reason-photo {
        width: 342px;
        height: 234px;
    }
    .reason-body__title {
        font-size: 21px;
    }
    .reason-body__desc {
        font-size: 15px;
    }
    /* --- SP Section 08 --- */
    .sec-08 {
        background-image: url("../assets/bg/sp_sec_08.png");
        min-height: 2669.3px;
    }
    .menu-grid {
        margin-top: 28px;
        grid-template-columns: 1fr;
        row-gap: 26px;
    }
    .menu-card {
        height: 308px;
    }
    /* --- SP Section 09 --- */
    .sec-09 {
        background-image: url("../assets/bg/sp_sec_09.png");
        min-height: 2392px;
    }
    .compare-grid {
        margin-top: 28px;
        grid-template-columns: 1fr;
        row-gap: 34px;
    }
    .compare-card {
        min-height: auto;
        padding: 30px 24px;
    }
    /* --- SP Section 10 --- */
    .sec-10 {
        background-image: url("../assets/bg/sp_sec_10.png");
        min-height: 1256px;
    }
    .case-grid {
        margin-top: 32px;
        grid-template-columns: 1fr;
        row-gap: 34px;
    }
    .case-card {
        min-height: auto;
        padding: 30px 26px;
    }
    /* --- SP Section 11 --- */
    .sec-11 {
        background-image: url("../assets/bg/sp_sec_11.png");
        min-height: 1572px;
    }
    .thoughts-grid {
        margin-top: 30px;
        grid-template-columns: 1fr;
        row-gap: 26px;
    }
    .thoughts-photo {
        width: 342px;
        height: 347px;
    }
    .thoughts-title {
        font-size: 22px;
    }
    .thoughts-p {
        margin-top: 18px;
        font-size: 15px;
    }
    /* --- SP Section 12 --- */
    .sec-12 {
        background-image: url("../assets/bg/sp_sec_12.png");
        min-height: 2288px;
    }
    .flow-grid {
        margin-top: 30px;
        grid-template-columns: 1fr;
        row-gap: 26px;
    }
    .flow-card {
        min-height: 256px;
        padding: 26px 24px;
    }
    /* --- SP Section 13 --- */
    .sec-13 {
        background-image: url("../assets/bg/sp_sec_13.png");
        min-height: 1677.3px;
    }
    .area-grid {
        margin-top: 30px;
        grid-template-columns: 1fr;
        row-gap: 34px;
    }
    .area-card {
        min-height: auto;
        padding: 28px 24px;
    }
    .area-card__head {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }
    .area-card__illust {
        margin-top: 22px;
        height: 182px;
    }
    /* --- SP Section 14 --- */
    .sec-14 {
        background-image: url("../assets/bg/sp_sec_14.png");
        min-height: 2800px;
    }
    .sec-14__inner {
        width: 342px;
    }
    .faq-group {
        margin-top: 32px;
    }
    .faq-group__title {
        font-size: 18px;
    }
    .faq-item {
        padding: 20px 0;
    }
    .faq-item__q-row {
        align-items: flex-start;
    }
    .faq-item__q {
        font-size: 15.5px;
    }
    .faq-item__a {
        padding-left: 0;
        font-size: 14.5px;
    }
    /* --- SP Section 15 --- */
    .sec-15 {
        background-image: url("../assets/bg/sp_sec_15.png");
        min-height: 1326px;
    }
    .closing-grid {
        margin-top: 32px;
        grid-template-columns: 1fr;
        row-gap: 28px;
    }
    .closing-p {
        font-size: 15px;
    }
    .btn-cta--closing {
        width: 286px;
        max-width: 100%;
        height: 54px;
        font-size: 15.5px;
    }
    .closing-photo {
        width: 342px;
        height: 260px;
    }
    /* --- SP Section 16 --- */
    .sec-16 {
        background-image: url("../assets/bg/sp_sec_16.png");
        min-height: 2548px;
    }
    .form-card {
        width: 342px;
        margin-top: 30px;
        padding: 28px 22px 32px;
    }
    .form-card__intro {
        text-align: center;
        font-size: 14px;
    }
    .form-grid {
        grid-template-columns: 1fr;
        row-gap: 20px;
    }
}


/* Proportional scaling for intermediate laptop screens (769px - 1439px) */

@media (min-width: 769px) and (max-width: 1439px) {
    .lp-wrapper {
        width: 1440px;
        max-width: none;
        zoom: calc(100vw / 1440);
    }
}


/* Proportional scaling for smartphones (<= 480px) to preserve exact 390px PDF line-breaks */

@media (max-width: 480px) {
    .lp-wrapper {
        width: 390px;
        max-width: none;
        zoom: calc(100vw / 390);
    }
}