/* =========================================================
   emilumo Teaser — Stylesheet v3
   白ベース × ロゴ4色 / 風船・紙吹雪で「イベント感」
   Fonts: 見出し M PLUS Rounded 1c(太丸ゴ) ・ 本文 Zen Kaku Gothic New
          英字・数字 Fredoka(丸く太い)
   ========================================================= */
:root {
  --ink: #2A3338;
  --ink-2: #5F6B72;
  --ink-3: #98A3AA;
  --line: #ECEEF0;
  --paper: #FFFFFF;
  --paper-2: #FBF9F6;

  --red: #D6444B;
  --orange: #EB972C;
  --orange-deep: #E57432;
  --teal: #32545F;
  --pink: #F2B6B9;
  --yellow: #F7D08A;
  --sky: #8FC9D6;

  --f-head: "M PLUS Rounded 1c", "Hiragino Maru Gothic ProN", sans-serif;
  --f-body: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Hiragino Sans", sans-serif;
  --f-en: "Fredoka", "M PLUS Rounded 1c", sans-serif;

  --container: 1080px;
  --header-h: 76px;
  --ease: cubic-bezier(.22,.61,.36,1);
  --bounce: cubic-bezier(.34,1.56,.64,1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); }
body {
  margin: 0; font-family: var(--f-body); color: var(--ink); background: var(--paper);
  line-height: 1.9; letter-spacing: .03em; font-weight: 500; font-size: 15px;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3 { margin: 0; line-height: 1.4; }
p { margin: 0; }
[hidden] { display: none !important; }

.container { width: min(var(--container), 100% - 48px); margin-inline: auto; }
.pc-only { display: inline; } .sp-only { display: none; }
.en { font-family: var(--f-en); font-weight: 500; letter-spacing: .04em; color: var(--ink-3); }
.hl-red { color: var(--red); font-weight: 900; } .hl-orange { color: var(--orange-deep); font-weight: 900; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  background: rgba(255,255,255,.86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  transition: box-shadow .4s;
}
.site-header.is-scrolled { box-shadow: 0 1px 0 var(--line); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.header-logo img { width: 150px; height: auto; }
.global-nav ul { display: flex; gap: 8px; }
.global-nav a {
  font-family: var(--f-en); font-weight: 600; font-size: 17px; letter-spacing: .04em; color: var(--ink);
  padding: 8px 18px; border-radius: 999px; transition: background .25s, color .25s;
}
.global-nav li:nth-child(1) a:hover { background: var(--red); color: #fff; }
.global-nav li:nth-child(2) a:hover { background: var(--orange); color: #fff; }
.global-nav li:nth-child(3) a:hover { background: var(--teal); color: #fff; }
.nav-toggle { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh; display: grid; place-items: center;
  padding: calc(var(--header-h) + 24px) 0 90px; overflow: hidden; text-align: center; background: var(--paper);
}
.festive { position: absolute; inset: 0; pointer-events: none; }

/* 風船:中央(ロゴ)を避けて左右の帯に配置。ゆっくり上昇+ゆらぎ */
.balloon { position: absolute; width: var(--w, 70px); filter: drop-shadow(0 10px 18px rgba(42,51,56,.10)); animation: rise var(--d, 22s) linear infinite, sway 5s ease-in-out infinite alternate; animation-delay: var(--delay, 0s), 0s; opacity: 0; }
.b1 { --w: 84px; left: 7%;  --d: 26s; --delay: -2s; }
.b2 { --w: 64px; left: 16%; --d: 30s; --delay: -14s; }
.b3 { --w: 54px; left: 25%; --d: 34s; --delay: -22s; }
.b4 { --w: 70px; right: 8%; --d: 28s; --delay: -8s; }
.b5 { --w: 58px; right: 18%; --d: 32s; --delay: -19s; }
.b6 { --w: 46px; right: 27%; --d: 36s; --delay: -27s; }
@keyframes rise {
  0%   { transform: translateY(110vh) rotate(-4deg); opacity: 0; }
  6%   { opacity: .95; }
  94%  { opacity: .95; }
  100% { transform: translateY(-30vh) rotate(4deg); opacity: 0; }
}
@keyframes sway { from { margin-left: -14px; } to { margin-left: 14px; } }

/* 紙吹雪:ひらひら落下 */
.cf { position: absolute; top: -4%; width: 10px; height: 16px; border-radius: 2px; opacity: 0; animation: fall var(--d, 14s) linear infinite, flip 1.6s ease-in-out infinite alternate; animation-delay: var(--delay, 0s), 0s; }
.c1  { left: 4%;  background: var(--red);    --d: 15s; --delay: -1s; }
.c2  { left: 11%; background: var(--yellow); --d: 18s; --delay: -7s; width: 8px; height: 8px; border-radius: 50%; }
.c3  { left: 19%; background: var(--sky);    --d: 16s; --delay: -11s; }
.c4  { left: 27%; background: var(--orange); --d: 20s; --delay: -4s; }
.c5  { left: 33%; background: var(--pink);   --d: 17s; --delay: -13s; width: 7px; height: 7px; border-radius: 50%; }
.c6  { left: 39%; background: var(--teal);   --d: 21s; --delay: -9s; width: 8px; height: 12px; }
.c7  { left: 61%; background: var(--yellow); --d: 19s; --delay: -2s; }
.c8  { left: 67%; background: var(--red);    --d: 16s; --delay: -15s; width: 8px; height: 8px; border-radius: 50%; }
.c9  { left: 73%; background: var(--orange); --d: 22s; --delay: -6s; }
.c10 { left: 80%; background: var(--sky);    --d: 17s; --delay: -12s; }
.c11 { left: 87%; background: var(--pink);   --d: 20s; --delay: -3s; width: 8px; height: 12px; }
.c12 { left: 94%; background: var(--teal);   --d: 18s; --delay: -16s; width: 7px; height: 7px; border-radius: 50%; }
.c13 { left: 8%;  background: var(--orange-deep); --d: 23s; --delay: -18s; width: 8px; height: 12px; }
.c14 { left: 23%; background: var(--red);    --d: 19s; --delay: -5s; width: 6px; height: 6px; border-radius: 50%; }
.c15 { left: 77%; background: var(--yellow); --d: 21s; --delay: -10s; width: 8px; height: 12px; }
.c16 { left: 91%; background: var(--orange); --d: 16s; --delay: -14s; width: 6px; height: 6px; border-radius: 50%; }
@keyframes fall {
  0% { transform: translateY(0) rotate(0deg); opacity: 0; }
  5% { opacity: .9; } 90% { opacity: .9; }
  100% { transform: translateY(108vh) rotate(540deg); opacity: 0; }
}
@keyframes flip { from { transform: scaleX(1); } to { transform: scaleX(.2); } }

.hero-inner { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 20px; }
/* ロゴ背面は常に白(風船と重なってもロゴがぼやけない) */
.hero-inner::before { content: ""; position: absolute; inset: -30px -80px; background: radial-gradient(ellipse at center, #fff 50%, rgba(255,255,255,0) 76%); z-index: -1; pointer-events: none; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--f-en); font-weight: 600; font-size: 15px; letter-spacing: .14em; text-transform: uppercase; color: var(--red); background: #FDECEC; padding: 8px 20px; border-radius: 999px; }
.hero-eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--red); animation: blink 1.6s infinite; }
@keyframes blink { 50% { opacity: .25; } }
.hero-logo img { width: min(560px, 80vw); height: auto; margin-inline: auto; }
.hero-tagline { font-family: var(--f-head); font-weight: 900; font-size: clamp(24px, 3.4vw, 38px); letter-spacing: .1em; line-height: 1.5; display: flex; flex-wrap: wrap; justify-content: center; gap: 0 .2em; }
.hero-tagline .w { display: inline-block; opacity: 0; transform: translateY(14px) scale(.96); animation: pop .7s var(--bounce) forwards; }
.hero-tagline .w1 { color: var(--red); animation-delay: .2s; }
.hero-tagline .w2 { color: var(--orange); animation-delay: .45s; }
.hero-tagline .w3 { color: var(--teal); animation-delay: .7s; }
@keyframes pop { to { opacity: 1; transform: none; } }
.hero-desc { font-weight: 700; font-size: 15px; line-height: 2; letter-spacing: .06em; color: var(--ink); }
.hero-desc span { display: block; font-weight: 500; font-size: 13.5px; color: var(--ink-2); }

.countdown { margin-top: 10px; }
.countdown-label { font-family: var(--f-en); font-weight: 600; font-size: 15px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 12px; }
.countdown-label span { color: var(--ink); margin-left: 6px; }
.countdown-grid { display: flex; justify-content: center; gap: 12px; }
.cd { width: 86px; padding: 14px 6px 12px; border-radius: 22px; color: #fff; box-shadow: 0 10px 26px rgba(42,51,56,.12); transform: rotate(var(--tilt, 0deg)); }
.cd.red { background: var(--red); --tilt: -3deg; }
.cd.orange { background: var(--orange); --tilt: 2deg; }
.cd.teal { background: var(--teal); --tilt: -2deg; }
.cd.pink { background: var(--orange-deep); --tilt: 3deg; }
.cd strong { display: block; font-family: var(--f-en); font-weight: 700; font-size: 38px; line-height: 1; font-variant-numeric: tabular-nums; }
.cd small { display: block; margin-top: 6px; font-family: var(--f-en); font-weight: 600; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; opacity: .85; }
.countdown.is-done .countdown-grid { display: none; }
.countdown.is-done .countdown-label { font-size: 18px; color: var(--ink); text-transform: none; }
.countdown.is-done .countdown-label span { color: var(--red); }

.scroll-hint { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 6px; color: var(--ink-3); }
.scroll-hint span { font-family: var(--f-en); font-weight: 600; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; }
.scroll-hint i { display: block; width: 2px; height: 40px; border-radius: 2px; background: var(--line); position: relative; overflow: hidden; }
.scroll-hint i::after { content: ""; position: absolute; left: 0; top: -100%; width: 100%; height: 100%; background: var(--red); animation: drop 1.8s var(--ease) infinite; }
@keyframes drop { to { top: 100%; } }

/* ---------- Sections ---------- */
.section { padding: 120px 0; }
.section-head { text-align: center; margin-bottom: 60px; }
.section-en { display: inline-block; font-family: var(--f-en); font-weight: 600; font-size: 14px; letter-spacing: .18em; text-transform: uppercase; color: var(--orange-deep); margin-bottom: 14px; }
.section-title { font-family: var(--f-head); font-weight: 900; font-size: clamp(26px, 3.2vw, 36px); letter-spacing: .08em; color: var(--ink); }
.section-title::after { content: ""; display: block; width: 56px; height: 6px; border-radius: 3px; margin: 22px auto 0; background: linear-gradient(90deg, var(--red) 0 33%, var(--orange) 33% 66%, var(--teal) 66%); }
.section-lead { margin-top: 24px; color: var(--ink-2); font-size: 14.5px; letter-spacing: .04em; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 72px; align-items: center; }
.about-visual { display: flex; justify-content: center; }
.about-visual img { width: min(260px, 60%); animation: bob 5s ease-in-out infinite; }
@keyframes bob { 0%,100% { transform: translateY(0) rotate(-2deg);} 50% { transform: translateY(-12px) rotate(2deg);} }
.about-body p { margin-bottom: 18px; font-size: 15.5px; line-height: 2.1; }
.about-origin { display: flex; align-items: center; gap: 20px; margin-bottom: 30px !important; flex-wrap: wrap; }
.origin-word { display: inline-flex; flex-direction: column; align-items: center; padding: 14px 26px 12px; border-radius: 20px; min-width: 130px; color: #fff; box-shadow: 0 10px 26px rgba(42,51,56,.10); }
.origin-word.red { background: var(--red); transform: rotate(-2deg); }
.origin-word.orange { background: var(--orange); transform: rotate(2deg); }
.origin-word em { font-style: normal; font-family: var(--f-head); font-weight: 900; font-size: 28px; letter-spacing: .08em; line-height: 1.2; }
.origin-word.orange em { font-family: var(--f-en); font-weight: 700; font-size: 32px; letter-spacing: .02em; }
.origin-word small { font-size: 11px; letter-spacing: .08em; margin-top: 6px; opacity: .9; font-weight: 700; }
.origin-plus { font-family: var(--f-en); font-weight: 700; font-size: 26px; color: var(--ink-3); }

/* ---------- Service ---------- */
.service { background: var(--paper-2); }
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.svc { position: relative; background: #fff; border-radius: 22px; padding: 28px 22px 24px; box-shadow: 0 8px 24px rgba(42,51,56,.06); border-top: 6px solid var(--c); transition: transform .3s var(--bounce), box-shadow .3s; }
.svc:hover { transform: translateY(-6px) rotate(-.6deg); box-shadow: 0 18px 40px rgba(42,51,56,.12); }
.svc.red { --c: var(--red); } .svc.orange { --c: var(--orange); } .svc.teal { --c: var(--teal); }
.svc.pink { --c: var(--pink); } .svc.yellow { --c: var(--yellow); }
.svc-num { display: inline-block; font-family: var(--f-en); font-weight: 700; font-size: 13px; letter-spacing: .1em; color: var(--c); margin-bottom: 10px; }
.svc.pink .svc-num, .svc.yellow .svc-num { color: var(--ink-2); }
.svc strong { display: block; font-family: var(--f-head); font-weight: 800; font-size: 17px; letter-spacing: .04em; color: var(--ink); line-height: 1.5; }
.svc small { display: block; font-size: 12.5px; letter-spacing: .02em; color: var(--ink-2); margin-top: 8px; line-height: 1.8; font-weight: 500; }
.service-note { text-align: center; margin-top: 40px; font-size: 13px; letter-spacing: .04em; color: var(--ink-3); font-weight: 500; }

/* ---------- Company ---------- */
.company-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 56px; align-items: start; }
.company-table { margin: 0; border-top: 2px solid var(--ink); }
.company-table > div { display: grid; grid-template-columns: 140px 1fr; gap: 20px; padding: 22px 4px; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.company-table dt { font-family: var(--f-head); font-weight: 800; letter-spacing: .08em; color: var(--ink); }
.company-table dd { margin: 0; line-height: 1.9; }
.company-table dd .en { display: block; font-size: 14px; }
.company-table small.note { display: block; margin-top: 6px; font-size: 12px; color: var(--ink-3); }
.company-table a:hover { color: var(--red); }
.company-map { overflow: hidden; border-radius: 24px; background: var(--paper-2); min-height: 380px; box-shadow: 0 10px 30px rgba(42,51,56,.08); }
.company-map iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; }

/* ---------- Closing band ---------- */
.closing { position: relative; overflow: hidden; text-align: center; padding: 96px 0; background: linear-gradient(135deg, var(--red) 0%, var(--orange-deep) 55%, var(--orange) 100%); color: #fff; }
.closing::before, .closing::after { content: ""; position: absolute; border-radius: 50%; background: rgba(255,255,255,.08); }
.closing::before { width: 420px; height: 420px; left: -140px; top: -200px; }
.closing::after { width: 320px; height: 320px; right: -100px; bottom: -180px; }
.closing-en { position: relative; font-family: var(--f-en); font-weight: 700; font-size: clamp(40px, 6vw, 68px); letter-spacing: .02em; line-height: 1.1; }
.closing-jp { position: relative; margin-top: 18px; font-weight: 700; font-size: 15px; letter-spacing: .08em; opacity: .95; }

/* ---------- Footer ---------- */
.site-footer { background: var(--paper); padding: 56px 0 28px; }
.footer-inner { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; }
.footer-brand img { width: 130px; margin-bottom: 14px; }
.footer-brand p { font-size: 12.5px; letter-spacing: .03em; color: var(--ink-2); line-height: 1.9; }
.footer-nav { display: flex; gap: 6px; flex-wrap: wrap; }
.footer-nav a { font-family: var(--f-en); font-weight: 600; font-size: 15px; letter-spacing: .04em; color: var(--ink-2); padding: 6px 14px; border-radius: 999px; transition: background .25s, color .25s; }
.footer-nav a:hover { background: var(--paper-2); color: var(--ink); }
.copyright { text-align: center; margin-top: 44px; font-family: var(--f-en); font-weight: 500; font-size: 13px; color: var(--ink-3); letter-spacing: .1em; }

/* ---------- Privacy page ---------- */
.page-simple { padding: calc(var(--header-h) + 64px) 0 110px; }
.page-simple .container { max-width: 780px; }
.page-simple h1 { font-family: var(--f-head); font-weight: 900; letter-spacing: .08em; font-size: 30px; margin-bottom: 44px; }
.page-simple h1 .en { display: block; font-size: 14px; letter-spacing: .18em; margin-top: 8px; text-transform: uppercase; color: var(--orange-deep); }
.page-simple h2 { font-family: var(--f-head); font-weight: 800; font-size: 17px; letter-spacing: .04em; color: var(--ink); margin: 40px 0 12px; padding-left: 14px; border-left: 5px solid var(--orange); border-radius: 2px; }
.page-simple p, .page-simple li { font-size: 14px; line-height: 2; font-weight: 500; }
.page-simple p { margin-bottom: 14px; }
.page-simple ul { list-style: disc; padding-left: 1.4em; margin-bottom: 14px; }
.page-simple li { margin-bottom: 6px; }
.page-simple a { text-decoration: underline; text-underline-offset: 3px; }
.legal-contact { background: var(--paper-2); border-radius: 16px; padding: 20px 24px; margin: 8px 0 14px; }
.legal-contact p { margin: 0; }
.page-simple .date { color: var(--ink-3); font-size: 12.5px; margin-top: 44px; }
.btn-back { display: inline-block; font-family: var(--f-en); font-weight: 600; font-size: 15px; letter-spacing: .06em; background: var(--ink); color: #fff; padding: 12px 28px; border-radius: 999px; }
.btn-back:hover { background: var(--red); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .service-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
  .about-grid, .company-grid { grid-template-columns: 1fr; gap: 44px; }
}
@media (max-width: 768px) {
  :root { --header-h: 64px; }
  body { font-size: 14px; }
  .pc-only { display: none; } .sp-only { display: inline; }
  .container { width: min(var(--container), 100% - 40px); }
  .section { padding: 84px 0; }
  .section-head { margin-bottom: 40px; }

  .header-logo img { width: 122px; }
  .nav-toggle {
    display: flex; flex-direction: column; justify-content: center; gap: 7px; width: 44px; height: 44px;
    background: none; border: 0; cursor: pointer; padding: 10px; z-index: 110; margin-right: -10px;
  }
  .nav-toggle span { display: block; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .35s var(--ease); }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(4.5px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(-4.5px) rotate(-45deg); }
  .global-nav {
    position: fixed; inset: var(--header-h) 0 auto 0; background: rgba(255,255,255,.98);
    padding: 20px 20px 32px; border-bottom: 1px solid var(--line);
    transform: translateY(-120%); transition: transform .45s var(--ease); z-index: 105;
  }
  .global-nav.is-open { transform: translateY(0); }
  .global-nav ul { flex-direction: column; align-items: center; gap: 6px; }
  .global-nav a { display: block; padding: 12px 28px; font-size: 20px; }

  .hero { padding: calc(var(--header-h) + 16px) 0 76px; }
  .b1 { --w: 56px; left: 3%; } .b2 { --w: 44px; left: 12%; } .b3 { display: none; }
  .b4 { --w: 48px; right: 4%; } .b5 { --w: 40px; right: 14%; } .b6 { display: none; }
  .c4, .c5, .c6, .c7, .c13, .c14 { display: none; }
  .hero-inner::before { inset: -20px -30px; }
  .hero-eyebrow { font-size: 12.5px; padding: 7px 16px; }
  .hero-tagline { font-size: 22px; letter-spacing: .06em; }
  .hero-desc { font-size: 14px; }
  .hero-desc span { font-size: 12.5px; }
  .countdown-grid { gap: 8px; }
  .cd { width: 68px; padding: 11px 4px 9px; border-radius: 16px; }
  .cd strong { font-size: 28px; }
  .cd small { font-size: 9.5px; }
  .scroll-hint { bottom: 18px; }

  .origin-word { min-width: 112px; padding: 12px 20px 10px; }
  .origin-word em { font-size: 24px; } .origin-word.orange em { font-size: 28px; }
  .service-grid { grid-template-columns: 1fr; gap: 14px; }
  .svc { padding: 22px 20px 20px; }
  .company-table > div { grid-template-columns: 1fr; gap: 6px; padding: 18px 4px; }
  .company-map, .company-map iframe { min-height: 280px; }
  .closing { padding: 72px 0; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}
