:root {
  --navy: #14304f;
  --navy-soft: #1f4670;
  --ink: #1d2733;
  --muted: #5c6b7a;
  --line: #dde3ea;
  --bg: #ffffff;
  --bg-soft: #f4f7fa;
  --accent: #f2c230;
  --max: 1040px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Noto Sans JP", Meiryo, sans-serif;
  font-size: 16px;
  line-height: 1.9;
  -webkit-text-size-adjust: 100%;
}

a { color: var(--navy-soft); }
a:hover { color: var(--navy); }

.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- header ---------- */
.site-header {
  background: var(--navy);
  color: #fff;
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px 32px;
  flex-wrap: wrap;
  padding-top: 14px;
  padding-bottom: 14px;
}
.brand {
  color: #fff;
  text-decoration: none;
  line-height: 1.3;
}
.brand .en { display: block; font-size: 22px; font-weight: 700; letter-spacing: .02em; }
.brand .ja { display: block; font-size: 13px; opacity: .85; letter-spacing: .08em; }

.nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 6px;
}
.nav a {
  display: block;
  padding: 6px 12px;
  color: #fff;
  text-decoration: none;
  font-size: 15px;
  border-bottom: 2px solid transparent;
}
.nav a:hover { border-bottom-color: var(--accent); }
.nav a[aria-current="page"] { border-bottom-color: var(--accent); font-weight: 700; }

/* ---------- hero ---------- */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 420px;
}
.hero-image {
  background:
    url("img/hero.svg") center / cover no-repeat,
    linear-gradient(135deg, var(--navy) 0%, var(--navy-soft) 60%, #3a6ea5 100%);
  min-height: 260px;
}
.hero-body {
  background: var(--bg-soft);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 48px clamp(24px, 5vw, 64px);
}
.hero-body h1 {
  margin: 0 0 20px;
  font-size: clamp(19px, 1.9vw, 24px);
  line-height: 1.6;
  font-weight: 700;
  color: var(--navy);
  text-wrap: balance;
}
.hero-body h1 span {
  background: linear-gradient(to bottom, rgba(242, 194, 48, 0) 62%, var(--accent) 62%);
}
.hero-body p { margin: 0 0 28px; }

.btn {
  display: inline-block;
  align-self: flex-start;
  padding: 10px 28px;
  background: var(--navy);
  color: #fff;
  text-decoration: none;
  border-radius: 3px;
  font-size: 15px;
  letter-spacing: .04em;
}
.btn:hover { background: var(--navy-soft); color: #fff; }

/* ---------- sections ---------- */
main { display: block; }

.section { padding: 56px 0; }
.section.soft { background: var(--bg-soft); }

h2.title {
  margin: 0 0 24px;
  font-size: 24px;
  line-height: 1.4;
  color: var(--navy);
  padding-left: 14px;
  border-left: 5px solid var(--accent);
}
h3.sub {
  margin: 32px 0 10px;
  font-size: 19px;
  color: var(--navy);
}

.lead { font-style: italic; margin: 0 0 24px; }

.service-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.service-list li {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 18px 22px;
}
.service-list strong { display: block; color: var(--navy); margin-bottom: 2px; }

.contact-box {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 22px 26px;
  max-width: 560px;
}
.contact-box dl { margin: 0; display: grid; grid-template-columns: 5.5em 1fr; gap: 6px 12px; }
.contact-box dt { color: var(--muted); }
.contact-box dd { margin: 0; }

.social { margin: 18px 0 0; display: flex; gap: 10px; flex-wrap: wrap; }
.social a {
  display: inline-block;
  padding: 4px 14px;
  border: 1px solid var(--navy-soft);
  border-radius: 999px;
  font-size: 14px;
  text-decoration: none;
}
.social a:hover { background: var(--navy); color: #fff; border-color: var(--navy); }

/* ---------- tables / lists ---------- */
.timeline { list-style: none; margin: 0; padding: 0; border-left: 3px solid var(--line); }
.timeline li { position: relative; padding: 6px 0 6px 24px; }
.timeline li::before {
  content: "";
  position: absolute;
  left: -8px; top: 16px;
  width: 13px; height: 13px;
  border-radius: 50%;
  background: var(--accent);
  border: 2px solid var(--navy);
}
.timeline .date { display: inline-block; min-width: 10.5em; font-weight: 700; color: var(--navy); }

.profile { margin: 0; border-top: 1px solid var(--line); }
.profile .row { display: grid; grid-template-columns: 10em 1fr; gap: 12px; padding: 14px 4px; border-bottom: 1px solid var(--line); }
.profile dt { font-weight: 700; color: var(--navy); }
.profile dd { margin: 0; }
.profile dd small { display: block; color: var(--muted); }

.checklist { margin: 0; padding-left: 1.3em; }
.checklist li { margin-bottom: 8px; }

.note { color: var(--muted); font-size: 14px; }

/* ---------- footer ---------- */
.site-footer {
  background: var(--navy);
  color: #cfd9e5;
  padding: 22px 0;
  font-size: 13px;
  text-align: center;
}

/* ---------- mobile ---------- */
@media (max-width: 760px) {
  .hero { grid-template-columns: 1fr; }
  .hero-image { min-height: 200px; }
  .hero-body { padding: 32px 20px; }
  .hero-body h1 { font-size: clamp(14px, 4.4vw, 20px); }
  .section { padding: 40px 0; }
  .profile .row { grid-template-columns: 1fr; gap: 2px; }
  .contact-box dl { grid-template-columns: 1fr; }
  .contact-box dt { margin-top: 8px; }
  .timeline .date { display: block; min-width: 0; }
}

/* ---------- logo (名刺のロゴを文字で再現) ---------- */
:root { --card-blue: #1f3a68; --card-sky: #7fb2e5; }

.brand { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }

.logo {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: flex-end;
  font-family: "Avenir Next", "Helvetica Neue", "Segoe UI", "Hiragino Sans", Arial, sans-serif;
  font-weight: 300;
  color: #fff;
  line-height: 1;
  letter-spacing: .01em;
  text-shadow: 0 1px 8px rgba(15, 30, 60, .35);
}
.logo-a { font-size: 34px; }
.logo-rest { font-size: 25px; }
.logo-co { font-size: 11px; margin-left: 6px; letter-spacing: .06em; opacity: .9; }

.brand .ja { font-size: 13px; opacity: .85; letter-spacing: .08em; }

.logo.xl { position: relative; display: block; text-align: center; }
.logo.xl .logo-a { font-size: clamp(64px, 8vw, 96px); font-weight: 200; }
.logo.xl .logo-rest { font-size: clamp(48px, 6vw, 72px); font-weight: 200; }
.logo.xl .logo-co {
  display: block;
  margin: 2px 0 0 0;
  padding-right: 18%;
  text-align: right;
  font-size: clamp(14px, 1.5vw, 18px);
}

.hero-image.hero-logo {
  background: url("img/hero.svg") center / cover no-repeat, var(--card-blue);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  padding: 32px 20px;
}
.hero-logo .tag { margin: 0; color: #e3effb; text-shadow: 0 1px 6px rgba(15, 30, 60, .55); font-size: clamp(13px, 1.3vw, 16px); letter-spacing: .08em; }
.hero-logo .tag span { margin: 0 .9em; }

.mail-btn { margin: 22px 0 0; }

/* ---------- 埋め込み（YouTube / Spotify） ---------- */
.embed { max-width: 720px; margin: 8px 0 10px; border-radius: 6px; overflow: hidden; background: #000; }
.embed iframe { display: block; width: 100%; border: 0; }
.embed.video { aspect-ratio: 16 / 9; }
.embed.video iframe { height: 100%; }
.embed.audio { background: transparent; }
.embed.audio iframe { height: 152px; border-radius: 12px; }
