/* =====================
   リセット・基本設定
   ===================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: "游ゴシック体", YuGothic, "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック", "Yu Gothic", sans-serif;
  font-weight: 300;
  color: #333;
  background-color: #fff;
  line-height: 1.8;
  padding-top: 56px; /* ヘッダー固定分 */
}

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

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

ul {
  list-style: none;
}

/* =====================
   ヘッダー
   ===================== */
#header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: #fff;
  border-bottom: 1px solid #e0e0e0;
  height: 56px;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding: 0 12px;
}

.header-logo {
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  gap: 6px;
  line-height: 1.2;
}

.header-logo img {
  width: 200px;
  height: auto;
}

.logo-main {
  font-family: 'Yuji Syuku', serif;
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: #333;
}

.logo-sub {
  font-size: 9px;
  letter-spacing: 0.05em;
  color: #888;
  margin-bottom: 2px;
  display: inline-block;
  width: fit-content;
}

.header-nav {
  display: flex;
  align-items: flex-end;
  gap: 16px;
}

.nav-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 9px;
  color: #555;
  letter-spacing: 0.05em;
  gap: 2px;
}

.nav-icon img {
  width: 35px;
  height: auto;
}

.nav-icon img.cart-icon {
  width: 25px;
}

.nav-menu {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-bottom: -5px;
}

.nav-menu span:not(.menu-text) {
  display: block;
  width: 24px;
  height: 1.5px;
  background: #555;
  transition: all 0.3s;
}

.menu-text {
  font-size: 9px;
  color: #555;
  letter-spacing: 0.05em;
  margin-top: 2px;
}

/* ドロワー開いた時のハンバーガー変化 */
.nav-menu.is-open span:nth-child(1) {
  transform: translateY(5.5px) rotate(45deg);
}
.nav-menu.is-open span:nth-child(2) {
  opacity: 0;
}
.nav-menu.is-open span:nth-child(3) {
  transform: translateY(-5.5px) rotate(-45deg);
}

/* =====================
   ドロワーメニュー
   ===================== */
.drawer {
  position: fixed;
  top: 56px;
  right: -100%;
  width: 80%;
  max-width: 320px;
  height: calc(100vh - 56px);
  height: calc(100dvh - 56px);
  background: #fff;
  z-index: 999;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  transition: right 0.3s ease;
  border-left: 1px solid #e0e0e0;
}

.drawer.is-open {
  right: 0;
}

.drawer-inner {
  padding: 20px 0;
}

.drawer-close {
  display: block;
  margin-left: auto;
  margin-right: 16px;
  margin-bottom: 12px;
  background: none;
  border: none;
  font-size: 18px;
  cursor: pointer;
  color: #555;
}

.drawer-list li a {
  display: block;
  padding: 14px 20px;
  font-size: 13px;
  border-bottom: 1px solid #f0f0f0;
  color: #333;
  letter-spacing: 0.05em;
}

.drawer-sub-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 14px 20px;
  font-size: 13px;
  letter-spacing: 0.05em;
  color: #333;
  background: none;
  border: none;
  border-bottom: 1px solid #f0f0f0;
  cursor: pointer;
  text-align: left;
}

.drawer-sub-icon {
  font-size: 16px;
  transition: transform 0.3s;
}

.drawer-has-sub.is-open .drawer-sub-icon {
  transform: rotate(45deg);
}

.drawer-sub-list {
  display: none;
  background: #fafafa;
}

.drawer-has-sub.is-open .drawer-sub-list {
  display: block;
}

.drawer-sub-list li a {
  padding: 12px 20px 12px 32px;
  font-size: 12px;
  color: #555;
}

.drawer-overlay {
  display: none;
  position: fixed;
  top: 56px;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.4);
  z-index: 998;
}

.drawer-overlay.is-open {
  display: block;
}

/* =====================
   ボタン共通
   ===================== */
.btn-primary {
  display: block;
  width: 100%;
  text-align: center;
  background: #c9a84c;
  color: #fff;
  font-size: 13px;
  letter-spacing: 0.08em;
  padding: 14px 16px;
  margin-top: 12px;
}

.btn-secondary {
  display: block;
  width: 100%;
  text-align: center;
  background: #fff;
  color: #333;
  font-size: 13px;
  letter-spacing: 0.08em;
  padding: 13px 16px;
  margin-top: 12px;
  border: 1px solid #ccc;
}

.btn-about {
  display: block;
  margin: 12px auto 0;
  width: fit-content;
}

.btn-about img {
  width: 240px;
  max-width: 100%;
}

/* =====================
   グレー背景エリア
   ===================== */
.section-gray-bg {
  background-color: #f7f7f7;
}

/* =====================
   セクション共通
   ===================== */
.section-title {
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.1em;
  padding: 14px 16px;
  border-bottom: 1px solid #e0e0e0;
  color: #333;
}

/* =====================
   ヒーロービジュアル
   ===================== */
.hero {
  background: #faf6ef;
}

.hero-image {
  position: relative;
  height: calc(100vh - 56px);
  overflow: hidden;
}

.hero-image img,
.hero-image video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.hero-purchase {
  pointer-events: auto;
  position: absolute;
  bottom: 24px;
  left: 20px;
  color: #000;
  line-height: 1.8;
}

.hero-purchase-title {
  display: block;
  font-size: clamp(12px, calc(12px + 3 * (100vw - 375px) / 649), 15px);
  letter-spacing: 0.08em;
  color: #fff;
}

.hero-purchase-cta {
  display: block;
  font-size: clamp(13px, calc(13px + 4 * (100vw - 375px) / 649), 17px);
  letter-spacing: 0.08em;
  text-decoration: underline;
  text-underline-offset: 3px;
  color: #fff;
}

.hero-photo {
  display: flex;
  background-color: #fff;
}

.hero-photo img {
  width: 220px;
  height: 160px;
  display: block;
  object-fit: cover;
  flex-shrink: 0;
  margin-left: 20px;
  margin-top: 16px;
}

.hero-photo-space {
  width: 50%;
  background-color: #fff;
}

.hero-text {
  padding: 28px 20px 36px;
  background-color: #fff;
}

.hero-catch {
  writing-mode: vertical-rl;
  font-size: clamp(22px, calc(22px + 6 * (100vw - 375px) / 649), 28px);
  font-weight: 700;
  letter-spacing: 0.15em;
  line-height: 1.7;
  color: #fff;
  font-family: "Shippori Mincho", "游明朝", "Yu Mincho", serif;
}

.hero-desc {
  font-size: clamp(16px, calc(16px + 4 * (100vw - 375px) / 649), 20px);
  font-weight: 700;
  color: #000;
  letter-spacing: 0.05em;
  text-align: center;
  font-family: "A-OTF リュウミン Pro", "A-OTF Ryumin Pro", "Shippori Mincho", "游明朝", "Yu Mincho", serif;
  margin-top: 70px;
}

.hero-desc p {
  line-height: 2.4;
  margin-bottom: 1.2em;
}

.hero-desc p:last-child {
  margin-bottom: 0;
}

.hero-desc p.tight {
  margin-bottom: 0;
}

.hero-sumie-wrap {
  position: relative;
  width: calc(100% + 40px);
  margin-left: -20px;
  margin-right: -20px;
  margin-top: 0;
  margin-bottom: -36px;
  aspect-ratio: 706 / 347;
  background-image: url('picture/sin_sumie.jpg');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.hero-sumie-btn {
  display: block;
  position: relative;
  z-index: 2;
  margin-top: -65px;
}
.hero-sumie-btn img {
  width: 100%;
  max-width: 210px;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* =====================
   おしらせ
   ===================== */
.section-news {
  margin-top: 32px;
}

.section-news .section-title {
  text-align: center;
  border-bottom: none;
  padding-top: 60px;
  font-size: 25px;
}
.section-news .section-title img {
  width: auto;
  height: 24px;
  display: block;
  margin: 0 auto;
}

.section-gray-bg > .section-title {
  text-align: center;
  border-bottom: none;
  padding-top: 60px;
  padding-bottom: 16px;
  margin-bottom: 0;
  font-size: 25px;
}
.section-gray-bg > .section-title img {
  width: auto;
  height: 24px;
  display: block;
  margin: 0 auto;
}

.news-list {
  padding: 0;
}

.news-item {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid #f0f0f0;
}

.news-item:last-child {
  border-bottom: none;
}

.news-date {
  font-size: clamp(11px, calc(11px + 3 * (100vw - 375px) / 649), 14px);
  color: #888;
  white-space: nowrap;
  letter-spacing: 0.05em;
}

.news-link-wrap {
  display: flex;
  align-items: baseline;
  gap: 12px;
  width: 100%;
  color: #333;
}

.news-text {
  font-size: clamp(13px, calc(13px + 4 * (100vw - 375px) / 649), 17px);
  letter-spacing: 0.05em;
}

/* =====================
   季節のおすすめ
   ===================== */
.section-seasonal {
  margin-top: 32px;
}

.section-seasonal .section-title {
  text-align: center;
  font-size: 25px;
  border-bottom: none;
}
.section-seasonal .section-title img {
  width: auto;
  height: 24px;
  display: block;
  margin: 0 auto;
}

.seasonal-slideshow {
  position: relative;
  overflow: hidden;
  margin-top: 20px;
}

.slideshow-track {
  display: flex;
  gap: 10px;
  transition: transform 0.4s ease;
}

.slide {
  flex-shrink: 0;
  background: #f7f7f7;
}

.seasonal-item {
  display: block;
}

.seasonal-item img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}

.seasonal-label {
  display: block;
  text-align: center;
  font-size: clamp(14px, calc(14px + 4 * (100vw - 375px) / 649), 18px);
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #333;
  padding: 10px 8px;
  background: #f7f7f7;
}

.slideshow-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 12px 0;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ccc;
  cursor: pointer;
  transition: background 0.3s;
}

.dot.active {
  background: #888;
}

/* 素材紹介スライドショー（こだわりページ） */
.kodawari-material-slideshow-wrap {
  background: #fff;
  padding: 24px 0;
}

.material-slideshow {
  position: relative;
  overflow: hidden;
  width: calc(100% + 40px);
  margin-left: -20px;
  margin-right: -20px;
}

.material-item {
  display: block;
  background: transparent;
}

.material-photo {
  width: 100%;
  height: auto;
  display: block;
}

.material-title {
  font-size: 15px;
  line-height: 1.6;
  color: #333;
  padding: 14px 16px 0;
}

.material-desc {
  font-size: 13px;
  line-height: 1.9;
  color: #555;
  padding: 8px 16px 16px;
}

.material-slide-nav {
  display: flex;
  justify-content: space-between;
  padding: 8px 32px 4px;
}

.material-slide-arrow {
  background: none;
  border: none;
  padding: 4px 8px;
  font-size: 20px;
  line-height: 1;
  color: #c9a84c;
  cursor: pointer;
  font-family: Georgia, "Times New Roman", serif;
}

/* =====================
   商品情報
   ===================== */
.section-products {
  margin-top: 0;
}

/* 特製焼チーズケーキ（メイン商品） */
.product-featured {
  margin-bottom: 0;
  position: relative;
}

.product-featured-image img {
  width: 100%;
  height: auto;
  display: block;
}

.product-featured-body {
  position: absolute;
  bottom: 20px;
  left: 0;
  right: 0;
  padding: 20px 20px 24px;
  background: transparent;
}

.product-featured-name {
  font-size: clamp(20px, calc(20px + 5 * (100vw - 375px) / 649), 25px);
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #333;
  margin-bottom: 12px;
  font-family: "Shippori Mincho", "游明朝", "Yu Mincho", serif;
}

.product-featured-desc {
  font-size: clamp(13px, calc(13px + 4 * (100vw - 375px) / 649), 17px);
  font-weight: 500;
  line-height: 1.9;
  color: #333;
  letter-spacing: 0.04em;
  margin-bottom: 4px;
}

.product-featured-lineup-btn img {
  width: 180px;
  height: auto;
  display: block;
  margin: 10px 0 0 auto;
}

.product-featured-body .btn-about,
.product-card-body .btn-about {
  margin: 10px 0 0 auto;
  padding: 8px 20px;
  font-size: 11px;
}

/* 商品カード */
.product-card {
  margin-bottom: 0;
  position: relative;
}

.product-card-image img {
  width: 100%;
  height: auto;
  display: block;
}

.product-card-body {
  position: absolute;
  bottom: 20px;
  left: 0;
  right: 0;
  padding: 16px 20px 24px;
  background: transparent;
}

.product-card--light .product-card-name,
.product-card--light .product-card-sub,
.product-card--light .product-card-desc {
  color: #fff;
}
.product-card--seasonal .product-card-name {
  font-size: clamp(20px, calc(20px + 5 * (100vw - 375px) / 649), 25px);
  color: #000;
}
.product-card--seasonal .product-card-desc {
  color: #000;
}

.product-card-lineup-btn img {
  width: 180px;
  height: auto;
  display: block;
  margin: 10px 0 0 auto;
}
.product-card-page-btn img {
  width: 180px;
  height: auto;
  display: block;
  margin: 10px 0 0 auto;
}

.product-card-name {
  font-size: clamp(20px, calc(20px + 5 * (100vw - 375px) / 649), 25px);
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #333;
  margin-bottom: 10px;
  line-height: 1.5;
  font-family: "Shippori Mincho", "游明朝", "Yu Mincho", serif;
}

.product-card-name--tight {
  letter-spacing: 0.04em;
}

.product-card-sub {
  font-size: clamp(13px, calc(13px + 4 * (100vw - 375px) / 649), 17px);
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #555;
}

.product-card-desc {
  font-size: clamp(13px, calc(13px + 4 * (100vw - 375px) / 649), 17px);
  font-weight: 500;
  line-height: 1.9;
  color: #333;
  letter-spacing: 0.04em;
  margin-bottom: 4px;
}

/* 季節休止バッジ（PC専用、SPでは非表示） */
.product-card-badge {
  display: none;
}

.product-card-btn-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 10px;
}

.product-card-btn-row .product-card-page-btn img {
  margin: 0;
}

/* 季節休止注意書き（SP専用、PCでは非表示） */
.product-card-caution {
  font-size: clamp(12px, calc(12px + 1 * (100vw - 375px) / 649), 13px);
  color: #fff;
  letter-spacing: 0.02em;
  text-decoration: underline;
}

/* =====================
   商品一覧ボタン
   ===================== */
.section-all-products {
  display: flex;
  justify-content: center;
  padding: 32px 20px;
  background: #fff;
}
.section-all-products-btn img {
  width: 240px;
  height: auto;
  display: block;
}

/* =====================
   バースデーケーキバナー
   ===================== */
.section-birthday {
  margin-top: 80px;
  margin-bottom: 48px;
  padding: 0 16px;
}

.birthday-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  background: #f5f0ea;
  border: 1px solid #d4c4a8;
  padding: 20px;
  text-align: center;
}

.birthday-label {
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: #333;
  line-height: 1.5;
}

.birthday-sub {
  font-size: 13px;
  letter-spacing: 0.08em;
  color: #555;
  line-height: 1.7;
  border-left: 1px solid #ccc;
  padding-left: 16px;
}

/* =====================
   リンクボックス
   ===================== */
.section-linkbox {
  padding: 0 16px 40px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 24px;
}

.linkbox-item {
  display: block;
  background: #fff;
  border: none;
  padding: 0;
  font-size: 13px;
  letter-spacing: 0.05em;
  color: #333;
}

.linkbox-arrow {
  font-size: 12px;
  color: #aaa;
}

/* =====================
   フッター
   ===================== */
#footer {
  background: #fef8e7;
  padding: 32px 16px 24px;
  border-top: 1px solid #e0e0e0;
}

.footer-logo {
  text-align: center;
  margin-bottom: 24px;
}
.footer-logo img {
  width: 140px;
  height: auto;
  display: block;
  margin: 0 auto;
}

.footer-logo-main {
  display: block;
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 0.15em;
  color: #333;
  margin-bottom: 4px;
}

.footer-logo-en {
  display: block;
  font-size: 10px;
  letter-spacing: 0.2em;
  color: #888;
}

.footer-nav ul {
  border-top: 1px solid #e0e0e0;
}

.footer-nav ul li a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 13px 4px;
  font-size: 12px;
  letter-spacing: 0.05em;
  color: #444;
  border-bottom: 1px solid #e0e0e0;
}

.footer-nav ul li a::after {
  content: ">";
  color: #aaa;
  font-size: 12px;
}

.footer-sns {
  display: flex;
  justify-content: center;
  margin-top: 24px;
}

.sns-instagram {
  color: #555;
  display: block;
}
.sns-instagram img {
  width: 24px;
  height: auto;
  display: block;
}

.footer-copy {
  text-align: center;
  font-size: 10px;
  color: #aaa;
  margin-top: 20px;
  letter-spacing: 0.05em;
}

/* =====================
   こだわりについてページ
   ===================== */

/* 見出し（緑・DF中楷書体）共通 */
.kodawari-heading-green {
  color: #758f60;
  font-size: clamp(18px, calc(18px + 5 * (100vw - 375px) / 649), 23px);
  font-weight: 400;
  letter-spacing: 0.12em;
  line-height: 1.6;
  text-align: center;
  margin-bottom: 20px;
  font-family: "DF中楷書体", "DF Chuu Kaisho Tai", "Shippori Mincho", "游明朝", "Yu Mincho", serif;
}

/* 見出し（黒・DF中楷書体）共通 */
.kodawari-heading-dark {
  color: #333;
  font-size: clamp(18px, calc(18px + 5 * (100vw - 375px) / 649), 23px);
  letter-spacing: 0.12em;
  line-height: 1.6;
  text-align: center;
  margin-bottom: 20px;
  font-family: "DF中楷書体", "DF Chuu Kaisho Tai", "Shippori Mincho", "游明朝", "Yu Mincho", serif;
}

/* 本文（グレー）共通 */
.kodawari-text {
  font-size: clamp(13px, calc(13px + 4 * (100vw - 375px) / 649), 17px);
  line-height: 2;
  color: #555;
  text-align: center;
}

.kodawari-quote {
  background: #f7f6f0;
  padding: 96px 24px 96px;
  text-align: center;
  font-size: clamp(14px, calc(14px + 4 * (100vw - 375px) / 649), 18px);
  font-weight: 600;
  line-height: 2.2;
  letter-spacing: 0.18em;
  font-family: "DF中楷書体", "DF Chuu Kaisho Tai", "Shippori Mincho", "游明朝", "Yu Mincho", serif;
}

.kodawari-scroll {
  background: #f7f6f0;
  display: flex;
  justify-content: center;
  padding: 48px 0;
}

.kodawari-scroll img {
  width: 40px;
  height: auto;
}

.kodawari-origin {
  background: #f7f6f0;
  padding: 40px 20px;
}

.kodawari-origin-photo {
  margin-bottom: 40px;
}

.kodawari-origin-lead {
  font-size: clamp(13px, calc(13px + 4 * (100vw - 375px) / 649), 17px);
  text-align: left;
  letter-spacing: 0.15em;
  margin-bottom: 32px;
  margin-left: 1em;
  max-width: 640px;
  font-family: "Shippori Mincho B1", "Shippori Mincho", "游明朝", "Yu Mincho", serif;
}

.kodawari-origin-text {
  font-size: clamp(13px, calc(13px + 4 * (100vw - 375px) / 649), 17px);
  line-height: 2;
  color: #555;
  text-align: left;
  letter-spacing: 0.15em;
  margin-left: 1em;
  max-width: 640px;
  font-family: "Shippori Mincho B1", "Shippori Mincho", "游明朝", "Yu Mincho", serif;
}

.kodawari-concept {
  background: #f7f6f0;
  padding: 40px 20px;
  text-align: center;
}

.kodawari-concept .kodawari-heading-green {
  margin-bottom: 24px;
}

.kodawari-concept picture {
  display: block;
  width: calc(100% + 40px);
  margin-left: -20px;
  margin-right: -20px;
}

.kodawari-concept-text {
  font-size: clamp(13px, calc(13px + 4 * (100vw - 375px) / 649), 17px);
  line-height: 2.4;
  letter-spacing: 0.1em;
  color: #555;
  margin-top: 48px;
  font-family: "Shippori Mincho B1", "Shippori Mincho", "游明朝", "Yu Mincho", serif;
}

.kodawari-concept img + .kodawari-concept-text {
  margin-top: 64px;
}

.kodawari-concept-text:last-of-type {
  margin-bottom: 32px;
}

.kodawari-cafe-scene {
  background: #f7f6f0;
}

.kodawari-cafe-scene img {
  display: block;
  width: 90%;
  margin: 0 auto;
}

.kodawari-heart-heading-wrap {
  background: #f7f6f0;
  padding: 80px 20px 24px;
}

.kodawari-material-section {
  padding: 24px 20px 40px;
}

.kodawari-material-visual {
  position: relative;
  overflow: hidden;
}

.kodawari-material-photo {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
  z-index: 0;
}

.kodawari-material-overlay {
  position: relative;
  z-index: 1;
  margin-top: 50%;
  padding: 24px 20px 40px;
}

.kodawari-material-card {
  text-align: center;
  padding-top: 8px;
}

.kodawari-material-card .kodawari-heading-dark {
  font-weight: 400;
}

.kodawari-material-card p {
  font-size: clamp(14px, calc(14px + 4 * (100vw - 375px) / 649), 18px);
  line-height: 2.4;
  letter-spacing: 0.1em;
  color: #555;
  margin-top: 16px;
  font-family: "Shippori Mincho B1", "Shippori Mincho", "游明朝", "Yu Mincho", serif;
}

.kodawari-warm-bg {
  background: #f1eee2;
  display: flow-root;
}

.kodawari-craft {
  padding: 40px 20px 64px;
}

.kodawari-craft-photo {
  display: block;
  width: 100%;
}

.kodawari-craft-textbox {
  background: #fff;
  padding: 32px 0 64px;
}

.kodawari-craft-textbox .kodawari-heading-dark {
  font-weight: 400;
}

.kodawari-craft-text {
  font-size: clamp(13px, calc(13px + 4 * (100vw - 375px) / 649), 17px);
  line-height: 2.4;
  letter-spacing: 0.1em;
  color: #555;
  text-align: center;
  font-family: "Shippori Mincho B1", "Shippori Mincho", "游明朝", "Yu Mincho", serif;
}

.kodawari-gift-scene {
  padding: 0;
}

.kodawari-gift-scene img {
  display: block;
  width: 100%;
}

.kodawari-final {
  padding: 0 20px 64px;
  text-align: center;
}

.kodawari-final-card {
  background: #fff;
  padding: 40px 16px;
  margin-bottom: 40px;
}

.kodawari-final-card .kodawari-heading-dark {
  font-weight: 400;
}


.kodawari-final-text {
  font-size: clamp(13px, calc(13px + 4 * (100vw - 375px) / 649), 17px);
  line-height: 2.4;
  letter-spacing: 0.01em;
  color: #555;
  font-family: "Shippori Mincho B1", "Shippori Mincho", "游明朝", "Yu Mincho", serif;
}

.kodawari-final-sub {
  font-size: clamp(14px, calc(14px + 4 * (100vw - 375px) / 649), 18px);
  font-weight: 600;
  line-height: 2.4;
  letter-spacing: 0.2em;
  color: #555;
  margin-bottom: 70px;
  font-family: "Shippori Mincho B1", "Shippori Mincho", "游明朝", "Yu Mincho", serif;
}

/* PC専用：素材3カラムグリッド（SPでは非表示） */
.kodawari-material-grid {
  display: none;
}

/* =====================
   SP / PC レスポンシブ対応
   ===================== */

/* ヒーローPC用画像（デフォルト非表示） */
.hero-image-pc {
  display: none;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero-image-pc img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* 小さめスマホ調整 */
@media (max-width: 375px) {
  .product-card-body {
    padding: 10px 12px 16px;
  }
  .product-card-name {
    margin-bottom: 6px;
  }
  .product-card-desc {
    line-height: 1.6;
  }
  .product-card-lineup-btn img,
  .product-featured-lineup-btn img {
    width: 160px;
  }
  .product-card-page-btn img {
    width: 140px;
  }
}

/* 大きめSP（タブレット縦含む、SP表示） */
@media (min-width: 768px) {
  body {
    padding-top: 64px;
  }

  #header {
    height: 64px;
  }

  .header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
  }

  .hero-image {
    height: calc(100vh - 64px);
  }

  .logo-main {
    font-size: 26px;
  }

  .logo-sub {
    font-size: 10px;
  }

  .nav-icon {
    font-size: 10px;
  }

  .hero-text {
    padding: 40px 40px 48px;
  }

  .hero-catch {
    font-size: 26px;
  }

  .section-title {
    padding: 16px 24px;
    font-size: 15px;
  }

  .news-item {
    padding: 14px 24px;
  }

  .section-seasonal,
  .section-news {
    margin-top: 40px;
  }

  .section-all-products-btn img {
    width: 340px;
  }

  .section-birthday {
    padding: 0 24px;
    margin-bottom: 60px;
  }

  #footer {
    padding: 40px 24px 32px;
  }

  .btn-primary,
  .btn-secondary {
    font-size: 14px;
    padding: 15px 20px;
  }
}

/* =====================
   PC（1024px以上）
   ===================== */
@media (min-width: 1024px) {

  /* ── グローバル ── */
  body {
    padding-top: 80px;
  }

  /* ── ヘッダー ── */
  #header {
    height: 80px;
  }

  .header-inner {
    padding: 0 32px;
    max-width: 1440px;
  }

  .header-logo img {
    width: 320px;
  }

  /* ── ヒーロー ── */
  .hero-image {
    height: auto;
  }

  /* 動画は完成まで非表示、PC用静止画を表示 */
  .hero-image video {
    display: none;
  }

  .hero-image-pc {
    display: block;
    position: relative;
    inset: auto;
    width: 100%;
    height: auto;
    aspect-ratio: 1400 / 600;
    overflow: hidden;
  }

  .hero-pc-slide {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    opacity: 0;
    pointer-events: none;
    transition: opacity 1s ease;
  }

  .hero-pc-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  .hero-pc-slide.is-active {
    opacity: 1;
    pointer-events: auto;
  }

  .hero-overlay {
    justify-content: flex-start;
    align-items: center;
    padding-left: 80px;
  }

  .hero-catch {
    display: none;
  }

  .hero-purchase {
    display: none;
  }

  /* ── ヒーローphoto非表示 ── */
  .hero-photo {
    display: none;
  }

  /* ── ヒーローテキスト（詩・墨絵） ── */
  .hero-text {
    padding: 120px 80px 140px;
    background-image: url('picture/d_sumie1.jpg');
    background-size: 614px auto;
    background-repeat: no-repeat;
    background-position: calc(50vw - 225px) 77%;
  }

  .hero-text-col {
    max-width: 900px;
    margin: 0 auto;
  }

  .hero-desc {
    text-align: center;
    margin-top: 0;
    font-size: 16px;
  }

  .hero-desc p {
    line-height: 2;
    margin-bottom: 24px;
  }

  .hero-sumie-btn {
    position: static;
    z-index: auto;
    max-width: 900px;
    margin: 70px auto 0;
  }

  .hero-sumie-wrap {
    display: none;
  }

  br.sp-br {
    display: none;
  }

  /* ── main（フルワイド） ── */
  main {
    max-width: none;
  }

  /* ── グレー背景エリア ── */
  .section-gray-bg {
    padding-bottom: 60px;
    background-color: #fff;
  }

  /* ── おしらせ ── */
  .section-news {
    max-width: none;
    margin: 0;
    padding: 0 0 60px;
    background-color: #f7f7f7;
  }

  .section-news .section-title,
  .section-news .news-list {
    max-width: 620px;
    margin-left: auto;
    margin-right: auto;
  }

  .section-news .section-title {
    padding-top: 60px;
  }

  .section-news .news-item {
    padding: 14px 0;
  }

  .section-news .news-link-wrap {
    width: 100%;
  }

  .section-news .news-date {
    flex: 0 0 120px;
  }

  .section-news .news-text {
    flex: 1;
  }

  /* ── 特集（4列） ── */
  .section-seasonal {
    max-width: none;
    margin: 0;
    padding: 60px;
    background-color: #fff;
  }

  .section-seasonal .section-title {
    padding: 0 0 24px;
  }

  .seasonal-slideshow {
    overflow: visible;
  }

  .slideshow-track {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    transform: none;
  }

  .slide {
    width: auto;
  }

  .seasonal-item img {
    width: 100%;
    margin: 0;
    aspect-ratio: 1 / 1;
    object-fit: cover;
  }

  .seasonal-label {
    background: #fff;
    text-align: left;
    font-size: 15px;
  }

  .slideshow-dots {
    display: none;
  }

  /* ── 商品情報タイトル ── */
  .section-gray-bg > .section-title {
    padding-top: 60px;
    padding-bottom: 16px;
    background-color: #fff;
  }

  /* ── 商品セクション（縦積みフルワイド） ── */
  .section-products {
    display: block;
    padding: 0;
    max-width: none;
  }

  .product-card,
  .product-featured {
    margin-bottom: 6px;
  }

  /* ── 商品カード PC（テキスト左・画像フルワイド） ── */
  .product-card-image img,
  .product-featured-image img {
    width: 100%;
    height: auto;
    display: block;
  }

  .product-card-body {
    position: absolute;
    left: 7%;
    top: 72%;
    transform: translateY(-50%);
    bottom: auto;
    width: 32%;
    padding: 0;
    background: transparent;
  }

  .product-featured-body {
    position: absolute;
    left: 7%;
    top: 72%;
    transform: translateY(-50%);
    bottom: auto;
    width: 32%;
    padding: 0;
    background: transparent;
  }

  .product-card-name,
  .product-featured-name {
    font-size: 24px;
    margin-bottom: 16px;
  }

  .product-card-desc,
  .product-featured-desc {
    font-size: 13px;
    line-height: 1.9;
    margin-bottom: 10px;
  }

  .product-card-lineup-btn img,
  .product-card-page-btn img,
  .product-featured-lineup-btn img {
    width: 170px;
    margin: 20px 0 0 0;
  }

  .product-card--seasonal .product-card-name {
    font-size: 24px;
  }

  /* ── 季節休止バッジ（PC専用） ── */
  .product-card-badge {
    display: inline-block;
    padding: 4px 18px;
    margin-bottom: 14px;
    font-size: 12px;
    letter-spacing: 0.04em;
    color: #fff;
    border: 1px solid #fff;
    border-radius: 999px;
  }

  .product-card-caution {
    display: none;
  }

  .product-card-btn-row {
    justify-content: flex-start;
    margin-top: 20px;
  }

  /* ── 商品一覧ボタン ── */
  .section-all-products {
    padding: 80px 20px 60px;
  }

  .section-all-products-btn img {
    width: 280px;
  }

  /* ── バースデーバナー ── */
  .section-birthday {
    padding: 0 60px;
    margin: 80px 0 60px;
  }

  .section-birthday img {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
  }

  /* ── リンクボックス（2×2） ── */
  .section-linkbox {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    padding: 40px 60px 60px;
    max-width: 1000px;
    margin: 0 auto;
  }


  /* ── フッター ── */
  #footer {
    max-width: none;
    padding: 60px 80px 40px;
  }

  .footer-logo {
    margin-bottom: 40px;
  }

  .footer-logo img {
    width: 180px;
  }

  .footer-nav ul {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: none;
    gap: 0 24px;
  }

  .footer-nav ul li a {
    font-size: 11px;
    padding: 10px 0;
    justify-content: flex-start;
  }

  .footer-nav ul li a::after {
    display: none;
  }

  .footer-sns {
    margin-top: 40px;
  }

  /* ── こだわりページ ── */

  /* ヒーロー */
  .kodawari-hero {
    background: #f7f6f0;
  }

  .kodawari-quote {
    max-width: 640px;
    margin: 0 auto;
    padding: 150px 24px 96px;
    font-size: 21px;
  }

  /* スクロール矢印 */
  .kodawari-scroll {
    padding: 80px 0;
  }

  .kodawari-scroll img {
    width: 80px;
  }

  /* 武蔵野茶房の誕生 */
  .kodawari-origin {
    padding: 80px 20px;
  }

  .kodawari-origin .kodawari-heading-green {
    margin-top: 100px;
    margin-bottom: 56px;
  }

  .kodawari-origin-photo {
    max-width: 850px;
    margin-left: auto;
    margin-right: auto;
  }

  .kodawari-origin-copy {
    max-width: 950px;
    margin: 56px auto;
  }

  .kodawari-origin-lead,
  .kodawari-origin-text {
    max-width: 640px;
    margin-left: calc((100% - 640px) / 4);
    margin-right: auto;
  }

  .kodawari-origin-text {
    margin-top: 0;
  }

  /* 想いを一つのチーズケーキに */
  .kodawari-concept {
    padding: 80px 20px;
  }

  .kodawari-concept .kodawari-heading-green {
    margin-top: 64px;
    margin-bottom: 130px;
  }

  .kodawari-concept img {
    width: 100vw;
    max-width: 100vw;
    position: relative;
    left: 50%;
    margin-left: -50vw;
  }

  .kodawari-concept-text {
    max-width: 640px;
    margin-top: 96px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }

  .kodawari-concept img + .kodawari-concept-text {
    margin-top: 104px;
  }

  /* 喫茶シーン */
  .kodawari-cafe-scene img {
    max-width: 850px;
    margin: 0 auto;
  }

  /* すべては大切な想いを届けるために */
  .kodawari-heart-heading-wrap {
    padding: 450px 20px 120px;
  }

  /* 選び抜いた素材 */
  .kodawari-material-section {
    background: #fff;
    width: calc(100% - 60px);
    max-width: 1340px;
    margin: 50px auto 0;
    padding-top: 100px;
    padding-bottom: 100px;
  }

  .kodawari-material-visual {
    max-width: 1000px;
    margin: 0 auto;
    overflow: visible;
  }

  .kodawari-material-photo {
    position: static;
    width: 100%;
    height: auto;
    object-fit: unset;
  }

  .kodawari-material-overlay {
    position: static;
    margin-top: 0;
    padding: 40px 20px 50px;
  }

  .kodawari-material-card {
    max-width: 840px;
    margin: 0 auto;
  }

  .kodawari-material-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    max-width: 1200px;
    margin: 56px auto 0;
    padding: 0 20px;
  }

  .kodawari-material-grid-item img {
    display: block;
    width: 100%;
    margin-bottom: 24px;
  }

  .kodawari-material-grid-text {
    border-left: 1px solid #c2a878;
    padding-left: 1.5em;
    width: 85%;
  }

  .kodawari-material-grid-item h3 {
    font-size: 21px;
    font-weight: 400;
    line-height: 1.6;
    color: #333;
    margin-bottom: 12px;
    font-family: "Shippori Mincho B1", "Shippori Mincho", "游明朝", "Yu Mincho", serif;
  }

  .kodawari-material-grid-item p {
    font-size: 14px;
    line-height: 1.9;
    letter-spacing: 0.02em;
    color: #555;
  }

  .kodawari-material-slideshow-wrap {
    display: none;
  }

  /* 職人の手仕事 */
  .kodawari-craft {
    display: flex;
    align-items: stretch;
    gap: 0;
    width: calc(100% - 60px);
    max-width: 1340px;
    margin: 0 auto;
    padding: 150px 0 80px;
  }

  .kodawari-craft-photo {
    margin: 0;
    height: 100%;
    object-fit: cover;
  }

  .kodawari-craft > picture {
    flex: 1 1 50%;
    min-width: 0;
  }

  .kodawari-craft-textbox {
    flex: 1 1 50%;
    background: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px 60px 40px 40px;
    text-align: left;
  }

  .kodawari-craft-textbox .kodawari-heading-dark,
  .kodawari-craft-text {
    text-align: left;
  }

  /* 贈りものの心遣い～あなたの想いを届ける */
  .kodawari-final-row {
    display: flex;
    align-items: stretch;
    gap: 0;
    width: calc(100% - 60px);
    max-width: 1340px;
    margin: 0 auto;
    padding: 80px 0 0;
  }

  .kodawari-final {
    padding-bottom: 120px;
  }

  .kodawari-gift-scene {
    flex: 1 1 50%;
    padding: 0;
  }

  .kodawari-gift-scene picture {
    display: block;
    height: 100%;
  }

  .kodawari-gift-scene img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .kodawari-final-card {
    flex: 1 1 50%;
    background: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px 60px 40px 40px;
    margin-bottom: 0;
    text-align: left;
  }

  .kodawari-final-card .kodawari-heading-dark,
  .kodawari-final-text {
    text-align: left;
  }

  .kodawari-final-sub {
    max-width: 640px;
    margin-top: 200px;
    margin-bottom: 100px;
    margin-left: auto;
    margin-right: auto;
  }

  .kodawari-final .btn-about img {
    width: 320px;
  }

  /* こだわりページ：文字サイズ・行間（PDF実測に合わせて上書き） */
  .kodawari-heading-green,
  .kodawari-heading-dark {
    font-size: 31px;
    line-height: 1.6;
  }

  .kodawari-quote {
    line-height: 3;
  }

  .kodawari-origin-lead,
  .kodawari-origin-text,
  .kodawari-concept-text,
  .kodawari-material-card p,
  .kodawari-craft-text,
  .kodawari-final-text,
  .kodawari-final-sub {
    font-size: 17px;
    line-height: 2.6;
  }

  .kodawari-origin-lead,
  .kodawari-origin-text {
    line-height: 3.2;
  }

  .kodawari-final-sub {
    font-size: 21px;
  }

  .kodawari-concept-text {
    font-size: 21px;
  }

  .kodawari-origin-lead,
  .kodawari-origin-text {
    font-size: 20px;
  }

  .kodawari-material-card p {
    font-size: 19px;
  }

  .kodawari-material-card p {
    text-align: center;
  }
}
