:root {
  --color-main: #003060;
  --color-bg-blue: #003060;
  --color-bg-lightblue: #d9eef2;
  --color-bg-beige: #cfbfa8;
  --color-bg-perple: #abadc6;
}


/* =========================
  English text style
========================= */
.en {
  font-family: "Noto Serif JP", "游明朝", "Yu Mincho", "YuMincho", serif;
  font-weight: bold;
}

/* =========================
  Scope
========================= */
.spotIng{ 

 }

/* =========================
  Parent Tabs（親タブ）
========================= */
.spotIng__parentTabs{
    background: #6da6b4;
    padding: 0px 0;
}

.spotIng__parentTabButtons{
  display:flex;
  flex-wrap:wrap;
  gap:0;
  justify-content: center;
}

.spotIng__parentTabBtn{
  display:flex;
  flex-direction: row;
  align-items:center;
  justify-content: center;
  gap: 16px;
  padding: 20px 30px;
  position: relative;

  border:none;
  border-right: 1px solid #fff;
  background: transparent;
  cursor:pointer;
  font-size:16px;
  font-weight:700;

  transition: opacity .2s ease;
}

.spotIng__parentTabBtn:last-child{
  border-right: none;
}

.spotIng__parentTabBtn:hover{
  opacity: 0.85;
}

.spotIng__parentTabBtn.is-active{
  /* background: rgba(255, 255, 255, 0.15); */
}

.spotIng__parentTabThumb{
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: #e0e0e0;
  transition: transform .3s ease;
}

.spotIng__parentTabBtn:hover .spotIng__parentTabThumb{
  transform: scale(1.05);
}

.spotIng__parentTabThumb img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.spotIng__parentTabThumb--fallback{
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #d0d0d0 0%, #e0e0e0 100%);
}

.spotIng__parentTabLabel{
  font-weight:700;
  line-height:1.2;
  white-space:nowrap;
  font-size: 18px;
}

.spotIng__parentTabBtn.is-active{
  color: var(--color-main);
}

.spotIng__parentTabBtn.is-active .spotIng__parentTabLabel{
  color: var(--color-main);
}

.spotIng__parentTabIcon{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  background: #fff;
  border-radius: 50%;
  color: var(--color-main);
}

/* =========================
  Child Tabs（子タブ）
========================= */
.spotIng__childTabs{
  position: relative;
  z-index: 0;
  padding: 16px 0 12px;
  background-color: var(--color-bg-blue);
}
.spotIng__childTabs::after{
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 70%;
  background:var(--color-bg-lightblue);
  z-index:-1;
}

.spotIng__childTabButtons{
  display:flex;
  flex-wrap:wrap;
  gap:20px;
}

.spotIng__childTabBtn{
    display: grid;
    width: 100px;
    padding: 0;
    border-radius: 15px;
    text-align: center;
    cursor: pointer;
    transition: transform .05s ease, border-color .15s ease, box-shadow .15s ease;
    background-color: var(--color-bg-lightblue);
}

.spotIng__childTabBtn:hover{
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(0,0,0,.08);
}

.spotIng__childTabBtn.is-active{
   background: transparent; 
   border: 1px solid var(--color-bg-lightblue);
}

.spotIng__childTabBtn.is-active .spotIng__tabLabel{
  color: #fff;
}


.spotIng__noChildTerms{
  text-align: center;
  padding: 20px;
  color: #999;
}

.spotIng__loading{
  text-align: center;
  padding: 20px;
  color: #666;
  font-style: italic;
}

.spotIng__error{
  text-align: center;
  padding: 20px;
  color: #c33;
  font-weight: 600;
}
.spotIng__tabThumb{
    width: 100%;
    height: auto;
    border-radius: 12px 12px 0 0;
    overflow: hidden;
    flex: 0 0 auto;
}
.spotIng__tabThumb img{
  width:100%;
  height:100px;
  object-fit: cover;
  display:block;
}
.spotIng__tabThumb--fallback{
  width:18px;
  height:18px;
  border-radius:999px;
  background: rgba(0,0,0,.18);
}
.spotIng__tabLabel{
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
    display: block;
    padding: 10px 0;
    color: var(--color-bg-blue);
}

/* =========================
  Term intro
========================= */
.spotIng_termIntro_box{
  background-color: var(--color-bg-blue);
  padding: 0 0 50px 0;
}
.spotIngIntro{
  display:grid;
  grid-template-columns:50% 1fr;
  gap:18px;
  align-items:start;
  margin: 14px 0 22px;
}
@media (max-width: 860px){
  .spotIngIntro{ 
    grid-template-columns: 1fr;
    gap: 20px;
  }
.spotIng__childTabButtons{
  gap: 20px;
}
.spotIng__childTabBtn{
  flex: 0 0 calc((100% - 60px) / 4);
}
}
.spotIngIntro__img img{
    width: 100%;
    height: auto;
    display: block;
    border-radius: 14px;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}
.spotIngIntro__title{     
  font-size: 35px;
    text-align: center;
    font-weight: bold;
    color: #fff;
    margin-bottom: 40px;
}
.spotIngIntro__desc{ 
  line-height:1.8; 
  color: #fff;
}

/* =========================
  Grid
========================= */
.spotIng__spots{
  padding: 100px 0;
}
.spotIngGrid{
  display:grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap:16px;
}
@media (max-width: 900px){
  .spotIngGrid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 769px){
  .spotIngGrid{
    grid-template-columns: 1fr 1fr;
    gap: 20px 15px;
  }
}

.spotIngCard__btn{
  width:100%;
  text-align:left;
  border:1px solid #eee;
  border-radius:14px;
  padding:12px;
  background:#fff;
  cursor:pointer;
}
.spotIngCard__thumb img{
  width:100%;
  height:auto;
  display:block;
  border-radius:12px;
}
.spotIngCard__title{ margin:10px 0 0; font-size:16px; }

/* =========================
  Modal base
========================= */
.spotIngModal[aria-hidden="true"]{ display:none; }

.spotIngModal{
  position:fixed;
  inset:0;
  z-index:9999;
}

.spotIngModal__backdrop{
  position:absolute;
  inset:0;
  background:rgba(0,0,0,.55);
}

/* ★パネルを画面中央固定（要望） */
.spotIngModal__panel{
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-height: calc(100vh - 64px);
    overflow: auto;
    background: #fff;
    padding: 150px 70px 50px 70px;
    box-sizing: border-box;
    /* width: min(1140px, calc(100% - 64px)); */
    width: 100%;
}

.spotIngModal__panel .l_container_md{
  position: relative;
}
/* close */
.spotIngModal__close{
  position: absolute;
  top: -80px;
  right: 0;
  left: 0;
  margin: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 8px;
  transition: opacity .15s ease;
}

.spotIngModal__close:hover{
  opacity: 0.7;
}

.spotIngModal__closeIcon{
  width: 28px;
  height: 28px;
  fill: var(--color-main);
  stroke: var(--color-main);
  stroke-width: 0.5;
}

.spotIngModal__closeLabel{
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--color-main);
}

/* 旧の丸ナビは使わない（競合防止） */
.spotIngModal__nav{ display:none !important; }

/* =========================
  Prev / Next (attached-like)
  ※HTMLで #spotIngPrev / #spotIngNext に
    class="spotIngNav spotIngNav--prev" 等が付く前提
========================= */
.spotIngNav{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:10px;

  background:transparent;
  border:0;
  padding:0;
  cursor:pointer;

  /* panelの外に出したい場合 */
  z-index: 2;
}

.spotIngNav--prev{ left:-100px; }
.spotIngNav--next{ right:-100px; }
/* 左向き（PREV） */
.spotIngNav--prev .spotIngNav__svg{
  transform: scaleX(-1);
}

@media (max-width: 980px){
  /* 画面が狭いときは外に出すと切れるので内側へ */
  .spotIngNav--prev{ left: 12px; }
  .spotIngNav--next{ right: 12px; }
}

.spotIngNav__pill{
  width:72px;
  height:36px;
  border-radius:999px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:var(--color-bg-blue);
}

.spotIngNav__svg{
  width:18px;
  height:18px;
  fill:#fff;
}

.spotIngNav__svg.is-prev{ transform:rotate(180deg); }
.spotIngNav__svg.is-next{ transform:none; }

.spotIngNav__label{
  font-size:12px;
  letter-spacing:.12em;
  font-weight:700;
  color:var(--color-main);
}

.spotIngNav:disabled{
  opacity:.35;
  cursor:default;
}

/* =========================
  Modal layout (attached-like)
========================= */
.mWrap { padding: 10px 20px 10px; }

.mHead { margin-bottom: 14px; }
.mCatch { font-size: 12px; letter-spacing: .06em; opacity: .75; margin-bottom: 20px; color: var(--color-main);}

.mTitleLine {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}

.mNames { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; color: var(--color-main);}
.mTerm { font-weight: 700; color: var(--color-main);}
.mStore { font-size: 26px; font-weight: 800; color: var(--color-main);}
.mKana { font-size: 12px; opacity: .75; color: var(--color-main);}

.mTel__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-weight: 700;
  color: var(--color-main);
  font-size: 20px;
}

.mTel__link::before{
  content: "";
  display: inline-block;
  width: 24px;
  height: 24px;
  background-color: var(--color-main);
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M20.01 15.38c-1.23 0-2.42-.2-3.53-.56-.35-.12-.74-.03-1.01.24l-1.57 1.97c-2.83-1.35-5.48-3.9-6.89-6.83l1.95-1.66c.27-.28.35-.67.24-1.02-.37-1.11-.56-2.3-.56-3.53 0-.54-.45-.99-.99-.99H4.19C3.65 3 3 3.24 3 3.99 3 13.28 10.73 21 20.01 21c.71 0 .99-.63.99-1.18v-3.45c0-.54-.45-.99-.99-.99z'/%3E%3C/svg%3E");
  mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cpath d='M20.01 15.38c-1.23 0-2.42-.2-3.53-.56-.35-.12-.74-.03-1.01.24l-1.57 1.97c-2.83-1.35-5.48-3.9-6.89-6.83l1.95-1.66c.27-.28.35-.67.24-1.02-.37-1.11-.56-2.3-.56-3.53 0-.54-.45-.99-.99-.99H4.19C3.65 3 3 3.24 3 3.99 3 13.28 10.73 21 20.01 21c.71 0 .99-.63.99-1.18v-3.45c0-.54-.45-.99-.99-.99z'/%3E%3C/svg%3E");
  -webkit-mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  flex-shrink: 0;
}

/* main body */
.mBody {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 18px;
  align-items: start;
}
@media (max-width: 860px){
  .mBody{ 
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

/* left images */
.mMain img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 6px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.mThumbs{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 10px;
}

.mThumb{
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.mThumb img{
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
  opacity: .85;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.mThumb.is-active img{
  opacity: 1;
  outline: 2px solid rgba(0,0,0,.2);
  outline-offset: 2px;
}

/* Footer: links + sns (下部に幅100%で表示) */
.mFoot{
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 20px;
  padding: 20px 0;
  margin-top: 20px;
}
@media (max-width: 860px){
  .mFoot{
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }
}

.mFoot__links{
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}

.mFootLink{
  text-decoration: none;
  position: relative;
  padding-left: 14px;
}
/* .mFootLink::before{
  content: "—";
  position: absolute;
  left: 0;
  top: 0;
  opacity: .7;
} */

.mFoot__sns{
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.mSnsIcon{
  width: 50px;
  height: 50px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  background: #1e3a5f;
  color: #fff;
  transition: transform .15s ease, opacity .15s ease;
}

.mSnsIcon svg{
  width: 24px;
  height: 24px;
  /* fill: currentColor; */
  fill: #fff;
}

.mSnsIcon:hover{
  transform: scale(1.05);
  opacity: 0.85;
}

/* right */
.mDesc { margin-bottom: 14px; line-height: 1.7; }

.mSpec { border-top: 1px solid rgba(0,0,0,.08); }

/* ★mRow/mSpecはこのモーダルの見た目に統一（旧mRowと競合しないようここに寄せる） */
.mRow{
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(0,0,0,.08);
}
.mRow__th{ font-weight: 700; opacity: .75; }

/* =========================
  Old ingredient block classes (念のため残す)
  ※JSが mIng__subBtn 等を使う場合の保険
========================= */
.mIng__subs { display:flex; gap:10px; flex-wrap:wrap; }
.mIng__subBtn { border:0; padding:0; background:transparent; cursor:pointer; border-radius:10px; overflow:hidden; }
.mIng__subBtn.is-active { outline:2px solid currentColor; outline-offset:2px; }
.mIng__subBtn img { display:block; width:110px; height:auto; }

/* ===== spotIng Intro CTA button (design match) ===== */

.spotIngIntro__cta{
  margin-top: 28px;
  display: flex;
  justify-content: center;
}

.spotIngIntro__btn{
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 10px 25px 10px 35px;
    border-radius: 999px;
    background: #ffffff;
    color: var(--color-main);
    font-weight: 700;
    font-size: 14px;
    letter-spacing: .02em;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(0, 0, 0, .18);
    transition: transform .15s ease, box-shadow .15s ease;
}

.spotIngIntro__btn:hover{
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(0,0,0,.22);
}

/* 右側の丸アイコン */
.spotIngIntro__btnIcon{
  width: 40px;
  height: 20px;
  border-radius: 999px;

  background: var(--color-main);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

/* ▶ アイコン */
.spotIngIntro__btnIcon svg{
  width: 20px;
  height: 20px;
  fill: #ffffff;
}

/* 一覧カード：スクショ寄せ */
.spotIngCard__btn{
  width:100%;
  text-align:left;
  border:0;
  background:transparent;
  padding:0;
}

.spotIngCard{
  border-radius:14px;
  overflow:hidden;
}

.spotIngCard__thumb{
  border-radius:14px;
  overflow:hidden;
  border:1px solid #eee;
  background:#f3f3f3;
}
.spotIngCard__thumb img{
  width:100%;
  height:auto;
  display:block;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.spotIngCard__meta{
  padding:10px 2px 0;
}

.spotIngCard__catch{
  font-size:14px;
  line-height:1.6;
  opacity:.8;
  margin-bottom:10px;
  color: var(--color-main);
}

.spotIngCard__term{
  font-weight:700;
  margin-bottom:2px;
  font-size: 20px;
  color: var(--color-main);
}

.spotIngCard__name{
  font-weight:700;
  font-size: 20px;
  color: var(--color-main);
}

.spotIngCard__more{
  margin-top:15px;
}
.spotIngCard__more::before{

}



.spotIng_main{
  position: relative;
}
.spotIng_main:after{
  content:"";
  position:absolute;
  left:0; right:0; bottom:0;
  height: 45%;
  background:var(--color-bg-lightblue);
  z-index:-1;
}
.spotIng_page .spotIng_main .flex-box .flex-item.lead_text_box{
  width: 60%;
}

.spotIng_title-box{
  text-align: center;
  margin-bottom: 30px;
}
.spotIng_title-box img{
    max-width: 100px;
    margin-bottom: 10px;
}
.spotIng_title-box h1{
  font-size: 30px;
  font-weight: bold;
}
.spotIng_page .flex-box{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
}
.spotIng_page .flex-box .flex-item.lead_title_box{
  width: 40%;
}
.spotIng_page .flex-box .flex-item.lead_text_box{
  width: 55%;
}
.spotIng_page .lead_title_box img{
    max-width: 130px;
    margin-bottom: 10px;
}
.spotIng_page .flex-box .flex-item.lead_title_box h2{
    color: #fff;
    font-size: 30px;
    font-weight: bold;
}

.spotIng_intro{
  padding: 60px 0;
}



.spotIng_footer_section{
  position: relative;
  overflow: hidden;
  z-index: 0;
}

.spotIng_footer_section_01{
  background-color: var(--color-bg-beige);
}
.spotIng_footer_section_02{
  background-color: var(--color-bg-perple);
}

.spotIng_footer_section_content{
  position: relative;
  z-index: 1;
}
.spotIng_footer_section_01 .flex-item.lead_title_box{
  text-align: right;
}
.spotIng_page .spotIng_footer_section_01 img.spotIng_footer_section_icon{
  max-width: 180px;
}
.spotIng_footer_section_01 .spotIng_footer_section_content{
  margin-right: 0;
  margin-left: auto;
  padding: 50px 0 50px 10%;
}
.spotIng_footer_section_01 .spotIng_footer_section_content::after{
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: calc(50vw + 50%);
  background: #fff;
  z-index: -1;
}
.spotIng_page .spotIng_footer_section_02 img.spotIng_footer_section_icon{
  max-width: 300px;
}
.spotIng_footer_section_02 .spotIng_footer_section_content{
  margin-right: auto;
  margin-left: 0;
  padding: 50px 10% 50px 0;
}
.spotIng_footer_section_02 .spotIng_footer_section_content::after{
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  width: calc(50vw + 50%);
  background: #fff;
  z-index: -1;
}
.spotIng_footer_section_content_img_box{
  width: 50%;
}
.spotIng_footer_section_content_text{
  width: 45%;
  position: relative;
}
.spotIng_footer_section .spotIng_footer_section_content h3{
    font-size: 30px;
    font-weight: bold;
    margin-bottom: 40px;
}
.spotIng_footer_section_01 .spotIng_footer_section_content h3{
  color: var(--color-bg-beige);
}
.spotIng_footer_section_02 .spotIng_footer_section_content h3{
  color: var(--color-bg-perple);
}
.spotIng_footer_section_content .flex-box{
  align-items: stretch;
}
.spotIng_footer_section_content_text a{
  position: absolute;
  bottom: 0;
  left: 0;

}
.moreLink{
  display: inline-block;
  position: relative;
  padding-left: 22px;
  padding-bottom: 14px;
  padding-right: 60px;
  color: var(--color-main);
  text-decoration: none;
  letter-spacing: .02em;
}
.moreLink::before{
  content: "";
  position: absolute;
  left: 0;
  top: .45em;
  width: 0;
  height: 0;
  border-left: 10px solid var(--color-main);
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
}

.moreLink::after{
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--color-main);
}

/* hover（任意） */
.moreLink:hover{
  opacity: .85;
}

@media (max-width: 769px){
.spotIng_page .flex-box{
  flex-direction: column;
}
.spotIng_page .flex-box .flex-item.lead_title_box,
.spotIng_page .spotIng_main .flex-box .flex-item.lead_text_box{
  width: 100%;
}
.spotIng_page .flex-box .flex-item.lead_title_box{
  margin-bottom: 30px;
}
.spotIng_main:after{
  height: 75%;
}

.spotIng__parentTabButtons{
    flex-direction: column;
    gap: 0;
}

.spotIng__parentTabBtn{
    width: 100%;
    padding: 15px 20px;
    gap: 12px;
    border-right: none;
    border-bottom: 1px solid #fff;
}

.spotIng__parentTabBtn:last-child{
    border-bottom: none;
}

.spotIng__parentTabThumb{
    width: 60px;
    height: 60px;
}

.spotIng__parentTabLabel{
    font-size: 16px;
    flex: 1;
    text-align: left;
}

.spotIng__parentTabIcon{
    width: 20px;
    height: 20px;
}

.spotIng__parentTabIcon svg{
    width: 16px;
    height: 16px;
}
.spotIng__spots{
  padding: 20px 0;
}
.spotIngCard__term{
  font-size: 16px;;
}
.spotIngCard__name{
  font-size: 18px;;
}

/* モーダルウィンドウのスタイル */
.spotIngModal__panel{
  padding: 140px 20px 60px 20px;
}
.mTitleLine{
  display: block;
}
.mNames{
  margin-bottom: 15px;
}
.spotIngNav {
    top: -40px;
}

.spotIng_page .flex-box .flex-item.lead_text_box,
.spotIng_footer_section_content_img_box,
.spotIng_footer_section_content_text{
  width: 100%;
}
.spotIng_page .flex-box .flex-item.lead_title_box{
  order: 1;
}
.spotIng_page .flex-box .flex-item.lead_text_box{
  order: 2;
}
.spotIng_footer_section_content_img_box{
  margin-bottom: 20px;
}
.spotIng_footer_section_content_text a {
    position: relative;
    margin-top: 30px;
}


}