/* === MENU Section 統合分 === */

/* コンテナ幅統一設定 */
#menu .ptl-section__inner {
  max-width: var(--ptl-container-max, 1200px);
  padding-left: var(--ptl-container-pad, 20px);
  padding-right: var(--ptl-container-pad, 20px);
  margin: 0 auto;
  box-sizing: border-box;
}

#menu .ptlMenu__content {
  display: flex;
  flex-direction: column;
  gap: 40px;
}
#menu .ptlMenu__main {
  width: 100%;
}
#menu .ptlMenu__mainContent {
  display: flex;
  background: rgba(255, 255, 255, 0.25);
  border: 1px solid rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
  border-radius: 12px;
  overflow: hidden;
}
#menu .ptlMenu__mainLink {
  display: flex;
  flex-direction: row-reverse;
  text-decoration: none;
  color: inherit;
  width: 100%;
  height: 100%;
}
#menu .ptlMenu__mainImage {
  width: 60%;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

#menu .ptlMenu__mainImage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}
#menu .ptlMenu__mainContent:hover .ptlMenu__mainImage img {
  transform: scale(1.1);
}
#menu .ptlMenu__mainText {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 50px;
  background: transparent;
}
#menu .ptlMenu__mainTitle {
  font-size: clamp(14px, 1.4vw, 16px);
  font-weight: 600;
  color: #fff;
  margin: 0 0 15px 0;
  line-height: 1.3;
  text-align: center;
  letter-spacing: .08em;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}
#menu .ptlMenu__mainDesc {
  font-size: clamp(14px, 1.2vw, 15px);
  font-weight: 300;
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.65;
  margin: 0 0 20px 0;
  text-align: center;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}
#menu .ptlMenu__mainCta {
  display: inline-block;
  padding: 0;
  background: transparent;
  color: #007bff;
  border: none;
  border-radius: 0;
  font-size: 1rem;
  font-weight: 600;
  text-transform: none;
  letter-spacing: normal;
  transition: color 0.3s ease;
  text-decoration: underline;
}
#menu .ptlMenu__mainCta:hover {
  color: #0056b3;
}
#menu .ptlMenu__sub {
  width: 100%;
}
#menu .ptlMenu__subGrid {
  display: flex;
  gap: 25px;
}
#menu .ptlMenu__subItem {
  flex: 1;
  background: transparent;
  border-radius: 0;
  overflow: visible;
}
#menu .ptlMenu__subLink {
  position: relative;
  display: block;
  padding: 20px 12px;
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  text-decoration: none;
  border-radius: 12px;
  overflow: hidden;
}
#menu .ptlMenu__subImage {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  margin-bottom: 12px;
  border-radius: 8px;
}
#menu .ptlMenu__subImage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
#menu .ptlMenu__subItem:hover .ptlMenu__subImage img {
  transform: scale(1.1);
}
#menu .ptlMenu__subTitle {
  position: absolute;
  bottom: 12px;
  left: 12px;
  display: inline-block;
  padding: 5px 35px 5px 10px;
  background: rgba(255, 255, 255, 0.95);
  font-size: clamp(14px, 1.4vw, 16px);
  font-weight: 600;
  color: #333;
  margin: 0;
}

#menu .ptlMenu__subTitle::after {
  content: '>';
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1em;
  font-weight: 600;
  color: #333;
}
#menu .ptlMenu__more {
  text-align: center;
  margin-top: 50px;
}
#menu .ptlMenu__moreBtn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  color: #fff;
  border-radius: 30px;
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: all 0.3s ease;
}
#menu .ptlMenu__moreBtn:hover {
  transform: translateY(-2px);
  color: #fff;
  text-decoration: none;
}
#menu .ptlMenu__moreLabel {
  font-weight: 600;
}
#menu .ptlMenu__moreArrow {
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}
#menu .ptlMenu__moreBtn:hover .ptlMenu__moreArrow {
  transform: translateX(5px);
}
#menu .ptlMenuHero__boxTitle {
  /* ナビの .ptlNavHero__label に寄せる（clamp(13px,1.4vw,16px) 相当をh要素向けに少し大きめ） */
  font-size: clamp(13px, 1.4vw, 16px);
  font-weight: 600;
  color: #333;
  text-align: center;
  /* 余白を詰める */
  margin-top: 10px;
  margin-bottom: 6px;
  letter-spacing: .08em;
}

#menu .ptlMenuHero__boxDesc {
  font-size: clamp(13px, 1.2vw, 15px);
  font-weight: 300;
  color: #333;
  line-height: 1.65;
  margin-top: 4px;
  margin-bottom: 0;
  text-align: center;
}
/* コミットメントセクション（Reasons）のスタイル */
.ptlMenuHero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: transparent;
  --ptl-heading-size: clamp(22px, 2.8vw, 28px);
  --ptl-subtitle-size: clamp(16px, 2vw, 18px);
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  margin-top: 0;
  margin-bottom: 80px; /* セクション間余白 */
  min-height: auto; /* 固定高さ削除: コンテンツベースに変更 */
}

/* .ptlMenuHero.is-translucent は PC版で25%ガラス調を使用するため削除 */

.ptlMenuHero.has-bg {
  color: #fff;
}

.ptlMenuHero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: transparent;
  transform-origin: center center;
}

.ptlMenuHero__video,
.ptlMenuHero__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  transform-origin: center center;
}

.ptlMenuHero__video {
  object-fit: cover;
}

.ptlMenuHero__image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform-origin: center center;
}

.ptlMenuHero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, var(--overlay, .2));
}

.ptlMenuHero .ptl-section__inner {
  position: relative;
  z-index: 1;
  padding-top: 0; /* セクション上余白は削除（margin-topで管理） */
  padding-bottom: 0; /* セクション下余白はmargin-bottomで管理 */
}

/* h2スタイルはstyle.cssで統一管理 */

.ptlMenuHero__grid {
  list-style: none;
  margin: clamp(32px, 3vw, 56px) auto 0;
  padding: 0;
  display: grid;
  row-gap: clamp(40px, 4.6vw, 80px);
  column-gap: clamp(16px, 2vw, 24px);
  grid-template-columns: repeat(2, 1fr);
}

#menu .ptlMenuHero__btn {
  display: grid;
  grid-template-rows: auto auto;
  /* 全体の行間隔を詰める */
  row-gap: 8px;
  justify-items: center;
  color: #333;
  background: rgba(255, 255, 255, 0.25);
  border: 1px solid rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  border-radius: 10px;
  /* 内側の余白をやや減らす */
  padding: clamp(16px, 2vw, 24px) clamp(14px, 1.8vw, 20px);
  min-height: 170px;
  /* 見出しのみ太字にするため、コンテナでの太字指定はしない */
  font-weight: 400;
  letter-spacing: .02em;
  transition: transform .25s ease;
}

#menu .ptlMenuHero__btn:hover {
  transform: translateY(-2px);
}

#menu .ptlMenuHero__icon {
  /* 写真カードとしてフル幅表示 */
  width: 100%;
  /* 画像下の余白を詰める */
  margin: 0 0 8px;
  display: block;
  padding: 0;
}

#menu .ptlMenuHero__icon svg,
#menu .ptlMenuHero__icon img {
  width: 100%;
  display: block;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
}

.ptlMenuHero__label {
  font-size: 16px;
  font-weight: 600;
  color: #333;
  text-align: center;
}

/* ファイル末尾 */
#menu .ptlMenu__mainImage img {
  width: 100%;
  display: block;
  object-fit: cover;
  /* 最小260px ↔ 最大420px。足りない場合は420→440に調整 */
  height: clamp(260px, 35vw, 420px);
  max-height: none;
  min-height: 260px;
}

#menu .ptlMenu__mainTitle {
  margin-bottom: 28px; /* 既存24px→28px */
}

#menu .ptlMenu__mainDesc {
  margin-top: 4px; /* 既存0→4px */
}

/* FIX: 左メイン画像の縦量を確保してカバー表示 */
#menu .ptlMenu__main .ptlMenu__mainContent { display: flex; flex-direction: column; }
#menu .ptlMenu__main .ptlMenu__mainContent .ptlMenu__mainLink { display: flex; flex-direction: column; height: 100%; }
#menu .ptlMenu__main .ptlMenu__mainContent .ptlMenu__mainLink .ptlMenu__mainImage{ max-width:none; width:100%; flex: 0 0 68%; margin-bottom: 0; }
#menu .ptlMenu__main .ptlMenu__mainContent .ptlMenu__mainLink .ptlMenu__mainImage img{ width:100%; height:100%; object-fit:cover; display:block; }
#menu .ptlMenu__main .ptlMenu__mainContent .ptlMenu__mainLink .ptlMenu__mainText { flex: 0 0 32%; padding-top: 12px; }

/* ========================================
   セクション余白（独自管理）
======================================== */
#menu {
    margin-top: 0;
    margin-bottom: 80px;
}

