/* ============================================================
   Taskit Landing Page
   GPT Image 2.5 で作った改善案（tasks/docs/HPデザイン改善/改善案画像/）をもとにしたデザイン
   - あたたかい白の背景に、明るいオレンジを1色
   - 見出しは極太。強調したい言葉だけオレンジ（<em>）
   - オレンジの線のアイコンを淡いオレンジの丸に入れる
   - 白いカード、大きめの角丸、やわらかい影
   - 人物は今風の3Dイラスト（hp/illust/）
   ============================================================ */

:root {
    --bg: #FBF8F5;
    --bg-white: #FFFFFF;
    --bg-peach: #FFF4EC;

    --ink: #1C1B19;
    --text: #3A3733;
    --muted: #7C7771;
    --subtle: #A39E97;

    --accent: #EE6A3C;
    --accent-hover: #D9562A;
    --accent-soft: #FDEBE2;
    --accent-line: rgba(238, 106, 60, 0.22);

    --line: rgba(60, 40, 20, 0.09);
    --shadow-card: 0 1px 2px rgba(60, 40, 20, 0.04), 0 10px 30px rgba(60, 40, 20, 0.06);
    --shadow-float: 0 4px 10px rgba(60, 40, 20, 0.06), 0 18px 44px rgba(60, 40, 20, 0.10);

    --font-display: 'Zen Kaku Gothic New', 'Noto Sans JP', sans-serif;
    --font-body: 'DM Sans', 'Noto Sans JP', sans-serif;
    --font-mono: 'Menlo', monospace;

    --section-padding: 112px;
    --container-max: 1120px;

    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
}

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

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.75;
    overflow-x: hidden;
}

img,
video {
    max-width: 100%;
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
}

section,
#download {
    position: relative;
    padding: var(--section-padding) 0;
    overflow: hidden;
}

h1, h2, h3 {
    font-family: var(--font-display);
    color: var(--ink);
    font-feature-settings: 'palt';
    word-break: auto-phrase;
}

h1 {
    font-size: clamp(2.4rem, 4.6vw, 3.8rem);
    font-weight: 900;
    line-height: 1.25;
}

/* 1行ずつ折り返さずに置く */
h1 span,
h1 em {
    display: block;
    white-space: nowrap;
}

h2 {
    font-size: clamp(1.9rem, 3.6vw, 2.8rem);
    font-weight: 900;
    line-height: 1.38;
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.55;
}

h1 em,
h2 em,
.closing-line em {
    font-style: normal;
    color: var(--accent);
}

p {
    color: var(--muted);
    word-break: auto-phrase;
}

li {
    word-break: auto-phrase;
}

code {
    font-family: var(--font-mono);
    font-size: 0.88em;
    background: var(--accent-soft);
    color: var(--accent-hover);
    padding: 0.1em 0.4em;
    border-radius: 5px;
}

::selection {
    background: var(--accent-soft);
    color: var(--accent-hover);
}

:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

:target {
    scroll-margin-top: 80px;
}

/* ============================================
   共通の部品
   ============================================ */

.section-header {
    margin-bottom: 3.5rem;
}

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

.section-desc {
    font-size: 1.05rem;
    line-height: 1.9;
    color: var(--muted);
}

.pill {
    display: inline-block;
    margin-bottom: 1.1rem;
    padding: 0.35rem 1rem;
    border-radius: 999px;
    background: var(--accent-soft);
    color: var(--accent);
    font-size: 0.85rem;
    font-weight: 700;
}

.icon-circle {
    flex: none;
    display: inline-grid;
    place-items: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--accent-soft);
    color: var(--accent);
    font-size: 1.3rem;
}

.icon-circle--sm {
    width: 38px;
    height: 38px;
    font-size: 0.95rem;
}

.icon-circle--lg {
    width: 72px;
    height: 72px;
    font-size: 1.6rem;
}

/* アイコン＋見出し＋一行。縦の仕切りで区切った横並び */
.benefit-row {
    display: grid;
    list-style: none;
}

.benefit-row--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.benefit-row--4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.benefit-row li {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.9rem;
    padding: 0 1.5rem;
    text-align: center;
}

.benefit-row li + li {
    border-left: 1px solid var(--line);
}

.benefit-row h3 {
    font-size: 1.12rem;
}

.benefit-row p {
    margin-top: -0.4rem;
    font-size: 0.92rem;
    line-height: 1.8;
}

/* 吹き出し・ふせん */
.soft-bubble {
    position: absolute;
    padding: 0.9rem 1.25rem;
    border-radius: 24px;
    background: var(--accent-soft);
    color: var(--ink);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.95rem;
    line-height: 1.6;
}

.release-note {
    margin-top: 1.25rem;
    font-size: 0.8rem;
    line-height: 1.8;
    color: var(--muted);
}

/* ============================================
   ナビ
   ============================================ */

#navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 64px;
    display: flex;
    align-items: center;
    background: rgba(251, 248, 245, 0.82);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border-bottom: 1px solid var(--line);
    z-index: 100;
    transition: box-shadow 0.3s var(--ease-out-quart);
}

#navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 28px;
    width: auto;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--muted);
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--ink);
}

.nav-links .nav-cta {
    padding: 0.5rem 1.1rem;
    border-radius: 10px;
    background: var(--accent);
    color: white;
    font-weight: 700;
}

.nav-links .nav-cta:hover {
    background: var(--accent-hover);
    color: white;
}

/* ============================================
   ボタン
   ============================================ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.8rem 1.6rem;
    border-radius: 14px;
    border: 1px solid transparent;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.25s var(--ease-out-quart), background 0.25s, box-shadow 0.25s;
}

.btn-primary {
    background: var(--accent);
    color: white;
    box-shadow: 0 8px 20px rgba(238, 106, 60, 0.28);
}

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

.btn-outline {
    background: white;
    color: var(--ink);
    border-color: var(--line);
    box-shadow: var(--shadow-card);
}

.btn-outline:hover {
    transform: translateY(-2px);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.02rem;
}

.btn-block {
    width: 100%;
}

.icon-btn svg {
    flex-shrink: 0;
}

/* ============================================
   ヒーロー
   ============================================ */

#hero {
    position: relative;
    padding: 140px 0 80px;
    overflow: hidden;
    background:
        radial-gradient(ellipse 50% 60% at 85% 30%, rgba(253, 225, 208, 0.75), transparent 70%),
        radial-gradient(ellipse 40% 40% at 5% 90%, rgba(253, 235, 226, 0.6), transparent 70%),
        var(--bg);
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.15fr);
    gap: 3.5rem;
    align-items: center;
}

.hero-content h1 {
    margin-bottom: 1.5rem;
}

.subtitle {
    font-size: 1.08rem;
    line-height: 1.95;
    color: var(--text);
    margin-bottom: 2rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
}

.hero-visual {
    position: relative;
}

/* ヒーローの画面は、アプリの画面を実寸の比率で録った動画（タイトルバーも動画に含まれる） */
.hero-screen {
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid var(--line);
    box-shadow: 0 30px 80px rgba(60, 40, 20, 0.14), 0 6px 18px rgba(60, 40, 20, 0.05);
}

.engine-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.6rem;
    margin-top: 1.4rem;
}

.engine-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.4rem 0.85rem 0.4rem 0.45rem;
    border-radius: 999px;
    background: white;
    border: 1px solid var(--line);
    color: var(--ink);
    font-size: 0.82rem;
    font-weight: 700;
}

.engine-chip i {
    display: grid;
    place-items: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--accent-soft);
    color: var(--accent);
    font-size: 0.7rem;
}

.engine-row-label {
    font-size: 0.82rem;
    color: var(--muted);
}

#hero .benefit-row {
    margin-top: 5rem;
}

/* ============================================
   悩み
   ============================================ */

#problems {
    background: var(--bg-white);
}

.worry-stage {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    gap: 1.5rem;
    align-items: center;
}

.worry-scene,
.relief-scene {
    position: relative;
    min-height: 430px;
    border-radius: 48% 52% 46% 54% / 55% 50% 50% 45%;
}

.worry-scene {
    background: radial-gradient(ellipse at 50% 60%, #F4EFEA, #F8F5F1 70%);
}

.relief-scene {
    background: radial-gradient(ellipse at 40% 60%, #FDE6D8, #FFF3EC 70%);
}

.scene-person {
    position: absolute;
    bottom: 0;
    width: 62%;
    height: auto;
}

.worry-scene .scene-person {
    left: 50%;
    transform: translateX(-50%);
}

.relief-scene .scene-person {
    left: 0;
    width: 64%;
}

.bubble {
    position: absolute;
    padding: 0.8rem 1.1rem;
    border-radius: 22px;
    background: white;
    box-shadow: var(--shadow-card);
    color: var(--ink);
    font-size: 0.92rem;
    font-weight: 500;
    line-height: 1.6;
    white-space: nowrap;
}

/* 考えごとの吹き出しの、小さな丸 */
.bubble::after {
    content: '';
    position: absolute;
    bottom: -12px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: white;
    box-shadow: var(--shadow-card);
}

.bubble--1 { top: 2%; left: 4%; }
.bubble--1::after { right: 22%; }
.bubble--2 { top: 8%; right: 0; }
.bubble--2::after { left: 22%; }
.bubble--3 { top: 46%; left: -2%; }
.bubble--3::after { right: 18%; }
.bubble--4 { top: 52%; right: -4%; }
.bubble--4::after { left: 18%; }

.stage-arrow {
    color: var(--accent);
    font-size: 1.8rem;
}

.relief-card {
    position: absolute;
    top: 50%;
    right: -4%;
    transform: translateY(-50%);
    width: 62%;
    padding: 0.6rem 0.9rem;
    border-radius: 20px;
    background: white;
    box-shadow: var(--shadow-float);
    list-style: none;
}

.relief-card li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem 0.2rem;
    color: var(--ink);
    font-size: 0.9rem;
    font-weight: 500;
    line-height: 1.5;
}

.relief-card li + li {
    border-top: 1px solid var(--line);
}

.closing-line {
    margin-top: 4rem;
    text-align: center;
    font-family: var(--font-display);
    font-size: clamp(1.35rem, 2.6vw, 2rem);
    font-weight: 900;
    line-height: 1.6;
    color: var(--ink);
}

/* ============================================
   違い
   ============================================ */

#compare {
    background:
        radial-gradient(ellipse 40% 50% at 100% 0%, rgba(253, 225, 208, 0.5), transparent 70%),
        var(--bg);
}

.flow-diagram {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    gap: 1.25rem;
    align-items: stretch;
}

.flow-panel {
    display: flex;
    flex-direction: column;
    padding: 2rem 2rem 1.75rem;
    border-radius: 24px;
    background: white;
    box-shadow: var(--shadow-card);
}

.flow-panel--taskit {
    background: linear-gradient(160deg, #FFF8F3, #FFEEE4);
    border: 1px solid var(--accent-line);
}

.flow-panel-title {
    font-size: 1.4rem;
    font-weight: 900;
}

.flow-panel--taskit .flow-panel-title {
    color: var(--accent);
}

.flow-panel-sub {
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.flow-body {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.flow-steps {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    list-style: none;
}

.flow-steps li {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.7rem;
}

.flow-app {
    flex: 0 0 6.5rem;
    padding: 0.45rem 0;
    border-radius: 9px;
    border: 1px solid var(--line);
    background: #F4F1EC;
    color: var(--text);
    font-size: 0.78rem;
    text-align: center;
}

.flow-app--ai {
    background: #FBEDE6;
}

.flow-app--browser {
    background: #ECEFF4;
}

/* アプリを切り替える所を、オレンジの点線でつなぐ */
.flow-steps:not(.flow-steps--one) li:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 3.25rem;
    top: 100%;
    height: 0.9rem;
    border-left: 1.5px dashed var(--accent);
}

.flow-text {
    flex: 1;
    padding: 0.45rem 0.8rem;
    border-radius: 9px;
    border: 1px solid var(--line);
    background: white;
    color: var(--ink);
    font-size: 0.88rem;
    white-space: nowrap;
}

.flow-tangle {
    flex: 0 0 132px;
    text-align: center;
}

.flow-tangle svg {
    width: 110px;
    height: auto;
}

.flow-tangle path {
    fill: none;
    stroke: #CBC5BD;
    stroke-width: 1.5;
    stroke-linecap: round;
}

.flow-sigh {
    display: inline-block;
    margin-top: -0.25rem;
    padding: 0.5rem 0.75rem;
    border-radius: 12px;
    background: #8F8A84;
    color: white;
    font-size: 0.72rem;
    line-height: 1.5;
    white-space: nowrap;
    transform: rotate(-3deg);
}

.flow-steps--one {
    gap: 1.1rem;
    counter-reset: flow-step;
}

.flow-steps--one li {
    gap: 0.8rem;
    color: var(--ink);
    font-size: 0.94rem;
    white-space: nowrap;
    font-weight: 500;
}

.flow-steps--one li::before {
    counter-increment: flow-step;
    content: counter(flow-step);
    flex: 0 0 1.9rem;
    height: 1.9rem;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--accent);
    color: white;
    font-size: 0.82rem;
    font-weight: 700;
}

.mini-window {
    position: relative;
    flex: 0 0 112px;
    padding: 0.6rem 0.75rem 1.1rem;
    border-radius: 14px;
    background: white;
    box-shadow: var(--shadow-float);
}

.mini-window-bar {
    display: flex;
    gap: 4px;
    margin-bottom: 0.5rem;
}

.mini-window-bar i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #E2DDD6;
}

.mini-row {
    position: relative;
    display: block;
    height: 24px;
    margin-top: 7px;
    border-radius: 7px;
    background: #F7F4F0;
}

.mini-row::before {
    content: '';
    position: absolute;
    left: 7px;
    top: 5px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 2px solid #D8D2CA;
}

.mini-row::after {
    content: '';
    position: absolute;
    left: 30px;
    right: 14px;
    top: 10px;
    height: 4px;
    border-radius: 2px;
    background: #E4DFD8;
}

.mini-row.is-done::before {
    border-color: var(--accent);
    background: var(--accent);
}

.mini-row.is-doing::before {
    border-color: var(--accent);
    border-style: dashed;
}

.mini-tag {
    position: absolute;
    white-space: nowrap;
    right: -26px;
    bottom: -22px;
    padding: 0.45rem 0.75rem;
    border-radius: 12px;
    background: var(--accent);
    color: white;
    font-size: 0.74rem;
    font-weight: 700;
    line-height: 1.45;
    transform: rotate(-5deg);
    box-shadow: 0 8px 18px rgba(238, 106, 60, 0.3);
}

.flow-caption {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-top: 1.75rem;
    padding-top: 1.1rem;
    border-top: 1px solid var(--line);
    font-size: 0.9rem;
}

.flow-caption strong {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 900;
    line-height: 1;
    color: var(--ink);
}

.flow-panel--taskit .flow-caption strong {
    color: var(--accent);
}

.flow-arrow-mid {
    align-self: center;
    color: var(--accent);
    font-size: 1.6rem;
}

.compare-note {
    margin-top: 2rem;
    text-align: center;
    font-size: 0.95rem;
}

/* ============================================
   使うと変わること
   ============================================ */

#feel {
    background: var(--bg-white);
}

.board-stage {
    position: relative;
    max-width: 940px;
    margin: 0 auto 4.5rem;
}

.board-frame {
    padding: 10px;
    border-radius: 20px;
    border: 1px solid var(--line);
    background: white;
    box-shadow: var(--shadow-float);
}

.board-frame .app-mock {
    border-radius: 12px;
}

.tag-note {
    position: absolute;
    padding: 0.8rem 1.15rem;
    border-radius: 18px;
    background: var(--accent-soft);
    color: var(--accent-hover);
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.5;
    text-align: center;
    box-shadow: var(--shadow-card);
}

.tag-note--left {
    left: -80px;
    top: 14%;
    transform: rotate(-6deg);
}

.tag-note--right {
    right: -80px;
    bottom: 18%;
    transform: rotate(5deg);
}

/* ============================================
   主な機能
   ============================================ */

#showcase {
    background: var(--bg);
}

.demo-frame {
    max-width: 960px;
    margin: 0 auto 4rem;
    border-radius: 20px;
    overflow: hidden;
    background: white;
    box-shadow: var(--shadow-float);
}

.demo-frame video {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
}

.steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
    list-style: none;
}

.step {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 1.6rem;
    border-radius: 22px;
    background: white;
    box-shadow: var(--shadow-card);
}

/* 次の手順への矢印 */
.step:not(:last-child)::after {
    content: '\f061';
    position: absolute;
    right: -1.55rem;
    top: 50%;
    transform: translateY(-50%);
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--accent);
    font-size: 1.1rem;
}

.step-head {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.step-number {
    display: grid;
    place-items: center;
    width: 2.2rem;
    height: 2.2rem;
    border-radius: 50%;
    background: var(--accent-soft);
    color: var(--accent);
    font-weight: 700;
}

.step h3 {
    font-size: 1.4rem;
    font-weight: 900;
}

.step p {
    flex: 1;
    margin: 0.7rem 0 1.1rem;
    font-size: 0.9rem;
    line-height: 1.8;
}

.step-visual {
    aspect-ratio: 4 / 3;
    display: flex;
    align-items: var(--step-align, center);
    border-radius: 12px;
    border: 1px solid var(--line);
    background: var(--step-bg, white);
    overflow: hidden;
}

.step-visual .app-mock {
    flex: 1;
    background: transparent;
}

.tile-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
}

.tile {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding: 2rem;
    border-radius: 24px;
    background: white;
    box-shadow: var(--shadow-card);
}

.tile--wide {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    align-items: center;
    gap: 2.5rem;
}

.tile--reverse .tile-text {
    order: 2;
}

.tile-text .icon-circle {
    margin-bottom: 1rem;
}

.tile-label {
    display: block;
    font-size: 0.8rem;
    color: var(--subtle);
}

.tile h3 {
    margin: 0.15rem 0 0.6rem;
    font-size: 1.4rem;
    font-weight: 900;
    line-height: 1.5;
}

.tile p {
    font-size: 0.94rem;
    line-height: 1.85;
}

.tile-media {
    margin-top: auto;
}

.tile-media .app-mock {
    border-radius: 12px;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-card);
}

.tile-media--compact .app-mock {
    max-width: 300px;
    margin: 0 auto;
}

/* ============================================
   そのほかの機能
   ============================================ */

#more {
    background: var(--bg-white);
}

.more-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
}

.more-card {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    padding: 1.6rem 1.5rem;
    border-radius: 22px;
    border: 1px solid var(--line);
    background: linear-gradient(140deg, #FFFFFF 40%, #FFF3EB);
}

.more-card .icon-circle {
    margin-bottom: 0.6rem;
}

.more-card h3 {
    font-size: 1.08rem;
    line-height: 1.6;
}

.more-card p {
    font-size: 0.8rem;
    color: var(--subtle);
}

/* ============================================
   実績
   ============================================ */

#proof {
    background:
        radial-gradient(ellipse 35% 50% at 0% 100%, rgba(253, 225, 208, 0.55), transparent 70%),
        radial-gradient(ellipse 35% 50% at 100% 10%, rgba(253, 225, 208, 0.45), transparent 70%),
        var(--bg);
}

.proof-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
    max-width: 1000px;
    margin: 0 auto 3rem;
}

.proof-item {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1.75rem;
    border-radius: 22px;
    background: white;
    box-shadow: var(--shadow-card);
}

.proof-number {
    display: block;
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 900;
    line-height: 1;
    color: var(--ink);
}

.proof-number small {
    margin-left: 0.25rem;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--muted);
}

.proof-label {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.9rem;
    color: var(--text);
}

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

.cta-inline p {
    margin-top: 0.9rem;
    font-size: 0.85rem;
}

/* ============================================
   左に文章、右に絵（仕組み・料金・質問・ダウンロード）
   ============================================ */

.split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 3rem;
    align-items: center;
}

.split-visual {
    position: relative;
}

.split-visual::before {
    content: '';
    position: absolute;
    inset: 6% 4%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(253, 225, 208, 0.8), transparent 70%);
}

.split-visual img {
    position: relative;
    display: block;
    height: auto;
}

/* --- 仕組み --- */

#features {
    background: var(--bg-white);
}

#features .split {
    margin-bottom: 4.5rem;
}

.folder-visual img {
    width: 72%;
    max-width: 400px;
    margin: 0 auto;
}

.folder-visual .soft-bubble {
    top: 6%;
    right: 2%;
}

#features .benefit-row p {
    font-size: 0.88rem;
}

/* --- 料金 --- */

#pricing {
    background: var(--bg);
}

.split--pricing {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    align-items: center;
}

.pricing-aside {
    display: flex;
    align-items: flex-end;
    gap: 1rem;
    margin-top: 1.5rem;
}

.pricing-aside img {
    flex: 0 0 180px;
    width: 180px;
    height: auto;
}

.pricing-aside .release-note {
    margin: 0 0 1rem;
    font-size: 0.78rem;
}

.pricing-card {
    padding: 2.5rem;
    border-radius: 28px;
    border: 1px solid var(--line);
    background: white;
    box-shadow: 0 24px 64px rgba(60, 40, 20, 0.09);
}

.pricing-type {
    text-align: center;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text);
}

.pricing-amount {
    display: flex;
    justify-content: center;
    align-items: baseline;
    gap: 0.15rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--line);
    font-family: var(--font-display);
    color: var(--ink);
}

.pricing-currency {
    font-size: 2rem;
    font-weight: 900;
}

.pricing-value {
    font-size: 4.2rem;
    font-weight: 900;
    line-height: 1.1;
}

.pricing-features {
    list-style: none;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--line);
    color: var(--ink);
    font-size: 0.97rem;
}

.pricing-features li::before {
    content: '\f00c';
    flex: none;
    display: grid;
    place-items: center;
    width: 1.7rem;
    height: 1.7rem;
    border-radius: 50%;
    background: var(--accent-soft);
    color: var(--accent);
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 0.72rem;
}

.pricing-card .btn {
    margin-top: 1.75rem;
}

/* --- よくある質問 --- */

#faq {
    background: var(--bg-white);
}

.split--faq {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    align-items: start;
}

.faq-aside {
    position: relative;
    margin-top: 2rem;
}

.faq-aside img {
    display: block;
    width: 260px;
    max-width: 80%;
    height: auto;
}

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

.faq-item {
    border-radius: 18px;
    border: 1px solid var(--line);
    background: white;
    box-shadow: 0 1px 2px rgba(60, 40, 20, 0.03);
}

.faq-item summary {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    color: var(--ink);
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.5;
    list-style: none;
    cursor: pointer;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    margin-left: auto;
    padding-left: 1rem;
    color: var(--subtle);
    font-size: 1.4rem;
    font-weight: 400;
}

.faq-item[open] summary::after {
    content: '−';
}

.faq-item p {
    padding: 0 1.5rem 1.25rem 4.35rem;
    font-size: 0.92rem;
    line-height: 1.85;
}

/* --- ダウンロード --- */

#download {
    padding-bottom: 32px;
    background:
        radial-gradient(ellipse 45% 70% at 80% 40%, rgba(253, 219, 199, 0.75), transparent 70%),
        linear-gradient(180deg, var(--bg), var(--bg-peach));
}

.split--download {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
}

.split--download h2 {
    font-size: clamp(2.2rem, 4.6vw, 3.6rem);
    line-height: 1.3;
}

.download-lead {
    font-size: 1.08rem;
    color: var(--text);
}

.cta-license-note {
    margin-top: 0.75rem;
    font-size: 0.9rem;
}

.cta-license-note a {
    color: var(--accent);
    font-weight: 700;
}

.download-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.75rem;
}

.download-visual img {
    width: 100%;
    max-width: 460px;
    margin: 0 auto;
}

.float-tile {
    position: absolute;
    display: grid;
    place-items: center;
    width: 68px;
    height: 68px;
    border-radius: 20px;
    background: white;
    box-shadow: var(--shadow-float);
    color: var(--accent);
    font-size: 1.6rem;
}

.float-tile--a {
    top: 6%;
    left: 4%;
    transform: rotate(-8deg);
}

.float-tile--b {
    top: 16%;
    right: 2%;
    transform: rotate(8deg);
}

.footer-bottom {
    margin-top: 4.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--line);
    text-align: center;
    font-size: 0.8rem;
    color: var(--muted);
}

/* ============================================
   あしらい: きらめきの3本線と、手描き風の矢印（改善案画像のあしらいを再現）
   ============================================ */

.deco {
    position: absolute;
    display: block;
    pointer-events: none;
    background-repeat: no-repeat;
    background-size: contain;
    z-index: 2;
}

.deco-spark {
    width: 40px;
    height: 40px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Cg fill='none' stroke='%23EE6A3C' stroke-width='3.4' stroke-linecap='round'%3E%3Cpath d='M21 5l2 9'/%3E%3Cpath d='M8 12l7 6'/%3E%3Cpath d='M3 26l9 1'/%3E%3C/g%3E%3C/svg%3E");
}

.deco-arrow {
    width: 60px;
    height: 60px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cg fill='none' stroke='%23EE6A3C' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 6c2 26 18 44 46 48'/%3E%3Cpath d='M44 45l10 9-12 4'/%3E%3C/g%3E%3C/svg%3E");
}

/* 右向きのきらめき・左向きの矢印は左右反転で作る */
.deco--hero-r,
.deco--relief,
.deco--mini,
.deco--tag-r,
.deco--card,
.deco--proof-r,
.deco--pricing,
.deco--tag-r-arrow,
.deco--folder-arrow {
    transform: scaleX(-1);
}

.deco--hero-l { top: -34px; left: -30px; }
.deco--hero-r { top: -34px; right: -30px; }

.deco-tangle {
    position: absolute;
    left: 10%;
    bottom: 10%;
    width: 72px;
    height: auto;
    z-index: 1;
}

.deco-tangle path {
    fill: none;
    stroke: #BDB6AD;
    stroke-width: 2;
    stroke-linecap: round;
}

.deco--relief { top: 14%; right: -6%; }
.deco--mini { top: -34px; right: -34px; }

.tag-note .deco { transform-origin: center; }
.deco--tag-l { top: -34px; left: -26px; }
.deco--tag-r { top: -34px; right: -26px; }
.deco--tag-l-arrow { bottom: -58px; right: -8px; }
.deco--tag-r-arrow { bottom: -58px; left: -8px; }

.more-card { position: relative; }
.deco--card { top: 12px; right: 14px; width: 30px; height: 30px; }

.proof-grid { position: relative; }
.deco--proof-l { top: -30px; left: -34px; }
.deco--proof-r { top: -30px; right: -34px; }

.deco--folder-arrow { top: 26%; right: 14%; }
.deco--folder { top: 4%; left: 12%; }

.pricing-aside { position: relative; }
.deco--pricing { top: -18px; left: 150px; }

.deco--download { top: 2%; left: 22%; transform: scaleX(-1) rotate(-10deg); }

@media (max-width: 640px) {
    .deco,
    .deco-tangle {
        display: none;
    }
}

/* ============================================
   App mock - 実物の画面を切り出した動画の枠
   ============================================ */

.app-mock {
    position: relative;
    overflow: hidden;
    background: white;
    aspect-ratio: var(--mock-w) / var(--mock-h);
}

/* モックの動きを録った動画（hp/video/mock-*.mp4）。切り出し範囲と同じ縦横比で書き出してある */
.app-mock video {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ============================================
   アニメーション
   ============================================ */

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition:
        opacity 0.8s var(--ease-out-expo),
        transform 0.8s var(--ease-out-expo);
    transition-delay: calc(var(--delay, 0) * 0.1s);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

#hero .fade-in {
    transition-delay: calc(0.2s + var(--delay, 0) * 0.12s);
}

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

/* ============================================
   狭い画面
   ============================================ */

@media (max-width: 1100px) {
    .tag-note {
        display: none;
    }
}

@media (max-width: 960px) {
    :root {
        --section-padding: 84px;
    }

    .hero-grid,
    .split,
    .split--pricing,
    .split--faq {
        grid-template-columns: 1fr;
    }

    .hero-visual {
        margin-top: 1rem;
    }

    .worry-stage,
    .flow-diagram {
        grid-template-columns: 1fr;
    }

    .stage-arrow,
    .flow-arrow-mid {
        justify-self: center;
        transform: rotate(90deg);
    }

    .tile-grid,
    .tile--wide {
        grid-template-columns: 1fr;
    }

    .tile--reverse .tile-text {
        order: 0;
    }

    .steps {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

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

    .more-grid,
    .proof-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .benefit-row--4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        row-gap: 2rem;
    }

    .benefit-row--4 li:nth-child(3) {
        border-left: 0;
    }

    .faq-aside {
        display: none;
    }
}

@media (max-width: 640px) {
    :root {
        --section-padding: 72px;
    }

    .container {
        padding: 0 1.25rem;
    }

    .nav-links a:not(.nav-cta) {
        display: none;
    }

    #hero {
        padding-top: 110px;
    }

    .subtitle br {
        display: none;
    }

    .benefit-row--3,
    .benefit-row--4,
    .more-grid,
    .proof-grid {
        grid-template-columns: 1fr;
    }

    /* 左にアイコン、右に見出しと一行 */
    .benefit-row li {
        display: grid;
        grid-template-columns: 48px minmax(0, 1fr);
        column-gap: 1rem;
        row-gap: 0.2rem;
        align-items: center;
        text-align: left;
        padding: 0;
    }

    .benefit-row li .icon-circle {
        grid-row: span 2;
        width: 48px;
        height: 48px;
        font-size: 1.1rem;
    }

    .benefit-row li + li {
        border-left: 0;
    }

    .benefit-row--3,
    .benefit-row--4 {
        row-gap: 1.25rem;
    }

    .benefit-row h3 br {
        display: none;
    }

    .benefit-row p {
        margin-top: 0;
    }

    .more-card {
        display: grid;
        grid-template-columns: 48px minmax(0, 1fr);
        column-gap: 1rem;
        align-items: center;
        padding: 1.1rem 1.25rem;
    }

    .more-card .icon-circle {
        grid-row: span 2;
        width: 48px;
        height: 48px;
        margin: 0;
        font-size: 1.1rem;
    }

    .more-card h3 br {
        display: none;
    }

    .more-grid {
        gap: 0.75rem;
    }

    /* 悩み: 吹き出しは絵の上に重ねず、縦に並べる */
    .worry-scene,
    .relief-scene {
        min-height: 0;
        display: flex;
        flex-direction: column;
        gap: 0.6rem;
        padding: 1.5rem 1rem 0;
        border-radius: 28px;
    }

    .scene-person,
    .relief-scene .scene-person {
        position: static;
        width: 70%;
        margin: 0 auto;
        transform: none;
    }

    .worry-scene .scene-person {
        transform: none;
    }

    .bubble {
        position: static;
        white-space: normal;
    }

    .bubble::after {
        display: none;
    }

    .bubble br {
        display: none;
    }

    .bubble--2,
    .bubble--4 {
        margin-left: 2rem;
    }

    .relief-card {
        position: static;
        transform: none;
        width: auto;
        order: -1;
    }

    .flow-panel {
        padding: 1.5rem 1.25rem;
    }

    .flow-tangle,
    .mini-window {
        display: none;
    }

    .flow-text,
    .flow-steps--one li {
        white-space: normal;
    }

    .tile {
        padding: 1.5rem;
    }

    .proof-item {
        padding: 1.4rem;
    }

    .pricing-card {
        padding: 2rem 1.5rem;
    }

    .pricing-aside img {
        flex-basis: 110px;
        width: 110px;
    }

    .faq-item p {
        padding-left: 1.25rem;
    }

    .folder-visual .soft-bubble {
        right: 0;
        font-size: 0.85rem;
    }
}
