@charset "utf-8";

/* ========================================
  Base
======================================== */
.trip-feature {
  color: #222;
  background: #d8dfe1;
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 400;
  line-height: 1.9;
  letter-spacing: 0.03em;
  padding-bottom: 100px;
}

.trip-feature * {
  box-sizing: border-box;
}

.trip-feature img {
  display: block;
  width: 100%;
  height: auto;
}

/* ========================================
  Image Fade-in
======================================== */
.trip-feature img.js-fade {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.trip-feature img.js-fade.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.trip-feature a {
  color: inherit;
  text-decoration: none;
}

.trip-inner {
  width: min(100%, 1120px);
  margin: 0 auto;
  padding: 0 24px;
}

/* ========================================
  Main Visual
======================================== */
.trip-mv {
    position: relative;
    padding-top: 104px;
    margin-bottom: 72px;
}

.trip-mv__image img {
    width: 100%;
    max-width: 1000px;
    aspect-ratio: 16 / 8.8;
    object-fit: cover;
    margin: auto;
}
.trip-mv__text {
  position: absolute;
  left: 50%;
  bottom: 8%;
  transform: translateX(-50%);
  width: min(100%, 1120px);
  padding: 0 24px;
}

.trip-mv__title {
  max-width: 620px;
  margin: 0;
  color: #fff;
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0.06em;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
}

.trip-mv__hand {
  position: absolute;
  right: 6%;
  bottom: -8px;
  font-family: "Caveat", cursive;
  font-size: 24px;
  line-height: 1;
  color: rgba(255, 255, 255, 0.92);
  transform: rotate(-5deg);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.14);
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.trip-mv__image img {
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 1.2s ease, transform 1.2s ease;
}
.trip-mv__image img.is-mv-ready {
  opacity: 1;
  transform: scale(1);
}
/* ========================================
  Intro
======================================== */
.trip-intro {
  margin-bottom: 88px;
}

.trip-intro__body {
  max-width: 520px;
  margin: 0 auto;
}

.trip-intro__eyebrow {
  margin: 0 0 12px;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #8a8070;
}

.trip-intro__rule {
  width: 28px;
  height: 1px;
  background: #b0a882;
  margin-bottom: 20px;
}

.trip-intro__body p {
  margin: 0;
  font-size: 15px;
  line-height: 2.05;
  color: #555;
}

.trip-intro__body p + p {
  margin-top: 1.4em;
}

/* ========================================
  Index
======================================== */
.trip-index {
  margin-bottom: 96px;
}

.trip-index__eyebrow {
  margin: 0 0 28px;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #aaa;
}

.trip-index__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin: 0;
  padding: 0;
}

.trip-index__item {
  list-style: none;
}

.trip-index__link {
  display: block;
  position: relative;
  padding: 24px 22px 28px;
  background: #fff;
  overflow: hidden;
  transition: background 0.25s ease;
}

.trip-index__link::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: #a89a7a;
  opacity: 0;
  transition: opacity 0.25s ease;
}

/* hover */
.trip-index__link:hover {
  background: #f7f5f0;
}

.trip-index__link:hover::before {
  opacity: 1;
}

.trip-index__link:hover .trip-index__arrow {
  opacity: 1;
  transform: translateX(0);
}

/* Number + Label row */
.trip-index__meta {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 12px;
}

.trip-index__num {
  font-family: "Josefin Sans", "Caveat", serif;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: #b0a882;
  line-height: 1;
}

.trip-index__slash {
  font-size: 10px;
  color: #ccc;
  line-height: 1;
}

/* Chapter label */
.trip-index__chapter {
  display: block;
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #bbb;
  line-height: 1;
}

/* Title */
.trip-index__title {
  display: block;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.75;
  color: #2a2a2a;
}

/* Arrow */
.trip-index__arrow {
  display: block;
  margin-top: 14px;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: #b0a882;
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

@media screen and (min-width: 768px) {
  .trip-index__link {
    padding: 16px 18px 20px;
  }

  .trip-index__meta {
    margin-bottom: 6px;  /* 12px → 6px */
  }
}
@media screen and (max-width: 767px) {
  .trip-index__list {
    grid-template-columns: repeat(2, 1fr);
    gap: 2px;
  }

  .trip-index__link {
    padding: 18px 16px 22px;
  }

  .trip-index__title {
    font-size: 13px;
    line-height: 1.7;
  }

  .trip-index__arrow {
    display: none;
  }
}

/* ========================================
  Chapter
======================================== */
.trip-chapter {
  margin-bottom: 120px;
}

.trip-chapter__header {
  margin-bottom: 34px;
  padding-left: 20px;
  border-left: 2px solid #b0a882;
}

.trip-chapter__label {
  margin: 0 0 8px;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #b0a882;
}

.trip-chapter__title {
  margin: 0;
  font-size: clamp(24px, 2vw, 36px);
  line-height: 1.4;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #1a1a1a;
}

.trip-chapter__lead {
  margin: 12px 0 0;
  font-size: 15px;
  font-weight: 300;
  font-style: italic;
  line-height: 1.75;
  letter-spacing: 0.05em;
  color: #8a8070;
}

.trip-chapter__body {
  max-width: 760px;
  margin-bottom: 42px;
}

.trip-chapter__body p {
  margin: 0;
  font-size: 14px;
  line-height: 2.1;
  color: #555;
}

.trip-chapter__body p + p {
  margin-top: 1.4em;
}

/* ========================================
  Items
======================================== */
.trip-items {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 42px 28px;
  margin: 0;
  padding: 0;
}

.trip-item {
  list-style: none;
}

.trip-item__link {
  display: block;
}

.trip-item__images {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  background: #f7f7f7;
  margin-bottom: 14px;
}

.trip-item__image {
  margin: 0;
}

.trip-item__image img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.trip-item__image--main {
  position: relative;
  z-index: 1;
}

.trip-item__image--sub {
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: 0;
  transition: opacity 0s ease;
}

.trip-item__link:hover .trip-item__image--sub {
  opacity: 1;
}

/* 自動スライド用 */
.trip-item__images.is-slide-active .trip-item__image--sub {
  opacity: 1;
}

.trip-item__text {
  padding: 0 2px;
}

.trip-item__comment {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.7;
  color: #222;
}

.trip-item__credit {
  margin: 6px 0 0;
  font-size: 11px;
  font-weight: 400;
  line-height: 1.65;
  letter-spacing: 0.04em;
  color: #777;
}

/* ========================================
  Tape Label
======================================== */
.trip-item__tape {
    position: absolute;
    z-index: 10;
    padding: 6px 20px;
    background: #d8dfe1;
    color: #f45353;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: 0.08em;
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s ease;
    /* box-shadow: 2px 2px 6px rgba(0,0,0,0.18); */
}
.trip-item__tape.is-visible {
  opacity: 1;
}

/* 位置バリエーション */
.trip-item__tape--tl {
  top: 14%;
  left: -6px;
  transform: rotate(-5deg);
}
.trip-item__tape--tr {
  top: 12%;
  right: -6px;
  transform: rotate(4deg);
}
.trip-item__tape--bl {
  bottom: 14%;
  left: -6px;
  transform: rotate(3deg);
}
.trip-item__tape--br {
  bottom: 16%;
  right: -6px;
  transform: rotate(-4deg);
}
.trip-item__tape--ml {
  top: 44%;
  left: -6px;
  transform: rotate(-3deg);
}
.trip-item__tape--mr {
  top: 46%;
  right: -6px;
  transform: rotate(5deg);
}


@media screen and (max-width: 767px) {

.trip-item__tape {
    font-size: 10px;
}
}



/* ========================================
  Responsive
======================================== */
@media screen and (max-width: 1024px) {
  .trip-index__list {
    grid-template-columns: repeat(2, 1fr);
  }

  .trip-items {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 767px) {
  .trip-inner {
    padding: 0 16px;
  }

  .trip-mv {
    margin-bottom: 48px;
  }

  .trip-mv__image img {
    aspect-ratio: 4 / 5;
  }

  .trip-mv__text {
    bottom: 7%;
    padding: 0 16px;
  }

  .trip-mv__title {
    max-width: 100%;
    font-size: 28px;
    line-height: 1.45;
  }

  .trip-mv__hand {
    right: 4%;
    bottom: -4px;
    font-size: 20px;
  }

  .trip-intro {
    margin-bottom: 64px;
  }

  .trip-index {
    margin-bottom: 72px;
  }

  .trip-index__list {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 14px;
  }

  .trip-index__thumb {
    margin-bottom: 10px;
    border-radius: 10px;
  }

  .trip-index__title {
    font-size: 13px;
    line-height: 1.6;
  }

  .trip-chapter {
    margin-bottom: 80px;
  }

  .trip-chapter__header {
    margin-bottom: 26px;
    padding-left: 14px;
  }

  .trip-chapter__title {
    font-size: 24px;
    line-height: 1.55;
  }

  .trip-chapter__lead {
    margin-top: 10px;
    font-size: 15px;
  }

  .trip-chapter__body {
    margin-bottom: 30px;
  }

  .trip-chapter__body p,
  .trip-intro__body p {
    font-size: 13px;
    line-height: 2.05;
  }

  .trip-items {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px 14px;
  }

  .trip-item__images {
    margin-bottom: 10px;
    border-radius: 10px;
  }

  .trip-item__comment {
    font-size: 13px;
    line-height: 1.65;
  }

  .trip-item__credit {
    margin-top: 5px;
    font-size: 10px;
  }

  .trip-item__link:hover .trip-item__image--sub {
    opacity: 0;
  }
}