/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --green:        #5B9B6E;
  --green-dark:   #2D6A4F;
  --green-light:  #E8F5EE;
  --green-mid:    #7BBF8E;
  --text:         #2C3E35;
  --text-sub:     #5A7060;
  --white:        #FFFFFF;
  --bg-light:     #F4F9F6;
  --border:       #D4E8DB;
  --shadow:       rgba(91, 155, 110, 0.12);
  --font-sans:    'Noto Sans JP', sans-serif;
  --font-serif:   'Noto Serif JP', serif;
  --radius:       12px;
  --transition:   0.25s ease;
}

html { scroll-behavior: smooth; }

/* スクリーンリーダーには読まれるが画面には表示しないSEO補完テキスト */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--white);
  font-size: 16px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

.pc-only { display: inline; }

/* ===== SECTION BASE ===== */
.section { padding: 96px 0; }
.section--green { background: var(--green-light); }
.section--green-dark { background: var(--green-dark); }
.section--light { background: var(--bg-light); }

.section-header { text-align: center; margin-bottom: 64px; }
.section-header--light .section-eyebrow,
.section-header--light .section-title { color: var(--white); }
.section-header--light .section-desc { color: rgba(255,255,255,0.85); }

.section-eyebrow {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  color: var(--green);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 700;
  line-height: 1.5;
  color: var(--text);
}

.section-desc {
  margin-top: 20px;
  color: var(--text-sub);
  font-size: 1rem;
  line-height: 1.9;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  transition: all var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
}

.btn--primary {
  background: var(--green);
  color: var(--white);
  border-color: var(--green);
}
.btn--primary:hover {
  background: var(--green-dark);
  border-color: var(--green-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(91,155,110,0.35);
}

.btn--outline {
  background: transparent;
  color: var(--green);
  border-color: var(--green);
}
.btn--outline:hover {
  background: var(--green);
  color: var(--white);
  transform: translateY(-2px);
}

.btn--full { width: 100%; }

.btn--line {
  background: #06C755;
  color: var(--white);
  border-color: #06C755;
  gap: 8px;
}
.btn--line:hover {
  background: #05a848;
  border-color: #05a848;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(6,199,85,0.35);
}
.btn--line-lg {
  padding: 18px 48px;
  font-size: 1.05rem;
  width: 100%;
  max-width: 380px;
}
.btn__line-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.nav__link--line {
  background: #06C755 !important;
}
.nav__link--line:hover {
  background: #05a848 !important;
}

/* ===== TOP BAR ===== */
.topbar {
  background: var(--green-dark);
  color: rgba(255,255,255,0.92);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 101;
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  height: 36px;
}

.topbar__item {
  display: flex;
  align-items: center;
  gap: 5px;
}
.topbar__item svg { width: 14px; height: 14px; flex-shrink: 0; opacity: 0.85; }

.topbar__sep { opacity: 0.35; }

@media (max-width: 480px) {
  .topbar__sep:last-of-type,
  .topbar__item:last-child { display: none; }
  .topbar__inner { gap: 12px; }
}

/* ===== HEADER ===== */
.header {
  position: fixed;
  top: 36px; left: 0; right: 0;
  z-index: 100;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition);
}

.header.scrolled { box-shadow: 0 2px 20px var(--shadow); }

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.header__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-icon { width: 40px; height: 40px; flex-shrink: 0; }

.logo-text { display: flex; flex-direction: column; }
.logo-text__main {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--green-dark);
  line-height: 1.2;
  letter-spacing: 0.03em;
}
.logo-text__main--white { color: var(--white); }
.logo-text__sub {
  font-size: 0.65rem;
  color: var(--green);
  letter-spacing: 0.1em;
}

.header__nav { display: flex; }

.nav__list {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav__link {
  padding: 8px 14px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text);
  border-radius: 6px;
  transition: all var(--transition);
}
.nav__link:hover { color: var(--green); background: var(--green-light); }

.nav__link--cta {
  background: var(--green);
  color: var(--white) !important;
  padding: 10px 20px;
  border-radius: 50px;
}
.nav__link--cta:hover {
  background: var(--green-dark);
  transform: translateY(-1px);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 108px;
  overflow: hidden;
  background: linear-gradient(135deg, #F4F9F6 0%, #EBF5EE 60%, #E0F0E7 100%);
}

.hero__bg-pattern {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 80% 20%, rgba(91,155,110,0.08) 0%, transparent 50%),
    radial-gradient(circle at 10% 80%, rgba(91,155,110,0.06) 0%, transparent 40%);
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding-top: 40px;
  padding-bottom: 40px;
  position: relative;
  z-index: 1;
}

.hero__eyebrow {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--green);
  text-transform: uppercase;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.hero__eyebrow::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 2px;
  background: var(--green);
}

.hero__headline {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 24px;
  color: var(--text);
}

.hero__headline em {
  font-style: normal;
  color: var(--green);
  position: relative;
}
.hero__headline em::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 0;
  right: 0;
  height: 4px;
  background: rgba(91,155,110,0.25);
  border-radius: 2px;
}

.hero__sub {
  font-size: 1rem;
  color: var(--text-sub);
  margin-bottom: 40px;
  line-height: 1.9;
}

.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.badge {
  display: inline-block;
  padding: 4px 14px;
  background: var(--white);
  border: 1px solid var(--border);
  color: var(--green-dark);
  font-size: 0.75rem;
  font-weight: 500;
  border-radius: 50px;
}
.badge--accent {
  background: var(--green-dark);
  border-color: var(--green-dark);
  color: var(--white);
  font-weight: 700;
}

.hero__visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero__logo-display {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 48px 40px;
  background: rgba(255,255,255,0.65);
  border: 1px solid var(--border);
  border-radius: 20px;
  backdrop-filter: blur(6px);
  box-shadow: 0 4px 32px var(--shadow);
}

.hero__logo-svg {
  width: 160px;
  height: 168px;
}

.hero__logo-name {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--green-dark);
  letter-spacing: 0.06em;
  text-align: center;
  line-height: 1.5;
}

.hero__logo-en {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--green);
  letter-spacing: 0.22em;
  text-align: center;
  text-transform: uppercase;
}

.hero__scroll-hint { display: none; }

/* ===== PAIN ===== */
.pain__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}

.pain__card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: all var(--transition);
}
.pain__card:hover {
  border-color: var(--green-mid);
  box-shadow: 0 4px 20px var(--shadow);
  transform: translateY(-2px);
}

.pain__icon { font-size: 1.8rem; flex-shrink: 0; }

.pain__card p {
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--text-sub);
}

.pain__cta-text {
  text-align: center;
  font-size: 1rem;
  color: var(--text-sub);
  padding: 32px;
  background: var(--green-light);
  border-radius: var(--radius);
  border-left: 4px solid var(--green);
}

/* ===== SERVICES ===== */
.services__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 32px;
  position: relative;
  border: 1px solid var(--border);
  transition: all var(--transition);
}
.service-card:hover {
  box-shadow: 0 8px 32px var(--shadow);
  transform: translateY(-4px);
  border-color: var(--green-mid);
}

.service-card__num {
  position: absolute;
  top: 20px;
  right: 24px;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--green-light);
  font-family: var(--font-serif);
  line-height: 1;
}

.service-card__icon { width: 56px; margin-bottom: 20px; }

.service-card__title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--green-dark);
  line-height: 1.4;
}
.service-card__subtitle {
  display: block;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--green);
  letter-spacing: 0.05em;
  margin-top: 4px;
}

.service-card__desc {
  font-size: 0.88rem;
  color: var(--text-sub);
  line-height: 1.85;
  margin-bottom: 20px;
}

.service-card__list {
  margin-bottom: 24px;
}
.service-card__list li {
  font-size: 0.85rem;
  padding: 6px 0 6px 20px;
  position: relative;
  border-bottom: 1px dashed var(--border);
  color: var(--text);
}
.service-card__list li:last-child { border-bottom: none; }
.service-card__list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 700;
}

.service-card__tag {
  display: inline-block;
  padding: 4px 14px;
  background: var(--green-light);
  color: var(--green-dark);
  font-size: 0.75rem;
  font-weight: 500;
  border-radius: 50px;
  border: 1px solid var(--border);
}

/* Services Other */
.services__other {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px;
  border: 1px solid var(--border);
}
.services__other-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 24px;
  color: var(--green-dark);
  text-align: center;
}
.services__other-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 16px;
}
.other-item {
  background: var(--green-light);
  padding: 14px 16px;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 500;
  text-align: center;
  color: var(--green-dark);
  border: 1px solid var(--border);
  transition: all var(--transition);
}
.other-item:hover {
  background: var(--green);
  color: var(--white);
  border-color: var(--green);
}
.services__other-note {
  font-size: 0.8rem;
  color: var(--text-sub);
  text-align: center;
}

/* ===== REASON ===== */
.reason__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.reason__card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 32px;
  text-align: center;
  transition: all var(--transition);
}
.reason__card:hover {
  border-color: var(--green-mid);
  box-shadow: 0 8px 32px var(--shadow);
  transform: translateY(-4px);
}

.reason__num {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--green);
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}

.reason__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--green-dark);
  line-height: 1.5;
  margin-bottom: 16px;
}

.reason__desc {
  font-size: 0.87rem;
  color: var(--text-sub);
  line-height: 1.85;
}

/* ===== PROFILE ===== */
.profile__inner {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.profile__name-block { text-align: center; }

.profile__name-ja {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--green-dark);
  letter-spacing: 0.05em;
}

.profile__name-en {
  font-size: 0.85rem;
  color: var(--green);
  letter-spacing: 0.15em;
  margin-top: 4px;
}

.profile__title {
  font-size: 0.88rem;
  color: var(--text-sub);
  margin-top: 8px;
  padding: 8px 16px;
  background: var(--green-light);
  border-radius: 6px;
  display: inline-block;
}

.profile__message p {
  font-size: 0.95rem;
  line-height: 1.95;
  color: var(--text-sub);
  margin-bottom: 16px;
}
.profile__message p:last-child { margin-bottom: 0; }

.profile__info {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.profile__info-item {
  display: flex;
  gap: 16px;
  font-size: 0.88rem;
  color: var(--text-sub);
  align-items: flex-start;
}
.profile__info-label {
  background: var(--green);
  color: var(--white);
  padding: 2px 10px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ===== BLOG ===== */
.blog__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.blog-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: all var(--transition);
}
.blog-card:hover {
  box-shadow: 0 8px 32px var(--shadow);
  transform: translateY(-4px);
  border-color: var(--green-mid);
}

.blog-card__cat {
  display: inline-block;
  padding: 3px 12px;
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  align-self: flex-start;
}
.blog-card__cat--law        { background: #E8F0FE; color: #3B5BDB; }
.blog-card__cat--hr         { background: #E8F5EE; color: #2D6A4F; }
.blog-card__cat--harassment { background: #FFF0F0; color: #C0392B; }
.blog-card__cat--welfare    { background: #FFF8E1; color: #E67E22; }
.blog-card__cat--subsidy    { background: #F3E8FF; color: #7B2D8B; }
.blog-card__cat--ma         { background: #E8F7FF; color: #1A6B9A; }

.blog-card__date {
  font-size: 0.75rem;
  color: var(--text-sub);
  letter-spacing: 0.05em;
}

.blog-card__title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.55;
  flex: 1;
}

.blog-card__excerpt {
  font-size: 0.82rem;
  color: var(--text-sub);
  line-height: 1.8;
}

.blog-card__link {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--green);
  transition: color var(--transition);
  align-self: flex-start;
}
.blog-card__link:hover { color: var(--green-dark); }

.blog__more { text-align: center; }

.blog__section-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--green);
  text-transform: uppercase;
  margin-bottom: 20px;
}

/* アーカイブ */
.blog__archive {
  margin-top: 56px;
  padding-top: 48px;
  border-top: 2px solid var(--border);
}

.archive__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}

.archive__tab {
  padding: 6px 18px;
  border: 1.5px solid var(--border);
  border-radius: 50px;
  background: var(--white);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-sub);
  cursor: pointer;
  transition: all var(--transition);
}
.archive__tab:hover { border-color: var(--green); color: var(--green); }
.archive__tab.active {
  background: var(--green);
  border-color: var(--green);
  color: var(--white);
}

.archive__grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.archive-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: all var(--transition);
}
.archive-card:hover {
  border-color: var(--green-mid);
  box-shadow: 0 2px 12px var(--shadow);
}
.archive-card[hidden] { display: none; }

.archive-card__title {
  flex: 1;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.5;
}

.archive-card .blog-card__date { white-space: nowrap; }
.archive-card .blog-card__link { white-space: nowrap; flex-shrink: 0; }

@media (max-width: 768px) {
  .archive-card { flex-wrap: wrap; gap: 10px; }
  .archive-card__title { width: 100%; }
}

@media (max-width: 480px) {
  .archive__tabs { gap: 6px; }
  .archive__tab { font-size: 0.76rem; padding: 5px 12px; }
}

/* ===== FLOW ===== */
.flow__steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
  justify-content: center;
}

.flow__step {
  flex: 1;
  text-align: center;
  padding: 32px 20px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all var(--transition);
}
.flow__step:hover {
  border-color: var(--green-mid);
  box-shadow: 0 4px 20px var(--shadow);
}

.flow__step-num {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--green);
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}

.flow__step-icon { font-size: 2rem; margin-bottom: 16px; }

.flow__step-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: 12px;
}

.flow__step-desc {
  font-size: 0.82rem;
  color: var(--text-sub);
  line-height: 1.75;
}

.flow__arrow {
  font-size: 1.5rem;
  color: var(--green-mid);
  align-self: center;
  padding: 0 12px;
  flex-shrink: 0;
}

/* ===== CONTACT ===== */
.contact__inner { max-width: 720px; margin: 0 auto; }

.contact__form {
  background: var(--white);
  border-radius: 16px;
  padding: 48px;
}

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.form__group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}
.form__row .form__group { margin-bottom: 0; }

.form__label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 8px;
}

.required {
  background: var(--green);
  color: var(--white);
  font-size: 0.65rem;
  padding: 2px 6px;
  border-radius: 3px;
}

.form__input,
.form__select,
.form__textarea {
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-family: var(--font-sans);
  font-size: 0.92rem;
  color: var(--text);
  background: var(--white);
  transition: border-color var(--transition);
  width: 100%;
}
.form__input:focus,
.form__select:focus,
.form__textarea:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(91,155,110,0.1);
}

.form__textarea { resize: vertical; }

.form__privacy {
  margin-bottom: 24px;
}
.form__checkbox-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  cursor: pointer;
  color: var(--text);
}
.form__checkbox-label input { width: 18px; height: 18px; accent-color: var(--green); }

.form__note {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-sub);
  margin-top: 16px;
}

/* ===== BLOG MODAL ===== */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 200;
  align-items: flex-start;
  justify-content: center;
  padding: 40px 20px;
  overflow-y: auto;
  backdrop-filter: blur(3px);
}
.modal-overlay.open { display: flex; }

.modal {
  background: var(--white);
  border-radius: 16px;
  max-width: 720px;
  width: 100%;
  padding: 48px;
  position: relative;
  animation: modalIn 0.25s ease;
  margin: auto;
}
@keyframes modalIn {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

.modal__close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  font-size: 1.2rem;
  color: var(--text-sub);
  cursor: pointer;
  padding: 8px;
  line-height: 1;
  transition: color var(--transition);
}
.modal__close:hover { color: var(--text); }

.modal__header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.modal__cat {
  display: inline-block;
  padding: 3px 12px;
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 700;
}

.modal__date {
  font-size: 0.78rem;
  color: var(--text-sub);
}

.modal__title {
  font-family: var(--font-serif);
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  font-weight: 700;
  color: var(--text);
  line-height: 1.55;
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 2px solid var(--green-light);
}

.modal__body {
  font-size: 0.95rem;
  line-height: 2;
  color: var(--text-sub);
}
.modal__body h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--green-dark);
  margin: 24px 0 8px;
  padding-left: 12px;
  border-left: 3px solid var(--green);
}
.modal__body p { margin-bottom: 16px; }
.modal__body ul {
  list-style: none;
  margin-bottom: 16px;
}
.modal__body ul li {
  padding: 6px 0 6px 20px;
  position: relative;
  border-bottom: 1px dashed var(--border);
}
.modal__body ul li:last-child { border-bottom: none; }
.modal__body ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 700;
}

.modal__footer {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: center;
}
.modal__cta { max-width: 300px; width: 100%; }

@media (max-width: 480px) {
  .modal { padding: 32px 20px; }
  .modal-overlay { padding: 20px 12px; }
}

/* ===== LINE CTA ===== */
.contact__inner { max-width: 560px; margin: 0 auto; }

.line-cta {
  background: var(--white);
  border-radius: 20px;
  padding: 48px 40px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.line-cta__icon svg { width: 80px; height: 80px; }

.line-cta__title {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--green-dark);
}

.line-cta__desc {
  font-size: 0.92rem;
  color: var(--text-sub);
  line-height: 1.85;
}

.line-cta__steps {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: left;
}

.line-cta__step {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.9rem;
  color: var(--text);
  background: var(--green-light);
  padding: 12px 16px;
  border-radius: 8px;
}

.line-cta__step-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  background: #06C755;
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 700;
  border-radius: 50%;
  flex-shrink: 0;
}

.line-cta__badge-link {
  display: inline-block;
  margin-top: -8px;
}
.line-cta__badge-link img { display: block; }

.line-cta__note {
  font-size: 0.78rem;
  color: var(--text-sub);
}

/* ===== FOOTER ===== */
.footer {
  background: #1A3D2A;
  padding: 48px 0;
}

.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer__nav {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
}
.footer__nav a {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.65);
  transition: color var(--transition);
}
.footer__nav a:hover { color: var(--white); }

.footer__address {
  font-style: normal;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.7);
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer__copy {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
}

.line-cta__address {
  font-style: normal;
  font-size: 0.8rem;
  color: var(--text-sub);
  margin-top: -8px;
}

/* ===== ANIMATIONS ===== */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== RESPONSIVE ===== */

/* タブレット横（1025px以下） */
@media (max-width: 1024px) {
  .reason__grid { grid-template-columns: repeat(2, 1fr); }
  .services__other-grid { grid-template-columns: repeat(2, 1fr); }
  .hero__inner { gap: 40px; }
  .profile__inner { grid-template-columns: 220px 1fr; gap: 40px; }
  .flow__step { padding: 24px 14px; }
}

/* タブレット縦・スマートフォン（768px以下） */
@media (max-width: 768px) {
  .pc-only { display: none; }
  .container { padding: 0 20px; }
  .section { padding: 60px 0; }

  /* ヘッダー */
  .header__nav {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 72px;

    left: 0;
    right: 0;
    background: var(--white);
    padding: 16px 20px 24px;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 8px 24px var(--shadow);
    z-index: 99;
  }
  .header__nav.open { display: flex; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__link { padding: 14px 0; border-bottom: 1px solid var(--border); font-size: 0.95rem; }
  .nav__link:last-child { border-bottom: none; }
  .nav__link--cta { margin-top: 16px; text-align: center; padding: 14px 20px; border-radius: 8px; }
  .hamburger { display: flex; }
  .logo-text__sub { display: none; }

  /* ヒーロー */
  .hero { min-height: auto; padding: 136px 0 72px; }
  .hero__inner { grid-template-columns: 1fr; gap: 0; }
  .hero__visual { display: none; }
  .hero__headline { font-size: 1.9rem; }
  .hero__sub { font-size: 0.95rem; }

  /* セクション見出し */
  .section-title { font-size: 1.5rem; }
  .section-header { margin-bottom: 48px; }

  /* お悩み */
  .pain__grid { grid-template-columns: repeat(2, 1fr); }
  .pain__cta-text { padding: 24px 20px; }

  /* サービス */
  .services__grid { grid-template-columns: 1fr; }
  .service-card { padding: 28px 24px; }
  .services__other { padding: 28px 20px; }
  .services__other-grid { grid-template-columns: repeat(2, 1fr); }

  /* 選ばれる理由 */
  .reason__grid { grid-template-columns: 1fr; }
  .reason__card { padding: 32px 24px; }

  /* ブログ */
  .blog__grid { grid-template-columns: repeat(2, 1fr); }

  /* 代表者 */
  .profile__name-ja { font-size: 1.5rem; }

  /* ご相談の流れ */
  .flow__steps { flex-direction: column; gap: 12px; }
  .flow__arrow { transform: rotate(90deg); align-self: center; font-size: 1.2rem; padding: 0; }
  .flow__step { padding: 24px 20px; }

  /* お問い合わせ */
  .form__row { grid-template-columns: 1fr; }
  .contact__form { padding: 28px 20px; }

  /* フッター */
  .footer__nav { gap: 16px; }
}

/* スマートフォン（480px以下） */
@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .section { padding: 48px 0; }

  .hero { padding: 96px 0 64px; }
  .hero__headline { font-size: 1.65rem; line-height: 1.5; }
  .hero__sub { font-size: 0.9rem; }
  .hero__actions { flex-direction: column; gap: 12px; }
  .btn { width: 100%; justify-content: center; }
  .hero__badges { gap: 6px; }
  .badge { font-size: 0.7rem; padding: 4px 10px; }

  .section-title { font-size: 1.35rem; }
  .section-eyebrow { font-size: 0.72rem; }
  .section-header { margin-bottom: 36px; }

  .pain__grid { grid-template-columns: 1fr; }
  .pain__card { padding: 20px; }
  .pain__cta-text { font-size: 0.9rem; padding: 20px 16px; }

  .service-card { padding: 24px 18px; }
  .service-card__title { font-size: 1.05rem; }
  .services__other-grid { grid-template-columns: 1fr; }
  .services__other { padding: 24px 16px; }

  .reason__card { padding: 28px 20px; }

  .blog__grid { grid-template-columns: 1fr; }
  .blog-card { padding: 22px 18px; }
  .profile__name-ja { font-size: 1.3rem; }
  .profile__message p { font-size: 0.88rem; }
  .profile__title { font-size: 0.82rem; }

  .flow__step { padding: 20px 16px; }
  .flow__step-title { font-size: 0.95rem; }
  .flow__step-desc { font-size: 0.8rem; }

  .contact__form { padding: 24px 16px; }
  /* iOSでフォームタップ時の自動ズームを防止 */
  .form__input,
  .form__select,
  .form__textarea { font-size: 16px; }

  .footer__nav a { font-size: 0.78rem; }
  .footer__copy { font-size: 0.72rem; }
}

/* 極小画面（360px以下） */
@media (max-width: 360px) {
  .logo-text__main { font-size: 0.78rem; }
  .logo-icon { width: 32px; height: 32px; }
  .hero__headline { font-size: 1.5rem; }
  .hero__eyebrow { font-size: 0.72rem; }
  .section-title { font-size: 1.25rem; }
  .btn { font-size: 0.88rem; padding: 12px 20px; }
}
