:root {
  --ink: #18262b;
  --muted: #65757a;
  --paper: #fffaf2;
  --surface: #ffffff;
  --soft: #eef5f2;
  --line: #dfe8e2;
  --green: #277066;
  --green-dark: #174e48;
  --gold: #d89b4a;
  --coral: #d66f5f;
  --shadow: 0 24px 70px rgba(24, 38, 43, 0.14);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Inter, "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Microsoft YaHei", Arial, sans-serif;
  background: var(--paper);
  line-height: 1.6;
}

img {
  display: block;
  width: 100%;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 34px;
  align-items: center;
  padding: 18px clamp(22px, 4.5vw, 66px);
  background: rgba(255, 250, 242, 0.92);
  border-bottom: 1px solid rgba(223, 232, 226, 0.9);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  gap: 18px;
  align-items: center;
  min-width: 300px;
}

.brand-logo {
  width: 184px;
  height: auto;
  flex: 0 0 auto;
}

.brand-text,
.brand small {
  display: block;
}

.brand small {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
}

.main-nav {
  display: flex;
  gap: 26px;
  justify-content: center;
  color: var(--muted);
  font-size: 1.02rem;
  font-weight: 700;
}

.main-nav a {
  flex: 0 0 auto;
  white-space: nowrap;
  padding: 13px 0;
}

.main-nav a:hover {
  color: var(--green-dark);
}

.language-switcher {
  display: inline-flex;
  padding: 4px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
}

.lang-button {
  min-width: 64px;
  padding: 10px 14px;
  color: var(--muted);
  font: inherit;
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  background: transparent;
  border: 0;
  border-radius: 999px;
}

.lang-button[aria-pressed="true"] {
  color: #fff;
  background: var(--green);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(360px, 0.82fr);
  min-height: calc(100svh - 70px);
  background: var(--soft);
}

.hero-media {
  min-height: 520px;
  overflow: hidden;
}

.hero-media img {
  height: 100%;
  min-height: 520px;
  object-fit: cover;
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(44px, 7vw, 92px) clamp(22px, 5vw, 74px);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 11.5em;
  margin: 0;
  font-size: clamp(2.6rem, 6vw, 5.9rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.45rem);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 10px;
  font-size: 1.22rem;
  line-height: 1.25;
}

.hero-copy {
  max-width: 620px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  font-weight: 800;
  border-radius: 999px;
}

.button.primary {
  color: #fff;
  background: var(--green);
}

.button.secondary {
  color: var(--green-dark);
  background: #fff;
  border: 1px solid var(--line);
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.hero-proof span {
  padding: 8px 12px;
  color: var(--green-dark);
  font-size: 0.88rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid var(--line);
  border-radius: 999px;
}

.section {
  padding: clamp(64px, 9vw, 112px) clamp(18px, 5vw, 70px);
}

.section-heading {
  max-width: 900px;
  margin: 0 auto 34px;
  text-align: center;
}

.section-heading p:not(.eyebrow) {
  max-width: 690px;
  margin: 16px auto 0;
  color: var(--muted);
}

.section-heading.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.68fr);
  gap: 30px;
  max-width: 1180px;
  text-align: left;
}

.section-heading.split p:not(.eyebrow) {
  margin: 32px 0 0;
}

.trust-band {
  background: #fff;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  max-width: 1180px;
  margin: 0 auto;
}

.trust-grid article,
.company-story,
.president-card,
.area-grid article,
.service-card,
.contact-card,
.faq-list details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 35px rgba(24, 38, 43, 0.07);
}

.trust-grid article {
  padding: 24px;
}

.icon {
  display: grid;
  width: 44px;
  height: 44px;
  margin-bottom: 20px;
  color: #fff;
  font-weight: 800;
  place-items: center;
  background: var(--coral);
  border-radius: 50%;
}

.trust-grid p,
.company-story p,
.president-card p,
.president-timeline p,
.company-facts strong,
.service-card p,
.area-grid p,
.process-list p,
.faq-list p {
  margin: 0;
  color: var(--muted);
}

.company-section {
  background: var(--soft);
}

.company-grid,
.president-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.62fr);
  gap: 18px;
  max-width: 1180px;
  margin: 0 auto;
}

.company-story,
.president-card {
  padding: clamp(24px, 4vw, 42px);
}

.company-story h3 {
  margin-bottom: 18px;
  font-size: clamp(1.45rem, 2.4vw, 2.1rem);
}

.company-story p + p {
  margin-top: 14px;
}

.company-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.company-facts div {
  display: flex;
  min-height: 150px;
  flex-direction: column;
  justify-content: space-between;
  padding: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.company-facts span {
  color: var(--green-dark);
  font-size: clamp(1.25rem, 2.4vw, 1.85rem);
  font-weight: 900;
  line-height: 1.15;
}

.company-facts strong {
  display: block;
  font-size: 0.95rem;
}

.president-section {
  background: #fff;
}

.president-layout {
  align-items: start;
  grid-template-columns: minmax(300px, 0.46fr) minmax(0, 1fr);
}

.president-card {
  position: sticky;
  top: 110px;
}

.president-name {
  display: grid;
  gap: 4px;
  margin: 24px 0;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.president-name strong {
  color: var(--green-dark);
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  line-height: 1.1;
}

.president-name span {
  color: var(--ink);
  font-weight: 800;
}

.president-name small {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 800;
}

.president-timeline {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.president-timeline li {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
  gap: 18px;
  padding: 22px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.president-timeline span {
  color: var(--green);
  font-weight: 900;
}

.service-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 18px;
  max-width: 1180px;
  margin: 0 auto;
}

.service-card {
  display: grid;
  gap: 18px;
  overflow: hidden;
}

.service-card.large {
  grid-row: span 2;
}

.service-card img {
  height: 280px;
  object-fit: cover;
}

.service-card.large img {
  height: 480px;
}

.service-card div {
  padding: 0 24px 24px;
}

.area-section {
  background: #fff;
}

.area-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  max-width: 1180px;
  margin: 0 auto;
}

.area-grid article {
  overflow: hidden;
}

.area-grid img {
  height: 245px;
  object-fit: cover;
}

.area-grid h3,
.area-grid p {
  padding-right: 22px;
  padding-left: 22px;
}

.area-grid h3 {
  margin-top: 22px;
}

.area-grid p {
  padding-bottom: 24px;
}

.process-section {
  background: var(--soft);
}

.process-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  max-width: 1180px;
  padding: 0;
  margin: 0 auto;
  list-style: none;
}

.process-list li {
  min-height: 230px;
  padding: 22px;
  background: #fff;
  border-top: 4px solid var(--gold);
  border-radius: var(--radius);
}

.process-list span {
  display: block;
  margin-bottom: 26px;
  color: var(--green);
  font-weight: 900;
}

.process-list strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.08rem;
}

.faq-list {
  display: grid;
  gap: 12px;
  max-width: 880px;
  margin: 0 auto;
}

.faq-list details {
  padding: 18px 22px;
}

.faq-list summary {
  font-weight: 800;
  cursor: pointer;
}

.faq-list p {
  margin-top: 12px;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.55fr);
  gap: 32px;
  align-items: center;
  padding: clamp(64px, 8vw, 104px) clamp(18px, 5vw, 70px);
  color: #fff;
  background: var(--green-dark);
}

.contact-section .eyebrow,
.contact-section p {
  color: rgba(255, 255, 255, 0.82);
}

.contact-section h2 {
  max-width: 780px;
  color: #fff;
}

.contact-card {
  padding: 24px;
  color: var(--ink);
}

.qr-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}

.qr-card {
  display: grid;
  justify-items: center;
  gap: 8px;
  padding: 14px;
  text-align: center;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.qr-card img {
  width: min(100%, 168px);
  aspect-ratio: 1;
  object-fit: contain;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.qr-card strong {
  color: var(--green-dark);
  font-size: 0.98rem;
}

.qr-card span {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.contact-card p {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin: 14px 0 0;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
  padding-bottom: 10px;
}

.contact-card span {
  text-align: right;
}

.contact-card strong {
  color: var(--ink);
}

.contact-card a {
  color: var(--green-dark);
  font-weight: 800;
  text-align: right;
}

.contact-map {
  width: 100%;
  height: 230px;
  margin-top: 18px;
  border: 0;
  border-radius: var(--radius);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 24px clamp(18px, 5vw, 70px);
  color: var(--muted);
  background: #fff;
}

.site-footer p {
  margin: 0;
}

.not-found-page {
  min-height: 100svh;
  background: var(--soft);
}

.not-found {
  display: grid;
  min-height: 100svh;
  align-content: center;
  gap: 18px;
  width: min(680px, calc(100% - 32px));
  margin: 0 auto;
  padding: 64px 0;
}

.not-found .brand-logo {
  width: 184px;
}

.not-found h1 {
  max-width: 100%;
  font-size: clamp(2.6rem, 7vw, 4.8rem);
}

.not-found p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
}

.not-found .button {
  width: max-content;
  margin-top: 10px;
}

@media (max-width: 1180px) {
  .site-header {
    position: static;
    grid-template-columns: 1fr;
  }

  .main-nav {
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .language-switcher {
    width: max-content;
  }

  .hero,
  .section-heading.split,
  .service-grid,
  .company-grid,
  .president-layout,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .president-card {
    position: static;
  }

  .hero {
    min-height: 0;
  }

  .hero-media,
  .hero-media img {
    min-height: 360px;
  }

  .trust-grid,
  .company-facts,
  .area-grid,
  .process-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-card.large {
    grid-row: auto;
  }

  .service-card.large img,
  .service-card img {
    height: 300px;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 16px;
    gap: 16px;
  }

  .brand {
    min-width: 0;
  }

  .brand-logo {
    width: 156px;
  }

  .hero-content {
    padding: 38px 18px 52px;
  }

  h1 {
    font-size: clamp(2.5rem, 14vw, 4.3rem);
  }

  .section {
    padding: 58px 16px;
  }

  .trust-grid,
  .company-facts,
  .area-grid,
  .process-list {
    grid-template-columns: 1fr;
  }

  .president-timeline li {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .process-list li {
    min-height: 0;
  }

  .contact-section {
    padding: 58px 16px;
  }

  .contact-card p {
    display: block;
  }

  .contact-card span,
  .contact-card a {
    display: block;
    margin-top: 4px;
    text-align: left;
  }

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

  .site-footer {
    display: block;
  }
}
