/*
 * MSCL /mscl/index.html
 * 共通トークン・.mscl-* ベースは ../css/style.css（MSCL ブロック）を利用。
 * ここでは定期便ページ（contact-teikibin/teikibin.html）と揃えたトップ帯・
 * Webflow タブ内レイアウト・3列画像・Let's talk 吹き出しのみを追加する。
 */

.pc_none {
  display: none;
}
.sp_none {
  display: block;
}
@media screen and (min-width: 700px) {
  .pc_none {
    display: block;
  }
  .sp_none {
    display: none;
  }
}
 .section.mscl {
  background: #b8daea;
  background-position: 50%;
  background-size: cover;
  height: auto;
  padding: 120px 0 180px;
  min-height: 700px;
}
 .tabs-menu{
  margin: 0 auto;

 }
 .logo-mscl{
  max-width: 450px;
  padding: 0 20px;
  width: 100%;
  margin: 0 auto;
 }
 .hero-img{
  width: 100%;
    max-width: 920px;
    margin-left: auto;
    margin-right: auto;
    padding-top: 20px;
    padding-bottom: 0;
    display: block;
 }
 .heading-mscl {
   font-size: 56px;
   font-weight: 600;
   color: #044d8e;
 }
.heading-mscl h1 {
  font-size: 36px;
  font-weight: 600;
  color: #044d8e;
  text-align: center;
  margin-top: 40px;
  line-height: 1.2;
}
.heading-mscl p{
  font-size: 18px;
  font-weight: 600;
  color: #044d8e;
  text-align: center;
  margin: 20px auto 0;
  line-height: 1.6;
}
.tabs-menu-title {
 margin: -130px auto -3px;
 color: #044d8e;
 z-index: 999;
 position: relative;
 padding-bottom: 10px;
}
.tabs-menu-title h2{
 font-size: 28px;
 font-weight: 600;
 color: #044d8e;
}
.tabs-menu-title p{
 font-size: 20px;
 font-weight: 600;
 color: #044d8e;
}
@media (min-width: 768px) {
  .heading-mscl h1{
    font-size: 56px;
  }
}
/* ----- トップ帯：.section.teikibin（kontakuto.webflow.css）＋ MSCL 用タイトル枠 ----- */
.mscl-teikibin-top .mscl-teikibin-titlevisual {
  max-width: min(36rem, 92vw);
  margin: 0 auto 0.75rem;
}

.mscl-teikibin-top .mscl-teikibin-titleph {
  min-height: 4.5rem;
  border-radius: 0.75rem;
  font-size: 0.8125rem;
}

.mscl-teikibin-top .mscl-teikibin-hint {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.6875rem;
  font-weight: 600;
  opacity: 0.85;
}

@media (min-width: 768px) {
  .mscl-teikibin-top .mscl-teikibin-titleph {
    min-height: 5.5rem;
    font-size: 0.875rem;
  }
}

/* おすすめ商品：タブ下の余白（定期便の .whitebg 内） */
.mscl-product-wtabs {
  width: 100%;
}

.mscl-product-tabpad {
  padding: 1.25rem 1rem 1.75rem;
}

@media (min-width: 768px) {
  .mscl-product-tabpad {
    padding: 1.75rem 1.5rem 2rem;
  }
}

.mscl-product-tabs-lead {
  text-align: center;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gray-600, #4b5563);
  line-height: 1.65;
  margin: -0.5rem 0 1.25rem;
  max-width: 40rem;
  margin-left: auto;
  margin-right: auto;
}

/* ----- お悩みCTA（タブ直下）：白箱＋ゴールド枠・行ごと点線 ----- */
main{background: #efeeee;}
.mscl-nayami-wrap{
  max-width: 1020px;
  margin: 0 auto;
}
.mscl-nayami-box {
  --mscl-nayami-gold: #c4a56d;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  max-width: min(36rem, calc(100vw - 2rem));
  margin: 0.75rem auto 1rem;
  padding: 0.9rem 0.65rem;
  box-sizing: border-box;
  background: #fff;
  border: 2px solid var(--mscl-nayami-gold);
  text-align: center;
}

.mscl-nayami-box__line {
  display: inline-block;
  max-width: 100%;
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: 0.02em;
  color: var(--mscl-nayami-gold);
  padding-bottom: 0.35rem;
  border-bottom: 1px dashed var(--mscl-nayami-gold);
}


@media (min-width: 768px) {
  .mscl-nayami-box {
    gap: 0.85rem;
    margin: 1rem auto 1.25rem;
    padding: 1.35rem 1.75rem;
  }

  .mscl-nayami-box__line {
    font-size: 2rem;
    padding-bottom: 0.45rem;
  }
}

/* ----- おすすめ商品：3枚（PC 3列 / SP 縦） ----- */
.mscl-product-tri-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
  margin: 0 0 1.75rem;
}

@media (min-width: 900px) {
  .mscl-product-tri-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.125rem;
  }
}

.mscl-tri-card {
  margin: 0;
  padding: 0;
  background: #fff;
  border: 1px solid var(--gray-200, #e5e7eb);
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.mscl-tri-ph {
  min-height: 140px;
  border-radius: 0;
  border: none;
  font-size: 0.75rem;
}

@media (min-width: 768px) {
  .mscl-tri-ph {
    min-height: 160px;
  }
}

.mscl-tri-cap {
  padding: 0.65rem 0.85rem 0.85rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--gray-700, #374151);
  line-height: 1.55;
}

@media (min-width: 768px) {
  .mscl-tri-cap {
    font-size: 0.875rem;
  }
}

/* ----- Let's talk ----- */
.mscl-talk {
  padding: 60px 0;
}
.mscl-talk-kicker {
  text-align: center;
  font-family: "M PLUS Rounded 1c", "Noto Sans JP", sans-serif;
  font-size: clamp(1.125rem, 3.5vw, 1.5rem);
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--primary, #4486cd);
  margin: -0.5rem 0 1.25rem;
}

.mscl-chat {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 0 20px 2rem;
  max-width: 40rem;
}

.mscl-chat-row {
  display: flex;
  align-items: flex-end;
  gap: 0.65rem;
  max-width: 100%;
}

.mscl-chat-row--guest {
  flex-direction: row;
}

.mscl-chat-row--staff {
  flex-direction: row-reverse;
}

.mscl-chat-avatar {
  flex: 0 0 auto;
  width: 150px;
}

@media (min-width: 768px) {
  .mscl-chat{
    margin: 0 auto 2rem;
  }
  .mscl-chat-avatar {
    width: 150px;
  }
}

.mscl-chat-avatar-ph {
  min-height: 150px;
  border-radius: 999px;
  padding: 0.35rem;
  font-size: 0.625rem;
  line-height: 1.25;
}
.mscl-chat-avatar-ph img{
  border-radius: 50%;
}

@media (min-width: 768px) {
  .mscl-chat-avatar-ph {
    min-height: 150px;
    font-size: 0.6875rem;
  }
}

.mscl-chat-stack {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.mscl-chat-row--staff .mscl-chat-stack {
  align-items: flex-end;
}

.mscl-chat-label {
  font-size: 0.6875rem;
  font-weight: 800;
  color: var(--gray-500, #6b7280);
  letter-spacing: 0.06em;
}

.mscl-chat-bubble {
  position: relative;
  border-radius: 1rem;
  padding: 0.75rem 0.95rem;
  max-width: 100%;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.mscl-chat-bubble p {
  margin: 0;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.65;
  color: var(--gray-800, #1f2937);
}

.mscl-chat-bubble--guest {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
}

.mscl-chat-bubble--guest::after {
  content: "";
  position: absolute;
  left: -6px;
  bottom: 10px;
  width: 12px;
  height: 12px;
  background: #eff6ff;
  border-left: 1px solid #bfdbfe;
  border-bottom: 1px solid #bfdbfe;
  transform: rotate(45deg);
  border-radius: 2px;
}

.mscl-chat-bubble--staff {
  background: #fff;
  border: 1px solid var(--gray-200, #e5e7eb);
}

.mscl-chat-bubble--staff::after {
  content: "";
  position: absolute;
  right: -6px;
  bottom: 10px;
  width: 12px;
  height: 12px;
  background: #fff;
  border-right: 1px solid var(--gray-200, #e5e7eb);
  border-top: 1px solid var(--gray-200, #e5e7eb);
  transform: rotate(45deg);
  border-radius: 2px;
}

.mscl-chat-callout {
  text-align: center;
  padding: 0.65rem 0.85rem;
  margin: 0.15rem 0;
  background: #fffbeb;
  border: 1px dashed #f59e0b;
  border-radius: 0.75rem;
  color: var(--gray-700, #374151);
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.55;
}

.mscl-chat-callout p {
  margin: 0;
}

@media (max-width: 767px) {
  .mscl-chat {
    gap: 0.85rem;
    align-items: stretch;
  }

  .mscl-chat-row,
  .mscl-chat-row--staff {
    align-items: stretch;
  }

  .mscl-chat-row--staff .mscl-chat-stack {
    align-items: flex-start;
  }

  .mscl-chat-avatar {
    width: 100px;
    align-self: flex-start;
  }

  .mscl-chat-row--staff .mscl-chat-avatar {
    align-self: flex-end;
  }

  .mscl-chat-avatar-ph {
    min-height: 100px;
  }

  .mscl-chat-bubble {
    padding: 0.85rem 1rem;
  }

  .mscl-chat-bubble--guest::after,
  .mscl-chat-bubble--staff::after {
    display: none;
  }
}

/* ----- カウンセリング詳細（PPT風：全幅バンド＋中央見出し）旧 .mscl-topic 系は不使用 ----- */
.mscl-counsel-bands {
  --mscl-counsel-deep: #044d8e;
  --mscl-counsel-sky: #b8daea;
  --mscl-counsel-ink: #0f172a;
  --mscl-counsel-muted: #475569;
  margin-top: 2.5rem;
}

.mscl-counsel-band {
  position: relative;
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 2.25rem 1.25rem;
  box-sizing: border-box;
  border-top: 1px solid rgba(4, 77, 142, 0.12);
  border-bottom: 1px solid rgba(4, 77, 142, 0.08);
}

.mscl-counsel-band:first-of-type {
  border-top: none;
}

.mscl-counsel-band--sozai {
  background: linear-gradient(180deg, #e8f4fc 0%, #dceef8 55%, #d4e8f5 100%);
}

.mscl-counsel-band--moist {
  background: linear-gradient(180deg, #f0f9ff 0%, #e0f2fe 50%, #d7ecfb 100%);
}

.mscl-counsel-band--power {
  background: linear-gradient(180deg, #eef6ff 0%, #e4effa 55%, #d9e8f5 100%);
}

.mscl-counsel-band__inner {
  max-width: 42rem;
  margin: 0 auto;
  text-align: center;
}

.mscl-counsel-band__title {
  margin: 0 0 1rem;
  font-size: clamp(1.25rem, 3.2vw, 1.75rem);
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--mscl-counsel-deep);
}

.mscl-counsel-band__title::after {
  content: "";
  display: block;
  width: 3rem;
  height: 3px;
  margin: 0.65rem auto 0;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, var(--mscl-counsel-deep), transparent);
  opacity: 0.55;
}

.mscl-counsel-band__text {
  margin: 0 0 1rem;
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.85;
  color: var(--mscl-counsel-ink);
  text-align: left;
}

.mscl-counsel-band__fine {
  margin: 0;
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.75;
  color: var(--mscl-counsel-muted);
  text-align: left;
  padding: 1rem 1.1rem;
  background: rgba(255, 255, 255, 0.72);
  border-radius: 0.75rem;
  border: 1px solid rgba(4, 77, 142, 0.1);
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.06);
}

/* 高含水／低含水：比較表（白背景・黒枠） */
.mscl-water-compare {
  margin: 1.15rem auto 0;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  text-align: left;
}

.mscl-water-compare__table {
  width: 100%;
  min-width: 17.5rem;
  border-collapse: collapse;
  background: #fff;
  color: var(--mscl-counsel-ink, #0f172a);
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.65;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.08);
}

.mscl-water-compare__caption {
  caption-side: top;
  text-align: left;
  padding: 0 0 0.5rem;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--mscl-counsel-deep, #044d8e);
}

.mscl-water-compare__table th,
.mscl-water-compare__table td {
  border: 1px solid #111;
  padding: 0.6rem 0.65rem;
  vertical-align: top;
  background: #fff;
}

.mscl-water-compare__table thead th {
  text-align: center;
  font-weight: 700;
}

.mscl-water-compare__table tbody th {
  text-align: left;
  font-weight: 700;
  width: 32%;
}

.mscl-water-compare__corner {
  width: 1.5rem;
  min-width: 1.5rem;
  padding: 0.35rem;
}

.mscl-water-compare__visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (min-width: 768px) {
  .mscl-counsel-band {
    padding: 2.75rem 1.5rem;
  }

  .mscl-counsel-band__text {
    font-size: 1.0625rem;
  }

  .mscl-counsel-band__fine {
    font-size: 0.875rem;
    padding: 1.15rem 1.35rem;
  }

  .mscl-water-compare__table {
    font-size: 0.9375rem;
  }

  .mscl-water-compare__table th,
  .mscl-water-compare__table td {
    padding: 0.75rem 0.85rem;
  }
}

.mscl-counsel-highlight {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  margin-top: 0.5rem;
  padding: 2rem 1.25rem 2.5rem;
  box-sizing: border-box;
  background: linear-gradient(135deg, var(--mscl-counsel-deep) 0%, #0a6bae 48%, #0c7cbe 100%);
  color: #fff;
}

.mscl-counsel-highlight__inner {
  max-width: 44rem;
  margin: 0 auto;
  text-align: center;
}

.mscl-counsel-highlight__lead {
  margin: 0 0 0.75rem;
  font-size: clamp(1rem, 2.8vw, 1.25rem);
  font-weight: 800;
  line-height: 1.75;
  letter-spacing: 0.02em;
}

.mscl-counsel-highlight__note {
  margin: 0;
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.65;
  opacity: 0.92;
}

@media (min-width: 768px) {
  .mscl-counsel-highlight {
    padding: 2.5rem 1.5rem 3rem;
  }

  .mscl-counsel-highlight__note {
    font-size: 0.875rem;
  }
}

.mscl-chat{
  margin-top: 2rem;
}
.mscl-chat-row,
.mscl-chat-row--guest{
  align-items: center;
}
.mscl-chat-bubble p.mscl-counsel-highlight__note{
  font-size: 0.7rem;
  color: var(--gray-600);
  margin: 0 0 0.75rem;
  line-height: 1.65;
}
/* ===========================
   Banners
=========================== */
.banner {
  background-image: linear-gradient(180deg, #462809, #9B8874);
  color: #fff;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  margin: 0 auto;
}
.banner .container {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  max-width: 500px;
}
.banner .btn-view-all {
  background: transparent;
  border: 1px solid var(--white);
  padding: 8px 20px;
  font-size: 15px;
  font-weight: normal;
  text-align: center;
  width: 60%;
  max-width: 250px;
  margin: 0 auto;
}
.banner .btn-view-all {
  background: transparent;
  border: 1px solid #fff;
  padding: 8px 20px;
  font-size: 15px;
  font-weight: normal;
  text-align: center;
  width: 60%;
  max-width: 250px;
  margin: 0 auto;
  text-decoration: none;
  width: 100%;
}
@media (min-width: 1029px) {
  .banner {
    max-width: 1028px;
    max-height: 300px;
    border-radius: 12px;
  }
}
/* Eye Check Banner */
.banner.eye_check .container {
  gap: 10px;
  padding: 40px 20px;
}
.banner.eye_check .banner-title {
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 10px;
  color: #F4E683;
  text-align: center;
}
.banner.eye_check .banner-title .title_serif{
  font-size: 22px;
  color: #fff;
}
.banner.eye_check .banner-text {
  font-size: 14px;
  margin-bottom: 20px;
  text-align: left;
}
.banner.eye_check .banner-image {
    line-height: 0;
}
.banner.eye_check .banner-image img {
  max-width: 510px;/*
  padding: 0 20px;*/
  width: 100%;
}
@media (min-width: 834px) {
  .banner.eye_check {
    flex-direction: row;
    align-items: flex-end;
    max-height: 300px;
  }
  .banner.eye_check .container{
    width: 50%;
    align-items: flex-start;
    padding-left: 40px;
    padding: 20px;
  }
  .banner.eye_check .banner-title{
    text-align: left;
    width: 100%;
  }
  .banner.eye_check .banner-image{
    width: 50%;
    display: flex;
    justify-content: flex-end;
  }
  .banner.eye_check .banner-image img {
    max-height: 300px;
  }
  .banner.eye_check .btn-view-all{
    margin: 0;
  }
}
/*  Subscription Banner */
.banner.subscription {
  padding: 20px;
}
.banner.subscription .title_serif {
  font-size: 22px;
  color: #fff;
  text-align: center;
}
.banner.subscription .title_serif span {
  display: none;
}
.banner.subscription .subscription-box {
  display: flex;
  flex-direction: column;
}
.banner.subscription .subscription-box .subscription-first {
  font-size: 25px;
  font-weight: 400;
  text-align: center;
}
.banner.subscription .subscription-box .subscription-off {
  font-size: 55px;  
  font-weight: bold;
  font-family: "Shippori Mincho", serif;
  background-image: linear-gradient(170deg, #856220, #F4E683, #BF923D);
  color: transparent;
  background-clip: text;
  line-height: 1;
  text-align: center;
}
.banner.subscription .subscription-box .subscription-off em {
  font-size: 107px;
  font-weight: bold;
  margin-bottom: 10px;
  font-style: normal;
}
.banner.subscription .subscription-note {
  font-size: 16px;
  margin-bottom: 10px;
  text-align: right;
}
.banner.subscription .contact-display {
  display: none;
}
@media (min-width: 834px) {
  .banner .container{
    max-width: 550px;
  }
  .banner.subscription {
    flex-direction: row;
    align-items: flex-end;
    max-height: 300px;
  }
  .banner.subscription .subscription-note{
    margin-bottom: 0;
  }
.banner.subscription .title_serif {
  font-size: 28px;
  color: #FFFBE6;
}
.banner.subscription .title_serif span {
  display: inline;
}
.banner.subscription .subscription-box{
  flex-direction: row;
  align-items: center;
  justify-content: center;
}
.banner.subscription .subscription-box .subscription-first{
  margin-right: 10px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  line-height: 1.8;
}
.banner.subscription .subscription-box .subscription-first span{
  display: block;
  color: #fff;
}
.banner.subscription .subscription-box .subscription-off{
  font-size: 70px;
}
.banner.subscription .subscription-box .subscription-off em{
  font-size: 127px;
}
}
@media (min-width: 1029px) {
  .banner.subscription {
    margin-bottom: 50px;
    margin-top: 60px;
  }
}
.btn-view-all {
  display: inline-flex;
  background: var(--MS_blue);
  color: var(--white);
  padding: 10px 30px;
  border-radius: 30px;
  font-size: 17px;
  font-weight: 600;
  transition: background 0.3s;
  width: 100%;
  position: relative;
  width: 90%;
  max-width: 300px;
  justify-content: center;
  gap: 20px;
}
.title_serif {
  font-size: 20px;
  font-family: "Shippori Mincho", serif;
  font-weight: 500;
  margin-bottom: 10px;
  color: var(--wood800);
}
.banner.subscription .title_serif {
  font-size: 22px;
  color: var(--white);
  text-align: center;
}
.banner.subscription .title_serif span {
  display: none;
}
.banner.subscription .subscription-note {
  font-size: 16px;
  margin-bottom: 10px;
  text-align: right;
}
@media (min-width: 834px) {
  .banner.subscription {
    margin-bottom: 0;
    max-height: 460px;
    background-image: linear-gradient(180deg, #462809, #7A634A);
}
  .banner.subscription .contact-display {
      display: block;
  }
  .title_serif {
      font-size: 40px;
  }
  .banner.subscription .title_serif {
    font-size: 28px;
    color: #FFFBE6;
  }
  .banner.subscription .title_serif span {
    display: inline;
  }
  .purchase-flow .banner.subscription .contact-display .subscription-note-title {
    font-size: 14px;
    color: #EDEDED;
    background: #4E341B;
    border: 1px solid #EDEDED;
    border-radius: 0;
    width: 100%;
    max-width: 560px;
    padding: 3px;
    margin: 20px auto;
    text-align: center;
}
  .banner.subscription .contact-display .subscription-note-title {
      font-size: 14px;
      color: #EDEDED;
      background: #4E341B;
      border: 1px solid #EDEDED;
      border-radius: 0;
      width: 100%;
      max-width: 560px;
      padding: 3px;
      margin: 20px auto;
      text-align: center;
  }
}

/* ----- PPTX slide7：店舗一覧（.store-list 非依存・MSCL 専用） ----- */
.mscl-store-section {
  padding: 3.5rem 1rem 4rem;
}

.mscl-store {
  max-width: 72rem;
  margin: 0 auto;
}

.mscl-store__inner {
  max-width: 56rem;
  margin: 0 auto;
}

.mscl-store__head {
  text-align: center;
  margin-bottom: 1.75rem;
}

.mscl-store__title {
  margin: 0 0 0.75rem;
  font-size: clamp(1.35rem, 2.6vw, 1.75rem);
  font-weight: 700;
  line-height: 1.35;
  color: #044d8e;
  letter-spacing: 0.02em;
}

.mscl-store__lead {
  margin: 0 auto;
  max-width: 40rem;
  font-size: 0.9375rem;
  line-height: 1.75;
  font-weight: 600;
  color: rgba(4, 77, 142, 0.82);
}

/* 店舗一覧：HTML テーブルの「もっと見る」折りたたみ展開 */
.mscl-store__table-wrap {
  max-height: min(50vh, 24rem);
  overflow: hidden;
  position: relative;
  transition: max-height 0.55s ease;
  width: 100%;
}

.mscl-store__table-wrap::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2.5rem;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(239, 238, 238, 0), #efeeee);
  opacity: 1;
  transition: opacity 0.35s ease;
}

.mscl-store__table-wrap.expanded {
  max-height: 20000px;
}

.mscl-store__table-wrap.expanded::after {
  opacity: 0;
}

@media (min-width: 768px) {
  .mscl-store__table-wrap {
    max-height: min(45vh, 26rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .mscl-store__table-wrap,
  .mscl-store__table-wrap::after {
    transition: none;
  }
}

.mscl-store__panel {
  background: #fff;
  border: 1px solid rgba(4, 77, 142, 0.12);
  border-radius: 14px;
  box-shadow: 0 10px 28px rgba(4, 77, 142, 0.08);
  overflow: hidden;
}

.mscl-store__thead {
  display: grid;
  grid-template-columns: minmax(5.25rem, 9rem) minmax(0, 1fr);
  gap: 0.75rem;
  align-items: center;
  padding: 0.85rem 1rem;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #044d8e;
  background: linear-gradient(180deg, #e3f1fa 0%, #d6eaf7 100%);
  border-bottom: 1px solid rgba(4, 77, 142, 0.14);
}

.mscl-store__th--region {
  justify-self: start;
}

.mscl-store__th--name {
  justify-self: start;
}

.mscl-store__list {
  max-height: 210px;
  overflow: hidden;
  position: relative;
  transition: max-height 0.5s ease;
}

.mscl-store__list.expanded {
  max-height: 3000px;
}

.mscl-store__row {
  display: grid;
  grid-template-columns: minmax(5.25rem, 9rem) minmax(0, 1fr);
  gap: 0.75rem;
  align-items: center;
  padding: 0.8rem 1rem;
  font-size: 0.875rem;
  line-height: 1.45;
  text-decoration: none;
  color: inherit;
  border-top: 1px solid rgba(4, 77, 142, 0.08);
  transition: background-color 0.18s ease, box-shadow 0.18s ease;
}

.mscl-store__row:first-of-type {
  border-top: none;
}

.mscl-store__row:hover {
  background: #f3f9fd;
}

.mscl-store__row:focus-visible {
  outline: 2px solid #044d8e;
  outline-offset: -2px;
  position: relative;
  z-index: 1;
}

.mscl-store__region {
  display: flex;
  align-items: center;
}

.mscl-store__region-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 3.25rem;
  padding: 0.2em 0.55em;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  color: #044d8e;
  background: rgba(4, 77, 142, 0.1);
  border: 1px solid rgba(4, 77, 142, 0.14);
}

.mscl-store__name {
  font-weight: 700;
  color: #1f2937;
}

.mscl-store__toggle {
  display: block;
  margin: 1.25rem auto 0;
  padding: 0.65rem 1.85rem;
  max-width: 220px;
  width: 100%;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #fff;
  background: #044d8e;
  box-shadow: 0 4px 14px rgba(4, 77, 142, 0.28);
  transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
  text-align: center;
}

.mscl-store__toggle:hover {
  background: #033a6b;
  box-shadow: 0 6px 18px rgba(4, 77, 142, 0.32);
}

.mscl-store__toggle:active {
  transform: translateY(1px);
}

@media (max-width: 479px) {
  .mscl-store__thead {
    grid-template-columns: minmax(4.5rem, 28%) 1fr;
    padding: 0.7rem 0.75rem;
    font-size: 0.75rem;
  }

  .mscl-store__row {
    grid-template-columns: minmax(4.5rem, 28%) 1fr;
    padding: 0.7rem 0.75rem;
    gap: 0.5rem;
    font-size: 0.8125rem;
  }

  .mscl-store__region-pill {
    min-width: 0;
    font-size: 0.6875rem;
    padding: 0.18em 0.45em;
  }
}

/* ----- 選べる買い方（CTA）：SP 1列 / TB 2列×3行（5枚目中央） / PC 3列×2行 ----- */
.mscl-buy-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  align-items: stretch;
  margin: 0;
  padding: 0;
}

@media (min-width: 700px) and (max-width: 1023px) {
  .mscl-buy-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem 1.25rem;
    grid-auto-rows: minmax(12rem, auto);
  }

  .mscl-buy-grid__card:nth-child(5) {
    grid-column: 1 / -1;
    justify-self: center;
    width: min(100%, calc((100% - 1.25rem) / 2));
  }
}

@media (min-width: 1024px) {
  .mscl-buy-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem 1.5rem;
    grid-auto-rows: minmax(12.5rem, auto);
    max-width: 1069px;
    margin-left: auto;
    margin-right: auto;
  }

  .mscl-buy-grid__card:nth-child(5) {
    grid-column: auto;
    justify-self: stretch;
    width: auto;
  }

  .mscl-buy-grid__card {
    min-height: 12.5rem;
    padding: 1.1rem 0.65rem;
  }

}

.mscl-buy-grid__card {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  gap: 0.5rem;
  min-height: 11.75rem;
  height: 100%;
  width: 100%;
  min-width: 0;
  padding: 0;
  text-align: center;
  text-decoration: none;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.mscl-buy-grid__card.w-inline-block {
  max-width: none;
}


.mscl-buy-grid__card > img {
  align-self: stretch;
  width: 100%;
  max-width: none;
  height: auto;
}

.mscl-buy-grid__card .comment.buy {
  display: block;
  flex-shrink: 0;
  max-width: none;
  width: 100%;
  margin-left: 0;
  margin-right: 0;
}

.mscl-buy-grid__card .fullwidth-image.buy,
.mscl-buy-grid__card .fullwidth-image.buy.syuccyou,
.mscl-buy-grid__card .fullwidth-image.buy.syuccyou.none,
.mscl-buy-grid__card .image-7 {
  display: block;
  flex: 1 1 auto;
  min-height: 0;
  width: 100%;
  max-width: none;
  margin: 0;
  height: auto;
  object-fit: contain;
  object-position: center bottom;
}
/* table */
.searchArea-Wrapper > div {
  margin: 0 30px;
}
.searchArea-02 {
  padding: 20px 10px 10px;
}
.searchArea-ttl {
  color: #6e8bc7;
  font-weight: 600;
  font-size: 1.4rem;
  padding-bottom: 0.25rem;
  padding-top: 1rem;
}
label[for] {
  cursor: pointer;
}
.searchArea-selectbox {
  position: relative;
}
.searchArea-selectbox::before, .searchArea-selectbox::after {
  position: absolute;
  content: '';
  pointer-events: none;
}
.searchArea-selectbox::before {
  right: 0;
  display: inline-block;
  width: 2.8em;
  height: 2.8em;
  border-radius: 0 3px 3px 0;
  background-color: #6e8bc7;
  content: '';
}
button, input, optgroup, select, textarea {
  -webkit-appearance: none;
  appearance: none;
  vertical-align: middle;
  color: inherit;
  font: inherit;
  background: transparent;
  padding: 0;
  margin: 0;
  border-radius: 0;
  text-align: inherit;
  text-transform: inherit;
}
.searchArea-selectbox select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  min-width: 230px;
  height: 2.8em;
  padding: .4em 3.6em .4em .8em;
  border: 2px solid #6e8bc7;
  border-radius: 3px;
  color: #000000;
  font-size: 1em;
  cursor: pointer;
  background: #fff;
  width: 100%;
}
option {
  padding: 0;
}
.searchArea-selectbox::after {
  position: absolute;
  top: 50%;
  right: 1.4em;
  transform: translate(50%, -50%) rotate(45deg);
  width: 8px;
  height: 8px;
  border-bottom: 3px solid #fff;
  border-right: 3px solid #fff;
  content: '';
}
.gmt-content-block-inner {
  margin: auto;
  padding: 0;
  width: 100%;
  max-width: 1200px;
}
.searchArea-Wrapper {
  background: #edf0f5;
  display: flex;
  align-items: center;
  align-content: center;
  justify-content: center;
  flex-direction: column;
}
.table {
  width: 100%;
  max-width: 100%;
  border-collapse: collapse;
  color: #fff;
  border-spacing: 2px;
}
.table a{
  color: #000;
}
table th, table td {
  border: solid 3px #fff;
}
tbody {
  display: table-row-group;
  vertical-align: middle;
  unicode-bidi: isolate;
  border-color: inherit;
}
tr {
  display: table-row;
  vertical-align: inherit;
  unicode-bidi: isolate;
  border-color: inherit;
}
.prefecture {
  width: 15%;
  line-height: 1.5;
  font-weight: bold;
  font-size: 12px;
}
table th {
  background-color: #6E8BC7;
  text-align: center;
  padding: 15px 0;
  font-size: 16px;
  display: table-cell;
  vertical-align: middle;
  line-height: 1.5;
}
.spOnly {
  display: none;
}
.city {
  width: 15%;
  line-height: 1.5;
  font-size: 12px;
}
.shop {
  line-height: 1.5;
  font-size: 12px;
}
.table_prefecture {
  font-weight: 600;
}
table td {
  background-color: #EEF0F4;
  text-align: center;
  align-items: center;
  color: #000;
  padding: 15px 0;
  display: table-cell;
  vertical-align: middle;
  line-height: 1.5;
  font-size: 12px;
}
.shopname {
  padding-left: 3vw;
  padding-right: 3vw;
  text-align: left;
  line-height: 1.5;
  font-size: 12px;
}
@media screen and (min-width: 767px) {
  .shop,
  .city, 
  .prefecture,
  .shopname,
  table td  {
      font-size: 16px;
  }
}
@media (min-width: 834px) {
  .gmt-content-block-inner {
    padding: 40px 20px 0px 20px;
  }
}
@media (min-width: 989px) {
  .searchArea-ttl {
    font-size: 1.6rem;
    padding-bottom: 0.5rem;
  }
  .searchArea-selectbox select {
      width: 400px;
  }
}