@charset "utf-8";

html {
  scrollbar-gutter: stable;
}

:root {
  --bg-ivory: #fffdf9;
  --bg-soft: #fbf7f1;
  --text-main: #3f352c;
  --text-sub: #8f7a66;
  --gold-deep: #d89b2c;
  --gold-soft: #f5d17b;
  --line-soft: rgba(216, 155, 44, 0.16);
  --shadow-soft: rgba(110, 78, 25, 0.08);
}

body {
width: 100%;
  background: linear-gradient(180deg, var(--bg-ivory) 0%, #ffffff 100%);
  color: var(--text-main);
  font-family: "Helvetica Neue", "Yu Gothic", "Hiragino Kaku Gothic ProN", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.is-loading {
  width: 100%;
  overflow: hidden;
  height: 100vh;
}

.opening {
	width: 100%;
  position: fixed;
  inset: 0;
  z-index: 9999;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 42%, rgba(245, 209, 123, 0.10), transparent 22%),
    radial-gradient(circle at 26% 26%, rgba(216, 155, 44, 0.05), transparent 18%),
    radial-gradient(circle at 76% 72%, rgba(216, 155, 44, 0.05), transparent 18%),
    linear-gradient(180deg, #fffefb 0%, #fbf7f1 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 1.35s ease, visibility 1.35s ease;
}

/*
.opening::before,
.opening::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: min(90vw, 1080px);
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--line-soft) 18%, rgba(216, 155, 44, 0.22) 50%, var(--line-soft) 82%, transparent 100%);
  opacity: 0.8;
}
.opening::before {
  top: 12.5vh;
}
.opening::after {
  bottom: 12.5vh;
}
*/

.opening.is-hide {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.opening__bg {
  position: absolute;
  inset: 0;
  animation: bgFloat 12s ease-in-out infinite;
}

.opening__blur {
  position: absolute;
  border-radius: 50%;
  filter: blur(36px);
  opacity: 0.42;
  pointer-events: none;
}

.opening__blur--1 {
  width: 340px;
  height: 340px;
  left: 12%;
  top: 16%;
  background: radial-gradient(circle, rgba(245, 209, 123, 0.20) 0%, rgba(245, 209, 123, 0) 72%);
  animation: blurMove1 14s ease-in-out infinite;
}

.opening__blur--2 {
  width: 420px;
  height: 420px;
  right: 9%;
  bottom: 10%;
  background: radial-gradient(circle, rgba(216, 155, 44, 0.14) 0%, rgba(216, 155, 44, 0) 72%);
  animation: blurMove2 16s ease-in-out infinite;
}

.opening__inner {
  position: relative;
  z-index: 2;
  width: min(84vw, 560px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.logo-anim {
  position: relative;
  width: min(62vw, 430px);
  padding: 42px 0;
  animation: wholeFloat 8.5s ease-in-out infinite;
}

.logo-anim::before {
  content: "";
  position: absolute;
  inset: 12% -10% 8%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.35) 45%, rgba(255, 255, 255, 0) 72%);
  filter: blur(16px);
  z-index: -1;
}

.logo-anim__svg {
  width: 100%;
  height: auto;
  display: block;
  overflow: visible;
  filter: drop-shadow(0 20px 42px rgba(216, 155, 44, 0.10));
}

.logo-part {
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center center;
}

.opening.is-start .logo-part--left {
  animation: partFadeIn 2.8s ease forwards;
}

.opening.is-start .logo-part--right {
  animation: partFadeIn 2.8s ease 0.55s forwards;
}

.opening.is-start .logo-part--dot1 {
  animation: dotInLarge 1.4s cubic-bezier(0.2, 0.88, 0.2, 1.08) 1.5s forwards;
}

.opening.is-start .logo-part--dot2 {
  animation: dotInSmall 1.2s cubic-bezier(0.2, 0.88, 0.2, 1.08) 1.9s forwards;
}

.opening__text {
  margin: 20px 0 0;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: rgba(143, 122, 102, 0.9);
  opacity: 0;
  transform: translateY(10px);
}

.opening.is-start .opening__text {
  animation: textIn 1.2s ease 2.1s forwards;
}

.opening.is-ready .logo-anim__svg {
  animation: logoBreath 7s ease-in-out infinite;
}

.page {
  min-height: auto;
}

.hero {
  min-height: auto;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 48px 20px;
  background:
    radial-gradient(circle at 50% 12%, rgba(245, 209, 123, 0.10), transparent 20%),
    linear-gradient(180deg, #fffefb 0%, #f9f5ee 100%);
}

.hero__eyebrow {
  margin: 0 0 18px;
  font-size: 11px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

.hero__title {
  margin: 0;
  font-size: clamp(32px, 4.2vw, 58px);
  line-height: 1.28;
  font-weight: 500;
  letter-spacing: 0.03em;
}

.hero__text {
  width: min(92vw, 760px);
  margin: 28px auto 0;
  font-size: 16px;
  line-height: 2;
  color: var(--text-sub);
}

.hero__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 248px;
  height: 56px;
  margin-top: 36px;
  padding: 0 30px;
  border: 1px solid rgba(216, 155, 44, 0.24);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  color: var(--text-main);
  text-decoration: none;
  backdrop-filter: blur(10px);
  box-shadow: 0 18px 34px rgba(110, 78, 25, 0.08);
  transition: transform 0.45s ease, box-shadow 0.45s ease, border-color 0.45s ease;
}

.hero__button:hover {
  transform: translateY(-2px);
  border-color: rgba(216, 155, 44, 0.34);
  box-shadow: 0 20px 36px rgba(110, 78, 25, 0.10);
}

.content-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
  padding: 110px 0 130px;
}

.card {
  padding: 34px;
  border: 1px solid rgba(216, 155, 44, 0.12);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(10px);
  box-shadow: 0 16px 34px var(--shadow-soft);
}

.card h2 {
  margin: 0 0 16px;
  font-size: 21px;
  font-weight: 500;
}

.card p {
  margin: 0;
  line-height: 1.95;
  color: var(--text-sub);
}

@keyframes partFadeIn {
  0% {
    opacity: 0;
    filter: blur(5px);
  }
  45% {
    opacity: 0.42;
    filter: blur(2px);
  }
  100% {
    opacity: 1;
    filter: blur(0);
  }
}

@keyframes dotInLarge {
  0% {
    opacity: 0;
    transform: translateY(14px) scale(0.74);
    filter: blur(2px);
  }
  70% {
    opacity: 1;
    transform: translateY(-1px) scale(1.03);
    filter: blur(0);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

@keyframes dotInSmall {
  0% {
    opacity: 0;
    transform: translateY(10px) scale(0.76);
    filter: blur(2px);
  }
  72% {
    opacity: 1;
    transform: translateY(-1px) scale(1.02);
    filter: blur(0);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

@keyframes textIn {
  from {
    opacity: 0;
    transform: translateY(10px);
    letter-spacing: 0.42em;
  }
  to {
    opacity: 1;
    transform: translateY(0);
    letter-spacing: 0.34em;
  }
}

@keyframes wholeFloat {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-3px);
  }
}

@keyframes logoBreath {
  0%, 100% {
    transform: scale(1);
    filter: drop-shadow(0 20px 42px rgba(216, 155, 44, 0.10));
  }
  50% {
    transform: scale(1.006);
    filter: drop-shadow(0 22px 44px rgba(216, 155, 44, 0.12));
  }
}

@keyframes bgFloat {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.018);
    opacity: 0.98;
  }
}

@keyframes blurMove1 {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(16px, -10px) scale(1.05);
  }
}

@keyframes blurMove2 {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(-18px, 12px) scale(1.04);
  }
}

@media (max-width: 900px) {
  .content-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .logo-anim {
    width: min(78vw, 330px);
    padding: 36px 0;
  }

  .opening__text {
    margin-top: 16px;
    font-size: 10px;
  }

  .opening__blur--1 {
    width: 220px;
    height: 220px;
  }

  .opening__blur--2 {
    width: 260px;
    height: 260px;
  }

  .hero__text {
    font-size: 15px;
  }

  .card {
    padding: 24px;
    border-radius: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .opening,
  .opening *,
  .logo-anim,
  .logo-anim__svg {
    animation: none !important;
    transition: none !important;
  }

  .logo-part,
  .opening__text {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }
}

