/* ==========================================
   1. ベース＆共通設定（老舗の静謐さと黄金比）
   ========================================== */

html {
  scroll-behavior: smooth;
}

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

html, body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden !important;
  position: relative;
}

body {
  font-family: 'Shippori Mincho', "Yu Mincho", "游明朝", serif;
  background-color: #fdfbf7;
  color: #23211f;
  line-height: 2.2;
  letter-spacing: 0.12em;
  width: 100%;
  padding-top: 70px;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

/* インラインテキストリンク */
.link-inline {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: rgba(154, 124, 56, 0.4);
  text-underline-offset: 4px;
  transition: color 0.3s ease, text-decoration-color 0.3s ease;
}

.link-inline:hover {
  color: #9a7c38;
  text-decoration-color: #9a7c38;
}

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

/* センタリングの基本構造 */
.hero,
.concept-section,
.menu-section,
.info-section,
.footer {
  text-align: center;
}

/* 各セクション本体の外枠余白 */
.section {
  width: 100%;
  max-width: 1080px;
  margin: 40px auto;
  padding: 0 24px;
  scroll-margin-top: 100px;
}

/* セクションタイトル ＆ 梅鉢マーク（上下均等配置） */
.section-title-wrap {
  margin-top: 10px;
  margin-bottom: 30px;
  padding-top: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.section-divider-img {
  width: 32px;
  height: auto;
  /* 上の空間と下の空間を全く同じ24pxに固定 */
  margin-top: 24px !important;    
  margin-bottom: 24px !important; 
  opacity: 0.85;
}

.section-title {
  font-size: 1.6rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  color: #23211f;
  margin-bottom: 0;
}

/* 縦書きスタイル */
.vertical-text {
  writing-mode: vertical-rl;
  -webkit-writing-mode: vertical-rl;
  text-align: start;
  margin: 0 auto;
  letter-spacing: 0.22em;
  line-height: 2.8;
}

.vertical-text p {
  white-space: nowrap;
}


/* ==========================================
   2. ヘッダー ＆ ハンバーガーナビゲーション
   ========================================== */
.header {
  width: 100%;
  background: rgba(253, 251, 247, 0.95);
  position: fixed !important;
  top: 0;
  left: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(154, 124, 56, 0.12);
  backdrop-filter: blur(8px);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  width: 100px;
  height: auto;
}

.header-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* 言語ボタン */
.lang-btn {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  border: 1px solid rgba(154, 124, 56, 0.4);
  border-radius: 3px;
  background-color: #ffffff;
  font-size: 0.75rem;
  color: #4a3f44;
  white-space: nowrap;
}

.flag-img {
  width: 15px;
  height: auto;
  display: inline-block;
  vertical-align: middle;
}

.menu-toggle {
  display: none;
}

.hamburger-btn {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 15px;
  cursor: pointer;
  z-index: 1002;
}

.hamburger-btn span {
  display: block;
  width: 100%;
  height: 1px;
  background-color: #23211f;
  transition: all 0.4s ease;
}

/* スマホ表示時の設定（767px以下） */
@media (max-width: 767px) {
  .nav-container {
    position: fixed;
    top: 0;
    right: 0;
    width: 82%;
    max-width: 320px;
    height: 100vh;
    background: #fdfbf7;
    padding: 100px 32px 40px;
    display: none;
    flex-direction: column;
    gap: 38px;
    box-shadow: -4px 0 20px rgba(0,0,0,0.1);
    z-index: 1001;
  }

  .menu-toggle:checked ~ .nav-container {
    display: flex;
  }

  .menu-toggle:checked ~ .hamburger-btn span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .menu-toggle:checked ~ .hamburger-btn span:nth-child(2) {
    opacity: 0;
  }
  .menu-toggle:checked ~ .hamburger-btn span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .nav {
    display: flex;
    flex-direction: column;
    gap: 24px;
    text-align: left;
  }

  .nav a {
    font-size: 1rem;
    letter-spacing: 0.15em;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(0,0,0,0.05);
  }
}


/* ==========================================
   3. ヒーローセクション
   ========================================== */
.hero {
  width: 100%;
  margin-top: 0;
  margin-bottom: 0;
}

.hero-copy {
  height: 230px;
  font-size: 1.15rem;
  margin-bottom: 30px;
}

.hero-image {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

.hero-image img {
  width: 100%;
  height: 50vh;
  min-height: 360px;
  object-fit: cover;
  object-position: right center;
  filter: brightness(0.96);
}


/* ==========================================
   4. 茶楽について（Concept）
   ========================================== */
.concept-vertical {
  height: 260px;               /* 高さ制限を適切に指定 */
  font-size: 1.05rem;
  margin-bottom: 80px !important; /* 「白鷺が傷を癒したと…」の下部隙間を復元 */
}

.image-single {
  max-width: 720px;
  margin: 0 auto 40px;
}

.image-single img {
  margin: 0 auto;
  border-radius: 1px;
}

.concept-text {
  max-width: 600px;
  margin: 0 auto;
}

.lead-text {
  font-size: 1.1rem;
  letter-spacing: 0.2em;
  color: #4a3f44;
}

.body-copy {
  font-size: 0.95rem;
  color: #44413e;
  line-height: 2.3;
}


/* ==========================================
   5. おしながき（Menu）
   ========================================== */
.menu-images {
  display: flex;
  flex-direction: column;
  gap: 32px;
  max-width: 880px;
  margin: 0 auto 30px;
}

.menu-img-wrap {
  overflow: hidden;
}

.menu-img-wrap img {
  transition: transform 0.8s ease;
}

.menu-img-wrap img:hover {
  transform: scale(1.02);
}

.menu-intro {
  margin-bottom: 24px;
  font-size: 0.95rem;
  color: #55524e;
}

.pdf-buttons {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  margin-bottom: 20px;
}

.btn-pdf {
  display: inline-block;
  width: 100%;
  max-width: 300px;
  padding: 16px 24px;
  border: 1px solid #9a7c38;
  background-color: #ffffff;
  color: #23211f;
  font-size: 0.9rem;
  letter-spacing: 0.15em;
  transition: all 0.4s ease;
}

.btn-pdf:hover {
  background-color: #9a7c38;
  color: #ffffff;
}


/* ==========================================
   6. 店舗情報（Info Section）
   ========================================== */
.info-grid-3 {
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin-top: 24px;
}

.info-block {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

.media-box {
  width: 100%;
  aspect-ratio: 1.618 / 1;
  overflow: hidden;
  position: relative;
  background-color: #f3efe6;
}

.media-box img,
.media-box iframe {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.info-image-block .caption {
  font-size: 0.85rem;
  color: #66635f;
  margin-top: 16px;
  letter-spacing: 0.08em;
}

.info-details-block {
  background: transparent;
  padding: 0;
  line-height: 1.6;
  font-size: 0.95rem;
}

.shop-name {
  font-weight: 600;
  margin-bottom: 12px;
  font-size: 1.05rem;
  color: #23211f;
  letter-spacing: 0.15em;
}

.address, .tel, .hours {
  margin-bottom: 8px;
  color: #44413e;
}


/* ==========================================
   7. フッター
   ========================================== */
.footer {
  padding: 50px 24px;
  font-size: 0.75rem;
  color: #88847e;
  border-top: 1px solid rgba(154, 124, 56, 0.15);
  margin-top: 60px;
  letter-spacing: 0.15em;
}


/* ==========================================
   8. 外部リンクアイコン（SVG埋め込み）
   ========================================== */
a[target="_blank"]::after {
  content: "";
  display: inline-block;
  width: 0.7em;
  height: 0.7em;
  margin-left: 0.3rem;
  vertical-align: 0.07em;
  background-color: currentColor;
  mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M320 0c-17.7 0-32 14.3-32 32s14.3 32 32 32h82.7L201.4 265.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L448 109.3V192c0 17.7 14.3 32 32 32s32-14.3 32-32V32c0-17.7-14.3-32-32-32H320zM80 32C35.8 32 0 67.8 0 112V432c0 44.2 35.8 80 80 80H400c44.2 0 80-35.8 80-80V320c0-17.7-14.3-32-32-32s-32 14.3-32 32V432c0 8.8-7.2 16-16 16H80c-8.8 0-16-7.2-16-16V112c0-8.8 7.2-16 16-16H192c17.7 0 32-14.3 32-32s-14.3-32-32-32H80z"/></svg>');
  -webkit-mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M320 0c-17.7 0-32 14.3-32 32s14.3 32 32 32h82.7L201.4 265.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L448 109.3V192c0 17.7 14.3 32 32 32s32-14.3 32-32V32c0-17.7-14.3-32-32-32H320zM80 32C35.8 32 0 67.8 0 112V432c0 44.2 35.8 80 80 80H400c44.2 0 80-35.8 80-80V320c0-17.7-14.3-32-32-32s-32 14.3-32 32V432c0 8.8-7.2 16-16 16H80c-8.8 0-16-7.2-16-16V112c0-8.8 7.2-16 16-16H192c17.7 0 32-14.3 32-32s-14.3-32-32-32H80z"/></svg>');
  mask-repeat: no-repeat;
  -webkit-mask-repeat: no-repeat;
  mask-size: contain;
  -webkit-mask-size: contain;
  transition: transform 0.2s ease;
}

a[target="_blank"]:hover::after {
  transform: translate(2px, -2px);
}


/* ==========================================
   9. PC向け設定（画面幅 768px 以上）
   ========================================= */
@media (min-width: 768px) {
  body {
    padding-top: 85px;
  }

  .header-inner {
    padding: 18px 32px;
  }

  .logo img {
    width: 120px;
  }

  .section {
    margin: 50px auto;
    padding: 0 48px;
    scroll-margin-top: 110px;
  }

  .section-title-wrap {
    margin-top: 15px;
    margin-bottom: 35px;
  }

  /* PC表示時の梅鉢上下スペースを24pxで完全均等指定 */
  .section-divider-img {
    width: 36px;
    margin-top: 24px !important;    
    margin-bottom: 24px !important; 
  }

  .section-title {
    font-size: 1.8rem;
  }

  .hamburger-btn {
    display: none;
  }

  .header-controls {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
  }

  /* PC用ナビゲーション */
  .nav-container {
    display: flex;
    justify-content: flex-end;
  }

  .lang {
    display: flex;
    gap: 16px;
  }

  .lang-btn {
    border: none;
    background: transparent;
    padding: 0;
    font-size: 0.8rem;
    color: #66635f;
  }

  .lang-btn:hover {
    color: #9a7c38;
  }

  .nav {
    display: flex;
    gap: 32px;
  }

  .nav a {
    font-size: 0.95rem;
    letter-spacing: 0.18em;
    color: #23211f;
    transition: color 0.3s ease;
  }

  .nav a:hover {
    color: #9a7c38;
  }

  .hero {
    margin-top: 10px;
    margin-bottom: 30px;
  }

  .hero-copy {
    height: 260px;
    font-size: 1.3rem;
  }

  .hero-image img {
    width: 100%;
    height: auto;
    min-height: initial;
    object-fit: contain;
    object-position: center;
  }

  .menu-images {
    flex-direction: row;
    justify-content: center;
    gap: 38px;
  }

  .menu-img-wrap {
    width: calc(50% - 19px);
  }

  .pdf-buttons {
    flex-direction: row;
    justify-content: center;
    gap: 38px;
  }

  .info-grid-3 {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    gap: 32px;
  }

  .info-image-block,
  .info-map-block {
    flex: 1;
  }

  .info-details-block {
    flex: 1.25;
    text-align: left;
    align-items: flex-start;
    padding-top: 0;
    padding-left: 10px;
  }

  /* --- 英語版のPC表示調整 --- */
  body.lang-en .hero-copy-en {
    font-size: 1.45rem;
    margin-bottom: 30px;
    margin-left: auto;
  }

  body.lang-en .concept-intro-en {
    font-size: 1.25rem;
    margin-bottom: 30px;
    margin-left: auto;
  }
}


/* ==========================================
   10. 英語版スタイル（English Styling）
   ========================================== */
/* Coming Soon メッセージ用スタイル */
.coming-soon-box {
  max-width: 420px;
  margin: 20px auto 0 !important;
  padding: 20px 24px;
  border: 1px solid rgba(154, 124, 56, 0.3);
  background-color: #ffffff;
  border-radius: 2px;
  text-align: center;
}

.coming-soon-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem;
  letter-spacing: 0.12em;
  color: #9a7c38;
  font-weight: 500;
  margin-bottom: 6px;
}

.coming-soon-desc {
  font-size: 0.85rem;
  color: #66635f;
  line-height: 1.6;
  letter-spacing: 0.05em;
}

body.lang-en {
  font-family: 'Cormorant Garamond', 'Shippori Mincho', serif;
  letter-spacing: 0.05em;
}

body.lang-en .vertical-text,
body.lang-en .hero-copy-en,
body.lang-en .concept-intro-en {
  writing-mode: horizontal-tb;
  -webkit-writing-mode: horizontal-tb;
  text-align: center;
  height: auto;
  margin: 0 auto;
}

body.lang-en .hero-copy-en {
  margin-bottom: 30px;
  font-size: 1.25rem;
  line-height: 2.0;
  color: #4a3f44;
  font-style: italic;
}

body.lang-en .concept-intro-en {
  margin-bottom: 30px;
  font-size: 1.15rem;
  line-height: 2.2;
  color: #23211f;
}

body.lang-en .concept-intro-en p,
body.lang-en .hero-copy-en p {
  white-space: normal;
  margin-bottom: 6px;
}

body.lang-en .section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.1rem;
  font-weight: 500;
  letter-spacing: 0.15em;
}

body.lang-en .lead-text {
  font-size: 1.2rem;
  font-style: italic;
}

body.lang-en .body-copy {
  font-size: 1rem;
  line-height: 2.0;
}

body.lang-en .info-details-block {
  line-height: 1.6 !important;
}

body.lang-en .info-details-block .shop-name {
  margin-bottom: 12px;
}

body.lang-en .info-image-block .caption {
  line-height: 1.4 !important;
  margin-top: 12px;
}