/* ===== 基本設定 ===== */
:root {
  /* ロゴのブランドカラー（濃い緑・濃いめ黄色） */
  --green: #1b6b3a;
  --green-dark: #0e3d21;
  --gold: #e3a600;
  --gold-dark: #c48f00;
  --gold-light: #f5d56b;
  --bg: #ffffff;
  --bg-soft: #f6f4ef;
  --text: #2b2b2b;
  --text-sub: #666;
  --border: #e3ded3;
  --header-h: 72px;
  /* 遊ゴシック（未搭載の端末では Noto Sans JP） */
  --sans: "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic", "Noto Sans JP", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 500;
  color: var(--text);
  background: var(--bg);
  line-height: 1.9;
  letter-spacing: 0.04em;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; line-height: 1.5; font-weight: 700; }
strong, b, th { font-weight: 700; }
input, select, textarea, button { font-weight: 500; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.container { width: min(1100px, 100% - 32px); margin-inline: auto; }
.container--narrow { width: min(800px, 100% - 32px); }

.sp-only { display: none; }

/* ===== ボタン ===== */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 2px;
  font-weight: 700;
  font-size: 15px;
  text-align: center;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background .25s, color .25s, border-color .25s, transform .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--gold); color: var(--green-dark); }
.btn--primary:hover { background: var(--gold-dark); }
.btn--ghost { border-color: rgba(255,255,255,.7); color: #fff; }
.btn--ghost:hover { background: rgba(255,255,255,.1); }
.btn--block { display: block; width: 100%; font-family: inherit; }

/* ===== ヘッダー ===== */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--header-h);
  z-index: 100;
  transition: background .3s, box-shadow .3s;
}
.header.is-scrolled {
  background: rgba(255,255,255,.96);
  box-shadow: 0 1px 12px rgba(0,0,0,.08);
}
.header__inner {
  height: 100%;
  width: min(1200px, 100% - 32px);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo { display: flex; align-items: center; gap: 10px; color: #fff; transition: color .3s; }
.header.is-scrolled .logo { color: var(--green); }
.logo__mark { width: 44px; height: 44px; flex-shrink: 0; padding: 2px; background: #fff; border-radius: 50%; }
.logo__words { display: flex; flex-direction: column; line-height: 1.1; }
.logo__en { font-family: "Alfa Slab One", serif; font-size: 24px; letter-spacing: .03em; }
.logo__ja { font-size: 11px; font-weight: 700; letter-spacing: .18em; margin-top: 3px; }

.nav__list { display: flex; align-items: center; gap: 22px; }
.nav__list a { font-size: 13.5px; font-weight: 500; color: #fff; transition: color .3s, opacity .2s; }
.nav__list a:hover { opacity: .7; }
.header.is-scrolled .nav__list a { color: var(--green); }
.nav__list a.nav__cta,
.header.is-scrolled .nav__list a.nav__cta {
  padding: 8px 20px;
  background: var(--gold);
  color: var(--green-dark);
  border-radius: 2px;
}

.hamburger {
  display: none;
  width: 44px; height: 44px;
  background: none; border: 0; padding: 0;
  cursor: pointer;
  position: relative;
  z-index: 110;
}
.hamburger span {
  position: absolute;
  left: 10px; width: 24px; height: 2px;
  background: #fff;
  transition: transform .3s, opacity .3s, background .3s;
}
.hamburger span:nth-child(1) { top: 14px; }
.hamburger span:nth-child(2) { top: 21px; }
.hamburger span:nth-child(3) { top: 28px; }
.header.is-scrolled .hamburger span { background: var(--green); }
.hamburger.is-open span { background: #fff; }
.hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== ヒーロー ===== */
.hero {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  color: #fff;
  background:
    linear-gradient(120deg, rgba(14,61,33,.96) 0%, rgba(27,107,58,.86) 60%, rgba(227,166,0,.5) 100%),
    repeating-linear-gradient(45deg, transparent 0 40px, rgba(255,255,255,.025) 40px 80px),
    var(--green);
  position: relative;
  overflow: hidden;
}
.hero__mark {
  position: absolute;
  right: -8vw; bottom: -10vw;
  width: min(60vw, 640px);
  height: auto;
  opacity: .1;
  pointer-events: none;
}
.hero__inner { width: min(1100px, 100% - 32px); margin-inline: auto; padding-top: var(--header-h); position: relative; z-index: 1; }
.hero__sub { font-size: 13px; letter-spacing: .3em; color: var(--gold-light); margin-bottom: 20px; }
.hero__title {
  font-family: var(--sans);
  font-size: clamp(30px, 5.2vw, 58px);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: .06em;
}
.hero__lead { margin-top: 28px; font-size: clamp(14px, 1.6vw, 17px); opacity: .9; }
.hero__buttons { margin-top: 44px; display: flex; flex-wrap: wrap; gap: 16px; }

/* ===== セクション共通 ===== */
.section { padding: 110px 0; }
.section__head { text-align: center; margin-bottom: 64px; }
.section__en {
  font-size: 13px;
  letter-spacing: .3em;
  color: var(--gold);
  font-weight: 700;
}
.section__title {
  font-family: var(--sans);
  font-size: clamp(24px, 3vw, 34px);
  color: var(--green);
  margin-top: 6px;
  position: relative;
  padding-bottom: 20px;
}
.section__title::after {
  content: "";
  position: absolute;
  left: 50%; bottom: 0;
  width: 40px; height: 2px;
  background: var(--gold);
  transform: translateX(-50%);
}
.section__head--light .section__title { color: #fff; }

/* ===== 私たちについて ===== */
.about__body {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  align-items: center;
}
.about__catch {
  font-family: var(--sans);
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700;
  color: var(--green);
  line-height: 1.7;
  border-left: 3px solid var(--gold);
  padding-left: 28px;
}
.about__text p + p { margin-top: 1.4em; }
.about__text strong { color: var(--gold); font-weight: 700; }

/* ===== 事業内容 ===== */
.service { background: var(--bg-soft); }
.service__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: 72px;
  border-bottom: 1px solid var(--border);
}
.service__item {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 28px;
  align-items: start;
  padding: 40px 0;
  border-top: 1px solid var(--border);
}
.service__icon { width: 76px; height: 76px; }
.service__num { font-size: 13px; font-weight: 700; color: var(--gold-dark); letter-spacing: .12em; }
.service__title { font-size: 20px; color: var(--green); margin: 2px 0 10px; }
.service__text { font-size: 15px; color: var(--text-sub); line-height: 1.9; }

/* ===== 選ばれる理由 ===== */
.reason__list { display: grid; gap: 24px; max-width: 900px; margin-inline: auto; }
.reason__item {
  display: flex;
  gap: 36px;
  align-items: flex-start;
  padding: 36px 40px;
  border: 1px solid var(--border);
  background: #fff;
}
.reason__num {
  flex-shrink: 0;
  font-family: var(--sans);
  font-size: 44px;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}
.reason__item h3 { font-size: 20px; color: var(--green); margin-bottom: 8px; }
.reason__item p { color: var(--text-sub); font-size: 15px; }

/* ===== ご依頼の流れ ===== */
.flow { background: var(--bg-soft); }
.flow__list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  counter-reset: step;
}
.flow__step {
  background: #fff;
  padding: 32px 24px;
  text-align: center;
  position: relative;
}
.flow__step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%; right: -18px;
  width: 12px; height: 12px;
  border-top: 2px solid var(--gold);
  border-right: 2px solid var(--gold);
  transform: translateY(-50%) rotate(45deg);
}
.flow__label {
  display: inline-block;
  font-size: 12px;
  letter-spacing: .15em;
  font-weight: 700;
  color: #fff;
  background: var(--green);
  padding: 2px 12px;
  margin-bottom: 14px;
}
.flow__step h3 { font-size: 17px; color: var(--green); margin-bottom: 8px; }
.flow__step p { font-size: 14px; color: var(--text-sub); text-align: left; }

/* ===== 取引実績 ===== */
.works__body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}
.works__label { font-size: 13px; font-weight: 700; color: var(--gold-dark); letter-spacing: .12em; margin-bottom: 14px; }
.works__label span { color: var(--text-sub); font-weight: 500; letter-spacing: .04em; }
.works__heading { font-size: clamp(20px, 2.2vw, 24px); color: var(--green); line-height: 1.6; margin-bottom: 18px; }
.works__desc { font-size: 15px; color: var(--text-sub); }
.works__list { border-top: 2px solid var(--green); }
.works__list li {
  padding: 18px 4px;
  border-bottom: 1px solid var(--border);
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
}
.works__list li.works__other { font-size: 15px; font-weight: 500; color: var(--text-sub); }

/* ===== ご依頼者様別のご案内 ===== */
.target { background: var(--green-dark); padding: 0 0 56px; }
.target__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  transform: translateY(-48px);
  margin-bottom: -48px;
  position: relative;
  z-index: 2;
}
.target__item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 32px 36px;
  background: #fff;
  border-bottom: 4px solid var(--gold);
  transition: transform .25s, box-shadow .25s;
}
.target__item:hover { transform: translateY(-3px); box-shadow: 0 10px 28px rgba(0,0,0,.18); }
.target__for { font-size: 13px; font-weight: 700; color: var(--gold-dark); letter-spacing: .06em; }
.target__title { font-size: 24px; font-weight: 700; color: var(--green); }
.target__text { font-size: 14px; color: var(--text-sub); }
.target__more, .service__more {
  align-self: flex-start;
  margin-top: 6px;
  font-size: 14px;
  font-weight: 700;
  color: var(--green);
  border-bottom: 2px solid var(--gold);
}
.target__more::after, .service__more::after { content: " →"; }
.service__more { display: inline-block; margin-top: 12px; }

/* ===== 下層ページ ===== */
.hero--sub { min-height: 0; padding: calc(var(--header-h) + 72px) 0 88px; }
.hero--sub .hero__inner { padding-top: 0; }
.hero__title--sub { font-size: clamp(30px, 4.6vw, 50px); }
.breadcrumb { font-size: 13px; margin-bottom: 28px; opacity: .85; }
.breadcrumb a { text-decoration: underline; text-underline-offset: 3px; }
.breadcrumb span { margin: 0 10px; }
.reason--soft { background: var(--bg-soft); }
.reason--soft .reason__item { background: #fff; }

/* ===== 対応エリア ===== */
.area { background: var(--bg-soft); }
.area__lead { text-align: center; max-width: 760px; margin: 0 auto 48px; }
.area__body { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; max-width: 960px; margin-inline: auto; }
.area__block { background: #fff; padding: 36px; }
.area__title { font-size: 20px; color: var(--green); margin-bottom: 10px; padding-left: 14px; border-left: 4px solid var(--gold); line-height: 1.4; }
.area__text { color: var(--text-sub); }

/* ===== よくある質問 ===== */
.faq__list { border-top: 2px solid var(--green); }
.faq__item { padding: 28px 4px; border-bottom: 1px solid var(--border); }
.faq__q, .faq__a { position: relative; padding-left: 44px; }
.faq__q { font-size: 17px; color: var(--green); margin-bottom: 10px; }
.faq__a { color: var(--text-sub); font-size: 15px; }
.faq__q::before, .faq__a::before {
  position: absolute;
  left: 0; top: 0;
  width: 30px; height: 30px;
  display: grid; place-items: center;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
}
.faq__q::before { content: "Q"; background: var(--green); color: #fff; }
.faq__a::before { content: "A"; background: var(--gold); color: var(--green-dark); }

/* ===== フッターリンク ===== */
.footer__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 24px; font-size: 13px; }
.footer__links a:hover { color: #fff; }

/* ===== 会社概要 ===== */
.company { background: var(--bg-soft); }
.company__table { width: 100%; border-collapse: collapse; }
.company__table th,
.company__table td {
  padding: 22px 16px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
  font-size: 15px;
}
.company__table tr:first-child th,
.company__table tr:first-child td { border-top: 1px solid var(--border); }
.company__table a { color: var(--green); text-decoration: underline; text-underline-offset: 3px; }
.company__en { display: block; font-size: 13px; color: var(--text-sub); letter-spacing: .08em; }
.company__table td { background: #fff; }
.company__table th { width: 28%; color: var(--green); font-weight: 700; background: #edf4ef; }

/* ===== お問い合わせ ===== */
.contact { background: var(--green); color: #fff; }
.contact__lead { text-align: center; opacity: .9; }
.contact__tel {
  margin-top: 40px;
  padding: 40px 28px;
  text-align: center;
  border: 1px solid rgba(255,255,255,.25);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.contact__tel-label { font-size: 14px; opacity: .85; }
.contact__tel-num {
  font-family: var(--sans);
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 700;
  color: var(--gold-light);
  letter-spacing: .08em;
}
.contact__tel-time { font-size: 13px; opacity: .8; }
.contact__tel-time a { text-decoration: underline; text-underline-offset: 3px; }


/* ===== フッター ===== */
.footer { background: var(--green-dark); color: rgba(255,255,255,.75); padding: 48px 0 32px; }
.footer__inner { display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; }
.logo--footer { color: #fff; }
.footer__addr { font-size: 13px; line-height: 2; }
.footer__copy { font-size: 12px; opacity: .6; }

/* ===== トップへ戻る ===== */
.to-top {
  position: fixed;
  right: 20px; bottom: 20px;
  width: 48px; height: 48px;
  display: grid; place-items: center;
  background: var(--gold);
  color: var(--green-dark);
  font-size: 20px;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0,0,0,.15);
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s, visibility .3s;
  z-index: 90;
}
.to-top.is-visible { opacity: 1; visibility: visible; }

/* ===== スクロールアニメーション ===== */
.fade-in { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.fade-in.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .fade-in { opacity: 1; transform: none; transition: none; }
}

/* ===== レスポンシブ ===== */
@media (max-width: 1100px) {
  .hamburger { display: block; }
  .nav {
    position: fixed;
    inset: 0;
    background: rgba(14,61,33,.97);
    display: grid;
    place-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s, visibility .3s;
  }
  .nav.is-open { opacity: 1; visibility: visible; }
  .nav__list { flex-direction: column; gap: 28px; }
  .nav__list a,
  .header.is-scrolled .nav__list a { color: #fff; font-size: 17px; }

  .works__body { grid-template-columns: 1fr; gap: 40px; }
    .area__body { grid-template-columns: 1fr; }
  .service__list { column-gap: 40px; }
  .flow__list { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .flow__step:nth-child(2)::after { display: none; }
  .about__body { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 600px) {
  :root { --header-h: 64px; }
  .sp-only { display: inline; }
  .section { padding: 80px 0; }
  .section__head { margin-bottom: 44px; }
  .logo__mark { width: 38px; height: 38px; }
  .logo__en { font-size: 20px; }
  .logo__ja { font-size: 10px; }

  .hero__buttons .btn { flex: 1 1 100%; }

  .service__list,
  .target__grid { grid-template-columns: 1fr; }
  .target__item { padding: 28px 24px; }
  .area__block { padding: 28px 20px; }
  .hero--sub { padding: calc(var(--header-h) + 48px) 0 64px; }
  .service__item { grid-template-columns: 56px 1fr; gap: 20px; padding: 32px 0; }
  .service__icon { width: 56px; height: 56px; }

  .reason__item { flex-direction: column; gap: 12px; padding: 28px 24px; }
  .reason__num { font-size: 36px; }

  .flow__list { grid-template-columns: 1fr; gap: 36px; }
  .flow__step::after,
  .flow__step:nth-child(2)::after {
    display: block;
    top: auto; right: auto;
    left: 50%; bottom: -24px;
    transform: translateX(-50%) rotate(135deg);
  }
  .flow__step:last-child::after { display: none; }

  .company__table th,
  .company__table td { display: block; width: 100%; padding: 12px 14px; }
  .company__table th { border-bottom: 0; }
  .company__table tr:first-child td { border-top: 0; }

}
