/* ===== SCREEN READER ONLY ===== */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --color-primary: #465278;
  --color-primary-dark: #2F3133;
  --color-accent: #804C50;
  --color-dark: #2F3133;
  --color-text: #2F3133;
  --color-text-muted: #6D6D6D;
  --color-bg: #ffffff;
  --color-bg-soft: #ECE8E1;
  --color-border: #D8D3CC;
  --font-ja: 'FOT-TsukuARdGothic Std', 'FOT-筑紫A丸ゴシック Std',
             'ヒラギノ丸ゴ ProN W4', 'ヒラギノ丸ゴ ProN',
             'Hiragino Maru Gothic ProN', 'Hiragino Maru Gothic Pro',
             'ヒラギノ丸ゴ Pro', 'Noto Sans JP', sans-serif;
  --font-en: 'Inter', sans-serif;
  --radius: 12px;
  --shadow: 0 4px 24px rgba(0,0,0,.07);
  --shadow-lg: 0 12px 48px rgba(0,0,0,.10);
  --transition: 0.35s cubic-bezier(.4,0,.2,1);
  --header-h: 72px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-ja);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 40px;
}

/* ── ヘッダー ロードアニメーション ── */
@keyframes headerFadeDown {
  from { opacity: 0; transform: translateY(-10px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ===== HEADER ===== */
#header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-h);
  z-index: 100;
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--color-border);
  border-radius: 0;
  transition:
    top    0.55s cubic-bezier(.25, 0, .25, 1),
    left   0.55s cubic-bezier(.25, 0, .25, 1),
    right  0.55s cubic-bezier(.25, 0, .25, 1),
    border-radius 0.55s cubic-bezier(.25, 0, .25, 1),
    border-color  0.55s cubic-bezier(.25, 0, .25, 1),
    box-shadow    0.55s cubic-bezier(.25, 0, .25, 1),
    background    0.55s cubic-bezier(.25, 0, .25, 1);
}

#header.scrolled {
  top: 14px;
  left: 24px;
  right: 24px;
  border-radius: 20px;
  border-bottom-color: transparent;
  background: rgba(255,255,255,.95);
  box-shadow:
    0 8px 40px rgba(0, 0, 0, .08),
    0 2px 10px rgba(0, 0, 0, .04),
    inset 0 0 0 1px rgba(255,255,255,.6);
}

.header-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 40px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  opacity: 0;
  animation: headerFadeDown 0.6s cubic-bezier(.2, 0, .1, 1) 0.1s forwards;
}
.logo-img {
  width: 170px;
  height: 53px;
  display: block;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 40px;
}

/* ナビ項目スタガー */
.nav-list > li {
  opacity: 0;
  animation: headerFadeDown 0.6s cubic-bezier(.2, 0, .1, 1) forwards;
  position: relative;
}

/* カテゴリ間の縦罫線 */
.nav-list > li:not(:first-child)::before {
  content: '';
  position: absolute;
  left: -20px;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 42px;
  background: var(--color-border);
}
.nav-list > li:nth-child(1) { animation-delay: 0.20s; }
.nav-list > li:nth-child(2) { animation-delay: 0.28s; }
.nav-list > li:nth-child(3) { animation-delay: 0.36s; }
.nav-list > li:nth-child(4) { animation-delay: 0.44s; }
.nav-list > li:nth-child(5) { animation-delay: 0.52s; }
.nav-list > li:nth-child(6) { animation-delay: 0.60s; }

.nav-list a {
  font-size: .9rem;
  font-weight: 500;
  color: var(--color-text);
  transition: color var(--transition);
  position: relative;
}

/* ホバー下線：左から右へスライド */
.nav-list a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--color-primary);
  transition: width 0.3s cubic-bezier(.4, 0, .2, 1);
}
.nav-list a:hover { color: var(--color-primary); }
.nav-list a:hover::after { width: 100%; }

/* ログインボタン */
.nav-login-btn {
  padding: 7px 18px;
  color: var(--color-primary) !important;
  font-weight: 600;
  transition: color var(--transition);
}
.nav-login-btn:hover {
  color: var(--color-primary) !important;
}
.nav-login-btn::after { display: none !important; }

/* 多言語ドロップダウン */
.nav-lang {
  position: relative;
}

.lang-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: .9rem;
  font-weight: 500;
  font-family: var(--font-en);
  color: var(--color-text);
  padding: 0;
  line-height: 1;
  vertical-align: middle;
  transition: color var(--transition);
}
.lang-btn:hover { color: var(--color-primary); }

.lang-caret {
  transition: transform var(--transition);
}
.lang-btn[aria-expanded="true"] .lang-caret {
  transform: rotate(180deg);
}

.lang-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  box-shadow: var(--shadow);
  min-width: 120px;
  overflow: hidden;
  z-index: 200;
}
.lang-dropdown.open { display: block; }

.lang-dropdown li a {
  display: block;
  padding: 10px 18px;
  font-size: .85rem;
  color: var(--color-text-muted);
  transition: background var(--transition), color var(--transition);
}
.lang-dropdown li a:hover {
  background: var(--color-bg-soft);
  color: var(--color-text);
}
.lang-dropdown li a.lang-active {
  color: var(--color-primary);
  font-weight: 500;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-dark);
  transition: var(--transition);
  transform-origin: center;
}
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav */
@media (max-width: 768px) {
  .hamburger { display: flex; }
  #nav {
    position: fixed;
    top: var(--header-h); left: 0; right: 0;
    background: rgba(255,255,255,.97);
    backdrop-filter: blur(12px);
    padding: 32px 40px;
    transform: translateY(calc(-100% - var(--header-h)));
    transition: transform var(--transition);
    box-shadow: var(--shadow);
  }
  #nav.open { transform: translateY(0); }
  .nav-list { flex-direction: column; gap: 24px; }
  .nav-list a { font-size: 1.1rem; }
}

/* ===== HERO ===== */
#hero {
  min-height: 100vh;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: visible;
}

.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-height: 100vh;
  padding: calc(var(--header-h) + 64px) 40px 32px;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  justify-content: flex-end;
}

/* 上部ラベル */
.hero-label {
  position: absolute;
  top: calc(var(--header-h) + 250px);
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-en);
  font-size: .7rem;
  font-weight: 400;
  letter-spacing: .35em;
  color: #D8D3CC;
  text-transform: uppercase;
  white-space: nowrap;
}


/* ── 画像エリア ── */
/* 画像＋詩の右揃えブロック */
.hero-right-block {
  position: absolute;
  right: 80px;
  bottom: clamp(80px, 10vh, 160px);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 30px;
  z-index: 2;
}

.hero-img-area {
  display: flex;
  justify-content: flex-end;
}
.hero-img-area.no-image { display: none; }

.hero-img {
  width: 100px;
  height: auto;
  max-width: none;
  display: block;
}

/* ── メインコピー（画像140px下・右揃え） ── */
@keyframes poemReveal {
  0%   { opacity: 0; filter: blur(10px); }
  100% { opacity: 1; filter: blur(0px); }
}

.hero-poem {
  text-align: right;
  opacity: 0;
  filter: blur(10px);
  animation: poemReveal 3.6s cubic-bezier(.2, 0, .1, 1) 1.4s forwards;
  font-family: 'DNP ShueiMaruGothic Std', 'DNP 秀英丸ゴシック Std',
               'FOT-TsukuARdGothic Std', 'FOT-筑紫A丸ゴシック Std',
               'ヒラギノ丸ゴ ProN W4', 'ヒラギノ丸ゴ ProN',
               'Hiragino Maru Gothic ProN', 'Hiragino Maru Gothic Pro',
               'ヒラギノ丸ゴ Pro', 'Noto Sans JP', sans-serif;
  font-size: 17pt;
  font-weight: 400;
  letter-spacing: .04em;
  color: #6d6d6d;
  line-height: 1.6;
}

.hero-poem-line {
  display: block;
}

.hero-poem-line:first-child {
  padding-right: 1em;
}

/* 詩の下 横線：左から右へ伸びてそのまま残る */
@keyframes heroLineWipe {
  0%   { transform: scaleX(0); opacity: 1; }
  100% { transform: scaleX(1); opacity: 1; }
}

.hero-rule {
  align-self: stretch;
  height: 1px;
  background: transparent;
  position: relative;
  overflow: hidden;
}

.hero-rule::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: #6d6d6d;
  transform-origin: left center;
  transform: scaleX(0);
  opacity: 0;
  animation: heroLineWipe 1.2s cubic-bezier(.4, 0, .2, 1) 5.2s forwards;
}


/* ボタンは画像より前面に */
.hero-btns {
  position: relative;
  z-index: 1;
}

.hero-btns {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 0;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 100px;
  font-size: .95rem;
  font-weight: 600;
  transition: var(--transition);
  cursor: pointer;
  letter-spacing: .02em;
}

.btn-primary {
  background: #465278;
  color: #ffffff;
  border-radius: 0;
  border: 1.5px solid #465278;
  box-shadow: none;
}
.btn-primary:hover {
  background: #354060;
  border-color: #354060;
  transform: translateY(-2px);
  box-shadow: none;
}

.btn-ghost {
  border: 1.5px solid #804c50;
  color: #804c50;
  background: #ECE8E1;
  border-radius: 0;
}
.btn-ghost:hover {
  background: #804c50;
  color: #ffffff;
  border-color: #804c50;
  transform: translateY(-2px);
}

.btn-outline {
  border: 2px solid rgba(255,255,255,.6);
  color: #fff;
}
.btn-outline:hover {
  border-color: #fff;
  background: rgba(255,255,255,.1);
  transform: translateY(-2px);
}

/* Scroll indicator — 丸ドット */
.scroll-down {
  position: absolute;
  bottom: clamp(8px, 2vh, 24px);
  right: 0;
  z-index: 2;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* DOWNLOAD上部のスクロールインジケーター */
.scroll-down-wrap {
  display: flex;
  justify-content: center;
  padding: 40px 0 0;
}
.scroll-down--static {
  position: static;
  transform: none;
}

.scroll-label {
  display: block;
  font-family: var(--font-en);
  font-size: .6rem;
  font-weight: 500;
  letter-spacing: .25em;
  color: #B0AAA4;
  text-align: center;
  margin-bottom: 10px;
}

.scroll-track {
  width: 1px;
  height: 70px;
  background: #ECE8E1;
  position: relative;
  overflow: visible;
  border-radius: 1px;
}

.scroll-dot {
  width: 8px;
  height: 8px;
  background: #B0AAA4;
  border-radius: 50%;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  animation: dotScroll 9s cubic-bezier(.4, 0, .6, 1) infinite;
}

@keyframes dotScroll {
  0%   { top: 0;    opacity: 1; }
  80%  { top: 100%; opacity: 0.2; }
  100% { top: 100%; opacity: 0; }
}

/* ===== SECTION COMMON ===== */
.section-label {
  font-family: var(--font-en);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: .2em;
  color: var(--color-primary);
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: .02em;
  margin-bottom: 56px;
  color: #465278;
  position: relative;
  display: inline-block;
}

/* 3本ライン アンダーライン — 左から右へ */
.section-title::after {
  content: '';
  position: absolute;
  bottom: -12px;
  left: 0;
  width: 100%;
  height: 9px;
  background: linear-gradient(
    to bottom,
    #465278 0px, #465278 1px,
    transparent 1px, transparent 4px,
    #804c50 4px, #804c50 5px,
    transparent 5px, transparent 8px,
    #6d6d6d 8px, #6d6d6d 9px
  );
  transform-origin: left center;
  transform: scaleX(0);
  transition: transform 1.8s cubic-bezier(.3, 0, .2, 1);
}

.section-title.marked::after {
  transform: scaleX(1);
}

.section-desc {
  font-size: 1.35rem;
  color: var(--color-text-muted);
  line-height: 1.9;
  max-width: 900px;
}

/* ===== ABOUT US ===== */
#about-us {
  padding: 140px 0;
  background: #ffffff;
}

#about-us .container {
  text-align: center;
}

.about-cta {
  margin-top: 40px;
  text-align: right;
}

.about-cta-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  font-size: 1rem;
  font-weight: 600;
  color: #465278;
  letter-spacing: .05em;
  text-decoration: none;
  background: #ffffff;
  border: 1px solid #465278;
  transition: background var(--transition), color var(--transition);
}

.about-cta-link:hover {
  background: #465278;
  color: #ffffff;
}

/* ABOUT US テキスト：初期状態（CSS で管理） */
#about-us .section-desc {
  margin: 0 -40px 0 auto;
  font-size: 1.35rem;
  text-align: left;
  max-width: 640px;
  opacity: 0;
  filter: blur(12px);
  transform: translateY(28px);
  transition: opacity 1.4s cubic-bezier(.2,0,.1,1),
              filter  1.4s cubic-bezier(.2,0,.1,1),
              transform 1.4s cubic-bezier(.2,0,.1,1);
}

/* ABOUT US CTA：初期状態 */
#about-us .about-cta {
  opacity: 0;
  filter: blur(12px);
  transform: translateY(28px);
  transition: opacity 1.4s cubic-bezier(.2,0,.1,1),
              filter  1.4s cubic-bezier(.2,0,.1,1),
              transform 1.4s cubic-bezier(.2,0,.1,1);
}

/* JS が .revealed を付けたら表示 */
#about-us .section-desc.revealed,
#about-us .about-cta.revealed {
  opacity: 1;
  filter: none;
  transform: translateY(0);
}


.about-layout {
  display: flex;
  align-items: flex-start;
  gap: 48px;
}

/* 左カラム：sticky固定 */
.about-sticky {
  flex: 1;
  position: sticky;
  top: var(--header-h);
}

/* slidevisual：初期状態（CSS で管理） */
.about-img-slide {
  width: 100%;
  height: auto;
  display: block;
  opacity: 0;
  filter: blur(20px);
  transform: scale(1.04);
  transition: opacity 1.8s cubic-bezier(.2,0,.1,1),
              filter  1.8s cubic-bezier(.2,0,.1,1),
              transform 1.8s cubic-bezier(.2,0,.1,1);
}

/* JS が .revealed を付けたら表示 */
.about-img-slide.revealed {
  opacity: 1;
  filter: none;
  transform: scale(1);
}

/* 右カラム：スクロール */
.about-scroll {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 96px;
}

.about-img-right {
  width: 100%;
}

.about-img-back {
  width: 100%;
  height: auto;
  display: block;
}

.about-text {
  width: 100%;
}

@media (max-width: 768px) {
  .about-layout {
    flex-direction: column;
  }
  .about-sticky {
    position: static;
  }
}

/* ===== CONCEPT ===== */
#concept {
  padding: 140px 0;
  background: #ffffff;
}

#concept .container {
  text-align: center;
}

#concept .section-desc {
  margin: 0 auto 72px;
}

.concept-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 64px;
}

.concept-item {
  padding: 48px 32px;
  background: #ffffff;
  border-radius: 0;
  border: none;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  transition: var(--transition);
}

.concept-item {
  border-right: 1px solid var(--color-border);
}

.concept-item:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: transparent;
}

.concept-icon {
  width: 64px;
  height: 64px;
  color: var(--color-primary);
  margin: 0 auto 24px;
}

.concept-icon svg { width: 100%; height: 100%; }

.concept-item h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: #465278;
}

.concept-item p {
  font-size: .95rem;
  color: var(--color-text-muted);
}

/* ===== FEATURES ===== */
#features {
  padding: 140px 0;
  background: var(--color-bg);
}

#features .container { text-align: center; margin-bottom: 80px; }

.feature-block {
  max-width: 1120px;
  margin: 0 auto 100px;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.feature-block:last-child { margin-bottom: 0; }

.feature-block--reverse { direction: rtl; }
.feature-block--reverse > * { direction: ltr; }

.feature-visual {
  display: flex;
  justify-content: center;
}

.feature-mockup {
  width: 280px;
  height: 560px;
  background: var(--color-primary);
  border-radius: 36px;
  padding: 16px;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.feature-mockup--accent { background: var(--color-accent); }
.feature-mockup--warm { background: linear-gradient(135deg, #804C50, #C4957A); }

.mockup-screen {
  width: 100%;
  height: 100%;
  background: #ffffff;
  border-radius: 24px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Calendar mockup */
.mockup-calendar {
  padding: 20px 16px;
  width: 100%;
}

.mc-header {
  font-size: .85rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 12px;
  text-align: center;
}

.mc-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
  margin-bottom: 12px;
}

.mc-day {
  font-size: .6rem;
  font-weight: 600;
  text-align: center;
  padding: 4px 0;
  color: var(--color-text-muted);
}
.mc-day.sun { color: #EF4444; }
.mc-day.sat { color: var(--color-primary); }

.mc-num {
  font-size: .7rem;
  text-align: center;
  padding: 4px 2px;
  border-radius: 50%;
  cursor: pointer;
}
.mc-num.sun { color: #EF4444; }
.mc-num.sat { color: var(--color-primary); }
.mc-num.today {
  background: var(--color-primary);
  color: #fff;
  font-weight: 700;
  border-radius: 50%;
}

.mc-event {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 8px;
  background: rgba(70,82,120,.08);
  border-radius: 6px;
  margin-bottom: 6px;
  font-size: .65rem;
  color: var(--color-text);
}
.mc-event--2 { background: rgba(128,76,80,.08); }
.mc-event-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--color-primary);
  flex-shrink: 0;
}
.mc-event--2 .mc-event-dot { background: var(--color-accent); }

/* Sync mockup */
.mockup-sync {
  text-align: center;
  padding: 32px 20px;
}

.sync-icon {
  width: 80px; height: 80px;
  color: var(--color-accent);
  margin: 0 auto 12px;
}
.sync-icon svg { width: 100%; height: 100%; }

.sync-label {
  font-size: .9rem;
  font-weight: 600;
  color: var(--color-accent);
  margin-bottom: 24px;
}

.sync-devices {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.sync-device {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.sd-icon { font-size: 1.8rem; }
.sync-device span { font-size: .65rem; color: var(--color-text-muted); }
.sync-arrow { font-size: 1.2rem; color: var(--color-accent); }

/* Theme mockup */
.mockup-theme {
  text-align: center;
  padding: 32px 20px;
}

.theme-preview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 20px;
}

.theme-swatch {
  height: 60px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .75rem;
  font-weight: 700;
  color: #fff;
  transition: var(--transition);
}
.swatch-a { background: linear-gradient(135deg, #804C50, #B87878); }
.swatch-b { background: linear-gradient(135deg, #465278, #7A8AB0); }
.swatch-c { background: linear-gradient(135deg, #6B5E7A, #9A8FA0); }
.swatch-d { background: linear-gradient(135deg, #2F3133, #5A5A5C); }

.theme-label {
  font-size: .8rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 12px;
}

.theme-bar {
  height: 6px;
  background: var(--color-border);
  border-radius: 3px;
  overflow: hidden;
}
.tb-fill {
  height: 100%;
  width: 70%;
  background: linear-gradient(to right, #465278, #804C50);
  border-radius: 3px;
}

/* Feature text */
.feature-num {
  font-family: var(--font-en);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: .15em;
  color: var(--color-primary);
  opacity: .5;
  display: block;
  margin-bottom: 12px;
}

.feature-title {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 20px;
  color: #465278;
  letter-spacing: .02em;
}

.feature-desc {
  font-size: 1rem;
  color: var(--color-text-muted);
  line-height: 1.9;
  margin-bottom: 24px;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.feature-list li {
  font-size: .9rem;
  color: var(--color-text);
  padding-left: 20px;
  position: relative;
}

.feature-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  background: var(--color-primary);
  border-radius: 50%;
}

/* ===== DOWNLOAD ===== */
#download {
  position: relative;
  padding: 48px 0;
  overflow: hidden;
  background: #ffffff;
}

.download-bg {
  position: absolute;
  inset: 0;
  background: #ffffff;
}

.download-inner {
  position: relative;
  z-index: 1;
}

/* ダウンロード 2カラムレイアウト */
.download-layout {
  display: flex;
  align-items: center;
  gap: 48px;
}

.download-text {
  flex: 1;
  text-align: center;
}

.download-visual {
  flex: 0 0 auto;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  transform: translateX(-40px);
}

.download-phone-img {
  width: 227px;
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

.section-label--light { color: var(--color-primary); }
.section-title--light { color: #465278; margin: 0 auto 56px; }
.section-desc--light { color: var(--color-text-muted); margin: 0 auto 40px; }

.download-btns {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 14px 28px;
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  color: #2F3133;
  transition: var(--transition);
  min-width: 180px;
}

.store-btn:hover {
  background: #EAE6E0;
  border-color: #bbb;
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0,0,0,.1);
}

.store-icon { width: 28px; height: 28px; flex-shrink: 0; }

.store-text {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.store-sub {
  font-size: .65rem;
  opacity: .7;
  font-family: var(--font-en);
  letter-spacing: .05em;
}

.store-name {
  font-size: 1.1rem;
  font-weight: 600;
  font-family: var(--font-en);
  letter-spacing: .02em;
}

/* ストアバッジ画像ボタン */
.store-img-btn {
  display: inline-block;
  transition: transform var(--transition), opacity var(--transition);
}
.store-img-btn:hover {
  transform: translateY(-3px);
  opacity: 0.85;
}
.store-badge-img {
  height: auto;
  max-height: 48px;
  width: auto;
  max-width: 100%;
  display: block;
}

/* ===== BACK TO TOP ===== */
.back-to-top {
  position: fixed;
  right: 32px;
  bottom: 40px;
  z-index: 900;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,.18);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 0.35s ease, transform 0.35s ease, background 0.25s ease;
}
.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.back-to-top:hover {
  background: var(--color-primary-dark);
  transform: translateY(-3px);
}

/* ===== FOOTER ===== */
#footer {
  background: #ffffff;
  border-top: 1px solid #D8D3CC;
  padding: 48px 0;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
}

.footer-logo { display: flex; align-items: center; }
.footer-logo-img { width: 170px; height: 53px; display: block; }

.footer-nav {
  display: flex;
  gap: 0;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

.footer-nav a {
  font-size: .82rem;
  color: #2F3133;
  transition: color var(--transition);
  padding: 0 16px;
  position: relative;
}

.footer-nav a + a::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 0.9em;
  background: #D8D3CC;
}

.footer-nav a:hover { color: var(--color-primary); }

/* SNS リンク */
.footer-sns {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 24px;
}

.footer-sns-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  color: #6D6D6D;
  transition: color var(--transition), background var(--transition);
}
.footer-sns-btn svg {
  width: 26px;
  height: 26px;
}

.footer-eventia-logo {
  width: 26px;
  height: auto;
  display: block;
}

.footer-sns-btn:hover {
  color: var(--color-primary);
  background: var(--color-bg-soft);
}

.footer-copy {
  font-size: .8rem;
  color: #6D6D6D;
  font-family: var(--font-en);
}

/* ===== FADE-IN ANIMATION ===== */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .7s ease, transform .7s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 960px) {
  .concept-grid { grid-template-columns: 1fr 1fr; gap: 24px; }

  .feature-block {
    grid-template-columns: 1fr;
    gap: 48px;
    padding: 0 24px;
    margin-bottom: 72px;
  }
  .feature-block--reverse { direction: ltr; }

  .feature-visual { order: -1; }
  .feature-mockup { width: 220px; height: 440px; }
}

@media (max-width: 768px) {
  .hero-poem {
    right: 20px;
    left: 20px;
    text-align: right;
    font-size: 12pt;
  }

  .download-layout {
    flex-direction: column;
    gap: 32px;
  }
  .download-text { width: 100%; }
  .download-visual { transform: none; }

  br.pc { display: none; }
}

@media (max-width: 640px) {
  .container { padding: 0 24px; }

  .header-inner { padding: 0 24px; }

  #concept { padding: 80px 0; }
  .concept-grid { grid-template-columns: 1fr; }

  #features { padding: 80px 0; }
  #features .container { margin-bottom: 48px; }

  #download { padding: 100px 0; }
}


/* ===== BENEFITS ===== */
#benefits {
  padding: 140px 0;
  background: #ffffff;
}

#benefits .container { text-align: center; }

.benefits-label {
  color: var(--color-primary);
}

.benefits-title {
  color: #465278 !important;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 72px;
  text-align: left;
}

.benefit-item {
  padding: 40px 36px;
  background: #ffffff;
  border-radius: 0;
  border: none;
  border-top: 1px solid rgba(109, 109, 109, 0.12);
  border-bottom: 1px solid rgba(109, 109, 109, 0.12);
  border-right: 1px solid rgba(109, 109, 109, 0.12);
  transition: var(--transition);
}

.benefit-item:hover {
  background: #ffffff;
  border-color: transparent;
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.benefit-num {
  font-family: var(--font-en);
  font-size: 2.4rem;
  font-weight: 300;
  color: rgba(70,82,120,.25);
  line-height: 1;
  margin-bottom: 18px;
  letter-spacing: -.02em;
}

.benefit-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #2F3133;
  margin-bottom: 10px;
}

.benefit-lead {
  font-size: .9rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: 22px;
}

.benefit-list {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.benefit-list li {
  font-size: .875rem;
  color: var(--color-text);
  padding-left: 22px;
  position: relative;
  line-height: 1.65;
}

.benefit-list li::before {
  content: '—';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--color-border);
  font-size: .8rem;
  font-weight: 700;
}


/* ===== NEWS TICKER ===== */
#news {
  padding: 0;
  background: transparent;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.news-ticker-wrap {
  display: flex;
  align-items: stretch;
  height: 88px;
  background: #fff;
  overflow: hidden;
}

.news-ticker-label {
  flex-shrink: 0;
  width: 148px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  background: #2F3133;
  color: #fff;
  font-family: var(--font-en);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .18em;
  line-height: 1.5;
  text-transform: uppercase;
}

.news-ticker-viewport {
  flex: 1;
  overflow: hidden;
  display: flex;
  align-items: center;
  border-left: 1px solid var(--color-border);
}

.news-ticker-track {
  display: flex;
  white-space: nowrap;
  animation: tickerScroll 42s linear infinite;
}

.news-ticker-track:hover {
  animation-play-state: paused;
}

.news-ticker-set {
  display: inline-flex;
  align-items: center;
}

.news-ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  padding: 0 60px;
}

.news-ticker-date {
  font-family: var(--font-en);
  font-size: .78rem;
  font-weight: 500;
  color: #465278;
  letter-spacing: .1em;
}

.news-ticker-text {
  font-size: .88rem;
  color: var(--color-text);
  letter-spacing: .03em;
}

.news-ticker-more {
  flex-shrink: 0;
  width: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--color-text-muted);
  text-decoration: none;
  border-left: 1px solid var(--color-border);
  transition: color var(--transition), background var(--transition);
}

.news-ticker-more:hover {
  color: var(--color-primary);
  background: var(--color-bg-soft);
}

@keyframes tickerScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}


/* ===== FEATURE CAROUSEL ===== */
.feature-carousel-outer {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 40px;
}

.feature-carousel {
  display: flex;
  gap: 28px;
  overflow-x: scroll;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
}

.feature-carousel::-webkit-scrollbar { display: none; }

.feature-carousel.is-grabbing {
  cursor: grabbing;
  scroll-behavior: auto;
}

.feature-slide {
  flex: 0 0 calc(50% - 14px);
  scroll-snap-align: start;
  background: var(--color-bg-soft);
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  padding: 48px 36px 44px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 36px;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.feature-slide:hover {
  border-color: transparent;
  box-shadow: var(--shadow);
}

.feature-slide-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  flex: 1;
}

.feature-slide-img {
  width: 50%;
  max-width: 360px;
  height: auto;
  display: block;
  border-radius: 8px;
  object-fit: contain;
}

.feature-slide-img--lg {
  width: 100%;
  max-width: none;
}

/* スライド内のモックアップをコンパクトに */
.feature-slide .feature-mockup {
  width: 160px;
  height: 320px;
}

.feature-slide-body {
  width: 100%;
  margin-top: auto;
}

/* ナビゲーション */
.feature-carousel-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 44px;
}

.carousel-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1.5px solid var(--color-border);
  background: #ffffff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text);
  transition: var(--transition);
  flex-shrink: 0;
}

.carousel-btn:hover:not(:disabled) {
  background: var(--color-dark);
  color: #ffffff;
  border-color: var(--color-dark);
}

.carousel-btn:disabled {
  opacity: 0.28;
  cursor: not-allowed;
}

/* ドットインジケーター */
.carousel-dots {
  display: flex;
  align-items: center;
  gap: 8px;
}

.carousel-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-border);
  transition: width 0.4s cubic-bezier(.4,0,.2,1),
              border-radius 0.4s cubic-bezier(.4,0,.2,1),
              background 0.4s cubic-bezier(.4,0,.2,1);
}

.carousel-dot.active {
  width: 22px;
  border-radius: 3px;
  background: var(--color-dark);
}



/* ===== FEATURE CARDS ===== */
.feature-cards-container {
  padding-top: 64px;
  border-top: 1px solid var(--color-border);
  margin-top: 20px;
}

.feature-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 800px;
  margin: 0 auto;
}

.feature-card {
  padding: 40px 32px;
  background: var(--color-bg-soft);
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: transparent;
}

.feature-card-icon {
  width: 52px;
  height: 52px;
  color: var(--color-primary);
  margin-bottom: 20px;
}

.feature-card-icon svg { width: 100%; height: 100%; }

.feature-card-img-wrap {
  display: flex;
  justify-content: center;
  margin-top: 24px;
}

.feature-card-img {
  width: 390px;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}

.feature-card-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: #465278;
  margin-bottom: 12px;
}

.feature-card-desc {
  font-size: .9rem;
  color: var(--color-text-muted);
  line-height: 1.85;
}


/* ===== SERVICE ===== */
#service {
  padding: 140px 0;
  background: #ECE8E1;
}

#service .container { text-align: center; }

#service .section-desc { margin: 0 auto; }

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-top: 64px;
  text-align: left;
}

.service-card {
  padding: 48px 40px;
  background: var(--color-bg);
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: transparent;
}

.service-card-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 28px;
}

.service-card-logo {
  flex-shrink: 0;
}

.service-logo-img {
  height: 100px;
  width: auto;
  display: block;
  object-fit: contain;
}

.service-card-num {
  font-family: var(--font-en);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: .15em;
  color: var(--color-primary);
  opacity: .5;
  display: block;
  margin-bottom: 16px;
}

.service-card-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #465278;
  margin-bottom: 16px;
}

.service-card-desc {
  font-size: .95rem;
  color: var(--color-text-muted);
  line-height: 1.9;
  margin-bottom: 28px;
}

.service-card-link {
  font-size: .9rem;
  font-weight: 600;
  color: var(--color-primary);
  transition: color var(--transition);
}

.service-card-link:hover { color: var(--color-primary-dark); }


/* ===== NEW RELEASE ===== */
#newrelease {
  padding: 140px 0;
  background: var(--color-bg);
}

#newrelease .container { text-align: center; }

#newrelease .section-desc { margin: 0 auto; }

.release-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 64px;
  text-align: left;
}

.release-card {
  padding: 36px 32px;
  background: var(--color-bg-soft);
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  transition: var(--transition);
}

.release-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: transparent;
}

.release-tag {
  display: inline-block;
  font-size: .72rem;
  font-weight: 600;
  color: var(--color-primary);
  background: rgba(70,82,120,.09);
  padding: 4px 12px;
  border-radius: 4px;
  margin-bottom: 16px;
}

.release-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #465278;
  margin-bottom: 12px;
}

.release-card-desc {
  font-size: .9rem;
  color: var(--color-text-muted);
  line-height: 1.85;
}


/* ===== RESPONSIVE: NEW SECTIONS ===== */
@media (max-width: 960px) {
  .benefits-grid { grid-template-columns: 1fr; gap: 20px; }
  .feature-cards-grid { grid-template-columns: repeat(2, 1fr); }
  .service-grid { grid-template-columns: 1fr; }
  .release-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  #benefits { padding: 80px 0; }
  #news { padding: 80px 0; }
  #service { padding: 80px 0; }
  #newrelease { padding: 80px 0; }
  .benefit-item { padding: 32px 24px; }
  .feature-cards-grid { grid-template-columns: 1fr; }
  .release-grid { grid-template-columns: 1fr; }
  .news-item { flex-wrap: wrap; gap: 12px; }
  .news-date { min-width: auto; }
}
