/* ============================================================
   Green Prime — Design System
   ============================================================ */

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
button { background: none; border: none; cursor: pointer; }

/* ── Design Tokens ── */
:root {
  --green-dark:    #2D6A4F;
  --green-mid:     #40916C;
  --green-light:   #52B788;
  --green-pale:    #74C69D;
  --green-bg:      #D8F3DC;
  --green-lightbg: #F0F7F2;

  --dark:          #1A2B20;
  --text-dark:     #2B3B30;
  --text-mid:      #4A5C50;
  --text-light:    #8A9E92;
  --border:        #DDE8E1;

  --white:         #FFFFFF;
  --off-white:     #F7FAF8;

  --font-ja:       'Noto Sans JP', 'Hiragino Sans', sans-serif;
  --font-serif:    'Noto Serif JP', 'Hiragino Mincho ProN', serif;
  --font-en:       'Inter', 'Helvetica Neue', sans-serif;

  --radius-sm:  4px;
  --radius-md:  10px;
  --radius-lg:  18px;

  --shadow-sm:  0 2px 12px rgba(0,0,0,.05);
  --shadow-md:  0 6px 28px rgba(0,0,0,.08);
  --shadow-lg:  0 12px 56px rgba(0,0,0,.11);

  --header-h:   72px;
  --inner-w:    1160px;
  --pad:        40px;
}

/* ── Base ── */
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: var(--font-ja);
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

/* ── Layout ── */
.inner {
  max-width: var(--inner-w);
  margin: 0 auto;
  padding: 0 var(--pad);
}
.section { padding: 100px 0; }
.section--alt { background: var(--off-white); }

/* ── Section Header ── */
.section-header { text-align: center; margin-bottom: 64px; }
.section-title {
  font-family: var(--font-serif);
  font-size: clamp(26px, 2.8vw, 36px);
  font-weight: 600;
  color: var(--dark);
  line-height: 1.35;
  margin-bottom: 14px;
}
.section-desc {
  font-size: 15px;
  color: var(--text-mid);
  line-height: 1.9;
}
.section-cta { text-align: center; margin-top: 48px; }

/* ── Eyebrow ── */
.eyebrow {
  display: block;
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--green-mid);
  margin-bottom: 12px;
}
.eyebrow--light { color: rgba(255,255,255,.65); }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 52px;
  padding: 0 32px;
  font-family: var(--font-ja);
  font-size: 14px;
  font-weight: 500;
  border-radius: var(--radius-sm);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all .2s ease;
  white-space: nowrap;
}
.btn--lg  { height: 58px; padding: 0 40px; font-size: 15px; }
.btn--sm  { height: 40px; padding: 0 20px; font-size: 13px; }

.btn--primary     { background: var(--green-dark); color: var(--white); border-color: var(--green-dark); }
.btn--primary:hover { background: var(--green-mid); border-color: var(--green-mid); transform: translateY(-2px); box-shadow: var(--shadow-md); }

.btn--outline     { background: transparent; color: var(--green-dark); border-color: var(--green-dark); }
.btn--outline:hover { background: var(--green-lightbg); }

.btn--white       { background: var(--white); color: var(--green-dark); border-color: var(--white); font-weight: 600; }
.btn--white:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }

.btn--outline-white { background: transparent; color: var(--white); border-color: rgba(255,255,255,.5); }
.btn--outline-white:hover { background: var(--white); color: var(--green-dark); border-color: var(--white); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--line { background: #06C755; color: var(--white); border-color: #06C755; }
.btn--line:hover { background: #05b34d; border-color: #05b34d; transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--tel { background: transparent; color: var(--white); border-color: rgba(255,255,255,.7); }
.btn--tel:hover { background: rgba(255,255,255,.15); border-color: var(--white); transform: translateY(-2px); }


/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: #ffffff;
  border-bottom: none !important;
  box-shadow: none !important;
}
.site-header.is-scrolled {
  box-shadow: 0 2px 12px rgba(0,0,0,.08) !important;
}
.site-header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 40px;
}
.site-header__logo img { height: 44px; width: auto; max-width: none; object-fit: contain; }
.site-header__nav { margin-left: auto; }
.site-header__nav ul { display: flex; gap: 32px; }
.site-header__nav a {
  position: relative;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-mid);
  transition: color .2s;
}
.site-header__nav a:hover { color: var(--green-dark); }
.site-header__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  margin-left: auto;
}
.site-header__hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: all .25s;
}


/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; line-height: 0; }
.hero__img {
  width: 100%;
  max-height: calc(100vh - var(--header-h));
  object-fit: cover;
  object-position: center;
}
.hero__actions {
  position: absolute;
  bottom: 48px;
  left: 0;
  right: 0;
}
.hero__actions .inner { display: flex; gap: 16px; }


/* ============================================================
   ABOUT
   ============================================================ */
.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 640px;
}
.about__photo-col {
  position: relative;
  overflow: hidden;
  background: var(--green-lightbg);
}
.about__photo-col > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.about__photo-accent {
  position: absolute;
  bottom: -24px;
  right: -24px;
  width: 46%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--white);
}
.about__photo-accent img { width: 100%; aspect-ratio: 1; object-fit: cover; }

.about__text-col {
  padding: 80px 72px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--white);
}
.about__title {
  font-family: var(--font-serif);
  font-size: clamp(32px, 3.8vw, 52px);
  font-weight: 600;
  color: var(--dark);
  line-height: 1.35;
  margin-bottom: 28px;
}
.about__title em {
  font-style: normal;
  color: var(--green-dark);
}
.about__body {
  font-size: 15px;
  color: var(--text-mid);
  line-height: 1.95;
  margin-bottom: 16px;
}
.about__stats {
  display: flex;
  gap: 32px;
  margin: 36px 0 32px;
  padding: 28px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.about__stat { display: flex; flex-direction: column; gap: 4px; }
.about__stat-num {
  font-family: var(--font-en);
  font-size: 28px;
  font-weight: 700;
  color: var(--green-dark);
  line-height: 1;
}
.about__stat-num small { font-size: 14px; font-weight: 500; }
.about__stat-label { font-size: 12px; color: var(--text-light); }
.about__link {
  font-size: 13px;
  font-weight: 600;
  color: var(--green-dark);
  transition: letter-spacing .2s;
}
.about__link:hover { letter-spacing: .04em; }


/* ============================================================
   SERVICES — 交互レイアウト
   ============================================================ */
.svc-row {
  display: grid;
  grid-template-columns: 55% 45%;
  min-height: 480px;
}
.svc-row--reverse { grid-template-columns: 45% 55%; }
.svc-row--reverse .svc-row__img { order: 2; }
.svc-row--reverse .svc-row__body { order: 1; }

.svc-row__img { overflow: hidden; }
.svc-row__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.svc-row:hover .svc-row__img img { transform: scale(1.03); }

.svc-row__body {
  padding: 72px 64px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--white);
}
.svc-row--reverse .svc-row__body { background: var(--off-white); }

.svc-row__num {
  font-family: var(--font-en);
  font-size: 72px;
  font-weight: 800;
  color: var(--border);
  line-height: 1;
  margin-bottom: 10px;
  display: block;
}
.svc-row__tag {
  font-family: var(--font-en);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--green-mid);
  background: var(--green-lightbg);
  padding: 4px 12px;
  border-radius: 2px;
  display: inline-block;
  margin-bottom: 28px;
}
.svc-row__title {
  font-family: var(--font-serif);
  font-size: clamp(30px, 3.2vw, 42px);
  font-weight: 600;
  color: var(--dark);
  line-height: 1.35;
  margin-bottom: 18px;
}
.svc-row__text {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.9;
  margin-bottom: 32px;
}


/* ============================================================
   LINEUP REEL（自動スクロール）
   ============================================================ */
.lineup-reel {
  overflow: hidden;
  margin: 0 0 0 0;
  cursor: default;
}
.lineup-reel__track {
  display: flex;
  gap: 24px;
  width: max-content;
  animation: reel-scroll 40s linear infinite;
}
.lineup-reel__track:hover { animation-play-state: paused; }
.lineup-reel__item {
  position: relative;
  width: 360px;
  flex-shrink: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
}
.lineup-reel__item img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  display: block;
}
.lineup-reel__item span {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px 16px;
  background: linear-gradient(transparent, rgba(0,0,0,.55));
  color: var(--white);
  font-size: 13px;
  font-weight: 500;
}

@keyframes reel-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}


/* ============================================================
   FLOW
   ============================================================ */
.flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  position: relative;
  gap: 0;
}
/* 横に繋ぐライン */
.flow::before {
  content: '';
  position: absolute;
  top: 30px;
  left: calc(12.5% + 20px);
  right: calc(12.5% + 20px);
  height: 1px;
  background: var(--green-pale);
  z-index: 0;
}
.flow-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}
.flow-step__num {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--green-dark);
  color: var(--white);
  font-family: var(--font-en);
  font-size: 18px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  flex-shrink: 0;
  box-shadow: 0 0 0 6px var(--off-white);
}
.flow-step__line { display: none; }
.flow-step__title {
  font-size: 15px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 10px;
}
.flow-step__text {
  font-size: 13px;
  color: var(--text-mid);
  line-height: 1.8;
}


/* ============================================================
   CASES
   ============================================================ */
.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
/* TOPページ：PCは3件表示（4件目を非表示）、SPは4件すべて表示 */
.case-grid--top .case-card:nth-child(4) { display: none; }
@media (max-width: 767px) {
  .case-grid--top .case-card:nth-child(4) { display: block; }
}
.case-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4/3;
  display: block;
}
.case-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s ease;
}
.case-card:hover img { transform: scale(1.05); }
.case-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26,43,32,.65) 0%, transparent 55%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px 28px;
}
.case-card__label {
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  text-shadow: 0 1px 4px rgba(0,0,0,.3);
}


/* ============================================================
   INSTAGRAM FEED (プレースホルダー)
   ============================================================ */
.insta-feed-placeholder {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 6px;
}
.insta-feed-placeholder__item {
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 4px;
}
.insta-feed-placeholder__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s;
}
.insta-feed-placeholder__item:hover img { transform: scale(1.06); }


/* ============================================================
   LINE BANNER
   ============================================================ */
.line-banner {
  background: #06C755;
}
.line-banner__inner {
  display: flex;
  align-items: center;
  gap: 32px;
  padding-top: 40px;
  padding-bottom: 40px;
}
.line-banner__icon { flex-shrink: 0; }
.line-banner__text { flex: 1; }
.line-banner__title {
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 6px;
}
.line-banner__desc {
  font-size: 14px;
  color: rgba(255,255,255,.85);
}
.line-banner__btn {
  display: inline-flex;
  align-items: center;
  height: 52px;
  padding: 0 36px;
  background: var(--white);
  color: #06C755;
  font-weight: 700;
  font-size: 14px;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
  transition: all .2s;
}
.line-banner__btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,.15); }


/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner { background: var(--green-dark); padding: 120px 0; }
.cta-banner__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}
.cta-banner__title {
  font-family: var(--font-serif);
  font-size: clamp(24px, 2.8vw, 32px);
  font-weight: 600;
  color: var(--white);
  margin-bottom: 12px;
  line-height: 1.4;
}
.cta-banner__desc { font-size: 15px; color: rgba(255,255,255,.72); line-height: 1.9; }
.cta-banner__btns { display: flex; gap: 16px; flex-shrink: 0; }


/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--dark); }
.site-footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 80px;
  padding-top: 72px;
  padding-bottom: 64px;
}
.site-footer__brand img {
  filter: brightness(0) invert(1);
  margin-bottom: 20px;
}
.site-footer__tagline { font-size: 13px; color: rgba(255,255,255,.45); line-height: 1.9; }
.site-footer__links { display: flex; gap: 64px; }
.site-footer__nav-label {
  font-family: var(--font-en);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.35);
  margin-bottom: 16px;
}
.site-footer__links ul { display: flex; flex-direction: column; gap: 12px; }
.site-footer__links a { font-size: 13px; color: rgba(255,255,255,.6); transition: color .2s; }
.site-footer__links a:hover { color: var(--white); }

.site-footer__bottom { border-top: 1px solid rgba(255,255,255,.08); }
.site-footer__bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
  padding-bottom: 20px;
}
.site-footer__copy { font-size: 12px; color: rgba(255,255,255,.28); }
.site-footer__sns { color: rgba(255,255,255,.45); transition: color .2s; }
.site-footer__sns:hover { color: var(--white); }


/* ============================================================
   PAGE HERO（内部ページ共通）— 左：グリーン帯 / 右：写真
   ============================================================ */
.page-hero {
  display: grid;
  grid-template-columns: 2fr 3fr;
  height: 340px;
  overflow: hidden;
}
.page-hero__left {
  background: var(--green-dark);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 10px;
  padding: 0 48px;
}
.page-hero__en {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255,255,255,.50);
}
.page-hero__title {
  font-family: var(--font-serif);
  font-size: clamp(26px, 2.6vw, 40px);
  font-weight: 600;
  color: var(--white);
  line-height: 1.3;
}
.page-hero__desc {
  font-size: 13px;
  color: rgba(255,255,255,.72);
  line-height: 1.85;
  margin-top: 4px;
}
.page-hero__right {
  overflow: hidden;
}
.page-hero__right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
@media (max-width: 767px) {
  .page-hero {
    display: flex;
    flex-direction: column;
    height: auto;
  }
  .page-hero__right {
    order: -1;
    height: 220px;
  }
  .page-hero__left {
    align-items: flex-start;
    text-align: left;
    padding: 32px 24px;
    gap: 8px;
  }
}


/* ============================================================
   SERVICE DETAIL（サービスページ）
   ============================================================ */
.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.service-detail--reverse .service-detail__img { order: 2; }
.service-detail--reverse .service-detail__body { order: 1; }
.service-detail__img { border-radius: var(--radius-lg); overflow: hidden; }
.service-detail__img img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.service-detail__tag {
  font-family: var(--font-en);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--green-mid);
  background: var(--green-lightbg);
  padding: 5px 14px;
  border-radius: 2px;
  display: inline-block;
  margin-bottom: 18px;
}
.service-detail__title {
  font-family: var(--font-serif);
  font-size: clamp(22px, 2.5vw, 30px);
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 16px;
  line-height: 1.4;
}
.service-detail__text { font-size: 15px; color: var(--text-mid); line-height: 1.9; margin-bottom: 24px; }
.service-detail__list { margin-bottom: 32px; display: flex; flex-direction: column; gap: 10px; }
.service-detail__list li {
  display: flex;
  gap: 10px;
  font-size: 14px;
  color: var(--text-dark);
}
.service-detail__list li::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--green-mid);
  border-radius: 50%;
  margin-top: 9px;
  flex-shrink: 0;
}


/* ============================================================
   LINEUP LIST
   ============================================================ */
.lineup-filter {
  display: flex;
  gap: 10px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}
.filter-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  padding: 0 20px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-mid);
  background: var(--off-white);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: all .18s;
  text-decoration: none;
}
.filter-btn.is-active,
.filter-btn:hover { background: var(--green-dark); color: var(--white); border-color: var(--green-dark); }
.lineup-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.plant-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--border);
}
.plant-card__img { aspect-ratio: 1; overflow: hidden; }
.plant-card__img img { width: 100%; height: 100%; object-fit: cover; }
.plant-card__body { padding: 18px 20px 22px; }
.plant-card__name { font-size: 16px; font-weight: 700; color: var(--dark); margin-bottom: 4px; }
.plant-card__size { font-size: 11px; color: var(--text-light); background: var(--green-lightbg); padding: 2px 10px; border-radius: 100px; display: inline-block; margin-bottom: 10px; }
.plant-card__desc { font-size: 13px; color: var(--text-mid); line-height: 1.75; }


/* ============================================================
   FAQ
   ============================================================ */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { border-top: 1px solid var(--border); }
.faq-item:last-child { border-bottom: 1px solid var(--border); }
.faq-question {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 22px 0;
  cursor: pointer;
  user-select: none;
}
.faq-question:hover .faq-question__text { color: var(--green-dark); }
.faq-q-icon {
  width: 26px; height: 26px;
  background: var(--green-dark);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}
.faq-question__text { flex: 1; font-size: 15px; font-weight: 600; color: var(--dark); line-height: 1.65; transition: color .2s; }
.faq-toggle {
  width: 24px; height: 24px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-mid);
  margin-top: 3px;
  transition: transform .3s;
}
.faq-item.is-open .faq-toggle { transform: rotate(45deg); }
.faq-answer {
  overflow: hidden;
  max-height: 0;
  transition: max-height .35s ease;
  padding-left: 0;
}
.faq-item.is-open .faq-answer { max-height: 400px; }
.faq-answer__inner {
  display: flex;
  gap: 12px;
  padding-bottom: 24px;
}
.faq-a-icon {
  width: 26px; height: 26px;
  background: var(--green-lightbg);
  color: var(--green-mid);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}
.faq-answer p { font-size: 14px; color: var(--text-mid); line-height: 1.9; }


/* ============================================================
   CONTACT
   ============================================================ */
.contact-wrap { display: grid; grid-template-columns: 1fr 2fr; gap: 80px; align-items: start; }
.contact-info__title { font-size: 20px; font-weight: 700; color: var(--dark); margin-bottom: 14px; }
.contact-info__text { font-size: 14px; color: var(--text-mid); line-height: 1.9; margin-bottom: 28px; }
.contact-info__tel { font-family: var(--font-en); font-size: 24px; font-weight: 700; color: var(--green-dark); margin-bottom: 4px; }
.contact-info__tel-note { font-size: 12px; color: var(--text-light); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
.form-group { display: flex; flex-direction: column; gap: 7px; margin-bottom: 20px; }
.form-group label { font-size: 13px; font-weight: 600; color: var(--text-dark); }
.form-group label .req { color: #D45; font-size: 11px; margin-left: 4px; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-ja);
  font-size: 15px;
  color: var(--text-dark);
  background: var(--white);
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--green-mid); box-shadow: 0 0 0 3px rgba(64,145,108,.12); }
.form-group textarea { resize: vertical; min-height: 160px; }
.form-submit { text-align: center; margin-top: 8px; }


/* ============================================================
   COMPANY
   ============================================================ */
.company-table { width: 100%; border-collapse: collapse; }
.company-table th,
.company-table td { padding: 18px 24px; border-top: 1px solid var(--border); font-size: 14px; line-height: 1.8; text-align: left; vertical-align: top; }
.company-table tr:last-child th,
.company-table tr:last-child td { border-bottom: 1px solid var(--border); }
.company-table th { width: 200px; font-weight: 600; color: var(--dark); background: var(--off-white); white-space: nowrap; }
.company-table td { color: var(--text-mid); }


/* ============================================================
   RESPONSIVE — SP
   ============================================================ */
@media (max-width: 767px) {
  :root { --pad: 20px; --header-h: 60px; }
  .section { padding: 60px 0; }
  .section-header { margin-bottom: 36px; }

  .site-header__nav { display: none; }
  .site-header__hamburger { display: flex; }

  /* 無料相談ボタン：ロゴを左端に押しやりハンバーガーと近づける */
  .site-header__inner { gap: 0; }
  .site-header__inner .btn--sm { margin-left: auto; margin-right: 16px; padding: 0 14px; font-size: 12px; height: 36px; }
  .site-header__hamburger { margin-left: 0 !important; }

  /* ロゴ：スマホでは高さ上限＋幅上限で縦横比を保ちつつ収める */
  .site-header__logo img {
    height: auto;
    max-height: 34px;
    max-width: 160px;
    width: auto;
  }

  /* ハンバーガーメニュー展開 */
  body.nav-open .site-header__nav {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    height: calc(100vh - var(--header-h));
    background: var(--white);
    padding: 32px var(--pad);
    z-index: 99;
    overflow-y: auto;
  }
  body.nav-open .site-header__nav ul {
    flex-direction: column;
    gap: 0;
  }
  body.nav-open .site-header__nav a {
    display: block;
    padding: 18px 0;
    border-bottom: 1px solid var(--border);
    font-size: 17px;
    font-weight: 500;
    color: var(--dark);
  }
  body.nav-open .site-header__nav a:hover { color: var(--green-dark); }

  .hero__actions { bottom: 20px; }
  .hero__actions .inner { flex-direction: column; gap: 10px; }
  .hero__actions .btn { width: 100%; }

  .about { grid-template-columns: 1fr; }
  .about__photo-col { min-height: 280px; }
  .about__photo-accent { width: 40%; bottom: -16px; right: -8px; }
  .about__text-col { padding: 48px 24px; }
  .about__stats { gap: 20px; flex-wrap: wrap; }

  .svc-row, .svc-row--reverse { grid-template-columns: 1fr; }
  .svc-row--reverse .svc-row__img { order: unset; }
  .svc-row--reverse .svc-row__body { order: unset; }
  .svc-row__img { min-height: 240px; }
  .svc-row__body { padding: 40px 24px; }
  .svc-row__num { font-size: 48px; margin-bottom: 6px; }

  .lineup-reel__item { width: 240px; }

  .flow { grid-template-columns: 1fr 1fr; gap: 36px; }
  .flow::before { display: none; }
  .flow-step { padding: 0; }

  .case-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .case-card__overlay { padding: 14px 16px; }
  .case-card__label { font-size: 11px; }

  .insta-feed-placeholder { grid-template-columns: repeat(3, 1fr); }

  .line-banner__inner { flex-direction: column; text-align: center; gap: 20px; }
  .line-banner__btn { width: 100%; justify-content: center; }

  .cta-banner { padding: 56px 0; }
  .cta-banner__inner { flex-direction: column; text-align: center; gap: 28px; }
  .cta-banner__btns { flex-direction: column; width: 100%; }
  .cta-banner__btns .btn { width: 100%; }

  .site-footer__inner { flex-direction: column; gap: 32px; padding-top: 40px; padding-bottom: 40px; }
  .site-footer__links { gap: 32px; }

  .contact-wrap { grid-template-columns: 1fr; gap: 40px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .service-detail { grid-template-columns: 1fr; gap: 28px; }
  .lineup-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
}

/* ── TB ── */
@media (min-width: 768px) and (max-width: 1023px) {
  :root { --pad: 32px; }
  .section { padding: 80px 0; }

  .about__text-col { padding: 56px 48px; }

  .svc-row { grid-template-columns: 1fr 1fr; }
  .svc-row--reverse { grid-template-columns: 1fr 1fr; }
  .svc-row__body { padding: 48px 40px; }

  .flow { grid-template-columns: repeat(2, 1fr); }
  .flow::before { display: none; }

  .insta-feed-placeholder { grid-template-columns: repeat(4, 1fr); }

  .cta-banner__inner { flex-direction: column; text-align: center; gap: 32px; }
  .cta-banner__btns { justify-content: center; }

  .service-detail { grid-template-columns: 1fr; gap: 40px; }
  .service-detail--reverse .service-detail__img { order: unset; }
  .service-detail--reverse .service-detail__body { order: unset; }
  .contact-wrap { grid-template-columns: 1fr; }
  .lineup-grid { grid-template-columns: repeat(2, 1fr); }
}


/* ============================================================
   PRICE CARDS（サービスページ）
   ============================================================ */
.price-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  align-items: stretch;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  margin-bottom: 28px;
}

/* 通常カード */
.price-card {
  background: var(--white);
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  position: relative;
}
.price-card + .price-card { border-left: none; }

/* 人気カード：薄いグリーン */
.price-card--featured {
  background: #EAF5EF;
  border-color: var(--border);
  z-index: 1;
  box-shadow: var(--shadow-lg);
}

/* カード上部 — 高さを固定して3カード揃える */
.price-card__top {
  padding: 40px 32px 24px;
  border-bottom: 1px solid var(--border);
  height: 160px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.price-card--featured .price-card__top {
  border-bottom-color: rgba(45,106,79,.15);
}

.price-card__en {
  font-family: var(--font-en);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--green-mid);
  display: block;
  margin-bottom: 8px;
}
.price-card--featured .price-card__en { color: var(--green-mid); }

.price-card__name {
  font-size: 18px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
  line-height: 1.4;
}
.price-card--featured .price-card__name { color: var(--dark); }

.price-card__catch {
  font-size: 12px;
  color: var(--text-light);
  line-height: 1.6;
}
.price-card--featured .price-card__catch { color: var(--text-light); }

/* 料金ブロック — 高さを固定して3カード揃える */
.price-card__price-block {
  padding: 28px 32px;
  border-bottom: 1px solid var(--border);
  height: 148px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.price-card--featured .price-card__price-block {
  border-bottom-color: rgba(45,106,79,.15);
}

.price-card__label {
  font-size: 11px;
  color: var(--text-light);
  font-weight: 600;
  display: block;
  margin-bottom: 6px;
}
.price-card--featured .price-card__label { color: var(--text-light); }

.price-card__amount {
  display: flex;
  align-items: baseline;
  gap: 2px;
  margin-bottom: 10px;
}

.price-card__num {
  font-family: var(--font-en);
  font-size: 48px;
  font-weight: 800;
  color: var(--green-dark);
  line-height: 1;
}
.price-card--featured .price-card__num { color: var(--green-dark); }

.price-card__unit {
  font-size: 16px;
  font-weight: 600;
  color: var(--green-dark);
}
.price-card--featured .price-card__unit { color: var(--green-dark); }

.price-card__monthly {
  font-size: 12px;
  color: var(--text-light);
  line-height: 1.7;
}
.price-card--featured .price-card__monthly { color: var(--text-light); }
.price-card__monthly strong { color: var(--text-dark); font-weight: 600; }
.price-card--featured .price-card__monthly strong { color: var(--text-dark); }

/* 機能リスト — 上部に横線、高さ揃えのためmin-height設定 */
.price-card__features {
  padding: 24px 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
  min-height: 160px;
}

.price-card__features li {
  font-size: 13px;
  color: var(--text-mid);
  display: flex;
  align-items: center;
  gap: 10px;
  line-height: 1.5;
}
.price-card--featured .price-card__features li { color: var(--text-mid); }

.price-card__check {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  background: var(--green-lightbg);
  color: var(--green-dark);
  border-radius: 50%;
  font-size: 10px;
  font-weight: 700;
  flex-shrink: 0;
}
.price-card--featured .price-card__check {
  background: rgba(45,106,79,.15);
  color: var(--green-dark);
}

/* ボタン */
.price-card__btn {
  margin: 0 32px 32px;
  width: calc(100% - 64px);
  justify-content: center;
}

.price-note {
  font-size: 13px;
  color: var(--text-light);
  text-align: center;
}

@media (max-width: 767px) {
  .price-cards {
    grid-template-columns: 1fr;
    box-shadow: none;
    gap: 16px;
    background: transparent;
    overflow: visible;
  }
  .price-card {
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
  }
  .price-card + .price-card { border-left: 1px solid var(--border); }
  .price-card--featured { box-shadow: var(--shadow-md); }
  .price-card__recommend { top: -13px; }
  .price-card__num { font-size: 36px; }
}


/* ============================================================
   LINEUP CONSULT BANNER
   ============================================================ */
.lineup-consult {
  background: var(--green-lightbg);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.lineup-consult__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  padding-top: 56px;
  padding-bottom: 56px;
}
.lineup-consult__title {
  font-family: var(--font-serif);
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 8px;
}
.lineup-consult__desc {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.85;
}

@media (max-width: 767px) {
  .lineup-consult__inner { flex-direction: column; text-align: center; gap: 24px; }
  .lineup-consult__inner .btn { width: 100%; }
}


/* ============================================================
   CASE FEATURED（導入事例ページ）
   ============================================================ */
.case-featured {
  display: grid;
  grid-template-columns: 55% 45%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.case-featured__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.case-featured__body {
  padding: 56px 56px;
  background: var(--off-white);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.case-featured__tag {
  font-family: var(--font-en);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--green-mid);
  background: var(--green-lightbg);
  padding: 4px 12px;
  border-radius: 2px;
  display: inline-block;
  margin-bottom: 16px;
}
.case-featured__title {
  font-family: var(--font-serif);
  font-size: clamp(22px, 2.5vw, 30px);
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 16px;
  line-height: 1.4;
}
.case-featured__text {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.9;
  margin-bottom: 28px;
}
.case-featured__meta { display: flex; flex-direction: column; gap: 10px; }
.case-featured__meta-item { display: flex; gap: 12px; align-items: baseline; }
.case-featured__meta-label { font-size: 11px; font-weight: 600; color: var(--text-light); width: 60px; flex-shrink: 0; }
.case-featured__meta-val { font-size: 13px; color: var(--text-dark); }

@media (max-width: 767px) {
  .case-featured { grid-template-columns: 1fr; }
  .case-featured__img { min-height: 220px; }
  .case-featured__body { padding: 32px 24px; }
}


/* ============================================================
   VOICE CARDS（導入事例ページ）
   ============================================================ */
.voices {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.voice-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
}
.voice-card__text {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.9;
  margin-bottom: 20px;
  position: relative;
  padding-top: 20px;
}
.voice-card__text::before {
  content: '"';
  font-family: Georgia, serif;
  font-size: 48px;
  color: var(--green-bg);
  position: absolute;
  top: -8px;
  left: -4px;
  line-height: 1;
}
.voice-card__company {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-light);
}

@media (max-width: 767px) {
  .voices { grid-template-columns: 1fr; }
}


/* ============================================================
   FAQ CATEGORY
   ============================================================ */
.faq-category {
  margin-bottom: 56px;
}
.faq-category__title {
  font-size: 17px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 24px;
  padding-left: 14px;
  border-left: 3px solid var(--green-dark);
}


/* ============================================================
   FAQ CONTACT
   ============================================================ */
.faq-contact {
  background: var(--green-lightbg);
  border-top: 1px solid var(--border);
}
.faq-contact__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  padding-top: 56px;
  padding-bottom: 56px;
}
.faq-contact__title {
  font-family: var(--font-serif);
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 8px;
}
.faq-contact__desc {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.85;
}

@media (max-width: 767px) {
  .faq-contact__inner { flex-direction: column; text-align: center; gap: 24px; }
  .faq-contact__inner .btn { width: 100%; }
}


/* ============================================================
   COMPANY MESSAGE
   ============================================================ */
.company-message {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  margin-bottom: 0;
}
.company-message__img {
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.company-message__img img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}
.company-message__title {
  font-family: var(--font-serif);
  font-size: clamp(24px, 2.8vw, 34px);
  font-weight: 600;
  color: var(--dark);
  line-height: 1.4;
  margin-bottom: 24px;
}
.company-message__text {
  font-size: 15px;
  color: var(--text-mid);
  line-height: 1.95;
  margin-bottom: 14px;
}
.company-message__sign {
  font-size: 15px;
  font-weight: 600;
  color: var(--dark);
  margin-top: 24px;
}

@media (max-width: 767px) {
  .company-message { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 767px) {
  .company-table,
  .company-table tbody,
  .company-table tr,
  .company-table th,
  .company-table td { display: block; width: 100%; box-sizing: border-box; }
  .company-table tr { border-top: 1px solid var(--border); }
  .company-table tr:last-child th { border-bottom: none; }
  .company-table tr:last-child td { border-bottom: 1px solid var(--border); }
  .company-table th,
  .company-table td { border-top: none; padding: 10px 16px; white-space: normal; }
  .company-table th { padding-bottom: 4px; font-size: 12px; background: var(--off-white); }
  .company-table td { padding-top: 8px; padding-bottom: 14px; background: #fff; }
}


/* ============================================================
   CONTACT FORM WRAP / INFO
   ============================================================ */
.contact-info__tel-wrap {
  margin-bottom: 28px;
}
.contact-info__tel-label {
  font-size: 12px;
  color: var(--text-light);
  margin-bottom: 4px;
  font-weight: 600;
}
.contact-info__line-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #06C755;
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  transition: all .2s;
}
.contact-info__line-btn:hover { opacity: .88; transform: translateY(-1px); }

.contact-form-wrap {
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px 48px;
}

@media (max-width: 767px) {
  .contact-form-wrap { padding: 28px 20px; }
}


/* ============================================================
   FIXES & REFINEMENTS
   ============================================================ */

/* required label */
.req {
  color: #c0392b;
  font-size: 11px;
  margin-left: 4px;
  font-weight: 700;
}

/* company table max-width */
.company-table {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* service-detail SP fix */
@media (max-width: 1023px) {
  .service-detail { grid-template-columns: 1fr; gap: 32px; }
  .service-detail--reverse .service-detail__img { order: 0; }
  .service-detail--reverse .service-detail__body { order: 0; }
}

/* header active link indicator */
.site-header__nav a[style*="green"] {
  position: relative;
}
.site-header__nav a[style*="green"]::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0; right: 0;
  height: 2px;
  background: var(--green-dark);
  border-radius: 1px;
}

/* faq smooth toggle */
.faq-answer {
  overflow: hidden;
  max-height: 0;
  transition: max-height .4s cubic-bezier(0.4, 0, 0.2, 1);
}
.faq-item.is-open .faq-answer {
  max-height: 600px;
}

/* contact form button full-width on mobile */
@media (max-width: 767px) {
  .form-submit .btn { width: 100%; }
}


/* ============================================================
   HERO STRIP CTA
   ============================================================ */
.hero-strip {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  background: var(--green-dark);
}
.hero-strip__divider {
  width: 1px;
  background: rgba(255,255,255,.2);
  margin: 16px 0;
}
.hero-strip__item {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 28px 48px;
  cursor: pointer;
  transition: background .2s;
  text-decoration: none;
}
.hero-strip__item:hover { background: rgba(255,255,255,.07); }

.hero-strip__item--line { color: #fff; }
.hero-strip__item--consult { color: #fff; }

.hero-strip__icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #fff;
}
.hero-strip__item--line .hero-strip__icon {
  background: #06C755;
}

.hero-strip__text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.hero-strip__label {
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  letter-spacing: .02em;
}
.hero-strip__sub {
  font-size: 12px;
  color: rgba(255,255,255,.65);
}
.hero-strip__arrow {
  font-size: 18px;
  color: rgba(255,255,255,.5);
  transition: transform .2s;
}
.hero-strip__item:hover .hero-strip__arrow { transform: translateX(4px); }

@media (max-width: 767px) {
  .hero-strip { grid-template-columns: 1fr; }
  .hero-strip__divider { width: 100%; height: 1px; margin: 0 16px; width: calc(100% - 32px); }
  .hero-strip__item { padding: 20px 24px; }
}


/* ============================================================
   HERO STRIP — シンプルボタン版
   ============================================================ */
.hero-strip {
  background: var(--green-dark);
  padding: 28px 0;
}
.hero-strip__inner {
  display: flex;
  gap: 20px;
  justify-content: center;
}
.hero-strip__btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 60px;
  padding: 0 48px;
  border-radius: 100px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all .22s ease;
  letter-spacing: .02em;
}
.hero-strip__btn--white {
  background: var(--white);
  color: var(--green-dark);
  border: 2px solid var(--white);
}
.hero-strip__btn--white:hover {
  background: var(--green-lightbg);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,.15);
}
.hero-strip__btn--outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,.55);
}
.hero-strip__btn--outline:hover {
  background: rgba(255,255,255,.12);
  border-color: var(--white);
  transform: translateY(-2px);
}
.hero-strip__btn--line {
  background: #06C755;
  color: var(--white);
  border: 2px solid #06C755;
}
.hero-strip__btn--line:hover {
  background: #05b34d;
  border-color: #05b34d;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,.15);
}

@media (max-width: 767px) {
  .hero-strip__inner { flex-direction: column; align-items: center; }
  .hero-strip__btn { width: 100%; max-width: 320px; justify-content: center; }
}


/* ============================================================
   CTA BANNER — 写真背景 + 薄いグリーンオーバーレイ
   ============================================================ */
.cta-banner--photo {
  position: relative;
  background-image: url('../images/DSCF7963.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}
.cta-banner__overlay {
  position: absolute;
  inset: 0;
  background: rgba(45, 106, 79, 0.82);
}
.cta-banner--photo .inner { position: relative; z-index: 1; }


/* ============================================================
   btn--outline ホバー：緑で塗りつぶし
   ============================================================ */
.btn--outline:hover {
  background: var(--green-dark) !important;
  color: var(--white) !important;
  border-color: var(--green-dark) !important;
}


/* ============================================================
   サービス行 — 左右余白
   ============================================================ */
.svc-row,
.svc-row--reverse {
  max-width: var(--inner-w);
  margin-left: auto;
  margin-right: auto;
}


/* ============================================================
   フッターロゴ 小さく
   ============================================================ */
.site-footer__brand img {
  height: 52px !important;
}


/* ============================================================
   HERO STRIP — ボタン中央揃え修正
   ============================================================ */
.hero-strip { padding: 32px 0; }
.hero-strip__inner {
  justify-content: center !important;
  align-items: center;
}

/* ============================================================
   SVC-ROW — 幅・余白・背景調整
   ============================================================ */
.svc-section-inner { max-width: 1280px; margin: 0 auto; }

/* svc-rowの縦余白 */
.svc-row + .svc-row,
.svc-row + .svc-row--reverse {
  margin-top: 80px;
}

/* 2枚目（メンテナンス）を白背景に強制上書き */
.svc-row--reverse .svc-row__body {
  background: var(--white) !important;
}

/* 幅少し大きく */
.svc-row, .svc-row--reverse {
  max-width: 1280px;
}


/* ============================================================
   アンカーリンク — stickyヘッダー分のオフセット
   ============================================================ */
[id] {
  scroll-margin-top: calc(var(--header-h) + 24px);
}


/* ============================================================
   HERO STRIP — 完全修正（display:grid 上書き + ボタン幅拡張）
   ============================================================ */
.hero-strip {
  display: block !important;
  padding: 36px 0 !important;
}
.hero-strip__inner {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 24px !important;
}
.hero-strip__btn {
  min-width: 260px;
  padding: 0 56px !important;
  justify-content: center;
}
@media (max-width: 767px) {
  .hero-strip__btn { min-width: 0; width: 100%; max-width: 340px; padding: 0 32px !important; }
}


/* ============================================================
   SCROLL ANIMATION — さりげないフェードイン
   ============================================================ */
[data-fadein] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
[data-fadein].is-visible {
  opacity: 1;
  transform: translateY(0);
}
/* stagger：子要素の遅延 */
[data-fadein]:nth-child(2) { transition-delay: 0.1s; }
[data-fadein]:nth-child(3) { transition-delay: 0.2s; }
[data-fadein]:nth-child(4) { transition-delay: 0.3s; }

/* prefers-reduced-motion：アニメーション無効化対応 */
@media (prefers-reduced-motion: reduce) {
  [data-fadein] { opacity: 1; transform: none; transition: none; }
}


/* ============================================================
   WordPress Theme Additions
   ============================================================ */
.current-menu-item > a { color: var(--green-dark) !important; }
.current-menu-item > a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0; right: 0;
  height: 2px;
  background: var(--green-dark);
  border-radius: 1px;
}
.custom-logo-link { display: block; line-height: 0; }
.custom-logo { height: 44px; width: auto; max-width: none; }


/* ============================================================
   CONTACT FORM 7 — デザインオーバーライド
   ============================================================ */

/* フォーム全体 */
.wpcf7 { width: 100%; }
.wpcf7 form { width: 100%; }

/* 入力グループ */
.wpcf7 .cf7-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 20px;
}
.wpcf7 .cf7-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dark);
  letter-spacing: .02em;
}
.wpcf7 .cf7-label .req {
  color: var(--green-mid);
  font-size: 11px;
  font-weight: 700;
  margin-left: 6px;
  background: var(--green-bg);
  padding: 1px 6px;
  border-radius: 3px;
}

/* テキスト・メール・電話入力 */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="url"],
.wpcf7 select {
  width: 100%;
  height: 48px;
  padding: 0 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-family: var(--font-ja);
  color: var(--text-dark);
  background: var(--white);
  transition: border-color .2s, box-shadow .2s;
  outline: none;
  -webkit-appearance: none;
}
.wpcf7 input[type="text"]:focus,
.wpcf7 input[type="email"]:focus,
.wpcf7 input[type="tel"]:focus,
.wpcf7 select:focus {
  border-color: var(--green-mid);
  box-shadow: 0 0 0 3px rgba(64,145,108,.12);
}

/* テキストエリア */
.wpcf7 textarea {
  width: 100%;
  min-height: 160px;
  padding: 14px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-family: var(--font-ja);
  color: var(--text-dark);
  background: var(--white);
  resize: vertical;
  line-height: 1.7;
  transition: border-color .2s, box-shadow .2s;
  outline: none;
}
.wpcf7 textarea:focus {
  border-color: var(--green-mid);
  box-shadow: 0 0 0 3px rgba(64,145,108,.12);
}

/* プレースホルダー */
.wpcf7 input::placeholder,
.wpcf7 textarea::placeholder {
  color: var(--text-light);
  font-size: 14px;
}

/* 送信ボタン */
.wpcf7 input[type="submit"] {
  display: block;
  width: 100%;
  height: 54px;
  margin-top: 8px;
  background: var(--green-dark);
  color: var(--white);
  font-size: 15px;
  font-weight: 600;
  font-family: var(--font-ja);
  letter-spacing: .06em;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background .2s, transform .15s;
}
.wpcf7 input[type="submit"]:hover {
  background: var(--green-mid);
  transform: translateY(-1px);
}

/* バリデーションエラー */
.wpcf7 .wpcf7-not-valid-tip {
  font-size: 12px;
  color: #c0392b;
  margin-top: 4px;
  display: block;
}
.wpcf7 input.wpcf7-not-valid,
.wpcf7 textarea.wpcf7-not-valid {
  border-color: #e74c3c;
}

/* 送信メッセージ */
.wpcf7 .wpcf7-response-output {
  margin: 16px 0 0;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  border: none !important;
}
.wpcf7 .wpcf7-mail-sent-ok {
  background: var(--green-bg);
  color: var(--green-dark);
}
.wpcf7 .wpcf7-mail-sent-ng,
.wpcf7 .wpcf7-spam-blocked {
  background: #fdf0f0;
  color: #c0392b;
}

/* スピナー非表示（デフォルトのスピナーを置き換え） */
.wpcf7 .ajax-loader { display: none; }

/* CF7デフォルト <p> ラッパー対応 */
.wpcf7 form p {
  margin-bottom: 20px !important;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.wpcf7 form p:last-child { margin-bottom: 0 !important; }
.wpcf7 form br { display: none; }
.wpcf7 form label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dark);
  letter-spacing: .02em;
  margin-bottom: 0;
}
.wpcf7 .wpcf7-form-control-wrap { width: 100%; }
/* CF7 デフォルトスタイルのリセット */
.wpcf7 form .wpcf7-submit { margin-top: 8px; }

@media (max-width: 767px) {
  .wpcf7 input[type="text"],
  .wpcf7 input[type="email"],
  .wpcf7 input[type="tel"] { height: 44px; font-size: 16px; }
  .wpcf7 input[type="submit"] { height: 50px; }
}


/* ============================================================
   CASE DETAIL — 導入事例詳細ページ
   ============================================================ */
.case-detail {
  max-width: 860px;
  margin: 0 auto;
}
.case-detail__header {
  margin-bottom: 28px;
}
.case-detail__title {
  font-family: var(--font-serif);
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 600;
  color: var(--dark);
  line-height: 1.4;
  margin-top: 12px;
}
.case-detail__image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 40px;
}
.case-detail__image img {
  width: 100%;
  height: auto;
  display: block;
}
.case-detail__excerpt {
  font-size: 15px;
  line-height: 1.95;
  color: var(--text-mid);
  margin-top: 32px;
}
.case-detail__meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px 32px;
  margin-bottom: 48px;
}
.case-detail__meta-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.case-detail__meta-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-light);
  letter-spacing: .08em;
  text-transform: uppercase;
}
.case-detail__meta-val {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-dark);
  line-height: 1.5;
}
.case-detail__content {
  font-size: 15px;
  line-height: 1.9;
  color: var(--text-mid);
}
.case-detail__content p { margin-bottom: 20px; }
.case-detail__content h2 {
  font-size: 20px;
  font-weight: 600;
  color: var(--dark);
  margin: 36px 0 14px;
}
.case-detail__content img {
  width: 100%;
  border-radius: var(--radius-md);
  margin: 24px 0;
}
@media (max-width: 767px) {
  .case-detail__meta { grid-template-columns: 1fr; gap: 16px; padding: 20px; }
}
