/* =========================================
   RESET
========================================= */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: #372a1c;
  background: #faf8ef;
  font-family: "Noto Serif JP", "Yu Mincho", "Hiragino Mincho ProN", serif;

  font-family: "Noto Sans JP", sans-serif;
  line-height: 1.8;
}

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

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

li {
  font-size: 12px;
  color: #372a1c;
}

ul {
  margin: 0;
}

h5 {
  font-weight: 400;
}

/* dt {
  font-size: 12px;
  margin-right: 12px;
}

dd {
  font-size: 12px;

} */

button,
a {
  -webkit-tap-highlight-color: transparent;
}

/* =========================================
   HEADER
========================================= */

.header {
  height: 58px;
  padding: 0 30px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  background: #f5f2d9;
  /* position: relative;
  z-index: 10; */

  /* ヘッダーを画面上に固定 */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;

  z-index: 1000;
}

.header__logo a {
  display: flex;
  align-items: center;
  gap: 7px;

  font-size: 13px;
  letter-spacing: 0.03em;
}

.logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 45px;
  height: 22px;

  /* border: 1px solid #777; */
  /* border-radius: 50%; */

  font-size: 11px;
}

.logo-letter {
  width: 190px;
}

.header__nav {
  display: flex;
  gap: 30px;
  margin-left: auto;
  margin-right: 35px;

  font-size: 14px;
}

.header__nav a {
  transition: opacity 0.3s;
}

.header__nav a:hover {
  opacity: 0.5;
}

.header__contact {
  display: flex;
  align-items: center;
  gap: 6px;

  font-size: 14px;
}

.mail-icon {
  font-size: 17px;
}

/* =========================================
   HERO
========================================= */

.hero {
  position: relative;
  height: 900px;
  overflow: hidden;
}

.hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__overlay {
  position: absolute;
  inset: 0;

  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.25),
    rgba(0, 0, 0, 0.02) 65%
  );
}

.hero__content {
  position: absolute;
  left: 13%;
  top: 50%;
  transform: translateY(-50%);

  color: #fff;
}

.hero h1 {
  margin: 0 0 45px;

  font-size: clamp(28px, 3.3vw, 48px);
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: 0.08em;

  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
  font-family: "Hiragino Mincho ProN", serif;
}

.hero__buttons {
  display: flex;
  gap: 22px;
}

.hero__circle {
  width: 112px;
  height: 112px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);

  color: #333;
  font-size: 13px;

  transition:
    transform 0.3s,
    background 0.3s;
}

.hero__circle:hover {
  transform: translateY(-5px);
  background: #fff;
}

/* =========================================
   SCROLL DOWN
========================================= */

.scroll-down {
  position: absolute;
  bottom: 30px;
  left: 50%;

  transform: translateX(-50%);

  display: flex;
  flex-direction: column;
  align-items: center;

  color: #fff;
  font-family: Arial, sans-serif;
  font-size: 10px;
  letter-spacing: 0.15em;

  animation: bounce 2s ease-in-out infinite;

  z-index: 3;
}

.scroll-down::after {
  content: "";
  width: 1px;
  height: 45px;
  margin-top: 8px;
  background: #fff;
}

@keyframes bounce {
  0%,
  100% {
    transform: translate(-50%, 0);
  }

  50% {
    transform: translate(-50%, 8px);
  }
}

/* =========================================
   COMMON SECTION
========================================= */

.section {
  padding: 80px 30px;
}

.section__heading {
  text-align: center;
}

.section__heading h2 {
  margin: 0 0 20px;

  font-size: 21px;
  font-weight: 500;
  letter-spacing: 0.12em;
  font-family: "Noto Serif JP", serif;
}

.section__en {
  display: block;
  margin-bottom: 28px;

  font-family: Arial, sans-serif;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: lowercase;
}

.section__heading p {
  margin: 5px 0;

  font-size: 12px;
  line-height: 2;
}

.section__small {
  font-size: 10px !important;
  color: #777;
}

/* =========================================
   BUTTON
========================================= */

.button {
  min-width: 180px;
  min-height: 52px;
  padding: 12px 30px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  font-size: 15px;
  letter-spacing: 0.08em;

  transition:
    transform 0.3s,
    opacity 0.3s;
}

.button:hover {
  transform: translateY(-2px);
  opacity: 0.85;
}

.button--yellow {
  background: #f6c84c;
  color: #333;
}

.button--white {
  background: #fff;
  color: #333;
  font-weight: 500;
}

/* =========================================
   ABOUT
========================================= */

.about {
  text-align: center;
  background: #f7f4da;
}

.about__text {
  max-width: 680px;
  margin: 0 auto 35px;

  font-size: 13px;
  /* font-weight: 300; */
  line-height: 2.1;
}

.about__text p {
  margin: 5px 0;
}

.about .button {
  margin-top: 5px;
}

h4 {
  font-weight: 400;
}

/* =========================================
   FLOWER
========================================= */

.flower {
  padding-bottom: 60px;
}

.flower-list {
  max-width: 850px;
  margin: 55px auto 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 35px;
}

.flower-item {
  text-align: center;
}

/* 写真 */
.flower-item_image {
  width: 100%;
}

/* 写真だけ、ふわっと上に動く */
.flower-item_image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;

  transition:
    transform 0.3s,
    background 0.3s;
}

/* カーソルを合わせたら写真だけ5px上へ */
.flower-item:hover .flower-item_image img {
  transform: translateY(-5px);
}

/* 花の名前 */
.flower-item h3 {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
}

/* 説明文 */
.flower-item p {
  margin: 2px 0;
  font-size: 13px;
  font-weight: 400;
  color: #372a1c;
}
/* =========================================
   SCENE
========================================= */

.scene {
  padding-top: 30px;
  padding-bottom: 75px;
}

.scene-list {
  max-width: 820px;
  margin: 40px auto 0;

  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 35px;
}

.scene-item {
  text-align: center;
}

.scene-item__circle {
  width: 112px;
  height: 112px;

  margin: 0 auto 12px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;
  background: #ddd;

  transition:
    transform 0.3s,
    background 0.3s;
}

.scene-item:hover .scene-item__circle {
  transform: translateY(-5px);
  background: #d6d3cc;
}

.scene-item__circle span {
  font-size: 18px;
  letter-spacing: 0.05em;
}

.scene-item p {
  margin: 0;

  font-size: 13px;
  color: #372a1c;
}

/* =========================================
   PRODUCT
========================================= */

/* 商品カードにドロップシャドウ追加 */
.products {
  max-width: 1000px;
  margin: 0 auto;
  padding-top: 10px;
}

.product-card {
  position: relative;
  margin-bottom: 55px;
  padding: 30px;

  display: grid;
  /* 変更点：写真エリアを55%にし、残りを文章にします */
  grid-template-columns: 55% minmax(0, 1fr);
  /* 変更点：写真と文章の間のすき間を「20px」に狭めて、文章を左（写真側）に引き寄せます */
  gap: 20px;

  border-radius: 38px;
  background: #fff5e6;
  box-shadow: 0 6px 20px rgba(55, 42, 28, 0.12);
}

.product-card__image {
  position: relative;
  display: flex;
  align-items: center;
  /* 変更点：center から flex-start に変更し、写真を枠の「左端」にピタッと寄せます */
  justify-content: flex-start;

  /* 変更点：左右のpadding（余白）を「0」にして、写真が左に寄るようにします */
  padding: 10px 0;
}

.product-card__image > img {
  width: 100%;
  max-width: 600px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.product-card__flower {
  position: absolute;

  width: 170px;
  height: 170px;

  left: 0;
  top: 0;

  overflow: hidden;
  border-radius: 50%;

  border: 4px solid #fff5e6;
  z-index: 2;
}

.product-card__flower img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-card__content {
  padding: 15px 15px 15px 30px;

  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.product-card__content h2 {
  margin: 0;
  padding-bottom: 15px; /* 下のすき間を少し広げました */

  font-size: 22px; /* 文字を少し大きく調整 */
  font-weight: 500;
}

.product-card__content h3 {
  margin: 0;
  padding-top: 10px; /* 見出しの上のすき間を追加 */

  font-size: 15px;
}

/* ★追加：リスト全体の左側の余白をリセットして左揃えにする */
.product-card__content ul {
  margin: 5px 0 15px 0;
  padding-left: 15px; /* ポッチ（・）の分だけ少し余白を残して左端に揃えます */
  width: 100%; /* 幅いっぱいに広げる */
}

/* リスト内のテキスト（li）の修正 */
.product-card__content li {
  text-align: left;
  font-size: 15px; /* 読みやすさと収まりのバランスが良いサイズに微調整 */
  line-height: 1.6; /* 折り返したときに綺麗に見える行間に調整 */

  /* 変更点：改行禁止を解除し、自然な折り返しを許可する */
  white-space: normal;

  /* 変更点：文字同士の間隔を通常（タイトすぎない）に戻す */
  letter-spacing: normal;

  /* ★追加：日本語の単語や文脈の区切りで、自動的に美しく折り返す最新の命令 */
  word-break: auto-phrase;
  overflow-wrap: break-word;
}
.product-card__kana {
  margin: 0 0 15px;

  color: #888;
  font-size: 9px;
}

.product-card__content > p:not(.product-card__kana) {
  margin: 0 0 20px;

  font-size: 10px;
  line-height: 1.9;
}

/* コク・甘さ・すっきりの共通枠 */
.product-card dl {
  width: 100%;
  margin: 20px 0 20px 0;
  display: grid;
  /* 変更点：星マークの幅を「最大でも中身ぴったり（max-content）」に制限し、左に引っ張ります */
  grid-template-columns: 75px max-content;
  row-gap: 5px;
  font-size: 15px;
}

/* コク・甘さ・すっきりを均等割り付け */
.product-card dt {
  width: 75px !important; /* 強制適用 */
  margin: 0 !important; /* 古いmarginを消去 */
  display: flex !important;
  justify-content: space-between !important;
}

/* ★ここが重要：星マークを左側の文字のすぐ隣に強制的に引き寄せる */
.product-card dd {
  width: auto !important; /* 古い width: 50px; を完全に無効化 */
  margin: 0 0 0 15px !important; /* 古い margin-left: 20px; を消して、左とのすき間を15pxに固定 */
  letter-spacing: 0.1em;
}

.product-card .button {
  margin-top: auto;
  align-self: center;
}

.product-card .button--white:hover {
  background: #f9cb55;
  color: #333;
}

/* =========================================
   GIFT
========================================= */

/* .gift {
  padding: 30px;
  background: #ffebd7;
} */

/* 巽さん指摘のバナーサイズ変更 渡邊*/

.gift {
  width: 100%;
  max-width: none;
  margin: 0 0 55px;
  padding: 30px;
  border-radius: 0;
  background: #ffebd7;
}

.gift__image {
  /* max-width: 1000px;
  margin: 0 auto;
  padding: 0;
  border-radius: 38px;
  overflow: hidden; */

  max-width: 1000px;
  margin: 0 auto;
  padding: 0 30px;
  border-radius: 38px;
  overflow: hidden;
}

.gift__image img {
  /* max-width: 940px;
  width: 100%;
  height: auto;
  display: block; */

  max-width: 1000px;
  margin: 0 auto;
  padding: 0 30px;
  /* border-radius: 38px; */
  overflow: hidden;
}

/* .gift__image {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 30px;
  border-radius: 38px;
  overflow: hidden;
}

.gift__image img {
  width: 100%;
  height: auto;
  display: block;
} */

.gift__inner {
  max-width: 900px;
  margin: 0 auto;

  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 50px;
}

/* 以下不要と判断 渡邊*/

/* .gift__content {
  text-align: center;
}

.gift__sub {
  margin: 0 0 10px;
  font-size: 11px;
}

.gift h2 {
  margin: 0 0 15px;

  font-size: 18px;
  font-weight: 500;
  line-height: 1.8;
}

.gift__price {
  margin: 0 0 20px;
  font-size: 10px;
}

.gift__price strong {
  margin-left: 5px;

  font-size: 18px;
  color: #b86b28;
} */

/* .gift__image {
  padding: 10px;
  /* background: #fff; */
/* } */

/* .gift__image img {
  width: 100%;
} */
*/

/* =========================================
   FOOTER
========================================= */

.footer {
  background: #f5f2d9;
  padding: 25px 30px;
}

.footer__inner {
  background: #f5f2d9;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0;
  padding: 0 30px;
}

.footer__copyright {
  position: absolute;
  right: 0;
  bottom: -25px;
  margin: 0;
  font-size: 10px;
}

.footer__logo {
  display: flex;
  align-items: center;
}

.footer__logo a {
  display: flex;
  align-items: center;
  gap: 7px;
}

/* .footer__copyright {
  margin: 0;

  font-family: Arial, sans-serif;
  font-size: 8px;
  color: #777;
} */

.footer__nav {
  display: flex;
  gap: 15px;

  font-size: 11px;
}

.footer__nav a:hover {
  opacity: 0.5;
}

.footer__nav .Instagram img {
  width: 22px;
  height: 22px;
}

.footer__nav .X img {
  width: 19px;
  height: 19px;
  margin-top: 2px;
}

/* =========================
   Copyright
========================= */

.copyright {
  font-family: Arial, sans-serif;
  font-size: 12px;
  line-height: 1.5;
  letter-spacing: 0.03em;

  color: #59554a;

  width: 100%;
  text-align: right;
  padding-right: 80px;
}

/* =========================================
   TABLET
========================================= */

@media (max-width: 900px) {
  .header__nav {
    gap: 15px;
    margin-right: 15px;
  }

  .hero {
    height: 480px;
  }

  .hero__content {
    left: 8%;
  }

  .flower-list,
  .scene-list {
    gap: 20px;
  }

  .product-card {
    grid-template-columns: 45% 1fr;
    gap: 35px;
  }
}

/* =========================================
   MOBILE
========================================= */

@media (max-width: 700px) {
  .header {
    height: 52px;
    padding: 0 15px;
  }

  .header__nav {
    display: none;
  }

  .header__contact {
    font-size: 8px;
  }

  .hero {
    height: 570px;
  }

  .hero__image {
    object-position: 58% center;
  }

  .hero__content {
    left: 25px;
    right: 25px;
    top: 47%;
  }

  .hero h1 {
    font-size: 29px;
    margin-bottom: 30px;
  }

  .hero__buttons {
    gap: 12px;
  }

  .hero__circle {
    width: 90px;
    height: 90px;
    font-size: 11px;
  }

  .section {
    padding: 60px 20px;
  }

  .section__heading h2 {
    font-size: 18px;
  }

  .about__text {
    font-size: 10px;
  }

  /* Flower */

  .flower-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px 20px;
    margin-top: 40px;
  }

  /* Scene */

  .scene-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px 15px;
  }

  .scene-item__circle {
    width: 100px;
    height: 100px;
  }

  /* Products */

  .products {
    padding: 10px 15px 30px;
  }

  .product-card {
    grid-template-columns: 1fr;
    gap: 20px;

    padding: 25px 20px;
    border-radius: 28px;
  }

  .product-card__image {
    padding: 5px 20px;
  }

  .product-card__image > img {
    max-width: 300px;
  }

  .product-card__flower {
    width: 65px;
    height: 65px;
    left: 10px;
  }

  .product-card__content {
    padding: 0;
  }

  .product-card__content h2 {
    font-size: 17px;
  }

  .product-card .button {
    margin-top: 10px;
  }

  /* Gift */

  .gift {
    padding: 20px 15px;
  }

  .gift__inner {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .gift__content {
    order: 1;
  }

  .gift__image {
    order: 2;
  }

  /* Footer */

  .footer {
    padding: 25px 15px;
  }

  .footer__inner {
    flex-direction: column;
    gap: 15px;
  }

  .footer__nav {
    flex-wrap: wrap;
    justify-content: center;
  }
}

/* =========================================
   SMALL MOBILE
========================================= */

.page-top {
  position: fixed;
  right: 25px;
  bottom: 100px;

  width: 80px; /* 40〜50pxの範囲で調整可 */
  height: 80px;

  transition:
    transform 0.3s,
    opacity 0.3s;

  z-index: 900;
}

.page-top img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.page-top:hover {
  transform: translateY(-4px);
  opacity: 0.85;
}

@media (max-width: 400px) {
  .hero h1 {
    font-size: 25px;
  }

  .hero__circle {
    width: 82px;
    height: 82px;
  }

  .flower-list {
    gap: 25px 12px;
  }

  .flower-item h3 {
    font-size: 12px;
  }
}
