@charset "UTF-8";
/*!
Theme Name: 株式会社かわでん
Description: 株式会社かわでん（KAWADEN）コーポレートサイト｜岐阜・愛知の電気工事
Author: KAWADEN
Version: 1.0.0
*/
/* ============================================================
   株式会社かわでん｜style.scss（マスター）
   - デザイントークン / リセット / mixin / 共通コンポーネント
   - ローダー / ページヒーロー(phero) / totop
   - 末尾で各パーシャルを @import
   ============================================================ */
/* ---------- breakpoints ---------- */
/* ---------- design tokens (SCSS) ---------- */
/* ---------- mixins ---------- */
/* ---------- レスポンシブ改行ユーティリティ（br_sp=スマホのみ改行 / br_pc=スマホ以外で改行） ---------- */
.br_sp {
  display: none;
}

.br_pc {
  display: inline;
}

@media screen and (max-width: 768px) {
  .br_sp {
    display: inline;
  }
  .br_pc {
    display: none;
  }
}
/* ---------- CSS custom properties ---------- */
:root {
  --green:#3E7B4E;
  --green-deep:#2C5A39;
  --green-darkest:#16301F;
  --green-mid:#6FA37F;
  --green-100:#DCEAE0;
  --green-50:#EDF4EE;
  --blue:#2C6E9C;
  --blue-deep:#1F5274;
  --blue-50:#EAF2F8;
  --ink:#222A25;
  --muted:#5C6760;
  --line:#E3EAE4;
  --bg:#FFFFFF;
  --bg-soft:#F4F8F5;
  --cream:#FAF6EE;
  --radius:18px;
  --radius-sm:12px;
  --maxw:1180px;
  --pad:clamp(20px,5vw,40px);
  --sy:clamp(68px,9vw,128px);
  --ease:cubic-bezier(.22,1,.36,1);
  /* --emblem は header.php で base_type の logo_emblem から出力（未設定時は透明1pxで不可視） */
  --emblem:url("data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7");
}

/* ---------- reset / base ---------- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Zen Kaku Gothic New", -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.95;
  font-weight: 400;
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  display: block;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--pad);
}

/* ---------- shared bits ---------- */
.eyebrow {
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-size: clamp(1.05rem, 2.2vw, 1.35rem);
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--green);
  display: inline-flex;
  align-items: center;
  gap: 0.7em;
  line-height: 1;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: currentColor;
  display: inline-block;
  opacity: 0.7;
}

.eyebrow .dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--blue);
  margin-left: -0.35em;
}

.eyebrow--light {
  color: #cfe4d6;
}

.eyebrow--center {
  justify-content: center;
}

.sec-head {
  margin-bottom: clamp(36px, 5vw, 60px);
}

.sec-head--center {
  text-align: center;
}

.sec-title {
  font-size: clamp(1.55rem, 3.7vw, 2.45rem);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.01em;
  margin-top: 0.5em;
  color: var(--ink);
}

.sec-title .accent {
  color: var(--green);
}

.lead {
  color: var(--muted);
  font-size: clamp(0.95rem, 1.6vw, 1.02rem);
  line-height: 2.05;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.65em;
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  padding: 0.95em 1.9em;
  border-radius: 999px;
  cursor: pointer;
  transition: 0.3s var(--ease);
  border: 1.5px solid transparent;
  white-space: nowrap;
}

.btn svg {
  width: 1.05em;
  height: 1.05em;
  flex: none;
}

.btn .arr {
  transition: transform 0.3s var(--ease);
}

.btn:hover .arr {
  transform: translateX(4px);
}

.btn--primary {
  background: var(--green);
  color: #fff;
  box-shadow: 0 10px 24px -12px rgba(40, 90, 57, 0.7);
}

.btn--primary:hover {
  background: var(--green-deep);
  box-shadow: 0 14px 30px -12px rgba(40, 90, 57, 0.85);
  transform: translateY(-2px);
}

.btn--blue {
  background: var(--blue);
  color: #fff;
}

.btn--blue:hover {
  background: var(--blue-deep);
  transform: translateY(-2px);
}

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

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

.btn--light {
  background: #fff;
  color: var(--green);
}

.btn--light:hover {
  background: var(--green-50);
  transform: translateY(-2px);
}

.btn--ghost-light {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(4px);
}

.btn--ghost-light:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: #fff;
}

.btn--sm {
  padding: 0.7em 1.3em;
  font-size: 0.86rem;
}

/* ---------- placeholder (御社写真用ダミー) ---------- */
.ph {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: radial-gradient(120% 120% at 80% 10%, rgba(44, 110, 156, 0.1), transparent 55%), linear-gradient(150deg, var(--green-50), #f0f6f1 55%, var(--blue-50));
  display: grid;
  place-items: center;
  isolation: isolate;
}

.ph::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.5;
  background-image: linear-gradient(rgba(62, 123, 78, 0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(62, 123, 78, 0.06) 1px, transparent 1px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(120% 100% at 50% 0, #000, transparent 80%);
  mask-image: radial-gradient(120% 100% at 50% 0, #000, transparent 80%);
}

.ph__tag {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: var(--green-deep);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(62, 123, 78, 0.18);
  padding: 0.5em 1em;
  border-radius: 999px;
  backdrop-filter: blur(3px);
  font-weight: 500;
  text-align: left;
}

.ph__tag svg {
  width: 1.05em;
  height: 1.05em;
  opacity: 0.8;
  flex: none;
}

/* ---------- reveal ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

[data-reveal].in {
  opacity: 1;
  transform: none;
}

[data-reveal][data-delay="1"] {
  transition-delay: 0.08s;
}

[data-reveal][data-delay="2"] {
  transition-delay: 0.16s;
}

[data-reveal][data-delay="3"] {
  transition-delay: 0.24s;
}

/* ---------- page hero (下層共通) ---------- */
.phero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(115deg, #1d3c28 0%, #2c5a39 48%, #34624a 100%);
}

.phero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.14;
  background-image: linear-gradient(rgba(255, 255, 255, 0.5) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.5) 1px, transparent 1px);
  background-size: 40px 40px;
  -webkit-mask-image: radial-gradient(120% 120% at 75% 20%, #000, transparent 78%);
  mask-image: radial-gradient(120% 120% at 75% 20%, #000, transparent 78%);
}

.phero.has-bg::before {
  display: none;
}

.phero.has-bg .emblem {
  opacity: 0.16;
}

.phero .emblem {
  position: absolute;
  right: -4vw;
  bottom: -9vw;
  width: min(40vw, 420px);
  aspect-ratio: 1;
  opacity: 0.12;
  background: center/contain no-repeat var(--emblem);
}

.phero__inner {
  position: relative;
  z-index: 2;
  padding-block: clamp(120px, 16vw, 180px) clamp(46px, 6vw, 72px);
}

.phero__en {
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #cfe4d6;
  line-height: 1;
}

.phero__ttl {
  font-size: clamp(1.5rem, 3.4vw, 2.2rem);
  font-weight: 700;
  margin-top: 0.25em;
  letter-spacing: 0.04em;
}

.phero__crumb {
  position: absolute;
  left: var(--pad);
  bottom: 16px;
  z-index: 2;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.7);
  display: flex;
  gap: 0.6em;
  align-items: center;
}

.phero__crumb a:hover {
  color: #fff;
}

/* ---------- centered page intro ---------- */
.page-lead {
  padding-block: var(--sy) clamp(18px, 3vw, 38px);
}

.page-lead .container {
  max-width: 840px;
  text-align: center;
}

.page-lead .lead {
  margin-top: 1.2em;
}

.note-soft {
  display: block;
  text-align: center;
  font-size: 0.8rem;
  color: var(--muted);
  letter-spacing: 0.02em;
  margin-top: 2em;
}

/* ---------- totop ---------- */
.totop {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 50;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  display: grid;
  place-items: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: 0.35s var(--ease);
  box-shadow: 0 12px 26px -12px rgba(40, 90, 57, 0.9);
  border: none;
  cursor: pointer;
}

.totop.show {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.totop svg {
  width: 1.2em;
  height: 1.2em;
}

/* ============ LOADER（電気＝灯りが灯る演出） ============ */
body.loading {
  overflow: hidden;
}

#loader {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: radial-gradient(circle at 50% 42%, #2c5a39, #16301f 75%);
  display: grid;
  place-items: center;
  transition: opacity 0.7s var(--ease), visibility 0.7s;
}

#loader.done {
  opacity: 0;
  visibility: hidden;
}

.loader__in {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.loader__mark {
  width: 90px;
  height: 90px;
  background-color: #fff;
  -webkit-mask-image: var(--emblem);
  mask-image: var(--emblem);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
  opacity: 0;
  transform: scale(0.78);
  animation: ldMark 0.9s var(--ease) 0.1s forwards, ldGlow 1.7s ease-in-out 0.9s infinite;
}

@keyframes ldMark {
  to {
    opacity: 1;
    transform: scale(1);
  }
}
@keyframes ldGlow {
  0%, 100% {
    filter: drop-shadow(0 0 0 rgba(255, 255, 255, 0));
  }
  50% {
    filter: drop-shadow(0 0 18px rgba(220, 240, 228, 0.9));
  }
}
.loader__name {
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  letter-spacing: 0.32em;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.95rem;
  padding-left: 0.32em;
  opacity: 0;
  animation: ldFade 0.8s ease 0.5s forwards;
}

.loader__bar {
  width: 150px;
  height: 2px;
  background: rgba(255, 255, 255, 0.16);
  border-radius: 2px;
  overflow: hidden;
  opacity: 0;
  animation: ldFade 0.6s ease 0.35s forwards;
}

.loader__bar i {
  display: block;
  height: 100%;
  width: 42%;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, #cfebd6, #fff);
  animation: ldRun 1.1s var(--ease) infinite;
}

@keyframes ldFade {
  to {
    opacity: 1;
  }
}
@keyframes ldRun {
  0% {
    transform: translateX(-130%);
  }
  100% {
    transform: translateX(380%);
  }
}
/* ---------- reduced-motion ---------- */
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    scroll-behavior: auto !important;
  }
  [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .loader__mark {
    animation: ldMark 0.01s forwards !important;
  }
  .loader__bar i {
    animation: none;
    width: 100%;
  }
}
/* ============ partials ============ */
/* ============ header ============ */
/* スクロールロック（メニュー／ライトボックス共通・クラス方式） */
body.menu-open, body.lb-open {
  overflow: hidden;
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 60;
  transition: 0.35s var(--ease);
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 84px;
  transition: height 0.35s var(--ease);
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--line), 0 12px 30px -22px rgba(20, 48, 31, 0.4);
}

.site-header.scrolled .site-header__inner {
  height: 68px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-right: auto;
  transition: 0.35s var(--ease);
}

.brand__mark {
  height: 55px;
  width: auto;
  max-width: 260px;
  object-fit: contain;
  transition: 0.35s var(--ease);
}

.site-header.scrolled .brand__mark {
  height: 46px;
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.12;
}

.brand__name {
  font-weight: 700;
  font-size: 1.14rem;
  color: var(--green-deep);
  letter-spacing: 0.04em;
}

.brand__en {
  font-family: "Cormorant Garamond", serif;
  font-size: 0.72rem;
  letter-spacing: 0.34em;
  color: var(--green);
  font-weight: 600;
}

.site-header:not(.scrolled).is-overlay .brand__name {
  color: #fff;
}

.site-header:not(.scrolled).is-overlay .brand__en {
  color: #d8ebde;
}

.nav > ul {
  display: flex;
  align-items: center;
  gap: clamp(14px, 1.8vw, 30px);
}

.nav > ul a {
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  position: relative;
  padding: 0.4em 0;
  color: var(--ink);
  transition: color 0.3s;
}

.site-header.is-overlay:not(.scrolled) .nav > ul a {
  color: #fff;
}

.nav > ul a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 1.5px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s var(--ease);
}

.nav > ul a:hover {
  color: var(--green);
}

.site-header.is-overlay:not(.scrolled) .nav > ul a:hover {
  color: var(--green-mid);
}

.nav > ul a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav > ul a.current::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav > ul a.current {
  color: var(--green);
}

.site-header.is-overlay:not(.scrolled) .nav > ul a.current {
  color: #fff;
}

.nav__cta {
  display: none;
}

.nav__cta svg {
  width: 1em;
  height: 1em;
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 14px;
}

.header-tel {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-weight: 700;
  font-size: 1.04rem;
  letter-spacing: 0.02em;
  color: var(--green-deep);
}

.site-header.is-overlay:not(.scrolled) .header-tel {
  color: #fff;
}

.header-tel svg {
  width: 1em;
  height: 1em;
}

.header-tel small {
  display: block;
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  opacity: 0.85;
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: none;
  background: transparent;
  cursor: pointer;
  position: relative;
  z-index: 80;
}

.nav-toggle span {
  position: absolute;
  left: 11px;
  width: 24px;
  height: 2px;
  background: var(--green-deep);
  border-radius: 2px;
  transition: 0.3s var(--ease);
}

.site-header.is-overlay:not(.scrolled) .nav-toggle span {
  background: #fff;
}

.menu-open .nav-toggle span,
.menu-open .site-header.is-overlay .nav-toggle span {
  background: var(--green-deep);
}

.nav-toggle span:nth-child(1) {
  top: 17px;
}

.nav-toggle span:nth-child(2) {
  top: 23px;
}

.nav-toggle span:nth-child(3) {
  top: 29px;
}

.menu-open .nav-toggle span:nth-child(1) {
  top: 23px;
  transform: rotate(45deg);
}

.menu-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

.menu-open .nav-toggle span:nth-child(3) {
  top: 23px;
  transform: rotate(-45deg);
}

/* ハンバーガー切替（880px） */
@media (max-width: 880px) {
  .site-header__inner {
    height: 74px;
  }
  .site-header.scrolled .site-header__inner {
    height: 64px;
  }
  .brand__mark {
    height: 48px;
  }
  .site-header.scrolled .brand__mark {
    height: 44px;
  }
  .nav, .header-cta {
    display: none;
  }
  .nav-toggle {
    display: block;
  }
  .nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: auto;
    height: 100vh;
    height: 100dvh;
    width: min(82vw, 360px);
    background: #fff;
    z-index: 70;
    flex-direction: column;
    justify-content: flex-start;
    padding: 104px 40px 48px;
    transform: translateX(100%);
    transition: transform 0.45s var(--ease);
    box-shadow: -30px 0 60px -30px rgba(20, 48, 31, 0.4);
    display: flex;
    overflow-y: auto;
  }
  .menu-open .nav {
    transform: translateX(0);
  }
  .nav > ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    width: 100%;
  }
  .nav > ul li {
    width: 100%;
    border-bottom: 1px solid var(--line);
  }
  .nav > ul a {
    display: block;
    color: var(--ink) !important;
    padding: 0.95em 0;
    font-size: 1.02rem;
    width: 100%;
  }
  .nav > ul a::after {
    display: none;
  }
  .nav .nav__cta {
    margin-top: 26px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
  }
  .nav .nav__cta .btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 0.5em;
    width: 100%;
    color: #fff !important;
    padding: 0.95em 1.9em;
  }
  .nav .nav__cta .btn::after {
    display: none;
  }
  .nav .nav__cta .nav__tel {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5em;
    font-weight: 700;
    color: var(--green-deep);
    font-size: 1.2rem;
    padding: 0.6em;
    border: 1.5px solid var(--green-100);
    border-radius: 999px;
  }
  .nav .nav__cta svg {
    width: 1.2em;
    height: 1.2em;
    flex: none;
  }
  .nav-scrim {
    position: fixed;
    inset: 0;
    background: rgba(13, 30, 20, 0.45);
    z-index: 50;
    opacity: 0;
    visibility: hidden;
    transition: 0.4s;
  }
  .menu-open .nav-scrim {
    opacity: 1;
    visibility: visible;
  }
}
@media (max-width: 560px) {
  .site-header__inner {
    height: 64px;
  }
  .site-header.scrolled .site-header__inner {
    height: 58px;
  }
  .brand__mark {
    height: 44px;
  }
  .site-header.scrolled .brand__mark {
    height: 40px;
  }
}
/* ============ hero (home) ============ */
.hero {
  position: relative;
  min-height: min(94vh, 820px);
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__slides {
  position: absolute;
  inset: 0;
}

.hero__slide {
  position: absolute;
  inset: 0;
  background: center/cover no-repeat;
  opacity: 0;
  transform: scale(1.08);
  transition: opacity 1.6s var(--ease), transform 7s linear;
}

.hero__slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.hero__media .photo {
  position: absolute;
  inset: 0;
  background: radial-gradient(90% 70% at 75% 30%, rgba(111, 163, 127, 0.35), transparent 60%), linear-gradient(115deg, #1d3c28 0%, #2c5a39 45%, #34624a 100%);
  background-size: cover;
  background-position: center;
}

.hero__media .photo::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.16;
  background-image: linear-gradient(rgba(255, 255, 255, 0.5) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.5) 1px, transparent 1px);
  background-size: 40px 40px;
  -webkit-mask-image: radial-gradient(120% 120% at 70% 30%, #000, transparent 75%);
  mask-image: radial-gradient(120% 120% at 70% 30%, #000, transparent 75%);
}

.hero__media .photo.has-img::before {
  display: none;
}

.hero__media .emblem {
  position: absolute;
  right: -7vw;
  bottom: -9vw;
  width: min(58vw, 640px);
  aspect-ratio: 1;
  opacity: 0.08;
  background: center/contain no-repeat var(--emblem);
}

.hero__media .scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(13, 30, 20, 0.72) 0%, rgba(13, 30, 20, 0.45) 42%, rgba(13, 30, 20, 0.15) 75%);
}

.hero__tag {
  position: absolute;
  left: var(--pad);
  bottom: 18px;
  z-index: 3;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.82);
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.28);
  padding: 0.45em 0.9em;
  border-radius: 999px;
  display: inline-flex;
  gap: 0.5em;
  align-items: center;
  backdrop-filter: blur(3px);
}

.hero__tag svg {
  width: 1em;
  height: 1em;
  flex: none;
}

.hero__inner {
  position: relative;
  z-index: 2;
  padding-block: 120px 90px;
}

.hero__title {
  font-size: clamp(2.2rem, 5.6vw, 4.1rem);
  font-weight: 700;
  line-height: 1.34;
  letter-spacing: 0.015em;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.3);
}

.hero__lead {
  margin-top: 1.25em;
  font-size: clamp(1rem, 1.9vw, 1.18rem);
  line-height: 1.95;
  max-width: 34em;
  color: rgba(255, 255, 255, 0.94);
  font-weight: 400;
  text-shadow: 0 1px 16px rgba(0, 0, 0, 0.3);
}

.hero__cta {
  margin-top: 2.4em;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 24px;
  z-index: 3;
  transform: translateX(-50%);
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.82);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.hero__scroll i {
  width: 1px;
  height: 46px;
  background: linear-gradient(rgba(255, 255, 255, 0.7), transparent);
  position: relative;
  overflow: hidden;
}

.hero__scroll i::after {
  content: "";
  position: absolute;
  top: -46px;
  left: 0;
  width: 1px;
  height: 46px;
  background: #fff;
  animation: scrolldot 2.4s var(--ease) infinite;
}

@keyframes scrolldot {
  0% {
    top: -46px;
  }
  60%, 100% {
    top: 46px;
  }
}
/* ============ intro / about ============ */
.intro {
  padding-block: var(--sy);
}

.intro__grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(36px, 6vw, 84px);
  align-items: center;
}

.intro__body p + p {
  margin-top: 1.3em;
}

.intro__visual {
  position: relative;
}

.intro__visual img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: 0 34px 64px -36px rgba(20, 48, 31, 0.5);
}

.intro__visual .ph {
  aspect-ratio: 4/3;
}

.intro__badge {
  position: absolute;
  left: -22px;
  bottom: -22px;
  background: #fff;
  border-radius: var(--radius-sm);
  padding: 16px 22px;
  box-shadow: 0 24px 50px -26px rgba(20, 48, 31, 0.5);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 14px;
}

.intro__badge .ic {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--green-50);
  color: var(--green);
  display: grid;
  place-items: center;
  flex: none;
}

.intro__badge .ic svg {
  width: 24px;
  height: 24px;
}

.intro__badge .lbl {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.5;
}

.intro__badge .lbl b {
  display: block;
  color: var(--ink);
  font-size: 0.94rem;
  font-weight: 700;
}

/* ============ setsubi ============ */
.setsubi {
  position: relative;
  padding-block: clamp(82px, 11vw, 150px);
  background: radial-gradient(85% 75% at 82% 18%, rgba(111, 163, 127, 0.32), transparent 60%), linear-gradient(115deg, #1d3c28 0%, #2c5a39 48%, #34624a 100%);
  isolation: isolate;
  overflow: hidden;
}

.setsubi.has-bg {
  background: linear-gradient(rgba(13, 30, 20, 0.66), rgba(13, 30, 20, 0.66));
}

.setsubi::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.14;
  background-image: linear-gradient(rgba(255, 255, 255, 0.5) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.5) 1px, transparent 1px);
  background-size: 42px 42px;
  -webkit-mask-image: radial-gradient(120% 120% at 75% 25%, #000, transparent 78%);
  mask-image: radial-gradient(120% 120% at 75% 25%, #000, transparent 78%);
}

.setsubi.has-bg::before {
  display: none;
}

.setsubi__card {
  max-width: 660px;
  background: #fff;
  border-radius: var(--radius);
  padding: clamp(34px, 4.5vw, 56px);
  position: relative;
  box-shadow: 0 44px 84px -44px rgba(0, 0, 0, 0.55);
}

.setsubi__card::before {
  content: "";
  position: absolute;
  left: 0;
  top: clamp(34px, 4.5vw, 56px);
  bottom: clamp(34px, 4.5vw, 56px);
  width: 5px;
  background: var(--green);
  border-radius: 3px;
}

.setsubi__ttl {
  font-weight: 700;
  font-size: clamp(1.4rem, 3vw, 2rem);
  line-height: 1.55;
  margin: 0.35em 0 0.8em;
  letter-spacing: 0.01em;
}

.setsubi__txt {
  color: #43484c;
  font-size: clamp(0.92rem, 1.5vw, 1rem);
  line-height: 2.1;
}

/* ============ banners (Service / Works / Company) ============ */
.banners {
  padding-block: var(--sy) 0;
}

.bcard {
  display: flex;
  align-items: stretch;
  min-height: clamp(300px, 36vw, 420px);
}

.bcard--rev {
  flex-direction: row-reverse;
}

.bcard__img {
  flex: 1.45;
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: radial-gradient(120% 120% at 80% 12%, rgba(44, 110, 156, 0.1), transparent 55%), linear-gradient(150deg, var(--green-50), #eef5f0 55%, var(--blue-50));
  background-size: cover;
  background-position: center;
}

.bcard__img::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.5;
  background-image: linear-gradient(rgba(62, 123, 78, 0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(62, 123, 78, 0.06) 1px, transparent 1px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(120% 100% at 50% 0, #000, transparent 80%);
  mask-image: radial-gradient(120% 100% at 50% 0, #000, transparent 80%);
}

.bcard__img.has-img::before {
  display: none;
}

.bcard__body {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(36px, 5vw, 72px);
  background: var(--bg-soft);
  overflow: hidden;
}

.bcard:nth-child(odd) .bcard__body {
  background: #fff;
  border-block: 1px solid var(--line);
}

.bcard__no {
  position: absolute;
  top: clamp(18px, 3vw, 34px);
  right: clamp(22px, 3.4vw, 42px);
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-weight: 600;
  font-size: clamp(4.5rem, 9vw, 7.5rem);
  line-height: 0.8;
  color: var(--green);
  opacity: 0.07;
  pointer-events: none;
  user-select: none;
}

.bcard__en {
  display: inline-flex;
  align-items: center;
  gap: 0.7em;
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-weight: 600;
  color: var(--green);
  font-size: clamp(1.5rem, 3vw, 2rem);
  line-height: 1;
  letter-spacing: 0.03em;
}

.bcard__en i {
  width: clamp(26px, 3vw, 40px);
  height: 1px;
  background: var(--green);
  opacity: 0.55;
  flex: none;
}

.bcard__jp {
  font-weight: 700;
  font-size: clamp(1.4rem, 2.8vw, 1.85rem);
  letter-spacing: 0.05em;
  margin: 0.5em 0 0.55em;
  color: var(--ink);
  line-height: 1.45;
}

.bcard__lead {
  color: var(--muted);
  font-size: clamp(0.86rem, 1.5vw, 0.96rem);
  line-height: 1.9;
  max-width: 24em;
  margin-bottom: 1.7em;
}

.bcard__more {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  color: var(--green-deep);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  padding-bottom: 0.35em;
  border-bottom: 1px solid rgba(62, 123, 78, 0.3);
  transition: 0.3s var(--ease);
}

.bcard__more svg {
  width: 1.05em;
  height: 1.05em;
  transition: transform 0.3s var(--ease);
  flex: none;
}

.bcard:hover .bcard__more {
  color: var(--green);
  border-bottom-color: var(--green);
}

.bcard:hover .bcard__more svg {
  transform: translateX(5px);
}

@media (max-width: 1024px) {
  .intro__grid {
    grid-template-columns: 1fr;
    gap: 46px;
  }
  .intro__visual {
    order: -1;
  }
}
@media (max-width: 768px) {
  .bcard, .bcard--rev {
    flex-direction: column;
  }
  .bcard__img {
    min-height: 230px;
    flex: none;
  }
  .bcard__body {
    flex: none;
    padding: 34px 26px 42px;
  }
  .hero__inner {
    padding-block: 130px 104px;
  }
  .intro__badge {
    left: 50%;
    transform: translateX(-50%);
    bottom: -26px;
    white-space: nowrap;
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero__media .photo {
    animation: none !important;
    transform: none !important;
  }
  .hero__slide {
    transition: none !important;
    transform: none !important;
  }
  .hero__scroll i::after {
    display: none;
  }
}
/* ============ service rows ============ */
.svc {
  padding-block: var(--sy);
}

.svcrow {
  display: grid;
  grid-template-columns: 1fr 1.04fr;
  gap: clamp(34px, 5.5vw, 76px);
  align-items: center;
}

.svcrow + .svcrow {
  margin-top: clamp(54px, 8vw, 104px);
}

.svcrow--rev .svcrow__media {
  order: 2;
}

.svcrow__media {
  position: relative;
}

.svcrow__media img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: 0 32px 62px -38px rgba(20, 48, 31, 0.55);
}

.svcrow__media .ph {
  aspect-ratio: 4/3;
}

.svcrow__no {
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--green);
  letter-spacing: 0.04em;
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
}

.svcrow__no::before {
  content: "";
  width: 30px;
  height: 1px;
  background: currentColor;
  opacity: 0.7;
}

.svcrow h3 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.01em;
  margin: 0.4em 0 0.7em;
}

.svcrow__txt {
  color: var(--muted);
  font-size: clamp(0.93rem, 1.5vw, 1rem);
  line-height: 2.05;
}

.svcrow__txt p + p {
  margin-top: 1em;
}

/* ============ community (どっぐらん) ============ */
.community {
  position: relative;
  overflow: hidden;
  background: #FAF6EE;
  padding-block: var(--sy);
}

.community::before {
  content: "";
  position: absolute;
  right: -6%;
  top: -14%;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(62, 123, 78, 0.08), transparent 70%);
}

.community::after {
  content: "";
  position: absolute;
  left: -7%;
  bottom: -16%;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(214, 170, 90, 0.1), transparent 70%);
}

.community__paws {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.community__paws .pw {
  position: absolute;
  line-height: 0;
  color: var(--green);
}

.community__paws .pw svg {
  width: 100%;
  height: 100%;
  display: block;
}

.pw--1 {
  width: 120px;
  height: 120px;
  right: 3.5%;
  bottom: 7%;
  opacity: 0.1;
  transform: rotate(20deg);
}

.pw--2 {
  width: 68px;
  height: 68px;
  right: 13%;
  bottom: 25%;
  opacity: 0.07;
  transform: rotate(4deg);
}

.pw--3 {
  width: 56px;
  height: 56px;
  left: 4.5%;
  top: 13%;
  opacity: 0.13;
  color: #D6AA5A;
  transform: rotate(-22deg);
}

.pw--4 {
  width: 40px;
  height: 40px;
  left: 11%;
  top: 30%;
  opacity: 0.1;
  color: #D6AA5A;
  transform: rotate(-6deg);
}

.pw--5 {
  width: 62px;
  height: 62px;
  left: 45%;
  bottom: -2%;
  opacity: 0.06;
  transform: rotate(32deg);
}

.community__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1.02fr;
  gap: clamp(34px, 5vw, 80px);
  align-items: center;
  max-width: 1040px;
  margin-inline: auto;
}

.community__label {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: var(--green-deep);
  background: #fff;
  border: 1px solid var(--green-100);
  padding: 0.5em 1.05em;
  border-radius: 999px;
  font-weight: 500;
}

.community__label svg {
  width: 1.1em;
  height: 1.1em;
}

.community__body h2 {
  font-size: clamp(1.5rem, 3.3vw, 2.15rem);
  font-weight: 700;
  line-height: 1.55;
  margin: 0.85em 0 0;
  letter-spacing: 0.01em;
}

.community__body p {
  color: #6f6657;
  margin-top: 1.1em;
  line-height: 2.05;
  font-size: 0.95rem;
}

.community__body p + p {
  margin-top: 0.9em;
}

.community__note {
  display: block;
  margin-top: 1.7em;
  font-size: 0.8rem;
  color: #a99c86;
  letter-spacing: 0.02em;
  line-height: 1.7;
}

.snaps {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 18px 10px 26px;
}

.snap {
  background: #fff;
  padding: 11px 11px 40px;
  border-radius: 6px;
  box-shadow: 0 24px 46px -22px rgba(60, 48, 24, 0.45);
  position: relative;
  width: min(54%, 248px);
}

.snap img {
  border-radius: 3px;
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  display: block;
}

.snap figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 13px;
  text-align: center;
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-size: 1rem;
  color: #7a6e58;
  letter-spacing: 0.03em;
}

.snap:nth-child(1) {
  rotate: -5deg;
  z-index: 1;
}

.snap:nth-child(2) {
  rotate: 4deg;
  margin-left: -32px;
  margin-top: 38px;
  z-index: 2;
}

@media (max-width: 1024px) {
  .svcrow {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .svcrow--rev .svcrow__media {
    order: -1;
  }
  .svcrow__media {
    max-width: 560px;
  }
  .community__inner {
    grid-template-columns: 1fr;
    gap: 26px;
    max-width: 540px;
  }
  .snaps {
    order: -1;
    justify-content: flex-start;
    padding-left: 24px;
  }
}
/* ============ works gallery + lightbox ============ */
.works-sec {
  padding-block: clamp(20px, 3vw, 40px) var(--sy);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(12px, 1.6vw, 20px);
}

.gitem {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-sm);
  aspect-ratio: 4/3;
  cursor: pointer;
  background: var(--green-50);
  border: none;
  padding: 0;
  width: 100%;
}

.gitem img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s var(--ease);
}

.gitem:hover img {
  transform: scale(1.07);
}

.gitem::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 52%, rgba(22, 48, 31, 0.55));
  opacity: 0;
  transition: opacity 0.4s;
}

.gitem:hover::after {
  opacity: 1;
}

.gitem__cap {
  position: absolute;
  left: 15px;
  bottom: 13px;
  z-index: 1;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  opacity: 0;
  transform: translateY(6px);
  transition: 0.4s var(--ease);
}

.gitem:hover .gitem__cap {
  opacity: 1;
  transform: none;
}

.gitem__zoom {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 1;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  display: grid;
  place-items: center;
  color: var(--green-deep);
  opacity: 0;
  transform: scale(0.8);
  transition: 0.4s var(--ease);
}

.gitem:hover .gitem__zoom {
  opacity: 1;
  transform: none;
}

.gitem__zoom svg {
  width: 1.05em;
  height: 1.05em;
}

.gitem--empty {
  cursor: default;
}

.gitem--empty:hover img {
  transform: none;
}

.gitem--empty:hover::after {
  opacity: 0;
}

.gitem--empty .gitem__cap {
  opacity: 1;
  transform: none;
}

/* ページネーション（paginate_links / wp-pagenavi 両対応） */
.pager, .wp-pagenavi {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: clamp(34px, 5vw, 56px);
}

.pager .page-numbers, .wp-pagenavi a, .wp-pagenavi span {
  min-width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 0.9em;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  transition: 0.3s var(--ease);
}

.pager a.page-numbers:hover, .wp-pagenavi a:hover {
  border-color: var(--green);
  color: var(--green);
}

.pager .page-numbers.current, .wp-pagenavi span.current {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}

.pager .page-numbers.dots, .wp-pagenavi span.extend {
  border-color: transparent;
}

#lightbox {
  position: fixed;
  inset: 0;
  z-index: 250;
  background: rgba(11, 22, 15, 0.92);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 6vw 5vw;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s var(--ease), visibility 0.4s;
  backdrop-filter: blur(5px);
}

#lightbox.open {
  opacity: 1;
  visibility: visible;
}

.lb__fig {
  max-width: min(960px, 92vw);
  transform: scale(0.92);
  opacity: 0;
  transition: transform 0.45s var(--ease), opacity 0.45s var(--ease);
  margin: 0;
}

#lightbox.open .lb__fig {
  transform: scale(1);
  opacity: 1;
}

.lb__fig img {
  width: 100%;
  max-height: 76vh;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 34px 80px -20px rgba(0, 0, 0, 0.7);
  display: block;
}

.lb__cap {
  text-align: center;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.9rem;
  margin-top: 16px;
  letter-spacing: 0.03em;
}

.lb__btn {
  position: absolute;
  border: none;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-radius: 50%;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: 0.3s;
}

.lb__btn:hover {
  background: rgba(255, 255, 255, 0.25);
}

.lb__btn svg {
  width: 1.4em;
  height: 1.4em;
}

.lb__close {
  top: 20px;
  right: 24px;
  width: 46px;
  height: 46px;
}

.lb__nav {
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
}

.lb__prev {
  left: 18px;
}

.lb__next {
  right: 18px;
}

@media (max-width: 768px) {
  .gallery {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .lb__nav {
    width: 42px;
    height: 42px;
  }
}
@media (max-width: 520px) {
  .gallery {
    grid-template-columns: 1fr 1fr;
  }
}
/* ============ company ============ */
.company-sec {
  padding-block: clamp(20px, 3vw, 40px) var(--sy);
}

.company__grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: clamp(34px, 5vw, 60px);
  align-items: start;
}

.info {
  width: 100%;
  border-top: 1px solid var(--line);
}

.info__row {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 20px;
  padding: 18px 4px;
  border-bottom: 1px solid var(--line);
}

.info__row dt {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--green-deep);
  letter-spacing: 0.04em;
}

.info__row dd {
  font-size: 0.94rem;
  color: var(--ink);
  line-height: 1.85;
}

.info__row dd a {
  color: var(--green-deep);
  font-weight: 700;
}

.info__row dd a:hover {
  text-decoration: underline;
}

.info__note {
  display: block;
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 0.3em;
}

.company__map {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 24px 52px -30px rgba(20, 48, 31, 0.45);
  min-height: 360px;
  background: var(--bg-soft);
}

.company__map iframe {
  width: 100%;
  height: 100%;
  min-height: 360px;
  border: 0;
  display: block;
}

@media (max-width: 1024px) {
  .company__grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }
}
@media (max-width: 768px) {
  .info__row {
    grid-template-columns: 120px 1fr;
    gap: 14px;
    padding: 15px 18px;
  }
}
/* ============ recruit ============ */
.recruit-sec {
  padding-block: clamp(20px, 3vw, 40px) var(--sy);
}

.jobcard {
  max-width: 900px;
  margin-inline: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  box-shadow: 0 32px 64px -42px rgba(20, 48, 31, 0.45);
}

.jobcard__head {
  background: var(--green-deep);
  color: #fff;
  padding: 20px 32px;
  font-weight: 700;
  font-size: 1.12rem;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 0.6em;
}

.jobcard__head svg {
  width: 1.15em;
  height: 1.15em;
}

.jobtable .info__row {
  grid-template-columns: 190px 1fr;
  padding: 20px 32px;
  border-bottom: 1px solid var(--line);
}

.jobtable .info__row:last-child {
  border-bottom: none;
}

.apply {
  max-width: 900px;
  margin: clamp(30px, 4vw, 46px) auto 0;
  display: flex;
  justify-content: center;
}

.apply .btn {
  min-width: 300px;
  justify-content: center;
  font-size: 1rem;
  padding: 1.05em 2em;
}

@media (max-width: 768px) {
  .jobtable .info__row {
    grid-template-columns: 1fr;
    gap: 5px;
  }
  .jobcard__head {
    padding: 16px 20px;
  }
}
/* ============ contact form (CF7) ============ */
.contact-sec {
  padding-block: clamp(20px, 3vw, 40px) var(--sy);
}

.cform {
  max-width: 680px;
  margin-inline: auto;
}

.cform .lead {
  text-align: center;
  margin-bottom: clamp(30px, 4vw, 46px);
}

/* --- デザイン確認用の素フォーム（.field） --- */
.field {
  margin-bottom: 22px;
}

.field label {
  display: block;
  font-weight: 700;
  font-size: 0.88rem;
  margin-bottom: 0.55em;
  letter-spacing: 0.03em;
}

.field label .req {
  color: #c0492f;
  font-size: 0.74rem;
  margin-left: 0.4em;
  font-weight: 600;
}

.field input, .field textarea {
  width: 100%;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  padding: 0.9em 1.05em;
  font: inherit;
  color: var(--ink);
  background: #fff;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px var(--green-50);
}

.field textarea {
  min-height: 150px;
  resize: vertical;
}

.cform__submit {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}

.cform__submit .btn, .cform__submit input[type=submit] {
  min-width: 260px;
  justify-content: center;
  border: none;
  font-size: 1rem;
  padding: 1.05em 2em;
  background: var(--green);
  color: #fff;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 500;
  letter-spacing: 0.04em;
  transition: 0.3s var(--ease);
}

.cform__submit input[type=submit]:hover {
  background: var(--green-deep);
}

.cform__note {
  display: block;
  text-align: center;
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 1.4em;
}

/* --- 実 CF7 出力（直書きフォーム）向け --- */
.cform .wpcf7-form > label,
.cform .wpcf7 form > label {
  display: block;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.03em;
  line-height: 1.7;
  margin-bottom: 20px;
}

.cform .wpcf7-form-control-wrap {
  display: block;
  margin-top: 0.55em;
}

.cform .wpcf7-form input[type=text],
.cform .wpcf7-form input[type=email],
.cform .wpcf7-form input[type=tel],
.cform .wpcf7-form textarea {
  width: 100%;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  padding: 0.9em 1.05em;
  font: inherit;
  font-weight: 400;
  color: var(--ink);
  background: #fff;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.cform .wpcf7-form input:focus,
.cform .wpcf7-form textarea:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px var(--green-50);
}

.cform .wpcf7-form textarea {
  min-height: 150px;
  resize: vertical;
}

/* 必須／任意バッジ */
.red, .blue {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  margin-left: 0.6em;
  padding: 0.2em 0.65em;
  border-radius: 5px;
  vertical-align: middle;
  letter-spacing: 0.02em;
}

.red {
  color: #c0492f;
  background: rgba(192, 73, 47, 0.1);
}

.blue {
  color: #2c6e9c;
  background: rgba(44, 110, 156, 0.1);
}

/* プライバシーポリシー同意（チェックボックス） */
.cform .wpcf7-form label.policy {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.4em;
  font-weight: 500;
  font-size: 0.92rem;
  margin: 6px 0 4px;
  cursor: pointer;
}

.cform .wpcf7-form label.policy .wpcf7-form-control-wrap {
  display: inline;
  margin-top: 0;
}

.cform .wpcf7-list-item {
  margin: 0;
}

.cform .wpcf7-list-item label {
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  font-weight: 500;
  cursor: pointer;
}

.cform .wpcf7-list-item input[type=checkbox] {
  width: 1.1em;
  height: 1.1em;
  accent-color: var(--green);
}

/* 送信／戻るボタン（multistep 含む） */
.cform .wpcf7-form input.wpcf7-submit {
  display: block;
  margin: 28px auto 0;
  min-width: 260px;
  border: none;
  font-size: 1rem;
  padding: 1.05em 2em;
  background: var(--green);
  color: #fff;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 500;
  letter-spacing: 0.04em;
  transition: 0.3s var(--ease);
}

.cform .wpcf7-form input.wpcf7-submit:hover {
  background: var(--green-deep);
}

.cform .wpcf7-form input.wpcf7-previous {
  display: block;
  margin: 14px auto 0;
  min-width: 200px;
  border: 1.5px solid var(--line);
  font-size: 0.94rem;
  padding: 0.95em 2em;
  background: #fff;
  color: var(--ink);
  border-radius: 999px;
  cursor: pointer;
  font-weight: 500;
  transition: 0.3s var(--ease);
}

.cform .wpcf7-form input.wpcf7-previous:hover {
  border-color: var(--green);
  color: var(--green);
}

/* 確認画面（[multiform] の表示値） */
.cform .wpcf7-form .multiform,
.cform .wpcf7-form span.wpcf7-multiform {
  display: block;
  margin-top: 0.55em;
  border: 1.5px solid var(--line);
  background: var(--bg-soft);
  border-radius: 10px;
  padding: 0.9em 1.05em;
  min-height: 1.2em;
  line-height: 1.7;
  color: var(--ink);
  font-weight: 400;
  white-space: pre-wrap;
  word-break: break-word;
}

/* CF7 メッセージ／バリデーション */
.cform .wpcf7-not-valid-tip {
  color: #c0492f;
  font-size: 0.78rem;
  margin-top: 0.3em;
}

.cform .wpcf7-form input.wpcf7-not-valid,
.cform .wpcf7-form textarea.wpcf7-not-valid {
  border-color: #c0492f;
}

.cform .wpcf7-response-output {
  margin: 1.6em 0 0 !important;
  border-radius: 10px;
  padding: 14px 16px;
  font-size: 0.88rem;
  line-height: 1.7;
}

.cform .wpcf7-spinner {
  margin: 14px auto 0;
  display: block;
}

/* --- 完了ページ --- */
.cform--done {
  text-align: center;
  max-width: 600px;
}

.done__ic {
  width: 72px;
  height: 72px;
  margin: 0 auto clamp(18px, 3vw, 26px);
  border-radius: 50%;
  background: var(--green-50);
  color: var(--green);
  display: grid;
  place-items: center;
}

.done__ic svg {
  width: 38px;
  height: 38px;
}

.done__ttl {
  font-weight: 700;
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  letter-spacing: 0.04em;
  margin-bottom: 0.7em;
}

.cform .thanks {
  color: var(--muted);
  line-height: 2;
  margin-bottom: clamp(28px, 4vw, 40px);
}

.cform--done .btn {
  margin-inline: auto;
}

/* ============ privacy policy ============ */
.policy {
  padding-block: clamp(20px, 3vw, 40px) var(--sy);
}

.policy__wrap {
  max-width: 820px;
  margin-inline: auto;
}

.policy h3 {
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--green-deep);
  margin: 2.2em 0 0.6em;
  letter-spacing: 0.03em;
}

.policy h3:first-of-type {
  margin-top: 0;
}

.policy p {
  color: var(--muted);
  line-height: 2;
  font-size: 0.94rem;
  margin-bottom: 0.7em;
}

.policy ul.dash {
  margin: 0.3em 0 1.1em 1.3em;
}

.policy ul.dash li {
  color: var(--muted);
  line-height: 1.9;
  font-size: 0.94rem;
  list-style: disc;
  margin-bottom: 0.2em;
}

/* ACF wysiwyg をそのまま流す場合も同等に */
.policy__wrap h2 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--green-deep);
  margin: 2.2em 0 0.6em;
}

.policy__wrap ul {
  margin: 0.3em 0 1.1em 1.3em;
  list-style: disc;
}

.policy__wrap li {
  color: var(--muted);
  line-height: 1.9;
  font-size: 0.94rem;
  margin-bottom: 0.2em;
}

/* ============ footer ============ */
.footer {
  background: #fff;
  padding-block: clamp(54px, 7vw, 80px) 0;
}

.footer__top {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(36px, 5vw, 60px);
  align-items: center;
  padding-bottom: clamp(40px, 5vw, 56px);
  border-bottom: 1px solid var(--line);
}

.footer__brand img {
  width: 200px;
  margin-bottom: 18px;
}

.footer__addr {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.9;
}

.footer__addr .name {
  color: var(--ink);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 0.3em;
}

.footer__addr a {
  color: var(--green-deep);
  font-weight: 700;
}

.footer__addr a:hover {
  text-decoration: underline;
}

.footer__note {
  display: block;
  font-size: 0.76rem;
  color: var(--muted);
  margin-top: 0.4em;
  letter-spacing: 0.02em;
}

.footer__contact {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer__contact .btn {
  justify-content: center;
  width: 100%;
}

.footer__bar {
  background: var(--green-deep);
  color: #fff;
}

.footer__bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding-block: 20px;
}

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

.fnav a {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.88);
  letter-spacing: 0.03em;
  transition: opacity 0.3s;
}

.fnav a:hover {
  opacity: 0.6;
}

.footer__meta {
  font-size: 0.74rem;
  color: rgba(255, 255, 255, 0.62);
  letter-spacing: 0.04em;
  text-align: right;
  line-height: 1.7;
}

@media (max-width: 1024px) {
  .footer__top {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .footer__brand img {
    margin-inline: auto;
  }
}
@media (max-width: 768px) {
  .footer__bar-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .footer__meta {
    text-align: left;
  }
}
