@import url('https://fonts.googleapis.com/css2?family=Zen+Kaku+Gothic+New:wght@400;700&family=Zen+Maru+Gothic:wght@700&display=swap');

/* ===========================================================
   確認用プレビューの共通スタイル
   本番サイトでは使いません。確認用の枠組みだけです。

   サイトと同じ配色・書体を使いつつ、
   上部の帯だけを「濃い茶色の面」にして、
   ページの外側だと分かるようにしています。
   （茶色 #543720 は、サイト本体では文字にしか使っていない色です）
   =========================================================== */

:root {
  --brown:  #543720;
  --brown2: #6E4B2F;
  --green:  #9FAF64;
  --orange: #FFA263;
  --beige:  #F7F5F0;
  --sand:   #E6DFD2;
  --line:   #D8D1C2;
  --sub:    #8A8071;
}

* { box-sizing: border-box; }

html { background: var(--sand); }

body {
  margin: 0;
  font-family: "Zen Kaku Gothic New", "Noto Sans JP", "Yu Gothic", sans-serif;
  color: var(--brown);
  -webkit-text-size-adjust: 100%;
}

/* --- 上部のプレビュー用バー ------------------------------- */

/* 帯（ナビ＋注意書き）は、スクロールしても常に上に残します */
.pv-head {
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 3px 12px rgba(84,55,32,.18);
}

.pv-bar {
  background: var(--brown);
  color: var(--beige);
}

.pv-bar__inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.pv-bar__label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}

.pv-bar__label strong {
  background: var(--beige);
  color: var(--brown);
  font-family: "Zen Maru Gothic", sans-serif;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 999px;
  letter-spacing: .04em;
}

.pv-bar__label span {
  font-size: 12px;
  color: #C9BDAC;
}

.pv-nav {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-left: auto;
}

.pv-nav a {
  display: block;
  padding: 7px 16px;
  font-size: 13px;
  color: #E8DFD2;
  text-decoration: none;
  border: 1px solid rgba(247,245,240,.28);
  border-radius: 999px;
  white-space: nowrap;
  transition: background .15s, color .15s;
}

.pv-nav a:hover { background: var(--brown2); color: #fff; }

.pv-nav a[aria-current="page"] {
  background: var(--orange);
  border-color: var(--orange);
  color: #fff;
  font-weight: 700;
}

.pv-note {
  background: var(--brown2);
  color: #DFD4C4;
  font-size: 12.5px;
  line-height: 1.8;
  padding: 9px 24px;
  text-align: center;
}

/* --- デザイン画像を置く場所 ------------------------------- */

.pv-sheet {
  max-width: 1440px;
  margin: 0 auto;
  background: #fff;
  box-shadow: 0 2px 20px rgba(84,55,32,.10);
}

.pv-sheet img {
  display: block;
  width: 100%;
  height: auto;
}

.pv-placeholder {
  min-height: 320px;
  display: grid;
  place-items: center;
  background: var(--beige);
  border: 2px dashed var(--line);
  color: var(--sub);
  font-size: 14px;
  text-align: center;
  line-height: 2.2;
  padding: 48px 24px;
}

.pv-placeholder code {
  font-family: inherit;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 2px 10px;
}

/* --- 下部 ------------------------------------------------- */

.pv-foot {
  max-width: 1440px;
  margin: 0 auto;
  padding: 32px 24px 64px;
  text-align: center;
}

.pv-foot a {
  display: inline-block;
  padding: 12px 32px;
  font-size: 14px;
  font-weight: 700;
  color: var(--beige);
  background: var(--brown);
  text-decoration: none;
  border-radius: 999px;
}

.pv-foot a:hover { opacity: .88; }

/* --- index.html 用 ---------------------------------------- */

.pv-index {
  max-width: 860px;
  margin: 0 auto;
  padding: 48px 24px 72px;
}

.pv-index h1 {
  font-family: "Zen Maru Gothic", sans-serif;
  font-size: 25px;
  font-weight: 700;
  margin: 0 0 8px;
  line-height: 1.55;
}

.pv-index .pv-date {
  font-size: 13px;
  color: var(--sub);
  margin: 0 0 36px;
}

/* 遷移図だけ、本文より広く表示します */
.pv-wide {
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 24px;
}

.pv-wide h2 {
  font-family: "Zen Maru Gothic", sans-serif;
  font-size: 18px;
  font-weight: 700;
  margin: 48px 0 14px;
  padding-bottom: 6px;
  border-bottom: 4px solid #FED384;
  display: inline-block;
}

.pv-wide p { font-size: 15px; line-height: 1.95; margin: 10px 0 0; }

.pv-wide figure {
  margin: 16px 0 0;
  background: #fff;
  border-radius: 16px;
  padding: 20px 24px;
}

.pv-index h2 {
  font-family: "Zen Maru Gothic", sans-serif;
  font-size: 18px;
  font-weight: 700;
  margin: 48px 0 14px;
  padding-bottom: 6px;
  border-bottom: 4px solid #FED384;
  display: inline-block;
}

.pv-index p { font-size: 15px; line-height: 1.95; }

.pv-card {
  background: #fff;
  border-radius: 16px;
  padding: 24px 28px;
  margin: 18px 0;
}

.pv-card strong.t {
  font-family: "Zen Maru Gothic", sans-serif;
  font-size: 15px;
}

.pv-card ul { margin: 10px 0 0; padding-left: 22px; }
.pv-card li { font-size: 14.5px; line-height: 2; }

.pv-list { display: grid; gap: 10px; margin: 16px 0 0; }

.pv-list a {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #fff;
  border-radius: 14px;
  padding: 18px 24px;
  text-decoration: none;
  color: var(--brown);
  border: 2px solid transparent;
  transition: border-color .15s;
}

.pv-list a:hover { border-color: var(--green); }

.pv-list .n {
  width: 32px; height: 32px; flex: none;
  display: grid; place-items: center;
  background: var(--green); color: #fff;
  font-family: "Zen Maru Gothic", sans-serif;
  font-size: 13px; font-weight: 700; border-radius: 50%;
}

.pv-list .t { font-size: 15px; font-weight: 700; }
.pv-list .d { font-size: 13px; color: var(--sub); margin-left: auto; text-align: right; }

figure { margin: 16px 0 0; }
figure svg { display: block; width: 100%; height: auto; }

@media (max-width: 760px) {
  .pv-bar__inner { padding: 10px 14px; gap: 12px; }
  .pv-nav { margin-left: 0; width: 100%; overflow-x: auto; flex-wrap: nowrap; }
  .pv-index { padding: 32px 16px 56px; }
  .pv-list .d { display: none; }
}
