/* ベース設定 */
:root {
  --background: #ffffff;
  --foreground: #0c0a09;
  --primary: #702527;
  --primary-light: #8a3032;
  --primary-dark: #5c1e1f;
  --secondary: #f5f5f4;
  --muted: #f5f5f4;
  --muted-foreground: #78716c;
  --border: #e7e5e4;
  --line: #06c755;
  --line-light: #07df5f;
  --line-dark: #05a648;
  --amber-400: #fbbf24;
  --red-500: #ef4444;
  --red-50: #fef2f2;
  --red-400: #f87171;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  --brand-light: rgba(112, 37, 39, 0.05);
  --brand-dark: rgba(112, 37, 39, 0.1);
  --radius: 0.5rem;
  --container-width: 1400px;
  --container-padding: 2rem;
  --section-padding: 4rem 0;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  color: var(--foreground);
  background-color: var(--background);
  line-height: 1.5;
}

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

/* レイアウト */
.flex-col {
  display: flex;
  flex-direction: column;
}

.flex-1 {
  flex: 1;
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.min-h-screen {
  min-height: 100vh;
}

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.max-width {
  max-width: 64rem;
  margin: 0 auto;
}

.max-width-2xl {
  max-width: 42rem;
  margin: 0 auto;
}

.max-width-3xl {
  max-width: 48rem;
  margin: 0 auto;
}

.section {
  padding: var(--section-padding);
}

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

.font-bold {
  font-weight: 700;
}

.font-medium {
  font-weight: 500;
}

.line-through {
  text-decoration: line-through;
}

/* ヘッダー */
.sticky-header {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(4px);
  border-bottom: 1px solid var(--border);
}

.header-container {
  display: flex;
  height: 4rem;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
}

.subtitle {
  font-size: 0.75rem;
  color: var(--muted-foreground);
  margin-top: -0.25rem;
}

/* ボタン */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  font-weight: 500;
  padding: 0.5rem 1rem;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s;
}

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

.btn-primary:hover {
  background-color: var(--primary-dark);
}

.btn-line {
  background-color: var(--line);
  color: white;
}

.btn-line:hover {
  background-color: var(--line-dark);
}

.btn-large {
  padding: 0.75rem 1.25rem; /* 余白を小さくしました: 1.5rem 2rem → 0.75rem 1.25rem */
  font-size: 1.125rem;
  width: 100%;
}

/* アイコン */
.check-icon,
.message-icon,
.warning-icon,
.promise-icon,
.star-icon,
.owner-icon,
.food-icon,
.phone-icon,
.footer-icon,
.close-icon {
  width: 1.25rem;
  height: 1.25rem;
  stroke-width: 2;
}

.check-icon {
  color: var(--primary);
}

.message-icon,
.phone-icon {
  margin-right: 0.5rem;
  width: 1.125rem; /* アイコンサイズも少し小さく */
  height: 1.125rem;
}

.warning-icon {
  color: var(--red-500);
  margin-top: 0.125rem;
  flex-shrink: 0;
}

.promise-icon {
  color: var(--primary);
}

.star-icon {
  width: 1rem;
  height: 1rem;
}

.food-icon {
  width: 0.875rem;
  height: 0.875rem;
  color: var(--primary);
}

/* バッジ */
.badge {
  display: inline-block;
  background-color: var(--primary);
  color: white;
  padding: 0.25rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: 9999px;
  margin-bottom: 0.75rem;
}

/* セクションタイトル */
.section-title {
  font-size: 1.5rem;
  font-family: serif;
  color: var(--primary);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.section-description {
  font-size: 1.125rem;
  color: var(--gray-700);
}

@media (min-width: 768px) {
  .section-title {
    font-size: 1.875rem;
  }
}

/* ヒーローセクション */
.hero-section {
  position: relative;
  height: 600px;
  overflow: hidden;
}

.hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: right top;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.8), transparent);
}

.hero-content {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-text {
  max-width: 36rem;
  margin-bottom: 1.5rem;
}

.hero-text h1 {
  font-size: 2rem;
  font-family: serif;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.features-container {
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
}

.features-container p {
  font-size: 1.125rem;
  color: var(--gray-700);
  margin-bottom: 0.75rem;
}

.features-list {
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.feature-check {
  flex-shrink: 0;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 9999px;
  background-color: rgba(112, 37, 39, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-check .check-icon {
  width: 0.875rem;
  height: 0.875rem;
}

.cta-text {
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--primary);
}

.line-registration {
  margin-top: 0.5rem;
}

.line-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.25rem;
}

.line-badge {
  background-color: var(--line);
  color: white;
  font-size: 0.75rem;
  padding: 0.125rem 0.5rem;
  border-radius: 0.25rem;
}

.line-text {
  font-size: 0.875rem;
  color: var(--gray-700);
}

.line-price {
  font-size: 0.875rem;
  color: var(--gray-700);
  margin-bottom: 0.5rem;
}

@media (min-width: 768px) {
  .hero-section {
    height: 650px;
  }

  .hero-text h1 {
    font-size: 2.5rem;
  }
}

@media (min-width: 1024px) {
  .hero-text h1 {
    font-size: 3rem;
  }
}

/* 悩みセクション */
.problems-container {
  display: grid;
  gap: 2rem;
}

.problems-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.problem-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  background-color: white;
  padding: 1rem;
  border-radius: 0.5rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.check-box {
  flex-shrink: 0;
  margin-top: 0.25rem;
  width: 1.25rem;
  height: 1.25rem;
  border: 1px solid var(--primary);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.check-box .check-icon {
  width: 1rem;
  height: 1rem;
}

.solution-text {
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--primary);
  margin-top: 1.5rem;
}

.woman-image {
  position: relative;
  height: 350px;
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.woman-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (min-width: 768px) {
  .problems-container {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }
}

/* 大手サロンの問題点 */
.salon-problems-container {
  display: grid;
  gap: 2.5rem;
}

.salon-image {
  position: relative;
  height: 300px;
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.salon-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.salon-problems-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.info-box {
  background-color: white;
  padding: 1rem;
  border-radius: 0.5rem;
  border-left: 4px solid var(--primary);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.warning-box {
  background-color: var(--red-50);
  padding: 1rem;
  border-radius: 0.5rem;
  border-left: 4px solid var(--red-400);
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

@media (min-width: 768px) {
  .salon-problems-container {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }
}

/* M's Loungeの3つの約束 */
.promises-container {
  display: grid;
  gap: 2rem;
}

.promise-card {
  border: none;
  border-radius: var(--radius);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.promise-image {
  position: relative;
  height: 12rem;
}

.promise-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.promise-content {
  padding: 1.5rem;
}

.promise-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.promise-title h3 {
  font-weight: 500;
  color: var(--primary);
  font-size: 1.125rem;
}

.promise-content p {
  font-size: 0.875rem;
  color: var(--gray-700);
}

.promise-stats {
  margin-top: 3rem;
  text-align: center;
}

.stats-container {
  display: inline-block;
  background-color: var(--brand-light);
  padding: 1.5rem;
  border-radius: 0.5rem;
  max-width: 42rem;
}

.stats-text {
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.stats-highlight {
  font-size: 1.5rem;
  font-weight: 700;
}

@media (min-width: 768px) {
  .promises-container {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* 施術の流れ */
.process-container {
  display: grid;
  gap: 2rem;
}

.process-card {
  border: none;
  border-radius: var(--radius);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  background-color: white;
}

.process-image {
  position: relative;
  height: 12rem;
}

.process-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.step-badge {
  position: absolute;
  top: 0;
  left: 0;
  background-color: var(--primary);
  color: white;
  padding: 0.25rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
}

.caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  font-size: 0.75rem;
  padding: 0.25rem;
  text-align: center;
}

.process-content {
  padding: 1.5rem;
}

.process-content h3 {
  font-weight: 500;
  color: var(--primary);
  font-size: 1.125rem;
  margin-bottom: 0.75rem;
}

.process-content p {
  font-size: 0.875rem;
  color: var(--gray-700);
}

@media (min-width: 768px) {
  .process-container {
    grid-template-columns: repeat(2, 1fr);
  }

  .last-step {
    grid-column: span 2;
    max-width: 24rem;
    margin: 0 auto;
  }
}

/* お客様の声 */
.testimonials-container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.testimonial-card {
  border: none;
  border-radius: var(--radius);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.testimonial-profile {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.5rem;
  background-color: var(--brand-light);
}

.profile-image {
  position: relative;
  width: 8rem;
  height: 8rem;
  border-radius: 9999px;
  overflow: hidden;
  margin-bottom: 1rem;
  border: 4px solid white;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.profile-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-info {
  text-align: center;
}

.profile-name {
  font-weight: 500;
  color: var(--primary);
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
}

.profile-visits {
  font-size: 0.875rem;
  color: var(--gray-600);
  margin-bottom: 0.5rem;
}

.profile-rating {
  display: flex;
  justify-content: center;
  margin-bottom: 0.5rem;
}

.profile-occupation {
  font-size: 0.75rem;
  color: var(--gray-500);
}

.testimonial-content {
  padding: 1.5rem 2rem;
  background-color: white;
}

.testimonial-text {
  position: relative;
  margin-bottom: 1.5rem;
}

.quote-start,
.quote-end {
  position: absolute;
  font-size: 3rem;
  color: var(--primary);
  opacity: 0.2;
  line-height: 1;
}

.quote-start {
  left: -0.5rem;
  top: -0.5rem;
}

.quote-end {
  right: -0.5rem;
  bottom: 0;
}

.testimonial-message {
  position: relative;
  z-index: 10;
  padding: 0 1rem;
}

.testimonial-message p {
  font-size: 1.125rem;
  color: var(--gray-700);
  line-height: 1.6;
}

.testimonial-form {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--gray-100);
  display: flex;
  justify-content: flex-end;
}

.form-image {
  position: relative;
  width: 4rem;
  height: 5rem;
  border-radius: 0.375rem;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  transition: opacity 0.2s;
}

.form-image:hover {
  opacity: 0.9;
}

.form-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (min-width: 768px) {
  .testimonial-profile {
    width: 33.333%;
    flex-direction: column;
  }

  .testimonial-content {
    width: 66.667%;
  }

  .testimonial-card {
    display: flex;
    flex-direction: row;
  }
}

/* オーナー紹介 */
.owner-container {
  background-color: var(--brand-light);
  border-radius: 0.5rem;
  padding: 2rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.owner-profile {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.owner-image {
  position: relative;
  width: 12rem;
  height: 12rem;
  border-radius: 9999px;
  overflow: hidden;
  margin-bottom: 1rem;
  border: 4px solid white;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.owner-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.owner-name {
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.owner-title {
  color: var(--gray-600);
  margin-bottom: 1rem;
}

.owner-details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.owner-info-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.owner-info-item {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.info-label {
  font-size: 0.875rem;
  color: var(--gray-500);
}

.info-value {
  color: var(--gray-700);
}

.owner-likes,
.owner-foods {
  margin-top: 1.5rem;
}

.likes-header,
.foods-header {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.likes-header p,
.foods-header p {
  font-weight: 500;
  color: var(--gray-700);
}

.likes-content {
  padding-left: 1.75rem;
  color: var(--gray-700);
}

.foods-list {
  padding-left: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.food-item {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  background-color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  border: 1px solid var(--gray-200);
}

@media (min-width: 768px) {
  .owner-container {
    flex-direction: row;
    align-items: flex-start;
  }

  .owner-profile {
    width: 33.333%;
  }

  .owner-details {
    width: 66.667%;
  }

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

/* 初めての方へ */
.first-time-container {
  background-color: white;
  border-radius: 0.5rem;
  padding: 2rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.first-time-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.first-time-intro {
  background-color: var(--brand-light);
  padding: 1.25rem;
  border-radius: 0.5rem;
}

.first-time-intro p {
  color: var(--gray-700);
  font-style: italic;
  font-weight: 500;
  margin-bottom: 1rem;
}

.first-time-intro p:last-child {
  margin-bottom: 0;
  font-style: normal;
}

.first-time-mission {
  border-left: 4px solid var(--primary);
  padding-left: 1.5rem;
}

.salon-exterior {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  background-color: var(--gray-50);
  padding: 1.5rem;
  border-radius: 0.5rem;
}

.exterior-image {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.exterior-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.exterior-text {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.first-time-closing {
  font-weight: 500;
}

@media (min-width: 768px) {
  .salon-exterior {
    flex-direction: row;
  }

  .exterior-image {
    width: 33.333%;
  }

  .exterior-text {
    width: 66.667%;
  }
}

/* 特典・CTA */
.bg-brand-dark {
  background-color: var(--brand-dark);
}

.offer-warning {
  background-color: var(--secondary);
  padding: 1.5rem;
  border-radius: 0.5rem;
  border-left: 4px solid var(--amber-400);
  max-width: 42rem;
  margin: 0 auto 2.5rem;
}

.offer-warning p {
  font-weight: 500;
  text-align: center;
  color: var(--gray-700);
}

.offer-container {
  display: grid;
  gap: 2.5rem;
}

.offer-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.offer-content h3 {
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--primary);
}

.offer-benefits {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.benefit-check {
  flex-shrink: 0;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 9999px;
  background-color: rgba(112, 37, 39, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.125rem;
}

.benefit-check .check-icon {
  width: 0.875rem;
  height: 0.875rem;
}

.price-highlight {
  font-weight: 700;
  color: var(--primary);
}

.offer-note {
  text-align: center;
  color: var(--gray-700);
}

.offer-image {
  position: relative;
}

.offer-image img {
  width: 100%;
  max-width: 24rem;
  height: auto;
  margin: 0 auto;
  border-radius: 0.75rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

@media (min-width: 768px) {
  .offer-container {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }
}

/* モーダル */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 50;
  background-color: rgba(0, 0, 0, 0.8);
  align-items: center;
  justify-content: center;
}

.modal.active {
  display: flex;
}

.modal-content {
  position: relative;
  max-width: 64rem;
  max-height: 90vh;
  width: 90vw;
  overflow: hidden;
}

.close-button {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background-color: white;
  border: none;
  border-radius: 9999px;
  padding: 0.25rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  z-index: 10;
  cursor: pointer;
}

.modal-image-container {
  position: relative;
  width: 100%;
  height: 100%;
  background-color: white;
  border-radius: 0.5rem;
  overflow: auto;
}

.modal-image-container img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* フッター */
.footer {
  background-color: var(--gray-900);
  color: white;
  padding: 3rem 0;
}

.footer-content {
  display: grid;
  gap: 2rem;
}

.footer-title {
  font-size: 1.25rem;
  font-family: serif;
  margin-bottom: 1rem;
}

.footer-details {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  color: var(--gray-300);
}

.footer-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.footer-icon {
  color: var(--primary-light);
  flex-shrink: 0;
  margin-top: 0.125rem;
}

.detail-note {
  font-size: 0.875rem;
  color: var(--gray-400);
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.75rem; /* ボタン間の間隔も小さくしました: 1rem → 0.75rem */
}

.footer-copyright {
  border-top: 1px solid var(--gray-800);
  margin-top: 2rem;
  padding-top: 2rem;
  text-align: center;
  font-size: 0.875rem;
  color: var(--gray-400);
}

@media (min-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr 1fr;
    align-items: flex-start;
  }

  .footer-contact {
    align-items: flex-end;
  }

  .btn-large {
    width: auto;
    padding: 0.75rem 1.5rem; /* PC表示時の余白も調整 */
  }
}

/* 記事ページのスタイル */
.article {
  margin-bottom: 3rem;
}

.article-header {
  margin-bottom: 2rem;
}

.article-title {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.875rem;
  color: var(--gray-500);
}

.article-thumbnail {
  margin-bottom: 2rem;
  border-radius: var(--radius);
  overflow: hidden;
}

.article-content {
  margin-bottom: 2rem;
}

.article-content h2 {
  font-size: 1.5rem;
  color: var(--primary);
  margin: 2rem 0 1rem;
}

.article-content h3 {
  font-size: 1.25rem;
  color: var(--primary);
  margin: 1.5rem 0 1rem;
}

.article-content p {
  margin-bottom: 1rem;
}

.article-content ul,
.article-content ol {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}

.article-content li {
  margin-bottom: 0.5rem;
}

.article-content img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius);
}

.article-content blockquote {
  border-left: 4px solid var(--primary);
  padding-left: 1rem;
  margin: 1.5rem 0;
  color: var(--gray-600);
}

.article-footer {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--gray-200);
}

.article-tags {
  margin-bottom: 1.5rem;
  font-size: 0.875rem;
}

.article-navigation {
  display: flex;
  justify-content: space-between;
  margin: 2rem 0;
}

.article-prev,
.article-next {
  max-width: 45%;
}

.article-comments {
  margin-top: 3rem;
}

/* アーカイブページのスタイル */
.archive-header {
  margin-bottom: 2rem;
}

.archive-title {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.archive-description {
  color: var(--gray-600);
}

.archive-posts {
  display: grid;
  gap: 2rem;
}

.archive-post {
  border-bottom: 1px solid var(--gray-200);
  padding-bottom: 2rem;
}

.archive-post-thumbnail {
  margin-bottom: 1rem;
  border-radius: var(--radius);
  overflow: hidden;
}

.archive-post-title {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.archive-post-title a {
  color: var(--primary);
  text-decoration: none;
}

.archive-post-title a:hover {
  text-decoration: underline;
}

.archive-post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.875rem;
  color: var(--gray-500);
  margin-bottom: 1rem;
}

.archive-post-excerpt {
  margin-bottom: 1rem;
}

.archive-post-more {
  display: inline-block;
  color: var(--primary);
  font-weight: 500;
  text-decoration: none;
}

.archive-post-more:hover {
  text-decoration: underline;
}

/* 検索ページのスタイル */
.search-header {
  margin-bottom: 2rem;
}

.search-title {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.search-posts {
  display: grid;
  gap: 2rem;
}

.search-post {
  border-bottom: 1px solid var(--gray-200);
  padding-bottom: 2rem;
}

.search-post-thumbnail {
  margin-bottom: 1rem;
  border-radius: var(--radius);
  overflow: hidden;
}

.search-post-title {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.search-post-title a {
  color: var(--primary);
  text-decoration: none;
}

.search-post-title a:hover {
  text-decoration: underline;
}

.search-post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.875rem;
  color: var(--gray-500);
  margin-bottom: 1rem;
}

.search-post-excerpt {
  margin-bottom: 1rem;
}

.search-post-more {
  display: inline-block;
  color: var(--primary);
  font-weight: 500;
  text-decoration: none;
}

.search-post-more:hover {
  text-decoration: underline;
}

/* 404ページのスタイル */
.error-404 {
  text-align: center;
  padding: 4rem 0;
}

.error-title {
  font-size: 6rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 1rem;
}

.error-subtitle {
  font-size: 2rem;
  color: var(--gray-700);
  margin-bottom: 1rem;
}

.error-description {
  font-size: 1.125rem;
  color: var(--gray-600);
  margin-bottom: 2rem;
}

.error-actions {
  margin-bottom: 3rem;
}

.error-search {
  max-width: 30rem;
  margin: 0 auto;
}

.error-search h3 {
  margin-bottom: 1rem;
  color: var(--gray-700);
}

/* ページネーション */
.pagination {
  display: flex;
  justify-content: center;
  margin-top: 3rem;
}

.page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  margin: 0 0.25rem;
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--gray-700);
  font-weight: 500;
}

.page-numbers.current {
  background-color: var(--primary);
  color: white;
}

.page-numbers:not(.current):hover {
  background-color: var(--gray-100);
}

.page-numbers.prev,
.page-numbers.next {
  width: auto;
  padding: 0 1rem;
}

/* 検索フォーム */
.search-form {
  display: flex;
  gap: 0.5rem;
}

.search-field {
  flex: 1;
  padding: 0.5rem 1rem;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius);
  font-size: 1rem;
}

.search-submit {
  background-color: var(--primary);
  color: white;
  border: none;
  border-radius: var(--radius);
  padding: 0.5rem 1rem;
  font-weight: 500;
  cursor: pointer;
}

.search-submit:hover {
  background-color: var(--primary-dark);
}

/* コメントフォーム */
.comment-respond {
  margin-top: 2rem;
}

.comment-reply-title {
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.comment-form {
  display: grid;
  gap: 1rem;
}

.comment-form-comment label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.comment-form-comment textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius);
  min-height: 8rem;
}

.comment-form-author,
.comment-form-email,
.comment-form-url {
  display: grid;
  gap: 0.5rem;
}

.comment-form-author label,
.comment-form-email label,
.comment-form-url label {
  font-weight: 500;
}

.comment-form-author input,
.comment-form-email input,
.comment-form-url input {
  padding: 0.75rem;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius);
}

.form-submit {
  margin-top: 1rem;
}

.form-submit .submit {
  background-color: var(--primary);
  color: white;
  border: none;
  border-radius: var(--radius);
  padding: 0.75rem 1.5rem;
  font-weight: 500;
  cursor: pointer;
}

.form-submit .submit:hover {
  background-color: var(--primary-dark);
}

/* コメントリスト */
.comments-title {
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 2rem;
}

.comment-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.comment {
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--gray-200);
}

.comment:last-child {
  border-bottom: none;
}

.comment-author {
  display: flex;
  align-items: center;
  margin-bottom: 0.5rem;
}

.comment-author .avatar {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  margin-right: 1rem;
}

.comment-author .fn {
  font-weight: 700;
  font-style: normal;
}

.comment-metadata {
  font-size: 0.875rem;
  color: var(--gray-500);
  margin-bottom: 1rem;
}

.comment-metadata a {
  color: var(--gray-500);
  text-decoration: none;
}

.comment-metadata a:hover {
  text-decoration: underline;
}

.comment-content {
  margin-bottom: 1rem;
}

.comment-content p:last-child {
  margin-bottom: 0;
}

.reply {
  font-size: 0.875rem;
}

.reply a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
}

.reply a:hover {
  text-decoration: underline;
}

.children {
  list-style: none;
  padding-left: 3rem;
  margin-top: 2rem;
}

/* レスポンシブ調整 */
@media (max-width: 767px) {
  .container {
    padding: 0 1rem;
  }

  .section {
    padding: 3rem 0;
  }

  .hero-section {
    height: 500px;
  }

  .hero-image {
    background-position: 70% top;
  }

  .hero-text h1 {
    font-size: 1.75rem;
  }

  .features-container p {
    font-size: 1rem;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .section-description {
    font-size: 1rem;
  }

  .testimonial-message p {
    font-size: 1rem;
  }

  .article-title,
  .archive-title,
  .search-title {
    font-size: 1.75rem;
  }

  .archive-post-title,
  .search-post-title {
    font-size: 1.25rem;
  }

  .error-title {
    font-size: 4rem;
  }

  .error-subtitle {
    font-size: 1.5rem;
  }
}

@media (min-width: 768px) {
  .archive-posts,
  .search-posts {
    grid-template-columns: repeat(2, 1fr);
  }

  .comment-form-author,
  .comment-form-email,
  .comment-form-url {
    display: inline-grid;
    width: calc(33.333% - 0.67rem);
  }

  .comment-form-author,
  .comment-form-email {
    margin-right: 1rem;
  }
}

@media (min-width: 1024px) {
  .archive-posts,
  .search-posts {
    grid-template-columns: repeat(3, 1fr);
  }
}
