/* 外部フォントや実行時JavaScriptに依存せず、端末の日本語フォントで表示する。 */
:root {
  color-scheme: light;
  --paper: #f6f5ef;
  --ink: #262c26;
  --muted: #62695f;
  --green: #254c3b;
  --line: #d9dbcf;
  --yellow: #edce58;
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Noto Sans JP", Meiryo, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 30px; }
body { margin: 0; }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 3px solid var(--green); outline-offset: 6px; border-radius: 2px; }
::selection { background: var(--yellow); color: var(--ink); }
.page-shell { width: min(1184px, calc(100% - 112px)); margin-inline: auto; }
.skip-link { position: fixed; top: -80px; left: 20px; padding: 12px 18px; background: var(--green); color: white; z-index: 2; }
.skip-link:focus { top: 16px; }
.site-header { display: flex; align-items: center; justify-content: space-between; min-height: 112px; border-bottom: 1px solid var(--line); }
.wordmark { display: inline-flex; align-items: center; font-size: 28px; font-weight: 750; letter-spacing: -1.3px; }
.brand-symbol { position: relative; display: inline-block; padding-right: 25px; color: var(--green); font-size: 38px; font-family: Georgia, serif; font-style: italic; line-height: 1; }
.brand-symbol span { position: absolute; font-family: Arial, sans-serif; font-size: 21px; top: -2px; right: 12px; }
.wordmark-dot { color: var(--green); }
.site-header nav { display: flex; align-items: center; gap: 35px; font-size: 13px; font-weight: 550; }
.site-header nav a { padding-block: 12px; }
.site-header nav a:hover, .text-link:hover, .site-footer a:hover { color: var(--green); text-decoration: underline; text-underline-offset: 5px; }
.github-link span { margin-left: 7px; }
.hero { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 8px; padding: 82px 0 83px; }
.eyebrow { display: flex; align-items: center; gap: 9px; margin: 0; font-size: 10px; letter-spacing: 1.7px; font-weight: 600; line-height: 1.6; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
h1 { margin: 30px 0 25px; font-size: clamp(35px, 4vw, 53px); letter-spacing: -2px; line-height: 1.7; font-weight: 750; }
.highlight { position: relative; display: inline-block; z-index: 0; }
.highlight::after { content: ""; position: absolute; bottom: 13%; left: -3px; right: -9px; height: 25%; background: var(--yellow); z-index: -1; transform: rotate(-2deg); }
.hero-description { margin: 0 0 31px; font-size: 14px; line-height: 2.15; letter-spacing: .4px; color: var(--muted); }
.mobile-break { display: none; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 42px; padding: 17px 22px; border-radius: 4px; background: var(--green); color: #fff; font-size: 12px; font-weight: 600; transition: background .2s, transform .2s; }
.button:hover { background: #38634c; transform: translateY(-2px); }
.button span { font-size: 20px; font-weight: 400; line-height: 1; }
.hero-footnote { margin: 18px 0 0; font-family: Georgia, serif; font-size: 12px; font-style: italic; color: var(--muted); }
.playground { position: relative; align-self: stretch; display: flex; align-items: center; min-width: 0; }
.playground-art { display: block; width: 100%; }
.art-caption { position: absolute; top: 2px; right: 13px; font-size: 8px; color: var(--muted); letter-spacing: 1.6px; }
.art-note { position: absolute; right: 3px; bottom: 7%; font-family: Georgia, serif; font-size: 13px; font-style: italic; transform: rotate(-7deg); color: var(--green); }
.art-note span { font-family: Arial, sans-serif; font-size: 21px; margin-left: 6px; }
.art-label { position: absolute; left: 20%; bottom: -15px; font-size: 10px; letter-spacing: 1px; color: var(--muted); }
.projects-section { border-top: 1px solid var(--line); padding: 41px 0 54px; }
.section-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 26px; }
h2 { margin: 13px 0 0; font-size: 21px; line-height: 1.7; letter-spacing: .4px; font-weight: 650; }
.section-side-note { padding-bottom: 6px; font-size: 8px; letter-spacing: 1.2px; color: var(--muted); }
.project-placeholder { display: flex; align-items: center; gap: 29px; padding: 32px; background: #eceee4; border: 1px solid #e2e4d8; border-radius: 6px; }
.seed-icon { display: grid; place-items: center; width: 90px; height: 90px; flex-shrink: 0; background: #f6f6ed; border: 1px solid #dce0ce; border-radius: 50%; color: var(--green); }
.seed-icon svg { width: 53px; height: 53px; }
.small-label { font-size: 8px; letter-spacing: 1.7px; color: var(--muted); font-weight: 600; }
h3 { margin: 10px 0 9px; font-size: 17px; font-weight: 650; letter-spacing: .4px; }
.placeholder-copy p { margin: 0; font-size: 12px; line-height: 2; color: var(--muted); }
.coming-soon { margin-left: auto; white-space: nowrap; align-self: flex-start; padding-top: 7px; font-family: Georgia, serif; font-style: italic; font-size: 13px; color: var(--green); }
.coming-soon span { margin-left: 13px; font-family: Arial, sans-serif; font-size: 18px; }
.about-section { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; border-top: 1px solid var(--line); padding: 50px 0 65px; }
.about-section h2 { margin-top: 23px; font-size: 28px; line-height: 1.8; letter-spacing: 1px; }
.about-copy { padding-top: 4px; font-size: 13px; line-height: 2.2; color: var(--muted); }
.about-copy p { margin: 0 0 17px; }
.text-link { display: inline-flex; align-items: center; gap: 23px; margin-top: 3px; color: var(--green); font-size: 12px; font-weight: 600; }
.text-link span { font-size: 18px; }
.site-footer { display: flex; align-items: center; gap: 26px; border-top: 1px solid var(--line); min-height: 100px; color: var(--muted); font-size: 10px; }
.footer-brand { font-size: 18px; font-weight: 700; letter-spacing: -.7px; color: var(--ink); }
.site-footer p { margin: 0; font-family: Georgia, serif; font-style: italic; }
.site-footer > a:last-child { margin-left: auto; }
.site-footer > a:last-child span { margin-left: 10px; }

/* 小さい画面では読み順を保ったまま、装飾と説明を縦に並べる。 */
@media (min-width: 1500px) { .hero { padding-block: 100px; } }
@media (max-width: 1000px) {
  .page-shell { width: calc(100% - 72px); }
  .hero { grid-template-columns: 1.15fr 1fr; padding-block: 64px; }
  h1 { font-size: 36px; letter-spacing: -1.5px; }
  .art-caption { font-size: 6px; }
  .art-note { font-size: 11px; bottom: 15%; }
  .art-label { left: 10%; bottom: 10%; font-size: 8px; }
  .section-side-note { display: none; }
}
@media (max-width: 700px) {
  .page-shell { width: calc(100% - 40px); }
  .site-header { min-height: 84px; }
  .wordmark { font-size: 23px; }
  .brand-symbol { font-size: 31px; padding-right: 19px; }
  .brand-symbol span { right: 6px; font-size: 17px; }
  .site-header nav { gap: 18px; font-size: 11px; }
  .github-link { display: none; }
  .hero { grid-template-columns: 1fr; gap: 30px; padding: 49px 0 48px; }
  .eyebrow { font-size: 9px; letter-spacing: 1.4px; }
  h1 { font-size: clamp(27px, 7.5vw, 46px); line-height: 1.7; margin-block: 23px 20px; letter-spacing: -1px; }
  .hero-description { font-size: 13px; line-height: 2.15; margin-bottom: 25px; }
  .mobile-break { display: inline; }
  .button { padding: 16px 20px; gap: 43px; }
  .hero-footnote { font-size: 11px; }
  .playground { width: min(100%, 420px); margin-inline: auto; }
  .art-caption { top: 0; right: 0; font-size: 7px; }
  .art-label { left: 15%; bottom: -3px; font-size: 9px; }
  .art-note { bottom: 7%; font-size: 12px; }
  .projects-section { padding: 32px 0 38px; }
  h2 { font-size: 18px; }
  .project-placeholder { position: relative; gap: 20px; align-items: flex-start; flex-direction: column; padding: 25px; }
  .seed-icon { width: 64px; height: 64px; }
  .seed-icon svg { width: 41px; height: 41px; }
  h3 { font-size: 16px; }
  .placeholder-copy p { font-size: 11px; }
  .coming-soon { position: absolute; top: 24px; right: 24px; padding: 0; font-size: 12px; }
  .about-section { grid-template-columns: 1fr; gap: 23px; padding: 34px 0 39px; }
  .about-section h2 { font-size: 25px; margin-top: 17px; }
  .about-copy { font-size: 12px; }
  .site-footer { flex-wrap: wrap; gap: 14px; padding-block: 25px; min-height: 105px; }
  .site-footer p { order: 3; flex-basis: 100%; font-size: 10px; }
}
@media (max-width: 360px) {
  .page-shell { width: calc(100% - 32px); }
  .mobile-break { display: inline; }
  .project-placeholder { padding: 20px; }
  h3 { font-size: 14px; }
}
/* 動きを減らす端末設定を尊重し、リンク操作での自動スクロールを止める。 */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
  .button:hover { transform: none; }
}
