/* ========================================
   WordPress のサイトの外枠（wrappers/wp）で、form.css が頼っている akinau の外枠の CSS を補う。
   正本は sites/akinau.co.jp/_form/wrappers/wp/form-wp.css（2026-11-13 contact_修正指示12）。
   すべてフォームの範囲（.akn-form）か、このページの body（.akn-form-page）だけに効かせ、テーマ（NS の Tailwind）の部分には触れない。
   :where(.akn-form) で包み、写した規則の詳細度を元（akinau）と同じにする（form.css との勝ち負けを akinau と同じにするため）。

   写した元（akinau.co.jp の CSS。元を直したらここも合わせる）：
   - assets/css/style.css（style02.css の先頭で @import）
     -   4〜26 行 :root の変数 → .akn-form に（フォームが使う分だけ。--header-h は下の理由で 0）
     -  31〜37 行 *, ::before, ::after のリセット
     -  39〜42 行 html（16px）→ .akn-form に font-size: 16px
     -  44〜50 行 body（明朝・文字色・行間 1.8・antialiased）→ .akn-form に
     -  52〜56 行 img
     -  58〜61 行 a
     -  63〜65 行 ul
     - 173〜199 行 .section-label・.section-label-en・.section-label-ja
     - 697 行の @media (max-width: 768px) の中：706〜712 行 :root の --header-h（56px。ここでは 0 のまま）、751〜753 行 .section-label-ja
   - assets/css/style02.css
     - 529〜544 行 .sp-view・.pc-view・.u-font-notoSerif
   - .l-inner・.contents は akinau の CSS に定義が無い（クラス名だけ）ので写すものは無い。
======================================== */

/* NS のテーマは preflight を読まないため、body にブラウザの既定の余白（8px）が残る。このページだけ消す */
body.akn-form-page {
  margin: 0;
  background: #ffffff;
}

/* style.css 4〜26 行・39〜50 行 */
.akn-form {
  --font-serif: "Noto Serif JP", "Yu Mincho", "YuMincho", serif;
  --font-sans: "Noto Sans JP", "Hiragino Sans", sans-serif;
  --color-bg: #ffffff;
  --color-pampas: #f0eeea;
  --color-text: #1a1a1a;
  --color-text-mid: #4a4a48;
  --color-text-muted: #8a8784;
  --color-border: #d8d5cf;
  --container-narrow: 720px;
  /* NS のヘッダーは sticky（流れの中）で、フォームはその下から始まる。akinau の固定ヘッダー分の余白は要らない */
  --header-h: 0px;

  font-size: 16px;
  font-family: var(--font-serif);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

/* form.css の .p-contact .contents の最低の高さは「画面の高さ − akinau のヘッダー − 120px」。NS のヘッダーの高さで同じにする */
.akn-form.p-contact .contents {
  min-height: calc(100vh - var(--ns-header-h, 64px) - 120px);
}

/* style.css 31〜37 行 */
:where(.akn-form, .akn-form *),
:where(.akn-form, .akn-form *)::before,
:where(.akn-form, .akn-form *)::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* style.css 52〜56 行 */
:where(.akn-form img) {
  display: block;
  max-width: 100%;
  height: auto;
}

/* style.css 58〜61 行 */
:where(.akn-form a) {
  color: inherit;
  text-decoration: none;
}

/* style.css 63〜65 行 */
:where(.akn-form ul) {
  list-style: none;
}

/* style.css 173〜199 行 */
:where(.akn-form) .section-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-bottom: min(120px, 18vw);
  font-weight: 400;
}

:where(.akn-form) .section-label-en {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.3em;
  color: var(--color-text-muted);
  text-transform: uppercase;
}

:where(.akn-form) .section-label-ja {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--color-text);
  line-height: 1.8;
}

/* style.css 751〜753 行 */
@media (max-width: 768px) {
  :where(.akn-form) .section-label-ja {
    font-size: 1.375rem;
  }
}

/* style02.css 529〜544 行 */
@media screen and (min-width: 769px) {
  :where(.akn-form) .sp-view {
    display: none;
  }
}

@media screen and (max-width: 768px) {
  :where(.akn-form) .pc-view {
    display: none;
  }
}

:where(.akn-form) .u-font-notoSerif {
  font-family: var(--font-serif);
}

/* ========================================
   WP が読めないときの最小のページ（akn-form:fallback）だけ
======================================== */
.akn-form-fallback__header {
  padding: 16px 20px;
  background: #000000;
  font-family: "Noto Sans JP", "Hiragino Sans", sans-serif;
  font-size: 15px;
  font-weight: 700;
}

.akn-form-fallback__header a {
  color: #ffffff;
  text-decoration: none;
}
