/* ------------------------------------------------------------
   Design tokens（PDF実測値）
   ------------------------------------------------------------ */
:root {
  --yellow: #F5E68A;
  --navy: #37537D;
  --navy-deep: #3A5583;
  --gray-label: #C2C3C0;
  --gray-wave: #DFE4DF;
  --gray-circle: #ABABAA;
  --line-gold: #B0AB51;
  --line-blue: #395C97;
  --text: #111;
  --text-sub: #606060;
  --white: #fff;

  --font-en: "Oswald", "DIN Condensed", "Arial Narrow", sans-serif;
  --font-ja: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Noto Sans JP", sans-serif;

  --container: 1000px;
  --gutter: 24px;
}

/* ------------------------------------------------------------
   Base
   ------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-ja);
  font-size: 15px;
  line-height: 2;
  color: var(--text);
  background: var(--white);
  font-feature-settings: "palt";
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
svg { display: block; }
.hero__boat { fill: currentColor; }
.pc-only { display: none; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section {
  position: relative;
  overflow: hidden;
}

/* 右上の大きい英字ラベル */
.section__label {
  position: absolute;
  top: 12px;
  left: 16px;
  font-family: var(--font-en);
  font-weight: 500;
  font-size: clamp(44px, 11vw, 96px);
  line-height: 1;
  color: var(--gray-label);
  letter-spacing: -0.01em;
  white-space: nowrap;
  pointer-events: none;
  z-index: 0;
}
.section__label--white { color: var(--white); }

.h-ja {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.6;
  margin-bottom: 12px;
}
.h-en {
  font-family: var(--font-en);
  font-weight: 500;
  font-size: 18px;
  letter-spacing: 0.02em;
  color: var(--navy);
  line-height: 1.4;
  margin-bottom: 10px;
}

/* ------------------------------------------------------------
   Waves
   ------------------------------------------------------------ */
.wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  width: 100%;
  height: 90px;
  z-index: 1;
  pointer-events: none;
}
.wave-fill { fill: var(--wave-fill, var(--gray-wave)); }
.wave-gold, .wave-blue {
  fill: none;
  stroke-width: 1.4;
  vector-effect: non-scaling-stroke;
  stroke-linecap: round;
}
.wave-gold { stroke: var(--line-gold); }
.wave-blue { stroke: var(--line-blue); }

/* ------------------------------------------------------------
   1. Hero
   ------------------------------------------------------------ */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--yellow);
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px var(--gutter) 140px;
}
.hero__inner { position: relative; top: -20px; z-index: 2; }
.hero__kicker {
  font-family: var(--font-en);
  font-weight: 600;
  font-size: clamp(72px, 24vw, 150px);
  line-height: 1.02;
  letter-spacing: -0.01em;
  color: var(--navy-deep);
  margin-bottom: 96px;
}
.hero__name {
  font-size: 34px;
  font-weight: 400;
  letter-spacing: 0.12em;
  line-height: 1.3;
  margin-bottom: 36px;
}
.hero__title {
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 0.1em;
  line-height: 1.6;
}
.hero__sub {
  font-size: 17px;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1.6;
  margin-top: 4px;
  margin-bottom: 56px;
}
.personal__ig-lead {
  margin-top: 44px;
  font-size: 15px;
  letter-spacing: 0.06em;
  line-height: 1.8;
}
.personal__ig {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  color: var(--navy);
  font-family: var(--font-en);
  font-weight: 500;
  font-size: 17px;
  letter-spacing: 0.04em;
  line-height: 1;
}
.personal__ig-glyph { width: 30px; height: 30px; fill: currentColor; }
.personal__ig:hover span { text-decoration: underline; }
.profile .container { text-align: center; }
.hero__boat {
  position: absolute;
  right: -30px;
  bottom: 70px;
  width: 200px;
  height: auto;
  aspect-ratio: 272 / 214;
  color: var(--white);
  opacity: 0.85;
  z-index: 1;
}
.wave--hero { --wave-fill: #fff; }

/* ------------------------------------------------------------
   2. Introduction
   ------------------------------------------------------------ */
.intro {
  padding: 120px 0 100px;
  background: var(--white);
}
.intro .container { position: relative; z-index: 2; }

.tagbox {
  position: relative;
  border: 1px solid var(--navy);
  padding: 28px 20px 18px;
  margin-top: 18px;
  margin-left: 18px;
  margin-bottom: 40px;
  background: var(--white);
}
.tagbox__tag {
  position: absolute;
  top: -18px;
  left: -19px;
  display: inline-block;
  background: var(--navy);
  color: var(--white);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1;
  padding: 10px 16px 10px 14px;
}
.tagbox__lead {
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 0.06em;
  line-height: 1.7;
}
.intro__body p {
  letter-spacing: 0.06em;
  line-height: 2.2;
}
.intro__body p + p { margin-top: 1.6em; }


/* ------------------------------------------------------------
   3. Profile
   ------------------------------------------------------------ */
.profile { padding: 110px 0 100px; }
.profile__grid { position: relative; z-index: 2; }
.profile__grid {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  gap: 24px;
}
.profile__card {
  background: var(--yellow);
  padding: 56px 18px 48px;
  text-align: center;
}
.profile__name {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  margin-bottom: 28px;
}
.profile__name-ja { font-size: 28px; font-weight: 400; letter-spacing: 0.2em; line-height: 1.3; }
.profile__name-en { font-weight: 300; font-size: 13px; letter-spacing: 0.1em; }
.profile__role {
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0.06em;
  line-height: 1.8;
  margin-bottom: 28px;
}
.profile__facts li {
  font-size: 15px;
  color: #445A61;
  letter-spacing: 0.03em;
  line-height: 2.4;
}
.profile__detail { padding-top: 8px; }
.pbox {
  background: #EEF1F1;
  padding: 20px 18px 22px;
}
.pbox + .pbox { margin-top: 24px; }
.pbox--yellow { background: var(--yellow); }
.pbox .h-ja { font-size: 20px; letter-spacing: 0.02em; color: var(--navy); margin-bottom: 14px; }

/* ストレングスファインダー: チップ横並び */
.strengths { display: flex; flex-wrap: wrap; gap: 8px; }
.strengths li {
  background: var(--white);
  padding: 9px 12px 8px;
  font-size: 15px;
  letter-spacing: 0.04em;
  line-height: 1;
  color: var(--text);
  font-feature-settings: normal;
}
.strengths li span {
  display: inline-block;
  width: 1.55em;
  font-family: var(--font-en);
  font-weight: 500;
  color: var(--navy);
  margin-right: 6px;
}

/* コト・モノ: 見出し＋補足の2段 */
.things li { line-height: 1.7; }
.things li + li { margin-top: 14px; }
.things--boxed { display: flex; flex-wrap: wrap; gap: 10px 8px; }
.things--boxed li {
  background: var(--white);
  padding: 9px 12px 8px;
  width: 100%;
}
.things--boxed li + li { margin-top: 0; }
/* 補足のない3項目: フィルムカメラは固定幅で中央揃え、残りは文字幅に合わせる */
.things--boxed li:nth-child(3) { width: 140px; text-align: center; }
.things--boxed li:nth-child(n+4) { width: auto; }
.things li b {
  display: block;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--text);
}
.things li small {
  display: block;
  font-size: 15px;
  letter-spacing: 0.06em;
  color: var(--text);
}

/* ------------------------------------------------------------
   4. Biography & Skill
   ------------------------------------------------------------ */
.bio { padding: 110px 0 100px; }
.bio .container { position: relative; z-index: 2; }

/* timeline: mobile = vertical */
.tl {
  position: relative;
  padding-left: 34px;
  padding-bottom: 28px;
  margin: 24px 0 0;
}
.tl::before {
  content: "";
  position: absolute;
  left: 9px;
  top: -20px;
  bottom: 10px;
  width: 4px;
  background: var(--navy);
  border-radius: 0;
}
/* 線の終端の矢印（山形・鋭角） */
.tl::after {
  content: "";
  position: absolute;
  left: -3px;
  bottom: 2px;
  width: 28px;
  height: 34px;
  background: var(--navy);
  clip-path: polygon(0 0, 14px 34px, 28px 0, 23.67px 0, 14px 23.5px, 4.33px 0);
}
.tl__item { position: relative; padding-bottom: 36px; }
.tl__item:last-child { padding-bottom: 0; }
.tl__item::before {
  content: "";
  position: absolute;
  left: -34px;
  top: 8px;
  width: 22px;
  height: 22px;
  background: var(--navy);
  border-radius: 50%;
}
.tl__cap {
  display: inline-block;
  border: 1px solid var(--text);
  box-shadow: 4px 4px 0 var(--gray-label);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1;
  padding: 10px 15px;
  margin-bottom: 15px;
  background: var(--white);
}
.tl__date, .tl__text { padding-left: 16px; }
.tl__date {
  font-family: var(--font-ja);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.06em;
  line-height: 1.6;
}
.tl__text {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.06em;
  line-height: 1.9;
}
.tl__line { display: none; }

/* ------------------------------------------------------------
   5. Skill
   ------------------------------------------------------------ */
.skill { padding: 110px 0 100px; }
.skill .container { position: relative; z-index: 2; }
.tools { display: grid; gap: 24px; }
.tools__group {
  border: 1px solid var(--navy);
  padding: 20px 18px 22px;
}
.tools__group .h-en {
  font-size: 24px;
  letter-spacing: 0.02em;
  margin-bottom: 14px;
}
.badges { display: flex; flex-wrap: wrap; gap: 8px; }
.badge {
  display: inline-block;
  font-family: var(--font-ja);
  font-weight: 400;
  font-size: 15px;
  letter-spacing: 0.04em;
  line-height: 1;
  padding: 9px 12px 8px;
  background: #F0F2F2;
}
/* 座布団は共通、文字色だけ各アプリのブランド色（淡い地で読める濃さに調整） */
.badge--avid    { color: #6B2CD1; }
.badge--fcp     { color: #2B3E57; }
.badge--pr      { color: #4E4EBA; }
.badge--resolve { color: #3A3A3A; }
.badge--ai      { color: #D97A00; }
.badge--ps      { color: #1A78C2; }
.badge--id      { color: #D9245A; }
.badge--canva   { color: #009BA1; }
.badge--ppt     { color: #B7472A; }
.badge--xls     { color: #217346; }
.badge--word    { color: #2B579A; }
.badge--wp      { color: #21759B; }

/* ------------------------------------------------------------
   5. Works
   ------------------------------------------------------------ */
.works { padding: 110px 0 100px; }
.works .container { position: relative; z-index: 2; }
.works__grid {
  display: grid;
  gap: 24px;
}
.work {
  background: var(--yellow);
  padding: 22px 18px 24px;
}
/* 見出し: 日本語と英字を同格で横並び */
.work__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--navy);
  margin-bottom: 16px;
}
.work__title {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.4;
  color: var(--navy);
}
.work__en {
  font-family: var(--font-en);
  font-weight: 500;
  font-size: 20px;
  line-height: 1.2;
  letter-spacing: 0.02em;
  color: var(--navy);
}
/* 案件名＋役割バッジ: 項目ごとに白い座布団でくくる */
.work__list li {
  background: rgba(255, 255, 255, 0.85); /* Heroの船と同じ「白85%」 */
  padding: 10px 12px 11px;
}
.work__list li + li { margin-top: 8px; }
.work__name {
  display: block;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.7;
}
.work__roles { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.tag-role {
  display: inline-block;
  border: 1px solid var(--navy);
  color: var(--navy);
  background: var(--white);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1;
  padding: 5px 8px 4px;
}

/* 個人プロジェクト: 白地＋ネイビー枠 */
.work--personal {
  margin-top: 24px;
  background: var(--white);
  border: 1px solid var(--navy);
  padding: 22px 18px 24px;
}
.work--personal { text-align: center; }
.work--personal .work__head, .work--personal .work__list { text-align: left; }
.work__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  padding: 12px 22px 12px 26px;
  border-radius: 999px;
  background: #6F88AD; /* 薄いネイビー */
  color: var(--white);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.06em;
  line-height: 1;
}
.work__link svg { width: 16px; height: 16px; }
.work__link:hover { background: var(--navy); }

/* ------------------------------------------------------------
   Footer
   ------------------------------------------------------------ */
.footer {
  background: var(--navy);
  color: var(--white);
  text-align: center;
  padding: 18px var(--gutter);
  font-size: 13px;
  letter-spacing: 0.1em;
}

/* ============================================================
   PC
   ============================================================ */
@media (min-width: 768px) {
  body { font-size: 16px; }
  .pc-only { display: inline; }
  :root { --gutter: 40px; }

  .section__label { top: 24px; left: 40px; }

  /* Hero */
  .hero { padding: 120px var(--gutter) 160px; }
  .hero__name { font-size: 44px; }
  .hero__title { font-size: 26px; }
  .hero__sub { font-size: 22px; }
  .hero__boat { width: 300px; right: 6%; bottom: 90px; }

  /* Introduction */
  .intro { padding: 170px 0 140px; }
  .tagbox { max-width: 740px; padding: 34px 28px 22px; margin-left: 24px; }
  .tagbox__tag { font-size: 17px; padding: 12px 22px 12px 18px; top: -21px; left: -25px; }
  .tagbox__lead { font-size: 21px; white-space: nowrap; }
  .intro__body { max-width: 760px; padding-left: 20px; }
  .intro__body p { line-height: 2.4; }

  /* Profile */
  .profile { padding: 150px 0 140px; }
  /* 黄枠(左)とストレングス(右上)を同じ行に置いて高さを揃える */
  .profile__grid { grid-template-columns: 5fr 6fr; gap: 24px 32px; align-items: stretch; }
  .profile__detail { display: contents; }
  .pbox--yellow { grid-column: 1; grid-row: 1; }
  .profile__detail .pbox:nth-child(1) { grid-column: 2; grid-row: 1; margin-top: 0; }
  .profile__detail .pbox:nth-child(2) { grid-column: 1 / -1; grid-row: 2; margin-top: 0; }
  .things--boxed li:nth-child(-n+2) { width: calc(50% - 4px); }

  /* Biography: horizontal timeline */
  .bio { padding: 160px 0 140px; }
  .tl {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: auto 64px auto;
    column-gap: 12px;
    padding-left: 0;
    margin: 40px -20px 0;
  }
  .tl__cap { white-space: nowrap; font-size: 12.5px; padding: 8px 12px; border-width: 1px; box-shadow: 3px 3px 0 var(--gray-label); margin-bottom: 12px; }
  .tl__date, .tl__text { font-size: 13.5px; letter-spacing: 0.04em; white-space: nowrap; }
  .tl::before, .tl::after { display: none; }
  .tl { padding-bottom: 0; }
  .tl__date, .tl__text { padding-left: 16px; }
  .tl__item { padding-bottom: 0; padding-left: 13px; } /* 丸(26px)の中心から始める */
  .tl__item::before { display: none; }
  .tl__item:nth-child(1) { grid-column: 1; }
  .tl__item:nth-child(2) { grid-column: 2; }
  .tl__item:nth-child(3) { grid-column: 3; }
  .tl__item:nth-child(4) { grid-column: 4; }
  .tl__item--above { grid-row: 1; align-self: start; display: flex; flex-direction: column; }
  .tl__item--below { grid-row: 3; align-self: start; display: flex; flex-direction: column; }
  /* SPと同じ順: キャプション → 日付 → 本文 */
  .tl__item .tl__cap { align-self: flex-start; }

  .tl__line {
    display: grid;
    grid-column: 1 / -1;
    grid-row: 2;
    grid-template-columns: repeat(4, 1fr);
    column-gap: 12px;
    position: relative;
    align-items: center;
  }
  .tl__line::before {
    content: "";
    position: absolute;
    left: -24px;
    right: 40px;
    top: 50%;
    height: 4px;
    margin-top: -2px;
    background: var(--navy);
  }
  .tl__line::after {
    /* 線の終端の矢印（SPと同じ山形・4px） */
    content: "";
    position: absolute;
    right: 8px;
    top: 50%;
    width: 34px;
    height: 28px;
    margin-top: -14px;
    background: var(--navy);
    clip-path: polygon(0 0, 34px 14px, 0 28px, 0 23.67px, 23.5px 14px, 0 4.33px);
  }
  .tl__line i {
    position: relative;
    justify-self: start;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--navy);
  }

  .skill { padding: 160px 0 140px; }
  .tools { grid-template-columns: repeat(3, 1fr); gap: 32px; }

  /* Works */
  .works { padding: 160px 0 140px; }
  .works__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .work { padding: 26px 24px 28px; }
  .work__list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .work__list li + li { margin-top: 0; }
  .work--personal .work__list { grid-template-columns: 1fr; }
  .work--personal { margin-top: 28px; padding: 26px 24px 28px; }

}

