/* =========================================================
   基本設定 / Tokens
========================================================= */
:root {
    /* 色 */
    --brand-orange: #f97316;
    --brand-orange-weak: #FFE0B2;
    --brand-red: #f97316;
    --bg-dark: #111;
    --text: #141414;
    --text-weak: #333;
    --text-muted: #666;
    --border: rgba(0, 0, 0, .08);

    /* レイアウト */
    --container-max: 1100px;
    --space-1: 8px;
    --space-2: 12px;
    --space-3: 16px;
    --space-4: 20px;
    --space-5: 28px;
    --space-6: 40px;

    /* 影・角丸 */
    --radius: 14px;
    --radius-lg: 24px;
    --shadow-sm: 0 6px 16px rgba(0, 0, 0, .06);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, .08);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, .12);

    /* カード画像比率（必要に応じて 4/3 や 16/9 に変更可） */
    --card-image-ratio: 1 / 0.9;
}

/* ベース */
html {
    scroll-behavior: smooth;
}

body {
    color: var(--text);
    font-family: system-ui, -apple-system, Segoe UI, Roboto, Noto Sans JP, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", sans-serif;
    line-height: 1.7;
    background: #fff;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-underline-offset: 2px;
}

a:focus-visible {
    outline: 2px solid var(--brand-orange);
    outline-offset: 2px;
}

.logo {
    	font-family: "logo-cut-std", sans-serif;
font-weight: 900;
font-style: normal;
color: var(--brand-orange);
}

/* コンテナ */
.container-3,
.site-footer .container {
    width: min(var(--container-max), 92%);
    margin-inline: auto;
}

/* ユーティリティ */
.ta-center {
    text-align: center;
}

.section-padding {
    padding-block: clamp(40px, 6vw, 88px);
}

/* 背景ユーティリティ */
.bg-orange {
    background: linear-gradient(180deg, var(--brand-orange-weak) 0%, #FFCC80 100%);
}

.bg-purple {
    background: linear-gradient(180deg, #ede8f5 0%, #d6c5f3 100%);
}

/* =========================================================
   フェードイン（IntersectionObserver 用）
========================================================= */
.reveal {
    opacity: 0;
    transform: translateY(16px);
    filter: blur(2px);
    transition: opacity .6s ease, transform .6s ease, filter .6s ease;
    will-change: opacity, transform;
}

.reveal.is-visible {
    opacity: 1;
    transform: none;
    filter: none;
}

.reveal[data-reveal="left"] {
    transform: translateX(-24px);
}

.reveal[data-reveal="right"] {
    transform: translateX(24px);
}

.reveal[data-reveal="up"] {
    transform: translateY(24px);
}

.reveal[data-reveal="zoom"] {
    transform: scale(.96);
}

@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        filter: none;
        transition: none;
    }
}

/* =========================================================
   HERO / FV
========================================================= */
.container-fv {
    position: relative;
    overflow: hidden;
    /* 絵文字をクリップ */
    background: linear-gradient(180deg, #FFF3E0 0%, #FFE0B2 100%);
    min-height: 90svh;
    /* モバイルのUIにも強い */
    width: 100%;
    display: flex;
    align-items: center;
    /* 縦中央 */
}

.container-fv-innner {
    width: min(var(--container-max), 90%);
    margin-inline: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: clamp(16px, 4vw, 48px);
}

.fv-left {
    background-color: white;
    padding: clamp(12px, 2.8vw, 20px);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.fv-left,
.fv-right {
    flex: 1 1 0;
}

.fv-left-text h1 {
    font-size: clamp(28px, 5vw, 56px);
    line-height: 1.1;
    margin: .2em 0 0;
}

.fv-left-text>p {
    font-size: clamp(16px, 2.6vw, 24px);
    line-height: 1.5;
    margin: .25em 0 0;
}

/* ラベル（平行四辺形の中に文字） */
.fv-left-text-title p {
    position: relative;
    display: inline-block;
    padding: 8px 16px;
    color: #fff;
    font-size: 18px;
    line-height: 1.3;
    isolation: isolate;
    /* 背景を親外に出さない */
}

.fv-left-text-title p::before {
    content: "";
    position: absolute;
    inset: 0;
    background-color: var(--brand-red);
    border-radius: 4px;
    transform: skewX(-16deg);
    transform-origin: left center;
    z-index: -1;
}

/* FV 右側イメージ */
.fv-right img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

/* Emoji Rain（背面レイヤー） */
.emoji-rain {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    contain: layout paint style;
}

.emoji-rain .emoji {
    position: absolute;
    will-change: transform, opacity;
    filter: drop-shadow(0 2px 2px rgba(0, 0, 0, .15));
    user-select: none;
}

.emoji-rain img.emoji {
    width: 1em;
    height: 1em;
    object-fit: contain;
}

/* =========================================================
   カード群（特徴 / アプリ限定 / ユースケース）
========================================================= */
.container-3 .h2 h2 {
    font-size: clamp(22px, 3.6vw, 32px);
    line-height: 1.3;
    margin: 0 0 clamp(20px, 4vw, 36px);
}

.h2 h2{
  display: inline-block;        /* ← これで幅がテキストにフィット */
  position: relative;           /* ← ::after の基準にする */
}

.h2 h2::after{
  content:"";
  position:absolute;
  left:0; right:0;              /* ← h2 の幅いっぱい（=テキスト幅） */
  bottom:-4px;                  /* 下線の位置はお好みで */
  height:3px;
  border-radius: 999px;
  background: linear-gradient(90deg, #ffd1a1 0%, #ff8fb2 100%);
  opacity:.85;
}

/* 横並び */
.card-site-by-side {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: clamp(16px, 3vw, 28px);
    align-items: stretch;
}

/* カード */
.card-item,
.feature-item {
    flex: 1 1 clamp(260px, 30%, 340px);
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform .18s ease, box-shadow .18s ease;
}

.card-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, .12);
}

.card-item h3 {
    font-size: clamp(18px, 3vw, 24px);
    line-height: 1.4;
    margin: 16px 16px 8px;
}

.card-item img {
    width: 100%;
    aspect-ratio: var(--card-image-ratio);
    /* 例: 4/3 や 16/9 に変更可 */
    object-fit: cover;
    display: block;
    padding: 0 10%;
}

.card-item p {
    font-size: clamp(14px, 2.2vw, 16px);
    line-height: 1.8;
    margin: 12px 16px 20px;
    color: var(--text-weak);
}

/* 画像オーバーレイ用の土台 */
.card-media { position: relative; }
.card-media img { display: block; }

/* ガラス風の丸ピル */
.badge-soon{
  position: absolute;
  top: 10px; left: 10px;
  padding: 6px 12px;
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .06em;
  color: #fff;
  text-transform: uppercase;
  background: linear-gradient(135deg, #FF8A00 0%, #FF4D6D 100%);
  box-shadow: 0 6px 14px rgba(0,0,0,.18);
  border: 1px solid rgba(255,255,255,.28);
  backdrop-filter: blur(6px) saturate(120%);
  -webkit-backdrop-filter: blur(6px) saturate(120%);
}

/* ユースケース下の一文 */
#use-cases p {
    color: var(--text);
}

.lead-catch{
  display: inline-block;
  font-weight: 800;
  font-size: clamp(18px, 3.8vw, 28px);
  line-height: 1.5;
  letter-spacing: .02em;
  color: var(--text);
  padding: 0 .15em;
  /* 下3割だけ色が乗るマーカー */
  background:
    linear-gradient(transparent 68%, rgba(255,138,0,.35) 0) no-repeat;
  background-size: 100% 1em;     /* マーカーの厚み */
  background-position: 0 100%;
  border-radius: 4px;             /* 角を少し丸く */
  margin-top: 30px;
}



/* =========================================================
   CTA
========================================================= */
.container-cta {
    width: min(var(--container-max), 92%);
    margin-inline: auto;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    align-items: center;
    gap: clamp(16px, 4vw, 48px);
}

.container-cta .cta-left img {
    width: clamp(120px, 18vw, 200px);
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    margin-inline: auto;
}

.container-cta .cta-right>p:first-of-type {
    font-size: clamp(16px, 2.6vw, 20px);
    color: #5a421b;
    margin: 0 0 6px;
}

.container-cta .cta-right>p:nth-of-type(2) {
    font-size: clamp(24px, 5vw, 40px);
    line-height: 1.2;
    font-weight: 800;
    margin: 0 0 14px;
}

/* CTA 内カード */
.cta-btn {
    background: #fff;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    border-radius: 16px;
    padding: clamp(12px, 2.8vw, 20px);
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(12px, 2.4vw, 20px);
    align-items: center;
}

.cta-btn>p {
    grid-column: 1 / -1;
    margin: 0;
    font-weight: 700;
    font-size: clamp(14px, 2.2vw, 16px);
}

/* ストアバッジ */
.dl-btn-left,
.dl-btn-right {
    display: grid;
    grid-auto-rows: min-content;
    justify-items: center;
    gap: 10px;
}

.store-badge img {
    width: min(220px, 100%);
    height: auto;
    display: block;
}

/* 代替テキストボタン（未使用時は不要） */
.store-btn {
    display: inline-flex;
    align-items: center;
    gap: .6em;
    padding: .8em 1.2em;
    border-radius: 9999px;
    background: #000;
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    line-height: 1;
    box-shadow: 0 6px 16px rgba(0, 0, 0, .18);
    transition: transform .12s ease, box-shadow .12s ease, opacity .12s ease;
}

.store-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, .22);
}

.store-btn:active {
    transform: translateY(0);
    opacity: .9;
}

.store-btn.google {
    background: #202124;
}

.store-btn.apple {
    background: #000;
}

.qr {
    width: 96px;
    height: 96px;
    object-fit: contain;
}

.cta-btn>span {
    grid-column: 1 / -1;
    font-size: 12px;
    color: var(--text-muted);
    letter-spacing: .02em;
}

/* =========================================================
   フッター
========================================================= */
.site-footer {
    background: var(--bg-dark);
    color: #eee;
    padding-block: 40px 20px;
    font-size: 14px;
    line-height: 1.8;
}

.site-footer a {
    color: #fff;
    text-decoration: none;
    opacity: .92;
}

.site-footer a:hover {
    opacity: 1;
    text-decoration: underline;
}

.footer-top {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 2fr);
    gap: clamp(20px, 4vw, 48px);
    align-items: start;
}

.footer-logo img {
    width: 64px;
    height: 64px;
    object-fit: cover;
    border-radius: 14px;
    display: block;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .25);
}

.footer-copy {
    color: #cfcfcf;
    margin: 12px 0 0;
}

.store-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 14px;
}

.store-badges img {
    height: 44px;
    display: block;
}

.social {
    display: flex;
    gap: 10px;
    margin-top: 16px;
}

.social a {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, .25);
    font-weight: 700;
    font-size: 12px;
    letter-spacing: .03em;
    transition: transform .12s ease, background .12s ease;
}

.social a:hover {
    background: rgba(255, 255, 255, .08);
    transform: translateY(-1px);
}

.footer-nav {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(16px, 3vw, 28px);
}

.footer-nav h4 {
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 8px;
}

.footer-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 8px;
}

.footer-nav a {
    color: #ddd;
}

.footer-nav a:hover {
    color: #fff;
    text-decoration: underline;
}

.footer-meta {
    width: min(var(--container-max), 92%);
    margin: 24px auto 0;
    border-top: 1px solid rgba(255, 255, 255, .12);
    padding-top: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.footer-meta address {
    font-style: normal;
    color: #bbb;
}

.footer-meta .company-name {
    color: #eee;
    font-weight: 700;
}

.to-top {
    font-size: 13px;
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, .25);
    display: inline-block;
}

.footer-bottom {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, .06);
    text-align: center;
    color: #aaa;
    font-size: 12px;
}

/* =========================================================
   レスポンシブ
========================================================= */
@media (max-width: 960px) {
    .footer-top {
        grid-template-columns: 1fr;
    }

    .footer-nav {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .footer-meta {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 768px) {

    /* FV */
    .container-fv-innner {
        flex-direction: column;
        text-align: center;
    }

    .fv-left,
    .fv-right {
        width: 100%;
    }

    .fv-right {
        order: 2;
        max-width: 520px;
        margin-inline: auto;
    }

    .fv-left {
        order: 1;
    }

    /* CTA */
    .container-cta {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .cta-btn {
        grid-template-columns: 1fr;
    }

    /* 縦並び */
}

@media (max-width: 560px) {
    .footer-nav {
        grid-template-columns: 1fr;
    }

    .store-badges img {
        height: 40px;
    }

    .to-top {
        align-self: stretch;
        text-align: center;
    }
}