:root {
  --bg: #0c0a08;
  --bg-elevated: #151210;
  --bg-soft: #1c1814;
  --text: #f5efe6;
  --text-soft: #e8dcc8;
  --muted: #a89884;
  --gold: #d4af37;
  --gold-light: #f0e6c8;
  --gold-dark: #8b6914;
  --gold-mid: #c9a227;
  --accent: var(--gold-mid);
  --accent-2: #e8c547;
  --border-gold: rgba(212, 175, 55, 0.35);
  --glow-gold: rgba(232, 197, 71, 0.45);
  --panel-gap: 9rem;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  font-family: "Noto Sans JP", sans-serif;
  color: var(--text);
  background-color: var(--bg);
  background-image:
    radial-gradient(ellipse 100% 80% at 50% -30%, rgba(139, 105, 20, 0.35), transparent 55%),
    radial-gradient(ellipse 60% 50% at 100% 50%, rgba(212, 175, 55, 0.06), transparent 45%),
    radial-gradient(ellipse 50% 40% at 0% 80%, rgba(212, 175, 55, 0.05), transparent 40%),
    linear-gradient(165deg, #0f0c09 0%, var(--bg) 38%, #080706 100%);
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.55;
  background-image: repeating-linear-gradient(
    -28deg,
    transparent,
    transparent 72px,
    rgba(212, 175, 55, 0.022) 72px,
    rgba(212, 175, 55, 0.022) 73px
  );
}

body > * {
  position: relative;
  z-index: 1;
}


/* --- AM-AI 独自ネームスペース --- */
:root {
  --amai-gold-gradient: linear-gradient(135deg, #b8860b 0%, #f7e6a1 50%, #d4af37 100%);
  --amai-bg-black: #0a0a0a;
}

/* セクション外枠 */
.amai-hero-container {
  background-color: var(--amai-bg-black);
  text-align: center;
  padding: 60px 20px;
}

/* サブコピー：AIの精密な解析 × プロの冷徹な判断 */
.amai-txt-lead {
  display: block;
  color: #d4af37;
  font-size: 1.1rem;
  font-weight: 300;
  letter-spacing: 0.25em;
  margin-bottom: 1.5rem;
  opacity: 0.9;
}

/* メインコピー：あなたの資産を、かつてない高みへ。 */
.amai-ttl-main {
  background: var(--amai-gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: clamp(1.8rem, 6vw, 3.8rem);
  font-weight: 800;
  letter-spacing: 0.08em;
  margin: 0;
  filter: drop-shadow(0 4px 6px rgba(0,0,0,0.5));
}

/* 境界線 */
.amai-hr-divider {
  width: 80px;
  height: 1px;
  background: var(--amai-gold-gradient);
  border: none;
  margin: 2.5rem auto 0;
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

/* レスポンシブ */
@media (max-width: 768px) {
  .amai-txt-lead {
    font-size: 0.9rem;
    letter-spacing: 0.15em;
  }
}

/* ─── ヒーロースプラッシュ ─── */
.hero-splash {
  position: relative;
  overflow: hidden;
  padding: clamp(2.5rem, 7vw, 5rem) 0 clamp(2rem, 5vw, 3.5rem);
  text-align: center;
  border-bottom: 1px solid var(--border-gold);
  background-color: #0a0908;
  /* top.png（background の3層目）— 768px 以下は @media 内で上書き */
  --hero-bg-photo-size: cover;
  --hero-bg-photo-position: center;
  /* 手前から：読みやすさ用のベール → ゴールドの光 → top.png */
  background-image:
    linear-gradient(
      180deg,
      rgba(8, 7, 6, 0.78) 0%,
      rgba(8, 7, 6, 0.42) 42%,
      rgba(8, 7, 6, 0.85) 100%
    ),
    radial-gradient(ellipse 90% 55% at 50% 18%, rgba(212, 175, 55, 0.16), transparent 58%),
    url("./img/top.png");
  background-size: 100% 100%, 100% 100%, var(--hero-bg-photo-size);
  background-position: center, center, var(--hero-bg-photo-position);
  background-repeat: no-repeat;
}

/* 狭い幅では cover だと横いっぱい優先で上下が大きく欠ける → 画像全体を収める */
@media (max-width: 768px) {
  .hero-splash {
    /* スマホ用 top.png の微調整はこの2変数（例: position を center 42% など） */
    --hero-bg-photo-size: contain;
    --hero-bg-photo-position: center 0px;
  }
}
/* --- レイアウトとサイズ感に特化した調整 --- */
/* ヒーロー帯内：topai の直下に btn（flex + 可変幅で重なり防止） */
.hero-splash__cta-band .amai-btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
  max-width: 100%;
  width: auto;
  height: auto;
  min-width: 0;
  border: none;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  line-height: 0;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  position: relative;
  z-index: 2;
}

.hero-splash__cta-band .amai-btn-cta:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: 4px;
  border-radius: 8px;
}

.hero-splash__cta-band .amai-btn-cta:hover .amai-btn-icon {
  opacity: 0.92;
}

.hero-splash__cta-band .amai-btn-icon {
  display: block;
  width: min(320px, 100%);
  max-width: 100%;
  height: auto;
  object-fit: contain;
  transition: opacity 0.2s ease;
}

.hero-splash__glow {
  position: absolute;
  top: -45%;
  left: -25%;
  right: -25%;
  height: 90%;
  background: radial-gradient(
    ellipse 65% 48% at 50% 5%,
    rgba(232, 197, 71, 0.14),
    transparent 72%
  );
  pointer-events: none;
}

@keyframes hero-splash-in {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hero-mega-rise {
  from {
    opacity: 0;
    transform: translate3d(0, 30px, -180px) scale(0.9);
    filter: blur(10px);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
    filter: blur(0);
  }
}

@keyframes hero-lead-slide {
  from {
    opacity: 0;
    transform: translateX(56px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.hero-splash__inner {
  position: relative;
  z-index: 1;
  max-width: 920px;
}

.hero-splash__inner > * {
  animation: hero-splash-in 0.75s cubic-bezier(0.16, 1, 0.3, 1) backwards;
}

.hero-splash__inner > *:nth-child(1) {
  animation-delay: 0.04s;
}

.hero-splash__inner > *:nth-child(2) {
  animation-delay: 0.12s;
}

.hero-splash__inner > *:nth-child(3) {
  animation-delay: 0.22s;
}

.hero-splash__inner > *:nth-child(4) {
  animation-delay: 0.32s;
}

.hero-splash__kicker {
  margin: 0 0 1rem;
  font-family: "Cormorant Garamond", "Noto Serif JP", serif;
  font-size: clamp(0.8rem, 1.8vw, 0.95rem);
  font-weight: 600;
  font-style: italic;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-light);
  text-shadow: 0 0 24px rgba(212, 175, 55, 0.35);
}

.hero-splash__mega {
  margin: 0 0 1.25rem;
  font-family: "Noto Serif JP", serif;
  font-weight: 700;
  font-size: clamp(2.1rem, 7vw, 5.75rem);
  line-height: 1.05;
  letter-spacing: 0.02em;
  text-shadow: 0 0 48px rgba(212, 175, 55, 0.2);
  perspective: 1000px;
  color: var(--text);
}

.hero-splash__mega-line {
  display: block;
  opacity: 0;
  transform: translate3d(0, 30px, -180px) scale(0.9);
  filter: blur(10px);
  animation: hero-mega-rise 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-splash__mega-line:nth-child(1) {
  animation-delay:0.5s;
}

.hero-splash__mega-line:nth-child(2) {
  animation-delay: 1s;
}

.hero-splash__mega-line--accent {
  background: linear-gradient(
    110deg,
    #fff8e8 0%,
    var(--gold-light) 28%,
    var(--gold) 52%,
    var(--gold-mid) 78%,
    #b8860b 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  filter: drop-shadow(0 0 20px rgba(212, 175, 55, 0.55));
}

.hero-splash__inner .hero-splash__lead {
  animation: none;
}

.hero-splash__lead {
  margin: 0 auto 1.75rem;
  max-width: 36em;
  font-size: clamp(0.95rem, 2.4vw, 1.15rem);
  line-height: 1.75;
  color: var(--muted);
  font-weight: 500;
}

.hero-splash__lead-line {
  display: block;
  opacity: 0;
  transform: translateX(56px);
  animation: hero-lead-slide 0.72s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-splash__lead-line:nth-child(1) {
  animation-delay: 1.9s;
}

.hero-splash__lead-line:nth-child(2) {
  animation-delay: 2.2s;
}

.hero-splash__lead-line:nth-child(3) {
  animation-delay: 2.5s;
}

.hero-splash__cta-band {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: min(100%, 780px);
  margin-inline: auto;
  /* 帯ブロック全体を下げる量（リード文との間隔） */
  --cta-band-offset-top: 1.5rem;
  margin-top: var(--cta-band-offset-top);
  /* topai と btn の縦のあいだ（「すぐ下」＋端末差の吸収） */
  --cta-band-stack-gap: clamp(0.35rem, 2vw, 0.85rem);
  gap: var(--cta-band-stack-gap);
  /* 帯画像サイズ調整: 幅の比率・上限px・背後のずれ */
  --topai-img-width: 100%;
  --topai-img-max-width: 100%;
  --topai-img-shift-y: -40px;
}

@media (max-width: 768px) {
  .hero-splash__cta-band {
    /* 狭い画面では上方向シフトを弱め、上段テキストとの干渉を減らす */
    --topai-img-shift-y: -5px;
    --cta-band-stack-gap: clamp(-1rem, 1vw, 2rem);
  }
  
  /* アニメーションの定義：スケールを変化させて前後感を出す */
@keyframes push-pull {
  0% {
    transform: scale(0.95); /* 奥にある状態 */
    filter: brightness(0.9); /* 少し暗くして距離感を出す */
  }
  50% {
    transform: scale(1.05); /* 手前に迫る状態 */
    filter: brightness(1.1); /* 明るくして強調 */
  }
  100% {
    transform: scale(0.95);
  }
}

/* クラスに適用 */
.amai-btn-icon {
  display: block;
  margin: 0 auto;
  /* ease-in-outで加減速をつけると、より物理法則に従ってるっぽくなる */
  animation: push-pull 2.5s infinite ease-in-out;
  will-change: transform; /* ブラウザに最適化を促すおまじない */
}

  .hero-splash__cta-band .amai-btn-icon {
    width: min(300px, calc(100vw - 2rem));
  }
}

@media (max-width: 380px) {
  .hero-splash__cta-band {
    --topai-img-shift-y: -8px;
  }
}

.hero-splash__cta-band .topai-img {
  display: block;
  width: var(--topai-img-width);
  max-width: var(--topai-img-max-width);
  margin-inline: auto;
  height: auto;
  transform: translate(var(--topai-img-shift-x), var(--topai-img-shift-y));
  pointer-events: none;
  user-select: none;
}

@media (prefers-reduced-motion: reduce) {
  .hero-splash__lead-line {
    opacity: 1;
    transform: none;
    animation: none;
  }

  .hero-splash__inner > .hero-splash__cta-band {
    animation: none;
    opacity: 1;
    transform: none;
  }

  .hero-splash__inner > .hero-splash__ailist-wrap {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

/* リード3行（最遅 2.5s + hero-lead-slide 0.72s）のあとに帯＋CTA・ailist を表示 */
.hero-splash__inner > .hero-splash__cta-band {
  animation-delay: 3.05s;
}

.hero-splash__inner > .hero-splash__ailist-wrap {
  /* ailist 上下まわりの調整（ここだけ編集して OK） */
  --ailist-margin-top: 0.65rem; /* 帯から離す量・大きいほど下 */
  --ailist-margin-bottom: 0; /* 画像の下の余白 */
  --ailist-translate-y: 28px; /* 画像のみ移動・正で下・負で上（レイアウトの余白は不変） */
  --ailist-max-width: 640px; /* 画像の最大幅 */
  margin-top: var(--ailist-margin-top);
  margin-bottom: var(--ailist-margin-bottom);
  animation-delay: 3.05s;
}

.hero-splash__ailist-wrap .hero-splash__ailist {
  display: block;
  width: min(100%, var(--ailist-max-width));
  height: auto;
  margin-inline: auto;
  transform: translateY(var(--ailist-translate-y));
}

@media (max-width: 600px) {
  .hero-splash__mega-line:not(.hero-splash__mega-line--accent) {
    font-size: 0.92em;
  }
}

.container {
  width: min(1120px, 92vw);
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  background: linear-gradient(180deg, rgba(12, 10, 8, 0.92), rgba(12, 10, 8, 0.78));
  border-bottom: 1px solid var(--border-gold);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.logo {
  margin: 0;
  font-family: "Cormorant Garamond", "Noto Serif JP", serif;
  font-weight: 700;
  letter-spacing: 0.14em;
  font-size: clamp(0.82rem, 1.6vw, 0.95rem);
  background: linear-gradient(90deg, var(--gold-light), var(--gold), var(--gold-mid));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.header-cta,
.primary-btn {
  display: inline-block;
  text-decoration: none;
  color: #1a1208;
  font-weight: 700;
  border: 1px solid rgba(255, 248, 232, 0.25);
  border-radius: 999px;
  padding: 0.78rem 1.35rem;
  cursor: pointer;
  background: linear-gradient(
    145deg,
    var(--gold-light) 0%,
    var(--accent-2) 38%,
    var(--gold-mid) 100%
  );
  box-shadow:
    0 4px 20px rgba(0, 0, 0, 0.35),
    0 0 24px rgba(212, 175, 55, 0.2);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.header-cta:hover,
.primary-btn:hover {
  transform: translateY(-2px);
  box-shadow:
    0 8px 28px rgba(0, 0, 0, 0.4),
    0 0 36px rgba(232, 197, 71, 0.35);
}

main {
  padding: 2rem 0 6rem;
}

.panel {
  min-height: auto;
  display: flex;
  align-items: center;
  padding: clamp(3rem, 4.8vw, 5rem) 0;
  margin-bottom: clamp(1.5rem, 2.8vw, 2.75rem);
}

.panel-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(1.5rem, 2.6vw, 3rem);
  align-items: center;
}

.panel-text {
  min-width: 0;
}

.panel-hero {
  min-height: min(72vh, 760px);
}

.panel-hero .panel-grid {
  align-items: start;
}

.eyebrow {
  margin: 0 0 0.9rem;
  font-family: "Cormorant Garamond", serif;
  font-size: 0.82rem;
  font-weight: 600;
  font-style: italic;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-mid);
  text-shadow: 0 0 20px rgba(212, 175, 55, 0.25);
}

h1,
h2,
h3 {
  margin-top: 0;
  line-height: 1.22;
  font-family: "Noto Serif JP", serif;
  font-weight: 700;
  letter-spacing: 0.02em;
}

h1 {
  font-size: clamp(2rem, 5vw, 4rem);
  margin-bottom: 1rem;
  background: linear-gradient(180deg, var(--text) 0%, var(--gold-light) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  filter: drop-shadow(0 2px 24px rgba(0, 0, 0, 0.5));
}

h2 {
  font-size: clamp(1.8rem, 3.6vw, 2.8rem);
  margin-bottom: 1.25rem;
  color: var(--text-soft);
}

h3 {
  font-size: 1.15rem;
  color: var(--gold-light);
}

.lead {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.85;
  margin-bottom: 2rem;
  max-width: 54ch;
}

.lead strong {
  color: var(--text-soft);
  font-weight: 700;
}

.panel-hero-cta-stack {
  position: relative;
  display: block;
  width: fit-content;
  max-width: min(320px, 100%);
  margin-inline: auto;
}

.panel-hero-cta-img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.4));
}

.panel-hero-cta-stack .panel-hero-cta-btn {
  position: absolute;
  left: 50%;
  top: 85%;
  transform: translate(-50%, -50%);
  white-space: nowrap;
  z-index: 1;
}

.panel-hero-cta-stack .panel-hero-cta-btn:hover {
  transform: translate(-50%, calc(-50% - 2px));
}

.panel-hero-cta-stack .panel-hero-cta-btn:active {
  transform: translate(-50%, calc(-50% + 1px));
}

.glass {
  background: linear-gradient(
    145deg,
    rgba(255, 248, 232, 0.06) 0%,
    rgba(28, 24, 20, 0.65) 45%,
    rgba(12, 10, 8, 0.85) 100%
  );
  border: 1px solid var(--border-gold);
  border-radius: 16px;
  box-shadow:
    inset 0 1px 0 rgba(255, 248, 232, 0.06),
    0 12px 40px rgba(0, 0, 0, 0.35);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.panel-card {
  padding: 2rem;
}

.panel-card p {
  margin: 0.2rem 0;
  color: var(--muted);
  font-size: 0.88rem;
  letter-spacing: 0.06em;
}

.panel-card strong {
  display: block;
  margin-bottom: 1.1rem;
  font-size: 1.05rem;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  color: var(--gold-light);
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.card {
  padding: 1.5rem 1.35rem;
}

.cards-stagger .card {
  opacity: 0;
  transform: translateX(var(--slide-from, -64px));
  transition: transform 750ms cubic-bezier(0.16, 1, 0.3, 1),
    opacity 650ms ease;
  will-change: transform, opacity;
}

.cards-stagger .card:nth-child(odd) {
  --slide-from: -64px;
}

.cards-stagger .card:nth-child(even) {
  --slide-from: 64px;
}

.cards-stagger.is-inview .card {
  opacity: 1;
  transform: translateX(0);
}

.cards-stagger.is-inview .card:nth-child(1) {
  transition-delay: 0s;
}

.cards-stagger.is-inview .card:nth-child(2) {
  transition-delay: 0.16s;
}

.cards-stagger.is-inview .card:nth-child(3) {
  transition-delay: 0.32s;
}

/* SERVICE FLOW：スライド */
.flow-slider {
  margin-top: clamp(1.75rem, 3.5vw, 2.75rem);
  width: 100%;
}

.flow-slider__viewport {
  overflow: hidden;
  border-radius: 12px;
}

.flow-slider__track {
  display: flex;
  transition: transform 0.55s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.flow-slider__slide {
  flex: 0 0 100%;
  min-width: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.flow-slider__caption {
  margin: 0 0 0.65rem;
  padding: 0;
  text-align: center;
  font-family: "Noto Serif JP", serif;
  font-size: clamp(0.95rem, 1.9vw, 1.12rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--gold-light);
}

.flow-slider__slide img {
  display: block;
  width: 100%;
  max-width: 700px;
  height: auto;
  margin-left: auto;
  margin-right: auto;
  aspect-ratio: 700 / 800;
  object-fit: contain;
  vertical-align: middle;
  filter: drop-shadow(0 12px 28px rgba(0, 0, 0, 0.45));
}

.flow-slider__dots {
  display: flex;
  gap: 0.45rem;
  align-items: center;
  justify-content: center;
  margin-top: 0.75rem;
}

.flow-slider__dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.25);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.flow-slider__dot:hover {
  background: rgba(212, 175, 55, 0.45);
}

.flow-slider__dot.is-active {
  background: linear-gradient(145deg, var(--accent-2), var(--gold-mid));
  transform: scale(1.25);
  box-shadow: 0 0 14px rgba(232, 197, 71, 0.45);
}

@media (prefers-reduced-motion: reduce) {
  .flow-slider__track {
    transition: none;
  }
}

.card span {
  display: inline-flex;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.78rem;
  margin-bottom: 0.8rem;
  color: #1a1208;
  background: linear-gradient(145deg, var(--gold-light), var(--gold-mid));
  border: 1px solid rgba(255, 248, 232, 0.35);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}

.card p {
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 0;
}

.feature-list {
  margin: 1rem 0 0;
  padding: 1.2rem 1.4rem 1.2rem 2rem;
  line-height: 1.9;
  color: var(--muted);
}

.feature-list li strong {
  color: var(--gold-light);
  font-family: "Noto Serif JP", serif;
}

.feature-list p {
  margin: 0.75rem 0 0;
}

.quote {
  margin: 0;
  padding: 2rem;
}

.quote p {
  margin-top: 0;
  font-size: 1.1rem;
  line-height: 1.8;
}

.quote cite {
  color: var(--accent-2);
  font-style: normal;
  font-weight: 600;
}

.contact {
  padding: 2.4rem;
  text-align: center;
}

.contact h2 {
  margin-left: auto;
  margin-right: auto;
}

.contact p {
  max-width: 42ch;
  margin-left: auto;
  margin-right: auto;
}

.line-actions {
  margin-top: 1.4rem;
}

.line-note {
  margin-top: 0.9rem;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.reveal {
  opacity: 0;
  filter: blur(6px);
  transition: transform 900ms cubic-bezier(0.2, 0.8, 0.2, 1),
    opacity 900ms ease,
    filter 900ms ease;
}

.reveal-right {
  transform: translateX(140px);
}

.reveal-down {
  transform: translateY(120px);
}

.reveal-left {
  transform: translateX(-140px);
}

.reveal-up {
  transform: translateY(120px) scale(0.98);
}

.reveal.is-visible {
  opacity: 1;
  transform: translate(0, 0) scale(1);
  filter: blur(0);
}

@media (max-width: 900px) {
  :root {
    --panel-gap: 5rem;
  }

  .panel {
    min-height: auto;
    padding: 2.5rem 0;
    margin-bottom: 1.5rem;
  }

  .panel-grid,
  .cards {
    grid-template-columns: 1fr;
  }

  .reveal {
    opacity: 1;
    filter: none;
    transform: none;
    transition: none;
  }

  .cards-stagger .card {
    opacity: 1;
    transform: none;
    transition: none;
  }

  h1 {
    -webkit-text-fill-color: var(--text);
    color: var(--text);
    background: none;
    filter: none;
  }
}

@media (min-width: 901px) {
  .panel-grid {
    grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.95fr);
  }

  .cards {
    align-items: stretch;
  }

  .card {
    height: 100%;
  }

  .contact.glass {
    max-width: 720px;
    margin-inline: auto;
  }
}

.copyright {
  display: block;
  text-align: center;
  padding: 2rem 0;
  font-size: 0.75rem; /* 小さめ */
  letter-spacing: 0.15em; /* 文字間隔を広げて高級感を出す */
  color: var(--muted);
  border-top: 1px solid rgba(212, 175, 55, 0.1); /* 薄い境界線 */
  font-family: "Cormorant Garamond", serif;
}
