@charset "UTF-8";

/* ==========================================================================
   Imports
   ========================================================================== */
@import url("https://cdn.jsdelivr.net/npm/swiper@11/swiper-bundle.min.css");


/* ==========================================================================
   Reset
   ========================================================================== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
  font-feature-settings: "palt";
}

body {
  min-height: 100vh;
  text-rendering: optimizeSpeed;
  font-family: "dnp-shuei-gothic-gin-std", var(--font-body), sans-serif;
  color: var(--clr-text-100);
  line-height: 1.75;
  letter-spacing: 0.15em;
}

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

input, button, textarea, select {
  font: inherit;
}

a,
button {
  text-decoration: none;
  color: inherit;
  transition: opacity 0.3s ease;
}
a:hover,
button:hover {
    opacity: 0.7;
  }

ol, ul {
  list-style: none;
}

button {
  letter-spacing: 0.1em;
}

.modal-nav {
  /* 既存のコード（position: fixed; top: 0; left: 0; width: 100%; height: 100vh; など）に加えて */
  overflow-y: auto; /* 縦幅が収まらない時だけスクロールバーを出す */
  overscroll-behavior-y: none; /* メニューのスクロール終端で背面がスクロールされるのを防ぐ（モダンブラウザ向け） */
}
/* メニューを開いた時に背面のスクロールを止め、スクロールバーを消す */
body.is-nav-open {
  overflow: hidden;
}

/* メニューの中身が画面より長い時だけ、メニュー内にスクロールバーを出す */
#global-nav {
  overflow-y: auto;
  overscroll-behavior-y: none; /* メニューの端までスクロールした時に背面が動くのを防ぐ */
}

/* ==========================================================================
   Design Tokens (:root)
   ========================================================================== */
:root {
  --clr-main: #2B5FBF;
  --clr-bg-main: #FFFEFD;
  --clr-bg-sec:  #F7F2EB;
  --clr-bg-spot: #E7F3EB;
  --clr-text-100: #3E3A39;
  --clr-text-80:  #615E5D;
  --clr-text-60:  #9F9D9C;
  --clr-text-40:  #DFDEDE;
  --clr-text-20:  #F1F1F1;
  --clr-functional-joy: #E8826E;
  --clr-sunny:      #EAB83D;
  --clr-sunny-bg:   #FAF1DC;
  --clr-clover:     #6DC49A;
  --clr-clover-bg:  #E7F3EB;
  --clr-sky:        #66ADDA;
  --clr-sky-bg:     #E5F0F9;
  --clr-grape:      #A98FD4;
  --clr-grape-bg:   #ECE9F4;
  --clr-joy-deco:   #E8826E;
  --clr-joy-deco-bg:#F9E8E1;
  --clr-hug:        #E8849C;
  --clr-hug-bg:     #FAE6EB;
  --clr-senior:     #5B9E9A;
  --clr-senior-bg:  #DEECEB;
  --font-title: "dnp-shuei-mgothic-std", sans-serif;
  --font-body:  "dnp-shuei-gothic-gin-std", sans-serif;
  --font-note:  "Noto Sans JP", sans-serif;
  --font-en:    poppins, sans-serif;
  --floating-banner-height: calc(120 / 393 * 100vw);
}

@media screen and (min-width: 768px) {
  :root {
    --floating-banner-height: min(calc(185 / 1000 * 100vw), 185px);
  }
}

/* ==========================================================================
   Layout & Common Components
   ========================================================================== */
.l-container {
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  padding-left: 20px !important;
  padding-right: 20px !important;
}


.section-title {
  color: var(--clr-main);
  margin-bottom: calc(30 / 393 * 100vw);
}

.column-list {
  display: flex;
  flex-direction: column;
}

.column-card {
  /* スタブクラス */
}

.c-section-sub {
  line-height: 1;
  display: block;
  font-family: var(--font-en);
  font-weight: 700;
  color: var(--clr-main);
  letter-spacing: 0.1em;
}

/* --- PC版レイアウト共通設定 --- */
@media screen and (min-width: 768px) {
  .section-title {
    margin-bottom: min(calc(70 / 1000 * 100vw), 70px);
  }

  .column-list {
    flex-direction: row;
    justify-content: space-between;
    gap: 24px;
  }

  .column-card {
    flex: 1;
  }
}


@media screen and (min-width: 1040px) {
  .l-container {
    padding-left: 0;
    padding-right: 0;
  }

  .p-features {
    padding-left: 0;
    padding-right: 0;
  }
}

/* ==========================================================================
   メニューやモーダルが開いているとき、背後の2重スクロールバーを完全に消す
   ========================================================================== */
body.is-nav-open,
body.is-modal-open,
html:has(body.is-nav-open),
html:has(body.is-modal-open) {
  overflow: hidden !important; /* ★純粋に背面スクロールを止めるだけ（これで2重スクロールバーを防止） */
}
/* ==========================================================================
   Component: Wave Background (c-wave)
   ========================================================================== */
.c-wave-top,
.c-wave-bottom {
  display: block;
  width: 100%;
  height: min(calc(100vw * 159 / 1300), 159px);
  background-color: transparent;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  position: relative;
  z-index: 1;
}

.c-wave-top {
  background-image: url("../img/bg_wave_top.svg");
  margin-bottom: -1px; 
  z-index: 11;
}
.wave-first {
    margin-top: calc(-20 / 393 * 100vw);
  }


.c-wave-bottom {
  background-image: url("../img/bg_wave_bottom.svg");
  margin-top: -1px;
  transform-origin: bottom center;
}

@media screen and (min-width: 1040px) {
  .section-concept {
    padding-left: 0;
    padding-right: 0;
  }
  .wave-first {
    margin-top: min(calc(-35 / 1000 * 100vw), -35px);
  }
}

/* ==========================================================================
   Typography
   ========================================================================== */
h1, h2, h3, h4, h5, h6,
.section-title,
.fz-title, .fz-title-s, .fz-mid {
  font-family: var(--font-title);
  font-weight: 600;
  line-height: 1.75;
  letter-spacing: 0.15em;
}


.fz-note, .fz-note-s, .c-note {
  font-family: var(--font-note);
  font-weight: 400;
  color: var(--clr-text-80);
  line-height: 1.5;
  letter-spacing: 0;
}

.fz-title   { font-size: calc(32 / 393 * 100vw); }
.fz-title-s { font-size: calc(32 / 393 * 100vw); }
.fz-mid     { font-size: calc(26 / 393 * 100vw); }
.fz-sub     { font-size: calc(22 / 393 * 100vw); }
.fz-sub-s   { font-size: calc(20 / 393 * 100vw); }
.fz-body    { font-size: calc(16 / 393 * 100vw); }
.fz-body-s  { font-size: calc(14 / 393 * 100vw); }
.fz-body-xs { font-size: calc(12 / 393 * 100vw); }
.fz-note    { font-size: calc(10 / 393 * 100vw); }
.fz-note-s  { font-size: calc(10 / 393 * 100vw); }

.is-emotional,
.is-emotional .fz-body,
.is-emotional .fz-sub {
  line-height: 2.0;
}

/* --- PC版フォントサイズ調整 --- */
@media screen and (min-width: 768px) {
  .fz-title   { font-size: min(calc(46 / 1000 * 100vw), 46px); }
  .fz-title-s { font-size: min(calc(42 / 1000 * 100vw), 42px); }
  .fz-mid     { font-size: min(calc(36 / 1000 * 100vw), 36px); }
  .fz-sub     { font-size: min(calc(26 / 1000 * 100vw), 26px); }
  .fz-sub-s   { font-size: min(calc(24 / 1000 * 100vw), 24px); }
  .fz-body    { font-size: min(calc(18 / 1000 * 100vw), 18px); }
  .fz-body-s  { font-size: min(calc(16 / 1000 * 100vw), 16px); }
  .fz-body-xs { font-size: min(calc(14 / 1000 * 100vw), 14px); }
  .fz-note    { font-size: min(calc(12 / 1000 * 100vw), 12px); }
  .fz-note-s  { font-size: min(calc(10 / 1000 * 100vw), 10px); }
}

/* ==========================================================================
   Utility (Visibility Control)
   ========================================================================== */
@media screen and (max-width: 767.9px) {
.pcItem {
  display: none !important;
}
.spItem {
  display: block !important;
}
}
/* --- PC版表示切り替えコントロール --- */
@media screen and (min-width: 768px) {
  .pcItem {
    display: block !important;
  }
  .spItem {
    display: none !important;
  }
}

/* ==========================================================================
   Floating Actions
   ========================================================================== */
.floating-actions {
  position: fixed;
  bottom: calc(25 / 393 * 100vw);
  left: calc(20 / 393 * 100vw);
  right: calc(20 / 393 * 100vw);
  z-index: 9999;
  display: flex;
  align-items: flex-end;
  gap: calc(10 / 393 * 100vw);
  opacity: 1;
  visibility: visible;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.floating-actions.is-hidden {
  opacity: 0;
  visibility: hidden;
}

.floating-actions a {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-title);
  font-weight: 600;
  color: var(--clr-bg-main);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: opacity 0.3s ease;
}

@media (hover: hover) {
  .floating-actions a:hover {
    opacity: 0.8;
  }
}

.floating-actions .btn-main {
  background-color: var(--clr-main);
  width: calc(283 / 393 * 100vw);
  height: calc(50 / 393 * 100vw);
  border-radius: calc(25 / 393 * 100vw);
  font-size: calc(20 / 393 * 100vw);
  position: relative;
  padding-right: calc(24 / 393 * 100vw);
  letter-spacing: 0.1em;
}

.floating-actions .btn-main::after {
  content: "";
  position: absolute;
  right: calc(16 / 393 * 100vw);
  width: calc(18 / 393 * 100vw);
  height: calc(18 / 393 * 100vw);
  background-image: url("../img/icon_arrow_white.svg");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.floating-actions .btn-chat {
  font-family: var(--font-body);
  letter-spacing: 0.1em;
  background-color: var(--clr-sky);
  width: calc(60 / 393 * 100vw);
  height: calc(60 / 393 * 100vw);
  border-radius: 50% 50% 0 50%;
  font-size: calc(10 / 393 * 100vw);
  line-height: 1.3;
  text-align: center;
  flex-direction: column;
  position: relative;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.floating-actions .btn-chat.is-hidden {
  opacity: 0;
  visibility: hidden;
}

.floating-actions .btn-chat::before {
  content: "";
  width: calc(20 / 393 * 100vw);
  height: calc(20 / 393 * 100vw);
  margin-bottom: calc(2 / 393 * 100vw);
  background-image: url("../img/icon_chat.svg");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.floating-actions .btn-chat::after {
  content: "";
  position: absolute;
  top: calc(2 / 393 * 100vw);
  right: calc(2 / 393 * 100vw);
  width: calc(10 / 393 * 100vw);
  height: calc(10 / 393 * 100vw);
  background-color: var(--clr-functional-joy);
  border-radius: 50%;
}

/* --- PC版フローティングアクション対応（タブレット・デスクトップ） --- */
@media screen and (min-width: 768px) and (max-width: 1023px) {
  .floating-actions {
    left: 40px;
    right: auto;
    bottom: 40px;
    width: auto;
    display: block;
    pointer-events: none;
  }

  .floating-actions .btn-main {
    pointer-events: auto;
    width: calc(100vw - 220px);
    max-width: 715px;
    min-width: 280px;
    height: min(calc(105 / 1000 * 100vw), 105px);
    border-radius: min(calc(52.5 / 1000 * 100vw), 52.5px);
    font-size: min(calc(42 / 1000 * 100vw), 42px);
    padding-right: min(calc(40 / 1000 * 100vw), 40px);
    margin: 0;
  }

  .floating-actions .btn-main::after {
    right: min(calc(32 / 1000 * 100vw), 32px);
    width: min(calc(32 / 1000 * 100vw), 32px);
    height: min(calc(32 / 1000 * 100vw), 32px);
  }

  .floating-actions .btn-chat {
    pointer-events: auto;
    position: fixed;
    left: auto;
    right: 40px;
    bottom: 40px;
    width: min(calc(105 / 1000 * 100vw), 105px);
    height: min(calc(105 / 1000 * 100vw), 105px);
    font-size: min(calc(18 / 1000 * 100vw), 18px);
    line-height: 1.4;
  }

  .floating-actions .btn-chat::before {
    width: min(calc(35 / 1000 * 100vw), 35px);
    height: min(calc(35 / 1000 * 100vw), 35px);
    margin-bottom: 0;
  }

  .floating-actions .btn-chat::after {
    top: min(calc(6 / 1000 * 100vw), 6px);
    right: min(calc(6 / 1000 * 100vw), 6px);
    width: min(calc(14 / 1000 * 100vw), 14px);
    height: min(calc(14 / 1000 * 100vw), 14px);
  }
}

@media screen and (min-width: 1024px) {
  .floating-actions {
    left: 0;
    right: 0;
    bottom: min(calc(40 / 1000 * 100vw), 40px);
    width: 100%;
    padding: 0 40px;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    pointer-events: none;
  }

  .floating-actions .btn-main {
    pointer-events: auto;
    width: min(calc(715 / 1000 * 100vw), 715px);
    height: min(calc(105 / 1000 * 100vw), 105px);
    border-radius: min(calc(52.5 / 1000 * 100vw), 52.5px);
    font-size: min(calc(42 / 1000 * 100vw), 42px);
    padding-right: min(calc(40 / 1000 * 100vw), 40px);
    margin: 0 auto;
  }

  .floating-actions .btn-main::after {
    right: min(calc(32 / 1000 * 100vw), 32px);
    width: min(calc(32 / 1000 * 100vw), 32px);
    height: min(calc(32 / 1000 * 100vw), 32px);
  }

  .floating-actions .btn-chat {
    pointer-events: auto;
    position: fixed;
    left: auto;
    right: 40px;
    bottom: min(calc(40 / 1000 * 100vw), 40px);
    width: min(calc(105 / 1000 * 100vw), 105px);
    height: min(calc(105 / 1000 * 100vw), 105px);
    font-size: min(calc(18 / 1000 * 100vw), 18px);
    line-height: 1.4;
  }

  .floating-actions .btn-chat::before {
    width: min(calc(35 / 1000 * 100vw), 35px);
    height: min(calc(35 / 1000 * 100vw), 35px);
    margin-bottom: 0;
  }

  .floating-actions .btn-chat::after {
    top: min(calc(6 / 1000 * 100vw), 6px);
    right: min(calc(6 / 1000 * 100vw), 6px);
    width: min(calc(14 / 1000 * 100vw), 14px);
    height: min(calc(14 / 1000 * 100vw), 14px);
  }
}

/* ==========================================================================
   Section: Main Visual
   ========================================================================== */
.main-visual {
  width: 100%;
  height: calc(100svh - var(--floating-banner-height));
  margin-bottom: var(--floating-banner-height);
  position: relative;
  overflow: hidden;
  background-color: var(--clr-bg-main);
  border-bottom-left-radius: calc(100 / 393 * 100vw);
  border-bottom-right-radius: calc(100 / 393 * 100vw);
  -webkit-mask-image: -webkit-radial-gradient(white, black);
  isolation: isolate;
}

.mv-slideshow {
  position: absolute;
  inset: 0;
}

.mv-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  animation: toyShareZoomVisual 18s ease-out infinite;
}

.mv-slide picture,
.mv-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.mv-slide:nth-of-type(1) { animation-delay: 0s; }
.mv-slide:nth-of-type(2) { animation-delay: 6s; }
.mv-slide:nth-of-type(3) { animation-delay: 12s; }

@keyframes toyShareZoomVisual {
  0%     { opacity: 0; transform: scale(1.0); }
  11%    { opacity: 1; }
  33.3%  { opacity: 1; }
  44.4%  { opacity: 0; transform: scale(1.15); }
  100%   { opacity: 0; }
}

.mv-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  max-width: 1300px;
  margin-right: auto;
  margin-left: auto;
  padding: calc(90 / 393 * 100vw) calc(18 / 393 * 100vw) 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  pointer-events: none;
}

.mv-copy {
  pointer-events: auto;
  position: absolute;
  top: calc(150 / 393 * 100vw);
}

.mv-badges {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: calc(var(--floating-banner-height) - max(calc(35 / 1000 * 100vw), 35px));
  z-index: 10;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: flex-end;
  gap: calc(16 / 393 * 100vw);
  width: 100%;
  pointer-events: auto;
}

.mv-badge-item {
  width: calc(140 / 393 * 100vw);
}

.mv-copy h1 {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: calc(8 / 393 * 100vw);
}

.mv-title {
  font-family: var(--font-title);
  font-weight: 600;
  line-height: 1.2;
  margin: 0;
  writing-mode: horizontal-tb;
  -webkit-writing-mode: horizontal-tb;
  font-feature-settings: "palt";
}

.mv-title-top,
.mv-title-bottom {
  color: var(--clr-main);
  background-color: rgba(255, 255, 255, 0.9);
  padding: calc(5 / 393 * 100vw) calc(10 / 393 * 100vw);
  display: block;
  border-radius: 4px;
  letter-spacing: 0.2em;
}

.mv-title-top    { font-size: calc(32 / 393 * 100vw); }
.mv-title-bottom { font-size: calc(22 / 393 * 100vw); }

.mv-subtitle {
  display: block;
  font-family: var(--font-body);
  color: var(--clr-text-100);
  font-weight: 600;
  font-size: calc(13 / 393 * 100vw);
  margin-top: calc(10 / 393 * 100vw);
  margin-left: calc(5 / 393 * 100vw);
  letter-spacing: 0.1em;
  line-height: 1.75;
}

/* --- PC版メインビジュアル調整 --- */
@media screen and (min-width: 768px) {
  .main-visual {
    height: calc(100dvh - var(--floating-banner-height));
    border-bottom-left-radius: 150px;
    border-bottom-right-radius: 150px;
  }

  .mv-copy {
    top: min(calc(200 / 1000 * 100vw), 200px);
    left: min(calc(105 / 1000 * 100vw), 105px);
  }

  .mv-badges {
    left: auto;
    transform: none;
    right: 10%;
    bottom: calc(var(--floating-banner-height) - max(calc(30 / 1000 * 100vw), 30px));
    flex-direction: column;
    gap: min(calc(24 / 1000 * 100vw), 24px);
    width: auto;
  }

  .mv-badge-item {
    width: min(calc(220 / 1300 * 100vw), 220px);
  }

  .mv-copy h1 {
    gap: min(calc(8 / 1000 * 100vw), 8px);
  }

  .mv-title-top,
  .mv-title-bottom {
    padding: min(calc(8 / 1000 * 100vw), 8px) min(calc(24 / 1000 * 100vw), 24px);
  }

  .mv-title-top    { font-size: min(calc(60 / 1000 * 100vw), 60px); }
  .mv-title-bottom { font-size: min(calc(47 / 1000 * 100vw), 47px); }

  .mv-subtitle {
    font-size: min(calc(26 / 1000 * 100vw), 26px);
    margin-top: min(calc(20 / 1000 * 100vw), 20px);
    margin-left: min(calc(20 / 1000 * 100vw), 20px);
    letter-spacing: 0.15em;
  }
}

/* ==========================================================================
   Section: Search by Age (p-search-age)
   ========================================================================== */
.p-search-age {
  width: 100%;
  background-color: var(--clr-bg-sec);
  position: relative;
  padding-top: calc(80 / 393 * 100vw);
  padding-bottom: calc(80 / 393 * 100vw);
}

.p-search-age__title-wrap,
.p-search-age__list {
  position: relative;
  z-index: 2;
}



.p-search-age__title-wrap .section-title,
.p-search-age__title-wrap .c-section-sub {
  text-align: center;
}

.p-search-age__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: calc(47 / 393 * 100vw);
  row-gap: calc(40 / 393 * 100vw);
  justify-items: center;
  margin: 0 auto;
  width: calc(125 / 393 * 100vw);
  justify-content: center;
}


.p-search-age__link {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  cursor: pointer;
  transition: opacity 0.3s ease;
}

@media (hover: hover) {
  .p-search-age__link:hover {
    opacity: 0.7;
  }
}

.p-search-age__img-thumb {
  position: relative;
  width: calc(120 / 393 * 100vw);
  height: calc(120 / 393 * 100vw);
  max-width: 160px;
  max-height: 160px;
  min-width: 100px;
  min-height: 100px;
  margin-bottom: 12px;
  border-radius: 50%;
}

.p-search-age__img-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  position: relative;
  z-index: 2;
}

.p-search-age__img-thumb::after {
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  right: -4px;
  bottom: -4px;
  border-radius: 50%;
  z-index: 1;
}

.p-search-age__img-thumb.is-sunny::after { background-color: var(--clr-sunny); }
.p-search-age__img-thumb.is-clover::after { background-color: var(--clr-clover); }
.p-search-age__img-thumb.is-sky::after { background-color: var(--clr-sky); }
.p-search-age__img-thumb.is-grape::after { background-color: var(--clr-grape); }
.p-search-age__img-thumb.is-hug::after { background-color: var(--clr-hug); }
.p-search-age__img-thumb.is-senior::after { background-color: var(--clr-senior); }

.p-search-age__label {
  font-family: var(--font-body);
  font-weight: 600;
  color: var(--clr-text-100);
  white-space: nowrap;
}

/* --- PC版月齢セクション調整 --- */
@media screen and (min-width: 768px) {
  .p-search-age {
    padding-top: min(calc(80 / 1000 * 100vw), 80px);
    padding-bottom: min(calc(80 / 1000 * 100vw), 80px);
  }

  .p-search-age__list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  column-gap: min(calc(80 / 1000 * 100vw), 80px);
  row-gap: min(calc(50 / 1000 * 100vw), 50px);
  justify-items: center;
  margin: 0 auto;
  width: min(calc(200 / 1000 * 100vw), 200px);
  justify-content: center;
}

}

/* ==========================================================================
   Section: Concept (遊びが、その子を育てる。)
   ========================================================================== */
.section-concept {
  padding: calc(60 / 393 * 100vw) calc(24 / 393 * 100vw);
  display: flex;
  flex-direction: column;
  gap: calc(30 / 393 * 100vw);
}

/* タイトル設定 */
.concept-main-title {
  font-family: var(--font-title);
  color: var(--clr-main);
  line-height: 1.75;
  margin-bottom: calc(24 / 393 * 100vw);
}

/* 各ブロック共通 */
.concept-block {
  display: flex;
  flex-direction: column;
  gap: calc(30 / 393 * 100vw);
}

.concept-text .fz-body {
  color: var(--clr-text-100);
  line-height: 2.0;
  letter-spacing: 0.2em;
}

/* 画像共通設定（角丸） */
.concept-img img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
}

/* 各種画像グループのスマホ版レイアウト */
.concept-img-group {
  position: relative;
  width: 100%;
}

/* ブロック1: 赤ちゃん画像2枚（並び・重ね） */
.concept-img-group.type-baby {
  display: flex;
  align-items: flex-start;
  gap: calc(12 / 393 * 100vw);
}
.concept-img-group.type-baby .img-ball {
  width: calc(219 / 393 * 100vw);
}
.concept-img-group.type-baby .img-book {
  width: calc(122 / 393 * 100vw);
  margin-top: calc(60 / 393 * 100vw);
}

/* ブロック2・3: 1枚画像 */
.concept-img-group.type-child .img-blocks {
  width: calc(285 / 393 * 100vw);
  margin: 0 auto;
}
.concept-img-group.type-family .img-together {
  width: 100%;
}

/* ==========================================================================
   Concept Section Text Animation (黒 → 左から右へ青に染まる)
   ========================================================================== */
.section-concept .fz-body span {
  color: var(--clr-text-100); /* 初期状態：通常のテキスト色（黒） */
  position: relative;
  display: inline;            /* 改行に対応できるように inline に設定 */
  background-image: linear-gradient(to right, var(--clr-main) 50%, var(--clr-text-100) 50%);
  background-size: 200% 100%;
  background-position: 100% 0;
  -webkit-background-clip: text;
  background-clip: text;
  transition: background-position 0.8s ease-out, color 0.8s ease-out;
}

/* スクロールを検知してクラスが付与されたら、左から右へ青のグラデーションを滑らせる */
.section-concept .fz-body span.is-active {
  color: transparent;         /* アニメーション開始時に文字色を透過させてグラデーションを表示 */
  background-position: 0% 0;
}

/* --- PC版レイアウト対応 (768px以上) --- */
@media screen and (min-width: 768px) {
  .section-concept {
    padding: min(calc(80 / 1000 * 100vw), 80px) 20px;
    gap: min(calc(70 / 1000 * 100vw), 70px);
  }

  .concept-main-title {
    margin-bottom: min(calc(40 / 1000 * 100vw), 40px);
  }

  /* すべてのブロックを基本「左テキスト・右画像」の横並びにする */
  .concept-block {
    flex-direction: row;
    align-items: center;
    gap: min(calc(10 / 1000 * 100vw), 10px);
  }

  /* テキストと画像エリアの幅のベース（3ブロック一括設定） */
  .concept-text {
    flex: 0 0 50%;
  }
  .concept-img-group {
    flex: 0 0 45%;
  }



  /* ブロック1（上段）: 左テキスト・右画像（特有の重ね配置調整） */
  .concept-block:nth-of-type(1) {
    align-items: flex-start;
  }
  .concept-block:nth-of-type(1) .concept-img-group.type-baby {
    display: block; 
    height: min(calc(300 / 1000 * 100vw), 300px);
    position: relative;
  }
  .concept-block:nth-of-type(1) .img-ball {
    position: absolute;
    top: 0;
    left: 0;
    width: min(calc(280 / 1000 * 100vw), 280px);
    z-index: 2;
  }
  .concept-block:nth-of-type(1) .img-book {
    position: absolute;
    top: min(calc(140 / 1000 * 100vw), 140px);
    right: 0;
    width: min(calc(156 / 1000 * 100vw), 156px);
    margin-top: 0;
    z-index: 1;
  }

  /* ブロック2（中段）: 写真が右、文章が左（一括設定が適用されるため調整のみ） */
  .concept-block:nth-of-type(2) {
    gap: min(calc(110 / 1000 * 100vw), 110px);
  }
  .concept-block:nth-of-type(2) .concept-img-group.type-child {
    flex: 0 0 31.3%;
  }
  .concept-img-group.type-child .img-blocks {
    width:min(calc(313 / 1000 * 100vw), 313px);
  }

  /* ブロック3（下段）: 積み木と親子の画像サイズのみ少し大きく調整 */
  .concept-block:nth-of-type(3) {
    gap: 0;
  }

  .concept-block:nth-of-type(3) .concept-img-group.type-family {
    flex: 0 0 50%;
  }

}
@media screen and (max-width: 1040px) {
.concept-block:nth-of-type(1) .img-book {
    right: min(calc(-30 / 1000 * 100vw), -30px);
  }
}



/* ==========================================================================
   Section: Features (3つの特長)
   ========================================================================== */
.p-features {
  padding: calc(60 / 393 * 100vw) calc(20 / 393 * 100vw);
  width: calc(345 / 393 * 100vw);
}

.p-features__head {
  text-align: center;
  margin-bottom: calc(40 / 393 * 100vw);
}

.p-features__head .section-title {
  margin-bottom: 0;
}

.p-features__list {
  display: flex;
  flex-direction: column;
  gap: calc(50 / 393 * 100vw);
}

.p-features__item {
  display: flex;
  flex-direction: column;
  gap: calc(20 / 393 * 100vw);
}

.p-features__img img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  object-fit: cover;
}

.p-features__header-group {
  display: flex;
  flex-direction: row; /* スマホ版：数値と見出しを横並びに */
  align-items: center;
  gap: calc(14 / 393 * 100vw);
  margin-bottom: calc(16 / 393 * 100vw);

}

.p-features__meta-num {
  display: flex;
  flex-direction: column; 
  align-items: center;
  justify-content: center;
  border-right: 1px solid var(--clr-text-40); 
  padding-right: calc(14 / 393 * 100vw);
  height: auto; 
  padding-top: calc(4 / 393 * 100vw);
  padding-bottom: calc(4 / 393 * 100vw);
  line-height: 1.1;
  color: var(--clr-main);
  font-family: var(--font-en);
}

.p-features__label {
  font-size: calc(11 / 393 * 100vw);
  font-weight: 700;
  letter-spacing: 0.1em;
  margin: calc(5 / 393 * 100vw) 0;
}

.p-features__number {
  font-size: calc(29 / 393 * 100vw);
  font-weight: 700;
}

.p-features__title {
  font-family: var(--font-title);
  color: var(--clr-main);
  font-weight: 600;
  line-height: 1.4;
  flex: 1;
  letter-spacing: 0.1em;
}

.p-features__text {
  color: var(--clr-text-100);
  line-height: 1.75;
}

/* --- PC版レイアウト調整 (768px以上) --- */
@media screen and (min-width: 768px) {
  .p-features {
    padding: min(calc(100 / 1000 * 100vw), 100px) 20px;
  }

  .p-features__head {
    margin-bottom: min(calc(60 / 1000 * 100vw), 60px);
  }

  .p-features__list {
    gap: min(calc(80 / 1000 * 100vw), 80px);
  }

  .p-features__item {
    flex-direction: row;
    justify-content: space-between;
    gap: 5%;
  }

  .p-features__img {
    flex: 0 0 32%;
  }

  .p-features__content {
    flex: 0 0 63%;
  }

  /* --- PC版：数値と見出し全体の並び（縦並びに戻す） --- */
  .p-features__header-group {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    margin-bottom: min(calc(15 / 1000 * 100vw), 15px);
  }

  /* --- PC版：数値部分（縦線から下線へ変化） --- */
  .p-features__meta-num {
    flex-direction: row; /* 内側の英字と数字を横並びに戻す */
    align-items: flex-end;
    gap: min(calc(5 / 1000 * 100vw), 5px);
    border-right: none; /* スマホ用の縦線を消す */
    border-bottom: 1px solid var(--clr-text-40); /* PC版：数値の下に薄い横線を追加 */
    padding-right: 0;
    padding-top: 0;
    padding-bottom: min(calc(5 / 1000 * 100vw), 5px);
    margin-bottom:  min(calc(15 / 1000 * 100vw), 15px);
    height: auto; /* 高さをリセット */
    width: auto;
  }

  .p-features__label {
    font-size: min(calc(12 / 1000 * 100vw), 12px);
    padding-bottom: min(calc(2 / 1000 * 100vw), 2px);
    margin-bottom: 0;
  }

  .p-features__number {
    font-size: min(calc(24 / 1000 * 100vw), 24px);
    line-height: 0.9;
  }

  .p-features__title {
    max-width: none; /* スマホ版の幅制限を解除して1行に伸ばす */
    margin-bottom: 0;
  }
}

/* ==========================================================================
   Section: Flow (ご利用の流れ)
   ========================================================================== */
.p-flow {
  background-color: var(--clr-bg-sec);
  padding-top: calc(80 / 393 * 100vw);
  padding-bottom: calc(80 / 393 * 100vw);
}

.p-flow__head {
  text-align: center;
  margin-bottom: calc(50 / 393 * 100vw);
}

.p-flow__head .section-title {
  margin-bottom: 0;
}

.p-flow__list {
  width: calc(290 / 393 * 100vw);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: calc(50 / 393 * 100vw);
  position: relative;
}

/* スマホ版：左に丸数字、右にコンテンツが並ぶ2カラム */
.p-flow__item {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: calc(20 / 393 * 100vw);
  position: relative;
  z-index: 2;
}

.p-flow__item::after {
  content: "";
  position: absolute;  
  top: calc(44 / 393 * 100vw + calc(10 / 393 * 100vw));  
  left: calc(21 / 393 * 100vw);
  transform: translateX(-50%);
  height: calc(100% - calc(20 / 393 * 100vw));
  width: 3px;
  background-image: radial-gradient(circle 1.5px at center 1.5px, var(--clr-sky) 100%, transparent 100%);
  background-size: 3px 14px;
  background-repeat: repeat-y;
  border-left: none;
}

/* 3番目のアイテムの下には点線を引かない */
.p-flow__item:last-child::after {
  display: none !important;
}

/* 数字の丸 */
.p-flow__num-wrap {
  width: calc(44 / 393 * 100vw);
  height: calc(44 / 393 * 100vw);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--clr-bg-main);
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.01);
}

/* 数字の浮き上がり補正 */
.p-flow__number {
  font-family: var(--font-en);
  font-size: calc(28 / 393 * 100vw);
  font-weight: 700;
  color: var(--clr-main);
  line-height: 0.8;
  display: block;
  padding-top: calc(5 / 393 * 100vw);
}

/* 右側のテキストエリア */
.p-flow__content {
  flex: 1;
  padding-left: 0;
}

.p-flow__title {
  font-family: var(--font-title);
  color: var(--clr-text-100);
  font-weight: 600;
  margin-bottom: calc(12 / 393 * 100vw);
  letter-spacing: 0.1em;
}

.p-flow__text {
  color: var(--clr-text-100);
  line-height: 1.75;
  text-align: left;
}

/* ==========================================================================
   Section: Flow --- PC版レイアウト調整 (768px以上) ---
   ========================================================================== */
@media screen and (min-width: 768px) {
  .p-flow {
    padding-top: min(calc(80 / 1000 * 100vw), 80px);
    padding-bottom: min(calc(80 / 1000 * 100vw), 80px);
  }

  .p-flow__head {
    margin-bottom: min(calc(60 / 1000 * 100vw), 60px);
  }

  /* PC版：横並びの3カラムに切り替え */
  .p-flow__list {
    width: 100%;
    flex-direction: row;
    justify-content: space-between;
    gap: min(calc(40 / 1000 * 100vw), 40px);
    position: relative;
  }

  .p-flow__list::before {
    display: none !important;
  }

  .p-flow__item {
    flex: 1;
    flex-direction: column;
    align-items: center; 
    text-align: center;
    gap: min(calc(24 / 1000 * 100vw), 24px);
    width: auto;
  }

  .p-flow__num-wrap {
    width: min(calc(60 / 1000 * 100vw), 60px);
    height: min(calc(60 / 1000 * 100vw), 60px);
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .p-flow__number {
    font-size: min(calc(28 / 1000 * 100vw), 28px);
    line-height: 0.8;
    padding-top: 5px;
  }

  /* PC版専用の横向き点線 */
  .p-flow__item::after {
    content: "";
    position: absolute;
    top: min(calc(30 / 1000 * 100vw), 30px);
    transform: translateY(-50%);
    left: calc(50% + min(calc(30 / 1000 * 100vw), 30px) + min(calc(20 / 1000 * 100vw), 20px));
    width: calc(100% + min(calc(40 / 1000 * 100vw), 40px) - (min(calc(30 / 1000 * 100vw), 30px) * 2) - (min(calc(20 / 1000 * 100vw), 20px) * 2));
    height: 5px; 
    background-image: radial-gradient(circle 2px at 2px center, var(--clr-sky) 100%, transparent 100%);
    background-size: 14px 4px;
    background-repeat: repeat-x;
    border-top: none;
    display: block !important;
  }

  .p-flow__item:last-child::after {
    display: none !important;
  }

  .p-flow__content {
    padding-left: 0;
    width: 100%;            
  }

  .p-flow__title {
    margin-bottom: min(calc(16 / 1000 * 100vw), 16px);
  }

  .p-flow__text {
    text-align: left;       
  }
}

/* ==========================================================================
   Section: 2つのプラン (p-plans)
   ========================================================================== */
.p-plans {
  background-color: var(--clr-bg-sec);
  padding-top: calc(60 / 393 * 100vw);
  padding-bottom: calc(60 / 393 * 100vw);
}

.p-plans__head {
  text-align: center;
  margin-bottom: calc(40 / 393 * 100vw);
}

.p-plans__list {
  display: flex;
  flex-direction: column;
  gap: calc(30 / 393 * 100vw);
  align-items: center;
}

/* プランカード全体のベース基盤 */
.p-plans__card {
  background-color: var(--clr-bg-main);
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.01);
  width: 100%;
  width: calc(340 / 393 * 100vw);
  position: relative;
  overflow: visible;
  display: flex;
  flex-direction: column;
}

.p-plans__badge-free {
  position: absolute;
  top: calc(-45 / 393 * 100vw);
  left: calc(-10 / 393 * 100vw);
  width: calc(100 / 393 * 100vw);
  height: calc(100 / 393 * 100vw);
  background-color: var(--clr-functional-joy);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--clr-bg-main);
  z-index: 10;
  font-family: var(--font-title);
  font-weight: 700;
  line-height: 1.3;
}

.p-plans__badge-free-sub {
  font-size: calc(15 / 393 * 100vw);
}

.p-plans__badge-free-main {
  font-size: calc(20 / 393 * 100vw);
  margin-bottom: calc(5 / 393 * 100vw);
}

/* プラン画像 */
.p-plans__img {
  width: 100%;
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
  overflow: hidden;
}

.p-plans__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* プラン名の帯あしらい */
.p-plans__name {
  width: 100%;
  text-align: center;
  padding: calc(10 / 393 * 100vw) 0;
  color: var(--clr-text-100);
}

.p-plans__name.is-standard {
  background-color: var(--clr-clover-bg);
}

.p-plans__name.is-first {
  background-color: var(--clr-sunny-bg);
}

/* カードインナーボディ */
.p-plans__body {
  padding: calc(24 / 393 * 100vw) calc(20 / 393 * 100vw);
  display: flex;
  flex-direction: column;
  flex: 1;
}

/* 値段ブロック */
.p-plans__price-wrap {
  color: var(--clr-text-100);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  margin-bottom: calc(20 / 393 * 100vw);
  border-bottom: 1px solid var(--clr-text-40);
  padding-bottom: calc(16 / 393 * 100vw);
}

.p-plans__price-label {
  font-family: var(--font-title);
  font-size: calc(16 / 393 * 100vw);
  font-weight: 700;
  margin-right: calc(5 / 393 * 100vw);
}

.p-plans__amount {
  font-family: var(--font-en);
  font-size: calc(40 / 393 * 100vw);
  font-weight: 700;
  line-height: 1;
  margin-right: calc(2 / 393 * 100vw);
  margin-bottom: calc(-5 / 393 * 100vw);
}

.p-plans__tax {
  font-family: var(--font-title);
  font-size: calc(16 / 393 * 100vw);
  font-weight: 600;
  margin-right: calc(8 / 393 * 100vw);
}

/* 送料無料タグ */
.p-plans__shipping-tag {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: calc(35 / 393 * 100vw);
  height: calc(35 / 393 * 100vw);
  font-size: calc(11 / 393 * 100vw);
  line-height: 1.2;
  font-weight: 700;
  color: var(--clr-bg-main);
  border-radius: 3px;
  padding: 0;
  margin-bottom: calc(3 / 393 * 100vw);
}
.p-plans__shipping-tag.is-green { background-color: var(--clr-clover); }
.p-plans__shipping-tag.is-orange { background-color: var(--clr-sunny); }

/* ポイントチェックリスト */
.p-plans__features {
  display: flex;
  flex-direction: column;
  gap: calc(14 / 393 * 100vw);
  margin-bottom: calc(24 / 393 * 100vw);
}

.p-plans__features li {
  color: var(--clr-text-100);
  line-height: 1.5;
  position: relative;
  padding-left: calc(22 / 393 * 100vw);
  font-weight: 500;
}

/* チェックマーク擬似あしらい */
.p-plans__features li::before {
  content: "";
  position: absolute;
  left: calc(2 / 393 * 100vw);
  top: calc(3 / 393 * 100vw);
  width: 0.6em;
  height: 1em;
  border-right: 3px solid var(--clr-clover);
  border-bottom: 3px solid var(--clr-clover);
  transform: rotate(45deg);
  border-radius: 1px;
}
.p-plans__features.is-orange li::before {
  border-right-color: var(--clr-sunny);
  border-bottom-color: var(--clr-sunny);
}

.p-plans__features-sub {
  color: var(--clr-text-80);
  display: block;
  margin-top: 2px;
}

/* 申し込みボタン共通 */
.p-plans__btn {
  font-family: var(--font-title);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: calc(45 / 393 * 100vw);
  border-radius: calc(45 / 393 * 100vw);
  font-weight: 600;
  position: relative;
  background-color: var(--clr-bg-main);
  color: var(--clr-text-100);
  transition: 0.3s ease;
  letter-spacing: 0.2em;
}

.p-plans__btn-icon-mask {
  position: absolute;
  right: calc(16 / 393 * 100vw);
  top: 50%;
  transform: translateY(-50%);
  width: calc(17 / 393 * 100vw);
  height: calc(17 / 393 * 100vw);
  -webkit-mask-image: url("../img/icon_arrow_white.svg");
  mask-image: url("../img/icon_arrow_white.svg");
    -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
}
.p-plans__btn.is-standard {
  border: 1px solid var(--clr-clover);
}
.p-plans__btn.is-standard:hover {
  color: var(--clr-bg-main);
  background-color: var(--clr-clover);
  opacity: 1;
}

.p-plans__btn.is-standard .p-plans__btn-icon-mask {
  background-color: var(--clr-clover);
   transition: 0.3s ease;
}
.p-plans__btn.is-standard:hover .p-plans__btn-icon-mask {
  background-color: var(--clr-bg-main);
}


.p-plans__btn.is-first {
  border: 1px solid var(--clr-sunny);
}
.p-plans__btn.is-first:hover {
  color: var(--clr-bg-main);
  background-color: var(--clr-sunny);
  opacity: 1;
}


.p-plans__btn.is-first .p-plans__btn-icon-mask {
  background-color: var(--clr-sunny);
  transition: 0.3s ease;
}
.p-plans__btn.is-first:hover .p-plans__btn-icon-mask {
  background-color: var(--clr-bg-main);

}

/* 注釈文 */
.p-plans__note {
  color: var(--clr-text-80);
  margin-top: calc(16 / 393 * 100vw);
}
.p-plans__note-item {
  display: block;
  padding-left: 1.2em;
  text-indent: -1.2em;
  line-height: 1.6;
}
.p-plans__note-item:not(:last-child) {
  margin-bottom: calc(4 / 393 * 100vw);
}


/* モーダル呼び出しトリガーリンク */
.p-plans__modal-trigger {
  background: none;
  border: none;
  color: var(--clr-text-80);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: calc(6 / 393 * 100vw);
  margin-top: calc(20 / 393 * 100vw);
  cursor: pointer;
  width: fit-content;
  text-decoration: none; /* アンダーライン削除 */
}

/* 添付されたSVGアイコンのスマホ版スタイル */
.p-plans__modal-icon-svg {
  display: block;
  width: calc(20 / 393 * 100vw);
  height: calc(20 / 393 * 100vw);
  background-color: var(--clr-clover);
  -webkit-mask-image: url("../img/icon_plus.svg");
  mask-image: url("../img/icon_plus.svg");
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
}

/* ==========================================================================
   Section: 2つのプラン --- PC版レイアウト調整 (768px以上) ---
   ========================================================================== */
@media screen and (min-width: 768px) {
  .p-plans {
    padding-top: min(calc(80 / 1000 * 100vw), 80px);
    padding-bottom: min(calc(80 / 1000 * 100vw), 80px);
  }

  .p-plans__head {
    margin-bottom: min(calc(50 / 1000 * 100vw), 50px);
  }
  .p-plans__head .section-title {
    margin-bottom: min(calc(50 / 1000 * 100vw), 50px);
  }


    .p-plans__list {
    flex-direction: row;
    justify-content: center;
    align-items: stretch;
    gap: min(calc(40 / 1000 * 100vw), 40px);
    width: min(calc(940 / 1000 * 100vw), 940px);
    margin: 0 auto;
  }

  .p-plans__card {
    flex: 1;
    width: min(calc(450 / 1000 * 100vw), 450px);
  }

  /* PC版：初月無料バッジの拡大調整 */
  .p-plans__badge-free {
    top: min(calc(-20 / 1000 * 100vw), -30px);
    left: min(calc(-15 / 1000 * 100vw), -25px);
    width: min(calc(120 / 1000 * 100vw), 120px);
    height: min(calc(120 / 1000 * 100vw), 120px);
  }
  .p-plans__badge-free-sub { 
    font-size: min(calc(18 / 1000 * 100vw), 18px);
  }
  .p-plans__badge-free-main { 
    font-size: min(calc(24 / 1000 * 100vw), 24px);
    margin-bottom: min(calc(5 / 1000 * 100vw), 5px);
  }

  .p-plans__name {
    padding: min(calc(10 / 1000 * 100vw), 10px);
  }

  .p-plans__body {
    padding: min(calc(40 / 1000 * 100vw), 40px) min(calc(25 / 1000 * 100vw), 25px);
  }

  .p-plans__price-wrap {
    margin-bottom: min(calc(20 / 1000 * 100vw), 20px);
    padding-bottom: min(calc(25 / 1000 * 100vw), 25px);
  }

  .p-plans__price-label { 
    font-size: min(calc(22 / 1000 * 100vw), 22px);
    margin-right: min(calc(5 / 1000 * 100vw), 5px);
  }
  .p-plans__amount {  
    font-size: min(calc(55 / 1000 * 100vw), 55px);
    margin-bottom: min(calc(-5 / 1000 * 100vw), -5px);
    margin-right: min(calc(2 / 1000 * 100vw), 2px);
  }
  .p-plans__tax { 
    font-size: min(calc(22 / 1000 * 100vw), 22px);
    margin-right: min(calc(10 / 1000 * 100vw), 10px);
  }
  .p-plans__shipping-tag { 
    width: min(calc(45 / 1000 * 100vw), 45px);
    height: min(calc(45 / 1000 * 100vw), 45px);
    font-size: min(calc(15 / 1000 * 100vw), 15px);
    margin-bottom: min(calc(5 / 1000 * 100vw), 5px);
  }

  .p-plans__features { 
    gap: min(calc(16 / 1000 * 100vw), 16px);
    margin-bottom: min(calc(30 / 1000 * 100vw), 30px);
  }
  .p-plans__features li { 
    padding-left: min(calc(35 / 1000 * 100vw), 35px);
  }
  .p-plans__features li::before {
    top: 0;

  }

.p-plans__btn {
    height: min(calc(60 / 1000 * 100vw), 60px);
    border-radius: min(calc(60 / 1000 * 100vw), 60px);
  }
  .p-plans__btn-icon-mask {
    right: 20px;
    width: min(calc(20 / 1000 * 100vw), 20px);
    height: min(calc(20 / 1000 * 100vw), 20px);
  }

  .p-plans__note {
    margin-top: min(calc(20 / 1000 * 100vw), 20px);
  }
  .p-plans__note-item:not(:last-child) {
    margin-bottom: min(calc(6 / 1000 * 100vw), 6px);
  }

  .p-plans__modal-trigger { 
    margin-top:  min(calc(24 / 1000 * 100vw), 24px);
    gap: min(calc(8 / 1000 * 100vw), 8px);
  }

  /* アイコンのPC版サイズ変更 */
  .p-plans__modal-icon-svg {
    width: min(calc(23 / 1000 * 100vw), 23px);
    height: min(calc(23 / 1000 * 100vw), 23px);
  }

@media screen and (max-width: 1040px) {
.p-plans__list {
    gap: min(calc(20 / 1000 * 100vw), 20px);
  }
  }
}

/* ==========================================================================
   Component: 汎用モーダル (きょうだいプラン・レビュー共通)
   ========================================================================== */
.l-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  overflow-y: auto;
  padding: calc(40 / 393 * 100vw) 0;
}

.l-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.l-modal__overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--clr-bg-sec);
  z-index: 1;
}

.l-modal__container {
  position: relative;
  background-color: var(--clr-bg-main);
  width: calc(340 / 393 * 100vw);
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
  z-index: 10010;
  padding: calc(40 / 393 * 100vw) calc(20 / 393 * 100vw) calc(30 / 393 * 100vw);
}

/* --- モーダルの閉じるボタン --- */
.l-modal__close {
  position: absolute;
  top: calc(-18 / 393 * 100vw);
  right: calc(-18 / 393 * 100vw);
  width: calc(46 / 393 * 100vw);
  height: calc(46 / 393 * 100vw);
  background-color: var(--clr-clover);
  color: #ffffff;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: opacity 0.3s ease, transform 0.3s ease;
  
  padding: 0; /* ★これを追加（ブラウザ標準の余白を消す） */
}

.l-modal__close:hover {
  opacity: 0.8;
  transform: scale(1.05);
}

.l-modal__close svg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%); /* 強制的にど真ん中に固定 */
  width: 65%;
  height: 65%;
  margin: 0; 
  fill: currentColor;
}

/* --- モーダルヘッダー --- */
.l-modal__header {
  text-align: center;
  margin-bottom: calc(30 / 393 * 100vw);
}

.l-modal__sub {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: calc(16 / 393 * 100vw);
  color: var(--clr-text-80);
  font-weight: 600;
  margin-bottom: calc(12 / 393 * 100vw);
}

.l-modal__sub::before,
.l-modal__sub::after {
  content: "";
  display: block;
  width: 1px;
  height: calc(18 / 393 * 100vw);
  background-color: var(--clr-text-40);
}

.l-modal__sub::before {
  transform: rotate(-30deg);
}

.l-modal__sub::after {
  transform: rotate(30deg);
}

.l-modal__title {
  color: var(--clr-main);
  font-weight: 700;
  letter-spacing: 0.1em;
}

.l-modal__example {
  margin: calc(20 / 393 * 100vw) 0;
}
.l-modal__ex-title {
  text-align: center;
  color: var(--clr-main);
}

/* --- PC版モーダル調整 (768px以上) --- */
@media screen and (min-width: 768px) {
  .l-modal {
    padding: min(calc(60 / 1000 * 100vw), 60px) 0;
  }

  .l-modal__container {
    width: min(calc(500 / 1000 * 100vw), 500px);
    padding: min(calc(50 / 1000 * 100vw), 50px) min(calc(40 / 1000 * 100vw), 40px);
  }

  .l-modal__close {
    top: max(calc(-25 / 1000 * 100vw), -25px);
    right: max(calc(-25 / 1000 * 100vw), -25px);
    width: min(calc(60 / 1000 * 100vw), 60px);
    height: min(calc(60 / 1000 * 100vw), 60px);
  }
  
.l-modal__close svg {
    width: 70%;  /* お好みで 80% などに調整してください */
    height: 70%; 
    fill: currentColor;
  }

  .l-modal__header {
    margin-bottom: min(calc(20 / 1000 * 100vw), 20px);
  }
  
  .l-modal__sub {
    gap: min(calc(24 / 1000 * 100vw), 24px);
    margin-bottom: min(calc(16 / 1000 * 100vw), 16px);
  }

  .l-modal__sub::before,
  .l-modal__sub::after {
    height: min(calc(24 / 1000 * 100vw), 24px);
  }

  .l-modal__example {
    margin: min(calc(30 / 1000 * 100vw), 30px) 0;
  }
}

/* --- レビューモーダル専用の調整 --- */

/* レビューモーダル専用のコンテナパディング */
.l-modal__container.is-review {
  padding: calc(30 / 393 * 100vw) calc(20 / 393 * 100vw);
}

/* ★閉じるボタンを青色にする */
.l-modal__container.is-review .l-modal__close {
  background-color: var(--clr-main) !important;
}

/* 1. タグ：中央揃え */
.l-review-modal__tags {
  display: flex;
  justify-content: center;
  margin-top: calc(20 / 393 * 100vw);
}

.l-review-modal__tag {
  font-size: calc(12 / 393 * 100vw);
  padding: calc(4 / 393 * 100vw) calc(16 / 393 * 100vw);
}

/* 2. メタ：中央揃え ＆ 下部にグレーの区切りラインを追加 */
.l-review-modal__meta {
  text-align: center;
  color: var(--clr-text-100);
  margin-top: calc(8 / 393 * 100vw);
  font-family: var(--font-note);
  padding-bottom: calc(12 / 393 * 100vw);
  border-bottom: 1px solid var(--clr-text-40); /* カードの線に合わせる */
  width: 100%;
}

/* 3. タイトル：カードと全く同じデザインで中央揃え */
.l-review-modal__title {
  color: var(--clr-main);
  font-family: var(--font-title);
  font-weight: 600;
  line-height: 1.5;
  text-align: center;
  margin-top: calc(16 / 393 * 100vw);
  margin-bottom: calc(12 / 393 * 100vw);
}

/* 本文テキストエリアの微調整 */
.l-review-modal__text-wrap {
  color: var(--clr-text-100);
  line-height: 1.6;
  text-align: left;
  margin-bottom: calc(20 / 393 * 100vw);
}

.l-review-modal__img img,
.l-review-modal__sub-img img {
  width: 100%;
  height: auto;
  object-fit: cover;
}
.l-review-modal__sub-img {
  margin-bottom: calc(20 / 393 * 100vw);
}

/* レビューモーダル：PC版の最適化（768px以上） */
@media screen and (min-width: 768px) {
  .l-modal__container.is-review {
    padding: min(calc(40 / 1000 * 100vw), 40px);
  }
  
  .l-review-modal__tags {
    margin-top: min(calc(24 / 1000 * 100vw), 24px);
  }
  
  .l-review-modal__tag {
    font-size: min(calc(16 / 1000 * 100vw), 16px);
    padding: min(calc(4 / 1000 * 100vw), 4px) min(calc(14 / 1000 * 100vw), 14px);
  }

  .l-review-modal__meta {
    font-size: min(calc(14 / 1000 * 100vw), 14px);
    margin-top: min(calc(10 / 1000 * 100vw), 10px);
    padding-bottom: min(calc(12 / 1000 * 100vw), 12px);
  }

  .l-review-modal__title {
    margin-top: min(calc(16 / 1000 * 100vw), 16px);
    margin-bottom: min(calc(12 / 1000 * 100vw), 12px);
  }
  
  .l-review-modal__text-wrap {
    line-height: 1.7;
    margin-bottom: min(calc(20 / 1000 * 100vw), 20px);
  }
  .l-review-modal__sub-img {
  margin-bottom: min(calc(20 / 1000 * 100vw), 20px);
}

}

/* ==========================================================================
   Section: Comparison (選ばれる理由)
   ========================================================================== */
.section-comparison {
  padding: calc(60 / 393 * 100vw) calc(20 / 393 * 100vw);
}

.p-comparison__head {
  text-align: center;
  margin-bottom: calc(40 / 393 * 100vw);
}

.p-comparison__head .section-title {
  margin-bottom: 0;
}

/* レイアウト：スマホは縦積み */
.p-comparison__layout {
  display: flex;
  flex-direction: column;
  gap: calc(30 / 393 * 100vw);
}

/* --- 比較表のスタイル --- */
.p-comparison__table-wrapper {
  width: 100%;
  overflow-x: auto; /* スマホで万が一はみ出た際の安全弁 */
}

.p-comparison__table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-note);
  table-layout: fixed;
}

.p-comparison__table th,
.p-comparison__table td {
  border: 1px solid var(--clr-text-40);
  text-align: center;
  vertical-align: middle;
  font-size: calc(12 / 393 * 100vw);
  line-height: 1.4;
  padding: calc(12 / 393 * 100vw) calc(5 / 393 * 100vw);
}

/* 各列の幅割り当て */
.p-comparison__table th:nth-child(1) { width: 32%; }
.p-comparison__table th:nth-child(2) { width: 34%; }
.p-comparison__table th:nth-child(3) { width: 34%; }

/* 行の見出し */
.p-comparison__table tbody th {
  background-color: var(--clr-bg-main);
  color: var(--clr-text-100);
  font-weight: 600;
}

/* トイシェア列の背景色（薄い緑） */
.p-comparison__table .is-toyshare {
  background-color: var(--clr-clover-bg);
}

/* トイシェアロゴ・一般テキスト */
.p-comparison__logo {
  width: calc(87 / 393 * 100vw);
  margin: 0 auto;
}

.p-comparison__table th.is-general {
  font-family: var(--font-note);
  font-weight: 600;
  color: var(--clr-text-100);
}

.p-comparison__table-text {
  display: block;
  font-size: calc(11 / 393 * 100vw);
  color: var(--clr-text-100);
  margin-top: calc(4 / 393 * 100vw);
}

/* 〇・▲マークのスタイリング */
.p-comparison__mark {
  display: inline-block;
  text-indent: -9999px;
  overflow: hidden;
  vertical-align: middle;
}

/* 二重丸（ゴールド/イエロー系） */
.p-comparison__mark.is-circle {
  text-indent: -9999px;
  overflow: hidden;
  width: calc(20 / 393 * 100vw);
  height: calc(20 / 393 * 100vw);
  border: 4px solid var(--clr-sunny);
  border-radius: 50%;
}

/* 三角（ライトブルー系） */
.p-comparison__mark.is-triangle {
  display: inline-block;
  vertical-align: middle;
  text-indent: -9999px;
  overflow: hidden;
  
  /* 三角形のサイズ（スマホ版） */
  width: calc(20 / 393 * 100vw);
  height: calc(18 / 393 * 100vw);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 24'><polygon points='13,3 23.5,21 2.5,21' fill='none' stroke='%2366ADDA' stroke-width='3.5' stroke-linejoin='miter'/></svg>");  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  
  margin-top: calc(2 / 393 * 100vw);
  margin-bottom: calc(2 / 393 * 100vw);
}


/* --- 保有資格ボックス（右側）のスタイル --- */
.p-comparison__license-box {
  background-color: var(--clr-bg-sec);
  border-radius: 12px;
  padding: calc(30 / 393 * 100vw) calc(20 / 393 * 100vw);
}

.p-comparison__license-title {
  color: var(--clr-main);
  text-align: left;
  margin-bottom: calc(20 / 393 * 100vw);
}

.p-comparison__license-tags {
  display: flex;
  flex-wrap: wrap;
  gap: calc(8 / 393 * 100vw);
  margin-bottom: calc(20 / 393 * 100vw);
}

.p-comparison__license-tags li {
  background-color: var(--clr-bg-main);
  color: var(--clr-text-100);
  font-weight: 500;
  padding: calc(6 / 393 * 100vw) calc(12 / 393 * 100vw);
  border-radius: 60px;
  display: inline-flex;
  align-items: center;
}

/* チェックマークあしらい */
.p-comparison__license-tags li::before {
  content: "";
  display: inline-block;
  width: calc(10 / 393 * 100vw);
  height: calc(6 / 393 * 100vw);
  border-left: 3px solid var(--clr-sunny);
  border-bottom: 3px solid var(--clr-sunny);
  transform: rotate(-45deg);
  margin-right: calc(6 / 393 * 100vw);
  margin-top: calc(-3 / 393 * 100vw);
  border-radius: 1px;
}

.p-comparison__license-text {
  color: var(--clr-text-100);
  line-height: 1.6;
  margin-bottom: calc(20 / 393 * 100vw);
}

.p-comparison__license-img img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
}


/* ==========================================================================
   --- PC版レイアウト調整 (768px以上) ---
   ========================================================================== */
@media screen and (min-width: 768px) {
  .section-comparison {
    padding: min(calc(80 / 1000 * 100vw), 80px) 20px !important;
  }

  .p-comparison__head {
     text-align: left;
    margin-bottom: min(calc(50 / 1000 * 100vw), 50px);
  }

  /* 2カラムの横並びへ */
  .p-comparison__layout {
    flex-direction: row;
    justify-content: space-between;
    align-items: stretch; /* 高さを揃える */
    gap: min(calc(40 / 1000 * 100vw), 40px);
  }
  

  .p-comparison__table-wrapper {
    flex: 0 0 56%; /* 表の横幅 */
    display: flex;
    flex-direction: column;
  }

  .p-comparison__license-box {
    flex: 0 0 41%; /* 資格エリアの横幅 */
    padding: min(calc(40 / 1000 * 100vw), 40px) min(calc(30 / 1000 * 100vw), 30px);
    display: flex;
    flex-direction: column;
  }
  .p-comparison__table {
    height: 100%; 
  }

  /* PCフォント・余白サイズ変更 */
  .p-comparison__table th,
  .p-comparison__table td {
    font-size: min(calc(16 / 1000 * 100vw), 16px);
  }
   .p-comparison__table th {
    padding: min(calc(15 / 1000 * 100vw), 15px) 0;
  }

  .p-comparison__table td {
    padding: min(calc(10 / 1000 * 100vw), 10px) 0 min(calc(15 / 1000 * 100vw), 15px);
  }

  .p-comparison__table-text {
    font-size: min(calc(13 / 1000 * 100vw), 13px);
    margin-top: 8px;
  }

  .p-comparison__logo {
  width: min(calc(130 / 1000 * 100vw), 130px);
}

  .p-comparison__mark.is-circle {
    width: min(calc(24 / 1000 * 100vw), 24px);
    height: min(calc(24 / 1000 * 100vw), 24px);
    border-width: 5px;
  }

  .p-comparison__mark.is-triangle {
    width: min(calc(24 / 1000 * 100vw), 24px);
    height: min(calc(22 / 1000 * 100vw), 22px);
    margin-top: min(calc(4 / 1000 * 100vw), 4px);
    margin-bottom: min(calc(4 / 1000 * 100vw), 4px);
  }

  .p-comparison__license-title {
    margin-bottom: min(calc(24 / 1000 * 100vw), 24px);
  }

  .p-comparison__license-tags {
    gap: min(calc(10 / 1000 * 100vw), 10px);
    margin-bottom: min(calc(24 / 1000 * 100vw), 24px);
  }

  .p-comparison__license-tags li {
    padding: min(calc(6 / 1000 * 100vw), 6px) min(calc(14 / 1000 * 100vw), 14px);
  }
  
  .p-comparison__license-tags li::before {
    width: min(calc(12 / 1000 * 100vw), 12px);
    height: min(calc(7 / 1000 * 100vw), 7px);
    margin-right: min(calc(8 / 1000 * 100vw), 8px);
    margin-top: min(calc(-2 / 1000 * 100vw), -2px);
  }

  .p-comparison__license-text {
    margin-bottom: min(calc(24 / 1000 * 100vw), 24px);
  }

  /* 下部で綺麗に画像を固定配置 */
  .p-comparison__license-img {
    margin-top: auto; 
  }
}

/* 1040px以上の最大幅に達した時のブレイク */
@media screen and (min-width: 1040px) {
  .section-comparison {
    padding-left: 0;
    padding-right: 0;
  }
}

/* ==========================================================================
   Section: Column (コラム)
   ========================================================================== */
.p-column {
  padding-top: calc(60 / 393 * 100vw);
  padding-bottom: calc(60 / 393 * 100vw);
  width: 100%;
  overflow: hidden; /* コラムセクション外へのハミ出しを完全に防ぐ */
}

.p-column__head {
  text-align: center;
  margin-bottom: calc(30 / 393 * 100vw);
}

.p-column__head .section-title {
  margin-bottom: 0;
}

/* スマホ時：親要素の幅を100%にし、ハミ出しを許可しつつ全体を制御 */
.p-column__slider.swiper {
  overflow: visible !important; /* 横滑りで見せるために内側は visible */
  width: 100%;
  padding-left: calc(20 / 393 * 100vw); /* カンプ通りの左余白をここで確保 */
  padding-right: calc(15 / 393 * 100vw);
  padding-bottom: calc(40 / 393 * 100vw); /* ページネーション用の下部余白 */
  box-sizing: border-box;
}

.p-column__list.swiper-wrapper {
  display: flex;
  flex-direction: row; /* スマホ時は確実に横並び */
  gap: 0; /* 隙間は Swiper の spaceBetween で制御するため 0 に */
  margin-left: 0; /* スクリプトと競合するためリセット */
}

/* 記事カード個別 */
.p-column__card {
  background-color: var(--clr-bg-main);
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  height: auto; 
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

.p-column__card-link {
  padding: 8%;
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* アイキャッチ画像 */
.p-column__img {
  aspect-ratio: 230 / 160; 
  overflow: hidden;
}

.p-column__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* カード内部テキストエリア */
.p-column__body {
  padding: calc(16 / 393 * 100vw) 0 calc(20 / 393 * 100vw);
  position: relative; 
  display: flex;
  flex-direction: column;
  flex: 1;
}

/* タググループ */
.p-column__tags {
  display: flex;
  flex-wrap: wrap;
  gap: calc(10 / 393 * 100vw);
  margin-bottom: calc(12 / 393 * 100vw);
}

.p-column__tag {
  font-family: var(--font-note);
  font-size: calc(10 / 393 * 100vw);
  font-weight: 600;
  color: var(--clr-bg-main);
  padding: calc(3 / 393 * 100vw) calc(10 / 393 * 100vw);
  border-radius: 50px;
  line-height: 1.2;
}
.p-column__tag.is-sunny { background-color: var(--clr-sunny); }
.p-column__tag.is-clover { background-color: var(--clr-clover); }

/* 記事タイトル */
.p-column__title {
  font-family: var(--font-note);
  font-size: calc(13 / 393 * 100vw);
  font-weight: 600;
  color: var(--clr-text-100);
  line-height: 1.5;
  text-align: left;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

/* カード右下の斜め三角あしらい */
.p-column__deco-triangle {
  position: absolute;
  bottom: calc(-14 / 393 * 100vw);
  right: calc(-14 / 393 * 100vw);
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 0 calc(14 / 393 * 100vw) calc(14 / 393 * 100vw);
  border-color: transparent transparent transparent transparent;
  border-radius: 3px;
  border-color: transparent transparent var(--clr-sunny) transparent; 
}
/* Swiperページネーション（ドット）のカスタム */
.p-column__slider .swiper-pagination-dots {
  bottom: 0 !important;
}

.p-column__slider .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  background-color: var(--clr-text-40);
  opacity: 1;
  margin: 0 5px !important;
  transition: all 0.3s ease;
}

.p-column__slider .swiper-pagination-bullet-active {
  background-color: var(--clr-main);
  width: 8px;
}

/* もっと読むボタン */
.p-column__more {
  display: flex;
  justify-content: center;
  margin-top: calc(20 / 393 * 100vw);
}

.p-column__more-link {
  color: var(--clr-text-100);
  font-family: var(--font-body);
  font-size: calc(14 / 393 * 100vw);
  font-weight: 400;
  display: inline-flex;
  align-items: center;
  gap: calc(8 / 393 * 100vw);
  transition: opacity 0.3s ease;
}

@media (hover: hover) {
  .p-column__more-link:hover { opacity: 0.7; }
}

.p-column__more-icon {
  display: block;
  width: calc(20 / 393 * 100vw);
  height: calc(20 / 393 * 100vw);
  background-color: var(--clr-main);
  -webkit-mask-image: url("../img/icon_plus.svg");
  mask-image: url("../img/icon_plus.svg");
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
}

/* ==========================================================================
   --- PC版レイアウト調整 (768px以上) ---
   ========================================================================== */
@media screen and (min-width: 768px) {
  .p-column {
    padding-top: min(calc(80 / 1000 * 100vw), 80px);
    padding-bottom: min(calc(80 / 1000 * 100vw), 80px);
    overflow: visible; /* PC版はハミ出し制限を解除 */
  }

  .p-column__head {
    text-align: center;
    margin-bottom: min(calc(30 / 1000 * 100vw), 30px);
  }

  .p-column__slider {
    width: min(calc(1000 / 1000 * 100vw), 1000px);
  }

  .p-column__slider.swiper {
    padding-left: 0;
    padding-right: 0;
    padding-bottom: 0;
    overflow: visible !important;
  }

  .p-column__list.swiper-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: min(calc(30 / 1000 * 100vw), 30px);
    transform: none !important;
    margin-left: 0; 
    padding: 0; 
  }

  .p-column__card {
    width: auto;
  }

  .p-column__card.swiper-slide {
    width: auto !important; 
    margin-right: 0 !important;
  }

  /* PCフォント・余白サイズ変更 */
  .p-column__body {
    padding: min(calc(20 / 1000 * 100vw), 20px) 0;
  }

  .p-column__tags {
    gap: min(calc(8 / 1000 * 100vw), 8px);
    margin-bottom: min(calc(14 / 1000 * 100vw), 14px);
  }

  .p-column__tag {
    font-size: min(calc(12 / 1000 * 100vw), 12px);
    padding: min(calc(4 / 1000 * 100vw), 4px) min(calc(12 / 1000 * 100vw), 12px);
  }

  .p-column__title {
    font-size: min(calc(16 / 1000 * 100vw), 16px);
    line-height: 1.6;
  }

  .p-column__deco-triangle {
    bottom: -10px;
    right: -10px;
    border-width: 0 0 min(calc(18 / 1000 * 100vw), 18px) min(calc(18 / 1000 * 100vw), 18px);
    border-radius: 3px;
  }

  /* PC時はドットナビゲーションを非表示に */
  .p-column__pagination.swiper-pagination {
    display: none !important;
  }

  /* もっと読むボタン（右下配置への切り替え） */
  .p-column__more {
    justify-content: flex-end;
    margin-top: min(calc(30 / 1000 * 100vw), 30px);
  }

  .p-column__more-link {
    font-size: min(calc(16 / 1000 * 100vw), 16px);
    gap: min(calc(8 / 1000 * 100vw), 8px);
  }

  .p-column__more-icon {
    width: min(calc(23 / 1000 * 100vw), 23px);
    height: min(calc(23 / 1000 * 100vw), 23px);
  }
}

/* 1040px以上の最大幅に達した時のブレイク */
@media screen and (min-width: 1040px) {
  .p-column {
    padding-left: 0;
    padding-right: 0;
  }
}

/* ==========================================================================
   Section: Review (レビュー)
   ========================================================================== */
.p-review {
  background-color: var(--clr-bg-sec);
  padding-top: calc(60 / 393 * 100vw);
  padding-bottom: calc(60 / 393 * 100vw);
  width: 100%;
  overflow: hidden;
}

.p-review__head {
  text-align: center;
  margin-bottom: calc(30 / 393 * 100vw);
}

.p-review__head .section-title {
  margin-bottom: 0;
}

/* スマホ時：親要素の幅を100%にし、ハミ出しを許可 */
.p-review__slider.swiper {
  overflow: visible !important;
  width: 100%;
  padding-left: calc(20 / 393 * 100vw);
  padding-right: calc(15 / 393 * 100vw);
  padding-bottom: calc(40 / 393 * 100vw);
  box-sizing: border-box;
}

.p-review__list.swiper-wrapper {
  display: flex;
  flex-direction: row;
  gap: 0;
}

/* 記事カード個別 */
.p-review__card {
  background-color: var(--clr-bg-main);
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  overflow: visible; /* 右下の丸ボタンをはみ出させるため */
  height: auto;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

.p-review__card-trigger {
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
  border-radius: 16px;
  overflow: visible;
   
}

/* レビューメイン画像 */
.p-review__img {
  width: 100%;
  aspect-ratio: 230 / 160;
  overflow: hidden;
  padding: 8% 8% 0 8%;

}

.p-review__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* カード内部テキストエリア */
.p-review__body {
  padding: calc(20 / 393 * 100vw) calc(20 / 393 * 100vw) calc(30 / 393 * 100vw);
  position: relative;
  display: flex;
  flex-direction: column;
  flex: 1;
  width: 100%;
  text-align: left; 
}

/* 月齢タグ */
.p-review__tags {
  display: flex;
  margin-bottom: calc(8 / 393 * 100vw);
  justify-content: center;
}

.p-review__tag {
  font-family: var(--font-note);
  font-size: calc(12 / 393 * 100vw);
  font-weight: 600;
  color: var(--clr-bg-main);
  background-color: var(--clr-sunny);
  padding: calc(4 / 393 * 100vw) calc(14 / 393 * 100vw);
  border-radius: 20px;
  line-height: 1.2;
}
.p-review__tag,
.l-review-modal__tag {
  font-family: var(--font-note);
  font-weight: 600;
  color: var(--clr-bg-main) !important;
  border-radius: 20px;
  line-height: 1.2;
  display: inline-block;
}

/* 各カラーバリエーション */
.is-sunny  { background-color: var(--clr-sunny) !important; }
.is-clover { background-color: var(--clr-clover) !important; }
.is-sky    { background-color: var(--clr-sky) !important; }
.is-grape  { background-color: var(--clr-grape) !important; }
.is-hug    { background-color: var(--clr-hug) !important; }
.is-senior { background-color: var(--clr-senior) !important; }


/* 利用期間テキスト */
.p-review__meta {
   font-family: var(--font-note);
  color: var(--clr-text-100);
  margin-bottom: calc(16 / 393 * 100vw);
  border-bottom: 1px solid var(--clr-text-40);
  padding-bottom: calc(12 / 393 * 100vw);
  width: 100%;
  text-align: center;
}

/* レビュータイトル */
.p-review__title {
  color: var(--clr-main);
  font-family: var(--font-title);
  font-weight: 600;
  line-height: 1.5;
  margin-bottom: calc(12 / 393 * 100vw);
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(1.5em * 2); 
}


/* 本文プレビュー */
.p-review__text {
  color: var(--clr-text-100);
  line-height: 1.6;
  text-align: left;
  /* ★3行で省略する設定（-webkit-line-clamp等）を削除しました */
}

/* カード右下の青いプラス丸ボタンあしらい */
.p-review__deco-plus {
  position: absolute;
  bottom: calc(-12 / 393 * 100vw);
  right: calc(-5 / 393 * 100vw);
  width: calc(40 / 393 * 100vw); 
  height: calc(40 / 393 * 100vw);
  background-color: transparent;
  border-radius: 0;
  display: block;
  box-shadow: none;
}

.p-review__deco-plus::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: var(--clr-main); /* プラスマークの色（青） */
  -webkit-mask-image: url("../img/icon_plus.svg");
  mask-image: url("../img/icon_plus.svg");
  -webkit-mask-size: 100%;
  mask-size: 100%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
}

/* Swiperドット調整 */
.p-review__slider .swiper-pagination-dots {
  bottom: 0 !important;
}
.p-review__slider .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  background-color: var(--clr-text-40);
  opacity: 1;
  margin: 0 5px !important;
  transition: all 0.3s ease;
}
.p-review__slider .swiper-pagination-bullet-active {
  background-color: var(--clr-main);
}


/* ==========================================================================
   Section: Review --- PC版レイアウト調整 (768px以上) ---
   ========================================================================== */
@media screen and (min-width: 768px) {
  .p-review {
    padding-top: min(calc(80 / 1000 * 100vw), 80px);
    padding-bottom: min(calc(80 / 1000 * 100vw), 80px);
    overflow: visible;
  }

  .p-review__head {
    margin-bottom: min(calc(50 / 1000 * 100vw), 50px);
  }

  .p-review__slider.swiper {
    padding-left: 0;
    padding-right: 0;
    padding-bottom: 0;
    overflow: visible !important;
    width: 100%;
  }

  /* 横並び3カラムに固定 */
  .p-review__list.swiper-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: min(calc(30 / 1000 * 100vw), 30px);
    transform: none !important;
    margin-left: 0;
    padding: 0;
  }

  .p-review__card.swiper-slide {
    width: auto !important;
    margin-right: 0 !important;
  }

  /* PC余白・サイズ調整 */
  .p-review__body {
    padding: min(calc(24 / 1000 * 100vw), 24px) min(calc(24 / 1000 * 100vw), 24px) min(calc(34 / 1000 * 100vw), 34px);
  }

  .p-review__tags {
    margin-bottom: min(calc(4 / 1000 * 100vw), 4px);
  }

  .p-review__tag {
    font-size: min(calc(12 / 1000 * 100vw), 12px);
    padding: min(calc(4 / 1000 * 100vw), 4px) min(calc(14 / 1000 * 100vw), 14px);
  }

  .p-review__meta {
     font-family: var(--font-note);
    font-size: min(calc(12 / 1000 * 100vw), 12px);
    margin-bottom: min(calc(16 / 1000 * 100vw), 16px);
    padding-bottom: min(calc(12 / 1000 * 100vw), 12px);
  }

  .p-review__title {
    margin-bottom: min(calc(12 / 1000 * 100vw), 12px);
    min-height: calc(1.5em * 2);
  }

  .p-review__text {
    line-height: 1.7;
  }

  .p-review__deco-plus {
    bottom: max(calc(-20 / 1000 * 100vw), -20px);
    right: max(calc(-10 / 1000 * 100vw), -10px);
    width: min(calc(40 / 1000 * 100vw), 40px);
    height: min(calc(40 / 1000 * 100vw), 40px);
  }

  /* PCはインジケーターを消す */
  .p-review__pagination.swiper-pagination {
    display: none !important;
  }
}


/* ==========================================================================
   Section: FAQ (よくあるご質問)
   ========================================================================== */
.p-faq {
  padding-top: calc(60 / 393 * 100vw);
  padding-bottom: calc(60 / 393 * 100vw);
  width: calc(340 / 393 * 100vw);
  margin: 0 auto;
}

.p-faq__head {
  text-align: center;
  margin-bottom: calc(40 / 393 * 100vw);
}

.p-faq__head .section-title {
  margin-bottom: 0;
}

.p-faq__list {
  display: flex;
  flex-direction: column;
  gap: calc(16 / 393 * 100vw);
  margin-bottom: calc(40 / 393 * 100vw);
}

.p-faq__item {
  background-color: var(--clr-bg-sec);
  border-radius: calc(10 / 393 * 100vw);
  overflow: hidden;
}

.p-faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  text-align: left;
  padding: calc(20 / 393 * 100vw) calc(20 / 393 * 100vw) calc(18 / 393 * 100vw);
  background: none;
  border: none;
  cursor: pointer;
  position: relative;
  font-family: var(--font-body);
  color: var(--clr-text-100);
}

.p-faq__q-icon {
  font-family: var(--font-en);
  color: var(--clr-main);
  font-size: calc(24 / 393 * 100vw);
  font-weight: 700;
  margin-right: calc(12 / 393 * 100vw);
  line-height: 1;
}

.p-faq__q-text {
  flex: 1;
  font-weight: 600;
  padding-right: calc(30 / 393 * 100vw);
  line-height: 1.5;
}

/* 右端の ＋ / － アイコン */
.p-faq__toggle-icon {
  position: absolute;
  right: calc(20 / 393 * 100vw);
  top: 50%;
  transform: translateY(-50%);
  width: calc(18 / 393 * 100vw);
  height: calc(18 / 393 * 100vw);
}

.p-faq__toggle-icon::before,
.p-faq__toggle-icon::after {
  content: "";
  position: absolute;
  background-color: var(--clr-main);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.p-faq__toggle-icon::before {
  width: 100%;
  height: 2px;
}

.p-faq__toggle-icon::after {
  width: 2px;
  height: 100%;
}

/* 開いた状態（－になる） */
.p-faq__item.is-open .p-faq__toggle-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
  opacity: 0;
}

/* CSS Gridを利用した滑らかなアコーディオン開閉 */
.p-faq__a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s ease, visibility 0.3s ease;
  overflow: hidden;
  visibility: hidden; /* 閉じている時は完全に隠す */
}

.p-faq__item.is-open .p-faq__a {
  grid-template-rows: 1fr;
  visibility: visible; /* 開いた時は表示する */
}

.p-faq__a-inner {
  min-height: 0;
  /* overflow: hidden; は削除、またはそのままでOK */
  display: flex;
  align-items: flex-start;
  /* ★ポイント: 
    Gridを0frにした時に完全に高さを0にするため、上下のpadding（余白）をここから排除します。
    左右のpaddingだけ残します。
  */
  padding: 0 calc(20 / 393 * 100vw); 
  position: relative;
  
  /* 閉じている時は中身をフェードアウトさせて点線などのチラつきを無くします */
  opacity: 0;
  transition: opacity 0.3s ease;
}
.p-faq__a-text,
.p-faq__a-icon {
  margin-top: calc(20 / 393 * 100vw);
  /* 下側の余白をここで確保します */
  margin-bottom: calc(24 / 393 * 100vw); 
}

.p-faq__item.is-open .p-faq__a-inner {
  opacity: 1;
}

/* QとAの間の青い点線 */
.p-faq__a-inner::before {
  content: "";
  position: absolute;
  top: 0;
  left: calc(20 / 393 * 100vw);
  right: calc(20 / 393 * 100vw);
  height: 2.5px; 
  background-image: radial-gradient(circle 1.5px at center, var(--clr-main) 100%, transparent 100%);
  background-size: 12px 3px; 
  background-repeat: repeat-x;
  opacity: 0.5;
}

.p-faq__a-icon {
  font-family: var(--font-en);
  color: var(--clr-functional-joy); /* 画像のオレンジ色 */
  font-size: calc(24 / 393 * 100vw);
  font-weight: 700;
  margin-right: calc(12 / 393 * 100vw);
  line-height: 1;
  margin-top: calc(20 / 393 * 100vw);
}

.p-faq__a-text {
  flex: 1;
  color: var(--clr-text-100);
  line-height: 1.6;
  margin-top: calc(20 / 393 * 100vw);
}

.p-faq__note {
  margin-top: calc(10 / 393 * 100vw);
}

/* もっと見るリンク */
.p-faq__more {
  display: flex;
  justify-content: flex-end;
}

.p-faq__more-link {
  display: inline-flex;
  align-items: center;
  gap: calc(10 / 393 * 100vw);
  color: var(--clr-text-100);
  font-weight: 600;
}

.p-faq__more-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: calc(24 / 393 * 100vw);
  height: calc(24 / 393 * 100vw);
  background-color: var(--clr-main);
  border-radius: 50%;
  position: relative;
}

.p-faq__more-icon::before,
.p-faq__more-icon::after {
  content: "";
  position: absolute;
  background-color: #fff;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.p-faq__more-icon::before {
  width: 50%;
  height: 2px;
}

.p-faq__more-icon::after {
  width: 2px;
  height: 50%;
}


/* ==========================================================================
   --- PC版レイアウト調整 (768px以上) ---
   ========================================================================== */
@media screen and (min-width: 768px) {
  .p-faq {
    padding-top: min(calc(80 / 1000 * 100vw), 80px);
    padding-bottom: min(calc(80 / 1000 * 100vw), 80px);
    width: min(calc(800 / 1000 * 100vw), 800px);
  }

  .p-faq__item {
  border-radius: min(calc(10 / 1000 * 100vw), 10px);
}

  .p-faq__head {
    margin-bottom: min(calc(50 / 1000 * 100vw), 50px);
    text-align: left; /* ★追加：PCではタイトルを左寄せ */
  }

  .p-faq__list {
    gap: min(calc(10 / 1000 * 100vw), 10px);
    margin-bottom: min(calc(50 / 1000 * 100vw), 50px);
  }

  .p-faq__q {
    padding: min(calc(24 / 1000 * 100vw), 24px) min(calc(30 / 1000 * 100vw), 30px) min(calc(22 / 1000 * 100vw), 22px) ;
  }

  .p-faq__q-icon {
    font-size: min(calc(32 / 1000 * 100vw), 32px);
    margin-right: min(calc(20 / 1000 * 100vw), 20px);
  }

  .p-faq__q-text {
    padding-right: min(calc(50 / 1000 * 100vw), 50px);
    font-size: min(calc(18 / 1000 * 100vw), 18px);
  }

  .p-faq__toggle-icon {
    right: min(calc(40 / 1000 * 100vw), 40px);
    width: min(calc(24 / 1000 * 100vw), 24px);
    height: min(calc(24 / 1000 * 100vw), 24px);
  }

 .p-faq__a-inner {
    padding: 0 min(calc(30 / 1000 * 100vw), 30px);
  }

  .p-faq__a-icon,
  .p-faq__a-text {
    margin-top: min(calc(24 / 1000 * 100vw), 24px);
    margin-bottom: min(calc(30 / 1000 * 100vw), 30px); /* 元々の下部paddingの値をここに設定 */
  }

  .p-faq__a-inner::before {
    left: min(calc(30 / 1000 * 100vw), 30px);
    right: min(calc(30 / 1000 * 100vw), 30px);
  }

  .p-faq__a-icon {
    font-size: min(calc(32 / 1000 * 100vw), 32px);
    margin-right: min(calc(20 / 1000 * 100vw), 20px);
    margin-top: min(calc(24 / 1000 * 100vw), 24px);
  }

  .p-faq__a-text {
    margin-top: min(calc(24 / 1000 * 100vw), 24px);
    font-size: min(calc(16 / 1000 * 100vw), 16px);
  }

  .p-faq__note {
    margin-top: min(calc(12 / 1000 * 100vw), 12px);
  }

  .p-faq__more-link {
    gap: min(calc(12 / 1000 * 100vw), 12px);
    font-size: min(calc(16 / 1000 * 100vw), 16px);
  }

  .p-faq__more-icon {
    width: min(calc(32 / 1000 * 100vw), 32px);
    height: min(calc(32 / 1000 * 100vw), 32px);
  }
}
/* ==========================================================================
   Section: Information (インフォメーション)
   ========================================================================== */
.p-information {
  background-color: var(--clr-bg-spot);
  padding-top: calc(40 / 393 * 100vw);
  padding-bottom: calc(40 / 393 * 100vw);
}

/* --- ウェーブ・背景カバー等のコードはそのまま維持 --- */
.is-green-wave {
  background-color: var(--clr-bg-spot) !important;
  background-image: none !important;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}
.c-wave-top.is-green-wave {
  -webkit-mask-image: url("../img/bg_wave_top.svg");
  mask-image: url("../img/bg_wave_top.svg");
}
.c-wave-bottom.is-green-wave {
  background-color: var(--clr-bg-spot) !important; 
  background-image: none !important;
  -webkit-mask-image: url("../img/bg_wave_bottom.svg");
  mask-image: url("../img/bg_wave_bottom.svg");
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  position: relative;
  z-index: 12;
}
.c-wave-beige-cover {
  display: block;
  width: 100%;
  height: min(calc(100vw * 159 / 1300), 159px); 
  background-color: var(--clr-bg-sec) !important;
  margin-top: calc(min(calc(100vw * 159 / 1300), 159px) * -1); 
  position: relative;
  z-index: 10;
}

.p-information__head {
  text-align: center;
  margin-bottom: calc(40 / 393 * 100vw);
}

.p-information__head .section-title {
  font-size: calc(26 / 393 * 100vw);
}

.p-information__list {
  display: flex;
  flex-direction: column;
  gap: calc(40 / 393 * 100vw);
  align-items: center;
}

.p-information__card {
  width: 100%;
  max-width: calc(340 / 393 * 100vw);
  display: flex;
  flex-direction: column;
}

.p-information__section-sub {
  color: var(--clr-main);
  text-align: center;
  margin-bottom: calc(20 / 393 * 100vw);
  font-weight: 600;
  font-size: calc(24 / 393 * 100vw);
}

.p-information__card-inner {
  background-color: var(--clr-bg-main);
  border-radius: 10px;
  padding: calc(30 / 393 * 100vw) calc(20 / 393 * 100vw);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* スマホ版：デフォルトは縦積み */
.p-information__line-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.p-information__line-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: calc(10 / 393 * 100vw);
  margin-bottom: calc(16 / 393 * 100vw);
}

.p-information__line-icon {
  width: calc(32 / 393 * 100vw);
  height: auto;
}

.p-information__card-title {
  color: var(--clr-main);
  font-weight: 600;
  line-height: 1.4;
  margin: 0;
  font-size: calc(22 / 393 * 100vw);
}

.p-information__card-title.is-center {
  text-align: center;
  margin-bottom: calc(16 / 393 * 100vw);
}


.p-information__card.is-line .p-information__text {
  margin-bottom: calc(24 / 393 * 100vw);
}

.p-information__text {
  color: var(--clr-text-100);
  line-height: 1.6;
  font-family: var(--font-note);
}

.p-information__text.is-center {
  margin-bottom: calc(24 / 393 * 100vw);
}

.p-information__btn {
  font-family: var(--font-title);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: calc(48 / 393 * 100vw);
  border-radius: calc(48 / 393 * 100vw);
  font-weight: 600;
  position: relative;
  background-color: var(--clr-bg-main);
  color: var(--clr-main);
  border: 1px solid var(--clr-main);
  transition: all 0.3s ease;
  letter-spacing: 0.1em;
  margin: 0 auto;
  padding-right: calc(20 / 393 * 100vw);
}


.p-information__btn-mask {
  position: absolute;
  right: calc(20 / 393 * 100vw); 
  top: 50%;
  transform: translateY(-50%);
  width: calc(14 / 393 * 100vw);
  height: calc(14 / 393 * 100vw);
  background-color: var(--clr-main);
  -webkit-mask-image: url("../img/icon_arrow_white.svg");
  mask-image: url("../img/icon_arrow_white.svg");
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  transition: all 0.3s ease;
}

@media (hover: hover) {
  .p-information__btn:hover {
    color: var(--clr-bg-main);
    background-color: var(--clr-main);
    opacity: 1;
  }
  .p-information__btn:hover .p-information__btn-mask {
    background-color: var(--clr-bg-main);
  }
}

/* ==========================================
   PC用ブレイクポイント (768px以上)
   ========================================== */
@media screen and (min-width: 768px) {
  .p-information {
    padding-top: min(calc(60 / 1000 * 100vw), 60px);
    padding-bottom: min(calc(60 / 1000 * 100vw), 60px);
  }

  .p-information__head {
    margin-bottom: min(calc(50 / 1000 * 100vw), 50px);
  }
  .p-information__head .section-title {
  font-size: min(calc(46 / 1000 * 100vw), 46px);
}

  .p-information__list {
    gap: min(calc(60 / 1000 * 100vw), 60px);
    width: 100%;
    max-width: min(calc(800 / 1000 * 100vw), 800px);
    margin: 0 auto;
  }

  .p-information__card {
    max-width: 100%;
  }

  .p-information__card-inner {
    padding: min(calc(40 / 1000 * 100vw), 40px) min(calc(50 / 1000 * 100vw), 50px);
  }

  /* ★PC版：ここでQRコード(左) と ヘッダー＆テキスト(右) を横並びにします */
  .p-information__line-content {
    flex-direction: row;
    align-items: flex-start;
    gap: min(calc(40 / 1000 * 100vw), 40px);
    width: 100%;
  }

  .p-information__qr-wrap {
    width: min(calc(200 / 1000 * 100vw), 200px);
    flex-shrink: 0;
  }

  .p-information__qr-wrap img {
    width: 100%;
    height: auto;
  }

  /* 右側のテキストブロック全体を幅いっぱいに広げる */
  .p-information__line-right {
    flex: 1;
  }

  /* PC版：ヘッダーを左寄せにする */
  .p-information__line-header {
    justify-content: flex-start;
    gap: 14px;
    margin-bottom: min(calc(16 / 1000 * 100vw), 16px);
  }

  .p-information__line-icon {
    width: min(calc(47 / 1000 * 100vw), 47px);
  }

  /* PC版：テキストを左寄せにする */
  .p-information__card.is-line .p-information__text {
    text-align: left;
    margin-bottom: 0;
  }

  .p-information__text {
    width: min(calc(420 / 1000 * 100vw), 420px);
    margin: 0 auto;
    font-size: min(calc(16 / 1000 * 100vw), 16px);
    line-height: 1.8;
  }

  .p-information__section-sub {
    margin-bottom: min(calc(24 / 1000 * 100vw), 24px);
    font-size: min(calc(42 / 1000 * 100vw), 42px);
  }
  .p-information__card-title {
    font-size: min(calc(36 / 1000 * 100vw), 36px);
  }

  .p-information__card-title.is-center {
    margin-bottom: min(calc(20 / 1000 * 100vw), 20px);
  }

  .p-information__text.is-center {
    margin-bottom: min(calc(30 / 1000 * 100vw), 30px);
  }

  .p-information__btn {
    max-width: min(calc(300 / 1000 * 100vw), 300px);
    height: min(calc(54 / 1000 * 100vw), 54px);
    border-radius: min(calc(54 / 1000 * 100vw), 54px);
    padding-right: min(calc(10 / 1000 * 100vw), 10px);
  }

  .p-information__btn-mask {
    right:max(calc(20 / 1000 * 100vw), 20px);
    width: min(calc(20 / 1000 * 100vw), 20px);
    height: min(calc(20 / 1000 * 100vw), 20px);
    -webkit-mask-size: contain;
    mask-size: contain;
  }
}

/* ==========================================================================
   Page Top Button (PC版専用)
   ========================================================================== */
/* スマホ版（デフォルト）は完全に非表示 */
.btn-pagetop {
  display: none;
}

/* PCスタイル（768px以上） */
@media screen and (min-width: 768px) {
  .btn-pagetop {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    /* チャットボタン(bottom: 40px, height: 105px)の上に来るよう、計算して配置 */
    right: 40px;
    bottom: calc(60px + min(calc(105 / 1000 * 100vw), 105px) + 20px); 
    width: min(calc(60 / 1000 * 100vw), 60px);  /* チャットボタンより一回り小さく設定 */
    height: min(calc(60 / 1000 * 100vw), 60px);
    background-color: var(--clr-bg-main);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    z-index: 9998; /* チャットボタンやモーダルとの兼ね合いを考慮 */
    transition: opacity 0.4s ease, visibility 0.4s ease, transform 0.3s ease;
    cursor: pointer;
  }

  /* 矢印アイコン（SVGや画像を使わずCSSのボーダーでスマートに描画） */
  .btn-pagetop-icon {
    display: block;
    width: min(calc(14 / 1000 * 100vw), 14px);
    height: min(calc(14 / 1000 * 100vw), 14px);
    border-top: min(calc(3 / 1000 * 100vw), 3px) solid var(--clr-main);
    border-left: min(calc(3 / 1000 * 100vw), 3px) solid var(--clr-main);
    transform: rotate(45deg);
    margin-top: min(calc(4 / 1000 * 100vw), 4px); /* 矢印の中心バランス補正 */
  }

  .btn-pagetop:hover {
    opacity: 0.8;
    transform: scale(1.05);
  }

  /* JavaScriptで制御する非表示用のユーティリティクラス */
  .btn-pagetop.is-hidden-pagetop {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }
}

/* ==========================================================================
   全画面ナビ開閉時のヘッダー表示制御（バグ修正）
   ========================================================================== */
/* 全画面メニューが開いているときは、ヘッダーをモーダルの裏側に完全に隠す */
body.is-nav-open .site-header,
body.is-nav-open .site-header.is-sticky {
  z-index: 100 !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* 逆に全画面メニュー（モーダル本体）の重なり順を最高前面に引き上げる */
body.is-nav-open .modal-nav {
  z-index: 999999 !important;
}

/* ==========================================================================
   メインビジュアル内バッジの絶対配置補正
   ========================================================================== */
@media screen and (max-width: 767.9px) {
  /* スマホ環境：MVの下部に綺麗に重なるように調整 */
  .main-visual .mv-badges {
    position: absolute !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    bottom: calc(20 / 393 * 100vw) !important; /* フローティングアクションに被らない絶妙な位置 */
    top: auto !important;
    z-index: 5 !important;
  }
}

@media screen and (min-width: 768px) {
  /* PC環境：右側に縦並びで吸着 */
  .main-visual .mv-badges {
    position: absolute !important;
    left: auto !important;
    right: 5% !important;
    bottom: 10% !important;
    top: auto !important;
    transform: none !important;
    z-index: 5 !important;
  }
}