/* リセット最小限・レイアウト共通 */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--text-base);
  line-height: 1.5;
  color: var(--color-main);
  background-color: var(--color-bg);
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

a {
  color: inherit;
  text-decoration: none;
}
a:hover,
button:hover {
  transition: .15s linear;
}

button {
  font: inherit;
  color: inherit;
  cursor: pointer;
  border: none;
  background: none;
  padding: 0;
}


/* ----- レイアウト ----- */
.wrapper {
  min-height: 100vh;
  max-width: var(--content-max);
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  background-color: var(--color-bg-base);
  box-sizing: content-box;
  padding-top: var(--header-height);
}

.main {
  flex: 1;
  container-name: main;
  container-type: inline-size;
}

.section_area {
  position: relative;
  width: 100%;
}

.section_inner {
  width: 100%;
  max-width: var(--content-max);
  margin-inline: auto;
}

.sp_only {
  display: block;
}

.pc_only {
  display: none;
}

@media (min-width: 834px) {
  .sp_only {
    display: none;
  }

  .pc_only {
    display: block;
  }
}


/* -----  button ----- */
.header__cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 70px;
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--radius-btn);
  background: var(--color-accent);
  color: var(--color-pallet-white);
  font-weight: 700;
  font-size: var(--text-sm-2);
  line-height: 1.5;
  text-align: center;
  box-shadow: var(--shadow-btn-outer), var(--shadow-btn-inner);
  position: relative;
}

.header__cta:hover {
  background: var(--color-accent-2);
}

.btn-main {
  position: relative;
  z-index: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 380px;
  margin-inline: auto;
  padding: var(--space-xs) var(--space-sm) var(--space-xs) var(--space-xs);
  border-radius: 50px;
  background: var(--gradation-btn);
  color: var(--color-pallet-white);
  box-shadow: var(--shadow-card);
  text-align: left;
}

.btn-main::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  background: var(--gradation-btn-hover);
  opacity: 0;
  transition: opacity 0.22s ease;
  pointer-events: none;
}

.btn-main:hover::before {
  opacity: 1;
}

.btn-main > * {
  position: relative;
  z-index: 1;
}

.btn-main::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: inherit;
  box-shadow: var(--shadow-btn-primary-inset);
  pointer-events: none;
}

.btn-main__badge {
  position: relative;
  width: 72px;
  height: 72px;
  flex-shrink: 0;
  background: #ffeb3b;
  border-radius: 50%;
}

.btn-main__badge-text {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
  font-weight: 700;
  font-size: var(--text-2xl);
}

.btn-main__label {
  flex: 1;
  font-weight: 700;
  font-size: var(--text-2xl);
  letter-spacing: 0.02em;
  text-align: center;
  text-shadow: 0 2px 2px rgba(0, 0, 0, 0.25);
  margin-right: .5rem;
}

.btn-main__icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.btn-main__icon img {
  width: 100%;
  height: 100%;
  display: block;
}

.btn-sub {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  min-width: 168px;
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-btn);
  background: var(--color-base);
  color: var(--color-pallet-white);
  font-weight: 700;
  font-size: var(--text-lg);
  letter-spacing: 0.02em;
  box-shadow: var(--shadow-btn-outer);
}

.btn-sub::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: var(--shadow-btn-inner);
  pointer-events: none;
}

.btn-sub:hover {
  background: var(--color-sub);
}

.btn-sub__icon {
  width: 20px;
  height: 20px;
}

.btn-sub__icon img {
  width: 100%;
  height: 100%;
  display: block;
}

.btn-bnr {
  display: block;
  margin: var(--space-sm) auto 0;
  width: 200px;
}

.btn-bnr:hover {
  opacity: 0.8;
}

.footer__btn-sub {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  width: 100%;
  max-width: 320px;
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-btn);
  background: var(--color-sub);
  color: var(--color-pallet-white);
  font-weight: 700;
  font-size: var(--text-lg);
  box-shadow: var(--shadow-btn-outer);
}

.footer__btn-sub::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: var(--shadow-btn-inner);
  pointer-events: none;
}

.footer__btn-sub:hover {
  filter: brightness(1.2);
}

.footer__btn-sub-icon {
  width: 20px;
  height: 20px;
}

.footer__btn-sub-icon img {
  width: 100%;
  height: 100%;
  display: block;
}


/* ----- header ----- */
.header {
  position: fixed;
  top: 0;
  left: 50%;
  z-index: 200;
  width: 100%;
  max-width: var(--content-max);
  height: var(--header-height);
  background: var(--color-pallet-white);
  box-shadow: var(--shadow-header);
  transform: translate3d(-50%, 0, 0);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--content-max);
  margin-inline: auto;
  padding-inline: var(--space-sm);
}

.header__logo {
  display: block;
  width: 152px;
  height: 40px;
}

.header__logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left center;
}


/* ----- fv ----- */
.section_area--fv {
  padding-block: var(--space-lg) 0;
}

.section-fv {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  padding-bottom: 0;
}

.section-fv__h1 {
  position: relative;
  text-align: center;
  padding-inline: var(--space-xs);
  width: 100%;
}

.section-fv__catch {
  margin: 0;
}

.section-fv__catch img {
  width: clamp(16.875rem, 14.09rem + 11.34vw, 20rem);
}

.section-fv__title {
  margin: 0;
  margin-left: calc(var(--space-sm) * -1);
  color: var(--color-main);
  font-weight: 700;
  font-size: var(--text-3xl);
  line-height: 1.7;
  letter-spacing: -0.02em;
}

.section-fv__title-accent {
  color: var(--color-accent);
}

.section-fv__flex {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xl);
  justify-content: center;
  padding-inline: var(--space-md);
  width: 100%;
}

.section-fv__pr {
  width: 142px;
  height: 117px;
  margin: 0;
  flex-shrink: 0;
}

.section-fv__pr img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.section-fv__text {
  margin: 0;
  padding-inline: var(--space-md);
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  line-height: 1.5;
  color: var(--color-sub);
  text-align: center;
}

.section-fv__image {
  width: 100%;
  max-width: var(--content-max);
  margin-inline: auto;
}

.section-fv__thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.section-fv__thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}


/* ----- about ----- */
.section_area--about {
  padding-block: clamp(2rem, 0.663rem + 5.44vw, 3.5rem) var(--space-xl);
  padding-inline: var(--space-sm);
}

.about {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
}

.about__heading {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  width: 100%;
  max-width: 361px;
}

.about__textbook {
  flex: 0 0 auto;
  width: 80px;
  max-width: min(80px, 22vw);
  margin-left: -.5rem;
}

.about__textbook img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.about__h2 {
  margin: 0;
  flex: 1 1 auto;
  min-width: 0;
  margin-left: -1rem;
}

.about__h2 img {
  display: block;
  width: 100%;
  max-width: clamp(16.875rem, 14.09rem + 11.34vw, 20rem);
  height: auto;
}

.about__cards {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  width: 100%;
  max-width: 361px;
}

.about-card {
  background: var(--color-pallet-white);
  border: 4px solid var(--color-accent);
  border-radius: var(--radius-btn);
  padding: var(--space-sm) 4px var(--space-sm) var(--space-xs);
  text-align: center;
}

.about-card__text {
  margin: 0;
  color: var(--color-accent);
  font-weight: 700;
  font-size: var(--text-base);
  line-height: 1.5;
}

.about-card__dark {
  color: var(--color-base);
}


/* ----- price ----- */
.section_area--price {
  padding-block: 0 var(--space-xl);
  padding-inline: var(--space-sm);
}

.price__h2 {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: calc(var(--space-sm) * 2);
  margin-bottom: var(--space-sm);
  text-align: center;
}

.price__try-graphic {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  position: relative;
}

.price__try-graphic:after {
  content: "";
  position: absolute;
  width: 70px;
  height: 5px;
  background: var(--color-accent);
  bottom: calc(var(--space-md) * -1);
  left: 50%;
  transform: translateX(-50%);
}
.price__try-graphic img {
  width: clamp(17.375rem, 14.479rem + 11.79vw, 20.625rem);
}

.price__sub {
  margin: 0;
  font-weight: 700;
  font-size: var(--text-md);
  line-height: 1.5;
  color: var(--color-base);
}

.price__grid {
  display: flex;
  gap: var(--space-xs);
  width: 100%;
  /* max-width: var(--content-min); */
  max-width: 580px;
  margin-inline: auto;
  padding-bottom: var(--space-md);
  border-radius: var(--radius-frame);
}

.price-card {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: var(--space-sm) var(--space-xs) var(--space-md);
  border: 2px solid var(--color-border);
  border-radius: var(--radius-frame);
  background: var(--color-pallet-white);
  box-shadow: var(--shadow-btn-outer);
  min-width: 0;
  cursor: pointer;
}

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

.price-card--selected {
  border: 2px solid var(--color-accent);
}

.price-card__radio {
  width: 24px;
  height: 24px;
  margin-bottom: var(--space-xs);
  border-radius: 50%;
  border: 2px solid var(--color-border);
  background: var(--color-pallet-white);
  flex-shrink: 0;
}

.price-card--selected .price-card__radio {
  border-color: var(--color-accent);
  background: var(--color-accent);
  box-shadow: inset 0 0 0 3px var(--color-pallet-white);
}

.price-card__label-wrap {
  width: 100%;
  padding: var(--space-xs) 0 var(--space-xs);
  text-align: center;
}

.price-card__label {
  margin: 0;
  padding: var(--space-sm) var(--space-xs);
  border-radius: var(--radius-frame);
  font-weight: 700;
  font-size: var(--text-xl);
  line-height: 1.5;
}

.price-card--free .price-card__label {
  background: rgba(255, 58, 58, 0.1);
  color: var(--color-pallet-red);
  letter-spacing: 0.1em;
}

.price-card--basic .price-card__label {
  background: rgba(0, 184, 53, 0.1);
  color: var(--color-accent);
}

.price-card__price {
  margin-block: var(--space-md) var(--space-sm);
  display: flex;
  justify-content: center;
  align-items: baseline;
  gap: 4px;
  height: clamp(2.5rem, 1.497rem + 4.08vw, 3.625rem);
  font-family: var(--font-roboto);
  font-weight: 700;
  font-size: var(--text-5xl);
  line-height: 1;
  color: var(--color-base);
}

.price-card__price img {
  width: clamp(8.75rem, 5.687rem + 12.47vw, 12.188rem);
}

.price-card__price-suffix {
  font-family: var(--font-sans);
  font-size: var(--text-md);
  font-weight: 700;
}

.price-card__note {
  margin: 0;
  font-weight: 500;
  font-size: var(--text-sm);
  line-height: 1.7;
  text-align: center;
  color: var(--color-base);
}


/* ----- voice ----- */
.section_area--voice {
  padding: 0;
  overflow: hidden;
  position: relative;
}

.section_area--voice::before {
  content: "";
  display: block;
  width: 100%;
  aspect-ratio: 393 / 42;
  pointer-events: none;
  background-repeat: no-repeat;
  background-position: center top;
  background-size: 100% 100%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 393 42'%3E%3Cpath fill='%23fafaf9' d='M99.66,24.77c20.35,4.63,40.84,9.91,61.41,11.07,35.33,2.02,67.46-8.15,100.22-14.92,27.96-5.78,57.03-9.15,86.04-12.5,14.85-1.71,31.51-3.05,45.66,1.96V0H0v31.17c7.73-7.28,20.31-12.44,38.21-13.68,20.09-1.4,41.09,2.66,61.45,7.27Z'/%3E%3Cpath fill='%23efeeee' d='M393,42V10.37c-14.15-5.01-30.82-3.67-45.66-1.96-29.01,3.35-58.09,6.72-86.04,12.5-32.76,6.77-64.89,16.94-100.22,14.92-20.58-1.16-41.06-6.44-61.41-11.07-20.36-4.61-41.36-8.67-61.45-7.27C20.31,18.73,7.73,23.9,0,31.17v10.83h393Z'/%3E%3C/svg%3E");
}

.voice__inner {
  background: var(--color-bg);
  padding-block: var(--space-xl) var(--space-2xl);
}

.voice__inner .section_inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.voice__h2 {
  position: relative;
  margin: 0 auto;
  font-weight: 700;
  font-size: var(--text-3xl);
  line-height: 1.5;
  text-align: center;
  letter-spacing: -0.02em;
  color: var(--color-main);
}

.voice__h2::before {
  content: "";
  position: absolute;
  top: calc(var(--space-md) * -1);
  left: calc(var(--space-lg) * -1);
  width: 33px;
  height: 42px;
  background: url("../image/icon-accent.svg") no-repeat center / contain;
  pointer-events: none;
}

.voice__list {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-lg);
  padding: var(--space-xs) var(--space-sm);
  margin-inline: auto;
  width: 100%;
}

.voice-card {
  position: relative;
  z-index: 0;
  overflow: visible;
  isolation: isolate;
  padding: var(--space-md) var(--space-sm) var(--space-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(0rem, -0.446rem + 1.81vw, 0.5rem);
  width: 100%;
}

.voice-card__plate {
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: var(--radius-frame);
  background: var(--color-pallet-white);
  box-shadow: var(--shadow-card);
  pointer-events: none;
}

.voice-card > :not(.voice-card__plate) {
  position: relative;
  z-index: 2;
}

.voice__list > .voice-card:nth-child(1)::before,
.voice__list > .voice-card:nth-child(3)::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: -24px;
  left: -30px;
  width: min(72px, 20vw);
  aspect-ratio: 60 / 106;
  background: url("../image/bg-pink.svg") no-repeat center / contain;
  pointer-events: none;
  opacity: .35;
}

.voice__list > .voice-card:nth-child(1)::after {
  content: "";
  position: absolute;
  z-index: 0;
  right: -60px;
  bottom: -35px;
  width: min(148px, 42vw);
  height: min(120px, 32vw);
  background-image: url("../image/bg-mesh.svg"), url("../image/bg-blue01.svg");
  background-repeat: no-repeat;
  background-position: left bottom, left bottom;
  background-size: min(100px, 28vw) auto, min(124px, 34vw) auto;
  pointer-events: none;
  opacity: .35;
}

.voice__list > .voice-card:nth-child(2)::before {
  content: "";
  position: absolute;
  z-index: 0;
  right: -20px;
  bottom: -68px;
  width: min(150px, 42vw);
  aspect-ratio: 171 / 281;
  background: url("../image/bg-yellow.svg") no-repeat left bottom / contain;
  pointer-events: none;
  opacity: .35;
}

.voice__list > .voice-card:nth-child(3)::after {
  content: "";
  position: absolute;
  z-index: 0;
  right: -55px;
  bottom: -52px;
  width: min(148px, 42vw);
  height: min(128px, 34vw);
  background-image: url("../image/bg-mesh.svg"), url("../image/bg-blue02.svg");
  background-repeat: no-repeat;
  background-position: left bottom, left bottom;
  background-size: min(100px, 28vw) auto, min(118px, 32vw) auto;
  pointer-events: none;
  opacity: .35;
}

.voice-card__label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  font-family: var(--font-roboto), sans-serif;
  font-weight: 700;
  padding-bottom: var(--space-xs);
}

.voice-card__label-text {
  font-size: var(--text-md);
  letter-spacing: 0.02em;
  color: var(--color-main);
  text-transform: uppercase;
}

.voice-card__label-num {
  font-size: var(--text-3xl);
  line-height: 1.5;
  color: var(--color-accent);
}

.voice-card__scene {
  width: 100%;
  max-width: clamp(17.5rem, 10.816rem + 27.21vw, 25rem);
  aspect-ratio: 280 / 167;
  position: relative;
  overflow: hidden;
}

.voice-card__scene img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.voice-card__bubble {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: var(--space-sm);
}

.voice-card__bubble-text {
  margin: 0;
  padding: 0 var(--space-xs);
  width: 100%;
  max-width: 300px;
  margin-inline: auto;
  box-sizing: border-box;
  font-family: var(--font-yusei);
  font-size: var(--text-lg);
  line-height: 2;
  letter-spacing: 0.12em;
  color: var(--color-base);
  background-image: url("../image/bg-dot.svg");
  background-repeat: repeat;
  background-size: 8px 2em;
  background-position: 0 2em;
}

@media (max-width: 376px) {
  .voice-card__bubble-text {
      letter-spacing: 0.08em;
  }
}


/* ----- news ----- */
.section_area--news {
  position: relative;
  padding: var(--space-xl) var(--space-md);
  background: var(--color-pallet-blue) url(../image/bg-school.jpg) no-repeat center bottom / cover;
  overflow: hidden;
}

.news__panel {
  position: relative;
  max-width: var(--content-min);
  margin-inline: auto;
  padding: 0 var(--space-sm) var(--space-md);
  background: var(--color-pallet-white);
  border-radius: var(--radius-frame);
  box-shadow: var(--shadow-card);
}

.news__panel::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid var(--color-pallet-blue);
  border-radius: var(--radius-frame);
  pointer-events: none;
}

.news__panel::after {
  content: "";
  position: absolute;
  inset: calc(var(--space-xs) * -1);
  border: var(--space-xs) solid var(--color-pallet-white);
  border-radius: var(--space-lg);
  pointer-events: none;
}

.news__ttl {
  margin: 0 calc(-1 * var(--space-sm)) var(--space-sm);
  padding: var(--space-xs) 0;
  background: #397ab3;
  color: var(--color-pallet-white);
  font-weight: 700;
  font-size: var(--text-xl);
  line-height: 2.25;
  letter-spacing: 0.04em;
  text-align: center;
  border-radius: 20px 20px 0 0;
}

.news__body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  text-align: center;
}

.news__lead {
  margin: 0;
  font-weight: 700;
  font-size: var(--text-lg);
  line-height: 1.75;
  letter-spacing: 0.02em;
}

.news__books {
  position: relative;
  max-width: 100%;
}

.news__fine {
  margin: 0;
  font-size: var(--text-md);
  line-height: 1.75;
  letter-spacing: 0.02em;
  color: var(--color-sub);
}


/* ----- feature ----- */
.section_area--feature {
  padding-block: var(--space-sm) var(--space-2xl);
}

.feature__heading {
  margin-block: var(--space-lg) calc(-1 * var(--space-md));
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
}

.feature__h2 {
  margin: 0;
  color: var(--color-accent);
  background: linear-gradient(90deg, var(--color-pallet-pink) 15%, var(--color-accent-2) 50%, var(--color-pallet-blue) 85%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: var(--text-xl);
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.5;
}

.section_inner--feature {
  padding-inline: 0;
}

.feature-block {
  margin-inline: auto;
  padding-block: var(--space-lg);
  text-align: center;
}

.feature-block--01 {

  padding: var(--space-2xl) var(--space-sm) 80px;
}

.feature-block--02 {
  position: relative;
  z-index: 0;
  isolation: isolate;
  background: var(--color-bg);
  padding-block: var(--space-2xl) 80px;
}

.feature-block--02 > * {
  position: relative;
  z-index: 1;
}

.feature-block--02::before,
.feature-block--02::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 42px;
  pointer-events: none;
  background-repeat: repeat-x;
  background-size: 22px 42px;
  z-index: 0;
}

.feature-block--02::before {
  top: -21px;
  background-image: url("../image/bg-note01.svg");
  background-position: left top;
}

.feature-block--02::after {
  bottom: -21px;
  background-image: url("../image/bg-note02.svg");
  background-position: left bottom;
}

.feature-block--03 {
  background: var(--color-bg-base);
  padding-block: var(--space-2xl);
}

.feature-block__h4 {
  margin: 0 auto var(--space-md);
  font-weight: 700;
  font-size: var(--text-xl);
  line-height: 1.75;
  color: var(--color-accent);
}

.feature-block__small {
  display: block;
  margin: 0 auto var(--space-md);
  color: var(--color-sub);
  font-size: var(--text-md);
  letter-spacing: 0.02em;
  line-height: 1.75;
}

.feature-block__figure {
  margin-inline: auto;
  max-width: clamp(20rem, 9.974rem + 40.82vw, 31.25rem);
}

.feature-block__zoom {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: none;
  background: transparent;
  border-radius: var(--radius-frame);
  overflow: hidden;
  cursor: zoom-in;
  box-shadow: var(--shadow-card);
  -webkit-tap-highlight-color: transparent;
}

.feature-block__zoom:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 4px;
}

.feature-block__zoom img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: bottom;
}

.feature-block__figure--03 {
  position: relative;
  padding-top: var(--space-2xl);
  overflow: visible;
}

.feature-block__figure--03 > .feature-block__zoom:not(.note-image) {
  position: relative;
  z-index: 0;
  overflow: visible;
}

.feature-block__figure--03 > .feature-block__zoom:not(.note-image) img {
  position: relative;
  z-index: 0;
  border-radius: var(--radius-frame);
}

.feature-block__figure--03 > .feature-block__zoom:not(.note-image)::after {
  content: "";
  position: absolute;
  top: -60px;
  width: 0;
  height: 0;
  border-top: 0;
  border-right: clamp(1.5rem, 1.054rem + 1.81vw, 2rem) solid transparent;
  border-left: clamp(1.5rem, 1.054rem + 1.81vw, 2rem) solid transparent;
  border-bottom: clamp(8.125rem, 3.112rem + 20.41vw, 13.75rem) solid var(--color-accent);
  transform: rotate(105deg);
  z-index: 2;
  pointer-events: none;
}

.feature-block__figure--03 .note-image {
  position: absolute;
  z-index: 1;
  top: 0;
  left: clamp(4%, calc(4% + 2% * (var(--content-max) - 100vw) / (var(--content-max) - var(--content-min))), 6%);
  width: clamp(45%, calc(45% + 5% * (var(--content-max) - 100vw) / (var(--content-max) - var(--content-min))), 50%);
  border: 4px solid var(--color-accent);
  border-radius: var(--radius-btn);
  box-shadow: var(--shadow-card);
}

.feature-block__figure--03 .feature-block__label {
  position: absolute;
  z-index: 3;
  top: 13px;
  left: clamp(12rem, 7.544rem + 18.14vw, 17rem);
  width: clamp(4rem, 1.995rem + 8.16vw, 6.25rem);
  aspect-ratio: 1 / 1;
  margin: 0;
  padding-top: 4px;
  border-radius: 50%;
  background: var(--color-pallet-pink);
  display: grid;
  place-items: center;
  color: var(--color-pallet-white);
  font-weight: 500;
  font-size: clamp(0.875rem, 0.541rem + 1.36vw, 1.25rem);
  line-height: 1.3;
  text-align: center;
  pointer-events: none;
}

/* ----- modal ----- */
.feature-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.28s cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

.feature-modal[hidden] {
  display: none;
}

.feature-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.feature-modal__backdrop {
  position: absolute;
  inset: 0;
  margin: 0;
  padding: 0;
  border: none;
  background: rgba(37, 43, 55, 0.8);
  cursor: pointer;
}

.feature-modal__shell {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  min-height: 0;
  padding-left: var(--space-xs);
  padding-right: var(--space-xs);
  padding-bottom: env(safe-area-inset-bottom, 0);
  pointer-events: none;
  transform: translateY(10px);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.feature-modal.is-open .feature-modal__shell {
  transform: translateY(0);
}

.feature-modal__top {
  flex-shrink: 0;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  width: 100%;
  padding-top: max(var(--space-xs), env(safe-area-inset-top, 0));
  pointer-events: none;
}

.feature-modal__close {
  flex-shrink: 0;
  width: 45px;
  height: 45px;
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 0;
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
}

.feature-modal__close:hover {
  opacity: 0.85;
}

.feature-modal__close:focus-visible {
  outline: 2px solid var(--color-pallet-white);
  outline-offset: 2px;
}

.feature-modal__close-bar {
  position: relative;
  width: 32px;
  height: 32px;
}

.feature-modal__close-bar::before,
.feature-modal__close-bar::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 2px;
  height: 22px;
  margin: -11px -1px;
  background: var(--color-pallet-white);
  border-radius: 1px;
}

.feature-modal__close-bar::before {
  transform: rotate(45deg);
}

.feature-modal__close-bar::after {
  transform: rotate(-45deg);
}

.feature-modal__main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  width: 100%;
  min-height: 0;
  padding-bottom: var(--space-sm);
  pointer-events: none;
}

.feature-modal__viewport {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  max-height: min(calc(100dvh - 11rem), 78vh);
  min-height: 120px;
  overflow: hidden;
  touch-action: none;
  pointer-events: auto;
}

.feature-modal__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  min-height: 0;
}

.feature-modal__img {
  display: block;
  max-width: 100%;
  max-height: min(calc(100dvh - 11rem), 78vh);
  width: auto;
  height: auto;
  transform-origin: center center;
  will-change: transform;
  user-select: none;
  -webkit-user-drag: none;
}

.feature-modal__caption {
  margin: 0;
  max-width: min(100%, 612px);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.24;
  color: var(--color-pallet-white);
  text-align: center;
  pointer-events: auto;
}

.feature-modal__caption:empty {
  display: none;
}

.feature-modal__nav {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.feature-modal__edge {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  box-sizing: border-box;
  width: 48px;
  height: min(200px, 42vh);
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 0;
  background: transparent;
  color: var(--color-pallet-white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
  transition: background 0.15s ease, opacity 0.15s ease;
}

.feature-modal__edge:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.08);
}

.feature-modal__edge:focus-visible {
  outline: 2px solid var(--color-pallet-white);
  outline-offset: 2px;
}

.feature-modal__edge:disabled {
  opacity: 0.22;
  cursor: default;
}

.feature-modal__prev {
  left: max(2px, env(safe-area-inset-left, 0px));
}

.feature-modal__next {
  right: max(2px, env(safe-area-inset-right, 0px));
}

.feature-modal__chev {
  display: block;
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  filter: drop-shadow(0px 1px 0px rgba(37, 43, 55, 0.5)) drop-shadow(0px -1px 0px rgba(37, 43, 55, 0.5)) drop-shadow(1px 0px 0px rgba(37, 43, 55, 0.5)) drop-shadow(-1px 0px 0px rgba(37, 43, 55, 0.5)) drop-shadow(0px 0px 6px rgba(37, 43, 55, 0.8));
}

.feature-modal--slide-fade .feature-modal__img {
  opacity: 0.55;
  transition: opacity 0.12s ease;
}

@media (prefers-reduced-motion: reduce) {
  .feature-modal,
  .feature-modal__shell {
    transition-duration: 0.01ms;
  }

  .feature-modal__img {
    will-change: auto;
  }

  .feature-modal--slide-fade .feature-modal__img {
    transition-duration: 0.01ms;
  }
}

/* ----- footer ----- */
.footer {
  margin-top: auto;
  background: var(--color-main);
  color: var(--color-pallet-white);
  border-radius: var(--space-2xl) var(--space-2xl) 0 0;
  padding: var(--space-2xl) var(--space-sm) var(--space-sm);
  position: relative;
}

.footer__toppage {
  position: absolute;
  left: 50%;
  top: -30px;
  transform: translateX(-50%);
  width: 60px;
  height: 60px;
  border: none;
  padding: 0;
  background: transparent;
  cursor: pointer;
}

.footer__toppage img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.25));
}

.footer__logo {
  display: block;
  width: 260px;
  height: 98px;
  margin-inline: auto;
}

.footer__logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.footer__cta-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  padding-block: var(--space-lg) var(--space-sm);
  width: 100%;
}

.footer__cta-note {
  margin: 0;
  font-weight: 700;
  font-size: var(--text-md);
  line-height: 1.7;
  text-align: center;
  color: var(--color-bg-base);
}

.footer__btn-sub {
  margin-block: var(--space-sm) var(--space-xs);
}

.footer__menu {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md) 0;
  padding: var(--space-lg) var(--space-sm);
  font-size: var(--text-sm-2);
  letter-spacing: 0.02em;
  margin-inline: auto;
  max-width: var(--content-min);
}

.footer__menu a:hover {
  text-decoration: underline;
}

.footer__menu-skip {
  pointer-events: none;
}

.footer__tokyo {
  display: block;
  width: 137.365px;
  height: 59.045px;
  margin-inline: auto;
}

.footer__tokyo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.footer__copy {
  margin: 0;
  padding: var(--space-md) 0;
  font-size: 12px;
  line-height: 1.5;
  text-align: center;
  color: var(--color-bg-base);
}

@media (min-width: 834px) {
  .wrapper {
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
  }

  .about__heading {
    max-width: 480px;
    gap: var(--space-md);
  }

  .feature-modal__shell {
    overflow: visible;
  }

  .feature-modal__main {
    overflow: visible;
  }

  .feature-modal__viewport {
    overflow: visible;
  }

  .feature-modal--zoomed .feature-modal__viewport {
    cursor: grab;
  }

  .feature-modal--drag .feature-modal__viewport {
    cursor: grabbing;
  }
}


/* ----- campaign banner ----- */
.main {
  padding-top: clamp(2.813rem, 0.004rem + 11.98vw, 6.25rem); /*バナーの高さに合わせて調整*/
}

.campaign-banner--fixed {
  display: block;
  position: fixed;
  top: var(--header-height);
  left: 50%;
  transform: translateX(-50%);
  z-index: 150;
  width: 100%;
  max-width: var(--content-max);
  line-height: 0;
}

.campaign-banner--fixed img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: bottom;
}

/* ----- coupon ----- */
.section_area--coupon {
  padding-block: var(--space-md);
  overflow: visible;
}

.coupon {
  position: relative;
  box-sizing: border-box;
  max-width: clamp(24.563rem, 19.717rem + 19.73vw, 30rem);
  margin-inline: auto;
  padding: var(--space-lg) var(--space-sm) var(--space-md);
  background: var(--color-pallet-sky);
  overflow: hidden;
}

.coupon::before {
  content: "";
  position: absolute;
  inset: 4px;
  border: 2px solid var(--color-pallet-white);
  pointer-events: none;
}

.coupon__badge {
  position: absolute;
  z-index: 2;
  top: -38px;
  left: -34px;
  width: 110px;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background: var(--color-pallet-red);
}

.coupon__badge-inner {
  position: absolute;
  top: 48px;
  left: 42px;
  color: var(--color-pallet-white);
  font-size: var(--text-sm-2);
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
}

.coupon__badge-date {
  display: block;
  padding-right: 4px;
  font-size: 22px;
}

.coupon__ttl {
  position: relative;
  z-index: 1;
  margin: 0 0 var(--space-sm) calc(var(--space-sm) * 3.5);
  max-width: clamp(17.5rem, 12.71rem + 19.5vw, 22.875rem);
}

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

.coupon__code {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 300px;
  margin-inline: auto;
}

.coupon__code-label {
  margin: 0 0 4px;
  font-size: var(--text-sm-2);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--color-sub);
}

.coupon__code-box {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  min-height: 50px;
  padding: 0 var(--space-sm);
  background: var(--color-pallet-white);
  border: 3px solid var(--color-base);
  border-radius: 4px;
  box-sizing: border-box;
}

.coupon__code-value {
  flex: 1;
  min-width: 0;
  margin: 0;
  padding: var(--space-xs) 0;
  font-family: var(--font-roboto), sans-serif;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--color-base);
  user-select: all;
  word-break: break-all;
}

.coupon__copy {
  flex-shrink: 0;
  margin: 0;
  padding: 6px 12px;
  font-family: var(--font-sans);
  font-size: var(--text-sm-2);
  font-weight: 700;
  line-height: 1;
  color: var(--color-pallet-white);
  cursor: pointer;
  border: none;
  border-radius: var(--radius-btn);
  background: var(--color-accent);
  box-shadow: var(--shadow-btn-inner);
  -webkit-tap-highlight-color: transparent;
}

.coupon__copy:hover {
  opacity: 0.92;
}

.coupon__copy:focus-visible {
  outline: 3px solid var(--color-base);
  outline-offset: 2px;
}

/* クリップボードコピー完了（画面下部のピル型トースト） */
.copy-toast {
  position: fixed;
  left: 50%;
  bottom: max(24px, env(safe-area-inset-bottom, 0px));
  z-index: 10001;
  box-sizing: border-box;
  width: max-content;
  max-width: calc(100vw - 32px);
  margin: 0;
  padding: 10px 28px;
  font-family: var(--font-sans);
  font-size: var(--text-sm-2);
  font-weight: 500;
  line-height: 1.4;
  text-align: center;
  white-space: nowrap;
  color: var(--color-pallet-white);
  background: #333;
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  transform: translateX(-50%) translateY(8px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}

.copy-toast.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.coupon__notes {
  position: relative;
  z-index: 1;
  margin: var(--space-md) auto 0;
  max-width: 330px;
  font-size: var(--text-xs);
  line-height: 1.5;
  color: var(--color-base);
}

.coupon__notes p {
  margin: 0;
}

.coupon__notes p + p {
  margin-top: 0.25em;
}
