/* ============================================
   韮崎新聞販売センター — デザインシステム
   ============================================ */

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

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

body {
  font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Meiryo', sans-serif;
  font-weight: 400;
  line-height: 1.8;
  color: #212529;
  background-color: #F8F9FA;
}

/* --- カラー変数 --- */
:root {
  --navy:       #1A3A5C;
  --red:        #C0392B;
  --blue:       #2E86C1;
  --bg:         #F8F9FA;
  --surface:    #FFFFFF;
  --border:     #DEE2E6;
  --text:       #212529;
  --text-sub:   #6C757D;
}

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

/* ============================================
   ヘッダー・ナビ
   ============================================ */
header {
  background-color: var(--navy);
  color: #fff;
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

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

.header-logo {
  display: flex;
  flex-direction: column;
}

.header-logo .company-name {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.header-logo .brand-name {
  font-size: 11px;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.08em;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 24px;
}

nav a {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}

nav a:hover {
  color: #fff;
}

/* ============================================
   ヒーローセクション
   ============================================ */
.hero {
  background-image:
    linear-gradient(135deg, rgba(26,58,92,0.82) 0%, rgba(46,95,138,0.75) 100%),
    url('images/hero-storefront.jpg');
  background-size: cover, cover;
  background-position: center, center;
  background-repeat: no-repeat, no-repeat;
  color: #fff;
  padding: 100px 24px;
  text-align: center;
}

.hero-catchcopy {
  font-size: 15px;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.9);
  margin-bottom: 16px;
  text-shadow: 0 1px 4px rgba(0,0,0,0.3);
}

.hero-title {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 8px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.hero-subtitle {
  font-size: 16px;
  color: rgba(255,255,255,0.75);
  margin-bottom: 40px;
}

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

.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: var(--red);
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  padding: 18px 40px;
  border-radius: 4px;
  text-decoration: none;
  letter-spacing: 0.04em;
  box-shadow: 0 4px 16px rgba(192,57,43,0.4);
  transition: background-color 0.2s, transform 0.1s;
}

.btn-cta:hover {
  background-color: #a93226;
  transform: translateY(-1px);
}

.btn-cta .phone-icon {
  font-size: 22px;
}

.hero-hours {
  font-size: 13px;
  color: rgba(255,255,255,0.65);
}

/* ============================================
   セクション共通
   ============================================ */
section {
  padding: 64px 0;
}

section.alt-bg {
  background-color: #EBF4FB;
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--blue);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.section-title {
  font-size: 26px;
  font-weight: 700;
  color: var(--navy);
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  display: block;
  width: 40px;
  height: 3px;
  background-color: var(--red);
  margin: 12px auto 0;
  border-radius: 2px;
}

/* ============================================
   会社紹介（3カラム）
   ============================================ */
.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.about-card {
  background: var(--surface);
  border-radius: 8px;
  padding: 32px 24px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.about-card .icon {
  font-size: 40px;
  margin-bottom: 16px;
  display: block;
}

.about-card .label {
  font-size: 12px;
  color: var(--text-sub);
  letter-spacing: 0.1em;
  margin-bottom: 4px;
}

.about-card .value {
  font-size: 22px;
  font-weight: 700;
  color: var(--navy);
}

.about-card .value-sub {
  font-size: 13px;
  color: var(--text-sub);
  margin-top: 4px;
}

/* ============================================
   取扱新聞
   ============================================ */
.newspaper-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.newspaper-card {
  background: var(--surface);
  border-radius: 8px;
  padding: 32px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.newspaper-card .store-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--navy);
}

.newspaper-card .area {
  font-size: 13px;
  color: var(--text-sub);
  margin-bottom: 20px;
}

.newspaper-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.tag {
  background: #EBF5FB;
  color: var(--navy);
  font-size: 13px;
  font-weight: 500;
  padding: 4px 12px;
  border-radius: 20px;
}

.tag.sport {
  background: #FEF9E7;
  color: #7D6608;
}

.tag.note {
  background: #FDEDEC;
  color: var(--red);
}

/* ============================================
   サービス
   ============================================ */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.service-card {
  background: var(--surface);
  border-radius: 8px;
  padding: 28px 24px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  transition: box-shadow 0.2s, transform 0.2s;
}

.service-card:hover {
  box-shadow: 0 6px 20px rgba(0,0,0,0.10);
  transform: translateY(-2px);
}

.service-card .icon {
  font-size: 36px;
  margin-bottom: 12px;
  display: block;
}

.service-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}

.service-card p {
  font-size: 14px;
  color: var(--text-sub);
  line-height: 1.7;
}

.service-card .badge {
  display: inline-block;
  font-size: 11px;
  background: #FDEDEC;
  color: var(--red);
  padding: 2px 8px;
  border-radius: 4px;
  margin-top: 8px;
}

/* ============================================
   CTA帯（中段・下段）
   ============================================ */
.cta-band {
  background-color: var(--navy);
  color: #fff;
  padding: 56px 24px;
  text-align: center;
}

.cta-band h2 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 8px;
}

.cta-band p {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  margin-bottom: 32px;
}

.phone-number-large {
  font-size: 42px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #fff;
  text-decoration: none;
  display: block;
  margin-bottom: 8px;
  transition: color 0.2s;
}

.phone-number-large:hover {
  color: #F9EBEA;
}

.cta-hours {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
}

/* ============================================
   フッター
   ============================================ */
footer {
  background-color: #111E2B;
  color: rgba(255,255,255,0.6);
  padding: 40px 24px;
  text-align: center;
}

footer .footer-name {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

footer .footer-address {
  font-size: 13px;
  margin-bottom: 16px;
}

footer .footer-copy {
  font-size: 12px;
}

/* ============================================
   ページ内ヒーロー（小型）
   ============================================ */
.hero-sub {
  background: linear-gradient(135deg, #1A3A5C 0%, #2E5F8A 100%);
  color: #fff;
  padding: 40px 24px;
  text-align: center;
}

.hero-sub .hero-catchcopy {
  font-size: 12px;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,0.6);
  margin-bottom: 8px;
}

.hero-sub .hero-title {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 0;
}

/* ============================================
   お問い合わせ専用
   ============================================ */
.contact-block {
  background: var(--surface);
  border-radius: 8px;
  padding: 40px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  margin-bottom: 24px;
}

.contact-block h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 20px;
}

.contact-block .phone-number-large {
  color: var(--navy);
  margin-bottom: 8px;
}

.contact-block .contact-sub {
  font-size: 13px;
  color: var(--text-sub);
  margin-bottom: 20px;
}

.mail-link {
  font-size: 18px;
  color: var(--blue);
  text-decoration: none;
  font-weight: 500;
}

.mail-link:hover {
  text-decoration: underline;
}

/* ============================================
   FAQ
   ============================================ */
.faq-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--surface);
  border-radius: 8px;
  padding: 24px 28px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.faq-item .faq-q {
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.faq-item .faq-q::before {
  content: 'Q';
  background: var(--navy);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  width: 22px;
  height: 22px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.faq-item .faq-a {
  font-size: 14px;
  color: var(--text-sub);
  padding-left: 32px;
}

/* ============================================
   営業時間テーブル
   ============================================ */
.hours-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 8px;
}

.hours-table th {
  background: var(--navy);
  color: #fff;
  padding: 12px 20px;
  font-size: 14px;
  text-align: left;
  font-weight: 700;
}

.hours-table td {
  padding: 12px 20px;
  font-size: 15px;
  border-bottom: 1px solid var(--border);
}

.hours-table tr:nth-child(even) td {
  background: #F8F9FA;
}

.hours-table tr.holiday td {
  color: var(--red);
  font-weight: 700;
}

/* ============================================
   店舗セクション（アクセスページ）
   ============================================ */
.store-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
}

.store-section {
  background: var(--surface);
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  display: flex;
  flex-direction: column;
}

.store-section .map-embed {
  margin-top: auto;
}

.store-name-large {
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.store-badge-main {
  font-size: 11px;
  font-weight: 700;
  background: var(--red);
  color: #fff;
  padding: 2px 8px;
  border-radius: 4px;
}

.store-address {
  font-size: 14px;
  color: var(--text);
  margin-bottom: 8px;
  line-height: 1.6;
}

.store-contact {
  margin-bottom: 12px;
}

.store-role {
  background: #F0F7FD;
  border-left: 4px solid var(--blue);
  padding: 14px 18px;
  border-radius: 0 8px 8px 0;
  margin-bottom: 12px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--text);
}

.store-area {
  font-size: 13px;
  color: var(--text-sub);
  margin-bottom: 16px;
}

.map-embed {
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
}

.store-notice {
  background: #FEF9E7;
  border: 1px solid #F9E79F;
  border-radius: 8px;
  padding: 16px 20px;
  font-size: 14px;
  color: #7D6608;
  text-align: center;
  margin-top: 8px;
}

@media (max-width: 768px) {
  .store-grid { grid-template-columns: 1fr; }
}

/* ============================================
   キャンペーン NoData表示
   ============================================ */
.campaign-nodata {
  background: var(--surface);
  border-radius: 8px;
  padding: 64px 32px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.campaign-nodata-inner {
  max-width: 480px;
  margin: 0 auto;
}

.campaign-nodata-icon {
  font-size: 48px;
  display: block;
  margin-bottom: 20px;
  opacity: 0.6;
}

.campaign-nodata-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
}

.campaign-nodata-text {
  font-size: 14px;
  color: var(--text-sub);
  line-height: 1.8;
}

/* ============================================
   レスポンシブ
   ============================================ */
/* ============================================
   ハンバーガーメニュー
   ============================================ */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

@media (max-width: 768px) {
  .hero-title { font-size: 24px; }
  .btn-cta { font-size: 17px; padding: 16px 28px; width: 100%; justify-content: center; }
  .about-grid { grid-template-columns: 1fr; }
  .newspaper-grid { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: 1fr 1fr; }
  .phone-number-large { font-size: 30px; }

  .menu-toggle { display: flex; }

  nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--navy);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  }

  nav.open { display: block; }

  nav ul {
    flex-direction: column;
    gap: 0;
    padding: 0;
  }

  nav ul li a {
    display: block;
    padding: 14px 24px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 15px;
  }

  nav ul li a:hover {
    background: rgba(255,255,255,0.1);
  }

  header .header-inner {
    position: relative;
  }
}

@media (max-width: 480px) {
  .service-grid { grid-template-columns: 1fr; }
}
