/* たんおめ 紹介サイト
 *
 * 配色はアプリアイコン（日めくりカレンダーとケーキ）から取っている。
 * ページ全体を「めくったカレンダーの紙」に見立て、
 * ヒーローの1枚だけに手をかけ、他は静かに保つ。 */

:root {
  --paper:    #F7F1DF;  /* カレンダーの紙 */
  --paper-2:  #EFE6CC;  /* 紙の影 */
  --mint:     #C4E3D2;  /* アイコンの地色 */
  --mint-2:   #9ACFB4;  /* カレンダーの見出し帯 */
  --teal:     #26A69A;  /* アプリの基調色 */
  --teal-ink: #14776E;
  --ink:      #26382F;
  --ink-2:    #5C6F65;
  --flame:    #F2A03D;  /* ろうそくの炎。1箇所だけ使う */

  --ring:     #B9BFC2;  /* リング金具 */

  --w: 1080px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--mint);
  color: var(--ink);
  font-family: "Zen Kaku Gothic New", -apple-system, BlinkMacSystemFont,
               "Hiragino Sans", "Noto Sans JP", sans-serif;
  font-size: 16px;
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .display {
  font-family: "M PLUS Rounded 1c", "Zen Kaku Gothic New", sans-serif;
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: 0.01em;
  margin: 0;
}

a { color: var(--teal-ink); }

.wrap { max-width: var(--w); margin: 0 auto; padding: 0 24px; }

/* --- ヘッダー ------------------------------------------------------- */

.head {
  display: flex; align-items: center; justify-content: space-between;
  max-width: var(--w); margin: 0 auto; padding: 20px 24px;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand img { width: 40px; height: 40px; border-radius: 11px; display: block; }
.brand span { font-family: "M PLUS Rounded 1c", sans-serif; font-weight: 800; font-size: 19px; }

.head-cta {
  font-family: "M PLUS Rounded 1c", sans-serif; font-weight: 700; font-size: 14px;
  text-decoration: none; color: #fff; background: var(--teal);
  padding: 9px 20px; border-radius: 999px;
}
.head-cta:hover { background: var(--teal-ink); }

/* --- ヒーロー ------------------------------------------------------- */

.hero {
  max-width: var(--w); margin: 0 auto; padding: 32px 24px 88px;
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center;
}

.hero-lead {
  font-family: "M PLUS Rounded 1c", sans-serif; font-weight: 700;
  font-size: 15px; color: var(--teal-ink); margin: 0 0 14px;
}
.hero h1 { font-size: clamp(32px, 4.6vw, 52px); }
.hero h1 .u {
  background: linear-gradient(transparent 62%, var(--mint-2) 62%);
}
.hero-desc { font-size: 17px; color: var(--ink-2); margin: 22px 0 32px; max-width: 30em; }

.stores { display: flex; gap: 12px; flex-wrap: wrap; }
.store {
  display: inline-flex; align-items: center; gap: 9px;
  text-decoration: none; padding: 13px 24px; border-radius: 14px;
  font-family: "M PLUS Rounded 1c", sans-serif; font-weight: 700; font-size: 15px;
  background: var(--ink); color: #fff;
  transition: transform .15s ease;
}
.store:hover { transform: translateY(-2px); }
.store.alt { background: var(--teal); }
.store svg { width: 18px; height: 18px; fill: currentColor; }

.hero-note { font-size: 13px; color: var(--ink-2); margin-top: 16px; }

/* --- カレンダーの1枚（このページの主役） ------------------------------ */

.sheet-stage { display: flex; justify-content: center; }

.sheet {
  position: relative; width: 100%; max-width: 360px;
  transform: rotate(-1.2deg);
  background: var(--paper);
  border-radius: 14px 14px 18px 14px;
  padding: 46px 26px 58px;   /* 下は、めくれた角が本文に重ならない分だけ空ける */
  box-shadow: 0 18px 40px rgba(38,56,47,.16), 0 2px 0 var(--paper-2);
  animation: settle .8s cubic-bezier(.2,.9,.3,1) both;
}
@keyframes settle {
  from { opacity: 0; transform: translateY(-18px) rotate(-4deg); }
  to   { opacity: 1; transform: rotate(-1.2deg); }
}

/* リング金具 */
.rings { position: absolute; top: -13px; left: 0; right: 0; display: flex; justify-content: center; gap: 34px; }
.rings i {
  width: 13px; height: 30px; border-radius: 7px;
  background: linear-gradient(180deg, #E4E8EA, var(--ring));
  box-shadow: inset -2px 0 2px rgba(0,0,0,.12);
}

.sheet-band {
  position: absolute; top: 0; left: 0; right: 0; height: 34px;
  background: var(--mint-2); border-radius: 14px 14px 0 0;
}

.sheet-month {
  margin: 0;
  font-family: "M PLUS Rounded 1c", sans-serif; font-weight: 700;
  font-size: 15px; color: var(--teal-ink); letter-spacing: .12em; margin-bottom: 2px;
}
.sheet-day {
  margin: 4px 0 0;
  font-family: "M PLUS Rounded 1c", sans-serif; font-weight: 800;
  font-size: 108px; line-height: .95; color: var(--teal); letter-spacing: -.02em;
}
.sheet-week { margin: 8px 0 0; font-size: 14px; color: var(--ink-2); margin-top: 6px; }

.sheet-list { margin-top: 24px; border-top: 1px dashed #D6CDB2; padding-top: 18px; }
.sheet-row { display: flex; align-items: center; gap: 11px; padding: 7px 0; }
.sheet-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--mint-2); flex: none; }
.sheet-row.on .sheet-dot { background: var(--flame); }
.sheet-name { font-size: 15px; font-weight: 500; }
.sheet-when { margin-left: auto; font-size: 13px; color: var(--ink-2); }
.sheet-row.on .sheet-when { color: var(--flame); font-weight: 700; }

/* めくれた角。アイコンの意匠をそのまま持ってくる */
.curl {
  position: absolute; right: 0; bottom: 0; width: 78px; height: 78px;
  background: linear-gradient(135deg, transparent 50%, var(--paper-2) 50%, #E3D8B8 100%);
  border-bottom-right-radius: 18px;
  box-shadow: -3px -3px 8px rgba(38,56,47,.10);
}

/* --- セクション共通 -------------------------------------------------- */

.section { padding: 76px 0; }
.section-head { max-width: 34em; margin-bottom: 44px; }
.eyebrow {
  font-family: "M PLUS Rounded 1c", sans-serif; font-weight: 700;
  font-size: 13px; color: var(--teal-ink); letter-spacing: .1em; margin-bottom: 10px;
}
.section h2 { font-size: clamp(24px, 3.1vw, 34px); }
.section-head p { color: var(--ink-2); margin: 14px 0 0; }

.panel { background: var(--paper); border-radius: 26px; padding: 56px 44px; }

/* --- 通知タイミング --------------------------------------------------- */

.timings { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.timing {
  background: #fff; border-radius: 16px; padding: 22px 18px; text-align: center;
}
.timing b {
  display: block; font-family: "M PLUS Rounded 1c", sans-serif; font-weight: 800;
  font-size: 26px; color: var(--teal); line-height: 1.2;
}
.timing span { display: block; font-size: 13px; color: var(--ink-2); margin-top: 6px; }

/* --- 機能 ------------------------------------------------------------ */

.feats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feat { background: var(--paper); border-radius: 22px; padding: 30px 26px; }
.feat h3 { font-size: 18px; margin-bottom: 10px; }
.feat p { font-size: 15px; color: var(--ink-2); margin: 0; }

/* --- 画面 ------------------------------------------------------------ */

.shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; align-items: start; }
.shot img {
  width: 100%; height: auto; display: block; border-radius: 20px;
  box-shadow: 0 14px 34px rgba(38,56,47,.15);
}
.shot p { font-size: 14px; color: var(--ink-2); text-align: center; margin: 16px 0 0; }

/* --- プライバシー ----------------------------------------------------- */

.privacy { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.privacy ul { margin: 0; padding-left: 1.15em; color: var(--ink-2); }
.privacy li { margin: 9px 0; }
.privacy li strong { color: var(--ink); }

/* --- 締め ------------------------------------------------------------ */

.end { text-align: center; padding: 84px 0 96px; }
.end h2 { font-size: clamp(26px, 3.4vw, 38px); margin-bottom: 14px; }
.end p { color: var(--ink-2); margin: 0 0 30px; }
.end .stores { justify-content: center; }

.foot {
  border-top: 1px solid rgba(38,56,47,.13);
  padding: 26px 24px 40px; text-align: center;
  font-size: 13px; color: var(--ink-2);
}
.foot a { margin: 0 10px; }

/* --- 可読性・操作性の下限 --------------------------------------------- */

a:focus-visible, .store:focus-visible {
  outline: 3px solid var(--teal-ink); outline-offset: 3px; border-radius: 6px;
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; gap: 44px; padding-bottom: 60px; }
  .feats, .shots { grid-template-columns: 1fr; }
  .timings { grid-template-columns: repeat(2, 1fr); }
  .privacy { grid-template-columns: 1fr; }
  .panel { padding: 40px 24px; }
  .shots { max-width: 380px; margin: 0 auto; }
}
