/* Shisha Timer LP — Product-grade design system (SaaS / Apple style) */
*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  /* Base */
  --bg: #ffffff;
  --bg-sub: #f5f5f5;
  --bg-tertiary: #eceff1;
  /* Text */
  --text: #111111;
  --text-secondary: #444;
  --text-muted: #888888;
  /* Border */
  --border: #e5e7eb;
  /* Accent */
  --accent: #d50000;
  --accent-dim: rgba(37, 99, 235, 0.08);
  /* Card system (unified) */
  --card-bg: #ffffff;
  --card-border: 1px solid #e5e7eb;
  --card-radius: 16px;
  --card-shadow: 0 12px 30px rgba(15, 23, 42, 0.04);
  --card-padding: clamp(1.5rem, 3vw, 2rem);
  /* Hero / floating */
  --shadow-hero: 0 30px 80px rgba(15, 23, 42, 0.10);
  /* Section rhythm (やや狭め) */
  --section-padding-pc: clamp(4rem, 7vw, 6rem);
  --section-padding-sp: clamp(3rem, 8vw, 4.5rem);
  --space-xl: clamp(3rem, 8vw, 5rem);
  /* Layout */
  --radius: 12px;
  --radius-lg: 20px;
  --max: 1120px;
  --narrow: 680px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-secondary);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

.lp {
  min-height: 100vh;
}

.container {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 2rem);
}

.narrow {
  max-width: var(--narrow);
  margin-inline: auto;
}

/* ----- Header (frosted) ----- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(17, 17, 17, 0.06);
}

/* Top pages only: header is hidden initially, revealed after ~100vh scroll */
body.lp--top .site-header {
  position: fixed;
  left: 0;
  right: 0;
  transform: translateY(-120%);
  opacity: 0;
  pointer-events: none;
  transition: transform 260ms ease, opacity 180ms ease;
  will-change: transform;
}

body.lp--top .site-header.is-visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  min-height: 56px;
  padding-block: 0.75rem;
  flex-wrap: wrap;
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: clamp(0.5rem, 2vw, 0.75rem);
  flex-wrap: wrap;
  justify-content: flex-end;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: 1px solid var(--border);
  overflow: hidden;
  background: var(--bg);
}

.lang-switch__item {
  min-height: 34px;
  min-width: 40px;
  padding: 0.35rem 0.8rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  color: var(--text-muted);
  border-right: 1px solid var(--border);
  user-select: none;
}

.lang-switch__item:last-child {
  border-right: none;
}

.lang-switch__item--active {
  background: var(--bg-tertiary);
  color: var(--text);
}

.lang-switch__btn {
  min-height: 34px;
  min-width: 40px;
  padding: 0.35rem 0.85rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  font-family: inherit;
  border: none;
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.lang-switch__btn:hover {
  background: var(--bg-sub);
  color: var(--accent);
}

.lang-switch__btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.site-header__logo {
  display: flex;
  align-items: center;
  color: var(--text);
  text-decoration: none;
  transition: opacity 0.2s;
}

.site-header__logo:hover {
  opacity: 0.8;
}

.site-header__logo-img {
  display: block;
  height: 54px;
  width: auto;
  object-fit: contain;
}

@media (max-width: 899px) {
  .site-header__logo-img {
    height: 40px;
  }
}

/* ----- Sections (rhythm) ----- */
.section {
  padding-block: var(--section-padding-sp);
}

@media (min-width: 900px) {
  .section {
    padding-block: var(--section-padding-pc);
  }
}

.section__title {
  margin: 0 0 clamp(1rem, 3vw, 1.5rem);
  font-size: clamp(1.5rem, 3.5vw, 1.75rem);
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.02em;
  line-height: 1.2;
  text-align: center;
}



.section__lead {
  margin: -0.25rem auto clamp(1.5rem, 4vw, 2.5rem);
  max-width: 36em;
  text-align: center;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--text-secondary);
}

@media (max-width: 600px) {
  section:not(#hero) .section__title {
    font-size:1.35rem;
  }

  section:not(#hero) .section__lead {
    font-size: 0.975rem;
  }
}

@media (min-width: 900px) {
  .section__lead {
  max-width: 80%;

}

}

.section__lead.small {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ----- Hero（白背景・おしゃれ） ----- */
.section--hero {
  padding-top: clamp(2rem, 6vw, 3.5rem);
  padding-bottom: var(--space-xl);
  background: var(--bg);
  position: relative;
  overflow: hidden;
}

.section--hero::before {
  content: "";
  position: absolute;
  top: -30%;
  right: -15%;
  width: 60%;
  height: 100%;
  background: radial-gradient(ellipse at center, rgba(37, 99, 235, 0.035) 0%, transparent 60%);
  pointer-events: none;
}

.hero__grid {
  display: grid;
  gap: clamp(1.75rem, 4vw, 3rem);
  align-items: center;
  position: relative;
  z-index: 1;
}

/* Top pages only: floating language switch at top-right */
body.lp--top .lang-switch--floating {
  position: absolute;
  top: 30px;
  right: 30px;
  z-index: 120;
}

/* Top pages only: hero uses <picture> background layer（共通ベース） */
body.lp--top .section--hero {
  padding-top: 0;
  padding-bottom: 0;
}

body.lp--top .section--hero::before {
  display: none;
}

body.lp--top .hero__grid {
  position: relative;
}

body.lp--top .hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

body.lp--top .hero__bg img {
  width: 100%;
  height: 100%;
  display: block;
}

body.lp--top .hero__copy {
  position: relative;
  z-index: 1;
}

/* === Hero: PCレイアウト（960px〜） ===================================== */
@media (min-width: 960px) {
  body.lp--top .section--hero {
    height: 100vh;
    height: 100svh;
    display: flex;
    align-items: center;
  }
  body.lp--top .hero__grid {
    height: 100%;
    grid-template-columns: 1fr;
    align-content: center;
    max-width: 1280px !important;
  }
  body.lp--top .hero__bg img {
    object-fit: cover;
  }
  body.lp--top .hero__copy {
    padding-bottom: 20vh;
  }
}

/* === Hero: スマホレイアウト（〜600px） ================================= */
@media (max-width: 600px) {
  body.lp--top .section--hero {
    aspect-ratio: 9 / 16;
    height: auto;
  }
  body.lp--top .hero__grid {
    height: 100%;
    grid-template-columns: 1fr;
    align-content: start;
    padding-block: clamp(1.25rem, 6vw, 2rem);
  }
  body.lp--top .hero__bg img {
    object-fit: contain;
  }
  body.lp--top .hero__copy {
    padding-top: 24vw;
  }
}

/* === Hero: タブレットレイアウト（601px〜959px） ======================== */
@media (min-width: 601px) and (max-width: 959px) {
  /* 初期状態ではスマホと同じ。将来ここだけ値を変えてタブレット専用調整を行う。 */
  body.lp--top .section--hero {
    height: 100vh;
    height: 100svh;
    display: flex;
    align-items: center;
  }
  body.lp--top .hero__grid {
    height: 100%;
    grid-template-columns: 1fr;
    align-content: start;
    padding-block: clamp(1.25rem, 6vw, 2rem);
  }
  body.lp--top .hero__bg img {
    object-fit: cover;
  }
  body.lp--top .hero__copy {
    padding-top: 10vw;
  }
}

/* スマホ: 画像を一番上に表示 */
@media (max-width: 959px) {
  .hero__visual {
    order: -1;
  }
  .hero__copy {
    order: 0;
  }
}

@media (min-width: 960px) {
  .hero__grid {
    grid-template-columns: 1fr 1.08fr;
  }
}

.section--hero .eyebrow {
  margin: 0 0 0.5rem;
  font-size: 0.6875rem;
  font-weight: 600;
 /*  letter-spacing: 0.18em; */
  text-transform: uppercase;
  color: #fff;
}

.section--hero .eyebrow2 {
  font-size: 0.875rem;
  font-weight: 600;
 /*  letter-spacing: 0.18em; */
  text-transform: uppercase;
  color: #ffc400 !important;
  /* margin: 0; */
}
/* @media (max-width: 600px) {
  .section--hero .eyebrow2 {
    text-align: center;

  }
} */

.eyebrow3 {

  font-weight: 600;
  text-transform: uppercase;
  color: #fff !important;
  margin: 0;
  background: #ffab00;
  display: inline-block;
  padding: 1px 10px 3px;
  font-size: 15px;
  border-radius: 4px;
  margin-top: 8px;
}

.section--hero .hero__title {
  margin: 0 0 0.75rem;
  font-size: clamp(1.5rem, 4.5vw, 2.25rem);
  font-weight: 600;
  color: #fff;
  line-height: 1.18;
  letter-spacing: -0.03em;
}

.section--hero .hero__sub {
  margin: 0 0 1.5rem;
  font-size: 0.9375rem;
  line-height: 1.55;
  font-weight: 600;
  max-width: 30em;
  color: #FCF3E3;
}

/* .section--hero .hero__sub strong {
  color: var(--text);
} */

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
}

/* スマホ: ボタンを左右中央に表示（Coming soon / App Store どちらでも） */
@media (max-width: 600px) {
  .hero__cta {
    justify-content: center;
  }
}

.hero__visual {
  position: relative;
}

.section--hero .hero__frame {
  border-radius: 18px;
  overflow: hidden;
  background: var(--card-bg);
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow:
    0 24px 56px rgba(15, 23, 42, 0.08),
    0 0 0 1px rgba(0, 0, 0, 0.02);
  /* aspect-ratio: 4 / 3; */
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

@media (prefers-reduced-motion: no-preference) {
  .section--hero .hero__frame:hover {
    transform: translateY(-4px);
    box-shadow:
      0 32px 72px rgba(15, 23, 42, 0.1),
      0 0 0 1px rgba(0, 0, 0, 0.03);
  }
}

.section--hero .hero__frame.is-placeholder::after {
  content: "Shisha Timer";
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

.hero__img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.hero__frame:not(.is-placeholder) .hero__img[src=""],
.hero__img[data-broken] {
  display: none;
}

/* ----- Buttons ----- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.375rem;
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
  border: 1px solid var(--border);
  color: var(--text);
  background: transparent;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
  cursor: pointer;
  font-family: inherit;
}

.btn--header {
  color: var(--text-secondary);
  margin-left: 25px;
}

.btn--header:hover {
  border-color: var(--text);
  color: var(--text);
}

@media (max-width: 899px) {
  .btn--header {
    display: none;
  }
}

.btn--outline {
  border-color: var(--border);
  color: var(--text);
}

.btn--outline:hover {
  border-color: var(--text);
  color: var(--text);
  background: var(--bg-sub);
}

.faq-support {
  margin: 2.25rem 0 0;
  text-align: center;
}

.faq-support .btn {
  min-width: 10rem;
  background-color: #000;
  color: #fff;
}

.btn--store {
  background: #111;
  color: #fff;
  border-color: #111;
  padding: 14px 24px;
}

.btn--store:hover {
  background: #333;
  border-color: #333;
  color: #fff;
}

.btn--disabled {
  cursor: default;
  pointer-events: none;
  opacity: 0.7;
}

.btn--large {
  padding: 16px 32px;
  font-size: 1.0625rem;
}

.btn--store__label {
  display: block;
}

/* ----- Problem (card system) ----- */
.section--problem {
  background: var(--bg-sub);
}

.pain-list {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
}

.pain-list__item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: var(--card-padding);
  font-size: 1rem;
  line-height: 1.5;
  background: var(--card-bg);
  border: var(--card-border);
  border-radius: var(--card-radius);
  margin-bottom: 0.875rem;
  box-shadow: var(--card-shadow);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

@media (prefers-reduced-motion: no-preference) {
  .pain-list__item:hover {
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.06);
  }
}

.pain-list__item:last-child {
  margin-bottom: 0;
}

.pain-list__mark {
  flex-shrink: 0;
  width: 1.5rem;
  height: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #dc2626;
  font-weight: 700;
}

.solution-block {
  padding: var(--card-padding);
  border-radius: var(--card-radius);
  background: var(--card-bg);
  border: var(--card-border);
  box-shadow: var(--card-shadow);
}

.solution-block__lead {
  margin: 0 0 1rem;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.01em;
}

.solution-block__text {
  margin: 0;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--text-secondary);
}

.solution-block__text strong {
  color: var(--accent);
}

/* ----- Features (Solution): 背景 = 旧Problem、6枚カード・タイトル→画像→説明 ----- */
.section--features {
  background: var(--bg-sub);
}

/* .section--features2 {
  background: #f4f4f4;
} */

.feature-cards {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

#features .feature-cards {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (min-width: 600px) and (max-width: 899px) {
  .feature-cards,
  #features .feature-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .feature-cards,
  #features .feature-cards {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }

  #howtouse .feature-cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

.feature-card {
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  border-radius: var(--card-radius);
  background: var(--card-bg);
  border: var(--card-border);
  box-shadow: var(--card-shadow);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

@media (max-width: 600px) {
  .feature-card {
    padding: 1rem;
  }

}

@media (prefers-reduced-motion: no-preference) {
  .feature-card:hover {
    box-shadow: 0 20px 48px rgba(15, 23, 42, 0.06);
    transform: translateY(-3px);
  }
}

.feature-card__title {
  margin: 0 0 1rem;
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text);
  line-height: 1.3;
  text-align: center;
  /* color: #0277bd; */
}

#features .feature-card__title {
  color: #01579b 
}

/* .feature-card__img {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-sub);
  margin-bottom: 1rem;
  flex-shrink: 0;
}

.feature-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
} */




#howtouse .feature-card__img {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-sub);
  margin-bottom: 1rem;
  flex-shrink: 0;
}

#howtouse .feature-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}


#features .feature-card__img {
  width: 100%;
  
  margin-bottom: 1rem;
  text-align: center;
  position: relative;

}



#features .feature-card__img svg,
#features .feature-card__img img {
  width: 100%;
  height: 100%;
max-width: 40%;

}








.feature-card__body {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--text-secondary);
  flex: 1;
}

/* ----- Screens (card + hover) ----- */
/* .section--screens {
  background: var(--bg-sub);
} */

/* スマホ・タブレット・PC とも横3枚、画像間10px、ブロック左右は .container で他コンテンツと揃う */
.screen-gallery {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  gap: 5px;
  align-items: flex-start;
}

.screen-shot {
  margin: 0;
  flex: 0 0 auto;
  width: calc((100% - 20px) / 3);
  max-width: 280px;
}

.screen-shot__frame {
  border-radius: var(--card-radius);
  overflow: hidden;
  background: var(--card-bg);
  border: var(--card-border);
  box-shadow: var(--card-shadow);
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

/* スマホ: 画像の元サイズ（アスペクト比）に合わせて表示 */
@media (max-width: 699px) {
  .screen-shot__frame {
    min-height: 0;
    height: auto;
    display: block;
  }

  .screen-shot__img {
    width: 100%;
    height: auto;
    object-fit: unset;
    vertical-align: top;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .screen-shot__frame:hover {
    box-shadow: 0 24px 56px rgba(15, 23, 42, 0.08);
    transform: translateY(-6px);
  }
}

.screen-shot__frame.is-placeholder::after {
  content: "Screenshot";
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  color: var(--text-muted);
}

.screen-shot__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.screen-shot__cap {
  margin-top: 1rem;
  font-size: 0.875rem;
  text-align: center;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ----- Scenes ----- */
.scene-pills {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.scene-pills__item {
  padding: 0.75rem 1.375rem;
  border-radius: 999px;
  background: var(--card-bg);
  border: var(--card-border);
  color: var(--text);
  font-size: 0.9375rem;
  font-weight: 500;
  box-shadow: var(--card-shadow);
  transition: box-shadow 0.2s ease;
}

.scene-pills__item:hover {
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
}

.scene-note {
  margin: 0;
  text-align: center;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--text-secondary);
  max-width: 36em;
  margin-inline: auto;
}

/* ----- 機能一覧（FAQ と同じ枠・カードデザイン・アコーディオンなし） ----- */
.section--feature-list {
  padding-top: var(--section-padding-sp);
  padding-bottom: var(--section-padding-sp);
  /* background-color: #cfd8dc; */
  background: var(--bg-sub);
}

.feature-list {
  margin: 0;
  padding: var(--card-padding);
  background: var(--card-bg);
  border: var(--card-border);
  border-radius: var(--card-radius);
  box-shadow: var(--card-shadow);
}

.feature-list__group {
  margin: 0;
}

.feature-list__group + .feature-list__group {
  margin-top: 1.75rem;
}

.feature-list__heading {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.01em;
}

.feature-list__list {
  margin: 0;
  padding-left: 1.25rem;
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

.feature-list__list li {
  margin-bottom: 0.25rem;
}

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

/* ----- FAQ (card system) ----- */
.faq-list {
  margin: 0;
  background: var(--card-bg);
  border: var(--card-border);
  border-radius: var(--card-radius);
  box-shadow: var(--card-shadow);
  overflow: hidden;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-item__btn {
  width: 100%;
  text-align: left;
  padding: 1.25rem 2.75rem 1.25rem 1.5rem;
  background: transparent;
  border: none;
  color: var(--text);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  font-family: inherit;
  cursor: pointer;
  position: relative;
  transition: background 0.15s ease;
}

.faq-item__btn:hover {
  background: var(--bg-sub);
}

.faq-item__btn::after {
  content: "";
  position: absolute;
  right: 1.5rem;
  top: 50%;
  width: 0.5rem;
  height: 0.5rem;
  border-right: 2px solid var(--text-muted);
  border-bottom: 2px solid var(--text-muted);
  transform: translateY(-60%) rotate(45deg);
  transition: transform 0.2s ease;
}

.faq-item__btn[aria-expanded="true"]::after {
  transform: translateY(-20%) rotate(-135deg);
}

.faq-item__a {
  margin: 0;
  padding: 0 1.5rem 1.5rem;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

.faq-item__a[hidden] {
  display: none;
}

.faq-item__a:not([hidden]) {
  display: block;
}

.faq-item__a strong {
  color: var(--text);
}

/* ----- CTA（黒背景・目立つ） ----- */
.section--cta {
  padding-top: clamp(3.5rem, 8vw, 5.5rem);
  padding-bottom: clamp(3.5rem, 8vw, 5.5rem);
  background: #0f1015;
  background-image: radial-gradient(ellipse 70% 60% at 50% 100%, rgba(191, 167, 122, 0.08), transparent 55%);
}

@media (min-width: 900px) {
  .section--cta {
    background-color: #0f1015;
    background-image: url("assets/back.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
  }
}

.cta-block {
  text-align: center;
  padding: clamp(2.5rem, 6vw, 4rem);
  max-width: 32rem;
  margin-inline: auto;
  background: rgba(0, 0, 0, .8);
  border-radius: var(--card-radius);
}

.cta-block__title {
  margin: 0 0 0.875rem;
  font-size: clamp(1.5rem, 3.5vw, 1.875rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #ffffff;
  line-height: 1.25;
}

.cta-block__text {
  margin: 0 0 1.75rem;
  font-size: 1rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.8);
}

.cta-block .btn--store {
  background: #ffffff;
  color: #0f1015;
  border-color: #ffffff;
  padding: 1rem 1.75rem;
  font-size: 1rem;
}

.cta-block .btn--store:hover {
  background: #bfa77a;
  color: #0f1015;
  border-color: #bfa77a;
}

.cta-block .btn--disabled {
  background: rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.7);
  border-color: rgba(255, 255, 255, 0.25);
}

.cta-block__keywords {
  margin: 1.75rem 0 0;
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.4);
}

/* ----- Subpage (card system) ----- */
.section--page {
  padding-top: clamp(2.5rem, 6vw, 4rem);
  padding-bottom: clamp(4rem, 10vw, 6rem);
  background: var(--bg-sub);
}

.page-content {
  background: var(--card-bg);
  border: var(--card-border);
  border-radius: var(--card-radius);
  padding: var(--card-padding);
  box-shadow: var(--card-shadow);
}

.page-content h1 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text);
  line-height: 1.25;
}

.page-content .meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  margin: 0 0 1.5rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.page-content .lead {
  margin: 0 0 1.5rem;
  font-size: 1.02rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

.page-content h2 {
  margin: 2rem 0 0.75rem;
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text);
}

.page-content h2:first-of-type {
  margin-top: 0;
}

.page-content h3 {
  margin: 1.5rem 0 0.5rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
}

.page-content p {
  margin: 0 0 1rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

.page-content ul {
  margin: 0 0 1rem 1.25em;
  padding: 0;
}

.page-content li {
  margin: 0 0 0.5rem;
}

.page-content .note {
  background: var(--accent-dim);
  border: 1px solid rgba(37, 99, 235, 0.2);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  margin: 1.25rem 0 1rem;
}

.page-content .note p:last-child,
.page-content .note ul:last-child {
  margin-bottom: 0;
}

.page-content .lang {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.page-content a {
  color: var(--accent);
  text-decoration: none;
}

.page-content a:hover {
  text-decoration: underline;
}

.page-content code {
  background: var(--bg-sub);
  padding: 0.2em 0.5em;
  border-radius: 6px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.9em;
  color: var(--text-secondary);
  border: 1px solid var(--border);
}

.page-content .footer {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* ----- Footer ----- */
.site-footer {
  padding: 2.5rem 0 2.5rem;
  background: var(--bg-sub);
  border-top: 1px solid var(--border);
}

.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-footer__copy {
  margin: 0;
  font-size: 0.875rem;
  color: #666666;
}

.site-footer__nav {
  font-size: 0.875rem;
}

.site-footer__nav a {
  color: #666666;
  text-decoration: none;
  transition: color 0.2s;
}

.site-footer__nav a:hover {
  color: var(--accent);
}

/* ----- Section reveal (fade + slide) ----- */
@media (prefers-reduced-motion: no-preference) {
  .section--hero .hero__copy,
  .section--hero .hero__visual {
    opacity: 0;
    animation: fadeSlideUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  }

  .section--hero .hero__visual {
    animation-delay: 0.1s;
  }
}

@keyframes fadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .section--hero .hero__copy,
  .section--hero .hero__visual {
    opacity: 1;
    animation: none;
  }

  .hero__frame:hover,
  .feature-card:hover,
  .screen-shot__frame:hover {
    transform: none;
  }
}

/* ----- Responsive manual line breaks ----- */
.pc-br {
  display: none;
}

.sp-br {
  display: inline;
}

@media (min-width: 900px) {
  .pc-br {
    display: inline;
  }

  .sp-br {
    display: none;
  }
}


#screens .section__lead{
  color: #333;
}