* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: sans-serif;
  background: #f8f5f1;
  color: #7b6858;
}

/* ===================================================
   ヘッダー（全ページ共通：PC版の基本スタイル）
=================================================== */
header {
  background-color: #fff9f1;
  width: 100%;
  padding: 30px 0 20px;
  border-bottom: 2px solid #5d4037;
}

/* ヘッダーの中身を縦並びにして、すべて真ん中に寄せる */
.header-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column; /* ロゴとメニューを縦並びに */
  align-items: center; /* 左右のど真ん中に配置 */
  justify-content: center;
  text-align: center;
}

/* ロゴの文字設定 */
.logo h1 {
  font-size: 36px;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 5px;
}

.logo p {
  font-size: 14px;
  color: #7b5e57;
  margin-bottom: 25px;
}

/* メニュー全体の横並び・中央寄せ設定 */
#nav-links {
  display: flex;
  justify-content: center; /* ★PC版でしっかり中央に寄せるお守り */
  gap: 40px;
  list-style: none;
  padding: 0;
  margin: 0;
}

#nav-links a {
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  color: #5d4037;
  letter-spacing: 1px;
}

/* PC版ではハンバーガーボタンを絶対に隠す */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 20px;
  cursor: pointer;
  z-index: 100;
}

.hamburger span {
  width: 100%;
  height: 3px;
  background-color: #7b6858;
  border-radius: 10px;
  transition: all 0.3s ease;
}

/* ===================================================
   メインビジュアル（スライダー対応）
=================================================== */
.hero {
  position: relative;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  overflow: hidden;
  background-color: #f5ede3;
}
.hero-slider {
  width: 100%;
  height: 500px;
  z-index: 1;
  display: flex;
  gap: 20px;
  box-sizing: border-box;
}
.slider-item {
  flex-shrink: 0;
  width: 80%;
  height: 100%;
  background-size: cover;
  background-position: center;
  border-radius: 12px;
}

/* ===================================================
   メインビジュアル下のテキスト（スライダーとNEWSの間）
=================================================== */
.hero-text {
  padding: 60px 0;
  margin: 0 auto;
  text-align: center;
  width: 90%;
  max-width: 900px;
  color: #5d4037;
}

.hero-text h2 {
  font-size: 36px;
  line-height: 1.6;
  margin-bottom: 20px;
  font-weight: bold;
  text-shadow: none;
}

.hero-text p {
  font-size: 19px;
  line-height: 1.8;
  margin-bottom: 25px;
  text-shadow: none;
}

.hero-text .btn {
  display: inline-block;
  padding: 14px 40px;
  background-color: #7b6858;
  color: #ffffff;
  text-decoration: none;
  border-radius: 25px;
  font-size: 17px;
  font-weight: bold;
  box-shadow: 0 4px 10px rgba(123, 104, 88, 0.2);
  transition:
    background-color 0.3s,
    transform 0.3s;
}

.hero-text .btn:hover {
  background-color: #635041;
  transform: translateY(-2px);
}

/* ===================================================
   コンテンツエリア（NEWS・商品リスト）
=================================================== */
.news {
  width: 90%;
  max-width: 1130px;
  margin: 0 auto 60px;
  padding: 28px 40px;
  background: white;
  border-radius: 999px;
  box-sizing: border-box;
  font-size: 18px;
  font-weight: bold;
}
.pickup {
  width: 90%;
  margin: auto;
  padding-bottom: 100px;
}

.pickup h3 {
  font-size: 36px;
  margin-bottom: 40px;
}

.item-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  width: 100%;
  justify-content: space-between;
}

.item {
  width: calc((100% - 72px) / 4);
  background: white;
  padding: 24px;
  border-radius: 20px;
  margin-bottom: 24px;
  box-sizing: border-box;
}

.item img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  height: auto;
  object-fit: cover;
  object-position: center;
  border-radius: 20px;
  margin-bottom: 20px;
}

.item h4 {
  margin-bottom: 10px;
}

/* ===================================================
   ABOUTページ
=================================================== */
.about-container {
  max-width: 1000px;
  margin: 40px auto 100px;
  padding: 0 20px;
  text-align: center;
}

.about-hero {
  width: 400px;
  margin: 0 auto -80px;
  position: relative;
  z-index: 2;
}

.about-hero img {
  width: 100%;
  height: auto;
  border-radius: 20px;
  display: block;
}

.about-card {
  background: white;
  max-width: 900px;
  margin: 0 auto;
  padding: 100px 50px 60px;
  border-radius: 35px;
  box-shadow: 0 10px 30px rgba(163, 143, 122, 0.1);
}

.about-card h2 {
  font-size: 32px;
  color: #7b6858;
  margin-bottom: 5px;
}

.about-card .subtitle {
  font-size: 14px;
  color: #a38f7a;
  margin-bottom: 40px;
}

.about-main-flex {
  display: flex;
  gap: 50px;
  text-align: left;
}

.about-left-side {
  flex: 1;
  width: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.about-right-side {
  flex: 1;
  width: 50%;
}

.about-text {
  font-size: 16px;
  line-height: 1.8;
  color: #7b6858;
  margin-bottom: 30px;
  text-align: center;
}

.about-text p {
  margin-bottom: 15px;
}

.about-card .btn {
  margin-top: 10px !important;
  margin-bottom: 40px !important;
}

.routine-box {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.routine-box h3 {
  font-size: 20px;
  color: #7b6858;
  margin-bottom: 30px;
  position: relative;
  display: inline-block;
}

.routine-box h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 3px;
  background: #c8ab8d;
  border-radius: 999px;
}

.timeline {
  display: flex;
  flex-direction: column;
  gap: 20px;
  text-align: left;
  padding-left: 10px;
}

.timeline-item {
  display: flex;
  gap: 20px;
  position: relative;
}

.time {
  font-size: 12px;
  font-weight: bold;
  color: #c8ab8d;
  background: #f5ede3;
  padding: 6px 12px;
  border-radius: 20px;
  height: max-content;
  flex-shrink: 0;
  width: 70px;
  text-align: center;
}

.timeline-content {
  flex-grow: 1;
}

.timeline-content h4 {
  font-size: 15px;
  color: #7b6858;
  margin-bottom: 5px;
}

.timeline-content p {
  font-size: 13px;
  color: #a38f7a;
  line-height: 1.6;
}

/* ===================================================
   フッター
=================================================== */
footer {
  background: #7b6858;
  color: #f8f5f1;
  padding: 40px 0;
  margin-top: 100px;
}

.footer-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-left h2 {
  font-size: 24px;
  letter-spacing: 2px;
  margin-bottom: 8px;
}

.footer-left p {
  font-size: 12px;
  color: #c8ab8d;
}

.footer-right ul {
  display: flex;
  gap: 30px;
  list-style: none;
}

.footer-right a {
  color: #f8f5f1;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s;
}

.footer-right a:hover {
  color: #c8ab8d;
}

/* 背景画像を設定する設定 */
.main-bg {
  position: relative;
  background-image: url("images/bg-pattern.png");
  background-repeat: repeat;
  background-size: 400px auto;
  padding-top: 40px;
}

/* 背景をうっすら15%の薄さにして文字を読みやすくするマスク */
.main-bg::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 249, 241, 0.85);
  z-index: 1;
}

/* 文字や画像が背景の後ろに隠れないようにするお守り */
.main-bg > * {
  position: relative;
  z-index: 2;
}

/* ===================================================
   スライダーの矢印ボタン
=================================================== */
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(255, 255, 255, 0.8);
  color: #7b6858;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 20px;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  transition:
    background 0.3s,
    color 0.3s;
}

.slider-btn:hover {
  background: #7b6858;
  color: white;
}

.prev-btn {
  left: 3%;
}
.next-btn {
  right: 3%;
}

/* ===================================================
   📱 スマホ用設定（画面幅: 768px以下のみに効かせる！）
=================================================== */
@media (max-width: 768px) {
  header {
    position: relative;
    padding: 20px;
  }

  .header-container {
    align-items: center;
  }

  /* スマホの時だけ三本線を表示して右上に固定 */
  .hamburger {
    display: flex !important;
    position: absolute;
    top: 35px;
    right: 25px;
  }

  /* スマホの時だけメニューを画面の右外に隠す */
  nav #nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    height: 100vh;
    background-color: rgba(255, 255, 255, 0.95);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 40px !important;
    transition: right 0.4s ease;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.05);
    z-index: 99;
  }

  /* ボタンが押されてactiveクラスがついたら画面内に出す */
  nav #nav-links.active {
    right: 0;
  }

  /* 三本線ボタンが「✕」に変身する設定 */
  .hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }
  .hamburger.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }

  /* メインビジュアル */
  .hero {
    flex-direction: column-reverse;
    text-align: center;
    padding: 40px 20px;
    gap: 30px;
    border-radius: 0 0 40px 40px;
  }

  .hero-text {
    width: 100%;
  }
  .hero-text h2 {
    font-size: 28px;
    line-height: 1.4;
  }
}

