:root {
  /* Classic Elegance Palette */
  --color-primary: #4a3b32;
  /* Darker, richer brown */
  --color-secondary: #8c7b70;
  /* Muted taupe */
  --color-accent: #c5a059;
  /* Muted Gold (less yellow) */
  --color-rose: #e0bfb8;
  /* Dusty Rose */
  --color-bg-pink: #fff5f8;
  /* Very subtle pink, almost white */
  --color-white: #ffffff;
  --color-glass: rgba(255, 255, 255, 0.6);
  --color-glass-border: rgba(255, 255, 255, 0.8);

  /* Typography */
  --font-heading: "Cormorant Garamond", serif;
  /* Classic Serif */
  --font-body: "Zen Old Mincho", serif;
  /* Classic Mincho */

  --header-height: 100px;

  /* Effects */
  --transition: all 0.6s ease;
  --shadow-soft: 0 10px 30px rgba(53, 12, 12, 0.03);
  --shadow-glass: 0 8px 32px 0 rgba(31, 38, 135, 0.05);
  --glass-blur: blur(12px);
}

@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,400&family=Zen+Old+Mincho:wght@400;500;600&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--color-primary);
  background-color: var(--color-bg-pink);
  line-height: 2;
  letter-spacing: 0.05em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

/* Loading Screen */
.loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #fff0f5;
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeOut 1.5s ease 2.5s forwards;
}

.logo-mark {
  color: var(--color-accent);
  font-family: var(--font-heading);
  font-size: 3rem;
  letter-spacing: 0.5em;
  opacity: 0;
  animation: fadeInLogo 2s ease forwards;
  position: relative;
}

.logo-mark::after {
  content: "";
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 1px;
  background: var(--color-accent);
}

@keyframes fadeInLogo {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeOut {
  to {
    opacity: 0;
    visibility: hidden;
  }
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 20px 40px; /* Reduced vertical padding, standard horizontal */
  transition: var(--transition);
}

.header.scrolled {
  background: rgba(255, 240, 245, 0.95); /* Slightly more opaque */
  backdrop-filter: blur(10px);
  padding: 10px 40px;
  box-shadow: var(--shadow-glass);
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1600px;
  margin: 0 auto;
}

.logo {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--color-primary);
}

/* トップページの最上部にいるときだけ、ロゴをシルバーにする */
body.home .header:not(.scrolled) .logo {
  color: #f0f0f0;
}

/* (任意) メニューの文字も一緒にシルバーにするなら以下も追加 */
body.home .header:not(.scrolled) .nav-list a {
  color: #d8d8d8;
  opacity: 1;
}

.nav-list {
  display: flex;
  gap: 60px;
}

.nav-list a {
  font-family: var(--font-heading);
  font-size: 1rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  position: relative;
  color: var(--color-primary);
  opacity: 0.8;
}

.nav-list a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--color-accent);
  transition: var(--transition);
}

.nav-list a:hover {
  opacity: 1;
  color: var(--color-accent);
}

.nav-list a:hover::after {
  width: 100%;
}

.menu-toggle {
  display: none;
}

/* Hero Section */
.hero {
  position: relative;
  height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("../assets/hero_bg_optimized.jpg");
  background-size: cover;
  background-position: center;
  z-index: -2;
  transform: scale(1.05);
  animation: slowZoom 60s linear infinite alternate;
  filter: brightness(0.95);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 245, 248, 0.3);
  z-index: -1;
}

@keyframes slowZoom {
  to {
    transform: scale(1);
  }
}

.hero-content {
  text-align: center;
  color: var(--color-primary);
  z-index: 1;
  padding: 0 20px;
  position: relative;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 5.5rem;
  font-weight: 300;
  line-height: 1.1;
  margin-bottom: 30px;
  letter-spacing: 0.02em;
  color: #f0f0f0;
  font-style: italic;
}

.hero-title span {
  display: block;
}

.hero-subtitle {
  font-family: var(--font-body);
  font-size: 1.1rem;
  letter-spacing: 0.15em;
  line-height: 2.2;
  color: #f0f0f0;
  margin-top: 40px;
  font-weight: 500;
}

.scroll-indicator {
  position: absolute;
  bottom: 50px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  opacity: 0.6;
}

.scroll-indicator span {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

.scroll-indicator .line {
  width: 1px;
  height: 60px;
  background: var(--color-primary);
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
  0% {
    transform: scaleY(0);
    transform-origin: top;
  }

  50% {
    transform: scaleY(1);
    transform-origin: top;
  }

  51% {
    transform: scaleY(1);
    transform-origin: bottom;
  }

  100% {
    transform: scaleY(0);
    transform-origin: bottom;
  }
}

/* Sections Common */
.section {
  padding: 160px 20px;
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 100px;
}

.section-subtitle {
  display: block;
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--color-accent);
  letter-spacing: 0.2em;
  margin-bottom: 15px;
  text-transform: uppercase;
  transform: none;
  font-style: normal;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  color: var(--color-primary);
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: "";
  display: block;
  width: 60px;
  height: 2px;
  background: var(--color-accent);
  margin: 30px auto 0;
}

/* Concept Section */
.concept {
  background: linear-gradient(to bottom, #fff0f5, #ffffff);
}

.concept-content {
  display: flex;
  align-items: center;
  gap: 120px;
}

.concept-text {
  flex: 1;
  font-size: 1.1rem;
  line-height: 2.4;
  color: var(--color-secondary);
  font-weight: 300;
  position: relative;
  padding: 40px;
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 4px;
}

.concept-text p {
  margin-bottom: 40px;
}

.btn-text {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  letter-spacing: 0.2em;
  color: var(--color-primary);
  border-bottom: 1px solid var(--color-accent);
  padding-bottom: 10px;
  margin-top: 20px;
  text-transform: uppercase;
}

.btn-text:hover {
  color: var(--color-accent);
  letter-spacing: 0.25em;
}

.concept-image {
  flex: 1.2;
  position: relative;
}

.concept-image::before {
  content: "";
  position: absolute;
  top: -20px;
  right: -20px;
  width: 100%;
  height: 100%;
  border: 1px solid var(--color-rose);
  z-index: -1;
}

.concept-image img {
  width: 100%;
  box-shadow: var(--shadow-soft);
  border-radius: 2px;
}

/* Collection Section */
.collection {
  background-color: #ffffff;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 80px;
  margin-bottom: 100px;
}

.gallery-item {
  position: relative;
  cursor: pointer;
  transition: var(--transition);
}

.gallery-item img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: 200px 200px 0 0;
  /* Arch shape */
  box-shadow: var(--shadow-soft);
  transition: transform 1s ease;
}

.gallery-item:hover img {
  transform: translateY(-10px);
}

/* Tiara Rotation Fix */
.tiara-wrapper {
  width: 100%;
  height: 500px;
  border-radius: 200px 200px 0 0;
  overflow: hidden;
  position: relative;
  transition: transform 1s ease;
  box-shadow: var(--shadow-soft);
}

.gallery-item:hover .tiara-wrapper {
  transform: translateY(-10px);
}

.tiara-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: rotate(-2deg) scale(1.1);
  transform-origin: center;
  border-radius: 0 !important;
  box-shadow: none !important;
  transition: none !important;
}

/* Ensure rotation persists on hover, preventing the generic img hover from overwriting it */
.gallery-item:hover .tiara-img {
  transform: rotate(-2deg) scale(1.1);
}

.gallery-overlay {
  text-align: center;
  margin-top: 30px;
}

.gallery-overlay h4 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  margin-bottom: 10px;
  color: var(--color-primary);
  font-weight: 400;
}

.gallery-overlay p {
  font-family: var(--font-body);
  font-size: 1.2rem;
  color: var(--color-secondary);
}

.view-more {
  text-align: center;
}

.btn-outline {
  display: inline-block;
  padding: 20px 60px;
  border: 1px solid var(--color-rose);
  color: var(--color-primary);
  font-family: var(--font-heading);
  font-size: 0.9rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  transition: var(--transition);
  background: transparent;
  position: relative;
  overflow: hidden;
}

.btn-outline::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: var(--color-rose);
  transition: var(--transition);
  z-index: -1;
  opacity: 0.1;
}

.btn-outline:hover::before {
  width: 100%;
}

.btn-outline:hover {
  border-color: var(--color-primary);
}

/* Shop Section */
.shop {
  background: linear-gradient(to top, #fff0f5, #ffffff);
}

.shop-links {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.shop-card {
  flex: 1;
  min-width: 300px;
  max-width: 380px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  padding: 80px 40px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: var(--shadow-glass);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  border-radius: 4px;
}

.shop-card:hover {
  transform: translateY(-20px);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 20px 60px rgba(212, 175, 55, 0.15);
}

.shop-icon {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--color-accent);
  border: 1px solid var(--color-accent);
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin-bottom: 10px;
}

.shop-card h4 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  letter-spacing: 0.15em;
  font-weight: 400;
}

.shop-card p {
  font-size: 0.95rem;
  color: var(--color-secondary);
}

.arrow {
  font-family: var(--font-heading);
  color: var(--color-accent);
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

.shop-card:hover .arrow {
  transform: translateX(10px);
}

/* Footer */
.footer {
  background: #fff0f5;
  color: var(--color-primary);
  padding: 120px 20px 60px;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.5);
}

.footer-logo {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  margin-bottom: 60px;
  letter-spacing: 0.3em;
  color: var(--color-primary);
}

.footer-nav {
  display: flex;
  justify-content: center;
  gap: 50px;
  margin-bottom: 80px;
}

.footer-nav a {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  letter-spacing: 0.2em;
  opacity: 0.7;
}

.footer-nav a:hover {
  opacity: 1;
  color: var(--color-accent);
}

.copyright {
  font-size: 0.8rem;
  color: var(--color-secondary);
  letter-spacing: 0.15em;
  opacity: 0.8;
}

/* Animations */
.fade-in-up {
  opacity: 0;
  transform: translateY(50px);
  animation: fadeInUp 3s cubic-bezier(0.2, 1, 0.3, 1) forwards;
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(50px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .header {
    padding: 20px;
  }

  .nav {
    display: none;
  }

  .menu-toggle {
    display: block;
    width: 30px;
    height: 20px;
    position: relative;
    background: transparent;
    border: none;
  }

  .menu-toggle span {
    position: absolute;
    width: 100%;
    height: 1px;
    background: var(--color-primary);
    left: 0;
    transition: var(--transition);
  }

  .menu-toggle span:first-child {
    top: 0;
  }

  .menu-toggle span:last-child {
    bottom: 0;
  }

  .hero-title {
    font-size: 3.5rem;
  }

  .section {
    padding: 120px 20px;
  }

  .concept-content {
    flex-direction: column;
    gap: 60px;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-item img {
    height: 400px;
  }

  .logo-mark {
    font-size: 10vw;
    /* ← 画面幅に合わせて自動調整 */
    letter-spacing: 0.2em;
    /* 文字間隔はそのままでOK */
    width: 100%;
    text-align: center;
    padding: 0 5%;
    /* 左右に少し余白を持たせる */
  }

  /* メニューが開いたときのスタイル（ドロップダウンにする） */
  .nav {
    /* display: none; は既存のコードにあるのでそのままでOKですが、
       JSで display: block になったときのスタイルを定義します */
    position: absolute;
    top: 100%;
    /* ヘッダーの真下に配置 */
    left: 0;
    width: 100%;
    background: rgba(255, 240, 245, 0.98);
    /* 背景色（薄いピンク） */
    padding: 30px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
  }

  /* リンクを縦並びにする */
  .nav-list {
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }

  .nav-list a {
    color: var(--color-primary) !important;
  }
}

/* Item Detail Page - Split Layout */
.item-page-container {
  display: flex;
  min-height: 100vh;
  width: 100%;
  background-color: var(--color-bg-pink);
}

/* Left Column: Image */
.item-image-wrapper {
  flex: 1;
  height: 100vh;
  position: sticky;
  top: 0;
  overflow: hidden;
  background-color: #f0e6e6;
  /* Fallback color */
}

.item-image-inner {
  width: 100%;
  height: 100%;
  position: relative;
}

.item-main-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 1.5s ease;
}

.item-image-wrapper:hover .item-main-image {
  transform: scale(1.03);
}

/* Right Column: Content */
.item-content-wrapper {
  flex: 1;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 100px 60px;
  background-color: #ffffff;
}

.item-content-inner {
  max-width: 600px;
  width: 100%;
  opacity: 0;
  animation: fadeInContent 1s ease 0.5s forwards;
}

@keyframes fadeInContent {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.item-header {
  margin-bottom: 60px;
}

.item-category {
  font-family: var(--font-heading);
  color: var(--color-accent);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 0.9rem;
  display: block;
  margin-bottom: 20px;
}

.item-title {
  font-family: var(--font-heading);
  font-size: 4.5rem;
  font-weight: 300;
  color: var(--color-primary);
  line-height: 1;
  margin-bottom: 15px;
  letter-spacing: -0.02em;
}

.item-jp-title {
  font-family: var(--font-body);
  font-size: 1.1rem;
  color: var(--color-secondary);
  letter-spacing: 0.1em;
}

.item-story {
  font-family: var(--font-body);
  color: var(--color-primary);
  line-height: 2.4;
  margin-bottom: 60px;
  font-size: 1.05rem;
}

.item-story p {
  margin-bottom: 30px;
}

.item-specs {
  margin-bottom: 60px;
  border-top: 1px solid rgba(74, 59, 50, 0.1);
  border-bottom: 1px solid rgba(74, 59, 50, 0.1);
  padding: 40px 0;
}

.item-specs dl {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 20px;
}

.item-specs dt {
  font-family: var(--font-heading);
  color: var(--color-accent);
  font-weight: 500;
  letter-spacing: 0.05em;
}

.item-specs dd {
  font-family: var(--font-heading);
  color: var(--color-secondary);
}

.item-actions {
  display: flex;
  align-items: center;
  gap: 40px;
}

.back-link {
  margin-top: 0;
  font-size: 0.8rem;
  opacity: 0.6;
  transition: opacity 0.3s;
}

.back-link:hover {
  opacity: 1;
}

/* Responsive Design */
@media (max-width: 960px) {
  .item-page-container {
    flex-direction: column;
  }

  .item-image-wrapper {
    height: 60vh;
    position: relative;
  }

  .item-content-wrapper {
    padding: 60px 30px;
    min-height: auto;
  }

  .item-title {
    font-size: 3rem;
  }
}

/* Contact Section (Elegant Style) */
.contact {
  background: #ffffff;
  padding-bottom: 120px;
}

.contact-content {
  max-width: 600px;
  margin: 0 auto;
  padding: 0 20px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.form-group {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center; /* Center labels and inputs for boutique feel */
}

.form-group label {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  letter-spacing: 0.15em;
  color: var(--color-primary);
  margin-bottom: 15px;
  opacity: 0.8;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 15px 10px;
  border: none;
  border-bottom: 1px solid rgba(140, 123, 112, 0.3); /* Muted secondary color */
  background: transparent;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-primary);
  transition: all 0.4s ease;
  border-radius: 0;
  text-align: center; /* Center text for specific elegant look */
  letter-spacing: 0.05em;
}

.form-group textarea {
  text-align: left; /* Keep textarea left-aligned for readability */
  resize: vertical;
  min-height: 150px;
  border: 1px solid rgba(140, 123, 112, 0.3); /* Full border for textarea */
  padding: 20px;
  margin-top: 10px;
}

.form-group input:focus {
  outline: none;
  border-bottom-color: var(--color-accent);
  background: rgba(255, 240, 245, 0.3); /* Very subtle pink tint on focus */
}

.form-group textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  background: rgba(255, 240, 245, 0.3);
}

.form-submit {
  text-align: center;
  margin-top: 20px;
}

.form-submit button {
  cursor: pointer;
  background-color: transparent;
  min-width: 200px;
}

/* Placeholder styling */
::placeholder {
  color: #cfc0b9;
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: 300;
  opacity: 0.7;
}

/* Mobile Adjustments for Form */
@media (max-width: 768px) {
  .contact-content {
    max-width: 100%;
  }

  .form-group input {
    text-align: left; /* Revert to left on mobile for better UX */
    padding-left: 0;
  }
}

/* Features Section */
.features {
  background-color: #fdf5f7; /* Very light pink/white background */
  padding: 100px 0;
}

.features-grid {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  margin-top: 60px;
}

.feature-item {
  flex: 1;
  min-width: 280px;
  text-align: center;
  padding: 30px;
  background: #fff;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.feature-number {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  color: var(--color-accent); /* Gold */
  opacity: 0.3;
  margin-bottom: 10px;
  line-height: 1;
}

.feature-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--color-primary);
  margin-bottom: 5px;
  letter-spacing: 0.05em;
}

.feature-desc-jp {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--color-secondary);
  margin-bottom: 20px;
  font-weight: 500;
  border-bottom: 1px solid rgba(197, 160, 89, 0.3);
  display: inline-block;
  padding-bottom: 5px;
}

.feature-text {
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--color-primary);
  opacity: 0.9;
}

@media (max-width: 768px) {
  .features-grid {
    flex-direction: column;
    gap: 30px;
  }
}

/* Designer's Voice */
.voice-content {
  display: flex;
  align-items: center;
  gap: 50px;
  margin-top: 60px;
}

.voice-image {
  flex: 1;
}

.voice-image img {
  border-radius: 4px; /* Classic feel */
  box-shadow: 10px 10px 0px rgba(197, 160, 89, 0.2); /* Offset frame effect */
}

.voice-text {
  flex: 1;
}

.voice-heading {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  color: var(--color-primary);
  margin-bottom: 30px;
}

.voice-text p {
  margin-bottom: 20px;
  line-height: 2;
}

.highlight-gold {
  color: var(--color-accent);
  font-weight: 700;
  font-size: 1.1em;
  border-bottom: 1px solid var(--color-accent);
}

@media (max-width: 768px) {
  .voice-content {
    flex-direction: column;
  }
  .voice-image {
    order: 2; /* Text first on mobile for reading */
    margin-top: 30px;
  }
  .voice-text {
    order: 1;
  }
}

/* Service Guide (Price & Menu) */
.service-guide {
  background-color: #fafafa;
}

.service-split {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 60px;
}

.service-col {
  flex: 1;
  max-width: 480px;
  background: #fff;
  padding: 40px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  position: relative;
  transition: transform 0.3s ease;
}

.service-col:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.order-col {
  border-top: 5px solid var(--color-accent); /* Gold top */
}

.rental-col {
  border-top: 5px solid #d4a5b0; /* Pink top */
}

.service-label {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #fff;
  padding: 5px 20px;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  font-weight: 600;
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.service-catch {
  font-family: var(--font-heading);
  text-align: center;
  font-size: 1.25rem;
  margin: 20px 0 30px;
  color: var(--color-primary);
}

.service-price {
  text-align: center;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px dotted rgba(0, 0, 0, 0.1);
}

.price-label {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 5px;
  color: var(--color-secondary);
}

.price-val {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  color: var(--color-primary);
  font-weight: 500;
}

.price-unit {
  font-size: 1rem;
}

.service-features {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.service-features li {
  padding: 8px 0;
  text-align: center;
  font-size: 0.95rem;
}

.service-features li::before {
  content: "✔";
  color: var(--color-accent);
  margin-right: 8px;
}

.service-target {
  background: #f8f8f8;
  padding: 15px;
  text-align: center;
  font-size: 0.9rem;
}

.service-target span {
  display: block;
  font-weight: 700;
  margin-bottom: 5px;
  color: var(--color-secondary);
}

.service-note {
  font-size: 0.8rem;
  text-align: center;
  color: red;
  margin-top: 10px;
}

/* Service Flow */
.service-flow {
  margin-top: 60px;
  text-align: center;
}

.flow-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  margin-bottom: 30px;
}

.flow-steps {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.flow-step {
  text-align: center;
}

.step-num {
  display: block;
  font-family: var(--font-heading);
  color: var(--color-accent);
  font-size: 1.1rem;
}

.step-text {
  font-size: 0.9rem;
  font-weight: 500;
}

.text-xs {
  font-size: 0.75rem;
  color: #888;
}

.flow-arrow {
  color: var(--color-secondary);
  font-size: 1.2rem;
}

@media (max-width: 768px) {
  .service-split {
    flex-direction: column;
    align-items: center;
  }
  .service-col {
    width: 100%;
    margin-bottom: 30px;
  }
}

/* Utility Classes for Responsive Line Breaks */
.pc-only {
  display: inline;
}
.sp-only {
  display: none;
}
@media (max-width: 768px) {
  .pc-only {
    display: none;
  }
  .sp-only {
    display: inline;
  }
}

/* Logo Color Utilities */
.logo-white { filter: invert(1); mix-blend-mode: screen; }
.logo-dark { mix-blend-mode: multiply; }

/* Header Logo Responsive Color */
.logo-responsive { transition: filter 0.3s ease, mix-blend-mode 0.3s ease; mix-blend-mode: multiply; }

/* Home Page: White Logo on Transparent Header */
body.home .header:not(.scrolled) .logo-responsive { filter: invert(1); mix-blend-mode: screen; }

/* Home Page: Dark Logo on Scrolled Header */
body.home .header.scrolled .logo-responsive { filter: none; mix-blend-mode: multiply; }

@media (max-width: 768px) {
  .logo-white { filter: invert(1); mix-blend-mode: screen; }
  .sp-logo-size { width: 200px !important; height: auto !important; }
}

/* Enforce Logo Size Override */
.logo img {
  height: 100px !important;
  width: auto !important;
  max-width: none !important;
}
.header-inner {
  align-items: center;
}

/* Logo Color Utilities */
.logo-white {
  filter: invert(1);
  mix-blend-mode: screen;
}
.logo-dark {
  mix-blend-mode: multiply;
}

/* Header Logo Responsive Color */
.logo-responsive {
  transition: filter 0.3s ease, mix-blend-mode 0.3s ease;
  mix-blend-mode: multiply;
}

/* Home Page: White Logo on Transparent Header */
body.home .header:not(.scrolled) .logo-responsive {
  filter: invert(1);
  mix-blend-mode: screen;
}

/* Home Page: Dark Logo on Scrolled Header */
body.home .header.scrolled .logo-responsive {
  filter: none;
  mix-blend-mode: multiply;
}


@media (max-width: 768px) {
  .logo-white {
    filter: invert(1);
    mix-blend-mode: screen;
  }
}

/* Enforce Logo Size Override */
.header .logo img {
  height: 60px !important;
  width: auto !important;
  max-width: none !important;
  transform: scale(2.8);
  transform-origin: left center;
  margin-left: 10px;
  transition: all 0.3s ease;
}

/* Scrolled State: Move Logo Left */
.header.scrolled .logo img {
  margin-left: -10px; /* Move slightly more left */
  transform: scale(2.5);
}

/* Footer Design - Reverted to Light Theme */
.footer {
  background-color: #f9f9f9; /* Light gray background matching site tone */
  color: var(--color-text); /* Standard text color */
  padding: 40px 0 !important;
  text-align: center;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

/* Footer Logo Adjustments */
.footer-logo img {
  height: 160px !important; /* Increased from 120px to 160px */
  width: auto !important;
  max-width: none !important;
  transform: none !important;
  margin-bottom: 10px;
  filter: none !important; /* Remove inversion to show original logo color */
}

/* Footer Nav */
.footer .nav-list {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap !important; /* Force wrap */
  padding: 0 10px;
  margin: 0 auto;
  width: 100%;
  max-width: 800px;
}

.footer .nav-list li {
   flex-shrink: 0;
   display: inline-block; /* Ensure list items behave */
}

.footer .nav-list li a {
  display: inline-block; /* Ensure click area */
  color: var(--color-text);
  font-family: var(--font-heading);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
  white-space: nowrap;
  padding: 5px 0; /* Add touch target vertical spacing */
}

/* Mobile Specific Footer Adjustments */
@media (max-width: 768px) {
  .footer .nav-list {
    display: flex;
    flex-direction: column; /* Force vertical stack (1 link per line) */
    align-items: center;
    gap: 15px;
    width: 100%;
    margin: 0 auto;
  }
  
  .footer .nav-list li {
    width: auto;
    margin: 0;
  }
  
  .footer .nav-list li a {
    font-size: 0.95rem; /* Slightly larger for touch */
    padding: 5px 0;
    display: block;
  }
}

.footer .nav-list li a:hover {
  color: var(--color-accent);
}

.copyright {
  margin-top: 20px;
  font-size: 0.75rem;
  color: #888;
}

/* Mobile Header Adjustment */
@media (max-width: 768px) {
  .header {
    padding: 20px !important; /* Reduce padding on mobile */
  }
  .header.scrolled {
    padding: 10px 20px !important;
  }
  .header .logo img {
     /* Ensure it doesn't overflow */
     max-height: 50px !important;
  }
}

/* Q&A / FAQ Styling Adjustment */
.faq-item {
  text-align: center; /* Center Q&A text */
  margin-bottom: 40px;
  max-width: 800px; /* Ensure readability */
  margin-left: auto;
  margin-right: auto;
}

.faq-question {
  display: inline-block; /* Helps with centering */
  text-align: center;
  margin-bottom: 20px;
}

.faq-answer {
  text-align: center;
}


.header-inner {
  align-items: center;
}

/* Logo Color Utilities */
.logo-white {
  filter: invert(1);
  mix-blend-mode: screen;
}
.logo-dark {
  mix-blend-mode: multiply;
}

/* Header Logo Responsive Color */
.logo-responsive {
  transition: filter 0.3s ease, mix-blend-mode 0.3s ease;
  mix-blend-mode: multiply;
}

/* Home Page: White Logo on Transparent Header */
body.home .header:not(.scrolled) .logo-responsive {
  filter: invert(1);
  mix-blend-mode: screen;
}

/* Home Page: Dark Logo on Scrolled Header */
body.home .header.scrolled .logo-responsive {
  filter: none;
  mix-blend-mode: multiply;
}
