/* =====================================================
   Cafe Komado - Organized stylesheet
   Base styles first; responsive overrides are consolidated below.
   Visual values and behavior are retained from the supplied stylesheet.
   ===================================================== */

body {
  font-family: "Yu Gothic", "游ゴシック", sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: #000;
}

html,
body {
  margin: 0;
  padding: 0;
}

/* 通常サイト：最大1440px */
.site-wrapper {
    background-image: url("../images/kinari.png");
  background-repeat: repeat;
  background-size: 470px auto;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  box-sizing: border-box;
  position: relative;/*ハンバーガー用*/
}

/*** 1.ヒーローエリア ***/
/* ヒーロー全体 */
.hero {
  position: relative;/**h1でabsolute設定してるから*/
  width: 100%;
  box-sizing: border-box;
  margin-bottom: 0;
}

/* ヒーロー内の画像 */
.hero img {
  display: block;
  max-width: 100%;
  height: auto;
  width: 100%;
}

.hero h1 { /*Cafe Komado */
  position: absolute;
  left: 25%;
  top: 80%;
  margin: 0;
  font-family: "Yu Gothic", "游ゴシック", sans-serif;
  font-size: 60px;
  font-weight: 400;
  color: #ECEADC;
}

.hero-subtitle { /*カフェ小窓*/
  position: absolute;
  left: 25%;
  top: 85%;  
  font-size: 30px;
  font-weight: 400;
  color: #ECEADC;
}

/* 架空サイトの注意書き */
.hero-notice {
    position: absolute;
    left: 25%;
    top: 95%;
    margin: 0;
    font-size: 13px;
    color: #ECEADC;
}

.main-nav ul { /* ヒーロー右上に並ぶnav */ 
  position: absolute;
  left: 40%;
  top: 4%;  
  font-size: 18px;
  display: flex;
  gap: 40px;
  align-items: center;
  list-style-type: none;
}

.main-nav ul li a { /* nav */ 
    text-decoration: none;
    color: #ECEADC;
}

/*** 2.ハンバーガーメニュー ***/
/*ついずいするメニューアイコン*/
.compact-nav {
  position: fixed;
  top: 25px;
  right: max(4%, calc((100vw - 1440px) / 2 + 20px));
  /* 説明
100vw：ブラウザ表示領域の幅
(100vw - 1440px) / 2：幅1440pxのサイトが中央寄せされたときの左右の余白
+ 20px：サイトの右端から20px内側に配置
max()：計算した値と4%を比べて、大きいほうを採用 */
  z-index: 1000;
}

.compact-nav img {
  display: block;
  width: 80px;
  height: auto;
  opacity: 0.5;
}

.compact-nav button { /*ボタンのデフォルト背景白を透明にする*/
  background: transparent;
  border: none;
  padding: 0;
}

/* ハンバーガーが押されたときに展開するメニュー */
/* 開閉メニュー */
.menu-overlay {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 2000;

  width: 360px;
  max-width: 100%;
  height: 100vh;
  box-sizing: border-box;
  overflow-y: auto;

  padding: 40px 30px;

  background-image: url("../images/kinari.png");
  background-repeat: repeat;
  background-size: 705px auto;

  display: none;
}

.menu-title { /*メニュータイトル*/
  margin: 0 0 30px;
  font-family: "Yu Gothic", "游ゴシック", sans-serif;
  font-size: 22px;
  font-weight: 500;
  text-align: center;
  color: #130704;
}

/* TOPに戻るリンク */
.top-return a {
  color: #130704;
  text-decoration: none;
}

/* メニューを消す */
.menu-close {
  display: block;
  margin: 12px 0 10px auto;
  padding: 0;

  border: none;
  background: transparent;

  font-family: "Yu Gothic", "游ゴシック", sans-serif;
  font-size: 16px;
  color: #130704;
  cursor: pointer;
}

/* メニュー一覧 */
.menu-overlay ul {
  width: 100%;
  max-width: 460px;
  margin: 0 auto;
  padding: 0;

  list-style: none;
}

/* 各メニュー */
.menu-overlay li {
  margin-bottom: 28px;
}

/* リンク全体 */
.menu-overlay li a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;

  color: #130704;
  text-decoration: none;
  font-family: "Yu Gothic", "游ゴシック", sans-serif;
  font-size: 16px;
}

/* 日本語側 */
.menu-overlay li a span:last-child {
  text-align: right;
}

/*** 各Section共通要素 ***/
.concept-wrapper {
    width: 100%;
    margin: 0;
    padding: 0;
}

.section-wrapper {
    display: flex;
    width: 100%;
}

.left-area {
    display: grid;
    margin:0;
    width: 50%;
}

.left-text {
    margin:10px 50px 120px 120px ;

}

.right-area {
    display: grid;  
    margin:0;
    padding:0;
    width: 50%;
}

.section-wrapper .right-text {
    margin:0px 120px 120px 80px ;
}

.section-wrapper .right-area h2 {
    text-align: right;
    margin: 0;
    padding: 0;
}

.section-wrapper .left-text h2 {
    text-align: left;
    margin: 0 0 0 120px;
    padding: 0;
  
}

.section-wrapper h2 {
  vertical-align: top;
  font-family: "游明朝", "Yu Mincho", serif;
  font-weight:400;
  margin:0;
  padding: 0;
  line-height: 0.8;
  font-size: 128px;
  color: #fff;
}

h3 {
  font-size: 32px;
  font-weight: 400;
}

.lead {
  margin: 30px 0;
}

.left-area .on_text,
.left-area .on_img_h3,
.left-area .on_img_h3_3 {
    grid-area: 1 / 1;
}

.right-area .on_text,
.right-area .on_img_h3 {
    grid-area: 1 / 1;
}

/***  Section1:Concept ***/

.concept-slide { 
    height:auto;
    }

.concept-top-area {
    margin: 0;
    margin-top:10px;
    width: 100%;
    min-height: auto;
}

.concept-bottom-area {
    margin: 0;
    display: flex;
    width: 100%;
}

p.concept-cafename {
  text-align: left;
  vertical-align: top;
  font-family: "游明朝", "Yu Mincho", serif;
  font-weight:400;
  margin: 0;
  padding: 0;
  line-height: 0.8;
  font-size: 128px;
  color: #fff;
}

.concept-section .left-area h2 {
  text-align: left;
  vertical-align: top;
  font-family: "游明朝", "Yu Mincho", serif;
  font-weight:400;
  margin: 0 0 0 120px;
  padding: 0;
  line-height: 0.8;
  font-size: 128px;
  color: #fff;
}

.concept-section img {
   /*width: 100%;
    height: 720px;
    margin: 0;*/
    padding-top: 110px;
    width: 80%;
    height: 540px;
    object-fit: cover;
    object-position: bottom;
    margin: 0;
}

/*クロスフェード用追加*/

/*** Conceptセクション：スクロール・クロスフェード ***/

/* セクション全体：スクロール距離を確保 */
.concept-section {
    position: relative;
    width: 100%;
    height: 200vh;/*1029 元400px*/
    box-sizing: border-box;
}

/* スライドを固定するラッパー */
.concept-section .concept-wrapper {
    position: sticky;
    top: 0;
    width: 100%;
    height: 750px;
    overflow: hidden;
    box-sizing: border-box;
}

/* スライドを重ねてクロスフェード */
.concept-section .concept-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 750px;
    box-sizing: border-box;

    opacity: 0;
    z-index: 1;
    pointer-events: none;
    transition: opacity 1.5s ease-in-out;
}

/* 表示中のスライド */
.concept-section .concept-slide.is-active {
    opacity: 1;
    z-index: 2;
    pointer-events: auto;
}

/*** Section2: Coffee ***/

/* 1. コーヒーセクション全体（スクロールの「距離」を作るため縦長にする） */
.coffee-section {
    position: relative;
    width: 100%;
    height: 400vh; /* 3枚分のスライドをスクロールさせるための高さ */
    box-sizing: border-box;
}

/* 2. スクロール中に画面の上部にピタッと固定されるラッパー */
.coffee-section .section-wrapper {
    position: sticky;
    top: 0;
    width: 100%;
    height: 750px;
    overflow: hidden;
    box-sizing: border-box;
}

/* 3. 各スライドの共通設定（重ね合わせ・クロスフェード） */
.coffee-section .coffee-slide {
    position: absolute;
    inset: 0;
    display: flex;
    width: 100%;
    height: 750px;
    box-sizing: border-box;


    /* ディゾルブ（フェード）用の設定 */
    opacity: 0;
    z-index: 1;
    pointer-events: none; /* 非表示時はクリック無効 */
    transition: opacity 1.5s ease-in-out;
}

/* 4. アクティブ（表示中）なスライド */
.coffee-section .coffee-slide.is-active {
    opacity: 1;
    z-index: 2;
    pointer-events: auto; /* 表示時はクリック有効 */
}

/* 5. 内部コンテンツ（テキスト・画像など）のスタイル */
.coffee-section .left-area .on_text {
    width: 100%;
    height: 750px;
    object-fit: cover;
    object-position: center;
    margin: 0;
}

.coffee-section .left-area .on_img_h3 {
    align-self: start;
    justify-self: start;
    margin: 135px 0 0 120px;
    color: #fff;
    font-size: 32px;
    font-weight: 400;
    z-index: 1;
    background-color: rgba(40, 30, 20, 0.3);
    padding: 3px 3px;
    border-radius: 2px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.coffee-section .left-area .on_img_h3_3 {
    align-self: start;
    justify-self: start;
    margin: 600px 0 0 120px;
    color: #fff;
    font-size: 32px;
    font-weight: 400;
    z-index: 1;
    border-radius: 2px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}


/***  Section3:Sweets ***/
.sweets-midashi1 {
  color: #130704;
  font-weight: 500;
  margin-left:30px;
}

.sweets-midashi1::before {
    content: "";
    display: inline-block;
    width: 12px;
    height: 12px;
    background: #b58b4b;
    filter: blur(3px);
    margin-right: 8px;
}

.sweets-text {
  margin:0 0 0px 30px;
}

.sweets-midashi2 {
  color: #130704;
  font-weight: 500;
  margin-left:30px;
}

.sweets-midashi2::before {
    content: "";
    display: inline-block;
    width: 12px;
    height: 12px;
    background: #974F33;
    filter: blur(3px);
    margin-right: 8px;
}

.sweets-section img.on_text {
  vertical-align: bottom;
  margin:0;
  padding:0;
}

.sweets-section img {
  vertical-align: bottom;
  margin:0;
  padding:0;
}

.right-area .on_img_h3 {
    align-self: start;
    justify-self: start;
    margin: 320px 0 0 30px;
    color: #fff;
    font-size: 32px;
    font-weight: 400;
    z-index: 1;
    background-color: rgba(40, 30, 20, 0.3);
    /*padding: 3px 3px;*/
    border-radius: 2px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/***  Section4:a dush of ***/
/* A dush of... のH2 */
.dush-section h2 {
    white-space: nowrap;
    font-size: clamp(48px, 7vw, 128px);
}

.dush-section .left-area img {
  width: 100%;
/*  height: 720px; */
  margin: 0;
}

.dush-text {
  margin:0 0 0px 30px;
}

.dush-midashi {
  color: #7E3D23;
  font-weight: 500;
  margin-left:30px;
}

.dush-section .left-area .on_img_h3 {
    align-self: start;
    justify-self: start;
    margin: 360px 0 0 300px;
    color: #fff;
    font-size: 32px;
    font-weight: 400;
    z-index: 1;
    border-radius: 2px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/***  Section5:all menu***/

.menu-section .img_area {
    margin-top: 240px;
    margin-left: 140px;
}

.menu-table .menu-gap td {
  padding-top: 40px;
}

.menu-table  td.price {
  padding-left: 100px;
}

/***  Section6:news end***/


/***  Section6:News＆ blog***/

.news-wrapper {
    display: flex;          /* Flexboxにする */
    flex-direction: column; /* 縦方向並び */
    gap: 0;                 /* 隙間をゼロにする */
}

.news-top-area {
    margin: 0;
    padding:0;
    width: 100%;
    height: 128px;
    display: flex;          /* 追加：中の文字の隙間を防ぐ */
    align-items: center;    /* 追加：垂直方向の中央揃え */
}

.news-bottom-area {
    display:block;
    margin: 0;
    padding:0;
    vertical-align: top;
    width: 100%;
    height: auto;
  /*  background-color:yellow; */
}

.news-section h2 {
  text-align: left;
  vertical-align: top;
  font-family: "游明朝", "Yu Mincho", serif;
  font-weight:400;
  margin: 0;
  padding: 0;
  line-height: 0.9;
  font-size: 128px;
  color: #fff;
}

.news_area {
  width:60%;
  margin: 0 auto;
/*  background-color: bisque;*/
}

.news-section h3 {  
    text-align: center;
    vertical-align: top;
   /*  background-color:chartreuse; */
}

.news-section .lead {
    text-align: center;
}

/* NEWS：説明文 */
.news-section .lead {
    margin: 18px 0 32px;
    text-align: center;
    font-size: 18px;
    line-height: 1.8;
    color: #4a4038;
}

/* NEWS：更新情報一覧 */
.news-section .news-item {
    display: flex;
    align-items: baseline;
    gap: 16px;
    margin: 0 0 14px;
    padding: 0 40px;
    font-size: 16px;
    line-height: 1.6;
}

/* 日付 */
.news-section .news-item time {
    flex: 0 0 78px;
    font-size: 15px;
    color: #786b60;
    white-space: nowrap;
}

/* 記事タイトル */
.news-section .news-item a {
    color: #4a4038;
    text-decoration: none;
}

.news-section .news-item a:hover {
    color: #8b4528;
    text-decoration: underline;
}

.news_area a {
  font-size: 15px;
  text-align: right;
  text-decoration: none;
}

/* 親要素：4つを横に等間隔で並べる */
.image-list {
    display: flex;
    justify-content: space-between; /* 左右の余白を自動で均等にする場合 */
    /* または gap: 20px; などで等間隔のすき間を指定することもできます */
    align-items: center;

    width: 85%;          /* 画面に対して少し縮める（デザインに合わせて % や px を調整してください） */
    max-width: 1120px;    /* 広がりすぎないように最大幅を制限 */
    margin: 40px auto;   /* 上に40px、左右は中央寄せ(auto)、下に40pxの余白を空ける */
}

/* 画像個別のスタイル */
.image-item img {
    width: 200px;
    height: 200px;
    object-fit: cover; /* ★これが重要：200x200の枠に合わせて綺麗に切り抜く */
    display: block;
}

/*** 10.フッター ***/
/* フッター全体 */
.site-footer {
  width: 100%;
  box-sizing: border-box;

  background-image: url("../images/footerbgimg.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;

  padding: 30px 7%;
}

/* フッターのお店情報 */
.footer-info {
  width: 50%;
  color: #ECEADC;
  font-family: "Yu Gothic", "游ゴシック", sans-serif;
  font-size: 16px;
  font-weight: 400;
}

/* フッター内の見出し */
.footer-info h2 {
  margin: 0 0 30px 0;
  font-size: 24px;
  font-weight: 400;
}

.footer-info h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 400;
}

.footer-intro {
  margin-top: 0;
  margin-bottom: 20px;
}

.footer-row {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
}

.footer-row dt {
  width: 5em;
  flex-shrink: 0;
}

.footer-row dd {
  flex: 1;
  margin: 0;
}

.footer-row a {
  text-decoration: none;
  padding-left:20px;
  color: #fff;
}

/* URL・SNSなど */
.footer-links {
  margin-top: 28px;
  font-size: 14px;
}

/* =====================================================
   Responsive adjustments
   PCの既存デザインを維持し、画面幅767px以下で適用
   ===================================================== */
/* =====================================================
   Mobile fallback: スライドを縦に読み進める版
   JSは変更せず、スマホではクロスフェードを止めて全スライドを表示
   ===================================================== */
/* =====================================================
   Mobile layout refinement
   - H2を装飾文字ではなくセクション見出しとして扱う
   - 各セクションのスマホ表示順を「H2 → 画像 → 本文」に統一
   - JSは変更しない
   ===================================================== */
/* =====================================================
   Mobile polish v2: Concept H2 color, more breathing room, hero crop
   ===================================================== */
/* =====================================================
   Mobile polish v3
   H2 → image (with overlay H3 if present) → standalone H3 → body
   ===================================================== */


/* Coffee：モバイルの並び順を明示的に固定 1344追加*/


/* Concept：モバイルは「見出し→本文→画像」の順にする */


/* イントロ追加 */
/* =========================
   Intro animation
   ========================= */

.intro-screen {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  opacity: 1;
  transition: opacity 0.8s ease;
  pointer-events: auto;
}

.intro-images {
  position: relative;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
}

.intro-images img {
  display: block;
  width: 100%;
  height: auto;
}

.intro-bar {
  position: absolute !important;
  inset: 0;
  z-index: 1;
  object-fit: cover;
}

.intro-cafe {
  position: relative;
  z-index: 2;
  opacity: 0;
  animation: cafe-fade-in 1s ease-in-out 1.5s forwards;
}

/* イントロ用タイトル */
.intro-title {
  position: absolute;
  left: 25%;
  top: 80%;
  z-index: 3;
  margin: 0;
  font-family: "Yu Gothic", "游ゴシック", sans-serif;
  font-size: 60px;
  font-weight: 400;
  color: #ECEADC;
  opacity: 0;
  animation: cafe-fade-in 2s ease-in-out 1.5s forwards;
}

.intro-subtitle {
  position: absolute;
  left: 25%;
  top: 85%;
  z-index: 3;
  font-size: 30px;
  font-weight: 400;
  color: #ECEADC;
  opacity: 0;
  animation: cafe-fade-in 2s ease-in-out 1.5s forwards;
}

@keyframes cafe-fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.intro-screen.intro-finished {
  opacity: 0;
  pointer-events: none;
}

body.intro-playing {
  overflow: hidden;
}

/* スマホ */


/* =====================================================
   Tablet: 768px - 1100px AI生成
   ===================================================== */
@media (min-width: 768px) and (max-width: 1100px) {
.main-nav ul { left: 28%; gap: 20px; font-size: 15px; }
  .concept-section .left-area h2 { margin-left: 6%; font-size: clamp(72px, 9vw, 110px); }
  p.concept-cafename { font-size: clamp(72px, 9vw, 110px); }
  .left-text { margin-left: 7%; margin-right: 7%; }
  .section-wrapper .right-text { margin-left: 7%; margin-right: 7%; }
  .image-item img { width: clamp(130px, 17vw, 200px); height: clamp(130px, 17vw, 200px); }
}


/* =====================================================
   Mobile: up to 767px　※レスポンシブはほぼAI生成。指示と調整のみ自作
   Original mobile override order is preserved to retain the final layout.
   ===================================================== */
@media (max-width: 767px) {
*, *::before, *::after { box-sizing: border-box; }
  html, body { max-width: 100%; overflow-x: clip; }
  body { font-size: 15px; line-height: 1.8; }
  .site-wrapper { width: 100%; }

  /* Hero: スマホ画面いっぱいの縦長画像 */
  .hero { height: 100svh; min-height: 560px; overflow: hidden; }
  .hero > img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
  .hero h1 { left: 7%; top: auto; bottom: 17%; font-size: clamp(32px, 9vw, 48px); }
  .hero-subtitle { left: 8%; top: auto; bottom: 10%; margin: 0; font-size: clamp(20px, 5vw, 28px); }
  .main-nav { display: none; }
  .compact-nav { top: 16px; right: 16px; }
  .compact-nav img { width: 54px; }
  .menu-overlay { width: min(360px, 100%); padding: 32px 22px; }
  .menu-overlay li { margin-bottom: 22px; }
  .menu-overlay li a { gap: 12px; font-size: 14px; }

  /* 共通2カラムはスマホでは縦並び */
  .section-wrapper { display: flex; flex-direction: column; width: 100%; }
  .left-area, .right-area { display: block; width: 100%; min-width: 0; }
  .left-text, .section-wrapper .right-text { margin: 20px 6% 40px; }
  .section-wrapper h2 { font-size: clamp(52px, 14vw, 82px); line-height: .95; }
  h3 { font-size: clamp(22px, 6vw, 28px); line-height: 1.45; }
  p { overflow-wrap: anywhere; }
  img { max-width: 100%; }

  /* Concept: スマホは長文を普通にスクロールして読める形に */
  .concept-section { height: auto; }
  /* スマホ：各スライド全体を、見えている量に応じてクロスフェード */
  .concept-section .concept-slide.mobile-scroll-fade,
  .coffee-section .coffee-slide.mobile-scroll-fade {
    opacity: var(--mobile-slide-opacity, 1);
    transition: opacity .16s linear;
  }
  .concept-section .concept-wrapper { position: relative; height: auto; overflow: visible; }
  .concept-section .concept-slide { position: relative; inset: auto; display: flex; flex-direction: column; width: 100%; height: auto; min-height: 0; padding: 0 0 48px; opacity: 1; z-index: auto; pointer-events: auto; }
  .concept-section .concept-top-area { width: 100%; min-height: 0; }
  p.concept-cafename { font-size: clamp(48px, 13vw, 84px); line-height: .9; white-space: nowrap; }
  .concept-section .concept-slide:not(:first-child) .concept-cafename { display: none; }
  .concept-section .concept-bottom-area { display: flex; flex-direction: column; width: 100%; }
  .concept-section .left-area, .concept-section .right-area { width: 100%; }
  .concept-section .left-area h2 { margin: 0 0 -12px 5%; position: relative; z-index: 2; font-size: clamp(58px, 16vw, 96px); transform: rotate(-5deg); pointer-events: none; }
  .concept-section .concept-slide:not(:first-child) .left-area h2 { display: none; }
  .concept-section .left-text { margin: 18px 7% 28px; }
  .concept-section .left-text h3 { margin-top: 0; }
  .concept-section img { display: block; width: 86%; height: auto; max-height: 420px; object-fit: cover; padding-top: 0; margin: 0 auto; }

  /* Coffee: 各セットを縦に読み進められるようにする */
  .coffee-section { height: auto; }
  .coffee-section .section-wrapper { position: relative; display: block; height: auto; overflow: visible; }
  .coffee-section .coffee-slide { position: relative; inset: auto; display: flex; flex-direction: column; width: 100%; height: auto; min-height: 0; padding: 0 0 52px; opacity: 1; z-index: auto; pointer-events: auto; }
  .coffee-section .left-area, .coffee-section .right-area { width: 100%; }
  .coffee-section .left-area { position: relative; display: grid; }
  .coffee-section .left-area .on_text { width: 100%; height: clamp(260px, 75vw, 420px); object-fit: cover; }
  .coffee-section .left-area .on_img_h3,
  .coffee-section .left-area .on_img_h3_3 { align-self: end; justify-self: start; margin: 0 6% 20px; max-width: 88%; font-size: clamp(20px, 5.5vw, 28px); }
  .coffee-section .right-area h2 { margin: 0 5% -10px; text-align: left; font-size: clamp(58px, 16vw, 96px); transform: rotate(-5deg); position: relative; z-index: 2; }
  /* Coffeeの見出しはスマホではセクション冒頭に1回だけ表示 */
.coffee-section .right-text { margin: 18px 7% 0 !important; }
  .coffee-section .right-text h3 { margin-top: 0; }

  /* Sweets / A dash of / Menu */
  .sweets-section .section-wrapper,
  .dush-section .section-wrapper,
  .menu-section .section-wrapper { display: flex; flex-direction: column; }
  .sweets-section .left-area, .sweets-section .right-area,
  .dush-section .left-area, .dush-section .right-area,
  .menu-section .left-area, .menu-section .right-area { width: 100%; }
  .sweets-section .left-text, .dush-section .right-text { margin: 20px 7% 36px; }
  .sweets-section .right-area img { display: block; width: 88%; height: auto; margin: 0 auto 22px; }
  .sweets-section .right-area .on_img_h3 { margin: 0 7% 20px; font-size: clamp(20px, 5.5vw, 28px); }
  .dush-section .left-area { display: grid; position: relative; }
  .dush-section .left-area img { width: 100%; height: 300px; object-fit: cover; }
  .dush-section .left-area .on_img_h3 { margin: 0 6% 18px; font-size: clamp(20px, 5.5vw, 28px); }
  .dush-section h2 { white-space: normal; font-size: clamp(42px, 11vw, 68px); }
  .dush-section .right-area h2 { margin: 20px 5% 0; }
  .menu-section .left-text { margin: 20px 5% 30px; }
  .menu-section .img_area { margin: 10px 5% 40px; display: flex; flex-direction: column; gap: 18px; }
  .menu-section .img_area img { width: 100%; height: auto; }
  .menu-table { width: 100%; table-layout: auto; }
  .menu-table td { padding: 8px 2px; font-size: 14px; }
  .menu-table td.price { padding-left: 12px; white-space: nowrap; }
  .menu-table .menu-gap td { padding-top: 22px; }

  /* News & Blog: 記事一覧＋関連写真2枚 */
  .news-top-area { height: auto; min-height: 90px; padding: 12px 4%; }
  .news-section h2 { font-size: clamp(40px, 10vw, 64px); line-height: 1; white-space: nowrap; }
  .news-bottom-area { padding: 0 5% 20px; }
  .news-section h3 { font-size: 24px; }
  .news-section .lead { font-size: 15px; line-height: 1.8; margin: 14px 0 24px; }
  .news_area { width: 100%; margin: 0 auto; }
  .news-section .news-item { display: block; padding: 0; margin-bottom: 18px; }
  .news-section .news-item time { display: block; margin-bottom: 3px; font-size: 13px; }
  .news-section .news-item a { font-size: 15px; }
  .news_area a.more { display: block; text-align: right; margin-top: 18px; }
  .image-list { width: 100%; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 26px auto 10px; }
  .image-item img { width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; }
  .image-list .image-item:nth-child(n/**/+3) { display: none; }

  /* Footer */
  .site-footer { padding: 28px 6%; background-position: center; }
  .footer-info { width: 100%; font-size: 14px; }
  .footer-info h2 { margin-bottom: 20px; }
  .footer-row { align-items: flex-start; gap: 8px; }
  .footer-row dt { width: 4.5em; }
  .footer-row dd { min-width: 0; overflow-wrap: anywhere; }
  .footer-row a { padding-left: 8px; }

/* ヒーロー画像の見える位置。カップが右側にある想定で右寄せ */
  .hero > img {
    object-position: 15% center;
  }

  /* JSが付ける表示・非表示クラスより、通常表示を優先 */
  .concept-section .concept-slide.mobile-slide-ready,
  .concept-section .concept-slide.mobile-slide-ready.mobile-slide-visible,
  .coffee-section .coffee-slide.mobile-slide-ready,
  .coffee-section .coffee-slide.mobile-slide-ready.mobile-slide-visible {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

/* H2：生成りにコーヒーが染みたような色。斜めにせず、輪郭を少し柔らかく */
  .concept-section h2,
  .coffee-section h2,
  .sweets-section h2,
  .dush-section h2,
  .menu-section h2,
  .news-section h2 {
    color: #927252;
    text-shadow: 0 0 5px rgba(88, 54, 31, 0.22);
    transform: none !important;
    font-weight: 400;
  }

  /* ---------------- Concept ----------------
     H2 → 写真 → 本文（H3＋文章）
     PC用のHTML・クロスフェードは変更しない */
  .concept-section .concept-slide {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-content: start;
  }

  .concept-section .concept-top-area,
  .concept-section .concept-bottom-area,
  .concept-section .concept-bottom-area > .left-area,
  .concept-section .concept-bottom-area > .right-area,
  .concept-section .concept-bottom-area .left-text {
    display: contents;
  }

  .concept-section .concept-cafename {
    display: none;
  }

  .concept-section .concept-slide .left-area h2 {
    order: 1;
    margin: 0 5% 18px;
    font-size: clamp(44px, 12vw, 66px);
    line-height: 1;
  }

  .concept-section .concept-slide .right-area img {
    order: 2;
    display: block;
    justify-self: center;
    width: 86%;
    height: auto;
    max-height: 360px;
    margin: 0 0 22px;
    padding: 0;
    object-fit: cover;
  }

  .concept-section .concept-slide .left-text h3 {
    order: 3;
    margin: 0 7% 12px;
  }

  .concept-section .concept-slide .left-text p {
    order: 4;
    margin: 0 7% 28px;
  }

  /* ---------------- Coffee ----------------
     H2 → H3入り画像 → 本文 */
  .coffee-section .coffee-slide {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-content: start;
  }

  .coffee-section .coffee-slide > .left-area,
  .coffee-section .coffee-slide > .right-area,
  .coffee-section .coffee-slide .right-text {
    display: contents;
  }

  .coffee-section .coffee-slide .right-area > h2 {
    order: 1;
    margin: 0 5% 18px;
    text-align: left;
    font-size: clamp(44px, 12vw, 66px);
    line-height: 1;
  }

  .coffee-section .coffee-slide:not(:first-child) .right-area > h2 {
    display: none;
  }

  .coffee-section .coffee-slide .on_text,
  .coffee-section .coffee-slide .on_img_h3,
  .coffee-section .coffee-slide .on_img_h3_3 {
    grid-area: 2 / 1;
  }

  .coffee-section .coffee-slide .on_text {
    order: 2;
    justify-self: stretch;
    width: 100%;
    height: clamp(250px, 72vw, 380px);
    margin: 0;
    object-fit: cover;
    object-position: center;
  }

  .coffee-section .coffee-slide .on_img_h3,
  .coffee-section .coffee-slide .on_img_h3_3 {
    order: 2;
    align-self: end;
    justify-self: start;
    max-width: 88%;
    margin: 0 6% 18px;
    padding: 3px 6px;
    color: #fff;
    font-size: clamp(19px, 5.2vw, 26px);
    line-height: 1.4;
    background: rgba(40, 30, 20, 0.42);
    border-radius: 2px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  }

  .coffee-section .coffee-slide .right-text h3 {
    order: 3;
    margin: 22px 7% 12px;
  }

  .coffee-section .coffee-slide .right-text p {
    order: 4;
    margin: 0 7% 28px;
  }

  /* ---------------- Sweets ----------------
     H2 → 1枚目のH3入り画像 → 焼き菓子本文 → ガナッシュ本文 → ガナッシュ画像
     2枚の画像が同じ場所に重なったり、H3が画像外へ出たりしないようにする */
  .sweets-section .section-wrapper {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-content: start;
  }

  .sweets-section .section-wrapper > .left-area,
  .sweets-section .section-wrapper > .right-area,
  .sweets-section .left-text {
    display: contents;
  }

  .sweets-section .left-area > h2 {
    order: 1;
    margin: 0 5% 18px;
    font-size: clamp(44px, 12vw, 66px);
    line-height: 1;
  }

  .sweets-section .right-area img.on_text,
  .sweets-section .right-area .on_img_h3 {
    grid-area: 2 / 1;
  }

  .sweets-section .right-area img.on_text {
    order: 2;
    justify-self: stretch;
    display: block;
    width: 100%;
    height: clamp(230px, 65vw, 350px);
    margin: 0;
    object-fit: cover;
  }

  .sweets-section .right-area .on_img_h3 {
    order: 2;
    align-self: end;
    justify-self: start;
    max-width: 86%;
    margin: 0 7% 18px;
    padding: 3px 6px;
    color: #fff;
    font-size: clamp(20px, 5.5vw, 27px);
    line-height: 1.4;
    background: rgba(40, 30, 20, 0.42);
    border-radius: 2px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  }

  .sweets-section .left-text .lead {
    order: 3;
    margin: 24px 7% 24px;
  }

  .sweets-section .left-text .sweets-midashi1 {
    order: 4;
    margin: 0 7% 8px;
  }

  .sweets-section .left-text .sweets-text:nth-of-type(3) {
    order: 5;
    margin: 0 7% 26px;
  }

  .sweets-section .left-text .sweets-midashi2 {
    order: 6;
    margin: 0 7% 8px;
  }

  .sweets-section .left-text .sweets-text:nth-of-type(5) {
    order: 7;
    margin: 0 7% 12px;
  }

  .sweets-section .right-area img:not(.on_text) {
    order: 8;
    justify-self: center;
    display: block;
    width: 88%;
    height: auto;
    margin: 0 auto 38px;
    object-fit: contain;
  }

  /* ---------------- A dash of... ----------------
     H2 → H3入り画像 → 本文 */
  .dush-section .section-wrapper {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-content: start;
  }

  .dush-section .section-wrapper > .left-area,
  .dush-section .section-wrapper > .right-area,
  .dush-section .right-text {
    display: contents;
  }

  .dush-section .right-area > h2 {
    order: 1;
    margin: 0 5% 18px;
    font-size: clamp(40px, 10.5vw, 62px);
    line-height: 1;
    white-space: normal;
    text-align: left;
  }

  .dush-section .left-area img.on_text,
  .dush-section .left-area .on_img_h3 {
    grid-area: 2 / 1;
  }

  .dush-section .left-area img.on_text {
    order: 2;
    width: 100%;
    height: clamp(250px, 72vw, 380px);
    margin: 0;
    object-fit: cover;
  }

  .dush-section .left-area .on_img_h3 {
    order: 2;
    align-self: end;
    justify-self: start;
    max-width: 88%;
    margin: 0 6% 18px;
    padding: 3px 6px;
    color: #fff;
    font-size: clamp(20px, 5.5vw, 27px);
    line-height: 1.4;
    background: rgba(40, 30, 20, 0.42);
  }

  .dush-section .right-text .lead {
    order: 3;
    margin: 24px 7% 24px;
  }

  .dush-section .right-text > h3 {
    order: 4;
    margin: 0 7% 18px;
  }

  .dush-section .right-text .dush-midashi,
  .dush-section .right-text .dush-text {
    order: 5;
    margin-right: 7%;
    margin-left: 7%;
  }

  .dush-section .right-text .dush-midashi {
    margin-top: 18px;
    margin-bottom: 4px;
  }

  .dush-section .right-text .dush-text {
    margin-top: 0;
    margin-bottom: 18px;
  }

/* Concept has a more-specific H2 rule, so set its color explicitly too. */
  .concept-section .concept-slide .left-area h2 {
    color: #927252 !important;
    text-shadow: 0 0 5px rgba(88, 54, 31, 0.22);
    transform: none !important;
    padding-top: 18px;
    margin: 0 5% 30px;
  }

  .coffee-section .coffee-slide .right-area > h2,
  .sweets-section .left-area > h2,
  .dush-section .right-area > h2,
  .menu-section h2,
  .news-section h2 {
    padding-top: 18px;
    margin-bottom: 30px;
  }

  /* Coffee image and following copy need a clearer visual pause. */
  .coffee-section .coffee-slide .right-text h3 {
    margin-top: 38px;
    margin-bottom: 14px;
  }

  .coffee-section .coffee-slide .right-text p {
    margin-bottom: 36px;
  }

  /* Shift the hero crop left so the cup on the left side remains visible. */
  .hero > img {
    object-position: 15% center;
  }

/* Give each section heading room above and below. */
  .concept-section .concept-slide .left-area h2 {
    padding-top: 28px;
    margin-bottom: 34px;
  }

  .coffee-section .coffee-slide .right-area > h2,
  .sweets-section .left-area > h2,
  .dush-section .right-area > h2,
  .menu-section h2,
  .news-section h2 {
    padding-top: 28px;
    margin-bottom: 34px;
  }

  .menu-section .left-area > h2 {
    margin-left: 5%;
}

  /* Standalone H3s should read as subheadings, not compete with H2
     or the image-overlay H3. Keep overlay H3s unchanged. */
  .concept-section .concept-slide .left-text h3,
  .coffee-section .coffee-slide .right-text h3,
  .sweets-section .left-text .sweets-midashi1,
  .sweets-section .left-text .sweets-midashi2,
  .dush-section .right-text > h3,
  .menu-section .left-text h3,
  .news-section h3 {
    font-size: clamp(17px, 4.5vw, 21px);
    line-height: 1.55;
    font-weight: 500;
  }

  /* Concept: H2 → image → standalone H3 → body.
     Avoid the second slide's content being crowded against the first. */
  .concept-section .concept-slide {
    min-height: 0 !important;
    height: auto !important;
    padding-bottom: 42px !important;
    row-gap: 0;
  }
  .concept-section .concept-slide .right-area img {
    margin-bottom: 28px;
  }
  .concept-section .concept-slide .left-text h3 {
    margin-top: 0;
    margin-bottom: 12px;
  }
  .concept-section .concept-slide .left-text p {
    margin-top: 0;
    margin-bottom: 18px;
  }

  /* Coffee: remove any inherited slide height and create a clear gap
     between image and standalone H3; then keep body close to its heading. */
  .coffee-section .coffee-slide {
    min-height: 0 !important;
    height: auto !important;
    padding-bottom: 44px !important;
    row-gap: 0;
  }
  .coffee-section .coffee-slide .right-text h3 {
    margin: 34px 7% 10px !important;
  }
  .coffee-section .coffee-slide .right-text p {
    margin: 30px 7% 24px !important;
  }

  .coffee-section .right-area h3 {
    display: none !important;
  }

  /* Sweets: after the image, show intro copy, then each standalone H3
     immediately before its corresponding paragraph. */
  .sweets-section .left-text .lead {
    margin: 28px 7% 24px !important;
  }
  .sweets-section .left-text .sweets-midashi1 {
    margin: 0 7% 6px !important;
  }
  .sweets-section .left-text .sweets-text:nth-of-type(3) {
    margin: 0 7% 24px !important;
  }
  .sweets-section .left-text .sweets-midashi2 {
    margin: 0 7% 6px !important;
  }
  .sweets-section .left-text .sweets-text:nth-of-type(5) {
    margin: 0 7% 18px !important;
  }

  /* A dash of: image → intro copy → standalone H3 → item details. */
  .dush-section .right-text .lead {
    margin: 28px 7% 24px !important;
  }
  .dush-section .right-text > h3 {
    margin: 0 7% 12px !important;
  }

.coffee-section .coffee-slide {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr);
    grid-auto-flow: row;
    align-content: start;
    height: auto !important;
    min-height: 0 !important;
  }

  /* 親の箱をなくし、各要素を直接グリッドに配置 */
  .coffee-section .coffee-slide > .left-area,
  .coffee-section .coffee-slide > .right-area,
  .coffee-section .coffee-slide .right-text {
    display: contents;
  }

  /* 1枚目：Coffee見出し → H3入り画像 → 本文見出し → 本文 */
  .coffee-section .coffee-slide:first-child .right-area > h2 {
    display: block;
    grid-row: 1;
    grid-column: 1;
  }

  .coffee-section .coffee-slide:first-child .on_text,
  .coffee-section .coffee-slide:first-child .on_img_h3,
  .coffee-section .coffee-slide:first-child .on_img_h3_3 {
    grid-row: 2;
    grid-column: 1;
  }

  .coffee-section .coffee-slide:first-child .right-text h3 {
    grid-row: 3;
    grid-column: 1;
  }

  .coffee-section .coffee-slide:first-child .right-text p {
    grid-row: 4;
    grid-column: 1;
  }

  /* 2・3枚目：H3入り画像 → 本文見出し → 本文 */
  .coffee-section .coffee-slide:not(:first-child) .right-area > h2 {
    display: none;
  }

  .coffee-section .coffee-slide:not(:first-child) .on_text,
  .coffee-section .coffee-slide:not(:first-child) .on_img_h3,
  .coffee-section .coffee-slide:not(:first-child) .on_img_h3_3 {
    grid-row: 1;
    grid-column: 1;
  }

  .coffee-section .coffee-slide:not(:first-child) .right-text h3 {
    grid-row: 2;
    grid-column: 1;
  }

  .coffee-section .coffee-slide:not(:first-child) .right-text p {
    grid-row: 3;
    grid-column: 1;
  }

  /* 画像と画像上のH3を重ねる */
  .coffee-section .coffee-slide .on_text {
    align-self: stretch;
    width: 100%;
    height: clamp(250px, 72vw, 380px);
    margin: 0;
    object-fit: cover;
  }

  .coffee-section .coffee-slide .on_img_h3,
  .coffee-section .coffee-slide .on_img_h3_3 {
    align-self: end;
    justify-self: start;
    max-width: 88%;
    margin: 0 6% 18px;
    z-index: 1;
  }

  /* 本文側のH3は表示する */
  .coffee-section .coffee-slide .right-text h3 {
    display: block !important;
    margin: 34px 7% 10px !important;
  }

  .coffee-section .coffee-slide .right-text p {
    margin: 0 7% 24px !important;
  }

/* H2 → H3 → 本文 → 画像 */
  .concept-section .concept-slide .left-area h2 {
    order: 1;
  }

  .concept-section .concept-slide .left-text h3 {
    order: 2;
    margin: 0 7% 12px !important;
  }

  .concept-section .concept-slide .left-text p {
    order: 3;
    margin: 0 7% 24px !important;
  }

  .concept-section .concept-slide .right-area img {
    order: 4;
    display: block;
    width: 86%;
    height: auto;
    max-height: 360px;
    margin: 0 auto 36px;
    padding: 0;
    object-fit: cover;
  }

  /* 2つ目の説明に入る前に余白を設ける */
  .concept-section .concept-slide {
    row-gap: 0;
    padding-bottom: 42px !important;
  }

.intro-images {
    width: 100%;
    height: 100svh;
    overflow: hidden;
  }

  .intro-images img {
    object-position: 15% center;
  }

  .intro-images img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .intro-title {
    left: 7%;
    top: auto;
    bottom: 17%;
    font-size: clamp(32px, 9vw, 48px);
  }

  .intro-subtitle {
    left: 8%;
    top: auto;
    bottom: 10%;
    margin: 0;
    font-size: clamp(20px, 5vw, 28px);
  }
}


/* =====================================================
   Reduced motion preference
   ===================================================== */
@media (prefers-reduced-motion: reduce) {
.intro-cafe,
  .intro-title,
  .intro-subtitle {
    animation-duration: 2s;
  }

  .intro-screen {
    transition-duration: 0.8s;
  }
}

/* メニュー内のボタン位置調整 */
.menu-overlay > .top-return {
  display: block;
  margin: 4em 0 0 auto !important;
  text-align: right;
}

.menu-overlay > .menu-close {
  display: block;
  margin: 8px 0 10px auto !important;
}