/* ====================================================
   JUICY DAYS LP — style.css
   ==================================================== */

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

/* ====== CSS Variables ====== */
:root {
  --brand-pink:      #EC4899;
  --brand-pink-dark: #DB2777;
  --brand-cyan:      #06B6D4;
  --soft-pink:       #FDF2F8;
  --soft-yellow:       #fbffeb;
  --soft-cyan:       #e9f8fc;
  --deep-navy:       #1E293B;
  --slate-gray:      #64748B;
  --midnight:        #0F172A;
  --white:           #FFFFFF;
  --border-gray:     #E5E7EB;
  --footer-text:     #E2E8F0;

  /* ユーティリティ変数（くり返し使う値をまとめる） */
  --font-en:         "Montserrat", sans-serif;     /* 英語見出し用フォント */
  --shadow-sm:       0 4px 12px rgba(0, 0, 0, .08); /* 背景から浮かせる控えめな影 */
  --transition:      all .2s ease;                  /* hover時のなめらかな変化 */
}

/* ====== Base ====== */
html {
  scroll-behavior: smooth;
}

body {
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
  color: var(--deep-navy);
  background: var(--white);
  line-height: 1.7;
  font-size: 15px;
}

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

a {
  text-decoration: none;
  color: inherit;
}

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

/* ====== Buttons ====== */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  font-size: 15px;
  font-family: inherit;
  transition: var(--transition);
  line-height: 1;
}

.btn-primary {
  background: var(--brand-pink);
  color: var(--white);
  border-color: var(--brand-pink);
}

.btn-primary:hover {
  background: var(--brand-pink-dark);
  border-color: var(--brand-pink-dark);
  transform: translateY(-2px);
}

.btn-secondary {
  background: var(--white);
  color: var(--brand-pink);
  border-color: var(--brand-pink);
}

.btn-secondary:hover {
  background: var(--soft-pink);
  transform: translateY(-2px);
}

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

/* ====== Section Common ====== */
.section {
  padding: 120px 0;
}

.section-eyebrow {
  color: var(--brand-pink);
  font-size: 12px;
  letter-spacing: .2em;
  font-weight: 700;
  margin-bottom: 10px;
}

.section-title {
  font-size: 28px;
  font-weight: 700;
  color: var(--deep-navy);
  margin-bottom: 56px;
}

.section-lead {
  color: var(--slate-gray);
  font-size: 15px;
  margin-top: -40px;
  margin-bottom: 56px;
}

/* ===================================================
   SECTION 01: HERO
   =================================================== */
.hero {
  position: relative;
  background-image: url('../images/hero.png');
  background-size: cover;
  background-position: center;
  min-height: 680px;
  display: flex;
  align-items: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .12);
  z-index: 0;
}

.hero .container {
  position: relative;
  z-index: 1;
  width: 100%;
}

.hero-content {
  max-width: 600px;
  margin-left: auto;
  color: var(--white);
  text-align: right;
}

.date-badge {
  display: inline-block;
  background: var(--brand-cyan);
  color: var(--white);
  padding: 6px 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 24px;
  letter-spacing: .04em;
}

.hero-en {
  font-family: var(--font-en);
  font-size: 48px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: .04em;
  margin-bottom: 16px;
}

.hero-ja {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 20px;
}

.hero-lead {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 36px;
}

.hero-cta {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: flex-end;
}

/* ===================================================
   SECTION 02: こだわり4つ
   =================================================== */
.commitment {
  background: var(--soft-yellow);
}

/* カードは calc 方式で4列。gap合計6%を3か所で割り、幅は残り94%を4等分 */
.cards {
  display: flex;
  flex-wrap: wrap;
  gap: calc(6% / 3);
}

/* 淡い背景から浮かせるため、白カード＋控えめな影で輪郭を立たせる（hoverなし）*/
.card {
  width: calc(94% / 4);
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 0;
}

.card-body {
  padding: 24px;
}

.card-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--deep-navy);
  margin-bottom: 8px;
}

.card-text {
  font-size: 14px;
  color: var(--slate-gray);
  margin: 0;
}

/* ===================================================
   SECTION 03: 新作ラインナップ
   =================================================== */
.lineup {
  background: var(--soft-pink);
}

.product-block {
  display: flex;
  align-items: center;
  gap: 72px;
  margin-bottom: 80px;
}

.product-block:last-child {
  margin-bottom: 0;
}

.product-reverse {
  flex-direction: row-reverse;
}

.product-image {
  flex: 1;
}

.product-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 8px;
  border: 14px solid var(--white);
  box-shadow: var(--shadow-sm);
}

.product-text {
  flex: 1;
}

.product-tag {
  display: inline-block;
  background: var(--brand-cyan);
  color: var(--white);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .14em;
  padding: 4px 12px;
  border-radius: 4px;
  margin-bottom: 16px;
  font-family: var(--font-en);
}

.product-text h3 {
  font-size: 24px;
  font-weight: 700;
  color: var(--deep-navy);
  margin-bottom: 16px;
  line-height: 1.3;
}

.product-text p {
  font-size: 15px;
  color: var(--slate-gray);
  line-height: 1.8;
  margin-bottom: 24px;
}

.link-more {
  display: inline-block;
  color: var(--brand-pink);
  font-weight: 700;
  font-size: 14px;
  border-bottom: 2px solid var(--brand-pink);
  padding-bottom: 2px;
  transition: var(--transition);
}

.link-more:hover {
  color: var(--brand-pink-dark);
  border-color: var(--brand-pink-dark);
  transform: translateX(4px);
}

/* ===================================================
   SECTION 04: 発売スケジュール
   =================================================== */
.schedule {
  background: var(--soft-yellow);
}

/* タイムライン：カードを縦に並べる（擬似要素は使わない） */
.timeline {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* 各ステップ＝1枚の白いカード。左の角だけ直角にして、ピンクの帯を縁に沿わせる */
.tl-item {
  display: flex;
  align-items: center;
  gap: 24px;
  background: var(--white);
  border-left: 5px solid var(--brand-pink);
  border-radius: 0 12px 12px 0;
  padding: 20px 28px;
  box-shadow: var(--shadow-sm);
}

.tl-date {
  width: 80px;
  flex-shrink: 0;
  text-align: center;
}

.tl-day {
  display: block;
  font-size: 30px;
  font-weight: 800;
  color: var(--brand-pink);
  font-family: var(--font-en);
  line-height: 1;
}

.tl-body {
  flex: 1;
  display: flex;
  gap: 20px;
  align-items: center;
}

.tl-icon {
  width: 56px;
  height: 56px;
  background: var(--soft-pink);
  border-radius: 50%;
  border: 2px solid var(--brand-pink);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.tl-icon img {
  width: 28px;
  height: 28px;
}

.tl-text {
  flex: 1;
}

.tl-text h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--deep-navy);
  margin-bottom: 6px;
}

.tl-text p {
  font-size: 14px;
  color: var(--slate-gray);
  margin: 0;
}

/* ===================================================
   SECTION 05: クーポン／フォーム
   =================================================== */
.form-section {
  background: var(--soft-cyan);
  position: relative;
  overflow: hidden;
}

.form-section .container {
  position: relative;
  z-index: 1;
}

.contact-form {
  max-width: 640px;
  margin: 0 auto;
  background: var(--white);
  border-radius: 12px;
  padding: 48px;
  box-shadow: var(--shadow-sm);
}

.form-group {
  margin-bottom: 24px;
}

.form-group:last-of-type {
  margin-bottom: 32px;
}

.form-group label {
  display: block;
  font-weight: 700;
  font-size: 14px;
  color: var(--deep-navy);
  margin-bottom: 6px;
}

.required {
  background: var(--brand-pink);
  color: var(--white);
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 4px;
  margin-left: 6px;
  font-weight: 700;
  vertical-align: middle;
}

.form-group input:not([type="checkbox"]),
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 14px;
  border: 2px solid var(--border-gray);
  border-radius: 8px;
  font-size: 15px;
  font-family: inherit;
  background: var(--white);
  color: var(--deep-navy);
  transition: border-color .2s ease;
  appearance: none;
  -webkit-appearance: none;
}

.form-group input:not([type="checkbox"]):focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--brand-pink);
}

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

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2364748B' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
  cursor: pointer;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 400;
  cursor: pointer;
  font-size: 14px;
  color: var(--deep-navy);
}

.checkbox-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--brand-pink);
  flex-shrink: 0;
  cursor: pointer;
}

/* ===================================================
   SECTION 06: フッター
   =================================================== */
.site-footer {
  background: var(--midnight);
  color: var(--footer-text);
}

.footer-inner {
  padding: 64px 0 48px;
}

.footer-grid {
  display: flex;
  gap: 48px;
}

.footer-col {
  flex: 1;
}

.footer-logo {
  font-family: var(--font-en);
  font-size: 22px;
  font-weight: 800;
  color: var(--brand-pink);
  margin-bottom: 16px;
  letter-spacing: .08em;
}

.footer-brand address {
  font-style: normal;
  font-size: 14px;
  color: var(--footer-text);
  line-height: 1.8;
  font-weight: 400;
}

.footer-col-title {
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .2em;
  color: rgba(255, 255, 255, .85);
  margin-bottom: 20px;
}

.footer-nav ul {
  list-style: none;
}

.footer-nav li {
  margin-bottom: 12px;
}

.footer-nav a {
  color: var(--footer-text);
  font-size: 14px;
  font-weight: 500;
  transition: color .2s ease;
}

.footer-nav a:hover {
  color: var(--brand-pink);
}

.footer-sns-text {
  font-size: 14px;
  color: var(--footer-text);
  margin-bottom: 20px;
  line-height: 1.7;
  font-weight: 400;
}

.sns-links {
  display: flex;
  gap: 12px;
}

.sns-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, .08);
  border-radius: 50%;
  transition: background .2s ease, transform .2s ease;
}

.sns-link:hover {
  background: var(--brand-pink);
  transform: translateY(-2px);
}

.sns-link img {
  width: 20px;
  height: 20px;
  filter: brightness(0) invert(1);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .08);
  padding: 20px 0;
  text-align: center;
}

.footer-bottom p {
  font-size: 13px;
  color: var(--footer-text);
  opacity: .7;
}

/* ===================================================
   レスポンシブ対応
   ・タブレット：768px以下　・スマホ：480px以下
   ・カード列は calc 方式（gap合計 ÷ すき間の数 / 幅は残り ÷ 列数）
   =================================================== */

/* ===== タブレット（768px以下）===== */
@media (max-width: 768px) {
  .container {
    padding: 0 24px;
  }

  .section {
    padding: 72px 0;
  }

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

  /* こだわりカード：4列 → 2列（横は calc で2等分、縦は折り返した行のすき間）*/
  .cards {
    column-gap: calc(4% / 1);  /* 横のすき間 */
    row-gap: 24px;             /* 縦のすき間：%指定だと折り返し時に0になるため固定pxで指定 */
  }
  .card {
    width: calc(96% / 2);
  }

  /* ヒーロー：文字を少し小さく、高さを抑える。背景は左寄せにしてジュースを見切れさせない */
  .hero {
    background-position: left;
    min-height: 520px;
  }
  .hero-en {
    font-size: 36px;
  }
  .hero-ja {
    font-size: 24px;
  }

  /* 新作ラインナップ：横並び → 縦積み（画像が上・テキストが下）*/
  .product-block,
  .product-reverse {
    flex-direction: column;
    gap: 32px;
    margin-bottom: 56px;
  }
  .product-image img {
    height: 280px;
  }

  /* フォーム：内側の余白を控えめに */
  .contact-form {
    padding: 32px 24px;
  }

  /* フッター：3カラム → 縦積み */
  .footer-grid {
    flex-direction: column;
    gap: 36px;
  }
}

/* ===== スマホ（480px以下）===== */
@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .section {
    padding: 56px 0;
  }

  /* こだわりカード：2列 → 1列 */
  .card {
    width: 100%;
  }

  /* ヒーロー：左寄せにして読みやすく */
  .hero-content {
    text-align: left;
    margin-left: 0;
  }
  .hero-en {
    font-size: 30px;
  }
  .hero-ja {
    font-size: 20px;
  }
  .hero-cta {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  /* 新作ラインナップ：画像をやや低く */
  .product-image img {
    height: 220px;
  }

  /* スケジュールカード：日付を上、本文を下に積む */
  .tl-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 18px 20px;
  }
  .tl-date {
    width: auto;
    text-align: left;
  }
}
