/* ============================================================
   川崎造園緑化 — スタイルシート
   ============================================================ */

/* ---------- リセット & 変数 ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --green-dark:   #2d5a27;
  --green-main:   #3d7a35;
  --green-mid:    #5a9e50;
  --green-light:  #e8f5e4;
  --green-pale:   #f4faf2;
  --brown:        #6b4f3a;
  --text-dark:    #1a2e18;
  --text-body:    #3d4a3b;
  --text-muted:   #7a8c78;
  --bg-gray:      #f6f7f5;
  --white:        #ffffff;
  --shadow-sm:    0 2px 8px rgba(45,90,39,.10);
  --shadow-md:    0 6px 24px rgba(45,90,39,.14);
  --shadow-lg:    0 16px 48px rgba(45,90,39,.18);
  --radius:       12px;
  --radius-lg:    20px;
  --transition:   0.3s ease;
  --font-sans:    'Noto Sans JP', sans-serif;
  --font-serif:   'Noto Serif JP', serif;
}

html { scroll-behavior: smooth; font-size: 16px; }

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

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ---------- 共通 ---------- */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 96px 0; }
.section--gray  { background: var(--bg-gray); }
.section--green { background: var(--green-dark); color: var(--white); }

.section__header { text-align: center; margin-bottom: 60px; }
.section__header--light .section__label,
.section__header--light .section__title,
.section__header--light .section__desc { color: var(--white); }

.section__label {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .2em;
  color: var(--green-mid);
  margin-bottom: 10px;
}
.section__title {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 16px;
  line-height: 1.4;
}
.section__desc {
  font-size: .95rem;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto;
}

/* ---------- ボタン ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 36px;
  border-radius: 50px;
  font-size: .95rem;
  font-weight: 700;
  letter-spacing: .05em;
  transition: var(--transition);
  white-space: nowrap;
}
.btn--primary {
  background: var(--green-main);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(61,122,53,.35);
}
.btn--primary:hover {
  background: var(--green-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(61,122,53,.40);
}
.btn--outline {
  border: 2px solid rgba(255,255,255,.8);
  color: var(--white);
}
.btn--outline:hover {
  background: rgba(255,255,255,.15);
  transform: translateY(-2px);
}
.btn--large { padding: 16px 48px; font-size: 1rem; }

/* ---------- ヘッダー ---------- */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 24px;
  height: 68px;
  display: flex;
  align-items: center;
  background: transparent;
  transition: background var(--transition), box-shadow var(--transition);
}
.header.scrolled {
  background: rgba(255,255,255,.97);
  box-shadow: var(--shadow-sm);
}
.header.scrolled .header__logo-name,
.header.scrolled .header__logo-sub { color: var(--text-dark); }
.header.scrolled .nav__link { color: var(--text-body); }
.header.scrolled .nav__link--cta {
  color: var(--white);
  background: var(--green-main);
}

.header__inner {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header__logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.header__logo-img {
  height: 44px;
  width: auto;
  /* mix-blend-mode: screen で黒背景を透過させ、白文字だけを表示 */
  mix-blend-mode: screen;
  transition: filter var(--transition);
}
.header.scrolled .header__logo-img {
  /* 白背景時は blend-mode を解除して filter:invert で黒文字に */
  mix-blend-mode: normal;
  filter: invert(1);
}

.nav__list {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav__link {
  padding: 8px 16px;
  font-size: .88rem;
  font-weight: 500;
  color: rgba(255,255,255,.9);
  border-radius: 50px;
  transition: var(--transition);
}
.nav__link:hover { background: rgba(255,255,255,.15); }
.nav__link--cta {
  background: rgba(255,255,255,.2);
  border: 1px solid rgba(255,255,255,.4);
  font-weight: 700;
}
.nav__link--cta:hover { background: var(--white); color: var(--green-dark) !important; }

/* ハンバーガー */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  border-radius: 8px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}
.header.scrolled .hamburger span { background: var(--text-dark); }
.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); }

/* ---------- ヒーロー ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  background:
    url('https://images.unsplash.com/photo-1585320806297-9794b3e4eeae?w=1600&q=80')
    center / cover no-repeat;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(20,45,17,.78) 0%,
    rgba(30,65,25,.55) 60%,
    rgba(20,45,17,.35) 100%
  );
}
.hero__content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  padding: 120px 24px 80px;
  margin: 0 auto 0 max(24px, calc((100vw - 1100px) / 2));
}
.hero__catch {
  font-size: clamp(.85rem, 1.5vw, 1rem);
  font-weight: 500;
  letter-spacing: .25em;
  color: rgba(255,255,255,.8);
  margin-bottom: 16px;
}
.hero__title {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 600;
  color: var(--white);
  line-height: 1.3;
  margin-bottom: 28px;
}
.hero__desc {
  font-size: clamp(.9rem, 1.5vw, 1.05rem);
  color: rgba(255,255,255,.88);
  line-height: 1.9;
  margin-bottom: 44px;
}
.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero__scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 1;
}
.hero__scroll-line {
  display: block;
  width: 1px;
  height: 52px;
  background: rgba(255,255,255,.5);
  animation: scrollLine 1.8s ease-in-out infinite;
}
.hero__scroll-text {
  font-size: .62rem;
  letter-spacing: .18em;
  color: rgba(255,255,255,.6);
}
@keyframes scrollLine {
  0%   { transform: scaleY(0); transform-origin: top; opacity: 1; }
  50%  { transform: scaleY(1); transform-origin: top; opacity: 1; }
  51%  { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; opacity: .3; }
}

/* ---------- 特徴バナー ---------- */
.features {
  background: var(--white);
  padding: 56px 0;
  border-bottom: 1px solid #e8ede7;
}
.features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}
.features__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 36px 28px;
  gap: 12px;
  border-right: 1px solid #e8ede7;
}
.features__item:last-child { border-right: none; }
.features__icon { font-size: 2rem; }
.features__item h3 { font-size: 1rem; font-weight: 700; color: var(--text-dark); }
.features__item p  { font-size: .85rem; color: var(--text-muted); }

/* ---------- サービス ---------- */
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--white);
  border: 1px solid #e4ece3;
  border-radius: var(--radius);
  padding: 36px 28px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--green-main);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.service-card:hover::before { transform: scaleX(1); }

.service-card__icon {
  font-size: 2.4rem;
  margin-bottom: 18px;
}
.service-card__title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 12px;
}
.service-card__text {
  font-size: .88rem;
  color: var(--text-muted);
  line-height: 1.8;
}

/* ---------- 施工事例 ---------- */
.works__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 32px;
}
.work-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.work-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.work-card__img {
  position: relative;
  height: 220px;
  overflow: hidden;
  background: #c8d8c4;
}
.work-card__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform .5s ease;
}
.work-card:hover .work-card__photo {
  transform: scale(1.06);
}

.work-card__tag {
  position: absolute;
  top: 14px; left: 14px;
  background: rgba(45,90,39,.85);
  color: var(--white);
  font-size: .75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 50px;
  letter-spacing: .05em;
}
.work-card__body { padding: 22px 22px 26px; }
.work-card__body h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}
.work-card__body p { font-size: .85rem; color: var(--text-muted); }

.works__note {
  text-align: center;
  font-size: .82rem;
  color: var(--text-muted);
}

/* ---------- 会社概要 ---------- */
.about__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.about__message-title {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--green-dark);
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--green-light);
}
.about__message p {
  font-size: .93rem;
  color: var(--text-body);
  line-height: 1.9;
  margin-bottom: 14px;
}

.about__table { width: 100%; border-collapse: collapse; }
.about__table th,
.about__table td {
  padding: 14px 16px;
  font-size: .88rem;
  text-align: left;
  border-bottom: 1px solid #e4ece3;
  vertical-align: top;
}
.about__table th {
  width: 120px;
  font-weight: 700;
  color: var(--green-dark);
  white-space: nowrap;
  background: var(--green-pale);
}
.about__table td { color: var(--text-body); }

/* ---------- お問い合わせ ---------- */
.contact__inner {
  max-width: 680px;
  margin: 0 auto;
}
.contact-form { display: flex; flex-direction: column; gap: 24px; }

.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-label {
  font-size: .88rem;
  font-weight: 700;
  color: rgba(255,255,255,.9);
  display: flex;
  align-items: center;
  gap: 8px;
}
.required {
  font-size: .68rem;
  background: #e05858;
  color: var(--white);
  padding: 2px 7px;
  border-radius: 4px;
  letter-spacing: .05em;
}

.form-input {
  width: 100%;
  padding: 13px 16px;
  background: rgba(255,255,255,.1);
  border: 1.5px solid rgba(255,255,255,.25);
  border-radius: 8px;
  font-size: .93rem;
  font-family: inherit;
  color: var(--white);
  transition: var(--transition);
  outline: none;
  appearance: none;
}
.form-input::placeholder { color: rgba(255,255,255,.4); }
.form-input:focus {
  border-color: rgba(255,255,255,.8);
  background: rgba(255,255,255,.15);
  box-shadow: 0 0 0 3px rgba(255,255,255,.12);
}
.form-input.error { border-color: #ff8080; }

.form-select option { background: var(--green-dark); color: var(--white); }
.form-textarea { resize: vertical; min-height: 130px; }

.form-error {
  font-size: .78rem;
  color: #ffa0a0;
  min-height: 1em;
}
.form-submit { text-align: center; padding-top: 8px; }
.form-success {
  text-align: center;
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.3);
  border-radius: var(--radius);
  padding: 20px;
  color: var(--white);
  font-size: .93rem;
}

/* ---------- フッター ---------- */
.footer {
  background: var(--text-dark);
  color: rgba(255,255,255,.7);
  padding: 48px 0 0;
}
.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer__brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.footer__logo-img {
  height: 48px;
  width: auto;
  /* フッターは暗背景なので mix-blend-mode: screen で黒背景を透過 */
  mix-blend-mode: screen;
}
.footer__company {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 4px;
}
.footer__tagline { font-size: .8rem; color: rgba(255,255,255,.5); margin-bottom: 6px; }
.footer__address { font-size: .78rem; color: rgba(255,255,255,.55); margin-top: 4px; }
.footer__tel { font-size: .78rem; color: rgba(255,255,255,.55); }
.footer__tel a { color: rgba(255,255,255,.7); transition: color var(--transition); }
.footer__tel a:hover { color: var(--white); }

.footer__nav ul {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.footer__nav a {
  font-size: .85rem;
  color: rgba(255,255,255,.6);
  transition: color var(--transition);
}
.footer__nav a:hover { color: var(--white); }

.footer__bottom {
  padding: 20px 0;
  text-align: center;
  font-size: .75rem;
  color: rgba(255,255,255,.35);
}

/* ---------- Before/After スライダー ---------- */
.beforeafter__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

/* コンテナ */
.cs {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  cursor: ew-resize;
  user-select: none;
  touch-action: none;
  --pos: 50%;
  background: #c8d8c4;
}

/* After画像（ベース） */
.cs__img {
  display: block;
  width: 100%;
  height: 360px;
  object-fit: cover;
  pointer-events: none;
  -webkit-user-drag: none;
}

/* Before画像（クリップで重ねる） */
.cs__img--before {
  position: absolute;
  inset: 0;
  clip-path: inset(0 calc(100% - var(--pos)) 0 0);
}

/* ハンドル縦線＋ボタン */
.cs__handle {
  position: absolute;
  top: 0; bottom: 0;
  left: var(--pos);
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  pointer-events: none;
  z-index: 2;
}
.cs__line {
  width: 2px;
  height: 100%;
  background: rgba(255,255,255,.9);
  box-shadow: 0 0 6px rgba(0,0,0,.4);
}
.cs__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--white);
  color: var(--green-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  box-shadow: 0 4px 16px rgba(0,0,0,.3);
  transition: transform var(--transition), box-shadow var(--transition);
}
.cs:active .cs__btn {
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 6px 20px rgba(0,0,0,.4);
}

/* BEFORE / AFTER ラベル */
.cs__label {
  position: absolute;
  top: 14px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  padding: 4px 12px;
  border-radius: 50px;
  pointer-events: none;
  z-index: 2;
}
.cs__label--before {
  left: 14px;
  background: rgba(0,0,0,.55);
  color: var(--white);
}
.cs__label--after {
  right: 14px;
  background: rgba(61,122,53,.85);
  color: var(--white);
}

/* ヒントアニメーション（初回表示時） */
.cs__hint {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  font-size: .72rem;
  color: rgba(255,255,255,.8);
  background: rgba(0,0,0,.4);
  padding: 4px 12px;
  border-radius: 50px;
  pointer-events: none;
  animation: hintFade 3s ease forwards;
  z-index: 2;
}
@keyframes hintFade {
  0%   { opacity: 1; }
  60%  { opacity: 1; }
  100% { opacity: 0; }
}

@media (max-width: 700px) {
  .beforeafter__grid { grid-template-columns: 1fr; gap: 24px; }
  .cs__img { height: 260px; }
}

/* ---------- Googleマップ ---------- */
.about__map {
  margin-top: 48px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid #e4ece3;
}
.about__map iframe {
  display: block;
  width: 100%;
}

/* ---------- 沿革 ---------- */
.timeline {
  max-width: 760px;
  margin: 0 auto;
  position: relative;
  padding-left: 32px;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 100px;
  top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--green-light), var(--green-mid), var(--green-light));
}
.timeline__item {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 0 32px;
  margin-bottom: 0;
  position: relative;
}
.timeline__item + .timeline__item { margin-top: 36px; }

.timeline__year {
  text-align: right;
  padding-right: 24px;
  padding-top: 2px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 3px;
}
.timeline__ad {
  font-size: .95rem;
  font-weight: 700;
  color: var(--green-dark);
}
.timeline__jp {
  font-size: .72rem;
  color: var(--text-muted);
}

.timeline__body {
  position: relative;
  background: var(--white);
  border: 1px solid #e4ece3;
  border-radius: var(--radius);
  padding: 16px 22px;
  font-size: .9rem;
  color: var(--text-body);
  line-height: 1.8;
}
.timeline__body::before {
  content: '';
  position: absolute;
  left: -24px;
  top: 14px;
  width: 12px;
  height: 12px;
  background: var(--white);
  border: 2px solid var(--green-mid);
  border-radius: 50%;
}
.timeline__item--milestone .timeline__body {
  border-color: var(--green-mid);
  background: var(--green-pale);
}
.timeline__item--milestone .timeline__body::before {
  background: var(--green-main);
  border-color: var(--green-dark);
  width: 14px;
  height: 14px;
  left: -25px;
  top: 13px;
}
.timeline__body strong { color: var(--green-dark); }

@media (max-width: 600px) {
  .timeline { padding-left: 0; }
  .timeline::before { left: 72px; }
  .timeline__item { grid-template-columns: 72px 1fr; gap: 0 20px; }
  .timeline__ad { font-size: .82rem; }
  .timeline__jp { font-size: .65rem; }
  .timeline__body { padding: 12px 16px; font-size: .85rem; }
  .timeline__body::before { left: -18px; }
  .timeline__item--milestone .timeline__body::before { left: -19px; }
}

/* ---------- スタッフ紹介 ---------- */
.staff-profile {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 60px;
  align-items: start;
  margin-bottom: 56px;
}

/* 写真エリア */
.staff-profile__img-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.staff-profile__img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.staff-profile__gen {
  position: absolute;
  top: 16px; left: 16px;
  background: var(--green-main);
  color: var(--white);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  padding: 5px 14px;
  border-radius: 50px;
}

/* テキストエリア */
.staff-profile__body {
  padding-top: 8px;
}
.staff-profile__role {
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .15em;
  color: var(--green-mid);
  margin-bottom: 8px;
}
.staff-profile__name {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 14px;
  line-height: 1.3;
}
.staff-profile__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}
.staff-profile__meta span {
  font-size: .78rem;
  color: var(--text-muted);
  background: var(--green-pale);
  border: 1px solid #d4e8d0;
  padding: 4px 12px;
  border-radius: 50px;
}

/* 引用コメント */
.staff-profile__quote {
  border-left: 3px solid var(--green-main);
  padding: 4px 0 4px 20px;
  margin: 0 0 20px;
}
.staff-profile__quote p {
  font-size: .93rem;
  color: var(--text-body);
  line-height: 1.9;
  margin-bottom: 12px;
}
.staff-profile__quote p:last-child { margin-bottom: 0; }

.staff-profile__area {
  font-size: .85rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #e4ece3;
}

/* 写真2枚 */
.staff-photos {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.staff-photos__item {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.staff-photos__item img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
  transition: transform .5s ease;
}
.staff-photos__item:hover img { transform: scale(1.04); }

/* レスポンシブ */
@media (max-width: 900px) {
  .staff-profile { grid-template-columns: 1fr; gap: 32px; }
  .staff-profile__img { height: 320px; }
  .staff-profile__name { font-size: 1.6rem; }
}
@media (max-width: 600px) {
  .staff-photos { grid-template-columns: 1fr; }
  .staff-photos__item img { height: 220px; }
}

/* ---------- フェードイン ---------- */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .7s ease, transform .7s ease;
}
.fade-in.visible { opacity: 1; transform: none; }

/* ============================================================
   レスポンシブ（タブレット〜）
   ============================================================ */
@media (max-width: 900px) {
  .services__grid  { grid-template-columns: repeat(2, 1fr); }
  .works__grid     { grid-template-columns: repeat(2, 1fr); }
  .about__inner    { grid-template-columns: 1fr; gap: 40px; }
  .features__grid  { grid-template-columns: 1fr; }
  .features__item  { border-right: none; border-bottom: 1px solid #e8ede7; }
  .features__item:last-child { border-bottom: none; }
}

/* ============================================================
   レスポンシブ（スマートフォン）
   ============================================================ */
@media (max-width: 600px) {
  .section { padding: 68px 0; }

  /* ハンバーガーメニュー表示 */
  .hamburger { display: flex; }
  .nav {
    position: fixed;
    top: 68px; left: 0; right: 0; bottom: 0;
    background: rgba(20,45,17,.97);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition);
  }
  .nav.open { opacity: 1; pointer-events: auto; }
  .nav__list { flex-direction: column; gap: 4px; }
  .nav__link {
    font-size: 1.2rem;
    padding: 16px 40px;
    color: var(--white);
  }

  .hero__content { padding: 110px 24px 72px; margin: 0; }
  .hero__actions { flex-direction: column; align-items: flex-start; }

  .services__grid { grid-template-columns: 1fr; }
  .works__grid    { grid-template-columns: 1fr; }

  .footer__inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .footer__nav ul { justify-content: center; }
}
