/* ============================================================
   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__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;
}
