:root {
  /* 仮色。完成時に名刺・ロゴの正式値へ調整 */
  --green: #177a3a;
  --green-dark: #0f5b2a;
  --green-deep: #0d3e25;
  --green-light: #eaf4ed;
  --logo-green: #6f8935;
  --ink: #1d2420;
  --muted: #667068;
  --line: #dce4de;
  --paper: #ffffff;
  --soft: #f5f8f5;
  --max: 1120px;
  --shadow: 0 16px 40px rgba(15, 62, 37, .10);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Noto Sans JP", "Yu Gothic", YuGothic, "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: .02em;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
.container { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }

.visible-xs {
  display: none;
}

@media (max-width: 767px) {
  .visible-xs {
    display: block;
  }

  .hidden-xs {
    display: none !important;
  }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid rgba(29,36,32,.08);
  backdrop-filter: blur(10px);
}
.header-inner { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand img { width: min(380px, 48vw); max-height: 54px; object-fit: contain; object-position: left center; }
.header-contact { display: flex; align-items: baseline; gap: 10px; white-space: nowrap; font-weight: 700; color: var(--green-dark); }
.header-contact-label { font-size: .72rem; letter-spacing: .16em; color: var(--muted); }
.tel-sp { display: none; }

.hero {
  position: relative;
  min-height: 680px;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: #fff;
  background: url("../images/main.jpg") center 48% / cover no-repeat;
}
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,41,24,.72) 0%, rgba(8,41,24,.52) 48%, rgba(8,41,24,.24) 100%); }
.hero-inner { position: relative; z-index: 1; padding-block: 90px; }
.hero-company { margin: 0 0 12px; font-size: .82rem; font-weight: 700; letter-spacing: .22em; opacity: .88; }
.hero h1 { margin: 0; font-family: "Noto Serif JP", "Yu Mincho", YuMincho, serif; font-size: clamp(2.5rem, 5vw, 4rem); line-height: 1.18; letter-spacing: .08em; font-weight: 700; }
.hero-lead { margin: 16px 0 0; font-size: clamp(1.2rem, 2.1vw, 1.8rem); font-weight: 700; letter-spacing: .12em; }
.hero-copy { width: min(610px, 100%); margin: 26px 0 0; font-size: 1rem; opacity: .95; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.btn { min-width: 190px; padding: 13px 22px; border: 1px solid rgba(255,255,255,.88); border-radius: 2px; text-align: center; text-decoration: none; font-weight: 700; transition: .2s ease; }
.btn-light { color: var(--green-dark); background: #fff; }
.btn-outline { color: #fff; background: rgba(255,255,255,.06); }
.btn:hover { transform: translateY(-1px); opacity: .92; }

.trust-band { position: relative; z-index: 2; margin-top: -1px; color: #fff; background: var(--green); }
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.trust-item { padding: 25px 20px; text-align: center; border-right: 1px solid rgba(255,255,255,.22); }
.trust-item:last-child { border-right: 0; }
.trust-value, .trust-label { display: block; }
.trust-value { font-size: 1.12rem; font-weight: 800; letter-spacing: .04em; }
.trust-label { margin-top: 2px; font-size: .78rem; opacity: .84; }

.section { padding: 92px 0; }
.section-white { background: #fff; }
.section-soft { background: var(--soft); }
.section-deep { color: #fff; background: linear-gradient(135deg, var(--green-deep), #155d35); }
.section-heading { margin-bottom: 46px; }
.section-heading h2, .contact-section h2, .iso-copy h2 { margin: 0; font-family: "Noto Serif JP", "Yu Mincho", YuMincho, serif; font-size: clamp(1.9rem, 4vw, 2.8rem); line-height: 1.35; letter-spacing: .06em; }
.section-intro { max-width: 780px; margin: 18px 0 0; color: var(--muted); }
.eyebrow { margin: 0 0 9px; color: var(--green); font-size: .75rem; font-weight: 800; letter-spacing: .22em; }
.eyebrow-light { color: rgba(255,255,255,.72); }

.about-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 66px; align-items: center; }
.about-copy .lead { margin: 0 0 22px; color: var(--green-dark); font-size: clamp(1.25rem, 2.5vw, 1.7rem); line-height: 1.7; font-weight: 800; }
.about-copy p:not(.lead) { margin: 0 0 13px; }
.about-photo { margin: 0; position: relative; }
.about-photo::before { content: ""; position: absolute; left: -18px; bottom: -18px; width: 54%; height: 52%; background: var(--green-light); z-index: 0; }
.about-photo img { position: relative; z-index: 1; width: 100%; aspect-ratio: 4/5; object-fit: cover; object-position: 50% 45%; box-shadow: var(--shadow); }

.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.service-card { position: relative; min-height: 290px; padding: 34px 30px; background: #fff; border-top: 4px solid var(--green); box-shadow: 0 8px 28px rgba(15,62,37,.06); }
.service-no { display: block; color: var(--logo-green); font-family: Georgia, serif; font-size: 2.4rem; line-height: 1; opacity: .82; }
.service-card h3 { margin: 22px 0 12px; font-size: 1.35rem; }
.service-card p { margin: 0; color: var(--muted); font-size: .95rem; }

.values-grid { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.value-card { min-height: 215px; padding: 30px 32px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.value-card > span { color: var(--logo-green); font-size: .78rem; font-weight: 800; letter-spacing: .16em; }
.value-card h3 { margin: 10px 0 12px; color: var(--green-dark); font-size: 1.2rem; }
.value-card p { margin: 0; color: var(--muted); }

.iso-layout { display: grid; grid-template-columns: .78fr 1.22fr; gap: 60px; align-items: center; }
.iso-copy p:not(.eyebrow) { color: rgba(255,255,255,.86); }
.iso-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.iso-card { padding: 28px; color: var(--ink); background: #fff; border-radius: 3px; }
.iso-card img { height: 92px; width: auto; margin: 0 auto 18px; object-fit: contain; }
.iso-card h3 { margin: 0 0 8px; text-align: center; color: var(--green-dark); font-size: 1.35rem; }
.iso-card > p { margin: 0 0 18px; text-align: center; font-size: .9rem; line-height: 1.55; }
.iso-card dl { margin: 0; padding-top: 16px; border-top: 1px solid var(--line); font-size: .85rem; line-height: 1.6; }
.iso-card dt { margin-top: 9px; color: var(--muted); font-weight: 700; }
.iso-card dd { margin: 1px 0 0; }

.profile-layout { display: grid; grid-template-columns: .42fr .58fr; gap: 48px; align-items: start; }
.profile-photo-wrap { position: sticky; top: 110px; }
.profile-photo-wrap img { width: 100%; aspect-ratio: 3/4; object-fit: cover; object-position: 50% 54%; }
.profile-table { width: 100%; border-collapse: collapse; }
.profile-table th, .profile-table td { padding: 18px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.profile-table th { width: 31%; color: var(--green-dark); font-size: .9rem; }
.profile-table td { font-size: .95rem; }
.text-link { color: var(--green-dark); font-weight: 800; text-decoration: none; }

.access-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 40px; align-items: stretch; }
.map-wrap { min-height: 390px; background: #e6ece7; overflow: hidden; }
.map-wrap iframe { width: 100%; height: 100%; min-height: 390px; border: 0; display: block; }
.access-copy { padding: 32px; background: #fff; border-left: 4px solid var(--green); }
.access-copy h3 { margin-top: 0; font-size: 1.25rem; }
.contact-list { margin: 26px 0 0; }
.contact-list > div { display: grid; grid-template-columns: 54px 1fr; gap: 12px; padding: 11px 0; border-top: 1px solid var(--line); }
.contact-list dt { color: var(--muted); font-size: .78rem; font-weight: 800; letter-spacing: .08em; }
.contact-list dd { margin: 0; font-weight: 700; }

.contact-section { padding: 86px 0; color: #fff; background: var(--green); text-align: center; }
.contact-inner > p:not(.eyebrow) { margin: 18px 0 0; }
.contact-numbers { display: flex; justify-content: center; gap: 18px; margin-top: 32px; }
.contact-number { min-width: 300px; padding: 18px 24px; border: 1px solid rgba(255,255,255,.46); background: rgba(255,255,255,.08); }
.contact-number-label { display: block; font-size: .72rem; letter-spacing: .18em; opacity: .76; }
.contact-number-value { display: block; margin-top: 3px; color: #fff; font-size: 1.55rem; font-weight: 800; text-decoration: none; }
.tel-pc { display: block; }
.tel-sp { display: none; }

.site-footer { padding: 38px 0; color: rgba(255,255,255,.76); background: #17211b; font-size: .82rem; }
.footer-inner { display: flex; justify-content: space-between; align-items: end; gap: 30px; }
.footer-inner p { margin: 3px 0; }
.footer-company { color: #fff; font-size: 1rem; font-weight: 700; }
.copyright { white-space: nowrap; }
.mobile-cta { display: none; }

@media (max-width: 900px) {
  .hero { min-height: 610px; }
  .about-grid, .iso-layout, .profile-layout, .access-grid { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .iso-copy { max-width: 760px; }
  .profile-photo-wrap { position: static; }
  .profile-photo-wrap img { max-height: 430px; aspect-ratio: 16/8; object-position: 50% 57%; }
}

@media (max-width: 767px) {
  body { padding-bottom: 62px; font-size: 15px; }
  .container { width: min(calc(100% - 32px), var(--max)); }
  .header-inner { min-height: 64px; }
  .brand img { width: 235px; max-height: 44px; }
  .header-contact { display: none; }
  .tel-pc { display: none !important; }
  .tel-sp { display: inline; }
  .hero { min-height: 560px; background-position: 58% 50%; }
  .hero-shade { background: linear-gradient(90deg, rgba(8,41,24,.76), rgba(8,41,24,.42)); }
  .hero-inner { padding-block: 70px; }
  .hero h1 { font-size: clamp(2.3rem, 10vw, 3rem); }
  .hero-copy { max-width: 92%; }
  .hero-actions { display: grid; grid-template-columns: 1fr; max-width: 280px; }
  .btn { min-width: 0; }
  .trust-grid { grid-template-columns: 1fr; }
  .trust-item { padding: 17px 12px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.22); }
  .trust-item:last-child { border-bottom: 0; }
  .section { padding: 68px 0; }
  .section-heading { margin-bottom: 34px; }
  .about-grid { gap: 38px; }
  /*.about-photo img { aspect-ratio: 4/3; object-position: 50% 48%; }*/
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 0; padding: 26px 24px; }
  .values-grid { grid-template-columns: 1fr; }
  .value-card { min-height: 0; padding: 24px; }
  .iso-grid { grid-template-columns: 1fr; }
  .iso-card { padding: 24px 20px; }
  .profile-photo-wrap img { aspect-ratio: 4/3; max-height: none; }
  .profile-table th, .profile-table td { display: block; width: 100%; }
  .profile-table th { padding: 15px 8px 3px; border-bottom: 0; }
  .profile-table td { padding: 0 8px 15px; }
  .access-copy { padding: 24px; }
  .contact-numbers { display: grid; gap: 12px; }
  .contact-number { min-width: 0; width: 100%; }
  .tel-pc { display: none; }
  .tel-sp { display: block; }
  .footer-inner { display: block; }
  .copyright { margin-top: 18px !important; }
  .mobile-cta { position: fixed; z-index: 100; left: 0; right: 0; bottom: 0; display: block; background: var(--green); box-shadow: 0 -4px 18px rgba(0,0,0,.12); }
  .mobile-cta a { display: flex; align-items: center; justify-content: center; gap: 11px; min-height: 62px; color: #fff; text-decoration: none; font-size: 1.08rem; font-weight: 800; }
  .mobile-cta span { font-size: .7rem; letter-spacing: .12em; opacity: .76; }
  .pc-only { display: none; }
}
