
@charset "UTF-8";

:root {
    color-scheme: light;
    --lp-width: 520px;
    --lp-bg: #fff;
    --page-bg: #f3f1ee;
    --text: #292522;
    --focus: #1769aa;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--text);
    background: var(--page-bg);
    font-family: -apple-system, BlinkMacSystemFont, "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
    line-height: 1.7;
}

/* 共通ラッパー */
.lp-shell {
    container-type: inline-size;
    width: min(100%, var(--lp-width));
    margin-inline: auto;
}

/* メインコンテンツ */
.lp-main,
.legal-main {
    width: 100%;
    margin-inline: auto;
    background: var(--lp-bg);
    font-size: max(14px, 3.2cqw);
}

.lp-main,
.legal-main,
.site-footer {
    overflow: clip;
    box-shadow: 0 0 24px rgb(0 0 0 / 6%);
}

/* 共通タイポグラフィ */
h1 {
    font-size: 1.7em;
}

h2 {
    font-size: 1.2em;
}

p,
li,
th,
td {
    font-size: 1em;
}

/* セクション */
.lp-section,
.lp-cta {
    width: 100%;
}

.lp-section img {
    width: 100%;
    height: auto;
}

/* CTA配置用グループ */
.lp-section-group {
    position: relative;
}

/* CTA */
.lp-cta {
    position: absolute;
    z-index: 2;
    top: var(--cta-top, auto);
    bottom: var(--cta-bottom, auto);
    left: 0;
    right: 0;
    margin-inline: auto;
    width: 80%;
    padding: 0;
    background: transparent;
}

.btn-cta {
    display: block;
    width: 100%;
    max-width: 680px;
    margin-inline: auto;
    border-radius: 999px;
    text-decoration: none;
}

.btn-cta img {
    display: block;
    width: 100%;
    height: auto;
}

.btn-cta:hover {
    opacity: .9;
}

/* CTAボタンの個別配置 */
.lp-section-group--fv {
    --cta-bottom: 4%;
}

.lp-section-group--s7 {
    --cta-bottom: 0.7%;
    margin-bottom: 11%;
}

.lp-section-group--s10 {
    --cta-bottom: 6.5%;
}

.lp-section-group--s12 {
    --cta-bottom: 54.5%;
}

.lp-section-group--s14 {
    --cta-bottom: 6.3%;
    padding-bottom: 8%;
}

/* フッター */
.site-footer {
    box-sizing: border-box;
    width: 100%;
    margin-inline: auto;
    padding: 1.5em 1em;
    background: #ff8a03;
    color: #fff;
    text-align: center;
    font-size: max(12px, 2.8cqw);
}

.site-footer nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .5em 1.5em;
    margin-bottom: 12px;
}

.site-footer a {
    color: inherit;
    text-decoration: none;
}

/* スキップリンク */
.skip-link {
    position: absolute;
    z-index: 100;
    top: 8px;
    left: 8px;
    padding: 8px 12px;
    color: #111;
    background: #fff;
    transform: translateY(-150%);
}

.skip-link:focus {
    transform: translateY(0);
}

/* スマートフォン */
@media (max-width: 600px) {
    body {
        background: #fff;
    }

    .lp-main {
        box-shadow: none;
    }
}

/* 法的表記ページ共通 */
.legal-page {
    min-height: 100vh;
    background: var(--page-bg, #fff);
    color: var(--text, #292522);
    line-height: 1.8;
}

.legal-main {
    margin-top: 4%;
    padding: 1em 1.25em 2em;
}

.legal-article {
    overflow-wrap: anywhere;
}

.legal-article h1 {
    margin: 8% 0;
    color: var(--policy-heading, #292522);
    font-weight: 500;
    line-height: 1.5;
    text-align: center;
}

.legal-article h2 {
    margin: 1.5em 0 1em;
    color: var(--policy-heading, #292522);
    font-weight: 500;
    line-height: 1.5;
}

.legal-article p {
    margin: 1em 0;
}

.legal-article ol,
.legal-article ul {
    margin: 1.5em 0;
    padding-left: 2em;
}

.legal-article li {
    margin-bottom: .5em;
}

.legal-article li > ul {
    margin: .5em 0;
}

.legal-article a {
    color: inherit;
    overflow-wrap: anywhere;
}

/* プライバシーポリシー：お問い合わせ表 */
.legal-contact-table {
    width: 100%;
    margin-top: 2em;
    border-collapse: collapse;
}

.legal-contact-table th,
.legal-contact-table td {
    padding: 0 0 0.5em;
    vertical-align: top;
    text-align: left;
}

.legal-contact-table th {
    width: 6em;
    padding-right: 1.5em;
    font-weight: 500;
    white-space: nowrap;
}

.legal-contact-table td {
    padding-left: 1em;
}

/* 特定商取引法：表示表 */
.tokusho-table {
    width: 100%;
    border: 3px solid var(--policy-heading, #292522);
    border-spacing: 0;
    border-radius: 8px;
    overflow: hidden;
}

.tokusho-table th,
.tokusho-table td {
    display: block;
    width: 100%;
    padding: .5em 1em;
    text-align: left;
}

.tokusho-table th {
    background: var(--policy-heading, #292522);
    color: #fff;
    font-weight: 500;
}

.tokusho-table td {
    border-bottom: 1px solid var(--policy-heading, #292522);
}

.tokusho-table tr:last-child td {
    border-bottom: none;
}

/* スマートフォン */
@media (max-width: 600px) {
    .legal-main {
        margin: 8% auto;
    }

    .legal-contact-table th,
    .legal-contact-table td {
        display: block;
        width: 100%;
    }

    .legal-contact-table th {
        padding-bottom: 0;
    }

    .legal-contact-table td {
        padding-left: 0;
    }
}

/* モーション軽減 */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .btn-cta {
        animation: none;
        transition: none;
    }

    .legal-page {
        scroll-behavior: auto;
    }
}
