/* ============================================================================
   LitoWorks 下層ページ用スタイル（トップの新デザインに合わせたもの）
   ----------------------------------------------------------------------------
   ⚠ 旧 /assets/style.css とは別物。まだ style.css を使っているページがあるので、
     style.css は残してある。移行したページだけがこのファイルを読み込む。
     トップページ専用の /assets/top.css とも別（あちらは青いヒーロー前提の指定が多い）。

   色・フォント・角の丸み・ボタンの形は top.css と同じものを使い、
   下層ページで必要な「読み物としての体裁」（見出し・本文・表・フォーム）を足している。
   ========================================================================== */

/* --- リセット（top.css と同じ考え方） ------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  border: 0 solid;
}

* {
  margin: 0;
}

h1, h2, h3, h4, h5, h6 {
  font-size: inherit;
  font-weight: inherit;
}

ol, ul, menu {
  list-style: none;
  padding: 0;
}

img, svg, video {
  display: block;
  max-width: 100%;
  height: auto;
}

button, input, optgroup, select, textarea {
  font: inherit;
  color: inherit;
  letter-spacing: inherit;
  background: transparent;
}

button {
  cursor: pointer;
}

/* --- トップと共通の色 ------------------------------------------------------ */
:root {
  --ink: #141414;
  --paper: #f3efe5;
  --paper-light: #faf8f2;
  --blue: #3155e7;
  --coral: #ff6657;
  --lime: #d9f34a;
  --line: rgba(20, 20, 20, 0.18);
  --white: #fffef9;
  --muted: #6f6a62;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  font-size: 1rem;
  line-height: 1.9;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible {
  outline: 3px solid var(--coral);
  outline-offset: 4px;
  border-radius: 3px;
}

/* --- ヘッダー --------------------------------------------------------------
   トップのヘッダーは青いヒーローに重ねる前提（position:absolute・白文字）。
   下層は背景が紙色なので、同じ形のまま色だけ反転させる。 */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  min-height: 88px;
  padding: 0 clamp(20px, 5vw, 72px);
  border-bottom: 1px solid var(--line);
  background: var(--paper-light);
}

.wordmark {
  position: relative;
  width: max-content;
  font-family: "Manrope", sans-serif;
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  font-weight: 800;
  letter-spacing: -0.065em;
  line-height: 1;
  padding: 18px 0;
}

.wordmark span {
  color: var(--blue);
}

.wordmark i {
  position: absolute;
  top: 0.06em;
  right: -0.43em;
  width: 0.28em;
  height: 0.28em;
  border-radius: 999px;
  background: var(--coral);
}

.site-nav {
  display: flex;
  gap: clamp(18px, 3vw, 34px);
  font-family: "Manrope", sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding-bottom: 4px;
}

.site-nav a {
  position: relative;
  padding-bottom: 4px;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--coral);
  transition: width 180ms ease;
}

.site-nav a:hover::after,
.site-nav a[aria-current="page"]::after {
  width: 100%;
}

/* --- 本文 ------------------------------------------------------------------ */
.site-main {
  max-width: 940px;
  margin: 0 auto;
  padding: clamp(48px, 8vw, 96px) clamp(20px, 5vw, 40px) clamp(64px, 9vw, 120px);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
  font-family: "Manrope", sans-serif;
  font-size: 0.69rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  color: var(--muted);
}

.eyebrow::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--coral);
}

.page-title {
  margin: 0 0 14px;
  font-size: clamp(2.1rem, 4.6vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1.18;
}

.page-lead {
  margin: 0 0 44px;
  font-size: 1.02rem;
  line-height: 2;
  color: #3b3833;
}

.site-main h2 {
  margin: 56px 0 16px;
  font-size: clamp(1.35rem, 2.4vw, 1.72rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.4;
}

.site-main h3 {
  margin: 32px 0 10px;
  font-size: 1.06rem;
  font-weight: 700;
}

.site-main p {
  margin: 0 0 1.15em;
}

.site-main ul,
.site-main ol {
  margin: 0 0 1.3em;
  padding-left: 1.4em;
  list-style: disc;
}

.site-main ol {
  list-style: decimal;
}

.site-main li {
  margin-bottom: 0.5em;
}

.site-main a:not(.button):not(.back-link) {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

.site-main strong {
  font-weight: 700;
}

/* --- 製品ごとの案内カード --------------------------------------------------- */
.product-notes {
  display: grid;
  gap: 14px;
  margin: 0 0 32px;
  padding: 0;
  list-style: none;
}

.product-notes li {
  display: grid;
  grid-template-columns: 116px 1fr;
  gap: 4px 20px;
  align-items: start;
  margin: 0;
  padding: 18px 22px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--paper-light);
}

.product-notes .pn-name {
  font-family: "Manrope", sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  line-height: 1.6;
  padding-top: 0.35em;
  color: var(--muted);
}

.product-notes .pn-body {
  line-height: 1.85;
}

@media (max-width: 620px) {
  .product-notes li {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .product-notes .pn-name {
    padding-top: 0;
  }
}

/* --- 注記 ------------------------------------------------------------------ */
.note {
  margin: 28px 0;
  padding: 18px 22px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--coral);
  border-radius: 12px;
  background: var(--paper-light);
  font-size: 0.93rem;
  line-height: 1.85;
}

.alert {
  margin: 0 0 32px;
  padding: 18px 22px;
  border: 1px solid var(--line);
  border-radius: 14px;
  font-size: 0.95rem;
  line-height: 1.8;
}

.alert-ok {
  border-color: rgba(49, 85, 231, 0.35);
  background: rgba(49, 85, 231, 0.08);
}

.alert-ng {
  border-color: rgba(255, 102, 87, 0.45);
  background: rgba(255, 102, 87, 0.1);
}

/* --- フォーム --------------------------------------------------------------- */
.form-field {
  margin: 0 0 22px;
}

.form-field label {
  display: block;
  margin-bottom: 8px;
  font-family: "Manrope", sans-serif;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.form-field input[type="text"],
.form-field input[type="email"],
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.7;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.form-field select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%),
                    linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position: calc(100% - 22px) 55%, calc(100% - 16px) 55%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 46px;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(49, 85, 231, 0.16);
}

.form-field textarea {
  min-height: 11rem;
  resize: vertical;
}

.form-hint {
  margin-top: 8px;
  font-size: 0.86rem;
  line-height: 1.75;
  color: var(--muted);
}

/* 迷惑投稿よけ。画面には出さない */
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* --- ボタン（トップと同じ形） ----------------------------------------------- */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 58px;
  padding: 0 25px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button--primary {
  min-width: 208px;
  background: var(--coral);
  box-shadow: 0 14px 32px rgba(27, 24, 67, 0.25);
  color: var(--white);
}

.button--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 38px rgba(27, 24, 67, 0.3);
}

.button--dark {
  min-width: 215px;
  background: var(--ink);
  color: var(--white);
}

.button--dark:hover {
  transform: translateY(-2px);
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 56px;
  font-family: "Manrope", sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.back-link:hover {
  color: var(--ink);
}

/* --- フッター（トップと同じ見た目） ------------------------------------------ */
.site-footer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px 60px;
  padding: 60px clamp(20px, 6vw, 112px) 30px;
  border-top: 1px solid var(--line);
  background: var(--paper-light);
}

.site-footer .footer-links {
  display: flex;
  gap: 30px;
  font-family: "Manrope", sans-serif;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.03em;
}

.site-footer .footer-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  justify-self: end;
  text-align: right;
  color: var(--muted);
  font-family: "Manrope", sans-serif;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

@media (max-width: 620px) {
  .site-footer {
    grid-template-columns: 1fr;
  }
  .site-footer .footer-meta {
    justify-self: start;
    text-align: left;
  }
  .site-header {
    padding-top: 8px;
    padding-bottom: 12px;
  }
}
