/*
 * Marriage Vision — トップページCSS
 * FV carousel (3 slides / fade)
 */

/* =========================
FV
========================= */

.p-top-fv {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background: var(--c-bg);
}

.p-top-fv__content {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  min-height: 100vh;
  padding-top: 90px;
  font-family: "Zen Old Mincho", serif;
  color: var(--c-text);
}

.p-top-fv__catch {
  margin-bottom: 0.5rem;
  font-size: clamp(2rem, 1.2rem + 2vw, 2.5rem);
  line-height: 1.8;
  letter-spacing: 0.08em;
}

.p-top-fv__line {
  margin-left: -3%;
  margin-bottom: 3rem;
}

.p-top-fv__line img {
  width: 479px;
  max-width: 90%;
}

.p-top-fv__lead {
  font-size: clamp(1rem, 0.9rem + 0.5vw, 1.625rem);
  font-weight: 500;
  line-height: 1.8;
  letter-spacing: 0.2em;
}

.p-top-fv__lead span {
  color: var(--c-main);
}

/* スライダー */
.p-top-fv__slider {
  position: absolute;
  inset: 0;
}

.p-top-fv__slider,
.p-top-fv__slider .carousel-inner,
.p-top-fv__slider .carousel-item {
  height: 100%;
}

/* フェード切り替えをゆっくりに（Bootstrap 既定より長め） */
.p-top-fv__slider.carousel-fade .carousel-item {
  transition-duration: 1.0s;
}

.p-top-fv__bg {
  width: 100%;
  height: 100%;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
}

/* スライド毎の背景画像（PC） */
.p-top-fv__bg--01 {
  background-image: url("../../images/top/fv-slide-01.jpg");
}

.p-top-fv__bg--02 {
  background-image: url("../../images/top/fv-slide-02.jpg");
}

.p-top-fv__bg--03 {
  background-image: url("../../images/top/fv-slide-03.jpg");
}

/* indicator */
.p-top-fv .carousel-indicators {
  bottom: 1rem;
  z-index: 20;
}

.p-top-fv .carousel-indicators [data-bs-target] {
  width: 10px;
  height: 10px;

  border: none;
  border-radius: 50%;

  background: #E6BFC0;
  opacity: 1;
}

.p-top-fv .carousel-indicators .active {
  background: var(--c-accent);
}

/* =========================
fv animation
========================= */

.p-top-fv__catch,
.p-top-fv__line,
.p-top-fv__lead {
  opacity: 0;
  transform: translateY(20px);
}

/* 発火 */

.is-active .p-top-fv__catch {
  animation: fvFade .9s ease forwards;
  animation-delay: .2s;
}

.is-active .p-top-fv__line {
  animation: fvFade .9s ease forwards;
  animation-delay: .45s;
}

.is-active .p-top-fv__lead {
  animation: fvFade .9s ease forwards;
  animation-delay: .7s;
}

@keyframes fvFade {

  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }

}

@media (max-width: 767.98px) {

  .p-top-fv__content {
    align-items: flex-end;
    padding-top: 72px;
    padding-bottom: 3rem;
  }

  .p-top-fv__lead {
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1rem;
  }

  .p-top-fv__line {
    margin-bottom: 1rem;
  }

  .p-top-fv__catch {
    font-size: clamp(1.6rem, 6vw, 2rem);
    font-weight: 600;
    line-height: 1.7;
  }

  .p-top-fv__bg::after {
    background:
      linear-gradient(to top,
        rgba(247, 243, 239, .55) 5%,
        rgba(247, 243, 239, .22) 50%,
        rgba(247, 243, 239, 0) 100%);
  }

  .p-top-fv .carousel-item.active .p-top-fv__bg::after {
    animation-name: fvOverlayShiftSp;
  }

  /* スライド毎の背景画像（SP） */
  .p-top-fv__bg--01 {
    background-image: url("../../images/top/fv-slide-01-sp.jpg");
  }

  .p-top-fv__bg--02 {
    background-image: url("../../images/top/fv-slide-02-sp.jpg");
  }

  .p-top-fv__bg--03 {
    background-image: url("../../images/top/fv-slide-03-sp.jpg");
  }

}

/* =========================
CTA
========================= */
.p-top-cta {
  background: url("../../images/top/cta-bg.jpg") center center / contain repeat;
  color: #fff;
}

.p-top-cta__head {
  margin-bottom: clamp(1.5rem, 1.1rem + 1vw, 2rem);
}

.p-top-cta__lead {
  font-size: 1rem;
  line-height: 1.7;
  letter-spacing: 0.05em;
}

.p-top-cta__title {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.75rem, 2vw, 1.75rem);
  font-family: "Noto Serif JP", serif;
  font-size: clamp(1.75rem, 1.2rem + 1.8vw, 2.5rem);
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.08em;
}

.p-top-cta__title::before,
.p-top-cta__title::after {
  content: "";
  flex-shrink: 0;
  display: block;
  height: clamp(57px, 3vw, 64px);
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
}

.p-top-cta__title::before {
  width: clamp(43px, 3vw, 64px);
  background-image: url("../../images/top/cta-title-deco-l.png");
}

.p-top-cta__title::after {
  width: clamp(33px, 2vw, 64px);
  background-image: url("../../images/top/cta-title-deco-r.png");
}

.p-top-cta__list {
  margin-bottom: 1.5rem;
}

.p-top-cta__card {
  display: block;
  width: 100%;
  border-radius: 0.5rem;
}

.p-top-cta__note {
  font-size: 1rem;
  line-height: 1.7;
  letter-spacing: 0.05em;
}

@media (max-width: 767.98px) {
  .p-top-cta__card {
    width: 80%;
    margin: 0 auto;
  }
}

/* =========================
解決提案
========================= */
.p-top-reason {
  position: relative;
  overflow: hidden;
  background-color: var(--c-bg);
  color: var(--c-text);
}

.p-top-reason__worry {
  position: relative;
  padding: clamp(1.5rem, 1.1rem + 1.4vw, 2.5rem);
  margin-bottom: clamp(5rem, 6rem + 1.6vw, 7rem);
  background-color: #fff;
}

.p-top-reason__title {
  font-family: "Noto Serif JP", serif;
  font-size: 1.35rem;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: 0.06em;
}

.p-top-reason__title span {
  font-size: 1.88rem;
  color: var(--c-main);
}

.p-top-reason__worry-text {
  font-family: "Noto Serif JP", serif;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.8;
  letter-spacing: 0.03em;
}

.p-top-reason__worry-em {
  display: inline-block;
  margin-top: 0.25rem;
  color: var(--c-main);
  font-size: 22px;
  line-height: 1.5;
}

.p-top-reason__switch {
  position: absolute;
  left: 32%;
  bottom: -20px;
  display: inline-block;
  min-width: min(70%, 25rem);
  margin-bottom: 1.5rem;
  padding: 0.65rem 1.25rem;
  color: #fff;
  font-size: 1rem;
  line-height: 1.6;
  letter-spacing: 0.05em;
  background-color: var(--c-main);
}

.p-top-reason__switch::after {
  content: "";
  position: absolute;
  top: 108%;
  left: 50%;
  border-style: solid;
  border-width: 20px 70px 0;
  border-color: var(--c-main) transparent transparent;
  transform: translateX(-50%);
}

.p-top-reason__intro {
  font-family: "Noto Serif JP", serif;
  font-weight: 600;
  font-size: 1.15rem;
  line-height: 1.8;
  letter-spacing: 0.03em;
}

.p-top-reason__intro p {
  margin-bottom: 1.5rem;
}

.p-top-reason__intro span {
  color: var(--c-main);
  font-size: 1.5rem;
}

.p-top-reason__intro p:last-child {
  margin-bottom: 0;
}

.p-top-reason__photo {
  display: block;
  width: 100%;
  margin-top: clamp(1.5rem, 1.1rem + 1.2vw, 2.25rem);
  z-index: -1;
  margin-bottom: 1.5rem;
}

@media (min-width: 992px) {
  .p-top-reason__photo {
    position: absolute;
    left: 0;
    bottom: 0;
    width: clamp(580px, 41vw, 800px);
    height: auto;
    margin: 0;
    border-radius: 0;
  }
}

.p-top-reason__item {
  padding-block: 1.6rem;
  border-bottom: 1px dotted var(--c-main);
}

.p-top-reason__item:first-child {
  padding-top: 0;
}

.p-top-reason__item-title {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.75rem;
  font-family: "Noto Serif JP", serif;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.04em;
  color: #b84a54;
}

.p-top-reason__item-num {
  flex-shrink: 0;
  font-size: 44px;
  line-height: 1;
  letter-spacing: 0.05em;
  color: var(--c-main);
}

.p-top-reason__item-text {
  font-size: 22px;
  line-height: 1.5;
}

.p-top-reason__item p {
  margin-bottom: 0;
  font-size: 1rem;
  line-height: 1.9;
  letter-spacing: 0.03em;
  color: var(--c-text-sub);
}

@media (max-width: 767.98px) {
  .p-top-reason__worry-text,
  .p-top-reason__intro,
  .p-top-reason__item p {
    font-size: 0.95rem;
    line-height: 1.8;
  }

  .p-top-reason__worry-em {
    font-size: 18px;
  }

  .p-top-reason__switch {
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 2rem);
    min-width: 0;
  }

  .p-top-reason__switch::after {
    border-width: 14px 40px 0;
  }

  .p-top-reason__item-title {
    gap: 0.75rem;
  }

  .p-top-reason__item-num {
    font-size: 36px;
  }

  .p-top-reason__item-text {
    font-size: 18px;
  }
}

/* =========================
特徴
========================= */
.p-top-feature__card {
  position: relative;
  display: block;
  width: 100%;
  min-height: 320px;
  text-decoration: none;
  color: inherit;
}

.p-top-feature__img {
  display: block;
  width: 346px;
  height: 225px;
  object-fit: cover;
  border-radius: 10px;
  transition: transform .8s ease;
}

.p-top-feature__list {
  margin-bottom: 4rem;
}

.p-top-feature__card:hover .p-top-feature__img {
  transform: scale(1.03);
}

.p-top-feature__body {
  position: absolute;
  right: 20px;
  bottom: 50px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-radius: 10px;
  width: 260px;
  height: 200px;
  padding: 1rem;
  background: rgba(255, 246, 246, .7);
  backdrop-filter: blur(4px);
}

.p-top-feature__card-title {
  margin-bottom: 1rem;
  font-family: "Noto Serif JP", serif;
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.7;
  letter-spacing: 0.08em;
  color: var(--c-text);
}

.p-top-feature__text {
  max-width: 10em;
  line-height: 1.9;
  letter-spacing: 0.05em;
  color: var(--c-text);
}

.p-top-feature__arrow {
  position: absolute;
  right: 1.5rem;
  bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 1px solid var(--c-text);
  border-radius: 50%;
  transition:
    background-color .3s ease,
    border-color .3s ease,
    transform .3s ease;
}

.p-top-feature__arrow .bi {
  font-size: 1rem;
  line-height: 1;
  color: var(--c-text);
}

.p-top-feature__card:hover .p-top-feature__arrow {
  background: var(--c-accent);
  border-color: var(--c-accent);
  transform: translateX(4px);
}

.p-top-feature__card:hover .p-top-feature__arrow .bi {
  color: #fff;
}

/* =========================
実績
========================= */

/* 4枚のカード間で各行の高さを揃えるため CSS Subgrid を使用 */
.p-top-feature__stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: clamp(0.5rem, 1.5vw, 1.5rem);
  row-gap: 0.25rem;
}

@media (min-width: 992px) {
  .p-top-feature__stats {
    grid-template-columns: repeat(4, 1fr);
  }
}

.p-top-feature__stats > li {
  display: contents;
}

.p-top-feature__stat {
  position: relative;
  display: grid;
  grid-template-rows: subgrid;
  grid-row: span 3;
  justify-items: center;
  align-content: center;
  min-height: clamp(240px, 26vw, 320px);
  padding: clamp(2.5rem, 3vw, 3rem) clamp(0.75rem, 2vw, 2rem);
  font-family: "Noto Serif JP", serif;
  text-align: center;
  background:
    url("../../images/top/stat-bg.png") center / contain no-repeat;
}

.p-top-feature__stat-main {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.25rem;
  font-family: "Libre Baskerville", serif;
  font-size: clamp(1.875rem, 3.5vw, 42px);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.02em;
  color: var(--c-accent);
}

.p-top-feature__stat-main small {
  font-family: "Noto Sans JP", sans-serif;
  font-size: clamp(0.8rem, 1.1vw, 1rem);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.05em;
}

.p-top-feature__stat-sub {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(0.9rem, 1.2vw, 1.1rem);
  line-height: 1.7;
  letter-spacing: 0.05em;
  max-width: 12em;
}

/* 1枚目のみに付く注釈はグリッドの行を圧迫しないように絶対配置 */
.p-top-feature__stat-note {
  position: absolute;
  bottom: clamp(0.5rem, 1.5vw, 1.25rem);
  left: 50%;
  transform: translateX(-50%);
  font-size: clamp(0.65rem, 0.9vw, 0.8rem);
  white-space: nowrap;
}

@media (max-width: 767.98px) {

  .p-top-feature__card {
    min-height: auto;
  }

  .p-top-feature__img {
    width: 100%;
    height: 240px;
  }

  .p-top-feature__body {
    position: relative;
    right: auto;
    bottom: auto;
    width: calc(100% - 2rem);
    height: auto;
    margin-top: -3rem;
    margin-left: auto;
    padding: 1.75rem 1.5rem 1.5rem;
  }

  .p-top-feature__card-title {
    font-size: 1.3rem;
  }

  .p-top-feature__text {
    max-width: none;
    font-size: 0.95rem;
  }

}

/* =========================
イベント
========================= */

.p-top-event {
  background-color: var(--c-bg);
}

.p-top-event__list {
  margin-bottom: 4rem;
}

/* =========================
メッセージ
========================= */

.p-top-message {
  padding: 0;
  overflow: hidden;
}

.p-top-message__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100%;
  padding-block: clamp(3rem, 2rem + 3vw, 5rem);
  padding-left: max(1.5rem, calc((100vw - 1140px) / 2));
  padding-right: clamp(1.5rem, 1rem + 2vw, 4rem);
  background-color: #fff6f6;
  text-align: center;
}

.p-top-message__content p {
  margin-bottom: 1.5rem;
  font-size: 16px;
  line-height: 2;
  letter-spacing: 0.05em;
  color: var(--c-text);
}

.p-top-message__content p:last-of-type {
  margin-bottom: 2rem;
}

.p-top-message .c-top-section__head {
  margin-bottom: clamp(2.5rem, 2rem + 1.5vw, 3.5rem);
}

.p-top-message__visual {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  object-position: center;
}

.p-top-message .col-12:last-child {
  position: relative;
}

.p-top-message .col-12:last-child::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: min(45%, 12rem);
  height: min(40%, 10rem);
  background: linear-gradient(
    135deg,
    rgb(255 246 246 / 0.95) 0%,
    rgb(255 246 246 / 0.45) 55%,
    transparent 100%
  );
  pointer-events: none;
}

@media (max-width: 767.98px) {
  .p-top-message__content {
    padding: 3rem 1.25rem;
  }

  .p-top-message__content p {
    font-size: 15px;
    line-height: 1.9;
  }

  .p-top-message__visual {
    min-height: 280px;
  }

  .p-top-message .c-top-section__head {
    margin-bottom: 2rem;
  }

  .p-top-message .col-12:last-child::after {
    display: none;
  }
}

/* =========================
コラム
========================= */

.p-top-column {
  background-color: #fff;
}

.p-top-column .c-top-section__head {
  margin-bottom: 1.5rem;
}

.p-top-column__card {
  position: relative;
  display: block;
  text-decoration: none;
  color: inherit;
  margin-bottom: 1rem;
}

.p-top-column__label {
  position: absolute;
  top: -0.75rem;
  left: -0.75rem;
  z-index: 1;
  padding: 0.4rem 0.9rem;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.05em;
  color: #fff;
  background-color: var(--c-main);
  border-radius: 0.25rem;
}

.p-top-column__img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  transition: opacity 0.3s ease;
}

.p-top-column__text {
  margin-top: 1rem;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.8;
  letter-spacing: 0.05em;
  text-align: center;
  color: var(--c-text);
  transition: color 0.3s ease;
}

.p-top-column__card:hover .p-top-column__img {
  opacity: 0.8;
}

.p-top-column__card:hover .p-top-column__text {
  color: var(--c-main);
}

@media (max-width: 767.98px) {
  .p-top-column .c-top-section__head {
    margin-bottom: 1.25rem;
  }

  .p-top-column__lead {
    margin-bottom: 2.5rem;
    font-size: 15px;
    line-height: 1.7;
  }

  .p-top-column__label {
    top: 0.5rem;
    left: 0.5rem;
    padding: 0.35rem 0.75rem;
    font-size: 13px;
  }

  .p-top-column__text {
    margin-top: 0.75rem;
    font-size: 15px;
    line-height: 1.7;
  }
}

/* =========================
成功事例
========================= */

.p-top-case {
  background-color: var(--c-bg);
}

.p-top-case__card {
  position: relative;
  height: 100%;
  padding: 2.5rem 1.75rem 2rem;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 0 10px rgb(249 231 231);
  text-align: center;
}

.p-top-case__num {
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  margin: 0;
  font-family: "Caveat", cursive;
  font-size: 44px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.02em;
  color: #e6bfc0;
}

.p-top-case__avatar {
  display: block;
  width: 148px;
  height: 148px;
  margin: 0 auto 1.25rem;
  object-fit: contain;
}

.p-top-case__catch {
  margin-bottom: 1rem;
  font-family: "Noto Serif JP", serif;
  font-size: clamp(1.125rem, 1rem + 0.5vw, 1.35rem);
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: 0.06em;
  color: var(--c-accent);
}

.p-top-case__line {
  position: relative;
  width: min(100%, 12rem);
  height: 1px;
  margin: 0 auto 1rem;
  border: 0;
  background-color: #e6bfc0;
  opacity: 1;
}

.p-top-case__line::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--c-main);
  transform: translate(-50%, -50%);
}

.p-top-case__profile {
  margin-bottom: 1.25rem;
  font-size: 14px;
  line-height: 1.7;
  letter-spacing: 0.05em;
  color: var(--c-text-sub);
}

.p-top-case__card p:not(.p-top-case__num):not(.p-top-case__profile) {
  margin-bottom: 1rem;
  font-size: 15px;
  line-height: 1.9;
  letter-spacing: 0.03em;
  color: var(--c-text);
  text-align: left;
}

@media (max-width: 767.98px) {
  .p-top-case__card {
    padding: 2rem 1.25rem 1.75rem;
  }

  .p-top-case__num {
    top: 1rem;
    left: 1rem;
  }

  .p-top-case__avatar {
    width: 72px;
    height: 72px;
    margin-bottom: 1rem;
  }

  .p-top-case__card p:not(.p-top-case__num):not(.p-top-case__profile) {
    font-size: 14px;
    line-height: 1.8;
    text-align: left;
  }
}

/* =========================
婚活かるた
========================= */

.p-top-karuta {
  background-color: #fff;
}

.p-top-karuta__title {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.9;
    letter-spacing: 0.05em;
    color: var(--c-text);
    transition: color .3s ease;
    padding: 1rem;
    border: 1px dashed #b84a54;
}

.p-top-karuta__text {
 
  font-size: 14px;
  line-height: 1.7;
  
}

.p-top-karuta__list li {
  margin-bottom: 2rem;
}

.p-top-karuta__img {
  display: block;
  width: 100%;
  height: 260px;
  object-fit: cover;
  transition:
    transform .8s ease,
    opacity .4s ease;
}

.p-top-karuta__card:hover .p-top-karuta__img {
  transform: scale(1.05);
}

.p-top-karuta__card:hover .p-top-karuta__title {
  color: var(--c-main);
}

/* =========================
料金
========================= */

.p-top-price {
  background-color: var(--c-bg);
}

.p-top-price__table-wrap {
  background-color: #fff;
  border-radius: 10px;
  overflow: hidden;
}

.p-top-price__table-wrap + .p-top-price__table-wrap {
  margin-top: 2rem;
}

.p-top-price__table {
  width: 100%;
  table-layout: fixed;
  background-color: #fff;
  border-collapse: separate;
  border-spacing: 0;
}

.p-top-price__table th,
.p-top-price__table td {
  width: calc(100% / 3);
  padding: 1.25rem 1rem;
  font-size: 15px;
  line-height: 1.7;
  letter-spacing: 0.05em;
  vertical-align: middle;
  word-break: break-word;
  border-bottom: 1px solid #f1e1e3;
  border-right: 1px solid #f1e1e3;
  background-color: #fff;
}

.p-top-price__table th:last-child,
.p-top-price__table td:last-child {
  border-right: 0;
}

.p-top-price__table thead th {
  padding-block: 1rem;
  color: #fff;
  font-weight: 500;
  letter-spacing: 0.08em;
  background-color: var(--c-main);
  border-bottom: 0;
  border-right: 1px solid rgb(255 255 255 / 0.3);
}

.p-top-price__table thead th:last-child {
  border-right: 0;
}

.p-top-price__table tbody th {
  font-weight: 500;
  color: var(--c-text);
}

.p-top-price__table tbody td {
  color: var(--c-text);
}

.p-top-price__table tbody tr:last-child th,
.p-top-price__table tbody tr:last-child td {
  border-bottom: 0;
}

.p-top-price__table small {
  display: inline-block;
  margin-top: 0.25rem;
  font-size: 12px;
  color: var(--c-text-sub);
}

.p-top-price__caption {
  caption-side: top;
  padding: 0.85rem 1rem;
  color: var(--c-text);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.7;
  letter-spacing: 0.05em;
  text-align: center;
  background-color: #fff;
  border-bottom: 1px solid #f1e1e3;
}

.p-top-price__support {
  margin-top: 3rem;
  padding: 3rem 1.5rem 2.5rem;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 0 10px rgb(249 231 231);
  position: relative;
}

.p-top-price__support-title {
  display: inline-block;
  position: absolute;
  top: -1.25rem;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.65rem 4rem;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: #fff;
  background-color: var(--c-main);
  border-radius: 4px;
}

.p-top-price__support-list {
  margin-top: 1rem;
}

.p-top-price__support-icon {
  display: block;
  width: 120px;
  height: 120px;
  margin: 0 auto 1rem;
  object-fit: contain;
}

.p-top-price__support-text {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.7;
  letter-spacing: 0.05em;
  color: var(--c-text);
}

@media (max-width: 767.98px) {
  .p-top-price__table th,
  .p-top-price__table td {
    padding: 1rem 0.5rem;
    font-size: 14px;
    line-height: 1.6;
  }

  .p-top-price__caption {
    font-size: 14px;
    line-height: 1.6;
    padding: 0.75rem 0.5rem;
  }

  .p-top-price__support {
    margin-top: 2.5rem;
    padding: 2.5rem 1rem 2rem;
  }

  .p-top-price__support-title {
    padding: 0.55rem 2.5rem;
    font-size: 14px;
  }

  .p-top-price__support-icon {
    width: 96px;
    height: 96px;
  }

  .p-top-price__support-text {
    font-size: 15px;
  }
}

/* =========================
LGBTQ
========================= */

.p-top-lgbtq {
  padding: 0;
  overflow: hidden;
}

.p-top-lgbtq__title {
  position: relative;
  display: inline-block;
  font-size: clamp(1.5rem, 1.5rem + 1vw, 2rem);
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: 0.08em;
  color: var(--c-accent);
}

.p-top-lgbtq__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100%;
  padding-block: clamp(3rem, 2rem + 3vw, 5rem);
  padding-left: max(1.5rem, calc((100vw - 1140px) / 2));
  padding-right: clamp(1.5rem, 1rem + 2vw, 4rem);
  background-color: var(--c-bg);
  text-align: left;
}

.p-top-lgbtq__content p {
  margin-bottom: 1.5rem;
  font-size: 16px;
  line-height: 2;
  letter-spacing: 0.05em;
  color: var(--c-text);
}

.p-top-lgbtq__content p:last-of-type {
  margin-bottom: 2rem;
}

.p-top-lgbtq__highlight {
  font-family: "Noto Serif JP", serif;
  font-size: 1.5rem;
  color: var(--c-accent);
}

.p-top-lgbtq .c-top-section__head {
  margin-bottom: clamp(2.5rem, 2rem + 1.5vw, 3.5rem);
}

.p-top-lgbtq__visual-wrap {
  position: relative;
}

.p-top-lgbtq__visual {
  position: absolute;
  right: 0;
  bottom: 0;
  display: block;
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  object-position: right;
}

@media (max-width: 767.98px) {
  .p-top-lgbtq__content {
    padding-block: 3rem;
    padding-inline: 1.25rem;
  }

  .p-top-lgbtq__content p {
    font-size: 15px;
    line-height: 1.9;
  }

  /* SPは画像を通常フローに戻し、上段テキストにかぶらないようにする */
  .p-top-lgbtq__visual {
    position: static;
    height: auto;
    min-height: 280px;
  }

  .p-top-lgbtq .c-top-section__head {
    margin-bottom: 2rem;
  }
}
