/* CSS Variables */
:root {
  --font-size: 16px;
  --background: #FAFAF8;
  --foreground: oklch(0.145 0 0);
  --card: #ffffff;
  --card-foreground: oklch(0.145 0 0);
  --popover: oklch(1 0 0);
  --popover-foreground: oklch(0.145 0 0);
  --primary: #030213;
  --primary-foreground: oklch(1 0 0);
  --secondary: oklch(0.95 0.0058 264.53);
  --secondary-foreground: #030213;
  --muted: #ececf0;
  --muted-foreground: #717182;
  --accent: #e9ebef;
  --accent-foreground: #030213;
  --destructive: #d4183d;
  --destructive-foreground: #ffffff;
  --border: rgba(0, 0, 0, 0.1);
  --input: transparent;
  --input-background: #f3f3f5;
  --switch-background: #cbced4;
  --font-weight-medium: 500;
  --font-weight-normal: 400;
  --ring: oklch(0.708 0 0);
  --radius: 0.625rem;
}

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

html {
  font-size: var(--font-size);
  scroll-behavior: smooth;
}

body {
  background-color: var(--background);
  color: var(--foreground);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Typography */
h1 {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.5;
}

h2 {
  font-size: 1.5rem;
  font-weight: var(--font-weight-medium);
  line-height: 1.5;
}

h3 {
  font-size: 1.25rem;
  font-weight: var(--font-weight-medium);
  line-height: 1.5;
}

h4 {
  font-size: 1rem;
  font-weight: var(--font-weight-medium);
  line-height: 1.5;
}

p {
  font-size: 1rem;
  font-weight: var(--font-weight-normal);
  line-height: 1.5;
}

label {
  font-size: 1rem;
  font-weight: var(--font-weight-medium);
  line-height: 1.5;
}

button {
  font-size: 1rem;
  font-weight: var(--font-weight-medium);
  line-height: 1.5;
}

input {
  font-size: 1rem;
  font-weight: var(--font-weight-normal);
  line-height: 1.5;
}

/* Skip Link */
.skip-link {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 50;
  padding: 0.5rem 1rem;
  background-color: var(--primary);
  color: var(--primary-foreground);
  border-radius: var(--radius);
  text-decoration: none;
  opacity: 0;
  pointer-events: none;
}

.skip-link:focus {
  opacity: 1;
  pointer-events: auto;
}

/* Container */
.container {
  width: 100%;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  border-bottom: 1px solid var(--border);
  background-color: rgba(248, 247, 245, 0.95);
  backdrop-filter: blur(10px);
}

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

/* Mobile Header CTA pill */
.header-cta-pill {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  padding: 0.55rem 1rem;
  border-radius: 10px;

  background: #DC722F; /* 画像っぽいベージュ */
  color: #fff;
  text-decoration: none;

  line-height: 1.1;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);

  /* 画面幅が狭いときに潰れすぎないように */
  max-width: 220px;
  flex: 0 1 auto;
}

.header-cta-pill__top {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  opacity: 0.95;
  white-space: nowrap;
}

.header-cta-pill__bottom {
  font-size: 1rem;
  font-weight: 800;
  white-space: nowrap;
}

.header-cta-pill:active {
  transform: translateY(1px);
}

.header-cta-pill:focus-visible {
  outline: 3px solid rgba(3, 2, 19, 0.25);
  outline-offset: 3px;
}

/* PCでは非表示（PCは既存の nav-desktop を使う） */
@media (min-width: 768px) {
  .header-cta-pill {
    display: none;
  }
}

/* かなり小さい端末で少しだけ縮める */
@media (max-width: 360px) {
  .header-cta-pill {
    padding: 0.5rem 0.8rem;
    max-width: 200px;
  }
  .header-cta-pill__bottom {
    font-size: 0.95rem;
  }
}


.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--foreground);
}

.logo-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.5rem;
  background-color: var(--primary);
  color: var(--primary-foreground);
}

.logo-text {
  font-weight: 600;
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .nav-desktop {
    display: flex;
  }
}

.nav-link {
  background: none;
  border: none;
  color: var(--foreground);
  cursor: pointer;
  transition: color 0.2s;
  text-decoration: none;
  font: inherit;
  line-height: 1.2;
  font-weight: var(--font-weight-medium);
}

.nav-link:hover {
  color: var(--primary);
}

.menu-toggle {
  display: block;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--foreground);
}

@media (min-width: 768px) {
  .menu-toggle {
    display: none;
  }
}

.nav-mobile {
  padding-top: 1rem;
  padding-bottom: 1rem;
  flex-direction: column;
  gap: 1rem;
}

.nav-link-mobile {
  text-align: left;
  background: none;
  border: none;
  color: var(--foreground);
  cursor: pointer;
  transition: color 0.2s;
  text-decoration: none;
  font: inherit;
  line-height: 1.2;
  font-weight: var(--font-weight-medium);
}

.nav-link:visited,
.nav-link-mobile:visited {
  color: var(--foreground);
}

.nav-link-mobile:hover {
  color: var(--primary);
}

/* Buttons */
.btn-primary {
  display: inline-block;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  background-color: var(--primary);
  color: var(--primary-foreground);
  border: none;
  cursor: pointer;
  transition: background-color 0.2s;
  text-decoration: none;
}

.btn-primary:hover {
  background-color: rgba(3, 2, 19, 0.9);
}

.btn-primary-mobile {
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  background-color: var(--primary);
  color: var(--primary-foreground);
  width: 100%;
  text-align: left;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s;
}

.btn-primary-mobile:hover {
  background-color: rgba(3, 2, 19, 0.9);
}

.btn-secondary {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  border: 1px solid var(--primary);
  color: var(--primary);
  background: transparent;
  cursor: pointer;
  transition: background-color 0.2s;
  text-decoration: none;
}

.btn-secondary:hover {
  background-color: rgba(3, 2, 19, 0.1);
}

/* Hero Section */
.hero {
  position: relative;
  overflow: hidden;
  background-color: #F8F7F5;
  padding-top: 3rem;
  padding-bottom: 3rem;
}

@media (min-width: 768px) {
  .hero {
    padding-top: 5rem;
    padding-bottom: 5rem;
  }
}

@media (min-width: 1024px) {
  .hero {
    padding-top: 6rem;
    padding-bottom: 6rem;
  }
}

.hero-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
  }
}

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

.hero-title {
  font-size: 1.875rem;
  line-height: 1.2;
}

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

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

.hero-subtitle {
  font-size: 1.125rem;
}

@media (min-width: 768px) {
  .hero-subtitle {
    font-size: 1.25rem;
  }
}

.whitespace-nowrap {
  white-space: nowrap;
}

.highlight {
  display: inline-block;
  padding: 0.125rem 0.5rem;
  background-color: #fef08a;
  color: var(--foreground);
  border-radius: 0.25rem;
}

.hero-info {
  color: var(--muted-foreground);
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 640px) {
  .hero-buttons {
    flex-direction: row;
  }
}

.hero-buttons .btn-primary {
  padding: 0.75rem 1.5rem;
}

.hero-buttons .btn-secondary {
  padding: 0.75rem 1.5rem;
}

.hero-image {
  position: relative;
  margin: 0;
}

.hero-image-mobile {
  display: block;
}

.hero-image-desktop {
  display: none;
}

@media (min-width: 1024px) {
  .hero-image-mobile {
    display: none;
  }
  
  .hero-image-desktop {
    display: block;
  }
}

.image-wrapper {
  aspect-ratio: 4/3;
  overflow: hidden;
}

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

.hero-decoration {
  position: absolute;
  top: 0;
  right: 0;
  width: 24rem;
  height: 24rem;
  background-color: rgba(3, 2, 19, 0.05);
  border-radius: 9999px;
  filter: blur(96px);
  z-index: -10;
}

/* About Section */
.section-about {
  padding-top: 4rem;
  padding-bottom: 4rem;
  background-color: #ffffff;
}

@media (min-width: 768px) {
  .section-about {
    padding-top: 5rem;
    padding-bottom: 5rem;
  }
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title {
  margin-bottom: 1rem;
  font-size: 36px;
}

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

.section-description {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}

.about-grid {
  display: grid;
  gap: 1.5rem;
  max-width: 80rem;
  margin-left: auto;
  margin-right: auto;
}

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

.card {
  background-color: var(--card);
  border-radius: 0.5rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.card-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.about-image {
  max-width: 28rem;          /* 画像と同じ最大幅にする */
  margin-left: auto;
  margin-right: auto;
  overflow: hidden;
}

.image-about {
  width: 100%;
  height: auto;
  display: block;
}

/* CTA Section */
.section-cta {
  padding-top: 4rem;
  padding-bottom: 4rem;
  background-color: var(--primary);
  color: var(--primary-foreground);
}

@media (min-width: 768px) {
  .section-cta {
    padding-top: 5rem;
    padding-bottom: 5rem;
  }
}

.cta-content {
  max-width: 64rem;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

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

.cta-title {
  font-size: 1.875rem;
}

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

.cta-subtitle {
  font-size: 1.125rem;
  opacity: 0.9;
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
}

@media (min-width: 640px) {
  .cta-buttons {
    flex-direction: row;
  }
}

.btn-cta-primary {
  display: inline-block;
  padding: 0.75rem 2rem;
  border-radius: 0.5rem;
  background-color: var(--background);
  color: var(--foreground);
  text-decoration: none;
  transition: background-color 0.2s;
}

.btn-cta-primary:hover {
  background-color: rgba(255, 255, 255, 0.9);
}

.btn-cta-secondary {
  display: inline-block;
  padding: 0.75rem 2rem;
  border-radius: 0.5rem;
  border: 1px solid var(--primary-foreground);
  color: var(--primary-foreground);
  background: transparent;
  text-decoration: none;
  transition: background-color 0.2s;
}

.btn-cta-secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

/* Strengths Section */
.section-strengths {
  padding-top: 4rem;
  padding-bottom: 4rem;
  background-color: #ffffff;
}

@media (min-width: 768px) {
  .section-strengths {
    padding-top: 5rem;
    padding-bottom: 5rem;
  }
}

.strengths-content {
  max-width: 80rem;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}


.strength-item {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.strength-title {
  font-weight: 700;
  font-size: 24px;
}

.strength-box {
  background-color: #F8F7F5;
  border-radius: 0.5rem;
  padding: 1.5rem;
}

.strength-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.strength-list-item {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
}

.bullet {
  color: var(--primary);
  margin-top: 0rem;
}

.strength-columns {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

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

.strength-column {
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.strength-column--text {
  flex: 1;
}

.strength-column--image {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.strength-image {
  width: 100%;
  max-width: 500px;
  height: auto;
  border-radius: 8px;
}

.strength-subtitle {
  font-size: 20px;
}

.strength-sublist {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.strength-sublist-item {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}


/* Campaign Banner (inside Strengths) */
.campaign-banner-wrap {
  max-width: 80rem; /* strengths-content と揃える */
  margin: 0 auto;
}

.campaign-banner-link {
  display: block;
  text-decoration: none;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.campaign-banner-link:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}

.campaign-banner-link:focus-visible {
  outline: 3px solid rgba(229, 160, 76, 0.55);
  outline-offset: 3px;
}

.campaign-banner-img {
  width: 100%;
  height: auto;
  display: block;
}

.bullet-small {
  color: var(--primary);
  margin-top: 0rem;
  font-size: 0.75rem;
}

/* Outline Section */
.section-outline {
  padding-top: 4rem;
  padding-bottom: 4rem;
  background-color: #F8F7F5;
}

@media (min-width: 768px) {
  .section-outline {
    padding-top: 5rem;
    padding-bottom: 5rem;
  }
}

.outline-grid {
  display: grid;
  gap: 1.5rem;
  max-width: 80rem;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 3rem;
}

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

/* Target Users Section */
.section-target-users {
  padding-top: 4rem;
  padding-bottom: 4rem;
  background-color: #ffffff;
}

@media (min-width: 768px) {
  .section-target-users {
    padding-top: 5rem;
    padding-bottom: 5rem;
  }
}

.target-users-content {
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.target-users-recommended,
.target-users-not-recommended {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.target-users-label {
  margin-bottom: 0.5rem;
}

.target-users-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

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

.checkmark {
  color: var(--foreground);
  margin-top: 0.25rem;
  flex-shrink: 0;
}

.target-users-note {
  margin-top: 0.25rem;
}

/* Recommended Section - Two Column Layout */
.recommended-inner {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 1.5rem;   /* ← モバイルのデフォルト */
}

@media (min-width: 768px) {
  .recommended-inner {
    padding: 0;        /* ← 768px以上（PC）のときだけ上書き */
  }
}

.recommended-grid {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.recommended-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 24px 28px;
  border: 1px solid var(--border);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.03);
}

.recommended-card--positive {
  background: #ffffff;
}

.recommended-card--negative {
  border-top: 4px solid #b8b8b8;
  background: #F8F7F5;
}

.recommended-label {
  letter-spacing: 0.08em;
  color: var(--muted-foreground);
  margin-bottom: 12px;
}

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

.recommended-list li {
  position: relative;
  padding-left: 1.6em;
  line-height: 1.8;
}

.recommended-list li + li {
  margin-top: 8px;
}

.recommended-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0.1em;
}

.recommended-note {
  margin-top: 16px;
  color: var(--muted-foreground);
}

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

  .recommended-card {
    padding: 20px 18px;
  }
}

/* Contact Section */
.section-contact {
  padding-top: 4rem;
  padding-bottom: 4rem;
  background-color: #F8F7F5;
}

@media (min-width: 768px) {
  .section-contact {
    padding-top: 5rem;
    padding-bottom: 5rem;
  }
}

.contact-grid {
  display: grid;
  gap: 1.5rem;
  max-width: 64rem;
  margin-left: auto;
  margin-right: auto;
}

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

.contact-box {
  background-color: #ffffff;
  border-radius: 0.5rem;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  text-align: center;
}

.btn-contact-primary {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  background-color: var(--primary);
  color: var(--primary-foreground);
  text-decoration: none;
  transition: background-color 0.2s;
}

.btn-contact-primary:hover {
  background-color: rgba(3, 2, 19, 0.9);
}

.btn-contact-secondary {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  border: 1px solid var(--primary);
  color: var(--primary);
  background: transparent;
  text-decoration: none;
  transition: background-color 0.2s;
}

.btn-contact-secondary:hover {
  background-color: rgba(3, 2, 19, 0.1);
}

/* Footer */
.footer {
  background-color: var(--primary);
  color: var(--primary-foreground);
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.footer-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

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

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-logo-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 0.25rem;
  background-color: var(--primary-foreground);
  color: var(--primary);
}

.footer-logo-text {
  font-weight: 600;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}

.footer-link {
  color: var(--primary-foreground);
  text-decoration: none;
}

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

.footer-copyright {
  text-align: center;
  font-size: 0.875rem;
  opacity: 0.8;
}

/* Contact Form Page */
.section-contact-form {
  padding-top: 4rem;
  padding-bottom: 4rem;
  background-color: #ffffff;
  min-height: calc(100vh - 16rem);
}

@media (min-width: 768px) {
  .section-contact-form {
    padding-top: 5rem;
    padding-bottom: 5rem;
  }
}

.form-container {
  max-width: 640px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

.form-container iframe {
  width: 100%;
  max-width: 640px;
  height: 985px;
  border: none;
}

@media (max-width: 640px) {
  .form-container iframe {
    height: 1200px;
  }
}

/* Privacy Policy Section */
.section-privacy-policy {
  padding-top: 4rem;
  padding-bottom: 4rem;
  background-color: #ffffff;
}

@media (min-width: 768px) {
  .section-privacy-policy {
    padding-top: 5rem;
    padding-bottom: 5rem;
  }
}

.privacy-policy-content {
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.8;
}

.privacy-policy-content h2 {
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.privacy-policy-content h2:first-of-type {
  border-top: none;
  margin-top: 2rem;
}

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

.privacy-policy-content ul,
.privacy-policy-content ol {
  margin-bottom: 1rem;
  padding-left: 2rem;
}

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


/* Popular Articles Section */
.section-popular-articles {
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
  background-color: #ffffff;
  border-top: 1px solid var(--border);
}

@media (min-width: 768px) {
  .section-popular-articles {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }
}

.section-title--sub {
  font-size: 28px;
  margin-bottom: 0.75rem;
}

.popular-articles-inner {
  max-width: 48rem;
  margin: 0 auto;
}

/* ▼ここが重要：ulの箇条書きスタイルを消す */
.popular-articles-list {
  list-style: none;    /* ・を消す */
  margin: 1.5rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* 1カード分の外枠・余白 */
.popular-articles-item {
  padding: 0;
}

/* 上の「全体像を押さえたい方に」などのラベル */
.popular-articles-label {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--muted-foreground);
  margin-bottom: 0.5rem;
}

/* カード本体（外枠をはっきり） */
.popular-articles-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  text-decoration: none;
  color: var(--foreground);
  font-weight: 600;

  border-radius: 10px;
  border: 1px solid var(--border);
  background-color: #F8F7F5;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.03);

  transition:
    background-color 0.15s ease,
    box-shadow 0.15s ease,
    transform 0.15s ease,
    border-color 0.15s ease;
}

.popular-articles-link:hover {
  color: var(--primary);
  background-color: #F0EFEC;
  border-color: rgba(0, 0, 0, 0.06);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
  transform: translateY(-1px);
}

.popular-articles-text {
  line-height: 1.6;
}

.popular-articles-arrow {
  flex-shrink: 0;
  font-size: 0.875rem;
  translate: 0 1px;  /* 矢印の縦位置微調整 */
}

.contact-phone{
  margin-top: 16px;
  padding: 16px;
  border-radius: 16px;
  text-align: center;
  background: rgba(255,255,255,0.6);
}

.contact-phone__label{
  margin: 0 0 8px;
  font-weight: 700;
}

.contact-phone__number{
  margin: 0;
  font-size: 1.25rem;
  font-weight: 800;
}

/* ←ここを「黒固定版」にする */
.contact-phone__number a,
.contact-phone__number a:visited{
  color: #000;
}

.contact-phone__number a:hover,
.contact-phone__number a:active{
  color: #000;
  text-decoration: underline; /* 好みで */
}

.contact-phone__hours{
  display: inline-block;
  margin-left: 8px;
  font-size: 0.95rem;
  font-weight: 500;
  opacity: 0.85;
}

/* 電話番号画像リンク（タップ領域を確保） */
.phone-image-link{
  display: inline-block;
  text-decoration: none;
}

.phone-image-link img{
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
}

.contact-phone__note{
  margin-top: 8px;
  font-size: 0.95rem;
  opacity: 0.85;
}


/* =====================================
   trialページ用：電話番号エリアをカード化
   （TOPには .contact-phone--card が無いので影響しない）
   ===================================== */
.contact-phone.contact-phone--card{
  max-width: 324px;
  margin: 28px auto 24px;

  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 18px;
  padding: 20px 18px;

  box-shadow: 0 12px 28px rgba(0,0,0,0.08);
  position: relative;
  overflow: hidden;
  text-align: center; /* 念のため */
}

/* 上部アクセントライン */
.contact-phone.contact-phone--card::before{
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 6px;
  background: #DC722F;
}

/* ラベルの余白調整 */
.contact-phone.contact-phone--card .contact-phone__label{
  margin-top: 6px;
  margin-bottom: 10px;
  font-weight: 700;
}

/* 画像リンクを少し“押せる”感じに（trialのカード内だけ） */
.contact-phone.contact-phone--card .phone-image-link{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 12px;
  border-radius: 14px;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.contact-phone.contact-phone--card .phone-image-link:hover{
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(0,0,0,0.10);
}

.contact-phone.contact-phone--card .phone-image-link:active{
  transform: translateY(0);
  box-shadow: none;
}

.contact-phone.contact-phone--card .phone-image-link:focus-visible{
  outline: 3px solid rgba(220,114,47,0.35);
  outline-offset: 4px;
}


/* ===== 住所などの「情報表」 ===== */
.info-table-wrap{
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;       /* 角丸に合わせて中も切る */
  background: var(--card);
  margin: 12px 0 18px;
}

.info-table{
  width: 100%;
  border-collapse: separate; /* 既存の table{border-collapse:collapse} を上書き */
  border-spacing: 0;
  margin: 0;                 /* 既存の table margin を上書き */
}

.info-table th,
.info-table td{
  border: 0;                 /* 既存の th,td border を上書き */
  padding: 12px 14px;
  vertical-align: top;
}

.info-table tr + tr th,
.info-table tr + tr td{
  border-top: 1px solid var(--border);
}

.info-table th{
  width: 7.5em;
  background: #F8F7F5;       /* toc と同系統 */
  font-weight: 700;
  color: var(--foreground);
  white-space: nowrap;
}

.info-table td{
  background: var(--card);
}

.info-table td a{
  word-break: break-all;
}

@media (max-width: 480px){
  .info-table th,
  .info-table td{
    padding: 10px 12px;
  }
  .info-table th{
    width: 6.5em;
  }
}

/* ===== Google Map（スクロール遅延読み込み） ===== */
.map-section{
  margin: 12px 0 18px;
}

.map-embed{
  width: 100%;
  aspect-ratio: 16 / 9;  /* CLS対策：領域を先に確保 */
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: #eee;
}

.map-embed iframe{
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* 読み込み前のプレースホルダー（軽いスケルトン） */
.map-embed.is-loading{
  position: relative;
  background: linear-gradient(90deg, #efefef 25%, #f7f7f7 37%, #efefef 63%);
  background-size: 400% 100%;
  animation: mapSkeleton 1.2s ease-in-out infinite;
}

@keyframes mapSkeleton{
  0%{ background-position: 100% 0; }
  100%{ background-position: 0 0; }
}

.map-note{
  margin: 10px 0 0;
  font-size: 0.95em;
  color: var(--muted-foreground);
}


