:root { --accent: #4C6B57; }
body { margin: 0; background: #FAF8F3; }
a {
  color: inherit; 
  text-decoration: none;
}

.page {
  position: relative;
  z-index: 0;
  width: 100%;
  min-height: 100vh;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  background: #FAF8F3;
  font-family: 'Zen Kaku Gothic New', sans-serif;
  color: #22231F;
}

/* トップページ(index.php)の背景マーキー文字。.pageの最初の子要素として置き、z-index:-1にすることで
   「.pageの背景色(不変)より前・カードやボタン等の実コンテンツより後ろ」に描画する(背景色は変更しない)。
   https://tane-be.co.jp/animation/motion/30/ を参考にした、複数行が異なる速度で流れる無限マーキー。
   文字色・帯の背景色はいずれも不透明度90%(alpha 0.9)。 */
.marquee-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}
.marquee-rotate {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 200%;
  height: 200%;
  transform: translate(-50%, -50%) rotate(-45deg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 22px;
}
.marquee-row {
  display: flex;
  align-items: center;
  width: 100%;
  overflow: hidden;
  white-space: nowrap;
  padding: 10px 0;
}
/* 9行目以降の追加行はスマホ幅でだけ表示する(下のmax-width:720pxを参照) */
.marquee-row--extra { display: none; }
.marquee-row--a { background: rgba(250,248,243,0.9); }
.marquee-row--b { background: rgba(97,124,107,0.9); }
.marquee-row--a .marquee-track { color: rgba(97,124,107,0.9); }
.marquee-row--b .marquee-track { color: rgba(250,248,243,0.9); }
.marquee-track {
  display: inline-flex;
  flex-shrink: 0;
  animation-name: marqueeScroll;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-weight: 700;
  font-size: 44px;
  letter-spacing: 0.02em;
}
.marquee-row--reverse .marquee-track { animation-direction: reverse; }
@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 48px;
  background: #FAF8F3; /* 背景のマーキーをヘッダーには表示しない(.pageと同じ不透明な背景色で覆う) */
  position: sticky;
  top: 0;
  z-index: 10;
  box-shadow: 0 1px 0 rgba(34,35,31,0.06);
}

.logo:hover {
  text-decoration: none;
}

.logo {
  font-family: 'Zen Old Mincho', serif;
  font-size: 21px;
  letter-spacing: 0.06em;
  color: var(--accent);
}

.header-logo-img {
  display: block;
  width: 100px;
  height: auto;
}

.header-nav { display: flex; align-items: center; gap: 28px; }

.nav-link {
  font-size: 14px;
  color: #22231F;
  text-decoration: none;
  border-bottom: 1px solid rgba(34,35,31,0.4);
  padding-bottom: 2px;
  transition: opacity 0.2s ease;
}
.nav-link:hover { opacity: 0.7; }

/* ---- カードのホバーで少し浮き上がる効果 ---- */
.app-card, .why-card, .value-item {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.app-card:hover, .why-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(34,35,31,0.08);
}
.value-item:hover { transform: translateY(-4px); }

/* ---- LPの動き(スクロールで登場)。JS未実行時・reduced-motion環境では常に表示 ---- */
.reveal { opacity: 1; }
.reveal.is-visible { opacity: 1; }

@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(24px);
  }
  .reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
  }
  /* :not(.is-visible)で.app-card等のtransitionより詳細度を上げ、登場アニメーション中だけこの速度を使う。
     表示済み(.is-visible)になった後は、上のカードのtransition(0.25s)に戻ってホバーが素早く反応する。 */
  .reveal:not(.is-visible) {
    transition: opacity 0.7s ease, transform 0.7s ease;
  }
  /* ここも:not(.is-visible)を付け、表示済み後はtransition-delayが残らないようにする
     (付けないと、ホバーのtransition(transform等)にまでこの遅延が残ってカクついて見える)。 */
  .reveal-grid > .reveal:not(.is-visible):nth-child(2) { transition-delay: 0.08s; }
  .reveal-grid > .reveal:not(.is-visible):nth-child(3) { transition-delay: 0.16s; }
  .reveal-grid > .reveal:not(.is-visible):nth-child(4) { transition-delay: 0.24s; }
  .reveal-grid > .reveal:not(.is-visible):nth-child(5) { transition-delay: 0.32s; }
  .reveal-grid > .reveal:not(.is-visible):nth-child(6) { transition-delay: 0.4s; }

  @keyframes heroFadeUp {
    from { opacity: 0; transform: translateY(16px); filter: blur(22px); }
    to { opacity: 1; transform: translateY(0); filter: blur(0); }
  }
  .hero-title, .hero-desc {
    opacity: 0;
    animation: heroFadeUp 1.8s ease-out forwards;
  }
  .hero-title { animation-delay: 0s; }
  .hero-desc { animation-delay: 1.8s; }

  /* ボタンは、タイトル・説明文より下からの移動量を大きくした「ぼかしフェードイン」にする */
  @keyframes heroBlurSlideUp {
    from { opacity: 0; transform: translateY(40px); filter: blur(22px); }
    to { opacity: 1; transform: translateY(0); filter: blur(0); }
  }
  .hero-cta {
    opacity: 0;
    animation: heroBlurSlideUp 1.8s ease-out forwards;
    animation-delay: 3.6s;
  }
}

.hero {
  padding: 88px 48px 72px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 28px;
}

.hero-title {
  margin: 0;
  font-family: 'Zen Old Mincho', serif;
  font-weight: 400;
  font-size: 40px;
  line-height: 1.6;
  color: #22231F;
  max-width: 760px;
}

.hero-desc {
  margin: 0;
  font-size: 16px;
  line-height: 2;
  color: #4A4A44;
  max-width: 660px;
}

.hero-cta {
  margin-top: 8px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 36px;
  background: var(--accent);
  color: #FAF8F3;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  border-radius: 999px;
}

.value-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 48px;
  padding: 0 48px 96px;
  max-width: 1240px;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
}

.value-item {
  flex: 1 1 220px;
}

.value-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 16px;
}

.value-title { margin: 0; font-size: 15px; font-weight: 700; }
.value-desc { margin: 0; font-size: 12px; line-height: 1.8; color: #5C5C55; text-align: left; }

.divider {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  padding-bottom: 56px;
}

.divider-line {
  width: 40px;
  height: 1px;
  background: rgba(34,35,31,0.15);
}

.section-heading {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  margin-bottom: 40px;
}

.section-heading .section-title { margin: 0; }

.why-section {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 48px 72px;
  box-sizing: border-box;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 48px;
}

.why-card { align-items: stretch; padding: 0; }
.why-card .badge { align-self: flex-start; }
.why-icon {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
}
.why-icon img {
  display: block;
  width: 100%;
  aspect-ratio: 2 / 1;
  object-fit: cover;
}

/* ---- ポインタ追従の3Dチルト+光沢ホバー(value-strip・why-gridのカード)。
   https://tane-be.co.jp/animation/hover/24/ を参考に、サイトの配色に合わせて調整。
   JS(main.js)がポインタ位置を0〜1に正規化して --px / --py に渡し、CSS側で傾き・光沢を組み立てる。 ---- */
@media (prefers-reduced-motion: no-preference) {
  .tilt-card {
    --px: 0.5;
    --py: 0.5;
    position: relative;
    overflow: hidden;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
  }
  .tilt-card::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
    background:
      radial-gradient(circle at calc(var(--px) * 100%) calc(var(--py) * 100%), rgba(255,255,255,0.6), transparent 42%),
      linear-gradient(115deg, transparent 30%, rgba(76,107,87,0.25) calc(var(--px) * 100%), rgba(201,164,106,0.25) calc(var(--px) * 100% + 14%), transparent 70%);
    mix-blend-mode: overlay;
  }
  .tilt-card.is-tilting {
    transform:
      perspective(800px)
      rotateX(calc((0.5 - var(--py)) * 8deg))
      rotateY(calc((var(--px) - 0.5) * 8deg))
      translateY(-4px);
    box-shadow: 0 20px 36px rgba(34,35,31,0.16);
    transition: transform 0.06s linear, box-shadow 0.2s ease;
  }
  .tilt-card.is-tilting::before { opacity: 1; }
}

/* ヒーロー以外の各ブロック共通の背景パネル。「こんなお悩み」(.pain-section・.pain-lead)と続く.value-stripは1つのパネルにまとめ、
   なぜ選ばれるのか・お知らせ・アプリ一覧はそれぞれ別のパネルにする。
   背景のマーキーは、このパネルの範囲では半透明のクリーム色越しに薄く見える。 */
.lp-panel {
  width: 100%;
  max-width: 1240px;
  margin: 48px auto 0;
  padding-top: 48px;
  box-sizing: border-box;
  background: rgba(250,248,243,0.85);
  border-radius: 24px;
}
.lp-panel .pain-section,
.lp-panel .why-section,
.lp-panel .notice-section,
.lp-panel .apps-section { margin-top: 0; }

.pain-section {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 48px 72px;
  box-sizing: border-box;
}

.pain-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
}

.pain-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(76,107,87,0.10);
  display: flex;
  align-items: center;
  justify-content: center;
}
.pain-icon img { width: 28px; height: 28px; object-fit: contain; }
.pain-text { margin: 0; font-size: 13px; line-height: 1.7; color: #5C5C55; text-align: left; }
.pain-lead { font-size: 16px; font-weight: 700; color: #33332E; }

.notice-section {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 48px 72px;
  box-sizing: border-box;
}

.apps-section {
  padding: 0 48px 96px;
  max-width: 1240px;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
}

/* LPの各セクション上部に余白を確保する */
.pain-section,
.why-section,
.notice-section,
.apps-section { margin-top: 48px; }

.section-title {
  margin: 0 0 8px;
  font-family: 'Zen Old Mincho', serif;
  font-weight: 400;
  font-size: 26px;
  text-align: center;
}

.section-desc { margin: 0; font-size: 13px; color: #8A8A82; text-align: center; }

.apps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.app-card {
  background: #FAF8F3;
  border-radius: 16px;
  padding: 26px 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.app-card--placeholder { border: 1px dashed rgba(34,35,31,0.16); }

.card-thumb {
  width: 100%;
  height: 210px;
  border-radius: 14px;
  overflow: hidden;
  position: relative;
}
.card-thumb--napure { background: #F1EEE5; }
.card-thumb--task { background: #EFEFEA; }
.card-thumb--placeholder {
  background: #F4F3EF;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-track {
  display: flex;
  height: 100%;
  transform: translateX(0%);
  transition: transform 0.45s cubic-bezier(0.4,0,0.2,1);
}
.carousel-track--3 { width: 300%; }
.carousel-track--2 { width: 200%; }

.carousel-slide {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-sizing: border-box;
}
.carousel-slide--3 { width: 33.3333%; }
.carousel-slide--2 { width: 50%; }

.carousel-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 10px;
  display: flex;
  justify-content: center;
  gap: 6px;
}

.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  border: none;
  padding: 0;
  cursor: pointer;
  background: rgba(34,35,31,0.18);
}
.dot.is-active { background: var(--accent); }

/* スクリーンショットの「ピーク」カルーセル(前後の画像が少し覗く表示+左右矢印ボタン) */
.card-thumb--peek { background: #E4E1D6; }

.peek-track {
  display: flex;
  align-items: center;
  height: 100%;
  gap: 12px;
  transition: transform 0.4s cubic-bezier(0.4,0,0.2,1);
}

.peek-slide {
  flex: 0 0 auto;
  width: auto;
  height: 90%;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0,0,0,0.18);
  filter: grayscale(65%) brightness(0.8);
  transition: filter 0.35s ease;
}
.peek-slide.is-active { filter: none; }
.peek-slide img { width: auto; height: 100%; display: block; }

.peek-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: none;
  background: rgba(34,35,31,0.55);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  z-index: 2;
}
.peek-nav:hover { background: rgba(34,35,31,0.72); }
.peek-nav--prev { left: 8px; }
.peek-nav--next { right: 8px; }

.badge {
  align-self: flex-start;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 500;
}
.badge--active { background: rgba(76,107,87,0.12); color: var(--accent); }
.badge--pending { background: rgba(34,35,31,0.08); color: #5C5C55; }
.badge--soon { background: rgba(34,35,31,0.05); color: #ADADA5; }

.card-title { margin: 0; font-size: 17px; font-weight: 700; }
.card-title--muted { color: #8A8A82; }

.card-desc { margin: 0; font-size: 13px; line-height: 1.7; color: #5C5C55; flex-grow: 1; }
.card-desc--muted { color: #ADADA5; }

.install-btn {
  display: inline-flex;
  justify-content: center;
  padding: 10px 0;
  border-radius: 999px;
  background: var(--accent);
  color: #FAF8F3;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
}
.install-btn:hover { opacity: 0.88; }

.card-link {
  text-align: center;
  font-size: 13px;
  color: #5C5C55;
  text-decoration: none;
  border-bottom: 1px solid rgba(34,35,31,0.2);
  padding-bottom: 1px;
  align-self: center;
}
.card-link:hover { opacity: 0.7; }

.btn-disabled {
  display: inline-flex;
  justify-content: center;
  padding: 10px 0;
  border: none;
  border-radius: 999px;
  background: rgba(34,35,31,0.08);
  color: #8A8A82;
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-size: 13px;
  font-weight: 500;
  cursor: not-allowed;
}

.footer-row {
  margin-top: auto;
  padding: 32px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid rgba(34,35,31,0.08);
  background: #FAF8F3; /* 背景のマーキーをフッターには表示しない(.pageと同じ不透明な背景色で覆う) */
}

.footer-nav { display: flex; align-items: center; gap: 20px; }
.footer-text { margin: 0; font-size: 12px; color: #8A8A82; }

/* トップページ(index.php)のフッターのみ、サイトシールを右に置くため3カラムにしてコピーライトを中央揃えにする */
.footer-row--home {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
}
.footer-row--home .footer-nav { justify-self: start; }
.footer-row--home .footer-text { justify-self: center; }
.footer-row--home .footer-seal { justify-self: end; }

.doc-section {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 56px 48px 96px;
  box-sizing: border-box;
}

.doc-eyebrow { margin: 0 0 8px; font-size: 13px; color: var(--accent); font-weight: 700; }
.doc-title { margin: 0 0 32px; font-size: 26px; font-family: 'Zen Old Mincho', serif; }
.doc-body { font-size: 14px; line-height: 2; color: #33332E; }
.doc-body--empty { color: #8A8A82; }

/* 本文中の見出し(「## 」「### 」の行)。色・サイズは管理画面「スタイル」の設定(DocStyle::styleTag()が出力する--doc-*変数)で決まる */
.doc-body .doc-h2,
.doc-body .doc-h3 {
  margin: 2.2em 0 0.7em;
  font-family: 'Zen Old Mincho', serif;
  font-weight: 700;
  line-height: 1.5;
}
.doc-body .doc-h2 {
  padding: 0.45em 0.8em;
  border-radius: 6px;
  font-size: var(--doc-h2-size, 19px);
  color: var(--doc-h2-color, #22231F);
  background: var(--doc-h2-bg, #EFE9DA);
}
.doc-body .doc-h3 {
  padding: 0.2em 0.8em;
  border-radius: 6px;
  font-size: var(--doc-h3-size, 16px);
  color: var(--doc-h3-color, #4C6B57);
  background: var(--doc-h3-bg, transparent);
}
.doc-body > :first-child.doc-h2,
.doc-body > :first-child.doc-h3 { margin-top: 0; }
.doc-back { margin-top: 40px; }

.blog-list { display: flex; flex-direction: column; }
.blog-list-item {
  display: block;
  padding: 20px 0;
  border-bottom: 1px solid rgba(34,35,31,0.08);
  text-decoration: none;
  color: inherit;
}
.blog-list-item:first-child { padding-top: 0; }
.blog-list-date { margin: 0 0 6px; font-size: 12px; color: var(--accent); font-weight: 700; }
.blog-list-title { margin: 0; font-size: 16px; font-weight: 700; }
.blog-list-item:hover .blog-list-title { color: var(--accent); }

/* トップページのお知らせ欄: 直近3件分の高さに固定し、超える分は枠内を縦スクロールで確認する */
.notice-scroll {
  max-height: 264px;
  overflow-y: auto;
  scrollbar-width: thin;
}
.notice-scroll .blog-list-item {
  box-sizing: border-box;
  height: 88px;
  padding: 16px 0;
  flex-shrink: 0;
}
.notice-scroll .blog-list-title {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pagination { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px; margin-top: 32px; }
.pagination-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  border-radius: 8px;
  font-size: 13px;
  text-decoration: none;
  color: #5C5C55;
  box-sizing: border-box;
}
a.pagination-link:hover { background: rgba(34,35,31,0.05); }
.pagination-link--active { background: var(--accent); color: #FAF8F3; font-weight: 700; }
.pagination-link--disabled { color: #C9C9BE; }

.contact-desc { font-size: 13px; color: #5C5C55; line-height: 1.8; margin: 0 0 32px; }

.contact-form { display: flex; flex-direction: column; gap: 18px; }
.contact-field { display: flex; flex-direction: column; gap: 6px; }
.contact-field label { font-size: 13px; font-weight: 700; color: #33332E; }
.contact-field input,
.contact-field select,
.contact-field textarea {
  font-family: inherit;
  font-size: 14px;
  padding: 10px 12px;
  border: 1px solid rgba(34,35,31,0.16);
  border-radius: 8px;
  box-sizing: border-box;
  background: #FFFFFF;
}
.contact-field textarea { min-height: 160px; resize: vertical; }
.contact-field input:focus,
.contact-field select:focus,
.contact-field textarea:focus { outline: none; border-color: var(--accent); }
.contact-radio-group { display: flex; gap: 20px; font-size: 13px; color: #33332E; }
.contact-radio-group label { display: flex; align-items: center; gap: 6px; font-weight: 400; }

.contact-submit {
  margin-top: 8px;
  align-self: flex-start;
  padding: 11px 32px;
  border: none;
  border-radius: 999px;
  background: var(--accent);
  color: #FAF8F3;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}
.contact-submit:hover { opacity: 0.9; }

.contact-error-list { margin: 0 0 20px; padding: 14px 16px; border-radius: 8px; background: rgba(178,58,58,0.08); }
.contact-error-list p { margin: 0; font-size: 13px; color: #B23A3A; }
.contact-error-list p + p { margin-top: 4px; }

.contact-success { text-align: center; padding: 24px 0; }
.contact-success-icon { color: var(--accent); margin-bottom: 16px; }
.contact-success p { font-size: 14px; color: #33332E; line-height: 1.8; }

@media (max-width: 720px) {
  .header-row { padding: 16px 20px !important; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 10px 16px; }
  .header-nav { flex-wrap: wrap; justify-content: center; gap: 10px 16px; }
  /* ヒーローにも、他のセクション(.lp-panel)と同じ半透明のクリーム色の背景を入れる */
  .hero { padding: 56px 20px 48px !important; background: rgba(250,248,243,0.85); border-radius: 0; }
  .hero-title { font-size: 26px !important; }
  .hero-line-break { display: none; }
  .value-strip { padding: 0 20px 56px !important; gap: 32px !important; }
  .apps-section { padding: 0 20px 72px !important; }
  .apps-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 14px !important; }
  .app-card { padding: 20px 16px !important; }
  .install-btn { font-size: 11px !important; white-space: nowrap; padding: 10px 2px !important; }
  .footer-row { padding: 32px 20px !important; flex-direction: column; text-align: center; }
  .footer-row { align-items: center; justify-content: center; }
  .footer-nav { flex-wrap: wrap; justify-content: center; }
  .footer-row--home { grid-template-columns: 1fr 1fr; grid-template-areas: "nav nav" "text seal"; row-gap: 12px; justify-items: initial; }
  .footer-row--home .footer-nav { grid-area: nav; justify-self: center; }
  .footer-row--home .footer-text { grid-area: text; justify-self: start; text-align: left; }
  .footer-row--home .footer-seal { grid-area: seal; justify-self: end; }
  .doc-section { padding: 40px 20px 72px !important; }
  .notice-section { padding: 0 20px 56px !important; }
  .pain-section { padding: 0 20px 56px !important; }
  .why-section { padding: 0 20px 56px !important; }
  .pain-section, .why-section, .notice-section, .apps-section { margin-top: 24px; }
  /* スマホは縦に長いため、マーキーをページ全体ではなく画面に固定し、常に画面全体を斜めの帯で覆う。
     縦長の画面でも隙間が出ないよう、追加行(.marquee-row--extra)を表示して帯の枚数を増やす。 */
  .marquee-bg { position: fixed; }
  .marquee-row--extra { display: flex; }
  .lp-panel { margin-top: 0; padding-top: 24px; border-radius: 0; }
  .lp-panel .pain-section, .lp-panel .why-section, .lp-panel .notice-section, .lp-panel .apps-section { margin-top: 0; }
  .pain-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 28px !important; }
  .why-grid { grid-template-columns: 1fr !important; gap: 32px !important; }
  .section-heading .section-title { font-size: 20px; text-align: center; }
}

/* アプリ紹介ページ末尾の、プライバシーポリシー・利用規約への遷移ボタン */
.doc-links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 48px; }
.doc-link-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 24px;
  border: 1px solid var(--accent);
  border-radius: 999px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
}
.doc-link-btn:hover { background: var(--accent); color: #FAF8F3; }

/* ページ全体は1240px幅(LPの画像ブロックと同じ)に揃えるが、入力フォームは横に間延びしないよう従来の幅に抑える */
.doc-section .contact-form,
.doc-section .contact-desc,
.doc-section .contact-error-list,
.doc-section .contact-success { max-width: 720px; }
