@charset "UTF-8";
/* CSS Document */

@font-face {
  font-family: "筑紫B丸ゴシック";
  src: local("筑紫B丸ゴシック"), 
       local("TsukuBRdGothic-Regular"),
       local("Tsukushi B Round Gothic"),
       local("筑紫B丸ゴシック Regular");
  font-display: swap;
}

/* ===== Tokens ===== */
:root{
  --max: 550px;   
  --pad-x: 16px;  
  --gap: clamp(16px, 3vw, 28px);
  --radius: 20px;
}
:root{ --header-alpha: .78; }
.site-header{
  background: rgba(255,255,255,var(--header-alpha));
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  transition: background .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.is-scrolled .site-header{
  --header-alpha: .94;                      /* ほんの少し濃く */
  box-shadow: 0 12px 28px rgba(10,0,15,.05);  /* 影も少し強め */
  border-bottom: 3px solid rgba(10,0,15,.05);
}

/* ===== �x�[�X ===== */
*{ box-sizing: border-box; }
html,body{ height:100%; }


body {
  color: #534741;
font-family: "筑紫B丸ゴシック", "Tsukushi B Maru Gothic",
               "Hiragino Maru Gothic ProN", "Noto Sans JP", sans-serif;
  margin: 0;
  line-height: 1.6;
  overflow-x: hidden; 
}



body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(100%, calc(var(--max) + var(--pad-x) * 2));
  height: 100vh;
  background-color: #fff;
  z-index: -1; 
}

body::after {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(100%, calc(var(--max) + var(--pad-x) * 2));
  min-height: 100%;
  background-color: #fff;
  z-index: -1;
}


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


.wrap {
  max-width: var(--max);     
  margin-inline: auto;        
  padding-inline: var(--pad-x); 
  position: relative;
  z-index: 1;
}


.site-header,
main,
footer {
  position: relative;
  z-index: 1;
}


.brand img{
  height: 28px;
  width: auto;
  display: block;      
}


.brand{
  display: inline-flex;
  align-items: center;
  gap: .6em;
}


.nav-toggle{
  inline-size: 44px;
  block-size: 44px;
  border: none;
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.nav-toggle span{
  display:block;
  inline-size: 22px;
  block-size: 2px;
  background: currentColor;
  border-radius: 2px;
  transform-origin: center;
}
.nav-toggle span + span{ margin-top: 5px; }



.section{ 
  padding-block: 48px;
  margin-bottom: 50px;
}
.section .inner{ display:grid; gap: var(--gap); }

/* �ŏ��̃Z�N�V�����i�q�[���[�j�̏�]����폜���ăw�b�_�[�ƒn������ */
.hero {
  margin-top: 0;
  padding-top: 120px; /* �w�b�_�[�Ƃ̓K�x�ȊԊu */
}

/* �Ō�̃Z�N�V�����i�t�b�^�[�j�̉��]����폜 */
footer.section {
  margin-bottom: 0;
  padding-bottom: 24px;
}

/* ===== �q�[���[�i������"��"��u�������j ===== */
.hero .panel{
  border-radius: 28px;
  box-shadow: var(--shadow);
  padding: 24px; /* �Œ�l */
  display: grid;
  gap: 12px;
  text-align: center;
}
.hero h1{
  margin-bottom: 1.5em;
  margin-top: 1.5em;
  font-size: 32px; /* �Œ�l */
  line-height: 1.08;
  letter-spacing:.02em;
}
.hero .lead{ 
  margin:0; 
  font-size: 1.25em;
}

/* ===== �e�L�X�g�{�摜��"��" ===== */
.block{
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: clamp(20px, 3.6vw, 36px);
  display:grid;
  gap: var(--gap);
  grid-template-columns: 1fr; /* ���1�J���� */
  align-items: start;
}

.block .text {
  text-align: center;
}

.block .text p {
  font-size: 18px;
  line-height: 1.8;
}

.media{
  aspect-ratio: 4/3;
  border-radius: calc(var(--radius) - 4px);
  overflow: hidden;
  background:#f6f6f6;
}
.media img{
  width:100%; height:100%;
  object-fit: cover; display:block;
}

h2 {
  text-align: center;
  font-size: clamp(24px, 4vw, 36px);
  margin-bottom: 1.5em;
  letter-spacing: 0.1em;
}

.grid{
  display: grid;
  gap: var(--gap);
  grid-template-columns: 1fr; /* ���1�J���� */
}

/* ==== �{�g�� ==== */
.card .thumb .bottle-image {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  max-height: 90%;   /* �w�i�̒��Ɏ��߂� */
  width: auto;
  object-fit: contain;
  z-index: 1;
  pointer-events: none;
  transition: transform .45s ease, filter .45s ease, opacity .45s ease;
}

/* ==== MORE�{�^�� ==== */
.card .thumb .detail-btn {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 2;
}

.card .thumb .detail-btn img {
  width: 170px;
  height: auto;
  display: block;
}

/* �J�[�h��̓y��B���ꂪ"�" */
.card .thumb{
  position: relative;   /* �����꒴�d�v�I */
  display: block;
  overflow: hidden;     /* �͂ݏo���h�~�i�C�Ӂj */
  aspect-ratio: 1 / 1;  /* �T���l�𐳕��`�ɌŒ� */
}

/* �w�i�̕~���� */
.card .thumb .bg-image{
  position: absolute; 
  inset: 0;
  width: 100%; 
  height: 100%;
  object-fit: cover;
}


@media (hover:hover){
  /* �e.thumb���u�{�^����hover���Ă���v��Ԃ�m���āA�q�̃{�g����ӂ���� */
  .card .thumb:has(.detail-btn:hover) .bottle-image{
    transform: translate(-50%, -52%) scale(1.05);
    filter: drop-shadow(0 16px 22px rgba(0,0,0,.18));
  }
}

.card {
  margin-bottom: 48px;  /* ����48px�̗]���B���l�͍D�݂Œ��� */
}

/* ===== �̔��X�܏��Z�N�V���� ===== */
.sales-store {
  margin-block: 2em;
}

.sales-store h2 {
  text-align: center;
  font-size: clamp(24px, 4vw, 36px);
  margin-bottom: 1em;
  letter-spacing: 0.1em;
}

.store-info {
  max-width: 550px;
  margin: 0 auto;
  text-align: center;
}

.store-description {
  font-size: clamp(16px, 2.2vw, 18px);
  line-height: 1.8;
  margin-bottom: 2em;
  color: #333;
}

.niigata-map{
  /* max-width: 200px; ←消す */
  width: clamp(220px, 60%, 420px); /* 最小220 / 画面の60% / 最大420 */
  margin: 1.5em auto;
}
.niigata-map img{ width: 100%; height: auto; }

.store-note {
  font-size: clamp(14px, 1.8vw, 16px);
  color: #666;
  margin-top: 2em;
  line-height: 1.6;
}

/* ===== ���̉w�����Z�N�V���� ===== */
.roadside-search {
  margin-block: 2em;
}

.roadside-search h2 {
  text-align: center;
  font-size: clamp(24px, 4vw, 36px);
  margin-bottom: 2em;
  letter-spacing: 0.1em;
}

.search-option {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1em;
  padding: clamp(16px, 3vw, 24px);
  background: #fff;
  border: 2px solid #ddd;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.search-option:hover {
  border-color: #ff7f7f;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.search-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.search-text {
  font-size: 16px; /* �Œ�l */
  font-weight: 700;
  color: #333;
}

.search-options {
  display: grid;
  gap: clamp(16px, 3vw, 24px);
  max-width: var(--max);
  margin: 0 auto;
  width: 100%;
  grid-template-columns: 1fr; /* ���1�J���� */
}

/* ===== Contact form ===== */
.contact-form{
  display:grid;
  gap: var(--gap);
}

.contact-form label{
  font-weight:600;
  font-size:.95rem;
  letter-spacing:.02em;
  margin-bottom: -15px;
}

.contact-form input,
.contact-form textarea{
  width:100%;
  padding:14px 16px;
  border:2px solid #99c355;
  border-radius: var(--radius);
  font:inherit;
  line-height:1.4;
}

.contact-form input:focus,
.contact-form textarea:focus{
  outline:none;
  box-shadow:0 0 0 3px rgba(0,0,0,.08);
}

.contact-form textarea{
  min-height:200px;
  resize:vertical;
}

.contact-form button{
  width: 100%;
  justify-self:start;
  padding:14px 32px;
  border:none;
  border-radius: var(--radius);
  color:#fff;
  font-size: 1.5em;
  font-weight:600;
  letter-spacing:.05em;
  cursor:pointer;
  transition:filter .2s;
  background-color:#c6d7a5;
}

.contact-form button:hover{
  filter:brightness(1.1);
  color:#534741;
}

.contact-form h2{
  justify-self: center;
}

.contact-form button{
  justify-self: center;
}

/* �������ɂ����X�R�[�v */
.section-contact{
  clear: both;
  grid-column: 1 / -1;
  width: 100%;
  padding: 32px 16px;
}

.section-contact .contact-box{
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
  font-family: 'Noto Sans JP', system-ui, sans-serif;
}

.section-contact p{ margin: 0; }

.section-contact .contact-title{
  font-size: clamp(18px, 2.2vw, 22px);
  margin-bottom: 14px;
}

.section-contact .contact-tel{
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: .35em;
  line-height: 1.2;
  margin-bottom: 10px;
}

.section-contact .icon{
  font-size: 1.1em;
  line-height: 1;
}

.section-contact .tel-link{
  text-decoration: none;
  color: inherit;
  font-weight: bold;
}

.section-contact .tel-link:hover{
  color:#8F7A71;
  text-decoration: none;
}

.site-header {
  display: flex;
  justify-content: space-between; /* ���S��A�n���o�[�K�[��E */
  align-items: center;
  padding: 8px 16px;
 z-index: 5;
}

.global-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.global-nav li {
  margin-bottom: 1.5em;
}

.global-nav a {
  text-decoration: none;
  font-size: 1.2em;
  color: #534741;
}

.nav-open .global-nav {
  transform: translateX(0); /* �\�� */
}
/* ���i�������̔w�i�j */
.nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.28);
  z-index: 999;
  opacity: 0;
  transition: opacity .25s ease;
}

/* ���j���[���J���Ă�Ƃ��̏�� */
.nav-open .nav-backdrop {
  opacity: 1;
}
html.nav-open {
  overflow: hidden; /* �J���Ă�Ԃ͔w�i�X�N���[���֎~ */
}
html { scroll-behavior: smooth; }

/* 画面全体の背景レイヤー（PCで使う想定） */
@media (min-width: 768px){
  .bg{
    position: fixed;
    inset: 0;
    z-index: -3;
    pointer-events: none;
  }
  .bg img{
    width: 100%;
    height: 100%;
    object-fit: cover;   /* ← これを img に！ */
    display: block;
  }
}

/* もし前に書いてたら消す（競合防止） */
.bg{
  /* object-fit: cover;  ← ここに付けない */
  /* opacity: 0;         ← スライドしないなら消す */
  /* animation: slideShow 25s infinite; ← これも消す */
}
.bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;

  filter: blur(1px) brightness(1.1); /* ぼかし＋少し明るく */
  transform: scale(1.05);            /* 拡大して端が透けないように */
}

/* �O�̂��߁F�{���͑O�ʁiz-index ���w��ł�OK�����ی��Łj */
header, main, footer, .section, .section-contact{
  position: relative;
  z-index: 0;
}


.kv-image {
  display: block;
  max-width: 110%;
  height: auto;
  margin-inline: auto;
      border-radius: 20px; /* ← ここで角丸に */
  overflow: hidden;    /* 念のため */
}

/* 土台：白帯の“中身”幅＝ --max に合わせる */
.kv-stage{
  width: var(--max);
  max-width: 100%;
  margin-inline: auto;
  position: relative;       /* ← これで子の absolute の基準になる */
}

/* 既に設定済みのこれでOK */
.kv-image{
  display:block;
  max-width:100%;
  height:auto;
  margin-inline:auto;
}

/* 前面レイヤーは % でレイアウト。親幅に対して縮尺されるのでレスポンシブになる */
.kv-bottle,
.kv-notes{
  position:absolute;
  object-fit:contain;
  pointer-events:none;     /* クリック邪魔しないなら */
}

/* 例：ボトルを左下に大きめ配置 */
.kv-bottle{
  right: 25%;
  bottom: -2%;
  width: 100%;              /* 親の幅に対する割合 */
  z-index: 3;
}

/* 例：ノート（三角）を右下に */
.kv-notes{
  left: 50%;
  bottom: 8%;
  width: 50%;
  z-index: 2;
}

/* コピーは中央上寄せ。必要なら位置は微調整してね */
.kv-copy{
  position:absolute;
  left: 10%;
  right: 10%;
  top: 8%;
  text-align:center;
  z-index: 4;
  pointer-events:none;
}
.kv-copy h1{
  margin:0 0 .4em;
  font-size: clamp(20px, 4.2vw, 32px);
  letter-spacing:.04em;
}
.kv-copy p{
  margin:0;
  font-size: clamp(14px, 2.8vw, 18px);
  line-height:1.6;
}
.kv-text{
  position: absolute;
  top: 0%;
  width: 40%;  /* 縦書き文字列の幅をここで調整 */
  height: auto;
  z-index: 5;
  pointer-events: none; /* クリックの邪魔しない */
 top: 5%;
left:30%;
}
/* 共通ふわっとアニメーション */
@keyframes fadeUp {
  0% {
    opacity: 0;
    transform: translateY(20px); /* 下からフワッと */
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 初期状態を非表示に */
.kv-notes,
.kv-bottle,
.kv-text {
  opacity: 0;
}

/* 順番にアニメーションをかける */
.kv-notes {
  animation: fadeUp 0.8s ease forwards;
  animation-delay: 0.2s; /* 1番目 */
}
.kv-bottle {
  animation: fadeUp 0.8s ease forwards;
  animation-delay: 0.8s; /* 2番目 */
}
.kv-text {
  animation: fadeUp 0.8s ease forwards;
  animation-delay: 1.4s; /* 3番目 */
}


.site-header {
  display: flex;
  align-items: center;
  padding: 8px 16px;
}

.header-nav {
  margin-left: auto;     /* ロゴを左、ナビを右に */
  display: flex;
  align-items: center;
}

/* ボタン */
.back-btn {
  writing-mode: horizontal-tb;
  text-orientation: mixed;
  white-space: nowrap;

  display: inline-block;
  padding: 8px 18px;
  font-size: 0.95rem;
  font-weight: 600;
  color: #534741;
  text-decoration: none;
  border: 2px solid #534741;
  border-radius: 20px;
  transition: all 0.25s ease;

  margin-right: 40px; /* ← 右端から少し内側に余白 */
}

.back-btn:hover {
  background-color: #534741;
  color: #fff;
}

/* モバイルは非表示 */
.bg { display: none; }

/* PC（768px以上）でだけ背景を表示 */
@media (min-width: 768px) {
  .bg {
    display: block;
    position: fixed;
    inset: 0;
    z-index: -3;
    pointer-events: none;
  }
  .bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.08);
  }
}
.kv-bottle {
  right: 25%;
  bottom: 4%;
  width: 100%;
  z-index: 3;
  object-fit: contain;
  pointer-events: none;
  transform-origin: center center;

  /* 出現は透明度だけ → その後、呼吸ループ */
  animation:
    bottleFade .8s ease forwards,
    bottleBreath 6s ease-in-out 1s infinite;
}

/* 出現は opacity のみ */
@keyframes bottleFade {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* 呼吸っぽい動き */
@keyframes bottleBreath {
  0%   { transform: scale(1); }
  50%  { transform: scale(1.03); }
  100% { transform: scale(1); }
}
.kv-bottle {
  right: 25%;
  bottom: 4%;
  width: 100%;
  z-index: 3;
  object-fit: contain;
  pointer-events: none;
  transform-origin: center center;

  /* 出現 → 浮遊ループ */
  animation:
    bottleFade .8s ease forwards,
    bottleFloat 8s ease-in-out 1s infinite;
}

/* 出現は透明度だけ触る（transformには手を出さない） */
@keyframes bottleFade {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* 軽やかな上下の浮遊 */
@keyframes bottleFloat {
  0%   { transform: translateY(0); }
  50%  { transform: translateY(-10px); } /* 上にふわっと */
  100% { transform: translateY(0); }
}
.kv-bottle {
  right: 25%;
  bottom: 4%;
  width: 100%;
  z-index: 3;
  object-fit: contain;
  pointer-events: none;
  transform-origin: center center;

  /* 出現 → 浮遊ループ */
  animation:
    bottleFade .8s ease forwards,
    bottleFloat 7s cubic-bezier(.4,.0,.6,1) 1s infinite;
}

/* 出現（透明度だけ） */
@keyframes bottleFade {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* 緩急をつけた上下の浮遊 */
@keyframes bottleFloat {
  0%   { transform: translateY(0); }
  20%  { transform: translateY(-12px); } /* すばやく上がる */
  50%  { transform: translateY(-6px); }  /* 少し戻ってタメる */
  80%  { transform: translateY(-14px); } /* もう一度ふわっと上へ */
  100% { transform: translateY(0); }     /* ゆっくり元の位置へ */
}
.kv-notes{
  /* 既存の位置/サイズはそのまま */
  filter: opacity(85%); /* ← ここだけ追加。0〜100% 表記でもOK */
}


.bg-slideshow {
  position: fixed; /* 背景に固定する場合 */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: -3; /* コンテンツの後ろ */
}

.bg-slideshow img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  top: 0;
  left: 0;
  opacity: 0;
  animation: slideShow 25s infinite;
}

/* 各画像にディレイを設定して順番に表示 */
.bg-slideshow img:nth-child(1) { animation-delay: 0s; }
.bg-slideshow img:nth-child(2) { animation-delay: 5s; }
.bg-slideshow img:nth-child(3) { animation-delay: 10s; }
.bg-slideshow img:nth-child(4) { animation-delay: 15s; }
.bg-slideshow img:nth-child(5) { animation-delay: 20s; }

@keyframes slideShow {
  0%   { opacity: 0; }
  10%  { opacity: 1; }
  20%  { opacity: 1; }
  30%  { opacity: 0; }
  100% { opacity: 0; }
}
/* 1) ヘッダーは中央に固定（今のままでOK） */
.site-header{
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 550px;
  z-index: 1000;
  background: #fff;
}

/* 2) 背景の幕は画面全体に固定。初期は非表示 */
.nav-backdrop{
  position: fixed;
  inset: 0; /* top:0 right:0 bottom:0 left:0 と同じ */
  background: rgba(0,0,0,.0);
  opacity: 0;
  pointer-events: none;
  z-index: 1050;
  transition: opacity .25s ease;
}
.nav-open .nav-backdrop{
  opacity: 1;
  pointer-events: auto;
}

/* 3) グローバルナビは“右からスライドするパネル”を画面基準で固定 */
.global-nav{
  position: fixed;
  top: 0;
  right: 0;
  height: 100dvh;                /* iOSも含めて画面高いっぱい */
  width: min(88vw, 420px);       /* 画面に応じて幅 */
  transform: translateX(100%);   /* 初期は画面外 */
  transition: transform .3s ease;
  z-index: 1100;                 /* ヘッダーより前、幕よりも前 */
  background: #fff;
  box-shadow: -12px 0 24px rgba(10,0,15,0.4);
  overflow:auto;
  padding: 24px 20px;
}
.nav-open .global-nav{
  transform: translateX(0);
}

/* 4) ヘッダーの高さぶん下のコンテンツを下げる（ヘッダーの実寸に合わせて調整） */
:root{ --header-h: 72px; } /* 実際の高さに合わせて後で微調整 */
main{ padding-top: var(--header-h); }

/* 5) ヘッダー内の左右レイアウト（任意。中央固定したまま中身は左右配置） */
.site-header.wrap{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  box-sizing: border-box;
}

/* 6) iOSでタップ透過防止（aが押しやすくなる） */
.global-nav a{ display:block; padding:12px 4px; }
/* グローバルナビ：最初は画面外 */
.global-nav {
  position: fixed;
  top: 0;
  right: 0;
  width: min(88vw, 420px);   /* 画面幅に応じたパネル幅 */
  height: 100dvh;            /* 画面全体の高さ */
  background: #fff;
  box-shadow: -12px 0 24px rgba(0,0,0,.1);
  transform: translateX(100%);   /* ← 初期状態は右の外 */
  transition: transform .3s ease;
  z-index: 1100;
}

/* nav-open が付いた時だけスライドイン */
.nav-open .global-nav {
  transform: translateX(0);
}
.hero.section {
  margin-bottom: -80px; /* PRODUCTとの距離を短くする */
}
/* PRODUCT直下の.sectionだけ間隔を詰める */
#product.section {
  margin-bottom: -120px;  /* ← 120pxから縮める */
}

#sales-store.section {
  margin-top: -120px; /* ← 120px 相当の余白を 40px に縮める */
}
/* ===== FAQ ===== */
.faq {
  border: 2px solid #FFCD85;
  border-radius: var(--radius);
  background: #fff;
  overflow: hidden;
}

.faq + .faq { margin-top: 14px; }

.faq > summary {
  list-style: none;          /* デフォルトの▶︎消す */
  cursor: pointer;
  padding: clamp(14px, 3vw, 18px);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: .6em;
  position: relative;
}

/* 開閉アイコン（CSSだけで） */
.faq > summary::after {
  content: '+';
  margin-left: auto;
  font-weight: 700;
  transform: translateY(-1px);
}
.faq[open] > summary::after { content: '−'; }

.faq .a {
  padding: 0 clamp(14px, 3vw, 18px) clamp(16px, 3vw, 20px);
  color: #333;
  line-height: 1.8;
  border-top: 1px dashed #e5e5e5;
}

/* タップしやすさ＆アクセシビリティ */
.faq > summary:focus-visible {
  outline: 3px solid rgba(0,0,0,.12);
  outline-offset: 2px;
}
