/* EduAbroad — Japan Trip page styles */
/* Scoped to .japan-trip-page. Header/footer come from the theme. */

.japan-trip-page *, .japan-trip-page *::before, .japan-trip-page *::after { box-sizing: border-box; margin: 0; padding: 0; }
.japan-trip-page img { max-width: 100%; display: block; }
.japan-trip-page {
  --header-bg: #3d4f5f;
  --teal: #2edcc5;
  --teal-dark: #25c4af;
  --text-heading: #2c2c2c;
  --text-body: #888;
  --text-body-dark: #666;
  --white: #fff;
  --offwhite: #f7f7f7;
  --font-heading: "Cormorant Garamond", Georgia, serif;
  --font-body: "Lora", Georgia, serif;
  --font-jp: "Noto Serif JP", serif;
}
.japan-trip-page {
  font-family: var(--font-body);
  color: var(--text-body);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
.japan-trip-page .mobile-close {
  background: none;
  border: none;
  color: var(--white);
  font-size: 32px;
  cursor: pointer;
  font-weight: 300;
  padding: 8px;
}
.japan-trip-page .hero {
  position: relative;
  height: 88vh;
  min-height: 560px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}
.japan-trip-page .hero-img {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
.japan-trip-page .hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(40, 56, 69, 0.38) 0%, rgba(30, 44, 56, 0.55) 100%);
}
.japan-trip-page .hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 0 32px;
}
.japan-trip-page .hero-content h1 {
  font-family: var(--font-heading);
  font-size: clamp(38px, 5.5vw, 64px);
  font-weight: 400;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 28px;
}
.japan-trip-page .hero-content p {
  font-family: var(--font-body);
  font-size: clamp(16px, 2vw, 19px);
  color: rgba(255,255,255,0.85);
  line-height: 1.75;
  max-width: 640px;
  margin: 0 auto;
}
.japan-trip-page .btn-teal {
  display: inline-block;
  margin-top: 28px;
  padding: 14px 36px;
  background: var(--teal);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.25s;
}
.japan-trip-page .btn-teal:hover { background: var(--teal-dark); }
.japan-trip-page .section-centered {
  padding: 80px 48px;
  text-align: center;
}
.japan-trip-page .section-centered h2 {
  font-family: var(--font-heading);
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 400;
  color: var(--text-heading);
  margin-bottom: 12px;
}
.japan-trip-page .section-centered > p {
  font-size: 15.5px;
  line-height: 1.85;
  color: var(--text-body);
  max-width: 620px;
  margin: 0 auto 48px;
}
.japan-trip-page .intro-block {
  max-width: 760px;
  margin: 0 auto;
  padding: 88px 32px 84px;
  text-align: center;
}
.japan-trip-page .intro-block h2 {
  font-family: var(--font-heading);
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 400;
  color: var(--text-heading);
  line-height: 1.25;
}
.japan-trip-page .intro-block .rule {
  width: 52px;
  height: 2px;
  background: var(--teal);
  margin: 24px auto 28px;
}
.japan-trip-page .intro-block p {
  font-size: 16px;
  line-height: 1.9;
  color: var(--text-body);
}
.japan-trip-page .intro-block .btn-teal { margin-top: 34px; }
.japan-trip-page .experience {
  padding: 88px 48px 96px;
  background: var(--offwhite);
}
.japan-trip-page .exp-head {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}
.japan-trip-page .exp-head h2 {
  font-family: var(--font-heading);
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 400;
  color: var(--text-heading);
}
.japan-trip-page .exp-head .rule {
  width: 52px;
  height: 2px;
  background: var(--teal);
  margin: 22px auto 24px;
}
.japan-trip-page .exp-head p {
  font-size: 16px;
  line-height: 1.85;
  color: var(--text-body);
}
.japan-trip-page .sub-label {
  display: flex;
  align-items: center;
  gap: 18px;
  max-width: 1060px;
  margin: 60px auto 24px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--teal-dark);
}
.japan-trip-page .sub-label::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(0,0,0,0.1);
}
.japan-trip-page .city-stack {
  display: grid;
  gap: 26px;
  max-width: 1060px;
  margin: 0 auto;
}
.japan-trip-page .city-feature {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  overflow: hidden;
  border-radius: 2px;
}
.japan-trip-page .cf-media { position: relative; min-height: 380px; }
.japan-trip-page .cf-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.japan-trip-page .cf-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.japan-trip-page .cf-placeholder svg { width: 38px; height: 38px; opacity: 0.75; }
.japan-trip-page .cf-placeholder span {
  font-family: var(--font-body);
  font-size: 11.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.japan-trip-page .cf-text { position: relative; padding: 50px 52px 48px; }
.japan-trip-page .cf-kanji {
  position: absolute;
  top: 16px;
  right: 24px;
  font-family: var(--font-jp);
  font-size: 108px;
  line-height: 1;
  pointer-events: none;
  user-select: none;
}
.japan-trip-page .cf-eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.japan-trip-page .cf-text h4 {
  position: relative;
  font-family: var(--font-heading);
  font-size: 34px;
  font-weight: 500;
  margin-bottom: 14px;
}
.japan-trip-page .cf-text > p {
  position: relative;
  font-size: 14.5px;
  line-height: 1.85;
  margin-bottom: 24px;
}
.japan-trip-page .cf-list {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 11px 24px;
}
.japan-trip-page .cf-list li {
  position: relative;
  padding-left: 18px;
  font-size: 13.5px;
  line-height: 1.5;
}
.japan-trip-page .cf-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 7px;
  height: 7px;
}
.japan-trip-page .city-tokyo {
  background: linear-gradient(135deg, #2c3e4f 0%, #1c2a36 100%);
  border-top: 3px solid var(--teal);
}
.japan-trip-page .city-tokyo .cf-eyebrow { color: var(--teal); }
.japan-trip-page .city-tokyo .cf-kanji { color: rgba(46, 220, 197, 0.08); }
.japan-trip-page .city-tokyo .cf-text h4 { color: #fff; }
.japan-trip-page .city-tokyo .cf-text > p { color: rgba(255,255,255,0.72); }
.japan-trip-page .city-tokyo .cf-list li { color: rgba(255,255,255,0.86); }
.japan-trip-page .city-tokyo .cf-list li::before { background: var(--teal); }
.japan-trip-page .city-tokyo .cf-placeholder { background: rgba(255,255,255,0.05); color: rgba(255,255,255,0.42); }
.japan-trip-page .city-kyoto {
  grid-template-columns: 1.15fr 1fr;
  background: #f9f3e9;
  border-top: 3px solid #a8432f;
}
.japan-trip-page .city-kyoto .cf-text { order: 1; }
.japan-trip-page .city-kyoto .cf-media { order: 2; }
.japan-trip-page .city-kyoto .cf-eyebrow { color: #a8432f; }
.japan-trip-page .city-kyoto .cf-kanji { color: rgba(168, 67, 47, 0.1); }
.japan-trip-page .city-kyoto .cf-text h4 { color: var(--text-heading); }
.japan-trip-page .city-kyoto .cf-text > p { color: var(--text-body); }
.japan-trip-page .city-kyoto .cf-list li { color: #514a43; }
.japan-trip-page .city-kyoto .cf-list li::before { background: #a8432f; }
.japan-trip-page .city-kyoto .cf-placeholder { background: rgba(168, 67, 47, 0.06); color: rgba(120, 84, 60, 0.6); }
.japan-trip-page .highlight-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1060px;
  margin: 0 auto;
}
.japan-trip-page .highlight-card {
  background: var(--white);
  padding: 34px 26px 30px;
  text-align: center;
  transition: transform 0.25s, box-shadow 0.25s;
}
.japan-trip-page .highlight-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(0,0,0,0.07);
}
.japan-trip-page .hl-icon {
  width: 54px;
  height: 54px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(46, 220, 197, 0.1);
  color: var(--teal-dark);
}
.japan-trip-page .hl-icon svg { width: 27px; height: 27px; }
.japan-trip-page .highlight-card h4 {
  font-family: var(--font-heading);
  font-size: 19px;
  font-weight: 500;
  color: var(--text-heading);
  margin-bottom: 10px;
}
.japan-trip-page .highlight-card p {
  font-size: 13px;
  line-height: 1.75;
  color: var(--text-body);
}
.japan-trip-page .specialty {
  background: linear-gradient(135deg, #3a4f61 0%, #283845 100%);
  padding: 88px 48px;
}
.japan-trip-page .specialty-inner {
  max-width: 1060px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.japan-trip-page .specialty-eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 18px;
}
.japan-trip-page .specialty-text h2 {
  font-family: var(--font-heading);
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 400;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 22px;
}
.japan-trip-page .specialty-text p {
  font-size: 15px;
  line-height: 1.9;
  color: rgba(255,255,255,0.72);
  margin-bottom: 16px;
}
.japan-trip-page .specialty-text strong { color: #fff; font-weight: 600; }
.japan-trip-page .specialty-points {
  list-style: none;
  margin: 26px 0 10px;
  padding: 0;
}
.japan-trip-page .specialty-points li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 13px;
  font-size: 14px;
  line-height: 1.55;
  color: rgba(255,255,255,0.88);
}
.japan-trip-page .specialty-points li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 1px;
  width: 19px;
  height: 19px;
  line-height: 19px;
  text-align: center;
  border-radius: 50%;
  background: rgba(46, 220, 197, 0.16);
  color: var(--teal);
  font-size: 11px;
  font-weight: 700;
}
.japan-trip-page .specialty-media { width: 100%; }
.japan-trip-page .specialty-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 2px;
}
.japan-trip-page .img-placeholder {
  width: 100%;
  aspect-ratio: 4 / 3;
  border: 1px dashed rgba(255,255,255,0.22);
  border-radius: 2px;
  background: rgba(255,255,255,0.04);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: rgba(255,255,255,0.42);
}
.japan-trip-page .img-placeholder svg { width: 38px; height: 38px; opacity: 0.7; }
.japan-trip-page .img-placeholder span {
  font-family: var(--font-body);
  font-size: 11.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.japan-trip-page .photo-carousel {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 2px;
}
.japan-trip-page .cf-media .photo-carousel {
  position: absolute;
  inset: 0;
  aspect-ratio: auto;
  border-radius: 0;
}
.japan-trip-page .sc-track {
  display: flex;
  height: 100%;
  transition: transform 0.45s ease;
}
.japan-trip-page .photo-carousel .sc-track img {
  position: static;
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: auto;
  border-radius: 0;
}
.japan-trip-page .sc-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: rgba(20, 30, 38, 0.55);
  color: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-bottom: 3px;
  transition: background 0.2s;
}
.japan-trip-page .sc-arrow:hover { background: rgba(20, 30, 38, 0.8); }
.japan-trip-page .sc-prev { left: 12px; }
.japan-trip-page .sc-next { right: 12px; }
.japan-trip-page .sc-dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}
.japan-trip-page .sc-dot {
  width: 9px;
  height: 9px;
  border: none;
  border-radius: 50%;
  background: rgba(255,255,255,0.45);
  cursor: pointer;
  padding: 0;
  transition: background 0.2s;
}
.japan-trip-page .sc-dot.active { background: var(--teal); }
.japan-trip-page .includes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
  max-width: 900px;
  margin: 0 auto;
  text-align: left;
}
.japan-trip-page .includes-item {
  padding: 18px 20px;
  background: var(--offwhite);
  font-size: 14px;
  color: var(--text-body-dark);
  border-left: 3px solid var(--teal);
}
.japan-trip-page .gallery-section {
  padding: 80px 48px;
  background: var(--offwhite);
}
.japan-trip-page .gallery-section h2 {
  font-family: var(--font-heading);
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 400;
  color: var(--text-heading);
  text-align: center;
  margin-bottom: 12px;
}
.japan-trip-page .gallery-section > p {
  font-size: 15px;
  color: var(--text-body);
  text-align: center;
  margin-bottom: 48px;
}
.japan-trip-page .gallery-scroll {
  max-width: 1060px;
  margin: 0 auto;
  max-height: 520px;
  overflow-y: auto;
  padding-right: 8px;
  scrollbar-width: thin;
  scrollbar-color: rgba(0,0,0,0.25) transparent;
  -webkit-overflow-scrolling: touch;
}
.japan-trip-page .gallery-scroll::-webkit-scrollbar { width: 8px; }
.japan-trip-page .gallery-scroll::-webkit-scrollbar-thumb { background: rgba(0,0,0,0.22); border-radius: 4px; }
.japan-trip-page .gallery-scroll::-webkit-scrollbar-track { background: transparent; }
.japan-trip-page .gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.japan-trip-page .gallery-item {
  aspect-ratio: 4/3;
  background: #ddd;
  overflow: hidden;
  position: relative;
}
.japan-trip-page .gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.japan-trip-page .gallery-fade {
  max-width: 1060px;
  margin: -52px auto 0;
  height: 52px;
  position: relative;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(255,255,255,0), var(--white));
}
.japan-trip-page .cta-banner {
  background: var(--white);
  padding: 72px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.japan-trip-page .cta-banner h2 {
  font-family: var(--font-heading);
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 400;
  color: var(--text-heading);
  line-height: 1.3;
}
.japan-trip-page .cta-banner p {
  font-size: 15px;
  color: var(--text-body);
  margin-top: 8px;
}
@media (max-width: 860px) {
  .japan-trip-page .section-centered, .japan-trip-page .gallery-section { padding: 56px 24px; }
  .japan-trip-page .cta-banner { flex-direction: column; text-align: center; padding: 56px 24px; }
  .japan-trip-page .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .japan-trip-page .experience { padding: 64px 24px 76px; }
  .japan-trip-page .city-feature { grid-template-columns: 1fr; }
  .japan-trip-page .city-feature .cf-media { order: -1; min-height: 260px; }
  .japan-trip-page .cf-text { padding: 38px 28px 40px; }
  .japan-trip-page .cf-kanji { font-size: 80px; }
  .japan-trip-page .highlight-grid { grid-template-columns: repeat(2, 1fr); }
  .japan-trip-page .specialty { padding: 60px 24px; }
  .japan-trip-page .specialty-inner { grid-template-columns: 1fr; gap: 34px; }
}
@media (max-width: 480px) {
  .japan-trip-page .hero { height: 70vh; min-height: 440px; }
  .japan-trip-page .highlight-grid { grid-template-columns: 1fr; }
  .japan-trip-page .cf-list { grid-template-columns: 1fr; }
  .japan-trip-page .gallery-grid { grid-template-columns: 1fr; }
  .japan-trip-page .includes-grid { grid-template-columns: 1fr; }
}
