@charset "UTF-8";

/* ===============================================
   定期宅配内容ページ専用スタイル
   Subscription Box Contents Page Styles
   =============================================== */

/* ページヘッダー */
.teikitakuhai-page {
  max-width: 100%;
  margin: 0 auto;
  padding: 0;
  overflow-x: hidden; /* 横はみ出し防止 */
}

.page-header {
  text-align: center;
  padding: 60px 20px 50px;
  background: linear-gradient(135deg, rgba(143, 169, 104, 0.03) 0%, rgba(184, 161, 104, 0.03) 100%);
  border-bottom: 1px solid rgba(143, 169, 104, 0.15);
  margin-bottom: 50px;
}

.page-title {
  font-family: 'Noto Serif JP', serif;
  font-size: 36px;
  font-weight: 600;
  color: #2a2a2a;
  letter-spacing: 0.1em;
  margin: 0 0 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.page-title .sub-title {
  font-family: 'Playfair Display', serif;
  font-size: 14px;
  font-weight: 400;
  color: #8fa968;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  display: block;
}

.page-subtitle {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 20px;
  font-weight: 500;
  color: #8fa968;
  margin: 0 0 25px;
}

.page-intro {
  font-size: 15px;
  line-height: 1.9;
  color: #666;
  max-width: 700px;
  margin: 0 auto;
  letter-spacing: 0.05em;
}

/* ナビゲーションリンク */
.navigation-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  flex-wrap: nowrap;
  margin: 0 0 30px;
  padding: 0 20px;
}

.navigation-links.bottom {
  margin: 50px 0 0;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 13px 18px;
  background: #fff;
  border: 2px solid #e8e8e8;
  border-radius: 50px;
  color: #555;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
  letter-spacing: 0.03em;
  white-space: nowrap;
  flex-shrink: 1;
  min-width: 0;
}

.nav-link:hover {
  border-color: #8fa968;
  color: #8fa968;
  background: rgba(143, 169, 104, 0.03);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(143, 169, 104, 0.15);
}

.nav-link.cta {
  background: linear-gradient(135deg, #8fa968 0%, #7d9056 100%);
  border-color: #8fa968;
  color: #fff;
  font-weight: 600;
}

.nav-link.cta:hover {
  background: linear-gradient(135deg, #7d9056 0%, #6d7f4a 100%);
  border-color: #7d9056;
  color: #fff;
  box-shadow: 0 6px 20px rgba(143, 169, 104, 0.3);
}

/* アーカイブナビゲーション */
.archive-navigation {
  max-width: 600px;
  margin: 0 auto 50px;
  padding: 0 20px;
}

.archive-toggle {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding: 16px 30px;
  background: linear-gradient(135deg, rgba(143, 169, 104, 0.08) 0%, rgba(184, 161, 104, 0.08) 100%);
  border: 2px solid rgba(143, 169, 104, 0.2);
  border-radius: 50px;
  color: #555;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Noto Sans JP', sans-serif;
}

.archive-toggle:hover {
  background: linear-gradient(135deg, rgba(143, 169, 104, 0.12) 0%, rgba(184, 161, 104, 0.12) 100%);
  border-color: #8fa968;
  color: #8fa968;
  box-shadow: 0 4px 12px rgba(143, 169, 104, 0.15);
}

.archive-toggle .fas.fa-clock {
  color: #8fa968;
  font-size: 16px;
}

.archive-icon {
  transition: transform 0.3s ease;
  margin-left: auto;
  color: #8fa968;
}

.archive-list {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: all 0.4s ease;
  margin-top: 0;
}

.archive-list.active {
  max-height: 500px;
  opacity: 1;
  margin-top: 15px;
}

.archive-item {
  display: block;
  padding: 14px 25px;
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  color: #555;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  margin-bottom: 10px;
  transition: all 0.3s ease;
  letter-spacing: 0.03em;
  position: relative;
  padding-left: 45px;
}

.archive-item::before {
  content: "📅";
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 16px;
}

.archive-item:hover {
  background: rgba(143, 169, 104, 0.05);
  border-color: #8fa968;
  color: #8fa968;
  transform: translateX(5px);
  box-shadow: 0 2px 8px rgba(143, 169, 104, 0.1);
}

.archive-item:last-child {
  margin-bottom: 0;
}

/* 配送日セクション */
.delivery-section {
  background: #fff;
  border-radius: 12px;
  padding: 40px;
  margin: 0 20px 50px;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(143, 169, 104, 0.1);
}

.delivery-date {
  font-family: 'Noto Serif JP', serif;
  font-size: 24px;
  font-weight: 600;
  color: #2a2a2a;
  letter-spacing: 0.08em;
  margin: 0 0 35px;
  padding: 0 0 20px;
  border-bottom: 2px solid rgba(143, 169, 104, 0.15);
  display: flex;
  align-items: center;
  gap: 12px;
}

.delivery-date i {
  color: #8fa968;
  font-size: 22px;
}

/* セット内容 */
.set-content {
  margin: 0 0 45px;
  padding: 0 0 45px;
  border-bottom: 1px dashed rgba(143, 169, 104, 0.2);
}

.set-content:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.set-name {
  font-family: 'Noto Serif JP', serif;
  font-size: 20px;
  font-weight: 600;
  color: #8fa968;
  letter-spacing: 0.1em;
  margin: 0 0 25px;
  padding-left: 18px;
  position: relative;
}

.set-name::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  background: #8fa968;
  border-radius: 50%;
}

/* セット画像 */
.set-image {
  text-align: left;
  margin: 0 0 30px;
}

.set-image img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.set-image a:hover img {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.image-note {
  font-size: 12px;
  color: #999;
  margin: 12px 0 0;
  letter-spacing: 0.03em;
}

/* テーブル */
.table-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 0;
  border-radius: 8px;
  border: 1px solid #e8e8e8;
}

.product-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  font-size: 14px;
}

.product-table thead tr {
  background: linear-gradient(135deg, rgba(143, 169, 104, 0.08) 0%, rgba(184, 161, 104, 0.08) 100%);
}

.product-table th {
  padding: 16px 12px;
  text-align: left;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #555;
  letter-spacing: 0.05em;
  border-bottom: 2px solid #8fa968;
  white-space: nowrap;
}

.product-table tbody tr {
  transition: background-color 0.2s ease;
}

.product-table tbody tr:hover {
  background: rgba(143, 169, 104, 0.03);
}

.product-table tbody tr:nth-child(even) {
  background: rgba(248, 248, 248, 0.5);
}

.product-table tbody tr:nth-child(even):hover {
  background: rgba(143, 169, 104, 0.05);
}

.product-table td {
  padding: 14px 12px;
  color: #555;
  letter-spacing: 0.03em;
  line-height: 1.6;
  border-bottom: 1px solid #f0f0f0;
}

.product-table tbody tr:last-child td {
  border-bottom: none;
}

/* CTAセクション */
.cta-section {
  text-align: center;
  padding: 50px 20px;
  margin: 50px 20px;
  background: linear-gradient(135deg, rgba(143, 169, 104, 0.05) 0%, rgba(184, 161, 104, 0.05) 100%);
  border-radius: 12px;
  border: 2px solid rgba(143, 169, 104, 0.15);
}

.cta-text {
  font-family: 'Noto Serif JP', serif;
  font-size: 18px;
  font-weight: 500;
  color: #555;
  margin: 0 0 25px;
  letter-spacing: 0.08em;
}

/* CTAボタン群 */
.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  align-items: stretch;
  flex-wrap: wrap;
}

.btn-cta,
.btn-cta-spot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 18px 40px;
  border-radius: 50px;
  color: #fff;
  text-decoration: none;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.08em;
  transition: all 0.3s ease;
}

/* 定期宅配ボタン */
.btn-cta {
  background: linear-gradient(135deg, #8fa968 0%, #7d9056 100%);
  box-shadow: 0 4px 16px rgba(143, 169, 104, 0.3);
}

.btn-cta:hover {
  background: linear-gradient(135deg, #7d9056 0%, #6d7f4a 100%);
  transform: translateY(-3px);
  box-shadow: 0 6px 24px rgba(143, 169, 104, 0.4);
  color: #fff;
}

/* スポット購入ボタン */
.btn-cta-spot {
  background: linear-gradient(135deg, #c49a3c 0%, #a8822e 100%) !important;
  box-shadow: 0 4px 16px rgba(196, 154, 60, 0.3);
  color: #fff !important;
}

.btn-cta-spot:hover {
  background: linear-gradient(135deg, #a8822e 0%, #8f6e24 100%) !important;
  transform: translateY(-3px);
  box-shadow: 0 6px 24px rgba(196, 154, 60, 0.4);
  color: #fff !important;
}

/* ナビ内スポット購入リンク */
.nav-link.cta-spot {
  background: linear-gradient(135deg, #c49a3c 0%, #a8822e 100%) !important;
  border-color: #c49a3c !important;
  color: #fff !important;
  font-weight: 600;
}

.nav-link.cta-spot:hover {
  background: linear-gradient(135deg, #a8822e 0%, #8f6e24 100%) !important;
  border-color: #a8822e !important;
  color: #fff !important;
  box-shadow: 0 6px 20px rgba(196, 154, 60, 0.3);
}

/* レスポンシブデザイン */
@media screen and (max-width: 1024px) {
  .delivery-section {
    padding: 30px 25px;
    margin: 0 15px 40px;
  }

  .page-header {
    padding: 50px 15px 40px;
  }

  .page-title {
    font-size: 30px;
  }
}

@media screen and (max-width: 768px) {
  .page-header {
    padding: 40px 15px 30px;
    margin-bottom: 35px;
  }

  .page-title {
    font-size: 26px;
  }

  .page-title .sub-title {
    font-size: 12px;
  }

  .page-subtitle {
    font-size: 18px;
    margin-bottom: 20px;
  }

  .page-intro {
    font-size: 14px;
    line-height: 1.8;
  }

  .navigation-links {
    flex-wrap: wrap;
    flex-direction: column;
    align-items: center;
    padding: 0;
    gap: 12px;
    margin-bottom: 25px;
  }

  .nav-link {
    width: calc(100% - 32px);
    max-width: 340px;
    justify-content: center;
    padding: 12px 24px;
    font-size: 13px;
    margin: 0 auto;
    box-sizing: border-box;
  }

  .archive-navigation {
    padding: 0 10px;
    margin-bottom: 35px;
  }

  .archive-toggle {
    padding: 14px 20px;
    font-size: 14px;
  }

  .archive-item {
    padding: 12px 20px;
    padding-left: 40px;
    font-size: 13px;
  }

  .archive-item::before {
    left: 15px;
    font-size: 14px;
  }

  .delivery-section {
    padding: 25px 20px;
    margin: 0 10px 35px;
    border-radius: 10px;
  }

  .delivery-date {
    font-size: 20px;
    margin-bottom: 28px;
    padding-bottom: 16px;
  }

  .delivery-date i {
    font-size: 19px;
  }

  .set-content {
    margin-bottom: 35px;
    padding-bottom: 35px;
  }

  .set-name {
    font-size: 18px;
    margin-bottom: 20px;
  }

  .set-image {
    margin-bottom: 25px;
  }

  .product-table {
    font-size: 13px;
  }

  .product-table th,
  .product-table td {
    padding: 10px 8px;
  }

  .product-table th {
    font-size: 12px;
  }

  .cta-section {
    padding: 40px 20px;
    margin: 40px 10px;
  }

  .cta-text {
    font-size: 16px;
    margin-bottom: 20px;
  }

  .cta-buttons {
    gap: 14px;
    justify-content: center;
    align-items: center;
  }

  .btn-cta,
  .btn-cta-spot {
    padding: 16px 35px;
    font-size: 15px;
  }

  .navigation-links.bottom {
    margin-top: 40px;
  }
}

@media screen and (max-width: 480px) {
  .page-title {
    font-size: 22px;
  }

  .page-subtitle {
    font-size: 16px;
  }

  .delivery-date {
    font-size: 18px;
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
  }

  .set-name {
    font-size: 17px;
  }

  .product-table {
    font-size: 12px;
  }

  .product-table th,
  .product-table td {
    padding: 8px 6px;
  }

  .btn-cta,
  .btn-cta-spot {
    width: calc(100% - 32px);
    max-width: 300px;
    padding: 14px 25px;
    font-size: 14px;
    margin: 0 auto;
    box-sizing: border-box;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }
}

