/* ========================================
   竹タオル テーマ メインCSS
   デザインパターン7：ウッドランド
   ======================================== */

/* ===== CSS カスタムプロパティ ===== */
:root {
  --color-primary:      #1a2e1a;   /* ダークフォレスト */
  --color-primary-dark: #0f1f0f;   /* より深いフォレスト（モバイルナビ背景） */
  --color-secondary:    #5c3d2e;   /* ウッドブラウン */
  --color-bg:           #f5f0e8;   /* ウォームクリーム */
  --color-bg-cream:     #f5f0e8;   /* ウォームクリーム（エイリアス） */
  --color-accent:       #8b6914;   /* ゴールド */
  --color-text:         #2c2c2c;
  --color-text-light:   #6b6b6b;
  --color-text-mid:     #888888;
  --color-white:        #ffffff;
  --color-border:       #d4c9b0;
  --color-nav-menu:     #f5f0e8;   /* モバイルナビリンク色（クリーム） */

  --font-serif: 'Noto Serif JP', serif;
  --font-sans:  'Noto Sans JP', sans-serif;

  --container-width: 1160px;
  --section-padding: 80px;
  --header-height:   70px;
  --radius:          4px;
  --radius-lg:       8px;
  --transition:      0.25s ease;
}

/* ===== コンテナ ===== */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== ボタン ===== */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), transform var(--transition);
  border: 2px solid transparent;
  text-align: center;
}
.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--color-secondary);
  color: var(--color-white);
  border-color: var(--color-secondary);
}
.btn-primary:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
}

.btn-secondary {
  background: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
}
.btn-secondary:hover {
  background: #2a4a2a;
  border-color: #2a4a2a;
}

.btn-outline {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}
.btn-outline:hover {
  background: var(--color-primary);
  color: var(--color-white);
}

.btn-sm {
  padding: 8px 20px;
  font-size: 0.85rem;
}

/* ===== セクション共通 ===== */
.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.4;
  margin-bottom: 16px;
}
.section-lead {
  font-size: 1rem;
  color: var(--color-text-light);
  line-height: 1.9;
  margin-bottom: 40px;
}
.section-cta {
  text-align: center;
  margin-top: 48px;
}

/* ===== 画像プレースホルダー ===== */
.img-placeholder {
  background: linear-gradient(135deg, #c8b99a 0%, #a89078 100%);
  border-radius: var(--radius-lg);
}
.img-placeholder--hero   { width: 100%; padding-top: 66%; }
.img-placeholder--product { width: 100%; padding-top: 75%; }
.img-placeholder--gift   { width: 100%; padding-top: 60%; }
.img-placeholder--brand  { width: 100%; padding-top: 70%; }

/* ========================================
   ヘッダー
   ======================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: #3A5A3F;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: box-shadow var(--transition), background var(--transition);
}
.site-header.scrolled {
  background: #2f4d34;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.25);
}
.header-inner {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
  height: 70px;
  display: flex;
  align-items: center;
  gap: 32px;
}
.header-logo {
  flex-shrink: 0;
}
.header-logo img {
  height: 40px;
  width: auto;
}
.logo-text {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 700;
  color: #F8F4EC;
  letter-spacing: 0.1em;
}
.global-nav {
  flex: 1;
}
.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}
.nav-list a {
  font-size: 0.85rem;
  color: rgba(248, 244, 236, 0.85);
  padding: 6px 10px;
  border-radius: var(--radius);
  transition: background var(--transition), color var(--transition);
  white-space: nowrap;
}
.nav-list a:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #F8F4EC;
}
.header-cta {
  flex-shrink: 0;
}

/* ハンバーガー（モバイル） */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  gap: 5px;
  flex-shrink: 0;
}
.hamburger-line {
  display: block;
  width: 24px;
  height: 2px;
  background: #F8F4EC;
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.hamburger.is-open .hamburger-line:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.is-open .hamburger-line:nth-child(2) { opacity: 0; }
.hamburger.is-open .hamburger-line:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* メインコンテンツのヘッダー分のオフセット */
.site-main {
  padding-top: 70px;
}

/* ========================================
   Section 2: ヒーローバナー
   ======================================== */
.p-hero {
  background: var(--color-primary);
  color: var(--color-white);
  min-height: 500px;
  display: flex;
  align-items: center;
}
.p-hero__inner {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 60px 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.p-hero__title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  line-height: 1.4;
  color: var(--color-bg);
  margin-bottom: 24px;
}
.p-hero__subtitle {
  font-size: 1rem;
  line-height: 1.9;
  color: rgba(245, 240, 232, 0.8);
  margin-bottom: 40px;
}
.p-hero__image img,
.p-hero__image .img-placeholder {
  border-radius: var(--radius-lg);
  overflow: hidden;
}

/* ========================================
   Section 3: 特徴バー
   ======================================== */
.p-feat {
  background: #F8F4EC;
  color: #3A3828;
}
.p-feat__inner {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 40px 24px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}
.p-feat__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 24px 20px;
  border-right: 1px solid #D8D0C0;
}
.p-feat__item:last-child { border-right: none; }
.p-feat__num {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 700;
  color: #3A5A3F;
  line-height: 1.1;
  margin-bottom: 8px;
}
.p-feat__label {
  font-size: 0.9rem;
  font-weight: 700;
  color: #3A3828;
  margin-bottom: 6px;
}
.p-feat__note {
  font-size: 0.72rem;
  color: rgba(58, 56, 40, 0.55);
  line-height: 1.5;
}

/* ========================================
   Section 5: 商品ラインナップ
   ======================================== */
.p-prods {
  padding: var(--section-padding) 0;
  background: var(--color-bg);
}
.p-prods__inner {
  text-align: center;
}
.p-prods__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.p-prods__card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  transition: box-shadow var(--transition), transform var(--transition);
  display: block;
}
.p-prods__card:hover {
  box-shadow: 0 8px 24px rgba(26, 46, 26, 0.12);
  transform: translateY(-4px);
}
.p-prods__card-img img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}
.p-prods__card-body {
  padding: 16px;
  text-align: left;
}
.p-prods__card-name {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 4px;
  line-height: 1.5;
}
.p-prods__card-sub {
  font-size: 0.8rem;
  color: var(--color-text-light);
  margin-bottom: 8px;
}
.p-prods__card-price {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-secondary);
}

/* ========================================
   Section 6: ギフトバナー
   ======================================== */
.p-gift {
  padding: var(--section-padding) 0;
  background: linear-gradient(135deg, #2a4a2a 0%, var(--color-primary) 100%);
  color: var(--color-white);
}
.p-gift__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.p-gift__title {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--color-bg);
  margin-bottom: 20px;
}
.p-gift__lead {
  line-height: 1.9;
  color: rgba(245, 240, 232, 0.85);
  margin-bottom: 20px;
  font-size: 0.95rem;
}
.p-gift__noshi {
  font-size: 0.85rem;
  color: #f0d898;
  margin-bottom: 32px;
  letter-spacing: 0.05em;
}
.p-gift__image img,
.p-gift__image .img-placeholder {
  border-radius: var(--radius-lg);
}

/* ========================================
   Section: 動画セクション
   ======================================== */
.p-video {
  background: var(--color-primary);
  padding: var(--section-padding) 0;
  color: var(--color-white);
  text-align: center;
}
.p-video .section-title {
  color: #F8F4EC;
}
.p-video .section-lead {
  color: rgba(248, 244, 236, 0.8);
  max-width: 600px;
  margin: 0 auto 32px;
}
.p-video__wrap {
  position: relative;
  width: 100%;
  max-width: 800px;
  margin: 0 auto 16px;
  padding-top: 56.25%; /* 16:9 */
  background: #000;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.p-video__wrap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}
.p-video__placeholder {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px dashed rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-lg);
  color: rgba(248, 244, 236, 0.5);
  font-size: 0.85rem;
  padding: 24px;
}
.p-video__caption {
  color: rgba(248, 244, 236, 0.6);
  font-size: 0.85rem;
  margin-top: 8px;
}

/* ========================================
   Section 7: 環境セクション
   ======================================== */
.p-env {
  padding: var(--section-padding) 0;
  background: #2A3A2C;
  color: #F8F4EC;
  text-align: center;
}
.p-env .section-title {
  color: #F8F4EC;
}
.p-env .section-lead {
  color: rgba(248, 244, 236, 0.78);
}
.p-env__inner {}
.p-env__co2 {
  background: rgba(255, 255, 255, 0.08);
  color: #F8F4EC;
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  margin: 32px 0;
  min-width: 280px;
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.p-env__co2-num {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  color: #9EC270;
  line-height: 1;
  margin-bottom: 8px;
}
.p-env__co2-label {
  font-size: 0.9rem;
  color: rgba(248, 244, 236, 0.78);
}
.p-env__list {
  text-align: left;
  max-width: 560px;
  margin: 0 auto 32px;
}
.p-env__list li {
  padding: 10px 0 10px 20px;
  position: relative;
  border-bottom: 1px solid rgba(248, 244, 236, 0.15);
  font-size: 0.95rem;
  line-height: 1.7;
  color: rgba(248, 244, 236, 0.85);
}
.p-env__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 18px;
  width: 8px;
  height: 8px;
  background: #9EC270;
  border-radius: 50%;
}
.p-env__award {
  font-size: 0.9rem;
  color: #9EC270;
  font-weight: 700;
  margin-bottom: 32px;
  line-height: 1.7;
}

/* ========================================
   Section 8: ブランドストーリー
   ======================================== */
.p-brand {
  padding: var(--section-padding) 0;
  background: #ede8df;
}
.p-brand__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.p-brand__image img,
.p-brand__image .img-placeholder {
  border-radius: var(--radius-lg);
}
.p-brand__text {
  font-size: 0.95rem;
  line-height: 2;
  color: var(--color-text);
  margin-bottom: 32px;
}

/* ========================================
   Section 9: メディア・受賞実績
   ======================================== */
.p-media {
  padding: 60px 0;
  background: var(--color-primary);
  color: var(--color-white);
  text-align: center;
}
.p-media .section-title {
  color: var(--color-bg);
  margin-bottom: 32px;
}
.p-media__logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}
.p-media__logo-item {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  padding: 12px 24px;
  font-size: 0.85rem;
  color: rgba(245, 240, 232, 0.9);
  white-space: nowrap;
}

/* ========================================
   Section 10: Instagram
   ======================================== */
.p-insta {
  padding: var(--section-padding) 0;
  background: var(--color-bg);
  text-align: center;
}
.p-insta__placeholder {
  background: var(--color-white);
  border: 1px dashed var(--color-border);
  border-radius: var(--radius-lg);
  padding: 48px 32px;
  max-width: 560px;
  margin: 0 auto;
}
.p-insta__placeholder p {
  font-size: 0.9rem;
  color: var(--color-text-light);
  line-height: 1.8;
  margin-bottom: 24px;
}

/* ========================================
   Section 11: 取扱店舗
   ======================================== */
.p-stores {
  padding: var(--section-padding) 0;
  background: #ede8df;
  text-align: center;
}
.p-stores__list {
  font-size: 0.9rem;
  line-height: 2.2;
  color: var(--color-text-light);
  margin-bottom: 40px;
}

/* ========================================
   フッター
   ======================================== */
.site-footer {
  background: var(--color-primary);
  color: rgba(245, 240, 232, 0.85);
}
.footer-inner {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}
.footer-top {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 64px;
  padding: 64px 0 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-logo .logo-text {
  color: var(--color-bg);
  font-size: 1.2rem;
}
.footer-logo img {
  height: 36px;
  width: auto;
  filter: brightness(0) invert(1) opacity(0.9);
}
.footer-tagline {
  margin-top: 10px;
  font-size: 0.8rem;
  opacity: 0.65;
  line-height: 1.6;
}
.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.footer-nav-title {
  font-family: var(--font-serif);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-bg);
  margin-bottom: 16px;
  letter-spacing: 0.08em;
}
.footer-nav ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-nav a {
  font-size: 0.82rem;
  color: rgba(245, 240, 232, 0.7);
  transition: color var(--transition);
}
.footer-nav a:hover {
  color: var(--color-bg);
}
.footer-bottom {
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-company {
  font-size: 0.78rem;
  opacity: 0.6;
  line-height: 1.7;
}
.footer-copyright {
  font-size: 0.78rem;
  opacity: 0.5;
}

/* ========================================
   レスポンシブ（タブレット・モバイル）
   ======================================== */
@media (max-width: 1024px) {
  .p-prods__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  :root {
    --section-padding: 56px;
  }

  /* ヘッダー：モバイルナビ */
  .hamburger {
    display: flex;
  }
  .header-cta {
    display: none;
  }
  .global-nav {
    display: none;
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    height: calc(100dvh - var(--header-height));
    background: var(--color-primary-dark);
    padding: 32px 24px;
    overflow-y: auto;
    z-index: 999;
  }
  .global-nav.is-open {
    display: block;
  }
  .global-nav .nav-list a {
    color: #F8F4EC;
    font-size: 1rem;
  }
  .global-nav .nav-list a:hover {
    color: rgba(248, 244, 236, 0.7);
  }
  .nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
  }
  .nav-list li {
    width: 100%;
    border-bottom: 1px solid var(--color-border);
  }
  .nav-list a {
    display: block;
    padding: 16px 4px;
    font-size: 1rem;
  }

  /* ヒーロー */
  .p-hero__inner {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 60px 24px;
  }
  .p-hero { min-height: auto; }

  /* 特徴バー */
  .p-feat__inner {
    grid-template-columns: 1fr;
  }
  .p-feat__item {
    border-right: none;
    border-bottom: 1px solid #D8D0C0;
  }
  .p-feat__item:last-child { border-bottom: none; }

  /* 商品グリッド */
  .p-prods__grid {
    grid-template-columns: 1fr;
  }

  /* ギフト */
  .p-gift__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  /* ブランドストーリー */
  .p-brand__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  /* フッター */
  .footer-top {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .footer-nav {
    grid-template-columns: 1fr 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .footer-nav {
    grid-template-columns: 1fr;
  }
  .p-media__logos {
    flex-direction: column;
    align-items: center;
  }
}
