/*
 * Theme Name:  たぬきの星テーマ
 * Theme URI:   https://tanukinohoshi.com/
 * Author:      sakupon
 * Description: 北海道最大級の体験型駄菓子店「たぬきの星」公式テーマ
 * Version:     1.0.1
 * License:     GNU General Public License v2 or later
 * Text Domain: tanukinohoshi-shin
 */

/* ============================================
   たぬきの星 - メインスタイルシート
   カラー定義: スター・イエロー / スナック・レッド / タヌキ・ブラウン
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;700;900&family=M+PLUS+Rounded+1c:wght@400;700;900&display=swap');

/* ---------- カラー変数 ---------- */
:root {
  --star-yellow: #FFE000;
  --star-yellow-dk: #F5C800;
  --snack-red: #E63329;
  --snack-red-lt: #FF5449;
  --tanuki-brown: #4A3728;
  --warm-white: #FFFBF0;
  --cream: #FFF5D6;
  --midnight-navy: #1A1A2E;
  --navy-mid: #16213E;
  --text-dark: #2C1F0E;
  --text-mid: #5C4A32;
  --shadow-color: rgba(74, 55, 40, 0.15);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 40px;
}

/* ---------- リセット & ベース ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: 'M PLUS Rounded 1c', 'Noto Sans JP', sans-serif;
  background-color: var(--warm-white);
  color: var(--text-dark);
  overflow-x: hidden;
  line-height: 1.7;
}

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

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

ul {
  list-style: none;
}

/* ---------- ユーティリティ ---------- */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-title {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 900;
  color: var(--tanuki-brown);
  text-align: center;
  margin-bottom: 8px;
}

.section-title span {
  color: var(--snack-red);
}

.section-subtitle {
  text-align: center;
  color: var(--text-mid);
  font-size: 0.95rem;
  margin-bottom: 48px;
}

.section-label {
  display: inline-block;
  background: var(--star-yellow);
  color: var(--tanuki-brown);
  font-weight: 900;
  font-size: 0.8rem;
  padding: 4px 14px;
  border-radius: 999px;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}

/* ---------- ヘッダー ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 251, 240, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 3px solid var(--star-yellow);
  box-shadow: 0 2px 20px rgba(74, 55, 40, 0.1);
  transition: all .3s ease;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.site-logo img {
  height: 50px;
  width: auto;
}

.logo-text {
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--tanuki-brown);
  line-height: 1.2;
}

.logo-text span {
  display: block;
  font-size: 0.7rem;
  color: var(--text-mid);
  font-weight: 400;
}

/* グローバルナビ */
.global-nav ul {
  display: flex;
  gap: 4px;
  align-items: center;
}

.global-nav a {
  display: block;
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 700;
  font-size: .9rem;
  color: var(--tanuki-brown);
  transition: all .25s ease;
}

.global-nav a:hover {
  background: var(--star-yellow);
  transform: translateY(-2px);
}

.nav-cta a {
  background: var(--snack-red) !important;
  color: #fff !important;
  padding: 8px 18px !important;
}

.nav-cta a:hover {
  background: var(--snack-red-lt) !important;
}

/* ハンバーガー */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  border: none;
  background: none;
}

.hamburger span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--tanuki-brown);
  border-radius: 3px;
  transition: all .3s ease;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 8px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -8px);
}

/* モバイルメニュー */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--warm-white);
  z-index: 999;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 20px;
}

.mobile-menu.open {
  display: flex;
}

.mobile-menu a {
  display: block;
  padding: 16px 40px;
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--tanuki-brown);
  border-radius: var(--radius-md);
  transition: all .2s ease;
  text-align: center;
  width: 100%;
  max-width: 300px;
}

.mobile-menu a:hover {
  background: var(--star-yellow);
}

.mobile-menu-close {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--tanuki-brown);
  font-weight: 900;
  background: none;
  border: none;
}

/* ---------- ヒーローエリア ---------- */
.hero {
  position: relative;
  height: 100svh;
  min-height: 600px;
  overflow: hidden;
  margin-top: 70px;
}

.hero-slider {
  position: absolute;
  inset: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
}

.hero-slide.active {
  opacity: 1;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26, 26, 46, .6) 0%, rgba(74, 55, 40, .4) 50%, rgba(255, 224, 0, .15) 100%);
}

.hero-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 20px;
  z-index: 10;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--star-yellow);
  color: var(--tanuki-brown);
  font-weight: 900;
  font-size: .85rem;
  padding: 6px 18px;
  border-radius: 999px;
  margin-bottom: 20px;
  animation: fadeInDown .8s ease .2s both;
  box-shadow: 0 4px 15px rgba(255, 224, 0, .5);
}

.hero-badge::before {
  content: '⭐';
}

.hero-title {
  font-size: clamp(1.6rem, 5vw, 3.2rem);
  font-weight: 900;
  color: #fff;
  text-shadow: 3px 3px 0 var(--tanuki-brown), 0 0 30px rgba(255, 224, 0, .4);
  line-height: 1.25;
  margin-bottom: 16px;
  animation: fadeInUp .8s ease .4s both;
}

.hero-title .highlight {
  color: var(--star-yellow);
}

.hero-sub {
  font-size: clamp(.9rem, 2.5vw, 1.15rem);
  color: rgba(255, 255, 255, .92);
  max-width: 640px;
  line-height: 1.8;
  margin-bottom: 32px;
  animation: fadeInUp .8s ease .6s both;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, .5);
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  animation: fadeInUp .8s ease .8s both;
}

.hero-tanuki {
  position: absolute;
  bottom: -20px;
  right: 5%;
  width: min(200px, 25vw);
  z-index: 20;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, .4));
  animation: tanukiAppear 1s ease 1s both, tanukiBounce 3s ease-in-out 2s infinite;
}

.hero-indicators {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 20;
}

.indicator {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .5);
  cursor: pointer;
  transition: all .3s ease;
  border: none;
}

.indicator.active {
  background: var(--star-yellow);
  width: 30px;
  border-radius: 5px;
}

/* ---------- ボタン ---------- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: var(--star-yellow);
  color: var(--tanuki-brown);
  font-weight: 900;
  font-size: 1rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: all .3s ease;
  box-shadow: 0 6px 20px rgba(255, 224, 0, .5);
}

.btn-primary:hover {
  background: #fff;
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(255, 224, 0, .6);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: transparent;
  color: #fff;
  font-weight: 900;
  font-size: 1rem;
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, .7);
  cursor: pointer;
  transition: all .3s ease;
}

.btn-outline:hover {
  background: rgba(255, 255, 255, .15);
  border-color: #fff;
  transform: translateY(-4px);
}

.btn-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 40px;
  background: transparent;
  color: var(--tanuki-brown);
  font-weight: 900;
  font-size: 1rem;
  border-radius: 999px;
  border: 3px solid var(--tanuki-brown);
  transition: all .3s ease;
}

.btn-more:hover {
  background: var(--tanuki-brown);
  color: #fff;
  transform: translateY(-3px);
}

/* ---------- コンセプトセクション ---------- */
.concept {
  padding: 80px 0;
  background: var(--warm-white);
}

.concept-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.concept-heading {
  font-size: clamp(1.4rem, 3.5vw, 2rem);
  font-weight: 900;
  color: var(--tanuki-brown);
  line-height: 1.4;
  margin-bottom: 20px;
}

.concept-heading .accent {
  color: var(--snack-red);
}

.concept-body {
  color: var(--text-mid);
  font-size: 1rem;
  line-height: 2;
}

.concept-card {
  background: var(--star-yellow);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
  overflow: hidden;
  box-shadow: 8px 8px 0 var(--tanuki-brown);
}

.concept-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 20px;
}

.stat-item {
  background: rgba(255, 255, 255, .8);
  border-radius: var(--radius-md);
  padding: 16px;
  text-align: center;
}

.stat-number {
  font-size: 2rem;
  font-weight: 900;
  color: var(--snack-red);
  line-height: 1;
}

.stat-label {
  font-size: .75rem;
  color: var(--tanuki-brown);
  font-weight: 700;
  margin-top: 4px;
}

/* ---------- カテゴリーセクション ---------- */
.categories {
  padding: 80px 0;
  background: var(--cream);
  position: relative;
}

.categories::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: repeating-linear-gradient(90deg, var(--star-yellow) 0px, var(--star-yellow) 30px, var(--snack-red) 30px, var(--snack-red) 60px, var(--tanuki-brown) 60px, var(--tanuki-brown) 90px);
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.category-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  transition: transform .3s ease, box-shadow .3s ease;
  box-shadow: 0 6px 20px var(--shadow-color);
  aspect-ratio: 4/3;
}

.category-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 16px 40px var(--shadow-color);
}

.category-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

.category-card:hover img {
  transform: scale(1.08);
}

.category-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26, 26, 46, .85) 0%, rgba(26, 26, 46, .2) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
}

.category-icon {
  font-size: 2.5rem;
  margin-bottom: 8px;
}

.category-name {
  font-size: 1.5rem;
  font-weight: 900;
  color: #fff;
  text-shadow: 2px 2px 0 var(--tanuki-brown);
}

.category-desc {
  font-size: .85rem;
  color: rgba(255, 255, 255, .85);
  margin-top: 4px;
}

.category-tag {
  display: inline-block;
  background: var(--star-yellow);
  color: var(--tanuki-brown);
  font-weight: 900;
  font-size: .75rem;
  padding: 4px 12px;
  border-radius: 999px;
  margin-top: 10px;
}

/* ---------- お知らせセクション ---------- */
.news-section {
  padding: 80px 0;
  background: var(--warm-white);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

.news-card {
  background: #fff;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 4px 16px var(--shadow-color);
  transition: all .3s ease;
  border: 2px solid transparent;
  display: block;
}

.news-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px var(--shadow-color);
  border-color: var(--star-yellow);
}

.news-card-img {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
}

.news-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

.news-card:hover .news-card-img img {
  transform: scale(1.08);
}

.news-card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--snack-red);
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
}

.news-no-thumb {
  font-size: 3.5rem;
}

.news-card-body {
  padding: 20px;
}

.news-card-date {
  font-size: .78rem;
  color: var(--text-mid);
  margin-bottom: 8px;
}

.news-card-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-more {
  text-align: center;
}

/* ---------- 店舗情報セクション ---------- */
.stores {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--cream) 0%, var(--warm-white) 100%);
  position: relative;
}

.stores::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: repeating-linear-gradient(90deg, var(--star-yellow) 0px, var(--star-yellow) 30px, var(--snack-red) 30px, var(--snack-red) 60px, var(--tanuki-brown) 60px, var(--tanuki-brown) 90px);
}

.store-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.store-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 6px 24px var(--shadow-color);
  transition: all .3s ease;
  border: 3px solid transparent;
}

.store-card:hover {
  transform: translateY(-6px);
  border-color: var(--star-yellow);
}

.store-header {
  background: var(--midnight-navy);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.store-icon {
  font-size: 2rem;
  background: var(--star-yellow);
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.store-name {
  font-size: 1.1rem;
  font-weight: 900;
  color: #fff;
  line-height: 1.3;
}

.store-chain {
  font-size: .75rem;
  color: var(--star-yellow);
  margin-top: 2px;
}

.store-body {
  padding: 20px 24px;
}

/* 店舗画像（住所欄の上） */
.store-image {
  margin: 0 -24px 18px;
  height: 200px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--cream, #fff8e7), rgba(255, 255, 255, .6));
  position: relative;
  border-bottom: 2px dashed rgba(255, 200, 60, .45);
}

.store-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s ease;
}

.store-card:hover .store-image img {
  transform: scale(1.05);
}

.store-image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--text-mid, #8a7760);
  background:
    repeating-linear-gradient(
      45deg,
      rgba(255, 200, 60, .08) 0 12px,
      rgba(255, 200, 60, .02) 12px 24px
    ),
    linear-gradient(135deg, var(--cream, #fff8e7), #fff);
}

.store-image-placeholder i {
  font-size: 2.8rem;
  color: var(--star-yellow, #ffc83c);
  opacity: .85;
}

.store-image-placeholder span {
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .05em;
}

.store-info-row {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 14px;
  font-size: .9rem;
  color: var(--text-mid);
}

.store-info-icon {
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--snack-red);
}

.store-info-text {
  line-height: 1.6;
}

.store-info-text strong {
  color: var(--text-dark);
  display: block;
  margin-bottom: 2px;
  font-weight: 700;
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.store-map {
  margin-top: 16px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  height: 180px;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px dashed var(--star-yellow);
}

.store-map iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.store-map-placeholder {
  font-size: .85rem;
  color: var(--text-mid);
  text-align: center;
  padding: 20px;
}

/* ---------- フッター ---------- */
.site-footer {
  background: var(--midnight-navy);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.stars-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.star-dot {
  position: absolute;
  background: #fff;
  border-radius: 50%;
  animation: twinkle var(--dur, 3s) ease-in-out var(--delay, 0s) infinite;
}

.footer-main {
  padding: 60px 0 40px;
  position: relative;
  z-index: 1;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
}

.footer-brand img {
  height: 60px;
  width: auto;
  margin-bottom: 16px;
  filter: brightness(0) invert(1);
}

.footer-brand-name {
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--star-yellow);
  margin-bottom: 8px;
}

.footer-tagline {
  font-size: .85rem;
  color: rgba(255, 255, 255, .7);
  line-height: 1.7;
  margin-bottom: 20px;
}

.footer-address {
  font-size: .82rem;
  color: rgba(255, 255, 255, .6);
  line-height: 1.7;
  margin-bottom: 16px;
  font-style: normal;
}

.footer-sns {
  display: flex;
  gap: 12px;
}

.sns-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .1);
  color: #fff;
  font-size: 1.1rem;
  transition: all .3s ease;
  border: 1.5px solid rgba(255, 255, 255, .2);
}

.sns-btn:hover {
  background: var(--star-yellow);
  color: var(--tanuki-brown);
  transform: translateY(-3px);
  border-color: var(--star-yellow);
}

/* SNSボタン内のインラインSVG（X/Twitterロゴ用） */
.sns-btn .sns-btn-svg {
  width: 1.05rem;
  height: 1.05rem;
  display: block;
  fill: currentColor;
}

.footer-nav-col h4 {
  font-size: .85rem;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--star-yellow);
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, .15);
}

.footer-nav-col ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-nav-col a {
  font-size: .9rem;
  color: rgba(255, 255, 255, .7);
  transition: all .2s ease;
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-nav-col a::before {
  content: '▸';
  color: var(--star-yellow);
  font-size: .75rem;
}

.footer-nav-col a:hover {
  color: #fff;
  transform: translateX(4px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding: 20px 0;
  position: relative;
  z-index: 1;
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.copyright {
  font-size: .8rem;
  color: rgba(255, 255, 255, .4);
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom-links a {
  font-size: .8rem;
  color: rgba(255, 255, 255, .4);
  transition: color .2s ease;
}

.footer-bottom-links a:hover {
  color: rgba(255, 255, 255, .8);
}

/* ---------- ページヒーロー（サブページ共通） ---------- */
.page-hero {
  background: linear-gradient(135deg, var(--midnight-navy) 0%, var(--navy-mid) 100%);
  padding: 80px 0 60px;
  margin-top: 70px;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.page-hero::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 50px;
  background: var(--warm-white);
  clip-path: ellipse(55% 100% at 50% 100%);
}

.page-hero-stars {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.page-hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 900;
  color: #fff;
  text-shadow: 3px 3px 0 var(--tanuki-brown);
  position: relative;
  z-index: 1;
}

.page-hero h1 span {
  color: var(--star-yellow);
}

.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 8px;
  font-size: .85rem;
  color: rgba(255, 255, 255, .6);
  margin-top: 12px;
  position: relative;
  z-index: 1;
}

.breadcrumb a {
  color: var(--star-yellow);
}

.breadcrumb span::before {
  content: '→';
  margin-right: 8px;
}

/* ---------- お知らせ一覧ページ ---------- */
.news-list-section {
  padding: 80px 0;
}

.news-list-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

/* ---------- お知らせ詳細 ---------- */
.news-detail-section {
  padding: 60px 0 100px;
}

.news-detail-inner {
  max-width: 800px;
  margin: 0 auto;
}

.news-detail-badge {
  display: inline-block;
  background: var(--snack-red);
  color: #fff;
  font-size: .8rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.news-detail-title {
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  font-weight: 900;
  color: var(--text-dark);
  line-height: 1.4;
  margin-bottom: 12px;
}

.news-detail-meta {
  font-size: .85rem;
  color: var(--text-mid);
  margin-bottom: 32px;
}

.news-detail-img {
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 36px;
  box-shadow: 0 8px 30px var(--shadow-color);
}

.news-detail-img img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}

.news-detail-body {
  color: var(--text-mid);
  line-height: 2;
  font-size: 1rem;
}

.news-detail-body p {
  margin-bottom: 24px;
}

.news-detail-body h2 {
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--text-dark);
  margin-bottom: 16px;
  margin-top: 40px;
  padding-left: 16px;
  border-left: 4px solid var(--star-yellow);
}

.news-nav {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 60px;
  padding-top: 40px;
  border-top: 2px solid var(--cream);
}

.news-nav a {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--tanuki-brown);
  font-weight: 700;
  font-size: .9rem;
  transition: all .2s ease;
}

.news-nav a:hover {
  color: var(--snack-red);
}

.news-nav-center {
  background: var(--star-yellow);
  color: var(--tanuki-brown) !important;
  padding: 10px 24px;
  border-radius: 999px;
}

/* ---------- 会社概要 ---------- */
.about-section {
  padding: 80px 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.about-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 4px 20px var(--shadow-color);
}

.about-table th {
  background: var(--midnight-navy);
  color: var(--star-yellow);
  padding: 16px 24px;
  font-size: .85rem;
  font-weight: 700;
  white-space: nowrap;
  width: 35%;
  vertical-align: top;
}

.about-table td {
  background: #fff;
  padding: 16px 24px;
  color: var(--text-mid);
  border-bottom: 1px solid var(--cream);
  font-size: .95rem;
  vertical-align: top;
  line-height: 1.7;
}

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

.philosophy-card {
  background: linear-gradient(135deg, var(--midnight-navy) 0%, var(--navy-mid) 100%);
  border-radius: var(--radius-lg);
  padding: 40px;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.philosophy-card h3 {
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--star-yellow);
  margin-bottom: 20px;
}

.philosophy-text {
  font-size: 1.05rem;
  line-height: 2;
  color: rgba(255, 255, 255, .9);
}

.philosophy-items {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.philosophy-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: rgba(255, 255, 255, .05);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, .1);
}

.philosophy-item-icon {
  font-size: 1.3rem;
  flex-shrink: 0;
}

.philosophy-item-text {
  font-size: .9rem;
  color: rgba(255, 255, 255, .85);
  line-height: 1.7;
}

/* ---------- アニメーション ---------- */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes tanukiAppear {
  from {
    opacity: 0;
    transform: translateY(100px) rotate(-10deg);
  }

  to {
    opacity: 1;
    transform: translateY(0) rotate(0);
  }
}

@keyframes tanukiBounce {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-12px);
  }
}

@keyframes twinkle {

  0%,
  100% {
    opacity: .2;
    transform: scale(1);
  }

  50% {
    opacity: 1;
    transform: scale(1.5);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .7s ease, transform .7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- ページトップ ---------- */
.page-top-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--star-yellow);
  color: var(--tanuki-brown);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: 0 4px 16px rgba(255, 224, 0, .5);
  cursor: pointer;
  transition: all .3s ease;
  opacity: 0;
  pointer-events: none;
  z-index: 100;
  border: none;
  font-weight: 900;
}

.page-top-btn.show {
  opacity: 1;
  pointer-events: all;
}

.page-top-btn:hover {
  transform: translateY(-4px);
  background: var(--tanuki-brown);
  color: var(--star-yellow);
}

/* ---------- レスポンシブ ---------- */
@media (max-width:900px) {
  .global-nav {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .concept-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .category-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .news-grid,
  .news-list-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .store-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .footer-brand {
    grid-column: 1/-1;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width:600px) {
  .hero-tanuki {
    width: 100px;
    bottom: 80px;
  }

  .category-grid {
    grid-template-columns: 1fr;
  }

  .news-grid,
  .news-list-grid {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-bottom-inner {
    flex-direction: column;
    text-align: center;
  }

  .concept-stats {
    grid-template-columns: 1fr 1fr;
  }

  .news-nav {
    flex-direction: column;
    align-items: center;
  }
}