body {
  overflow-x: hidden;
}

/* ==== Header assist ==== */
.p-top-header-cta-blend {
  display: none;
}

@media (min-width: 1025px) {
  .p-top-header-cta-blend {
    position: fixed;
    top: 27px;
    right: 40px;
    z-index: 9;
    display: block;
    width: 145px;
    height: 43px;
    border-radius: var(--radius-full);
    background: rgb(from var(--color-secondary) r g b / 0.3);
    mix-blend-mode: multiply;
    pointer-events: none;
  }
}

@media (min-width: 1025px) and (max-width: 1200px) {
  .p-top-header-cta-blend {
    top: 28px;
    right: 24px;
    width: 119px;
    height: 40px;
  }
}

/* ==== Hero ==== */
.p-top-hero {
  background: var(--color-cream);
}

.p-top-hero__story {
  position: relative;
  height: 1624px;
  background: var(--color-cream) url("../../img/top/hero.webp") center top / cover no-repeat;
}

.p-top-hero__headline-wrap {
  position: absolute;
  top: 160px;
  left: 50%;
  width: 560px;
  transform: translateX(-50%);
}

.p-top-hero__headline {
  display: flex;
  flex-direction: row-reverse;
  align-items: flex-start;
  justify-content: center;
  gap: var(--space-40);
  width: 100%;
  height: 100%;
  color: var(--color-white);
  font-size: var(--font-size-3xl);
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-single);
  letter-spacing: var(--letter-spacing-2xl);
  text-align: left;
}

.p-top-hero__headline span {
  display: block;
  writing-mode: vertical-rl;
}

.p-top-hero__intro {
  position: absolute;
  top: 824px;
  right: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-40);
  width: 760px;
  margin-inline: auto;
}

.p-top-hero__copy {
  display: flex;
  flex-direction: row-reverse;
  justify-content: center;
  gap: var(--space-88);
  color: var(--color-white);
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-medium);
  line-height: var(--line-height-single);
  letter-spacing: var(--letter-spacing-xl);
}

.p-top-hero__copy-group {
  display: flex;
  flex-direction: row-reverse;
  gap: var(--space-24);
}

.p-top-hero__copy-group p {
  text-align: left;
  text-shadow:
    0 1px 2px rgb(from var(--color-section-dark) r g b / 0.8),
    0 0 8px rgb(from var(--color-section-dark) r g b / 0.5);
  writing-mode: vertical-rl;
}

.p-top-hero__upright {
  text-orientation: upright;
}

/* ==== 英語ページ：縦書きヒーローコピーを横書きに戻す（TranslatePressがhtmlのlangを切り替える） ==== */
html[lang="en-US"] .p-top-hero__headline-wrap {
  width: auto;
  max-width: 90vw;
}

html[lang="en-US"] .p-top-hero__headline {
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-8);
  height: auto;
}

html[lang="en-US"] .p-top-hero__headline span {
  writing-mode: horizontal-tb;
  text-orientation: initial;
  height: auto;
  text-align: center;
}

html[lang="en-US"] .p-top-hero__intro {
  width: auto;
  max-width: 90vw;
}

html[lang="en-US"] .p-top-hero__copy {
  flex-direction: column;
  align-items: center;
  gap: var(--space-16);
}

html[lang="en-US"] .p-top-hero__copy-group {
  flex-direction: column;
  align-items: center;
  gap: var(--space-8);
}

html[lang="en-US"] .p-top-hero__copy-group p {
  writing-mode: horizontal-tb;
  text-orientation: initial;
  height: auto;
  width: auto;
  text-align: center;
}

.p-top-hero__button {
  position: relative;
  overflow: hidden;
  width: 250px;
  min-height: 58px;
  padding-inline: var(--space-24);
  border-color: var(--color-white);
  background: transparent;
  font-weight: var(--font-weight-normal);
}

.p-top-hero__button::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  background: rgb(from var(--color-secondary) r g b / 0.8);
  mix-blend-mode: multiply;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.p-top-hero__button span {
  position: relative;
  z-index: 1;
}

.p-top-hero__button:hover {
  border-color: var(--color-secondary);
  background: var(--color-white);
  color: var(--color-secondary);
}

.p-top-hero__button:hover::before {
  opacity: 0;
}

/* ==== Carousel ==== */
.p-top-carousel {
  position: relative;
  z-index: 2;
  height: 298px;
  margin-top: -244px;
  margin-bottom: var(--space-80);
  overflow: hidden;
}

.p-top-carousel__track {
  display: flex;
  width: max-content;
  animation: p-top-carousel-loop 52s linear infinite;
  will-change: transform;
}

.p-top-carousel__group {
  display: flex;
  flex: none;
  gap: var(--space-24);
  padding-right: var(--space-24);
}

.p-top-carousel__item {
  flex: none;
  width: 420px;
  aspect-ratio: 420 / 297;
  overflow: hidden;
}

.p-top-carousel__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@keyframes p-top-carousel-loop {
  from {
    transform: translateX(-378px);
  }

  to {
    transform: translateX(calc(-50% - 378px));
  }
}

@media (prefers-reduced-motion: reduce) {
  .p-top-carousel__track {
    animation-play-state: paused;
  }
}


/* ==== Tour plans ==== */
.p-top-tour-plans {
  position: relative;
  padding: var(--space-120) 0;
}

.p-top-tour-plans .c-tour-plan {
  align-items: stretch;
  gap: var(--space-48);
}

.p-top-tour-plans .c-section-heading__en {
  opacity: 0.4;
  line-height: var(--line-height-single);
  letter-spacing: var(--letter-spacing-sm);
}

@media (min-width: 768px) {
  .p-top-tour-plans .c-section-heading__en {
    top: -66px;
    font-size: var(--font-size-display-en-lg);
  }
}

.p-top-tour-plans .c-section-heading {
  z-index: 1;
}

.p-top-tour-plans .c-section-heading__inner {
  padding-bottom: var(--space-48);
}

.p-top-tour-plans .c-tour-plan__list {
  width: 100%;
  gap: var(--space-48);
}

.p-top-tour-plans .c-tour-plan__card {
  display: grid;
  grid-template-columns: 416px 1fr;
  gap: var(--space-64);
  min-height: 408px;
  padding-bottom: var(--space-48);
  border-bottom: 1px solid var(--color-secondary);
  overflow: visible;
}

.p-top-tour-plans .c-tour-plan__body {
  width: auto;
  height: 408px;
  margin: 0;
  padding: 0;
  background: transparent;
  color: var(--color-text);
  justify-content: flex-start;
  gap: var(--space-24);
}

.p-top-tour-plans .c-tour-plan__subtitle,
.p-top-tour-plans .c-tour-plan__name,
.p-top-tour-plans .c-tour-plan__desc {
  color: var(--color-text);
}

.p-top-tour-plans .c-tour-plan__subtitle {
  font-size: var(--font-size-md);
}

.p-top-tour-plans .c-tour-plan__name {
  margin-top: 4px;
}

.p-top-tour-plans .c-tour-plan__desc-row {
  flex: 1;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-16);
}

.p-top-tour-plans .c-tour-plan__desc {
  width: 100%;
}

.p-top-tour-plans .c-btn--xs {
  width: 152px;
  min-height: 39px;
  padding: var(--space-8) 0;
}

.p-top-tour-plans .c-tour-plan__img {
  width: 100%;
  height: 408px;
}

.p-top-tour-plans .c-tour-plan__buttons {
  flex-direction: column;
}

/* 風の巡礼バナーカードは3枚ギャラリー型カードと違い1枚の背景写真に文字を重ねるレイアウトのため、
   .p-top-tour-plans .c-tour-plan__card のgrid指定（詳細度が同じclass2つでcomponent側の
   .c-tour-plan__card--bannerより勝ってしまう）を個別に打ち消す。 */
.p-top-tour-plans .c-tour-plan__card--banner {
  display: block;
  grid-template-columns: none;
  min-height: 0;
  padding-bottom: 0;
  border-bottom: 0;
  overflow: hidden;
}

/* .p-top-tour-plans .c-tour-plan__subtitle/name/desc は3枚ギャラリー型カード（明るい背景＋
   ダークテキスト）向けの上書きだが、詳細度が同じ2クラスのためバナーカード（写真背景＋白文字）
   にも掛かってしまう。バナー配下だけ明示的に白へ戻す（詳細度3クラスで確実に勝たせる）。 */
.p-top-tour-plans .c-tour-plan__card--banner .c-tour-plan__subtitle,
.p-top-tour-plans .c-tour-plan__card--banner .c-tour-plan__name,
.p-top-tour-plans .c-tour-plan__card--banner .c-tour-plan__desc {
  color: var(--color-white);
}

.p-top-tour-plans .c-tour-plan__img img {
  object-fit: contain;
}

.p-top-tour-plans__gallery {
  position: relative;
  overflow: visible;
}

.p-top-tour-plans__gallery-track {
  display: contents;
}

.p-top-tour-plans__gallery-slide {
  display: contents;
}

.p-top-tour-plans__gallery-control {
  display: none;
}

.p-top-tour-plans .p-top-tour-plans__gallery-image {
  position: absolute;
  top: 0;
  width: 255px;
  height: 360px;
  object-fit: cover;
}

.p-top-tour-plans__gallery.p-top-tour-plans__gallery--reverse {
  transform: translateY(24px);
}

.p-top-tour-plans__gallery-image--left {
  left: 3%;
  z-index: 1;
  transform: translateY(24px) rotate(-7deg);
}

.p-top-tour-plans__gallery-image--center {
  left: 50%;
  z-index: 2;
  transform: translateX(-50%);
}

.p-top-tour-plans__gallery-image--right {
  right: 3%;
  z-index: 3;
  transform: translateY(24px) rotate(7deg);
}

.p-top-tour-plans__gallery--reverse .p-top-tour-plans__gallery-image--left {
  transform: rotate(7deg);
}

.p-top-tour-plans__gallery--reverse .p-top-tour-plans__gallery-image--center {
  transform: translate(-50%, 24px);
}

.p-top-tour-plans__gallery--reverse .p-top-tour-plans__gallery-image--right {
  transform: rotate(-7deg);
}

/* ==== Tour guide ==== */
.p-top-tour-guide {
  padding: var(--space-120) 0 var(--space-80);
  background: var(--color-section-dark);
}

/* ==== Customer reviews ==== */
.p-top-reviews {
  position: relative;
  min-height: 681px;
  padding: var(--space-80) 0;
  background:
    linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url("../../img/top/customer-reviews-bg.webp") center / cover no-repeat;
  color: var(--color-white);
}

.p-top-reviews__container {
  position: relative;
}

.p-top-reviews__heading {
  position: relative;
  z-index: 1;
  margin-bottom: var(--space-48);
}

.p-top-reviews__heading .c-section-heading__inner {
  padding-bottom: var(--space-48);
  border-color: var(--color-white);
}

.p-top-reviews__heading .c-section-heading__title {
  color: var(--color-white);
}

.p-top-reviews__list {
  position: relative;
  z-index: 1;
  justify-content: flex-end;
  gap: var(--space-32);
}

.p-top-reviews .c-voice-card {
  width: 299px;
}

.p-top-reviews .c-voice-card__header {
  min-height: 151px;
}

.p-top-reviews__button-row {
  display: flex;
  justify-content: flex-end;
  margin-top: var(--space-48);
}

.p-top-reviews__button {
  width: 266px;
  min-height: 58px;
  padding-inline: var(--space-56);
  border-color: var(--color-text);
  background: rgb(from var(--color-white) r g b / 0.85);
  color: var(--color-text);
  font-weight: var(--font-weight-normal);
}

.p-top-reviews__button:hover {
  border-color: var(--color-text);
  background: var(--color-text);
  color: var(--color-white);
}

/* ==== Model case ==== */
.p-top-model-case {
  padding: var(--space-80) 0;
  background: var(--color-section-dark);
  color: var(--color-white);
}

.p-top-model-case__heading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-24);
  margin-bottom: var(--space-56);
  text-align: center;
}

.p-top-model-case__heading h2 {
  font-size: var(--font-size-3xl);
  line-height: var(--line-height-normal);
}

.p-top-model-case__heading p {
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-medium);
  line-height: var(--line-height-relaxed);
  text-align: center;
}

.p-top-schedule {
  position: relative;
  margin-top: var(--space-56);
  color: var(--color-section-dark);
}

.p-top-schedule__title {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  min-height: 65px;
  padding: var(--space-16) var(--space-32) var(--space-8);
  border-radius: 24px 24px 0 0;
  background: var(--color-cream);
  font-size: var(--font-size-xl-plus);
  font-weight: var(--font-weight-black);
  line-height: var(--line-height-normal);
}

.p-top-schedule--stay .p-top-schedule__title {
  min-width: 473px;
}

.p-top-schedule__body {
  position: relative;
  height: 571px;
  margin-top: 0;
  padding: var(--space-64) var(--space-40);
  border-radius: 0 16px 16px 16px;
  background: var(--color-cream);
  overflow: hidden;
}

.p-top-schedule__body::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 120px;
  background: rgb(from var(--color-white) r g b / 0.5);
  pointer-events: none;
  transform: translateY(-50%);
}

.p-top-schedule__line {
  position: absolute;
  top: 282px;
  left: 102px;
  right: 47px;
  height: 8px;
  background: var(--color-section-dark);
}

.p-top-schedule__line::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -12px;
  width: 25px;
  height: 41px;
  background: url("../../img/common/top-modelcase-arrow.svg") center / contain no-repeat;
  transform: translateY(-50%);
}

.p-top-schedule__day {
  position: absolute;
  top: 254px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border: 2px solid var(--color-section-dark);
  border-radius: 50%;
  background: var(--color-white);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-black);
  line-height: var(--line-height-snug);
  text-align: center;
}

.p-top-schedule__day--one {
  left: 40px;
}

.p-top-schedule__day--two {
  left: 323px;
  border-color: var(--color-section-dark);
  background: var(--color-section-dark);
  color: var(--color-white);
}

.p-top-schedule__events {
  position: absolute;
  top: 64px;
  right: 50px;
  bottom: 64px;
  left: 40px;
  list-style: none;
  margin: 0;
}

.p-top-schedule__event {
  position: absolute;
  width: 202px;
  text-align: left;
}

/* 1day */
.p-top-schedule--day .p-top-schedule__event--arrival {
  left: 72px;
}
.p-top-schedule--day .p-top-schedule__event--arrival p {
  padding-left: var(--space-24);
}

.p-top-schedule--day .p-top-schedule__event--port-walk {
  left: 252px;
}
.p-top-schedule--day .p-top-schedule__event--port-walk p {
  padding-left: var(--space-48);
}

.p-top-schedule--day .p-top-schedule__event--tour {
  left: 306px;
}
.p-top-schedule--day .p-top-schedule__event--tour p {
  width: 100%;
}

.p-top-schedule--day .p-top-schedule__event--sightseeing {
  left: 671px;
}
.p-top-schedule--day .p-top-schedule__event--sightseeing p {
  padding-left: var(--space-56);
}

/* 2day */
.p-top-schedule--stay .p-top-schedule__event--preparation {
  left: 72px;
}
.p-top-schedule--stay .p-top-schedule__event--preparation::after {
  top: 64px;
  height: 152px;
}

.p-top-schedule--stay .p-top-schedule__event--arrival {
  left: 88px;
}

.p-top-schedule--stay .p-top-schedule__event--evening-walk {
  left: 203px;
}
.p-top-schedule--stay .p-top-schedule__event--evening-walk p {
  white-space: nowrap;
}

.p-top-schedule--stay .p-top-schedule__event--stay {
  left: 241px;
}

.p-top-schedule--stay .p-top-schedule__event--morning-walk {
  left: 360px;
}
.p-top-schedule--stay .p-top-schedule__event--morning-walk p {
  padding-left: var(--space-48);
}

.p-top-schedule--stay .p-top-schedule__event--tour {
  left: 498px;
}
.p-top-schedule--stay .p-top-schedule__event--tour p {
  width: 100%;
}

.p-top-schedule--stay .p-top-schedule__event--sightseeing {
  left: 671px;
}
.p-top-schedule--stay .p-top-schedule__event--sightseeing p {
  padding-left: var(--space-56);
}

.p-top-schedule__event--return {
  left: 908px;
}

.p-top-schedule__event--top {
  top: 0;
}

.p-top-schedule__event--bottom {
  top: 300px;
}

.p-top-schedule__event::after {
  content: "";
  position: absolute;
  left: 10px;
  width: 0;
  border-left: 2px dashed var(--color-section-dark);
}

.p-top-schedule__event--top::after {
  top: 36px;
  height: 178px;
}

.p-top-schedule__event--bottom::after {
  top: -82px;
  height: 69px;
}

.p-top-schedule__event h4 {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--color-section-dark);
  font-size: var(--font-size-md);
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-normal);
  white-space: nowrap;
}

.p-top-schedule__event p {
  position: relative;
  width: 202px;
  z-index: 1;
  font-size: var(--font-size-sm);
  line-height: var(--line-height-normal);
  text-align: left;
}

.p-top-schedule__event > img {
  position: relative;
  z-index: 1;
  width: 170px;
  height: 105px;
  margin: var(--space-8) 0 0 var(--space-48);
  object-fit: cover;
}

.p-top-schedule__event--bottom > img {
  margin-left: 0;
}

.p-top-schedule__event--wide {
  width: 500px;
}

.p-top-schedule__photos {
  position: relative;
  z-index: 1;
  display: flex;
  width: fit-content;
  margin-top: var(--space-8);
}

.p-top-schedule__event--top .p-top-schedule__photos {
  margin-left: var(--space-56);
}

.p-top-schedule__photos img {
  width: 170px;
  height: 105px;
  object-fit: cover;
}

.p-top-model-case__link-row {
  display: flex;
  justify-content: flex-end;
  margin-top: var(--space-56);
}

.p-top-model-case__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 406px;
  padding-bottom: var(--space-8);
  border-bottom: 1px solid var(--color-white);
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-single);
  transition: opacity 0.2s ease;
}

.p-top-model-case__link:hover {
  opacity: 0.7;
}

.p-top-model-case__link .c-line-link__arrow {
  filter: brightness(0) invert(1);
}

.p-top-model-case__heading + .p-top-schedule {
  margin-top: 0;
}

@media (max-width: 1024px) {
  .p-top-header-cta-blend {
    display: none;
  }

  .p-top-tour-plans .c-tour-plan__card {
    grid-template-columns: 45% 1fr;
    gap: var(--space-32);
  }

}

@media (min-width: 768px) and (max-width: 1024px) {
  .p-top-schedule {
    overflow-x: auto;
  }

  .p-top-schedule__body {
    min-width: 1200px;
  }

  .p-top-tour-plans .p-top-tour-plans__gallery-image {
    width: 230px;
    height: auto;
    aspect-ratio: 17 / 24;
  }

  .p-top-reviews__list {
    justify-content: flex-start;
  }

  .p-top-reviews .c-voice-card {
    flex: 0 0 calc((100% - 63px) / 3);
    width: calc((100% - 63px) / 3);
  }
}



/* ==== Access ==== */
.p-top-access {
  position: relative;
  min-height: 1127px;
  padding: var(--space-120) 0 var(--space-80);
  overflow: hidden;
}

.p-top-access__map {
  position: absolute;
  z-index: -1;
  top: -107px;
  left: var(--container-padding);
  width: 851px;
  height: 896px;
  object-fit: contain;
}

.p-top-access__container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 320px minmax(0, 824px);
  gap: var(--space-56);
  min-height: 927px;
}

.p-top-access__intro {
  position: relative;
  z-index: 2;
  margin-bottom: 0;
}

.p-top-access__intro .c-section-heading__inner {
  padding-bottom: 0;
  border-bottom: 0;
}

.p-top-access__body {
  display: flex;
  flex-direction: column;
  gap: var(--space-64);
  align-items: flex-end;
}

.p-top-access__transport {
  display: grid;
  grid-template-columns: 360px 64px 120px 64px;
  width: 608px;
}

.p-top-access__air-routes {
  display: grid;
  grid-template-rows: 186px repeat(3, 124px) 186px;
  gap: var(--space-16);
}

.p-top-access__route-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-16);
  justify-content: flex-start;
  padding: var(--space-16) 0 var(--space-24) var(--space-24);
  border-radius: 16px;
  background: linear-gradient(
    90deg,
    rgb(from var(--color-white) r g b / 0.6) 0%,
    rgb(from var(--color-white) r g b / 0.25) 100%
  );
}

.p-top-access__route-heading {
  color: var(--color-section-dark);
  font-size: var(--font-size-md);
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-snug);
}

.p-top-access__route {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 46px;
}

.p-top-access__route::before {
  position: absolute;
  z-index: 0;
  top: 50%;
  right: 0;
  left: 96px;
  height: 4px;
  background: var(--color-section-dark);
  content: "";
  transform: translateY(-50%);
}

.p-top-access__airport {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 100px;
  min-height: 46px;
  padding: 12px 12px;
  border-radius: 4px;
  background: var(--color-section-dark);
  color: var(--color-white);
  font-size: var(--font-size-md);
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-snug);
  letter-spacing: var(--letter-spacing-base);
  white-space: nowrap;
}

.p-top-access__airport--wide {
  min-width: 138px;
}

.p-top-access__flight {
  position: absolute;
  left: 156px;
  bottom: calc(50% + 8px);
  z-index: 1;
  display: flex;
  align-items: center;
  gap: var(--space-8);
  color: var(--color-section-dark);
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-medium);
  line-height: var(--line-height-snug-plus);
  letter-spacing: var(--letter-spacing-base);
}

.p-top-access__flight img {
  width: 59px;
  height: auto;
}

.p-top-access__flight-copy,
.p-top-access__ferry-time,
.p-top-access__ferry-schedule {
  display: flex;
  flex-direction: column;
}

.p-top-access__flight strong {
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-bold);
  white-space: nowrap;
}

.p-top-access__island {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  border: 1px solid var(--color-secondary);
  border-radius: 4px;
  background: var(--color-bg);
  color: var(--color-secondary);
  font-size: var(--font-size-xl-plus);
  font-weight: var(--font-weight-black);
  line-height: var(--line-height-single);
  letter-spacing: var(--letter-spacing-xl);
  writing-mode: vertical-rl;
}


.p-top-access__ferry {
  position: relative;
  align-self: stretch;
  color: var(--color-section-dark);
  font-size: var(--font-size-md);
  line-height: var(--line-height-normal);
  text-align: center;
}

.p-top-access__ferry-summary {
  display: contents;
}

.p-top-access__ferry::before {
  position: absolute;
  top: 441px;
  right: 0;
  left: 0;
  height: 4px;
  background: var(--color-section-dark);
  content: "";
}

.p-top-access__ferry img,
.p-top-access__ferry strong,
.p-top-access__ferry span {
  position: relative;
  z-index: 1;
}

.p-top-access__ferry img {
  position: absolute;
  top: 333px;
  left: 50%;
  transform: translateX(-50%);
  width: 36px;
  height: auto;
}

.p-top-access__ferry-time {
  position: absolute;
  top: 383px;
  left: 0;
  width: 120px;
  font-size: var(--font-size-md);
  line-height: var(--line-height-snug);
  letter-spacing: var(--letter-spacing-base);
}

.p-top-access__ferry-schedule {
  position: absolute;
  top: 455px;
  left: 50%;
  transform: translateX(-50%);
}

.p-top-access__button-row {
  display: flex;
  justify-content: flex-end;
  width: 100%;
}

.p-top-access__button {
  min-width: 351px;
  min-height: 55px;
  padding: var(--space-16) var(--space-64);
  white-space: nowrap;
}

/* ==== FAQ / Column ==== */
.p-top-faq {
  padding: var(--space-120) 0 var(--space-80);
  background: var(--color-bg);
}

.p-top-list-button {
  min-height: 55px;
  padding-top: var(--space-16);
  padding-bottom: var(--space-16);
}

.p-top-column {
  padding: var(--space-80) 0;
}

.p-top-column .c-section-heading {
  margin-bottom: var(--space-40);
}

.p-top-column .c-section-heading__inner {
  border-bottom-color: var(--color-secondary);
}

.p-top-column .c-column-card {
  padding-bottom: 0;
}

.p-top-column .c-column-card__excerpt {
  margin-top: -8px;
}

.p-top-column__button-row {
  display: flex;
  justify-content: flex-end;
  margin-top: var(--space-40);
}

/* ==== Full-width image ==== */
.p-top-divider {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1440 / 700;
  overflow: hidden;
  background: var(--color-section-dark);
}

.p-top-divider__video {
  display: block;
  position: absolute;
  inset: -1px 0;
  width: 100%;
  height: calc(100% + 2px);
  object-fit: cover;
}

/* ==== Instagram ==== */
.p-top-instagram {
  padding: var(--space-80) 0;
  overflow: hidden;
  background: var(--color-section-dark);
  color: var(--color-white);
}

.p-top-instagram__title {
  color: var(--color-white);
  font-size: var(--font-size-3xl);
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-normal);
}

.p-top-instagram__viewport {
  width: calc(100% + max(var(--container-padding), calc((100vw - var(--container-width)) / 2)));
  margin-top: var(--space-64);
  overflow: hidden;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
}

.p-top-instagram__track {
  display: flex;
  gap: 4px;
  width: max-content;
}

.p-top-instagram__item {
  display: block;
  flex: 0 0 255px;
  width: 255px;
  height: 360px;
  overflow: hidden;
  scroll-snap-align: start;
}

.p-top-instagram__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.p-top-instagram__item:hover img {
  transform: scale(1.03);
}

.p-top-instagram__controls {
  display: flex;
  justify-content: flex-end;
  gap: var(--space-16);
  margin-top: var(--space-32);
}

.p-top-instagram__control {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border: 1px solid var(--color-white);
  border-radius: var(--radius-full);
  background: transparent;
  color: var(--color-white);
  font-size: var(--font-size-lg);
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.p-top-instagram__control:hover {
  background: var(--color-white);
  color: var(--color-section-dark);
}

.p-top-instagram__control img {
  width: 8px;
  height: 13px;
  filter: brightness(0) invert(1);
}

.p-top-instagram__control:hover img {
  filter: none;
}

/* ==== Flow / CTA ==== */
.p-top-flow {
  padding: var(--space-80) 0;
  background: var(--color-cream);
}

.p-top-flow .c-flow__card {
  min-height: 121px;
}

.p-top-flow .c-flow__item:last-child .c-flow__step-body {
  line-height: var(--line-height-normal);
}

.p-top-cta {
  min-height: 612px;
  background-color: var(--color-section-dark);
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)),
    url("../../img/top/cta-bg.webp");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  color: var(--color-white);
}

.p-top-cta__container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-64);
  padding-top: var(--space-120);
  padding-bottom: var(--space-120);
}

.p-top-cta__copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-24);
  max-width: 100%;
}

.p-top-cta__title {
  color: var(--color-white);
  font-size: var(--font-size-3xl);
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-normal);
  letter-spacing: var(--letter-spacing-lg);
  text-align: center;
}

.p-top-cta__title-line,
.p-top-cta__lead-line {
  display: block;
}

.p-top-cta__lead {
  color: var(--color-white);
  font-size: var(--font-size-xl-plus);
  font-weight: var(--font-weight-medium);
  line-height: var(--line-height-normal);
  letter-spacing: var(--letter-spacing-base);
  text-align: center;
}

.p-top-cta__button {
  position: relative;
  overflow: hidden;
  width: 278px;
  min-height: 66px;
  padding: var(--space-16) var(--space-56);
  background: transparent;
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-bold);
  letter-spacing: var(--letter-spacing-none);
}

.p-top-cta__button::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  background: rgb(from var(--color-secondary) r g b / 0.7);
  mix-blend-mode: multiply;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.p-top-cta__button span {
  position: relative;
  z-index: 1;
}

.p-top-cta__button:hover {
  background: var(--color-white);
}

.p-top-cta__button:hover::before {
  opacity: 0;
}



@media (max-width: 1200px) {
  .p-top-access__container {
    grid-template-columns: minmax(260px, 320px) minmax(0, 824px);
  }

  .p-top-access__transport {
    transform: translateX(0);
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .p-top-tour-plans .c-tour-plan__subtitle {
    font-size: var(--font-size-base);
  }

  .p-top-access {
    min-height: 0;
    padding: var(--space-96) 0 var(--space-64);
  }

  .p-top-access__container {
    display: flex;
    flex-direction: column;
    gap: var(--space-56);
    min-height: 0;
  }

  .p-top-access__intro {
    order: 1;
    width: 100%;
  }

  .p-top-access__map {
    --p-top-access-tablet-map-width: min(90vw, 720px);
    position: static;
    order: 2;
    align-self: center;
    width: var(--p-top-access-tablet-map-width);
    height: auto;
    margin-bottom: calc(var(--p-top-access-tablet-map-width) * -0.35124);
    aspect-ratio: 1702 / 1793;
    transform: translateY(-33.333%);
  }

  .p-top-access__body {
    order: 3;
    align-items: center;
    width: 100%;
  }

  .p-top-access__transport {
    grid-template-columns: minmax(0, 1fr) 64px 120px 64px;
    width: min(100%, 824px);
    max-width: none;
  }

  .p-top-access__button-row {
    justify-content: flex-end;
    width: min(100%, 824px);
  }
}



/* ==== Slider support defaults ==== */
.p-top-reviews__en,
.p-top-reviews__clone,
.p-top-slider-control {
  display: none;
}

.p-top-reviews__slider,
.p-top-column__slider {
  position: relative;
}



@keyframes p-top-carousel-loop-sp {
  from {
    transform: translateX(-180px);
  }

  to {
    transform: translateX(calc(-50% - 180px));
  }
}

/* ==== Smartphone layout ==== */
@media (max-width: 767px) {
  /* ==== Global / header ==== */

  html {
    scrollbar-width: none;
  }

  html::-webkit-scrollbar {
    display: none;
  }

  .p-top-header-cta-blend {
    display: none;
  }

  /* ==== Hero ==== */

  .p-top-hero {
    position: relative;
    height: 1152px;
    overflow: hidden;
  }

  .p-top-hero__story {
    background-image: url("../../img/top/hero-sp.webp");
    background-position: 50% top;
  }

  .p-top-hero__headline-wrap {
    top: 80px;
    width: 144px;
    height: 256px;
  }

  .p-top-hero__headline {
    gap: var(--space-24);
    font-size: var(--font-size-xl-plus);
    letter-spacing: var(--letter-spacing-2xl);
  }

  .p-top-hero__intro {
    top: 496px;
    width: 232px;
    gap: var(--space-40);
  }

  .p-top-hero__copy {
    gap: var(--space-32);
    font-size: var(--font-size-base);
  }

  .p-top-hero__copy-group {
    gap: 12px;
  }

  .p-top-hero__button {
    width: 189px;
    min-height: 55px;
    padding-inline: var(--space-24);
    font-size: var(--font-size-sm);
  }

  /* ==== Carousel ==== */

  .p-top-carousel {
    margin-top: -100px;
    margin-bottom: var(--space-48);
    position: absolute;
    top: 902px;
    left: 0;
    width: 100%;
    height: 170px;
    margin: 0;
  }

  .p-top-carousel__track {
    animation: p-top-carousel-loop-sp 52s linear infinite;
  }

  .p-top-carousel__group {
    gap: var(--space-8);
    padding-right: var(--space-8);
  }

  .p-top-carousel__item {
    width: 240px;
    height: 170px;
    aspect-ratio: auto;
  }

  /* ==== Lead ==== */

  .c-lead__photo img {
    object-position: left center;
  }

  /* ==== Tour plans ==== */

  .p-top-tour-plans .c-section-heading {
    z-index: auto;
  }

  .p-top-tour-plans .c-tour-plan .c-section-heading__en {
    z-index: -1;
    display: block;
    pointer-events: none;
  }

  .p-top-tour-plans,
  .p-top-tour-guide {
    padding: var(--space-64) 0;
  }

  .p-top-tour-plans .c-tour-plan__body {
    height: auto;
    gap: var(--space-24);
  }

  .p-top-tour-plans .c-tour-plan__desc br {
    display: none;
  }

  .p-top-tour-plans .c-tour-plan__desc-row {
    align-items: flex-start;
  }

  .p-top-tour-plans {
    padding: var(--space-56) 0 0;
  }

  .p-top-tour-plans .c-tour-plan {
    gap: var(--space-32);
  }

  .p-top-tour-plans .c-section-heading {
    margin-bottom: 0;
  }

  .p-top-tour-plans .c-section-heading__inner {
    padding-bottom: var(--space-32);
  }

  .p-top-tour-plans .c-tour-plan__list {
    gap: var(--space-24);
  }

  .p-top-tour-plans .c-tour-plan__card {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding-bottom: var(--space-24);
  }

  .p-top-tour-plans .c-tour-plan__card:last-child {
    padding-bottom: 0;
    border-bottom: 0;
  }

  .p-top-tour-plans .c-tour-plan__card--banner {
    display: block;
  }

  /* .c-tour-plan__banner-content自体もflex-direction:columnのため、直前の
     .c-tour-plan__heading（order:1）・.c-tour-plan__desc（order:2）が
     ここにも掛かってしまい、orderを持たないsubtitle・banner-buttonsが
     デフォルトorder:0で先頭に出る。バナー内はPCと同じ「見出し→サブタイトル→
     本文→ボタン」の順になるよう、この中だけ明示的に指定し直す。 */
  .p-top-tour-plans .c-tour-plan__card--banner .c-tour-plan__heading {
    order: 1;
  }

  .p-top-tour-plans .c-tour-plan__card--banner .c-tour-plan__subtitle {
    order: 2;
  }

  .p-top-tour-plans .c-tour-plan__card--banner .c-tour-plan__desc {
    order: 3;
  }

  .p-top-tour-plans .c-tour-plan__card--banner .c-tour-plan__banner-buttons {
    order: 4;
  }

  .p-top-tour-plans .c-tour-plan__card--banner .c-btn--xs {
    margin-top: 0;
  }

  .p-top-tour-plans .c-tour-plan__body,
  .p-top-tour-plans .c-tour-plan__desc-row {
    display: contents;
  }

  /* display:contentsでbody・desc-rowの子がc-tour-plan__cardの直接のflex itemとして
     並び替えられるため、orderを持たない要素（buttons）はデフォルトのorder:0となり
     先頭（heading等より前）に出てしまう。画像（order:3）より後ろになるよう明示する。 */
  .p-top-tour-plans .c-tour-plan__buttons {
    order: 4;
    flex-direction: row;
  }

  .p-top-tour-plans .c-tour-plan__heading {
    order: 1;
    width: 100%;
    text-align: left;
  }

  .p-top-tour-plans .c-tour-plan__desc {
    order: 2;
    margin-top: 12px;
    font-size: var(--font-size-sm);
  }

  .p-top-tour-plans .c-tour-plan__desc br.u-pc-only {
    display: inline;
  }

  .p-top-tour-plans .c-tour-plan__img {
    order: 3;
    width: 100vw;
    height: calc(var(--tour-gallery-image-width, 47.4667vw) * 1.4117647);
    margin-top: var(--space-24);
    aspect-ratio: auto;
  }

  .p-top-tour-plans .p-top-tour-plans__gallery {
    z-index: 1;
    overflow: hidden;
  }

  .p-top-tour-plans__gallery-track {
    display: flex;
    gap: var(--space-8);
    width: max-content;
    height: 100%;
    padding-inline: var(--tour-gallery-side-space, calc((100vw - 47.4667vw) / 2));
    transition: transform 0.35s ease;
    will-change: transform;
  }

  .p-top-tour-plans .p-top-tour-plans__gallery-slide {
    position: relative;
    display: block;
    flex: 0 0 var(--tour-gallery-image-width, 47.4667vw);
    width: var(--tour-gallery-image-width, 47.4667vw);
    height: 100%;
    aspect-ratio: 17 / 24;
    overflow: hidden;
  }

  .p-top-tour-plans .p-top-tour-plans__gallery-slide::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    width: 100%;
    height: 100%;
    background: rgb(from var(--color-white) r g b / 0.4);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
  }

  .p-top-tour-plans .p-top-tour-plans__gallery-slide.is-dimmed::after {
    opacity: 1;
  }

  .p-top-tour-plans .c-tour-plan__img .p-top-tour-plans__gallery-image {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: none;
  }

  .p-top-tour-plans__gallery.p-top-tour-plans__gallery--reverse {
    transform: translateY(0);
  }

  .p-top-tour-plans__gallery-control {
    position: absolute;
    top: 50%;
    z-index: 4;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    padding: 0;
    border: 0;
    border-radius: var(--radius-full);
    background: rgb(from var(--color-white) r g b / 0.8);
    color: var(--color-primary);
    cursor: pointer;
    transform: translateY(-50%);
  }

  .p-top-tour-plans .p-top-tour-plans__gallery-control img {
    display: block;
    width: 8px;
    height: 13px;
    object-fit: contain;
  }

  .p-top-tour-plans__gallery-control--prev {
    left: 18px;
  }

  .p-top-tour-plans__gallery-control--next {
    right: 18px;
  }

  .p-top-tour-plans .c-btn--xs {
    order: 4;
    align-self: flex-end;
    height: 39px;
    min-height: 39px;
    margin-top: var(--space-24);
    padding-block: var(--space-8);
  }

  .p-top-tour-plans .c-tour-plan__subtitle {
    font-size: var(--font-size-base);
  }

  .p-top-tour-plans .c-tour-plan__name {
    font-size: var(--font-size-lg);
  }

  /* ==== Tour guide ==== */

  .p-top-tour-guide {
    padding: var(--space-56) 0 var(--space-40);
  }

  .p-top-tour-guide .c-section-heading__inner {
    gap: var(--space-16);
    padding-bottom: var(--space-24);
  }

  /* ==== Customer reviews ==== */

  .p-top-reviews {
    min-height: 462px;
    padding: var(--space-56) 0;
    overflow: hidden;
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("../../img/top/customer-reviews-bg-sp.webp");
    background-position: left center;
  }

  .p-top-reviews__heading {
    margin-bottom: var(--space-24);
  }

  .p-top-reviews__heading .c-section-heading__inner {
    padding-bottom: var(--space-24);
  }

  .p-top-reviews__en {
    display: none;
  }

  .p-top-reviews__slider {
    width: 100%;
  }

  .p-top-reviews__list {
    flex-direction: row;
    justify-content: flex-start;
    gap: var(--space-32);
    width: max-content;
    margin-left: calc(50% - var(--space-120));
    overflow: visible;
  }

  .p-top-reviews__clone {
    display: flex;
  }

  .p-top-reviews .c-voice-card {
    width: 240px;
    min-height: 197px;
  }

  .p-top-reviews .c-voice-card__header {
    min-height: 0;
  }

  .p-top-reviews__button-row {
    justify-content: center;
    margin-top: var(--space-24);
  }

  .p-top-reviews__button {
    width: 251px;
    min-height: 47px;
    padding: 12px var(--space-40);
    font-size: var(--font-size-sm);
  }

  .p-top-slider-control {
    position: absolute;
    top: 50%;
    z-index: 3;
    display: block;
    width: 32px;
    height: 32px;
    border: 1px solid var(--color-section-dark);
    border-radius: var(--radius-full);
    background: rgb(from var(--color-white) r g b / 0.9);
    transform: translateY(-50%);
    cursor: pointer;
  }

  .p-top-slider-control::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 12px;
    height: 15px;
    background: url("../../img/common/icon-slide-right.svg") center / contain no-repeat;
    transform: translate(-50%, -50%);
  }

  .p-top-slider-control--prev {
    left: -2px;
  }

  .p-top-slider-control--prev::before {
    background-image: url("../../img/common/icon-slide-left.svg");
  }

  .p-top-slider-control--next {
    right: -2px;
  }

  .p-top-column__slider .p-top-slider-control {
    top: 64px;
  }

  .p-top-column__slider .p-top-slider-control--prev {
    left: -8px;
  }

  .p-top-column__slider .p-top-slider-control--next {
    right: 18px;
  }

  /* ==== Model case ==== */

  .p-top-model-case__heading br {
    display: none;
  }

  .p-top-schedule__event p br {
    display: none;
  }

  .p-top-model-case {
    padding: var(--space-56) 0 var(--space-40);
  }

  .p-top-model-case__heading {
    align-items: center;
    gap: var(--space-16);
    margin-bottom: var(--space-24);
    text-align: center;
  }

  .p-top-model-case__heading h2 {
    font-size: var(--font-size-lg);
    text-align: center;
  }

  .p-top-model-case__heading p {
    font-size: var(--font-size-sm);
    line-height: var(--line-height-relaxed);
    text-align: center;
  }

  .p-top-model-case__heading br.u-sp-only {
    display: inline;
  }

  .p-top-schedule {
    width: 100%;
    margin-top: var(--space-24);
    border-radius: 24px;
    overflow: hidden;
  }

  .p-top-schedule--stay {
    margin-top: var(--space-24);
  }

  .p-top-schedule__title,
  .p-top-schedule--stay .p-top-schedule__title {
    justify-content: flex-start;
    width: auto;
    min-width: 0;
    min-height: 50px;
    padding: 12px var(--space-16);
    border-radius: 24px 24px 0 0;
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-bold);
  }

  .p-top-schedule__body {
    --p-top-schedule-connector-width: max(20px, calc((100vw - 48px) / 2 - 143.5px));
    min-width: 0;
    background: var(--color-cream);
    position: relative;
    height: auto;
    padding: 0;
    overflow: hidden;
  }

  .p-top-schedule--stay .p-top-schedule__body {
    height: auto;
  }

  .p-top-schedule__body::before {
    top: 40px;
    bottom: 0;
    left: 50%;
    width: 28px;
    height: auto;
    transform: translateX(-50%);
  }

  .p-top-schedule__line {
    right: auto;
    top: 37px;
    bottom: 16px;
    left: 50%;
    width: 5px;
    height: auto;
    transform: translateX(-50%);
  }

  .p-top-schedule__line::after {
    top: auto;
    right: auto;
    bottom: -8px;
    left: 50%;
    width: 24px;
    height: 24px;
    transform: translateX(-50%) rotate(90deg);
  }

  .p-top-schedule__day {
    display: flex;
    top: 16px;
    left: 50%;
    width: 42px;
    height: 42px;
    transform: translateX(-50%);
    font-size: var(--font-size-xs);
  }

  .p-top-schedule__day--two {
    top: 218px;
  }

  .p-top-schedule__events {
    position: relative;
    inset: auto;
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 0 0 var(--space-40);
  }

  .p-top-schedule .p-top-schedule__event,
  .p-top-schedule .p-top-schedule__event--top,
  .p-top-schedule .p-top-schedule__event--bottom,
  .p-top-schedule .p-top-schedule__event--wide {
    inset: auto;
    position: relative;
    flex: 0 0 auto;
    width: 120px;
  }

  .p-top-schedule__event h4 {
    width: 120px;
    font-size: var(--font-size-xs);
    line-height: var(--line-height-tight);
    white-space: normal;
  }

  .p-top-schedule__event p {
    width: 120px;
    margin-top: var(--space-8);
    font-size: var(--font-size-2xs);
    line-height: var(--line-height-snug-plus);
  }

  .p-top-schedule__body {
    --p-top-schedule-event-width: clamp(
      120px,
      calc(120px + (100vw - 375px) * 0.35),
      257px
    );
    --p-top-schedule-connector-width: max(
      20px,
      calc(
        (100vw - 48px) / 2 - 23.5px -
          var(--p-top-schedule-event-width)
      )
    );
  }

  .p-top-schedule .p-top-schedule__event,
  .p-top-schedule .p-top-schedule__event h4,
  .p-top-schedule .p-top-schedule__event p,
  .p-top-schedule .p-top-schedule__photos,
  .p-top-schedule .p-top-schedule__photos img,
  .p-top-schedule .p-top-schedule__event > img {
    width: var(--p-top-schedule-event-width);
  }

  .p-top-schedule .p-top-schedule__event h4 {
    font-size: clamp(
      var(--font-size-xs),
      calc(12.8px + (100vw - 375px) * 0.0082),
      16px
    );
  }

  .p-top-schedule .p-top-schedule__event p {
    font-size: clamp(
      var(--font-size-2xs),
      calc(10.24px + (100vw - 375px) * 0.0065),
      12.8px
    );
  }

  .p-top-schedule .p-top-schedule__photos img,
  .p-top-schedule .p-top-schedule__event > img {
    aspect-ratio: 120 / 74;
    object-fit: cover;
  }

  .p-top-schedule .p-top-schedule__event::after,
  .p-top-schedule .p-top-schedule__event--top::after,
  .p-top-schedule .p-top-schedule__event--bottom::after {
    right: calc(100% + 14px);
    bottom: auto;
    left: auto;
    top: 12px;
    width: var(--p-top-schedule-connector-width);
    height: 0;
    border-top: 1px dashed var(--color-section-dark);
    border-left: 0;
  }

  .p-top-schedule .p-top-schedule__event--top::after {
    right: auto;
    left: calc(-4px - var(--p-top-schedule-connector-width));
  }

  .p-top-schedule .p-top-schedule__event--bottom::after {
    right: calc(-4px - var(--p-top-schedule-connector-width));
    left: auto;
  }

  .p-top-schedule__event > img,
  .p-top-schedule__event--bottom > img {
    width: 120px;
    height: auto;
    margin: var(--space-8) 0 0;
    aspect-ratio: 120 / 74;
  }

  .p-top-schedule__photos {
    grid-template-columns: repeat(2, 1fr);
    display: flex;
    flex-direction: column;
    gap: 0;
    width: 120px;
    margin-top: var(--space-8);
  }

  .p-top-schedule__photos img {
    width: 120px;
    height: auto;
    aspect-ratio: 120 / 74;
  }

  .p-top-schedule__event--top .p-top-schedule__photos {
    margin-left: 0;
  }

  .p-top-schedule--day .p-top-schedule__event--arrival {
    margin: var(--space-72) auto 0 var(--space-16);
  }

  .p-top-schedule--day .p-top-schedule__event--arrival p {
    padding-left: 0;
  }

  .p-top-schedule--day .p-top-schedule__event--arrival::after,
  .p-top-schedule--stay .p-top-schedule__event--preparation::after,
  .p-top-schedule--stay .p-top-schedule__event--evening-walk::after,
  .p-top-schedule--stay .p-top-schedule__event--tour::after,
  .p-top-schedule--stay .p-top-schedule__event--return::after {
    right: calc(-4px - var(--p-top-schedule-connector-width));
    left: auto;
  }

  .p-top-schedule--day .p-top-schedule__event--port-walk {
    margin: -30px var(--space-16) 0 auto;
  }
  .p-top-schedule--day .p-top-schedule__event--port-walk p {
    padding-left: 0;
  }

  .p-top-schedule--day .p-top-schedule__event--port-walk::after,
  .p-top-schedule--day .p-top-schedule__event--sightseeing::after,
  .p-top-schedule--stay .p-top-schedule__event--arrival::after,
  .p-top-schedule--stay .p-top-schedule__event--stay::after,
  .p-top-schedule--stay .p-top-schedule__event--morning-walk::after,
  .p-top-schedule--stay .p-top-schedule__event--sightseeing::after {
    right: auto;
    left: calc(-4px - var(--p-top-schedule-connector-width));
  }

  .p-top-schedule--day .p-top-schedule__event--tour {
    margin: -88px auto 0 var(--space-16);
  }

  .p-top-schedule--day .p-top-schedule__event--sightseeing {
    margin: -183px var(--space-16) 0 auto;
  }
  .p-top-schedule--day .p-top-schedule__event--sightseeing p {
    padding-left: 0;
  }

  .p-top-schedule--day .p-top-schedule__event--return {
    margin: 0 auto 0 var(--space-16);
  }

  .p-top-schedule--stay .p-top-schedule__event--preparation {
    margin: var(--space-80) auto 0 var(--space-16);
  }

  .p-top-schedule--stay .p-top-schedule__event--arrival {
    margin: var(--space-4) var(--space-16) 0 auto;
  }

  .p-top-schedule--stay .p-top-schedule__event--evening-walk {
    margin: var(--space-8) auto 0 var(--space-16);
  }
  .p-top-schedule--stay .p-top-schedule__event--evening-walk p {
    white-space: wrap;
  }

  .p-top-schedule--stay .p-top-schedule__event--stay {
    margin: -111px var(--space-16) 0 auto;
  }

  .p-top-schedule--stay .p-top-schedule__event--morning-walk {
    margin: var(--space-64) var(--space-16) 0 auto;
  }
  .p-top-schedule--stay .p-top-schedule__event--morning-walk p {
    padding-left: 0;
  }

  .p-top-schedule--stay .p-top-schedule__event--tour {
    margin: -108px auto 0 var(--space-16);
  }

  .p-top-schedule--stay .p-top-schedule__event--sightseeing {
    margin: -170px var(--space-16) 0 auto;
  }
  .p-top-schedule--stay .p-top-schedule__event--sightseeing p {
    padding-left: 0;
  }

  .p-top-schedule--stay .p-top-schedule__event--return {
    margin: -31px auto 0 var(--space-16);
  }

  .p-top-model-case__link-row {
    margin-top: var(--space-24);
  }

  .p-top-model-case__link {
    width: 278px;
    padding-bottom: var(--space-8);
    font-size: var(--font-size-sm);
    line-height: var(--line-height-normal);
  }

  /* ==== Access ==== */

  .p-top-access__airport {
    min-width: 96px;
    min-height: 44px;
    padding: var(--space-8);
    font-size: var(--font-size-sm);
  }

  .p-top-access__ferry::before,
  .p-top-access__ferry::after {
    display: none;
  }

  .p-top-access__ferry img,
  .p-top-access__ferry-time,
  .p-top-access__ferry-schedule {
    position: static;
    width: auto;
  }

  .p-top-access {
    min-height: 1244px;
    padding: var(--space-56) 0;
  }

  /* 英語版はp-top-access__bodyを通常フローに戻すため、その実際の高さ分だけ
     .p-top-accessが自然に伸びるようoverflow:hiddenを解除する */
  html[lang="en-US"] .p-top-access {
    overflow: visible;
    min-height: 1298px;
  }

  .p-top-access__container {
    flex-direction: column;
    gap: var(--space-32);
    position: relative;
    display: block;
    min-height: 1112px;
  }

  .p-top-access__intro {
    order: 1;
    position: relative;
    z-index: auto;
    width: 100%;
  }

  /* .u-fade-in-up.is-inview は animation-fill-mode:both で transform:translateY(0) を
     ずっと保持し続け、それだけで新しいスタッキングコンテキストが生まれてしまう。結果、中の
     .c-section-heading__en（z-index:0）と.c-section-heading__inner（z-index:2、見出し＋リード文）が
     「intro」という1枚の層に閉じ込められ、.p-top-access__map（z-index:1）とはintro全体としてしか
     前後比較できなくなる。
     transform:noneを直接指定してもCSSアニメーションが優先されて上書きされ効かないため、
     animation自体を止める（opacityも合わせて1で確定させる）ことでtransformの発生源を断つ。
     英語版は文言が長く地図と重なりやすいためこの対応が必要。 */
  html[lang="en-US"] .p-top-access__intro {
    animation: none;
    opacity: 1;
    transform: none;
  }

  .p-top-access__intro .c-section-heading__en {
    z-index: 0;
  }

  .p-top-access__intro .c-section-heading__inner {
    z-index: 2;
    gap: var(--space-16);
  }

  .p-top-access__intro .c-section-heading__lead {
    font-size: var(--font-size-sm);
  }

  .p-top-access__intro .c-section-heading__lead br {
    display: inline;
  }

  .p-top-access__map {
    content: url("../../img/top/access-map-sp.webp");
    order: 2;
    margin-top: 0;
    position: absolute;
    top: 24px;
    left: calc(var(--container-padding) + (100vw - 375px) / 2);
    z-index: 1;
    width: 375px;
    height: 410px;
    margin: 0;
    object-fit: contain;
  }

  .p-top-access__body {
    order: 3;
    position: absolute;
    top: 432px;
    right: 24px;
    left: 24px;
    z-index: 1;
    display: flex;
    gap: 0;
    width: auto;
  }

  .p-top-access__transport {
    flex-direction: column;
    display: grid;
    grid-template-columns: minmax(220px, 1fr) 32px 42px 32px;
    gap: 0;
    width: 100%;
    margin-bottom: var(--space-24);
  }

  .p-top-access__air-routes {
    flex-direction: column;
    display: grid;
    grid-template-rows: 133px 88px 105px 105px 133px;
    gap: var(--space-16);
    width: calc(100% + 15px);
  }

  /* 英語版は行内の文言（空港名・所要時間表記）が日本語より長く固定pxの行高に収まらないため、
     各行の内容量に応じた高さに広がるようにする */
  html[lang="en-US"] .p-top-access__air-routes {
    grid-template-rows: repeat(5, auto);
  }

  .p-top-access__route-group {
    gap: 12px;
    justify-content: flex-start;
    padding: 12px 0 12px var(--space-8);
    border-radius: 8px 0 0 8px;
  }

  .p-top-access__route-heading {
    padding-left: 0;
    padding: 0;
    font-size: var(--font-size-base);
    line-height: var(--line-height-snug);
  }

  .p-top-access__route {
    width: 100%;
    margin-left: 0;
    min-height: 33px;
  }

  .p-top-access__route::before {
    left: 76px;
    height: 3px;
  }

  .p-top-access__airport,
  .p-top-access__airport--wide {
    width: 76px;
    min-width: 76px;
    min-height: 33px;
    padding: var(--space-8);
    font-size: var(--font-size-sm);
    line-height: var(--line-height-snug);
    letter-spacing: var(--letter-spacing-base);
    white-space: normal;
  }

  .p-top-access__airport--wide {
    min-width: 76px;
    min-height: 50px;
    text-align: center;
  }

  .p-top-access__flight {
    bottom: calc(50% + 4px);
    right: 8px;
    left: 86px;
    justify-content: flex-start;
    width: auto;
    gap: 4px;
    font-size: var(--font-size-xs);
    line-height: var(--line-height-snug-plus);
    letter-spacing: var(--letter-spacing-base);
  }

  .p-top-access__flight img {
    width: 37px;
  }

  .p-top-access__flight strong {
    font-size: var(--font-size-xs);
  }

  .p-top-access__island {
    text-align: center;
    width: 32px;
    height: 100%;
    padding: var(--space-8) 0;
    border-radius: 4px;
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-bold);
    writing-mode: vertical-rl;
  }

  .p-top-access__island strong {
    position: static;
    writing-mode: vertical-rl;
  }

  .p-top-access__ferry {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    display: block;
    width: 42px;
    min-height: 0;
    height: 100%;
    padding: 0;
  }

  .p-top-access__ferry::before {
    display: block;
    top: calc(50% - 3px);
    height: 3px;
  }

  .p-top-access__ferry img {
    position: static;
    width: 28px;
    transform: none;
  }

  .p-top-access__ferry-summary {
    position: absolute;
    bottom: calc(50% + 16px);
    left: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-8);
    transform: translateX(-50%);
  }

  html[lang="en-US"] .p-top-access__ferry-summary {
    bottom: calc(50% + 8px);
  }

  .p-top-access__ferry-time {
    position: static;
    top: auto;
    display: block;
    width: auto;
    font-size: var(--font-size-sm);
    letter-spacing: var(--letter-spacing-lg);
    writing-mode: vertical-rl;
    text-orientation: upright;
    transform: none;
  }

  .p-top-access__ferry-time span {
    display: inline;
  }

  .p-top-access__ferry-time span + span {
    margin-inline-start: 4px;
  }

  .p-top-access__ferry-schedule {
    position: absolute;
    top: calc(50% + 8px);
    left: 50%;
    display: block;
    width: auto;
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-bold);
    letter-spacing: var(--letter-spacing-lg);
    writing-mode: vertical-rl;
    text-orientation: upright;
    transform: translateX(-50%);
  }

  /* ==== 英語版：フェリー時刻/スケジュールの縦書きを横書きに戻す ====
     石垣島/竹富島バッジ（.p-top-access__island）は対応対象外（縦書きのまま）。
     フェリー列（.p-top-access__ferry）だけ日本語の短い文言（約15分等）を前提にした
     42px固定幅のため、英語では列幅を広げる。 */
  html[lang="en-US"] .p-top-access__transport {
    grid-template-columns: minmax(190px, 1fr) 32px 76px 32px;
  }

  html[lang="en-US"] .p-top-access__ferry {
    width: 76px;
  }

  html[lang="en-US"] .p-top-access__ferry-time {
    width: 76px;
    writing-mode: horizontal-tb;
    text-orientation: initial;
    font-size: var(--font-size-2xs);
    line-height: var(--line-height-snug);
    letter-spacing: var(--letter-spacing-none);
    text-align: center;
  }

  html[lang="en-US"] .p-top-access__ferry-time span {
    display: block;
  }

  html[lang="en-US"] .p-top-access__ferry-time span + span {
    margin-inline-start: 0;
  }

  /* position/left/transformは元のルールのまま（中央揃えの絶対配置）を維持し、
     文字方向・サイズだけ英語版に差し替える */
  html[lang="en-US"] .p-top-access__ferry-schedule {
    width: 76px;
    writing-mode: horizontal-tb;
    text-orientation: initial;
    font-size: var(--font-size-2xs);
    line-height: var(--line-height-snug);
    letter-spacing: var(--letter-spacing-none);
    white-space: normal;
    text-align: center;
  }

  /* 縦書き列の区切りとして使われていたspanが、横書きでは間隔なく連結されてしまうため
     ブロック化して行ごとに積む（.p-top-access__ferry-timeと同じ対処） */
  html[lang="en-US"] .p-top-access__ferry-schedule span {
    display: block;
  }

  .p-top-access__button {
    padding-inline: var(--space-24);
    width: 100%;
    min-width: 0;
    min-height: 47px;
    padding: 12px var(--space-24);
    font-size: var(--font-size-sm);
    white-space: nowrap;
  }

  /* ==== FAQ ==== */

  .p-top-faq .c-faq {
    gap: var(--space-40);
  }

  .p-top-faq {
    padding: var(--space-56) 0 var(--space-40);
  }

  .p-top-faq .c-faq,
  .p-top-faq .c-faq__body {
    gap: var(--space-32);
  }

  .p-top-faq .c-line-link {
    font-size: var(--font-size-sm);
    line-height: var(--line-height-normal);
  }

  .p-top-list-button {
    width: 240px;
    height: 47px;
    min-height: 47px;
    padding-block: var(--space-8);
  }

  /* ==== Column ==== */

  .p-top-column {
    padding: var(--space-56) 0 var(--space-40);
    overflow: hidden;
    background: var(--color-white);
  }

  .p-top-column .c-section-heading {
    margin-bottom: var(--space-40);
  }

  .p-top-column__slider {
    width: calc(100% + var(--container-padding));
  }

  .p-top-column .c-column-card-list {
    display: flex;
    gap: var(--space-16);
    width: max-content;
  }

  .p-top-column .c-column-card {
    flex: 0 0 180px;
    width: 180px;
    gap: var(--space-8);
  }

  .p-top-column .c-column-card__image {
    width: 180px;
    height: 127px;
  }

  .p-top-column .c-column-card__body {
    gap: var(--space-8);
  }

  .p-top-column .c-column-card__title {
    font-size: var(--font-size-base);
    line-height: var(--line-height-normal);
  }

  .p-top-column .c-column-card__excerpt {
    display: block;
    margin-top: 0;
  }

  .p-top-column .c-column-card__text {
    font-size: var(--font-size-sm);
    line-height: var(--line-height-relaxed);
  }

  .p-top-column .c-column-card__more {
    font-size: var(--font-size-2xs);
    line-height: var(--line-height-snug);
  }

  .p-top-column .c-column-card__tag {
    font-size: var(--font-size-2xs);
    line-height: var(--line-height-normal);
  }

  .p-top-column__button-row {
    justify-content: center;
    margin-top: var(--space-40);
  }

  /* ==== Divider video ==== */

  .p-top-divider__video {
    object-position: center;
  }

  .p-top-divider {
    aspect-ratio: auto;
    height: 480px;
  }

  /* ==== Instagram ==== */

  .p-top-instagram {
    padding: var(--space-56) 0 var(--space-40);
  }

  .p-top-instagram .l-container {
    position: relative;
  }

  .p-top-instagram__title {
    font-size: var(--font-size-lg);
  }

  .p-top-instagram__viewport {
    width: calc(100% + var(--container-padding));
    margin-top: var(--space-32);
  }

  .p-top-instagram__item {
    flex-basis: min(255px, 76vw);
    flex: 0 0 128px;
    width: 128px;
    height: 180px;
    aspect-ratio: auto;
  }

  .p-top-instagram__controls {
    position: absolute;
    top: 170px;
    right: auto;
    left: 0;
    z-index: 2;
    justify-content: space-between;
    width: 100%;
    padding-inline: var(--container-padding);
    margin-top: 0;
    pointer-events: none;
  }

  .p-top-instagram__control {
    width: 32px;
    height: 32px;
    border-color: var(--color-section-dark);
    background: rgb(from var(--color-white) r g b / 0.8);
    pointer-events: auto;
  }

  .p-top-instagram__control img {
    filter: none;
  }

  .p-top-instagram__control--prev {
    transform: translateX(-8px);
  }

  .p-top-instagram__control--next {
    transform: translateX(8px);
  }

  /* ==== Flow ==== */

  .p-top-flow .c-flow__card,
  .p-top-flow .c-flow__item:last-child .c-flow__card {
    min-height: 0;
  }

  .p-top-flow {
    padding: var(--space-56) 0 var(--space-40);
  }

  .p-top-flow .c-flow--usage {
    gap: var(--space-32);
  }

  .p-top-flow .c-flow__list,
  .p-top-flow .c-flow__item {
    gap: 0;
  }

  .p-top-flow .c-flow__item {
    min-height: 132px;
  }

  .p-top-flow .c-flow__item:last-child {
    min-height: 177px;
  }

  .p-top-flow .c-flow__card {
    flex-direction: row;
    min-height: 108px;
  }

  .p-top-flow .c-flow__step-badge {
    width: 38px;
    height: 38px;
    font-size: var(--font-size-base);
  }

  .p-top-flow .c-flow--usage .c-flow__card-left {
    gap: var(--space-8);
  }

  .p-top-flow .c-flow__step-body {
    line-height: var(--line-height-normal);
  }

  .p-top-flow .c-flow__item:last-child .c-flow__step-body {
    font-size: var(--font-size-sm);
    line-height: var(--line-height-normal);
  }

  /* ==== CTA ==== */

  .p-top-cta {
    min-height: 335px;
  }

  .p-top-cta__container {
    gap: var(--space-40);
    padding-top: var(--space-64);
    padding-bottom: var(--space-64);
  }

  .p-top-cta__copy {
    gap: var(--space-16);
  }

  .p-top-cta__title {
    font-size: var(--font-size-md);
    letter-spacing: var(--letter-spacing-lg);
  }

  .p-top-cta__lead {
    font-size: var(--font-size-sm);
  }

  .p-top-cta__button {
    max-width: 278px;
    width: 228px;
    min-height: 47px;
    padding: 12px var(--space-32);
    font-size: var(--font-size-sm);
  }
}
