/* ═══════════════════════════════════════════
   グリーンケアブリッジ 共通スタイルシート
   各事業所ページで @import して使用
═══════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Shippori+Mincho:wght@400;600;700;800&family=Noto+Sans+JP:wght@400;500;700&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* ─ Brand palette ─ */
  --grn: #3eb36b;
  --grn-dark: #2a8a4f;
  --grn-light: #e6f7ed;
  --grn-mid: #6fd49a;
  --blue: #3aa8d4;
  --blue-dark: #2480ab;
  --blue-light: #e4f4fb;
  --orange: #f07535;
  --orange-dark: #c75a1e;
  --orange-light: #fff0e6;
  --yellow: #f5c430;
  --yellow-light: #fffbe5;
  --text: #1a2e22;
  --text-mid: #4a6054;
  --text-light: #7a9080;
  --bg: #f4fbf7;
  --white: #ffffff;
  --border: #cfe8d8;
  --radius: 12px;
  --shadow-sm: 0 1px 4px rgba(20,60,30,.06), 0 4px 16px rgba(20,60,30,.08);
  --shadow-md: 0 4px 12px rgba(20,60,30,.08), 0 12px 40px rgba(20,60,30,.12);
  --font-head: 'Shippori Mincho', serif;
  --font-body: 'Noto Sans JP', sans-serif;
  --max: 1160px;
  /* page accent — overridden per page */
  --accent: #3eb36b;
  --accent-dark: #2a8a4f;
  --accent-light: #e6f7ed;
}

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { font-family: var(--font-body); color: var(--text); background: var(--bg); font-size: 16px; line-height: 1.7; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--accent-dark); outline-offset: 2px; border-radius: 4px; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section--alt { background: var(--white); }
.section--tinted { background: var(--accent-light); }

/* ── TYPOGRAPHY ── */
.heading { font-family: var(--font-head); font-weight: 700; line-height: 1.3; text-wrap: pretty; }
.heading--lg { font-size: clamp(28px, 4vw, 44px); }
.heading--md { font-size: clamp(22px, 3vw, 32px); }
.heading--sm { font-size: clamp(18px, 2vw, 22px); }
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent-dark); display: block; margin-bottom: 10px; }
.body-text { color: var(--text-mid); font-size: 16px; line-height: 1.85; text-wrap: pretty; }

/* ── BUTTONS ── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 28px; min-height: 48px; border-radius: var(--radius); font-weight: 700; font-size: 16px; transition: all .2s; white-space: nowrap; }
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-dark); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(62,179,107,.35); }
.btn--outline { background: transparent; color: var(--accent-dark); border: 2px solid var(--accent); }
.btn--outline:hover { background: var(--accent); color: #fff; }
.btn--white { background: #fff; color: var(--accent); }
.btn--white:hover { background: var(--grn-light); }
.btn--ghost { background: transparent; color: rgba(255,255,255,.88); border: 1.5px solid rgba(255,255,255,.55); }
.btn--ghost:hover { background: rgba(255,255,255,.12); }
.btn--blue { background: var(--blue); color: #fff; }
.btn--blue:hover { background: var(--blue-dark); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(58,168,212,.35); }
.btn--orange { background: var(--orange); color: #fff; }
.btn--orange:hover { background: var(--orange-dark); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(240,117,53,.35); }
.btn--line { background: #06c755; color: #fff; }
.btn--line:hover { background: #05a848; transform: translateY(-1px); }
.btn--insta { background: transparent; color: #c13584; border: 2px solid #dcb0cd; }
.btn--insta:hover { background: #fbf1f7; border-color: #c13584; transform: translateY(-1px); }

/* ── TAGS ── */
.tag { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 0.05em; padding: 3px 10px; border-radius: 20px; }
.tag--green { background: var(--grn-light); color: var(--grn-dark); border: 1px solid var(--border); }
.tag--blue { background: var(--blue-light); color: var(--blue-dark); border: 1px solid #b3ddf0; }
.tag--orange { background: var(--orange-light); color: var(--orange-dark); border: 1px solid #ffd0b0; }
.tag--yellow { background: var(--yellow-light); color: #8a6d00; border: 1px solid #f5e080; }
.tag--amber { background: var(--orange-light); color: var(--orange-dark); border: 1px solid #ffd0b0; }
.tag--new { background: var(--orange); color: #fff; }

/* ═══════════════════════════════════════════
   PAGE HEADER (simplified)
═══════════════════════════════════════════ */
.page-nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 20px rgba(20,60,30,.06);
}
.page-nav__inner {
  display: flex; align-items: center; gap: 16px; height: 64px;
}
.page-nav__logo {
  display: flex; align-items: center; gap: 10px; flex-shrink: 0;
}
.page-nav__logo img { height: 40px; width: auto; display: block; }
.page-nav__breadcrumb {
  display: flex; align-items: center; gap: 6px;
  font-size: 13px; color: var(--text-light); margin-left: 16px;
}
.page-nav__breadcrumb a { color: var(--accent-dark); transition: opacity .15s; padding: 8px 2px; }
.page-nav__breadcrumb a:hover { opacity: .7; }
.page-nav__breadcrumb span { opacity: .4; }
.page-nav__cta { margin-left: auto; }
.page-nav__cta.btn { padding: 11px 18px; min-height: 44px; font-size: 14px; white-space: nowrap; }
@media (max-width: 600px) {
  .page-nav__breadcrumb { display: none; }
  .page-nav__logo-text small { display: none; }
}

/* ═══════════════════════════════════════════
   HERO
═══════════════════════════════════════════ */
.page-hero {
  position: relative; min-height: 480px;
  display: flex; align-items: flex-end;
  overflow: hidden;
}
.page-hero__bg {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, #0d2918 0%, #1a4a2a 60%, #0d2918 100%);
}
.page-hero__bg img {
  width: 100%; height: 100%; object-fit: cover;
  position: absolute; inset: 0;
}
.page-hero__ph {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 10px;
}
.page-hero__ph-label {
  font-size: 12px; color: rgba(255,255,255,.35);
  border: 1.5px dashed rgba(255,255,255,.2); padding: 8px 18px;
  border-radius: 6px; letter-spacing: 0.1em; text-align: center; line-height: 1.7;
}
.page-hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(8,22,14,.84) 0%, rgba(8,22,14,.22) 65%, transparent 100%);
}
.page-hero__content {
  position: relative; z-index: 2;
  padding: 140px 0 48px;
  width: 100%;
}
.page-hero__service-tag {
  display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 0.2em;
  color: var(--grn-mid); text-transform: uppercase; margin-bottom: 10px;
  background: rgba(111,212,154,.15); padding: 4px 12px; border-radius: 20px;
  border: 1px solid rgba(111,212,154,.3);
}
.page-hero__title {
  font-family: var(--font-head); font-size: clamp(28px, 5vw, 52px);
  font-weight: 800; color: #fff; line-height: 1.2; margin-bottom: 12px;
}
.page-hero__title em { color: var(--grn-mid); font-style: normal; }
.page-hero__desc { font-size: 16px; color: rgba(255,255,255,.92); line-height: 1.8; max-width: 560px; }
@media (max-width: 768px) {
  .page-hero { min-height: 380px; }
  .page-hero__content { padding-top: 100px; padding-bottom: 36px; }
}

/* ═══════════════════════════════════════════
   FEATURES GRID
═══════════════════════════════════════════ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 40px;
}
.feature-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  transition: transform .2s, box-shadow .2s;
}
.feature-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.feature-card__icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--accent-light);
  background: color-mix(in srgb, var(--accent-light) 72%, #fff);
  border: 1px solid rgba(62,179,107,.18);
  border-color: color-mix(in srgb, var(--accent) 22%, transparent);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px; color: var(--accent);
}
.feature-card__icon svg { width: 22px; height: 22px; }
.feature-card__title {
  font-family: var(--font-head); font-size: 16px; font-weight: 700;
  color: var(--text); margin-bottom: 8px;
}
.feature-card__desc { font-size: 14px; color: var(--text-mid); line-height: 1.75; }

/* ═══════════════════════════════════════════
   SERVICE FLOW
═══════════════════════════════════════════ */
.flow {
  display: flex; flex-direction: column; gap: 0; margin-top: 40px;
}
.flow-step {
  display: grid; grid-template-columns: 48px 1fr; gap: 16px;
  align-items: flex-start; position: relative; padding-bottom: 28px;
}
.flow-step:last-child { padding-bottom: 0; }
.flow-step__num {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--accent-dark); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-size: 18px; font-weight: 800;
  flex-shrink: 0; position: relative; z-index: 1;
}
.flow-step::before {
  content: '';
  position: absolute; top: 48px; left: 23px;
  width: 2px; bottom: 0;
  background: var(--border);
}
.flow-step:last-child::before { display: none; }
.flow-step__body { padding-top: 10px; }
.flow-step__title { font-family: var(--font-head); font-size: 16px; font-weight: 700; color: var(--text); margin-bottom: 4px; }
.flow-step__desc { font-size: 14px; color: var(--text-mid); line-height: 1.75; }

/* ═══════════════════════════════════════════
   TARGET AREA
═══════════════════════════════════════════ */
.target-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 40px;
}
.target-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px 24px;
  box-shadow: var(--shadow-sm);
}
.target-card__title {
  font-family: var(--font-head); font-size: 16px; font-weight: 700;
  color: var(--text); margin-bottom: 16px;
  display: flex; align-items: center; gap: 8px;
}
.target-card__title-icon {
  width: 28px; height: 28px; border-radius: 8px;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--accent); background: var(--accent-light);
  border: 1px solid rgba(62,179,107,.16);
  border-color: color-mix(in srgb, var(--accent) 18%, transparent);
  flex-shrink: 0;
}
.target-card__title-icon svg { width: 15px; height: 15px; }
.target-card__list { display: flex; flex-direction: column; gap: 8px; }
.target-card__item {
  display: flex; align-items: flex-start; gap: 8px;
  font-size: 15px; color: var(--text-mid); line-height: 1.6;
}
.target-card__item::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent); flex-shrink: 0; margin-top: 8px;
}
@media (max-width: 640px) { .target-grid { grid-template-columns: 1fr; } }

/* ═══════════════════════════════════════════
   FAQ
═══════════════════════════════════════════ */
.faq { display: flex; flex-direction: column; gap: 12px; margin-top: 40px; }
.faq-item {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
}
.faq-q {
  width: 100%;
  display: flex; align-items: flex-start; gap: 14px;
  padding: 20px 22px; cursor: pointer;
  font-weight: 700; font-size: 16px; color: var(--text);
  transition: background .15s;
  text-align: left;
}
.faq-q:hover { background: var(--bg); }
.faq-q__letter {
  flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%;
  background: var(--accent-dark); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 800; margin-top: 1px;
}
.faq-q__arrow {
  margin-left: auto; flex-shrink: 0; color: var(--accent);
  transition: transform .25s;
}
.faq-item.open .faq-q__arrow { transform: rotate(180deg); }
.faq-a {
  display: none; padding: 0 22px 20px 64px;
  font-size: 15px; color: var(--text-mid); line-height: 1.85;
}
@media (max-width: 600px) { .faq-a { padding-left: 22px; } }
.faq-item.open .faq-a { display: block; }

/* ═══════════════════════════════════════════
   CONTACT BOX
═══════════════════════════════════════════ */
.contact-box {
  background: var(--white); border: 1px solid var(--border);
  border-radius: 16px; padding: 40px 48px;
  box-shadow: var(--shadow-md);
  display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center;
}
.contact-box__info { display: flex; flex-direction: column; gap: 12px; }
.contact-box__name { font-family: var(--font-head); font-size: 20px; font-weight: 700; color: var(--text); }
.contact-box__rows { display: flex; flex-direction: column; gap: 8px; }
.contact-box__row { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; color: var(--text-mid); }
.contact-box__row-icon { color: var(--accent); flex-shrink: 0; margin-top: 4px; }
.contact-box__row a { color: var(--accent-dark); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; display: inline-block; padding: 8px 0; margin: -8px 0; }
.contact-box__actions { display: flex; flex-direction: column; gap: 10px; min-width: 200px; }
@media (max-width: 768px) {
  .contact-box { grid-template-columns: 1fr; padding: 28px 24px; }
  .contact-box__actions { flex-direction: row; flex-wrap: wrap; }
}

/* ═══════════════════════════════════════════
   RECRUIT MINI BAND
═══════════════════════════════════════════ */
.recruit-mini {
  background: linear-gradient(135deg, #0d2918 0%, #1a4a2a 100%); padding: 56px 0;
  display: flex; align-items: center;
}
.recruit-mini__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
}
.recruit-mini__text { }
.recruit-mini__eyebrow { font-size: 11px; font-weight: 700; letter-spacing: 0.2em; color: var(--grn-mid); text-transform: uppercase; margin-bottom: 6px; opacity: 0.9; }
.recruit-mini__title { font-family: var(--font-head); font-size: clamp(20px,3vw,28px); font-weight: 800; color: #fff; }
.recruit-mini__desc { font-size: 14px; color: rgba(255,255,255,.78); margin-top: 6px; line-height: 1.75; }
.recruit-mini__actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* ═══════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════ */
.page-footer {
  background: #0d2018; padding: 36px 0 24px;
  color: rgba(255,255,255,.6);
}
.page-footer__inner {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 16px;
}
.page-footer__logo { display: flex; align-items: center; gap: 10px; }
.page-footer__logo img { height: 34px; width: auto; display: block; filter: brightness(0) invert(1); opacity: 0.9; }
.page-footer__links { display: flex; gap: 8px 20px; flex-wrap: wrap; }
.page-footer__link { font-size: 13px; color: rgba(255,255,255,.72); transition: color .2s; display: inline-flex; align-items: center; min-height: 44px; padding: 0 2px; }
.page-footer__link:hover { color: #6fd49a; }
.page-footer__copy { font-size: 11px; color: rgba(255,255,255,.45); width: 100%; text-align: right; margin-top: 12px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.08); }

/* ═══════════════════════════════════════════
   LINE FLOAT
═══════════════════════════════════════════ */
.line-float {
  position: fixed; bottom: 28px; right: 28px; z-index: 200;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
}
.line-float__btn {
  width: 56px; height: 56px; border-radius: 50%;
  background: #06c755; color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(6,199,85,.45);
  transition: transform .2s, box-shadow .2s;
  border: none; cursor: pointer;
}
.line-float__btn:hover { transform: scale(1.08); }
.line-float__label { font-size: 10px; font-weight: 700; color: #06c755; background: #fff; border-radius: 10px; padding: 2px 8px; box-shadow: 0 2px 8px rgba(0,0,0,.12); white-space: nowrap; }

/* ═══════════════════════════════════════════
   PLACEHOLDER HELPERS
═══════════════════════════════════════════ */
.ph-img {
  background: repeating-linear-gradient(45deg, #c8e8d4 0px, #c8e8d4 3px, #daf0e4 3px, #daf0e4 12px);
  display: flex; align-items: center; justify-content: center;
}
.ph-img--blue {
  background: repeating-linear-gradient(45deg, #c0dff0 0px, #c0dff0 3px, #d8eef8 3px, #d8eef8 12px);
}
.ph-img--amber, .ph-img--orange {
  background: repeating-linear-gradient(45deg, #fdd8b8 0px, #fdd8b8 3px, #feebd4 3px, #feebd4 12px);
}
.ph-label {
  font-size: 11px; color: var(--text-light); text-align: center; line-height: 1.7;
  border: 1.5px dashed var(--border); padding: 8px 14px; border-radius: 6px;
  background: rgba(255,255,255,.65);
}

/* ═══════════════════════════════════════════
   YOUTUBE ファサード（クリックで再生・軽量）
═══════════════════════════════════════════ */
.ytfacade {
  position: relative; display: block;
  aspect-ratio: 16/9; border-radius: 10px; overflow: hidden;
  background: #111; cursor: pointer; box-shadow: 0 2px 12px rgba(0,0,0,.12);
}
.ytfacade img { width: 100%; height: 100%; object-fit: cover; opacity: .92; transition: opacity .2s; }
.ytfacade:hover img { opacity: 1; }
.ytfacade__play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.ytfacade__play span {
  width: 66px; height: 46px; border-radius: 12px;
  background: rgba(0,0,0,.72); display: flex; align-items: center; justify-content: center;
  transition: background .2s;
}
.ytfacade:hover .ytfacade__play span { background: #cc0000; }
.ytfacade__play svg { margin-left: 3px; }
.ytfacade iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.ytfacade__label {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 1;
  padding: 26px 16px 12px; color: #fff; font-size: 13px; font-weight: 700;
  background: linear-gradient(to top, rgba(0,0,0,.7), transparent);
  pointer-events: none;
}

/* ═══════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════ */
@media (max-width: 900px) { .section { padding: 52px 0; } }
@media (max-width: 600px) {
  .features-grid { grid-template-columns: 1fr; }
  body { padding-bottom: 72px; }
  .btn { white-space: normal; justify-content: center; text-align: center; }
  .contact-box__actions .btn { width: 100%; justify-content: center; }
  .line-float { right: 16px; bottom: 16px; }
  .line-float__btn { width: 48px; height: 48px; }
  .line-float__label { display: none; }
}
