:root {
  --ink: #21313b;
  --muted: #66727a;
  --line: #dfe5e4;
  --paper: #ffffff;
  --soft: #f5f7f4;
  --accent: #b79a55;
  --accent-dark: #8b7139;
  --trust: #0f4c5c;
  --deep: #162c35;
  --shadow: 0 22px 58px rgba(21, 42, 52, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  font-size: 15px;
  line-height: 1.8;
  letter-spacing: 0;
}

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

.site-shell {
  min-width: 320px;
  overflow: hidden;
}

.site-header {
  align-items: flex-start;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0));
  display: flex;
  gap: 40px;
  justify-content: space-between;
  left: 0;
  padding: 44px 50px 24px;
  position: fixed;
  right: 0;
  top: 0;
  z-index: 20;
}

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

.brand-mark {
  display: block;
  flex: 0 0 46px;
  height: 46px;
  width: 46px;
}

.brand-mark img,
.brand-mark svg {
  filter: drop-shadow(0 8px 18px rgba(15, 76, 92, 0.12));
  display: block;
  height: 100%;
  object-fit: contain;
  width: 100%;
}

.brand-copy {
  display: grid;
  gap: 4px;
}

.brand-ja {
  color: var(--deep);
  font-size: 29px;
  font-weight: 600;
  line-height: 1.2;
}

.brand-en {
  color: #536268;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0;
}

.header-right {
  display: grid;
  gap: 18px;
  justify-items: end;
}

.contact-line {
  align-items: center;
  display: flex;
  gap: 7px;
  justify-content: flex-end;
  white-space: nowrap;
}

.phone-icon {
  color: var(--trust);
  font-size: 20px;
  line-height: 1;
}

.hours {
  color: #334047;
  font-size: 13px;
}

.phone {
  color: #20323a;
  font-size: 22px;
  font-weight: 500;
  line-height: 1;
}

.consult-button,
.contact-button {
  align-items: center;
  background: var(--accent);
  border-radius: 999px;
  color: #fff;
  display: inline-flex;
  font-size: 13px;
  font-weight: 700;
  height: 34px;
  justify-content: center;
  padding: 0 25px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.consult-button:hover,
.contact-button:hover {
  box-shadow: 0 12px 25px rgba(95, 75, 31, 0.22);
  transform: translateY(-2px);
}

.main-nav {
  align-items: flex-start;
  display: flex;
  gap: clamp(24px, 3vw, 48px);
  justify-content: flex-end;
  text-align: center;
}

.main-nav a {
  color: #334047;
  display: grid;
  font-size: 13px;
  line-height: 1.35;
  min-width: 82px;
}

.main-nav span {
  color: var(--trust);
  font-size: 10px;
  font-weight: 700;
}

.hero {
  background: #edf2f0;
  height: 100vh;
  min-height: 720px;
  overflow: hidden;
  position: relative;
}

.hero-image,
.hero-overlay {
  inset: 0;
  position: absolute;
}

.hero-image {
  background-position: center;
  background-size: cover;
  filter: saturate(0.9) contrast(1.02);
}

.hero-main {
  background-image: url("./assets/wkf-hero-tokyo.png");
  background-position: center;
  transform: scale(1.04);
  transform-origin: center;
}

@media (prefers-reduced-motion: no-preference) {
  .hero-main {
    animation: hero-pan 22s ease-in-out infinite alternate;
  }

  @keyframes hero-pan {
    from {
      transform: scale(1.04) translateX(-1.8%);
    }

    to {
      transform: scale(1.04) translateX(1.8%);
    }
  }
}

.hero-overlay {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(16, 35, 43, 0.36) 78%),
    linear-gradient(90deg, rgba(18, 43, 51, 0.24), rgba(18, 43, 51, 0.1) 50%, rgba(18, 43, 51, 0.18));
}

.hero-copy {
  color: #fff;
  left: 50%;
  max-width: 1120px;
  padding: 0 24px;
  position: absolute;
  text-align: center;
  text-shadow: 0 5px 20px rgba(15, 28, 38, 0.42);
  top: 50%;
  transform: translate(-50%, -35%);
  width: 100%;
}

.hero-ja {
  font-size: clamp(25px, 3.1vw, 40px);
  font-weight: 400;
  line-height: 1.75;
  margin: 0 0 20px;
}

.hero-en {
  font-size: clamp(17px, 2vw, 24px);
  font-weight: 700;
  line-height: 1.5;
  margin: 0;
}

.about-section,
.company-section,
.contact-section,
.site-footer {
  padding-left: max(50px, calc((100vw - 1180px) / 2));
  padding-right: max(50px, calc((100vw - 1180px) / 2));
}

.about-section {
  display: grid;
  grid-template-columns: minmax(280px, 40%) minmax(320px, 1fr);
  padding-bottom: 130px;
  padding-top: 150px;
  row-gap: 86px;
}

.about-copy {
  padding-top: 18px;
}

.about-en {
  color: var(--trust);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(28px, 3.6vw, 53px);
  line-height: 1.25;
  margin: 0 0 34px;
}

.about-copy h2 {
  color: var(--deep);
  font-size: 27px;
  font-weight: 400;
  line-height: 1.8;
  margin: 0;
}

.about-body {
  color: #516068;
  font-size: 15px;
  line-height: 2.4;
  padding-top: 92px;
  position: relative;
  z-index: 2;
}

.about-body p {
  margin: 0 0 24px;
}

.about-photos {
  display: grid;
  gap: 28px;
  grid-column: 1 / -1;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.85fr) minmax(0, 1.2fr);
  pointer-events: none;
  position: relative;
}

.photo {
  background-position: center;
  background-size: cover;
  display: block;
  min-height: 330px;
  position: static;
  width: 100%;
}

.photo-one {
  background-image: url("./assets/wkf-consultation.png");
  min-height: 360px;
}

.photo-two {
  background-image: url("./assets/wkf-residence.png");
  min-height: 360px;
}

.photo-three {
  background-image: url("./assets/wkf-office-street.png");
  min-height: 360px;
}

.company-section {
  background: #f8faf8;
  padding-bottom: 112px;
  padding-top: 112px;
}

.section-heading {
  border-left: 4px solid var(--accent);
  margin-bottom: 46px;
  padding-left: 24px;
}

.section-heading p {
  color: var(--trust);
  font-size: 13px;
  font-weight: 700;
  margin: 0 0 4px;
}

.section-heading h2 {
  color: var(--deep);
  font-size: clamp(28px, 3.2vw, 42px);
  font-weight: 500;
  line-height: 1.35;
  margin: 0;
}

.company-layout {
  display: grid;
  gap: 56px;
  grid-template-columns: minmax(260px, 0.78fr) minmax(420px, 1.22fr);
}

.company-intro {
  color: #55646a;
  font-size: 15px;
  line-height: 2.25;
}

.company-intro p {
  margin: 0 0 22px;
}

.company-lead {
  color: var(--deep);
  font-size: 19px;
  font-weight: 500;
  line-height: 2;
}

.company-profile {
  background: var(--paper);
  border-top: 1px solid var(--line);
  box-shadow: var(--shadow);
  margin: 0;
}

.company-profile div {
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 168px 1fr;
}

.company-profile dt,
.company-profile dd {
  margin: 0;
  padding: 22px 26px;
}

.company-profile dt {
  align-items: center;
  background: #eef3f1;
  color: var(--trust);
  display: flex;
  font-size: 13px;
  font-weight: 700;
}

.company-profile dd {
  color: #35434a;
  line-height: 2;
}

.company-feature-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 46px;
}

.company-feature-grid section {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 30px;
}

.company-feature-grid p {
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 700;
  margin: 0 0 8px;
}

.company-feature-grid h3 {
  color: var(--deep);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.45;
  margin: 0 0 18px;
}

.company-feature-grid ul {
  color: #55646a;
  display: grid;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.company-feature-grid li {
  padding-left: 18px;
  position: relative;
}

.company-feature-grid li::before {
  background: var(--trust);
  content: "";
  height: 6px;
  left: 0;
  position: absolute;
  top: 0.78em;
  width: 6px;
}

.contact-section {
  background:
    linear-gradient(rgba(245, 248, 246, 0.91), rgba(245, 248, 246, 0.91)),
    url("./assets/wkf-contact-bg.png")
      center / cover;
  padding-bottom: 90px;
  padding-top: 90px;
  text-align: center;
}

.contact-kicker {
  color: var(--trust);
  font-size: 30px;
  line-height: 1;
  margin: 0 0 18px;
}

.contact-section h2 {
  font-size: 22px;
  font-weight: 500;
  margin: 0 0 18px;
}

.contact-section p {
  color: #55646a;
  margin: 0 0 34px;
}

.contact-actions {
  align-items: center;
  display: flex;
  gap: 34px;
  justify-content: center;
}

.contact-phone {
  align-items: center;
  color: var(--deep);
  display: inline-flex;
  gap: 9px;
  font-size: 27px;
  font-weight: 500;
}

.contact-phone small {
  color: #5c686d;
  font-size: 13px;
  font-weight: 500;
}

.contact-button {
  min-width: 260px;
}

.site-footer {
  background: #f8faf8;
  color: #536168;
  padding-bottom: 28px;
  padding-top: 58px;
}

.footer-main {
  align-items: center;
  display: grid;
  gap: 38px;
  grid-template-columns: 1.1fr 1fr 1.2fr;
}

.footer-brand {
  align-items: center;
  display: flex;
  gap: 16px;
}

.footer-mark {
  display: block;
  height: 54px;
  width: 54px;
}

.footer-mark img,
.footer-mark svg {
  display: block;
  height: 100%;
  object-fit: contain;
  width: 100%;
}

.footer-brand strong,
.footer-brand small {
  display: block;
}

.footer-brand strong {
  color: var(--deep);
  font-size: 20px;
  font-weight: 500;
}

.footer-brand small {
  color: #74817f;
  font-size: 11px;
  font-weight: 700;
}

address {
  font-style: normal;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  justify-content: flex-end;
}

.footer-nav a {
  font-size: 14px;
}

.footer-bottom {
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  justify-content: flex-end;
  margin-top: 48px;
  padding-top: 22px;
}

.footer-bottom span {
  color: #7c8986;
}

@media (max-width: 1120px) {
  .site-header {
    align-items: center;
    padding: 24px 28px;
  }

  .header-right {
    display: none;
  }

  .brand {
    min-width: 0;
  }

  .footer-main {
    grid-template-columns: 1fr;
  }

  .footer-nav {
    justify-content: flex-start;
  }
}

@media (max-width: 760px) {
  body {
    font-size: 14px;
  }

  .site-header {
    background: rgba(255, 255, 255, 0.96);
    padding: 16px 18px;
  }

  .brand-mark {
    flex-basis: 36px;
    height: 36px;
    width: 36px;
  }

  .brand-ja {
    font-size: 20px;
  }

  .brand-en {
    font-size: 10px;
  }

  .hero {
    height: 88svh;
    min-height: 610px;
  }

  .hero-copy {
    top: 51%;
    transform: translate(-50%, -24%);
  }

  .hero-ja {
    font-size: 21px;
    line-height: 1.8;
  }

  .hero-en {
    font-size: 17px;
  }

  .about-section,
  .company-section,
  .contact-section,
  .site-footer {
    padding-left: 22px;
    padding-right: 22px;
  }

  .about-section {
    display: block;
    min-height: 0;
    padding-bottom: 78px;
    padding-top: 78px;
  }

  .about-body {
    padding-top: 42px;
  }

  .about-photos {
    display: grid;
    gap: 16px;
    grid-template-columns: 1fr 1fr;
    margin-top: 42px;
    position: static;
  }

  .photo {
    height: 190px;
    position: static;
    width: 100%;
  }

  .photo-three {
    grid-column: 1 / -1;
  }

  .company-section {
    padding-bottom: 74px;
    padding-top: 74px;
  }

  .section-heading {
    margin-bottom: 30px;
    padding-left: 18px;
  }

  .company-layout {
    display: block;
  }

  .company-intro {
    margin-bottom: 34px;
  }

  .company-profile {
    box-shadow: 0 16px 38px rgba(21, 42, 52, 0.1);
  }

  .company-profile div {
    display: block;
  }

  .company-profile dt,
  .company-profile dd {
    padding: 16px 18px;
  }

  .company-profile dd {
    padding-top: 14px;
  }

  .company-feature-grid {
    grid-template-columns: 1fr;
    margin-top: 24px;
  }

  .company-feature-grid section {
    padding: 24px 22px;
  }

  .contact-actions {
    display: grid;
    gap: 20px;
  }

  .contact-phone {
    display: grid;
    font-size: 25px;
    justify-items: center;
  }

  .footer-bottom {
    justify-content: flex-start;
  }
}
