@charset "UTF-8";

/* =========================================================================
   High School landing page (/high-school/)
   Implemented from Figma 高校生ページ_pc (261:1348) / _sp (261:47)
   Builds on junior-high.css (jh-* shared components). hs-* = page-specific.
   ========================================================================= */

 .hs {
  --hs-black: #222222;
  --hs-text: #333333;
  --hs-white: #ffffff;
  --hs-yellow: #f49c10;
  --hs-orange: #f97316;
  --hs-gray: #727272;
  --hs-cream: #fff4e2;
  --hs-panel-title: #f29b10;
}

 .hs .pc__only { display: block; }
 .hs .sp__only { display: none; }

/* =========================================================================
   01 FV
   ========================================================================= */
 .hs-fv {
  position: relative;
  margin-top: 144px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 612px;
  padding: 80px 120px;
  overflow: hidden;
  background: #cfe3ec;
}

 .hs-fv__bg {
  position: absolute;
  inset: 0;
  background-image: url("../images/high-school/hero-bg-pc.png");
  background-size: cover;
  background-position: center;
  z-index: 0;
}

 .hs-fv__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

 .hs-fv__scrim::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 62.2%;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.84) 61.156%,
    rgba(255, 255, 255, 0) 100%
  );
}

 .hs-fv__scrim::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 44.7%;
  backdrop-filter: blur(9.5px);
  -webkit-backdrop-filter: blur(9.5px);
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.01) 0%,
    rgba(255, 255, 255, 0) 89.984%
  );
}

 .hs-fv__inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

 .hs-fv__text-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}

 .hs-fv__title {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  margin: 0;
}

 .hs-fv__title-line1 {
  font-size: 42px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--hs-black);
}

 .hs-fv__title-mark {
  display: inline-flex;
  align-items: center;
  padding: 1px 10px 5px;
  border-radius: 4px;
  background: var(--hs-orange);
  color: var(--hs-white);
  font-size: 56px;
  font-weight: 700;
  line-height: 1.3;
}

 .hs-fv__lead {
  margin: 0;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.03em;
  color: var(--hs-black);
}

 .hs-fv__lead-accent {
  color: var(--hs-orange);
}

 .hs-fv__underline {
  display: block;
  width: 222px;
  max-width: 100%;
  margin-top: -8px;
}

 .hs-fv__underline img {
  width: 100%;
  height: auto;
  aspect-ratio: 225 / 13.54;
  display: block;
}

/* =========================================================================
   02 Program Intro
   ========================================================================= */
 .hs-intro {
  background: var(--hs-white);
  padding: 80px 120px;
}

 .hs-intro__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

 .hs-intro__heading-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

 .hs-intro__title {
  margin: 0;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.6;
  color: var(--hs-orange);
}

 .hs-intro__underline {
  display: block;
  width: 222px;
}

 .hs-intro__underline img {
  width: 100%;
  height: auto;
  aspect-ratio: 225 / 13.54;
  display: block;
}

 .hs-intro__lead {
  margin: 0;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.6;
  color: var(--hs-black);
}

/* =========================================================================
   03 What Matters
   ========================================================================= */
 .hs-matters.section-base--orange {
  background: var(--hs-yellow);
}

 .hs-matters .section-base__inner,
 .hs-matters .jh-section__inner {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

 .hs-matters__header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  text-align: center;
  color: var(--hs-white);
}

 .hs-matters__title {
  margin: 0;
  font-size: 36px;
  font-weight: 700;
  line-height: 1.6;
}

 .hs-matters__lead {
  margin: 0;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.6;
}

 .hs-matters__lead strong {
  font-weight: 700;
}

 .hs-matters__panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  padding: 24px 20px;
  border-radius: 8px;
  background: var(--hs-cream);
}

 .hs-matters__panel-title {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.6;
  text-align: center;
  color: var(--hs-panel-title);
}

 .hs-matters__panel-lead {
  margin: 0;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.6;
  text-align: center;
  color: var(--hs-text);
}

 .hs-matters__cards {
  display: flex;
  gap: 16px;
  width: 100%;
}

 .hs-matters__card {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 20px;
  border-radius: 8px;
  background: var(--hs-white);
}

 .hs-matters__card-head {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
}

 .hs-matters__card-icon {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
}

 .hs-matters__card-icon img {
  width: 100%;
  height: 100%;
  display: block;
}

 .hs-matters__card-title {
  margin: 0;
  flex: 1;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.6;
  color: var(--hs-orange);
  text-align: left;
}

 .hs-matters__card-text {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.6;
  color: var(--hs-gray);
  text-align: left;
}

 .hs-matters__docs {
  display: flex;
  gap: 16px;
  width: 100%;
}

 .hs-matters__doc {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 20px;
  border-radius: 8px;
  background: var(--hs-white);
  text-align: left;
}

 .hs-matters__doc-title {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.6;
  color: var(--hs-orange);
}

 .hs-matters__doc-text {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.6;
  color: var(--hs-gray);
}

/* =========================================================================
   04 Program (入試対策プログラム)
   ========================================================================= */
 .hs-program {
  background: var(--hs-white);
  padding: 80px 120px;
}

 .hs-program__inner {
  display: flex;
  flex-direction: column;
  gap: 48px;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

 .hs-program__header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  text-align: center;
}

 .hs-program__title {
  margin: 0;
  font-size: 36px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--hs-black);
}

 .hs-program__lead {
  margin: 0;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.6;
  color: var(--hs-black);
}

/* ---- STEP timeline ------------------------------------------------------ */
 .hs-steps {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

 .hs-steps::before {
  content: "";
  position: absolute;
  left: 31px;
  top: 32px;
  bottom: 32px;
  width: 0;
  border-left: 2px dashed #f6c477;
  z-index: 0;
}

 .hs-step {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 80px;
  width: 100%;
}

 .hs-step__body {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

 .hs-step__head {
  display: flex;
  align-items: center;
  gap: 18px;
}

 .hs-step__badge {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 16px 20px 20px 20px;
  background: var(--hs-yellow);
  color: var(--hs-white);
  font-family: "Jost", sans-serif;
  line-height: 1;
}

 .hs-step__badge span {
  font-size: 12.8px;
  font-weight: 700;
}

 .hs-step__badge strong {
  font-size: 30px;
  font-weight: 700;
}

 .hs-step__title {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--hs-panel-title);
  text-align: left;
}

 .hs-step__desc {
  padding-left: 84px;
}

 .hs-step__desc p {
  margin: 0;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.6;
  color: var(--hs-black);
  text-align: left;
}

 .hs-step__img {
  flex-shrink: 0;
  width: 400px;
  border-radius: 8px;
  overflow: hidden;
}

 .hs-step__img img {
  width: 100%;
  height: 233px;
  object-fit: cover;
  display: block;
}

 .hs-step:last-child::after {
  content: "";
  position: absolute;
  left: 30px;
  top: 64px;
  bottom: -40px;
  width: 4px;
  background: var(--hs-white);
  z-index: 1;
}

/* ---- 訪問先 cards -------------------------------------------------------- */
 .hs-visits {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px 16px;
  margin-left: 84px;
}

 .hs-visit {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 0 20px 16px;
  background: var(--hs-white);
  border: 2px solid #f3f4f6;
  border-radius: 8px;
  overflow: hidden;
}

 .hs-visit__no {
  margin: 0 -20px;
  width: calc(100% + 40px);
  padding: 4px 10px;
  background: var(--hs-yellow);
  color: var(--hs-white);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.6;
  text-align: center;
}

 .hs-visit__title {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.6;
  color: var(--hs-text);
  text-align: center;
}

 .hs-visit__img {
  width: 320px;
  max-width: 100%;
  margin: 0;
  aspect-ratio: 320 / 192;
  border-radius: 6px;
  overflow: hidden;
}

 .hs-visit__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

 .hs-visit__label {
  margin: 0;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.6;
  color: var(--hs-yellow);
  text-align: left;
}

 .hs-visit__theme,
 .hs-visit__points {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
}

 .hs-visit__theme-text {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.6;
  color: var(--hs-black);
  text-align: left;
}

 .hs-visit__divider {
  width: 100%;
  height: 1px;
  background: #d9d9d9;
}

 .hs-visit__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

 .hs-visit__tag {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 2px;
  background: var(--hs-cream);
  color: var(--hs-text);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.6;
}

/* ---- 訪問先 slider dots (mobile only) ----------------------------------- */
 .hs-visits-nav {
  display: none;
}

 .hs-visits-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: none;
  border-radius: 999px;
  background: #f0d6a8;
  cursor: pointer;
  transition: width 0.25s ease, background 0.25s ease;
}

 .hs-visits-dot.is-active {
  width: 22px;
  background: var(--hs-yellow);
}

/* ---- 1日の流れ ----------------------------------------------------------- */
 .hs-flow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  padding: 40px 20px 60px;
  border-radius: 8px;
  background: var(--hs-cream);
}

 .hs-flow__head,
 .hs-results__head-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

 .hs-flow__head-title,
 .hs-results__title {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.6;
  text-align: center;
  color: var(--hs-text);
}

 .hs-flow__mark {
  display: block;
  width: 24px;
  height: 3px;
  border-radius: 2px;
  background: var(--hs-orange);
}

 .hs-flow__diagram {
  width: 100%;
  max-width: 672px;
}

 .hs-flow__diagram img {
  width: 100%;
  height: auto;
  display: block;
}

 .hs-flow__text {
  margin: 0;
  width: 100%;
  max-width: 672px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.6;
  color: #222;
  text-align: left;
}

 .hs-flow__note {
  margin: 0;
  width: 100%;
  max-width: 672px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.6;
  color: #222;
  text-align: left;
}

/* ---- weekly schedule ---------------------------------------------------- */
 .hs-week {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 20px;
  border-radius: 9px;
  background: var(--hs-white);
}

 .hs-week__days {
  position: relative;
  display: flex;
  gap: 20px;
}

 .hs-week__days::before {
  content: "";
  position: absolute;
  left: 0;
  right: -10px;
  top: 13px;
  height: 2px;
  background: #e5e7eb;
  z-index: 0;
}

 .hs-week__days::after {
  content: "";
  position: absolute;
  right: -10px;
  top: 10px;
  width: 8px;
  height: 8px;
  border-top: 2px solid #e5e7eb;
  border-right: 2px solid #e5e7eb;
  transform: rotate(45deg);
  z-index: 0;
}

 .hs-week__day {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
}

 .hs-week__day-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 46px;
  box-sizing: border-box;
  padding: 2px 10px;
  border-radius: 32px;
  background: var(--hs-orange);
  color: var(--hs-white);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.6;
  white-space: nowrap;
  position: relative;
  z-index: 1;
}

 .hs-week__day-right {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

 .hs-week__day-title {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.6;
  color: var(--hs-text);
  text-align: left;
}

 .hs-week__day-text {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.6;
  color: var(--hs-gray);
  text-align: left;
}

 .hs-week__photos {
  display: flex;
  flex-wrap: nowrap; /* keep 4 photos on one row (shrinking together) until the mobile breakpoint */
  justify-content: center;
  gap: 16px;
}

 .hs-week__photos img {
  flex: 1 1 0;
  min-width: 0;
  width: 100%;
  max-width: 208px;
  height: auto;
  aspect-ratio: 208 / 156;
  object-fit: cover;
  display: block;
}

/* ---- 留学後に残るもの ----------------------------------------------------- */
 .hs-results {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

 .hs-results__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

 .hs-results__lead {
  margin: 0;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.6;
  text-align: center;
  color: var(--hs-text);
}

 .hs-results__cards {
  display: flex;
  gap: 16px;
}

 .hs-result {
  flex: 1;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 20px;
  border: 1px solid #000000;
  border-radius: 8px;
}

 .hs-result__icon {
  width: 64px;
  height: 64px;
  flex-shrink: 0;
}

 .hs-result__icon img {
  width: 100%;
  height: 100%;
  display: block;
}

 .hs-result__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  width: 100%;
  text-align: left;
}

 .hs-result__title {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.6;
  color: var(--hs-orange);
  text-align: left;
}

 .hs-result__text {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.6;
  color: var(--hs-gray);
  text-align: left;
}

 .hs-result__arrow {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.6;
  color: var(--hs-orange);
  text-align: left;
}

/* ---- inline section CTA (currently commented out in markup) -------------- */
 .hs-program__cta-wrap {
  display: flex;
  justify-content: center;
}

 .hs-inline-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 488px;
  max-width: 100%;
  padding: 16px 24px;
  border-radius: 12px;
  background: var(--hs-orange);
  color: var(--hs-white);
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  transition: opacity 0.25s ease, background-color 0.25s ease;
}

 .hs-inline-cta:hover {
  opacity: 0.9;
}

 .hs-inline-cta img {
  width: 18px;
  height: 18px;
  filter: brightness(0) invert(1);
}

/* =========================================================================
   Reused-section overrides (jh-* components reused with HS tweaks)
   ========================================================================= */
/* Safety – light grey bg per Figma */
 .hs-safety.jh-safety {
  background: #fafafa;
}

/* Voice – white bg + 2 columns (Figma has 2 cards) */
 .hs-voice.jh-voice {
  background: var(--hs-white);
}

 .hs-voice__grid {
  grid-template-columns: repeat(2, 1fr);
  max-width: 1200px;
}



/* Final CTA reuses .jh-final-cta (incl. its background image) from junior-high.css. */

/* =========================================================================
   Responsive — tablet
   ========================================================================= */
@media screen and (max-width: 1024px) {
  .hs-fv {
    padding: 80px 40px;
  }

  .hs-intro,
  .hs-program {
    padding: 80px 40px;
  }

  .hs-step__img {
    width: 320px;
  }
}

/* =========================================================================
   Responsive — mobile (Figma 高校生ページ_sp)
   ========================================================================= */
@media screen and (max-width: 768px) {
  .hs .pc__only { display: none; }
  .hs .sp__only { display: block; }

  /* ---- FV ---- */
  .hs-fv {
    margin-top: 64px;
    height: 700px;
    padding: 245px 20px 0;
    justify-content: flex-start;
    background: #ffffff;
    box-sizing: border-box;
  }

  .hs-fv__bg {
    background-image: url("../images/high-school/hero-bg-sp.png");
    background-size: cover;
    background-position: center top;
    height: 515px;
    top: -36px;
    bottom: auto;
  }

  .hs-fv__scrim {
    top: 295px;
    height: 405px;
    bottom: auto;
    background: linear-gradient(
      180deg,
      rgba(255, 255, 255, 0) 0%,
      #ffffff 28.519%
    );
  }

  .hs-fv__scrim::before,
  .hs-fv__scrim::after {
    display: none;
  }

  .hs-fv__inner {
    gap: 27px;
  }

  .hs-fv__text-block {
    gap: 16px;
  }

  .hs-fv__title {
    gap: 3px;
  }

  .hs-fv__title-line1 {
    font-size: 24px;
    color: #ffffff;
    font-weight: 700;
    line-height: 1.6;
    letter-spacing: 0.03em;
  }

  .hs-fv__title-mark {
    font-size: 34px;
    line-height: 1.3;
    padding: 1px 10px 5px;
    border-radius: 4px;
  }

  .hs-fv__lead {
    font-size: 18px;
    line-height: 1.4;
    letter-spacing: 0.03em;
  }

  .hs-fv__underline {
    width: 163px;
    margin-top: -12px;
  }

  .jh .hs-fv .jh-cta {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 16px;
  }

  /* ---- Program Intro ---- */
  .hs-intro {
    padding: 40px 20px;
  }

  .hs-intro__title {
    font-size: 20px;
  }

  .hs-intro__lead {
    font-size: 16px;
    text-align: left;
  }

  .hs-intro__underline {
    width: 180px;
  }

  /* ---- What Matters ---- */
  .hs-matters__title {
    font-size: 20px;
  }

  .hs-matters__lead {
    font-size: 14px;
    text-align: left;
  }

  .hs-matters__cards,
  .hs-matters__docs {
    flex-direction: column;
  }

  .hs-matters__doc {
    padding: 12px 20px;
  }

  .hs-matters__panel-title {
    font-size: 18px;
  }

  .hs-matters__panel-lead {
    font-size: 14px;
    text-align: left;
  }

  .hs-matters__doc-title {
    font-size: 16px;
  }

  /* ---- Program ---- */
  .hs-program {
    padding: 80px 20px;
  }

  .hs-program__inner {
    gap: 40px;
  }

  .hs-program__title {
    font-size: 20px;
    line-height: 1.6;
  }

  .hs-program__lead {
    font-size: 14px;
    text-align: left;
  }

  .hs-steps {
    gap: 40px;
  }

  .hs-steps::before {
    left: 23px;
  }

  .hs-step {
    flex-direction: column;
    gap: 16px;
  }

  .hs-step__body {
    display: contents;
  }

  .hs-step__head {
    order: 1;
    gap: 14px;
  }

  .hs-step__badge {
    width: 50px;
    height: 50px;
    border-radius: 16px;
  }

  .hs-step__badge span {
    font-size: 10px;
  }

  .hs-step__badge strong {
    font-size: 24px;
  }

  .hs-step__title {
    font-size: 18px;
  }

  .hs-step__desc {
    order: 3;
    padding-left: 64px;
  }

  .hs-step__desc p {
    font-size: 14px;
  }

  .hs-step__img {
    order: 2;
    width: 100%;
    margin-left: 64px;
    max-width: calc(100% - 64px);
  }

  .hs-step:last-child::after {
    left: 22px;
    top: 50px;
    bottom: -40px;
  }

  .hs-visits {
    display: flex;
    grid-template-columns: none;
    flex-wrap: nowrap;
    gap: 16px;
    margin-left: 64px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    scroll-padding: 0 20px;
    padding-bottom: 4px;
  }

  .hs-visits-note {
    margin: 0 0 0 64px;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.6;
    letter-spacing: 0;
    color: var(--hs-black);
  }

  .hs-visits::-webkit-scrollbar {
    display: none;
  }

  .hs-visit {
    flex: 0 0 100%;
    scroll-snap-align: center;
    gap: 12px;
    padding: 0 20px 16px;
  }

  .hs-visit__no {
    margin: 0 -20px;
    width: calc(100% + 40px);
    font-size: 12px;
  }

  .hs-visit__title {
    font-size: 16px;
  }

  .hs-visit__img {
    width: 100%;
  }

  .hs-visits-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin: 12px 0 12px 64px;
  }

  /* ---- 1日の流れ ---- */
  .hs-flow {
    padding: 24px 16px 40px;
  }

  .hs-flow__text,
  .hs-flow__note {
    font-size: 14px;
  }

  .hs-week {
    padding: 16px;
  }

  .hs-week__days {
    flex-direction: column;
    gap: 20px;
  }

  .hs-week__days::before,
  .hs-week__days::after {
    display: none;
  }

  .hs-week__day {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 16px;
    position: relative;
  }

  .hs-week__day-left {
    flex-shrink: 0;
    width: 60px;
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 1;
  }

  .hs-week__day:not(:last-child)::before {
    content: "";
    position: absolute;
    left: 31px;
    top: 12px;
    bottom: -20px;
    width: 2px;
    background: #e5e7eb;
    z-index: 0;
  }

  .hs-week__day:last-child::before {
    content: "";
    position: absolute;
    left: 31px;
    top: 12px;
    height: 26px;
    width: 2px;
    background: #e5e7eb;
    z-index: 0;
  }

  .hs-week__day:last-child::after {
    content: "";
    position: absolute;
    left: 31px;
    top: 38px;
    width: 8px;
    height: 8px;
    border-bottom: 2px solid #e5e7eb;
    border-right: 2px solid #e5e7eb;
    transform: translate(-50%, -50%) rotate(45deg);
    z-index: 0;
  }

  .hs-week__day-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  .hs-week__day-badge {
    font-size: 10px;
    min-width: 46px;
    height: 20px;
    padding: 0;
  }

  .hs-week__day-title {
    font-size: 14px;
  }

  .hs-week__day-text {
    font-size: 12px;
  }

  .hs-week__photos {
    flex-wrap: wrap;
  }

  .hs-week__photos img {
    flex: 0 0 calc(50% - 8px);
    max-width: calc(50% - 8px);
  }

  /* ---- 留学後 ---- */
  .hs-results__head {
    gap: 12px;
  }

  .hs-results__head-group {
    gap: 10px;
  }

  .hs-results__title {
    font-size: 18px;
  }

  .hs-results__lead {
    font-size: 14px;
    text-align: left;
  }

  .hs-results__cards {
    flex-direction: column;
    gap: 16px;
  }

  .hs-result {
    flex: none;
    width: 100%;
    height: auto;
    box-sizing: border-box;
    flex-direction: row;
    align-items: flex-start;
    padding: 16px 20px;
    gap: 16px;
  }

  .hs-result__body {
    flex: 1;
    width: auto;
    align-items: flex-start;
    text-align: left;
  }

  .hs-inline-cta {
    padding: 16px 16px;
  }

  /* ---- Voice 1-col on mobile ---- */
  .hs-voice__grid {
    grid-template-columns: 1fr;
  }

  .hs-voice .jh-section__cta-link-wrap {
    margin-top: 40px;
  }

  .hs-safety .jh-section__cta-link-wrap {
    margin-top: 32px;
  }

  .hs-safety .jh-link-cta {
    background: transparent;
    color: #F97316;
    border-radius: 0;
    min-width: 0;
    width: auto;
    padding: 0;
    text-decoration: underline;
    text-underline-position: from-font;
    font-size: 16px;
    font-weight: 700;
    gap: 8px;
    transition: opacity 0.2s ease;
  }

  .hs-safety .jh-link-cta:hover {
    opacity: 0.8;
    transform: none;
  }

  .hs-safety .jh-link-cta img {
    filter: brightness(0) saturate(100%) invert(60%) sepia(87%) saturate(1450%) hue-rotate(345deg) brightness(101%) contrast(97%);
  }

  .hs-price .jh-link-cta {
    background: transparent;
    color: #ffffff;
    border-radius: 0;
    min-width: 0;
    width: auto;
    padding: 0;
    text-decoration: underline;
    text-underline-position: from-font;
    font-size: 16px;
    font-weight: 700;
    gap: 8px;
    margin-top: 12px;
    transition: opacity 0.2s ease;
  }

  .hs-price .jh-link-cta:hover {
    opacity: 0.8;
    transform: none;
  }

  .hs-price .jh-link-cta img {
    filter: brightness(0) invert(1);
  }
}
