@charset "UTF-8";

/* =========================================================
   名古屋IBD ウェブサイト 共通スタイル
   ========================================================= */

:root {
  --teal-900: #1a6b66;
  --teal-700: #23968f;
  --teal-600: #2eaea6;
  --teal-500: #46c2ba;
  --teal-100: #e6f6f4;
  --teal-50:  #f4fbfa;
  --coral:    #35c491;
  --coral-dark:#28ab7c;
  --amber:    #ffd166;
  --ink:      #2f3d3b;
  --ink-soft: #5c6b68;
  --line:     #e4efed;
  --bg:       #ffffff;
  --bg-soft:  #f7fcfb;
  --shadow:   0 10px 30px rgba(15, 76, 74, .10);
  --shadow-sm:0 4px 14px rgba(15, 76, 74, .08);
  --radius:   18px;
  --radius-sm:12px;
  --maxw:     1120px;
  --font: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Noto Sans JP",
          "BIZ UDPGothic", "Yu Gothic", Meiryo, system-ui, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.85;
  font-size: 16.5px;
  -webkit-font-smoothing: antialiased;
  text-size-adjust: 100%;
}

img { max-width: 100%; display: block; }

a { color: var(--teal-700); }

h1, h2, h3 { line-height: 1.4; letter-spacing: .01em; }

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 22px;
}

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(160%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; min-height: 70px;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand__logo { height: 44px; width: auto; flex: none; display: block; }
.site-footer .brand__logo { height: 36px; }
.brand__mark {
  width: 42px; height: 42px; border-radius: 12px; flex: none;
  background: linear-gradient(135deg, var(--teal-600), var(--teal-500));
  display: grid; place-items: center; color: #fff; font-weight: 800;
  box-shadow: var(--shadow-sm); font-size: 18px; letter-spacing: .02em;
}
.brand__text b { display: block; font-size: 1.12rem; letter-spacing: .04em; line-height: 1.2; white-space: nowrap; }
.brand__text span { display: block; font-size: .72rem; color: var(--ink-soft); letter-spacing: .18em; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  text-decoration: none; color: var(--ink-soft); font-weight: 600;
  padding: 10px 14px; border-radius: 10px; font-size: .95rem;
  transition: background .15s, color .15s;
}
.nav a:hover { background: var(--teal-50); color: var(--teal-700); }
.nav .nav-cta {
  background: var(--coral); color: #fff; margin-left: 6px;
  box-shadow: var(--shadow-sm);
}
.nav .nav-cta:hover { background: var(--coral-dark); color: #fff; }

.nav-toggle {
  display: none; border: 1px solid var(--line); background: #fff;
  width: 46px; height: 42px; border-radius: 10px; cursor: pointer;
  align-items: center; justify-content: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; display: block; width: 22px; height: 2px; background: var(--ink);
  position: relative; transition: .2s;
}
.nav-toggle span::before { position: absolute; top: -7px; }
.nav-toggle span::after  { position: absolute; top: 7px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
  text-decoration: none; font-weight: 700; border: none;
  padding: 14px 26px; border-radius: 999px; font-size: 1rem;
  transition: transform .12s, box-shadow .2s, background .2s;
  line-height: 1.2;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--coral); color: #fff; box-shadow: 0 8px 20px rgba(40,171,124,.35); }
.btn--primary:hover { background: var(--coral-dark); }
.btn--ghost { background: #fff; color: var(--teal-700); border: 1.5px solid var(--teal-500); }
.btn--ghost:hover { background: var(--teal-50); }
.btn--white { background: #fff; color: var(--teal-700); box-shadow: var(--shadow-sm); }
.btn--white:hover { background: var(--teal-50); }
.btn--apply {
  background: #ffe600; color: #145a55; font-weight: 800; letter-spacing: .02em;
  box-shadow: 0 8px 22px rgba(0,0,0,.22); border: 2px solid #fff3;
}
.btn--apply:hover { background: #ffd400; transform: translateY(-2px); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1200px 520px at 85% -10%, rgba(70,194,186,.28), transparent 60%),
    radial-gradient(900px 520px at 0% 110%, rgba(255,200,87,.22), transparent 55%),
    linear-gradient(180deg, var(--teal-50), #fff 78%);
}
.hero .wrap {
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px;
  align-items: center; padding-top: 66px; padding-bottom: 66px;
}
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid var(--line); color: var(--teal-700);
  padding: 7px 15px; border-radius: 999px; font-weight: 700; font-size: .84rem;
  box-shadow: var(--shadow-sm); letter-spacing: .04em;
}
.hero h1 {
  font-size: clamp(1.9rem, 4.3vw, 3.05rem); margin: 20px 0 16px; color: var(--teal-900);
  letter-spacing: .02em;
}
.hero h1 .accent { color: var(--coral); }
.hero p.lead { font-size: 1.08rem; color: var(--ink-soft); margin: 0 0 28px; max-width: 34em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__note { margin-top: 18px; font-size: .86rem; color: var(--ink-soft); }

.hero__card {
  background: #fff; border-radius: 22px; box-shadow: var(--shadow);
  padding: 26px; border: 1px solid var(--line); position: relative;
}
.hero__card h3 { margin: 0 0 4px; font-size: 1.05rem; color: var(--teal-700); }
.hero__card .date { font-size: 1.5rem; font-weight: 800; color: var(--teal-900); letter-spacing: .02em; }
.hero__card .badge {
  position: absolute; top: -12px; right: 18px; background: var(--coral); color: #fff;
  font-size: .76rem; font-weight: 700; padding: 6px 14px; border-radius: 999px;
  box-shadow: 0 6px 16px rgba(40,171,124,.4);
}
.hero__card ul { list-style: none; padding: 0; margin: 16px 0 0; }
.hero__card ul li {
  display: flex; gap: 10px; padding: 9px 0; border-top: 1px dashed var(--line); font-size: .95rem;
}
.hero__card ul li:first-child { border-top: none; }
.hero__card ul li .k { color: var(--teal-600); flex: none; width: 4.5em; font-weight: 700; }

/* ---------- Sections ---------- */
section { padding: 74px 0; }
.section-soft { background: var(--bg-soft); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 46px; }
.section-head .kicker {
  color: var(--coral); font-weight: 800; letter-spacing: .16em; font-size: .82rem;
  text-transform: uppercase; display: block; margin-bottom: 10px;
}
.section-head h2 { font-size: clamp(1.5rem, 3.2vw, 2.15rem); margin: 0 0 12px; color: var(--teal-900); }
.section-head p { color: var(--ink-soft); margin: 0; font-size: 1.02rem; }

/* ---------- Feature cards ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px; box-shadow: var(--shadow-sm); transition: transform .18s, box-shadow .2s;
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feature__icon {
  width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center;
  background: var(--teal-100); color: var(--teal-700); margin-bottom: 18px;
}
.feature__icon svg { width: 30px; height: 30px; }
.feature h3 { margin: 0 0 10px; font-size: 1.2rem; color: var(--teal-900); }
.feature p { margin: 0; color: var(--ink-soft); font-size: .97rem; }

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
.illus { width: 100%; max-width: 440px; height: auto; display: block; margin: 0 auto 22px; }
.cta-illus { width: 220px; height: auto; display: block; margin: 0 auto 18px; }
.about__body h2 { font-size: clamp(1.5rem, 3vw, 2.05rem); color: var(--teal-900); margin: 0 0 18px; }
.about__body p { color: var(--ink-soft); margin: 0 0 16px; }
.stat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.stat {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 22px; box-shadow: var(--shadow-sm);
}
.stat b { display: block; font-size: 1.2rem; color: var(--teal-900); font-weight: 700; line-height: 1.35; }
.stat span { font-size: .9rem; color: var(--ink-soft); }

/* ---------- Event / next ---------- */
.event-card {
  background: linear-gradient(135deg, var(--teal-700), var(--teal-600));
  color: #fff; border-radius: 24px; padding: 40px; box-shadow: var(--shadow);
  display: grid; grid-template-columns: auto 1fr auto; gap: 34px; align-items: center;
}
.event-card__date {
  text-align: center; background: rgba(255,255,255,.14); border-radius: 18px;
  padding: 20px 26px; flex: none; min-width: 130px;
}
.event-card__date .m { font-size: .9rem; letter-spacing: .1em; opacity: .9; }
.event-card__date .d { font-size: 3rem; font-weight: 800; line-height: 1; margin: 4px 0; }
.event-card__date .w { font-size: .85rem; opacity: .9; }
.event-card__body h3 { margin: 0 0 14px; font-size: 1.5rem; }
.event-card__body dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; margin: 0; font-size: .96rem; }
.event-card__body dt { opacity: .85; font-weight: 700; }
.event-card__body dd { margin: 0; }
.event-card__body .prog { margin-top: 14px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.25); }
.event-card__body .prog b { color: #ffe600; font-weight: 800; text-shadow: 0 1px 2px rgba(0,0,0,.25); }
.event-card .btn--white { align-self: center; }
.event-card__apply { align-self: center; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.event-card__apply .apply-note { font-size: .8rem; color: rgba(255,255,255,.9); letter-spacing: .02em; }

/* ---------- Timeline ---------- */
.timeline-wrap { max-width: 760px; margin: 0 auto; }
.timeline {
  position: relative; margin: 0; padding: 0 0 0 26px; list-style: none;
  border-left: 2px solid var(--teal-100);
}
.timeline li { position: relative; padding: 0 0 26px 8px; }
.timeline li::before {
  content: ""; position: absolute; left: -34px; top: 5px; width: 12px; height: 12px;
  border-radius: 50%; background: var(--teal-500); border: 3px solid #fff; box-shadow: 0 0 0 2px var(--teal-100);
}
.timeline li time { font-weight: 800; color: var(--teal-700); font-size: .92rem; letter-spacing: .02em; }
.timeline li p { margin: 3px 0 0; color: var(--ink-soft); font-size: .96rem; }
.timeline-more { text-align: center; margin-top: 8px; }
details.archive > summary {
  cursor: pointer; list-style: none; text-align: center; color: var(--teal-700);
  font-weight: 700; padding: 10px; border-radius: 10px;
}
details.archive > summary::-webkit-details-marker { display: none; }
details.archive > summary:hover { background: var(--teal-50); }
details.archive[open] > summary { margin-bottom: 20px; }

/* ---------- Testimonials ---------- */
.tst-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.tst {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; box-shadow: var(--shadow-sm); position: relative; overflow: hidden;
}
.tst::before {
  content: "\201C"; position: absolute; top: -14px; right: 18px; font-size: 6rem;
  color: var(--teal-100); font-family: Georgia, serif; line-height: 1;
}
.tst__meta { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.tst__avatar {
  width: 46px; height: 46px; border-radius: 50%; flex: none;
  background: linear-gradient(135deg, var(--teal-500), var(--teal-600));
  color: #fff; display: grid; place-items: center; font-weight: 800;
}
.tst__meta b { display: block; }
.tst__meta span { font-size: .84rem; color: var(--ink-soft); }
.tst p.excerpt { color: var(--ink-soft); margin: 0 0 16px; position: relative; z-index: 1; }
.tst a.more { font-weight: 700; text-decoration: none; }
.tst a.more:hover { text-decoration: underline; }

/* ---------- Join / steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-bottom: 30px; }
.step {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 24px; text-align: center; box-shadow: var(--shadow-sm); position: relative;
}
.step__num {
  width: 42px; height: 42px; border-radius: 50%; background: var(--coral); color: #fff;
  font-weight: 800; display: grid; place-items: center; margin: 0 auto 14px; font-size: 1.1rem;
}
.step h3 { margin: 0 0 8px; font-size: 1.1rem; color: var(--teal-900); }
.step p { margin: 0; font-size: .93rem; color: var(--ink-soft); }
.notice {
  background: #fff8ef; border: 1px solid #f6e2bf; border-radius: var(--radius-sm);
  padding: 18px 22px; color: #8a6320; font-size: .95rem; display: flex; gap: 12px;
}
.notice svg { flex: none; width: 22px; height: 22px; color: var(--amber); }

/* ---------- Contact / CTA band ---------- */
.cta-band {
  background:
    radial-gradient(700px 400px at 100% 0%, rgba(244,185,66,.18), transparent 60%),
    linear-gradient(135deg, var(--teal-900), var(--teal-700));
  color: #fff; border-radius: 28px; padding: 54px 44px; text-align: center;
  box-shadow: var(--shadow);
}
.cta-band h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin: 0 0 12px; }
.cta-band p { color: rgba(255,255,255,.88); max-width: 40em; margin: 0 auto 26px; }
.cta-band .btn-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.site-footer { background: var(--teal-900); color: #cfe4e1; padding: 52px 0 26px; }
.site-footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 34px; }
.site-footer h4 { color: #fff; margin: 0 0 14px; font-size: 1rem; }
.site-footer a { color: #cfe4e1; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer ul li { padding: 5px 0; font-size: .93rem; }
.site-footer .brand__text b { color: #fff; }
.site-footer .brand__text span { color: #9fc4c0; }
.footer-note {
  border-top: 1px solid rgba(255,255,255,.14); margin-top: 34px; padding-top: 20px;
  font-size: .82rem; color: #9fc4c0; display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap;
}

/* ---------- Sub page (体験談) ---------- */
.page-hero {
  background: linear-gradient(180deg, var(--teal-50), #fff);
  padding: 54px 0 40px; border-bottom: 1px solid var(--line);
}
.page-hero .kicker { color: var(--coral); font-weight: 800; letter-spacing: .16em; font-size: .82rem; }
.page-hero h1 { font-size: clamp(1.7rem, 3.6vw, 2.4rem); color: var(--teal-900); margin: 8px 0 10px; }
.page-hero p { color: var(--ink-soft); margin: 0; max-width: 40em; }
.breadcrumb { font-size: .85rem; color: var(--ink-soft); margin-bottom: 16px; }
.breadcrumb a { text-decoration: none; }

.story {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 36px; box-shadow: var(--shadow-sm); margin-bottom: 30px;
}
.story__head { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.story__avatar {
  width: 56px; height: 56px; border-radius: 50%; flex: none;
  background: linear-gradient(135deg, var(--teal-500), var(--teal-600)); color: #fff;
  display: grid; place-items: center; font-weight: 800; font-size: 1.1rem;
}
.story__head b { font-size: 1.15rem; color: var(--teal-900); display: block; }
.story__head span { font-size: .88rem; color: var(--ink-soft); }
.story__tag {
  display: inline-block; margin-left: auto; background: var(--teal-100); color: var(--teal-700);
  padding: 5px 14px; border-radius: 999px; font-size: .8rem; font-weight: 700;
}
.story p { color: var(--ink); margin: 0 0 16px; }
.story p:last-child { margin-bottom: 0; }

/* ---------- Blog ---------- */
.filter-bar {
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin: 0 auto 40px;
}
.filter-btn {
  border: 1.5px solid var(--line); background: #fff; color: var(--ink-soft);
  padding: 9px 20px; border-radius: 999px; font-weight: 700; font-size: .92rem;
  cursor: pointer; transition: all .15s; font-family: inherit;
}
.filter-btn:hover { border-color: var(--teal-500); color: var(--teal-700); }
.filter-btn.active { background: var(--teal-600); border-color: var(--teal-600); color: #fff; }

.post-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 26px; }
.post {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 32px; box-shadow: var(--shadow-sm); transition: transform .18s, box-shadow .2s;
}
.post:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.post__meta { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; flex-wrap: wrap; }
.post__date { font-size: .88rem; color: var(--ink-soft); font-weight: 700; letter-spacing: .02em; }
.chip {
  display: inline-block; padding: 4px 13px; border-radius: 999px; font-size: .78rem; font-weight: 700;
}
.chip--news    { background: #e6f6f4; color: var(--teal-700); }
.chip--taiken  { background: #fff3d6; color: #a97b17; }
.chip--kanso   { background: #eae7fb; color: #6a5acd; }
.chip--chie    { background: #e3f4e8; color: #2f9e5f; }
.post h2 { font-size: 1.3rem; color: var(--teal-900); margin: 0 0 12px; }
.post__body { color: var(--ink-soft); }
.post__body p { margin: 0 0 14px; }
.post__body p:last-child { margin-bottom: 0; }
.post details > summary {
  cursor: pointer; list-style: none; color: var(--teal-700); font-weight: 700; margin-top: 6px;
  display: inline-block;
}
.post details > summary::-webkit-details-marker { display: none; }
.post details > summary::after { content: " ▼"; font-size: .8em; }
.post details[open] > summary::after { content: " ▲"; }
.post details[open] > summary { margin-bottom: 12px; }
.post-empty { text-align: center; color: var(--ink-soft); padding: 40px; display: none; }

/* ---------- Blog preview (home) ---------- */
.blog-preview { max-width: 760px; margin: 0 auto; list-style: none; padding: 0; border-top: 1px solid var(--line); }
.blog-preview li { border-bottom: 1px solid var(--line); }
.blog-preview a {
  display: flex; align-items: center; gap: 16px; padding: 18px 12px;
  text-decoration: none; color: var(--ink); border-radius: 10px; transition: background .15s;
}
.blog-preview a:hover { background: var(--teal-50); }
.blog-preview a:hover .bp-title { color: var(--teal-700); }
.blog-preview .bp-date { flex: none; width: 6.4em; color: var(--ink-soft); font-weight: 700; font-size: .9rem; letter-spacing: .02em; }
.blog-preview .chip { flex: none; }
.blog-preview .bp-title { flex: 1; font-weight: 600; }
.blog-preview .bp-arrow { flex: none; color: var(--teal-600); font-weight: 800; }
@media (max-width: 640px) {
  .blog-preview a { flex-wrap: wrap; gap: 8px 12px; }
  .blog-preview .bp-title { width: 100%; order: 3; }
  .blog-preview .bp-arrow { display: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; padding-top: 46px; padding-bottom: 46px; }
  .hero__body { order: -1; }
  .features { grid-template-columns: 1fr; }
  .about { grid-template-columns: 1fr; gap: 28px; }
  .event-card { grid-template-columns: 1fr; text-align: left; gap: 22px; }
  .event-card__date { justify-self: start; }
  .tst-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .site-footer .cols { grid-template-columns: 1fr; gap: 26px; }
}

@media (max-width: 720px) {
  .nav {
    position: absolute; top: 70px; left: 0; right: 0; flex-direction: column;
    background: #fff; border-bottom: 1px solid var(--line); padding: 10px 16px 18px;
    gap: 4px; box-shadow: var(--shadow); display: none;
  }
  .nav.open { display: flex; }
  .nav a { width: 100%; padding: 13px 12px; }
  .nav .nav-cta { margin: 6px 0 0; text-align: center; }
  .nav-toggle { display: inline-flex; }
}
