/* ============================================================
   辻内社会保険労務士事務所 — スタイルシート v2
   デザイン方針：明るく・動的・デザイン性重視
   ============================================================ */

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

/* ─── CSS Variables ─── */
:root {
  --green:        #6CB92C;
  --green-dark:   #4a9018;
  --green-deeper: #2d6e10;
  --green-light:  #e8f5d8;
  --green-pale:   #f4fbe9;
  --text:         #1a1a1a;
  --text-sub:     #6b7280;
  --bg:           #ffffff;
  --bg-gray:      #f9fafb;
  --border:       #e5e7eb;
  --font:         'Noto Sans JP', sans-serif;
  --max-w:        1100px;
  --radius:       12px;
  --shadow-sm:    0 2px 8px rgba(0,0,0,0.06);
  --shadow:       0 4px 20px rgba(0,0,0,0.08);
  --shadow-lg:    0 12px 40px rgba(0,0,0,0.12);
  --transition:   0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ─── Reset ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--text); background: var(--bg); line-height: 1.7; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ─── Utility ─── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section--gray { background: var(--bg-gray); }

/* ─── Scroll Animation ─── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* ─── Section Head ─── */
.section__head { text-align: center; margin-bottom: 60px; }
.section__label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--green);
  text-transform: uppercase;
  margin-bottom: 14px;
}
.section__label::before,
.section__label::after {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--green);
  opacity: 0.6;
}
.section__title {
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: -0.02em;
}
.section__title .accent { color: var(--green); }
.section__desc { margin-top: 16px; color: var(--text-sub); font-size: 15px; max-width: 520px; margin-left: auto; margin-right: auto; }

/* ─── Header ─── */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.header.scrolled { border-color: var(--border); box-shadow: 0 2px 20px rgba(0,0,0,0.06); }
.header__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px; max-width: var(--max-w); margin: 0 auto; padding: 0 24px;
}
.header__logo { display: flex; align-items: center; gap: 10px; }
.header__logo img:first-child { height: 40px; width: auto; transition: opacity var(--transition); flex-shrink: 0; }
.header__logo-name {
  height: 15px; width: auto; display: block;
}
.header__logo:hover { opacity: 0.8; }

.nav__list { display: flex; align-items: center; gap: 32px; }
.nav__link {
  font-size: 14px; font-weight: 500; color: var(--text);
  position: relative; transition: color var(--transition);
}
.nav__link::after {
  content: ''; position: absolute; bottom: -4px; left: 0;
  width: 0; height: 2px; background: var(--green);
  transition: width var(--transition);
}
.nav__link:hover, .nav__link.active { color: var(--green); }
.nav__link:hover::after, .nav__link.active::after { width: 100%; }
.nav__cta {
  background: var(--green); color: #fff;
  padding: 10px 22px; border-radius: 40px;
  font-size: 14px; font-weight: 700;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}
.nav__cta:hover { background: var(--green-dark); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(108,185,44,0.4); }

/* Hamburger */
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: all var(--transition); }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Menu */
.mobile-menu { display: none; position: fixed; top: 72px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--border); z-index: 99; padding: 16px 24px 28px; }
.mobile-menu.open { display: block; }
.mobile-menu .nav__list { display: flex; flex-direction: column; align-items: flex-start; gap: 0; }
.mobile-menu .nav__link { display: block; padding: 14px 0; border-bottom: 1px solid var(--border); width: 100%; font-size: 15px; }
.mobile-menu .nav__cta { margin-top: 16px; width: 100%; justify-content: center; padding: 14px; display: flex; border-radius: var(--radius); }

/* ─── HERO ─── */
.hero {
  padding-top: 72px;
  min-height: 100vh;
  background: linear-gradient(160deg, #ffffff 0%, #f4faf0 50%, #eaf6df 100%);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}

/* 装飾的な背景要素 */
.hero__bg-shape {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.hero__bg-shape--1 {
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(108,185,44,0.10) 0%, transparent 65%);
  top: -150px; right: -150px;
  animation: floatSlow 9s ease-in-out infinite;
}
.hero__bg-shape--2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(108,185,44,0.06) 0%, transparent 65%);
  bottom: -100px; left: 0%;
  animation: floatSlow 12s ease-in-out infinite reverse;
}
.hero__bg-shape--3 {
  width: 240px; height: 240px;
  background: radial-gradient(circle, rgba(108,185,44,0.12) 0%, transparent 65%);
  top: 25%; left: 38%;
  animation: floatSlow 7s ease-in-out infinite;
}
.hero__bg-dots {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: radial-gradient(circle, rgba(108,185,44,0.12) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
  opacity: 0.4;
}
/* 斜めラインアクセント */
.hero::after {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 40%;
  height: 4px;
  background: linear-gradient(90deg, transparent, var(--green), var(--green-dark));
  pointer-events: none;
}

@keyframes floatSlow {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-20px) scale(1.05); }
}

.hero__inner {
  position: relative; z-index: 1;
  max-width: var(--max-w); margin: 0 auto; padding: 80px 24px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
  width: 100%;
}

.hero__content {}

/* アクセントライン */
.hero__content::before {
  content: '';
  display: block;
  width: 40px;
  height: 3px;
  background: linear-gradient(90deg, var(--green), rgba(108,185,44,0.2));
  margin-bottom: 20px;
  border-radius: 2px;
}

.hero__badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,0.85);
  border: 1px solid rgba(108,185,44,0.25);
  border-radius: 4px;
  padding: 6px 14px;
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--green-deeper);
  margin-bottom: 24px;
  box-shadow: 0 2px 12px rgba(108,185,44,0.08);
  animation: fadeInDown 0.6s ease both;
}
.hero__badge-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--green);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.hero__title {
  font-size: clamp(36px, 5.5vw, 62px);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  animation: fadeInUp 0.7s 0.1s ease both;
}
.hero__title .line { display: block; }
.hero__title .line:not(.green-text) { font-weight: 300; }
.hero__title .green-text {
  font-weight: 900;
  background: linear-gradient(135deg, var(--green-deeper) 0%, var(--green) 45%, #8dd62a 70%, var(--green-deeper) 100%);
  background-size: 250% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 6s ease-in-out infinite;
}
@keyframes gradientShift {
  0% { background-position: 0% center; }
  50% { background-position: 100% center; }
  100% { background-position: 0% center; }
}

.hero__desc {
  font-size: 16px; line-height: 1.9; color: var(--text-sub);
  margin-bottom: 40px;
  animation: fadeInUp 0.7s 0.2s ease both;
}

.hero__actions {
  display: flex; gap: 14px; flex-wrap: wrap;
  animation: fadeInUp 0.7s 0.3s ease both;
}

/* 数字バッジ */
.hero__stats-row {
  display: flex; gap: 24px; flex-wrap: wrap;
  margin-top: 48px;
  animation: fadeInUp 0.7s 0.4s ease both;
}
.hero__stat {
  display: flex; align-items: center; gap: 10px;
}
.hero__stat-num {
  font-size: 26px; font-weight: 900; color: var(--green);
  line-height: 1;
}
.hero__stat-label { font-size: 12px; color: var(--text-sub); line-height: 1.4; }
.hero__stat-divider { width: 1px; height: 36px; background: var(--border); }

/* ヒーロービジュアル */
.hero__visual {
  display: flex; justify-content: center; align-items: center;
  animation: fadeInRight 0.8s 0.2s ease both;
}
.hero__logo-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
}
.hero__logo-glow {
  position: absolute;
  width: 380px; height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(108,185,44,0.13) 0%, rgba(108,185,44,0.04) 55%, transparent 75%);
  animation: glowPulse 4s ease-in-out infinite;
  pointer-events: none;
}
@keyframes glowPulse {
  0%, 100% { transform: scale(1); opacity: 0.7; }
  50% { transform: scale(1.08); opacity: 1; }
}
.hero__logo-main {
  max-width: 200px;
  width: 100%;
  position: relative;
  z-index: 1;
  animation: logoFloat 5s ease-in-out infinite;
  filter: drop-shadow(0 24px 48px rgba(108,185,44,0.18));
}
@keyframes logoFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

/* ─── Animations ─── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-16px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(32px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* ─── Buttons ─── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: 40px;
  font-size: 15px; font-weight: 700;
  transition: all var(--transition); cursor: pointer; border: none;
}
.btn--primary {
  background: var(--green); color: #fff;
  box-shadow: 0 4px 20px rgba(108,185,44,0.35);
}
.btn--primary:hover { background: var(--green-dark); transform: translateY(-2px); box-shadow: 0 8px 28px rgba(108,185,44,0.45); }
.btn--outline {
  background: transparent; color: var(--green);
  border: 2px solid var(--green);
}
.btn--outline:hover { background: var(--green-pale); transform: translateY(-2px); }
.btn--white { background: #fff; color: var(--green-dark); font-weight: 700; }
.btn--white:hover { background: var(--green-light); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.15); }
.btn--outline-white { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,0.7); font-weight: 700; }
.btn--outline-white:hover { border-color: #fff; background: rgba(255,255,255,0.12); transform: translateY(-2px); }
.btn--green { background: var(--green); color: #fff; }
.btn--green:hover { background: var(--green-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(108,185,44,0.4); }

/* ─── Value Cards (3つの価値) ─── */
.values__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.value-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 36px 28px;
  border: 1px solid var(--border);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.value-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--green-deeper), var(--green));
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--transition);
}
.value-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-6px); border-color: transparent; }
.value-card:hover::before { transform: scaleX(1); }
.value-card__num {
  font-size: 48px; font-weight: 900; line-height: 1;
  background: linear-gradient(135deg, var(--green-deeper), var(--green));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  margin-bottom: 16px;
  opacity: 0.15;
  position: absolute; top: 20px; right: 24px;
}
.value-card__icon {
  width: 54px; height: 54px;
  background: var(--green-light);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  transition: background var(--transition);
}
.value-card:hover .value-card__icon { background: var(--green); }
.value-card__icon svg { width: 26px; height: 26px; color: var(--green); transition: color var(--transition); }
.value-card:hover .value-card__icon svg { color: #fff; }
.value-card__title { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.value-card__desc { font-size: 14px; color: var(--text-sub); line-height: 1.8; }

/* ─── Services ─── */
.services__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 28px 24px;
  border: 1px solid var(--border);
  transition: all var(--transition);
  display: flex; flex-direction: column;
  cursor: default;
}
.service-card:hover { border-color: var(--green); box-shadow: 0 8px 32px rgba(108,185,44,0.12); transform: translateY(-4px); }
.service-card__header { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.service-card__num {
  width: 32px; height: 32px; border-radius: 8px;
  background: var(--green-light);
  color: var(--green-dark);
  font-size: 12px; font-weight: 900;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: all var(--transition);
}
.service-card:hover .service-card__num { background: var(--green); color: #fff; }
.service-card__title { font-size: 15px; font-weight: 700; }
.service-card__desc { font-size: 13px; color: var(--text-sub); line-height: 1.8; flex: 1; }

/* ─── 強みバナー ─── */
.strengths { padding: 80px 0; background: linear-gradient(135deg, var(--green-deeper) 0%, var(--green) 100%); position: relative; overflow: hidden; }
.strengths::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Ccircle cx='30' cy='30' r='4'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.strengths__inner { position: relative; z-index: 1; max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.strengths__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; }
.strength-item {
  text-align: center; color: #fff; padding: 32px 20px;
  border-right: 1px solid rgba(255,255,255,0.15);
}
.strength-item:last-child { border-right: none; }
.strength-item__num {
  font-size: 34px; font-weight: 900; line-height: 1;
  margin-bottom: 8px;
}
/* カウンターアニメーション対象のspan */
.strength-item__count { font-size: inherit; font-weight: inherit; }
/* ¥ 記号は数字より小さくバランスよく */
.strength-yen { font-size: 26px; font-weight: 700; vertical-align: middle; opacity: 0.9; }
.strength-item__label { font-size: 13px; color: rgba(255,255,255,0.75); line-height: 1.5; }

/* ─── FAQ ─── */
.faq__list { max-width: 760px; margin: 0 auto; }
.faq__item { border-bottom: 1px solid var(--border); }
.faq__item:first-child { border-top: 1px solid var(--border); }
.faq__q {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 16px;
  padding: 22px 0; cursor: pointer;
  font-size: 15px; font-weight: 700;
  transition: color var(--transition);
}
.faq__q:hover { color: var(--green); }
.faq__q-text { display: flex; gap: 12px; align-items: flex-start; }
.faq__q-badge {
  flex-shrink: 0; width: 24px; height: 24px;
  background: var(--green); color: #fff;
  border-radius: 6px; font-size: 11px; font-weight: 900;
  display: flex; align-items: center; justify-content: center; margin-top: 1px;
}
.faq__icon {
  flex-shrink: 0; width: 24px; height: 24px;
  border: 2px solid var(--border);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-top: 1px; transition: all var(--transition);
  position: relative;
}
.faq__q:hover .faq__icon { border-color: var(--green); }
.faq__icon::before, .faq__icon::after {
  content: ''; position: absolute;
  background: var(--text-sub);
  transition: all var(--transition);
}
.faq__icon::before { width: 10px; height: 2px; }
.faq__icon::after  { width: 2px; height: 10px; }
.faq__item.open .faq__icon { background: var(--green); border-color: var(--green); }
.faq__item.open .faq__icon::before, .faq__item.open .faq__icon::after { background: #fff; }
.faq__item.open .faq__icon::after { transform: rotate(90deg); opacity: 0; }
.faq__a {
  overflow: hidden; max-height: 0;
  transition: max-height 0.4s ease, padding 0.3s ease;
  padding: 0 0 0 36px;
  font-size: 14px; color: var(--text-sub); line-height: 1.85;
}
.faq__item.open .faq__a { max-height: 300px; padding: 0 0 20px 36px; }

/* ─── CTA Banner ─── */
.cta-banner {
  background: linear-gradient(120deg, var(--green-deeper) 0%, var(--green) 100%);
  padding: 80px 0; text-align: center; color: #fff;
  position: relative; overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute; top: -50%; right: -10%;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  pointer-events: none;
}
.cta-banner__title { font-size: clamp(22px, 3.5vw, 34px); font-weight: 900; margin-bottom: 14px; }
.cta-banner__desc { font-size: 15px; color: rgba(255,255,255,0.85); margin-bottom: 36px; }
.cta-banner__actions { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }

/* ─── Footer ─── */
.footer { background: #111827; color: rgba(255,255,255,0.65); padding: 60px 0 32px; }
.footer__inner { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.footer__top {
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 60px;
  margin-bottom: 48px; padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer__brand img { height: 40px; filter: brightness(0) invert(1); opacity: 0.85; margin-bottom: 18px; }
.footer__tagline { font-size: 13px; line-height: 1.9; }
.footer__nav-title { font-size: 11px; font-weight: 700; letter-spacing: 0.12em; color: rgba(255,255,255,0.35); text-transform: uppercase; margin-bottom: 16px; }
.footer__nav-list { display: flex; flex-direction: column; gap: 10px; }
.footer__nav-list a { font-size: 14px; color: rgba(255,255,255,0.6); transition: color var(--transition); }
.footer__nav-list a:hover { color: var(--green); }
.footer__bottom { display: flex; align-items: center; justify-content: space-between; font-size: 12px; color: rgba(255,255,255,0.25); }
.footer__contact-info { display: flex; gap: 20px; }
.footer__contact-info a { color: rgba(255,255,255,0.4); transition: color var(--transition); }
.footer__contact-info a:hover { color: var(--green); }

/* ─── Page Header ─── */
.page-header {
  background: linear-gradient(135deg, var(--green-deeper), var(--green-dark));
  padding: 120px 0 64px; text-align: center; color: #fff;
  position: relative; overflow: hidden;
}
.page-header::after {
  content: '';
  position: absolute; bottom: -1px; left: 0; right: 0; height: 40px;
  background: #fff;
  clip-path: ellipse(60% 100% at 50% 100%);
}
.page-header--gray::after { background: var(--bg-gray); }
.page-header__label { font-size: 12px; font-weight: 700; letter-spacing: 0.2em; color: rgba(255,255,255,0.6); text-transform: uppercase; margin-bottom: 14px; }
.page-header__title { font-size: clamp(28px, 4vw, 44px); font-weight: 900; }
.page-header__desc { margin-top: 16px; font-size: 15px; color: rgba(255,255,255,0.75); }

/* ─── Breadcrumb ─── */
.breadcrumb { padding: 12px 0; font-size: 12px; color: var(--text-sub); background: var(--bg-gray); }
.breadcrumb__inner { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; display: flex; gap: 8px; align-items: center; }
.breadcrumb a { color: var(--green); }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb__sep { color: var(--border); }

/* ─── Services Page ─── */
.services-list { display: flex; flex-direction: column; gap: 24px; }
.service-item {
  background: #fff; border-radius: var(--radius); padding: 32px 36px;
  box-shadow: var(--shadow-sm); border-left: 4px solid var(--green);
  transition: box-shadow var(--transition), transform var(--transition);
}
.service-item:hover { box-shadow: var(--shadow); transform: translateX(4px); }
.service-item__header { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.service-item__num {
  width: 36px; height: 36px; background: var(--green); color: #fff;
  border-radius: 50%; font-weight: 900; font-size: 14px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.service-item__title { font-size: 19px; font-weight: 700; }
.service-item__desc { font-size: 14px; color: var(--text-sub); line-height: 1.85; }

/* ─── Pricing Tables ─── */
.pricing-section { margin-top: 56px; }
.pricing-section__title { font-size: 20px; font-weight: 700; margin-bottom: 6px; padding-bottom: 10px; border-bottom: 2px solid var(--green); display: flex; align-items: center; gap: 10px; }
.pricing-section__note { font-size: 13px; color: var(--text-sub); margin-bottom: 20px; }
.pricing-table { width: 100%; border-collapse: collapse; font-size: 14px; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); table-layout: fixed; }
.pricing-table th { background: #1f2937; color: #fff; padding: 14px 16px; text-align: left; font-weight: 700; font-size: 13px; }
.pricing-table th:last-child { text-align: right; }
/* プラン列（2〜4列目）を均等幅に */
.pricing-table th:not(:first-child),
.pricing-table td:not(:first-child) { width: auto; text-align: center; word-break: keep-all; overflow-wrap: break-word; }
.pricing-table td { padding: 11px 16px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.pricing-table td:last-child { text-align: right; white-space: nowrap; }
.pricing-table tr:last-child td { border-bottom: none; }
.pricing-table tr:nth-child(even) td { background: #fafafa; }
.pricing-table .category td { background: var(--green-light); font-weight: 700; font-size: 13px; color: var(--green-dark); padding: 9px 16px; }
.price-inquiry { color: var(--text-sub); font-weight: 400; font-size: 13px; }


/* スマホ専用フロートロゴ */
.hero__logo-mobile { display: none; }
@media (max-width: 640px) {
  .hero__logo-mobile { display: block; float: right; width: 75px; margin-left: 8px; margin-right: 10px; margin-top: 30px; }
  .hero__desc { clear: both; }
}

/* ─── About Page ─── */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.about-philosophy { background: var(--green-pale); border-radius: var(--radius); padding: 40px; border-left: 4px solid var(--green); }
.about-philosophy__title { font-size: 18px; font-weight: 700; margin-bottom: 16px; color: var(--green-dark); }
.about-philosophy__text { font-size: 14px; line-height: 2; }
.about-qualifications { margin-top: 28px; }
.about-qualifications__title { font-size: 11px; font-weight: 700; color: var(--text-sub); letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 12px; }
.qualification-badge { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 2px solid var(--green); border-radius: 40px; padding: 7px 16px; font-size: 13px; font-weight: 700; color: var(--green-dark); margin: 4px; }
.info-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.info-table th, .info-table td { padding: 15px 18px; border-bottom: 1px solid var(--border); text-align: left; vertical-align: middle; }
.info-table th { width: 120px; font-weight: 700; color: var(--text-sub); font-size: 13px; white-space: nowrap; background: var(--bg-gray); }
.info-table tr:last-child th, .info-table tr:last-child td { border-bottom: none; }
.info-table a { color: var(--green); }
.info-table a:hover { text-decoration: underline; }

/* ─── Contact Page ─── */
.contact-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 40px; align-items: start; }
.contact-info-card { background: var(--bg-gray); border-radius: var(--radius); padding: 32px; }
.contact-info-card__title { font-size: 16px; font-weight: 700; margin-bottom: 24px; padding-bottom: 12px; border-bottom: 2px solid var(--green); }
.contact-detail { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 24px; }
.contact-detail__icon { width: 42px; height: 42px; background: var(--green-light); border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-detail__icon svg { width: 18px; height: 18px; color: var(--green); }
.contact-detail__label { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; color: var(--text-sub); text-transform: uppercase; margin-bottom: 4px; }
.contact-detail__value { font-size: 18px; font-weight: 700; }
.contact-detail__value a { color: var(--green); }
.contact-detail__note { font-size: 12px; color: var(--text-sub); margin-top: 4px; }
.contact-form-wrap { background: #fff; border-radius: var(--radius); border: 1px solid var(--border); overflow: hidden; }
.contact-form-wrap iframe { width: 100%; min-height: 700px; border: none; display: block; }

/* ─── Feature Cards (About) ─── */
.features__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature-card {
  background: #fff; border-radius: var(--radius); padding: 32px 26px;
  box-shadow: var(--shadow-sm); border: 1px solid var(--border);
  transition: all var(--transition);
}
.feature-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.feature-card__icon { width: 52px; height: 52px; background: var(--green-light); border-radius: 14px; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.feature-card__icon svg { width: 26px; height: 26px; color: var(--green); }
.feature-card__title { font-size: 17px; font-weight: 700; margin-bottom: 10px; }
.feature-card__desc { font-size: 14px; color: var(--text-sub); line-height: 1.8; }

/* ─── Flow Steps ─── */
.flow__steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
  row-gap: 32px;
}
.flow-step {
  flex: 1;
  min-width: 140px;
  max-width: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  padding: 0 12px;
}
.flow-step::after {
  content: '›';
  position: absolute;
  right: -10px;
  top: 14px;
  font-size: 28px;
  color: var(--green);
  font-weight: 900;
  line-height: 1;
}
.flow-step:last-child::after { display: none; }
.flow-step__num {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green-deeper), var(--green));
  color: #fff;
  font-size: 20px;
  font-weight: 900;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(108,185,44,0.3);
}
.flow-step__title { font-size: 15px; font-weight: 700; margin-bottom: 8px; line-height: 1.4; }
.flow-step__desc { font-size: 12px; color: var(--text-sub); line-height: 1.7; }
.flow-step__icon {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--green-light);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 12px;
}
.flow-step__icon svg { width: 20px; height: 20px; color: var(--green); }

/* ─── Floating CTA ─── */
.floating-cta {
  position: fixed;
  bottom: 32px; right: 32px;
  z-index: 200;
  background: var(--green);
  color: #fff;
  border-radius: 40px;
  padding: 14px 22px;
  display: flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 700;
  box-shadow: 0 8px 24px rgba(108,185,44,0.45);
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
}
.floating-cta:hover {
  background: var(--green-dark);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(108,185,44,0.55);
}
.floating-cta svg { width: 18px; height: 18px; flex-shrink: 0; }
@media (max-width: 640px) {
  .floating-cta { bottom: 20px; right: 16px; padding: 12px 18px; font-size: 13px; }
  .flow__steps { flex-direction: column; align-items: center; }
  .flow-step::after { content: '↓'; right: 50%; transform: translateX(50%); top: auto; bottom: -28px; }
  .flow-step { max-width: 280px; width: 100%; }
}

/* ─── Partners ─── */
.partners__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  max-width: 860px;
  margin: 0 auto;
}
.partner-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
  transition: box-shadow var(--transition);
}
.partner-card:hover { box-shadow: var(--shadow); }
.partner-card__title { font-size: 16px; font-weight: 700; line-height: 1.5; margin-bottom: 6px; }
.partner-card__desc { font-size: 14px; color: var(--text-sub); line-height: 1.8; }
.partner-card__logo-area {
  width: 100%;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.partner-banner { display: block; }
.partner-banner--wide  { width: 80%; height: auto; max-height: 180px; }
.partner-banner--tall  { max-height: 180px; width: auto; }
.partner-badge--jobcan {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  background: linear-gradient(135deg, #1a3a6b, #2a5ba8);
  border-radius: 10px;
  padding: 14px 24px;
  gap: 2px;
  min-width: 140px;
}
.partner-badge__sub {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.75);
  text-transform: uppercase;
}
.partner-badge__name {
  font-size: 20px;
  font-weight: 900;
  color: #fff;
  letter-spacing: 0.05em;
}

/* ─── Responsive ─── */
@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 3fr 2fr; gap: 24px; padding: 60px 20px; }
  .hero__visual { display: flex; justify-content: center; align-items: center; }
  .hero__logo-main { max-width: 150px; }
  .hero__logo-glow { width: 240px; height: 240px; }
  .values__grid { grid-template-columns: 1fr 1fr; }
  .services__grid { grid-template-columns: 1fr 1fr; }
  .strengths__grid { grid-template-columns: repeat(3, 1fr); }
  .about-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; gap: 32px; }
  .features__grid { grid-template-columns: 1fr 1fr; }
  .partners__grid { grid-template-columns: 1fr; }
  .pricing-table { min-width: 560px; }
}
@media (max-width: 640px) {
  /* ── 全体 ── */
  .section { padding: 56px 0; }
  .nav__list { display: none; }
  .hamburger { display: flex; }
  .section__title { font-size: 22px; }
  .section__desc { font-size: 14px; }

  /* ── ヒーロー：単一カラム ── */
  .hero__inner { grid-template-columns: 1fr; padding: 48px 24px 40px; }
  .hero__visual { display: none; }
  .hero__badge { font-size: 12px; padding: 6px 14px; }
  .hero__title { font-size: clamp(42px, 11vw, 56px); }
  .hero__desc { font-size: 14px; line-height: 1.8; }
  .hero__actions { flex-direction: column; gap: 12px; margin-top: 28px; }
  .hero__actions .btn { width: 100%; justify-content: center; }
  .hero__desc { font-size: 14px; line-height: 1.8; }
  .hero__actions { flex-direction: column; gap: 12px; margin-top: 28px; }
  .hero__actions .btn { width: 100%; justify-content: center; }

  /* ── 統計バー（¥0・3プラン・全国）── */
  .hero__stats-row {
    display: flex;
    justify-content: space-between;
    gap: 0;
    flex-wrap: nowrap;
    margin-top: 28px;
    padding: 16px 8px;
    background: rgba(255,255,255,0.6);
    border-radius: 12px;
  }
  .hero__stat { flex: 1; flex-direction: column; align-items: center; text-align: center; gap: 4px; }
  .hero__stat-num { font-size: 20px; }
  .hero__stat-label { font-size: 10px; line-height: 1.4; }
  .hero__stat-divider { width: 1px; height: 40px; background: var(--border); flex-shrink: 0; }

  /* ── 強み（緑背景） ── */
  .strengths__grid { grid-template-columns: repeat(3, 1fr); }
  .strength-item { padding: 20px 8px; }
  .strength-item__num { font-size: 22px; }
  .strength-yen { font-size: 17px; }
  .strength-item__label { font-size: 11px; }

  /* ── フロー ── */
  .flow-step {
    background: #f9fafb;
    border-radius: 12px;
    padding: 20px 16px;
    border-left: 3px solid var(--green);
    max-width: 320px;
  }
  .flow-step::after { bottom: -32px; font-size: 20px; }

  /* ── グリッド ── */
  .values__grid { grid-template-columns: 1fr; }
  .services__grid { grid-template-columns: 1fr; }
  .features__grid { grid-template-columns: 1fr; }

  /* ── 料金テーブル ── */
  .pricing-table { font-size: 11px; min-width: 620px; }
  .pricing-table th { font-size: 11px; padding: 10px 8px; }
  .pricing-table td { padding: 9px 8px; }

  /* ── その他 ── */
  .service-item { padding: 24px 20px; }
  .footer__bottom { flex-direction: column; gap: 12px; text-align: center; }
}

/* PC/SP 切り替えテキスト */
.plan-sp { display: none; }
.plan-pc { display: inline; }
@media (max-width: 640px) {
  .plan-pc { display: none; }
  .plan-sp { display: inline; }
}
