/*!
  Grantage Hijiri — custom styles (Tailwind via CDN for utilities)
  Theme: charcoal base + deep gold accents, white text
*/
:root {
  --color-ink: #f5f1e8;
  --color-muted: #b7b0a3;
  --color-sage: #d4af37;
  --color-sage-light: #e0c267;
  --color-mist: #1a1a1a;
  --color-leaf: #aa7c11;
  --color-sand: #d4af37;
  --color-cream: #050505;
  --color-accent: #e0c267;
  --color-navy: #050505;
  --color-blue: #d4af37;
  --color-gold: #d4af37;
  --color-gold-deep: #aa7c11;
  --color-gold-gradient: linear-gradient(135deg, #d4af37 0%, #aa7c11 50%, #d4af37 100%);
  --color-gold-metal: linear-gradient(
    168deg,
    #f0e6c0 0%,
    #e0c267 22%,
    #d4af37 48%,
    #aa7c11 78%,
    #c4a02a 100%
  );
  --color-gold-line: linear-gradient(
    90deg,
    transparent 0%,
    rgba(212, 175, 55, 0.15) 8%,
    #d4af37 28%,
    #aa7c11 50%,
    #d4af37 72%,
    rgba(212, 175, 55, 0.15) 92%,
    transparent 100%
  );
  --color-gold-line-v: linear-gradient(
    180deg,
    transparent 0%,
    rgba(212, 175, 55, 0.15) 8%,
    #d4af37 28%,
    #aa7c11 50%,
    #d4af37 72%,
    rgba(212, 175, 55, 0.15) 92%,
    transparent 100%
  );
  --color-surface: #0c0c0c;
  --color-surface-2: #121212;
  --font-display: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --font-body: var(--font-display);
}

html {
  scroll-behavior: smooth;
  background: #050505;
}

body {
  font-family: var(--font-body);
  color: var(--color-ink);
  background: transparent;
}

::selection {
  color: #111;
  background: var(--color-gold);
}

.brand-name {
  font-weight: 500;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  text-decoration: none;
}

.brand-lockup__text {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 0.1rem;
  line-height: 1.25;
}

/* Metal gold text: labels, nav, links (not fill buttons) */
.brand-name,
.text-gold-lux,
.text-gold,
.text-sand,
.text-sage,
.text-leaf,
.text-accent,
.text-\[\#2f5d50\],
.text-gold\/80,
.text-sand\/90,
.hover\:text-gold:hover,
.hover\:text-sage:hover,
.move-in-step__num,
.move-in-flow__arrow,
.news-page--link,
.thanks-screen__kicker,
.news-item:hover .font-medium {
  background-image: var(--color-gold-metal) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  color: transparent !important;
  -webkit-text-fill-color: transparent !important;
}

.text-gold\/80 {
  opacity: 0.86;
}

/* Keep solid fill controls readable (exclude from metal clip) */
.gold-button,
.gold-button:hover,
.bg-\[\#2f5d50\],
.news-page--current,
.news-page--link:hover,
[data-gallery-filter].is-active {
  background-image: var(--color-gold-gradient) !important;
  -webkit-background-clip: border-box !important;
  background-clip: border-box !important;
  color: #16130c !important;
  -webkit-text-fill-color: #16130c !important;
  opacity: 1;
}

.gold-button,
.gold-button:hover {
  background-image: var(--color-gold-gradient) !important;
}

@supports not ((-webkit-background-clip: text) or (background-clip: text)) {
  .brand-name,
  .text-gold-lux,
  .text-gold,
  .text-sand,
  .text-sage,
  .text-leaf,
  .text-accent,
  .text-\[\#2f5d50\],
  .text-gold\/80,
  .text-sand\/90,
  .hover\:text-gold:hover,
  .hover\:text-sage:hover,
  .move-in-step__num,
  .move-in-flow__arrow,
  .news-page--link,
  .thanks-screen__kicker,
  .news-item:hover .font-medium {
    background-image: none !important;
    color: #d4af37 !important;
    -webkit-text-fill-color: #d4af37 !important;
  }
}

.hero-plane .brand-name {
  letter-spacing: 0.12em;
  line-height: 1.25;
  filter: drop-shadow(0 1px 0 rgba(170, 124, 17, 0.35))
    drop-shadow(0 8px 28px rgba(0, 0, 0, 0.45));
}

@media (max-width: 767px) {
  .hero-plane h1.brand-name {
    max-width: none;
    white-space: nowrap;
    font-size: clamp(1.65rem, 8.2vw, 2.75rem);
    letter-spacing: 0.06em;
    line-height: 1.2;
  }
}

.message-photo {
  margin: 0;
  max-width: 22rem;
}

.message-photo__img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  background: #121212;
  border: 1px solid rgba(212, 175, 55, 0.4);
}

@media (max-width: 767px) {
  .message-photo {
    max-width: 11rem;
    margin-inline: 0;
  }
}

.bg-atmosphere {
  background: transparent;
}

.site-parallax {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-color: #050505;
  background-image:
    linear-gradient(
      180deg,
      rgba(5, 5, 5, 0.62) 0%,
      rgba(5, 5, 5, 0.48) 40%,
      rgba(5, 5, 5, 0.7) 100%
    ),
    url("../img/金横線4.jpg");
  background-size: auto, 100% 160%;
  background-position: center, center 0;
  background-repeat: no-repeat, repeat-y;
  will-change: background-position;
}

@media (prefers-reduced-motion: reduce) {
  .site-parallax {
    will-change: auto;
  }
}

.hero-plane {
  min-height: min(92vh, 820px);
  background-color: #0d0d0d;
  background-image:
    linear-gradient(
      105deg,
      rgba(13, 13, 13, 0.45) 0%,
      rgba(13, 13, 13, 0.55) 40%,
      rgba(13, 13, 13, 0.72) 100%
    ),
    url("../img/金左から.jpg");
  background-size: auto, cover;
  background-position: center, left center;
  background-repeat: no-repeat;
}

.hero-plane.is-click-next {
  cursor: pointer;
}

.philosophy-section {
  background: rgba(5, 5, 5, 0.28);
}

.message-section {
  background-color: #050505;
  background-image:
    linear-gradient(
      105deg,
      rgba(5, 5, 5, 0.72) 0%,
      rgba(5, 5, 5, 0.62) 42%,
      rgba(5, 5, 5, 0.78) 100%
    ),
    url("../img/金左から.jpg");
  background-size: auto, cover;
  background-position: center, left center;
  background-repeat: no-repeat;
}

.parallax-content-section {
  background: rgba(5, 5, 5, 0.35);
}

/* Representative greeting: denser band + left gold edge (not a card) */
.message-feature {
  position: relative;
  padding: 1.75rem 0 1.75rem 1.5rem;
  background: linear-gradient(
    90deg,
    rgba(8, 8, 8, 0.45) 0%,
    rgba(8, 8, 8, 0.2) 55%,
    transparent 100%
  );
}

.message-feature::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 2px;
  background: var(--color-gold-line-v, var(--color-gold-gradient));
}

.message-aside {
  padding-left: 1.5rem;
  opacity: 0.88;
}

.facility-summary-section {
  /* Parallax shows through; overlay denser than message for dl readability */
  background: rgba(5, 5, 5, 0.6);
}

.gallery-section {
  background-color: #050505;
  background-image:
    linear-gradient(
      180deg,
      rgba(5, 5, 5, 0.62) 0%,
      rgba(5, 5, 5, 0.55) 45%,
      rgba(5, 5, 5, 0.72) 100%
    ),
    url("../img/金真ん中.jpg");
  background-size: auto, cover;
  background-position: center, center center;
  background-repeat: no-repeat;
}

.day-flow-section {
  background:
    radial-gradient(ellipse 60% 65% at 78% 40%, rgba(196, 168, 120, 0.18), transparent 58%),
    linear-gradient(
      118deg,
      #12100e 0%,
      #1c1612 26%,
      #2a211a 52%,
      #3d3228 74%,
      #5a4a38 100%
    );
  color: #ffffff;
}

.day-flow-section__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.day-flow-section .section-title {
  color: #ffffff;
}

.day-flow-section__inner .section-title {
  width: fit-content;
  margin-inline: auto;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

/* Soften gold wash on philosophy (TOP / company) without changing other day-flow blocks */
.day-flow-section.philosophy-on-brown {
  background:
    radial-gradient(ellipse 55% 55% at 78% 40%, rgba(196, 168, 120, 0.07), transparent 62%),
    linear-gradient(
      118deg,
      #100e0c 0%,
      #161310 28%,
      #1f1914 52%,
      #2a221c 76%,
      #352c24 100%
    );
}

.philosophy-on-brown .philosophy-points__item {
  color: #ffffff;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
}

.day-flow-list {
  width: fit-content;
  max-width: 100%;
  margin-inline: auto;
  color: rgba(255, 255, 255, 0.92);
  text-align: left;
}

.day-flow-list__time {
  flex-shrink: 0;
  width: 5rem;
  color: #ffffff;
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: 0.06em;
}

.move-in-flow {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.move-in-flow__arrow {
  align-self: center;
  color: var(--color-gold);
  font-size: 1.35rem;
  line-height: 1;
  transform: rotate(90deg);
}

.move-in-step {
  display: flex;
  flex: 1 1 0;
  flex-direction: column;
  gap: 0.55rem;
  min-height: 9rem;
  padding: 1.15rem 1.1rem 1.25rem;
  color: var(--color-ink);
  background: rgba(18, 18, 18, 0.72);
  border: 1px solid rgba(212, 175, 55, 0.4);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}

.move-in-step__num {
  color: var(--color-gold);
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  line-height: 1;
}

.move-in-step__title {
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.55;
  letter-spacing: 0.04em;
}

.move-in-step__desc {
  margin-top: auto;
  color: var(--color-muted);
  font-size: 0.78rem;
  line-height: 1.7;
}

.move-in-step--final {
  color: #ffffff;
  background: var(--color-gold-gradient);
  border-color: transparent;
  box-shadow: 0 10px 28px rgba(170, 124, 17, 0.28);
}

.move-in-step--final .move-in-step__num {
  color: #ffffff;
}

.move-in-step--final .move-in-step__title {
  color: #ffffff;
  font-size: 1.15rem;
  line-height: 1.5;
}

.move-in-step--final .move-in-step__desc {
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  line-height: 1.75;
  opacity: 0.95;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}

@media (min-width: 1024px) {
  .move-in-flow {
    flex-direction: row;
    align-items: stretch;
    gap: 0.65rem;
  }

  .move-in-flow__arrow {
    transform: none;
    padding-top: 3.4rem;
  }
}

.eligibility-grid {
  list-style: none;
  margin-left: 0;
  padding: 0;
}

.eligibility-card {
  display: flex;
  flex-direction: column;
  min-height: 7.5rem;
  padding: 1rem 1.1rem;
  background: rgba(18, 18, 18, 0.72);
  border: 1px solid rgba(212, 175, 55, 0.4);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}

@media (max-width: 767px) {
  .eligibility-card {
    align-items: center;
    text-align: center;
    min-height: 0;
    padding: 0.7rem 0.55rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.14);
  }

  .eligibility-card > .text-xs {
    font-size: 0.62rem;
    letter-spacing: 0.12em;
  }

  .eligibility-card > strong {
    margin-top: 0.4rem;
    font-size: 0.82rem;
    line-height: 1.35;
  }

  .eligibility-card > .text-muted {
    margin-top: 0.25rem;
    font-size: 0.65rem;
    line-height: 1.45;
  }

  .eligibility-card br {
    display: none;
  }

  .eligibility-card--wide br {
    display: inline;
  }

  .move-in-step {
    align-items: center;
    text-align: center;
  }

  .move-in-step__desc {
    margin-top: 0.35rem;
  }
}

/* Mobile price sheet: vertical items + amounts (no horizontal scroll) */
.price-sheet {
  width: 100%;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.price-sheet__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.price-sheet__row--total {
  border-bottom: none;
  margin-top: 0.15rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(212, 175, 55, 0.35);
}

.price-sheet__label,
.price-sheet__item {
  margin: 0;
  flex: 1 1 auto;
  min-width: 0;
  font-size: 0.875rem;
  line-height: 1.45;
  color: var(--color-ink);
}

.price-sheet__amount {
  flex: 0 0 auto;
  font-size: 0.875rem;
  font-weight: 500;
  white-space: nowrap;
  color: var(--color-ink);
}

.price-sheet__row--total .price-sheet__label,
.price-sheet__row--total .price-sheet__amount {
  color: var(--color-gold);
  font-weight: 700;
  font-size: 0.95rem;
}

.price-sheet--monthly {
  border-top: none;
}

.price-plan__title {
  margin: 0 0 0.35rem;
  padding-bottom: 0.65rem;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--color-gold);
  border-bottom: 1px solid rgba(212, 175, 55, 0.45);
}

/* Desktop price tables */
.price-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.9375rem;
  line-height: 1.5;
}

.price-table thead th {
  padding: 0.9rem 1.1rem 0.9rem 0;
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  color: var(--color-gold);
  border-bottom: 1px solid rgba(212, 175, 55, 0.45);
  vertical-align: bottom;
}

.price-table tbody th,
.price-table tbody td {
  padding: 0.95rem 1.1rem 0.95rem 0;
  font-weight: 400;
  color: var(--color-ink);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  vertical-align: baseline;
}

.price-table tbody th {
  text-align: left;
}

.price-table__num,
.price-table__plan {
  text-align: right;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.price-table--compare thead th.price-table__plan,
.price-table--compare tbody td.price-table__num {
  width: 9.5rem;
  padding-left: 1.25rem;
}

.price-table tbody tr:hover th,
.price-table tbody tr:hover td {
  background: rgba(245, 241, 232, 0.04);
}

.price-table__total th,
.price-table__total td {
  padding-top: 1.15rem;
  padding-bottom: 1.15rem;
  color: var(--color-gold);
  font-weight: 700;
  font-size: 1rem;
  border-bottom: none;
  border-top: 1px solid rgba(212, 175, 55, 0.4);
  background: transparent !important;
}

.price-table__total .price-table__num {
  color: var(--color-gold);
}

.recruit-job {
  width: 100%;
  padding: 1.75rem 1.5rem;
  background: rgba(18, 18, 18, 0.88);
  border: 1px solid rgba(240, 235, 227, 0.28);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
}

@media (min-width: 768px) {
  .recruit-job {
    padding: 2.25rem 2rem;
  }
}

.recruit-job__summary {
  cursor: pointer;
  list-style: none;
}

.recruit-job__summary::-webkit-details-marker {
  display: none;
}

.recruit-job__header {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.75rem 1rem;
}

.recruit-job__hint {
  margin-left: auto;
  color: var(--color-muted);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
}

.recruit-job[open] .recruit-job__hint::after {
  content: " （閉じる）";
}

.recruit-job__badge {
  margin: 0;
  color: #f0ebe3;
  background: transparent;
  border: 1px solid rgba(240, 235, 227, 0.4);
  padding: 0.2rem 0.7rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.recruit-job__grid > div {
  padding-top: 0.75rem;
  border-top: 1px solid rgba(240, 235, 227, 0.18);
}

.recruit-pay + .recruit-pay {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(240, 235, 227, 0.12);
}

.recruit-job,
.recruit-job__detail,
.recruit-pay {
  font-size: 1rem;
  line-height: 1.75;
}

.recruit-job__header h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}

@media (min-width: 768px) {
  .recruit-job__header h2 {
    font-size: 1.5rem;
  }
}

.recruit-job__grid,
.recruit-job__grid dt,
.recruit-job__grid dd {
  font-size: 1rem;
  line-height: 1.75;
}

.recruit-pay h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.5;
}

.recruit-pay p,
.recruit-pay li {
  font-size: 1rem;
  line-height: 1.75;
  font-family: inherit;
  font-weight: 400;
}

.recruit-job__link {
  color: #f0ebe3 !important;
  -webkit-text-fill-color: #f0ebe3 !important;
  background: transparent !important;
  background-image: none !important;
  border: 1px solid rgba(240, 235, 227, 0.45);
}

.recruit-job__link:hover {
  border-color: rgba(240, 235, 227, 0.8);
  background: rgba(255, 255, 255, 0.06) !important;
}

.medical-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.medical-tag {
  display: inline-block;
  padding: 0.4rem 0.85rem;
  color: #f0ebe3;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(240, 235, 227, 0.28);
  font-size: 0.875rem;
  line-height: 1.4;
}

@media (max-width: 767px) {
  .medical-tags {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 0.45rem;
  }

  .medical-tag {
    display: flex;
    align-items: center;
    justify-content: center;
    grid-column: span 2;
    width: 100%;
    min-height: 2.5rem;
    padding: 0.45rem 0.35rem;
    text-align: center;
    font-size: 0.75rem;
    line-height: 1.35;
  }

  .medical-tag--half {
    grid-column: span 3;
  }

  .medical-tag--wide {
    grid-column: 1 / -1;
  }
}

.philosophy-points {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-left: 0;
  padding: 0;
  list-style: none;
}

.philosophy-points__item {
  width: fit-content;
  max-width: 100%;
  margin-inline: 0;
  color: #f7f1e4;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  font-weight: 500;
  line-height: 1.85;
  letter-spacing: 0.06em;
  text-align: left;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5);
}

@media (min-width: 768px) {
  .philosophy-points {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem;
    align-items: start;
  }
}

.hero-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}

.hero-media-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--hero-position, 50% 50%);
  transform-origin: var(--hero-origin, 50% 50%);
  transform: scale(1.12) translate3d(0, 0, 0);
  opacity: 0;
  transition: opacity 1.4s ease-in-out;
  will-change: transform;
}

.hero-media-img.is-active {
  opacity: 1;
}

.hero-veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(105deg, rgba(13, 13, 13, 0.92) 0%, rgba(18, 18, 18, 0.84) 46%, rgba(26, 26, 26, 0.55) 100%),
    radial-gradient(circle at 76% 38%, rgba(212, 175, 55, 0.2), transparent 34%);
  animation: soft-glow 8s ease-in-out infinite alternate;
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes soft-glow {
  from {
    opacity: 0.7;
  }
  to {
    opacity: 1;
  }
}

.animate-fade-up {
  animation: fade-up 0.9s ease-out both;
}

.animate-fade-up-delay {
  animation: fade-up 1s ease-out 0.2s both;
}

.animate-fade-up-delay-2 {
  animation: fade-up 1s ease-out 0.4s both;
}

.hero-assurance {
  border-left: none;
  background: rgba(13, 13, 13, 0.55);
  backdrop-filter: blur(5px);
  opacity: 0;
  transform: translateY(12px);
  animation: fade-up 0.8s ease-out calc(0.55s + var(--chip-i, 0) * 0.12s) both;
}

@media (max-width: 767px) {
  .hero-plane .hero-assurance {
    padding: 0.45rem 0.65rem;
    font-size: 0.7rem;
    line-height: 1.35;
  }

  .hero-plane .hero-assurance strong {
    font-size: 0.85rem;
    line-height: 1.25;
  }

  .hero-plane .animate-fade-up-delay-2.mt-7.flex {
    gap: 0.45rem;
  }

  .hero-plane .hero-cta {
    padding: 0.4rem 0.85rem;
    font-size: 0.75rem;
    line-height: 1.35;
  }

  .hero-plane .animate-fade-up-delay-2.mt-8.flex {
    gap: 0.5rem;
  }
}

.news-page--current {
  color: #16130c;
  background: var(--color-gold-gradient);
  border: 1px solid transparent;
  box-shadow: 0 4px 14px rgba(170, 124, 17, 0.35);
}

.news-page--link {
  color: var(--color-gold);
  background: transparent;
  border: 1px solid rgba(212, 175, 55, 0.65);
}

.news-page--link:hover {
  color: #16130c;
  background: var(--color-gold-gradient);
  border-color: transparent;
}

.news-item:hover .font-medium {
  color: var(--color-gold);
}

.section-title {
  width: fit-content;
  max-width: 100%;
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: 0.04em;
}

.section-title.no-accent {
  width: auto;
  max-width: 100%;
}

.thanks-screen {
  display: block;
  width: 100%;
  max-width: 40rem;
  margin: 0 auto;
  padding: 5rem 1.25rem 3rem;
  text-align: center;
  box-sizing: border-box;
}

.thanks-screen__kicker {
  margin: 0;
  color: var(--color-gold);
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  padding-inline-start: 0.25em;
  text-align: center;
}

.thanks-screen__title {
  display: block;
  width: fit-content;
  max-width: 100%;
  margin: 1rem auto 0;
  color: var(--color-ink);
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.2vw, 2.25rem);
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.6;
  text-align: center;
  text-wrap: balance;
}

.thanks-screen__title::after {
  display: none;
}

.thanks-screen__lead {
  margin: 1.5rem auto 0;
  max-width: 28rem;
  color: var(--color-muted);
  line-height: 1.8;
  text-align: center;
}

.thanks-screen__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 2.5rem;
}

.section-title:not(.no-accent)::after {
  display: none;
}

@media (prefers-reduced-motion: reduce) {
  .hero-media-img,
  .hero-veil,
  .hero-assurance,
  .animate-fade-up,
  .animate-fade-up-delay,
  .animate-fade-up-delay-2 {
    animation: none !important;
  }
}

.brand-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: #e0c267;
  font-size: 0.75rem;
  letter-spacing: 0.28em;
}

.brand-kicker::before {
  content: "";
  width: 2.5rem;
  height: 1px;
  background: var(--color-gold-gradient);
}

.gold-button {
  color: #16130c !important;
  -webkit-text-fill-color: #16130c !important;
  background: var(--color-gold-gradient) !important;
  -webkit-background-clip: border-box !important;
  background-clip: border-box !important;
  box-shadow: 0 8px 24px rgba(13, 13, 13, 0.35);
}

.gold-button:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

/* Outline gold controls: keep metal text, use inset wash instead of bg fill */
.text-gold.hover\:bg-gold\/10:hover,
.text-sage.hover\:bg-sage-soft:hover,
.text-sage.hover\:bg-sage\/10:hover {
  background-color: transparent !important;
  box-shadow: inset 0 0 0 999px rgba(212, 175, 55, 0.12);
}

.cta-bar {
  box-shadow: 0 -8px 30px rgba(13, 13, 13, 0.45);
}

.nav-link {
  position: relative;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 1px;
  background: var(--color-gold-gradient);
  transition: width 0.25s ease;
}

.nav-link:hover::after {
  width: 100%;
}

.prose-facility p {
  line-height: 1.9;
}

.flash-success {
  background: rgba(42, 107, 88, 0.28);
  color: #d9f5e8;
  border: 1px solid rgba(212, 175, 55, 0.35);
}

.flash-error {
  background: rgba(143, 74, 64, 0.35);
  color: #ffe4de;
  border: 1px solid rgba(212, 175, 55, 0.28);
}

.flash-warning {
  background: rgba(212, 175, 55, 0.16);
  color: #e0c267;
  border: 1px solid rgba(212, 175, 55, 0.4);
}

/* ---- Admin: light theme (restore pre-dark look) ---- */
.admin-shell {
  background: #f0f2f5;
  color: #111827;
}

.admin-login-shell {
  min-height: 100vh;
  background: #020c22;
}

.admin-shell .text-ink,
.admin-shell h1,
.admin-shell h2,
.admin-shell p,
.admin-shell td,
.admin-shell th,
.admin-shell label,
.admin-shell li,
.admin-shell dd,
.admin-shell dt {
  color: #111827;
}

.admin-shell .text-muted,
.admin-shell .text-xs.text-muted,
.admin-shell thead {
  color: #596273 !important;
}

.admin-shell .text-sage,
.admin-shell .text-\[\#2f5d50\] {
  background-image: none !important;
  -webkit-background-clip: border-box !important;
  background-clip: border-box !important;
  color: #2f5d50 !important;
  -webkit-text-fill-color: #2f5d50 !important;
  opacity: 1;
}

.admin-shell .bg-white,
.admin-shell .bg-\[\#f7f8f7\],
.admin-shell .bg-\[\#f3f7f5\] {
  background-color: #ffffff !important;
  color: #111827;
}

.admin-shell .bg-\[\#2f5d50\],
.admin-shell .bg-sage {
  background-color: #2f5d50 !important;
  color: #ffffff !important;
}

.admin-shell .bg-\[\#2563eb\] {
  background-color: #2563eb !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

.admin-shell .text-\[\#2563eb\] {
  background-image: none !important;
  -webkit-background-clip: border-box !important;
  background-clip: border-box !important;
  color: #2563eb !important;
  -webkit-text-fill-color: #2563eb !important;
}

.admin-shell .bg-blue-50 {
  background-color: #eff6ff !important;
}

.admin-shell .border-\[\#93c5fd\] {
  border-color: #93c5fd !important;
}

.admin-shell .text-\[\#64748b\] {
  color: #64748b !important;
  -webkit-text-fill-color: #64748b !important;
  background-image: none !important;
}

.admin-shell .border-\[\#2563eb\] {
  border-color: #2563eb !important;
}

.admin-shell .hover\:bg-\[\#1d4ed8\]:hover {
  background-color: #1d4ed8 !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

.admin-shell .border-black\/5,
.admin-shell .border-black\/10,
.admin-shell .border-black\/15,
.admin-shell .border-\[\#2f5d50\] {
  border-color: rgba(0, 0, 0, 0.12) !important;
}

.admin-shell .border-\[\#2f5d50\] {
  border-color: #2f5d50 !important;
}

.admin-shell .divide-black\/5 > :not([hidden]) ~ :not([hidden]) {
  border-color: rgba(0, 0, 0, 0.08) !important;
}

.admin-shell header {
  background: #1f1f1f !important;
  border-bottom-color: rgba(216, 179, 91, 0.4) !important;
  color: #fff;
}

.admin-shell header .brand-name,
.admin-shell header .text-gold {
  background-image: var(--color-gold-metal) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  color: transparent !important;
  -webkit-text-fill-color: transparent !important;
}

.admin-shell header a.text-white\/80 {
  color: rgba(255, 255, 255, 0.8) !important;
  background-image: none !important;
  -webkit-background-clip: border-box !important;
  background-clip: border-box !important;
  -webkit-text-fill-color: rgba(255, 255, 255, 0.8) !important;
}

.admin-shell header a.hover\:text-gold:hover {
  background-image: var(--color-gold-metal) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  color: transparent !important;
  -webkit-text-fill-color: transparent !important;
}

.admin-shell header button.text-gold {
  background-image: none !important;
  -webkit-background-clip: border-box !important;
  background-clip: border-box !important;
  color: #d8b35b !important;
  -webkit-text-fill-color: #d8b35b !important;
}

.admin-shell header button.text-gold:hover {
  background-color: rgba(216, 179, 91, 0.1) !important;
  box-shadow: none;
  filter: none;
}

.admin-shell header .text-white\/80 {
  color: rgba(255, 255, 255, 0.8) !important;
}

.admin-shell table thead {
  background: #f7f8f7 !important;
  color: #596273 !important;
}

.admin-shell table tbody tr:hover {
  background: #f3f7f5 !important;
}

.admin-shell input,
.admin-shell textarea,
.admin-shell select {
  color: #111827;
  background-color: #ffffff;
  border-color: rgba(0, 0, 0, 0.15);
}

.admin-shell .flash-success {
  background: #e8f1fb;
  color: #1e4a7a;
  border: 1px solid #b8d4f0;
}

.admin-shell .flash-error {
  background: #fcebea;
  color: #8a2f2a;
  border: 1px solid #f0c2be;
}

.admin-shell .flash-warning {
  background: #fff6e5;
  color: #7a5a12;
  border: 1px solid #ebd9a8;
}

.admin-shell .hover\:bg-\[\#2f5d50\]:hover {
  background-color: #2f5d50 !important;
  color: #ffffff !important;
}

.admin-shell .hover\:text-white:hover {
  color: #ffffff !important;
}

.admin-shell .text-red-700 {
  color: #b91c1c !important;
}

.admin-shell .text-\[\#4b5563\] {
  color: #4b5563 !important;
  -webkit-text-fill-color: #4b5563 !important;
  background-image: none !important;
}

.admin-modal {
  border: none;
  padding: 0;
  max-width: min(560px, calc(100vw - 2rem));
  width: 100%;
  background: transparent;
  color: #111827;
}

.admin-modal::backdrop {
  background: rgba(6, 26, 66, 0.45);
}

.admin-modal__panel {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 2px;
  padding: 1.25rem 1.5rem 1.5rem;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
  color: #111827;
}

.admin-modal__panel .text-muted,
.admin-modal__panel .text-xs {
  color: #596273;
}

.admin-modal__panel input,
.admin-modal__panel textarea,
.admin-modal__panel select {
  color: #111827;
  background-color: #ffffff;
  border-color: rgba(0, 0, 0, 0.15);
}

.admin-modal__panel .bg-\[\#f7f8f7\] {
  background: #f7f8f7 !important;
  color: #111827;
}

.admin-login-card,
.admin-login-card.bg-white {
  background: #ffffff !important;
  color: #111827 !important;
}

.admin-login-card .text-ink,
.admin-login-card h1,
.admin-login-card p,
.admin-login-card label {
  color: #111827;
}

.admin-login-card .text-muted {
  color: #596273 !important;
}

.admin-login-card .text-navy {
  color: #111827 !important;
}

.admin-login-card .text-sage {
  background-image: none !important;
  -webkit-background-clip: border-box !important;
  background-clip: border-box !important;
  color: #2f5d50 !important;
  -webkit-text-fill-color: #2f5d50 !important;
}

.admin-login-card input,
.admin-login-card textarea,
.admin-login-card select {
  color: #111827 !important;
  background-color: #ffffff !important;
  border-color: rgba(0, 0, 0, 0.15) !important;
}

.admin-login-card .border-black\/10,
.admin-login-card .border-black\/15 {
  border-color: rgba(0, 0, 0, 0.12) !important;
}

.inquiry-row:focus-visible {
  outline: 2px solid rgba(47, 93, 80, 0.55);
  outline-offset: -2px;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 4.5rem;
  padding: 0.25rem 0.65rem;
  border-radius: 0.125rem;
  border: 1px solid rgba(0, 0, 0, 0.15);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.3;
  white-space: nowrap;
  background: #ffffff;
  color: #111827;
  box-shadow: none;
}

.status-badge--未対応 {
  color: #111827;
  background: #e8928a;
  border-color: rgba(168, 60, 52, 0.55);
}

.status-badge--対応中 {
  color: #111827;
  background: #93c5fd;
  border-color: rgba(29, 78, 216, 0.5);
}

.status-badge--完了 {
  color: #111827;
  background: #eef0ef;
  border-color: rgba(0, 0, 0, 0.14);
}

.inquiry-cell-clamp {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 100%;
}

input,
textarea,
select {
  font-family: inherit;
  color: var(--color-ink);
  background-color: #121212;
  border-color: rgba(212, 175, 55, 0.35);
}

input::placeholder,
textarea::placeholder {
  color: rgba(183, 176, 163, 0.7);
}

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

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

[data-gallery-filter].is-active {
  background: var(--color-gold-gradient);
  color: #16130c;
  border-color: var(--color-gold);
}

.gallery-card {
  position: relative;
  border: 1px solid rgba(212, 175, 55, 0.75);
  box-shadow:
    inset 0 0 0 1px rgba(240, 230, 192, 0.12),
    0 0 0 1px rgba(170, 124, 17, 0.22);
  background: #0c0c0c;
}

.gallery-card img {
  transition: transform 0.7s ease;
}

.gallery-card:hover img,
.gallery-card:focus-within img {
  transform: scale(1.03);
}

.gallery-card__caption {
  position: absolute;
  inset: auto 0 0;
  padding: 0.65rem 0.75rem;
  font-size: 0.8125rem;
  letter-spacing: 0.04em;
  color: #fff;
  background: linear-gradient(transparent, rgba(13, 13, 13, 0.72));
  opacity: 0;
  transform: translateY(0.35rem);
  transition: opacity 0.25s ease, transform 0.25s ease;
  pointer-events: none;
}

.gallery-card:hover .gallery-card__caption,
.gallery-card:focus-within .gallery-card__caption {
  opacity: 1;
  transform: translateY(0);
}

input:focus,
textarea:focus,
select:focus {
  outline: 2px solid rgba(212, 175, 55, 0.65);
  outline-offset: 1px;
  border-color: var(--color-gold);
}

/* ---- Dark theme surface remaps (Tailwind utilities) ---- */
.bg-black {
  background-color: #050505 !important;
}

.bg-black\/95 {
  background-color: rgba(5, 5, 5, 0.95) !important;
}

.bg-navy {
  background-color: var(--color-navy) !important;
}

.bg-navy\/95 {
  background-color: rgba(5, 5, 5, 0.95) !important;
}

.bg-white,
.bg-cream,
.bg-\[\#f7f8f7\],
.bg-\[\#f3f7f5\],
.bg-\[\#f0f2f5\] {
  background-color: var(--color-surface) !important;
  color: var(--color-ink);
}

.bg-sage {
  background-color: var(--color-gold) !important;
  color: #16130c !important;
}

.bg-sage.text-white,
a.bg-sage,
button.bg-sage {
  color: #16130c !important;
}

.text-white {
  color: #ffffff !important;
}

.bg-sage.text-white {
  color: #16130c !important;
}

.text-ink {
  color: var(--color-ink) !important;
}

.text-muted,
.text-stone-600,
.text-amber-800 {
  color: var(--color-muted) !important;
}

.text-red-700 {
  color: #f0a89a !important;
}

.border-black\/5,
.border-black\/10,
.border-black\/15,
.border-sage {
  border-color: rgba(212, 175, 55, 0.28) !important;
}

.border-\[\#2f5d50\] {
  border-color: var(--color-gold) !important;
}

.hover\:bg-\[\#2f5d50\]:hover,
.hover\:bg-\[\#f3f7f5\]:hover {
  background-color: rgba(212, 175, 55, 0.14) !important;
}

.bg-\[\#2f5d50\] {
  background-color: var(--color-gold) !important;
  background-image: none !important;
  -webkit-background-clip: border-box !important;
  background-clip: border-box !important;
  color: #16130c !important;
  -webkit-text-fill-color: #16130c !important;
}

.divide-black\/5 > :not([hidden]) ~ :not([hidden]) {
  border-color: rgba(212, 175, 55, 0.18) !important;
}

footer.bg-\[\#020c22\],
footer.bg-black,
footer.bg-navy {
  background: #050505 !important;
}

/* Keep chrome gold edges only (header / footer / CTA). Mid-page gold rules removed. */
header.border-b.border-gold\/50,
.cta-bar.border-t.border-gold\/50,
footer.border-t-4.border-gold {
  border-color: transparent !important;
  border-image: var(--color-gold-line) 1;
}

.border-y-4.border-gold,
.border-t-4.border-gold,
.border-t-2.border-gold,
.border-y.border-gold\/50,
.border-t.border-gold\/60,
.border-t.border-gold\/30,
.border-b.border-gold\/20 {
  border-top-width: 0 !important;
  border-bottom-width: 0 !important;
  border-image: none !important;
}
