/* =============================================
   platinuMATES - style.css
   ============================================= */

:root {
  --navy: #1E3A5F;
  --navy-dark: #14263F;
  --text: #1F2328;
  --text-sub: #3A4350;
  --bg: #FFFCF5;          /* クリーム地 */
  --bg-white: #FFFFFF;
  --bg-soft: #F6F1E6;     /* 少し濃いクリーム */
  --border: #1E3A5F;
  --line: #D9CFBC;
  --orange: #B4500F;      /* 文字にも使える濃い橙 */
  --orange-bg: #FFF1E2;
  --teal: #0E7C6B;        /* ロゴMのティールを濃くした文字用 */
  --teal-bg: #E4F5F1;
  --blue: #1F5FA8;
  --blue-bg: #E6F0FB;
  --green: #4E7D1E;
  --green-bg: #EEF6E3;
  --pink: #B0135F;
  --pink-bg: #FCE8F2;
  --radius: 14px;
  --font: 'Zen Maru Gothic', 'Hiragino Maru Gothic ProN', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  font-family: var(--font);
  font-weight: 500;
  color: var(--text);
  background: var(--bg);
  line-height: 1.9;
  font-size: 17px;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
ul { list-style: none; }

.container { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.section { padding: 88px 0; }
.bg-white { background: var(--bg-white); }
.bg-soft { background: var(--bg-soft); }
.center { text-align: center; }

.label {
  display: inline-block;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--orange);
  border: 2px solid var(--orange);
  background: var(--bg-white);
  padding: 2px 16px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.section-title {
  font-size: clamp(26px, 4.2vw, 38px);
  font-weight: 900;
  line-height: 1.45;
  color: var(--navy-dark);
  margin-bottom: 18px;
}
.section-lead {
  font-size: 18px;
  color: var(--text-sub);
  max-width: 760px;
  margin: 0 auto 48px;
}
.head { text-align: center; }

/* --- ボタン（白抜きにしない：淡い地に濃い文字＋太枠） --- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 30px;
  border-radius: 999px;
  font-weight: 700; font-size: 17px;
  text-decoration: none;
  border: 3px solid var(--navy);
  color: var(--navy-dark);
  background: var(--bg-white);
  transition: transform .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); background: var(--blue-bg); }
.btn-main { background: #FFE2C2; border-color: var(--orange); color: #5A2405; }
.btn-main:hover { background: #FFD3A3; }

/* =============================================
   ナビゲーション
   ============================================= */
#navbar {
  position: sticky; top: 0; z-index: 100;
  background: var(--bg-white);
  border-bottom: 3px solid var(--navy);
}
.nav-inner {
  max-width: 1200px; margin: 0 auto; padding: 10px 20px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.nav-logo img { height: 40px; width: auto; }
.nav-links { display: flex; gap: 20px; align-items: center; }
.nav-links a { text-decoration: none; font-weight: 700; font-size: 16px; color: var(--navy-dark); }
.nav-links a:hover { color: var(--orange); }
.nav-links .btn-nav {
  border: 3px solid var(--orange); background: #FFE2C2; color: #5A2405;
  padding: 4px 16px; border-radius: 999px;
}
.hamburger {
  display: none; background: none; border: 3px solid var(--navy); border-radius: 8px;
  width: 46px; height: 42px; cursor: pointer; flex-direction: column; justify-content: center; gap: 5px; padding: 0 9px;
}
.hamburger span { display: block; height: 3px; background: var(--navy); border-radius: 2px; }

/* =============================================
   ヒーロー（写真に文字を重ねない）
   ============================================= */
.hero { position: relative; padding: 96px 0 104px; background: #14263F; color: #fff; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background: url('../images/hero.jpg') center 40% / cover no-repeat; }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,20,36,.82) 0%, rgba(10,20,36,.66) 55%, rgba(10,20,36,.40) 100%); }
.hero-inner { position: relative; display: block; }
.hero-text { max-width: 760px; }
.hero-kicker { font-size: 18px; font-weight: 700; color: #BFE9F5; margin-bottom: 12px; }
.hero-title {
  font-size: clamp(30px, 4.6vw, 50px);
  font-weight: 900; line-height: 1.5; color: #fff;
  margin-bottom: 22px; text-shadow: 0 2px 12px rgba(0,0,0,.35);
}
.hero-title .mark { background: linear-gradient(transparent 58%, rgba(255,217,168,.9) 58%); color: #fff; padding: 0 4px; }
.hero-sub { font-size: 18px; color: #F1F4F8; margin-bottom: 30px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.hero-tags span {
  font-size: 16px; font-weight: 700; padding: 4px 14px; border-radius: 999px;
  border: 2px solid var(--navy); background: var(--bg-white); color: var(--navy-dark);
}

/* =============================================
   想い
   ============================================= */
.vision-inner {
  display: grid; grid-template-columns: 1fr 1.4fr; gap: 48px; align-items: center;
}
.vision-photo { border: 4px solid var(--navy); border-radius: 20px; overflow: hidden; background: var(--bg-soft); aspect-ratio: 1/1; }
.vision-photo img { width: 100%; height: 100%; object-fit: cover; }
.vision-text p { margin-bottom: 16px; }
.vision-quote {
  font-size: 20px; font-weight: 700; color: var(--navy-dark);
  border-left: 6px solid var(--orange); padding-left: 16px; margin: 20px 0 8px;
}
.vision-sign { font-weight: 700; color: var(--text-sub); }

/* =============================================
   学びの指針（探究サイクル＋年代別）
   ============================================= */
.cycle {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px;
  margin: 0 auto 20px; max-width: 1080px; counter-reset: step;
}
.cycle-step {
  position: relative;
  background: var(--bg-white); border: 3px solid var(--navy); border-radius: var(--radius);
  padding: 18px 12px 16px; text-align: center;
}
.cycle-step::before {
  counter-increment: step; content: counter(step);
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 50%;
  border: 3px solid var(--orange); color: var(--orange); background: var(--orange-bg);
  font-weight: 900; font-size: 17px; margin-bottom: 8px;
}
.cycle-step h3 { font-size: 20px; font-weight: 900; color: var(--navy-dark); line-height: 1.4; }
.cycle-step p { font-size: 16px; color: var(--text-sub); line-height: 1.7; margin-top: 6px; }
.cycle-step:not(:last-child)::after {
  content: "→"; position: absolute; right: -14px; top: 50%; transform: translateY(-50%);
  font-weight: 900; font-size: 20px; color: var(--orange); z-index: 1;
}
.cycle-return {
  grid-column: 2 / 6; position: relative;
  border: 3px dashed var(--orange); border-top: none; border-radius: 0 0 18px 18px;
  background: var(--orange-bg); color: var(--navy-dark);
  padding: 12px 18px 12px 52px; margin-top: -2px; font-size: 16px; line-height: 1.7;
}
.cycle-return::before {
  content: "▲"; position: absolute; left: -9px; top: -20px; color: var(--orange); font-size: 18px;
}
.cycle-return strong { font-weight: 900; font-size: 18px; color: var(--orange); }
.cycle-return-no {
  position: absolute; left: 12px; top: 50%; transform: translateY(-50%);
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; border-radius: 50%;
  border: 3px solid var(--orange); background: var(--bg-white); color: var(--orange); font-weight: 900;
}
.cycle-loop {
  text-align: center; font-weight: 700; color: var(--navy-dark);
  border: 3px dashed var(--orange); border-radius: 999px; max-width: 760px;
  margin: 0 auto 56px; padding: 8px 20px; background: var(--bg-white);
}

.stages { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.stage {
  background: var(--bg-white); border: 3px solid var(--navy); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
}
.stage-head { padding: 18px 22px 14px; border-bottom: 3px solid var(--navy); }
.stage-age { font-size: 16px; font-weight: 700; }
.stage-head h3 { font-size: 23px; font-weight: 900; line-height: 1.4; color: var(--navy-dark); }
.stage.s1 .stage-head { background: var(--orange-bg); } .stage.s1 .stage-age { color: var(--orange); }
.stage.s2 .stage-head { background: var(--green-bg); } .stage.s2 .stage-age { color: var(--green); }
.stage.s3 .stage-head { background: var(--blue-bg); }  .stage.s3 .stage-age { color: var(--blue); }
.stage-body { padding: 18px 22px 22px; }
.stage-body p { margin-bottom: 12px; }
.stage-body ul li { padding-left: 1.2em; position: relative; margin-bottom: 6px; }
.stage-body ul li::before { content: "●"; position: absolute; left: 0; font-size: 11px; top: 8px; color: var(--navy); }

/* =============================================
   pMができること
   ============================================= */
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.service-card {
  background: var(--bg-white); border: 3px solid var(--navy); border-radius: var(--radius);
  padding: 24px 22px; display: flex; flex-direction: column;
}
.service-target {
  align-self: flex-start; font-size: 16px; font-weight: 700; padding: 2px 12px; border-radius: 999px;
  border: 2px solid currentColor; margin-bottom: 10px;
}
.c-orange { color: var(--orange); background: var(--orange-bg); }
.c-teal { color: var(--teal); background: var(--teal-bg); }
.c-blue { color: var(--blue); background: var(--blue-bg); }
.c-green { color: var(--green); background: var(--green-bg); }
.c-pink { color: var(--pink); background: var(--pink-bg); }
.service-card h3 { font-size: 22px; font-weight: 900; line-height: 1.45; color: var(--navy-dark); margin-bottom: 10px; }
.service-card p { color: var(--text); margin-bottom: 12px; }
.service-case {
  margin-top: auto; font-size: 16px; color: var(--text-sub);
  border-top: 2px dashed var(--line); padding-top: 10px;
}
.service-case strong { color: var(--navy-dark); }

/* =============================================
   進め方
   ============================================= */
.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.flow-step {
  background: var(--bg-white); border: 3px solid var(--navy); border-radius: var(--radius);
  padding: 22px 20px; position: relative;
}
.flow-no { font-size: 16px; font-weight: 900; color: var(--orange); }
.flow-step h3 { font-size: 21px; font-weight: 900; color: var(--navy-dark); margin: 2px 0 8px; }
.flow-step p { font-size: 16px; }
.flow-note {
  margin-top: 28px; background: var(--bg-white); border: 3px solid var(--orange); border-radius: var(--radius);
  padding: 18px 22px; font-weight: 700; color: var(--navy-dark); text-align: center;
}

/* =============================================
   実績
   ============================================= */
.numbers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 14px; }
.number-item {
  background: var(--bg-white); border: 3px solid var(--navy); border-radius: var(--radius);
  padding: 22px; text-align: center;
}
.number-val { font-size: 46px; font-weight: 900; color: var(--navy-dark); line-height: 1.2; }
.number-val small { font-size: 20px; margin-left: 4px; }
.number-label { font-weight: 700; color: var(--text-sub); }
.numbers-note { font-size: 16px; color: var(--text-sub); text-align: center; margin-bottom: 44px; }
.client-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.client-card {
  background: var(--bg-white); border: 3px solid var(--navy); border-radius: var(--radius);
  padding: 18px 22px;
}
.client-card h3 { font-size: 20px; font-weight: 900; color: var(--navy-dark); }
.client-card p { font-size: 16px; color: var(--text-sub); }

/* =============================================
   人生の先輩と一緒に
   ============================================= */
.senior-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-bottom: 36px; }
.senior-card {
  background: var(--bg-white); border: 3px solid var(--teal); border-radius: var(--radius);
  padding: 24px 22px;
}
.senior-card h3 { font-size: 21px; font-weight: 900; color: var(--teal); margin-bottom: 8px; line-height: 1.45; }
.senior-join {
  background: var(--bg-white); border: 3px solid var(--navy); border-radius: var(--radius);
  padding: 24px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
}
.senior-join p { font-weight: 700; color: var(--navy-dark); }

/* =============================================
   イベント
   ============================================= */
.event-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.event-card {
  background: var(--bg-white); border: 3px solid var(--navy); border-radius: var(--radius);
  overflow: hidden; text-decoration: none; display: block;
}
.event-img-wrap { position: relative; aspect-ratio: 16/9; background: var(--bg-soft); border-bottom: 3px solid var(--navy); }
.event-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.event-badge {
  position: absolute; top: 12px; left: 12px; font-size: 16px; font-weight: 700;
  background: var(--bg-white); color: var(--navy-dark); border: 2px solid var(--navy);
  padding: 2px 12px; border-radius: 999px;
}
.event-body { padding: 18px 22px; }
.event-date { font-weight: 700; color: var(--orange); }
.event-body h3 { font-size: 19px; font-weight: 900; color: var(--navy-dark); margin: 4px 0 6px; line-height: 1.5; }
.events-note { text-align: center; margin-top: 24px; }
.events-note a { color: var(--blue); font-weight: 700; }

/* =============================================
   代表プロフィール（白地）
   ============================================= */
.profile-inner { display: grid; grid-template-columns: 1fr 1.3fr; gap: 44px; }
.profile-photo { border: 4px solid var(--navy); border-radius: 20px; background: var(--bg-soft); aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.profile-video h3 { font-size: 18px; font-weight: 900; color: var(--navy-dark); margin: 20px 0 8px; }
.video-wrap { position: relative; aspect-ratio: 16/9; border: 3px solid var(--navy); border-radius: 12px; overflow: hidden; background: var(--bg-soft); }
.video-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; }
.profile-name-block h3 { font-size: 28px; font-weight: 900; color: var(--navy-dark); }
.profile-kana { font-size: 16px; color: var(--text-sub); margin-left: 8px; }
.profile-title { font-weight: 700; color: var(--text-sub); }
.profile-quote {
  font-size: 19px; font-weight: 700; color: var(--navy-dark);
  border-left: 6px solid var(--orange); padding-left: 14px; margin: 16px 0 24px;
}
.career-item {
  display: grid; grid-template-columns: 110px 1fr; gap: 14px;
  padding: 14px 0; border-bottom: 2px dashed var(--line);
}
.career-year { font-weight: 900; color: var(--orange); }
.career-item strong { color: var(--navy-dark); font-weight: 900; }
.career-item p { font-size: 16px; color: var(--text-sub); }

/* =============================================
   SNS
   ============================================= */
.sns-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.sns-col { background: var(--bg-white); border: 3px solid var(--navy); border-radius: var(--radius); padding: 24px; }
.sns-col h3 { font-size: 21px; font-weight: 900; color: var(--navy-dark); margin-bottom: 14px; }
.note-list { margin-bottom: 18px; }
.note-article { display: block; text-decoration: none; padding: 12px 0; border-bottom: 2px dashed var(--line); }
.note-article h4 { font-size: 17px; font-weight: 700; color: var(--navy-dark); }
.note-date { font-size: 16px; color: var(--text-sub); }

/* =============================================
   お問い合わせ
   ============================================= */
.contact-box {
  max-width: 820px; margin: 0 auto; background: var(--bg-white);
  border: 4px solid var(--navy); border-radius: 20px; padding: 32px 28px; text-align: center;
}
.contact-topics { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 6px 0 26px; }
.contact-topics span {
  font-size: 16px; font-weight: 700; border: 2px solid var(--navy); border-radius: 999px; padding: 2px 14px;
}
.contact-ways { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-way { border: 3px solid var(--line); border-radius: var(--radius); padding: 16px; }
.contact-way .k { font-weight: 700; color: var(--text-sub); font-size: 16px; }
.contact-way a { font-size: 21px; font-weight: 900; color: var(--navy-dark); word-break: break-all; }

/* =============================================
   フッター（白地）
   ============================================= */
.footer { background: var(--bg-white); border-top: 4px solid var(--navy); padding: 40px 0 24px; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; align-items: flex-start; }
.footer-logo img { height: 40px; width: auto; margin-bottom: 8px; }
.footer-logo p { font-size: 16px; color: var(--text-sub); }
.footer-nav { display: flex; flex-wrap: wrap; gap: 8px 18px; max-width: 560px; }
.footer-nav a { text-decoration: none; font-weight: 700; font-size: 16px; color: var(--navy-dark); }
.footer-sns a { font-weight: 700; margin-left: 14px; color: var(--navy-dark); }
.copyright { text-align: center; font-size: 16px; color: var(--text-sub); margin-top: 28px; }

/* --- フェードイン --- */
.fade-in { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.fade-in.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .fade-in { opacity: 1; transform: none; transition: none; } }

/* =============================================
   レスポンシブ
   ============================================= */
@media (max-width: 1000px) {
  .cycle { grid-template-columns: repeat(3, 1fr); row-gap: 18px; }
  .cycle-step:nth-child(3)::after { display: none; }
  .cycle-return { grid-column: 1 / -1; border-top: 3px dashed var(--orange); border-radius: 18px; margin-top: 0; }
  .cycle-return::before { content: "↺"; left: auto; right: 14px; top: 50%; transform: translateY(-50%); }
  .service-grid, .senior-grid { grid-template-columns: repeat(2, 1fr); }
  .flow { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .hamburger { display: flex; }
  .nav-links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--bg-white); border-bottom: 3px solid var(--navy);
    flex-direction: column; align-items: flex-start; padding: 12px 20px 18px; gap: 12px;
  }
  .nav-links.open { display: flex; }
  #navbar { position: sticky; }
  .nav-inner { position: relative; }
  .hero-inner, .vision-inner, .profile-inner, .sns-grid { grid-template-columns: 1fr; }
  .stages, .numbers, .client-grid, .event-grid, .contact-ways { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .section { padding: 64px 0; }
  .cycle { grid-template-columns: repeat(2, 1fr); }
  .cycle-step::after { display: none; }
  .service-grid, .senior-grid, .flow { grid-template-columns: 1fr; }
  .career-item { grid-template-columns: 1fr; gap: 2px; }
}

/* =============================================
   下層ページ（コンテンツ／人生の先輩）
   ============================================= */
.page-hero { padding: 56px 0 48px; background: var(--bg); text-align: center; }
.page-hero .hero-title { margin-bottom: 18px; }
.page-hero .section-lead { max-width: 760px; margin: 0 auto; }
.breadcrumb { font-size: 16px; margin-bottom: 20px; text-align: left; }
.breadcrumb a { color: var(--navy); font-weight: 700; }
.catalog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-bottom: 36px; }
.catalog-cta { text-align: center; margin-top: 12px; }
.catalog-note { font-size: 16px; color: var(--text-sub); margin-top: 14px; }
.more-link { text-align: center; margin-top: 32px; }
.role-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
@media (max-width: 800px) {
  .catalog-grid, .role-list { grid-template-columns: 1fr; }
}

/* サービスカードの写真 */
.service-photo { aspect-ratio: 4 / 3; border-radius: 10px; overflow: hidden; margin-bottom: 14px; background: var(--bg-soft); }
.service-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 800px) {
  .hero { padding: 64px 0 72px; }
  .hero-bg::after { background: rgba(10,20,36,.74); }
}
.page-hero .hero-title { color: var(--navy-dark); text-shadow: none; }
.page-hero .hero-title .mark { color: var(--navy-dark); background: linear-gradient(transparent 62%, #FFD9A8 62%); }
