@charset "UTF-8";

/* ============================================================
   01. 基本設定（.intern-page 内のみに適用）
   ============================================================ */
html {
  scroll-behavior: smooth;
}

.intern-page {
  font-family:
    "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  color: #263e57;
  line-height: 1.8;
  background: #fff;
}

.intern-page * {
  box-sizing: border-box;
}

.intern-page img {
  display: block;
  max-width: 100%;
  height: auto;
}

.intern-page a {
  color: inherit;
  text-decoration: none;
}

.intern-page button,
.intern-page input,
.intern-page select,
.intern-page textarea {
  font: inherit;
}

/* ============================================================
   02. 汎用パーツ（コンテナ / 見出し / ボタン / 改行制御）
   ============================================================ */
.intern-container {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

.intern-section {
  padding: 80px 0;
}

.intern-section--sky {
  background: linear-gradient(180deg, #edf8ff, #fff);
}

.intern-eyebrow {
  margin: 0 0 8px;
  color: #005bac;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.intern-section-title {
  margin: 0;
  color: #0b2d55;
  font-size: clamp(20px, 2.5vw, 36px);
  line-height: 1.42;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.intern-section-lead {
  max-width: 820px;
  margin: 18px auto 0;
  color: #63778a;
  font-weight: 700;
}

.intern-center {
  text-align: center;
}

.intern-section-title::after,
.intern-requirement-head__title::after,
.intern-info-band__title::after,
.intern-message-title::after {
  content: "";
  display: block;
  width: 56px;
  height: 3px;
  margin: 20px 0 0; /* 既定＝左寄せ */
  background: #ffd600;
}

.intern-center .intern-section-title::after {
  margin-inline: auto;
}

.intern-entry-content .intern-section-title::after {
  margin-left: auto;
  margin-right: 0;
}

/* --- 改行制御 -- */
.intern-section-title,
.intern-hero__title,
.intern-growth-step strong,
.intern-growth-step small,
.intern-feature-card__title,
.intern-benefit-card h3,
.intern-ticket__item strong,
.intern-ticket__item small,
.intern-info-item strong,
.intern-info-item p,
.intern-flow-step h3,
.intern-faq-item h3 {
  word-break: keep-all;
  overflow-wrap: break-word;
}

.intern-nb {
  white-space: nowrap;
}

.intern-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 56px;
  padding: 0 48px;
  border-radius: 999px;
  font-weight: 900;
  font-size: 20px;
  box-shadow: 0 12px 28px rgba(0, 91, 172, 0.2);
  transition: 0.2s ease;
}

.intern-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.02);
}

.intern-btn--yellow {
  background: #ffd600;
  color: #0b2d55;
}

.intern-btn--blue {
  background: linear-gradient(90deg, #005bac, #078ed1);
  color: #fff;
}

.intern-btn svg {
  width: 18px;
  height: 18px;
}

/* ============================================================
   03. ヒーロー
   ============================================================ */
.intern-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #bfe8ff 0%, #edf8ff 20%);
}

.intern-hero__grid {
  width: 100%;
  margin-inline: 0;
  display: grid;
  grid-template-columns: 45% 55%;
  min-height: 690px;
}

.intern-hero__content {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 78px 50px 74px clamp(24px, 5vw, 80px);
}

.intern-hero__hand {
  display: inline-block;
  width: max-content;
  margin: 0 0 24px;
  color: #005bac;
  font-size: 44px;
  font-weight: 900;
  transform: rotate(-3deg);
  font-family: "Klee One", cursive;

  padding-bottom: 0.45em;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 28' preserveAspectRatio='none'%3E%3Cpath d='M2,22 C90,4 210,2 298,6' fill='none' stroke='%23005bac' stroke-width='2.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: left bottom;
  background-size: 100% 0.7em;
}

.intern-hero__title {
  margin: 0 0 22px;
  color: #0b2d55;
  font-size: clamp(44px, 4vw, 56px);
  line-height: 1.1;
  letter-spacing: 0.015em;
  font-weight: 950;
}

.intern-hero__title-sub {
  font-size: 0.7em; /* 数値を変えてサイズ調整（例: 0.6〜0.9） */
}

.intern-hero__accent {
  color: #005bac;
  font-size: clamp(44px, 4vw, 56px);
}

.intern-hero__intro {
  margin: 0 0 8px;
  color: #1e3f63;
  font-weight: 800;
  font-size: 20px;
}

.intern-hero__body {
  margin: 0 0 8px;
  font-size: 14px;
}

.intern-hero__actions {
  margin-top: 8px;
}

.intern-hero::after {
  content: "";
  position: absolute;
  right: 0%;
  bottom: -80px;
  width: 90%;
  height: 220px;
  border-radius: 100% 0 0 0;
  background: linear-gradient(90deg, #005bac, #00a8dc);
  z-index: 2; /* 写真より前面に表示 */
}

.intern-hero__image {
  position: relative;
  z-index: 1; /* 青い線より奥へ */
  min-height: 690px;
}

.intern-hero__image img {
  width: 100%;
  height: 90%;
  object-fit: cover;
  mask-image: linear-gradient(90deg, transparent 0%, #000 6%);
  object-position: 36%;
}

.intern-hero__message {
  font-size: 17px;
  margin: 0 0 8px;
  color: #1e3f63;
  font-weight: 800;
}

.intern-hero__catch {
  font-size: 16px;
  margin: 0 0 8px;
  color: #1e3f63;
  font-weight: 800;
}

.intern-hero__content,
.intern-hero__image {
  min-width: 0;
}

@media (max-width: 1300px) {
  .intern-hero__grid {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .intern-hero__content {
    padding: 64px 24px;
  }
  .intern-hero::after {
    display: none;
  }
  .intern-hero__image {
    min-height: 0;
  }
  .intern-hero__image img {
    -webkit-mask-image: none;
    mask-image: none;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10; /* 横長バナー。人物が横に切れないよう天地でトリミング */
    object-fit: cover;
    object-position: 50% 50%; /* 中央。被写体に合わせ 40〜60% で微調整可 */
  }
}

/* ============================================================
   04. OVERVIEW（挑戦する自分に出会う）
   ============================================================ */
.intern-overview-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 24px;
  align-items: center;
}

.intern-overview-copy p {
  margin: 16px 0 0;
  font-weight: 700;
  font-size: 18px;
}

.intern-growth-flow {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  padding: 32px 24px;
  border-radius: 30px;
  background: #fff;
}

.intern-growth-step {
  text-align: center;
  position: relative;
}

.intern-growth-step:not(:last-child)::after {
  content: "→";
  position: absolute;
  right: -13px;
  top: 28px;
  color: #0b2d55;
  font-size: 22px;
  font-weight: 900;
}

.intern-growth-step strong {
  display: block;
  color: #005bac;
  font-size: 20px;
}

.intern-growth-step small {
  display: block;
  margin-top: 4px;
  color: #63778a;
  font-weight: 700;
  line-height: 1.5;
  font-size: 16px;
}

.intern-growth-step img {
  width: auto;
  height: 110px;
  margin: 0 auto 12px;
}

@media (max-width: 1024px) {
  .intern-overview-copy {
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
  }
  .intern-overview-copy .intern-eyebrow,
  .intern-overview-copy .intern-section-title {
    text-align: center;
  }
  .intern-overview-copy p {
    text-align: left;
  }
}

/* ============================================================
   05. REQUIREMENTS（募集条件）
   ============================================================ */

#intern-requirement {
  background: #0d4da1;
}

.intern-requirement-grid {
  display: grid;
  grid-template-columns: 1fr 520px;
  gap: 12px;
  align-items: center;
}

.intern-requirement-head {
  margin-bottom: 40px;
}

.intern-requirement-head__eyebrow {
  margin: 0;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.3em;
  color: #ffd94a;
}

.intern-requirement-head__title {
  margin: 12px 0 0;
  font-size: 36px;
  font-weight: 900;
  letter-spacing: 0.06em;
  color: #ffffff;
}

.intern-requirement-table {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.intern-requirement-row {
  padding: 24px 32px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(4px);
  border-left: 4px solid #ffd94a;
}

.intern-requirement-row__label {
  font-size: 20px;
  font-weight: 800;
  color: #ffd94a;
}

.intern-requirement-row__value {
  margin: 0;
}

.intern-requirement-row__value p {
  margin: 0;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.8;
  color: #ffffff;
  word-break: auto-phrase; /* 「専門学校生」などを途中で割らない */
}

.intern-requirement-photo img {
  display: block;
  width: 100%;
  max-width: 400px; /* ← この値を下げるほど枠全体が小さくなる */
  aspect-ratio: 3 / 2;
  height: auto;
  object-fit: cover;
  margin: 0 0 0 auto;
}

@media (max-width: 900px) {
  .intern-requirement-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 48px 0 64px;
  }
  .intern-requirement-photo img {
    height: 240px;
  }
  .intern-requirement-row {
    padding: 20px 24px;
  }
}

/* ============================================================
   06. RECOMMENDED（こんな方におすすめ）
   ============================================================ */

.intern-recommend-wrap {
  display: grid;
  grid-template-columns: 34% 66%;
  gap: 32px;
  align-items: stretch;
  margin-top: 40px;
}

.intern-recommend-photo img {
  width: 100%;
  max-width: 500px; /* ← この値を下げるほど枠全体が小さくなる */
  aspect-ratio: 3 / 2; /* 今の横長の枠の比率に合わせる */
  height: auto;
  object-fit: cover; /* トリミングはそのまま維持 */
  margin: 0 auto; /* 中央寄せしたい場合 */
}

.intern-recommend-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  align-content: center;
}

.intern-recommend-item {
  display: flex;
  align-items: center; /* アイコンとテキストを上下中央揃え */
  gap: 12px;
  padding: 16px 8px;
  border: 1px solid #d9ebf6;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 10px 26px rgba(0, 70, 130, 0.07);
  color: #0b2d55;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.6;
}

.intern-recommend-item__icon {
  flex: none;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #edf8ff;
  color: #005bac;
  font-size: 15px;
  font-weight: 900;
  line-height: 1;
}

/* ============================================================
   07. FEATURE（インターンシップの特徴）
   ============================================================ */

   .intern-feature-timeline {
  position: relative;
  margin-top: 56px;
  display: grid;
  gap: 40px;
}

.intern-feature-timeline::before {
  content: "";
  position: absolute;
  left: 31px;
  top: 32px;
  bottom: 32px;
  width: 2px;
  background: #bcd6ec;
}

.intern-feature-item {
  position: relative;
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 36px;
}

.intern-feature-item__num {
  position: relative;
  z-index: 1;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #005bac;
  color: #fff;
  font-weight: 900;
  font-size: 22px;
  box-shadow: 0 0 0 6px #edf8ff; /* 線の上に浮かせる。セクション背景色と揃える */
}

/* ===== カード ===== */
.intern-feature-card {
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 40px 44px;
  border: 1px solid #d9ebf6;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(11, 45, 85, 0.08);
}

.intern-feature-card__body {
  flex: 1 1 auto;
}

.intern-feature-card__title {
  margin: 0 0 16px;
  display: inline-block;
  padding-bottom: 6px;
  border-bottom: 2px solid #f2c400;
  color: #0b2d55;
  font-size: 24px;
  font-weight: 800;
  line-height: 1.2;
}

.intern-feature-card p {
  margin: 0 0 14px;
  color: #0b2d55;
  font-size: 20px;
  font-weight: 500;
  line-height: 2;
}

.intern-feature-card p:last-child {
  margin-bottom: 0;
}

.intern-feature-card__lead {
  color: #0b2d55 !important;
  font-weight: 700 !important;
}

/* ===== ステップ（チップ型） ===== */
.intern-feature-steps {
  list-style: none;
  margin: 4px 0 18px;
  padding: 0;
  counter-reset: feat-step;
  display: flex;
  flex-direction: column; /* 追加：縦並び */
  align-items: flex-start; /* 追加：チップ幅を内容分にとどめる */
  gap: 10px;
}

.intern-feature-steps li {
  counter-increment: feat-step;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px 8px 8px;
  border-radius: 999px;
  background: #edf8ff;
  color: #0b2d55;
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
}

.intern-feature-steps li::before {
  content: counter(feat-step);
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #005bac;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}

/* ===== ステップ：補足文つき（--desc のときだけ適用） ===== */
.intern-feature-steps--desc li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0;
  border-radius: 0;
  background: none;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
}

.intern-feature-steps--desc li::before {
  content: none;
}

.intern-feature-steps--desc .intern-feature-steps__label {
  flex: 0 0 auto;
  min-width: 240px; /* 補足の開始位置を揃える。文字数に応じて調整 */
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px 8px 8px;
  border-radius: 999px;
  background: #edf8ff;
  color: #0b2d55;
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
}

.intern-feature-steps--desc .intern-feature-steps__label::before {
  content: counter(feat-step);
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #005bac;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}

.intern-feature-steps--desc .intern-feature-steps__desc {
  position: relative;
  padding-left: 24px;
  color: #0b2d55;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.6;
}

.intern-feature-steps--desc .intern-feature-steps__desc::before {
  content: "→";
  position: absolute;
  left: 0;
  top: 0;
  color: #005bac;
  font-weight: 700;
}

/* ===== 写真（全カード共通の固定枠） ===== */
.intern-feature-photo {
  flex: 0 0 320px;
  width: 320px;
  aspect-ratio: 4 / 3; /* 320:240 の比率を全幅で維持 */
  overflow: hidden;
}

.intern-feature-photo__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* 1枚ごとの表示位置調整（左右% 上下%） */
.intern-feature-photo__img--01 {
  object-position: 50% 50%;
}
.intern-feature-photo__img--02 {
  object-position: 50% 40%;
}
.intern-feature-photo__img--03 {
  object-position: 50% 30%;
}
.intern-feature-photo__img--04 {
  object-position: 50% 35%;
}

/* ===== レスポンシブ ===== */
@media (max-width: 900px) {
  .intern-feature-timeline::before {
    display: none;
  }
  .intern-feature-item {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .intern-feature-item__num {
    width: 48px;
    height: 48px;
    font-size: 18px;
    margin: 0 0 -24px 20px;
    box-shadow: none;
  }
  .intern-feature-card {
    flex-direction: column-reverse;
    align-items: stretch;
    gap: 24px;
    padding: 56px 24px 28px;
  }
  /* 高さ固定を廃止。幅 100% + aspect-ratio で比率維持 */
  .intern-feature-photo {
    flex: none;
    width: 100%;
  }
  /* 補足つきステップのみ縦積みに */
  .intern-feature-steps--desc li {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
  .intern-feature-steps--desc .intern-feature-steps__label {
    min-width: 0;
  }
  .intern-feature-steps--desc .intern-feature-steps__desc {
    padding-left: 30px;
    font-size: 15px;
  }
}

/* ============================================================
   08. PROGRAM（当日のプログラム）
   ============================================================ */

   .intern-program {
  padding: 96px 0;
  background: linear-gradient(180deg, #eaf7ff, #f8fcff);
}

.intern-program-inner {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

/* ===== 見出し＋写真（写真左・見出し右） ===== */
.intern-program-head {
  display: grid;
  grid-template-columns: 520px 1fr;
  gap: 64px;
  align-items: center;
  margin-bottom: 48px;
}

.intern-program-photo {
  height: 300px;
  overflow: hidden;
}

.intern-program-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ===== チケット ===== */
.intern-ticket {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(11, 45, 85, 0.1);
}

/* 各コマ（ミシン目区切り） */
.intern-ticket__item {
  padding: 40px 24px;
  border-left: 2px dashed #cfe2f0;
  min-width: 0;
}

.intern-ticket__item:first-child {
  border-left: none;
}

.intern-ticket__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.intern-ticket__time {
  color: #005bac;
  font-weight: 900;
  font-size: 26px;
  line-height: 1;
}

.intern-ticket__icon {
  flex: none;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #005bac;
  color: #fff;
}

.intern-ticket__icon svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.intern-ticket__item strong {
  display: block;
  color: #0b2d55;
  font-size: 20px;
  font-weight: 800;
}

.intern-ticket__item small {
  display: block;
  margin-top: 8px;
  color: #0b2d55;
  font-size: 18px;
  line-height: 1.8;
  word-break: auto-phrase;
}

/* ===== レスポンシブ ===== */
@media (max-width: 1180px) {
  .intern-ticket__item {
    padding: 32px 20px;
  }
  .intern-ticket__time {
    font-size: 24px;
  }
  .intern-ticket__item strong {
    font-size: 18px;
  }
  .intern-ticket__item small {
    font-size: 16px;
  }
}

@media (max-width: 1024px) {
  .intern-ticket {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .intern-ticket__item {
    border-left: 2px dashed #cfe2f0;
    border-top: 2px dashed #cfe2f0;
  }
  .intern-ticket__item:nth-child(-n + 2) {
    border-top: none;
  }
  .intern-ticket__item:nth-child(odd) {
    border-left: none;
  }
}

@media (max-width: 960px) {
  .intern-program-head {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .intern-program-photo {
    height: 220px;
  }
}

@media (max-width: 600px) {
  .intern-program {
    padding: 64px 0;
  }
  .intern-ticket {
    grid-template-columns: 1fr;
  }
  .intern-ticket__item {
    padding: 28px 20px;
    border-left: none;
  }
  /* 1024px の :nth-child(-n+2) を同じ詳細度で打ち消す */
  .intern-ticket__item:nth-child(-n + 2) {
    border-top: 2px dashed #cfe2f0;
  }
  .intern-ticket__item:first-child {
    border-top: none;
  }
  .intern-ticket__item small br {
    display: none;
  }
}

/* ============================================================
   09. BENEFIT（3つの特典）
   ============================================================ */
.intern-benefits {
  background: #0d4da1;
  color: #fff;
}

.intern-benefits .intern-section-title,
.intern-benefits .intern-eyebrow {
  color: #fff;
}

.intern-benefits .intern-eyebrow {
  color: #ffd600;
}

.intern-benefits__lead {
  max-width: 760px;
  margin-inline: auto;
  color: #f8fcff;
  font-weight: 500;
  line-height: 2.2;
  font-size: 20px;
}

.intern-benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 64px;
}

/* ===== カード（写真＝上 / 文字＝下 に分離） ===== */
.intern-benefit-card {
  position: relative;
  overflow: hidden;
  border-radius: 18px; /* 四隅とも同じ */
  background: #f8f8f8;
  box-shadow: 0 20px 44px rgba(4, 22, 48, 0.35);
}

/* 写真ゾーン（上）。文字と重ならないよう通常フローで配置 */
.intern-benefit-card img {
  position: static;
  width: 100%;
  height: 240px; /* 写真ゾーンの高さ。お好みで調整可 */
  object-fit: cover;
  border-radius: 0; /* 画像側の角丸指定が残っていれば無効化 */
}

/* 番号バッジ：左上の定位置に統一 */
.intern-benefit-card__num {
  position: absolute;
  z-index: 2;
  top: 24px;
  left: 24px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  color: #005bac;
  font-weight: 900;
  font-size: 17px;
}

/* テキストゾーン（下・濃紺地） */
.intern-benefit-card__content {
  position: static;
  z-index: 2;
  padding: 30px 32px 34px;
}

.intern-benefit-card h3 {
  margin: 0 0 14px;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #005bac;
}

.intern-benefit-card__sub {
  font-size: 22px !important;
  margin: 0 0 10px !important;
  font-weight: 700 !important;
  display: inline;
  background: linear-gradient(transparent 72%, #fff34d 72%);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.intern-benefit-card p {
  margin: 0;
  color: #112233;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.95;
}

/* ===== レスポンシブ ===== */
@media (max-width: 960px) {
  .intern-benefit-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }
}

@media screen and (max-width: 768px) {
  .intern-benefits__lead {
    text-align: left;
  }
}

/* ============================================================
   10. INFORMATION（開催情報）
   ============================================================ */
.intern-info-band {
  position: relative;
  background: #fff;
  overflow: hidden;
}

/* ===== 本文（写真の分だけ右に余白を取る） ===== */
.intern-info-band__body {
  position: relative;
  z-index: 1;
  padding: 44px 460px 48px 56px;
}

/* ===== 見出し ===== */
.intern-info-band__head {
  margin-bottom: 28px;
}

.intern-info-band__head .intern-eyebrow {
  text-align: left;
  color: #005bac;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.2em;
  margin: 0 0 8px;
}

.intern-info-band__title {
  margin: 0;
  color: #0b2d55;
  font-size: clamp(20px, 2.5vw, 34px);
  font-weight: 900;
  letter-spacing: 0.08em;
}

/* ===== 開催日（上段・強調） ===== */
.intern-info-date {
  background: #eef4fb;
  border-radius: 8px;
  padding: 18px 24px;
  margin-bottom: 28px;
  text-align: center; 
}

.intern-info-date__head {
  display: flex;
  align-items: center;
  justify-content: center; 
  gap: 8px;
  margin-bottom: 8px;
}

.intern-info-date__head img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  display: block;
}

.intern-info-date__head strong {
  color: #005bac;
  font-size: 24px;
  font-weight: 800;
}

.intern-info-date__note {
  color: #5a6b85;
  font-size: 13px;
  font-weight: 700;
}

.intern-info-date__value {
  display: flex;
  flex-wrap: wrap;
  justify-content: center; 
  gap: 36px;
  margin: 0;
}

.intern-info-date__day {
  color: #0b2d55;
  font-size: 26px;
  font-weight: 900;
  letter-spacing: 0.04em;
  line-height: 1.4;
}

.intern-info-date__day small {
  font-size: 15px;
  font-weight: 800;
}

/* ===== スペックバー(下段3項目・縦罫線区切り) ===== */
.intern-info-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.intern-info-item {
  padding: 0 20px;
}

.intern-info-item:first-child {
  padding-left: 0;
}

.intern-info-item:last-child {
  padding-right: 0;
}

.intern-info-item:not(:last-child) {
  border-right: 1px solid #d9e6f2;
}

.intern-info-item__head {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 10px;
}

.intern-info-item__head img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  display: block;
}

.intern-info-item__head strong {
  color: #005bac;
  font-size: 20px;
  font-weight: 800;
}

.intern-info-item p {
  margin: 0;
  color: #0b2d55;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.9;
  text-align: center;
}

/* ===== 右端の写真(斜め切りなし＋白フェード) ===== */
.intern-info-band__photo {
  position: absolute;
  top: 0;
  right: 0;
  width: 380px;
  height: 100%;
}

.intern-info-band__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.intern-info-band__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

/* ===== レスポンシブ ===== */
@media (max-width: 1080px) {
  .intern-info-band__body {
    padding-right: 340px;
  }
  .intern-info-band__photo {
    width: 300px;
  }
}

@media (max-width: 900px) {
  .intern-info-band {
    display: flex;
    flex-direction: column;
  }
  .intern-info-band__body {
    padding: 36px 28px 40px;
  }
  .intern-info-band__photo {
    position: static;
    width: 100%;
    height: 200px;
    order: -1;
  }
  /* スマホ時は下辺だけ白へフェード(左右上は消す) */
  .intern-info-band__photo::after {
    background: linear-gradient(
      to bottom,
      rgba(255, 255, 255, 0) 60%,
      #fff 100%
    );
  }
  .intern-info-bar {
    grid-template-columns: repeat(3, 1fr);
  }
  .intern-info-item,
  .intern-info-item:first-child,
  .intern-info-item:last-child {
    padding: 0 10px;
  }
}

@media (max-width: 560px) {
  .intern-info-date__value {
    flex-direction: column;
    gap: 4px;
  }
  .intern-info-bar {
    grid-template-columns: 1fr;
  }
  .intern-info-item,
  .intern-info-item:first-child,
  .intern-info-item:last-child {
    padding: 16px 0 0;
  }
  .intern-info-item:not(:last-child) {
    border-right: none;
    border-bottom: 1px solid #d9e6f2;
    padding-bottom: 16px;
  }
}

/* ============================================================
   11. FLOW（参加までの流れ）
   ============================================================ */

.intern-flow {
  background: #edf8ff;
}

/* ===== トラック（PC：横4列） ===== */
.intern-flow-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 72px;
}

/* PC用：横の点線コネクタ（両端の円の中心を結ぶ） */
.intern-flow-track__line {
  position: absolute;
  top: 32px;
  left: 12.5%;
  right: 12.5%;
  border-top: 3px dotted #8db8dd;
}

/* ===== 各ステップ ===== */
.intern-flow-step {
  position: relative;
  text-align: center;
}

.intern-flow-step__num {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin: 0 auto 24px;
  border-radius: 50%;
  background: #005bac;
  color: #fff;
  font-weight: 900;
  font-size: 26px;
  box-shadow: 0 0 0 8px #edf8ff; /* セクション背景と同色に */
}

.intern-flow-step h3 {
  margin: 0 0 10px;
  color: #0b2d55;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.7;
}

.intern-flow-step p {
  max-width: 230px;
  margin: 0 auto;
  color: #0b2d55;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.9;
}

/* ============================================================
   レスポンシブ（〜900px：縦積み）
   ============================================================ */
@media (max-width: 900px) {
  .intern-flow-track {
    grid-template-columns: 1fr;
    gap: 40px; /* ↓ 点線の bottom:-72px はこの値に依存 */
    margin-top: 48px;
  }

  /* PC用の横1本線は縦積みでは使わない */
  .intern-flow-track__line {
    display: none;
  }

  /* 円を左上に固定し、テキストは右側へ回り込ませる */
  .intern-flow-step {
    position: relative;
    min-height: 64px; /* 円が収まる最低高さ */
    padding-left: 84px; /* 円64px + 余白20px */
    text-align: left;
  }

  .intern-flow-step__num {
    position: absolute;
    top: 0;
    left: 0;
    margin: 0;
    z-index: 1; /* 点線より前面。box-shadow(#edf8ff)で線を分節 */
  }

  /* 縦の点線：円の中心(top:32) → 次の円の中心(gap40 + 次円中心32 = 72) */
  .intern-flow-step:not(:last-child)::before {
    content: "";
    position: absolute;
    left: 32px; /* 円(幅64px)の中心 */
    top: 32px; /* 円の縦中心から */
    bottom: -72px; /* 次の円の中心まで */
    border-left: 3px dotted #8db8dd;
    transform: translateX(-1.5px); /* 3px線を left:32px の中心へ */
    z-index: 0;
  }

  .intern-flow-step h3 {
    margin: 0 0 6px;
  }

  .intern-flow-step p {
    max-width: none;
    margin: 0;
    text-align: left;
  }
}

/* ============================================================
   12. FAQ（よくある質問）
   ============================================================ */
.intern-faq {
  background: #0d4da1;
}

.intern-faq .intern-eyebrow {
  color: #ffd600;
}

.intern-faq .intern-section-title {
  color: #fff;
}

/* ===== グリッド：独立カード ===== */
.intern-faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 56px;
}

/* ===== カード本体 ===== */
.intern-faq-item {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 16px 36px rgba(4, 22, 48, 0.28);
  min-width: 0;
}

/* 上部イエローアクセントバー */
.intern-faq-item__bar {
  display: block;
  height: 4px;
  background: #ffd600;
}

/* ===== カード内を1つのグリッドに統一 ===== */
.intern-faq-item__body {
  /* 調整用変数 */
  --faq-mark: 34px;
  --faq-gap: 14px;
  --faq-row-gap: 6px;
  --faq-q-size: 20px;
  --faq-a-size: 18px;
  --faq-a-lh: 1.9;
  /* --faq-line-color: rgba(13, 77, 161, 0.14);  ←仕切り線*/

  display: grid;
  grid-template-columns: var(--faq-mark) minmax(0, 1fr);
  column-gap: var(--faq-gap);
  row-gap: var(--faq-row-gap);
  align-content: start;
  padding: 30px 32px;
}

/* ===== 行の割り当て ===== */
.intern-faq-item__q,
.intern-faq-item h3 {
  grid-row: 1;
}

.intern-faq-item__body::after {
  content: "";
  grid-row: 2;
  grid-column: 1 / -1;
  height: 1px;
  background: var(--faq-line-color);
}

.intern-faq-item__a,
.intern-faq-item p {
  grid-row: 3;
}

/* ===== Q / A バッジ ===== */
.intern-faq-item__q,
.intern-faq-item__a {
  grid-column: 1;
  /* align-self: center;  */
  display: grid;
  place-items: center;
  width: var(--faq-mark);
  height: var(--faq-mark);
  border-radius: 50%;
  font-size: 16px;
  font-weight: 900;
  line-height: 1;
}

.intern-faq-item__q {
  background: #005bac;
  color: #fff;
}

.intern-faq-item__a {
  background: #ffd600;
  color: #0b2d55;
}

/* ===== テキスト ===== */
.intern-faq-item h3,
.intern-faq-item p {
  grid-column: 2;
  margin: 0;
  overflow-wrap: anywhere;
  word-break: normal;
}

.intern-faq-item h3 {
  color: #0b2d55;
  font-size: var(--faq-q-size);
  font-weight: 800;
  line-height: var(--faq-q-lh);
}

.intern-faq-item p {
  color: #3a4a63;
  font-size: var(--faq-a-size);
  font-weight: 500;
  line-height: var(--faq-a-lh);
}

/* 2カラム時は質問を2行分の高さで固定し、A行の開始位置を揃える */
@media (min-width: 641px) {
  .intern-faq-item h3 {
    min-height: calc(var(--faq-q-size) * var(--faq-q-lh) * 2);
  }
}

/* ===== レスポンシブ ===== */
@media (max-width: 640px) {
  .intern-faq-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .intern-faq-item__body {
    --faq-mark: 30px;
    --faq-gap: 12px;
    padding: 24px 24px;
  }
}

@media (min-width: 641px) {
  .intern-faq-item h3 {
    min-height: calc(var(--faq-q-size) * var(--faq-q-lh) * 2);
    display: flex;
    align-items: center; /* min-height内でテキストを上下中央に */
  }
}

/* ============================================================
   13. MESSAGE（人事からのメッセージ）
   ============================================================ */

   .intern-message-band {
  display: grid;
  grid-template-columns: 380px 1fr;
  align-items: center;
  background: #fff;
  overflow: hidden;
}

.intern-message-photo {
  padding: 32px 0 32px 0px;
}

.intern-message-photo img {
  width: 100%;
  max-width: 380px;
  margin-inline: auto;
  aspect-ratio: 4 / 3; 
  object-fit: cover;
  object-position: 75% 50%; 
  border-radius: 12px;
  display: block;
  mask-composite: intersect;
}

/* ===== テキスト ===== */
.intern-message-copy {
  padding: 40px 72px;
}

.intern-message-copy .intern-eyebrow {
  text-align: left;
  margin-bottom: 10px;
}

.intern-message-title {
  margin: 0 0 8px;
  color: #0b2d55;
  font-size: clamp(20px, 2.5vw, 34px);
  font-weight: 900;
  letter-spacing: 0.05em;
}

.intern-message-text {
  margin: 24px 0;
  color: #0b2d55;
  font-size: 20px;
  font-weight: 500;
  line-height: 2.15;
  text-align: justify;
}

.intern-message-sign {
  margin: 0;
  color: #0b2d55;
  font-size: 21px;
  font-weight: 800;
}

/* ===== レスポンシブ ===== */
@media (max-width: 900px) {
  .intern-message-band {
    grid-template-columns: 1fr;
  }
  .intern-message-photo {
    padding: 24px 24px 0;
  }
  .intern-message-copy {
    padding: 28px 24px 36px;
  }
}

@media screen and (max-width: 768px) {
  .intern-message-band {
    grid-template-columns: 1fr;
  }

  .intern-message-band img {
    width: 85%; /* 横長写真なので広めに表示 */
    margin: 0 auto;
    display: block;
  }
}

/* ============================================================
   14. ENTRY（エントリー誘導）：左=写真 / 右=テキスト の2カラム
   ============================================================ */

.intern-entry {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: #0d4da1;
  padding: 0 0 32px; /* 上は写真、下だけ余白 */
}

.intern-entry-photo {
  position: relative;
  width: 100%;
  height: 440px;
  z-index: 1;
}

.intern-entry-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%; /* 顔が切れないよう上寄り */
  display: block;
}

.intern-entry-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    180deg,
    rgba(13, 77, 161, 0) 76%,
    rgba(13, 77, 161, 0.85) 98%,
    rgba(13, 77, 161, 1) 100%
  );
}

.intern-entry-inner {
  position: relative;
  z-index: 3;
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
  margin-top: 48px;
}

.intern-entry-content {
  max-width: 720px;
  margin-inline: auto;
  text-align: center;
}

.intern-entry .intern-eyebrow {
  color: #ffd600;
  text-align: center;
}

.intern-entry .intern-section-title {
  color: #fff;
  text-align: center;
  margin: 16px 0 20px;
  font-size: clamp(28px, 3.2vw, 64px);
  line-height: 1.5;
}

.intern-entry-content .intern-section-title::after {
  display: none;
}

.intern-entry-lead {
  margin: 0 0 40px;
  color: #dbe7f4;
  font-size: 24px;
  font-weight: 700;
  line-height: 2;
}

/* CTAボタン */
.intern-entry .intern-btn--yellow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #ffd600;
  color: #0b2d55;
  font-size: 20px;
  font-weight: 900;
  padding: 20px 48px;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 12px 30px rgba(4, 22, 48, 0.4);
}

/* ===== レスポンシブ ===== */
@media (max-width: 900px) {
  .intern-entry {
    padding: 0 0 56px;
  }
  .intern-entry-photo {
    height: 220px;
  }
  .intern-entry-inner {
    margin-top: 32px;
  }
}

/* ============================================================
   15. レスポンシブ（〜1024px タブレット）
   ============================================================ */
@media (max-width: 1024px) {
  .intern-overview-grid,
  .intern-requirement-grid,
  .intern-recommend-wrap,
  .intern-program-head,
  .intern-message-band {
    grid-template-columns: 1fr;
  }

  .intern-overview-copy {
    text-align: center;
  }
  .intern-overview-copy .intern-section-title::after {
    margin-inline: auto; /* 見出し下線も中央へ */
  }

  .intern-growth-flow,
  .intern-benefit-grid,
  .intern-faq-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .intern-growth-step:not(:last-child)::after {
    display: none;
  }

  .intern-requirement-grid,
  .intern-recommend-wrap {
    gap: 28px;
  }
  .intern-requirement-photo img {
    min-height: 300px;
  }
  .intern-recommend-photo img {
    min-height: 260px;
  }

  .intern-program-photo img {
    height: 100%;
  }

  .intern-feature-card {
    flex-direction: column;
  }
  .intern-feature-photo {
    flex: none;
    width: 100%;
    max-width: 480px; /* 縦に伸び過ぎないよう上限 */
    margin-inline: auto; /* 中央寄せ */
  }

  .intern-entry-content {
    margin-right: 0;
  }
}

.intern-requirement-photo img {
  min-height: 300px;
  margin-inline: auto;
}

/* ============================================================
   16. レスポンシブ（〜640px スマートフォン）
   ============================================================ */
@media (max-width: 640px) {
  .intern-container {
    width: min(100% - 32px, 1180px);
  }
  .intern-section {
    padding: 56px 0;
  }

  .intern-section-title,
  .intern-feature-card__title,
  .intern-flow-step h3,
  .intern-faq-item h3,
  .intern-benefit-card h3,
  .intern-ticket__item strong,
  .intern-ticket__item small,
  .intern-info-item strong,
  .intern-info-item p,
  .intern-requirement-head__title {
    word-break: auto-phrase;
    overflow-wrap: break-word;
  }

  /* ===== HERO（フォントは既存のまま。余白と行間のみ調整） ===== */
  .intern-hero__grid {
    width: 100%;
  }
  .intern-hero__title {
    font-size: 40px;
  }
  .intern-hero__hand {
    font-size: 22px;
  }
  .intern-hero__content {
    padding: 80px 20px;
  }
  .intern-hero__intro {
    line-height: 1.9;
  }

  /* ===== OVERVIEW ===== */
  .intern-overview-copy p {
    font-size: 16px;
  }
  .intern-growth-flow {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    padding: 24px 16px;
  }
  .intern-growth-step:not(:last-child)::after {
    display: none;
  }
  .intern-growth-step img {
    height: 84px;
  }
  .intern-growth-step strong {
    font-size: 18px;
  }
  .intern-growth-step small {
    font-size: 14px;
  }

  /* ===== REQUIREMENTS ===== */
  .intern-requirement-head__title {
    font-size: 28px;
  }
  .intern-requirement-row {
    padding: 18px 20px;
  }
  .intern-requirement-row__value p {
    font-size: 18px;
  }
  .intern-requirement-photo img {
    min-height: 0;
    height: auto;
  }

  /* ===== RECOMMENDED ===== */
  .intern-recommend-list {
    grid-template-columns: 1fr;
  }
  .intern-recommend-item {
    font-size: 16px;
  }
  .intern-recommend-photo img {
    min-height: 0;
  }

  /* ===== FEATURE ===== */
  .intern-feature-card {
    padding: 46px 20px 24px;
    gap: 18px;
  }
  .intern-feature-card__title {
    font-size: 20px;
  }
  .intern-feature-card p {
    font-size: 16px;
    line-height: 1.9;
  }
  .intern-feature-steps li {
    font-size: 14px;
    padding: 7px 14px 7px 7px;
  }

  /* ===== PROGRAM ===== */
  .intern-program {
    padding: 60px 0;
  }
  .intern-ticket__item {
    padding: 22px 20px;
  }
  .intern-ticket__time {
    font-size: 22px;
  }
  .intern-ticket__item strong {
    font-size: 18px;
  }
  .intern-ticket__item small {
    font-size: 16px;
  }

  /* ===== BENEFIT ===== */
  .intern-benefit-grid {
    grid-template-columns: 1fr;
  }
  .intern-benefits__lead {
    font-size: 16px;
    line-height: 2;
  }
  .intern-benefit-card img {
    height: 190px; /* スマホの写真ゾーン高さ */
  }
  .intern-benefit-card__content {
    padding: 22px 22px 26px;
  }
  .intern-benefit-card h3 {
    font-size: 21px;
  }
  .intern-benefit-card__sub {
    font-size: 16px;
  }
  .intern-benefit-card p {
    font-size: 16px;
  }

  /* ===== INFORMATION ===== */
  .intern-info-date__day {
    font-size: 22px;
  }
  .intern-info-item p {
    font-size: 16px;
  }

  /* ===== FLOW ===== */
  .intern-flow-step {
    min-width: 0; /* グリッド項目が枠内に収まるように */
    padding-left: 74px;
  }
  .intern-flow-step h3 {
    font-size: 18px;
  }
  .intern-flow-step p {
    font-size: 16px;
  }

  /* ===== FAQ ===== */
  .intern-faq-grid {
    grid-template-columns: 1fr;
  }
  .intern-faq-item h3 {
    font-size: 18px;
  }
  .intern-faq-item p {
    font-size: 16px;
  }

  /* ===== MESSAGE ===== */
  .intern-message-copy {
    padding: 24px 20px 32px;
  }
  .intern-message-text {
    font-size: 16px;
    line-height: 2;
    text-align: left; /* スマホ幅で justify だと字間が空くため左寄せ */
  }

  /* ===== ENTRY ===== */
  .intern-entry-content {
    padding: 0;
  }
  .intern-entry-lead {
    font-size: 16px;
    line-height: 1.9;
    margin-bottom: 28px;
  }

  /* ===== CTAボタン（狭い端末でも収まるよう調整） ===== */
  .intern-btn {
    font-size: 17px;
    padding: 0 28px;
    min-height: 52px;
  }
  .intern-entry .intern-btn--yellow {
    font-size: 17px;
    padding: 16px 28px;
  }
}

/* ============================================================
   17. レスポンシブ（〜380px 小型スマートフォン）
   ============================================================ */
@media (max-width: 380px) {
  .intern-hero__title {
    font-size: 34px;
  }
  .intern-hero__hand {
    font-size: 20px;
  }
  .intern-growth-step img {
    height: 72px;
  }
  .intern-btn,
  .intern-entry .intern-btn--yellow {
    font-size: 16px;
  }
}
