/*
Theme Name: crepeandespresso_fc
Theme URI: http://enmusubi426.wp.xdomain.jp/
Description: クレープとエスプレッソとFCオリジナルテーマ
Version: 2.0
Author: Hisae Komatsu
Author URI: http://enmusubi426.wp.xdomain.jp/
*/
/*------------------- headerレイアウト ------------------------------*/
#header {
  width: 100%;
  left: 0;
  top: 0;
  z-index: 9999;
  transition: .3s;
  height: 105px; /* ヘッダーの高さ */
  padding-bottom: 0; /* 余計な余白は削除 */
  position: fixed;
}
/* --- 親要素（ロゴとナビを包む枠）の調整 --- */
#flex1 {
  width: 1180px; /* サイトの最大幅 */
  max-width: 96%; /* 画面が狭い時の保険 */
  height: 100%; /* ヘッダーの高さ（105px）一杯に広げる */
  margin: 0 auto; /* 画面中央に配置 */
  display: flex; /* 横並びモード */
  justify-content: space-between; /* ロゴは左端、ナビは右端へ振り分け */
  align-items: center; /* 上下の真ん中で揃える */
  top: auto;
  position: relative;
}
/* --- ロゴの調整 --- */
h1#logo {
  width: 100px;
  height: auto;
  margin: 0; /* 余計な余白をリセット */
  padding-top: 5px; /* 微調整 */
  /* ↓ 悪さをしていた位置指定をリセット */
  position: static;
  top: auto;
}
.clearfix {
  content: "";
  clear: both;
}
/* デフォルトでは横並び（改行なし） */
span.br-point {
  display: inline-block
}
/*------------------- ナビレイアウト ------------------------------*/
#nav_box {
  display: flex; /* ナビエリアも横並びモード */
  align-items: center; /* 上下中央揃え */
  width: auto;
  height: auto; /* 高さは自動でOK */
  margin: 0; /* 余計な余白なし */
  /*  */
  position: static;
  left: auto;
  top: auto;
  text-align: right; /* 右寄せ */
}
#nav_box ul {
  display: flex; /* リストを横並びに */
  margin: 0;
  padding: 0;
  list-style-type: none;
}
/* --- メニュー項目の余白調整 --- */
#nav_box li {
  display: block;
  padding-left: 15px; /* 左右の余白 */
  padding-right: 15px;
  letter-spacing: 0.1em;
  font-weight: bold;
  font-family: YuMincho, "Yu Mincho", "Hiragino Mincho ProN", serif;
  box-sizing: border-box; /* 余白を含めて幅を計算 */
}
#nav_box a {
  display: block;
  width: 100%;
  color: #a98854;
  font-size: 15px;
  text-decoration: none;
  position: relative;
  padding-bottom: 5px;
}
#nav_box li.line a::after {
  border-bottom: 2px solid #846645;
  bottom: 0;
  content: "";
  display: block;
  position: absolute;
  right: 0;
  transition: all .3s ease;
  -webkit-transition: all .3s ease;
  width: 0;
  margin-bottom: -3px;
}
#nav_box li.line a:hover::after {
  width: 100%;
}
/*------------------- FV背景レイアウト ------------------------------*/
/* 親要素 */
/* 新しい親要素の設定 */
#top_mv {
  width: 100vw;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  height: 81vh;
  overflow: hidden;
  z-index: 1;
  margin: 0;
}
/* 動画の外枠 */
.fv-video-wrap {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw); /* センターに強制移動 */
  height: 81vh;
  overflow: hidden;
  background-color: #000;
}
/* 中のビデオ自体も念のため確認 */
.fv-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* もしスマホで高さを変えたい場合 */
@media screen and (max-width: 767px) {
  .fv-video-wrap {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    height: 60vh;
  }
}
/* #namibatabgの背景 */
#namibatabg {
  position: absolute; /* 画像と重ねるため絶対位置 */
  top: 62%; /* 上端に配置 */
  left: 0; /* 左端に配置 */
  width: 100%; /* 幅を100%に設定 */
  height: 400px; /* 高さを指定 */
  background-image: url(../images/fv_bg1.png);
  background-repeat: no-repeat;
  /* background-position: center 58%; /* 画像の位置調整 */
  z-index: 9999; /* 背景として画像より1番上に表示 */
  background-size: cover;
}
/*------------------- section ------------------------------*/
section#lp-hero {
  width: 100%;
  min-height: 710px; /* 最小高さを指定 */
  /* background: linear-gradient(to bottom, #e0caa8 5%, #fff 19%);*/
  text-align: center;
}
Section.campaign-section {
  width: 100%;
  height: auto;
}
section#menu-lists {
  width: 100%;
  height: auto;
}
section#lp-hero-2 {
  width: 100%;
  height: auto;
  background-image: url(../images/conceptsub_bg2.png);
  background-repeat: no-repeat;
  min-height: 680px;
  background-position: center -21%;
  padding-top: 50px;
}
section#lp-hero-3 {
  width: 100%;
  min-height: 600px;
  padding-top: 50px;
}
section#lp-hero-4 {
  width: 100%;
  min-height: 500px;
  background-image: url(../images/comment_bg_2.png);
  background-repeat: no-repeat;
  background-size: cover;
  padding: 20px 0;
  margin: 0;
  background-position: center center;
}
section#lp-hero-5 {
  width: 100%;
  background-color: #eee5d7;
  min-height: 500px;
}
section#shoplist {
  width: 100%;
  height: fit-content;
  padding-right: 0;
  padding-left: 0;
  padding-bottom: 60px;
  background-color: #eee5d7;
}
/*------------------- メインコンテンツのレイアウト ------------------------------*/
main.lp-main {
  margin-left: auto;
  margin-right: auto;
  height: auto;
}
.inner {
  overflow: hidden;
  width: 100%;
  margin-top: auto;
  margin-right: auto;
  margin-bottom: 0;
  height: 100%;
  margin-left: auto;
}
#contents-box {
  width: 100%;
  height: auto;
  margin: 0 auto 40px auto;
  max-width: 1180px;
}
/*------------------- ページ全体のレイアウト ------------------------------*/
h2.co-title {
  width: 80%;
  height: fit-content;
  margin: 50px auto;
  padding-top: 60px;
  color: #714c4c;
  font-size: 1.8em;
  text-align: center;
  margin: 0 auto;
  padding-bottom: 40px;
  font-family: YuMincho, "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-weight: bolder;
}
.co-text p {
  font-size: 18px;
  line-height: 1.8em;
  font-family: YuMincho, "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-weight: bold;
  color: #714c4c;
  text-align: left;
  padding-top: 35px;
}
.co-img.visible {
  width: 50%;
  height: auto;
}
.co-img img {
  width: 100%;
  height: auto;
}
.co-img img {
  opacity: 0; /* 初期状態で透明 */
  transform: translateX(-50px); /* 初期状態で左に50px移動 */
  transition: opacity 1s ease, transform 1s ease; /* アニメーションの設定 */
}
.co-img.visible img {
  opacity: 1; /* 表示 */
  transform: translateX(0); /* 元の位置に戻す */
}
/*------------------- section#lp-heroのレイアウト ------------------------------*/
.title-box {
  width: 100%;
  height: 150px;
  margin: 50px auto;
}
.title-box h1 {
  padding: 0 auto;
  width: fit-content;
  padding-top: 60px;
  color: #714c4c;
  font-size: 2.5em;
  text-align: center;
  margin: 0 auto;
  padding-bottom: 40px;
  font-family: YuMincho, "Yu Mincho", "Hiragino Mincho ProN", serif;
}
.concept {
  width: 100%;
  height: auto;
}
.concept-flex {
  width: 100%;
  height: auto;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  height: auto;
}
.co-img-2 {
  width: 50%;
  height: auto;
  margin-left: 3px;
  position: relative;
  top: -1vw;
}
.co-text {
  width: 50%;
  height: auto;
  margin-left: auto;
  margin-right: auto;
  padding-bottom: 3%;
}
.co-img-2 img {
  width: 100%;
  height: auto;
}
.co-img-2 {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.co-img-2.visible {
  opacity: 1;
  transform: translateX(0);
}
/*------------------- スペシャルオファーコンテンツおすすめメニューギャラリー←スワイパー実装予定 ------------------------------*/
/* Swiper スライダーを見やすくするための基本設定 */
.swiper-container {
  width: 100%;
  padding: 20px 0;
}
.swiper-slide {
  text-align: center;
}
/* ポップアップ */
.popup {
  display: none;
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  justify-content: center;
  align-items: center;
}
.popup img {
  max-width: 70%;
  max-height: 70%;
  border: 5px solid #fff;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
}
/* セクション全体の余白 */
.special-offer-board {
  padding: 30px 15px;
  text-align: center;
}
/* 画像を包む枠（影と角丸） */
.banner-wrap {
  display: inline-block;
  max-width: 100%; /* スマホで横幅を超えないように */
  border-radius: 12px; /* 緩やかな角丸 */
  overflow: hidden;
  /* サイトの雰囲気に合わせた柔らかい影 */
  box-shadow: 0 8px 25px rgba(160, 140, 120, 0.25);
  line-height: 0; /* 下の隙間消し */
}
/* 画像自体のサイズ制御 */
.banner-img {
  width: 100%;
  max-width: 700px; /* PCで見ても大きすぎないサイズ */
  height: auto;
  display: block;
}
/* スマホでは影を少し弱めてスッキリさせる */
@media (max-width: 768px) {
  .special-offer-board {
    padding: 20px 10px;
  }
  .banner-wrap {
    box-shadow: 0 4px 15px rgba(160, 140, 120, 0.2);
  }
}
/*------------------- Menuコンテンツレイアウト ------------------------------*/
.menu-container {
  width: 95%;
  height: auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin: 0 auto;
}
.menu-item {
  flex: 1; /* すべて均等な幅にする */
}
.menu-item img {
  width: 100%;
  height: auto;
  /* 動きを滑らかにする設定（時間はお好みで調整してください） */
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.menu-item a:hover img {
  /* 上に10px浮かせる */
  transform: translateY(-10px);
  opacity: 0.7;
}
.menuicon-box1 {
  width: 100%;
  max-width: 1280px;
  margin: 10px auto 10px;
}
#menuicon-box3 {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  https: //crepe-and.com/#creamhttps://crepe-and.com/#creamhttps://crepe-and.com/#creamhttps://crepe-and.com/#creamhttps://crepe-and.com/#creamhttps://crepe-and.com/#cream}
    .menuicon-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center; /* 中央寄せ。不要なら消してOK */
  }
  .menuicon-box2 {
    width: calc(50% - 10px); /* gapの半分を引いて2列表示 */
    box-sizing: border-box;
  }
  /* アニメーション共通設定 */
  /* 最初は非表示かつ下にオフセット */
  .menuicon-box1, .menuicon-box2 {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
  }
  /* 表示状態になるクラス */
  .fade-in-up {
    opacity: 1;
    transform: translateY(0);
  }
  .menuicon-box1:nth-of-type(1), .menuicon-box2:nth-of-type(1) {
    transition-delay: 0.2s;
  }
  .menuicon-box2:nth-of-type(2) {
    transition-delay: 0.4s;
  }
  .menuicon-box1:nth-of-type(2) {
    transition-delay: 0.6s;
  }
  /* ホバー時にふわっと浮かぶ */
  .menuicon-box1 a img, .menuicon-box2 a img {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  .menuicon-box1 a:hover img, .menuicon-box2 a:hover img {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
  }
  /*------------------- section#lp-hero-2とsection#lp-hero-3のレイアウト ------------------------------*/
  #concept-sub {
    width: 100%;
    height: auto;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    height: auto;
    padding-bottom: 30px;
  }
  h3#co-title-1 {
    height: 95px;
    width: 85%;
    padding-top: 35px;
    color: #714c4c;
    font-size: 1.3em;
    text-align: left;
    margin: 0 auto;
    padding-bottom: 40px;
    font-family: YuMincho, "Yu Mincho", "Hiragino Mincho ProN", serif;
    font-weight: bolder;
  }
  /*------------------- section#lp-hero-4のレイアウト ------------------------------*/
  .wolf-comment {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    padding-bottom: 30px;
    position: relative; /* スライドイン基準 */
  }
  /* 左の画像ボックス */
  #wolf-img {
    width: 45%;
    position: relative;
    z-index: 1;
    margin-left: 3px;
  }
  #wolf-img img {
    width: 100%;
    height: auto;
  }
  /* 右のコメントボックス */
  #comment-box {
    width: 45%;
    margin-left: 30px;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    background-color: white;
    opacity: 0;
    transform: translateX(50%);
    transition: transform 1.5s ease-out, opacity 1.5s ease-out;
    z-index: 10;
  }
  /* 表示時にふわっとスライド */
  #comment-box.visible {
    opacity: 1;
    transform: translateX(0);
  }
  /* テキストスタイル */
  #comment-box p {
    font-size: 18px;
    line-height: 1.8em;
    font-family: YuMincho, "Yu Mincho", "Hiragino Mincho ProN", serif;
    font-weight: bold;
    color: #714c4c;
  }
  /*------------------- section#lp-hero-5のレイアウト ------------------------------*/
  .title-box2 {
    width: 100%;
    height: 150px;
    margin: 50px auto;
    position: relative;
    top: 4vw;
  }
  .title-box2 h1 {
    padding: 0 auto;
    width: fit-content;
    padding-top: 60px;
    color: #714c4c;
    font-size: 2.5em;
    text-align: center;
    margin: 0 auto;
    padding-bottom: 40px;
    font-family: YuMincho, "Yu Mincho", "Hiragino Mincho ProN", serif;
  }
  .menu_title {
    width: 100%;
    height: 100%
  }
  /*------------------- section#lp-hero-5とメニューリストレイアウトここまで ------------------------------*/
  /*------------------- section#lp-hero-5とメディア&新店情報のレイアウトここから ------------------------------*/
  section#media-newshop {
    width: 100%;
    height: auto;
    margin: 100px auto 20px
  }
  #media-newshop-box {
    width: 100%;
    height: auto;
    max-width: 1180px;
    margin: 0 auto;
  }
  .new-shop-list h3 {
    padding: 0 auto;
    width: fit-content;
    padding-top: 60px;
    color: #714c4c;
    font-size: 1.8em;
    text-align: center;
    margin: 0 auto;
    padding-bottom: 40px;
    font-family: YuMincho, "Yu Mincho", "Hiragino Mincho ProN", serif;
  }
  .media-coverage-list h3 {
    padding: 0 auto;
    width: fit-content;
    padding-top: 60px;
    color: #714c4c;
    font-size: 1.5em;
    text-align: center;
    margin: 0 auto;
    padding-bottom: 40px;
    font-family: YuMincho, "Yu Mincho", "Hiragino Mincho ProN", serif;
  }
  .media-newshop-flex {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
  }
  .shop-content, .media-content h4 {
    font-size: 1.2rem;
  }
  .shop-content a, .media-content a {
    color: #57392a;
    text-decoration: none;
    transition: color 0.3s ease; /* ★ ホバー時にふわっと変化 */
  }
  .shop-content a:hover, .media-content a:hover {
    color: #a3683f; /* ★ 好きなホバーカラーに変更 */
  }
  .media-date {
    font-size: 15px;
    color: #959393;
  }
  .new-shop-list, .media-coverage-list {
    flex: 1 1 48%;
    min-width: 300px;
    border: 1px solid #714c4c;
    padding: 20px;
    border-radius: 12px; /* ← 角丸 */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* ← ふんわり影 */
    background-color: #fff; /* 背景色を白に（必要に応じて） */
  }
  .shop-row, .media-row {
    display: flex;
    gap: 15px;
    border-bottom: 1px dotted #714c4c;
    padding: 10px 0;
  }
  .shop-thumb img, .media-thumb img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 5px;
  }
  .shop-content, .media-content {
    flex: 1;
  }
  .media-category-labels {
    margin-bottom: 5px;
  }
  .media-label {
    display: inline-block;
    background: #c83333;
    padding: 2px 6px;
    font-size: 0.8em;
    border-radius: 3px;
    margin-right: 5px;
    color: white;
  }
  .readmore-link {
    font-size: 0.9em;
    color: #0073aa;
    text-decoration: underline;
  }
  /*------------------- section#lp-hero-5とメディア&新店情報のレイアウトここまで ------------------------------*/
  /*------------------- FC募集&STAFF募集レイアウトここから ------------------------------*/
  section#fc-staff {
    width: 100%;
    height: auto;
  }
  #fc-staff {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto 50px;
  }
  /*------------------- FC募集&STAFF募集レイアウトここまで ------------------------------*/
  /*------------------- Shop Listのレイアウトここから ------------------------------*/
  .store-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin: 0 auto;
  }
  .store-card {
    width: 30%;
    box-sizing: border-box;
    border: 2px solid #714c4c;
    border-radius: 8px;
    overflow: hidden;
    background-color: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
  }
  .store-card.visible {
    opacity: 1;
    transform: translateY(0);
  }
  .store-card.visible a {
    text-decoration: none;
    color: #3f4646;
  }
  .fade-in-container {
    gap: 10px; /* ギャップをさらに狭める */
    padding-top: 30px; /* 上部の余白を減らす */
  }
  .fade-in-row {
    flex-direction: column; /* スマートフォンでは縦並びにする */
    gap: 20px; /* ギャップを少し広げる */
    margin-top: 20px; /* 上部のマージンを減らす */
    max-width: 100%; /* 幅をフルにする */
  }
  .fade-in-image-container {
    margin: 0 auto; /* 画面中央に配置 */
    padding: 0; /* 余計なスペースをリセット */
  }
  .fade-in-image-container img {
    width: 100%;
    height: 100%; /* 縦横比を維持 */
    object-fit: cover; /* 画像全体を表示 */
  }
  .store-card img {
    width: 100%;
    height: 250px; /* ここはお好みで調整OK */
    object-fit: cover;
    display: block;
  }
  .store-details {
    padding: 10px;
  }
  .store-name {
    font-size: 1em;
    margin-bottom: 10px;
  }
  .store-address, .store-hours, .store-holiday, .store-tel {
    font-size: 0.85em;
    margin: 5px 0;
  }
  /* 店舗の詳細情報 */
  .store-details {
    padding: 15px; /* 詳細部分に内側の余白 */
  }
  /* 店舗名 */
  .store-name {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #714c4c;
    font-family: YuMincho, "Yu Mincho", "Hiragino Mincho ProN", serif;
  }
  /* 店舗住所、営業時間、休業日のスタイル */
  .store-address, .store-hours, .store-holiday, .store-tel {
    font-size: 14px;
    margin-bottom: 5px;
  }
  /* ボタンのボックス*/
  #store_btnbox {
    width: 100%;
    height: 65px;
    margin: 60px auto 0;
    max-width: 500px;
  }
  .storebtn a {
    background: #714c4c;
    border-radius: 3px;
    position: relative;
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin: auto;
    max-width: 500px;
    padding: 10px 25px;
    font-family: "Noto Sans Japanese";
    text-decoration: none;
    color: #fff;
    line-height: 1.8;
    transition: 0.3s ease-in-out;
    font-weight: 500;
    font-family: YuMincho, "Yu Mincho", "Hiragino Mincho ProN", serif;
  }
  .storebtn a:after {
    content: "";
    position: absolute;
    top: 50%;
    bottom: 0;
    right: 2rem;
    font-size: 90%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: right 0.3s;
    width: 6px;
    height: 6px;
    border-top: solid 2px currentColor;
    border-right: solid 2px currentColor;
    transform: translateY(-50%) rotate(45deg);
  }
  .storebtn a:hover {
    background: #f0d9b8;
    color: #714c4c;
  }
  .storebtn a:hover:after {
    right: 1.4rem;
  }
  /*------------------- Shop Listのレイアウトここまで ------------------------------*/
  /*------------------- footer全体 ------------------------------*/
  .footer {
    background-color: #714c4c; /* 背景色 */
    text-align: center; /* テキスト中央揃え */
    color: #333; /* 文字色 */
    font-size: 14px; /* 文字の大きさ */
    border-top: 2px solid #4f2b2b; /* 上部に線を引く */
  }
  /* フッター内のロゴ部分 */
  #logobox {
    margin-bottom: 20px; /* ロゴの下に余白を追加 */
  }
  /* ロゴ画像 */
  #footerlogo img {
    width: 100px; /* ロゴの幅 */
    height: 100px; /* ロゴの高さ */
    display: block; /* ブロック表示 */
    margin: 0 auto; /* 横方向で中央に配置 */
  }
  /* コピーライトテキスト */
  .copyright {
    font-size: 14px; /* フォントサイズ */
    color: #fff; /* 文字色 */
    margin-top: 10px; /* コピーライトの上に余白 */
  }
  .pagetop {
    height: 50px;
    width: 50px;
    position: fixed;
    right: 30px;
    bottom: 30px;
    background: #fff;
    border: solid 2px #000;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
  }
  .pagetop__arrow {
    height: 10px;
    width: 10px;
    border-top: 3px solid #000;
    border-right: 3px solid #000;
    transform: translateY(20%) rotate(-45deg);
  }
  /* PC用スタイル */
  @media (min-width: 768px) {
    /* PC用のヘッダーのスタイル */
    #sp_nav {
      display: none;
    }
  }
  /* タブレット以下（1280px以下）で調整 */
  @media screen and (max-width: 1280px) {
    #comment-box {
      width: 45%;
      top: 205rem;
      left: 46%;
    }
  }
  /* タブレット用（1024px以下） */
  @media screen and (max-width: 1024px) {
    /* 画面幅が1024px以下のときに改行する */
    span.br-point {
      display: block; /* ブロックにすると改行される */
    }
    #header {
      height: 90px;
    }
    #flex1 {
      width: 95%;
    }
    h1#logo {
      width: 90px;
    }
    #nav_box {
      left: 32%;
      top: -80%;
    }
    #nav_box li {
      padding-right: 8px;
      font-size: 14px;
    }
    #top_mv {
      height: 30vh;
    }
    .fv-video-wrap {
      height: 30vh;
    }
    #txt_img_pc {
      height: 600px; /* 高さを調整 */
    }
    #top_mv img {
      width: 100%;
      height: fit-content;
      object-fit: contain;
    }
    .animated-text {
      font-size: 36px; /* タブレット用にフォントサイズを調整 */
      top: 50%; /* テキスト位置の調整 */
      transform: translateY(-50%); /* 垂直方向中央寄せを維持 */
      display: block; /* 表示を有効にする */
    }
    #namibatabg {
      top: 27rem;
      background-position: center 50%;
      background-size: contain;
      height: 250px;
    }
    #lp-hero-2 {
      background-size: cover;
    }
    h2.co-title {
      font-size: 1.5em;
      padding-top: 30px;
    }
    .co-text p {
      font-size: 17px;
      line-height: 1.6em;
    }
    .co-img, .co-img-2, .co-text {
      width: 85%;
      margin: 0 auto;
      padding-bottom: 25px;
    }
    /* #concept-sub {
    flex-direction: column;
    align-items: center;
  }*/
    h3#co-title-1 {
      font-size: 1.2em;
      text-align: center;
    }
    section#lp-hero-4 {
      min-height: 300px;
      background-position: top center;
      padding: 10px 0;
      background-size: contain;
      position: relative;
      top: -8vw;
    }
    .title-box {
      width: 100%;
      height: 150px;
      margin: 50px auto;
    }
    /*wolf-comment {
    flex-direction: column; /* 水平から垂直レイアウトに変更 
    align-items: center; /* 中央揃え 
    padding-bottom: 20px; /* 余白を少し減らす 
  } */
    #wolf-img {
      width: 50%; /* 画像をタブレット用に縮小 */
      left: 0; /* 水平方向の位置を調整 */
      top: 0; /* 垂直方向の位置をリセット */
      position: relative;
      top: -18%;
    }
    #comment-box {
      width: 55%; /* 幅を広げる */
      max-width: 90%; /* 最大幅を制限し、画面からはみ出さないように */
      top: 70%; /* 位置を調整 */
      left: -100%; /* 初期状態で画面外に配置 */
      padding: 15px; /* 余白を調整 */
      opacity: 0; /* 初期状態は非表示 */
      /* transition: left 8s cubic-bezier(0.68, -0.55, 0.27, 1.55), opacity 8s ease-out; /* ゆっくりスライドイン */
    }
    /* スクロールで表示する時のクラス */
    #comment-box.visible {
      left: 23%; /* 画面中央にスライドイン */
      transform: translateX(-50%); /* 画面中央に配置 */
      opacity: 1;
      position: relative;
    }
    /* 全体の幅調整 */
    #contents-box {
      padding: 10px;
      width: 100%;
    }
    section#media-newshop {
      width: 100%;
      margin: 0 auto 20px;
      max-width: 98%;
    }
    .crepe-wrapper {
      margin-top: 25px;
    }
    .menu_title {
      height: 100px; /* 高さを縮小してバランスを調整 */
      background-size: cover;
      background-position: 13% center;
    }
    .title-box2 {
      height: 120px; /* 高さを縮小 */
      margin: 40px auto; /* 上下の余白を少し減らす */
      top: 3vw; /* 相対位置を調整 */
    }
    .title-box2 h1 {
      font-size: 2em; /* フォントサイズをやや縮小 */
      padding-top: 40px; /* 上部の余白を調整 */
      padding-bottom: 30px; /* 下部の余白も調整 */
    }
    .fade-in-container {
      gap: 15px; /* ギャップを少し狭める */
      padding-top: 40px; /* 上部の余白を調整 */
    }
    .fade-in-row {
      gap: 15px; /* 横のギャップを調整 */
      margin-top: 40px; /* 上部のマージンを減らす */
      max-width: 900px; /* 最大幅を調整 */
    }
    /*.fade-in-image-container img {
    object-fit: contain; /* タブレットでは画像全体を見せるよう調整 
  }*/
    .fade-in-image-container {
      border: 2px solid #714c4c; /* ボーダーを少し細く */
      border-radius: 6px; /* 角の丸みを調整 */
      box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1); /* シャドウを控えめに */
    }
    .store-cards {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
    }
    .store-card {
      width: 30%; /* 3列表示 */
      margin-bottom: 20px;
    }
    .store-card img {
      width: 100%; /* 画像がカードの幅に合わせて拡大縮小 */
      height: auto;
    }
    .store-details {
      padding: 10px;
    }
    .store-name {
      font-size: 0.9em;
      margin-bottom: 10px;
    }
    .store-address, .store-hours, .store-holiday, .store-tel {
      font-size: 0.8em;
      margin: 10px 0;
    }
    #store_btnbox {
      text-align: center;
      margin-top: 20px;
    }
    .storebtn a {
      font-size: 1.2em;
      padding: 10px 20px;
      background: #714c4c;
      color: #fff;
      text-decoration: none;
      border-radius: 5px;
    }
  }
  /* 1023px 以下 770px 以上（タブレット中間サイズ） */
  @media screen and (max-width: 1023px) and (min-width: 770px) {
    /* コンテンツ幅を少し狭くする */
    #namibatabg {
      top: 14rem;
      background-position: center 50%;
      background-size: contain;
      /*height: 250px;*/
    }
    #top_mv {
      height: 80vh;
    }
    /* FVの動画の枠の高さ */
    .fv-video-wrap {
      height: 80vh;
    }
    /* specialOffersのタイトルのmargin-topの高さ */
    h2.section-title {
      margin-top: 6rem;
    }
    /* トップページ Sectionのレイアウト */
    section#lp-hero {
      min-height: auto;
    }
    section#lp-hero-2 {
      padding-top: 0;
      min-height: 100px;
      background-position: center 39%;
    }
    section#lp-hero-3 {
      min-height: 0px;
      padding-top: 0px
    }
    /* トップページ Sectionlp-hero-2背景のレイアウト */
    #lp-hero-2 {
      background-size: contain;
    }
  }
  /* スマートフォン用（768px以下） */
  @media screen and (max-width: 768px) {
    html {
      scroll-behavior: smooth;
    }
    header#header {
      display: none;
    }
    #sp_nav {
      display: block;
    }
    #header {
      height: auto;
      padding-bottom: 5px;
    }
    #flex1 {
      width: 90%;
      flex-direction: column;
      align-items: center;
      top: 5%;
      margin-left: auto;
      margin-right: auto;
    }
    h1#logo {
      width: 80px;
      padding-top: 5px;
      margin: 0 auto;
    }
    #nav_box {
      flex-direction: column;
      left: 0;
      top: 0;
      text-align: center;
    }
    #nav_box ul {
      top: 0;
    }
    #nav_box li {
      padding-right: 5px;
      font-size: 14px;
    }
    #sp_nav {
      position: absolute;
      top: 0;
      width: 100%;
      left: 0;
      height: 115px;
      z-index: 9999;
      /* background-color: #f1eee7;
    border-bottom: 1px solid #ce612c;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);*/
    }
    #sp_logo {
      width: 30%;
      height: auto;
      margin: -1px auto auto;
    }
    #sp_logo img {
      width: 67%;
    }
    .menu {
      -webkit-transform: translateX(-100%);
      transform: translateX(-100%);
      -webkit-transition: ease .5s;
      transition: ease .5s;
      z-index: 1000;
      background-color: rgba(238, 219, 199, 0.65);
      margin-top: 0px;
      position: absolute;
      left: 0%;
      width: 100%;
      top: 100%;
    }
    /*OPEN時の動き*/
    .menu.open {
      -webkit-transform: translateX(0);
      transform: translateX(0);
      overflow-y: auto;
      -webkit-overflow-scrolling: touch;
    }
    .menu a {
      color: #573636; /* 通常のリンク色 */
      text-decoration: none;
      transition: color 0.3s ease, transform 0.3s ease;
      font-weight: bold;
      font-family: YuMincho, "Yu Mincho", "Hiragino Mincho ProN", serif;
    }
    .menu a:hover {
      color: #8d551d; /* ホバー時の色 */
    }
    .menu a:active {
      transform: scale(1.1); /* クリック時に少し大きく */
      color: #6a4015; /* クリック時に少し濃いオレンジ色 */
    }
    .menu ul li {
      padding: 1em;
      background-color: #ceb0884f;
      text-align: center;
      list-style: none;
    }
    /*OPEN時の動き*
  .menu.open {
    -webkit-transform: translateX(0);
    transform: translateX(0);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }*/
    /**/
    /*開閉ボタン*/
    .navbar_toggle p {
      font-size: 15px;
      margin-top: 5px;
      position: relative;
      left: -11%;
      color: white;
    }
    .navbar_toggle {
      position: absolute;
      left: 85vw;
      top: 8vw;
    }
    .navbar_toggle_icon {
      position: relative;
      display: block;
      height: 2px;
      width: 30px;
      background-color: #fff;
      -webkit-transition: ease .5s;
      transition: ease .5s;
    }
    .navbar_toggle_icon:nth-child(1) {
      top: 0;
    }
    .navbar_toggle_icon:nth-child(2) {
      margin: 8px 0;
    }
    .navbar_toggle_icon:nth-child(3) {
      top: 0;
    }
    /*OPEN時の動き*/
    .navbar_toggle.open .navbar_toggle_icon:nth-child(1) {
      top: 12px;
      -webkit-transform: rotate(45deg);
      transform: rotate(45deg);
    }
    .navbar_toggle.open .navbar_toggle_icon:nth-child(2) {
      -webkit-transform: translateY(-50%);
      transform: translateY(-50%);
      opacity: 0;
      top: auto;
    }
    .navbar_toggle.open .navbar_toggle_icon:nth-child(3) {
      top: -9px;
      -webkit-transform: rotate(-45deg);
      transform: rotate(-45deg);
    }
    span.co_g {
      color: #016412;
    }
    span.s_ti {
      color: #A0A0A0;
      font-size: 17px;
      font-weight: normal;
      display: block;
      margin-bottom: 5em;
    }
    /* 改行 */
    span.br-point {
      display: inline-block;
    }
    /* 481pxのみレイアウトここから */
    /* ロゴの位置調整 */
    h1#logo_sp {
      width: 210px;
      position: relative;
      height: auto;
      top: 6vw;
      left: 7vw;
    }
    #top_mv {
      height: auto;
      width: 100%;
    }
    /*
  #txt_img_pc {
    height: 250px; /* スマートフォン用に高さを調整 
  }*/
    #txt_img_sp {
      min-height: 900px;
      position: relative;
    }
    #top_mv img {
      height: auto;
      object-fit: cover;
    }
    .animated-text {
      font-size: 28px; /* スマートフォン用にフォントサイズをさらに調整 */
      top: 50%; /* テキスト位置の調整 */
      transform: translateY(-50%); /* 垂直方向中央寄せを維持 */
      display: block; /* 表示を有効にする */
    }
    #namibatabg {
      background-position: center center;
      position: absolute;
      background-size: contain;
      top: 14rem;
      reft: 0;
      right: 0;
      margin: auto;
      left: 0;
    }
    section#lp-hero {
      background: linear-gradient(to bottom, #e0caa8 15%, #fff 23%);
      text-align: center;
      height: auto;
      min-height: 400px;
    }
    section#lp-hero-2 {
      padding-top: 20px;
    }
    section#lp-hero-3 {
      min-height: 600px;
      padding-bottom: 20px;
    }
    section#shoplist {
      height: auto;
      padding-bottom: 30px;
    }
    .title-box {
      width: 100%;
      height: 150px;
      margin: 25px auto;
    }
    h2.co-title {
      font-size: 1.4em;
      padding-top: 20px;
    }
    .co-text p {
      font-size: 16px;
      line-height: 1.5em;
    }
    .concept-flex {
      flex-direction: column;
      align-items: center;
    }
    .co-img, .co-img-2, .co-text {
      width: 90% !important;
      margin: 0 auto;
      padding-bottom: 20px;
      /* 以下を追加することで折り返しを調整 */
      word-break: break-word; /* 長い単語の折り返しを有効化 */
      overflow-wrap: break-word; /* 英単語の折り返し */
      white-space: normal; /* 自動的に折り返し */
      line-height: 1.5; /* 行間を調整して読みやすく */
    }
    .co-img img {
      /* 高さの調整 */
      position: relative;
      top: 3rem;
    }
    #concept-sub {
      flex-direction: column;
      align-items: center;
    }
    section#lp-hero-4 {
      min-height: 500px; /* 高さを調整 */
      background-position: top center; /* 背景画像を上部中央に配置 */
      padding: 20px 0 0px 0;
      background-size: contain;
    }
    h3#co-title-1 {
      font-size: 1.1em;
      text-align: center;
    }
    .wolf-comment {
      flex-direction: column;
      align-items: center;
    }
    #wolf-img, #comment-box {
      width: 90%;
    }
    #comment-box {
      width: 90%;
      position: relative;
      left: 50%;
      transform: translate(-50%, 30%); /* ← 中央寄せ＆下から */
      margin-top: 20px;
    }
    #comment-box.visible {
      transform: translate(-50%, 0); /* ← 中央寄せ＆通常位置に戻す */
      left: 45%
    }
    #comment-box p {
      font-size: 18px;
    }
    /* 全体の幅調整 */
    #contents-box {
      padding: 0;
      width: 98%;
      margin-bottom: 0;
    }
    /* スマホ版（必要であれば） */
    .menu-container {
      flex-wrap: wrap; /* 折り返しを許可 */
      justify-content: center;
    }
    .menu-item {
      flex: 0 1 40%; /* 2列にする */
      margin-bottom: 30px;
    }
    .media-newshop-flex {
      display: block;
    }
    .new-shop-list, .media-coverage-list {
      margin-bottom: 15px;
    }
    #fc-staff {
      width: 100%;
      max-width: 98%;
    }
    .menuicon-wrapper {
      display: block;
    }
    .menuicon-box2 {
      /* width: calc(100% - 10px); */
      box-sizing: border-box;
      width: 100%;
      margin-bottom: 15px;
    }
    .menu_title {
      height: 80px;
    }
    .title-box2 {
      height: 100px; /* 高さを調整 */
      margin: 30px auto; /* 余白をコンパクトに */
      top: 2vw; /* 位置をさらに微調整 */
    }
    .title-box2 h1 {
      font-size: 1.8em; /* フォントサイズをさらに縮小 */
      padding-top: 20px; /* 上部余白を縮小 */
      padding-bottom: 20px; /* 下部余白も縮小 */
    }
    .fade-in-container {
      gap: 10px; /* ギャップをさらに狭める */
      padding-top: 30px; /* 上部の余白を減らす */
    }
    .fade-in-row {
      flex-direction: column; /* スマートフォンでは縦並びにする */
      gap: 20px; /* ギャップを少し広げる */
      margin-top: 20px; /* 上部のマージンを減らす */
      max-width: 100%; /* 幅をフルにする */
    }
    .fade-in-image-container {
      margin: 0 auto; /* 画面中央に配置 */
      padding: 0; /* 余計なスペースをリセット */
    }
    .fade-in-image-container img {
      width: 100%;
      height: 100%; /* 縦横比を維持 */
      object-fit: cover; /* 画像全体を表示 */
    }
    .store-cards {
      display: block;
    }
    .store-card {
      width: 100%; /* 1列表示 */
      margin-bottom: 20px;
    }
    .store-card img {
      width: 100%; /* 画像がカードの幅に合わせて拡大縮小 */
      height: auto;
    }
    .store-details {
      padding: 10px;
    }
    .store-name {
      font-size: 1em;
      margin-bottom: 10px;
    }
    .store-address, .store-hours, .store-holiday, .store-tel {
      font-size: 0.85em;
      margin: 5px 0;
    }
    #store_btnbox {
      text-align: center;
      margin-top: 20px;
    }
    .storebtn a {
      font-size: 1.1em;
      padding: 8px 16px;
      background: #714c4c;
      color: #fff;
      text-decoration: none;
      border-radius: 5px;
    }
    /* スマートフォンやタブレットでの調整 */
    .footer {
      font-size: 12px; /* 文字サイズを小さくする */
    }
    #footerlogo img {
      width: 80px; /* ロゴのサイズを調整 */
      height: 80px;
    }
  }
  @media (max-width: 670px) {
    /* iPhone SEの横向き表示の調整 */
    div#wolf-img {
      top: -2rem;
    }
    div#comment-box {
      top: -4rem;
    }
  }
  @media (max-width: 550px) {
    /* Surface Proの縦向き表示の調整 */
    div#comment-box {
      top: 23rem;
    }
  }
  /* 480px 以下（スマホ） */
  @media screen and (max-width: 480px) {
    /* 全体的なオーバーフローの制御 */
    /* 改行非表示 */
    /* span.br-point {
    display: inline-block;
} */
    #txt_img_sp {
      min-height: 580px;
      position: relative;
    }
    #namibatabg {
      top: 9rem;
      z-index: 2;
    }
    /* specialOffersのh2のmargin-topの高さ */
    h2.section-title {
      margin-top: 3rem;
    }
    .menu-container {
      display: block;
    }
    section#lp-hero-4 {
      min-height: 400px;
      padding: 20px 0 0px 0;
    }
    div#wolf-img {
      top: -1rem;
    }
    div#comment-box {
      top: -3rem;
    }
    #wolf-img, #comment-box {
      width: 95%;
      padding: 15px;
    }
    #comment-box {
      font-size: 14px;
    }
    #contents-box {
      margin: 0;
    }
    #concept-sub {
      padding-bottom: 0;
    }
    section#lp-hero-2 {
      padding-top: 0px;
      min-height: 250px;
    }
    h2.co-title {
      padding-top: 15px;
      padding-bottom: 20px;
    }
    h3#co-title-1 {
      margin-bottom: 20px;
    }
    section#lp-hero-3 {
      padding-top: 0;
    }
  }
  /* ▼ 超小型スマホ（〜375px） */
  @media screen and (max-width: 375px) {
    #comment-box {
      padding: 10px;
      font-size: 13px;
    }
  }