@charset "utf-8";
/* =================================================================
   シリコンバレーインターンシップ 共通スタイル
   対象：index.html / history.html / faq/index.html
   ※ 旧ページ（faq/20xx.html、voice/、female/、2011/）は import.css のまま
================================================================= */

:root {
  --blue: #1673e6;
  --blue-dark: #0d4fa8;
  --blue-deep: #0b2f63;
  --blue-tint: #eef4fb;
  --blue-band: rgba(22, 115, 230, 0.6); /* 青帯は 60% にして眩しさを抑える（文字は紺） */
  --blue-line: #d6e4f5;
  --white: #ffffff;
  --ink: #13233a;
  --ink-sub: #5a6b80;
  --accent-a: #e8531f;
  --shadow: 0 6px 24px rgba(13, 79, 168, 0.08), 0 1px 3px rgba(13, 79, 168, 0.06);
  --radius: 4px;
  --font-body: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  --font-head: "Zen Kaku Gothic New", "Noto Sans JP", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  --gutter: 16px;
  --max: 1040px;
  --measure: 800px;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: 0.03em;
}

img { max-width: 100%; height: auto; vertical-align: middle; border: 0; }

h1, h2, h3, p, ul, ol, dl, dd { margin: 0; padding: 0; }
ul { list-style: none; }

a { color: var(--blue); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--blue-dark); }
a:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 4px; }

/* ---------- site header / nav ---------- */
.site-header {
  background: var(--white);
  position: relative;
  z-index: 2;
}

.site-header__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 72px;
}

.site-name {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 18px;
  letter-spacing: 0.05em;
  color: var(--blue-deep);
  text-decoration: none;
  white-space: nowrap;
}
.site-name:hover { color: var(--blue); }

.global-nav ul { display: flex; gap: 6px; }

.global-nav a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0 20px;
  color: var(--ink);
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
  border-radius: 4px;
  transition: background-color 0.15s, color 0.15s;
}
.global-nav a:hover { background: var(--blue-tint); color: var(--blue-dark); }
.global-nav a[aria-current="page"] { background: var(--blue); color: var(--white); }

/* ---------- hero（青帯＋メイン画像） ---------- */
.hero {
  background: var(--blue-band);
  color: var(--blue-deep);
  padding: 40px var(--gutter) 88px;
}
.hero--sub { padding-bottom: 64px; }

.hero__inner {
  max-width: 960px;
  margin: 0 auto;
}

.hero h1 { line-height: 0; }
.hero h1 img {
  width: 100%;
  box-shadow: 0 16px 40px rgba(6, 34, 77, 0.35);
}

.hero__lead {
  max-width: var(--measure);
  margin: 36px auto 0;
  text-align: center;
  font-size: 17px;
  font-weight: 700;
  line-height: 2;
}

/* ---------- bands（セクション背景） ---------- */
.band {
  padding: 88px var(--gutter);
}
.band--tint { background: var(--blue-tint); }
.band--blue { background: var(--blue-band); }

.band__inner {
  max-width: var(--measure);
  margin: 0 auto;
}

/* 見出し */
.section-head {
  text-align: center;
  margin-bottom: 40px;
}
.section-head__en {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--blue);
}
.section-head h2 {
  margin-top: 6px;
  font-family: var(--font-head);
  font-size: 32px;
  font-weight: 900;
  line-height: 1.45;
  letter-spacing: 0.06em;
  color: var(--blue-deep);
  word-break: auto-phrase;
  text-wrap: balance;
}
.band--blue .section-head__en { color: var(--blue-deep); }

/* カード */
.card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 40px 48px;
}
.band:not(.band--tint):not(.band--blue) .card {
  box-shadow: none;
  border: 1px solid var(--blue-line);
}

.card p + p { margin-top: 1em; }

.center { text-align: center; }

.signature {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--blue-line);
  text-align: right;
  color: var(--ink-sub);
  font-size: 15px;
  line-height: 1.7;
}

/* 先頭に「・」が入っている箇条書き（文字はそのまま） */
.dot-list li {
  padding-left: 1em;
  text-indent: -1em;
}
.dot-list li + li {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px dashed var(--blue-line);
}

/* ---------- buttons ---------- */
.btn-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 56px;
  padding: 8px 10px 8px 32px;
  background: var(--blue);
  color: var(--white);
  font-weight: 700;
  text-decoration: none;
  border-radius: 4px;
  transition: background-color 0.15s;
}
.btn::after {
  content: "→";
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 2px;
  background: var(--white);
  color: var(--blue);
  font-weight: 700;
  line-height: 1;
}
.btn:hover { background: var(--blue-dark); color: var(--white); }

.btn--ghost {
  background: var(--white);
  color: var(--blue);
  box-shadow: inset 0 0 0 2px var(--blue);
}
.btn--ghost::after { background: var(--blue); color: var(--white); }
.btn--ghost:hover { background: var(--blue-tint); color: var(--blue-dark); }

/* ---------- contact ---------- */
/* メールアドレスはスパム対策で画像表示（画像の背景が白なので白地に置く） */
.mail-img { vertical-align: -0.1em; margin: 0 0.2em; }

.text-links {
  margin-top: 24px;
  text-align: center;
}
.text-links a { font-weight: 700; }
.text-links + .text-links { margin-top: 8px; }

.banners {
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--blue-line);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 16px;
}
.banners a { display: inline-block; line-height: 0; }
.banners a:hover img { opacity: 0.85; }

/* ---------- spec list（課題・参加者など） ---------- */
.spec {
  display: grid;
  grid-template-columns: 7em 1fr;
}
.spec dt,
.spec dd {
  padding: 10px 0;
  border-bottom: 1px solid var(--blue-line);
}
.spec dt { color: var(--blue); font-size: 14px; font-weight: 700; padding-top: 12px; }

/* ---------- history ---------- */
.year-list { display: grid; gap: 20px; }

.year {
  display: grid;
  grid-template-columns: 10em 1fr;
  gap: 0 32px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 32px 40px;
}

.year__title {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 900;
  line-height: 1.4;
  color: var(--blue);
}
.year__title span {
  display: block;
  margin-top: 4px;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink-sub);
}

.year__links { margin-top: 16px; }
.year__links li { padding-left: 1.3em; position: relative; }
.year__links li::before {
  content: "";
  position: absolute;
  left: 0.15em;
  top: 0.78em;
  width: 7px;
  height: 7px;
  border-top: 2px solid var(--blue);
  border-right: 2px solid var(--blue);
  transform: rotate(45deg);
}
.year__links li + li { margin-top: 4px; }

/* ---------- FAQ ---------- */
.qa-list { display: grid; gap: 16px; }

.qa {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px 36px;
}

.qa dt,
.qa dd {
  display: grid;
  grid-template-columns: 2.6em 1fr;
  align-items: start;
}
.qa dt { font-weight: 700; font-size: 17px; }
.qa dd {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px dashed var(--blue-line);
}

.qa__mark {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 2px;
  background: var(--blue);
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 16px;
  line-height: 1;
}
.qa dd .qa__mark {
  background: var(--white);
  color: var(--accent-a);
  box-shadow: inset 0 0 0 2px var(--accent-a);
}

/* ---------- footer ---------- */
.site-footer {
  background: var(--blue-deep);
  color: rgba(255, 255, 255, 0.75);
  font-size: 14px;
}
.band--blue + .site-footer { border-top: 1px solid rgba(255, 255, 255, 0.12); }
.site-footer__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 32px var(--gutter);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
}
.site-footer a { color: var(--white); }
.site-footer a:hover { color: var(--blue-line); }

/* ---------- responsive ---------- */
@media (max-width: 767px) {
  body { font-size: 15px; line-height: 1.85; }

  .site-header__inner {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    min-height: 0;
    padding-top: 12px;
    padding-bottom: 10px;
  }
  .site-name { text-align: center; font-size: 17px; }
  .global-nav ul { gap: 4px; }
  .global-nav li { flex: 1; }
  .global-nav a { justify-content: center; min-height: 44px; padding: 0 4px; }

  .hero { padding: 20px 12px 40px; }
  .hero__lead { margin-top: 24px; font-size: 15px; text-align: left; padding: 0 4px; }
  .hero--sub { padding-bottom: 40px; }

  .band { padding: 56px var(--gutter); }

  .section-head { margin-bottom: 28px; }
  .section-head h2 { font-size: 23px; }

  .card { padding: 24px 20px; }

  .btn { width: 100%; }

  .spec { grid-template-columns: 1fr; }
  .spec dt { padding: 12px 0 0; border-bottom: 0; }
  .spec dd { padding: 2px 0 12px; }

  .year { grid-template-columns: 1fr; padding: 24px 20px; }
  .year__title { margin-bottom: 12px; font-size: 20px; }
  .year__title span { display: inline; margin-left: 8px; }

  .qa { padding: 20px; }
  .qa dt { font-size: 16px; }
}
