/* 配色: coolors「Earthy Forest Hues」(dad7cd-a3b18a-588157-3a5a40-344e41) をもとに、地を生成りに寄せた */
:root {
  --bg: #f4efe4;        /* 生成りの地 */
  --surface: #ebe5d6;   /* 面（仮画像の枠・お品書き） */
  --leaf: #cfd6bd;      /* こもれびの形 */
  --ink: #2a2f2a;       /* 本文 */
  --ink-sub: #5d6359;   /* 補助の文字 */
  --line: #cbc4b1;      /* 線 */
  --accent: #3a5a40;    /* 深緑（リンク・ボタン） */
  --dark: #344e41;      /* 暗い面（右のパネル・メニュー） */
  --on-dark: #f4efe4;
  --ph: #c9c8c2;        /* 仮画像 */
  --ph-2: #bdbcb5;
  --ph-3: #d3d2cc;
  --ph-ink: #55554f;
  --font-ja: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  --font-min: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --side-w: calc(60% - 100px);
  --main-w: calc(40% - 100px);
  --nav-w: 200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-ja);
  font-size: 1rem;
  line-height: 1.8;
  letter-spacing: 1px;
  font-feature-settings: "palt";
  -webkit-font-smoothing: antialiased;
  word-break: normal;
  overflow-wrap: anywhere;
  line-break: strict;
}
h1, h2, h3, h4, p, ul, dl, dd, figure { margin: 0; }
p, dd { text-wrap: pretty; }
ul { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
button { font: inherit; color: inherit; }
svg { display: block; }

/* 全体の枠: PC は 左の固定メニュー｜本文の列｜右の固定写真 */
.wrap { position: relative; display: flex; animation: fade-in 2.5s ease-in-out both; }
.side { position: fixed; top: 0; right: 0; width: var(--side-w); height: 100%; overflow: hidden; }
.main-col { position: relative; width: var(--main-w); margin-left: var(--nav-w); min-width: 0; }
.inner { width: 80%; margin: 0 auto; padding: 82px 0 0; }

/* 見出し（横書き。右へ細い線を引く） */
.sec-title {
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0 0 44px;
  font-family: var(--font-min);
  font-size: 20px;
  font-weight: 400;
  letter-spacing: 3px;
  line-height: 1.8;
}
.sec-title::before { content: ""; flex: none; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); }
.sec-title::after { content: ""; flex: 1; height: 1px; background: var(--line); transform: scaleX(0); transform-origin: left; transition: transform 1.2s ease .3s; }
.sec-title.is-on::after, .is-capture .sec-title::after { transform: none; }

/* 丸いボタン */
.btn { margin-top: 18px; }
.btn a {
  display: block;
  padding: 8px 0;
  text-align: center;
  font-size: 14px;
  color: var(--accent);
  border: 1px solid var(--accent);
  border-radius: 100px;
  transition: background-color .5s ease, color .5s ease;
}
.btn a:hover { background: var(--accent); color: var(--on-dark); }

/* 丸いラベル */
.pill {
  display: inline-block;
  width: 42px;
  padding: 3px 0 2px;
  font-size: 11px;
  line-height: 1.4;
  letter-spacing: 1px;
  text-align: center;
  border: 1px solid var(--ink);
  border-radius: 100px;
}

/* 仮画像（あとで写真に差し替える） */
.ph {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--ph);
  color: var(--ph-ink);
}
.ph--b { background: var(--ph-2); }
.ph--c { background: var(--ph-3); }
.ph--fill { width: 100%; height: 100%; }
.ph--photo { aspect-ratio: 10 / 7; border-radius: 10px; }
.ph__label {
  padding: 0 12px;
  font-size: 12px;
  letter-spacing: 1px;
  line-height: 1.6;
  text-align: center;
  word-break: keep-all;
}

/* 写真 */
.photo { position: relative; overflow: hidden; background: var(--surface); }
.photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.photo--fill { width: 100%; height: 100%; }
.photo--photo { aspect-ratio: 10 / 7; border-radius: 10px; }

/* スクロールで出す */
.fadein { opacity: 0; transform: translate(0, 26px); transition: opacity 1.1s ease, transform 1.1s cubic-bezier(.2, .7, .2, 1); }
.fadein.is-on { opacity: 1; transform: translate(0, 0); }

/* 写真の切り替え（フェード＋ゆっくり縮む） */
.js-slider { position: relative; width: 100%; height: 100%; }
.js-slider > li { position: absolute; inset: 0; opacity: 0; transition: opacity 2s ease; overflow: hidden; }
.js-slider > li.is-current { opacity: 1; z-index: 1; }
.js-slider > li.is-zoom > .photo, .js-slider > li.is-zoom > .ph { animation: fadezoom 10s linear forwards; }

/* 開幕 */
.loading {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: var(--bg);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
}
.loading.is-off { animation: fade-out 1.5s ease-in-out forwards; }
.loading.is-gone { display: none; }
.loading__sun { fill: currentColor; }
.loading__rays { stroke: currentColor; stroke-width: 1; fill: none; transform-origin: 40px 40px; animation: turn 10s linear infinite; }

@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes fade-out { from { opacity: 1; } to { opacity: 0; } }
@keyframes fadezoom { from { transform: scale(1.15); } to { transform: scale(1); } }
@keyframes turn { to { transform: rotate(360deg); } }

/* 撮影用（?capture）: 開幕と出現を飛ばす */
.is-capture .loading { display: none; }
.is-capture .wrap { animation: none; }
.is-capture .fadein { opacity: 1; transform: none; transition: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .fadein { opacity: 1; transform: none; transition: none; }
  .js-slider > li.is-zoom > .photo, .js-slider > li.is-zoom > .ph, .loading__rays { animation: none; }
}

@media (max-width: 1025px) {
  .side { display: none; }
  .main-col { width: calc(100% - var(--nav-w)); }
}
@media (max-width: 620px) {
  .main-col { width: 100%; margin-left: 0; }
}
