/* ============================================================
   稀株式会社 サイト共通スタイル
   健康経営LP (/kenko/) のデザインシステムを全社サイトに展開
   ============================================================ */
:root {
  /* コーポレートサイトは淡いブルー系（健康経営LP /kenko/ は緑系で差別化） */
  --green: #4f86ae;
  --green-dark: #3d6b8d;
  --green-deep: #2e5170;
  --green-light: #6ba3c9;
  --green-soft: #9cc0da;
  --green-pale: #e9f2f8;
  --green-mist: #f5f9fc;
  --orange: #e07430;
  --orange-light: #f08940;
  --orange-pale: #fdeee2;
  --navy: #182338;
  --text: #2b333e;
  --text-soft: #626c78;
  --line: #dfe9e3;
  --shadow-s: 0 1px 2px rgba(24,35,56,0.05), 0 4px 12px rgba(24,35,56,0.05);
  --shadow-m: 0 2px 4px rgba(24,35,56,0.04), 0 12px 32px rgba(24,35,56,0.09);
  --shadow-l: 0 4px 8px rgba(24,35,56,0.05), 0 24px 64px rgba(24,35,56,0.14);
  --radius: 16px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Noto Sans JP', sans-serif;
  color: var(--text);
  background: #fff;
  line-height: 1.9;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; }
a { color: var(--green-dark); }
.inner { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
h1, h2, h3, .brand-name, .price-value {
  font-family: 'Zen Kaku Gothic New', 'Noto Sans JP', sans-serif;
}
.icon { width: 26px; height: 26px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ===== セクション共通 ===== */
.sec { padding: 96px 0; position: relative; }
.sec-label {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  color: var(--green);
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.22em;
  margin-bottom: 14px;
  font-family: 'Zen Kaku Gothic New', sans-serif;
}
.sec-label::before, .sec-label::after { content: ""; width: 28px; height: 1px; background: var(--green-soft); }
.sec-title {
  font-size: clamp(1.5rem, 3.4vw, 2.15rem);
  font-weight: 900; text-align: center; color: var(--navy);
  line-height: 1.55; letter-spacing: 0.02em; margin-bottom: 20px;
}
.sec-lead { text-align: center; color: var(--text-soft); max-width: 700px; margin: 0 auto 52px; font-size: 0.97rem; }
.accent { color: var(--green); }
.bg-pale { background: var(--green-pale); }
.bg-mist { background: var(--green-mist); }

/* ===== ボタン ===== */
.btn {
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center;
  text-decoration: none; font-weight: 700;
  border-radius: 12px; padding: 15px 38px; font-size: 1rem; text-align: center;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
  line-height: 1.5;
}
.btn:hover { transform: translateY(-2px); }
.btn-orange {
  background: linear-gradient(180deg, var(--orange-light), var(--orange));
  color: #fff;
  box-shadow: 0 2px 4px rgba(224,116,48,0.3), 0 10px 24px rgba(224,116,48,0.32);
}
.btn-orange:hover { box-shadow: 0 4px 8px rgba(224,116,48,0.3), 0 14px 32px rgba(224,116,48,0.4); }
.btn-ghost { background: #fff; color: var(--green-dark); border: 2px solid var(--green); box-shadow: var(--shadow-s); }
.btn-ghost:hover { background: var(--green-mist); }
.btn-note { display: block; font-size: 0.7rem; font-weight: 500; opacity: 0.85; }

/* ===== ヘッダー ===== */
header.site {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(223,233,227,0.8);
  height: 68px; display: flex; align-items: center;
}
.header-in {
  max-width: 1200px; margin: 0 auto; padding: 0 24px; width: 100%;
  display: flex; align-items: center; justify-content: space-between;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-mark {
  width: 34px; height: 34px; border-radius: 9px;
  background: linear-gradient(135deg, var(--green-light), var(--green-dark));
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 6px rgba(79,134,174,0.35);
  flex-shrink: 0;
}
.brand-mark svg { width: 19px; height: 19px; stroke: #fff; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.brand-mark.brand-logo { background: #fff; border: 1px solid var(--line); overflow: hidden; }
.brand-mark.brand-logo img { width: 100%; height: 100%; object-fit: cover; }
.brand-name { font-weight: 900; color: var(--navy); font-size: 1.02rem; letter-spacing: 0.02em; line-height: 1.2; }
.brand-sub { display: block; font-size: 0.62rem; color: var(--text-soft); font-weight: 500; letter-spacing: 0.08em; }
.header-cta { display: flex; gap: 10px; align-items: center; }
.header-cta .btn { padding: 9px 20px; font-size: 0.85rem; border-radius: 9px; }
.header-links { display: flex; gap: 22px; margin-right: 12px; }
.header-links a {
  font-size: 0.84rem; color: var(--text); text-decoration: none; font-weight: 500;
  transition: color 0.2s; position: relative; padding-bottom: 4px;
}
.header-links a:hover { color: var(--green); }
/* 現在地の明示：色を濃くし、下線でも示す */
.header-links a.active { color: var(--green-dark); font-weight: 700; }
.header-links a.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 2px; border-radius: 2px; background: var(--orange);
}
@media (max-width: 960px) { .header-links { display: none; } }

/* ===== 下層ページヒーロー ===== */
.page-hero {
  padding: 150px 0 72px;
  background:
    radial-gradient(ellipse 800px 480px at 90% 0%, rgba(156,192,218,0.16), transparent 60%),
    radial-gradient(ellipse 600px 400px at 5% 100%, rgba(240,137,64,0.06), transparent 60%),
    linear-gradient(180deg, #fdfefd, var(--green-mist));
}
.page-hero .inner { max-width: 900px; }
.page-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 6px 16px; font-size: 0.76rem; font-weight: 700; color: var(--green-dark);
  box-shadow: var(--shadow-s); margin-bottom: 20px;
}
.page-eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 3px var(--orange-pale); }
.page-hero h1 {
  font-size: clamp(1.7rem, 4.2vw, 2.6rem); font-weight: 900; color: var(--navy);
  line-height: 1.45; margin-bottom: 18px;
}
.page-hero h1 .u { background: linear-gradient(transparent 70%, rgba(240,137,64,0.5) 70%); padding-bottom: 2px; }
.page-hero .lead { color: var(--text-soft); font-size: clamp(0.94rem, 1.7vw, 1.05rem); max-width: 720px; }

/* ===== カード ===== */
.cards3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.cards2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
@media (max-width: 860px) { .cards3, .cards2 { grid-template-columns: 1fr; max-width: 540px; margin: 0 auto; } }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px 30px; box-shadow: var(--shadow-s);
  transition: box-shadow 0.3s, transform 0.3s;
}
.card:hover { box-shadow: var(--shadow-m); transform: translateY(-4px); }
a.card { display: block; text-decoration: none; color: inherit; }
.card-icon {
  width: 56px; height: 56px; border-radius: 15px;
  background: linear-gradient(135deg, var(--green-pale), #fff);
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  color: var(--green); margin-bottom: 18px;
  box-shadow: inset 0 1px 0 #fff, 0 2px 6px rgba(79,134,174,0.08);
}
.card h3 { font-size: 1.1rem; color: var(--navy); margin-bottom: 10px; line-height: 1.55; }
.card p { font-size: 0.9rem; color: var(--text-soft); }
.card .more { display: inline-block; margin-top: 14px; font-size: 0.84rem; font-weight: 700; color: var(--green); }
.card .more::after { content: " →"; }

/* ===== チェックリスト ===== */
.list-check { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.list-check li { display: flex; gap: 12px; align-items: flex-start; font-size: 0.95rem; }
.list-check li svg {
  width: 20px; height: 20px; flex-shrink: 0; margin-top: 7px;
  stroke: var(--green); fill: none; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round;
}
.list-check strong { color: var(--navy); }

/* ===== 2カラム（説明＋図） ===== */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 28px; } }
.split h3 { font-size: clamp(1.2rem, 2.4vw, 1.5rem); color: var(--navy); line-height: 1.6; margin-bottom: 14px; }
.split p { font-size: 0.94rem; color: var(--text-soft); margin-bottom: 12px; }

/* ===== トピック（横長カード） ===== */
.topic {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-s); padding: 32px 34px;
  display: grid; grid-template-columns: auto 1fr; gap: 22px; align-items: start;
  position: relative; overflow: hidden;
}
.topic::before { content: ""; position: absolute; top: 0; left: 0; bottom: 0; width: 5px; background: linear-gradient(180deg, var(--green-light), var(--green-dark)); }
.topic-icon { width: 54px; height: 54px; border-radius: 14px; background: var(--green-pale); display: flex; align-items: center; justify-content: center; color: var(--green); flex-shrink: 0; }
.topic-tag { display: inline-block; background: var(--orange); color: #fff; font-size: 0.68rem; font-weight: 900; letter-spacing: 0.12em; border-radius: 5px; padding: 2px 10px; margin-bottom: 8px; font-family: 'Zen Kaku Gothic New', sans-serif; }
.topic h3 { font-size: 1.08rem; color: var(--navy); margin-bottom: 8px; line-height: 1.6; }
.topic p { font-size: 0.89rem; color: var(--text-soft); }
@media (max-width: 640px) { .topic { grid-template-columns: 1fr; padding: 26px 22px; } }

/* ===== CTA帯 ===== */
.cta-band {
  background:
    radial-gradient(ellipse 500px 220px at 85% 0%, rgba(156,192,218,0.25), transparent),
    linear-gradient(135deg, var(--green-deep), var(--green-dark));
  color: #fff; border-radius: var(--radius);
  padding: 44px 36px; text-align: center;
  box-shadow: var(--shadow-m);
}
.cta-band h3 { font-size: clamp(1.15rem, 2.6vw, 1.5rem); line-height: 1.7; margin-bottom: 10px; }
.cta-band p { color: rgba(255,255,255,0.82); font-size: 0.92rem; margin-bottom: 24px; }
.cta-band .accent-o { color: #ffb37e; }

/* ===== 会社概要テーブル ===== */
.company-table { max-width: 720px; margin: 0 auto; width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-s); }
.company-table th, .company-table td { padding: 17px 24px; border-bottom: 1px solid var(--line); font-size: 0.9rem; text-align: left; vertical-align: top; }
.company-table tr:last-child th, .company-table tr:last-child td { border-bottom: none; }
.company-table th { color: var(--navy); white-space: nowrap; width: 150px; font-weight: 700; background: var(--green-mist); }
.company-table td { color: var(--text-soft); }

/* ===== 問い合わせ（トップ） ===== */
.closing {
  background:
    radial-gradient(ellipse 700px 400px at 90% 0%, rgba(156,192,218,0.25), transparent),
    radial-gradient(ellipse 500px 300px at 5% 100%, rgba(240,137,64,0.12), transparent),
    linear-gradient(150deg, var(--green-deep), var(--green-dark));
  color: #fff; padding: 100px 0; position: relative; overflow: hidden;
}
.closing::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.07) 1px, transparent 1px);
  background-size: 24px 24px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.6), transparent 55%);
  -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,0.6), transparent 55%);
  pointer-events: none;
}
.closing .inner { position: relative; }
.closing .sec-label { color: #9fd6bd; }
.closing .sec-label::before, .closing .sec-label::after { background: rgba(159,214,189,0.5); }
.closing .sec-title { color: #fff; }
.closing .sec-lead { color: rgba(255,255,255,0.82); }
.contact-form {
  max-width: 640px; margin: 0 auto;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 20px; padding: 40px 36px;
  backdrop-filter: blur(4px);
}
@media (max-width: 560px) { .contact-form { padding: 28px 20px; } }
.form-group { margin-bottom: 20px; }
.form-label { display: block; font-size: 0.85rem; font-weight: 700; margin-bottom: 7px; color: #fff; }
.form-label .required { background: var(--orange); color: #fff; font-size: 0.66rem; border-radius: 5px; padding: 2px 9px; margin-left: 8px; font-weight: 700; vertical-align: 2px; }
.form-input, .form-select, .form-textarea {
  width: 100%; background: rgba(255,255,255,0.96);
  border: 1px solid transparent; border-radius: 10px;
  padding: 13px 16px; color: var(--text); font-size: 0.95rem; font-family: inherit;
}
.form-input:focus, .form-select:focus, .form-textarea:focus { outline: 3px solid rgba(240,137,64,0.55); border-color: var(--orange-light); }
.form-input::placeholder, .form-textarea::placeholder { color: #a6aeb6; }
.form-select { appearance: none; cursor: pointer; }
.form-textarea { resize: vertical; min-height: 130px; }
.form-submit { width: 100%; border: none; cursor: pointer; font-family: inherit; font-size: 1.05rem; padding: 17px; margin-top: 8px; }
.form-note { font-size: 0.75rem; color: rgba(255,255,255,0.62); margin-top: 16px; text-align: center; }
.wana-wrap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ===== フッター ===== */
footer.site {
  background: var(--navy);
  color: rgba(255,255,255,0.55);
  padding: 44px 0 36px;
  font-size: 0.8rem;
}
footer.site .inner { text-align: center; }
.footer-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 22px; margin-bottom: 20px; }
.footer-nav a { color: rgba(255,255,255,0.78); text-decoration: none; }
.footer-nav a:hover { color: #fff; }
footer.site .copy { color: rgba(255,255,255,0.45); }

/* ===== プライバシーポリシー ===== */
.privacy-body { max-width: 780px; margin: 0 auto; }
.privacy-body h3 { font-size: 1rem; color: var(--navy); margin: 26px 0 8px; }
.privacy-body p { font-size: 0.88rem; color: var(--text-soft); }

/* ===== コラム ===== */
.article-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-s); padding: 28px 30px;
  display: flex; flex-direction: column; gap: 8px;
}
.article-meta { font-size: 0.76rem; color: var(--text-soft); display: flex; gap: 12px; align-items: center; }
.article-cat { background: var(--green-pale); color: var(--green-dark); border-radius: 999px; padding: 2px 12px; font-weight: 700; }
.article-card h3 { font-size: 1.05rem; color: var(--navy); line-height: 1.6; }
.article-card p { font-size: 0.88rem; color: var(--text-soft); }
.badge-soon { display: inline-block; background: var(--orange-pale); color: #b55a1d; font-size: 0.72rem; font-weight: 700; border-radius: 999px; padding: 3px 14px; }

/* ===== 記事ページ ===== */
a.article-card { text-decoration: none; color: inherit; transition: box-shadow 0.3s, transform 0.3s; }
a.article-card:hover { box-shadow: var(--shadow-m); transform: translateY(-4px); }
.article-date { font-size: 0.76rem; color: var(--text-soft); }
.article-wrap { max-width: 780px; margin: 0 auto; padding: 0 24px; }
.article-body { font-size: 0.97rem; }
.article-body h2 {
  font-size: 1.22rem; color: var(--navy);
  margin: 46px 0 18px; padding: 6px 0 6px 16px;
  border-left: 5px solid var(--green); line-height: 1.5;
}
.article-body p { margin-bottom: 20px; }
.article-body strong {
  font-weight: 700; color: var(--navy);
  background: linear-gradient(transparent 68%, rgba(240,137,64,0.35) 68%);
}
.article-body table {
  width: 100%; border-collapse: collapse; margin: 22px 0 28px;
  font-size: 0.9rem; background: #fff;
  box-shadow: var(--shadow-s); border-radius: 12px; overflow: hidden;
}
.article-body th { background: var(--green-mist); color: var(--navy); padding: 11px 16px; text-align: left; white-space: nowrap; border-bottom: 1px solid var(--line); }
.article-body td { padding: 11px 16px; border-bottom: 1px solid var(--line); }
.article-body tr:last-child td { border-bottom: none; }
.article-note { font-size: 0.8rem; color: var(--text-soft); border-top: 1px dashed var(--line); padding-top: 18px; margin-top: 36px; }
.article-back { display: inline-block; margin-top: 30px; font-weight: 700; }

/* ===== アニメーション ===== */
.fade-up { opacity: 0; transform: translateY(26px); transition: opacity 0.75s ease, transform 0.75s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }
.d1 { transition-delay: 0.08s; } .d2 { transition-delay: 0.16s; } .d3 { transition-delay: 0.24s; }
@media (prefers-reduced-motion: reduce) { .fade-up { opacity: 1; transform: none; transition: none; } }


