/* ===== リセット・基本設定 ===== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Hiragino Maru Gothic ProN", "ヒラギノ丸ゴ ProN W4", "メイリオ", Meiryo, "M PLUS Rounded 1c", sans-serif;
  font-size: 16px;
  line-height: 1.9;
  color: #4a3f35;
  background: #faf6f0;
  -webkit-font-smoothing: antialiased;
}

a {
  color: #a87a4a;
  text-decoration: underline;
  transition: color 0.2s ease;
}

a:hover {
  color: #7a5530;
}

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

.container {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== ヘッダー ===== */
.site-header {
  background: #fff8ed;
  border-bottom: 1px solid #e8d9c2;
  padding: 24px 0 20px;
  text-align: center;
}

.site-title {
  font-size: 26px;
  font-weight: 600;
  color: #6b4f35;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.site-title a {
  color: inherit;
  text-decoration: none;
}

.site-tagline {
  font-size: 13px;
  color: #997a5a;
  letter-spacing: 0.05em;
}

/* ===== 記事ページ ===== */
.post {
  background: #fff;
  margin: 30px auto;
  padding: 40px 0;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(120, 90, 60, 0.06);
}

.hero-image {
  margin: -40px -20px 24px;
  border-radius: 12px 12px 0 0;
  overflow: hidden;
}

.hero-image img {
  width: 100%;
  border-radius: 12px 12px 0 0;
}

.pr-label {
  font-size: 12px;
  color: #997a5a;
  background: #fdf4e6;
  padding: 8px 14px;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: 24px;
  border-left: 3px solid #d4a574;
}

.post-title {
  font-size: 26px;
  font-weight: 700;
  line-height: 1.5;
  color: #4a3f35;
  margin-bottom: 16px;
  letter-spacing: 0.02em;
}

.post-meta {
  font-size: 13px;
  color: #997a5a;
  margin-bottom: 32px;
  padding-bottom: 16px;
  border-bottom: 1px dashed #e8d9c2;
}

/* ===== 本文セクション ===== */
.content-section {
  margin-bottom: 36px;
}

.content-section h3 {
  font-size: 21px;
  font-weight: 700;
  color: #6b4f35;
  margin: 32px 0 18px;
  padding: 12px 16px;
  background: linear-gradient(90deg, #fdf4e6 0%, #fff8ed 100%);
  border-left: 4px solid #d4a574;
  line-height: 1.5;
  border-radius: 0 6px 6px 0;
}

.content-section h4 {
  font-size: 17px;
  font-weight: 700;
  color: #8b6f47;
  margin: 24px 0 12px;
  padding-left: 12px;
  border-left: 3px solid #d4a574;
}

.content-section p {
  margin-bottom: 18px;
  color: #4a3f35;
}

.emphasis {
  font-size: 17px;
  font-weight: 600;
  color: #8b5a2b;
  background: #fdf4e6;
  padding: 14px 18px;
  border-radius: 6px;
  border-left: 3px solid #c89060;
  margin: 20px 0 !important;
}

/* ===== プロフィールボックス ===== */
.profile-box {
  background: #fdf4e6;
  border-radius: 10px;
  padding: 24px;
  border: 1px solid #e8d9c2;
}

.profile-box h3 {
  background: none;
  border-left: none;
  padding: 0;
  margin: 0 0 12px;
  font-size: 19px;
  color: #6b4f35;
}

.profile-box p {
  margin-bottom: 0;
}

/* ===== 医療機器ボックス ===== */
.medical-box {
  background: #f5ede0;
  border-radius: 10px;
  padding: 28px;
  border: 1px solid #d4b896;
}

.medical-box h3 {
  background: none;
  border-left: none;
  padding: 0;
  margin: 0 0 16px;
  font-size: 20px;
  color: #6b4f35;
  text-align: center;
}

.medical-box strong {
  color: #8b5a2b;
  font-weight: 700;
}

.info-list {
  list-style: none;
  background: #fff;
  border-radius: 6px;
  padding: 16px 20px;
  margin: 16px 0;
}

.info-list li {
  font-size: 14px;
  color: #6b4f35;
  padding: 6px 0;
  border-bottom: 1px dashed #e8d9c2;
  font-family: "Courier New", monospace;
  letter-spacing: 0.02em;
}

.info-list li:last-child {
  border-bottom: none;
}

/* ===== 画像ブロック ===== */
.content-image {
  margin: 28px -10px;
  text-align: center;
}

.content-image img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(120, 90, 60, 0.1);
}

.content-image figcaption {
  font-size: 12px;
  color: #997a5a;
  margin-top: 8px;
  font-style: italic;
}

/* ===== まとめ・CTA ===== */
.summary-box {
  background: linear-gradient(135deg, #fff8ed 0%, #fdf4e6 100%);
  border-radius: 12px;
  padding: 32px 24px;
  border: 1px solid #d4b896;
  text-align: center;
}

.summary-box h3 {
  background: none;
  border-left: none;
  padding: 0;
  margin: 0 0 20px;
  text-align: center;
  font-size: 22px;
}

.summary-box p {
  text-align: left;
}

.cta-button-wrap {
  margin: 32px 0 16px;
  text-align: center;
}

.cta-button {
  display: inline-block;
  background: linear-gradient(135deg, #c89060 0%, #a87a4a 100%);
  color: #fff !important;
  text-decoration: none !important;
  font-size: 18px;
  font-weight: 700;
  padding: 18px 40px;
  border-radius: 50px;
  box-shadow: 0 4px 14px rgba(168, 122, 74, 0.35);
  transition: all 0.3s ease;
  letter-spacing: 0.05em;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(168, 122, 74, 0.5);
  color: #fff !important;
}

.small-note {
  font-size: 13px !important;
  color: #997a5a !important;
  margin-top: 16px !important;
}

/* ===== プライバシーポリシーページ ===== */
.privacy-page .post-title {
  font-size: 24px;
  text-align: center;
  border-bottom: 2px solid #d4a574;
  padding-bottom: 16px;
  margin-bottom: 32px;
}

.info-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 12px;
}

.info-table th,
.info-table td {
  padding: 12px 14px;
  text-align: left;
  font-size: 14px;
  border-bottom: 1px solid #e8d9c2;
  vertical-align: top;
}

.info-table th {
  background: #fdf4e6;
  font-weight: 600;
  color: #6b4f35;
  width: 30%;
  white-space: nowrap;
}

.contact-email {
  background: #fdf4e6;
  padding: 12px 16px;
  border-radius: 6px;
  font-family: "Courier New", monospace;
  font-size: 15px;
  color: #6b4f35;
  text-align: center;
  margin: 16px 0 !important;
  letter-spacing: 0.02em;
}

.back-link {
  text-align: center;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px dashed #e8d9c2;
}

.back-link a {
  color: #a87a4a;
  font-size: 14px;
}

/* ===== フッター ===== */
.site-footer {
  background: #6b4f35;
  color: #f5ede0;
  padding: 32px 0 24px;
  margin-top: 40px;
  text-align: center;
}

.site-footer .footer-info {
  font-size: 13px;
  line-height: 1.8;
  margin-bottom: 16px;
  color: #f5ede0;
}

.site-footer .footer-links {
  margin-bottom: 12px;
}

.site-footer .footer-links a {
  color: #f5ede0;
  font-size: 13px;
  text-decoration: underline;
}

.site-footer .footer-links a:hover {
  color: #fff;
}

.site-footer .copyright {
  font-size: 12px;
  color: #c8b89a;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #8b6f47;
}

/* ===== レスポンシブ ===== */
@media (max-width: 600px) {
  body {
    font-size: 15px;
  }

  .container {
    padding: 0 16px;
  }

  .post {
    margin: 16px auto;
    padding: 24px 0;
    border-radius: 8px;
  }

  .hero-image {
    margin: -24px -16px 20px;
  }

  .post-title {
    font-size: 22px;
  }

  .content-section h3 {
    font-size: 18px;
    padding: 10px 14px;
  }

  .content-section h4 {
    font-size: 16px;
  }

  .emphasis {
    font-size: 15px;
    padding: 12px 14px;
  }

  .medical-box,
  .summary-box {
    padding: 20px 16px;
  }

  .cta-button {
    font-size: 16px;
    padding: 16px 28px;
    width: 100%;
    box-sizing: border-box;
  }

  .info-table th,
  .info-table td {
    display: block;
    width: 100%;
  }

  .info-table th {
    border-bottom: none;
    padding-bottom: 4px;
  }

  .site-title {
    font-size: 22px;
  }
}
