/*
Theme Name: GeneratePress Child AOS
Template: generatepress
Version: 1.0
*/

/*--------------------------------------------------------------
共通スタイル
--------------------------------------------------------------*/

body {
  font-family: 'Yu Gothic', 'Noto Sans JP', sans-serif;
  
}

body {
  /*本番用 */
  background-image: url('https://tate-shintate.jp/2026/wp-content/uploads/2026/03/bg.png');

  /*テスト用*/
  /*background-image: url('https://wp.test/wp-content/uploads/2026/03/bg.png');*/
  background-size: cover;

  /* 画面全体にフィット */
  background-position: center center;

  /* 中央に配置 */
  background-repeat: no-repeat;

  /*background-attachment: fixed; */
  background-attachment: scroll;
}

html {
  overflow-x: hidden;
}

/* コンテンツがヘッダー下に隠れないよう上部に余白を確保 */
/* header の実際の高さ（px）はご自身のデザインに合わせて調整してください */
body.admin-bar .site-header {
  top: 32px;
  /* 管理バーがあるとき */
}

body {
  padding-top: 80px;
  /* ヘッダー高さ分。例：150px */
}


/*--------------------------------------------------------------
ヘッダー：ロゴとナビメニューの配置
--------------------------------------------------------------*/
/* ヘッダー固定 */
.site-header {
  position: fixed !important;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #fffde5 !important;
  z-index: 900;
  /* 前面に出す */
}

@media (max-width: 768px) {
  .site-branding {
    display: none !important;
  }
}

@media (max-width: 768px) {
  .custom-logo-link img {
    width: 160px !important;
    height: auto !important;
  }
}

.custom-logo-link,
.custom-logo {
  width: 240px !important;
  height: 30px !important;
  display: block;
}

.custom-logo-link img {
  width: 240px !important;
  height: 30px !important;
  object-fit: contain;
  display: block;
  max-width: none !important;
}

/*--------------------------------------------------------------
ナビゲーション ヘッダメニューのテキストはここ
--------------------------------------------------------------*/

.main-navigation {
  display: flex;
  align-items: center;
  /* ←ここで上下中央揃え */
  height: 100%;
  background-color: #fffde5 !important;
  /* ここにお好きな色を指定 */
}

.main-navigation .nav-menu {
  display: flex;
  align-items: center;
  /* ←ul内のliも中央に */
  gap: 0px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.main-navigation .nav-menu li {
  display: inline-block;
}

.main-navigation .nav-menu li a {
  font-family: 'Noto Sans JP';
  text-decoration: none;
  color: #333;
  font-size: 0.8rem;
  font-weight: normal;
  padding: 0px 0px;
}

.main-navigation .nav-menu li a:hover {
  color: #007b55;
}

/* inside-header 全体を flex にして上下中央に */
.inside-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 100px;
  /* ロゴと同じ高さ */
  padding: 0 32px;
}

/* スマホ用メニューボタン */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
  padding: 8px 12px;
}


/* モバイルナビ初期状態を非表示 */
@media (max-width: 768px) {
  .main-navigation .nav-menu {
    display: none;
    flex-direction: column;
    background: #fff;
    position: absolute;
    top: 100%;
    right: 0;
    width: 100%;
    z-index: 9999;
  }

  .main-navigation.toggled .nav-menu {
    display: flex;
  }

  .menu-toggle {
    display: block;
    background: none;
    border: none;
    font-size: 1.2rem;
    padding: 8px;
    cursor: pointer;
  }
}

/* PC時は常に表示 */
@media (min-width: 769px) {
  .menu-toggle {
    display: none;
  }

  .main-navigation .nav-menu {
    display: flex !important;
    position: static;
  }
}

@media (max-width: 768px) {
  .slide-menu .nav-menu {
    position: fixed;
    top: 0;
    right: -260px;
    width: 260px;
    height: 100%;
    background: #fff;
    padding: 60px 20px;
    box-shadow: -2px 0 8px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease-in-out;
    z-index: 9999;
    display: flex;
    flex-direction: column;
  }

  .slide-menu.toggled .nav-menu {
    right: 0;
  }

  .menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 5001;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease-in-out;
  }

  .slide-menu.toggled+.menu-overlay {
    opacity: 1;
    visibility: visible;
  }

  .menu-toggle {
    display: block;
    z-index: 10000;
    position: relative;
  }

}

.container-pc {
  max-width: 100%;
  margin: 0 auto;
  padding: 16px;
  margin-bottom: 20px;
  /* フッターとの余白はここで調整！ */
}

/*--------------------------------------------------------------
フッター
--------------------------------------------------------------*/
/* ===== フッター全体 ===== */
.custom-footer {
  background: #fff;
  color: #333;
  padding: 40px 0px;
  font-family: 'Yu Gothic', 'Noto Sans JP', sans-serif;
  box-sizing: border-box;
  

}

/* ===== お問い合わせボックス（上段）===== */
.footer-contact {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

.footer-box {
  border: 2px solid #A4D18E;
  color: #3C8A2E;
  font-weight: bold;
  font-size: 1.2rem;
  padding: 10px 20px;
  border-radius: 8px;

  flex: 1 1 300px;
  max-width: 320px;
  box-sizing: border-box;
  text-align: center;
}

/* ===== 電話・住所などの情報部分（中段）===== */
.footer-info {
  flex-basis: 100%;
  text-align: center;
  margin-top: 30px;
}

.footer-support-title {
  font-weight: bold;
  color: #6DA62E;
  font-size: 1.2rem;
  margin-bottom: 12px;
}

.footer-phone {
  font-size: 2.4rem;
  font-weight: bold;
  color: #6DA62E;
  margin: 8px 0;
}

.footer-time {
  font-size: 1rem;
  color: #8B5C32;
  margin-bottom: 8px;
}

.footer-org {
  font-size: 1.3rem;
  font-weight: bold;
  color: #8B5C32;
  margin-top: 10px;
}

.footer-address {
  font-size: 1rem;
  margin-top: 5px;
}

.footer-address a {
  color: #8B5C32;
  text-decoration: none;
}

/* ===== 法的表記リンク（下段）===== */
.footer-legal {
  margin-top: 30px;
  text-align: center;
}

.legal-link {
  font-weight: bold;
  font-size: 1.2rem;
  color: #000;
  text-decoration: none;
}

/* ===== コピーライト部分（最下段）===== */

.footer-copy {
  background-color: #000000;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1rem;
  font-size: 0.9rem;
  width: 100%;
  box-sizing: border-box;
  text-align: center;
}
/*
.footer-copy {
  background-color: #000;
  color: #fff;
  text-align: center;
  padding: 1rem;
  font-size: 0.9rem;
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  box-sizing: border-box;
}
*/

/* ===== スマホ・タブレット対応 ===== */
@media (max-width: 768px) {
  .footer-box {
    max-width: 100%;
    width: 100%;
  }

  .footer-phone {
    font-size: 1.8rem;
  }

  .footer-support-title {
    font-size: 1rem;
  }

  .footer-org {
    font-size: 1.1rem;
  }

  .footer-legal {
    font-size: 1rem;
  }

  .footer-copy {
    font-size: 0.8rem;
    padding: 0.8rem;
  }
}

/*──────────────────────────
  Elementor アコーディオン：白背景化
──────────────────────────*/
.elementor-widget-accordion .elementor-accordion {
  border: 1px solid #e0e0e0 !important;
  border-radius: 4px !important;
  overflow: hidden !important;
}

.elementor-widget-accordion .elementor-accordion .elementor-tab-title {
  background-color: #fff !important;
  color: #333 !important;
  padding: 15px 20px !important;
  border-bottom: 1px solid #e0e0e0 !important;
}

.elementor-widget-accordion .elementor-accordion .elementor-tab-content {
  background-color: #fff !important;
  color: #333 !important;
  padding: 20px !important;
}

/* タイトル横の＋−アイコン色 */
.elementor-widget-accordion .elementor-accordion .elementor-tab-title .elementor-accordion-icon {
  color: #333 !important;
}

/*──────────────────────────
  固定ページ「Q&A」見出し非表示
──────────────────────────*/
.page-id-37 .entry-header {
  /* ←123はQ&AページのIDに置き換えてください */
  display: none !important;
}

body {
  font-family: 'Noto Sans JP', sans-serif;
  overflow-x: hidden;
}

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

.news-box {
  width: calc(100% - 2em);
  max-width: 900px;
  margin: 2em auto;
  padding: 1.5em;
  border: 2px solid #7f4719;
  background: #fffde5;
  position: relative;
  overflow-wrap: break-word;
}

.news-label {
  position: absolute;
  top: 0;
  /* BOX の上端と揃える */
  left: 50%;
  /* 水平方向の中央 */
  transform: translateX(-50%) translateY(-50%);
  /* X: 真ん中、Y: タイトル高さの半分分だけ上へ */
  padding: 5px 15px;
  /* 縦横パディング */
  background-color: #fffde5;
  /* タイトル背景 */
  border: 1px solid #888;
  /* タイトル枠線 */
  border-radius: 4px;
  /* 角丸はお好みで */
  font-weight: bold;
  white-space: nowrap;
  /* テキスト折り返し防止 */
}

.news-label {
  font-size: 24px;
  color: #7f4719;
  padding: 5px 30px;
  transform: translateX(-50%) translateY(-50%);
}

/*
.news-label {
  position: absolute;
  top: -20px;
  left: 20px;
  background: #000;
  color: #fff;
  padding: 0.5em 1em;
  border-radius: 1em;
  font-weight: bold;
  font-size: 1.1em;}
*/
.news-list {
  list-style: none;
  padding: 0;
  margin-top: 2em;
}

.news-list li {
  border-bottom: 1px dotted #999;
  padding: 0.6em 0;
  display: flex;
  gap: 0.5em;
  flex-wrap: wrap;
}

.news-date {
  min-width: 120px;
  font-weight: bold;
  color: #333;
}

.news-title {
  color: #007bff;
  text-decoration: none;
}

.news-title:hover {
  text-decoration: underline;
}

@media screen and (max-width: 600px) {
  .news-list li {
    flex-direction: column;
    gap: 0.2em;
  }

  @media screen and (max-width: 768px) {
    body {
      padding-top: 0 !important;
    }

    .site-header {
      background: transparent !important;
      padding: 0 !important;
      min-height: 0 !important;
      height: auto !important;
      display: flex;
      align-items: center;
      justify-content: flex-end;
      position: relative;
    }

    .menu-toggle {
      display: block !important;
      position: fixed;
      top: 10px;
      right: 10px;
      z-index: 10000;
      font-size: 2rem;
      padding: 0.5em;
      background: none;
      border: none;
      color: #333;
      cursor: pointer;
    }

    .main-navigation {
      
      display: block !important;
      position: fixed;
      top: 0.5em;
      right: 0.5em;
      background: transparent;
      z-index: 9999;
    }

    .main-navigation ul,
    .main-navigation .nav-menu {
      display: none;
    }

    .main-navigation.toggled ul,
    .main-navigation.toggled .nav-menu {
      display: flex;
      flex-direction: column;
      position: fixed;
      top: 3em;
      right: 0;
      background: #fff;
      padding: 1em;
      box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
      z-index: 9999;
      min-width: 200px;
    }

    .main-navigation .nav-menu li {
      padding: 0.5em 0;
    }
  }
}

@media screen and (max-width: 768px) {
  .main-navigation.toggled {
    z-index: 9999 !important;
    position: fixed !important;
  }

  .main-navigation.toggled .nav-menu {
    z-index: 9999 !important;
    position: fixed !important;
  }

  .menu-toggle {
    z-index: 10000 !important;
    position: fixed !important;
  }

  /* Elementorのセクションより上に来るように強制 */
  .elementor-section,
  .elementor-widget,
  .elementor-container,
  .site-main,
  .news-box,
  .site-content,
  .footer,
  .custom-footer {
    position: relative !important;
  }

  /*──────────────────────────
  ハンバーガーメニュー
──────────────────────────*/

  .hamburger {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 58px;
    /* ⬅️ 白背景の幅 */
    height: 58px;
    /* ⬅️ 白背景の高さ */
    background-color: #fffde5;
    /* ⬅️ 白い背景 */
    border-radius: 8px;
    /* ⬅️ 角丸 */
    padding: 8px;
    /* ⬅️ 三本線の周りに余白 */
    border: 2px solid #333;
    /* ⬅️ ここが枠線（太さ・色） */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    /* 中央に寄せる */
    cursor: pointer;
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.1);
    z-index: 10001;
  }


  .hamburger .line {
    width: 100%;
    /* 幅を少し短くして中央に */
    height: 8px;
    background-color: #333;
    border-radius: 4px;
    transition: all 0.3s ease;
  }

  /* Animate to "X" when open */
  .hamburger.open .top {
    transform: translateY(16px) rotate(45deg);
  }

  .hamburger.open .middle {
    opacity: 0;
  }

  .hamburger.open .bottom {
    transform: translateY(-15px) rotate(-45deg);
  }

  #primary-menu.nav-menu {

    /*flex-direction: column;*/
    align-items: center;
    justify-content: flex-end;
    gap: 24px;
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
  }

  body.no-scroll {
  overflow: hidden !important;
  position: fixed !important;

    top: 0;
    width: 100%;
  }

}

/* メニュー本体 */
.main-navigation.toggled .main-nav {
  position: fixed;
  top: 0;
  right: 0;
  width: 75%;
  height: 100%;
  max-height: 100vh;
  overflow-y: auto;
  background: white;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  padding: 60px 20px;
  box-shadow: -2px 0 8px rgba(0, 0, 0, 0.1);
}

/* オーバーレイ：最前面の少し下 */
.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 5000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease-in-out;
}

.main-navigation.toggled+.menu-overlay {
  opacity: 1;
  visibility: visible;
}

.main-navigation.toggled .main-nav {
  z-index: 9999 !important;
  position: fixed !important;
  top: 0;
  right: 0;
  background: #fff !important;
  width: 100%;
  height: 100%;
  max-height: 100vh;
  overflow-y: auto;
  box-shadow: -2px 0 8px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  padding: 60px 20px;
}

.page-id-30 h1,
.page-id-168 h1,
.page-id-32 h1,
.page-id-35 h1 {
  display: none !important;
}

/* ───────────────────────────────────────────────────
   store-card 全体をリンク化している場合の
   下線・色変化消去＋常時 pointer 指マーク化
─────────────────────────────────────────────── */
.store-card {
  text-decoration: none !important;
  /* 下線を消す */
  color: inherit !important;
  /* 色を継承 */
  cursor: pointer !important;
  /* 常に指マーク */
}

/* ホバー・フォーカス時も同じ見た目 */
.store-card:hover,
.store-card:focus {
  text-decoration: none !important;
  color: inherit !important;
}

@media (min-width: 769px) {
  .my-box {
    margin-bottom: 60px;
  }
}

/* ───────────────────────────────────────────────────
   HOME画面の各種ボタン
─────────────────────────────────────────────── */
.button-block {
  display: flex;
  flex-direction: column;
  gap: 25px;
  align-items: center;
  margin: 20px 0;
}

.button-row {
  font-family: 'Noto Sans JP', 'Yu Gothic', 'Hiragino Kaku Gothic ProN', sans-serif;
  display: flex;
  flex-wrap: wrap;
  /* ✅ 残すべき */
  gap: 15px;
  justify-content: center;
}

.custom-button {
  display: inline-flex !important; /* 必要に応じて inline-block でもOK */
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 30px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  font-family: 'Noto Sans JP', sans-serif !important;
  letter-spacing: 0.05em;
  color: white;
  text-align: center;
  text-decoration: none;
  box-shadow: 2px 4px 0 rgba(0, 0, 0, 0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
  min-width: 100px;
  white-space: nowrap;
  position: relative;
  width: auto !important; /* メニュー幅に引っ張られないようにする */
  max-width: 100%;
}

.menu_login_buttons a {
  background-color: #ff5379; /* ピング系 */
  color: white !important;
  padding: 0px 6px !important;
  border-radius: 8px;
  font-weight: bold;
  text-decoration: none;
  display: inline-block;
}
.menu_login_buttons a:hover {
  background-color: #f06292;
  transform: translateY(-2px);
}


/* リストアイテムを中央に揃える */
.login-buttons {
  text-align: center;
  list-style: none;
  margin: 10px 0;
}

.main-nav .login-buttons .custom-button {
  display: inline-block !important;
  width: auto !important;
}


.custom-button.large {
  font-family: 'Noto Sans JP', 'Yu Gothic', 'Hiragino Kaku Gothic ProN', sans-serif !important;
  color: #e0e0e0;
  font-size: 20px;
  padding: 18px 36px;
  min-width: 240px;
}


.custom-button:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 4px 8px 8px rgba(0, 0, 0, 0.4);
  filter: brightness(1.1);
  /* 少し明るく見せる */
}

.custom-button .arrow {
  font-size: 18px;
  line-height: 1;
  margin-left: 5px;
  transition: transform 0.2s ease;
}

.custom-button:hover .arrow {
  transform: translateX(4px);
  /* ← 右へスライド */
}


.custom-button.red {
  background-color: #ff5379;
}

.custom-button.blue {
  background-color: #0073aa;
}

.custom-button.gray {
  background-color: #555;
}
.custom-button.gray:hover {
  color: white !important;
}


.custom-button.red.large {
  font-size: 30px;
  padding: 28px 48px;
  min-width: 320px;
  border-radius: 12px;
}



/* ───────────────────────────────────────────────────
   矢印アニメーション強化版
─────────────────────────────────────────────── */
.arrow-group {
  display: inline-block;
  overflow: hidden;
  width: 1.5em;
  /* 矢印3つ分の幅を制限 */
  white-space: nowrap;
  margin-left: 8px;
  position: relative;
}

.arrow-group .arrow {
  display: inline-block;
  opacity: 0;
  animation: arrowSlide 1.2s infinite;
  font-size: 18px;
  margin-left: 2px;
}

/* 各矢印にディレイを追加してずらす */
.arrow-group .arrow:nth-child(1) {
  animation-delay: 0s;
}

.arrow-group .arrow:nth-child(2) {
  animation-delay: 0.2s;
}

.arrow-group .arrow:nth-child(3) {
  animation-delay: 0.4s;
}

/* ホバー時だけ再生 */
.custom-button .arrow-group .arrow {
  animation-play-state: paused;
}

.custom-button:hover .arrow-group .arrow {
  animation-play-state: running;
}

.arrow-group {
  margin-left: auto;
  /* テキストと矢印の間隔を自動調整 */
}

.custom-button {
  justify-content: space-between;
  /* テキストと矢印を両端に配置 */
}

.arrow-group {
  margin-left: 8px;
  /* 少し余白を空ける */
}

/* アニメーション定義 */
@keyframes arrowSlide {
  0% {
    transform: translateX(0);
    opacity: 0;
  }

  30% {
    opacity: 1;
  }

  100% {
    transform: translateX(8px);
    opacity: 0;
  }
}

@media screen and (max-width: 480px) {
  .custom-button.large {
    font-size: 24px !important;
    padding: 16px 24px !important;
    min-width: 90% !important;
    text-align: center;
    justify-content: center;
  }

  .custom-button {
    font-size: 18px !important;
    padding: 16px 24px !important;
    min-width: 80% !important;
    text-align: center;
    justify-content: center;
  }
}

@media screen and (max-width: 768px) {
  .custom-button .arrow-group .arrow {
    animation-play-state: running !important;
  }
}

/* ───────────────────────────────────────────────────
   利用方法PCとスマホの切り替え用
─────────────────────────────────────────────── */
.pc-view {
  display: block;
}

.sp-view {
  display: none;
}

@media screen and (max-width: 768px) {
  .pc-view {
    display: none;
  }

  .sp-view {
    display: block;
  }
}

@media (max-width: 768px) {
  .how_to-btn-img {
    width: 90%;
    max-width: 300px;
  }
}

.how_to-btn-img {
  width: 100%;
  height: auto;
  display: block;
  cursor: pointer;
}

.how_to-accordion {
  background-color: #fffde5;
  /* タイトル背景と同じ */
  padding: 10px;
  border-radius: 8px;
}

.how_to-use {
  background-color: #ffffff;
  /* 画像の背景に白を敷く */
  padding: 10px 0;
}

.how_to-use-answer {
  background-color: #f9f9f9;
  /* 明るいグレー */
  border-left: 4px solid #337ab7;
}

.how_to-use {
  background-color: #ffffff;
  padding: 8px 0;
  margin-bottom: 10px;
  border-radius: 8px;
}

.how_to-use-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease;
  background-color: #fdfdfd;
  padding: 0 1em;
  margin-bottom: 1em;
  border-left: 4px solid #337ab7;
  border-radius: 0 0 6px 6px;
}

.how_to-accordion {
  padding: 20px;
  margin-bottom: 10px;
  background-color: #fffde5;
  /* 例：背景色を合わせた場合 */
  border-radius: 8px;
}

/* ───────────────────────────────────────────────────
   利用方法スマホ版タイトル
─────────────────────────────────────────────── */
.container {
  max-width: 768px;
  margin: 0 auto;
  padding: 16px;
  margin-bottom: 20px;
  /* フッターとの余白はここで調整！ */
}

.how_to-title {
  text-align: center;
  margin-bottom: 24px;
}

.how_to-title-img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* ───────────────────────────────────────────────────
   利用方法スマホ版詳細関連
─────────────────────────────────────────────── */
.how_to-use-detail {
  margin-top: 16px;
  text-align: center;
}

.how_to-use-detail-button {
  display: inline-block;
  background-color: #d93030;
  /* 赤系 */
  color: #fff;
  padding: 12px 24px; /* ⬅️ ボタンの「高さ・横幅」に直結します */
  font-size: 1rem;    /* ⬅️ 文字サイズ（= ボタンの高さに影響） */
  border-radius: 6px; /* ⬅️ ボタンの角の丸み（見た目だけ） */
  min-width: 200px;   /* ⬅️ 最低幅を指定したい場合に使用（任意） */
  font-weight: bold;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

@media (max-width: 768px) {
  .how_to-use-detail-button {
    width: 100%;
    max-width: 70%;
    padding: 14px 20px;
    font-size: 1rem;
  }
}

.how_to-use-detail-button:hover {
  opacity: 0.8;
}

/* Q&A */
.my-box {
  font-family: 'Noto Sans JP', 'Yu Gothic', 'Hiragino Kaku Gothic ProN', sans-serif;
  position: relative;
  /* 子要素を絶対配置できるように */
  width: 90%;
  /* 全画面幅の 90% */
  max-width: 1140px;
  /* ただし最大 1140px まで */
  height: auto;
  /* 高さは中身に合わせる */
  border: 1px solid #ccc;
  margin: 50px auto;
  /* 上下マージンは任意 */
  padding-top: 30px;
  /* タイトル分のスペースをあける */
  box-sizing: border-box;
  /* padding を含めたサイズ計算 */
  background-color: #fffde5;
}

.box-title {
  font-family: 'Noto Sans JP', 'Yu Gothic', 'Hiragino Kaku Gothic ProN', sans-serif;
  position: absolute;
  top: 0;
  /* BOX の上端と揃える */
  left: 50%;
  /* 水平方向の中央 */
  transform: translateX(-50%) translateY(-50%);
  /* X: 真ん中、Y: タイトル高さの半分分だけ上へ */
  padding: 5px 15px;
  /* 縦横パディング */
  background-color: #fffde5;
  /* タイトル背景 */
  border: 1px solid #888;
  /* タイトル枠線 */
  border-radius: 4px;
  /* 角丸はお好みで */
  font-weight: bold;
  white-space: nowrap;
  /* テキスト折り返し防止 */
}

.box-title {
  font-family: 'Noto Sans JP', 'Yu Gothic', 'Hiragino Kaku Gothic ProN', sans-serif;
  font-size: 24px;
  color: #7f4719;
  padding: 5px 30px;
  transform: translateX(-50%) translateY(-50%);
}

@media (min-width: 768px) {
  .my-box {
    padding: 40px;
  }

  .box-title {
    font-family: 'Noto Sans JP', 'Yu Gothic', 'Hiragino Kaku Gothic ProN', sans-serif;
    font-size: 18px;
    color: #7f4719;
    padding: 5px 30px;
    transform: translateX(-50%) translateY(-50%);
  }
}

@media (min-width: 1024px) {
  .my-box {
    max-width: 1000px;
    /* PC ではもっと広げる */
  }
}

.qa-section-title {
  font-family: 'Noto Sans JP', 'Yu Gothic', 'Hiragino Kaku Gothic ProN', sans-serif;
  font-weight: bold;
  font-size: 1.2em;
  margin-top: 1.5em;
  margin-bottom: 0.5em;
  color: #333;
  border-left: 5px solid #666;
  padding-left: 0.5em;
}

.qa-accordion {
  margin-bottom: 0.5em;
}

.qa-question {
  font-family: 'Noto Sans JP', 'Yu Gothic', 'Hiragino Kaku Gothic ProN', sans-serif;
  background: #f0f0f0;
  cursor: pointer;
  padding: 0.25em;
  font-weight: bold;
  border-radius: 5px 5px 0 0;
  margin: 0;
  color: green;
}

.qa-question.active {
  background: #e0ffe0;
}

.qa-answer {
  font-family: 'Noto Sans JP', 'Yu Gothic', 'Hiragino Kaku Gothic ProN', sans-serif;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  padding: 0 1em;
  margin-bottom: 12px;
  background: #fafafa;
  border-left: 3px solid #ccc;
  border-radius: 0 0 5px 5px;
  font-size: 15px;
  line-height: 1.6;
}

/* スマホだけフォントサイズ少し小さくしたい場合だけ override */
@media screen and (max-width: 768px) {
  .qa-answer {
    font-family: 'Noto Sans JP', 'Yu Gothic', 'Hiragino Kaku Gothic ProN', sans-serif;
    font-size: 15px;
  }
}

.highlight {
  color: red;
  font-weight: bold;
  /* 必要なら太字に */
}

.qa-note {
  font-family: 'Noto Sans JP', 'Yu Gothic', 'Hiragino Kaku Gothic ProN', sans-serif;
  text-align: left;
  font-size: 0.9em;
  color: red;
  margin-top: 1em;
  font-style: italic;
  /* 任意：斜体にして目立たせる */
}

@media screen and (max-width: 768px) {
  .qa-question {
    font-size: 16px;
    padding: 12px 16px;
    line-height: 1.5;
    border-radius: 6px;
    margin-bottom: 4px;
    transition: background 0.3s ease;
  }

  .qa-question:hover {
    background: #e0ffe0;
  }

  .qa-section-title {
    font-size: 18px;
    margin-top: 1.5em;
    margin-bottom: 0.75em;
    padding-left: 10px;
  }

  .qa-note {
    font-size: 14px;
    margin-top: 20px;
  }
}

@media screen and (max-width: 767px) {
  .box-title {
    font-size: 18px;
    padding: 4px 12px;
    max-width: 100%;
    white-space: normal;
    /* 折り返し許可 */
    word-break: break-word;
    /* 長い語句も折り返す */
    text-align: center;
    box-sizing: border-box;
  }
}

/*--------------------------------------------------------------
店舗一覧用
--------------------------------------------------------------*/
  .btn {
    margin: 4px;
    padding: 6px 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    cursor: pointer;
  }

  .btn.active {
    outline: 2px solid #000;
  }

  h4 {
    margin: 12px 0 4px;
    font-weight: bold;
    font-size: 1.1em;
  }

  #region-filters {
    display: flex;
    border-bottom: 2px solid #ccc;
    margin-bottom: 10px;
  }

  #region-filters .region-btn {
    border: none;
    background: #f0f0f0;
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
    margin-right: 4px;
  }

  #region-filters .region-btn.active {
    background: #ffffff;
    border: 2px solid #ccc;
    border-bottom: 2px solid white;
  }

  body,
  button,
  h4 {
    font-family: 'Noto Sans JP', 'Yu Gothic', 'Hiragino Kaku Gothic ProN', sans-serif;
    font-size: 14px;               /* フォントサイズ */
  }
  .cat-title {
  text-align: center;            /* 中央揃え */
  color: #fff;                   /* 文字色：白 */
  padding: 20px 10px;            /* 上下に余白（上下20px, 左右10px） */
  background-color: #333;        /* 背景色（見やすさのため追加。お好みで変更可） */
  box-shadow: 0 4px 8px rgba(0,0,0,0.3); /* 枠影 */
  border-radius: 8px;            /* 角を少し丸める（任意） */
  margin: 20px auto;             /* 上下の外側余白 */
  width: 100%;            /* 必要な幅だけにする（オプション） */
  }


  .cat-0 {
    background-color: #c3ab49;
  }

  .cat-1 {
    background-color: #e67f11;
  }

  .cat-2 {

    background-color: #a2c53d;
  }

  .cat-3 {
    background-color: #2472b2;
  }

  .cat-4 {
    background-color: #1fa03b;
  }

  .cat-5 {
    background-color: #f3c91f;
  }

  .cat-6 {
    background-color: #9e5d9b;
  }

  .cat-7 {
    background-color: #acd8d9;
  }

  .cat-8 {
    background-color: #dab3cf;
  }

  .cat-9 {
    background-color: #da3723;
  }

  .cat-10 {
    background-color: #ccc;
  }

  .cat-11 {
    background-color: #df7598;
  }

  .cat-12 {
    background-color: #2aaeaa;
  }
  
  #shop-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .shop-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  .shop-items {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 12px;
  }

  .shop-box {
    background: #ffffff;
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 12px;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
    font-size: 16px;
  }

  .shop-box a {
    color: #333;
    text-decoration: none;
  }

  .shop-box a:hover {
    text-decoration: underline;
  }

  .shop-box {
    text-align: center;
  }

  .shop-box span,
  .shop-box a {
    color: #333;
    text-decoration: none;
    border: none;
    animation: none;
  }

  #shop-count {
    text-align: right;
    margin: 0 0 10px;
    font-weight: bold;
    font-size: 14px;
  }

  .shop-box a {
    text-decoration: none;
    border: none;
    animation: none;
  }

  .shop-box a {
    text-decoration: none !important;
  }

  .btn {
    margin: 4px;
    padding: 8px 16px;
    border: 1px solid #ccc;
    border-radius: 10px;
    cursor: pointer;
    font-weight: bold;
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
  }

  .btn.active {
    outline: 2px solid #000;
  }

  h4 {
    margin: 16px 0 8px;
    font-weight: bold;
    font-size: 20px;
  }

  #region-filters {
    display: flex;
    border-bottom: 2px solid #ccc;
    margin-bottom: 10px;
  }

  #region-filters .region-btn {
    border: none;
    background: #f0f0f0;
    border-radius: 10px;
    margin-right: 6px;
    font-weight: bold;
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
  }

  #region-filters .region-btn.active {
    background: #ffffff;
    border: 2px solid #ccc;
    border-bottom: 2px solid white;
  }


  .btn:hover,
  .region-btn:hover,
  .category-btn:hover,
  .shop-box:hover {
    box-shadow: 0 0 8px rgba(255, 165, 0, 0.8);
    transition: box-shadow 0.3s ease;
  }

  .btn.active,
  .region-btn.active,
  .category-btn.active {
    background-color: #ffe8b3 !important;
    color: #000 !important;
    box-shadow: 0 0 10px rgba(255, 140, 0, 0.8);
  }

  .shop-box {
    transition: box-shadow 0.3s ease;
  }


  #region-filters .region-btn {
    font-size: 18px;
    padding: 12px 24px;
    min-width: 140px;
  }


  .vertical-label {
    writing-mode: vertical-rl;
    background: #f0f0f0;
    padding: 10px;
    border-radius: 10px;
    font-weight: bold;
    font-size: 16px;
    text-align: center;
    border: 1px solid #ccc;
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    line-height: 1.5;
  }


  @media screen and (max-width: 768px) {
    .vertical-label {
      writing-mode: horizontal-tb;
      font-size: 14px;
      padding: 4px 8px;
      margin-bottom: 4px;
    }

    #region-wrapper,
    #category-wrapper {
      flex-direction: column;
      align-items: flex-start !important;
    }

    #region-filters,
    #category-filters {
      flex-wrap: wrap;
      gap: 6px;
    }

    #shop-count {
      text-align: left;
      margin-top: 10px;
    }

    .btn {
      font-size: 14px;
      padding: 6px 10px;
    }

    .shop-items {
      grid-template-columns: repeat(auto-fill, minmax(100%, 1fr));
    }
  }
  #region-filters .region-btn {
  color: #000 !important;
}

.footer-contact {
  display: flex;
  flex-direction: column; /* PCでもスマホでも2行に */
  gap: 20px;
}

@media (max-width: 768px) {
  .footer-contact {
    flex-direction: column; /* スマホでは縦並びに */
  }
}
/* === 共通スタイル === */
.footer-box {
  max-width: 800px;
  width: 100%;
  margin: 0 auto 20px auto;
  padding: 20px 30px 10px;
  border: 1px solid #4CAF50;
  text-align: center;
  box-sizing: border-box;
  word-break: break-word;
  overflow-wrap: break-word;
}

.footer-box a {
  color: #4CAF50;
  text-decoration: underline;
}

.footer-title {
  background-color: #4CAF50;
  color: white;
  padding: 12px 20px;
  font-size: 1.6em;
  font-weight: bold;
  margin-bottom: 15px;
  border-radius: 6px;
  text-align: center;
}

.footer-support-title {
  font-size: 1.5rem;
  font-weight: bold;
  margin: 10px 0;
  text-align: center;
}

.footer-phone a {
  font-size: 2em;
  font-weight: bold;
  color: #4CAF50;
  text-decoration: underline;
}

.footer-time,
.footer-org,
.footer-address {
  text-align: center;
  margin-bottom: 5px;
  font-size: 0.9rem;
  color: #333;
}

.footer-subtitle {
  color: black;
  font-weight: bold;
  font-size: 12px;
  text-align: center;
  padding: 10px;
  border-radius: 6px;
  margin-bottom: 15px;
}

.footer-org-box {
  text-align: center;
}

.footer-org-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
}

.footer-org-name {
  font-weight: bold;
  font-size: 0.8em;
  color: black;
}

.footer-org-info {
  color: black;
  font-size: 0.9rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.footer-org-info a {
  color: black;
  text-decoration: underline;
}

.footer-legal {
  text-align: center;
  margin-top: 20px;
}

.footer-legal .legal-link {
  font-size: 0.9rem;
  color: #000;
  text-decoration: none;
}

/* === レスポンシブ対応 === */
@media (max-width: 768px) {
  .footer-box {
    max-width: 90vw;
    padding: 16px;
  }

  .footer-title {
    font-size: 1.2rem;
  }

  .footer-phone a {
    font-size: 2rem;
    white-space: nowrap;
  }

  .footer-org-info {
    flex-direction: column;
    text-align: center;
    gap: 4px;
  }

  .footer-org-info a {
    word-break: break-word;
  }

  .footer-org-group {
    padding: 0 10px;
  }
}
.footer-org-inline {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  text-align: center;
  color: #4CAF50;
}

.footer-org-inline a {
  color: #4CAF50;
  text-decoration: underline;
  font-size: 0.85rem;
  word-break: break-word;
}

/* スマホ対応 */
@media (max-width: 768px) {
  .footer-org-inline {
    flex-direction: column;
    gap: 4px;
    line-height: 1.4;
  }
}
.footer-time {
  color: #8B5C32;
}
.footer-org-inline-simple {
  font-size: 0.6rem; /* 小さめ */
  color: #000;        /* 黒色 */
  text-align: center;
  margin-top: 10px;
  white-space: nowrap; /* 強制的に1行表示 */
  overflow: hidden;
  text-overflow: ellipsis;
}

.footer-org-inline-simple a {
  color: #000;
  text-decoration: underline;
  font-size: 0.6rem;
}

.responsive-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.responsive-gallery img {
  width: 100%;
  max-width: 260px;
  height: auto;
  object-fit: cover;
  flex: 1 1 calc(25% - 10px); /* 4列 */
}

@media (max-width: 768px) {
  .responsive-gallery img {
    max-width: 80px;
    flex: 1 1 calc(50% - 10px); /* 2列 */
  }
}

@media (max-width: 480px) {
  .responsive-gallery img {
    flex: 1 1 100%; /* 1列 */
  }
}

.footer-name-info p {
  font-size: 0.6rem; /* 小さめ */
  color: #000;        /* 黒色 */
  text-align: center;
  margin-top: 10px;
  white-space: nowrap; /* 強制的に1行表示 */
  overflow: hidden;
  text-overflow: ellipsis;
}
/*
  MENU
*/
/* ヘッダー全体を横並びにする */
.inside-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* ロゴを左寄せ */
.site-branding {
  flex: 0 0 auto;
}

/* メニューを右寄せ */
.main-navigation {
  flex: 1;
  display: flex;
  justify-content: flex-end;
}

/* メニューリストも横並びに */
.main-navigation .main-nav {
  display: flex;
  align-items: center;
}
#backToTop {
  display: none; /* 初期は非表示 */
  position: fixed;
  bottom: 40px;
  right: 40px;
  z-index: 9999;
  font-size: 24px;
  background-color: #ffb6c1; /* 薄いピンク */
  color: white;
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  cursor: pointer;
  box-shadow: 2px 2px 6px rgba(0,0,0,0.2);
  transition: opacity 0.3s ease;
}

#backToTop:hover {
  background-color: #ff69b4; /* 濃いめのピンク */
}
#scrollToTopBtn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  padding: 12px 16px;
  font-size: 20px;
  border: none;
  border-radius: 50%;
  background-color: #e91e63; /* ピンク系 */
  color: white;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: scale(0.5) rotate(-90deg);
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 1000;
}

#scrollToTopBtn.show {
  animation: rotateIn 0.6s forwards ease;
  visibility: visible;
  opacity: 1;
}

@keyframes rotateIn {
  0% {
    transform: scale(0.5) rotate(-90deg);
    opacity: 0;
  }
  100% {
    transform: scale(1) rotate(0deg);
    opacity: 1;
  }
}
@media (max-width: 768px) {
  .main-navigation.toggled {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh; /* 全画面表示 */
    padding: 0 !important;
    margin: 0 !important;
  }

  .main-navigation.toggled .nav-menu {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    height: 100%; /* 親の高さを継承 */
    margin: 0 !important;
    padding: 0 !important;
  }

  .main-navigation.toggled .nav-menu li {
    margin: 10px 0;
    width: 100%;
    text-align: center !important;
  }

  .main-navigation.toggled .nav-menu li a {
    display: inline-block !important;
    padding: 12px 20px;
    text-align: center !important;
    margin: 0 auto;
  }
}
@media (max-width: 768px) {
  .main-navigation.toggled .nav-menu li a {
    font-size: 24px; /* お好みに応じて調整、例: 20px や 1.2rem */
    font-weight: bold; /* 太字にしたい場合 */
  }
}
@media (max-width: 768px) {
  .main-navigation.toggled .nav-menu li {
    margin: 4px 0; /* 縦の余白（上下）を小さく */
  }

  .main-navigation.toggled .nav-menu li a {
    padding-top: 6px;
    padding-bottom: 6px;
  }

  /* 初期状態：画面外に隠す */
.main-navigation {
  position: fixed;
  top: 0;
  right: -100%; /* 画面外に隠す */
  width: 80%;
  height: 100%;
  background: white;
  transition: right 0.3s ease;
  z-index: 1000;
  padding-top: 60px;
}

/* メニューが開いたとき */
.main-navigation.toggled {
  right: 0;
}

/* オーバーレイ */
.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
}

.menu-overlay.show {
  opacity: 1;
  visibility: visible;
}

}
@media (min-width: 769px) {
  .site-header {
    height: 120px;
  }

  .inside-header {
    min-height: 120px;
    padding-top: 0;
    padding-bottom: 0;
    display: flex;
    align-items: center;
  }

  .main-navigation .nav-menu li a {
    padding-top: 20px;
    padding-bottom: 20px;
    line-height: 1.4;
  }
}
@media screen and (min-width: 769px) and (max-width: 1024px) {
  /* メニュー全体の左右余白を減らす */
  .main-navigation .main-nav ul {
    padding-left: 5px;
    padding-right: 5px;
    gap: 8px; /* 項目間の余白を縮小（通常は16pxなど） */
  }

  /* 各メニューアイテムの左右パディング縮小 */
  .main-navigation .main-nav ul li a {
    padding: 6px 8px;
    font-size: 32px; /* 少し文字サイズを小さく */
    white-space: nowrap; /* 折り返しを防止 */
  }

  /* ログイン・会員登録ボタンの幅調整 */
  .menu_login_buttons a {
    padding: 6px 8px;
    font-size: 13px;
    max-width: 160px;
    text-overflow: ellipsis;
    overflow: hidden;
    display: inline-block;
    white-space: nowrap;
  }

  /* メニュー折返しを防止 */
  .main-navigation .main-nav ul {
    flex-wrap: nowrap;
  }
}

/* === 以下はAIによるメニュー最適化追記 === */

/* === メニュー表示の調整（PC中間幅対応）=== */
@media screen and (min-width: 769px) and (max-width: 1024px) {
  .main-navigation .main-nav ul {
    padding-left: 10px;
    padding-right: 10px;
    gap: 8px;
    flex-wrap: nowrap;
  }

  .main-navigation .main-nav ul li a {
    padding: 4px 8px;
    font-size: 13px;
    white-space: nowrap;
  }

  .menu_login_buttons a {
    padding: 6px 10px;
    font-size: 13px;
    max-width: 140px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

/* === メニュー表示の調整（スマホ・タブレット対応）=== */
@media screen and (max-width: 768px) {
  .main-navigation.toggled {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
  }

  .main-navigation.toggled .nav-menu {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    height: 100%;
  }

  .main-navigation.toggled .nav-menu li {
    margin: 8px 0;
  }

  .main-navigation.toggled .nav-menu li a {
    font-size: 18px;
    padding: 10px 16px;
  }
}
/* === ヘッダーメニュー調整ここから === */
/*
body nav.main-navigation .main-nav > ul > li > a {
  font-size: 16px;
  padding: 0px 10px;
}
*/
/* === ヘッダーメニュー調整ここまで === */

.custom-logo-link,
.custom-logo {
  width: 240px !important;
  height: 48px !important;
}

.custom-logo-link img {
  width: 240px !important;
  height: 48px !important;
  object-fit: contain;
}
/* ========== PC版（1025px以上） ========== */
@media screen and (min-width: 1025px) {
  body nav.main-navigation .main-nav > ul > li > a {
    font-size: 16px;
    padding: 0px 10px;
  }

  .custom-logo-link img {
    width: 240px !important;
    height: auto !important;
  }

  .inside-header {
    min-height: 120px !important;
    padding: 0 32px !important;
  }
}

/* ========== タブレット（769px〜1024px） ========== */
@media screen and (min-width: 769px) and (max-width: 1024px) {
  body nav.main-navigation .main-nav > ul > li > a {
    font-size: 10px;
    padding: 0px 6px;
  }

  .custom-logo-link img {
    width: 200px !important;
    height: auto !important;
  }

  .inside-header {
    min-height: 100px !important;
    padding: 0px 10px !important;
  }
}

/* ========== スマホ（768px以下） ========== */
@media screen and (max-width: 768px) {
  body nav.main-navigation .main-nav > ul > li > a {
    font-size: 18px;
    padding: 12px 0;
    display: block;
    text-align: center;
  }

  .custom-logo-link img {
    width: 160px;
    height: auto;
  }

  .inside-header {
    min-height: 80px;
    padding: 0 16px;
  }
}
/* 共通レイアウト */
.date-box-wrap {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 24px;
  flex-wrap: wrap;
  margin-left: 20px;
}

/* 見出しBOX */
.custom-box {
  padding: 12px 24px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 70px;
  width: 260px; /* 販売・使用開始日に合わせた幅 */
  font-size: 2em;
  font-weight: bold;
  white-space: nowrap;
  text-align: center;
}

/* 色指定 */
.orange-box {
  background-color: #f57c00;
  color: #fff;
}

.white-box {
  background-color: #fff;
  border-radius: 20px;
  color: #2e7d32;
}
.yellow-box {
  background-color: #ffff00;
  border-radius: 20px;
  color: #0e92ca;
}

/* 見出し内テキスト */
.custom-box h3 {
  margin: 0;
  font-size: 1em;
  font-weight: bold;
  letter-spacing: 0.1em;
}

/* 日付共通 */
.date-text {
  font-size: 2em;
  font-weight: bold;
  line-height: 1;
  display: flex;
  align-items: center;
  white-space: nowrap;
}

/* 使用期限の日付（白文字） */
.large-date {
  font-size: 2em;
  font-weight: bold;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  line-height: 1;
}

.large-date .large-green,
.large-date .large-yellow {
  color: #ffff00;
}

/* ===============================
   ▼ レスポンシブ対応（スマホ向け）
   =============================== */
@media screen and (max-width: 768px) {
  .date-box-wrap {
    flex-direction: column;
    align-items: flex-start;
    margin-left: 0;
    gap: 8px;
  }

  .custom-box {
    width: 100%;
    font-size: 1.4em;
    height: auto;
    padding: 10px 16px;
  }

  .date-text,
  .large-date {
    font-size: 6vw;            /* スマホ画面幅に応じて自動拡大 */
    width: 100%;
    white-space: nowrap;       /* ← 折り返しを防ぐ */
    overflow: hidden;          /* はみ出した場合は隠す（必要に応じて） */
    text-overflow: ellipsis;   /* 長すぎる場合「...」で切る（任意） */
    line-height: 1.2;
  }

  .large-date {
    gap: 4px;
  } 
}
.date-box-wrap {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 24px;
  flex-wrap: wrap;

  /* 追加: 全体中央寄せ + 内部左揃え */
  max-width: 800px;      /* 好みで調整可能 */
  margin-left: auto;
  margin-right: auto;
  justify-content: flex-start; /* ← ここが左揃えの要点！ */
}

/* スマホ時は縦並びに変更 */
@media screen and (max-width: 768px) {
  .date-box-wrap {
    flex-direction: column;
    align-items: center;
    margin-left: auto;
    margin-right: auto;
    gap: 8px;
    width: 100%;
  }

  .custom-box,
  .date-text {
    text-align: center;
  }
}

