:root {
  --color-navy: #0b1d33;
  --color-navy-soft: #122a47;
  --color-gold: #d9a73d;
  --color-text: #1f2937;
  --color-muted: #6b7280;
  --color-line: #e5e7eb;
  --color-bg: #ffffff;
  --color-bg-soft: #f7f8fa;
  --font-sans:
    "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  --font-serif: "Yu Mincho", "YuMincho", "MS PMincho", serif;
  --header-height: 96px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--color-text);
  font-family: var(--font-sans);
  letter-spacing: 0.08em;
  overflow-x: hidden;
  background: var(--color-bg);
}

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

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

button,
input,
textarea {
  font: inherit;
}

.page-shell {
  padding-top: var(--header-height);
}

.splash-screen {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  opacity: 1;
  transition: opacity 1s ease;
}

.splash-screen.is-hidden {
  opacity: 0;
  pointer-events: none;
}

.splash-screen__logo {
  width: 192px;
  height: auto;
  animation: splashPulse 1.6s ease-in-out infinite;
}

.home-content {
  opacity: 0;
  transition: opacity 1s ease;
}

.home-content.is-visible {
  opacity: 1;
}

.renewal-notice {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.renewal-notice.is-visible {
  pointer-events: auto;
  opacity: 1;
}

.renewal-notice__panel {
  position: relative;
  width: min(520px, 100%);
  padding: 42px 56px;
  text-align: center;
  color: var(--color-navy);
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(217, 167, 61, 0.45);
  box-shadow: 0 24px 70px rgba(11, 29, 51, 0.18);
}

.renewal-notice__close {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  color: var(--color-muted);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  background: transparent;
}

.renewal-notice__close:hover,
.renewal-notice__close:focus-visible {
  color: var(--color-navy);
}

.renewal-notice__label {
  margin: 0 0 12px;
  color: var(--color-gold);
  font-size: 12px;
  letter-spacing: 0.2em;
}

.renewal-notice__text {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 22px;
  line-height: 1.6;
  letter-spacing: 0.12em;
}

@keyframes splashPulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.62;
    transform: scale(1.03);
  }
}

@media (max-width: 640px) {
  .renewal-notice {
    padding: 18px;
  }

  .renewal-notice__panel {
    padding: 36px 26px 34px;
  }

  .renewal-notice__text {
    font-size: 16px;
  }
}

.site-header {
  width: 100%;
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--color-line);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
  backdrop-filter: blur(14px);
}

.site-header.is-scrolled {
  border-bottom: 2px solid #3f6596;
}

.site-header__inner {
  padding: 0 20px;
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.site-header__logo {
  width: auto;
  height: 78px;
  object-fit: contain;
}

.site-header__menu-button,
.mobile-menu__close {
  border: 1px solid var(--color-line);
  background: #fff;
  color: var(--color-navy);
  padding: 10px 14px;
  font-size: 11px;
  letter-spacing: 0.18em;
  cursor: pointer;
}

.site-header__menu-button {
  display: none;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 12px;
  color: #4b5563;
}

.site-nav__item {
  position: relative;
  height: var(--header-height);
  display: flex;
  align-items: center;
}

.site-nav__link {
  position: relative;
  padding: 12px 0;
  transition: opacity 0.2s ease;
}

.site-nav__link--dropdown {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.site-nav__arrow {
  color: #9ca3af;
  font-size: 13px;
  line-height: 1;
  transform: translateY(-4px);
}

.site-nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 4px;
  height: 1px;
  background: var(--color-gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.site-nav__link:hover,
.site-nav__link--active {
  opacity: 0.6;
}

.site-nav__link:hover::after,
.site-nav__link--active::after {
  transform: scaleX(1);
}

.site-nav__link--contact {
  padding: 13px 22px;
  background: var(--color-navy);
  color: #fff;
}

.site-nav__link--contact::after {
  display: none;
}

.site-nav__dropdown {
  position: absolute;
  left: 0;
  top: var(--header-height);
  z-index: 60;
  width: 192px;
  display: grid;
  border: 1px solid #f3f4f6;
  background: #fff;
  box-shadow: 0 22px 46px rgba(15, 23, 42, 0.14);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition:
    opacity 0.2s ease,
    transform 0.2s ease,
    visibility 0.2s ease;
}

.site-nav__dropdown--wide {
  width: 256px;
}

.site-nav__item:hover .site-nav__dropdown,
.site-nav__item:focus-within .site-nav__dropdown,
.site-nav__item.is-open .site-nav__dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.site-nav__dropdown-link {
  padding: 14px 20px;
  border-bottom: 1px solid #f9fafb;
  color: #6b7280;
  font-size: 11px;
  line-height: 1.4;
  transition:
    background 0.2s ease,
    color 0.2s ease;
}

.site-nav__dropdown-link:last-child {
  border-bottom: 0;
}

.site-nav__dropdown-link:hover {
  background: #f8fafc;
  color: #020617;
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  background: #fff;
  transform: translateX(100%);
  transition: transform 0.28s ease;
}

.mobile-menu.is-open {
  transform: translateX(0);
}

.mobile-menu__bar {
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  border-bottom: 1px solid var(--color-line);
}

.mobile-menu__logo {
  height: 68px;
}

.mobile-menu__nav {
  display: grid;
  gap: 0;
  padding: 28px;
}

.mobile-menu__link {
  padding: 18px 0;
  border-bottom: 1px solid var(--color-line);
  color: var(--color-text);
  font-size: 14px;
}

.mobile-menu__link--active {
  color: var(--color-gold);
}

.site-main {
  min-height: 60vh;
}

.hero,
.home-hero {
  position: relative;
  min-height: 320px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--color-navy);
}

.home-hero {
  min-height: calc(100vh - var(--header-height));
}

.hero__image,
.home-hero__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__overlay,
.home-hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(11, 29, 51, 0.52);
}

.hero__body,
.home-hero__body {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 48px));
  color: #fff;
}

.home-hero__body {
  text-align: center;
}

.hero__label,
.section-heading__label,
.split-panel__label,
.service-detail__label,
.contact-band__label,
.job-card__label {
  margin: 0 0 10px;
  color: var(--color-gold);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
}

.hero__title,
.home-hero__title {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(34px, 5vw, 58px);
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0.18em;
}

.content-section {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 96px 0;
}

.content-section--muted {
  width: 100%;
  padding-inline: max(24px, calc((100% - 1180px) / 2));
  background: var(--color-bg-soft);
}

.content-section--bordered {
  border-top: 1px solid var(--color-line);
}

.content-section--compact {
  padding-top: 32px;
}

.legal-document {
  max-width: 768px;
  margin-top: 40px;
  margin-bottom: 40px;
  padding: 80px 24px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08);
}

.legal-document__body {
  color: #4b5563;
  font-size: 12px;
  line-height: 1.75;
}

.legal-document__section {
  margin-top: 24px;
}

.legal-document__title {
  margin: 0 0 8px;
  color: #0f172a;
  font-size: 12px;
  font-weight: 700;
}

.legal-document__text {
  margin: 0;
}

.legal-document__list {
  margin: 4px 0 0;
  padding-left: 20px;
  list-style: disc;
}

.legal-document__list li + li {
  margin-top: 4px;
}

.section-heading {
  margin-bottom: 48px;
  text-align: center;
}

.section-heading__title {
  margin: 0;
  color: var(--color-navy);
  font-family: var(--font-serif);
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 400;
}

.section-heading__title::after {
  content: "";
  display: block;
  width: 44px;
  height: 1px;
  margin: 18px auto 0;
  background: var(--color-navy);
}

.button-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 26px;
  border: 1px solid var(--color-navy);
  background: var(--color-navy);
  color: #fff;
  font-size: 12px;
  line-height: 1;
  letter-spacing: 0.16em;
  cursor: pointer;
  transition:
    background 0.2s ease,
    color 0.2s ease;
}

.button-link:hover {
  background: var(--color-navy-soft);
}

.button-link--light {
  background: #fff;
  color: var(--color-navy);
}

.text-link {
  color: var(--color-navy);
  font-size: 12px;
  border-bottom: 1px solid var(--color-gold);
}

.site-footer {
  background: var(--color-navy);
  color: #cbd5e1;
  padding: 72px 0 36px;
}

.footer__sns {
  width: fit-content;
  margin: 0 auto 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
}

.footer__sns .sns__ttl {
  color: #fff;
  font-size: 22px;
}

.footer__sns .sns__ttl .s--txt {
  display: block;
  letter-spacing: 0.28em;
  font-size: 13px;
}

.footer__sns .sns__ttl .normal {
  display: block;
  margin: 5px auto;
}

.footer__sns .sns__ttl .s--txt-2 {
  display: block;
  font-size: 12px;
  margin-top: 6px;
}

.sns__list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.sns__list > li {
  overflow: hidden;
  border-radius: 50%;
  width: 62px;
  height: 62px;
}

.sns__list > li > a {
  display: block;
  transition: 0.3s;
}

.sns__list > li > a:hover {
  opacity: 0.6;
}

.sns__list img {
  width: 100%;
  height: auto;
}

.wechat-qr-trigger {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  cursor: pointer;
  background: transparent;
}

.wechat-qr-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  pointer-events: none;
  opacity: 0;
  background: rgba(11, 29, 51, 0.58);
  transition: opacity 0.25s ease;
}

.wechat-qr-modal.is-visible {
  pointer-events: auto;
  opacity: 1;
}

.wechat-qr-modal__panel {
  position: relative;
  width: min(380px, 100%);
  padding: 38px 32px 32px;
  text-align: center;
  background: #fff;
  box-shadow: 0 24px 70px rgba(11, 29, 51, 0.28);
}

.wechat-qr-modal__close {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  color: var(--color-muted);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  background: transparent;
}

.wechat-qr-modal__close:hover,
.wechat-qr-modal__close:focus-visible {
  color: var(--color-navy);
}

.wechat-qr-modal__title {
  margin: 0 0 18px;
  color: var(--color-navy);
  font-size: 16px;
  letter-spacing: 0.12em;
  line-height: 1.6;
}

.wechat-qr-modal__image {
  display: block;
  width: min(250px, 100%);
  height: auto;
  margin: 0 auto;
}

body.is-wechat-qr-modal-open {
  overflow: hidden;
}

@media (max-width: 768px) {
  .footer__sns {
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
  }
  .footer__sns .sns__ttl{
    width: 100%;
    text-align: center;
  }
  .sns__list{
    width: 100%;
  }
}

.site-footer__inner {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.site-footer__brand {
  color: #fff;
  font-size: 22px;
  letter-spacing: 0.28em;
}

.site-footer__caption,
.site-footer__label,
.site-footer__nav-title,
.site-footer__copy {
  color: #64748b;
  font-size: 16px;
  font-weight: bold;
}

/* .site-footer__info {
  margin: 24px 0 0;
} */

/* .site-footer__label {
  margin-top: 18px;
} */

.site-footer__text {
  margin: 5px 0 10px;
  font-size: 14px;
  line-height: 1.8;
}

.site-footer__nav {
  display: grid;
  gap: 12px;
  align-content: start;
}

.site-footer__nav-title {
  margin: 0 0 8px;
  padding-left: 10px;
  border-left: 1px solid #64748b;
}

.site-footer__link {
  font-size: 14px;
  color: #cbd5e1;
}

.site-footer__link:hover,
.site-footer__text-link:hover {
  color: #fff;
  text-decoration: underline;
}

.site-footer__copy {
  margin: 0;
  padding-top: 28px;
  text-align: center;
  border-top: 1px solid rgba(148, 163, 184, 0.22);
}

.reveal-section {
  opacity: 0;
  transform: translateY(32px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}

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

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

@media (max-width: 900px) {
  .site-nav {
    display: none;
  }

  .site-header__menu-button,
  .mobile-menu {
    display: block;
  }

  .site-footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  :root {
    --header-height: 82px;
  }

  .site-header__inner,
  .hero__body,
  .home-hero__body,
  .content-section,
  .site-footer__inner {
    width: min(100% - 32px, 1180px);
  }

  .site-header__logo {
    height: 64px;
  }

  .content-section {
    padding: 72px 0;
  }

  .site-footer__grid {
    grid-template-columns: 1fr;
  }

  .wechat-qr-modal {
    padding: 18px;
  }

  .wechat-qr-modal__panel {
    padding: 50px 22px 24px;
  }
}
