/* 共通ヘッダー */
.topbar {
  height: 92px;
  background: #fff;
  border-bottom: 1px solid #e6e6e6;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 0 18px;
  position: sticky;
  top: 0;
  z-index: 10;
  overflow: hidden;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: #0d5aa5;
}

.brand-mark {
  width: 64px;
  height: 64px;
  display: block;
}

.brand-text {
  display: none;
}

.topnav {
  display: flex;
  gap: 22px;
  font-size: 14px;
}

.topnav a {
  color: #222;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  height: 92px;
  padding: 0 14px;
}

.topnav a.active {
  color: #fff;
}

.topnav a[data-category="recommendation"].active {
  background: #9fcd66;
}

.topnav a[data-category="column"].active {
  background: #f1c54b;
}

.topnav a[data-category="life sharing"].active {
  background: #d84b4b;
}

.topnav a[data-category="news"].active {
  background: #f39a3a;
}

.top-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}

.menu-btn {
  border: 1px solid #e6e6e6;
  background: #f4f4f4;
  padding: 8px 12px;
  font-size: 13px;
  border-radius: 2px;
}

.search {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  flex: 1 1 220px;
  border: 1px solid #e6e6e6;
  padding: 6px 10px;
  border-radius: 2px;
  color: #999;
}

.search input {
  border: 0;
  outline: none;
  min-width: 0;
  width: 100%;
  font-size: 13px;
}

.mypage {
  background: #3c3c3c;
  color: #fff;
  border: 0;
  width: 42px;
  min-width: 42px;
  height: 38px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  line-height: 1;
  border-radius: 2px;
}

@media (max-width: 980px) {
  .topnav {
    display: none;
  }

  .topbar {
    grid-template-columns: auto 1fr;
  }
}

@media (max-width: 680px) {
  .topbar {
    height: auto;
    grid-template-columns: auto 1fr auto;
    gap: 8px;
    padding: 8px 10px;
  }

  .top-actions {
    gap: 8px;
    min-width: 0;
  }

  .search {
    display: flex;
    min-width: 0;
    flex: 1 1 auto;
    padding: 5px 8px;
    gap: 6px;
  }

  .search input {
    min-width: 0;
    width: 100%;
    font-size: 12px;
  }

  .mypage {
    width: 36px;
    min-width: 36px;
    height: 34px;
    padding: 0;
    font-size: 14px;
    white-space: nowrap;
  }
}

/* 基本設定 */
:root {
  --line: #d8d8d8;
  --text: #1e1e1e;
  --muted: #697386;
  --brand: #0f6fbf;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Noto Sans JP", sans-serif;
  color: var(--text);
  background: #fff;
}

.topbar {
  height: 44px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 10px;
}

.brand {
  color: #0f5ea4;
  text-decoration: none;
  font-weight: 800;
  font-size: 26px;
  line-height: 1;
}

.mypage {
  text-decoration: none;
  background: #2c2c2c;
  color: #fff;
  font-size: 11px;
  padding: 6px 10px;
}

/* 記事詳細の基本レイアウト */
.article-wrap {
  width: min(1200px, 100%);
  margin: 0 auto;
  padding: 12px 8px 48px;
}

.status {
  margin: 0;
  font-size: 12px;
  color: var(--muted);
}

.article {
  margin-top: 8px;
}

.article h1 {
  margin: 0;
  font-size: 40px;
  line-height: 1.2;
  font-weight: 700;
  color: #79bfe9;
}

.meta {
  margin-top: 8px;
  color: #2f5e8f;
  font-size: 13px;
}

.lead {
  margin: 18px 0;
  font-size: 17px;
  line-height: 1.9;
}

.body p {
  margin: 0 0 18px;
  font-size: 16px;
  line-height: 1.95;
}

.article a,
.article a:visited {
  color: #79bfe9;
}

.article a:hover,
.article a:active {
  color: #67b4e4;
}

.md-italic {
  font-style: italic;
}

.body .body-boxed-note {
  background: transparent;
  border: 1px solid #d7d7d7;
  border-radius: 6px;
  padding: 10px 12px;
  color: #4aa3df;
  font-size: 18px;
  margin: 0 0 18px;
}

.body .body-aside-note {
  font-size: 12px;
  color: #888;
  margin-top: 8px;
  text-align: center;
}

/* 記事本文内の写真 */
.inline-photo {
  margin: 14px 0 22px;
  height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
}

.inline-photo img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: center;
  display: block;
  border: 0;
}

.inline-photo-block {
  display: table;
  max-width: 100%;
  margin: 14px auto 22px;
}

.inline-photo-block .inline-photo {
  margin: 0;
}

.body .inline-photo-caption {
  font-size: 12px;
  color: #888;
  margin-top: 8px;
  text-align: right;
}

.body .inline-photo-caption.is-multiline {
  text-align: center;
}

.photo-placeholder {
  margin: 14px 0 22px;
  padding: 12px;
  border: 1px dashed #9cb5cf;
  color: #2f5e8f;
  background: #f4f8fd;
  font-size: 13px;
}

.gallery {
  margin-top: 16px;
  display: grid;
  gap: 24px;
}

.gallery img {
  width: 100%;
  display: block;
  border: 1px solid #e8e8e8;
}


.back-link {
  display: inline-block;
  margin-top: 8px;
  color: #0b63b3;
}

@media (max-width: 680px) {
  .article h1 {
    font-size: 31px;
  }

  .lead,
  .body p {
    font-size: 15px;
    line-height: 1.8;
  }

  .inline-photo {
    height: 320px;
  }

  .life-sharing .inline-photo {
    height: auto;
  }

  .life-sharing .inline-photo img {
    max-height: 320px;
  }

  .brand {
    font-size: 16px;
  }
}

/* 共通フッター */
.footer {
  background: var(--brand);
  color: #fff;
  padding: 48px 18px 28px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 28px;
  align-items: start;
  max-width: 1100px;
  margin: 0 auto;
}

.footer-brand .brand-jp {
  font-size: 44px;
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: 0.02em;
}

.footer-brand .brand-en {
  margin-top: 6px;
  font-size: 12px;
  letter-spacing: 0.18em;
}


.footer-brand-link {
  display: inline-block;
  line-height: 0;
}

.footer-logo2 {
  width: 220px;
  max-width: 100%;
  height: auto;
  display: block;
}
.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(140px, 1fr));
  gap: 20px 24px;
}

.footer-col {
  display: grid;
  gap: 10px;
}

.footer a {
  color: #d7e8ff;
  text-decoration: none;
  font-size: 13px;
}

.footer-meta {
  max-width: 1100px;
  margin: 26px auto 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: 12px;
  color: #cfe2ff;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

@media (max-width: 900px) {
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-cols {
    grid-template-columns: repeat(2, minmax(140px, 1fr));
  }
}

@media (max-width: 560px) {
  .footer-cols {
    grid-template-columns: 1fr;
  }
}


/* aboutページ */
.about {
  width: min(1200px, 100%);
  margin: 0 auto;
  padding: 18px 10px 60px;
}

.hero-title {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 8px;
}

.hero-actions {
  display: flex;
  gap: 8px;
  margin-bottom: 18px;
}

.share {
  width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #cbd6e2;
  color: #4a5b6a;
  text-decoration: none;
  border-radius: 50%;
  font-size: 12px;
}

.hero-visual {
  display: grid;
  place-items: center;
  justify-items: center;
  margin: 18px 0 24px;
  text-align: center;
}

.hero-plate {
  width: min(520px, 100%);
  aspect-ratio: 4 / 3;
  background: #1a237e;
  border-radius: 10px;
  position: relative;
  display: grid;
  place-items: center;
}

.spotlight {
  width: 90px;
  height: 160px;
  background: rgba(255, 255, 255, 0.2);
  position: absolute;
  top: 10%;
  left: 35%;
  transform: skewX(-8deg);
}

.spotlight.s2 {
  left: 50%;
}

.spotlight.s3 {
  left: 65%;
}

.hero-chara {
  width: 90px;
  height: 90px;
  background: #fff;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 28px;
}

.about-body p {
  font-size: 15px;
  line-height: 1.9;
  margin-bottom: 16px;
}

.about-links {
  display: grid;
  gap: 16px;
  margin: 24px 0;
}

.about-link h3 {
  font-size: 16px;
  margin: 0 0 6px;
  color: #1b64b2;
}

.about-link p {
  margin: 0;
  font-size: 14px;
  color: #3d4b59;
}

.about-section h2 {
  font-size: 20px;
  margin: 28px 0 10px;
}

.about-section p {
  font-size: 15px;
  line-height: 1.9;
}

.about-chart {
  margin: 30px 0;
}

.about-chart h3 {
  font-size: 16px;
  color: #1b64b2;
  margin-bottom: 10px;
}

.chart-card {
  height: 220px;
  border-radius: 12px;
  background: linear-gradient(90deg, #2a7dbf, #1149c0);
  color: #fff;
  display: grid;
  place-items: center;
  margin-bottom: 12px;
}

@media (max-width: 700px) {
  .hero-title {
    font-size: 20px;
  }
}

.hero-image {
  width: 100%;
  max-width: 640px;
  display: block;
  margin: 0 auto;
}

.chart-image {
  width: 100%;
  max-width: 640px;
  display: block;
  margin: 0 auto 12px;
}

/* 記事内目次 */
.toc {
  border: 1px solid #e3e7ee;
  background: #f7f9fc;
  padding: 14px 16px;
  border-radius: 6px;
  margin: 16px 0 22px;
}

.toc-title {
  font-weight: 700;
  font-size: 13px;
  margin-bottom: 8px;
}

.toc ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 6px;
}

.toc li.h2 a {
  font-weight: 600;
}

.toc li.h3 {
  padding-left: 12px;
}

.toc a {
  color: #1b64b2;
  text-decoration: none;
  font-size: 13px;
}

/* 共同発起人ページ */
.cofounders {
  padding: 18px 8px 40px;
}

.cofounders h1 {
  font-size: 26px;
  margin-bottom: 18px;
}

.founder {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 18px;
  padding: 16px 0;
  border-bottom: 1px solid #e6e6e6;
}

.founder-photo {
  width: 100%;
  max-width: 110px;
  border-radius: 2px;
  object-fit: cover;
}

.founder-body h2 {
  margin: 0 0 6px;
  font-size: 20px;
}

.founder-role {
  margin: 4px 0;
  font-size: 13px;
  font-weight: 600;
}

.founder-text {
  margin: 8px 0;
  font-size: 14px;
  line-height: 1.8;
}

.founder-links {
  margin: 4px 0 8px;
  font-size: 12px;
  color: #1b64b2;
}

.founder-links.list a {
  display: inline-block;
  margin-right: 12px;
  color: #1b64b2;
  text-decoration: none;
}

@media (max-width: 700px) {
  .founder {
    grid-template-columns: 1fr;
  }

  .founder-photo {
    max-width: 140px;
  }
}

/* サポーターページ */
.supporters {
  padding: 18px 8px 40px;
}

.supporters h1 {
  font-size: 26px;
  margin-bottom: 16px;
}

.supporter-list {
  display: grid;
  gap: 18px;
}

.supporter {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid #e6e6e6;
}

.supporter-photo {
  width: 100%;
  max-width: 110px;
  border-radius: 2px;
  object-fit: cover;
}

.supporter-body h2 {
  margin: 0 0 6px;
  font-size: 16px;
}

.supporter-links {
  margin: 4px 0 8px;
  font-size: 12px;
  color: #1b64b2;
}

.supporter-links a {
  margin-right: 10px;
  color: #1b64b2;
  text-decoration: none;
}

.supporter-bio {
  margin: 0;
  font-size: 14px;
  line-height: 1.8;
}

@media (max-width: 700px) {
  .supporter {
    grid-template-columns: 1fr;
  }
  .supporter-photo {
    max-width: 140px;
  }
}

/* メンタリングページ */
.mentoring {
  padding: 18px 8px 40px;
}

.mentoring h1 {
  font-size: 26px;
  margin-bottom: 14px;
}

.mentoring-hero img {
  width: 100%;
  max-width: 640px;
  display: block;
  margin: 10px 0 18px;
  border-radius: 4px;
}

.mentoring-link {
  margin: 6px 0 18px;
  font-weight: 600;
}

.mentoring ul {
  padding-left: 18px;
}

.mentoring li {
  margin-bottom: 6px;
}

.mentoring blockquote {
  margin: 16px 0;
  padding: 12px 14px;
  background: #f6f8fb;
  border-left: 4px solid #1b64b2;
  font-size: 14px;
  line-height: 1.8;
}

.mentoring h2 {
  margin-top: 22px;
}

/* メンティー感想ページ */
.mentees {
  padding: 18px 8px 40px;
}

.mentees h1 {
  font-size: 24px;
  margin-bottom: 20px;
}

.mentee-card {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 20px;
  padding: 16px;
  border: 1px solid #ececec;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.06);
  margin-bottom: 22px;
}

.mentee-card.reverse {
  grid-template-columns: 1fr 120px;
}

.mentee-card.reverse .mentee-photo {
  order: 2;
}

.mentee-photo {
  width: 88px;
  height: 88px;
  border-radius: 12px;
  object-fit: cover;
  justify-self: center;
}

.mentee-body h2 {
  margin: 0 0 8px;
  font-size: 15px;
}

.mentee-body p {
  margin: 6px 0;
  font-size: 13px;
  line-height: 1.8;
}

@media (max-width: 760px) {
  .mentee-card,
  .mentee-card.reverse {
    grid-template-columns: 1fr;
  }

  .mentee-photo {
    justify-self: start;
  }
}

/* 利用規約ページ */
.terms {
  padding: 18px 8px 40px;
}

.terms h1 {
  font-size: 24px;
  margin-bottom: 16px;
}

.terms h2 {
  margin-top: 22px;
  font-size: 16px;
}

.terms p,
.terms li {
  font-size: 13px;
  line-height: 1.9;
}

.terms ol {
  padding-left: 18px;
}


/* ニュース記事のサイドバー */
.news-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 28px;
  align-items: start;
}

.news-sidebar {
  padding: 8px 0;
}

.news-sidebar h2 {
  font-size: 16px;
  margin: 0 0 12px;
}

.news-list {
  list-style: disc;
  padding-left: 18px;
  margin: 0;
}

.news-list li {
  margin: 0 0 10px;
  line-height: 1.5;
}

.news-list a {
  color: #1359a7;
  text-decoration: none;
}

.news-list li.active a {
  color: #0f4a8a;
  font-weight: 700;
  text-decoration: underline;
}

.news-list a:hover {
  text-decoration: underline;
}

@media (max-width: 980px) {
  .news-layout {
    grid-template-columns: 1fr;
  }

  .news-sidebar {
    order: 2;
  }
}


/* 人生シェアリング記事 */
.life-sharing {
  max-width: 1040px;
  margin: 0 auto;
}

.life-sharing .inline-photo {
  max-width: 78%;
  height: auto;
}

.life-sharing .inline-photo img {
  width: 100%;
  max-height: 520px;
}

.life-header {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 18px;
  align-items: center;
  margin-bottom: 18px;
}

.life-order {
  font-size: 22px;
  font-weight: 800;
  color: #0f6fbf;
}

.life-name {
  font-size: 32px;
  margin: 0 0 6px;
}

.life-title {
  color: #666;
  font-size: 14px;
}

.life-info {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px 18px;
  margin: 20px 0 24px;
}

.life-info div {
  display: grid;
  gap: 4px;
  font-size: 13px;
  color: #5a5a5a;
}

.life-info span {
  font-size: 11px;
  color: #4aa3df;
  font-weight: 700;
}

.life-info strong {
  font-size: 14px;
  color: #222;
}

.life-profile {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 18px;
  align-items: start;
  margin: 10px 0 18px;
}

.life-photo {
  width: 120px;
  height: 120px;
  border-radius: 12px;
  object-fit: cover;
  background: #eef2f6;
}

.life-points {
  position: relative;
  background: #1f6fbf;
  color: #fff;
  padding: 14px 16px;
  border-radius: 12px;
}

.life-points:after {
  content: "";
  position: absolute;
  left: -8px;
  top: 20px;
  width: 0;
  height: 0;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-right: 8px solid #1f6fbf;
}

.life-points h3 {
  margin: 0 0 10px;
  font-size: 16px;
}

.life-points ul {
  margin: 0;
  padding-left: 0;
  list-style: none;
}

.life-points li {
  margin-bottom: 6px;
  font-size: 14px;
}

.life-interviewer {
  margin: 18px 0 26px;
}

.life-interviewer .label {
  font-size: 12px;
  color: #8a8a8a;
  margin-bottom: 8px;
}

.life-interviewer .card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #f4f6f9;
  padding: 10px 12px;
  border-radius: 10px;
}

.life-interviewer img {
  width: 88px;
  height: 88px;
  border-radius: 16px;
  object-fit: cover;
}

.life-interviewer .name {
  font-size: 22px;
  line-height: 1.1;
  color: #1580d2;
  font-weight: 700;
}

.life-interviewer .more {
  display: inline-block;
  margin-top: 4px;
  font-size: 14px;
  line-height: 1;
  color: #1580d2;
}

/* 人生シェアリングの年表 */
.timeline {
  position: relative;
  padding-left: 90px;
  overflow: visible;
}

/* .timeline:before {
  content: "";
  position: absolute;
  left: 36px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: #0f6fbf;
} */

.timeline-item {
  position: relative;
  padding: 0;
  overflow: visible;
}

.timeline-marker {
  position: absolute;
  left: 14px;
  top: 12px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #0f6fbf;
}

.timeline-title {
  font-weight: 700;
  margin-bottom: 8px;
  margin-left: 24px;
}

.qa {
  margin-bottom: 10px;
}

.qa .q {
  color: #4aa3df;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.9;
  margin-bottom: 10px;
}

.qa .q.q-dash {
  margin: 1em 0;
}

.qa .a {
  color: #333;
  font-size: 14px;
  line-height: 1.7;
}

.qa .a.a-hash {
  background: #f7f7f7;
  border: 1px solid #d7d7d7;
  border-radius: 6px;
  padding: 10px 12px;
  color: #4aa3df;
  font-size: 18px;
}

.qa .a.a-center-small {
  text-align: center;
  font-size: 13px;
  line-height: 1.8;
  color: #666;
}

@media (max-width: 720px) {
  .life-header {
    grid-template-columns: 1fr;
  }

  .life-info {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .life-profile {
    grid-template-columns: 1fr;
  }

  .life-photo {
    width: 100px;
    height: 100px;
  }
}


.timeline-item.turning .timeline-marker {
  width: 64px;
  height: 64px;
  left: -12px;
  top: -6px;
  background: transparent;
  border: 0;
}

.timeline-item.turning .timeline-marker::after {
  content: "";
  position: absolute;
  inset: -18px;
  background: url('interview-flag.png') center/contain no-repeat;
}


.timeline-content {
  padding-left: 40px;
}

.timeline-item.turning .timeline-title::before {
  content: "TURNING POINT";
  display: block;
  color: #d93025;
  font-weight: 900;
  font-style: italic;
  letter-spacing: 0.1em;
  font-size: 16px;
  margin-bottom: 6px;
  margin-left: 36px;
}

.timeline-item.turning .timeline-title::after {
  content: "";
}



.timeline-item.turning .timeline-title:before {
  content: "TURNING POINT";
  display: block;
  color: #d93025;
  font-weight: 800;
  font-style: italic;
  letter-spacing: 0.08em;
  font-size: 12px;
  margin-bottom: 4px;
}

.timeline-item.turning .timeline-title span {
  display: inline;
}

.timeline-item.turning .timeline-title::after {
  content: "";
}


.timeline-item.turning .timeline-title::first-letter {
}


/* 人生シェアリングの締めコメント */
.life-conclusion {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 24px;
  border-top: 1px dashed #d9d9d9;
  padding-top: 18px;
  margin-top: 18px;
}

.life-conclusion-title {
  color: #1f6fbf;
  font-weight: 700;
  font-size: 16px;
}

.life-conclusion-body {
  font-size: 14px;
  line-height: 1.8;
  color: #333;
}

.life-conclusion-body a {
  color: #1580d2;
  text-decoration: underline;
}

.life-conclusion-body .inline-photo-caption {
  font-size: 12px;
  color: #888;
  margin-top: 8px;
  text-align: right;
}

@media (max-width: 720px) {
  .life-conclusion {
    grid-template-columns: 1fr;
  }
}


.timeline-header {
  display: flex;
  align-items: baseline;
  gap: 22px;
  margin-bottom: 8px;
  margin-left: 20px;
}

.timeline-year {
  color: #1f6fbf;
  font-weight: 800;
  font-size: 16px;
  min-width: 72px;
}

.timeline-age {
  color: #1f6fbf;
  font-weight: 800;
  font-size: 16px;
  min-width: 64px;
}


.timeline-header {
  position: relative;
  display: block;
  margin-bottom: 8px;
  padding-left: 0;
}

.timeline-year.left {
  position: absolute;
  left: -110px;
  top: 0;
  width: 80px;
  text-align: right;
  color: #1f6fbf;
  font-weight: 800;
  font-size: 16px;
}

.timeline-main {
  padding-left: 0;
}

.timeline-meta {
  display: flex;
  gap: 18px;
  align-items: baseline;
}

.timeline-age {
  color: #1f6fbf;
  font-weight: 800;
  font-size: 16px;
  min-width: 64px;
}


.timeline-row {
  display: grid;
  grid-template-columns: 90px 24px 1fr;
  column-gap: 16px;
  align-items: start;
}

.timeline-year-col {
  text-align: right;
  color: #1f6fbf;
  font-weight: 800;
  font-size: 16px;
  line-height: 1.2;
  padding-top: 8px;
}

.timeline-line-col {
  position: relative;
  align-self: stretch;
}

.timeline-line-col:before {
  content: "";
  position: absolute;
  left: 11px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: #0f6fbf;
}

.timeline-marker {
  position: relative;
  left: 6px;
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #0f6fbf;
}

.timeline-content {
  padding-left: 0;
}

.timeline-item + .timeline-item {
  margin-top: 18px;
}

.timeline-item + .timeline-item .timeline-year-col,
.timeline-item + .timeline-item .timeline-line-col {
  padding-top: 22px;
}

.timeline-item + .timeline-item .timeline-content {
  border-top: 1px solid #e8e8e8;
  padding-top: 22px;
}

.timeline-item + .timeline-item .timeline-line-col:before {
  top: -18px;
}

.timeline-header {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 16px;
  align-items: center;
  margin-bottom: 8px;
}

.timeline-item.turning .timeline-header {
  grid-template-columns: 1fr;
  row-gap: 8px;
}

.timeline-item.turning .timeline-header > :not(.timeline-turning-label) {
  display: inline-block;
}

.timeline-title {
  margin-left: 0;
  margin-bottom: 0;
  line-height: 1.2;
}

.timeline-age {
  min-width: 0;
  line-height: 1;
  align-self: center;
}


/* TURNING POINT表示の最終調整 */
.timeline-item.turning .timeline-marker {
  width: 64px !important;
  height: 64px !important;
  left: -8px !important;
  top: -20px !important;
  background: transparent !important;
  border: 0 !important;
}

.timeline-item.turning .timeline-marker::after {
  content: "";
  position: absolute;
  inset: -18px;
  background: url('interview-flag.png') center/contain no-repeat;
}

.timeline-item.turning .timeline-title::before {
  content: none !important;
}

.timeline-item.turning .timeline-age::before {
  content: none;
}

.timeline-turning-label {
  display: block;
  color: #d93025;
  font-style: italic;
  font-weight: 900;
  font-size: 36px !important;
  line-height: 1;
  letter-spacing: 0.06em;
  margin: 0;
}


/* タイムライン見出しサイズの調整 */
.timeline-title {
  font-size: 26px !important;
  font-weight: 800;
}


/* 人生シェアリングの導入文 */
.life-introduction {
  background: #efefef;
  border-radius: 18px;
  padding: 28px 28px 24px;
  margin: 18px 0 24px;
}

.life-intro-title {
  margin: 0 0 12px;
  color: #1680d1;
  font-size: 28px;
  font-weight: 700;
}

.life-intro-text {
  font-size: 16px;
  line-height: 1.9;
  color: #303030;
}

.life-intro-interviewer {
  margin-top: 22px;
  display: flex;
  align-items: center;
  gap: 18px;
}

.life-intro-interviewer img {
  width: 88px;
  height: 88px;
  border-radius: 16px;
  object-fit: cover;
}

.life-intro-interviewer .label {
  font-size: 16px;
  line-height: 1;
  margin-bottom: 4px;
  color: #333;
}

.life-intro-interviewer .name {
  font-size: 22px;
  line-height: 1.1;
  color: #1580d2;
  font-weight: 700;
}

.life-intro-interviewer .more {
  margin-top: 4px;
  font-size: 14px;
  line-height: 1;
  color: #1580d2;
}

@media (max-width: 720px) {
  .life-introduction {
    padding: 18px 14px;
    border-radius: 12px;
  }

  .life-intro-title {
    font-size: 28px;
  }

  .life-intro-text {
    font-size: 15px;
  }

  .life-intro-interviewer .label { font-size: 22px; }
  .life-intro-interviewer .name { font-size: 30px; }
  .life-intro-interviewer .more { font-size: 24px; }
}

.intro-interviewer-link {
  display: inline-block;
  line-height: 0;
}

.intro-interviewer-link img {
  display: block;
}



/* ヘッダーの最終調整：ロゴ比率を保ち、ナビを右へ寄せる */
.topbar {
  height: 92px;
  grid-template-columns: 260px 1fr auto;
}

.brand-mark {
  width: auto;
  height: 64px;
  max-width: 220px;
  object-fit: contain;
}

.topnav {
  margin-left: 28px;
}

.topnav a {
  height: 92px;
  padding: 0 14px;
}

@media (max-width: 680px) {
  .topbar {
    height: 72px;
    grid-template-columns: auto 1fr;
  }

  .brand-mark {
    height: 48px;
    max-width: 160px;
  }
}


.qa .inline-photo-caption {
  font-size: 12px;
  color: #888;
  margin-top: 8px;
  text-align: right;
}


.timeline-item.turning .timeline-age,
.timeline-item.turning .timeline-title {
  vertical-align: baseline;
}

.timeline-item.turning .timeline-age {
  margin-right: 16px;
}


@media (max-width: 680px) {
  .timeline {
    padding-left: 0;
  }

  .timeline-row {
    grid-template-columns: 64px 20px minmax(0, 1fr);
    column-gap: 10px;
  }

  .timeline-year-col {
    font-size: 14px;
    padding-top: 10px;
  }

  .timeline-line-col:before {
    left: 9px;
  }

  .timeline-marker {
    left: 4px;
  }

  .timeline-content {
    min-width: 0;
  }

  .timeline-header {
    grid-template-columns: auto minmax(0, 1fr);
    column-gap: 10px;
    align-items: start;
  }

  .timeline-age {
    font-size: 14px;
    white-space: nowrap;
  }

  .timeline-title {
    font-size: 18px !important;
    line-height: 1.25;
    word-break: keep-all;
  }
}
