/* ========================================
   富士渡辺内科 WordPress Theme - Main CSS
   ======================================== */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@300;400;500;700&family=Noto+Serif+JP:wght@400;500;600&display=swap');

/* ========================================
   CSS Variables
   ======================================== */
:root {
  --background: #f9f7f4;
  --foreground: #1e2030;
  --card: #ffffff;
  --card-foreground: #1e2030;
  --primary: #2d7d8e;
  --primary-light: rgba(45,125,142,0.1);
  --primary-hover: rgba(45,125,142,0.8);
  --secondary: #f3f0ec;
  --secondary-foreground: #2a2e40;
  --muted: #f0ede8;
  --muted-foreground: #6b7080;
  --accent: #e8f4f6;
  --border: #e5e0d8;
  --input: #ebe7e0;
  --radius: 0.625rem;
  --font-sans: 'Noto Sans JP', sans-serif;
  --font-serif: 'Noto Serif JP', serif;
}

/* ========================================
   Reset & Base
   ======================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

body > main,
body > #hero,
body > section {
  flex: 1;
}

#site-footer {
  margin-top: auto;
}

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

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--primary-hover);
}

ul, ol {
  list-style: none;
}

/* ========================================
   WordPress Core
   ======================================== */
.wp-block-image img { border-radius: var(--radius); }
.alignleft { float: left; margin: 0 1.5rem 1rem 0; }
.alignright { float: right; margin: 0 0 1rem 1.5rem; }
.aligncenter { margin: 0 auto; display: block; }

/* ========================================
   Layout Utilities
   ======================================== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.container--narrow {
  max-width: 896px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.section-py {
  padding-top: 5rem;
  padding-bottom: 5rem;
}
@media (min-width: 640px) {
  .section-py { padding-top: 7rem; padding-bottom: 7rem; }
}

/* ========================================
   Section Header
   ======================================== */
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}
.section-header__label {
  display: block;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.75rem;
}
.section-header__title {
  font-family: var(--font-serif);
  font-size: 1.875rem;
  font-weight: 600;
  color: var(--foreground);
}
@media (min-width: 640px) {
  .section-header__title { font-size: 2.25rem; }
}
.section-header__desc {
  margin-top: 1rem;
  max-width: 40rem;
  margin-left: auto;
  margin-right: auto;
  color: var(--muted-foreground);
  line-height: 1.8;
}

/* ========================================
   Card
   ======================================== */
.card {
  background: var(--card);
  border: 1px solid rgba(229,224,216,0.5);
  border-radius: var(--radius);
  overflow: hidden;
}
.card-content {
  padding: 1.5rem;
}
@media (min-width: 640px) {
  .card-content { padding: 2rem; }
}

/* ========================================
   Header
   ======================================== */
#site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: all 0.3s;
}
#site-header.scrolled {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
@media (min-width: 768px) {
  .header-inner { height: 5rem; }
}
.site-logo a {
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--foreground);
  text-decoration: none;
}
@media (min-width: 768px) {
  .site-logo a { font-size: 1.25rem; }
}
.site-logo a:hover { color: var(--foreground); }

/* Desktop Nav */
.header-nav {
  display: none;
}
@media (min-width: 768px) {
  .header-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
  }
}
.header-nav a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted-foreground);
  text-decoration: none;
  transition: color 0.2s;
}
.header-nav a:hover { color: var(--foreground); }

/* Mobile Menu */
.mobile-menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--foreground);
}
@media (min-width: 768px) {
  .mobile-menu-btn { display: none; }
}
.mobile-menu-btn svg {
  width: 1.25rem;
  height: 1.25rem;
}
#mobile-nav {
  display: none;
  border-top: 1px solid var(--border);
  background: var(--card);
}
#mobile-nav.open { display: block; }
#mobile-nav a {
  display: block;
  padding: 0.75rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted-foreground);
  text-decoration: none;
  border-bottom: 1px solid var(--border);
  transition: color 0.2s;
}
#mobile-nav a:hover { color: var(--foreground); }

/* ========================================
   Hero Section
   ======================================== */
#hero {
  position: relative;
  min-height: 100vh;
  background-color: var(--secondary);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-bg-blob1 {
  position: absolute;
  top: -5rem;
  left: -5rem;
  width: 24rem;
  height: 24rem;
  border-radius: 50%;
  background: var(--primary-light);
  filter: blur(3rem);
  opacity: 0.3;
}
.hero-bg-blob2 {
  position: absolute;
  bottom: -5rem;
  right: -5rem;
  width: 24rem;
  height: 24rem;
  border-radius: 50%;
  background: var(--accent);
  filter: blur(3rem);
  opacity: 0.2;
}
.hero-content {
  position: relative;
  text-align: center;
  padding: 8rem 1.5rem 10rem;
  max-width: 900px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.625rem 1.25rem;
  border-radius: 9999px;
  margin-bottom: 2rem;
}
.hero-badge svg {
  width: 1rem;
  height: 1rem;
}
.hero-title {
  font-family: var(--font-serif);
  font-size: 2.25rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--foreground);
  margin-bottom: 1.5rem;
}
@media (min-width: 640px) { .hero-title { font-size: 3rem; } }
@media (min-width: 768px) { .hero-title { font-size: 3.75rem; } }
@media (min-width: 1024px) { .hero-title { font-size: 4.5rem; } }
.hero-title .text-primary { color: var(--primary); }
.hero-clinic-name {
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--muted-foreground);
  margin-bottom: 2rem;
}
@media (min-width: 640px) { .hero-clinic-name { font-size: 1.5rem; } }
.hero-tagline {
  max-width: 40rem;
  margin: 0 auto 3rem;
  font-size: 1rem;
  line-height: 1.9;
  color: var(--muted-foreground);
}
@media (min-width: 640px) { .hero-tagline { font-size: 1.125rem; } }
.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}
.hero-pill {
  background: var(--card);
  border-radius: 9999px;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--foreground);
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}
.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  animation: bounce 2s infinite;
}
.hero-scroll span {
  font-size: 0.75rem;
  color: var(--muted-foreground);
}
.hero-scroll-indicator {
  width: 1.25rem;
  height: 2rem;
  border-radius: 9999px;
  border: 2px solid rgba(107,112,128,0.3);
  padding: 0.25rem;
}
.hero-scroll-dot {
  width: 0.375rem;
  height: 0.5rem;
  border-radius: 9999px;
  background: rgba(107,112,128,0.5);
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-8px); }
}

/* ========================================
   Concept Section
   ======================================== */
#concept {
  background: var(--card);
}
.concept-card {
  background: rgba(243,240,236,0.5);
  border-radius: var(--radius);
  padding: 2rem;
}
@media (min-width: 640px) {
  .concept-card { padding: 3rem; }
}
.concept-text {
  space-y: 1.5rem;
  font-size: 1rem;
  line-height: 1.9;
  color: var(--foreground);
}
@media (min-width: 640px) { .concept-text { font-size: 1.125rem; } }
.concept-text p + p { margin-top: 1.5rem; }
.concept-signature {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  text-align: right;
}
.concept-signature p {
  color: var(--muted-foreground);
  font-size: 0.875rem;
}
.concept-signature .name {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--foreground);
  margin-top: 0.25rem;
}

/* ========================================
   Doctor Section
   ======================================== */
#doctor {
  padding-top: 5rem;
  padding-bottom: 0;
}
@media (min-width: 768px) { #doctor { padding-top: 7rem; } }
.doctor-header {
  background: var(--background);
  padding-bottom: 3rem;
}
@media (min-width: 768px) { .doctor-header { padding-bottom: 4rem; } }
.doctor-profile-wrap {
  background: rgba(240,237,232,0.5);
  padding: 3rem 0 5rem;
}
@media (min-width: 768px) { .doctor-profile-wrap { padding: 4rem 0 7rem; } }
.doctor-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}
@media (min-width: 768px) {
  .doctor-grid {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}
.doctor-image-wrap {
  position: relative;
  max-width: 22rem;
  margin: 0 auto;
  width: 100%;
}
@media (min-width: 768px) { .doctor-image-wrap { max-width: none; } }
.doctor-image {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 1rem;
  background: var(--muted);
  box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}
.doctor-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}
.doctor-info { }
.doctor-role {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--primary);
  margin-bottom: 0.25rem;
}
.doctor-name {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 0.25rem;
}
@media (min-width: 768px) { .doctor-name { font-size: 2rem; } }
.doctor-name-en {
  color: var(--muted-foreground);
  font-size: 0.9375rem;
  margin-bottom: 1.5rem;
}
.doctor-details {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.doctor-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}
.doctor-detail-item .icon {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
  margin-top: 0.125rem;
  color: var(--primary);
}
.doctor-detail-item .label {
  font-weight: 500;
  color: var(--foreground);
  margin-bottom: 0.125rem;
}
.doctor-detail-item .value {
  color: var(--muted-foreground);
}
.doctor-detail-item ul { padding: 0; }
.doctor-detail-item li { color: var(--muted-foreground); }
.doctor-link-wrap { padding-top: 1rem; }
.doctor-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s;
}
.doctor-link:hover { color: var(--primary-hover); }
.doctor-link svg {
  width: 1rem;
  height: 1rem;
}

/* ========================================
   Features Section
   ======================================== */
#features {
  background: var(--background);
}
.features-grid {
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 640px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
}
.feature-card {
  background: var(--card);
  border: 1px solid rgba(229,224,216,0.5);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: border-color 0.3s, box-shadow 0.3s;
}
@media (min-width: 640px) { .feature-card { padding: 2rem; } }
.feature-card:hover {
  border-color: rgba(45,125,142,0.3);
  box-shadow: 0 8px 30px rgba(0,0,0,0.08);
}
.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 0.5rem;
  background: var(--primary-light);
  color: var(--primary);
  margin-bottom: 1rem;
  transition: background 0.3s, color 0.3s;
}
.feature-card:hover .feature-icon {
  background: var(--primary);
  color: #fff;
}
.feature-icon svg {
  width: 1.5rem;
  height: 1.5rem;
}
.feature-title {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 0.75rem;
}
@media (min-width: 640px) { .feature-title { font-size: 1.25rem; } }
.feature-desc {
  color: var(--muted-foreground);
  line-height: 1.8;
  font-size: 0.9375rem;
}

/* ========================================
   Services Section (診療案内)
   ======================================== */
#services {
  background: var(--card);
}
.services-grid {
  display: grid;
  gap: 2rem;
}
@media (min-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}
.services-card-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}
.services-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.5rem;
  background: var(--primary-light);
  color: var(--primary);
  flex-shrink: 0;
}
.services-card-icon svg {
  width: 1.25rem;
  height: 1.25rem;
}
.services-card-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--foreground);
}

/* Hours Table */
.hours-table-wrap {
  overflow: hidden;
  border-radius: 0.5rem;
  border: 1px solid var(--border);
  margin-bottom: 1rem;
}
.hours-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}
.hours-table thead {
  background: var(--secondary);
}
.hours-table th {
  padding: 0.75rem 0.5rem;
  text-align: center;
  font-weight: 500;
  color: var(--foreground);
}
.hours-table th:first-child {
  text-align: left;
  padding-left: 0.75rem;
}
.hours-table td {
  padding: 0.75rem 0.5rem;
  text-align: center;
  border-top: 1px solid var(--border);
}
.hours-table td:first-child {
  text-align: left;
  padding-left: 0.75rem;
}
.hours-table td .time-label {
  display: block;
  font-size: 0.75rem;
  color: var(--muted-foreground);
}
.hours-table td .time-value {
  font-weight: 500;
  color: var(--foreground);
}
.hours-available { color: var(--primary); font-weight: 500; }
.hours-closed { color: var(--muted-foreground); }
.hours-note {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* Hours Pending Message */
.hours-pending {
  background: var(--secondary);
  border-radius: 0.5rem;
  padding: 1.25rem;
  color: var(--muted-foreground);
  font-size: 0.9375rem;
  line-height: 1.8;
  margin-bottom: 1rem;
}

/* Access Details */
.access-map {
  background: var(--secondary);
  border-radius: 0.5rem;
  height: 12rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  overflow: hidden;
}
.access-map-placeholder {
  text-align: center;
  color: var(--muted-foreground);
}
.access-map-placeholder svg {
  width: 2rem;
  height: 2rem;
  margin: 0 auto 0.5rem;
}
.access-map-placeholder p {
  font-size: 0.875rem;
}
.access-map iframe {
  width: 100%;
  height: 100%;
  border: none;
}
.access-items {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.access-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}
.access-item svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 0.125rem;
}
.access-item .access-label {
  font-weight: 500;
  color: var(--foreground);
  margin-bottom: 0.125rem;
}
.access-item .access-value {
  color: var(--muted-foreground);
  font-size: 0.9375rem;
}
.access-item a {
  color: var(--primary);
  text-decoration: none;
}
.access-item a:hover { text-decoration: underline; }

/* ========================================
   News / Blog Post Sections
   ======================================== */
.posts-section {
  padding-top: 5rem;
  padding-bottom: 5rem;
}
@media (min-width: 640px) {
  .posts-section { padding-top: 7rem; padding-bottom: 7rem; }
}
#news-section { background: var(--background); }
#blog-section { background: var(--card); }

/* Timeline (開院準備レポート) */
.timeline {
  position: relative;
  max-width: 56rem;
  margin: 0 auto;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 2rem;
  top: 0;
  height: 100%;
  width: 1px;
  background: var(--border);
  display: none;
}
@media (min-width: 640px) {
  .timeline::before { display: block; }
}
.timeline-item {
  position: relative;
  background: var(--card);
  border: 1px solid rgba(229,224,216,0.5);
  border-radius: var(--radius);
  margin-bottom: 1.5rem;
}
.timeline-dot {
  display: none;
  position: absolute;
  left: 2rem;
  top: 2rem;
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  background: var(--primary);
  transform: translateX(-50%);
}
@media (min-width: 640px) {
  .timeline-dot { display: block; }
}
.timeline-content {
  padding: 1.5rem;
}
@media (min-width: 640px) {
  .timeline-content { padding: 2rem 2rem 2rem 5rem; }
}
.timeline-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.timeline-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.5rem;
  background: var(--primary-light);
  color: var(--primary);
  flex-shrink: 0;
}
.timeline-icon svg {
  width: 1.25rem;
  height: 1.25rem;
}
.timeline-date {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--primary);
}
.timeline-status {
  background: var(--secondary);
  color: var(--muted-foreground);
  font-size: 0.75rem;
  font-weight: 500;
  padding: 0.125rem 0.5rem;
  border-radius: 9999px;
}
.timeline-title {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 0.5rem;
}
@media (min-width: 640px) { .timeline-title { font-size: 1.25rem; } }
.timeline-desc {
  color: var(--muted-foreground);
  line-height: 1.8;
}
.timeline-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--primary);
  margin-top: 0.75rem;
  text-decoration: none;
  transition: color 0.2s;
}
.timeline-link:hover { color: var(--primary-hover); }
.timeline-link svg { width: 1rem; height: 1rem; }

/* Post Cards (ブログ) */
.posts-grid {
  display: grid;
  gap: 1.5rem;
  max-width: 56rem;
  margin: 0 auto;
}
@media (min-width: 640px) {
  .posts-grid { grid-template-columns: repeat(2, 1fr); }
}
.post-card {
  background: var(--background);
  border: 1px solid rgba(229,224,216,0.5);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow 0.3s, border-color 0.3s;
  display: flex;
  flex-direction: column;
}
.post-card:hover {
  box-shadow: 0 8px 30px rgba(0,0,0,0.08);
  border-color: rgba(45,125,142,0.3);
}
.post-card__thumb {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--secondary);
}
.post-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.post-card:hover .post-card__thumb img { transform: scale(1.04); }
.post-card__thumb-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted-foreground);
}
.post-card__thumb-placeholder svg {
  width: 2rem;
  height: 2rem;
}
.post-card__body {
  padding: 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.post-card__cat {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--primary);
  background: var(--primary-light);
  padding: 0.125rem 0.625rem;
  border-radius: 9999px;
  margin-bottom: 0.625rem;
}
.post-card__date {
  font-size: 0.75rem;
  color: var(--muted-foreground);
  margin-bottom: 0.5rem;
}
.post-card__title {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 600;
  color: var(--foreground);
  line-height: 1.5;
  margin-bottom: 0.5rem;
}
.post-card__excerpt {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  line-height: 1.7;
  flex: 1;
}
.post-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--primary);
  margin-top: 0.875rem;
  text-decoration: none;
  transition: color 0.2s;
}
.post-card__link:hover { color: var(--primary-hover); }
.post-card__link svg { width: 0.875rem; height: 0.875rem; }

/* Empty State */
.posts-empty {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--muted-foreground);
  background: var(--secondary);
  border-radius: var(--radius);
  max-width: 56rem;
  margin: 0 auto;
}
.posts-empty svg {
  width: 3rem;
  height: 3rem;
  margin: 0 auto 1rem;
  opacity: 0.4;
}
.posts-empty p { font-size: 0.9375rem; }

/* CTA Bell */
.news-cta {
  margin-top: 3rem;
  text-align: center;
}
.news-cta-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
}
.news-cta-badge svg {
  width: 1rem;
  height: 1rem;
}

/* Archive link */
.archive-link-wrap {
  text-align: center;
  margin-top: 2.5rem;
}
.archive-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--primary);
  text-decoration: none;
  border: 1px solid var(--primary);
  padding: 0.5rem 1.25rem;
  border-radius: 9999px;
  transition: background 0.2s, color 0.2s;
}
.archive-link:hover {
  background: var(--primary);
  color: #fff;
}
.archive-link svg { width: 1rem; height: 1rem; }

/* ========================================
   Footer
   ======================================== */
#site-footer {
  border-top: 1px solid var(--border);
  background: var(--card);
  padding: 3rem 0;
}
.footer-inner {
  text-align: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.footer-name {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 0.25rem;
}
.footer-opening {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin-bottom: 1.5rem;
}
.footer-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 1.5rem;
}
.footer-tag {
  background: var(--secondary);
  color: var(--muted-foreground);
  font-size: 0.75rem;
  font-weight: 500;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
}
.footer-copy {
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

/* ========================================
   Single Post Layout
   ======================================== */
.single-hero {
  background: var(--secondary);
  padding: 7rem 1.5rem 3rem;
}
.single-hero__inner {
  max-width: 48rem;
  margin: 0 auto;
}
.single-hero__cat {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--primary);
  background: var(--primary-light);
  padding: 0.125rem 0.75rem;
  border-radius: 9999px;
  margin-bottom: 1rem;
}
.single-hero__date {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin-bottom: 0.75rem;
}
.single-hero__title {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--foreground);
  line-height: 1.4;
}
@media (min-width: 640px) { .single-hero__title { font-size: 2.25rem; } }
.single-thumb {
  background: var(--secondary);
  max-height: 28rem;
  overflow: hidden;
}
.single-thumb img {
  width: 100%;
  max-height: 28rem;
  object-fit: cover;
}
.single-content-wrap {
  max-width: 48rem;
  margin: 3rem auto;
  padding: 0 1.5rem;
}
.entry-content {
  font-size: 1rem;
  line-height: 1.9;
  color: var(--foreground);
}
.entry-content p { margin-bottom: 1.5rem; }
.entry-content h2 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
  margin: 2rem 0 1rem;
}
.entry-content h3 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  margin: 1.5rem 0 0.75rem;
}
.entry-content ul, .entry-content ol {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
}
.entry-content ol { list-style: decimal; }
.entry-content li { margin-bottom: 0.5rem; }
.entry-content img { border-radius: var(--radius); margin: 2rem 0; }
.entry-content a { text-decoration: underline; }
.back-link-wrap {
  max-width: 48rem;
  margin: 0 auto 3rem;
  padding: 0 1.5rem;
}
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s;
}
.back-link svg { width: 1rem; height: 1rem; }

/* ========================================
   Page Layout (固定ページ)
   ======================================== */
.page-hero {
  background: var(--secondary);
  padding: 7rem 1.5rem 3rem;
  text-align: center;
}
.page-hero__title {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 600;
  color: var(--foreground);
}
@media (min-width: 640px) { .page-hero__title { font-size: 2.5rem; } }
.page-content-wrap {
  max-width: 56rem;
  margin: 3rem auto;
  padding: 0 1.5rem;
}
.page-content {
  font-size: 1rem;
  line-height: 1.9;
  color: var(--foreground);
}
.page-content p { margin-bottom: 1.5rem; }
.page-content h2 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
  margin: 2.5rem 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
}
.page-content h3 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  margin: 1.5rem 0 0.75rem;
}
.page-content ul, .page-content ol {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
}
.page-content ol { list-style: decimal; }
.page-content li { margin-bottom: 0.5rem; }
.page-content img { border-radius: var(--radius); margin: 1.5rem 0; }
