/* =========================================================================
   hitohira-pages.css — 固定ページ（カメラマン紹介・について・ギャラリー・
   FAQ・撮影のご依頼・プライバシー）共通の版面。
   ヘッダー帯は夜＋散らばる写真の3D（hitohira-drift.js）、本文は印画紙。
   ========================================================================= */

.hitohira-sub body,
html.hitohira-sub {
  background: var(--hit-night);
}

/* ---------- 上部（ロゴ＋3本線） ---------- */
.hp-top {
  position: absolute;
  inset: 0 0 auto;
  z-index: 120;
  display: flex;
  align-items: center;
  padding: clamp(16px, 2.2vw, 30px) clamp(20px, 3vw, 44px);
  color: var(--hit-ivory);
}
.hp-top__logo { line-height: 1; }

/* ---------- ヘッダー帯（夜＋ドリフト3D） ---------- */
.hp-hero {
  position: relative;
  min-height: 58svh;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: var(--hit-ivory);
  background:
    radial-gradient(110% 80% at 72% 6%, #17262E 0%, rgba(23, 38, 46, 0) 58%),
    radial-gradient(70% 55% at 16% 92%, rgba(183, 120, 70, .16), transparent 68%),
    linear-gradient(180deg, var(--hit-night), #0C151A);
}
.hp-hero__canvas {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hp-hero__canvas canvas {
  width: 100% !important;
  height: 100% !important;
}
.hp-hero__inner {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: clamp(90px, 14vh, 150px) var(--pad) clamp(50px, 8vh, 90px);
}
.hp-hero__meta {
  margin: 0 0 1.2rem;
  font-size: .68rem;
  letter-spacing: .34em;
  color: rgba(244, 239, 230, .55);
}
.hp-hero__inner h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4.4vw, 4rem);
  font-weight: 400;
  letter-spacing: .06em;
  text-shadow: 0 10px 40px rgba(0, 0, 0, .5);
}

/* ---------- 本文（印画紙） ---------- */
.hp-main {
  position: relative;
  background: var(--hit-paper);
  color: var(--hit-ink);
}
.hp-section {
  padding: clamp(80px, 12vh, 150px) 0;
}
.hp-section + .hp-section { border-top: 1px solid var(--hit-line); }
.hp-narrow {
  width: min(720px, 100%);
  margin-inline: auto;
}
.hp-section h2 {
  margin: 0 0 clamp(24px, 4vh, 44px);
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.6vw, 2.4rem);
  font-weight: 400;
  letter-spacing: .04em;
  line-height: 1.6;
}
.hp-section p {
  margin: 0 0 1.5em;
  line-height: 2.05;
  letter-spacing: .035em;
  color: rgba(27, 24, 21, .78);
}
.hp-section p:last-child { margin-bottom: 0; }
.hp-lead {
  font-family: var(--font-display);
  font-size: clamp(1.02rem, 1.25vw, 1.16rem);
  color: var(--hit-ink);
}

/* 写真（影は写真だけ・キャプションは下中央の素のテキスト） */
.hp-figure {
  margin: clamp(40px, 7vh, 80px) 0 0;
}
.hp-figure img {
  display: block;
  width: 100%;
  height: auto;
  box-shadow: var(--hit-shadow);
}
.hp-figure figcaption {
  margin-top: 1.1rem;
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(.8rem, .95vw, .92rem);
  letter-spacing: .08em;
  color: rgba(27, 24, 21, .6);
}
.hp-figure--small {
  width: min(430px, 80%);
  margin-inline: auto;
}

/* 2カラム（写真＋文章） */
.hp-duo {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
}

/* ---------- ギャラリー ---------- */
.hp-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(30px, 4vw, 60px) clamp(24px, 3vw, 44px);
}
.hp-gallery figure { margin: 0; }
.hp-gallery img {
  display: block;
  width: 100%;
  height: auto;
  box-shadow: 0 18px 50px rgba(37, 28, 20, .15);
}
.hp-gallery figcaption {
  margin-top: .9rem;
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(.78rem, .9vw, .88rem);
  letter-spacing: .08em;
  color: rgba(27, 24, 21, .6);
}
.hp-note {
  margin-top: clamp(40px, 6vh, 70px);
  text-align: center;
  font-size: .78rem;
  letter-spacing: .1em;
  color: rgba(27, 24, 21, .5);
}

/* ---------- FAQ ---------- */
.hp-faq {
  display: grid;
  gap: clamp(34px, 5vh, 54px);
}
.hp-faq dt {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 1.5vw, 1.35rem);
  letter-spacing: .04em;
  margin-bottom: .9rem;
}
.hp-faq dd {
  margin: 0;
  padding-left: 1.2em;
  border-left: 2px solid rgba(183, 120, 70, .4);
  line-height: 2;
  color: rgba(27, 24, 21, .74);
}

/* ---------- 依頼の流れ・フォーム ---------- */
.hp-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: clamp(36px, 6vh, 64px) 0;
  border: 1px solid var(--hit-line);
  background: var(--hit-line);
}
.hp-steps div {
  padding: clamp(22px, 2.6vw, 38px);
  background: var(--hit-paper);
}
.hp-steps h3 {
  margin: 0 0 .8rem;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1.4vw, 1.3rem);
  font-weight: 400;
}
.hp-steps p {
  margin: 0;
  font-size: .92rem;
  line-height: 1.9;
  color: rgba(27, 24, 21, .7);
}
.hp-form {
  display: grid;
  gap: 1.3rem;
  margin-top: clamp(36px, 6vh, 60px);
}
.hp-form label {
  display: grid;
  gap: .5rem;
  font-size: .85rem;
  letter-spacing: .08em;
  color: rgba(27, 24, 21, .72);
}
.hp-form input,
.hp-form textarea {
  font: inherit;
  padding: .85em 1em;
  border: 1px solid rgba(27, 24, 21, .25);
  border-radius: 4px;
  background: rgba(255, 255, 255, .6);
  color: var(--hit-ink);
}
.hp-form textarea { min-height: 9em; resize: vertical; }
.hp-form button {
  justify-self: start;
  padding: 1em 2.6em;
  border: 1px solid var(--hit-ink);
  border-radius: 999px;
  background: var(--hit-ink);
  color: var(--hit-paper);
  letter-spacing: .14em;
  cursor: not-allowed;
  opacity: .55;
}
.hp-form small {
  font-size: .74rem;
  letter-spacing: .06em;
  color: rgba(27, 24, 21, .55);
}

/* ---------- ブログ一覧（WordPressでは home.php / archive の想定） ---------- */
.hp-bloglist {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(36px, 5vw, 64px) clamp(24px, 3vw, 44px);
}
.hp-card { margin: 0; }
.hp-card a {
  display: grid;
  gap: 1rem;
  color: inherit;
}
.hp-card img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  box-shadow: 0 14px 40px rgba(37, 28, 20, .14);
  transition: transform .5s var(--ease);
}
.hp-card a:hover img { transform: translateY(-4px); }
.hp-card__meta {
  display: flex;
  gap: 1.2em;
  font-size: .72rem;
  letter-spacing: .14em;
  color: rgba(27, 24, 21, .55);
}
.hp-card__meta em {
  font-style: normal;
  color: var(--hit-amber);
}
.hp-card h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 1.5vw, 1.35rem);
  font-weight: 400;
  line-height: 1.75;
  letter-spacing: .03em;
}
.hp-card p {
  margin: 0;
  font-size: .92rem;
  line-height: 1.95;
  color: rgba(27, 24, 21, .66);
}

/* ---------- 記事（WordPressでは single.php の想定） ----------
   本文（.hp-article__content）の中は、ブロックエディタが出力する
   素のタグ（h2 / p / figure / img / blockquote / ul）だけで成立させる。
   専用クラスに頼らないことで、入稿された記事がそのまま同じ見た目になる */
.hp-article {
  width: min(720px, 100%);
  margin-inline: auto;
}
.hp-article__head {
  margin-bottom: clamp(40px, 7vh, 70px);
}
.hp-article__meta {
  display: flex;
  gap: 1.4em;
  margin-bottom: 1.4rem;
  font-size: .74rem;
  letter-spacing: .16em;
  color: rgba(27, 24, 21, .55);
}
.hp-article__meta em {
  font-style: normal;
  color: var(--hit-amber);
}
.hp-article__head h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  font-weight: 400;
  line-height: 1.65;
  letter-spacing: .03em;
}
.hp-article__content > p {
  margin: 0 0 1.7em;
  line-height: 2.1;
  letter-spacing: .035em;
  color: rgba(27, 24, 21, .78);
}
.hp-article__content h2 {
  margin: clamp(48px, 8vh, 80px) 0 1.4em;
  padding-left: .8em;
  border-left: 3px solid var(--hit-amber);
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 1.9vw, 1.7rem);
  font-weight: 400;
  line-height: 1.7;
}
.hp-article__content figure {
  margin: clamp(36px, 6vh, 60px) 0;
}
.hp-article__content img {
  display: block;
  width: 100%;
  height: auto;
  box-shadow: var(--hit-shadow);
}
.hp-article__content figcaption {
  margin-top: 1rem;
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(.78rem, .92vw, .9rem);
  letter-spacing: .08em;
  color: rgba(27, 24, 21, .6);
}
.hp-article__content blockquote {
  margin: 2.4em 0;
  padding: .4em 0 .4em 1.4em;
  border-left: 3px solid rgba(183, 120, 70, .45);
  font-family: var(--font-display);
  color: rgba(27, 24, 21, .7);
  line-height: 2.05;
}
.hp-article__content blockquote p { margin: 0; }
.hp-article__nav {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  margin-top: clamp(60px, 10vh, 100px);
  padding-top: clamp(26px, 4vh, 40px);
  border-top: 1px solid var(--hit-line);
  font-size: .9rem;
}
.hp-article__nav a {
  color: rgba(27, 24, 21, .72);
  transition: color .3s var(--ease);
}
.hp-article__nav a:hover { color: var(--hit-amber); }

/* ---------- プライバシー ---------- */
.hp-policy h2 { margin-top: clamp(40px, 7vh, 70px); }
.hp-policy h2:first-of-type { margin-top: 0; }

/* ---------- レスポンシブ ---------- */
@media (max-width: 860px) {
  .hp-duo { grid-template-columns: 1fr; }
  .hp-steps { grid-template-columns: 1fr; }
  .hp-gallery { grid-template-columns: 1fr; }
  .hp-bloglist { grid-template-columns: 1fr; }
  .hp-hero { min-height: 48svh; }
}

/* 固定ページには常駐CTA（dock）が無いので、ラジカセは下端に置く */
@media (max-width: 980px) {
  html.hitohira-sub .bs-sound.hitohira-radio {
    bottom: calc(14px + env(safe-area-inset-bottom, 0px));
  }
  html.hitohira-sub .hitohira-footer {
    padding-bottom: calc(120px + env(safe-area-inset-bottom, 0px));
  }
}
