/* =====================================================
   hitocha 下層ページ共通スタイル（sub.css）
   大切にしていること・商品・贈り物・お問い合わせの
   4ページで共通して使う見た目をまとめています。
   各ページだけの見た目は、それぞれの HTML の <style> に書いています。
   ===================================================== */

/* ---------- 色と書体（トップページと同じ） ---------- */
:root {
  --kinari: #f6f1e7;        /* 生成り（基本の背景） */
  --kinari-deep: #ece4d4;   /* 生成り・濃いめ */
  --kinari-light: #fbf8f2;  /* 生成り・明るめ */
  --green: #7f8c74;         /* くすんだ緑 */
  --green-deep: #5d6955;    /* くすんだ緑・濃いめ */
  --green-pale: #b9c0ae;    /* くすんだ緑・淡い（暗い背景の上で使う） */
  --sumi: #46464a;          /* 薄墨（文字） */
  --sumi-light: #8b8984;    /* 薄墨・淡い（補足の文字） */
  --night: #3a3b44;         /* 夜の背景 */
  --line: #d8cfbe;          /* 罫線 */

  --mincho: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --gothic: "Zen Kaku Gothic New", "Hiragino Sans", "Yu Gothic", sans-serif;
  --serif-en: "Cormorant Garamond", "Times New Roman", serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  background: var(--kinari);
  color: var(--sumi);
  font-family: var(--gothic);
  font-size: 15px;
  line-height: 2.1;
  letter-spacing: 0.06em;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 40px;
}
.inner.is-narrow { max-width: 820px; }

section { padding: 140px 0; }

/* ---------- 見出し ---------- */
/* 英字の小見出し（例：Our Values） */
.eyebrow {
  font-family: var(--serif-en);
  font-style: italic;
  font-size: 17px;
  letter-spacing: 0.08em;
  color: var(--green);
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}
.eyebrow::before {
  content: "";
  width: 32px;
  height: 1px;
  background: currentColor;
}
/* 真ん中ぞろえの小見出し（左右に線） */
.eyebrow.is-center { justify-content: center; }
.eyebrow.is-center::after {
  content: "";
  width: 32px;
  height: 1px;
  background: currentColor;
}

/* 日本語の見出し */
.heading {
  font-family: var(--mincho);
  font-weight: 400;
  font-size: 30px;
  line-height: 1.8;
  letter-spacing: 0.16em;
}
.lead {
  margin-top: 28px;
  font-size: 14px;
  color: var(--sumi-light);
}
.text-center { text-align: center; }

/* ---------- スクロールで現れる動き ---------- */
.js .fade {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 1.4s ease, transform 1.4s ease;
}
.js .fade.is-visible { opacity: 1; transform: none; }
/* 上からぼんやり現れる */
.js .fade-blur {
  opacity: 0;
  filter: blur(12px);
  transform: translateY(-24px);
  transition: opacity 2.2s ease, filter 2.2s ease, transform 2.2s ease;
}
.js .fade-blur.is-visible { opacity: 1; filter: none; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .fade,
  .js .fade-blur { opacity: 1; filter: none; transform: none; transition: none; }
}

/* =====================================================
   ヘッダー
   ===================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  transition: background .6s, box-shadow .6s;
}
.header.is-scrolled {
  background: rgba(246, 241, 231, 0.92);
  backdrop-filter: blur(8px);
  box-shadow: 0 1px 0 var(--line);
}
.header .inner {
  max-width: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.logo {
  font-family: var(--serif-en);
  font-size: 28px;
  font-weight: 400;
  letter-spacing: 0.1em;
  line-height: 1;
}
.logo small {
  display: block;
  font-family: var(--mincho);
  font-size: 10px;
  letter-spacing: 0.3em;
  margin-top: 6px;
  color: var(--sumi-light);
}
.nav ul {
  display: flex;
  gap: 40px;
  list-style: none;
  font-size: 12px;
  letter-spacing: 0.18em;
}
.nav a {
  position: relative;
  padding-bottom: 4px;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .5s ease;
}
.nav a:hover::after,
.nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }

.menu-toggle { display: none; }
.menu-button { display: none; }

/* 暗い写真の上にヘッダーが重なるページ用（文字を明るくする） */
.is-dark-top .header:not(.is-scrolled) { color: #f1ece2; }
.is-dark-top .header:not(.is-scrolled) .logo small { color: #cfc9bd; }
.is-dark-top .header:not(.is-scrolled) .menu-button span { background: #f1ece2; }

/* =====================================================
   ページの最初の写真（ページヒーロー）
   ===================================================== */
.page-hero {
  position: relative;
  height: 78vh;
  min-height: 520px;
  padding: 0;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}
.page-hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: hero-zoom 12s ease-out both;
}
@keyframes hero-zoom {
  from { transform: scale(1.06); }
  to   { transform: scale(1); }
}
@media (prefers-reduced-motion: reduce) {
  .page-hero > img { animation: none; }
}
/* 文字を読みやすくするための、うっすらとしたグラデーション */
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(246,241,231,.55) 0%, rgba(246,241,231,0) 22%),
    linear-gradient(0deg, rgba(246,241,231,.96) 0%, rgba(246,241,231,.72) 32%, rgba(246,241,231,0) 64%);
}
.page-hero-text {
  position: relative;
  z-index: 1;
  width: 100%;
  padding-bottom: 72px;
}
.page-hero-text .en {
  display: block;
  font-family: var(--serif-en);
  font-style: italic;
  font-weight: 300;
  font-size: 64px;
  line-height: 1.1;
  color: var(--green-deep);
  margin-bottom: 12px;
}
.page-hero-text h1 {
  font-family: var(--mincho);
  font-weight: 400;
  font-size: 30px;
  letter-spacing: 0.2em;
  line-height: 1.8;
}

/* パンくずリスト（今いる場所の表示） */
.breadcrumb {
  list-style: none;
  display: flex;
  gap: 12px;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--sumi-light);
  padding-top: 28px;
}
.breadcrumb li + li::before {
  content: "/";
  margin-right: 12px;
  color: var(--line);
}
.breadcrumb a:hover { color: var(--sumi); }

/* =====================================================
   「詳しくはこちら」などのリンク・ボタン
   ===================================================== */
.more-link {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  font-family: var(--mincho);
  font-size: 14px;
  letter-spacing: 0.2em;
  padding: 8px 0;
}
.more-link::after {
  content: "";
  width: 48px;
  height: 1px;
  background: currentColor;
  transition: width .5s ease;
}
.more-link:hover::after { width: 72px; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 18px 48px;
  background: var(--sumi);
  color: var(--kinari);
  font: inherit;
  font-size: 13px;
  letter-spacing: 0.3em;
  border: none;
  cursor: pointer;
  transition: background .4s;
}
.button::after {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
  transition: width .4s;
}
.button:hover { background: var(--green-deep); }
.button:hover::after { width: 40px; }

/* 次のページへの案内（ページの最後に置く大きなリンク） */
.next-page {
  display: block;
  position: relative;
  height: 360px;
  overflow: hidden;
  color: #f6f1e7;
}
.next-page img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.6s ease;
}
.next-page::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(58, 59, 68, .45);
  transition: background .6s;
}
.next-page:hover img { transform: scale(1.04); }
.next-page:hover::after { background: rgba(58, 59, 68, .35); }
.next-page-text {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.next-page-text .label {
  font-family: var(--serif-en);
  font-style: italic;
  font-size: 15px;
  letter-spacing: 0.2em;
  opacity: .85;
}
.next-page-text .title {
  font-family: var(--mincho);
  font-size: 26px;
  letter-spacing: 0.2em;
  margin: 8px 0 20px;
}

/* =====================================================
   フォーム（お問い合わせ）
   ===================================================== */
.form-row { margin-bottom: 40px; }
.form-row > label,
.form-row > .label {
  display: block;
  font-size: 12px;
  letter-spacing: 0.16em;
}
.form-row .req {
  font-family: var(--serif-en);
  font-style: italic;
  font-size: 13px;
  color: var(--green-deep);
  margin-left: 10px;
}
.form-row input[type="text"],
.form-row input[type="email"],
.form-row input[type="tel"],
.form-row select,
.form-row textarea {
  width: 100%;
  font: inherit;
  color: var(--sumi);
  background: transparent;
  border: none;
  border-bottom: 1px solid #c9bfab;
  border-radius: 0;
  padding: 10px 0;
  transition: border-color .4s;
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-bottom-color: var(--green-deep);
}
.form-row textarea { min-height: 180px; resize: vertical; }

/* =====================================================
   フッター
   ===================================================== */
.footer {
  background: var(--night);
  color: #d9d4c9;
  padding: 96px 0 40px;
  text-align: center;
}
.footer .logo { font-size: 36px; }
.footer .logo small { color: #9d998f; }
.footer-message {
  margin-top: 32px;
  font-family: var(--mincho);
  font-size: 13px;
  letter-spacing: 0.24em;
  color: #b5b0a5;
}
.footer-nav {
  list-style: none;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px 32px;
  margin-top: 48px;
  font-size: 12px;
  letter-spacing: 0.16em;
  color: #b5b0a5;
}
.footer-nav a:hover { color: #fff; }
/* 運営者情報（フッター） */
.footer-company {
  margin-top: 48px;
  font-style: normal;
  font-size: 12px;
  line-height: 2;
  letter-spacing: 0.1em;
  color: #9d998f;
}
.footer small {
  display: block;
  margin-top: 56px;
  font-family: var(--serif-en);
  font-size: 13px;
  letter-spacing: 0.1em;
  color: #85817a;
}

/* =====================================================
   タブレット・スマートフォン用（画面幅 900px 以下）
   ===================================================== */
@media (max-width: 900px) {
  body { font-size: 14px; }
  section { padding: 96px 0; }
  .inner { padding: 0 24px; }
  .heading { font-size: 23px; }

  .header .inner { height: 64px; }
  .logo { font-size: 24px; }
  .menu-button {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 7px;
    width: 44px;
    height: 44px;
    cursor: pointer;
    position: relative;
    z-index: 2;
  }
  .menu-button span {
    display: block;
    height: 1px;
    background: var(--sumi);
    margin: 0 8px;
    transition: transform .4s, opacity .4s;
  }
  .menu-toggle:checked + .menu-button span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .menu-toggle:checked + .menu-button span:nth-child(2) { opacity: 0; }
  .menu-toggle:checked + .menu-button span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  /* メニューを開いたときは、どのページでも文字を薄墨に戻す */
  .menu-toggle:checked + .menu-button span { background: var(--sumi) !important; }
  .nav {
    position: fixed;
    inset: 0;
    background: var(--kinari);
    color: var(--sumi);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s, visibility .5s;
  }
  .nav ul {
    flex-direction: column;
    align-items: center;
    gap: 36px;
    font-family: var(--mincho);
    font-size: 16px;
  }
  .menu-toggle:checked ~ .nav { opacity: 1; visibility: visible; }

  .page-hero { height: 64svh; min-height: 420px; }
  .page-hero-text { padding-bottom: 40px; }
  .page-hero-text .en { font-size: 44px; }
  .page-hero-text h1 { font-size: 22px; }
  .breadcrumb { padding-top: 20px; }

  .next-page { height: 260px; }
  .next-page-text .title { font-size: 20px; }
  .button { width: 100%; }
}

/* ===========================================
   「架空のサンプルサイトです」の表示（画面の右下に小さく固定）
   =========================================== */
.sample-note {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 50;
  padding: 6px 16px;
  border-radius: 999px;
  background: rgba(70, 70, 74, .85);
  color: #f6f1e7;
  font-size: 11px;
  letter-spacing: 0.12em;
  line-height: 1.6;
  pointer-events: none;
}
