/* ============================================================
   AMP — Landing Page
   Palette: Deep Green #005344 / Copper #A96424 / Ivory #F5F1E8
   Single typeface: Noto Sans JP (300/400/500/700)
   ============================================================ */

:root {
  --green: #005344;
  --green-deep: #003D32;
  --copper: #A96424;
  --copper-soft: #C07F3E;
  --ivory: #F5F1E8;
  --ivory-deep: #ECE5D2;
  --ink: #2A2520;
  --ink-soft: #6E665D;
  --line: #D8CFB8;
  --line-soft: rgba(42, 37, 32, 0.12);

  --font: "Noto Sans JP", system-ui, -apple-system, "Segoe UI", "Hiragino Sans", "Yu Gothic UI", sans-serif;

  --max-w: 1280px;
  --pad-x: clamp(20px, 3vw, 40px);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--font);
  font-weight: 400;
  font-size: 18px;
  line-height: 2;
  letter-spacing: 0.04em;
  /* 日本語の句読点を全角幅に戻す（Noto Sans JP のプロポーショナル詰めを無効化） */
  font-feature-settings: "palt" 0, "halt" 0, "pwid" 0;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
/* 見出しは英字＋日本語の混在なので詰める */
.sec-head,
.hero__expand,
.footer__brand {
  font-feature-settings: "palt";
  letter-spacing: 0.08em;
}
img { max-width: 100%; display: block; }
a { color: var(--copper); text-decoration: none; transition: opacity .2s; }
a:hover { opacity: 0.7; }
p { margin: 0 0 1.4em; }
p:last-child { margin-bottom: 0; }

/* ============ Hero ============ */
.hero {
  background: var(--green);
  color: var(--ivory);
  padding: clamp(80px, 14vh, 160px) var(--pad-x);
  text-align: center;
  position: relative;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 28px;
  border: 1px solid rgba(192, 127, 62, 0.28);
  pointer-events: none;
}
.hero__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  position: relative;
}
.hero__logo img {
  width: clamp(180px, 28vw, 240px);
  margin: 0 auto clamp(40px, 6vh, 56px);
}
.hero__expand {
  display: block;
  margin: 0 auto clamp(48px, 7vh, 72px);
  text-align: center;
  font-family: "Orbitron", "Noto Sans JP", sans-serif;
  font-size: clamp(22px, 3vw, 28px);
  letter-spacing: 0.06em;
  font-weight: 400;
  color: var(--ivory);
  line-height: 1.6;
  white-space: nowrap;
}
.hero__word {
  white-space: nowrap;
  display: inline-block;
  margin-right: 0.6em;
}
.hero__word:last-child {
  margin-right: 0;
}
.hero__expand b {
  color: var(--copper-soft);
  font-weight: 700;
  font-size: 1.4em;
  margin-right: 0.04em;
  line-height: 1;
}
.hero__reading {
  margin: -12px 0 clamp(36px, 5vh, 56px);
  text-align: center;
  font-family: var(--font);
  font-size: clamp(14px, 1.5vw, 16px);
  letter-spacing: 0.4em;
  color: var(--copper-soft);
  font-weight: 400;
  text-indent: 0.4em;
}
.hero__lead {
  display: block;
  margin: 0 auto;
  text-align: center;
  font-family: var(--font);
  font-size: clamp(16px, 2vw, 19px);
  color: rgba(245, 241, 232, 0.92);
  letter-spacing: 0.06em;
  font-weight: 400;
  line-height: 2.2;
  max-width: 100%;
  font-feature-settings: "palt" 0, "halt" 0, "pwid" 0;
}
.amp-hl {
  color: var(--copper-soft);
  font-weight: 500;
  letter-spacing: 0.04em;
}

/* ============ Section base ============ */
.section {
  padding: clamp(48px, 7vh, 72px) var(--pad-x);
}
.section__inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

/* Section heading: English big (italic) + Japanese sub, inline */
.sec-head {
  margin: 0 0 clamp(20px, 3vh, 32px);
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 16px 20px;
}
.sec-head__en {
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 500;
  font-style: italic;
  letter-spacing: 0.16em;
  color: var(--green);
  margin: 0;
  line-height: 1.2;
}
.sec-head__ja {
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--copper);
  font-weight: 500;
}
.sec-head--light .sec-head__en { color: var(--ivory); }
.sec-head--light .sec-head__ja { color: var(--copper-soft); }
.sec-head--light { border-bottom-color: rgba(192, 127, 62, 0.28); }
.section--contact .sec-head { justify-content: center; }

.section__note {
  font-size: 12px;
  color: var(--ink);
  margin: -24px 0 32px;
  letter-spacing: 0.04em;
}
.section__note--end {
  margin: 32px 0 0;
  font-size: 13px;
  color: var(--ink);
}

/* ============ Prose (Creed) ============ */
.prose p {
  font-size: 18px;
  line-height: 2.1;
  color: var(--ink);
}

/* ============ Info (dl) — main 2-column layout ============ */
.info {
  margin: 0;
  padding: 0;
}
.info__row {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: clamp(20px, 4vw, 48px);
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
@media (max-width: 680px) {
  .info__row {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 20px 0;
  }
}
.info dt {
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--green);
  line-height: 1.7;
  padding-top: 2px;
}
.info dd {
  margin: 0;
  font-size: 18px;
  line-height: 2;
  color: var(--ink);
}
.info dd p { margin: 0 0 0.6em; }
.info dd p:last-child { margin-bottom: 0; }
.info__note {
  display: block;
  margin-top: 10px;
  font-size: 12px;
  color: var(--ink-soft);
  letter-spacing: 0.04em;
}
.info__rom {
  margin-left: 12px;
  font-size: 11px;
  color: var(--copper);
  letter-spacing: 0.12em;
  white-space: nowrap;
}

/* Stacked layout: dt 上、dd 下（段落下げ） */
.info--stack .info__row {
  grid-template-columns: 1fr;
  gap: 14px;
  border-bottom: none;
  padding: 16px 0;
}
.info--stack dt {
  font-size: 18px;
}
.info--stack dd {
  padding-left: clamp(20px, 4vw, 36px);
}

/* Works: 縦のタイムラインで年代の流れを表現 */
.info--works {
  position: relative;
  padding-left: 32px;
}
.info--works::before {
  content: "";
  position: absolute;
  left: 4.5px;
  top: -24px;
  bottom: -8px;
  width: 2px;
  background: linear-gradient(to bottom,
    transparent 0%,
    var(--copper) 14%,
    var(--copper-soft) 30%,
    #4a7a5f 58%,
    var(--green) 84%,
    transparent 100%);
  opacity: 1;
}
.info--works .info__row {
  grid-template-columns: 64px 1fr;
  gap: 12px;
  border-bottom: none;
  position: relative;
}
.info--works dt {
  font-size: 18px;
  padding-top: 0;
  line-height: 1.6;
  display: flex;
  align-items: center;
  min-height: 1.6em;
  position: relative;
}
/* 年の左にタイムラインドット */
.info--works dt::before {
  content: "";
  position: absolute;
  left: -32px;
  top: 50%;
  transform: translateY(-50%);
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--copper);
  box-shadow: 0 0 0 2px var(--ivory), 0 0 0 3px var(--copper);
  z-index: 1;
}
.info--works .work__title {
  display: flex;
  align-items: center;
  min-height: 1.6em;
  margin: 0 0 8px;
}
@media (max-width: 680px) {
  .info--works {
    padding-left: 28px;
  }
  .info--works::before {
    left: 4px;
  }
  .info--works .info__row {
    grid-template-columns: 1fr;
    gap: 8px;
    align-items: start;
  }
  .info--works dt::before {
    left: -28px;
    top: 12px;
    transform: none;
  }
}

/* Profile-specific info: tighter rows + narrower dt */
.info--profile .info__row {
  grid-template-columns: 110px 1fr;
  padding: 16px 0;
  gap: 24px;
}
/* 2012 以降（3行目から先）の区切り罫線を消す */
.info--profile .info__row:nth-child(n+3) {
  border-bottom: none;
  padding: 8px 0;
}
@media (max-width: 680px) {
  .info--profile .info__row {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}
.info--profile dt {
  font-size: 18px;
  color: var(--copper);
  font-weight: 500;
  letter-spacing: 0.06em;
}
.info--profile dd {
  font-size: 18px;
  line-height: 2;
}

/* ============ Qualifications list ============ */
.qual-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.qual-list li {
  position: relative;
  padding: 6px 0 6px 20px;
  font-size: 18px;
  line-height: 1.9;
  color: var(--ink);
}
.qual-list li::before {
  content: "・";
  position: absolute;
  left: 0;
  top: 6px;
  color: var(--copper);
}
.qual-list li.qual-list__note {
  font-size: 18px;
  padding-left: 20px;
  margin-top: 4px;
  letter-spacing: 0.04em;
  color: var(--ink);
}
.qual-list li.qual-list__note::before {
  content: none;
}
.qual-list li.qual-list__gap {
  margin-top: 1.6em;
}

/* ============ Works titles ============ */
.work__title {
  margin: 0 0 6px;
  font-size: 18px;
  font-weight: 500;
  color: var(--green);
  letter-spacing: 0.04em;
  line-height: 1.6;
}
.work__scope,
.work__role {
  color: var(--ink);
  font-size: 18px;
  margin: 6px 0 0;
  line-height: 2;
  /* ラベル幅ぶん hanging indent して 2行目以降の頭を本文と揃える */
  padding-left: 4.6em;
  text-indent: -4.6em;
}
.work__scope::before {
  content: "【担当】";
  font-weight: 500;
  color: var(--ink);
  margin-right: 8px;
}
.work__role::before {
  content: "【役割】";
  font-weight: 500;
  color: var(--ink);
  margin-right: 8px;
}

/* ============ Profile layout ============ */
.profile {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: clamp(32px, 5vw, 56px);
  align-items: start;
}
@media (max-width: 680px) {
  .profile {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}
.profile__portrait img {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--ivory-deep);
  filter: grayscale(0.06);
}

/* ============ Contact ============ */
.section--contact {
  background: var(--green);
  color: var(--ivory);
  padding: clamp(56px, 8vh, 80px) var(--pad-x) clamp(40px, 6vh, 56px);
}
.contact__logo {
  margin: 40px auto 0;
  text-align: center;
}
.contact__logo img {
  width: 120px;
  margin: 0 auto;
  opacity: 0.92;
}
.contact__lead {
  text-align: center;
  font-size: 13px;
  color: rgba(245, 241, 232, 0.78);
  margin: 0 auto 40px;
  max-width: 540px;
  letter-spacing: 0.04em;
}
.contact-form {
  max-width: 560px;
  margin: 0 auto;
  display: grid;
  gap: 22px;
}
.field {
  display: grid;
  gap: 8px;
}
.field label {
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--copper-soft);
  font-weight: 500;
}
.field .req {
  color: var(--copper-soft);
  margin-left: 2px;
}
.field input,
.field textarea {
  background: rgba(245, 241, 232, 0.06);
  border: 1px solid rgba(192, 127, 62, 0.32);
  color: var(--ivory);
  padding: 12px 14px;
  font-family: var(--font);
  font-size: 18px;
  border-radius: 2px;
  transition: border-color .2s, background .2s;
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--copper-soft);
  background: rgba(245, 241, 232, 0.1);
}
.field textarea {
  resize: vertical;
  min-height: 140px;
  line-height: 1.9;
}
.btn-primary {
  margin-top: 8px;
  padding: 16px 36px;
  background: var(--copper);
  color: var(--ivory);
  border: 1px solid var(--copper);
  font-family: var(--font);
  font-size: 13px;
  letter-spacing: 0.2em;
  font-weight: 500;
  cursor: pointer;
  transition: all .25s;
  border-radius: 2px;
}
.btn-primary:hover {
  background: var(--copper-soft);
  border-color: var(--copper-soft);
}
.contact__fallback {
  text-align: center;
  font-size: 12px;
  color: rgba(245, 241, 232, 0.6);
  margin: 16px 0 0;
}
.contact__fallback a {
  color: var(--copper-soft);
  border-bottom: 1px solid rgba(192, 127, 62, 0.4);
}

/* ============ Footer ============ */
.footer {
  background: var(--ivory);
  color: var(--ink-soft);
  padding: 20px var(--pad-x) 24px;
  text-align: center;
  border-top: 1px solid var(--line);
}
.footer__inner {
  max-width: var(--max-w);
  margin: 0 auto;
}
.footer__copy {
  margin: 0;
  font-size: 10px;
  color: var(--ink-soft);
  letter-spacing: 0.2em;
}

/* ============ Thanks page ============ */
.thanks-body {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--green);
  padding: 40px 24px;
  margin: 0;
  color: var(--ivory);
  font-family: var(--font);
  letter-spacing: 0.04em;
  line-height: 2;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "palt" 0, "halt" 0, "pwid" 0;
}
.thanks {
  text-align: center;
  max-width: 600px;
  width: 100%;
  position: relative;
  padding: clamp(40px, 8vh, 72px) clamp(24px, 5vw, 48px);
  border: 1px solid rgba(192, 127, 62, 0.32);
}
.thanks__logo {
  width: clamp(120px, 20vw, 160px);
  margin: 0 auto clamp(32px, 5vh, 48px);
  display: block;
}
.thanks__message {
  font-size: clamp(15px, 2vw, 18px);
  line-height: 2.1;
  color: var(--ivory);
  margin: 0 0 24px;
  letter-spacing: 0.05em;
}
.thanks__note {
  font-size: clamp(12px, 1.6vw, 14px);
  color: rgba(245, 241, 232, 0.72);
  margin: 0 0 clamp(36px, 5vh, 48px);
  letter-spacing: 0.03em;
}
.thanks__note a {
  color: var(--copper-soft);
  border-bottom: 1px solid rgba(192, 127, 62, 0.4);
}
.btn-thanks {
  display: inline-block;
  padding: 14px 44px;
  background: var(--green-deep);
  color: var(--copper-soft);
  border: 1px solid var(--copper);
  font-family: var(--font);
  font-size: 13px;
  letter-spacing: 0.2em;
  font-weight: 500;
  border-radius: 999px;
  text-decoration: none;
  transition: all .25s;
}
.btn-thanks:hover {
  background: var(--copper);
  color: var(--ivory);
  border-color: var(--copper);
  opacity: 1;
}

@media (max-width: 768px) {
  .thanks { padding: 36px 20px; }
  .thanks__message { font-size: 14px; letter-spacing: 0.03em; }
  .thanks__note { font-size: 11px; }
  .btn-thanks { font-size: 12px; padding: 12px 28px; letter-spacing: 0.16em; }
}

/* ============================================================
   Mobile responsive (≤ 768px)
   ============================================================ */
@media (max-width: 768px) {
  body {
    font-size: 14px;
    letter-spacing: 0.03em;
    line-height: 1.9;
  }

  /* Hero */
  .hero {
    padding: clamp(48px, 8vh, 72px) var(--pad-x);
  }
  .hero::before { inset: 12px; }
  .hero__logo img {
    width: clamp(110px, 34vw, 140px);
    margin-bottom: clamp(24px, 4vh, 32px);
  }
  .hero__expand {
    font-size: 20px;
    letter-spacing: 0.04em;
    margin-bottom: clamp(24px, 4vh, 36px);
    white-space: normal;
    text-align: center;
    line-height: 1.7;
  }
  /* モバイルでは各単語を1行ずつ縦積み（AMPアクロニムの見た目を維持） */
  .hero__word {
    display: block;
    margin: 0 0 2px;
  }
  .hero__expand b { font-size: 1.25em; }
  .hero__reading {
    font-size: 11px;
    letter-spacing: 0.32em;
    margin: -8px 0 clamp(24px, 4vh, 32px);
  }
  .hero__lead {
    font-size: 13px;
    line-height: 2;
    letter-spacing: 0.03em;
  }

  /* Section */
  .section {
    padding: clamp(36px, 6vh, 52px) var(--pad-x);
  }
  .sec-head {
    padding-bottom: 12px;
    margin-bottom: clamp(18px, 3vh, 24px);
    gap: 8px 12px;
  }
  .sec-head__en { font-size: 20px; letter-spacing: 0.12em; }
  .sec-head__ja { font-size: 10px; letter-spacing: 0.16em; }

  /* Body content */
  .prose p { font-size: 14px; line-height: 1.95; }
  .info dt, .info dd { font-size: 14px; line-height: 1.9; }
  .info dt { font-size: 13px; }
  .info--stack .info__row { padding: 10px 0; }
  .info--stack dt { font-size: 14px; }
  .info--stack dd { padding-left: 14px; }
  .info--works .info__row { gap: 10px; grid-template-columns: 46px 1fr; }
  .info--works dt { font-size: 14px; }
  .info--works { padding-left: 22px; }
  .info--works::before { left: 3px; }
  .info--works dt::before { left: -22px; width: 8px; height: 8px; }
  .info--profile .info__row { grid-template-columns: 80px 1fr; gap: 12px; padding: 10px 0; }
  .info--profile dt { font-size: 11px; }
  .info--profile dd { font-size: 13px; line-height: 1.85; }
  .info__note { font-size: 10px; }
  .info__rom { font-size: 10px; margin-left: 8px; }

  /* Qualifications */
  .qual-list li { font-size: 14px; padding: 4px 0 4px 16px; }
  .qual-list li::before { top: 4px; }
  .qual-list li.qual-list__note { font-size: 13px; padding-left: 16px; }
  .qual-list li.qual-list__gap { margin-top: 1em; }

  /* Works */
  .work__title { font-size: 14px; }
  .work__scope,
  .work__role {
    font-size: 13px;
    padding-left: 4.2em;
    text-indent: -4.2em;
    line-height: 1.85;
  }

  .section__note { font-size: 10px; margin: -12px 0 16px; }
  .section__note--end { font-size: 11px; margin: 20px 0 0; }

  /* Profile portrait */
  .profile {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .profile__portrait img { max-width: 180px; margin: 0 auto; }

  /* Contact */
  .section--contact {
    padding: clamp(40px, 6vh, 60px) var(--pad-x) clamp(28px, 4vh, 40px);
  }
  .contact__lead { font-size: 11px; margin-bottom: 24px; }
  .contact-form { gap: 14px; }
  .field label { font-size: 10px; }
  .field input,
  .field textarea {
    font-size: 16px; /* iOSの自動ズームを防ぐため16px以上 */
    padding: 10px 12px;
  }
  .btn-primary {
    font-size: 11px;
    padding: 12px 20px;
    letter-spacing: 0.16em;
  }
  .contact__fallback { font-size: 10px; }
  .contact__logo { margin-top: 28px; }
  .contact__logo img { width: 80px; }

  /* Footer */
  .footer { padding: 12px var(--pad-x) 16px; }
  .footer__copy { font-size: 9px; letter-spacing: 0.16em; }
}
