/* =========================================
   Pâtisserie Lumière  スタイルシート
   ========================================= */

/* ----- 色や大きさの基本設定（ここを変えると全体が変わります） ----- */
:root {
  --color-wine: #8e2b3b;        /* ボタン・見出しの線などのワインレッド */
  --color-wine-dark: #74202f;
  --color-text: #3b2a25;        /* 本文の濃い茶色 */
  --color-text-sub: #5a4640;
  --color-bg: #fbf6f1;          /* 全体のクリーム色の背景 */
  --color-bg-pink: #f8e9e5;     /* 商品情報エリアの淡いピンク */
  --color-line: #e6d6cf;        /* 細い区切り線 */
  --font-serif: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --font-latin: "Cormorant Garamond", var(--font-serif);
  --container: 1040px;
}

/* ----- リセット（ブラウザごとの差をなくす） ----- */
*,
*::before,
*::after { box-sizing: border-box; }

body {
  margin: 0;
  font-family: var(--font-serif);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.7;
  letter-spacing: 0.06em;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip; /* 飾り画像による横スクロールを防ぐ */
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, dl, dd, h1, h2, h3, p { margin: 0; padding: 0; }
ul { list-style: none; }

/* メニューから移動したとき、見出しが固定ヘッダーに隠れないようにする */
section[id] { scroll-margin-top: 80px; }
@media (max-width: 640px) { section[id] { scroll-margin-top: 120px; } }

.container {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
}

/* =========================================
   ボタン
   ========================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 999px;
  font-size: 15px;
  letter-spacing: 0.12em;
  transition: background-color .25s, color .25s, transform .25s;
}
/* 右側の「>」マーク */
.btn::after {
  content: "";
  width: 7px;
  height: 7px;
  margin-left: 10px;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  transform: rotate(45deg);
}
.btn:hover { transform: translateY(-2px); }

.btn--primary {
  background: var(--color-wine);
  color: #fff;
  box-shadow: 0 4px 12px rgba(142, 43, 59, .25);
}
.btn--primary:hover { background: var(--color-wine-dark); }

.btn--outline {
  min-width: 280px;
  border: 1.5px solid var(--color-wine);
  color: var(--color-wine);
  background: rgba(255, 255, 255, .6);
  font-size: 17px;
  letter-spacing: .2em;
}
.btn--outline:hover { background: var(--color-wine); color: #fff; }

/* =========================================
   セクション見出し（左右に線）
   ========================================= */
.section-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 36px;
  margin-bottom: 28px;
  font-size: 32px;
  font-weight: 700;
  letter-spacing: .25em;
}
.section-title::before,
.section-title::after {
  content: "";
  width: 90px;
  height: 1.5px;
  background: var(--color-wine);
}
.section-title--left { justify-content: flex-start; }
.section-title--left::before { width: 70px; }

/* =========================================
   ヘッダー
   ========================================= */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 246, 241, .95);
  backdrop-filter: blur(6px);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 1086px;
  margin-inline: auto;
  padding: 10px 48px;
}

.logo { display: flex; align-items: center; gap: 10px; color: var(--color-text); }
.logo__icon { width: 52px; height: 46px; color: #4a3029; }
.logo__text { display: flex; flex-direction: column; line-height: 1; }
.logo__sub  { font-family: var(--font-latin); font-size: 15px; font-weight: 700; letter-spacing: .04em; }
.logo__main { font-family: var(--font-latin); font-size: 28px; font-weight: 700; letter-spacing: .02em; margin-top: 2px; }
.logo__ja   { font-size: 9px; letter-spacing: .1em; margin-top: 4px; }

.nav__list { display: flex; gap: 44px; }
.nav__list a {
  position: relative;
  font-size: 16px;
  letter-spacing: .2em;
}
.nav__list a::after {
  content: "";
  position: absolute;
  left: 0; right: .2em; bottom: -6px;
  height: 1.5px;
  background: var(--color-wine);
  transform: scaleX(0);
  transition: transform .25s;
}
.nav__list a:hover::after { transform: scaleX(1); }

.btn--shop { padding: 10px 22px; font-size: 13px; }
.btn--shop::after { width: 6px; height: 6px; margin-left: 4px; }
.btn__cart { width: 18px; height: 18px; }

/* =========================================
   メインビジュアル
   ========================================= */
.hero {
  position: relative;
  min-height: 460px;
  overflow: hidden;
  /* 左側：写真がない部分を、やわらかい緑と桜色のぼかしで表現 */
  background:
    radial-gradient(circle at 5% 95%, rgba(245, 180, 195, .9) 0, transparent 30%),
    radial-gradient(circle at 25% 20%, rgba(190, 200, 120, .55) 0, transparent 45%),
    linear-gradient(120deg, #8f8a55 0%, #b39a6d 40%, #c9a985 100%);
  /* 下側をゆるやかな波の形に切り抜く */
  clip-path: ellipse(120% 100% at 50% 0%);
}
.hero__image {
  position: absolute;
  inset: 0 0 0 auto;
  width: 62%;
}
.hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left center;
  /* 写真の左端を背景になじませる */
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 22%);
          mask-image: linear-gradient(to right, transparent 0, #000 22%);
}
.hero__content {
  position: relative;
  z-index: 1;
  max-width: 1086px;
  margin-inline: auto;
  padding: 40px 48px 70px 88px;
  color: #fff;
  text-shadow: 0 2px 10px rgba(60, 40, 20, .45);
}
.hero__title {
  font-size: 48px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: .12em;
}
.hero__lead {
  margin: 28px 0 32px;
  font-size: 17px;
  line-height: 1.75;
  letter-spacing: .15em;
}
.hero .btn { text-shadow: none; }

/* =========================================
   こだわり
   ========================================= */
.commitment {
  position: relative;
  padding: 36px 0 48px;
}
.commitment__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.feature {
  padding: 0 22px;
}
.feature + .feature { border-left: 1px solid var(--color-line); }
.feature__img {
  width: 100%;
  aspect-ratio: 260 / 95;
  object-fit: cover;
  border-radius: 6px;
  box-shadow: 0 3px 10px rgba(80, 50, 30, .12);
}
.feature__body {
  display: flex;
  gap: 14px;
  margin-top: 14px;
}
.feature__icon {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  margin-top: 2px;
  color: var(--color-wine);
}
.feature__title {
  margin-bottom: 6px;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: .1em;
}
.feature__text {
  font-size: 14px;
  line-height: 1.75;
  color: var(--color-text-sub);
}

/* 花・いちごの飾り（背景になじませるため乗算で重ねる） */
.deco {
  position: absolute;
  pointer-events: none;
  z-index: 0;
  mix-blend-mode: multiply;
  /* 画像のふちを透明にぼかして、四角い枠が見えないようにする */
  -webkit-mask-image: radial-gradient(closest-side, #000 55%, transparent 100%);
          mask-image: radial-gradient(closest-side, #000 55%, transparent 100%);
}
.deco--left   { top: -30px; left: -18px; width: 110px; }
.deco--right  { bottom: 10px; right: -10px; width: 96px; }
.deco--bottom { top: -30px; right: 0; width: 160px; }
.commitment .container,
.shop .container { position: relative; z-index: 1; }

/* =========================================
   商品情報
   ========================================= */
.products {
  position: relative;
  padding: 44px 0 56px;
  background: linear-gradient(to bottom, var(--color-bg-pink), #fbefea 80%, var(--color-bg));
  /* 上下をゆるやかな曲線に */
  border-radius: 50% 50% 0 0 / 30px 30px 0 0;
}
.products__list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
  width: min(100% - 40px, 980px);
  margin-inline: auto;
}
.product__img {
  width: 100%;
  aspect-ratio: 225 / 127;
  object-fit: cover;
  border-radius: 6px;
  box-shadow: 0 3px 10px rgba(80, 50, 30, .12);
  transition: transform .3s;
}
.product:hover .product__img { transform: scale(1.03); }
.product__name {
  margin: 12px 0 6px;
  font-size: 17px;
  font-weight: 700;
  text-align: center;
  letter-spacing: .08em;
  white-space: nowrap;
}
.product__text {
  font-size: 14px;
  line-height: 1.6;
  text-align: center;
  color: var(--color-text-sub);
}
.products__more {
  margin-top: 24px;
  text-align: center;
}

/* =========================================
   店舗案内
   ========================================= */
.shop {
  position: relative;
  padding: 28px 0 64px;
}
.shop .container { width: min(100% - 40px, 1020px); }
.shop .section-title { margin-bottom: 20px; }

.shop__grid {
  display: grid;
  grid-template-columns: 385px 1fr 256px;
  gap: 28px;
  align-items: start;
}
.shop__photo {
  width: 100%;
  border-radius: 6px;
  box-shadow: 0 3px 10px rgba(80, 50, 30, .15);
}

.shop__info { font-size: 13px; }
.shop__row {
  display: grid;
  grid-template-columns: 100px 1fr;
  align-items: center;
  padding: 9px 0;
  border-bottom: 1px solid var(--color-line);
}
.shop__row:first-child { padding-top: 0; }
.shop__row:last-child  { border-bottom: none; }
.shop__row dt {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
}
.shop__row dt svg {
  width: 18px;
  height: 18px;
  color: var(--color-wine);
}
.shop__row dd { line-height: 1.5; letter-spacing: .03em; }

.shop__map { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.shop__map img {
  width: 100%;
  border-radius: 6px;
  box-shadow: 0 3px 10px rgba(80, 50, 30, .12);
}
.shop__map .btn { width: 100%; font-size: 14px; }

/* =========================================
   フッター
   ========================================= */
.footer {
  padding: 20px;
  background: var(--color-wine);
  color: #fff;
  text-align: center;
  font-size: 12px;
  letter-spacing: .1em;
}

/* =========================================
   タブレット（画面幅 960px 以下）
   ========================================= */
@media (max-width: 960px) {
  .header__inner { padding: 10px 20px; }
  .nav__list { gap: 24px; }
  .nav__list a { font-size: 14px; letter-spacing: .1em; }

  .hero__content { padding: 40px 24px 70px 40px; }
  .hero__title { font-size: 40px; }

  .products__list { grid-template-columns: repeat(2, 1fr); }

  .shop__grid { grid-template-columns: 1fr 1fr; }
  .shop__map { grid-column: 1 / -1; flex-direction: row; }
  .shop__map img { width: 50%; }
  .shop__map .btn { width: auto; }
}

/* =========================================
   スマートフォン（画面幅 640px 以下）
   ========================================= */
@media (max-width: 640px) {
  .header__inner { flex-wrap: wrap; justify-content: center; gap: 10px; }
  .nav { order: 3; width: 100%; }
  .nav__list { justify-content: center; gap: 18px; }
  .btn--shop { padding: 8px 16px; }
  .logo__main { font-size: 24px; }

  .hero { min-height: 0; clip-path: ellipse(160% 100% at 50% 0%); }
  .hero__image { position: relative; width: 100%; height: 260px; }
  .hero__image img { -webkit-mask-image: none; mask-image: none; object-position: 30% center; }
  .hero__content { padding: 28px 24px 56px; }
  .hero__title { font-size: 32px; }
  .hero__lead { font-size: 15px; margin: 18px 0 24px; }

  .section-title { font-size: 26px; gap: 20px; }
  .section-title::before,
  .section-title::after { width: 50px; }
  .section-title--left { justify-content: center; }

  .commitment__list { grid-template-columns: 1fr; gap: 28px; }
  .feature + .feature { border-left: none; }
  .deco { display: none; }

  .products__list { grid-template-columns: 1fr; gap: 28px; }
  .btn--outline { min-width: 0; width: 100%; }

  .shop__grid { grid-template-columns: 1fr; }
  .shop__map { flex-direction: column; }
  .shop__map img, .shop__map .btn { width: 100%; }
  .shop__row { grid-template-columns: 96px 1fr; }
}
