@charset "utf-8";

html {
  scroll-padding-top: 84px;
}

/* 共通 */
.br800,
.br605,
.br450,
.br400 {
  display: none !important;
}

section {
  position: relative;
}


section#item {
  z-index: 3;
}

/* 見出し */
h1 {
  background: transparent;
  line-height: 0;
  font-size: 0;
}

h1 img {
  width: 100%;
  max-width: 1800px;
  height: auto;
  display: block;
  margin: 0 auto;
}

h2 {
  text-align: center;
  position: absolute;
  top: clamp(-130px, -10vw, -90px);
  left: 50%;
  transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  background-color: transparent;
  color: transparent;
  padding: 0;
  border-radius: 0;
  font-size: 0;
  font-weight: bold;
  letter-spacing: 0;
  white-space: nowrap;
  box-shadow: none;
  border: none;
  z-index: 5;
}

h2 img {
  display: block;
  max-width: min(429px, 100%);
  min-width: 180px;
  width: 100%;
  margin: 0 auto;
}

h3 img {
  max-width: 18.2rem;
  margin: 0 auto;
}

.x-heading img,
.schedule__online-heading img {
  max-width: min(445px, 100%);
  width: 100%;
  margin: 0 auto;
  display: inline-block;
}

/* ONLINE SHOPタイトル画像：サイドライン + 中央ロゴ（Figma再現） */
.schedule__title-line-wrap {
  display: flex;
  align-items: center;
  width: 100%;
  margin: 0 0 2rem;
}

.schedule__online-center-icon {
  flex-shrink: 0;
  height: clamp(40px, 6vw, 80px);
  width: auto;
  margin: 0 1.5rem;
}

/* Xタイトル画像：中央揃え・適切なサイズ制限 */
.schedule__title-x-wrap {
  width: 100%;
  margin: 0 0 2rem;
  text-align: center;
}

.schedule__title-x {
  display: inline-block;
  width: auto;
  height: auto;
  max-width: min(500px, 85%);
  max-height: 120px;
  object-fit: contain;
}

p,
dl,
dt,
dd {
  font-size: clamp(14px, 2vw, 23px);
  letter-spacing: 0.21px;
  line-height: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 600;
}

.note__list {
  padding-top: 1.5rem;
  font-size: clamp(12px, 2vw, 18px);
  letter-spacing: 0.14px;
  line-height: 1.5em;
  text-indent: -1em;
  padding-left: 1em;
  width: 90%;
  text-align: left;
}

.note__list-item:not(:last-child) {
  margin-bottom: 0.5rem;
}

/* 背景 */
article.bg-railgun {
  background: url("../images/0_bg1.webp") repeat, #92DEFF;
  /* 一番下、ドットブルー背景 */
  background-size: auto;
  z-index: 0;
  position: relative;
  padding: 5.8334% 0 0;
  max-width: 1800px;
  margin: 0 auto;
}

article.bg-railgun>section.bg-area-yellow {
  background: url("../images/0_bg2.webp") repeat, transparent;
  background-size: 400px;
}

/* 開催概要 背景（KV直下から雲まで白） */
#gaiyo {
  background: #FFFFFF;
  margin-top: -5.8334%;
  padding-top: 8.8334%;
  position: relative;
}

#gaiyo::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -36%;
  width: 100%;
  height: 500px;
  /* 雲の高さに合わせる */
  background: url('../images/1_summary_bg.webp') no-repeat bottom center;
  background-size: cover;
  z-index: -1;
}


/* スケジュール・物販特典はframe2の枠なので、タイトルの位置を枠上端に合わせる */
#schedule h2,
#tokuten h2 {
  top: -180px;
  /* 円形ロゴ（約200px）が枠の上に出るように */
}

.gaiyo__frame {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  padding: 12rem 2rem 2rem;
  border-style: solid;
  border-width: 35px;
  border-image-source: url(../images/0_frame.webp);
  border-image-slice: 35 fill;
  border-image-repeat: round;
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.2);
  background:
    url("../images/1_summary_bg.webp") center bottom / 100% auto no-repeat,
    transparent;
}

/* ダイヤ型背景ラッパー */
.bg-area-diamond {
  background: url("../images/0_bg2.webp") repeat, transparent;
  background-size: 300px;
  position: relative;
  z-index: 1;
}

/* 開催日程 背景 */
#schedule {
  background: transparent;
}



#item .contentB {
  padding: 10rem 0 5rem;
}



/* テキスト */
.gaiyo__text,
.gaiyo__benefits-text {
  text-align: center;
  margin: 0 auto;
}

.gaiyo__text {
  padding: 2rem 0;
  max-width: 820px;
}

.gaiyo__benefits-text {
  padding-bottom: 1.5rem;
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

.gaiyo__menu-image {
  padding-bottom: 2rem;
  text-align: center;
}

.gaiyo__image--menu {
  max-width: 700px;
  width: 100%;
}

.gaiyo__image--benefits {
  max-width: 700px;
  width: 100%;
}

.allergy-list {
  text-align: center;
}

.allergy-list-highlight {
  font-weight: 600;
  color: #e85b4b;
}


/* メニュー画像（未確認画像）のプレースホルダー */
#menu .gaiyo__image--menu {
  min-height: 200px;
  background-color: #cccccc;
}

/* メニュー 価格 */
.menu__price-box {
  text-align: center;
  margin: 1.5rem auto;
}

.menu__item-name {
  font-size: clamp(16px, 2vw, 24px);
  font-weight: 700;
  color: #17323e;
}

/* 特典ブロック */
.tokuten-block {
  text-align: center;
}

.tokuten-sub-heading {
  font-size: clamp(18px, 2vw, 26px);
  font-weight: 700;
  color: #17323e;
  text-align: center;
  margin-bottom: 1.5rem;
  padding: 0.5rem 2rem;
  border-bottom: 3px solid #17323e;
  display: inline-block;
}

/* schedule */
.schedule__content-details {
  margin: 0 auto;
  margin-bottom: 5em;
}

.schedule__details {
  margin: 0 auto;
}

.schedule__online-heading {
  text-align: center;
  font-size: 0;
  margin: 0 auto 1.5rem;
  padding: 2rem 0 0;
}

.subsection-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 700;
  color: #17323e;
  margin: 0 auto 1.5rem;
  padding: 1rem 0;
}

.subsection-title::before,
.subsection-title::after {
  content: "";
  display: block;
  width: 100px;
  /* Reduced width to fit on mobile */
  height: 20px;
  background: url(../images/0_line.webp) center/contain no-repeat;
}

@media screen and (min-width: 768px) {

  .subsection-title::before,
  .subsection-title::after {
    width: 250px;
  }
}

.schedule__online-details {
  padding: 1rem 0 0;
}

.schedule__item,
.schedule__online-item {
  display: flex;
  align-items: center;
  /* Fix for broken layout: align to top */
  margin-bottom: 2rem;
}

.schedule__item-title {
  font-size: clamp(14px, 2vw, 24px);
  width: 30%;
  max-width: 280px;
  text-align: center;
  padding: 0.5rem 2rem;
  margin-right: 1rem;
  background-image: url("../images/object/4_schedule_ribon1.svg");
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-color: transparent !important;
  color: #FFFFFF !important;
  border-radius: 0 !important;
  border-image-source: none !important;
  white-space: nowrap;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 700;
  line-height: clamp(1.5rem, 2vw, 2rem);
}

.or-schedule__item-title {
  font-size: clamp(14px, 2vw, 24px);
  width: 30%;
  max-width: 280px;
  text-align: center;
  padding: 0.5rem 2rem;
  margin-right: 1rem;
  background-image: url("../images/object/4_schedule_ribon2.svg");
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-color: transparent !important;
  color: #FFFFFF !important;
  border-radius: 0 !important;
  border-image-source: none !important;
  white-space: nowrap;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 700;
  line-height: clamp(1.5rem, 2vw, 2rem);
}

.schedule__item-title img {
  width: auto;
  max-width: clamp(18px, 3vw, 36px);
  height: auto;
  display: block;
  flex-shrink: 0;
}

.schedule__item-text {
  text-align: left;
  width: 70%;
  padding-left: 1rem;
}

.address_small {
  font-size: clamp(14px, 2vw, 20px);
}

.common__promo {
  text-align: center;
  margin: 0 auto;
}

.schedule__bold {
  font-weight: 600;
}

.schedule__large {
  font-size: clamp(14px, 2.2vw, 30px);
  letter-spacing: 0.25px;
  line-height: clamp(1.5rem, 2.2vw, 3.5rem);
}

.schedule__online-banner {
  width: 90%;
  margin: 0 auto 2rem;
}

.schedule__image--banner {
  width: 100%;
  max-width: 400px;
  display: block;
  margin: 0 auto;
}

/* オンラインショップバナー：全幅表示 */
.schedule__image--banner--full {
  width: 100%;
  max-width: 700px;
  display: block;
  margin: 0 auto;
  border-radius: 8px;
}

/* 公式X 区切り：SVGラインを全幅表示 + Xロゴを上に重ねる */
.schedule__x-sep {
  position: relative;
  width: 100%;
  margin: 0 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.schedule__image--line {
  width: 100%;
  height: auto;
  display: block;
}

.schedule__image--x-logo {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: clamp(28px, 4vw, 56px);
  height: auto;
  display: block;
}

.schedule__link {
  color: #e85b4b;
}

/* ⑧ X — font-size/line-height を除去して二重表示バグを修正 */
#X {
  position: relative;
  background: #FFF;
  padding: 1.3rem 0;
  text-align: center;
}

.x-text {
  padding: 2.5rem 0 0;
  margin-bottom: 1.5rem;
  font-size: clamp(14px, 2vw, 22px);
  font-weight: 600;
  line-height: 2rem;
}

.x__content-wrapper {
  text-align: center;
}

.x-follow-box {
  display: inline-block;
  width: 90%;
  margin: 0 auto 1rem;
  padding: 1.5rem 2.5rem;
}

.schedule__x-link {
  color: #e85b4b;
  font-weight: 700;
}

/* tokuten */
.tokuten__content-details {
  margin: 0 auto;
}

.tokuten__details {
  text-align: center;
}

/* item */
#item ul.item__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.25rem 1.666%;
  width: 100%;
  margin: 0 auto;
}

#item li {
  width: 23.75%;
  /* 4 columns precisely calculating gap width */
  margin-bottom: 1.25rem;
  background-color: #FFFFFF;
  border-radius: 12px;
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

#item li img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.item__text {
  width: 100%;
  flex-grow: 1;
  /*padding: 5% 5% 8%;*/
  position: relative;
  display: flex;
  flex-direction: column;
}

.item__text p {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 600;
  font-style: normal;
  text-align: center;
  font-size: clamp(12px, 2vw, 14px);
  letter-spacing: 0;
  line-height: 1.375rem;
}

.condition {
  padding: 3% 5%;
  color: #fff;
  background-color: #e85b4b;
  /* 限定数のカラーを赤系に変更 */
  border-radius: 0;
  /* 角丸に */
  text-align: center;
  font-size: clamp(10px, 1.5vw, 13px);
  line-height: 1.4;
  white-space: pre-wrap;
  margin-bottom: 0.5rem;
}

.senkou {
  color: #e85b4b;
  font-weight: 700;
  font-size: clamp(10px, 1.5vw, 14px) !important;
  text-align: center;
  margin-top: auto;
}

.itemname_box {
  margin: 0.75rem auto;
  font-size: 1rem;
}

dl.price-box {
  font-weight: 600;
  font-style: normal;
  display: flex;
  flex-wrap: wrap;
  margin: auto auto 0;
  padding: 0;
  width: 100%;
}

.price-box dt {
  width: 45%;
  text-align: left;
  line-height: 1.4rem;
  white-space: nowrap;
  /* 価格表示改行禁止 */
}

.price-box dd {
  width: 55%;
  text-align: right;
  line-height: 1.4rem;
}

.item__text .rprice {
  font-size: 1rem;
  white-space: nowrap;
  /* ⑬ 価格改行禁止 */
}

.item__text .ryomoku,
.item__text .rprice span,
.item__text .price span {
  font-size: clamp(0.65rem, 2vw, 0.875rem);
}

.item__text .price {
  width: 100%;
  font-size: 1.1rem;
  text-align: center;
  margin-top: auto;
  font-weight: 600;
  white-space: nowrap;
  /* ⑬ 価格改行禁止 */
}



.notes__content-details {
  max-width: 920px;
  margin: 0 auto;
  position: relative;
}

#notes li {
  text-indent: -1em;
  padding-left: 1em;
}

.attention__list {
  color: #17323e;
  font-size: clamp(12px, 2vw, 18px);
  font-weight: 600;
  letter-spacing: 0.14px;
  line-height: 1.5rem;
}

.attention__list-item:not(:last-child) {
  margin-bottom: 1rem;
}

/* ⑭ NOTE 装飾鳥 — Figma座標に基づく位置固定 */
.note-obj {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.note-tori1,
.note-tori2,
.note-tori3,
.note-tori4,
.note-tori5 {
  position: absolute;
  width: auto;
  height: auto;
}

.note-tori1 {
  /* 左上：フレーム外左上の青エリア（max-width:1800px相当でキャップ） */
  top: -12%;
  right: 9.5vw;
  max-width: 3vw;
  min-width: 30px;
}

.note-tori2 {
  /* 右上：フレーム外右上の青エリア */
  top: 3%;
  left: 8vw;
  max-width: 4vw;
  min-width: 26px;
}

.note-tori3 {
  /* 右中央：フレーム外右の青エリア */
  top: 45%;
  right: max(-15vw, -270px);
  max-width: 5vw;
  min-width: 30px;
}

.note-tori4 {
  /* 左下目：フレーム外左の青エリア */
  top: 65%;
  left: max(-15vw, -270px);
  max-width: 4vw;
  min-width: 26px;
}

.note-tori5 {
  /* 右下：フレーム外右下の青エリア */
  bottom: -7%;
  right: max(-15vw, 0px);
  max-width: 6vw;
  min-width: 28px;
  z-index: 2;
}

/* ⑭ GAIYO 装飾カモメ6羽 — 開催概要フレーム装飾 */
.gaiyo-obj {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 5;
}

.gaiyo-obj img {
  position: absolute;
  width: auto;
  height: auto;
}

.gaiyo-tori1 {
  /* タイトル右上 */
  top: 8%;
  right: 26%;
  max-width: 5vw;
  min-width: 30px;
}

.gaiyo-tori2 {
  /* タイトル左上 */
  top: 8%;
  left: 28%;
  max-width: 4vw;
  min-width: 26px;
}

.gaiyo-tori3 {
  /* 右側セクション上下中央 */
  top: 45%;
  right: 2%;
  max-width: 5vw;
  min-width: 30px;
}

.gaiyo-tori4 {
  /* 左側セクション下目 */
  top: 73%;
  left: 5%;
  max-width: 4vw;
  min-width: 26px;
}

.gaiyo-tori5 {
  /* フレームborder下線上に重ねる（border-width: 35px） */
  position: absolute;
  bottom: -60px;
  right: 0%;
  max-width: 4.5vw;
  min-width: 28px;
  z-index: 2;
}

/* ⑪ セクション境界ライン — 背景切り替えの上に重ねる */
.section-line {
  width: 100%;
  text-align: center;
  line-height: 0;
  font-size: 0;
  overflow: visible;
  position: relative;
  z-index: 5;
  max-width: 1800px;
  margin: -6vw auto -6vw;
  /* 上下セクションの上に引っかかる */
}

.section-line img {
  width: 100%;
  height: auto;
  display: block;
}

/* footer */


/* 雲画像：フッター上部に重ねる */
article.bg-railgun::after {
  content: "";
  display: block;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 27.78vw;
  /* 500/1800 × 100vw */
  background: url("../images/7_note_bg.webp") center bottom / 100% auto no-repeat;
  z-index: -1;
  pointer-events: none;
}

.copyright {
  background-color: #1F6D8E;
  text-align: center;
  font-weight: 500;
  font-style: normal;
  font-size: clamp(10px, 1.2vw, 16px);
  color: #FFFFFF;
  padding: 1rem 1rem;
  width: 100%;
  margin: 0 auto;
  white-space: nowrap;
  position: relative;
  z-index: 4;
  /* 雲画像（z-index:3）の上に表示 */
}

/* TOPへ戻る */
.top1 {
  text-align: center;
  padding: 2rem 0;
}

#top img {
  max-width: 110px;
  width: 100%;
  filter: drop-shadow(0px 2px 6px rgba(0, 0, 0, 0.35));
  transition: transform 0.2s ease;
}

#top img:hover {
  transform: scale(1.08);
}

#top {
  position: fixed;
  bottom: 7%;
  z-index: 9999; /* 最前面 */
  right: max(1vw, calc(50.5% - 900px)); /* calc負値による消失を防止 */
}

#top a {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 0;
}

/* 装飾オブジェクト */
.obj {
  position: absolute;
}

.obj img {
  width: 100%;
  height: auto;
  display: block;
}

.obj1 {
  bottom: -20px;
  right: -50px;
  width: 120px;
  max-width: 15%;
  z-index: 6;
}

.obj2 {
  top: 20px;
  right: -40px;
  width: 100px;
  max-width: 15%;
  z-index: 6;
}

.obj3 {
  bottom: 20px;
  left: -50px;
  width: 100px;
  max-width: 15%;
  z-index: 6;
}

.obj4 {
  top: -30px;
  left: -40px;
  width: 120px;
  max-width: 15%;
  z-index: 6;
}

.obj-menu1 {
  /* 魚：フレーム左上borderに被さる */
  top: -5%;
  left: clamp(10px, 1.5vw, 25px);
  max-width: 12%;
  min-width: 60px;
  z-index: 6;
}

.obj-menu3 {
  /* 巻貝：フレーム右側border 上から35% */
  top: 35%;
  right: -65px;
  max-width: 8%;
  min-width: 50px;
  z-index: 6;
}

.obj-menu4 {
  /* ホタテ貝：フレーム左側border 上下中央 */
  top: 50%;
  left: -67px;
  transform: translateY(-50%);
  max-width: 8%;
  min-width: 50px;
  z-index: 6;
}

.obj-menu5 {
  /* ホタテ貝（大）：フレーム下線右下 */
  bottom: -66px;
  right: 0;
  max-width: 12%;
  min-width: 60px;
  z-index: 6;
}

/* 飲食・物販特典のobj-menu5はobj大きめ */
#food-tokuten .obj-menu5,
#tokuten .obj-menu5 {
  max-width: 25%;
  right: -70px;
}

/* 物販特典（border 121px）オブジェクト個別調整 */
#tokuten .obj-menu1 {
  top: -18%;
  left: -15px;
}
#tokuten .obj-menu3 {
  top: 35%;
  right: -145px;
}
#tokuten .obj-menu4 {
  top: 65%;
  left: -150px;
}
#tokuten .obj-menu5 {
  bottom: -170px;
  right: -150px;
}

/* 商品カード（animateme）の影収く削除 */
.animateme {
  box-shadow: none !important;
  filter: none;
}

/* 特典テキスト装飾 */
.tokuten__promo-box {
  display: inline-block;
  background-color: #0D9BB2;
  /* Figma: bg-red */
  color: #fff;
  font-weight: 700;
  padding: 0 0.8em;
  border-radius: 2px;
  margin-right: 0.3em;
}

.or_tokuten__promo-box {
  display: inline-block;
  background-color: #E85B4B;
  color: #fff;
  font-weight: 700;
  padding: 0 0.8em;
  border-radius: 2px;
  margin-right: 0.3em;
}

/* オンライン通販ボックス */
.online-notice-box {
  width: 90%;
  margin: 0 auto 3rem;
  padding: 2.5rem 3rem;
  background-color: #f7fed1;
  border: 3px solid #17323e;
  text-align: center;
  line-height: 1.75rem;
}

.online-notice-title {
  font-size: clamp(16px, 2vw, 22px);
  font-weight: 700;
  text-align: center;
  background-color: #e85b4b;
  color: #fff;
  padding: 0.5rem 2rem;
  border-radius: 0;
  display: inline-block;
  margin-bottom: 1rem;
}

.online-notice-list {
  text-align: center;
  width: 90%;
  margin: 0 auto;
  padding-top: 0;
}

/* ランチョンマット配布スケジュール 新デザイン */
.lunchmat-notice-container {
  margin: 0 auto;
  position: relative;
  background-color: transparent;
}

.lunchmat-top-text {
  background-color: #E85B4B;
  color: #fff;
  padding: 1.5rem 2rem;
  border-radius: 12px 12px 0 0;
  text-align: center;
  position: relative;
  font-weight: 700;
  font-size: clamp(14px, 2vw, 18px);
}

.highlight-yellow {
  background-color: #FFE600;
  color: #17323e;
  padding: 0.2rem 0.5rem;
  font-weight: bold;
}

.check-badge {
  position: absolute;
  top: -3.5vw;
  right: -0.8vw;
  width: clamp(60px, 15vw, 275px);
  aspect-ratio: 276 / 156;
  background-image: url('../images/check.svg');
  background-size: contain;
  background-repeat: no-repeat;
  background-color: transparent;
  color: transparent;
  font-size: 0;
  padding: 0;
  border: none;
  border-radius: 0;
  box-shadow: none;
  transform: none;
  z-index: 2;
}

.lunchmat-schedule-box {
  background-color: #FBFBDC;
  border: 0.5px solid #E85B4B;
  padding: 6rem 1rem 3rem;
  position: relative;
  margin-top: -0.5%;
  /* pull up slightly under the red header */
}

.lunchmat-schedule-title {
  position: absolute;
  top: 2rem;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 0;
  font-weight: 700;
  font-size: clamp(14px, 2vw, 24px);
  width: max-content;
  max-width: 90%;
  text-align: center;
  padding: 0.5rem 3rem;
  white-space: nowrap;
  background-image: url("../images/object/4_schedule_ribon2.svg");
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-color: transparent !important;
  color: #FFFFFF !important;
}

.lunchmat-schedule-grid {
  width: 100%;
  margin-top: 1.5rem;
}

.lunchmat-schedule-grid ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.6rem 1rem;
  width: 100%;
}

.lunchmat-schedule-grid li {
  border-radius: 8px;
  padding: 0.5rem 0.75rem;
  text-align: left;
  font-size: clamp(13px, 1.5vw, 18px);
  color: #17323e;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.no_haihu-sche {
  border-radius: 90px;
  border: 1px solid #A0A087;
  background: #FFF;
  font-size: clamp(13px, 1.8vw, 20px);
  font-style: normal;
  font-weight: 700;
  line-height: 180%;
  /* 36px */
  letter-spacing: 0.4px;
  padding: 0 0.5em;
  justify-content: center;
  align-items: center;
}

/* X タイトル：両サイドライン + 中央ロゴ（Figma再現） */
.schedule__title-x-full-wrap {
  display: flex;
  align-items: center;
  width: 100%;
  margin: 0 0 2rem;
}

.schedule__x-side-line {
  flex: 1;
  height: 42px;
  background: url('../images/4_schedule_line.svg') repeat-x center left / auto 100%;
  min-width: 0;
}

.schedule__x-center-icon {
  flex-shrink: 0;
  height: 60px;
  width: auto;
  margin: 0 1.5rem;
}

/* X Section 新デザイン */
.x-section-container {
  margin: 0 auto;
  text-align: center;
}

.x-section-inner {
  padding: 2rem 0;
}

.x-title-lines {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.x-red-lines {
  height: 24px;
  flex-grow: 1;
  /* 4本の赤い罫線を再現 */
  background-image: repeating-linear-gradient(to bottom, #E85B4B, #E85B4B 3px, transparent 3px, transparent 6px);
}

.schedule__image--x-logo {
  height: 40px;
  width: auto;
}

.x-text {
  font-weight: bold;
  color: #17323e;
  display: inline-block;
  padding: 0.5rem 2rem;
}

.x-follow-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.x-follow-label {
  color: #17323e;
  font-weight: bold;
}

.x-follow-button {
  display: flex;
  width: min(446px, 90%);
  height: auto;
  padding: clamp(12px, 2.5vw, 32px) clamp(16px, 3.5vw, 42px);
  justify-content: center;
  align-items: center;
  gap: clamp(12px, 2.5vw, 42px);
  border-radius: 99px;
  border: 1px solid #E85B4B;
  background: #FFFFDB;
  box-shadow: 0 6px 0 0 #E85B4B;
  font-size: clamp(13px, 2vw, 18px);
  transition: all 0.3s ease;
}

.x-follow-button:hover {
  background-color: #E85B4B;
  color: #fff;
}

.x-follow-arrow {
  font-weight: bold;
}

/* ============================================
   Responsive
============================================ */
@media screen and (max-width: 1200px) {
  #top {
    right: 1%;
  }
}

@media screen and (max-width: 960px) {

  .contentA,
  .contentB {
    padding: 8rem 3rem 4rem;
  }

  #item li {
    width: calc(33.333% - 1rem);
  }

  .schedule__details {
    width: 100%;
  }

  .schedule__item-title {
    width: 40%;
  }
}

@media screen and (max-width: 768px) {
  html {
    scroll-padding-top: 0;
  }

  .br605 {
    display: inline !important;
  }

  section#menu,
  section#food-tokuten,
  section#schedule,
  section#tokuten,
  section#item,
  section#notes {
    padding-top: 10%;
  }

  .contentA,
  .contentB {
    padding: 6rem 1.5rem 3rem;
    margin-top: 4em;
  }

  h2 img {
    max-width: min(294px, 79%);
  }

  /* h2 top: コンテナ別に個別設定 */
  /* 開催概要フレーム (border: 20px at 768px) */
  .gaiyo__frame h2 { top: -63px; }
  /* contentA section (border: 35px固定) */
  .contentA section h2 { top: -70px; }
  /* contentB #schedule/#tokuten (border: 50px at 768px) */
  #schedule h2, #tokuten h2 { top: -95px; }

  #item li {
    width: calc(50% - 0.625rem);
  }

  /* SP時: 商品価格のテキスト被り解消 (狭い幅でも収まるようフォントと幅を調整) */
  .price-box dt {
    width: 53%;
    letter-spacing: -0.05em;
  }
  .price-box dd {
    width: 47%;
    letter-spacing: -0.05em;
  }
  .item__text .ryomoku,
  .item__text .rprice span,
  .item__text .price span {
    font-size: clamp(9px, 2.2vw, 11px);
    letter-spacing: -0.05em;
  }
  .item__text .rprice,
  .item__text .price {
    font-size: clamp(12px, 3vw, 14px);
    letter-spacing: -0.05em;
  }

  .schedule__item {
    flex-direction: column;
    align-items: flex-start;
  }

  .schedule__item-title {
    width: 100%;
  }

  #top {
    right: 2%;
    bottom: 5%;
  }

  #top img {
    max-width: 80px;
  }

  .obj1,
  .obj2,
  .obj3,
  .obj4,
  .obj-menu1,
  .obj-menu3,
  .obj-menu4,
  .obj-menu5,
  .note-obj,
  .gaiyo-obj,
  .gaiyo-tori5 {
    display: none;
  }
}

@media screen and (max-width: 480px) {
  .br450 {
    display: inline !important;
  }

  #item li {
    width: calc(50% - 0.625rem);
  }

  .online-notice-box {
    padding: 1.5rem;
  }
}

/* ============================================================
   背景エリア・フレーム 構成変更
   ※ #gaiyo / article.bg-railgun::after / .gaiyo__frame は触らない
   ============================================================ */




/* --- contentB : ダイヤ柄背景エリア（枠なし） --- */
.contentB {
  background: url("../images/0_bg2.webp") repeat, #cbeeff;
  background-size: auto;
  border: none;
  border-image: none;
  max-width: 100%;
  padding: 2rem 0 6rem;
}

/* --- contentA 内の section : 0_frame.webp フレーム --- */
.contentA section {
  width: 100%;
  max-width: 1200px;
  margin: 12.875em auto 0;
  position: relative;
  padding: 12rem 4rem 4rem;
  border-style: solid;
  border-width: 35px;
  border-image-source: url(../images/0_frame.webp);
  border-image-slice: 35 fill;
  border-image-repeat: round;
  background-color: transparent;
}

/* --- contentB 内の section : 0_frame2.webp フレーム --- */
.contentB section {
  width: 100%;
  max-width: 1200px;
  margin: 6.875em auto 12.875em;
  position: relative;
  padding: 8rem 0 0;
  border-style: solid;
  border-width: 121px;
  border-image-source: url("../images/0_frame2.webp");
  border-image-slice: 121 fill;
  border-image-repeat: round;
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.2);
  background-color: transparent;
}

/* schedule / tokuten の見出しはframe2が太いので上方向を大きく */
.contentB section #schedule h2,
.contentB section #tokuten h2,
#schedule h2,
#tokuten h2 {
  top: clamp(-200px, -15vw, -80px);
  /* clamp: 1333px→-200px(最大値), 480px以下→-80px(最小値) */
}

/* 商品セクションのpadding調整 */
.contentA section#item {
  padding: 10rem 2rem 5rem;
}

/* --- レスポンシブ上書き --- */
@media screen and (max-width: 960px) {

  .contentA,
  .contentB {
    padding: 1rem 0;
  }

  .contentA section,
  .contentB section {
    padding: 12rem 0rem 4rem;
  }
}

@media screen and (max-width: 768px) {

  .contentA,
  .contentB {
    padding: 0.5rem 0;
    margin-top: 0;
  }

  .contentA section {
    padding: 4rem 0 0 !important;
    margin-top: 4em;
  }

  .contentB section {
    padding: 4rem 0 0 !important;
    margin-top: 4em;
  }
}

/* ============================================================
   セクション間スペーシング調整
   ============================================================ */

/* contentA */
.contentA {
  margin: 24rem 0 7rem;
}

.contentB {
  margin: 24rem 0 0;
}

/* contentB 直前の section-line との重なり調整 */
.section-line+.contentB,
.section-line+.contentA {
  margin-top: 0;
}

/* contentA 内の最後の section は下余白を余裕を持たせる */
.contentA section:last-child {
  margin-bottom: 4rem;
}

/* contentB 内の最後の section も同様 */
.contentB section:last-child {
  margin-bottom: 4rem;
}

/* ページ末尾（2つ目のcontentA）は footer の雲と繋がるので下余白を確保 */
.contentA:last-of-type section:last-child {
  margin-bottom: 6rem;
}

/* section-line 位置調整 */
.section-line {
  margin: -1rem 0;
}

/* ============================================================
   コンテンツ配置・セクション内調整
   ============================================================ */

/* schedule 内の最後のブロック（Xセクション）の下余白を詰める */
#schedule .schedule__content-details:last-child {
  margin-bottom: 0;
}

/* Xテキストボックスを中央揃えに統一 */
.x-text {
  display: block;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* X セクション内部を縦揃え中央 */
.x-section-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* ONLINE SHOP バナー：フル幅・角丸なし */
.schedule__image--banner--full {
  border-radius: 0;
  max-width: 100%;
}

/* オンラインショップ バナーラッパーも全幅に */
.schedule__online-banner {
  width: 100%;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* schedule__item の最終アイテムは下余白を減らす */
.schedule__item:last-child,
.schedule__online-item:last-child {
  margin-bottom: 0;
}

/* ============================================================
   MENU セクション開始位置修正
   #gaiyo::after の雲（height:500px, bottom:-36%）が contentA 内約198px
   まで伸びるため、MENU フレームが雲より下に出るよう margin-top を調整
   ============================================================ */
section#menu {
  margin-top: 13rem;
  /* ~208px: 雲の下端198px + 余裕 */
}

/* ============================================================
   飲食特典 特典画像を中央寄せ
   ============================================================ */
.gaiyo__benefits-image {
  text-align: center;
  margin: 2rem auto;
  max-width: 700px;
}

.gaiyo__benefits-image img,
.gaiyo__image--benefits {
  display: block;
  margin: 0 auto;
}

/* ============================================================
   SP レスポンシブ 総合対応
   ============================================================ */

/* ─── 960px ─── */
@media screen and (max-width: 960px) {

  /* contentA/B 上余白を24remから現実的なサイズへ */
  .contentA { margin: 8% 0 4%; }
  .contentB { margin: 8% 0 0; }
  .section-line + .contentB,
  .section-line + .contentA { margin-top: 0; }

  /* contentB border縮小 */
  .contentB section {
    border-width: 80px;
    border-image-slice: 80 fill;
  }


  /* gaiyo cloudを高さ固定→可変に */
  #gaiyo::after {
    height: 30vw;
    bottom: -20%;
  }

  /* menu section 上余白 */
  section#menu { margin-top: 6rem; }

  /* section-line の重なりをvwで */
  .section-line { margin: -3vw 0; }
}

/* ─── 768px ─── */
@media screen and (max-width: 768px) {

  /* gaiyo-tori5 非表示（.gaiyo-obj外のため個別指定） */
  .gaiyo-tori5 { display: none; }

  /* KV衝突防止: gaiyoの負marginを解消しpaddingでh2用スペース確保 */
  #gaiyo {
    margin-top: 0;
    padding-top: 15%;
    background: #fff; /* KVとの隙間を白に */
  }

  /* article の上部padding除去でKV→gaiyoの青背景隙間を解消 */
  article.bg-railgun { padding: 0; }

  /* contentA/B 余白をさらに縮小 */
  .contentA { margin: 7% 0 4%; }
  .contentB { margin: 7% 0 0; }
  .section-line + .contentB,
  .section-line + .contentA { margin-top: 0; }

  /* section-line */
  .section-line { margin: -2vw 0; }

  /* gaiyo cloud SP */
  #gaiyo::after {
    height: 20vw;
    bottom: -10%;
  }

  /* gaiyo frame border縮小 */
  .gaiyo__frame {
    border-width: 20px;
    border-image-slice: 20 fill;
    padding: 4rem 4% 2rem;
  }

  /* Menu section 上余白を大幅削減（雲と重なり防止） */
  section#menu { margin-top: 2rem; }

  /* contentA section 余白 — padding-topでh2用スペース確保 */
  .contentA section { margin-top: 4.5em; padding-top: 4rem; }

  /* 商品セクション: PC専用の10remに代わり共通4remを使用 */
  .contentA section#item { padding-top: 4rem !important; }

  /* 配布スケジュール: 2列→1列 */
  .lunchmat-schedule-grid ul {
    grid-template-columns: 1fr;
  }

  /* 配布スケジュールli: 自然なflex-row（1行表示）を維持 */
  .lunchmat-schedule-grid li {
    flex-wrap: wrap;
    gap: 0.3rem;
  }

  /* 配布スケジュールボックス: SP時はpadding縮小 */
  .lunchmat-schedule-box {
    padding: 4rem 0 1.5rem;
  }

  /* 配布スケジュールタイトル: SP時はfont-sizeのみ調整（widthはautoを継続） */
  .lunchmat-schedule-title {
    font-size: clamp(13px, 4vw, 22px);
    padding: 0.5rem 2rem;
  }

  /* contentB border縮小 */
  .contentB section {
    border-width: 50px;
    border-image-slice: 50 fill;
    padding: 5rem 0 0;
    margin-top: 4.5em;
    margin-bottom:0;
  }

  /* h2 img 幅: 全セクション共通値 */

  /* ONLINE SHOP / subsection-title 横幅オーバー防止 */
  .subsection-title {
    gap: 0.5rem;
    font-size: clamp(13px, 4vw, 22px);
    flex-wrap: nowrap;
    overflow: hidden;
  }
  .subsection-title::before,
  .subsection-title::after {
    width: 12vw;
    min-width: 16px;
    flex-shrink: 1;
  }

  /* スケジュール・配布スケジュール → 1列縦積み */
  .schedule__item,
  .schedule__online-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  .schedule__item-title,
  .or-schedule__item-title {
    width: 100%;
    max-width: 100%;
    margin-right: 0;
    margin-bottom: 0.25rem;
    white-space: normal;
  }
  .schedule__item-text {
    width: 100%;
    padding-left: 0;
    padding-top: 0.25rem;
    text-align: center;
  }

  /* or-schedule も縦積み */
  .or-schedule__item-title {
    background-size: 100% 100%;
    padding: 0.4rem 1rem;
  }
}

/* ─── 480px ─── */
@media screen and (max-width: 480px) {

  /* contentA/B さらに詰める */
  .contentA { margin: 3% 0 2%; }
  .contentB { margin: 3% 0 0; }

  /* gaiyo cloud さらに縮小 */
  #gaiyo::after {
    height: 15vw;
    bottom: -5%;
  }

  /* h2 top: コンテナ別 (480px) */
  .gaiyo__frame h2 { top: -45px; } /* border: 15px */
  .contentA section h2 { top: -65px; } /* border: 35px (変化なし) */
  #schedule h2, #tokuten h2 { top: -65px; } /* border: 40px */

  /* contentB section */
  .contentB section {
    border-width: 40px;
    border-image-slice: 40 fill;
    padding: 4rem 3% 1.5rem;
  }


  /* gaiyo frame */
  .gaiyo__frame {
    border-width: 15px;
    border-image-slice: 15 fill;
    padding: 3.5rem 3% 1.5rem;
  }

  /* section-line */
  .section-line { margin: -1.5vw 0; }
}

/* ─── 384px ─── */
@media screen and (max-width: 384px) {

  /* contentB border 最小 */
  .contentB section {
    border-width: 25px;
    padding: 3rem 3% 1.5rem;
  }


  /* gaiyo frame 最小 */
  .gaiyo__frame {
    border-width: 12px;
    border-image-slice: 12 fill;
    padding: 3rem 3% 1.5rem;
  }

  /* h2 top: コンテナ別 (384px) */
  .gaiyo__frame h2 { top: -45px; } /* border: 12px */
  .contentA section h2 { top: -65px; } /* border: 35px */
  #schedule h2, #tokuten h2 { top: -60px; } /* border: 25px */

  /* テキスト */
  .gaiyo__text,
  .gaiyo__benefits-text,
  .attention__list {
    font-size: clamp(11px, 3.4vw, 13px);
    line-height: 1.8;
  }

  /* subsection-title */
  .subsection-title {
    font-size: clamp(12px, 3.5vw, 18px);
    gap: 4px;
  }
  .subsection-title::before,
  .subsection-title::after {
    width: 8vw;
    min-width: 10px;
  }
}