@import url('https://fonts.googleapis.com/css2?family=Josefin+Sans:wght@300;400&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Noto Serif JP", sans-serif;
  background-color: #6cb147;
  color: #fff;
}

body.no-scroll {
  overflow: hidden;
}

/* モーダル表示中も背景をスクロールさせない */
body.modal-open {
  overflow: hidden;
}

.h2-h2 span {
  font-size: 12px;
}

.fadein {
  opacity: 0.1;
  transform: translate(0, 70px);
  transition: all 500ms;
}

.fadein.scrollin {
  opacity: 1;
  transform: translate(0, 0);
}

/* ========================================= スクロール誘導（header と しっとりの境目） ========================================= */
.scroll_down {
  position: absolute;
  left: 50%;
  top: calc(85vh + 10px);
  /* header の高さ(80vh)の少し上 */
  transform: translateX(-50%);
  z-index: 2;
  /* overlay(z-index:1) より前に出す */
}

.scroll_down .text {
  display: block;
  margin-top: 70px;
  margin-left: -14px;
  font-size: 10px;
  color: #fff;
  /* 文字：白 */
  opacity: 0.8;
  text-transform: uppercase;
  white-space: nowrap;
  letter-spacing: 2px;
  font-family: 'Josefin Sans', sans-serif;
}

.scroll_down .arrow {
  position: absolute;
  width: 28px;
  height: 5px;
  opacity: 0;
  transform: scale3d(0.5, 0.5, 0.5);
  animation: move 3s ease-out infinite;
}

.scroll_down .arrow:first-child {
  animation: move 3s ease-out 1s infinite;
}

.scroll_down .arrow:nth-child(2) {
  animation: move 3s ease-out 2s infinite;
}

.scroll_down .arrow::before,
.scroll_down .arrow::after {
  content: ' ';
  position: absolute;
  top: 0;
  height: 100%;
  width: 51%;
  background: #fff;
  /* 矢印：白 */
}

.scroll_down .arrow::before {
  left: 0;
  transform: skew(0deg, 30deg);
}

.scroll_down .arrow::after {
  right: 0;
  width: 50%;
  transform: skew(0deg, -30deg);
}

@keyframes move {
  25% {
    opacity: 1;
  }

  33% {
    opacity: 1;
    transform: translateY(30px);
  }

  67% {
    opacity: 1;
    transform: translateY(40px);
  }

  100% {
    opacity: 0;
    transform: translateY(55px) scale3d(0.5, 0.5, 0.5);
  }
}

h2 {
  font-size: 20px;
}

/* ========================================= 親：header + しっとり をまとめる ========================================= */
.overlay-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
}

/* ========================================= 背景フィルター（header + しっとり全体） ========================================= */
.shittori-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  /* ここにテクスチャ画像やグラデを指定 */
  background-image: url("img/shittori.png");
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  /* クリックをブロックしないように */
  pointer-events: none;
}

/* ========================================= ヘッダー ========================================= */
/* 画面いっぱいのヘッダー */
.main-header {
  position: relative;
  width: 100vw;
  height: 85vh;
  min-height: 500px;
  overflow: hidden;
  /* ← z-index なし（overlay の後ろに置く） */
}

/* 3枚の画像を重ねる設定 */
.header-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
}

/* レイヤー順（header 内だけでの重なり） */
.header-img-01 {
  z-index: 1;
}

.header-img-02 {
  z-index: 2;
}

.header-img-03 {
  z-index: 3;
}

/* ───────── リロード時のフェードイン用 初期状態 ───────── */
/* header02：ぼかし＋非表示からスタート */
.header-img-02 {
  opacity: 0;
  filter: blur(8px);
  transition: opacity 1.5s ease, filter 1.5s ease;
}

/* header03：非表示からスタート */
.header-img-03 {
  opacity: 0;
  transition: opacity 2s ease;
}

/* スクロール誘導：非表示＋少し下にオフセット */
#type07 {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 1s ease, transform 1s ease;
}

/* JS から付与される表示用クラス */
.header-img-02.is-visible {
  opacity: 1;
  filter: blur(0);
}

.header-img-03.is-visible {
  opacity: 1;
}

#type07.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========================================= しっとりセクション ========================================= */
.shittori {
  position: relative;
  width: 100%;
  height: 800px;
  background: linear-gradient(to bottom, #6cb147, #285341);
  display: flex;
  justify-content: center;
  align-items: center;
  /* ▼縦書き */
  writing-mode: vertical-rl;
  text-orientation: upright;
  /* ▼フォント：明朝体 */
  font-family: "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", "Times New Roman", serif;
  font-size: 28px;
  line-height: 1.8;
  white-space: nowrap;
  letter-spacing: 0.3em;
  /* ← ここも z-index つけない */
}

/* ▼ テキスト（overlay より前に出す） */
.shittori-text {
  position: relative;
  z-index: 2;
  /* overlay(1) より前 */
  color: #ffffff;
}

/* ABOUT〜PRODUCTS 共通の黒膜（1枚で覆う） */
.ap-wrapper {
  position: relative;
}

.ap-overlay {
  position: absolute;
  inset: 0;                             /* ラッパー全体を覆う */
  background-color: rgba(0, 0, 0, 0.8); /* お好みで 0.7〜0.8 程度 */
  z-index: 1;                           /* 背景(.about-bg/.products-bg)より前、コンテンツより後ろ */
  pointer-events: none;                 /* クリックの邪魔をしない */
}

.about {
  position: relative;
  width: 100vw;
  /* 高さはコンテンツに応じて自動。100vhは指定しない */
  padding: 100px 0;
  /* 上下に余白をつけて呼吸させる */
  /* セクション外にはみ出す部分は隠す（横方向だけでもOKだがここでは一旦hidden） */
  overflow: hidden;
}

/* ABOUT セクションの固定背景（パララックス風） */
.about-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  /* 画面いっぱい */
  background-image: url("img/about/about.png");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  z-index: 0;
  /* 一番奥 */
  pointer-events: none;
  /* クリックを邪魔しない */
  opacity: 0;
  /* デフォルトは非表示 */
  transition: opacity 0.4s ease;
  /* ふわっと切り替え */
}



/* コンテンツのラッパー（中央寄せ＆前面） */
.about-inner {
  position: relative;
  z-index: 2;
  width: 80%;
  max-width: 900px;
  margin: 0 auto;
  color: #fff;
  font-family: "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", "Times New Roman", serif;
}

/* About 見出し */
.about-heading {
  text-align: center;
  letter-spacing: 0.2em;
  margin-bottom: 40px;
  text-transform: uppercase;
}

/* テキストブロック全体 */
.about-content {
  line-height: 2.0;
}

/* 個別段落の余白 */
.about-content p {
  font-size: 15px;
  margin-bottom: 35px;
}

.about-content p:last-child {
  margin-bottom: 0;
}

/* 画像ラッパー：中央配置 */
.about-image-wrap {
  margin: 30px auto;
}

.about-image-wrap02 {
  margin: 60px auto;
}

/* 画像サイズ */
.about-img {
  width: 90%;
  max-width: 500px;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* PRODUCTS セクション全体 */
.products {
  position: relative;
  width: 100vw;
  padding: 100px 0;
  /* セクション外にはみ出す部分は隠す */
  overflow: hidden;
}

/* PRODUCTS セクションの固定背景（パララックス風） */
.products-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-image: url("img/products/haikei.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
  pointer-events: none;
  opacity: 0;
  /* デフォルトは非表示 */
  transition: opacity 0.4s ease;
}

.about-bg.is-active,
.products-bg.is-active {
  opacity: 1;
}



/* コンテンツ囲い */
.products-inner {
  position: relative;
  z-index: 2;
  width: 80%;
  max-width: 1200px;
  margin: 0 auto;
  color: #fff;
  text-align: center;
  font-family: "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", "Times New Roman", serif;
}

/* PRODUCTS 見出し */
.products-heading {
  text-align: center;
  letter-spacing: 0.2em;
  margin-bottom: 40px;
  text-transform: uppercase;
}

/* 商品一覧（将来複数対応） */
.products-list {
  display: flex;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
}

/* 商品カード */
.product-card {
  width: 260px;
  text-align: center;
}

/* ▼ 商品画像の枠（正方形） */
.product-image-wrap {
  width: 260px;
  /* 最大幅（自由に変更可） */
  aspect-ratio: 1 / 1;
  /* 正方形 */
  margin: 0 auto 20px auto;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  /* はみ出し防止（containなのでほぼ不要だが念のため） */
  background: transparent;
  /* 追加してもOK */
}

/* ▼ 画像は枠の中で完全に表示される（見切れない） */
.product-image {
  width: 80%;
  /* 枠の80%以内で表示 */
  height: 80%;
  object-fit: contain;
  /* ★絶対に切れない */
  display: block;
}

/* 商品名・価格 */
.product-name {
  font-size: 18px;
  margin-bottom: 8px;
}

.product-price {
  font-size: 16px;
}

/* ───────── stores セクション ───────── */
.stores {
  background: linear-gradient(to bottom, #3e7247, #285341);
  color: #fff;
  width: 100vw;
  padding: 80px 0;
}

.stores-inner {
  width: 80%;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  font-family: "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", "Times New Roman", serif;
}

.stores-heading {
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 30px;
}

.stores-text {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 30px;
  text-align: left;
}

/* ボタン */
.stores-button {
  display: inline-block;
  padding: 12px 36px;
  border-radius: 999px;
  border: 1px solid #ffffff;
  color: #ffffff;
  font-size: 15px;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.stores-button:hover {
  background-color: #ffffff;
  color: #285341;
  transform: translateY(-1px);
}

/* ───────── ポップアップ（モーダル） ───────── */
/* チェックボックスは画面に見せない */
.stores-toggle-checkbox {
  display: none;
}

/* モーダルのベース（初期状態は非表示） */
.stores-modal {
  position: fixed;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px 10px;
  /* 画面端にくっつきすぎないよう余白 */
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  z-index: 1000;
}

/* 背景の暗幕（クリックで閉じる用の label） */
.stores-modal-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.6);
  cursor: pointer;
  z-index: 0;
}

/* モーダルが開いているときの状態 */
.stores-toggle-checkbox:checked~.stores-modal {
  opacity: 1;
  pointer-events: auto;
}

/* モーダルの中身 */
.stores-modal-content {
  position: relative;
  background-color: #fdfbe5;
  z-index: 1;
  color: #072b17;
  padding: 30px 30px 24px;
  max-width: 480px;
  width: 90%;
  max-height: 80vh;
  /* 画面高の 8割まで */
  overflow-y: auto;
  /* 中身だけスクロール */
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  text-align: left;
  /* 店舗リストなので左寄せ推奨（好みで） */
  font-family: "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", "Times New Roman", serif;
}

/* 閉じるボタン（右上の×） */
.stores-modal-close {
  position: absolute;
  top: 10px;
  right: 14px;
  font-size: 20px;
  cursor: pointer;
  color: #666;
}

.stores-modal-close:hover {
  color: #000;
}

.stores-modal-title {
  font-size: 20px;
  margin-bottom: 22px;
  letter-spacing: 0.1em;
}

.stores-modal-text {
  font-size: 14px;
  line-height: 1.8;
}

/* ───────── footer ───────── */
.site-footer {
  background-color: #6cb147;  /* 指定色 */
  color: #ffffff;
  width: 100vw;
  padding: 100px 0 30px;
  position: relative;
  overflow: hidden;
}

 .site-footer::before {
   content: "";
   position: absolute;
   inset: 0;
   background-image: url("img/footer/filter.png");
   background-size: cover;
   background-position: center;
   opacity: 0.7;             /* 透明度は調整OK */
   z-index: 2;               /* 前面に置く */
   pointer-events: none;     /* クリック操作を邪魔しない */
 }

.footer-inner {
  width: 80%;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  font-family: "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", "Times New Roman", serif;
  z-index: 3;
  /* 追加：フィルターより前 */
  position: relative;
  /* 必須：z-index を有効にする */
}

/* ロゴ */
.footer-logo {
  width: 35%;
  max-width: 200px;
  height: auto;
  display: block;
  margin: 0 auto 70px;
}

.footer-nav {
  list-style: none;
  /* 黒点を消す */
  padding: 0;
  margin: 0 0 24px;
  font-size: 17px;
  letter-spacing: 0.15em;
}

.footer-nav li {
  margin-bottom: 10px;
  /* 縦方向のすき間 */
}

.footer-nav li a {
  color: #fff;
  text-decoration: none;
}

.footer-nav li:last-child {
  margin-bottom: 0;
}

.footer-nav li span {
  font-size: 12px;
  padding-left: 15px;
}

/* キウイ画像 */
.footer-kiwi {
  width: 20%;
  max-width: 80px;
  height: auto;
  display: block;
  margin: 60px auto;
}

/* 会社名 */
.footer-company {
  font-size: 13px;
  margin-bottom: 8px;
}

.footer-company span {
  font-size: 10px;
}

/* コピーライト */
.footer-copy {
  font-size: 9px;
  opacity: 0.9;
}

/*ポップアップ（store）*/
.ppap {
  font-size: 14px;
}

.store-d-city {
  text-align: left;
  margin: 30px 0px;
}

.store-d-city-c {
  padding: 0px 10px;
}

.store-d-city-c-c {
  padding: 20px 0px;
}

.store-d-city h4 {
  font-size: 20px;
  padding: 5px;
  border-bottom: dotted 2px #072b17;
}

.store-d-city h4 span {
  font-size: 13px;
  margin-left: 15px;
}

.store-d-city-c-c h5 {
  font-size: 17px;
}

.store-d-city-c-c-p {
  font-size: 12px;
}

.store-d-city-c-c-map {
  font-size: 15px;
}

.store-d-city-c-c-map a {
  color: #072b17;
}

/* SP / PC 共通ラッパー */
.sp-main-header,
.pc-main-header {
  position: relative;
  width: 100%;
  height: 100%;
}

/* デフォルト（〜1023px）：SP を表示、PC を非表示 */
.sp-main-header {
  display: block;
}

.pc-main-header {
  display: none;
}

/* 1024px 以上：PC を表示、SP を非表示 */
@media (min-width: 1024px) {
  .sp-main-header {
    display: none;
  }

  .pc-main-header {
    display: block;
  }

.product-image-wrap {
width:500px;
}

.product-card {
  width: 500px;
}
}