/* ========================================
   Reset & Base Styles
======================================== */
:root {
  --gold-light: #f5e6c8;
  --gold-main: #d4af37;
  --gold-shimmer: #e8c860;
  --cream-bg: #fffdf8;
  --cream-soft: #faf7f2;
  --text-main: #5a5046;
  --text-light: #8a8279;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-main);
  background-color: var(--cream-bg);
  position: relative;
  overflow-x: hidden;
}

/* ========================================
   Gold Circle Decorations
======================================== */
.gold-circles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.gold-circle {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%,
    rgba(232, 200, 96, 0.4) 0%,
    rgba(212, 175, 55, 0.2) 40%,
    rgba(212, 175, 55, 0.05) 70%,
    transparent 100%);
  animation: float 20s ease-in-out infinite;
}

.gold-circle::after {
  content: '';
  position: absolute;
  top: 15%;
  left: 20%;
  width: 30%;
  height: 30%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.8) 0%, transparent 70%);
  border-radius: 50%;
  animation: shimmer 3s ease-in-out infinite;
}

.gold-circle:nth-child(1) {
  width: 300px;
  height: 300px;
  top: 5%;
  right: -100px;
  animation-delay: 0s;
}

.gold-circle:nth-child(2) {
  width: 200px;
  height: 200px;
  top: 30%;
  left: -50px;
  animation-delay: -5s;
}

.gold-circle:nth-child(3) {
  width: 150px;
  height: 150px;
  top: 60%;
  right: 10%;
  animation-delay: -10s;
}

.gold-circle:nth-child(4) {
  width: 250px;
  height: 250px;
  bottom: 10%;
  left: 5%;
  animation-delay: -15s;
}

.gold-circle:nth-child(5) {
  width: 180px;
  height: 180px;
  top: 80%;
  right: -50px;
  animation-delay: -8s;
}

.gold-circle:nth-child(6) {
  width: 120px;
  height: 120px;
  top: 15%;
  left: 20%;
  animation-delay: -12s;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  33% {
    transform: translateY(-20px) rotate(5deg);
  }
  66% {
    transform: translateY(10px) rotate(-3deg);
  }
}

@keyframes shimmer {
  0%, 100% {
    opacity: 0.6;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.2);
  }
}

a {
  color: inherit;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

a:hover {
  opacity: 0.7;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}

/* ========================================
   Container
======================================== */
.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ========================================
   Header
======================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: rgba(255, 253, 248, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(212, 175, 55, 0.15);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 15px 20px;
}

.logo a {
  font-family: 'Noto Serif JP', serif;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--text-main);
  background: linear-gradient(135deg, var(--text-main) 0%, var(--gold-main) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-menu {
  display: flex;
  gap: 20px;
}

.nav-menu a {
  font-size: 13px;
  letter-spacing: 0.03em;
  white-space: nowrap;
  position: relative;
  padding-bottom: 4px;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold-main);
  transition: width 0.3s ease;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
  width: 100%;
}

.nav-menu a:hover {
  opacity: 1;
  color: var(--gold-main);
}

.nav-menu a.active {
  color: var(--gold-main);
  font-weight: 500;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  gap: 6px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: #333;
  transition: all 0.3s ease;
}

/* ========================================
   Hero Section
======================================== */
.hero {
  padding: 150px 20px 80px;
  text-align: center;
  background: linear-gradient(180deg, var(--cream-soft) 0%, var(--cream-bg) 100%);
  position: relative;
  z-index: 1;
}

.hero-subtitle {
  font-size: 14px;
  letter-spacing: 0.2em;
  color: var(--gold-main);
  margin-bottom: 20px;
  font-weight: 500;
}

.hero-category {
  font-size: 13px;
  letter-spacing: 0.15em;
  color: var(--text-light);
  margin-bottom: 10px;
  font-weight: 400;
}

.hero-title {
  font-family: 'Noto Serif JP', serif;
  font-size: 42px;
  font-weight: 500;
  letter-spacing: 0.15em;
  margin-bottom: 30px;
  background: linear-gradient(135deg, var(--text-main) 0%, var(--gold-main) 50%, var(--text-main) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: 16px;
  line-height: 2;
  color: var(--text-light);
}

/* ========================================
   Profile Image Section
======================================== */
.profile-image {
  padding: 60px 20px;
  background: linear-gradient(180deg, var(--cream-bg) 0%, var(--cream-soft) 100%);
  position: relative;
  z-index: 1;
}

.profile-image-container {
  max-width: 400px;
  margin: 0 auto;
}

.image-placeholder {
  aspect-ratio: 3/4;
  background: linear-gradient(135deg, var(--gold-light) 0%, #e8dcc8 100%);
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--text-light);
  font-size: 14px;
  border-radius: 200px 200px 20px 20px;
  box-shadow: 0 20px 60px rgba(212, 175, 55, 0.15);
}

.image-placeholder.small {
  width: 200px;
  height: 250px;
  aspect-ratio: auto;
  border-radius: 100px 100px 10px 10px;
}

.profile-mascot {
  max-width: 300px;
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  filter: drop-shadow(0 15px 40px rgba(212, 175, 55, 0.2));
  animation: mascot-float 4s ease-in-out infinite;
  transition: transform 0.3s ease;
}

.profile-mascot:hover {
  transform: scale(1.05) rotate(2deg);
}

@keyframes mascot-float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* ========================================
   Sections
======================================== */
.section {
  padding: 80px 20px;
  position: relative;
  z-index: 1;
  background-color: var(--cream-bg);
}

.section-gray {
  background-color: var(--cream-soft);
}

.section-title {
  font-family: 'Noto Serif JP', serif;
  font-size: 24px;
  font-weight: 500;
  text-align: center;
  margin-bottom: 50px;
  letter-spacing: 0.1em;
  position: relative;
  padding-bottom: 20px;
  color: var(--text-main);
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-main), transparent);
  border-radius: 2px;
}

.section-content {
  max-width: 800px;
  margin: 0 auto;
}

.section-content p {
  margin-bottom: 1.5em;
}

.section-content p:last-child {
  margin-bottom: 0;
}

/* ========================================
   Philosophy Grid
======================================== */
.philosophy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.philosophy-item {
  text-align: center;
}

.philosophy-number {
  font-family: 'Noto Serif JP', serif;
  font-size: 32px;
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold-main) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 15px;
}

.philosophy-item h3 {
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 15px;
  color: var(--text-main);
}

.philosophy-item p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.8;
}

/* ========================================
   Features List
======================================== */
.features-list {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.feature-item {
  display: flex;
  gap: 20px;
  padding: 25px;
  background-color: var(--cream-soft);
  border-radius: 16px;
  border: 1px solid rgba(212, 175, 55, 0.1);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.feature-item:hover {
  box-shadow: 0 10px 30px rgba(212, 175, 55, 0.1);
  transform: translateY(-2px);
}

.feature-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold-main) 100%);
  color: #fff;
  font-size: 12px;
  border-radius: 50%;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.feature-text h3 {
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 10px;
  color: var(--text-main);
}

.feature-text p {
  font-size: 14px;
  color: var(--text-light);
  margin-bottom: 0;
}

/* ========================================
   Services Grid
======================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.service-card {
  padding: 30px;
  background-color: var(--cream-bg);
  border: 1px solid rgba(212, 175, 55, 0.15);
  border-radius: 16px;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.service-card:hover {
  box-shadow: 0 10px 30px rgba(212, 175, 55, 0.12);
  transform: translateY(-3px);
}

.service-card h3 {
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 15px;
  padding-bottom: 15px;
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
  color: var(--text-main);
}

.service-card p {
  font-size: 14px;
  color: var(--text-light);
  margin-bottom: 0;
}

/* ========================================
   Flow Steps
======================================== */
.flow-steps {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.flow-step {
  padding: 30px;
  background-color: var(--cream-soft);
  border-left: 3px solid var(--gold-main);
  border-radius: 0 16px 16px 0;
  transition: box-shadow 0.3s ease;
}

.flow-step:hover {
  box-shadow: 0 5px 20px rgba(212, 175, 55, 0.1);
}

.step-number {
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--gold-main);
  margin-bottom: 10px;
  font-weight: 500;
}

.flow-step h3 {
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 10px;
  color: var(--text-main);
}

.flow-step p {
  font-size: 14px;
  color: var(--text-light);
  margin-bottom: 0;
}

/* ========================================
   Message Section
======================================== */
.message-content {
  display: flex;
  gap: 50px;
  align-items: flex-start;
}

.message-image {
  flex-shrink: 0;
}

.message-text {
  flex: 1;
}

.message-text p {
  font-size: 15px;
}

.message-signature {
  margin-top: 30px;
  text-align: right;
  font-size: 14px;
  color: #666;
}

/* ========================================
   Contact Section
======================================== */
.contact-content {
  text-align: center;
}

.contact-lead {
  font-size: 15px;
  margin-bottom: 40px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 40px;
}

.contact-item {
  display: flex;
  justify-content: center;
  gap: 20px;
  font-size: 14px;
}

.contact-label {
  font-weight: 500;
  min-width: 80px;
  text-align: right;
}

.contact-value {
  min-width: 200px;
  text-align: left;
}

.contact-button {
  display: inline-block;
  padding: 18px 50px;
  background: linear-gradient(135deg, var(--gold-main) 0%, var(--gold-shimmer) 100%);
  color: #fff;
  font-size: 14px;
  letter-spacing: 0.1em;
  border-radius: 50px;
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.35);
  transition: all 0.3s ease;
}

.contact-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(212, 175, 55, 0.45);
  opacity: 1;
}

/* ========================================
   Footer
======================================== */
.footer {
  padding: 60px 20px 40px;
  background: linear-gradient(135deg, #5a5046 0%, #3d3830 100%);
  color: #fff;
  position: relative;
  z-index: 1;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.footer-logo {
  font-family: 'Noto Serif JP', serif;
  font-size: 20px;
  letter-spacing: 0.15em;
  margin-bottom: 30px;
  background: linear-gradient(135deg, #fff 0%, var(--gold-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px 30px;
  margin-bottom: 30px;
}

.footer-nav a {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.3s ease;
}

.footer-nav a:hover {
  color: var(--gold-light);
}

.copyright {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
}

/* ========================================
   Responsive Design
======================================== */
@media screen and (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background-color: rgba(255, 253, 248, 0.98);
    backdrop-filter: blur(10px);
    flex-direction: column;
    padding: 10px 20px;
    gap: 0;
    border-bottom: 1px solid rgba(212, 175, 55, 0.15);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
  }

  .nav-menu.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-menu li {
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
  }

  .nav-menu li:last-child {
    border-bottom: none;
  }

  .nav-menu a {
    display: block;
    padding: 14px 0;
    font-size: 14px;
  }

  .nav-menu a::after {
    display: none;
  }

  .hero-title {
    font-size: 28px;
  }

  .hero-description {
    font-size: 14px;
  }

  .section {
    padding: 60px 20px;
  }

  .section-title {
    font-size: 20px;
    margin-bottom: 40px;
  }

  .philosophy-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .message-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .message-signature {
    text-align: center;
  }

  .contact-item {
    flex-direction: column;
    gap: 5px;
  }

  .contact-label,
  .contact-value {
    min-width: auto;
    text-align: center;
  }

  .footer-nav ul {
    flex-direction: column;
    gap: 15px;
  }
}

/* ========================================
   Animations
======================================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
