@charset "utf-8";

/* ==========================================================================
   CSS Variables & Reset
   ========================================================================== */
:root {
  --primary-color: #D32F2F; /* 母の日らしい落ち着いた赤 */
  --secondary-color: #FFCDD2;
  --text-main: #333333;
  --text-muted: #666666;
  --bg-light: #F9F9F9;
  --bg-reasons: #FFF0F2; /* 3つの理由セクションの背景色 */
  --border-color: #E0E0E0;
  --placeholder-bg: #EAEAEA;
  --font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
}

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

body {
  font-family: var(--font-family);
  color: var(--text-main);
  line-height: 1.6;
  background-color: #FFFFFF;
  -webkit-font-smoothing: antialiased;
}

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

a:hover {
  opacity: 0.7;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul {
  list-style: none;
}

/* ==========================================================================
   Utility Classes & Placeholders
   ========================================================================== */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.sp-only { display: none !important; }

@media (max-width: 768px) {
  .sp-only { display: block !important; }
  br.sp-only, span.sp-only { display: inline !important; }
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.img-placeholder {
  background-color: var(--placeholder-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
  font-size: 0.9rem;
  width: 100%;
  position: relative;
  overflow: hidden;
}

.img-placeholder::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(to bottom right, transparent 49%, #ccc 50%, transparent 51%),
              linear-gradient(to top right, transparent 49%, #ccc 50%, transparent 51%);
  opacity: 0.3;
}

.section-title {
  font-size: 1.75rem;
  text-align: center;
  margin-bottom: 2.5rem;
  font-weight: bold;
  letter-spacing: 0.05em;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  background-color: var(--primary-color);
  color: #FFF !important;
  border-radius: 4px;
  font-weight: bold;
  cursor: pointer;
  border: none;
  transition: background-color 0.3s ease;
  text-decoration: none !important;
}

.btn:hover {
  background-color: #B71C1C;
}

.btn-outline {
  background-color: transparent;
  border: 1px solid var(--border-color);
  color: var(--text-main);
}

.btn-outline:hover {
  background-color: var(--bg-light);
}

/* ==========================================================================
   Header
   ========================================================================== */
.lp-header {
  border-bottom: 1px solid var(--border-color);
  background: #FFF;
  position: sticky;
  top: 0;
  z-index: 100;
}

.lp-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.header-logo {
  height: 60px;
  width: auto;
}

.header-nav {
  display: flex;
  gap: 2rem;
}

.header-nav a {
  font-size: 0.9rem;
  font-weight: 500;
}

.header-icons {
  display: flex;
  gap: 1.5rem;
}

.header-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.header-icon i {
  font-size: 1.25rem;
  margin-bottom: 4px;
  color: var(--text-main);
}

.lp-hero {
  background-image: url('../img/hero-image.png');
  background-size: cover;
  background-position: right center; /* 画像の右側（ビール）を基準に配置し、左に余白を作る */
  width: 100%;
  aspect-ratio: 21 / 9;
  min-height: 480px;
  max-height: 650px;
  display: flex;
  align-items: center;
  position: relative;
}

.lp-hero .container {
  display: flex;
  align-items: center;
  position: relative;
  z-index: 2;
  max-width: 100%; /* 共通コンテナの幅制限を解除 */
  margin: 0; /* 中央揃えを解除 */
  padding-left: 10%; /* 常に画面左から10%の位置に固定し、右側のビールと被らないようにする */
}

.hero-content {
  flex: 1;
  max-width: 480px; /* ビールと被らないようにテキスト幅を少し狭める */
  position: relative;
}

.hero-catch {
  font-size: 1.1rem;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.hero-title {
  font-size: 2.8rem;
  line-height: 1.3;
  margin-bottom: 1.5rem;
}

.hero-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  position: relative;
}

.hero-badge {
  position: absolute;
  right: -90px;
  bottom: -40px;
  width: 110px;
  height: 110px;
  background-color: #FFF;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
  border: 1px solid var(--border-color);
  z-index: 3;
}

.hero-badge .date {
  font-size: 1.75rem;
  font-weight: bold;
  color: var(--primary-color);
  line-height: 1;
}

.hero-badge .text {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 5px;
}

/* ==========================================================================
   Features Section
   ========================================================================== */
.lp-features {
  padding: 3rem 0;
  border-bottom: 1px solid var(--border-color);
}

.features-list {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
}

.feature-item {
  flex: 1;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.feature-icon {
  width: 50px;
  height: 50px;
  background-color: #FFF;
  border: 1px solid var(--border-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--primary-color);
  flex-shrink: 0;
}

.feature-text h3 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

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

/* ==========================================================================
   Ranking Section
   ========================================================================== */
.lp-ranking {
  background-color: var(--bg-reasons);
  padding: 5rem 0;
}

.ranking-grid {
  display: flex;
  gap: 2rem;
}

.ranking-card {
  flex: 1;
  background: #FFF;
  border-radius: 8px;
  /* overflow: hidden; を削除してバッジのはみ出しを許可 */
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  position: relative;
  display: flex;
  flex-direction: column;
}

.ranking-badge {
  position: absolute;
  top: -15px;
  left: -15px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #FFF;
  z-index: 5; /* バッジが確実に最前面に来るようにZ-indexを上げる */
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  border: 3px solid #FFF;
}

.ranking-badge .num {
  font-size: 1.5rem;
  font-weight: 900;
  line-height: 1;
}

.ranking-badge .unit {
  font-size: 0.7rem;
  font-weight: bold;
}

.rank-1 { background: linear-gradient(135deg, #FFD700, #DAA520); }
.rank-2 { background: linear-gradient(135deg, #E0E0E0, #A9A9A9); }
.rank-3 { background: linear-gradient(135deg, #CD7F32, #8B4513); }

.ranking-img-wrapper {
  display: block;
  height: 250px;
  overflow: hidden; /* ここで画像の角丸をクリップする */
  border-radius: 8px 8px 0 0;
  background-color: #F8F8F8;
}

.ranking-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.ranking-img-wrapper:hover .ranking-img {
  transform: scale(1.05); /* ホバー時に画像を少し拡大 */
}

.ranking-content {
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.ranking-item-name {
  font-size: 1rem;
  line-height: 1.5;
  margin-bottom: 1rem;
  flex: 1;
}

.ranking-item-name a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

.ranking-item-name a:hover {
  color: var(--primary-color);
  text-decoration: underline;
}

.ranking-price {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 1.5rem;
}

.ranking-price span {
  font-size: 0.9rem;
  font-weight: normal;
}

.btn-full {
  width: 100%;
  display: block;
  text-align: center;
}

/* ==========================================================================
   Products Section
   ========================================================================== */
.lp-products {
  padding: 5rem 0;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 2.5rem;
}

.section-header .section-title {
  margin-bottom: 0;
}

.view-all {
  font-size: 0.9rem;
  color: var(--primary-color);
  font-weight: bold;
}

.product-slider-wrap {
  position: relative;
}

.product-slider {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none; /* Firefox */
  padding-bottom: 1rem;
}

.product-slider::-webkit-scrollbar {
  display: none; /* Chrome, Safari */
}

.product-card {
  flex: 0 0 calc(25% - 1.125rem);
  scroll-snap-align: start;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
}

.product-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background-color: #FFF;
  border: 1px solid var(--border-color);
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: bold;
  text-align: center;
  line-height: 1.2;
  z-index: 2;
}

.product-img-link {
  display: block;
  height: 200px;
  overflow: hidden;
  background-color: #F8F8F8;
}

.product-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

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

.product-info {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-info h3 {
  font-size: 1.05rem;
  margin-bottom: 1rem;
  line-height: 1.5;
  height: 3.15rem;
  overflow: hidden;
}

.product-info h3 a {
  color: var(--text-main);
  text-decoration: none;
  transition: color 0.3s ease;
}

.product-info h3 a:hover {
  color: var(--primary-color);
  text-decoration: underline;
}

.product-price {
  font-size: 1.4rem;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

.product-price span {
  font-size: 0.9rem;
  color: var(--text-main);
  font-weight: normal;
}

/* Cart Form UI inside Product Card */
.cart-form-ui {
  margin-top: auto;
}

.age-verification {
  font-size: 0.75rem;
  background: var(--bg-light);
  padding: 8px;
  border-radius: 4px;
  margin-bottom: 10px;
  border: 1px solid #eee;
}

.age-verification p {
  margin-bottom: 4px;
  color: var(--text-main);
  font-weight: bold;
}

.age-radios {
  display: flex;
  gap: 10px;
}

.cart-controls {
  display: flex;
  gap: 10px;
}

.qty-input {
  width: 60px;
  padding: 8px;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  text-align: center;
}

.btn-add-cart {
  flex: 1;
  padding: 10px 0;
  background-color: var(--primary-color);
  color: #FFF;
  border: none;
  border-radius: 4px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-add-cart:hover {
  opacity: 0.85;
}

.slider-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background-color: #FFF;
  border: 1px solid var(--border-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  z-index: 5;
}

.slider-prev, .voice-slider-prev { left: -20px; }
.slider-next, .voice-slider-next { right: -20px; }

/* ==========================================================================
   Gift Services Section
   ========================================================================== */
.lp-gift-services {
  padding: 4rem 0;
  background-color: var(--bg-light);
  border-top: 1px solid var(--border-color);
}

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

.gift-card {
  background: #FFF;
  border-radius: 8px;
  padding: 2.5rem 2rem;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  text-align: center;
  border: 1px solid var(--border-color);
}

.gift-icon {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

.gift-card h3 {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  color: var(--text-main);
  border-bottom: 2px solid var(--secondary-color);
  padding-bottom: 0.5rem;
  display: inline-block;
}

.gift-desc {
  text-align: left;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.gift-desc p {
  margin-bottom: 1.2rem;
}

.gift-desc p:last-child {
  margin-bottom: 0;
}

.gift-desc strong {
  color: var(--text-main);
}

.gift-desc .note {
  font-size: 0.85rem;
  color: #888;
  background: #f4f4f4;
  padding: 12px;
  border-radius: 4px;
  margin-top: 1rem;
}

@media (max-width: 768px) {
  .gift-services-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Brand Section & Customer Voices Section
   ========================================================================== */
.lp-brand {
  padding: 4rem 0;
  border-top: 1px solid var(--border-color);
  background-color: var(--bg-light); /* 背景に薄い色を敷いて区別 */
}

.brand-intro {
  max-width: 1000px;
  margin: 0 auto;
}

.brand-philosophy {
  display: flex;
  align-items: center;
  gap: 3rem;
  margin-bottom: 4rem;
}

.philosophy-img {
  flex: 0 0 45%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.philosophy-img img {
  width: 60%;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  display: block;
}

.philosophy-text {
  flex: 1;
}

.philosophy-text h3 {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
  text-align: left;
}

.philosophy-text p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-main);
  text-align: left;
}

.brand-features {
  display: flex;
  gap: 2rem;
  margin-bottom: 4rem;
}

.brand-feature-item {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.brand-feature-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.brand-feature-item h4 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--primary-color);
}

.brand-feature-item p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text-muted);
  text-align: left;
}

.brand-achievements {
  background: #FFF;
  padding: 2.5rem;
  border-radius: 8px;
  border: 1px solid var(--border-color);
}

.brand-achievements h4 {
  text-align: center;
}

.brand-achievements p,
.brand-achievements div {
  text-align: left;
}

.lp-voices {
  padding: 4rem 0;
  background-color: #FFF;
}

.voice-slider-wrap {
  position: relative;
}

.voice-slider {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-bottom: 1.5rem;
}

.voice-slider::-webkit-scrollbar {
  display: none;
}

.voice-card {
  flex: 0 0 calc(33.333% - 1rem);
  scroll-snap-align: start;
  background: #f9f9f9;
  border: none;
  border-radius: 8px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.voice-rating {
  color: #FFB300;
  font-size: 1rem;
  letter-spacing: 2px;
}

.voice-title {
  font-weight: bold;
  font-size: 1.1rem;
  color: var(--text-main);
  margin: 0;
}

.voice-text {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text-main);
  flex-grow: 1;
}

.voice-user {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px dashed var(--border-color);
}

.voice-user-icon {
  font-size: 2.5rem;
  color: #dcdcdc;
}

.voice-user-meta {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: bold;
}

/* ==========================================================================
   Footer CTA
   ========================================================================== */
.lp-footer-cta {
  background-color: var(--bg-light);
  padding: 4rem 0;
  text-align: center;
}

.lp-footer-cta h2 {
  font-size: 1.5rem;
  margin-bottom: 2rem;
}

.btn-large {
  padding: 1.5rem 4rem;
  font-size: 1.25rem;
}

/* ==========================================================================
   Footer Utilities (Age Warning & Page Top)
   ========================================================================== */
html {
  scroll-behavior: smooth;
}

.age-warning-footer {
  text-align: center;
  padding: 2rem 1rem;
  background-color: var(--bg-light);
  border-top: 1px solid var(--border-color);
  margin-top: 2rem;
}
.age-warning-footer p {
  font-size: 0.95rem;
  color: var(--text-muted);
  font-weight: bold;
}

.page-top-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background-color: #333;
  color: #FFF !important;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  z-index: 99;
  transition: opacity 0.3s, transform 0.3s, background-color 0.3s;
  text-decoration: none !important;
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
}

.page-top-btn.is-show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.page-top-btn:hover {
  background-color: var(--primary-color);
  opacity: 1;
  transform: translateY(-3px);
  color: #FFF !important;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 992px) {
  .hero-title { font-size: 2.2rem; }
  .features-list { flex-wrap: wrap; }
  .feature-item { flex: 0 0 calc(50% - 1rem); }
  .reasons-grid { flex-direction: column; }
  .ranking-grid { display: grid; grid-template-columns: repeat(2, 1fr); }
  .product-card { flex: 0 0 calc(50% - 0.75rem); }
  .voice-card { flex: 0 0 calc(50% - 0.75rem); }
  .bottom-grid { flex-direction: column; }
}

@media (max-width: 768px) {
  /* Override Common CSS fixed width */
  html, body {
    min-width: 0 !important;
    width: 100% !important;
    overflow-x: hidden !important;
  }
  #wrapper, #container, .container {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Padding & Layout */
  .lp-hero, .lp-features, .lp-ranking, .lp-products, .lp-brand, .lp-voices, .lp-footer-cta { padding: 2.5rem 0; }
  
  /* Header */
  .lp-header .header-nav { display: none; }
  .header-icon span { display: none; }
  .header-icons { gap: 1rem; }
  .header-logo { height: 40px; }
  
  /* Hero */
  /* Hero */
  .lp-hero {
    background-image: url('../img/hero-image-sp.png');
    background-size: cover;
    background-position: center;
    aspect-ratio: auto;
    min-height: 125vw;
    padding-bottom: 0;
    padding-top: 4rem;
    box-sizing: border-box;
    position: relative;
    margin-bottom: 6rem;
    display: block; /* PCのflex指定(中央揃え)を解除 */
  }
  .lp-hero .container { display: block; text-align: center; height: 100%; position: static; }
  .hero-content { padding-right: 0; position: static; width: 100%; margin: 0; }
  .hero-catch, .hero-title, .hero-desc { text-shadow: 0 0 10px rgba(255,255,255,0.9), 0 0 20px rgba(255,255,255,0.8); font-weight: bold; }
  .hero-title { font-size: 1.8rem; }
  .hero-desc { font-size: 1rem; margin-bottom: 0; position: static; }
  .hero-badge { position: absolute; bottom: 2rem; left: 1rem; margin: 0; transform: none; top: auto; right: auto; z-index: 5; }
  .lp-hero .btn { 
    width: 90%; max-width: 400px; position: absolute; bottom: -1rem; left: 50%; transform: translate(-50%, 100%);
    margin: 0; display: flex; box-sizing: border-box;
    background-color: var(--primary-color) !important; border: none; 
    white-space: nowrap; font-size: 0.95rem; padding: 1.2rem 1rem;
    z-index: 10; box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  }
  
  /* Features */
  .feature-item { flex: 0 0 100%; }
  
  /* Products Section Header */
  .section-header { flex-direction: column; align-items: center; gap: 1rem; }
  
  /* Ranking */
  .ranking-grid { grid-template-columns: 1fr; }
  
  /* Sliders (85% width) */
  .product-card { flex: 0 0 calc(85% - 1.5rem); }
  .voice-card { flex: 0 0 calc(85% - 1.5rem); }
  
  /* Brand */
  .brand-features { flex-direction: column; }
  .brand-philosophy { flex-direction: column; gap: 2rem; }
  .philosophy-img { flex: 0 0 100%; width: 100%; }
  
  /* Footer */
  .btn-large { padding: 1rem 2rem; font-size: 1.1rem; width: 100%; box-sizing: border-box; }
  
  /* Footer Utilities */
  .page-top-btn { bottom: 20px; right: 20px; width: 45px; height: 45px; font-size: 1.2rem; }
  .age-warning-footer { padding: 1.5rem 1rem; margin-top: 1rem; }
  .age-warning-footer p { font-size: 0.85rem; }
  
  /* Override Common Footer Styles */
  #guide_bottom_wrap, #guide_bottom { width: 100% !important; min-width: 0 !important; padding: 0 10px; box-sizing: border-box; }
  .guide_bottom_L, .guide_bottom_C, .guide_bottom_R { float: none !important; width: 100% !important; margin-bottom: 2rem; display: block; }
  .guide_bottom_BOX { width: 100% !important; box-sizing: border-box; }
  #guide_bottom_wrap img { max-width: 100% !important; height: auto !important; }
  #footer, #footer_wrap { width: 100% !important; min-width: 0 !important; box-sizing: border-box; }
}
