/* ============================================================
   the world's happiest family / theworldshappiestfamily.com
   骨格は tadah.tokyo・HONDA LAB. と共通。違うのは色ひとつだけ。
   TaDah … 蛍光黄 #EBFF00
   HONDA LAB. … 蛍光橙 #FF5000
   ここ（家族の記録）… 蛍光ピンク #FF2E6E
   ============================================================ */

:root {
  --ink: #1A1A19;
  --ink-2: #4A4A47;
  --ink-3: #7A7A75;
  --rule: #E6E6E2;
  --neon: #FF2E6E;
  --paper: #FFFFFF;
  --en: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  /* 和欧混植：欧文と数字は Helvetica、かなと漢字は游ゴシックに落ちる */
  --jp: 'Helvetica Neue', Helvetica, Arial, 'YuGothic', 'Yu Gothic', 'Hiragino Kaku Gothic ProN', 'Noto Sans JP', sans-serif;
  --gutter: clamp(20px, 4.5vw, 64px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; max-width: 100%;
  background: var(--paper); color: var(--ink);
  font-family: var(--jp);
  -webkit-font-smoothing: antialiased;
  line-height: 1.8;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 6px; }
.en { font-family: var(--en); }

.skip { position: absolute; left: -9999px; top: 0; background: var(--ink); color: #fff; padding: 10px 16px; z-index: 100; }
.skip:focus { left: 0; }

/* ---------- section：TaDah と同じ、英語が大きく日本語が小さい ---------- */
.sec { max-width: 1060px; margin: 0 auto; padding: clamp(56px, 8vw, 88px) var(--gutter); border-top: 1px solid var(--rule); }
.sec:first-of-type { border-top: 0; }
.sec-h { margin: 0 0 clamp(28px, 5vw, 48px); display: flex; align-items: baseline; gap: 20px; flex-wrap: wrap;
  font-weight: 700; line-height: 1; }
.sec-h .en { font-size: clamp(34px, 6vw, 64px); letter-spacing: -0.03em; }
.sec-h .jp { font-size: 16px; font-weight: 400; color: var(--ink-3); letter-spacing: 0; }

/* ---------- posts ---------- */
.posts { list-style: none; margin: 0; padding: 0; }
.post { display: grid; grid-template-columns: 9em minmax(0, 1fr); gap: clamp(12px, 3vw, 32px);
  padding: clamp(22px, 4vw, 30px) 0; border-top: 1px solid var(--rule); }
.post:first-child { border-top: 0; padding-top: 0; }
.post-date { margin: 0; padding-top: .3em; font-family: var(--en); font-size: 13px; color: var(--ink-3);
  font-variant-numeric: tabular-nums; }
.post-body > :first-child { margin-top: 0; }
.post-body > :last-child { margin-bottom: 0; }
.post-title { margin: 0 0 .7em; font-size: clamp(16px, 3vw, 18px); font-weight: 700; line-height: 1.65; }
.post-body p { margin: 0 0 .9em; font-size: 15px; color: var(--ink-2); }
.post-body a { color: var(--ink); border-bottom: 2px solid var(--neon); }
.post-body a:hover { text-decoration: none; background: var(--neon); color: #fff; }
.post-body img { margin: 1.5em 0; }
.post-body ul, .post-body ol { margin: 0 0 .9em; padding-left: 1.4em; font-size: 15px; color: var(--ink-2); }
.post-body iframe { max-width: 100%; }
.post-body figure { margin: 1.5em 0; }
.post-body figcaption { font-size: 12.5px; color: var(--ink-3); margin-top: .5em; }

/* これまでのお知らせ（折りたたみ） */
.more { margin-top: 32px; }
.more > summary { cursor: pointer; list-style: none; display: inline-flex; align-items: center; gap: .7em;
  padding: 12px 22px; border: 2px solid var(--ink); border-radius: 999px;
  font-size: 13px; font-weight: 700; letter-spacing: .04em; color: var(--ink);
  transition: background .2s, color .2s, border-color .2s; }
.more > summary::-webkit-details-marker { display: none; }
.more > summary::after { content: "＋"; font-size: 12px; }
.more[open] > summary::after { content: "－"; }
.more > summary:hover { background: var(--neon); border-color: var(--neon); color: #fff; }
.more .posts { margin-top: 24px; }
.more .post:first-child { border-top: 1px solid var(--rule); padding-top: clamp(22px, 4vw, 30px); }

/* ---------- prose ---------- */
.prose { max-width: 42em; }
.prose p { margin: 0 0 1.1em; font-size: 16px; color: var(--ink-2); }
.prose .lead { font-size: clamp(19px, 3.4vw, 26px); font-weight: 700; color: var(--ink);
  letter-spacing: -0.01em; line-height: 1.55; margin-bottom: 1.2em; }
.prose ul { margin: 0 0 1.2em; padding-left: 0; list-style: none; font-size: 16px; color: var(--ink-2); }
.prose li { margin-bottom: .5em; padding-left: 1.3em; position: relative; }
.prose li::before { content: ""; position: absolute; left: 0; top: .72em; width: 8px; height: 8px; background: var(--neon); }
.prose a { color: var(--ink); border-bottom: 2px solid var(--neon); }
.prose a:hover { text-decoration: none; background: var(--neon); color: #fff; }


/* ============================================================
   連絡の入口。FV が HONDA LAB. で開くので、ここは Say Hello. で閉じる。
   級数は画面幅から逆算して常に横いっぱい。
   4.25 ＝「Say Hello.」の幅（Helvetica Bold・字間 -0.05em でブラウザ実測 4.24em）。
   文言を変えたら、ここも測り直す。
   ============================================================ */
.foot {
  padding: clamp(48px, 7vw, 88px) var(--gutter) clamp(28px, 3.4vw, 40px);
  text-align: left; background: var(--ink); color: #fff;
}
.foot-h {
  margin: 0; line-height: .86; font-family: var(--en); font-weight: 700;
  letter-spacing: -0.05em; white-space: nowrap; font-kerning: normal;
  font-size: calc((100vw - var(--gutter) * 2) / 4.25);
}
.foot-h .dot { color: var(--neon); }
.foot-sub { margin: clamp(22px, 3vw, 34px) 0 0; font-size: 14px; line-height: 1.9; color: #B4B4AE; }
.foot-ways { list-style: none; margin: clamp(22px, 3vw, 36px) 0 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: 0 clamp(28px, 4vw, 64px); }
.foot-ways a {
  display: flex; align-items: baseline; gap: .5em; padding: .35em 0;
  color: #fff; border-bottom: 2px solid transparent;
}
.foot-ways a:hover, .foot-ways a:focus-visible { text-decoration: none; border-bottom-color: var(--neon); }
.w-name { font-size: clamp(20px, 2.6vw, 32px); font-weight: 700; letter-spacing: -0.01em; }
.w-id { font-size: 13px; color: #9A9A94; }
.foot-ways a:hover .w-id { color: #fff; }
.foot-meta {
  margin: clamp(34px, 4.5vw, 58px) 0 0; padding-top: 18px; max-width: 46em;
  border-top: 1px solid #333330; font-size: 12px; line-height: 1.9; color: #86867F;
}


/* ============================================================
   FV。3行組で、行ごとに級数を変えて左右の余白いっぱいに両端を揃える。
   "the world's" = 4.855em / "happiest" = 3.790em / "family." = 2.772em
   （Helvetica Bold・字間 -0.04em。ブラウザで実測）
   上限を置かないので、どんな画面でも常に横いっぱい。
   文言を変えたら、この3つの数字を測り直す。
   ============================================================ */
.hero { padding: clamp(40px, 5.5vw, 68px) var(--gutter) clamp(44px, 6vw, 76px); }
.hero-logo { margin: 0; line-height: .86; }
.hero-logo .en {
  display: block; font-weight: 700; letter-spacing: -0.04em; white-space: nowrap;
  font-kerning: normal; font-feature-settings: "kern" 1, "liga" 1;
  text-rendering: optimizeLegibility;
}
.hero-logo .l1 { font-size: calc((100vw - var(--gutter) * 2) / 4.865); }
.hero-logo .l2 { font-size: calc((100vw - var(--gutter) * 2) / 3.800); }
.hero-logo .l3 { font-size: calc((100vw - var(--gutter) * 2) / 2.782); }
.hero-logo .dot { color: var(--neon); }
.hero-lead {
  margin: clamp(26px, 4vw, 44px) 0 0;
  font-size: clamp(15px, 2.2vw, 19px); line-height: 1.95; color: var(--ink-2);
}

/* 記録は本文が主役なので、本文の幅を抑えて読みやすくする */
.post-body { max-width: 40em; min-width: 0; }
.post-body img { margin: 1.5em 0; }
/* WordPress が吐いた figure は元画像の実寸（4032px 等）を持っていて、
   そのままだと画面を横に押し広げる。枠に収める。 */
.post-body figure, .post-body figure > a, .post-body figcaption,
.post-body video, .post-body iframe, .post-body table {
  max-width: 100% !important; width: auto !important; height: auto;
}
.post-body figcaption { word-break: break-word; }
/* X の埋め込みは、スクリプトを外した blockquote だけが残る。引用として組む */
.post-body .twitter-tweet {
  margin: 1.5em 0; padding: 16px 20px;
  border: 1px solid var(--rule); border-left: 3px solid var(--neon);
  font-size: 14px; color: var(--ink-2);
}
.post-body .twitter-tweet p { margin: 0 0 .6em; font-size: 14px; }
.post-body .twitter-tweet a { border-bottom: 0; color: var(--ink-3); }

/* 年の折りたたみは数が多いので、並べたときに詰まって見えないように */
.more + .more { margin-top: 12px; }

/* ---------- sp ---------- */
@media (max-width: 680px) {
  .post { grid-template-columns: 1fr; gap: 6px; }
  .post-date { padding-top: 0; }

  .sec-h { gap: 8px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
