:root {
  --black: #050505;
  --night: #0c0c0c;
  --graphite: #171717;
  --gold: #d6aa45;
  --gold-deep: #9b711f;
  --gold-soft: #f4d98d;
  --white: #ffffff;
  --muted: rgba(255, 255, 255, 0.7);
  --line: #06c755;
  --edge: rgba(214, 170, 69, 0.28);
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.42);
  --radius: 28px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  color: var(--white);
  background:
    radial-gradient(circle at 50% -10%, rgba(214, 170, 69, 0.2), transparent 30%),
    linear-gradient(180deg, #050505 0%, #101010 52%, #050505 100%);
  font-family: "Noto Sans JP", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.75;
  overflow-x: hidden;
}

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 76px;
  padding: 12px clamp(16px, 4vw, 46px);
  background: rgba(5, 5, 5, 0.96);
  border-bottom: 1px solid var(--edge);
  box-shadow: 0 14px 42px rgba(0, 0, 0, 0.36);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 12px;
  min-width: 0;
  color: var(--white);
  font-weight: 900;
  letter-spacing: 0.12em;
  line-height: 1.2;
}

.brand-logo {
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  border: 1px solid rgba(214, 170, 69, 0.5);
  border-radius: 50%;
  background: var(--white);
  object-fit: contain;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: clamp(10px, 2.4vw, 28px);
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.site-nav a {
  position: relative;
  padding: 8px 0;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--gold-soft);
}

.site-nav a:hover::after,
.site-nav a[aria-current="page"]::after {
  opacity: 1;
}

.hero {
  position: relative;
  display: grid;
  align-items: stretch;
  width: 100%;
  margin: 0;
  padding: clamp(8px, 1.3vw, 18px) 0 clamp(14px, 2vw, 26px);
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 50% -8%, rgba(214, 170, 69, 0.22), transparent 28%),
    linear-gradient(180deg, #020202 0%, var(--black) 48%, #080806 100%);
  border-bottom: 1px solid rgba(214, 170, 69, 0.34);
  box-shadow: var(--shadow);
}

.hero::before,
.hero::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
}

.hero::before {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.18), transparent 22%, transparent 78%, rgba(0, 0, 0, 0.18)),
    radial-gradient(circle at 50% 98%, rgba(214, 170, 69, 0.18), transparent 36%);
}

.hero::after {
  z-index: 2;
  background: linear-gradient(180deg, transparent 58%, rgba(0, 0, 0, 0.72) 100%);
}

.hero-media,
.hero-content {
  grid-area: 1 / 1;
}

.hero-media {
  position: relative;
  z-index: 0;
  width: min(100%, 1770px);
  margin: 0 auto;
  padding-inline: clamp(6px, 1.2vw, 18px);
}

.hero-image {
  width: 100%;
  height: auto;
  max-height: calc(100svh - 40px);
  margin: 0 auto;
  object-fit: contain;
  object-position: center top;
  filter: drop-shadow(0 26px 70px rgba(0, 0, 0, 0.42));
}

.hero-content {
  position: relative;
  z-index: 3;
  align-self: end;
  width: 100%;
  padding-block: 0;
  margin-bottom: clamp(10px, 2.4vw, 34px);
}

.page-main {
  padding: clamp(42px, 8vw, 96px) 0 clamp(72px, 10vw, 128px);
}

.intro-card,
.page-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--edge);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.025)),
    rgba(10, 10, 10, 0.92);
  box-shadow: var(--shadow);
}

.intro-card::before,
.page-card::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(120deg, rgba(214, 170, 69, 0.2), transparent 32%),
    radial-gradient(circle at 80% 0%, rgba(214, 170, 69, 0.16), transparent 26%);
}

.intro-card {
  padding: clamp(28px, 6vw, 64px);
  text-align: center;
}

.page-card {
  min-height: 52svh;
  padding: clamp(30px, 7vw, 78px);
}

.eyebrow {
  position: relative;
  margin: 0 0 12px;
  color: var(--gold-soft);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  position: relative;
  margin-top: 0;
}

h1 {
  max-width: 900px;
  margin: 0 auto 18px;
  font-size: clamp(2rem, 6vw, 4.4rem);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -0.05em;
}

.page-card h1 {
  margin-inline: 0;
}

p {
  color: var(--muted);
  font-size: clamp(1rem, 2.2vw, 1.1rem);
}

.intro-card p:not(.eyebrow),
.page-card p:not(.eyebrow) {
  max-width: 760px;
  margin-inline: auto;
}

.page-card p:not(.eyebrow) {
  margin-inline: 0;
}

.button-row {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 30px;
}


.home-link-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  max-width: 1120px;
  margin: 0 auto;
}

.nav-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 12px 16px;
  border: 1px solid rgba(214, 170, 69, 0.48);
  border-radius: 16px;
  color: var(--gold-soft);
  background: rgba(5, 5, 5, 0.62);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(10px);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.nav-button:hover {
  transform: translateY(-2px);
  border-color: rgba(244, 217, 141, 0.78);
  background: rgba(214, 170, 69, 0.12);
}

.nav-button-line,
.site-nav-line {
  color: var(--white);
  border-color: rgba(6, 199, 85, 0.56);
  background: linear-gradient(135deg, #0bdc65, var(--line) 56%, #02943d);
  box-shadow: 0 16px 36px rgba(6, 199, 85, 0.2);
}

.site-nav-line {
  padding: 8px 14px;
  border: 1px solid rgba(6, 199, 85, 0.5);
  border-radius: 999px;
}

.site-nav-line::after {
  display: none;
}

.gold-button,
.line-button,
.outline-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 900;
  letter-spacing: 0.05em;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.gold-button {
  color: #15100a;
  background: linear-gradient(135deg, var(--gold-soft), var(--gold) 58%, var(--gold-deep));
  box-shadow: 0 18px 40px rgba(214, 170, 69, 0.22);
}

.line-button {
  color: var(--white);
  background: linear-gradient(135deg, #0bdc65, var(--line) 55%, #02943d);
  box-shadow: 0 18px 40px rgba(6, 199, 85, 0.22);
}

.outline-button {
  color: var(--gold-soft);
  border: 1px solid rgba(214, 170, 69, 0.5);
  background: rgba(255, 255, 255, 0.04);
}

.gold-button:hover,
.line-button:hover,
.outline-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 52px rgba(214, 170, 69, 0.2);
}

.page-hero {
  padding: clamp(42px, 7vw, 76px) 0 0;
}

.page-title {
  display: grid;
  gap: 10px;
  padding-bottom: clamp(22px, 4vw, 36px);
  border-bottom: 1px solid var(--edge);
}

.page-title h1 {
  margin-bottom: 0;
}

.notice-box {
  position: relative;
  display: grid;
  gap: 12px;
  max-width: 760px;
  margin-top: 34px;
  padding: clamp(22px, 5vw, 34px);
  border: 1px solid rgba(214, 170, 69, 0.28);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.055);
}

.notice-box h2 {
  margin-bottom: 0;
  color: var(--white);
  font-size: clamp(1.4rem, 4vw, 2.1rem);
  line-height: 1.3;
}

.notice-box p {
  margin-bottom: 0;
}

.site-footer {
  padding: 34px 0 46px;
  color: var(--white);
  background:
    radial-gradient(circle at 0% 0%, rgba(214, 170, 69, 0.14), transparent 28%),
    #030303;
  border-top: 1px solid var(--edge);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  min-width: 0;
  padding: 6px 0;
  color: var(--gold-soft);
  font-family: Georgia, "Times New Roman", "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(1.5rem, 3vw, 2.55rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.01em;
  text-shadow:
    0 0 16px rgba(214, 170, 69, 0.22),
    0 2px 12px rgba(0, 0, 0, 0.72);
  white-space: nowrap;
}

.footer-brand .brand-logo,
.footer-service {
  display: none;
}

.footer-brand-text {
  display: block;
}

.footer-company {
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
  line-height: inherit;
  text-shadow: inherit;
  white-space: nowrap;
}

.footer-inner p {
  margin: 0;
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.84rem;
  text-align: right;
}

@media (max-width: 820px) {
  .site-header {
    display: grid;
    justify-items: center;
    gap: 8px;
    min-height: auto;
    padding: 10px 12px 12px;
  }

  .brand {
    gap: 8px;
    font-size: 0.84rem;
    letter-spacing: 0.08em;
  }

  .brand-logo {
    width: 38px;
    height: 38px;
  }

  .site-nav {
    width: 100%;
    justify-content: center;
    gap: 6px 14px;
    font-size: 0.72rem;
    letter-spacing: 0.06em;
  }

  .site-nav a {
    padding: 4px 0;
  }

  .site-nav .site-nav-line {
    padding: 5px 12px;
  }

  .hero {
    padding-top: 6px;
  }

  .hero::before {
    background:
      linear-gradient(180deg, rgba(0, 0, 0, 0.08), transparent 45%, rgba(0, 0, 0, 0.28)),
      radial-gradient(circle at 50% 96%, rgba(214, 170, 69, 0.16), transparent 42%);
  }

  .hero::after {
    background: linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, 0.76) 100%);
  }

  .hero-media {
    padding-inline: 6px;
  }

  .hero-image {
    max-height: none;
  }

  .hero-content {
    margin-bottom: clamp(10px, 3vw, 24px);
    text-align: center;
  }

  .intro-section,
  .page-main {
    padding-top: 28px;
  }

  .home-link-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .nav-button-line {
    grid-column: 1 / -1;
  }

  .button-row {
    display: grid;
  }

  .gold-button,
  .line-button,
  .outline-button {
    width: 100%;
    min-height: 58px;
  }

  .footer-inner {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
  }

  .footer-inner p {
    text-align: center;
  }
}

@media (max-width: 768px) {
  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  .container {
    width: min(100% - 24px, 1120px);
  }

  .hero {
    padding: 4px 0 8px;
  }

  .hero::before {
    background:
      linear-gradient(180deg, rgba(0, 0, 0, 0.34) 0%, rgba(0, 0, 0, 0.38) 42%, rgba(0, 0, 0, 0.62) 100%),
      radial-gradient(circle at 50% 96%, rgba(214, 170, 69, 0.12), transparent 40%);
  }

  .hero::after {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.14) 0%, rgba(0, 0, 0, 0.48) 48%, rgba(0, 0, 0, 0.88) 100%);
  }

  .hero-media {
    width: 100%;
    padding-inline: 0;
  }

  .hero-content {
    display: flex;
    justify-content: center;
    padding-inline: 12px;
    margin-bottom: 6px;
  }

  .home-link-grid {
    width: min(100%, 390px);
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .nav-button {
    min-height: 42px;
    padding: 8px 10px;
    border-radius: 12px;
    background: rgba(5, 5, 5, 0.78);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.34);
    font-size: 0.72rem;
    letter-spacing: 0.06em;
    backdrop-filter: blur(12px);
  }

  .nav-button-line {
    grid-column: 1 / -1;
  }

  .site-footer {
    padding: 22px 0 14px;
  }

  .footer-inner {
    width: min(100% - 24px, 1120px);
    gap: 10px;
    align-items: center;
    justify-content: center;
    text-align: center;
  }

  .footer-brand {
    justify-content: center;
    width: 100%;
    max-width: 90vw;
    min-width: 0;
    padding: 2px 0;
    text-align: center;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .footer-brand .brand-logo {
    max-width: 90vw;
    width: 100%;
    height: auto;
    object-fit: contain;
  }

  .footer-brand-text,
  .footer-company {
    max-width: 90vw;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .footer-inner p {
    max-width: 90vw;
    margin-inline: auto;
    font-size: 0.72rem;
    line-height: 1.6;
    text-align: center;
    overflow-wrap: anywhere;
  }
}

@media (max-width: 480px) {
  .container {
    width: min(100% - 24px, 1120px);
  }

  .site-header .brand span {
    max-width: 260px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .footer-brand,
  .footer-brand .footer-brand-text,
  .footer-brand .footer-brand-text span {
    max-width: 90vw;
    overflow: visible;
    text-overflow: clip;
    white-space: normal;
  }

  .site-nav {
    gap: 4px 10px;
    font-size: 0.66rem;
  }

  .hero {
    padding-bottom: 12px;
  }

  .hero-content {
    margin-bottom: 8px;
  }

  .home-link-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nav-button {
    min-height: 40px;
    padding: 7px 8px;
    font-size: 0.68rem;
  }

  .nav-button-line {
    grid-column: 1 / -1;
  }

  .intro-card,
  .page-card {
    border-radius: 22px;
  }

  h1 {
    font-size: clamp(1.78rem, 9.4vw, 2.9rem);
  }
}
