:root {
 --blue-royal: #4f9657;
 --blue-deep: #3f7e48;
 --blue-darker: #2f5c38;
 --blue-light: #7ab07f;
 --blue-bg: #edf6ec;
 --gray-bg: #f7f7f5;
 --ink: #1e2228;
 --ink-soft: #5b6168;
 --line: #e3e3e0;
 --white: #ffffff;
 --amber: #d98e3d;
 --sans: "Noto Sans JP", sans-serif;
 --serif: "Noto Serif JP", serif;
}
* {
 margin: 0;
 padding: 0;
 box-sizing: border-box;
}
html {
 scroll-behavior: smooth;
}
body {
 font-family: var(--sans);
 color: var(--ink);
 background: var(--white);
 line-height: 1.85;
 font-size: 16px;
 -webkit-font-smoothing: antialiased;
}
img {
 display: block;
 max-width: 100%;
}
a {
 color: inherit;
 text-decoration: none;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
 outline: 3px solid var(--blue-royal);
 outline-offset: 2px;
}
ul {
 list-style: none;
}
.wrap {
 max-width: 1140px;
 margin: 0 auto;
 padding: 0 24px;
}
.ph-img {
 position: absolute;
 inset: 0;
 width: 100%;
 height: 100%;
 object-fit: cover;
 z-index: 1;
}

/* ===== Header (shared) ===== */
header {
 background: var(--white);
 border-bottom: 1px solid var(--line);
 position: sticky;
 top: 0;
 z-index: 50;
}
.header-inner {
 max-width: 1140px;
 margin: 0 auto;
 padding: 0 24px;
 display: flex;
 align-items: center;
 justify-content: space-between;
 height: 84px;
}
.brand {
 display: flex;
 align-items: center;
 gap: 12px;
}
.brand-logo {
 position: relative;
 width: 46px;
 height: 46px;
 border-radius: 8px;
 overflow: hidden;
 display: flex;
 align-items: center;
 justify-content: center;
 color: #fff;
 font-family: var(--serif);
 font-weight: 700;
 font-size: 20px;
 flex-shrink: 0;
}
.brand-text {
 font-size: 17.5px;
 font-weight: 700;
 color: var(--ink);
}
.brand-text small {
 display: block;
 font-size: 11px;
 font-weight: 400;
 color: var(--ink-soft);
 margin-top: 2px;
 letter-spacing: 0.02em;
}
nav.main {
 display: flex;
 align-items: center;
 gap: 32px;
}
.nav-links {
 display: flex;
 gap: 30px;
 font-size: 14.5px;
}
.nav-links a {
 padding: 8px 0;
 border-bottom: 2px solid transparent;
 transition:
  border-color 0.2s ease,
  color 0.2s ease;
}
.nav-links a:hover {
 border-color: var(--blue-royal);
 color: var(--blue-royal);
}
.nav-links a.current {
 color: var(--blue-royal);
 border-color: var(--blue-royal);
}
.header-cta {
 display: flex;
 align-items: center;
 gap: 14px;
}
.header-tel {
 text-align: right;
}
.header-tel .label {
 font-size: 10.5px;
 color: var(--ink-soft);
}
.header-tel .num {
 font-size: 18px;
 font-weight: 700;
 color: var(--blue-royal);
}
.btn {
 display: inline-flex;
 align-items: center;
 justify-content: center;
 gap: 8px;
 padding: 13px 26px;
 font-size: 14.5px;
 font-weight: 700;
 letter-spacing: 0.02em;
 border-radius: 7px;
 transition: all 0.2s ease;
 cursor: pointer;
 border: none;
 font-family: inherit;
}
.btn-primary {
 background: var(--blue-royal);
 color: #fff;
}
.btn-primary:hover {
 background: var(--blue-deep);
}
.btn-outline.dark {
 border: 1.5px solid var(--blue-royal);
 color: var(--blue-royal);
 background: transparent;
}
.btn-outline.dark:hover {
 background: var(--blue-bg);
}
.btn-lg {
 padding: 18px 44px;
 font-size: 16px;
}

/* ===== Page hero ===== */
.page-hero {
 position: relative;
 min-height: 350px;
 display: flex;
 align-items: center;
 overflow: hidden;
 background: #33414f;
}
.page-hero-img {
 position: absolute;
 inset: 0;
 width: 100%;
 height: 100%;
 object-fit: cover;
 z-index: 0;
}
.page-hero-bg {
 position: absolute;
 inset: 0;
 z-index: 1;
 background:
  linear-gradient(
   100deg,
   rgba(47, 92, 56, 0.88) 0%,
   rgba(47, 92, 56, 0.62) 42%,
   rgba(47, 92, 56, 0.28) 70%,
   rgba(47, 92, 56, 0.1) 100%
  ),
  linear-gradient(180deg, #6f8870 0%, #547359 30%, #3f5d44 55%, #283a2b 100%);
}
.page-hero-content {
 position: relative;
 z-index: 2;
 max-width: 1140px;
 margin: 0 auto;
 padding: 0 24px;
 width: 100%;
}
.ph-eyebrow {
 display: inline-flex;
 align-items: center;
 gap: 10px;
 font-size: 13px;
 color: #d7e3d5;
 font-weight: 600;
 margin-bottom: 18px;
 letter-spacing: 0.06em;
}
.ph-eyebrow::before {
 content: "";
 width: 28px;
 height: 2px;
 background: var(--amber);
}
.page-hero h1 {
 font-family: var(--serif);
 font-weight: 700;
 font-size: clamp(28px, 3.6vw, 42px);
 line-height: 1.5;
 color: #fff;
 margin-bottom: 16px;
}
.page-hero p {
 font-size: 15.5px;
 color: rgba(255, 255, 255, 0.88);
 max-width: 560px;
}
.crumbs {
 position: absolute;
 top: 20px;
 left: 0;
 right: 0;
 z-index: 2;
 max-width: 1140px;
 margin: 0 auto;
 padding: 0 24px;
 font-size: 12px;
 color: rgba(255, 255, 255, 0.7);
}
.crumbs a:hover {
 color: #fff;
}

/* ===== Section ===== */
.section {
 padding: 80px 0 96px;
}
.contact-wrap {
 max-width: 760px;
 margin: 0 auto;
}

/* ===== Phone / FAX card (contact-card style) ===== */
.contact-card {
 background: var(--white);
 border: 1px solid var(--line);
 border-radius: 14px;
 padding: 34px 38px;
 margin-bottom: 34px;
 box-shadow: 0 4px 20px rgba(47, 92, 56, 0.05);
}
.contact-card .cc-lead {
 font-size: 15px;
 color: var(--ink);
 font-weight: 600;
 margin-bottom: 22px;
}
.contact-tel-box {
 background: var(--blue-bg);
 border-radius: 12px;
 padding: 24px 28px;
 display: flex;
 align-items: center;
 gap: 22px;
 flex-wrap: wrap;
}
.ctb-icon {
 width: 52px;
 height: 52px;
 border-radius: 12px;
 background: var(--white);
 display: flex;
 align-items: center;
 justify-content: center;
 flex-shrink: 0;
}
.ctb-icon svg {
 width: 26px;
 height: 26px;
 stroke: var(--blue-royal);
 fill: none;
 stroke-width: 1.8;
 stroke-linecap: round;
 stroke-linejoin: round;
}
.ctb-text {
 flex: 1;
 min-width: 200px;
}
.ctb-text .label {
 font-size: 12.5px;
 color: var(--blue-deep);
 margin-bottom: 2px;
 font-weight: 600;
}
.ctb-text .num {
 font-family: var(--serif);
 font-size: 32px;
 font-weight: 700;
 color: var(--blue-royal);
 line-height: 1.2;
 letter-spacing: 0.01em;
}
.contact-rows {
 display: flex;
 flex-wrap: wrap;
 gap: 14px 40px;
 margin-top: 20px;
 padding-top: 20px;
 border-top: 1px solid var(--line);
}
.contact-rows .cr {
 display: flex;
 gap: 14px;
 font-size: 14.3px;
 align-items: baseline;
}
.contact-rows dt {
 color: var(--ink-soft);
 font-weight: 600;
 flex-shrink: 0;
}
.contact-rows dd {
 color: var(--ink);
 font-weight: 500;
}

/* ===== Form ===== */
.form-wrap {
 background: var(--white);
 border: 1px solid var(--line);
 border-radius: 16px;
 padding: 44px 48px;
 box-shadow: 0 10px 40px rgba(47, 92, 56, 0.06);
}
.form-title {
 font-family: var(--serif);
 font-size: 21px;
 font-weight: 700;
 color: var(--ink);
 margin-bottom: 6px;
}
.form-desc {
 font-size: 13.8px;
 color: var(--ink-soft);
 margin-bottom: 30px;
}
.form-fields {
 display: flex;
 flex-direction: column;
 gap: 22px;
}
.field {
 display: flex;
 flex-direction: column;
 gap: 8px;
}
.field label {
 font-size: 13.5px;
 font-weight: 700;
 color: var(--ink);
 display: flex;
 align-items: center;
 gap: 8px;
}
.req-mark {
 font-size: 10.5px;
 font-weight: 700;
 color: #fff;
 background: var(--amber);
 border-radius: 4px;
 padding: 2px 6px;
 letter-spacing: 0.04em;
}
.opt-mark {
 font-size: 10.5px;
 font-weight: 700;
 color: var(--ink-soft);
 background: var(--gray-bg);
 border: 1px solid var(--line);
 border-radius: 4px;
 padding: 2px 6px;
 letter-spacing: 0.04em;
}
.field input[type="text"],
.field input[type="tel"],
.field input[type="email"],
.field select,
.field textarea {
 font-family: inherit;
 font-size: 15px;
 color: var(--ink);
 background: var(--gray-bg);
 border: 1.5px solid var(--line);
 border-radius: 9px;
 padding: 13px 15px;
 transition:
  border-color 0.2s ease,
  background 0.2s ease;
 width: 100%;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
 border-color: var(--blue-royal);
 background: var(--white);
 outline: none;
}
.field textarea {
 resize: vertical;
 min-height: 140px;
 line-height: 1.7;
}

/* radio group */
.radio-group {
 display: flex;
 flex-wrap: wrap;
 gap: 12px;
}
.radio-pill {
 position: relative;
}
.radio-pill input {
 position: absolute;
 opacity: 0;
 inset: 0;
 cursor: pointer;
}
.radio-pill span {
 display: inline-flex;
 align-items: center;
 gap: 8px;
 font-size: 14px;
 font-weight: 600;
 color: var(--ink-soft);
 background: var(--gray-bg);
 border: 1.5px solid var(--line);
 border-radius: 999px;
 padding: 11px 20px;
 cursor: pointer;
 transition: all 0.18s ease;
}
.radio-pill span::before {
 content: "";
 width: 14px;
 height: 14px;
 border-radius: 50%;
 border: 2px solid var(--line);
 flex-shrink: 0;
 transition: all 0.18s ease;
}
.radio-pill input:checked + span {
 color: var(--blue-deep);
 background: var(--blue-bg);
 border-color: var(--blue-royal);
}
.radio-pill input:checked + span::before {
 border-color: var(--blue-royal);
 background: radial-gradient(circle, var(--blue-royal) 0 40%, transparent 50%);
}
.radio-pill input:focus-visible + span {
 outline: 3px solid var(--blue-royal);
 outline-offset: 2px;
}

/* privacy consent */
.consent {
 display: flex;
 gap: 13px;
 align-items: flex-start;
 background: var(--gray-bg);
 border: 1px solid var(--line);
 border-radius: 10px;
 padding: 18px 20px;
}
.consent input {
 width: 20px;
 height: 20px;
 flex-shrink: 0;
 margin-top: 2px;
 accent-color: var(--blue-royal);
 cursor: pointer;
}
.consent label {
 font-size: 13.8px;
 color: var(--ink);
 line-height: 1.7;
 font-weight: 500;
}
.consent label a {
 color: var(--blue-royal);
 font-weight: 700;
 text-decoration: underline;
 text-underline-offset: 2px;
}

.form-submit {
 margin-top: 32px;
 text-align: center;
}
.form-submit .btn {
 width: 100%;
 max-width: 360px;
}
.form-submit .sub-note {
 font-size: 12.5px;
 color: var(--ink-soft);
 margin-top: 14px;
}

/* ===== Completion (modal) ===== */
.modal-overlay {
 position: fixed;
 inset: 0;
 z-index: 200;
 background: rgba(30, 34, 40, 0.55);
 backdrop-filter: blur(3px);
 display: flex;
 align-items: center;
 justify-content: center;
 padding: 24px;
}
.modal-card {
 background: var(--white);
 border-radius: 18px;
 max-width: 440px;
 width: 100%;
 padding: 46px 40px 38px;
 text-align: center;
 box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
}
.modal-icon {
 width: 72px;
 height: 72px;
 border-radius: 50%;
 background: var(--blue-bg);
 display: flex;
 align-items: center;
 justify-content: center;
 margin: 0 auto 24px;
}
.modal-icon svg {
 width: 36px;
 height: 36px;
 stroke: var(--blue-royal);
 fill: none;
 stroke-width: 2.2;
 stroke-linecap: round;
 stroke-linejoin: round;
}
.modal-card h3 {
 font-family: var(--serif);
 font-size: 25px;
 font-weight: 700;
 color: var(--ink);
 margin-bottom: 14px;
}
.modal-card p {
 font-size: 14.5px;
 color: var(--ink-soft);
 margin-bottom: 30px;
}
.modal-card .btn {
 width: 100%;
}

/* ===== Footer (shared) ===== */
footer {
 background: var(--blue-darker);
 color: rgba(255, 255, 255, 0.82);
 padding: 52px 0 26px;
}
.footer-grid {
 display: grid;
 grid-template-columns: 1.3fr 1fr 1fr;
 gap: 40px;
 padding-bottom: 32px;
 border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}
.footer-brand .fb-name {
 font-size: 17.5px;
 font-weight: 700;
 color: #fff;
 margin-bottom: 14px;
}
.footer-brand p {
 font-size: 13.3px;
 color: rgba(255, 255, 255, 0.6);
 max-width: 300px;
}
.footer-col h6 {
 font-size: 12px;
 letter-spacing: 0.08em;
 color: rgba(255, 255, 255, 0.5);
 margin-bottom: 14px;
}
.footer-col ul {
 display: flex;
 flex-direction: column;
 gap: 9px;
 font-size: 13.3px;
}
.footer-col a:hover {
 color: #fff;
}
.footer-bottom {
 display: flex;
 justify-content: space-between;
 padding-top: 20px;
 font-size: 11.5px;
 color: rgba(255, 255, 255, 0.45);
 flex-wrap: wrap;
 gap: 8px;
}

/* ===== Responsive ===== */
@media (max-width: 980px) {
 nav.main {
  display: none;
 }
 .footer-grid {
  grid-template-columns: 1fr;
  gap: 26px;
 }
}
@media (max-width: 640px) {
 .header-inner {
  height: auto;
  min-height: 72px;
  padding: 14px 18px;
  flex-wrap: wrap;
  row-gap: 10px;
 }
 .brand-text {
  font-size: 14.5px;
 }
 .brand-text small {
  display: none;
 }
 .header-cta {
  width: 100%;
  justify-content: space-between;
 }
 .header-tel .label {
  display: none;
 }
 .header-tel .num {
  font-size: 15px;
 }
 .btn-primary {
  padding: 10px 18px;
  font-size: 13.5px;
 }
 .section {
  padding: 48px 0 64px;
 }
 .contact-card {
  padding: 26px 22px;
 }
 .ctb-text .num {
  font-size: 27px;
 }
 .form-wrap {
  padding: 30px 22px;
 }
 .radio-group {
  flex-direction: column;
 }
 .radio-pill span {
  width: 100%;
 }
}
@media (prefers-reduced-motion: reduce) {
 html {
  scroll-behavior: auto;
 }
 * {
  transition: none !important;
 }
}

/* WordPress integration additions */
.filter-btn {
 display: inline-flex;
 align-items: center;
 justify-content: center;
}
.pagination-wrap,
.pagination {
 margin-top: 40px;
}
.nav-links .page-numbers,
.pagination .page-numbers {
 display: inline-flex;
}
.navigation.pagination .nav-links {
 display: flex;
 justify-content: center;
 gap: 8px;
}
.navigation.pagination .page-numbers {
 min-width: 40px;
 height: 40px;
 align-items: center;
 justify-content: center;
 border: 1px solid var(--line);
 border-radius: 7px;
}
.navigation.pagination .page-numbers.current {
 color: #fff;
 background: var(--blue-royal);
 border-color: var(--blue-royal);
}
.is-demo {
 cursor: default;
}
.contact-form-preview button[type="button"],
.recruit-form-preview button[type="button"] {
 cursor: not-allowed;
}
