:root { --red:#C91C39; --ink:#221514; --pale:#fff5f2; --line:#f3d5cf; }
* { box-sizing:border-box; }
html { scroll-behavior:smooth; }
body { margin:0; color:var(--ink); background:#fff; font-family:"Hiragino Kaku Gothic ProN","Yu Gothic",Meiryo,sans-serif; line-height:1.8; }
img { max-width:100%; display:block; }
a { color:inherit; text-decoration:none; }
em { color:var(--red); font-style:normal; }
.header { height:86px; padding:0 max(28px,calc((100vw - 1320px)/2)); display:flex; align-items:center; gap:32px; position:sticky; top:0; z-index:20; background:rgba(255,255,255,.96); box-shadow:0 1px 12px #4920180d; transition:transform .32s ease,box-shadow .32s ease; will-change:transform; }
.header--hidden { transform:translateY(-105%); box-shadow:none; }
.brand { display:flex; align-items:center; gap:8px; flex:none; }
.brand img { width:128px; height:42px; object-fit:contain; }
.header nav { display:flex; justify-content:center; gap:34px; flex:1; font-weight:700; font-size:14px; }
.header nav a:hover { color:var(--red); }
.header .mobile-nav,.mobile-menu-toggle { display:none; }
.header-actions { display:flex; gap:10px; font-size:13px; font-weight:700; }
.header-actions a { padding:10px 18px; border:1px solid #bbb; border-radius:30px; white-space:nowrap; }
.header-actions .solid { color:#fff; background:var(--red); border-color:var(--red); }
.hero { height:580px; position:relative; overflow:hidden; background:#faf7f4; }
.hero-bg { position:absolute; inset:0; background-image:linear-gradient(90deg,#fff 0%,rgba(255,255,255,.96) 30%,rgba(255,255,255,.08) 58%),url('/assets/h1.webp'); background-size:auto 100%; background-position:center right; background-repeat:no-repeat; }
.hero-mascot { position:absolute; z-index:5; right:max(25px,calc((100vw - 1320px)/2)); bottom:58px; width:245px; opacity:1; mix-blend-mode:normal; isolation:isolate; }
.hero:after { content:""; position:absolute; left:-5%; right:-5%; bottom:-65px; height:110px; background:#fff; border-radius:50% 50% 0 0; }
.hero-copy { position:relative; z-index:1; max-width:1320px; margin:auto; padding:72px 28px; }
.eyebrow { color:#7f625b; font-weight:700; letter-spacing:.08em; }
.hero h1 { margin:8px 0 20px; font-size:58px; line-height:1.3; letter-spacing:.04em; }
.hero-copy>p:not(.eyebrow) { font-weight:600; font-size:16px; }
.button-row { display:flex; gap:14px; margin-top:28px; flex-wrap:wrap; }
.button { min-width:285px; padding:13px 22px; color:#fff; background:var(--red); border:1px solid var(--red); border-radius:50px; display:flex; align-items:center; justify-content:space-between; font-weight:700; font-size:14px; box-shadow:0 8px 24px rgba(201,28,57,.16); }
.button,.header-actions a,.to-top { transition:transform .22s ease,box-shadow .22s ease,background-color .22s ease; }
.button--outline { color:var(--red); background:#fff; }
.section { max-width:1320px; margin:0 auto; padding:42px 28px; }
.about { display:grid; grid-template-columns:340px 1fr; gap:34px; align-items:center; }
.about-copy h2 { font-size:26px; margin:0 0 10px; }
.about-copy p { font-size:14px; font-weight:600; }
.benefit-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:18px; }
.benefit-grid img { width:100%; border-radius:25px; }
.audience { display:grid; grid-template-columns:1fr 1fr; gap:30px; }
.audience article { min-height:300px; display:grid; grid-template-columns:42% 1fr; align-items:center; gap:22px; overflow:hidden; border:1px solid var(--line); border-radius:28px; background:linear-gradient(135deg,#fff 30%,var(--pale)); }
.audience article:nth-child(2) { grid-template-columns:1fr 42%; }
.audience article>div { padding:28px 0; }
.audience article:first-child>div { padding-right:28px; }
.audience article:nth-child(2)>div { padding-left:30px; }
.audience article>img { width:100%; height:100%; object-fit:cover; object-position:top; }
.audience small { display:inline-block; color:#fff; background:var(--red); border-radius:20px; padding:4px 15px; margin-bottom:10px; font-size:18px; font-weight:700; }
.audience h2 { font-size:26px; line-height:1.45; margin:12px 0; }
.audience h2 span,.audience h2 em { display:block; }
.audience p { font-size:13px; font-weight:600; }
.audience .button { min-width:170px; width:170px; padding:9px 16px; }
.section-title { position:relative; margin:0 0 30px; color:var(--red); text-align:center; font-size:25px; }
.section-title:before,.section-title:after { content:""; display:inline-block; width:90px; height:1px; vertical-align:middle; background:var(--line); margin:0 18px; }
.feature-grid { display:grid; grid-template-columns:repeat(5,1fr); gap:10px; }
.feature-grid article { padding:22px 18px; border:1px solid var(--line); border-radius:20px; min-height:250px; }
.feature-grid img { width:54px; margin-bottom:12px; }
.feature-grid h3 { font-size:15px; margin:0; line-height:1.55; }
.feature-grid p,.scene-grid p { font-size:14px; line-height:1.75; font-weight:600; }
.feature-mobile-message { display:none; }
.six { background:#fdf6f7; padding:48px 0 54px; }
.six-inner { max-width:1320px; margin:0 auto; padding:0 28px; }
.six-title { margin:0 0 24px; text-align:center; }
.six-title img { width:min(100%,600px); height:auto; margin:0 auto; }
.six-list { max-width:1000px; margin:0 auto; display:grid; gap:18px; }
.six-card { display:grid; grid-template-columns:118px minmax(0,1fr) auto; grid-template-areas:"num h media" "num p media"; align-items:center; column-gap:30px; row-gap:8px; padding:24px 36px; background:#fff; border-radius:30px; }
.six-card:nth-child(even) { grid-template-columns:auto minmax(0,1fr) 118px; grid-template-areas:"media h num" "media p num"; }
.six-num { grid-area:num; width:118px; justify-self:center; }
.six-h { grid-area:h; align-self:end; margin:0; max-width:640px; font-size:26px; line-height:1.45; letter-spacing:.01em; }
.six-p { grid-area:p; align-self:start; margin:0; max-width:640px; font-size:14px; font-weight:600; line-height:1.85; }
.six-media { grid-area:media; min-width:0; display:flex; align-items:center; justify-content:center; gap:24px; }
.six-media img { max-width:100%; height:auto; }
@media (min-width:681px) {
  .six-card:nth-child(1) .six-media img { width:400px; }
  .six-card:nth-child(2) .six-media img { width:200px; }
  .six-card:nth-child(3) .six-media img { width:360px; }
  .six-card:nth-child(4) .six-media img { width:360px; }
  .six-card:nth-child(5) .six-media img:first-child { width:250px; }
  .six-card:nth-child(5) .six-media img:last-child { width:130px; }
  .six-card:nth-child(6) .six-media img { width:210px; }
}
.flow { border:1px solid var(--line); border-radius:24px; padding-top:18px; }
.flow-grid { display:grid; grid-template-columns:repeat(4,1fr); }
.flow-grid article { display:flex; align-items:center; gap:12px; padding:0 16px; position:relative; }
.flow-grid article:not(:last-child):after { content:"›"; color:var(--red); font-size:35px; position:absolute; right:-6px; }
.flow-grid img { width:104px; height:104px; object-fit:contain; border-radius:50%; }
.flow-heading { display:flex; align-items:flex-start; gap:8px; }
.flow-grid b { display:inline-grid; place-items:center; flex:none; width:34px; height:34px; color:#fff; background:var(--red); border-radius:50%; font-size:17px; line-height:1; vertical-align:middle; }
.flow-grid h3 { font-size:17px; font-weight:800; line-height:1.5; margin:2px 0 0; }
.flow-grid p { font-size:14px; font-weight:400; line-height:1.75; }
.scene-grid { display:grid; grid-template-columns:repeat(5,1fr); gap:20px; }
.scene-grid article { text-align:center; overflow:hidden; border:1px solid var(--line); border-radius:100px 100px 28px 28px; padding-bottom:12px; }
.scene-grid img { width:100%; aspect-ratio:1.3; object-fit:cover; }
.scene-grid h3 { color:var(--red); font-size:17px; margin:10px 8px 0; }
.scene-grid p { padding:0 14px; text-align:left; }
.app-promo { max-width:1320px; margin:0 auto; padding:38px 45px; display:grid; grid-template-columns:1.45fr 1fr .55fr; gap:36px; align-items:center; background:radial-gradient(circle at 25% 100%,#fff0ea,transparent 45%); }
.phones img { width:100%; }
.app-copy h2 { color:var(--red); font-size:32px; margin:0; }
.app-copy p { font-size:14px; font-weight:600; }
.store-row { display:flex; gap:12px; }
.store-row img { width:155px; height:53px; object-fit:contain; }
.mascot { width:210px; }
.info-panel { display:grid; grid-template-columns:minmax(0,3fr) minmax(340px,1fr); gap:22px; padding:20px 24px; border:1px solid var(--line); border-radius:24px; }
.faq { padding:0; }
.faq-head { display:flex; align-items:center; gap:24px; }
.faq-head h2 { color:var(--red); margin:0; }
.faq-grid { display:grid; grid-template-columns:1fr 1fr; gap:10px 24px; margin-top:12px; }
details { border:1px solid #eee; border-radius:20px; padding:5px 14px; }
summary { list-style:none; cursor:pointer; display:grid; grid-template-columns:24px minmax(0,1fr); column-gap:10px; align-items:start; font-size:16px; font-weight:700; }
summary::-webkit-details-marker { display:none; }
summary span { color:var(--red); margin-right:0; }
details p { color:#645653; font-size:15px; line-height:1.7; padding:8px 0 6px 30px; margin:0; }
.security { min-height:132px; padding:16px 18px; display:flex; justify-content:space-between; align-items:center; gap:12px; border:1px solid var(--line); border-radius:16px; background:#fff9f7; }
.security h3 { color:var(--red); margin:0 0 8px; font-size:16px; }
.security p { max-width:240px; margin:0; font-size:14px; line-height:1.75; font-weight:600; }
.security>img { width:64px; height:74px; object-fit:contain; flex:none; }
.closing { max-width:1320px; min-height:205px; margin:30px auto 0; padding:22px 0 0; display:grid; grid-template-columns:220px 1fr 220px; align-items:end; overflow:hidden; text-align:center; color:#fff; border-radius:90px 90px 0 0; background:linear-gradient(100deg,#aa1831,var(--red),#aa1831); }
.closing-copy { align-self:center; padding-bottom:14px; }
.closing-person { width:210px; height:210px; object-fit:cover; border:8px solid #fff; border-radius:50%; }
.closing-person--left { margin-left:18px; }
.closing-person--right { margin-right:18px; }
.closing-mascot { width:82px; height:82px; object-fit:contain; margin:-10px 0 -20px; }
.closing h2 { margin:0; font-size:26px; line-height:1.5; }
.closing p { margin:4px 0; font-weight:700; }
.closing .button-row { justify-content:center; align-items:center; margin-top:16px; }
.closing .button { color:var(--red); background:#fff; border-color:#fff; }
.closing .button--outline { color:var(--red); }
footer { max-width:1320px; margin:auto; padding:28px; display:flex; align-items:center; gap:32px; }
footer div { display:flex; flex:1; gap:22px; font-size:11px; font-weight:700; }
footer small { font-size:10px; }
.to-top { position:fixed; right:25px; bottom:25px; width:44px; height:44px; display:grid; place-items:center; color:#fff; background:var(--red); border-radius:50%; z-index:10; }

@media (hover:hover) and (min-width:681px) {
  .button:hover,.header-actions a:hover,.to-top:hover { transform:translateY(-4px) scale(1.03); box-shadow:0 12px 28px rgba(201,28,57,.24); }
}

@media (max-width:1050px) {
  .header nav { display:none; }
  .header { height:72px; }
  .header-actions { margin-left:auto; }
  .hero { height:620px; }
  .hero-bg { background-position:center right; }
  .hero-mascot { width:180px; right:20px; }
  .about { grid-template-columns:1fr; }
  .feature-grid { grid-template-columns:repeat(3,1fr); }
  .six-card,.six-card:nth-child(even) { column-gap:20px; padding:22px 24px; }
  .six-num,.six-card:nth-child(even) .six-num { width:92px; }
  .six-card { grid-template-columns:92px minmax(0,1fr) auto; }
  .six-card:nth-child(even) { grid-template-columns:auto minmax(0,1fr) 92px; }
  .six-h { font-size:21px; }
  .audience { grid-template-columns:1fr; }
  .flow-grid { grid-template-columns:1fr 1fr; gap:26px; }
  .scene-grid { grid-template-columns:repeat(3,1fr); }
  .app-promo { grid-template-columns:1.5fr 1fr; }
  .mascot { display:none; }
}
@media (max-width:680px) {
  .header { padding:0 12px; gap:8px; }
  .brand img { width:104px; }
  .header-actions a:first-child { display:none; }
  .header-actions { margin-left:auto; }
  .header-actions a { padding:8px 10px; font-size:12px; }
  .mobile-menu-toggle { width:70px; height:44px; padding:5px 7px; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:1px; color:var(--red); background:#fff6f7; border:1px solid var(--line); border-radius:18px; font-family:inherit; font-size:10px; font-weight:700; line-height:1.2; cursor:pointer; }
  .menu-dots { width:25px; height:13px; position:relative; display:block; }
  .menu-dots i { position:absolute; width:6px; height:6px; background:var(--red); border-radius:50%; }
  .menu-dots i:nth-child(1) { left:2px; top:1px; }
  .menu-dots i:nth-child(2) { right:2px; top:1px; }
  .menu-dots i:nth-child(3) { left:50%; bottom:0; transform:translateX(-50%); }
  .header .mobile-nav { position:absolute; top:calc(100% + 8px); left:12px; right:12px; padding:14px; display:none; grid-template-columns:1fr 1fr; gap:8px; background:rgba(255,255,255,.98); border:1px solid var(--line); border-radius:22px; box-shadow:0 16px 36px rgba(80,20,30,.18); }
  .header .mobile-nav.is-open { display:grid; }
  .header .mobile-nav a { padding:10px 8px; color:var(--ink); background:#fff7f8; border-radius:14px; text-align:center; font-size:12px; }
  .mobile-menu-toggle[aria-expanded="true"] { color:#fff; background:var(--red); }
  .mobile-menu-toggle[aria-expanded="true"] .menu-dots i { background:#fff; }
  .hero { height:auto; padding-top:365px; background:#fff; overflow:hidden; }
  .hero-bg { top:0; bottom:auto; height:380px; background-image:url('/assets/h1.webp'); background-size:auto 100%; background-position:42% center; }
  .hero-mascot { width:188px; right:-6px; top:218px; bottom:auto; }
  .hero-copy { padding:35px 20px 54px; background:#fff; }
  .eyebrow { font-size:12px; }
  .hero h1 { font-size:37px; }
  .hero-copy>p:not(.eyebrow) { font-size:13px; }
  .button-row { gap:8px; }
  .button { min-width:100%; justify-content:center; gap:18px; font-size:13px; padding:15px 18px; }
  .section { padding:32px 18px; }
  .benefit-grid { display:flex; overflow-x:auto; scroll-snap-type:x mandatory; padding-bottom:10px; }
  .benefit-grid img { min-width:82%; scroll-snap-align:center; }
  .audience article,.audience article:nth-child(2) { grid-template-columns:38% 1fr; gap:12px; }
  .audience article:nth-child(2)>div { order:2; padding:20px 20px 20px 0; }
  .audience article:nth-child(2)>img { order:1; }
  .audience article>div,.audience article:first-child>div { padding:20px 20px 20px 0; }
  .audience small { padding:3px 10px; margin-bottom:4px; font-size:13px; }
  .audience h2 { font-size:clamp(14px,3.8vw,18px); line-height:1.55; letter-spacing:-.03em; }
  .audience h2 span,.audience h2 em { white-space:nowrap; }
  .audience p { font-size:11px; }
  .audience .button { min-width:135px; width:135px; font-size:11px; }
  .section-title { font-size:21px; }
  .section-title:before,.section-title:after { width:30px; margin:0 8px; }
  .feature-grid { grid-template-columns:1fr 1fr; }
  .six { padding:32px 0 36px; }
  .six-inner { padding:0 14px; }
  .six-title { margin:0 0 18px; }
  .six-list { gap:14px; }
  .six-card,.six-card:nth-child(even) { grid-template-columns:60px minmax(0,1fr); grid-template-areas:"num h" "p p" "media media"; column-gap:12px; row-gap:10px; padding:18px 16px; border-radius:22px; }
  .six-num,.six-card:nth-child(even) .six-num { width:60px; align-self:center; }
  .six-h { align-self:center; font-size:17px; line-height:1.5; }
  .six-h,.six-p { max-width:none; }
  .six-p { font-size:13px; line-height:1.8; }
  .six-media { gap:14px; margin-top:4px; }
  .six-media img { max-width:calc(50% - 7px); width:auto; }
  .six-card .six-media:has(img:only-child) img { max-width:78%; }
  .six-card:nth-child(5) .six-media img:first-child { max-width:58%; }
  .six-card:nth-child(5) .six-media img:last-child { max-width:32%; }
  .feature-grid article { min-height:230px; }
  .feature-grid .feature-mobile-message { display:flex; min-height:230px; align-items:center; justify-content:center; }
  .feature-grid .feature-mobile-message img { width:100%; height:auto; margin:0; }
  .flow { margin:0 12px; }
  .flow-grid { grid-template-columns:1fr; }
  .flow-grid article:not(:last-child):after { content:"↓"; right:20px; bottom:-24px; font-size:22px; }
  .flow-grid img { width:92px; height:92px; }
  .scene-grid { display:flex; overflow-x:auto; scroll-snap-type:x mandatory; }
  .scene-grid article { min-width:70%; scroll-snap-align:center; }
  .app-promo { padding:32px 18px; grid-template-columns:1fr; text-align:center; }
  .app-copy { order:-1; }
  .app-copy h2 { font-size:27px; }
  .store-row { justify-content:center; }
  .store-row img { width:140px; height:auto; }
  .info-panel { margin:0 12px; grid-template-columns:1fr; padding:20px 16px; }
  .faq { margin:0; }
  .faq-head h2 { font-size:22px; }
  .faq-grid { grid-template-columns:1fr; }
  details { padding:9px 14px; }
  summary { font-size:16px; line-height:1.6; }
  details p { font-size:15px; line-height:1.75; padding:8px 2px 6px 30px; }
  .security { margin:0; padding:18px; }
  .security p { max-width:none; font-size:14px; }
  .security>img { width:60px; height:60px; }
  .closing { margin:22px 12px 0; min-height:0; grid-template-columns:1fr; border-radius:36px 36px 0 0; padding:28px 18px 0; }
  .closing-copy { order:-1; padding-bottom:8px; }
  .closing-person { display:none; }
  .closing-mascot { width:68px; height:68px; order:3; }
  .closing h2 { font-size:20px; }
  .closing-mobile-line { display:block; }
  .closing p { font-size:12px; }
  footer { flex-direction:column; align-items:flex-start; }
  footer div { flex-wrap:wrap; }
}

/* ============================================================
   画面下部に固定するアプリインストールバー
   ============================================================ */
:root { --appbar-h:77px; }
body { padding-bottom:var(--appbar-h); }

.appbar { position:fixed; left:0; right:0; bottom:0; z-index:40; background:rgba(255,255,255,.97); backdrop-filter:blur(6px); border-top:1px solid var(--line); box-shadow:0 -4px 20px rgba(73,32,24,.10); padding-bottom:env(safe-area-inset-bottom); }
.appbar-inner { max-width:1320px; height:var(--appbar-h); margin:0 auto; padding:0 max(20px,calc((100vw - 1320px)/2)); display:flex; align-items:center; justify-content:center; gap:18px; }

.appbar-bubble { position:relative; margin:0; flex:none; padding:9px 16px; color:var(--ink); background:var(--pale); border:1px solid var(--line); border-radius:14px; font-weight:800; font-size:14px; line-height:1.4; text-align:center; }
/* 吹き出しのしっぽ：外側＝枠線色、内側＝塗り色 の2枚重ねで縁取りを出す */
.appbar-bubble:before,
.appbar-bubble:after { content:""; position:absolute; top:50%; width:0; height:0; transform:translateY(-50%); border-top:9px solid transparent; border-bottom:9px solid transparent; }
.appbar-bubble:before { right:-10px; border-left:10px solid var(--line); }
.appbar-bubble:after { right:-9px; border-left:9px solid var(--pale); }

.appbar-stores { display:flex; align-items:center; gap:14px; }
.appbar-stores a { display:block; border-radius:10px; transition:transform .22s ease,box-shadow .22s ease; }
.appbar-stores img { width:155px; height:52px; object-fit:contain; }

.appbar-menu { flex:none; width:61px; height:61px; display:flex; flex-direction:column; align-items:center; justify-content:center; padding:0; color:#fff; background:var(--red); border:0; border-radius:50%; cursor:pointer; font-family:inherit; transition:transform .22s ease,box-shadow .22s ease,background-color .22s ease; }
.appbar-menu-label { display:block; font-size:11px; font-weight:800; letter-spacing:.06em; line-height:1; }
.appbar-menu-bars { display:block; width:19px; margin-top:2px; }
.appbar-menu-bars i { display:block; height:2px; background:#fff; border-radius:2px; transition:transform .22s ease,opacity .22s ease; }
.appbar-menu-bars i + i { margin-top:3px; }
.appbar-menu[aria-expanded="true"] { background:var(--ink); }
.appbar-menu[aria-expanded="true"] .appbar-menu-bars i:nth-child(1) { transform:translateY(5px) rotate(45deg); }
.appbar-menu[aria-expanded="true"] .appbar-menu-bars i:nth-child(2) { opacity:0; }
.appbar-menu[aria-expanded="true"] .appbar-menu-bars i:nth-child(3) { transform:translateY(-5px) rotate(-45deg); }

.appbar-scrim { position:fixed; inset:0; z-index:38; background:rgba(34,21,20,.42); opacity:0; transition:opacity .24s ease; }
.appbar-scrim.is-open { opacity:1; }

.appbar-drawer { position:fixed; left:50%; bottom:calc(var(--appbar-h) + 12px); z-index:39; width:min(320px,calc(100vw - 40px)); max-height:min(70vh,560px); overflow:auto; padding:10px; background:#fff; border:1px solid var(--line); border-radius:20px; box-shadow:0 18px 44px rgba(73,32,24,.22); opacity:0; transform:translate(-50%,12px); transition:opacity .24s ease,transform .24s ease; }
.appbar-drawer.is-open { opacity:1; transform:translate(-50%,0); }
.appbar-drawer a { display:block; padding:13px 16px; border-radius:12px; font-weight:700; font-size:15px; }
.appbar-drawer a + a { border-top:1px solid #f6ebe8; }

.to-top { bottom:calc(var(--appbar-h) + 16px); }

@media (hover:hover) and (min-width:681px) {
  .appbar-stores a:hover { transform:translateY(-3px); box-shadow:0 10px 22px rgba(73,32,24,.18); }
  .appbar-menu:hover { transform:translateY(-3px) scale(1.04); box-shadow:0 12px 26px rgba(73,32,24,.26); }
  .appbar-drawer a:hover { color:var(--red); background:var(--pale); }
}

@media (max-width:1050px) {
  /* 吹き出しを隠すぶん、バッジを中央へ寄せる */
  .appbar-bubble { display:none; }
}

@media (max-width:680px) {
  :root { --appbar-h:70px; }
  .appbar-inner { gap:10px; padding:0 14px; }
  .appbar-stores { gap:8px; }
  .appbar-stores img { width:min(140px,37vw); height:auto; }
  .appbar-menu { width:54px; height:54px; }
  .appbar-menu-label { font-size:10px; }
  .appbar-menu-bars { width:16px; margin-top:2px; }
  .appbar-menu-bars i + i { margin-top:2px; }
  .appbar-drawer { left:14px; right:14px; width:auto; bottom:calc(var(--appbar-h) + 10px); transform:translateY(12px); }
  .appbar-drawer.is-open { transform:translateY(0); }
  .to-top { bottom:calc(var(--appbar-h) + 12px); }
}

@media print {
  .appbar,.appbar-drawer,.appbar-scrim { display:none; }
  body { padding-bottom:0; }
}
