/* BioMe Beauty Website - Premium Design */

/* === Premium Beauty Color Palette === */
:root {
  /* Primary Colors - Luxury Gold & Rose */
  --gold-primary: #D4AF37;
  --gold-light: #F4E4BC;
  --gold-dark: #B8860B;
  --rose-gold: #E8B4B8;
  --rose-light: #F7E7E8;
  
  /* Neutral Colors - Sophisticated */
  --cream: #FEFCF8;
  --ivory: #FFFEF7;
  --charcoal: #2C2C2C;
  --slate: #4A4A4A;
  --muted: #8B8B8B;
  
  /* Accent Colors */
  --pearl: #F8F6F0;
  --soft-shadow: 0 20px 60px rgba(212, 175, 55, 0.15);
  --deep-shadow: 0 30px 80px rgba(0, 0, 0, 0.12);
  --glow: 0 0 40px rgba(212, 175, 55, 0.3);
  
  /* Layout */
  --radius: 24px;
  --radius-sm: 16px;
  --maxw: 1400px;
  --visual-w: 600px;
  
  /* Typography */
  --font-display: 'Playfair Display', 'Noto Serif JP', serif;
  --font-body: 'Noto Sans JP', 'Helvetica Neue', Arial, sans-serif;
}

/* === Premium Base Styles === */
* { 
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* === スクロールエフェクト用のアニメーション === */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(60px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-60px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(60px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes slideInFromBottom {
  from {
    opacity: 0;
    transform: translateY(100px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* offer.png専用のシンプルなエフェクト */
@keyframes offerEntrance {
  0% {
    opacity: 0;
    transform: scale(0.9);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

/* === スクロールアニメーション用のクラス === */
.scroll-animate {
  opacity: 0;
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-animate.animate {
  opacity: 1;
}

.fade-in-up {
  transform: translateY(60px);
}

.fade-in-up.animate {
  animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.fade-in-left {
  transform: translateX(-60px);
}

.fade-in-left.animate {
  animation: fadeInLeft 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.fade-in-right {
  transform: translateX(60px);
}

.fade-in-right.animate {
  animation: fadeInRight 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.scale-in {
  transform: scale(0.8);
}

.scale-in.animate {
  animation: scaleIn 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.slide-in-bottom {
  transform: translateY(100px);
}

.slide-in-bottom.animate {
  animation: slideInFromBottom 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* offer.png専用のシンプルなエフェクトクラス */
.offer-entrance {
  opacity: 0;
  transform: scale(0.9);
}

.offer-entrance.animate {
  animation: offerEntrance 0.8s ease-out forwards;
}

/* offer.pngのリンクとホバーエフェクト */
.offer-link {
  display: block;
  transition: all 0.3s ease;
}

.offer-link:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3);
}

.offer-link img {
  width: 100%;
  height: auto;
  transition: all 0.3s ease;
}

.offer-link:hover img {
  filter: brightness(1.1) contrast(1.05);
}


/* === スクロール進行度インジケーター === */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-primary), var(--rose-gold));
  z-index: 9999;
  transition: width 0.1s ease-out;
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  scrollbar-width: thin;
  scrollbar-color: var(--gold-primary) var(--cream);
}

/* カスタムスクロールバー - Webkit系ブラウザ */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--cream);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, var(--gold-primary), var(--gold-dark));
  border-radius: 4px;
  transition: all 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, var(--gold-dark), var(--gold-primary));
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
}

body {
  font-family: var(--font-body);
  color: var(--charcoal);
  background: linear-gradient(135deg, var(--ivory) 0%, var(--cream) 100%);
  line-height: 1.7;
  font-feature-settings: 'palt' 1;
  letter-spacing: 0.01em;
  overflow-x: hidden;
}

/* Premium Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--charcoal);
}

/* === Serif Font Class for Japanese Text === */
.serif-font {
  font-family: 'Noto Serif JP', 'Yu Mincho', 'YuMincho', 'Hiragino Mincho Pro', 'MS PMincho', 'Times New Roman', serif !important;
  font-weight: 500 !important;
  letter-spacing: 0.05em !important;
}

/* === Specific targeting for brand message title === */
.brand-message-title.serif-font {
  font-family: 'Noto Serif JP', 'Yu Mincho', 'YuMincho', 'Hiragino Mincho Pro', 'MS PMincho', 'Times New Roman', serif !important;
  font-weight: 500 !important;
  letter-spacing: 0.05em !important;
}

/* === Catchphrase line break control === */
.catchphrase-two-lines {
  white-space: nowrap;
  line-height: 1.2;
}

.catchphrase-two-lines br {
  display: block;
  white-space: normal;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1.1;
  font-weight: 700;
}

h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  line-height: 1.2;
}

h3 {
  font-size: clamp(1.3rem, 2vw, 1.6rem);
  line-height: 1.3;
}

p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--slate);
}

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

img { 
  max-width: 100%; 
  height: auto; 
  display: block;
  border-radius: var(--radius-sm);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* === 画像の遅延読み込みとズーム効果 === */
.lazy-image {
  opacity: 0;
  transform: scale(1.1);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.lazy-image.loaded {
  opacity: 1;
  transform: scale(1);
}

.lazy-image:hover {
  transform: scale(1.05);
}

/* 初期状態では全ての画像を表示 */
img:not(.lazy-image) {
  opacity: 1;
  transform: none;
}

/* === セクション間のスムーズなトランジション === */
section {
  position: relative;
  overflow: hidden;
}

section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, transparent 0%, rgba(212, 175, 55, 0.02) 50%, transparent 100%);
  opacity: 0;
  transition: opacity 0.6s ease;
  pointer-events: none;
}

section.in-view::before {
  opacity: 1;
}

/* === Premium Layout === */
.container {
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 40px);
}

/* === Premium Buttons === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  padding: 1.2em 2.5em;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border: 2px solid transparent;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s;
}

.btn:hover::before {
  left: 100%;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold-primary) 0%, var(--gold-dark) 100%);
  color: white;
  box-shadow: var(--soft-shadow);
  border-color: var(--gold-primary);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--deep-shadow);
  background: linear-gradient(135deg, var(--gold-dark) 0%, var(--gold-primary) 100%);
}

.btn-outline {
  background: transparent;
  color: var(--gold-primary);
  border-color: var(--gold-primary);
  backdrop-filter: blur(10px);
}

.btn-outline:hover {
  background: var(--gold-primary);
  color: white;
  transform: translateY(-2px);
  box-shadow: var(--soft-shadow);
}

/* === Premium Section Headers === */
.section-h {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  margin-bottom: 1rem;
  position: relative;
  text-align: center;
}

.section-h::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-primary), var(--rose-gold));
  margin: 1rem auto;
  border-radius: 2px;
}

.section-sub {
  color: var(--muted);
  font-size: 1.2rem;
  text-align: center;
  max-width: 600px;
  margin: 0 auto 3rem;
  line-height: 1.6;
}

/* === Premium Header === */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(212, 175, 55, 0.1);
  transition: all 0.3s ease;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 80px;
  padding: 0 2rem;
  width: 100%;
  box-sizing: border-box;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  color: var(--ink-primary);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  position: relative;
}

.nav-link:hover {
  color: var(--gold-primary);
  transform: translateY(-1px);
}

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

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

.nav-link.active {
  color: var(--gold-primary);
  font-weight: 600;
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--charcoal);
  letter-spacing: 0.05em;
}

.brand-link {
  display: block;
  text-decoration: none;
  transition: transform 0.2s ease;
}

.brand-link:hover {
  transform: scale(1.05);
}

.company-logo {
  height: 40px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  border-radius: 0;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
  transition: all 0.3s ease;
}

.company-logo:hover {
  transform: scale(1.05);
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.15));
}

.brand-badge {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-primary), var(--gold-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--soft-shadow);
  position: relative;
}

.brand-badge::before {
  content: 'B';
  color: white;
  font-weight: 700;
  font-size: 1.2rem;
}

.nav-cta {
  display: flex;
  gap: 1rem;
  align-items: center;
}

/* === Brand Message Section === */
.brand-message-section {
  background: linear-gradient(135deg, #FEFCF8, #F7E7E8);
  padding: 4rem 0;
  position: relative;
  overflow: hidden;
}

.brand-message-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.brand-message-visual {
  position: relative;
  text-align: center;
}

.brand-item-image {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: var(--radius);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  transition: all 0.4s ease;
  filter: drop-shadow(0 10px 30px rgba(212, 175, 55, 0.2));
}

.brand-item-image:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.2);
}

.brand-message-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%23f8f6f0" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="%23f8f6f0" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="%23f8f6f0" opacity="0.1"/><circle cx="10" cy="60" r="0.5" fill="%23f8f6f0" opacity="0.1"/><circle cx="90" cy="40" r="0.5" fill="%23f8f6f0" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  opacity: 0.3;
}

.brand-message-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.brand-message-title {
  font-family: var(--font-serif);
  font-size: 3rem;
  font-weight: 700;
  color: var(--gold-dark);
  margin-bottom: 1rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.brand-message-subtitle {
  font-size: 1.2rem;
  color: var(--charcoal);
  margin-bottom: 2rem;
  font-weight: 500;
}

.brand-message-text {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: var(--soft-shadow);
}

.brand-message-text p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--charcoal);
  margin-bottom: 1rem;
}

.brand-message-text p:last-child {
  margin-bottom: 0;
  font-weight: 600;
  color: var(--gold-dark);
}

.company-intro {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(212, 175, 55, 0.2);
  background: rgba(255, 255, 255, 0.6);
  border-radius: var(--radius-sm);
  padding: 1.5rem;
  backdrop-filter: blur(10px);
}

.company-intro-content {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
}

.company-intro-logo {
  flex-shrink: 0;
}

.company-intro-image {
  width: 120px;
  height: auto;
  object-fit: contain;
  border-radius: 0;
}

.company-intro-text {
  flex: 1;
}

.company-intro p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--charcoal);
  margin: 0;
  text-align: center;
  font-weight: 500;
}


/* === Premium Hero Section === */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--ivory) 0%, var(--cream) 50%, var(--pearl) 100%);
  overflow: hidden;
  padding-top: 80px;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 20%, rgba(212, 175, 55, 0.1) 0%, transparent 50%),
              radial-gradient(circle at 70% 80%, rgba(232, 180, 184, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

.product-name-above-kv {
  text-align: center;
  margin-bottom: 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.product-name-above-kv .product-name-logo {
  height: 120px;
  max-width: 600px;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.1));
  transition: all 0.4s ease;
}

.hero-logo {
  margin-bottom: 2rem;
  animation: fadeInUp 1s ease-out 0.2s both;
}

.maku-logo {
  height: 80px;
  width: auto;
  max-width: 300px;
  object-fit: contain;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.15));
  transition: all 0.4s ease;
}

.maku-logo:hover {
  transform: scale(1.05) translateY(-2px);
  filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.2));
}

.hero-badge {
  display: inline-block;
  color: var(--gold-dark);
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 2.8rem;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
  text-align: center;
  line-height: 1.3;
}

.patent-notice {
  font-family: 'Noto Serif JP', 'Times New Roman', serif;
  font-size: 1.1rem;
  color: var(--gold-primary);
  margin-bottom: 1.5rem;
  font-weight: 500;
  text-align: center;
  line-height: 1.6;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.patent-notice .first-line {
  font-size: 1.3rem;
  font-weight: 600;
  display: block;
  margin-bottom: 0.3rem;
}


.hero h1 {
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, var(--charcoal) 0%, var(--gold-primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero .lead {
  font-size: 1.3rem;
  color: var(--slate);
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-cta {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.kv-figure {
  margin: 4rem auto 2rem auto;
  max-width: 800px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
  position: relative;
  transition: all 0.3s ease;
}

.kv-figure:hover {
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.15);
}

.kv-figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  transition: all 0.6s ease;
}

/* === Premium Sections === */
section {
  padding: clamp(4rem, 10vw, 8rem) 0;
  position: relative;
}

/* 選ばれる理由セクションの背景 */
#features {
  background-image: url('assets/creamtexture.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

/* モバイルデバイスでの最適化 */
@media (max-width: 768px) {
  #features {
    background-attachment: scroll; /* モバイルでは固定を無効化 */
    background-size: cover; /* モバイルでも全体をカバー */
  }
  
  /* モバイルでのオーバーレイを少し濃くして読みやすさを向上 */
  #features::before {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.8) 100%);
  }
}

/* 背景の上にオーバーレイを追加してテキストの読みやすさを確保 */
#features::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.85) 0%, rgba(255, 255, 255, 0.75) 100%);
  z-index: 1;
  pointer-events: none;
}

/* コンテンツを前面に表示 */
#features .container {
  position: relative;
  z-index: 2;
}

#flyer-structured {
  padding-top: clamp(2rem, 5vw, 4rem);
  background-image: url('assets/creamtexture.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

/* モバイルデバイスでの最適化 */
@media (max-width: 768px) {
  #flyer-structured {
    background-attachment: scroll; /* モバイルでは固定を無効化 */
    background-size: cover; /* モバイルでも全体をカバー */
  }
  
  /* モバイルでのオーバーレイを少し濃くして読みやすさを向上 */
  #flyer-structured::before {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.85) 100%);
  }
}

/* ご使用方法セクションのオーバーレイ */
#flyer-structured::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.8) 100%);
  z-index: 1;
  pointer-events: none;
}

/* ご使用方法セクションのコンテンツを前面に表示 */
#flyer-structured .container {
  position: relative;
  z-index: 2;
}

section:nth-child(even) {
  background: linear-gradient(135deg, var(--pearl) 0%, var(--ivory) 100%);
}

/* === Premium Panels === */
.panel {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: var(--soft-shadow);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold-primary), var(--rose-gold));
}

.panel:hover {
  transform: translateY(-5px);
  box-shadow: var(--deep-shadow);
}

/* === Premium Grid Layouts === */
.brand-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

/* Features grid for 3 columns */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  align-items: stretch;
}

.purchase-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
  min-height: 600px;
}

/* === Features Section === */
.features-section {
  background: linear-gradient(135deg, var(--ivory) 0%, var(--cream) 100%);
}

.features-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 4rem;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.features-text {
  text-align: left;
}

.features-visual {
  position: relative;
  text-align: center;
}

.cream-image {
  width: 100%;
  max-width: 300px;
  height: auto;
  border-radius: var(--radius);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  transition: all 0.4s ease;
  filter: drop-shadow(0 10px 30px rgba(212, 175, 55, 0.2));
  animation: float 6s ease-in-out infinite;
  margin: 0 auto;
  display: block;
}

.cream-image:hover {
  transform: translateY(-10px) scale(1.05);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.2);
}

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

/* === Free Formula Section === */
.free-formula-section {
  background: linear-gradient(135deg, var(--pearl) 0%, var(--ivory) 100%);
}

.free-formula-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 4rem;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.free-formula-text {
  text-align: left;
}

.free-formula-visual {
  position: relative;
  text-align: center;
}

.eggshell-image {
  width: 100%;
  max-width: 300px;
  height: auto;
  border-radius: var(--radius);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
  transition: all 0.4s ease;
  filter: drop-shadow(0 8px 25px rgba(212, 175, 55, 0.15));
  margin: 0 auto;
  display: block;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
}

.eggshell-image:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.15);
  filter: drop-shadow(0 12px 35px rgba(212, 175, 55, 0.25));
}

.free-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.free-item {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
  box-shadow: var(--soft-shadow);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.free-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-primary), var(--rose-gold));
}

.free-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--deep-shadow);
}

.free-icon {
  width: 50px;
  height: 50px;
  margin: 0 auto 1rem auto;
  display: block;
  transition: all 0.3s ease;
}

.free-icon .pict-icon {
  width: 35px;
  height: 35px;
  object-fit: contain;
}

/* 5つのフリー処方アイコン - ピクトグラム */
.icon-fragrance {
  background: var(--rose-gold);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z'/%3E%3C/svg%3E") no-repeat center;
  mask-size: 35px 35px;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z'/%3E%3C/svg%3E") no-repeat center;
  -webkit-mask-size: 35px 35px;
}

.icon-color {
  background: var(--rose-gold);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3Cpath d='M12 1v6m0 6v6m11-7h-6m-6 0H1'/%3E%3C/svg%3E") no-repeat center;
  mask-size: 35px 35px;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3Cpath d='M12 1v6m0 6v6m11-7h-6m-6 0H1'/%3E%3C/svg%3E") no-repeat center;
  -webkit-mask-size: 35px 35px;
}

.icon-oil {
  background: var(--rose-gold);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z'/%3E%3C/svg%3E") no-repeat center;
  mask-size: 35px 35px;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z'/%3E%3C/svg%3E") no-repeat center;
  -webkit-mask-size: 35px 35px;
}

.icon-paraben {
  background: var(--rose-gold);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z'/%3E%3C/svg%3E") no-repeat center;
  mask-size: 35px 35px;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z'/%3E%3C/svg%3E") no-repeat center;
  -webkit-mask-size: 35px 35px;
}

.icon-alcohol {
  background: var(--rose-gold);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z'/%3E%3C/svg%3E") no-repeat center;
  mask-size: 35px 35px;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z'/%3E%3C/svg%3E") no-repeat center;
  -webkit-mask-size: 35px 35px;
}

.free-item h3 {
  color: var(--gold-dark);
  margin-bottom: 0.8rem;
  font-size: 1.1rem;
}

.free-item p {
  color: var(--slate);
  font-size: 0.9rem;
  line-height: 1.6;
}


.story-panel {
  text-align: center;
  padding: 2rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.story-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 1.5rem auto;
  display: block;
  transition: all 0.3s ease;
}

.pict-icon {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

/* こだわりの処方アイコン - ピクトグラム */
.icon-egg {
  background: var(--gold-primary);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M12 2c-2 0-4 2-4 4 0 2 2 4 4 4s4-2 4-4c0-2-2-4-4-4z'/%3E%3Cpath d='M8 10c0 2 2 4 4 4s4-2 4-4'/%3E%3C/svg%3E") no-repeat center;
  mask-size: 40px 40px;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M12 2c-2 0-4 2-4 4 0 2 2 4 4 4s4-2 4-4c0-2-2-4-4-4z'/%3E%3Cpath d='M8 10c0 2 2 4 4 4s4-2 4-4'/%3E%3C/svg%3E") no-repeat center;
  -webkit-mask-size: 40px 40px;
}

.icon-fermentation {
  background: var(--gold-primary);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3Cpath d='M12 1v6m0 6v6m11-7h-6m-6 0H1'/%3E%3C/svg%3E") no-repeat center;
  mask-size: 40px 40px;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3Cpath d='M12 1v6m0 6v6m11-7h-6m-6 0H1'/%3E%3C/svg%3E") no-repeat center;
  -webkit-mask-size: 40px 40px;
}

.icon-ceramide {
  background: var(--gold-primary);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z'/%3E%3C/svg%3E") no-repeat center;
  mask-size: 40px 40px;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z'/%3E%3C/svg%3E") no-repeat center;
  -webkit-mask-size: 40px 40px;
}

.story-panel h3 {
  color: var(--gold-dark);
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.story-panel p {
  color: var(--slate);
  line-height: 1.7;
  flex-grow: 1;
  display: flex;
  align-items: center;
}

/* === Feature List === */
.feature-list {
  margin-top: 2rem;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  padding: 0.8rem;
  background: rgba(212, 175, 55, 0.05);
  border-radius: var(--radius-sm);
  border-left: 4px solid var(--gold-primary);
}

.feature-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.feature-item span:last-child {
  color: var(--slate);
  font-weight: 500;
}

/* === Testimonials Section === */
.testimonials-section {
  background: linear-gradient(135deg, var(--pearl) 0%, var(--ivory) 100%);
  display: none; /* 一時的に非表示 */
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--soft-shadow);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.4s ease;
  position: relative;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: -10px;
  left: 20px;
  font-size: 4rem;
  color: var(--gold-primary);
  font-family: var(--font-display);
  opacity: 0.3;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--deep-shadow);
}

.stars {
  color: var(--gold-primary);
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.testimonial-text {
  font-style: italic;
  color: var(--slate);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  font-size: 1rem;
}

.testimonial-author {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.author-name {
  font-weight: 600;
  color: var(--charcoal);
  font-size: 0.9rem;
}

.author-location {
  color: var(--muted);
  font-size: 0.8rem;
}

/* === Purchase Section === */
.purchase-section {
  background: linear-gradient(135deg, var(--ivory) 0%, var(--cream) 100%);
  position: relative;
  padding: 4rem 0;
}

.purchase-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 50%, rgba(212, 175, 55, 0.1) 0%, transparent 50%),
              radial-gradient(circle at 80% 50%, rgba(232, 180, 184, 0.1) 0%, transparent 50%);
  pointer-events: none;
}


/* メイン商品エリア */
.main-product-area {
  margin-bottom: 3rem;
}

.product-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  max-width: 1000px;
  margin: 0 auto;
  min-height: 600px;
}

.product-image {
  position: relative;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  justify-content: flex-start;
  padding-top: -8rem;
  margin-top: -8rem;
}

.product-name-overlay {
  position: relative;
  z-index: 2;
  margin-bottom: 0.5rem;
}

.product-name-logo {
  max-width: 280px;
  height: auto;
  object-fit: contain;
}


.product-main-image {
  max-width: 100%;
  height: auto;
  max-height: 350px;
  object-fit: contain;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.15));
  transition: all 0.3s ease;
}

.product-main-image:hover {
  transform: translateY(-2px);
  filter: drop-shadow(0 12px 32px rgba(0, 0, 0, 0.2));
}

.product-info {
  padding: 1rem;
}

/* メインキャッチセクション */
.main-catch-section {
  text-align: center;
  margin-bottom: 2rem;
}

.product-catch {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.catch-subtitle {
  font-size: 1rem;
  color: var(--text-secondary);
  font-weight: 300;
  font-style: italic;
}

/* 商品説明エリア */
.product-description {
  margin-bottom: 2rem;
}

.description-main {
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--text-primary);
  margin-bottom: 1rem;
  font-weight: 500;
  text-align: center;
}

.description-detail {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 1rem;
  text-align: center;
}

.description-trial {
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--text-primary);
  font-weight: 500;
  margin-bottom: 1rem;
  text-align: center;
}

.aging-care-note {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0;
  font-style: italic;
  text-align: center;
}

.product-info-simple {
  margin-bottom: 2rem;
  text-align: center;
}

.product-name {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  letter-spacing: 0.5px;
}

.product-details-simple {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.product-type,
.product-volume,
.product-code {
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.product-type {
  background: rgba(212, 175, 55, 0.1);
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  color: var(--gold-primary);
  font-weight: 600;
}

.product-volume {
  font-weight: 600;
  color: var(--text-primary);
}

.product-code {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.product-price {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--gold-primary);
  text-align: center;
  margin-bottom: 0.5rem;
}

.purchase-cta {
  text-align: center;
}

.store-info {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.store-info a {
  color: var(--gold-primary);
  text-decoration: none;
  font-weight: 500;
}

.store-info a:hover {
  text-decoration: underline;
}

/* サンプル商品エリア */
.sample-product-area {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.sample-image {
  margin-bottom: 1.5rem;
}

.sample-image img {
  max-width: 100%;
  height: auto;
  transform: scale(1.2);
  margin: 0 auto;
  display: block;
  margin-bottom: 3rem;
}

.sample-cta {
  margin-top: 1rem;
  margin-bottom: 6rem;
}

/* ボタンスタイル */
.btn-secondary {
  background: linear-gradient(135deg, var(--rose-gold) 0%, var(--gold-primary) 100%);
  color: white;
  border: none;
  padding: 1rem 2rem;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
  position: relative;
  overflow: hidden;
}

.btn-secondary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s;
}

.btn-secondary:hover::before {
  left: 100%;
}

.btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
  color: white;
  text-decoration: none;
}

.btn-secondary .btn-arrow {
  transition: transform 0.3s ease;
}

.btn-secondary:hover .btn-arrow {
  transform: translateX(4px);
}

/* サンプル購入ボタン専用の光るエフェクト */
.btn-secondary::after {
  content: '';
  position: absolute;
  top: 0;
  left: -30%;
  width: 30%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.6), transparent);
  transform: skewX(-20deg);
  animation: ctaShine 3.5s ease-in-out infinite;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  
  .product-showcase {
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 0;
  }
  
  .product-image {
    margin-top: 0;
    padding-top: 0;
  }
  
  .product-name-above-kv .product-name-logo {
    height: 90px;
    max-width: 300px;
  }
  
  .product-main-image {
    max-height: 300px;
  }
  
  .product-catch {
    font-size: 1.5rem;
  }
  
  .catch-subtitle {
    font-size: 0.9rem;
  }
  
  .description-main {
    font-size: 1rem;
  }
  
  .product-details-simple {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .product-name {
    font-size: 1.2rem;
  }
  
  .product-price {
    font-size: 1.3rem;
  }
  
  /* 購入セクションのスマホ調整 */
  .purchase-section .section-h {
    margin-bottom: 1.5rem;
  }
  
  .purchase-section .section-sub {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
  }
  
  /* スマホ用のmakuname2.png表示 */
  .mobile-product-name {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 2rem;
    padding: 0 1rem;
    width: 100%;
  }
  
  .mobile-product-name-logo {
    max-width: 180px;
    height: auto;
    display: block;
    margin: 0 auto;
  }
  
  /* デスクトップ用のmakuname2.pngを非表示 */
  .purchase-section .product-name-overlay {
    display: none;
  }
  
  /* 商品写真との間隔を確保 */
  .purchase-content {
    margin-top: 0;
  }
  
  .main-product-area {
    margin-top: 0;
  }
  
  .product-showcase {
    margin-top: 0;
  }
}

.product-badges {
  position: absolute;
  top: 10px;
  right: 10px;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  z-index: 2;
}

.badge-new, .badge-limited {
  background: linear-gradient(135deg, var(--gold-primary), var(--gold-dark));
  color: white;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  box-shadow: var(--soft-shadow);
}

.badge-limited {
  background: linear-gradient(135deg, var(--rose-gold), #d4a5a5);
}

.purchase-info {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: var(--soft-shadow);
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 500px;
}

.price-section {
  text-align: center;
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: linear-gradient(135deg, var(--gold-light), var(--rose-light));
  border-radius: var(--radius-sm);
  border: 2px solid var(--gold-primary);
}

.price-original {
  color: var(--muted);
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.price-strikethrough {
  text-decoration: line-through;
}

.price-current {
  margin-bottom: 0.5rem;
}

.price-amount {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--gold-dark);
  font-family: var(--font-display);
}

.price-tax {
  font-size: 1rem;
  color: var(--slate);
}

.price-save {
  color: var(--gold-dark);
  font-weight: 600;
  font-size: 1.1rem;
}

.purchase-benefits {
  margin-bottom: 2rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.benefit-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  padding: 1rem;
  background: rgba(212, 175, 55, 0.05);
  border-radius: var(--radius-sm);
  border-left: 4px solid var(--gold-primary);
}

.benefit-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.purchase-cta {
  text-align: center;
  margin-bottom: 2rem;
}

.btn-large {
  padding: 1.5rem 3rem;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 0 auto 1rem;
  max-width: 300px;
}

.btn-arrow {
  transition: transform 0.3s ease;
}

.btn-large:hover .btn-arrow {
  transform: translateX(5px);
}

.purchase-note {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 0;
}

.trust-indicators {
  display: flex;
  justify-content: center;
  gap: 2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(212, 175, 55, 0.2);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.trust-icon {
  font-size: 1.2rem;
}

/* === Unique Ingredient Section === */
.unique-ingredient {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(212, 175, 55, 0.2);
  background: rgba(255, 255, 255, 0.7);
  border-radius: var(--radius-sm);
  padding: 1.5rem;
  backdrop-filter: blur(10px);
  text-align: center;
}

.unique-ingredient h4 {
  color: var(--gold-dark);
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.unique-ingredient p {
  color: var(--slate);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 0.5rem;
}

.unique-ingredient p:last-child {
  margin-bottom: 0;
}

/* === Product Details in Purchase Section === */
.product-showcase .product-details {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(212, 175, 55, 0.2);
  background: rgba(255, 255, 255, 0.7);
  border-radius: var(--radius-sm);
  padding: 1.5rem;
  backdrop-filter: blur(10px);
}

.product-details h4 {
  color: var(--gold-dark);
  font-size: 1.1rem;
  margin-bottom: 1rem;
  text-align: center;
}

.product-specs {
  list-style: none;
  padding: 0;
  margin: 0;
}

.product-specs li {
  padding: 0.5rem 0;
  color: var(--slate);
  font-size: 0.9rem;
  border-bottom: 1px solid rgba(212, 175, 55, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.product-specs li:last-child {
  border-bottom: none;
}

.spec-label {
  font-weight: 600;
  color: var(--gold-dark);
  flex-shrink: 0;
  margin-right: 1rem;
}

.spec-value {
  color: var(--slate);
  text-align: right;
  flex-grow: 1;
}

.story {
  padding-block: clamp(52px, 8vw, 108px);
  background: var(--base-bg);
}

.story:nth-of-type(even) { background: var(--soft) }

.story-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.revflow .story-wrap { 
  grid-template-columns: 1fr 1fr;
}

/* === 3つの画像の統一表示 === */
#brand .brand-visual,
#point-eggshell .story-visual,
#purchase .buy-grid > figure {
  max-width: var(--visual-w);
  width: 100%;
  margin: 0 0 16px 0;
  padding: 0;
  background: transparent;
  box-shadow: none;
  border-radius: 0;
  display: block;
  text-align: center;
}

#brand .brand-visual img,
#point-eggshell .story-visual img,
#purchase .buy-grid > figure img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
  border-radius: 14px;
  max-width: 100%;
  min-width: 0;
}

/* === Purchase Section === */
.purchase {
  padding-block: clamp(48px, 7vw, 96px);
}

.purchase-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 28px;
  align-items: center;
}

.purchase .panel { padding: 24px }

.price {
  font-size: 1.2rem;
}

.price s {
  color: #999;
  margin-right: .4em;
}

.note {
  color: var(--ink-muted);
  font-size: .92rem;
}

/* === Features === */
.features { background: var(--soft) }

.feat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feat {
  background: #fff;
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}

.feat h3 {
  margin: .2em 0 .4em;
  font-size: 1.05rem;
}

/* === Ingredients === */
#ingredients .ingredients-list {
  columns: 2;
  column-gap: 40px;
  list-style: disc;
  padding-left: 20px;
  font-size: 1rem;
  line-height: 1.85;
}

/* === Details === */
#details .panel,
#ingredients .panel {
  background: #fff;
  border-radius: 18px;
  padding: 22px;
  box-shadow: var(--shadow);
  margin-bottom: 18px;
}

#details h3 { margin-top: 0 }
#details h4 {
  margin: .8em 0 .3em;
  font-size: 1.02rem;
}
#details ul { margin: .2em 0 .8em 1.2em }

/* === Highlight Sections === */
.highlight-section {
  background: linear-gradient(135deg, var(--gold-light), var(--rose-light));
  border: 2px solid var(--gold-primary);
  border-radius: var(--radius-sm);
  padding: 1.5rem;
  margin: 1.5rem 0;
  position: relative;
  overflow: hidden;
}

.highlight-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold-primary), var(--rose-gold));
}

.highlight-title {
  color: var(--gold-dark) !important;
  font-size: 1.2rem !important;
  font-weight: 700 !important;
  margin-bottom: 1rem !important;
  text-align: center;
  position: relative;
}

.highlight-title::after {
  content: '';
  display: block;
  width: 40px;
  height: 2px;
  background: var(--gold-primary);
  margin: 0.5rem auto 0;
  border-radius: 1px;
}

.highlight-section p {
  color: var(--charcoal);
  font-weight: 500;
  line-height: 1.7;
  margin: 0 0 1rem 0;
}

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

/* === Anchor Point for Smooth Scrolling === */
.anchor-point {
  display: block;
  position: relative;
  top: -100px;
  visibility: hidden;
  height: 0;
  width: 0;
  margin: 0;
  padding: 0;
}

/* === Highlight Section Mobile Responsive === */
@media (max-width: 768px) {
  .highlight-section {
    padding: 1.2rem;
    margin: 1.2rem 0;
    border-radius: var(--radius-sm);
  }
  
  .highlight-title {
    font-size: 1.1rem !important;
    margin-bottom: 0.8rem !important;
  }
  
  .highlight-section p {
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 0.9rem;
  }
}

@media (max-width: 480px) {
  .highlight-section {
    padding: 1rem;
    margin: 1rem 0;
  }
  
  .highlight-title {
    font-size: 1rem !important;
    margin-bottom: 0.7rem !important;
  }
  
  .highlight-section p {
    font-size: 0.9rem;
    line-height: 1.75;
    margin-bottom: 0.8rem;
  }
}

/* === Free List Styling === */
.free-list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  margin: 1.5rem 0;
}

.free-list-item {
  background: rgba(255, 255, 255, 0.8);
  border: 2px solid var(--gold-primary);
  border-radius: var(--radius-sm);
  padding: 1rem;
  text-align: center;
  font-weight: 600;
  color: var(--gold-dark);
  font-size: 1rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.free-list-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-primary), var(--rose-gold));
}

.free-list-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--soft-shadow);
  background: rgba(255, 255, 255, 0.95);
}

/* === Footer === */
footer {
  background: #222;
  color: #fff;
}

.foot-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 24px;
}

.foot h4 {
  color: var(--gold-primary);
  font-size: 1.1rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.foot a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.foot a:hover {
  color: var(--gold-primary);
}

.copyright {
  color: #bbb;
  font-size: .9rem;
  margin-top: 8px;
}

/* === Mobile Sticky CTA === */
@media (max-width: 768px) {
  .sticky-buy {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    background: #fff;
    border-top: 1px solid #eee;
    box-shadow: 0 -8px 24px rgba(0,0,0,.08);
    padding: 10px 14px;
    z-index: 60;
  }
  
  .sticky-buy .inner {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: space-between;
    max-width: var(--maxw);
    margin: 0 auto;
  }
  
  .sticky-buy .price {
    margin: 0;
    font-weight: 700;
  }
  
  .sticky-buy .btn { padding: .7em 1.2em }
  body { padding-bottom: 64px }
}

/* === Mobile-First Responsive Design === */

/* Tablet and below */
@media (max-width: 1024px) {
  .container {
    padding-inline: clamp(16px, 4vw, 32px);
  }
  
  .hero-content {
    padding: 1.5rem;
  }
  
  .story-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .free-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }
}

/* Tablet */
@media (max-width: 1024px) and (min-width: 769px) {
  .nav {
    padding: 0 1.5rem;
  }
  
  .nav-menu {
    gap: 1.8rem;
    display: flex !important;
  }
  
  .nav-link {
    font-size: 0.9rem;
  }
  
  .nav-cta {
    display: flex !important;
  }
  
  .nav-cta .btn {
    font-size: 0.9rem;
    padding: 0.6rem 1.2rem;
  }
  
  .mobile-menu-toggle {
    display: none !important;
  }
  
  .mobile-nav-menu {
    display: none !important;
  }
  
  .mobile-nav-overlay {
    display: none !important;
  }
  
  .company-logo {
    height: 38px;
  }
  
  .container {
    padding: 0 2rem;
  }
  
  .product-showcase {
    gap: 2.5rem;
  }
  
  .features-grid {
    gap: 2rem;
  }
  
  .free-grid {
    gap: 1.5rem;
  }
}

/* === Mobile Navigation === */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 30px;
  height: 30px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
  flex-shrink: 0;
}

/* Desktop navigation - ensure mobile elements are hidden */
@media (min-width: 769px) {
  .mobile-menu-toggle {
    display: none !important;
  }
  
  .mobile-nav-menu {
    display: none !important;
  }
  
  .mobile-nav-overlay {
    display: none !important;
  }
  
  .nav-menu {
    display: flex !important;
  }
  
  .nav-cta {
    display: flex !important;
  }
  
  /* デスクトップではスマホ用のmakuname2.pngを非表示 */
  .mobile-product-name {
    display: none !important;
  }
  
  /* デスクトップでは元のmakuname2.pngを表示 */
  .purchase-section .product-name-overlay {
    display: block !important;
  }
}

.mobile-menu-toggle span {
  width: 25px;
  height: 3px;
  background: var(--charcoal);
  border-radius: 2px;
  transition: all 0.3s ease;
  transform-origin: center;
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

.mobile-nav-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mobile-nav-overlay.active {
  display: block;
  opacity: 1;
}

.mobile-nav-menu {
  display: none;
  position: fixed;
  top: 0;
  right: -100%;
  width: 280px;
  height: 100vh;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  z-index: 1000;
  transition: right 0.3s ease;
  padding: 80px 0 0 0;
  box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
  overflow-y: auto;
  overflow-x: hidden;
}

.mobile-nav-menu.active {
  right: 0;
}

.mobile-nav-menu .nav-link {
  display: block;
  padding: 1rem 2rem;
  font-size: 1rem;
  font-weight: 500;
  color: var(--charcoal);
  border-bottom: 1px solid rgba(212, 175, 55, 0.1);
  transition: all 0.3s ease;
}

.mobile-nav-menu .nav-link:hover,
.mobile-nav-menu .nav-link.active {
  background: rgba(212, 175, 55, 0.1);
  color: var(--gold-primary);
  padding-left: 2.5rem;
}

.mobile-nav-cta {
  padding: 1.5rem 2rem;
  border-top: 1px solid rgba(212, 175, 55, 0.1);
}

.mobile-nav-cta .btn {
  width: 100%;
  justify-content: center;
  font-size: 1rem;
  padding: 1rem 2rem;
}

/* Mobile landscape and below */
@media (max-width: 768px) {
  .nav {
    padding: 0 0.8rem;
    min-height: 70px;
    position: relative;
    justify-content: space-between;
  }
  
  .brand {
    flex-shrink: 0;
  }
  
  .mobile-menu-toggle {
    display: flex !important;
    flex-shrink: 0;
    margin-left: auto;
  }
  
  .nav-menu {
    display: none !important;
  }
  
  .nav-cta {
    display: none !important;
  }
  
  .mobile-nav-menu {
    display: block !important;
  }
  
  .company-logo {
    height: 35px;
  }
  
  .company-intro-content {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }
  
  .company-intro-image {
    width: 100px;
    margin: 0 auto;
  }
  
  .brand-message-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .features-header {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
    max-width: 600px;
  }
  
  .features-text {
    text-align: center;
  }
  
  .usage-header {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
    max-width: 600px;
  }
  
  .usage-text {
    text-align: center;
  }
  
  .hero-content {
    padding: 1.5rem;
  }
  
  .brand {
    font-size: 1.3rem;
  }
  
  .company-logo {
    height: 35px;
    max-width: 150px;
  }
  
  .maku-logo {
    height: 60px;
    max-width: 250px;
  }
  
  .brand-badge {
    width: 35px;
    height: 35px;
  }
  
  .hero {
    min-height: 80vh;
    padding-top: 70px;
  }
  
  .hero h1 {
    font-size: clamp(2rem, 8vw, 3rem);
  }
  
  .hero .lead {
    font-size: 1.1rem;
  }
  
  .hero-cta {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }
  
  .btn {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }
  
  .section-h {
    font-size: clamp(1.5rem, 6vw, 2rem);
  }
  
  .section-sub {
    font-size: 1rem;
  }
  
  .brand-grid,
  .story-grid,
  .purchase-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    min-height: auto;
  }
  
  .product-showcase {
    min-height: auto;
  }
  
  .purchase-info {
    min-height: auto;
  }
  
  .panel {
    padding: 1.5rem;
  }
  
  .story-panel {
    padding: 1.5rem;
  }
  
  .story-icon {
    width: 50px;
    height: 50px;
  }
  
  .pict-icon {
    width: 35px;
    height: 35px;
  }
  
  .icon-egg,
  .icon-fermentation,
  .icon-ceramide {
    mask-size: 35px 35px;
    -webkit-mask-size: 35px 35px;
  }
  
  .free-icon {
    width: 45px;
    height: 45px;
  }
  
  .free-icon .pict-icon {
    width: 30px;
    height: 30px;
  }
  
  .icon-fragrance,
  .icon-color,
  .icon-oil,
  .icon-paraben,
  .icon-alcohol {
    mask-size: 30px 30px;
    -webkit-mask-size: 30px 30px;
  }
  
  .testimonial-card {
    padding: 1.5rem;
  }
  
  .purchase-info {
    padding: 1.5rem;
  }
  
  .price-amount {
    font-size: 2rem;
  }
  
  .btn-large {
    padding: 1.2rem 2rem;
    font-size: 1.1rem;
  }
  
  .trust-indicators {
    flex-direction: column;
    gap: 1rem;
  }
  
  .grid-2 {
    grid-template-columns: 1fr;
  }
  
  #ingredients .ingredients-list {
    columns: 1;
  }
  
  .free-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
}

/* Small mobile */
@media (max-width: 480px) {
  .nav {
    padding: 0 0.6rem;
    min-height: 70px;
    justify-content: space-between;
  }
  
  .brand {
    flex-shrink: 0;
  }
  
  .mobile-menu-toggle {
    display: flex !important;
    flex-shrink: 0;
    margin-left: auto;
    width: 28px;
    height: 28px;
  }
  
  .mobile-menu-toggle span {
    width: 22px;
    height: 2px;
  }
  
  .nav-menu {
    display: none !important;
  }
  
  .nav-cta {
    display: none !important;
  }
  
  .company-logo {
    height: 30px;
    max-width: 120px;
  }
  
  .company-intro-image {
    width: 80px;
  }
  
  .contact-form-container {
    padding: 2rem 1.5rem;
  }
  
  .privacy-content {
    padding: 2rem 1.5rem;
  }
  
  .hero-content {
    padding: 1rem;
  }
  
  .hero-badge {
    font-size: 2.2rem;
  }
  
  .kv-figure {
    margin: 3rem auto 1.5rem auto;
    max-width: 90%;
  }
  
  .section-h {
    font-size: 1.4rem;
  }
  
  .panel {
    padding: 1.2rem;
  }
  
  .story-panel {
    padding: 1.2rem;
  }
  
  .testimonial-card {
    padding: 1.2rem;
  }
  
  .purchase-info {
    padding: 1.2rem;
  }
  
  .price-section {
    padding: 1rem;
  }
  
  .price-amount {
    font-size: 1.8rem;
  }
  
  .benefit-item {
    padding: 0.8rem;
  }
  
  .feature-item {
    padding: 0.6rem;
  }
  
  .free-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .free-item {
    padding: 1rem;
  }
  
  .free-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8rem;
  }
  
  .free-list-item {
    padding: 0.8rem;
    font-size: 0.9rem;
  }
}

/* Small mobile */
@media (max-width: 480px) {
  .free-list {
    grid-template-columns: 1fr;
    gap: 0.6rem;
  }
  
  .free-list-item {
    padding: 0.7rem;
    font-size: 0.85rem;
  }
  
  .brand-message-title {
    font-size: 2rem;
  }
  
  .brand-message-text {
    padding: 1.5rem;
  }
  
  .brand-message-text p {
    font-size: 1rem;
  }
  
  .company-logo {
    height: 30px;
    max-width: 120px;
  }
  
  .maku-logo {
    height: 50px;
    max-width: 200px;
  }
  
  .purchase-maku-logo {
    height: 40px;
    max-width: 150px;
  }
  
  /* 小さいスマホでの購入セクション調整 */
  .purchase-section .section-h {
    margin-bottom: 1rem;
    font-size: 1.3rem;
  }
  
  .purchase-section .section-sub {
    margin-bottom: 1.5rem;
    padding-bottom: 0.8rem;
    font-size: 0.9rem;
  }
  
  /* 小さいスマホ用のmakuname2.png調整 */
  .mobile-product-name {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1.5rem;
    padding: 0 0.8rem;
    width: 100%;
  }
  
  .mobile-product-name-logo {
    max-width: 150px;
    height: auto;
    display: block;
    margin: 0 auto;
  }
  
  .product-name-above-kv .product-name-logo {
    height: 70px;
    max-width: 250px;
  }
  
  /* 商品写真との間隔をさらに確保 */
  .purchase-content {
    margin-top: 0;
  }
  
  .main-product-area {
    margin-top: 0;
  }
  
  .product-showcase {
    margin-top: 0;
  }
}

/* === Usage Section === */
.usage-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 4rem;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.usage-text {
  text-align: left;
}

.usage-visual {
  position: relative;
  text-align: center;
}

.woman-image {
  width: 100%;
  max-width: 300px;
  height: auto;
  border-radius: var(--radius);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  transition: all 0.4s ease;
  filter: drop-shadow(0 10px 30px rgba(212, 175, 55, 0.2));
  object-fit: cover;
  object-position: center;
  margin: 0 auto;
  display: block;
}

.woman-image:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.2);
}

/* === Grid Utilities === */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.grid-vertical {
  display: grid;
  grid-template-rows: repeat(3, auto);
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
  justify-items: center;
  text-align: center;
  width: 100%;
}

.grid-vertical .panel {
  width: 100%;
  text-align: center;
  margin: 0 auto;
}

.grid-vertical .panel h3 {
  text-align: center;
}

.grid-vertical .panel p,
.grid-vertical .panel ul {
  text-align: left;
}

/* 詳細説明セクションの最初のパネルは例外で中央揃え */
#details .grid-vertical .panel:first-child p {
  text-align: center !important;
}

/* === Contact Section === */
.contact-section {
  background: linear-gradient(135deg, var(--ivory) 0%, var(--cream) 100%);
  padding: clamp(4rem, 10vw, 8rem) 0;
}

.contact-form-container {
  max-width: 600px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  border-radius: var(--radius);
  padding: 3rem;
  box-shadow: var(--soft-shadow);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-weight: 600;
  color: var(--ink-primary);
  font-size: 0.95rem;
}

.required {
  color: #e74c3c;
  font-weight: bold;
}

.form-group input,
.form-group textarea {
  padding: 1rem;
  border: 2px solid rgba(212, 175, 55, 0.2);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.8);
  font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold-primary);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
  background: rgba(255, 255, 255, 1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-submit {
  text-align: center;
  margin-top: 1rem;
}


/* === Privacy Policy Section === */
.privacy-section {
  background: linear-gradient(135deg, var(--ivory) 0%, var(--cream) 100%);
  padding: clamp(4rem, 10vw, 8rem) 0;
  min-height: 80vh;
}

.privacy-content {
  max-width: 800px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  border-radius: var(--radius);
  padding: 3rem;
  box-shadow: var(--soft-shadow);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.privacy-intro {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--ink-primary);
  margin-bottom: 2rem;
  text-align: center;
  font-weight: 500;
}

.privacy-article {
  margin-bottom: 2.5rem;
}

.privacy-article h2 {
  color: var(--gold-primary);
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 1rem;
  border-bottom: 2px solid var(--gold-primary);
  padding-bottom: 0.5rem;
}

.privacy-article p {
  line-height: 1.8;
  color: var(--ink-primary);
  margin-bottom: 1rem;
}

.privacy-article ul {
  margin: 1rem 0;
  padding-left: 1.5rem;
}

.privacy-article li {
  line-height: 1.8;
  color: var(--ink-primary);
  margin-bottom: 0.5rem;
}

.contact-info {
  background: rgba(212, 175, 55, 0.1);
  padding: 1.5rem;
  border-radius: var(--radius-sm);
  margin-top: 1rem;
}

.contact-info p {
  margin-bottom: 0.8rem;
}

.contact-info a {
  color: var(--gold-primary);
  text-decoration: none;
  font-weight: 500;
}

.contact-info a:hover {
  text-decoration: underline;
}

/* 中央揃えクラス */
.center-text {
  text-align: center !important;
}

.center-text h3 {
  text-align: center !important;
  font-size: 1.8rem !important;
  font-weight: 600 !important;
  margin-bottom: 1.5rem !important;
  color: var(--ink-primary) !important;
}

.center-text p:first-of-type {
  text-align: center !important;
  font-size: 1.1rem !important;
  line-height: 1.6 !important;
}

/* 会社概要ページ */
.company-section {
  padding: 8rem 0 4rem 0;
  background: var(--bg-light);
}

.page-title {
  text-align: center;
  font-size: 2.5rem;
  color: var(--ink-primary);
  margin-bottom: 3rem;
  font-family: var(--font-display);
  font-weight: 600;
}

.company-content {
  max-width: 800px;
  margin: 0 auto;
  background: white;
  padding: 3rem;
  border-radius: 1rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.company-intro {
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 2px solid var(--gold-primary);
}

.company-intro h2 {
  color: var(--ink-primary);
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.company-intro p {
  line-height: 1.8;
  color: var(--ink-secondary);
  font-size: 1.1rem;
}

.company-details,
.product-info,
.contact-info {
  margin-bottom: 3rem;
}

.company-details h2,
.product-info h2,
.contact-info h2 {
  color: var(--ink-primary);
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.company-info,
.product-details {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 1rem;
  margin-bottom: 2rem;
}

.company-info dt,
.product-details dt {
  font-weight: 600;
  color: var(--ink-primary);
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border-light);
}

.company-info dd,
.product-details dd {
  color: var(--ink-secondary);
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border-light);
  margin: 0;
}

.contact-info p {
  line-height: 1.8;
  color: var(--ink-secondary);
  margin-bottom: 2rem;
}

.contact-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.contact-links .btn {
  flex: 1;
  min-width: 200px;
  text-align: center;
}

.contact-links .btn-primary {
  color: #2c2c2c;
  font-weight: 700;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.5);
}

@media (max-width: 960px) {
  .grid-2 { grid-template-columns: 1fr }
  .grid-3 { grid-template-columns: 1fr }
  
  .free-formula-header {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
    max-width: 600px;
  }
  
  .free-formula-text {
    text-align: center;
  }
}

/* === Utility Classes === */
.muted { color: var(--ink-muted) }
.container--narrow { 
  max-width: 900px;
  margin: 0 auto;
}

/* === Purchase Section Enhancements (Premium) === */
/* Gradient edge for glass card */
.purchase-info {
  position: relative;
  overflow: hidden;
}
.purchase-info::before {
  content: '';
  position: absolute;
  inset: 0;
  padding: 2px;
  border-radius: inherit;
  background: linear-gradient(135deg, var(--gold-primary), var(--rose-gold));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
}

/* Product subtle glow */
.product-image::after {
  content: '';
  position: absolute;
  inset: -8%;
  background: radial-gradient(ellipse at center, rgba(212,175,55,0.14), transparent 60%);
  filter: blur(16px);
  z-index: -1;
}
.product-image:hover img {
  transform: translateY(-3px) scale(1.03);
}

/* CTA shine and glow */
.btn-primary.btn-large {
  position: relative;
  box-shadow: 0 10px 30px rgba(212, 175, 55, 0.25), inset 0 0 0 1px rgba(255,255,255,0.3);
}
.btn-primary.btn-large::after {
  content: '';
  position: absolute;
  top: 0;
  left: -30%;
  width: 30%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.6), transparent);
  transform: skewX(-20deg);
  animation: ctaShine 3.5s ease-in-out infinite;
}
@keyframes ctaShine {
  0% { left: -30%; }
  60% { left: 130%; }
  100% { left: 130%; }
}

/* Emphasize purchase section heading */
.purchase-section .section-h {
  text-align: center;
  position: relative;
}
.purchase-section .section-h::after {
  content: '';
  display: block;
  width: 72px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-primary), var(--rose-gold));
  margin: 14px auto 0;
  border-radius: 2px;
}

