:root {
  --bg: #fafaf8;
  --paper: #f5f5f0;
  --ink: #1a1a2e;
  --muted: #5a5a6a;
  --line: #d4d4d8;
  --blue: #16537e;
  --gold: #c9a96e;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Source Sans 3", "Noto Sans JP", sans-serif;
  line-height: 1.65;
}

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

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

.container {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  transition: background 0.25s ease, box-shadow 0.25s ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  background: rgba(250, 250, 248, 0.96);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
  backdrop-filter: blur(14px);
}

.header-inner {
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  letter-spacing: 0.03em;
	max-width: 350px;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid currentColor;
  color: var(--blue);
  font-family: "Cormorant Garamond", serif;
  font-size: 23px;
  line-height: 1;
}

.brand-text {
  font-size: 15px;
  text-transform: uppercase;
}

.brand-logo {
  display: block;
  width: clamp(150px, 15vw, 218px);
  height: auto;
}

.brand-light .brand-logo {
  opacity: 0.96;
}

.footer .brand-logo {
  width: clamp(170px, 18vw, 240px);
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 14px;
  color: #2a2a3a;
}

.site-nav a:hover,
.text-link:hover,
.news-list a:hover span {
  color: var(--blue);
}

.language-links {
  display: flex;
  gap: 12px;
  padding-left: 20px;
  border-left: 1px solid rgba(42, 42, 58, 0.16);
  font-size: 12px;
  font-weight: 700;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  background: transparent;
  padding: 10px;
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.site-header.is-open .menu-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.site-header.is-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

.site-header.is-open .menu-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
}

.hero-overlay {
  background: linear-gradient(90deg, rgba(250, 250, 248, 0.96), rgba(250, 250, 248, 0.62), rgba(250, 250, 248, 0.12));
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 120px 0 96px;
}

.hero h1,
.section h2 {
  margin: 0;
  font-family: "Cormorant Garamond", "Noto Serif JP", serif;
  font-weight: 600;
  line-height: 1.13;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 680px;
  font-size: clamp(42px, 6vw, 74px);
}

.hero h1 span {
  display: block;
  color: var(--blue);
}

.hero p {
  max-width: 460px;
  margin: 26px 0 28px;
  color: #4a4a5a;
  font-size: 17px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--blue);
  font-weight: 600;
  border-bottom: 2px solid rgba(22, 83, 126, 0.36);
  padding-bottom: 4px;
}

.text-link::after,
.news-list a::after {
  content: "→";
}

.scroll-note {
  position: absolute;
  left: 50%;
  bottom: 34px;
  transform: translateX(-50%);
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.section {
  position: relative;
  padding: 130px 0;
}

.eyebrow {
  margin: 0 0 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 32px;
  height: 2px;
  background: var(--blue);
}

.section h2 {
  font-size: clamp(36px, 5vw, 56px);
  margin-bottom: 26px;
}

.section p {
  color: #4a4a5a;
}

.texture {
  position: absolute;
  inset: 0;
  opacity: 0.26;
  background-image: url("../img/pattern-texture-v3.webp");
  background-size: 400px;
}

.about-grid,
.contact-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 64px;
  align-items: center;
}

.about-grid > div,
.contact-grid > div {
  grid-column: span 6;
}

.image-frame {
  grid-column: span 6;
  position: relative;
  margin: 0;
}

.image-frame::before {
  content: "";
  position: absolute;
  inset: -16px -16px 16px 16px;
  border: 1px solid rgba(22, 83, 126, 0.22);
}

.image-frame img {
  position: relative;
  box-shadow: 0 18px 44px rgba(26, 26, 46, 0.12);
}

.info-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin: 44px 0 0;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.info-list dt {
  color: #6b6b7b;
  font-size: 12px;
  text-transform: uppercase;
}

.info-list dd {
  margin: 4px 0 0;
  font-weight: 700;
}

.services,
.contact {
  background: var(--paper);
}

.section-head {
  max-width: 680px;
  margin-bottom: 70px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-grid article {
  min-height: 250px;
  padding: 32px;
  background: var(--white);
  border: 1px solid #e5e5e0;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.service-grid article:hover {
  border-color: rgba(22, 83, 126, 0.36);
  box-shadow: 0 16px 34px rgba(26, 26, 46, 0.08);
  transform: translateY(-2px);
}

.icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  color: var(--blue);
  border: 1px solid rgba(22, 83, 126, 0.18);
  font-weight: 700;
}

.service-grid h3 {
  margin: 0 0 10px;
  font-family: "Cormorant Garamond", serif;
  font-size: 24px;
}

.service-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.service-images {
  margin-top: 76px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.service-images img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.group {
  padding: 88px 0;
}

.company-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.company-grid a,
.company-grid span {
  display: block;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
  font-weight: 600;
}

.company-grid a:hover {
  color: var(--blue);
}

.news-list {
  max-width: 900px;
}

.news-list a {
  display: grid;
  grid-template-columns: 180px 1fr 24px;
  gap: 28px;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}

.news-list time {
  color: #6b6b7b;
  font-size: 13px;
  white-space: nowrap;
}

.news-list span {
  transition: color 0.2s ease;
}

.contact-grid {
  align-items: start;
}

.contact-grid > div {
  grid-column: span 4;
}

.contact-form {
  grid-column: span 8;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px 28px;
}

.contact-form label,
.contact-form legend {
  color: #6b6b7b;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"] {
  width: 100%;
  margin-top: 8px;
  padding: 12px 0;
  border: 0;
  border-bottom: 1px solid #c4c4c0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  outline: none;
}

.contact-form input:focus {
  border-color: var(--blue);
}

fieldset {
  margin: 0;
  padding: 0;
  border: 0;
}

fieldset label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 10px 18px 0 0;
  color: var(--ink);
  letter-spacing: 0;
  text-transform: none;
}

.checks,
.form-actions {
  grid-column: 1 / -1;
}

.form-actions {
  display: flex;
  gap: 14px;
  padding-top: 14px;
}

button {
  cursor: pointer;
}

.form-actions button {
  min-width: 120px;
  border: 1px solid var(--blue);
  padding: 12px 22px;
  background: var(--blue);
  color: var(--white);
  font: inherit;
  font-weight: 700;
}

.form-actions button[type="reset"] {
  background: transparent;
  color: var(--blue);
}

address {
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  font-style: normal;
}

.footer {
  background: var(--ink);
  color: var(--white);
  padding: 70px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.3fr;
  gap: 60px;
}

.brand-light .brand-mark {
  color: var(--white);
}

.footer p,
.footer address,
.footer a {
  color: rgba(255, 255, 255, 0.7);
}

.footer nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer a:hover {
  color: var(--white);
}

.copyright {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.45);
  font-size: 12px;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 900px) {
  .container {
    width: min(100% - 32px, 720px);
  }

  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0 24px 22px;
    background: rgba(250, 250, 248, 0.98);
  }

  .site-header.is-open .site-nav {
    display: flex;
  }

  .site-nav a {
    padding: 13px 0;
    border-bottom: 1px solid #e8e8e0;
  }

  .language-links {
    border-left: 0;
    padding-left: 0;
    padding-top: 12px;
  }

  .about-grid,
  .contact-grid,
  .contact-form,
  .footer-grid,
  .service-grid,
  .service-images,
  .company-grid {
    grid-template-columns: 1fr;
  }

  .about-grid > div,
  .contact-grid > div,
  .image-frame,
  .contact-form {
    grid-column: auto;
  }

  .news-list a {
    grid-template-columns: 1fr 24px;
    gap: 12px;
  }

  .news-list time {
    grid-column: 1 / -1;
  }
}

@media (max-width: 560px) {
  .header-inner {
    min-height: 70px;
  }

  .site-nav {
    top: 70px;
  }

  .brand-logo {
    width: 150px;
  }

  .hero h1 {
    font-size: 40px;
  }

  .section {
    padding: 88px 0;
  }

  .info-list {
    grid-template-columns: 1fr;
  }
}

.subpage-hero {
  padding: 150px 0 84px;
  background: linear-gradient(90deg, rgba(250,250,248,.96), rgba(250,250,248,.76)), url("../img/hero-bg-v3.webp") center/cover;
}

.subpage-hero h1 {
  margin: 0;
  font-family: "Cormorant Garamond", "Noto Serif JP", serif;
  font-size: clamp(42px, 6vw, 76px);
  line-height: 1.05;
  color: var(--ink);
}

.subpage-hero p {
  max-width: 620px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.subpage-main {
  padding: 92px 0 120px;
}

.detail-panel {
  max-width: 900px;
  background: var(--white);
  border: 1px solid #e5e5e0;
  padding: clamp(28px, 5vw, 56px);
}

.overview-list {
  display: grid;
  gap: 0;
  margin: 0;
}

.overview-list div {
  display: grid;
  grid-template-columns: minmax(150px, 220px) 1fr;
  gap: 24px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.overview-list div:first-child {
  padding-top: 0;
}

.overview-list div:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.overview-list dt {
  color: var(--blue);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.overview-list dd {
  margin: 0;
  color: var(--ink);
  font-size: 18px;
}

.support-card {
  max-width: 760px;
}

.support-card a {
  color: var(--blue);
  font-weight: 700;
  border-bottom: 1px solid rgba(22,83,126,.3);
}

.footer nav a.is-utility {
  color: rgba(255, 255, 255, 0.7);
  font-weight: inherit;
  letter-spacing: 0;
  text-transform: none;
}

@media (max-width: 700px) {
  .overview-list div {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}

