@charset "UTF-8";

/* =========================================================
    Root Variables
========================================================= */

:root {
    /* Layout */
    --container: 1140px;
    --gutter: 24px;
    --section-py: 80px;
    --radius: 16px;

    /* Colors */
    --primary: #009EDB;
    --accent: #C71410;
    --accent-hover: #A1100D;

    --text-main: #505050;
    --heading: #333333;
    --border: #E5E5E5;
    --bg-light: #EDF2FA;
}


/* =========================================================
    Base
========================================================= */

html {
    scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    color: var(--text-main);
    line-height: 1.6;
    background: #fff;
    -webkit-text-size-adjust: 100%;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--heading);
    line-height: 1.4;
}

p {
    font-size: 16px;
}


/* =========================================================
    Typography Scale
========================================================= */

h1 {
    font-size: 40px;
    font-weight: 800;
}

h2 {
    font-size: 34px;
    font-weight: 800;
}

h3 {
    font-size: 26px;
    font-weight: 700;
}


/* =========================================================
    Layout
========================================================= */

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--gutter);
}

.section {
    padding: var(--section-py) 0;
}

.section--light {
    background: var(--bg-light);
}

/* =========================================================
    section-title
========================================================= */

.section-head {
    margin-bottom: 80px;
    text-align: center;
}

.label-en {
    font-family: 'Montserrat', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: var(--accent);
}

.section-title {
    font-size: 34px;
    font-weight: 800;
    margin-top: 3px;
}

.section-title__brand-o {
    color: var(--accent);
}

.section-title__em {
    color: var(--primary);
    font-weight: 900;
    font-size: 1.5em;
}

.section-title__em--plain {
    color: inherit;
}

.section-title__em--about {
    font-size: 1.35em;
    line-height: 1;
}

@media (max-width: 767px) {
    .section-title {
        font-size: 22px;
        line-height: 1.4;
    }

    .label-en {
        font-size: 20px;
    }
}

/* =========================================================
    Grid
========================================================= */

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

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}


/* =========================================================
    Components - Button
========================================================= */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    transition: 0.3s;
    white-space: nowrap;
}

.btn--cta {
    height: 70px;
    padding: 0 48px;
    background: var(--accent);
    color: #fff;
    border-radius: 8px;
    font-size: 22px;
    min-width: 350px;
}

.btn--cta:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
}


/* =========================================================
    Utility
========================================================= */

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

.mt-24 {
    margin-top: 24px;
}

.mt-40 {
    margin-top: 40px;
}

.mb-24 {
    margin-bottom: 24px;
}

.mb-40 {
    margin-bottom: 40px;
}

/* =========================================================
    Scroll Reveal
========================================================= */

.reveal-up {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
    transition-delay: var(--reveal-delay, 0ms);
    will-change: opacity, transform;
}

.reveal-up.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .reveal-up {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* PC改行 */
.br-pc {
    display: inline;
}

/* SP改行 */
.br-sp {
    display: none;
}

/* タブレット改行 */
.br-tb {
    display: none;
}

/* =========================================================
    Responsive (<= 767px)
========================================================= */

@media (max-width: 767px) {

    :root {
        --section-py: 56px;
        --gutter: 20px;
    }

    h1 {
        font-size: 28px;
    }

    h2 {
        font-size: 24px;
    }

    h3 {
        font-size: 18px;
    }

    .grid-2,
    .grid-3 {
        grid-template-columns: 1fr;
    }

    .br-pc {
        display: none;
    }

    .br-sp {
        display: inline;
    }

    .br-tb {
        display: none;
    }

}

/* =========================================================
    Header
========================================================= */

.header {
    width: 100%;
    height: 80px;
    background: transparent;
    /* 白を消す*/
}

.header__inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    margin: 0 auto;
    padding: 0 40px;
}

.header__logo {
    position: absolute;
    left: 40px;
    top: 50%;
    transform: translateY(-50%);
}

.header__right {
    margin-left: 0;
    display: flex;
    align-items: center;
    gap: 32px;
}

.header__logo img {
    height: 50px;
    width: auto;
}

.header__menu {
    display: flex;
    gap: 32px;
}

.header__menu a {
    color: var(--heading);
    position: relative;
    font-weight: 600;
    transition: color 0.3s ease;
}

.header__menu a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    /* 文字との距離 */
    width: 100%;
    height: 1px;
    background: var(--primary);
    opacity: 0;
    /* 最初は見えない */
    transition: opacity 0.2s ease;
}

.header__menu a:hover {
    color: var(--primary);
}

.header__menu a:hover::after {
    opacity: 1;
    /* スッと出る */
}

/* =========================================================
    HEROセクション
========================================================= */
.mv-wrap {
    background: url("../img/hero-pc-bg.png") center bottom / cover no-repeat;
    position: relative;
}

.hero {
    position: relative;
    padding: 50px clamp(20px, 5vw, 85px) 120px;
    min-height: calc(100vh - 80px);
    overflow: hidden;
}

.hero__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.hero__content {
    align-self: flex-start;
    margin-top: 8px;
    flex: 1 1 0;
    min-width: 0;
    width: auto;
    max-width: 800px;
    padding: 0;
    box-sizing: border-box;
}

.hero__form {
    flex: 0 0 min(480px, 100%);
    width: min(480px, 100%);
}

.hero__title {
    font-size: 36px;
    font-weight: 800;
    line-height: 1.4;
    margin-bottom: 24px;
}

.hero__lead {
    font-size: 20px;
    line-height: 1.6;
}

.hero__badge {
    display: inline-block;
    border: 2px solid var(--accent);
    color: var(--accent);
    padding: 6px 16px;
    border-radius: 30px;
    font-weight: 800;
    margin-bottom: 20px;
}

.form-card {
    width: 100%;
    max-width: 480px;
    min-height: auto;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
    display: grid;
    place-items: center;
    padding: 10px 10px 0;
    overflow: visible;
}

.first-view__form--caption {
    margin: 10px 0 0;
}

.first-view__form-embed {
    width: 100%;
    height: 552px;
    overflow: hidden;
}

.first-view__form iframe {
    display: block;
    width: 108.7%;
    height: 600px;
    border: 0;
    transform: scale(0.9);
    transform-origin: top left;
}

.hero__awards {
    width: 380px;
    margin-top: 20px;
}

.hero__awards img {
    width: 100%;
    height: auto;
    display: block;
}

/* =========================================================
    Problemセクション
========================================================= */
.problem {
    background: linear-gradient(180deg,
            #ffffff 0%,
            #009ddb68 35%,
            #009ddb5a 65%,
            #ffffff 100%);
}

.problem .container {
    max-width: 940px;
    margin: 0 auto;
}

.problem__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 48px;
}

/* カード */
.problem-card {
    border-radius: 20px;
    padding: 36px 28px 30px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.06);
    text-align: center;
    display: flex;
    flex-direction: column;
    background: #fff;
}

/* アイコン */
.problem-card__icon {
    width: 120px;
    height: 120px;
    margin: 0 auto 20px;
    display: grid;
    place-items: center;
    flex: 0 0 120px;
}

.problem-card__icon img {
    max-width: 100%;
    max-height: 100%;
    display: block;
}

/* タイトル */
.problem-card__title {
    font-size: 17px;
    font-weight: 800;
    line-height: 1.6;
    margin: 0 0 14px;
    min-height: 58px;
}

/* 本文 */
.problem-card__text {
    font-size: 16px;
    line-height: 1.7;
    margin: 0;
    text-align: left;
}


/* =========================================================
    Featureセクション
========================================================= */
/* feature帯 */
.feature__banner {
    background: #009EDB;
    padding: 34px 0 50px;
    text-align: center;
    position: relative;
}

.white__title {
    color: #fff;
}

.white__title .section-title__em {
    color: #fff;
}

.white__title .section-title__brand {
    color: inherit;
}

/* 下の三角 */
.feature__triangle {
    position: absolute;
    left: 50%;
    bottom: -18px;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 18px solid transparent;
    border-right: 18px solid transparent;
    border-top: 18px solid #009EDB;
}

.feature__body {
    padding: 70px 0 0;
}

.feature-step {
    display: grid;
    grid-template-columns: 1fr 520px;
    /* 右：画像幅 */
    gap: 58px;
    align-items: center;
    padding: 54px 0;
}

.feature-step:last-of-type {
    padding-bottom: 0;
}

.feature-step--reverse {
    grid-template-columns: 520px 1fr;
}

.feature-step--reverse .feature-step__text {
    order: 2;
}

.feature-step--reverse .feature-step__media {
    order: 1;
}

.feature-step__num {
    font-size: 40px;
    font-weight: 800;
    color: #C71410;
}

.feature-step__headline {
    color: #333;
    margin: 0 0 14px;
}

.feature-step__desc {
    margin: 0;
    text-wrap: pretty;
}

.feature-step__media img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
}

.feature__divider {
    border: none;
    border-top: 1px solid rgba(0, 0, 0, 0.10);
    margin: 0;
}


/* =========================================================
    Aboutセクション
========================================================= */
.about {
    position: relative;
    overflow: hidden;
    padding: 80px 0;

    background: linear-gradient(180deg,
            #ffffff 0%,
            #009ddb5a 65%);
}

/* 中身は前面へ */
.about .container {
    position: relative;
    z-index: 2;
    padding-bottom: 80px;
}

.about__lead {
    max-width: 860px;
    margin: 28px auto 0;
    font-size: 20px;
}

/* 2カラム */
.about__grid {
    margin-top: 56px;
    display: grid;
    grid-template-columns: repeat(2, auto);
    gap: 52px;
    justify-content: center;
}

/* カード */
.about-card {
    max-width: 340px;
    padding: 24px 22px;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.06);
    min-height: 430px;

    /* うっすら枠（スクショのオレンジ枠っぽさ） */
    border: 1px solid rgba(255, 140, 0, 0.75);
}

/* 画像 */
.about-card__media {
    width: 100%;
    display: grid;
    place-items: center;
    margin-bottom: 18px;
}

.about-card__media img {
    width: 100%;
    max-width: 200px;
    height: auto;
    display: block;
}

/* タイトル */
.about-card__title {
    margin: 0 0 12px;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.6;
    text-align: center;
}

/* 本文 */
.about-card__text {
    max-width: 280px;
    margin: 0 auto;
    text-align: left;
}

@media (min-width: 1201px) {
    .about-card {
        display: flex;
        flex-direction: column;
    }

    .about-card__title {
        min-height: calc(1.6em * 3);
    }
}

/* 透かし文字 */
.about__bg-text {
    position: absolute;
    left: 50%;
    bottom: -0.06em;
    transform: translateX(-50%);
    white-space: nowrap;

    font-family: "Montserrat", sans-serif;
    font-weight: 800;
    font-size: clamp(80px, 10vw, 170px);
    letter-spacing: -0.02em;
    line-height: 0.82;

    color: rgba(255, 255, 255, 0.22);
    pointer-events: none;
    z-index: 1;
}



/* =========================================================
    CTAセクション
========================================================= */

.cta {
    padding: 80px 0;
}

.cta__title {
    margin: 0 0 18px;
    font-size: 28px;
    font-weight: 800;
    line-height: 1.3;
}

.btn--cta {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 350px;
    height: 70px;

    background: var(--accent);
    color: #fff;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
}

.btn--cta::after {
    content: "";
    position: absolute;
    right: -60px;
    top: 50%;
    transform: translateY(-50%);
    width: 70px;
    height: 70px;
    background: url("../img/urge-contact.png") no-repeat center / contain;
}

.btn--cta:hover {
    filter: brightness(1.05);
}



/* =========================================================
    Functionセクション
========================================================= */
.function {
    background: #EDF2FA;
    padding: 80px 0;
}

.function__grid {
    display: grid;
    grid-template-columns: 1fr 620px;
    gap: 56px;
    align-items: start;
}

/* left */
.function__lead {
    margin: 22px 0 0;
    max-width: 430px;
    color: #505050;
    line-height: 1.9;
}

.function__lead-strong {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-bottom: 8px;
    font-size: clamp(18px, 1.6vw, 22px);
    line-height: 1.2;
    font-weight: 900;
    color: var(--primary);
}

.function__lead-pill {
    display: inline-block;
    padding: 3px 10px;
    border: 2px solid var(--primary);
    border-radius: 999px;
    background: #fff;
}

.function__cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    /* ← 中央揃え */
    margin-top: 40px;
}

.function__note {
    margin-bottom: 10px;
    font-weight: 700;
    color: #333;
}

.function__btn {
    width: 350px;
}

/* DLボタン（左側の白ボタン） */
.btn--outline {
    font-size: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;

    width: 350px;
    height: 70px;

    border: 2px solid #009EDB;
    border-radius: 8px;
    background: #fff;
    color: #009EDB;

    font-weight: 800;
    text-decoration: none;
    transition: 0.3s;
}

.btn--outline:hover {
    background: #009EDB;
    color: #fff;
}

/* right panel */
.function__panel {
    background: #009EDB;
    border-radius: 18px;
    padding: 40px 38px;
}

.function__icons {
    list-style: none;
    padding: 0;
    margin: 0;

    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.function__icon {
    background: #fff;
    border-radius: 14px;
    padding: 18px 10px 14px;
    min-height: 175px;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;

    display: grid;
    place-items: center;
    text-align: center;
}

.function__icon:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.function__icon:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 2px;
}

.function__icon img {
    width: 92px;
    height: 92px;
    object-fit: contain;
    display: block;
    margin-bottom: 10px;
}

.function__icon p {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.2;
    min-height: 2.4em;
}

.is-modal-open {
    overflow: hidden;
}

.function-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: none;
}

.function-modal.is-open {
    display: block;
}

.function-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
}

.function-modal__dialog {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: min(760px, calc(100% - 40px));
    background: #f8fbff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 24px 55px rgba(0, 0, 0, 0.26);
}

.function-modal__header {
    min-height: 52px;
    padding: 10px 58px 10px 18px;
    background: linear-gradient(90deg, #14a3df 0%, #009edb 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.function-modal__header-title {
    margin: 0;
    color: #fff;
    font-size: 20px;
    font-weight: 800;
    line-height: 1.2;
}

.function-modal__body {
    padding: 24px 26px;
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 20px;
    align-items: center;
}

.function-modal__media {
    background: #fff;
    border-radius: 14px;
    min-height: 150px;
    display: grid;
    place-items: center;
    padding: 20px;
    border: 1px solid #dbeaf4;
}

.function-modal__image {
    width: 100%;
    max-width: 120px;
    height: auto;
    object-fit: contain;
    display: block;
}

.function-modal__content {
    min-width: 0;
}

.function-modal__close {
    position: absolute;
    top: 7px;
    right: 8px;
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 50%;
    background: transparent;
    color: #fff;
    font-size: 34px;
    line-height: 1;
    cursor: pointer;
    opacity: 0.9;
}

.function-modal__close:hover {
    opacity: 1;
}

.function-modal__title {
    margin: 0 0 14px;
    color: #009EDB;
    font-size: 32px;
    font-weight: 800;
    line-height: 1.2;
}

.function-modal__text {
    margin: 0;
    color: #505050;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.8;
}


/* =========================================================
    Flowセクション
========================================================= */
.flow {
    padding: 90px 0 130px;
    background: #fff;
}

/* steps row */
.flow-steps {
    list-style: none;
    padding: 0;
    margin: 48px 0 0;

    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
}

/* step card */
.flow-step {
    width: 140px;
    height: 150px;
    border: 3px solid #009EDB;
    border-radius: 18px;
    background: #fff;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;

    position: relative;
}

/* 矢印（>>）をCSSで作る：カードの右に出す */
.flow-step:not(:last-child)::after {
    content: "»";
    position: absolute;
    right: -22px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 40px;
    font-weight: 800;
    color: #111;
    line-height: 1;
}

/* step text */
.flow-step__num {
    margin: 0;
    font-family: "Montserrat", sans-serif;
    font-weight: 800;
    font-size: 26px;
    color: #009EDB;
}

.flow-step__icon {
    width: 54px;
    height: auto;
    display: block;
}

.flow-step__label {
    margin: 0;
    font-size: 20px;
    font-weight: 800;
    color: #505050;
}

/* durations */
.flow-durations {
    margin: 34px 0 0;
    display: grid;
    grid-template-columns: 4fr 2fr 3fr;
    /* 1-4 / 5 / 6-7 の比率イメージ */
    gap: 32px;
    align-items: center;
}

/* 線＋ラベル（線の上に丸角ラベルを被せる） */
.flow-duration {
    position: relative;
    height: 34px;
}

.flow-duration::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 3px;
    background: rgba(0, 0, 0, 0.75);
    border-radius: 2px;
}

.flow-duration__label {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);

    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 92px;
    height: 34px;
    padding: 0 18px;

    background: #009EDB;
    color: #fff;
    font-weight: 800;
    border-radius: 999px;
    box-shadow: 0 10px 18px rgba(0, 0, 0, 0.08);
}

/* total bar */
.flow-total {
    margin: 26px 0 0;
    background: #009EDB;
    color: #fff;
    font-weight: 900;
    text-align: center;
    padding: 18px 16px;
    border-radius: 10px;
    font-size: 24px;
}

/* PCではSP用非表示 */
.flow-steps-sp {
    display: none;
}


/* =========================================================
    FAQセクション
========================================================= */

.faq__list {
    display: grid;
    gap: 24px;
}

/* カード */
.faq-card {
    width: 100%;
    max-width: 840px;
    margin: 0 auto;
    background: #fff;
    border-radius: 12px;
    padding: 28px 32px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
}

/* 質問行 */
.faq-q {
    display: flex;
    align-items: baseline;
    gap: 10px;
    padding-bottom: 14px;
    margin-bottom: 14px;
    border-bottom: 2px solid #2f2f2f;
    /* スクショの濃い線 */
    font-size: 20px;
    font-weight: 700;
    color: var(--heading);
}

.faq-q__mark {
    width: 32px;
    height: 32px;
    background: var(--accent);
    color: #fff;
    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 16px;
    font-weight: 700;
    flex-shrink: 0;
}

/* 回答 */
.faq-a {
    color: var(--text-main);
    line-height: 1.8;
}


/* =========================================================
    CONTACTセクション
========================================================= */

.contact {
    background: linear-gradient(180deg,
            #EDF2FA 0%,
            #009EDB 100%);
    position: relative;
    overflow: hidden;
}

.background-cxone-left,
.background-cxone-right {
    font-family: 'Impact';
    position: absolute;
    text-orientation: mixed;
    line-height: 1;
    font-size: 10em;
    color: rgba(255, 255, 255, 0.2);
    white-space: nowrap;
    pointer-events: none;
    z-index: 1;
}

.background-cxone-left {
    writing-mode: vertical-lr;
    left: -12px;
    bottom: 0px;
}

.background-cxone-right {
    writing-mode: vertical-rl;
    right: -12px;
    top: 0px;
}

.contact-cta {
    max-width: 840px;
    min-height: 240px;
    margin: 0 auto;
    background: #fff;
    padding: 48px 60px;
    border-radius: 12px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
}

.contact-cta__lead {
    margin: 0;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.5;
    text-align: center;
    color: var(--heading);
}

.contact-cta__btn {
    width: min(350px, 100%);
    margin-top: 0;
}

/* 背景文字より中身を前面に */
.contact .container {
    position: relative;
    z-index: 2;
}


/* =========================================================
    Footer
========================================================= */

.footer {
    background: #F3F6FA;
}

.footer__inner {
    padding: 10px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer__logo img {
    height: 50px;
}

.footer__links {
    display: flex;
    gap: 32px;
}

.footer__links a {
    transition: color 0.3s ease;
}

.footer__links a:hover {
    color: var(--primary);
}

.footer__copyright {
    text-align: center;
    font-size: 13px;
    color: #888;
}



/* =========================================================
    タブレット対応(768〜1200px)
========================================================= */

@media (min-width: 768px) and (max-width: 1200px) {

    .br-pc,
    .br-sp {
        display: none;
    }

    .br-tb {
        display: inline;
    }

    .header__inner {
        justify-content: space-between;
        padding: 0 24px;
    }

    .header__logo {
        position: static;
        transform: none;
        flex: 0 0 auto;
    }

    .header__logo img {
        height: 44px;
    }

    .header__right {
        margin-left: auto;
    }

    .header__menu {
        gap: 20px;
    }

    .hero {
        min-height: auto;
        padding: 36px clamp(24px, 4vw, 56px) 80px;
    }

    .hero__inner {
        flex-direction: column;
        align-items: stretch;
        gap: 20px;
    }

    .hero__content,
    .hero__form,
    .form-card {
        max-width: 100%;
        width: 100%;
    }

    .hero__form {
        width: min(430px, 100%);
        margin-inline: auto;
    }

    .first-view__form-embed {
        height: 548px;
    }

    .first-view__form iframe {
        height: 610px;
        margin-top: -2px;
    }

    .hero__title {
        font-size: clamp(28px, 3vw, 36px);
    }

    .hero__lead {
        font-size: clamp(16px, 1.8vw, 20px);
    }

    .hero__awards {
        width: min(380px, 100%);
        margin-top: 8px;
    }

    .problem-card__title .br-pc {
        display: none;
    }

    .feature-step,
    .feature-step--reverse {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 36px 0;
    }

    .feature-step--reverse .feature-step__text,
    .feature-step--reverse .feature-step__media {
        order: initial;
    }

    .flow-durations {
        gap: 20px;
    }

    .flow-duration__label {
        min-width: 0;
        padding: 0 12px;
        font-size: 14px;
        white-space: nowrap;
    }

    .flow-step__label {
        font-size: 16px;
        line-height: 1.3;
        white-space: nowrap;
    }

    .function__grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .function .section-head {
        text-align: center;
    }

    .function__lead {
        margin: 22px auto 0;
        max-width: 620px;
        text-align: center;
    }

    .function__lead-strong {
        justify-content: center;
    }

    .function__cta {
        margin-top: 32px;
    }

    .btn--outline {
        width: min(350px, 100%);
    }

    .function__panel {
        padding: 34px 28px;
    }

    .function__icons {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }

    .function__icon {
        min-height: 160px;
        padding: 14px 8px 12px;
    }

    .function__icon img {
        width: 84px;
        height: 84px;
        margin-bottom: 8px;
    }

    .function__icon p {
        font-size: 18px;
    }

    .footer__inner {
        padding: 10px 18px;
    }

    .footer__links {
        padding-right: 10px;
    }

    .footer__links a {
        font-size: 10px;
    }
}

@media (min-width: 768px) and (max-width: 900px) {
    .header__inner {
        padding: 0 16px;
    }

    .header__logo img {
        height: 40px;
    }

    .header__menu {
        gap: 14px;
    }

    .header__menu a {
        font-size: 14px;
    }
}

/* =========================================================
    SP対応(〜767px)
========================================================= */

@media (max-width:767px) {

    /* =========Header========= */
    .header__menu {
        display: none;
    }

    .header__logo img {
        height: 42px;
    }

    /* =========Hero セクション========= */
    .mv-wrap {
        background: url("../img/hero-sp-bg.png") center top / cover no-repeat;
    }

    .hero {
        min-height: auto;
        padding: 16px 20px 56px;
    }

    .hero__inner {
        flex-direction: column;
        align-items: stretch;
        gap: 24px;
    }

    .hero__content,
    .hero__form,
    .form-card {
        max-width: 100%;
        width: 100%;
    }

    .first-view__form-embed {
        height: 589px;
    }

    .first-view__form iframe {
        height: 640px;
    }

    .hero__title {
        font-size: 22px;
        line-height: 1.45;
        margin-bottom: 16px;
    }

    .hero__lead {
        font-size: 16px;
        line-height: 1.7;
    }

    .hero__badge {
        font-size: 14px;
        padding: 5px 12px;
        margin-bottom: 14px;
    }

    .hero__awards {
        width: min(250px, 100%);
    }

    /* =========Problem セクション========= */
    .problem__grid {
        grid-template-columns: 1fr;
        justify-items: center;
    }

    .problem-card {
        display: grid;
        grid-template-columns: 90px 1fr;
        column-gap: 20px;
        row-gap: 6px;

        width: 100%;
        max-width: 400px;
        padding: 14px 20px;
        align-items: start;
    }

    .problem-card__icon {
        grid-column: 1;
        grid-row: 1 / 3;
        width: 90px;
        height: 90px;
        margin: 0;
        justify-self: center;
        align-self: center;
    }

    .problem-card__title {
        grid-column: 2;
        grid-row: 1;
        margin: 0 0 6px;
        min-height: auto;
        text-align: center;
    }

    .problem-card__text {
        grid-column: 2;
        grid-row: 2;
        margin: 0;
        text-align: left;
    }

    /* =========Feature セクション========= */
    .feature-step,
    .feature-step--reverse {
        grid-template-columns: 1fr;
        gap: 14px;
        padding: 28px 0;
    }

    .feature-step--reverse .feature-step__text,
    .feature-step--reverse .feature-step__media {
        order: initial;
    }

    .feature-step__num {
        font-size: 30px;
        line-height: 1;
        margin-bottom: 6px;
    }

    .feature-step__headline {
        font-size: 20px;
        line-height: 1.45;
        margin-bottom: 20px;
    }

    .feature-step__desc {
        font-size: 15px;
        line-height: 1.75;
    }


    /* =========About セクション========= */
    .about-card {
        width: 100%;
        max-width: 340px;
        min-height: 0;
        margin-inline: auto;
    }

    .about__lead {
        font-size: 15px;
        line-height: 1.9;
        text-align: left;
        padding: 0 8px;
    }

    .about .container {
        padding-bottom: 64px;
    }

    .about__grid {
        grid-template-columns: 1fr;
        justify-items: center;
        gap: 18px;
        margin-top: 36px;
    }

    .about__bg-text {
        font-size: 90px;
        bottom: -0.06em;
        color: rgba(255, 255, 255, 0.20);
    }

    /* ========= CTA ========= */
    .cta__title {
        font-size: 22px;
    }

    .btn--cta {
        width: min(250px, 100%);
        height: 54px;
        font-size: 18px;
        min-width: auto;
    }

    .btn--cta::after {
        right: -50px;
    }

    /* =========Function セクション========= */
    .function__grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .btn--outline {
        width: min(350px, 100%);
    }

    .function__panel {
        padding: 28px 20px;
    }

    .function__icons {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }

    .function__icon img {
        width: 80px;
        height: 80px;
    }

    .function__icon p {
        font-size: 18px;
    }

    .function-modal__dialog {
        width: calc(100% - 32px);
    }

    .function-modal__header {
        min-height: 48px;
        padding-right: 52px;
    }

    .function-modal__header-title {
        font-size: 18px;
    }

    .function-modal__body {
        padding: 18px 16px 20px;
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .function-modal__media {
        min-height: 110px;
        padding: 14px;
    }

    .function-modal__image {
        max-width: 96px;
    }

    .function-modal__title {
        font-size: 24px;
        margin-bottom: 8px;
    }

    .function-modal__text {
        font-size: 16px;
    }


    /* =========Flow セクション========= */
    .flow-steps {
        display: none;
    }

    .flow-step {
        width: 100%;
        height: auto;
        min-height: 112px;
        padding: 12px 8px;
        border-width: 2px;
        border-radius: 14px;
        flex-direction: column;
        justify-content: center;
        gap: 8px;
    }

    .flow-step:not(:last-child)::after {
        display: none;
    }

    .flow-step__num {
        font-size: 16px;
        min-width: 0;
    }

    .flow-step__icon {
        width: 30px;
    }

    .flow-step__label {
        font-size: 13px;
        line-height: 1.4;
        text-align: center;
    }

    .flow-steps-sp {
        margin-top: 32px;
        display: grid;
        gap: 12px;
    }

    .flow-steps-sp__list {
        list-style: none;
        margin: 0;
        padding: 0;
        display: grid;
        gap: 12px;
    }

    .flow-steps-sp__list--row1 {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .flow-steps-sp__list--row2 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .flow-steps-sp__list .flow-step:not(:last-child)::after {
        display: none;
    }

    .flow-durations {
        display: none;
    }

    .flow-duration-row-sp {
        position: relative;
        height: 34px;
        margin-top: -2px;
    }

    .flow-duration-row-sp::before {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        height: 2px;
        background: rgba(0, 0, 0, 0.75);
        border-radius: 2px;
    }

    .flow-duration-row-sp__label {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 180px;
        height: 32px;
        padding: 0 14px;
        border-radius: 999px;
        background: #009EDB;
        color: #fff;
        font-size: 13px;
        font-weight: 800;
        white-space: nowrap;
    }

    .flow-total {
        margin-top: 24px;
        padding: 16px 14px;
        font-size: 20px;
    }

    /* =========FAQ セクション========= */
    .faq-card {
        padding: 22px 20px;
    }

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

    /* =========Contact セクション========= */
    .background-cxone-left,
    .background-cxone-right {
        font-size: 6.2em;
    }

    .background-cxone-left {
        left: -8px;
        bottom: 0;
    }

    .background-cxone-right {
        display: none;
    }

    .contact-cta {
        max-width: 100%;
        height: auto;
        min-height: 200px;
        padding: 24px 16px;
        border-radius: 10px;
        gap: 14px;
    }

    .contact-cta__lead {
        font-size: 16px;
        line-height: 1.6;
    }

    .contact-cta__btn {
        margin-top: 0;
        width: min(250px, calc(100% - 72px));
        height: 52px;
        font-size: 18px;
        padding: 0 16px;
    }

    .contact-cta__btn.btn--cta::after {
        right: -50px;
        width: 60px;
        height: 60px;
    }

    /* =========Footer========= */
    .footer__inner {
        flex-direction: row;
        align-items: flex-start;
        justify-content: space-between;
        gap: 6px;
        padding: 8px 16px 6px;
    }

    .footer__logo {
        flex: 0 0 auto;
    }

    .footer__logo img {
        height: 28px;
    }

    .footer__links {
        display: grid;
        grid-template-columns: repeat(2, auto);
        gap: 2px 10px;
        width: auto;
        margin-inline: 0;
        justify-content: end;
        padding-right: 8px;
    }

    .footer__links a {
        font-size: 9px;
    }

    .footer__copyright {
        font-size: 10px;
        padding: 4px 0 6px;
    }
}
