/* index.html 専用スタイル */

/* ヒーロー（A案） */
.hero { position: relative; height: 760px; background: #F6C24A; overflow: hidden; }
.hero-tiles { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); }
.drift-col { overflow: hidden; }
.drift-col > div { display: flex; flex-direction: column; }
.drift-up { animation: driftUp linear infinite; }
.drift-down { animation: driftDown linear infinite; }
.drift-col img { width: 100%; }
.hero-scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(246,194,74,.35), rgba(228,132,60,.18)); }
.hero-card { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: min(660px, 90vw); background: #fff; border-radius: 16px; padding: 52px 56px; text-align: center; box-shadow: 0 40px 90px -40px rgba(60,53,45,.45); }
.hero-char { width: 104px; margin: 0 auto 56px; }
.hero-badges { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px; }
.hero-badges .allnew { display: inline-flex; align-items: center; background: #E4843C; color: #fff; border-radius: 8px; padding: 7px 14px; font-size: 13px; font-weight: 800; letter-spacing: .12em; }
.hero-badges .gen { font-size: 13.5px; font-weight: 700; color: #C0691F; }
.hero-sub { margin-top: 14px; font-size: 12.5px; font-weight: 700; color: #948C80; letter-spacing: .04em; }
.hero-logo { height: clamp(48px, 6vw, 76px); width: auto; margin: 14px auto 0; }
.hero-card h1 { margin-top: 22px; font-size: clamp(22px, 2.6vw, 34px); font-weight: 900; line-height: 1.5; letter-spacing: -.01em; }
.hero-card p { margin-top: 18px; font-size: 15px; color: #59544B; line-height: 1.9; text-wrap: pretty; }
.hero-ctas { display: flex; gap: 12px; justify-content: center; margin-top: 30px; flex-wrap: wrap; }
.hero-ctas .btn-primary { font-size: 16px; padding: 16px 30px; }
.hero-ctas .btn-ghost { font-size: 15px; padding: 16px 26px; }
.hero-ribbon { position: absolute; bottom: 0; left: 0; right: 0; background: #24262E; color: #fff; padding: 16px 32px; text-align: center; font-size: 14px; font-weight: 700; }

/* 実績カウンター */
.stats { padding: 64px 0; background: #fff; border-bottom: 1px solid #EFEAE1; }
.stats-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 24px; }
.stat-card { position: relative; padding: 24px; border-radius: 16px; background: #FAF7F2; border: 1px solid #EAE3D8; }
.stat-card .dot { position: absolute; top: -8px; left: 24px; width: 17px; height: 17px; border-radius: 50%; background: #F6C24A; border: 1px solid #EAE3D8; }
.stat-card .num { font-weight: 800; font-size: clamp(28px, 2.6vw, 44px); line-height: 1.15; color: #263A70; }
.stat-card .num .unit { font-size: .5em; font-family: 'Zen Kaku Gothic New', sans-serif; }
.stat-card .label { margin-top: 8px; font-size: 14px; font-weight: 700; }
.stat-card .dim { color: #A79E92; font-weight: 500; }

/* セクション見出し */
.sec-head-c { text-align: center; max-width: 44em; margin: 0 auto; }
.badge-row { display: flex; justify-content: center; }
.sec-head-lr { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.side-lead { font-size: 15px; color: #59544B; max-width: 26em; text-wrap: pretty; }

/* FEATURES ベントー */
.features { padding: 112px 0; background: #FAF7F2; }
.bento { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 24px; margin-top: 52px; }
.bento .pt { font-size: 12px; font-weight: 700; color: #C0691F; letter-spacing: .14em; }
.bento h3 { margin-top: 10px; font-weight: 900; line-height: 1.4; }
.bento p { margin-top: 14px; font-size: 15px; color: #59544B; text-wrap: pretty; }
.bento-wide { grid-column: span 2; background: #fff; border: 1px solid #EAE3D8; border-radius: 22px; padding: 36px; display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 28px; align-items: center; box-shadow: 0 20px 40px -30px rgba(60,53,45,.22); }
.bento-wide h3 { font-size: 26px; }
.bento-wide .shot { height: 220px; border-radius: 14px; overflow: hidden; background: #F3EFE8; border: 1px solid #EAE3D8; display: flex; align-items: center; justify-content: center; }
.bento-wide .shot img { max-width: 100%; max-height: 100%; object-fit: contain; }
.bento-dark { background: #2B2E38; color: #fff; border-radius: 22px; padding: 36px; display: flex; flex-direction: column; justify-content: space-between; }
.bento-dark h3 { font-size: 26px; }
.bento-dark p { color: #C8C9CE; }
.bento-dark .chip-row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 24px; }
.bento-dark .chip-row span { font-size: 12px; border: 1px solid rgba(255,255,255,.2); border-radius: 999px; padding: 5px 12px; }
.bento-cell { background: #fff; border: 1px solid #EAE3D8; border-radius: 22px; padding: 36px; }
.bento-cell h3 { font-size: 24px; }

/* FUNCTIONS */
.functions { padding: 84px 0; background: #fff; }
.fn-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 20px; margin-top: 48px; }
.fn-card { border: 1px solid #EAE3D8; border-radius: 18px; padding: 26px; background: #fff; transition: all .2s; }
.fn-card:hover { border-color: #E4843C; transform: translateY(-3px); }
.fn-top { display: flex; align-items: center; justify-content: space-between; }
.fn-ic { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px; background: #F1F3F8; }
.fn-no { font-weight: 700; font-size: 12px; color: #A79E92; }
.fn-card h3 { margin-top: 16px; font-size: 17px; font-weight: 700; line-height: 1.5; }
.fn-card p { margin-top: 10px; font-size: 14px; color: #6A645A; line-height: 1.7; text-wrap: pretty; }
.tag-row { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.tag-label { font-size: 14px; font-weight: 700; color: #59544B; }
.tag { font-size: 13px; background: #F3EFE8; border-radius: 999px; padding: 7px 14px; color: #4A463E; }

/* DESIGN（ダーク＋マーキー） */
.scallop { display: block; height: 30px; margin-bottom: -1px; background: #fff; background-image: radial-gradient(circle 15px at 50% 100%, #24262E 99%, transparent 100%); background-size: 74px 30px; background-repeat: repeat-x; }
.design-sec { padding: 76px 0; background: #24262E; color: #fff; overflow: clip; }
.design-sec .sec-lead.dk { color: #C8C9CE; }
.marquee { margin-top: 48px; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.marquee.m2 { margin-top: 34px; }
.marquee-track { display: flex; gap: 26px; width: max-content; animation: marquee linear infinite; }
.marquee-track.rev { animation-direction: reverse; }
.tpl { width: 216px; flex: none; }
.tpl img { filter: drop-shadow(0 20px 32px rgba(0,0,0,.45)); }
.tpl div { margin-top: 12px; text-align: center; font-size: 12.5px; font-weight: 700; color: #C8C9CE; }
.design-note { margin-top: 22px; font-size: 12px; color: #C8C9CE; text-align: center; }
.design-cta { text-align: center; margin-top: 28px; }
.btn-outline-w { display: inline-flex; align-items: center; justify-content: center; color: #fff; font-size: 16px; font-weight: 700; padding: 16px 30px; border-radius: 999px; border: 1.5px solid rgba(255,255,255,.28); transition: all .2s; }
.btn-outline-w:hover { border-color: #E4843C; color: #F6C74A; }

/* HOW IT WORKS */
.process { padding: 100px 0; background: #FBF7F1; }
.kpi-row { display: flex; gap: 12px; flex-wrap: wrap; }
.kpi { background: #fff; border: 1px solid #EAE3D8; border-radius: 14px; padding: 16px 20px; }
.kpi .v { font-weight: 800; font-size: 26px; line-height: 1; color: #263A70; }
.kpi .v span { font-size: .55em; }
.kpi .l { margin-top: 6px; font-size: 12.5px; color: #6A645A; }
.step-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 20px; margin-top: 44px; }
.step-card { position: relative; background: #fff; border: 1px solid #EAE3D8; border-radius: 18px; padding: 28px 24px; }
.step-card .pin { position: absolute; top: -9px; left: 26px; width: 18px; height: 18px; border-radius: 50%; }
.step-card .no { font-weight: 800; font-size: 30px; line-height: 1; }
.step-card .ttl { margin-top: 12px; font-size: 17px; font-weight: 900; }
.step-card p { margin-top: 10px; font-size: 14px; color: #6A645A; line-height: 1.8; text-wrap: pretty; }
.foot-note { margin-top: 18px; font-size: 12px; color: #A79E92; }

/* PRICING */
.pricing { padding: 116px 0; background: #FAF7F2; }
.plan-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 20px; margin-top: 52px; align-items: start; }
.plan-card { border-radius: 22px; padding: 32px 28px; background: #fff; color: #2B2E38; border: 1px solid #EAE3D8; }
.plan-card.dark { background: #2B2E38; color: #fff; border: 0; box-shadow: 0 30px 60px -30px rgba(36,38,46,.40); }
.plan-badge { display: inline-block; font-size: 11px; font-weight: 900; letter-spacing: .08em; border-radius: 999px; padding: 5px 12px; margin-bottom: 14px; background: #F3EFE8; color: #6A645A; }
.plan-card.dark .plan-badge { background: #E4843C; color: #fff; }
.plan-card h3 { font-size: 22px; font-weight: 900; white-space: nowrap; }
.plan-card .lead { margin-top: 8px; font-size: 13px; line-height: 1.7; min-height: 3.4em; color: #948C80; }
.plan-card.dark .lead { color: #C8C9CE; }
.plan-card .price { margin-top: 18px; display: flex; align-items: baseline; gap: 4px; }
.plan-card .price .v { font-weight: 800; font-size: 38px; letter-spacing: -.02em; }
.plan-card .price .u { font-size: 14px; font-weight: 700; }
.plan-card .init { margin-top: 4px; font-size: 12px; color: #948C80; }
.plan-card.dark .init { color: #C8C9CE; }
.plan-card .rule { height: 1px; background: #EFEAE1; margin: 20px 0; }
.plan-card.dark .rule { background: rgba(255,255,255,.16); }
.plan-card ul { display: flex; flex-direction: column; gap: 10px; font-size: 13.5px; line-height: 1.6; }
.plan-card li { display: flex; gap: 8px; }
.plan-card li span { color: #263A70; font-weight: 700; }
.plan-card.dark li span { color: #F6C74A; }
.plan-cta { display: flex; justify-content: center; margin-top: 24px; font-size: 14px; font-weight: 900; padding: 14px 18px; border-radius: 999px; background: #E4843C; color: #fff; transition: all .2s; }
.plan-cta:hover { background: #C0691F; color: #fff; }
.plan-card.dark .plan-cta { background: #fff; color: #2B2E38; }
.plan-card.dark .plan-cta:hover { background: #F6C74A; }
.option-box { margin-top: 32px; background: #fff; border: 1px solid #EAE3D8; border-radius: 18px; padding: 28px 32px; }
.ob-title { font-size: 15px; font-weight: 900; }
.ob-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 8px 32px; margin-top: 14px; font-size: 13px; color: #6A645A; line-height: 1.8; }
.ob-note { margin-top: 14px; font-size: 12px; color: #A79E92; line-height: 1.7; }

.scroll-hint { display: none; }

/* TRACK RECORD */
.works { padding: 80px 0; background: #fff; }
.logo-grid { margin-top: 44px; display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; }
.logo-cell { height: 120px; border: 1px solid #EAE3D8; border-radius: 12px; background: #fff; padding: 22px; display: flex; align-items: center; justify-content: center; }
.logo-cell img { max-width: 100%; max-height: 100%; object-fit: contain; }
.logo-cell.placeholder { flex-direction: column; text-align: center; border-style: dashed; color: #A79E92; font-size: 14px; font-weight: 700; line-height: 1.6; }
.logo-cell.placeholder small { font-size: 11px; font-weight: 500; }
.works-note { margin-top: 14px; font-size: 12px; color: #A79E92; text-align: center; }

/* SUPPORT */
.support { padding: 96px 0; background: #FAF7F2; }
.support-grid { display: grid; grid-template-columns: minmax(0,.62fr) minmax(0,1fr); gap: 52px; align-items: center; }
.support-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.support-photos img { border-radius: 16px; }
.support-cards { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px; margin-top: 32px; }
.sp-card { background: #fff; border: 1px solid #EAE3D8; border-radius: 18px; padding: 26px; }
.sp-card h3 { font-size: 17px; font-weight: 900; }
.sp-card p { margin-top: 12px; font-size: 14px; color: #6A645A; line-height: 1.8; text-wrap: pretty; }

/* CTA */
.brand-dots { display: flex; justify-content: center; align-items: center; padding: 10px 32px 0; background: #fff; }
.cta-sec { padding: 104px 0; background: #fff; }
.cta-box { background: linear-gradient(120deg, #24262E 0%, #383C46 60%, #4B505C 100%); border-radius: 28px; padding: 64px; color: #fff; position: relative; overflow: clip; }
.cta-glow { position: absolute; top: -160px; right: -120px; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, rgba(228,132,60,.38), transparent 66%); }
.cta-grid { position: relative; display: grid; grid-template-columns: minmax(0,1.1fr) minmax(0,.9fr); gap: 56px; align-items: center; }
.cta-char { width: 120px; margin-bottom: 64px; }
.cta-badge { display: inline-flex; align-items: center; gap: 10px; background: #E4843C; color: #fff; font-size: 13px; font-weight: 900; border-radius: 999px; padding: 8px 16px; }
.cta-box h2 { margin-top: 22px; font-size: clamp(28px, 3.4vw, 46px); font-weight: 900; line-height: 1.28; letter-spacing: -.02em; }
.cta-box > .container p, .cta-grid p { margin-top: 18px; font-size: 17px; color: #C8C9CE; max-width: 32em; text-wrap: pretty; }
.cta-btns { display: flex; gap: 14px; margin-top: 32px; flex-wrap: wrap; }
.btn-white { display: inline-flex; align-items: center; justify-content: center; background: #fff; color: #24262E; font-size: 17px; font-weight: 900; padding: 18px 34px; border-radius: 999px; transition: all .2s; }
.btn-white:hover { background: #E4843C; color: #fff; transform: translateY(-2px); }
.cta-steps { display: flex; flex-direction: column; gap: 14px; }
.cta-step { display: flex; gap: 16px; align-items: flex-start; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); border-radius: 16px; padding: 20px 22px; }
.cta-step .no { font-weight: 800; font-size: 22px; color: #E4843C; line-height: 1.2; }
.cta-step .t { font-size: 16px; font-weight: 900; }
.cta-step .b { margin-top: 4px; font-size: 13.5px; color: #C8C9CE; line-height: 1.7; }

/* SUPPORT & MEDIA */
.channels { padding: 96px 0; background: #FBF7F1; border-top: 1px solid #EFEAE1; }
.ch-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; margin-top: 44px; }
.ch-card { display: flex; flex-direction: column; background: #fff; border: 1px solid #EAE3D8; border-radius: 18px; padding: 26px; color: #2B2E38; transition: all .2s; }
.ch-card:hover { border-color: #E4843C; transform: translateY(-3px); color: #2B2E38; }
.ch-card .k { font-size: 11px; font-weight: 700; letter-spacing: .14em; color: #263A70; }
.ch-card .t { margin-top: 10px; font-size: 17px; font-weight: 900; line-height: 1.5; }
.ch-card .b { margin-top: 10px; font-size: 13.5px; color: #6A645A; line-height: 1.8; text-wrap: pretty; }
.ch-card .more { margin-top: 16px; font-size: 13px; font-weight: 700; color: #C0691F; }

/* ══ タブレット ══ */
@media (max-width: 1024px) {
  .hero-tiles { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .hero-tiles .drift-col:nth-child(n+4) { display: none; }
  .stats-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .bento { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .bento-wide { grid-column: span 2; }
  .fn-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .step-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 24px 20px; }
  .plan-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .support-grid { grid-template-columns: 1fr; gap: 40px; }
  .support-photos { max-width: 520px; }
  .cta-grid { grid-template-columns: 1fr; gap: 40px; }
  .cta-char { margin-bottom: 32px; }
  .ch-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .footer-grid > div:first-child { grid-column: span 2; }
}

/* ══ スマホ ══ */
@media (max-width: 768px) {
  /* 横スクロールカルーセル化（縦長化するカード群） */
  .hscroll { display: flex !important; grid-template-columns: none !important; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; margin-left: -20px; margin-right: -20px; padding: 12px 20px 8px; scrollbar-width: none; }
  .hscroll::-webkit-scrollbar { display: none; }
  .hscroll > * { flex: none; scroll-snap-align: start; }
  .scroll-hint { display: block; margin-top: 10px; font-size: 11.5px; color: #A79E92; text-align: center; }

  .hero { height: auto; padding: 64px 20px 80px; }
  .hero-tiles { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .hero-tiles .drift-col:nth-child(n+3) { display: none; }
  .hero-card { position: relative; top: auto; left: auto; transform: none; width: 100%; margin: 0 auto; padding: 26px 20px 28px; }
  .hero-char { width: 60px; margin-bottom: 16px; }
  .hero-badges { gap: 8px; }
  .hero-badges .allnew { padding: 5px 10px; font-size: 11px; }
  .hero-badges .gen { font-size: 12px; }
  .hero-sub { margin-top: 10px; font-size: 11px; }
  .hero-logo { height: 40px; margin-top: 10px; }
  .hero-card h1 { margin-top: 12px; font-size: 21px; line-height: 1.45; }
  .hero-card p { margin-top: 8px; font-size: 13.5px; line-height: 1.8; }
  .hero-ctas { flex-direction: column; gap: 10px; margin-top: 18px; }
  .hero-ctas .btn { width: 100%; }
  .hero-ctas .btn-primary { font-size: 15px; padding: 14px 20px; }
  .hero-ctas .btn-ghost { font-size: 14px; padding: 13px 20px; }
  .hero-ribbon { position: relative; margin: 32px -20px -80px; padding: 14px 20px; font-size: 12.5px; }
  .pc { display: none; }
  .stats { padding: 48px 0; }
  .stats-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 20px 14px; }
  .stat-card { padding: 18px 16px; }
  .stat-card .label { font-size: 12.5px; }
  .features, .pricing { padding: 72px 0; }
  .functions, .support, .channels { padding: 64px 0; }
  .process, .cta-sec { padding: 64px 0; }
  .bento { grid-template-columns: 1fr; gap: 18px; margin-top: 36px; }
  .bento-wide { grid-column: auto; grid-template-columns: 1fr; padding: 28px 24px; }
  .bento-wide h3, .bento-dark h3 { font-size: 22px; }
  .bento-cell h3 { font-size: 20px; }
  .bento-dark, .bento-cell { padding: 28px 24px; }
  .fn-grid.hscroll > .fn-card { width: 78vw; max-width: 320px; }
  .fn-grid { margin-top: 36px; }
  .marquee { margin-top: 36px; }
  .tpl { width: 160px; }
  .step-grid.hscroll > .step-card { width: 74vw; max-width: 300px; }
  .step-grid { margin-top: 36px; }
  .plan-grid.hscroll > .plan-card { width: 84vw; max-width: 340px; }
  .plan-grid { margin-top: 36px; align-items: stretch; }
  .plan-card .lead { min-height: 0; }
  .ob-grid { grid-template-columns: 1fr; }
  .option-box { padding: 22px 20px; }
  .logo-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; }
  .logo-cell { height: 96px; padding: 16px; }
  .support-cards { grid-template-columns: 1fr; gap: 14px; }
  .cta-box { padding: 36px 24px; border-radius: 20px; }
  .cta-char { width: 88px; }
  .cta-btns { flex-direction: column; }
  .btn-white, .cta-btns .btn-outline-w { width: 100%; }
  .ch-grid.hscroll > .ch-card { width: 80vw; max-width: 330px; }
  .ch-grid { margin-top: 32px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid > div:first-child { grid-column: auto; }
  .site-footer { padding: 56px 0 32px; }
}
