/**
 * ---------- Base styles ----------
 *
 * @format
 */

* {
  box-sizing: border-box;
}
html,
body {
  height: 100%;
  margin: 0;
}

body {
  color: #0e1a2b;
  font: 16px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo,
    sans-serif;
  background-color: #f4f7fb;
  overflow-x: hidden;
}

/* ---------- Fixed background ---------- */
.bg-fixed {
  position: fixed;
  inset: 0;
  background-image: url("images/background.png");
  background-size: cover;
  background-position: center top;
  background-attachment: fixed; /* Stays fixed while scrolling */
  z-index: 0;
  filter: brightness(0.9);
}
img {
  width: 100%;
  height: auto;
}
/* ---------- Page content ---------- */
.page {
  position: relative;
  z-index: 1;
  padding: 60px 20px 100px;
  display: grid;
  place-items: start center;
}

.container {
  width: min(100%, 520px) !important;
  background: white;
  border-radius: 0px;
  padding: 0px 0px !important;
}

/* ---------- Hero ---------- */
.hero {
  text-align: center;
}

.label {
  display: inline-block;
  padding: 6px 14px;
  background: #fff;
  border-radius: 999px;
  font-size: 13px;
  color: #5b7083;
}

.title {
  font-weight: 800;
  font-size: clamp(24px, 2.8vw + 12px, 40px);
  line-height: 1.2;
  margin: 10px 0;
}
.title strong {
  color: #2e89ff;
}

.pill {
  display: inline-block;
  margin-top: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  background: #fff;
  font-weight: 600;
}

/* ---------- Cards ---------- */
.grid {
  display: grid;
  padding-left: 30px;
}
.plan {
  padding: 40px 0px;
}

.card {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  border: 0px !important;
}

.card img {
  width: 100%;
  object-fit: cover;
  display: block;
  padding-top: 20px;
}

.cap {
  padding: 12px 16px 14px;
  font-weight: 700;
  color: #324057;
}

.cap small {
  display: block;
  color: #5b7083;
  font-weight: 600;
  margin-bottom: 4px;
}

/* ===== Introduction Section ===== */
.intro-shops {
  --card-bg: #f8ae53; /* orange like the mock */
  --title-blue: #44a6ff; /* cyan/blue title */
  --thumb-bg: #ffb7b7; /* pink placeholder tint */
  --radius: 18px;

  padding: 28px 16px; /* outer breathing room */
}
.intro-shops__inner {
  background: var(--card-bg);
  border-radius: 20px;
  padding: clamp(18px, 3vw, 28px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06) inset;
}
.intro-shops__title {
  margin: 0 0 16px;
  text-align: center;
  font-weight: 800;
  letter-spacing: 0.06em;
  background: linear-gradient(93deg, #bfe2ff 1.73%, #09f 98.46%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: clamp(20px, 2.6vw + 10px, 28px);
}

/* Row */
.intro-item {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 18px;
  align-items: start;
  padding: 12px 0;
}
.intro-item + .intro-item {
  border-top: 1px dashed rgba(0, 0, 0, 0.08);
}

/* Thumb */
.intro-item__thumb {
  background: var(--thumb-bg);
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 3 / 2; /* 240×160 feel */
  display: grid;
  place-items: center;
}
.intro-item__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Copy */
.intro-item__text {
  color: #2b2b2b;
  line-height: 1.9;
  font-size: clamp(14px, 1.2vw + 10px, 16px);
}

/* Responsive */
@media (max-width: 860px) {
  .intro-item {
    grid-template-columns: 1fr;
  }
  .intro-item__thumb {
    max-width: 320px;
  }
}

/* Wrapper mimicking your rounded gradient panel */
.faq-wrap {
  background: linear-gradient(155deg, #bfe3ff 0%, #57b8ff 48%, #25a3ff 100%);
  border-radius: 28px;
  box-shadow: 0 18px 60px rgba(35, 106, 168, 0.25);
}

.faq-title {
  color: #93cfff;
  letter-spacing: 0.06em;
}

/* Divider */
.faq-rule {
  border: 0;
  border-top: 1px dashed #929292;
  margin: 0.75rem 0 0;
}

/* Q / A badges */
.badge-q,
.badge-a {
  display: inline-block;
  font-weight: 500;
  font-size: clamp(16px, 2.1vw, 38px);
  line-height: 1;
}
.badge-q {
  color: #0092e1;
}
.badge-a {
  color: #f0931a;
}

/* Question button look (bigger, no default bg) */
.accordion-button {
  background-color: transparent;
  color: var(--ink);
  font-size: clamp(18px, 2.3vw, 26px);
  font-weight: 800;
  box-shadow: none !important;
  padding-right: 3rem; /* space for icon */
}

/* Replace default chevron with + / – icon */
.accordion-button::after {
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  background-image: none !important;
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  content: "";
}
.accordion-button::after,
.accordion-button::before {
  content: "";
}
.accordion-button::before {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: #042a44;
}
.accordion-button.collapsed::after {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%) rotate(90deg);
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: #042a44;
}

/* Answer body text */
.accordion-body {
  color: #083451;
  font-size: clamp(15px, 1.4vw, 18px);
}
.accordion-item {
  background-color: transparent !important;
}
.accordion-button {
  background-color: transparent !important;
}

.doctor-sec {
  padding: clamp(24px, 5vw, 60px) 16px;
  display: grid;
  place-items: center;
  color: var(--ink);
}

.doctor-wrap {
  width: min(100%, 880px);
}

/* Orange rounded header pill */
.doctor-heading {
  background-color: #f0931a;
  color: #fff;
  text-align: center;
  font-weight: 900;
  letter-spacing: 0.08em;
  font-size: clamp(22px, 3vw, 32px);
  padding: 16px 24px;
  border-radius: 30px 30px 0 0;
  margin: 0 auto -10px; /* slight overlap with image */
  position: relative;
  z-index: 2;
}

/* Big photo block */
.doctor-hero {
  margin: 0;
  background: #111;
  overflow: hidden;
  border-radius: 0 0 0 0; /* square like the mock */
}
.doctor-hero img {
  width: 100%;
  height: clamp(280px, 50vw, 520px); /* responsive height */
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Optional profile content */
.doctor-profile {
  background: #fff;
  padding: 20px 18px 6px;
  border-radius: 0 0 16px 16px;
}
.doctor-name {
  margin: 0 0 6px;
  font-size: clamp(18px, 2.2vw, 24px);
  font-weight: 800;
  text-align: center;
}
.doctor-role {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: clamp(14px, 1.6vw, 16px);
}
.doctor-bio {
  margin: 0 0 6px;
  font-size: clamp(14px, 1.6vw, 16px);
  line-height: 1.9;
}
/* ===== Footer Section ===== */

.site-footer {
  text-align: center;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  line-height: 1.8;
  overflow: hidden;
}

/* --- Top: white background with link --- */
.footer-top {
  background: #ffffff;
  padding: 2px;
}
.footer-top .legal-link {
  color: #0e1a2b;
  font-size: 14px;
  text-decoration: none;
}
.footer-top .legal-link:hover {
  text-decoration: underline;
}

/* --- Middle: blue gradient background --- */
.footer-main {
  padding: 20px 16px 50px;
  color: #ffffff;
  position: relative;
}

/* net. logo */
.footer-logo {
  display: inline-block;
  background: #2c8cfb;
  color: white;
  font-weight: 700;
  font-size: 16px;
  border-radius: 4px;
  padding: 2px 12px;
  margin-bottom: 12px;
}

/* tagline */
.footer-copy {
  font-size: clamp(16px, 2vw, 20px);
  font-weight: 600;
  text-shadow: 0 1px 17.1px #000;
  margin: 0;
}

/* --- Bottom: darker blue panel --- */
.footer-bottom {
  background: linear-gradient(180deg, #25a3ff 0%, #57b8ff 100%);
  padding: 16px;
  color: #0d3c70;
  font-size: 14px;
  font-weight: 600;
}
.footer-bottom span {
  font-weight: 800;
  display: inline-block;
  color: #004b99;
}

/* Responsive tweak */
@media (max-width: 600px) {
  .footer-main {
    padding: 30px 16px 40px;
  }
  .footer-copy {
    font-size: 15px;
  }
}

/* top gradient bar */
.topbar {
  background: linear-gradient(90deg, #ffc981 0%, #ff9000 100%);
  color: #fff;
  padding: 60px 0 60px;
}
.topbar h1 {
  margin: 0;
  text-align: center;
  font-size: clamp(16px, 2.2vw, 20px);
  letter-spacing: 0.02em;
  color: #fff;
}

/* article card */
main {
  padding: 28px 0 60px;
}
.policy {
  font-size: 15px;
}
.policy h2 {
  font-size: 16px;
  margin: 22px 0 8px;
  font-weight: 700;
}
.policy p,
.policy ol {
  margin: 8px 0;
}
.policy ol {
  padding-left: 20px;
}
.policy .muted {
  color: var(--muted);
}
.policy .note {
  margin-top: 18px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  padding-top: 10px;
}
address {
  font-style: normal;
}

/* bottom gradient/footer area */
.bottombar {
  background: linear-gradient(135deg, var(--grad-b), #0ea5e9);
  color: #fff;
  text-align: center;
  padding: 26px 0 36px;
}
.bottombar .logo {
  display: inline-block;
  background: #0b1220;
  color: #fff;
  border-radius: 6px;
  padding: 2px 8px;
  margin-bottom: 6px;
  font-weight: 700;
}
.bottombar small {
  display: block;
  opacity: 0.95;
}
.bottombar .corp {
  margin-top: 12px;
  font-size: 12px;
  opacity: 0.9;
}

/* print */
@media print {
  .topbar,
  .bottombar {
    display: none;
  }
  main {
    padding: 0;
  }
}

/* styles.css (add to your existing stylesheet) */

/* --- Header --- */
.site-header {
  background: #ffffff;
  border-bottom: 1px solid #eee;
  padding: 10px 0;
}

.container {
  width: min(100%, 1000px);
  margin: 0 auto;
  padding: 0 20px;
}

/* --- Logo Box --- */
.logo {
  display: inline-block;
  background: #0078d7; /* vivid blue like the image */
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  padding: 4px 10px;
  border-radius: 3px;
  text-decoration: none;
  letter-spacing: 0.5px;
}

.logo:hover {
  opacity: 0.9;
}
