/* リセット・共通 */
*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue",
        "Segoe UI", "游ゴシック体", "YuGothic", "ヒラギノ角ゴ ProN W3",
        "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, sans-serif;
    line-height: 1.7;
    color: #333;
    background-color: #fff;
}

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

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

.container {
    width: 90%;
    max-width: 1080px;
    margin: 0 auto;
}

/* ヘッダー */
.header {
    position: sticky;
    top: 0;
    z-index: 10;
    background-color: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid #eee;
    backdrop-filter: blur(8px);
}

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

.header__logo a {
    font-weight: 700;
    font-size: 18px;
    letter-spacing: 0.05em;
}

.header__nav ul {
    display: flex;
    gap: 16px;
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 14px;
}

.header__nav a {
    padding: 6px 10px;
    border-radius: 999px;
    transition: background-color 0.2s, color 0.2s;
}

.header__nav a:hover {
    background-color: #f0f4ff;
}

.header__cta {
    background-color: #2563eb;
    color: #fff;
}

.header__cta:hover {
    background-color: #1d4ed8;
}

/* ボタン共通 */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 999px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    text-align: center;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
    font-size: 15px;
}

.btn--primary {
    background-color: #2563eb;
    color: #fff;
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.25);
}

.btn--primary:hover {
    background-color: #1d4ed8;
    transform: translateY(-1px);
    box-shadow: 0 12px 25px rgba(37, 99, 235, 0.35);
}

/* ヒーロー */
.hero {
    padding: 80px 0 60px;
    background: linear-gradient(135deg, #eff4ff 0%, #ffffff 60%, #eef2ff 100%);
}

.hero__inner {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 40px;
    align-items: center;
}

.hero__badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 999px;
    background-color: #e0edff;
    color: #1d4ed8;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 12px;
}

.hero__title {
    font-size: 28px;
    margin: 0 0 12px;
}

.hero__title span {
    color: #1d4ed8;
}

.hero__lead {
    font-size: 16px;
    margin-bottom: 16px;
}

.hero__price {
    font-size: 22px;
    font-weight: 700;
    color: #dc2626;
}

.hero__points {
    margin: 0 0 20px;
    padding-left: 18px;
    font-size: 14px;
}

.hero__points li {
    margin-bottom: 4px;
}

.hero__btn {
    margin-bottom: 8px;
}

.hero__note {
    font-size: 12px;
    color: #555;
}

.hero__image-placeholder {
    border-radius: 18px;
    border: 1px dashed #94a3b8;
    padding: 40px 20px;
    text-align: center;
    font-size: 14px;
    color: #64748b;
    background-color: #f8fafc;
}

/* セクション共通 */
.section {
    padding: 60px 0;
}

.section--gray {
    background-color: #f9fafb;
}

.section__title {
    font-size: 24px;
    text-align: center;
    margin: 0 0 8px;
}

.section__subtitle {
    text-align: center;
    font-size: 14px;
    color: #555;
    margin: 0 0 32px;
}

/* コンセプト */
.concept {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.concept__block h3 {
    font-size: 18px;
    margin-top: 0;
    margin-bottom: 10px;
}

.concept__list {
    padding-left: 18px;
    margin: 8px 0 12px;
    font-size: 14px;
}

/* 強み */
.features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.feature-card {
    background-color: #fff;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
    border: 1px solid #e5e7eb;
}

.feature-card h3 {
    font-size: 16px;
    margin-top: 0;
    margin-bottom: 10px;
}

/* 料金表 */
.price-table-wrapper {
    overflow-x: auto;
}

.price-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    background-color: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
}

.price-table th,
.price-table td {
    padding: 10px 12px;
    border-bottom: 1px solid #e5e7eb;
}

.price-table thead {
    background-color: #eff4ff;
}

.price-table__price {
    font-weight: 700;
    color: #1d4ed8;
}

.price-notes {
    font-size: 12px;
    color: #555;
    margin-top: 16px;
    padding-left: 18px;
}

/* 流れ */
.flow {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.flow-step {
    background-color: #fff;
    border-radius: 14px;
    padding: 16px;
    border: 1px solid #e5e7eb;
}

.flow-step__number {
    font-size: 11px;
    font-weight: 700;
    color: #2563eb;
    margin-bottom: 6px;
}

/* FAQ */
.faq {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}

.faq-item {
    background-color: #fff;
    border-radius: 12px;
    padding: 14px 16px;
    border: 1px solid #e5e7eb;
}

.faq-item h3 {
    font-size: 14px;
    margin: 0 0 6px;
}

.faq-item p {
    font-size: 13px;
    margin: 0;
}

/* お問い合わせフォーム */
.contact-form {
    max-width: 640px;
    margin: 0 auto;
    background-color: #fff;
    padding: 24px 20px;
    border-radius: 16px;
    box-shadow: 0 15px 35px rgba(15, 23, 42, 0.08);
    border: 1px solid #e5e7eb;
}

.contact-form__group {
    margin-bottom: 14px;
}

.contact-form label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 4px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 8px 10px;
    border-radius: 8px;
    border: 1px solid #d1d5db;
    font-size: 13px;
    font-family: inherit;
}

.contact-form textarea {
    resize: vertical;
}

.contact-form__submit {
    text-align: center;
    margin-top: 10px;
}

.contact-form__note {
    font-size: 11px;
    color: #555;
    margin-top: 10px;
    text-align: center;
}

/* フッター */
.footer {
    background-color: #0f172a;
    color: #e5e7eb;
    padding: 24px 0;
    margin-top: 40px;
    font-size: 12px;
}

.footer__inner {
    text-align: center;
}

.footer__name {
    font-weight: 700;
    margin: 0 0 4px;
}

.footer__info {
    margin: 0 0 8px;
}

/* レスポンシブ */
@media (max-width: 900px) {
    .hero__inner {
        grid-template-columns: 1fr;
    }

    .hero {
        padding-top: 72px;
    }

    .concept {
        grid-template-columns: 1fr;
    }

    .features {
        grid-template-columns: 1fr;
    }

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

    .header__nav ul {
        display: none; /* シンプルに一旦PCのみ表示。スマホは後からハンバーガー導入でOK */
    }
}

@media (max-width: 600px) {
    .hero__title {
        font-size: 22px;
    }

    .hero__lead {
        font-size: 14px;
    }

    .section__title {
        font-size: 20px;
    }
}
/* ハンバーガーボタン（PCでは非表示） */
.header__toggle {
    display: none;
    width: 32px;
    height: 28px;
    padding: 0;
    border: none;
    background: none;
    cursor: pointer;
    flex-direction: column;
    justify-content: space-between;
}

.header__toggle span {
    display: block;
    width: 100%;
    height: 3px;
    border-radius: 999px;
    background-color: #0f172a;
    transition: transform 0.2s ease, opacity 0.2s ease, top 0.2s ease, bottom 0.2s ease;
}

/* スマホ表示用レイアウト */
@media (max-width: 900px) {
    .hero {
        padding-top: 72px;
    }

    .hero__inner {
        grid-template-columns: 1fr;
    }

    .concept {
        grid-template-columns: 1fr;
    }

    .features {
        grid-template-columns: 1fr;
    }

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

    /* ハンバーガーを表示 */
    .header__toggle {
        display: flex;
    }

    /* ナビをドロップダウン表示に変更 */
    .header__nav {
        position: absolute;
        inset: 56px 0 auto 0; /* ヘッダーの下に出す */
        background-color: #ffffff;
        border-bottom: 1px solid #e5e7eb;
        box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08);
        display: none; /* デフォルトは非表示 */
    }

    .header__nav ul {
        flex-direction: column;
        padding: 12px 16px 16px;
        gap: 4px;
    }

    .header__nav li {
        list-style: none;
    }

    .header__nav a {
        display: block;
        padding: 10px 8px;
        border-radius: 8px;
    }

    .header__nav a.header__cta {
        text-align: center;
        border-radius: 999px;
        margin-top: 4px;
    }

    /* メニュー開いたとき */
    .header__nav.is-open {
        display: block;
    }

    /* ハンバーガー開閉アニメーション */
    .header__toggle.is-open span:nth-child(1) {
        transform: translateY(12px) rotate(45deg);
    }

    .header__toggle.is-open span:nth-child(2) {
        opacity: 0;
    }

    .header__toggle.is-open span:nth-child(3) {
        transform: translateY(-12px) rotate(-45deg);
    }
}
