: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 {
 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 {
 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;
}

.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;
 text-shadow: 1px 1px 2px black;
}

.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;
}

/* ===== Sections ===== */
.section {
 padding: 96px 0;
}

.section-alt {
 background: var(--gray-bg);
}

.sec-head {
 max-width: 680px;
 margin: 0 auto 56px;
 text-align: center;
}

.sec-eyebrow {
 font-size: 13px;
 font-weight: 700;
 color: var(--blue-royal);
 letter-spacing: 0.08em;
 margin-bottom: 12px;
}

.sec-head h2 {
 font-family: var(--serif);
 font-weight: 700;
 font-size: clamp(24px, 2.8vw, 32px);
 color: var(--ink);
 margin-bottom: 14px;
}

.sec-head p {
 font-size: 15px;
 color: var(--ink-soft);
}

/* ===== Message (greeting style) ===== */
.msg-grid {
 max-width: 920px;
 margin: 0 auto;
}

.msg-photo {
 position: relative;
 aspect-ratio: 4/4.6;
 border-radius: 12px;
 overflow: hidden;
 background: linear-gradient(
  150deg,
  #9aa39a 0%,
  #71807a 35%,
  #4d5c52 65%,
  #2f3a32 100%
 );
}

.msg-body .m-eyebrow {
 font-size: 13px;
 font-weight: 700;
 color: var(--blue-royal);
 letter-spacing: 0.08em;
 margin-bottom: 12px;
}

.msg-body h2 {
 font-family: var(--serif);
 font-weight: 700;
 font-size: clamp(22px, 2.6vw, 30px);
 color: var(--ink);
 margin-bottom: 24px;
 line-height: 1.5;
}

.msg-body p {
 font-size: 15px;
 color: var(--ink);
 margin-bottom: 20px;
}

.msg-sign {
 display: flex;
 align-items: baseline;
 gap: 12px;
 margin-top: 30px;
 padding-top: 24px;
 border-top: 1px solid var(--line);
}

.msg-sign .role {
 font-size: 13px;
 color: var(--ink-soft);
}

.msg-sign .nm {
 font-family: var(--serif);
 font-size: 22px;
 font-weight: 700;
 color: var(--ink);
}

/* ===== Stats (infographic) ===== */
.stat-grid {
 display: grid;
 grid-template-columns: repeat(4, 1fr);
 gap: 22px;
}

.stat-card {
 background: var(--white);
 border: 1px solid var(--line);
 border-radius: 12px;
 padding: 34px 26px 30px;
 text-align: center;
 transition:
  box-shadow 0.2s ease,
  transform 0.2s ease;
}

.stat-card:hover {
 box-shadow: 0 10px 26px rgba(79, 150, 87, 0.12);
 transform: translateY(-2px);
}

.stat-icon {
 width: 54px;
 height: 54px;
 border-radius: 12px;
 background: var(--blue-bg);
 display: flex;
 align-items: center;
 justify-content: center;
 margin: 0 auto 20px;
}

.stat-icon svg {
 width: 27px;
 height: 27px;
 stroke: var(--blue-royal);
 fill: none;
 stroke-width: 1.8;
 stroke-linecap: round;
 stroke-linejoin: round;
}

.stat-num {
 font-family: var(--serif);
 font-weight: 700;
 color: var(--blue-deep);
 font-size: 46px;
 line-height: 1;
 letter-spacing: -0.01em;
}

.stat-num .unit {
 font-family: var(--sans);
 font-size: 18px;
 font-weight: 700;
 margin-left: 3px;
}

.stat-label {
 font-size: 14px;
 font-weight: 600;
 color: var(--ink);
 margin-top: 14px;
}

.stat-sub {
 font-size: 12px;
 color: var(--ink-soft);
 margin-top: 4px;
 line-height: 1.6;
}

/* ===== Jobs ===== */
.job-grid {
 display: grid;
 grid-template-columns: repeat(2, minmax(0, 1fr));
 gap: 22px;
 max-width: 920px;
 margin: 0 auto;
}

.job-card {
 display: flex;
 flex-direction: column;
 background: var(--white);
 border: 1px solid var(--line);
 border-radius: 12px;
 padding: 30px 28px 26px;
 transition:
  box-shadow 0.2s ease,
  transform 0.2s ease,
  border-color 0.2s ease;
}

.job-card:hover {
 box-shadow: 0 12px 30px rgba(79, 150, 87, 0.14);
 transform: translateY(-3px);
 border-color: var(--blue-light);
}

.job-tag {
 display: inline-flex;
 align-items: center;
 font-size: 11.5px;
 font-weight: 700;
 color: var(--blue-royal);
 background: var(--blue-bg);
 border-radius: 999px;
 padding: 5px 13px;
 width: fit-content;
 margin-bottom: 16px;
}

.job-card h3 {
 font-size: 20px;
 font-weight: 700;
 color: var(--ink);
 margin-bottom: 18px;
 font-family: var(--serif);
}

.job-rows {
 display: flex;
 flex-direction: column;
 gap: 0;
 border-top: 1px solid var(--line);
 margin-bottom: 22px;
}

.job-rows .jr {
 display: flex;
 gap: 14px;
 font-size: 13.6px;
 padding: 12px 2px;
 border-bottom: 1px solid var(--line);
}

.job-rows dt {
 width: 72px;
 flex-shrink: 0;
 color: var(--ink-soft);
 font-weight: 600;
}

.job-rows dd {
 color: var(--ink);
 font-weight: 500;
}

.job-more {
 margin-top: auto;
 display: inline-flex;
 align-items: center;
 gap: 7px;
 font-size: 14px;
 font-weight: 700;
 color: var(--blue-royal);
}

.job-card:hover .job-more {
 gap: 11px;
}

.job-more svg {
 width: 16px;
 height: 16px;
 stroke: currentColor;
 fill: none;
 stroke-width: 2;
 stroke-linecap: round;
 stroke-linejoin: round;
 transition: transform 0.2s ease;
}

/* ===== Gallery (shared) ===== */
.gallery-grid {
 display: grid;
 grid-template-columns: 1.4fr 1fr 1fr;
 grid-template-rows: 240px 240px;
 gap: 14px;
}

.gphoto {
 position: relative;
 border-radius: 10px;
 overflow: hidden;
 display: flex;
 align-items: flex-end;
}

.gphoto .gcap {
 position: relative;
 z-index: 3;
 color: #fff;
 font-size: 13px;
 padding: 16px 18px;
 font-weight: 600;
 letter-spacing: 0.02em;
}

.gphoto::before {
 content: "";
 position: absolute;
 inset: 0;
 background: linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, 0.55) 100%);
 z-index: 2;
}

.gphoto.g1 {
 grid-row: 1 / 3;
 background: linear-gradient(
  150deg,
  #869186 0%,
  #5f6c60 35%,
  #3e473d 70%,
  #262e25 100%
 );
}

.gphoto.g2 {
 background: linear-gradient(150deg, #a8b3a6 0%, #82967f 40%, #566e54 100%);
}

.gphoto.g3 {
 background: linear-gradient(150deg, #94957f 0%, #6e7060 45%, #4d4f42 100%);
}

.gphoto.g4 {
 background: linear-gradient(150deg, #8d9398 0%, #646b70 45%, #3d4347 100%);
}

.gphoto.g5 {
 background: linear-gradient(150deg, #b0a489 0%, #8d7f61 45%, #5e5340 100%);
}

/* ===== CTA band ===== */
.cta-band {
 text-align: center;
}

.cta-band h2 {
 font-family: var(--serif);
 font-weight: 700;
 font-size: clamp(24px, 2.8vw, 32px);
 color: var(--ink);
 margin-bottom: 14px;
}

.cta-band p {
 font-size: 15px;
 color: var(--ink-soft);
 max-width: 560px;
 margin: 0 auto 36px;
}

/* ===== 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-links {
  display: none;
 }

 .msg-grid {
  grid-template-columns: 1fr;
  gap: 32px;
 }

 .msg-photo {
  max-width: 380px;
 }

 .stat-grid {
  grid-template-columns: repeat(2, 1fr);
 }

 .job-grid {
  grid-template-columns: 1fr 1fr;
 }

 .gallery-grid {
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 200px 200px 200px;
 }

 .gphoto.g1 {
  grid-row: 1 / 2;
  grid-column: 1 / 3;
 }

 .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: 64px 0;
 }

 .stat-grid {
  grid-template-columns: 1fr 1fr;
 }

 .job-grid {
  grid-template-columns: 1fr;
 }

 .gallery-grid {
  grid-template-columns: 1fr;
  grid-template-rows: repeat(5, 180px);
 }

 .gphoto.g1 {
  grid-column: 1;
  grid-row: 1;
 }
}

@media (prefers-reduced-motion: reduce) {
 html {
  scroll-behavior: auto;
 }

 * {
  transition: none !important;
 }
}
