:root {
  --green: #1a5c2e;
  --green-dark: #0e3d1c;
  --green-light: #2a7a40;
  --gold: #c8a84e;
  --gold-light: #dfc576;
  --gold-pale: #f5ecd3;
  --bg: #fafaf7;
  --bg-warm: #f5f3ee;
  --text: #1a2a1e;
  --glass: rgba(250, 250, 247, 0.85);
  --muted: rgba(26, 42, 30, 0.60);
  --line: rgba(26, 92, 46, 0.10);
  --shadow-soft: 0 40px 100px rgba(0,0,0,0.06);
  --shadow-card: 0 8px 40px rgba(26, 92, 46, 0.08);
  --grain: url('https://grainy-gradients.vercel.app/noise.svg');
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Noto Sans JP', sans-serif;
  color: var(--text);
  background-color: var(--bg);
  line-height: 1.8;
  font-weight: 500;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Grain overlay */
body::before {
  content: "";
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.03;
  pointer-events: none;
  z-index: 9999;
  background-image: var(--grain);
}

/* Organic gradient background */
.gradient-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 10% 20%, rgba(26, 92, 46, 0.04) 0%, transparent 50%),
    radial-gradient(circle at 90% 80%, rgba(200, 168, 78, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(26, 92, 46, 0.02) 0%, transparent 70%);
  animation: moveGradient 20s infinite alternate;
}
@keyframes moveGradient {
  0% { transform: scale(1); }
  100% { transform: scale(1.08) translate(1%, 1%); }
}

/* ======== HEADER ======== */
header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 60px;
  background: var(--glass);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(26, 92, 46, 0.06);
  transition: padding .3s ease, background .3s ease;
}
header.is-scrolled {
  padding: 14px 60px;
  background: rgba(250, 250, 247, 0.95);
  box-shadow: 0 4px 30px rgba(0,0,0,0.04);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text);
}
.logo-img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  transition: transform .3s ease;
}
header.is-scrolled .logo-img {
  width: 36px;
  height: 36px;
}
.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.logo-text-en {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  letter-spacing: 0.15em;
  font-weight: 600;
  color: var(--green);
}
.logo-text-ja {
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  color: #000;
  font-weight: 600;
}

.header-tagline {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  color: #000;
  white-space: nowrap;
}

nav ul {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
nav a {
  font-size: 0.864rem;
  letter-spacing: 0.20em;
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
  opacity: 0.80;
  position: relative;
  transition: opacity .2s ease, color .2s ease;
}
nav a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width .3s ease;
}
nav a:hover { opacity: 1; color: var(--green); }
nav a:hover::after { width: 100%; }

/* Anchor offset for fixed header */
section { scroll-margin-top: 120px; }

/* ======== LAYOUT ======== */
section { padding: 70px 0; }
.container { max-width: 960px; margin: 0 auto; padding: 0 60px; }

.kicker {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.8rem;
  letter-spacing: 0.40em;
  color: var(--gold);
  font-weight: 600;
}
.h-serif {
  font-family: 'Cormorant Garamond', serif;
  letter-spacing: 0.02em;
}
.muted { color: var(--muted); }

/* ======== REVEAL ======== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: 1s cubic-bezier(0.33, 1, 0.68, 1);
}
.reveal.active { opacity: 1; transform: translateY(0); }

/* ======== HERO ======== */
.hero {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  text-align: center;
}
.hero-video-wrap {
  position: absolute;
  width: 88%;
  height: 72%;
  z-index: -1;
  overflow: hidden;
  border-radius: 4px;
  transform: translateY(0);
  transition: transform .2s ease;
}
.hero-video-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(26, 92, 46, 0.08) 0%, rgba(0,0,0,0.12) 100%);
  pointer-events: none;
}
.hero-video-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.88);
}
video.p-fv__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.88);
}
.hero-title { overflow: hidden; }
.hero-title h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 7.5vw;
  line-height: 1;
  color: #fff;
  text-shadow: 0 2px 40px rgba(0,0,0,0.15);
  animation: textReveal 1.5s cubic-bezier(0.77, 0, 0.175, 1);
  will-change: transform;
}
@keyframes textReveal {
  0% { transform: translateY(100%); }
  100% { transform: translateY(0); }
}
.hero-sub {
  margin-top: 26px;
  letter-spacing: 0.35em;
  font-weight: 500;
  color: rgba(255,255,255,0.92);
  text-shadow: 0 1px 20px rgba(0,0,0,0.12);
}

/* Gold accent line decoration */
.gold-line {
  width: 60px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  margin: 24px auto 0;
}

/* ======== SPLIT LAYOUT ======== */
.split-layout { display: flex; align-items: flex-start; gap: 70px; }
.split-text { flex: 1.4; padding-top: 40px; overflow-wrap: break-word; word-break: auto-phrase; }
.split-text h2 {
  font-size: 2.6rem;
  margin: 26px 0;
  line-height: 1.4;
}
.split-image { flex: 1.2; position: relative; }
.split-image img {
  width: 100%;
  box-shadow: var(--shadow-soft);
  border-radius: 2px;
}

.floating-label {
  position: absolute;
  top: -16px;
  left: -16px;
  background: var(--green);
  color: var(--gold-light);
  padding: 18px 28px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.78rem;
  letter-spacing: 0.3em;
  font-weight: 600;
  border-radius: 2px;
  box-shadow: 0 8px 30px rgba(26, 92, 46, 0.2);
}

/* ======== CALLOUT ======== */
.callout {
  margin-top: 30px;
  padding: 24px 26px;
  border: 1px solid rgba(26, 92, 46, 0.10);
  border-left: 3px solid var(--gold);
  background: rgba(245, 236, 211, 0.18);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 2px;
}
.callout .title {
  font-family: 'Cormorant Garamond', serif;
  letter-spacing: 0.25em;
  font-size: 0.82rem;
  margin-bottom: 10px;
  color: var(--green);
  font-weight: 600;
}
.callout p { color: rgba(26, 42, 30, 0.70); font-size: 0.95rem; }

/* ======== SERVICES CARDS ======== */
.services-head {
  text-align: center;
  margin-bottom: 50px;
}
.services-head h2 { font-size: 3rem; color: var(--green-dark); }

.service-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  justify-content: center;
}
.service-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
  transition: transform .3s ease, box-shadow .3s ease;
}
.service-card-link:hover {
  transform: translateY(-4px);
}
.service-card-link:hover .service-thumb {
  transform: scale(1.04);
}

/* 簡易フロー */
.flow-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-top: 20px;
}
.flow-step {
  padding: 28px 24px;
  background: rgba(26,92,46,0.03);
  border-left: 3px solid var(--gold);
  border-radius: 2px;
  position: relative;
}
.flow-step .flow-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.78rem;
  letter-spacing: 0.24em;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 12px;
}
.flow-step h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--green-dark);
  margin-bottom: 12px;
  line-height: 1.5;
}
.flow-step p {
  font-size: 0.86rem;
  line-height: 1.8;
  color: rgba(26,42,30,0.70);
}
.service-card {
  background: #fff;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform .4s ease, box-shadow .4s ease;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(26, 92, 46, 0.12);
}
.service-thumb {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  transition: transform .5s ease;
}
.service-card:hover .service-thumb {
  transform: scale(1.04);
}
.service-card-body {
  padding: 28px 26px 30px;
}
.service-no {
  font-family: 'Cormorant Garamond', serif;
  letter-spacing: 0.32em;
  font-size: 0.72rem;
  color: var(--gold);
  font-weight: 600;
}
.service-card h3 {
  font-size: 1.35rem;
  margin: 10px 0 12px;
  color: var(--green-dark);
}
.service-card p {
  color: rgba(26, 42, 30, 0.62);
  font-size: 0.92rem;
  line-height: 1.7;
}
.view-more {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  font-family: 'Cormorant Garamond', serif;
  letter-spacing: 0.25em;
  font-size: 0.78rem;
  text-decoration: none;
  color: var(--green);
  transition: color .2s ease, transform .2s ease;
  font-weight: 700;
}
.view-more:hover { color: var(--gold); transform: translateX(4px); }
.view-more .arrow { font-size: 1.2rem; letter-spacing: 0; transition: transform .2s ease; }
.view-more:hover .arrow { transform: translateX(4px); }

/* ======== BUTTON / CTA ======== */
.btn {
  display: inline-block;
  border: 1px solid var(--green);
  padding: 18px 56px;
  text-decoration: none;
  color: var(--green);
  letter-spacing: 0.2em;
  font-size: 0.8rem;
  border-radius: 2px;
  transition: .35s ease;
  position: relative;
  overflow: hidden;
}
.btn::before {
  content: "";
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: var(--green);
  transition: left .35s ease;
  z-index: -1;
}
.btn:hover {
  color: #fff;
}
.btn:hover::before {
  left: 0;
}

.btn-filled {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
}
.btn-filled::before { background: var(--green-dark); }

/* ======== COMPANY INFO SECTION ======== */
.company-info {
  padding: 80px 0;
  background: var(--green-dark);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.company-info::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 60%;
  height: 200%;
  background: radial-gradient(circle, rgba(200, 168, 78, 0.06) 0%, transparent 60%);
  pointer-events: none;
}
.company-info-grid {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 60px;
  align-items: center;
}
.company-info-content h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
  color: var(--gold-light);
}
.company-info-content p {
  color: rgba(255,255,255,0.7);
  line-height: 2;
}
.company-table {
  display: grid;
  gap: 0;
}
.company-table-row {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 20px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.company-table-row dt {
  font-family: 'Cormorant Garamond', serif;
  letter-spacing: 0.2em;
  font-size: 0.82rem;
  color: var(--gold-light);
}
.company-table-row dd {
  color: rgba(255,255,255,0.78);
  font-size: 0.95rem;
}

/* ======== CONTACT FORM PAGE ======== */
.contact-form-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 80px;
  align-items: start;
}

.cf7-ready-form {
  display: grid;
  gap: 22px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  color: var(--text);
  font-weight: 500;
  margin-bottom: 8px;
}

.form-group .required {
  display: inline-block;
  background: var(--green);
  color: #fff;
  font-size: 0.62rem;
  padding: 2px 8px;
  border-radius: 2px;
  margin-left: 8px;
  letter-spacing: 0.08em;
  vertical-align: middle;
  font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(26, 92, 46, 0.12);
  background: rgba(255,255,255,0.85);
  border-radius: 4px;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text);
  transition: border-color .2s ease, box-shadow .2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(200, 168, 78, 0.10);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(26, 42, 30, 0.30);
}

.form-group textarea {
  resize: vertical;
  min-height: 160px;
}

.form-privacy {
  padding: 14px 0;
}

.form-submit {
  justify-self: start;
  padding: 18px 60px;
  cursor: pointer;
  font-family: inherit;
}

/* CF7 compatibility - WP移行後に適用 */
.wpcf7 .wpcf7-form-control-wrap {
  display: block;
}
.wpcf7 input,
.wpcf7 select,
.wpcf7 textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(26, 92, 46, 0.12);
  background: rgba(255,255,255,0.85);
  border-radius: 4px;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.wpcf7 input:focus,
.wpcf7 select:focus,
.wpcf7 textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(200, 168, 78, 0.10);
}
.wpcf7 .wpcf7-submit {
  display: inline-block;
  background: var(--green);
  color: #fff;
  border: 1px solid var(--green);
  padding: 18px 60px;
  letter-spacing: 0.2em;
  font-size: 0.8rem;
  border-radius: 2px;
  cursor: pointer;
  transition: background .3s ease;
}
.wpcf7 .wpcf7-submit:hover {
  background: var(--green-dark);
}
.wpcf7 .wpcf7-not-valid-tip {
  color: #c0392b;
  font-size: 0.82rem;
  margin-top: 6px;
}
.wpcf7 .wpcf7-response-output {
  padding: 16px 20px;
  border: 1px solid var(--gold);
  border-radius: 4px;
  margin-top: 20px;
  font-size: 0.92rem;
}

@media (max-width: 960px) {
  .contact-form-grid { grid-template-columns: 1fr; gap: 50px; }
}

/* ======== CONTACT CTA (Access) ======== */
.contact-cta {
  padding: 70px 0 60px;
  background: var(--bg-warm);
}
.contact-cta-head {
  text-align: center;
  margin-bottom: 40px;
}
.contact-cta-head h2 {
  font-size: 3.2rem;
  color: var(--green-dark);
}
.contact-cta-head p {
  max-width: 760px;
  margin: 14px auto 0;
}

.contact-cta-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact-dl {
  display: grid;
  gap: 0;
  border-top: 2px solid var(--gold);
  padding-top: 20px;
}
.contact-dl .row {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 14px;
  align-items: start;
  padding: 14px 0;
  border-bottom: 1px solid rgba(26, 92, 46, 0.06);
}
.contact-dl dt {
  font-family: 'Cormorant Garamond', serif;
  letter-spacing: 0.24em;
  font-size: 0.85rem;
  color: var(--green);
  font-weight: 600;
}
.contact-dl dd {
  color: rgba(26, 42, 30, 0.72);
  letter-spacing: 0.06em;
}
.contact-dl a {
  color: var(--green);
  text-decoration: none;
  border-bottom: 1px solid rgba(26, 92, 46, 0.18);
  padding-bottom: 2px;
  transition: border-color .2s ease;
}
.contact-dl a:hover { border-bottom-color: var(--gold); }

.contact-actions {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.map-frame {
  border: 1px solid rgba(26, 92, 46, 0.08);
  background: rgba(255,255,255,0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  overflow: hidden;
  border-radius: 4px;
  aspect-ratio: 16/10;
  box-shadow: var(--shadow-card);
}
.map-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* ======== FAQ ======== */
.faq-head {
  margin-bottom: 48px;
  text-align: center;
}
.faq-list {
  max-width: 820px;
  margin: 0 auto;
}
.faq-item {
  border-bottom: 1px solid rgba(26, 92, 46, 0.10);
}
.faq-item:first-child {
  border-top: 1px solid rgba(26, 92, 46, 0.10);
}
/* ※ FAQ の見出し・本文（旧 .faq-q / .faq-a）は、コアの「詳細」ブロックに合わせて
   assets/css/wp.css の `.faq-item > summary` 側で定義しています。 */

/* ======== MEGA FOOTER ======== */
.mega-footer {
  padding: 60px 0 40px;
  background: #1a1a1a;
  color: #fff;
}
.mf-top-row {
  display: flex;
  align-items: center;
  gap: 60px;
  margin-bottom: 40px;
}
.mf-brand-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}
.mf-brand-logo img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}
.mf-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  letter-spacing: 0.12em;
  font-weight: 600;
  line-height: 1.2;
  color: var(--gold-light);
}
.mf-links-horizontal {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}
.mf-links-horizontal a {
  text-decoration: none;
  color: rgba(255,255,255,0.65);
  letter-spacing: 0.08em;
  font-size: 0.90rem;
  transition: color .2s ease;
}
.mf-links-horizontal a:hover { color: var(--gold-light); }
.mf-info-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 20px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.45);
  font-size: 0.82rem;
  letter-spacing: 0.06em;
}
.mf-title {
  font-family: 'Cormorant Garamond', serif;
  letter-spacing: 0.24em;
  font-size: 0.80rem;
  color: var(--gold-light);
  margin-bottom: 18px;
  font-weight: 600;
}
.mf-bottom {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.mf-toplink {
  font-family: 'Cormorant Garamond', serif;
  letter-spacing: 0.24em;
  text-decoration: none;
  color: var(--gold-light);
  opacity: 0.7;
  font-size: 0.78rem;
  font-weight: 600;
  transition: opacity .2s ease;
}
.mf-toplink:hover { opacity: 1; }

.mf-copy {
  font-size: 0.68rem;
  letter-spacing: 0.20em;
  color: rgba(255,255,255,0.30);
}

/* ======== FIXED CTA ======== */
.fixed-cta {
  position: fixed;
  right: 18px;
  bottom: max(18px, env(safe-area-inset-bottom));
  display: grid;
  gap: 10px;
  z-index: 10000;
}
.fixed-cta__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 120px;
  height: 54px;
  padding: 0 20px;
  border: 1px solid rgba(26, 92, 46, 0.14);
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: 999px;
  text-decoration: none;
  color: var(--green);
  box-shadow: 0 12px 40px rgba(26, 92, 46, 0.10);
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}
.fixed-cta__btn:hover {
  transform: translateY(-2px);
  background: #fff;
  box-shadow: 0 16px 50px rgba(26, 92, 46, 0.14);
}
.fixed-cta__icon {
  font-size: 1.05rem;
  line-height: 1;
  opacity: 0.85;
}
.fixed-cta__text {
  font-family: 'Cormorant Garamond', serif;
  letter-spacing: 0.22em;
  font-size: 0.85rem;
  line-height: 1;
  font-weight: 600;
}

/* ======== SUBPAGES ======== */
.page-hero {
  min-height: 40vh;
  display: grid;
  place-items: center;
  text-align: center;
  position: relative;
  padding-top: 160px;
  padding-bottom: 40px;
  background: linear-gradient(180deg, rgba(26, 92, 46, 0.03) 0%, transparent 100%);
}
.page-hero .wrap { max-width: 920px; padding: 0 40px; }
.page-hero h1 {
  font-size: 4rem;
  margin-bottom: 16px;
  color: var(--green-dark);
}
.page-hero p { color: var(--muted); letter-spacing: 0.08em; }

.section-title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 40px;
}
.section-title h2 { font-size: 2.2rem; color: var(--green-dark); }

/* ======== RESPONSIVE ======== */
@media (max-width: 960px) {
  .service-cards { grid-template-columns: 1fr; gap: 30px; }
  .split-layout { display: block; overflow: hidden; }
  .split-text { padding-top: 0; margin-bottom: 46px; }
  .page-hero h1 { font-size: 3.0rem; }
  .company-info-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .header-tagline { display: none; }
  header { padding: 16px 18px; }
  header.is-scrolled { padding: 12px 18px; }
  nav ul { gap: 16px; justify-content: center; }
  nav a { font-size: 0.68rem; }
  section { padding: 40px 0; }
  .container, .page-hero .wrap { padding-left: 24px !important; padding-right: 24px !important; }
  .hero-video-wrap { width: 94%; height: 58%; }
  .hero-title h1 { font-size: 11vw; }
  .contact-cta { padding: 50px 0 40px; }
  .contact-cta-head h2 { font-size: 2.6rem; }
  .contact-cta-grid { grid-template-columns: 1fr; gap: 34px; }
  .contact-dl .row { grid-template-columns: 90px 1fr; }
  .logo-text-en { font-size: 0.95rem; }
  .logo-text-ja { font-size: 0.58rem; }
  .logo-img { width: 36px; height: 36px; }
  .services-head h2 { font-size: 2.4rem; }
}

@media (max-width: 768px) {
  body { padding-bottom: 82px; }

  .fixed-cta {
    left: 14px;
    right: 14px;
    bottom: max(14px, env(safe-area-inset-bottom));
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .fixed-cta__btn {
    width: 100%;
    min-width: 0;
    border-radius: 14px;
    height: 54px;
  }
}

@media (max-width: 560px) {
  .mf-bottom { flex-direction: column; align-items: flex-start; }
  .faq-list { padding: 0 20px; }
}

@media (prefers-reduced-motion: reduce) {
  .fixed-cta__btn { transition: none; }
}

/* ======== HAMBURGER MENU ======== */
header .logo {
  color: var(--text);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.menu-trigger {
  display: none;
}

.nav-overlay {
  display: none;
}

@media (max-width: 1023px) {
  header { padding: 18px 20px; }
  header.is-scrolled { padding: 12px 20px; }

  .menu-trigger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    transition: transform .2s ease;
  }
  .menu-trigger:hover { transform: translateY(-1px); }
  .menu-trigger span {
    display: block;
    width: 18px;
    height: 1px;
    background: var(--green);
    border-radius: 2px;
    transition: transform .25s ease, opacity .25s ease;
  }
  .menu-trigger span + span { margin-top: 6px; }

  header.nav-open .menu-trigger span:first-child {
    transform: translateY(3.5px) rotate(45deg);
  }
  header.nav-open .menu-trigger span:last-child {
    transform: translateY(-3.5px) rotate(-45deg);
  }

  .main-nav {
    position: fixed;
    top: var(--header-h, 72px);
    right: 0;
    width: min(360px, 86vw);
    height: calc(100dvh - var(--header-h, 72px));
    padding: 22px 22px calc(22px + env(safe-area-inset-bottom));
    background: rgba(250, 250, 247, 0.96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-left: 1px solid rgba(26, 92, 46, 0.06);
    transform: translateX(105%);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: transform .25s ease, opacity .25s ease, visibility .25s ease;
    z-index: 1002;
  }

  header.nav-open .main-nav {
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .main-nav ul {
    display: grid;
    gap: 14px;
    justify-content: start;
  }
  .main-nav a {
    height: auto;
    padding: 12px 6px;
    font-size: 0.95rem;
    letter-spacing: 0.16em;
    opacity: 0.95;
  }
  .main-nav a::after { display: none; }

  .nav-overlay {
    display: block;
    position: fixed;
    top: var(--header-h, 72px);
    left: 0;
    width: 100%;
    height: calc(100dvh - var(--header-h, 72px));
    background: rgba(14, 61, 28, 0.18);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .25s ease, visibility .25s ease;
    z-index: 1001;
  }

  header.nav-open .nav-overlay {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  body.is-locked { overflow: hidden; }
  body.is-locked .fixed-cta { opacity: 0; pointer-events: none; }
}

@media (prefers-reduced-motion: reduce) {
  .main-nav, .nav-overlay, .menu-trigger, header { transition: none !important; }
}

/* ========================================================================
   元HTMLの <head> 内インライン <style> を移植（余白調整の上書き）
   ※ 元ファイルでは全ページ共通で読み込まれていたもの
   ======================================================================== */
section { padding: 70px 0 !important; }
.contact-cta { padding: 70px 0 60px !important; }
.mega-footer { padding: 70px 0 40px !important; }
.page-hero { min-height: 40vh !important; padding-top: 160px !important; padding-bottom: 40px !important; }
.split-text { padding-top: 40px !important; }
.services-head { margin-bottom: 50px !important; }
.contact-cta-head { margin-bottom: 40px !important; }
.company-info { padding: 80px 0 !important; }

@media (max-width: 768px) {
  section { padding: 40px 0 !important; }
  .contact-cta { padding: 50px 0 40px !important; }
}
