@charset "UTF-8";

/* ==================================================
   1. Sub Page Common Styles (下層共通)
   ================================================== */
/* 下層メインビジュアル */
.p-sub-mv {
  background: url("https://images.unsplash.com/photo-1519823551278-64ac92734fb1?q=80&w=2000&auto=format&fit=crop")
    no-repeat center/cover;
  position: relative;
  height: clamp(200px, 30vw, 300px);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0;
}
.p-sub-mv::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(85, 52, 16, 0.75);
}
.p-sub-mv__inner {
  position: relative;
  color: #fff;
  text-align: center;
  z-index: 1;
  padding: 0 20px;
}
.p-sub-mv__title {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 700;
  margin-bottom:5px;
  font-family: var(--font-serif);
}
.p-sub-mv__subtitle {
  font-size: clamp(0.8rem, 2vw, 1rem);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 500;
  opacity: 0.9;
  margin-top:0.5em;
}

/* パンくずリスト */
.c-breadcrumb {
  background: var(--color-bg-beige);
  padding: 15px 0;
  font-size: 0.8rem;
}
.c-breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: #666;
}
.c-breadcrumb__item {
  display: flex;
  align-items: center;
}
.c-breadcrumb__item:not(:last-child)::after {
  content: "\f054";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  margin-left: 10px;
  font-size: 0.7rem;
  color: #ccc;
}
.c-breadcrumb__item a:hover {
  text-decoration: underline;
  color: var(--color-main);
}

/* 下層コンテンツコンテナ */
.l-sub-container {
  padding-top: clamp(60px, 8vw, 100px);
  padding-bottom: clamp(60px, 8vw, 100px);
  padding-left: 24px;
  padding-right: 24px;
  max-width: 960px;
  margin: 0 auto;
}

/* ==================================================
   2. Entry Body & Utilities
   ================================================== */
.p-entry-body {
  width: 100%;
}

/* 見出し */
.p-entry-body .c-sub-heading {
  font-size: clamp(1.3rem, 3.5vw, 1.6rem);
  color: var(--color-main);
  margin-bottom: 30px;
  margin-top: 60px;
  padding-bottom: 15px;
  border-bottom: 3px solid var(--color-accent);
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 1.4;
}


.p-entry-body .c-sub-heading-small {
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  color: var(--color-main);
  margin: 45px 0 25px;
  padding: 12px 18px;
  border-left: 5px solid var(--color-accent);
  background: var(--color-bg-beige);
  font-weight: 700;
  line-height: 1.4;
}

/* 本文・画像 */
.p-entry-body p {
  line-height: 2;
  font-size: clamp(0.95rem, 2vw, 1rem);
}
.p-entry-body figure {
  text-align: center;
  margin:2rem 0;
}
.p-entry-body img {
  max-height: 500px;
  object-fit: cover;
  max-width: 100%;
  height: auto;
}

/* 箇条書きリスト */
.p-check-list {
  background: #fdfbf9;
  border: 2px solid var(--color-bg-beige);
  padding: clamp(20px, 4vw, 40px);
  border-radius: 8px;
  margin: 40px 0;
}
.p-check-list ul {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin: 0;
  padding: 0;
}
.p-check-list li {
  list-style: none;
  position: relative;
  padding-left: 2em;
  font-weight: 700;
  color: var(--color-main);
  font-size: clamp(0.95rem, 2vw, 1.05rem);
  line-height: 1.6;
  text-align: left !important;
}
.p-check-list li::before {
  content: "\f00c";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 0.2em;
  color: var(--color-accent);
  font-size: 1.1em;
}

/* ユーティリティ */
.u-mt-20 {
  margin-top: 20px !important;
}
.u-mt-30 {
  margin-top: 30px !important;
}
.u-mt-60 {
  margin-top: 60px !important;
}
.p-entry-body .u-mt-60 {
  margin-top: 60px !important;
}
.p-entry-body .u-mt-80 {
  margin-top: 80px !important;
}
.u-mb-20 {
  margin-bottom: 20px !important;
}
.p-entry-body .u-mb-40 {
  margin-bottom: 40px !important;
}
.p-entry-body .u-text-center {
  text-align: center !important;
}
.u-font-bold {
  font-weight: bold !important;
}

.c-hr-dashed {
  margin: 60px 0;
  border: none;
  border-top: 1px dashed #ccc;
}
.u-text-alert {
  color: #d9534f;
  font-weight: bold;
}
.u-text-small {
  font-size: 0.85em;
  color: #666;
}

/* ==================================================
   3. About Pages (Profile & Mission)
   ================================================== */
.p-about-heading {
  font-size: clamp(1.25rem, 2vw + 1rem, 1.6rem);
  color: var(--color-main);
  border-bottom: 2px solid var(--color-accent);
  padding-bottom: 15px;
  margin-bottom: 40px;
  font-weight: 700;
  font-family: var(--font-serif);
  letter-spacing: 0.05em;
  line-height: 1.4;
}

/* Profile */
.p-profile-layout {
  display: flex;
  flex-wrap: wrap;
  gap: 50px;
  margin-bottom: 60px;
  align-items: flex-start;
}
.p-profile-img-box {
  flex: 0 0 320px;
  margin: 0 auto;
}
.p-profile-img-box img {
  border-radius: 4px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05);
}
.p-profile-text-box {
  flex: 1;
  min-width: 280px;
}
.p-profile-role {
  display: inline-block;
  color: var(--color-accent);
  font-weight: bold;
  font-size: 0.9rem;
  margin-bottom: 8px;
  letter-spacing: 0.1em;
}
.p-profile-name {
  font-size: clamp(1.5rem, 3vw + 1rem, 2.2rem);
  font-weight: 700;
  margin: 0 0 25px 0;
  line-height: 1.2;
  font-family: var(--font-serif);
  border-bottom: 1px solid #eee;
  padding-bottom: 20px;
}
.p-profile-name span {
  font-size: clamp(0.9rem, 1.5vw + 0.5rem, 1rem);
  font-weight: 400;
  margin-left: 10px;
  color: #999;
  font-family: sans-serif;
}
ul.p-profile-licenses {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 0 25px 0 !important;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
ul.p-profile-licenses li {
  background: #fcfcfc;
  border: 1px solid #e5e5e5;
  color: #666;
  padding: 6px 14px;
  font-size: 0.8rem;
  border-radius: 50px;
  margin: 0;
}
ul.p-profile-licenses li::before {
  content: none !important;
}
.p-profile-bio {
  font-size: 0.95rem;
  line-height: 1.9;
  color: #444;
}

/* Message Area */
.p-profile-message-area {
  background-color: #faf8f5;
  padding: clamp(30px, 5vw, 50px);
  border-radius: 8px;
  margin-top: 60px;
  position: relative;
}
.p-profile-message-title {
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 2vw + 0.8rem, 1.4rem);
  color: var(--color-main);
  margin-bottom: 30px;
  text-align: center;
  position: relative;
  display: inline-block;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
}
.p-profile-message-title::after {
  content: "";
  display: block;
  width: 40px;
  height: 2px;
  background: var(--color-accent);
  margin: 15px auto 0;
}
.p-profile-message-body {
  font-size: 0.95rem;
  line-height: 2;
  color: #555;
  text-align: justify;
}

/* Column Table */
.p-col-wrap {
  margin-top: 80px;
  border-top: 1px solid #eee;
  padding-top: 50px;
}
.p-col-title {
  font-size: clamp(1.1rem, 2vw + 0.8rem, 1.2rem);
  font-weight: bold;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.p-col-badge {
  background: #666;
  color: #fff;
  font-size: 0.7rem;
  padding: 2px 8px;
  border-radius: 2px;
}
table.p-col-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  border-top: 1px solid #ddd;
}
table.p-col-table th,
table.p-col-table td {
  padding: 15px;
  border-bottom: 1px solid #ddd;
  text-align: left;
}
table.p-col-table th {
  background: #f9f9f9;
  width: 25%;
  color: #444;
}

/* Mission */
.p-mission-hero {
  text-align: center;
  padding: 40px 0 60px;
  background: linear-gradient(to bottom, #fdfbf9, #fff);
  margin-bottom: 60px;
}
.p-mission-catch {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 4vw + 0.5rem, 2.4rem);
  line-height: 1.5;
  color: var(--color-main);
  margin-bottom: 30px;
  letter-spacing: 0.05em;
}
.p-mission-lead {
  font-size: 1rem;
  color: #666;
  line-height: 2;
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}
.p-mission-philosophy {
  border: 1px solid #eaddcf;
  padding: clamp(25px, 4vw, 40px);
  border-radius: 2px;
  margin-bottom: 80px;
  position: relative;
}
.p-mission-philosophy::before {
  content: "Concept";
  position: absolute;
  top: -12px;
  left: 20px;
  background: #fff;
  padding: 0 10px;
  color: var(--color-accent);
  font-family: var(--font-serif);
  font-weight: bold;
  letter-spacing: 0.1em;
  font-size: 0.9rem;
}
.p-mission-philosophy h3 {
  font-size: clamp(1.2rem, 2vw + 0.8rem, 1.4rem);
  color: var(--color-main);
  margin-bottom: 20px;
  border-bottom: none;
}
.p-mission-grid {
  display: flex;
  flex-direction: column;
  gap: 50px;
  max-width: 800px;
  margin: 0 auto 80px;
}
.p-mission-card {
  position: relative;
}
.p-mission-card-head {
  display: flex;
  align-items: baseline;
  gap: 15px;
  margin-bottom: 15px;
  border-bottom: 1px solid #eaddcf;
  padding-bottom: 10px;
}
.p-mission-num {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 2.5rem);
  color: #eaddcf;
  font-weight: 700;
  line-height: 1;
}
.p-mission-title {
  font-family: var(--font-serif);
  font-size: clamp(1.3rem, 2vw + 0.8rem, 1.5rem);
  color: var(--color-main);
  margin: 0;
  font-weight: 700;
}
.p-mission-body {
  font-size: 1rem;
  line-height: 1.9;
  color: #444;
}
.p-mission-promise {
  background: #faf8f5;
  padding: clamp(30px, 5vw, 50px);
  border-radius: 8px;
  margin-bottom: 80px;
}
.p-mission-sub-title {
  text-align: center;
  font-size: clamp(1.4rem, 2vw + 1rem, 1.6rem);
  font-family: var(--font-serif);
  color: var(--color-main);
  margin-bottom: 40px;
}
.p-mission-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.p-mission-list li {
  display: flex;
  gap: 15px;
  align-items: flex-start;
}
.p-mission-check {
  color: var(--color-accent);
  font-size: 1.2rem;
  margin-top: 2px;
  flex-shrink: 0;
}
.p-mission-list h4 {
  font-size: 1.1rem;
  margin: 0 0 5px 0;
  color: #333;
  border: none;
}
.p-mission-list p {
  font-size: 0.95rem;
  color: #666;
  margin: 0;
  line-height: 1.6;
}
.p-mission-vision {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

/* ==================================================
   4. Contact & Form
   ================================================== */
.p-contact-section {
  margin-bottom: 80px;
}
.p-contact-heading {
  text-align: center;
  margin-bottom: 40px;
}
.p-contact-heading h2 {
  font-size: 1.6rem;
  color: var(--color-main);
  display: inline-block;
  border-bottom: 2px solid var(--color-accent);
  padding-bottom: 10px;
  margin-bottom: 15px;
}
.p-contact-heading p {
  font-size: 0.95rem;
  color: #666;
}

.p-contact-calendar-box {
  border: 1px solid #eaddcf;
  border-radius: 8px;
  padding: 40px;
  background: #fff;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
}

.p-contact-grid {
  display: flex;
  gap: 30px;
  margin-bottom: 50px;
}
.p-contact-card {
  flex: 1;
  border: 1px solid #eaddcf;
  border-radius: 8px;
  padding: 30px;
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.p-contact-icon {
  font-size: 2rem;
  margin-bottom: 15px;
  display: block;
}
.p-contact-card-title {
  font-size: 1.2rem;
  font-weight: bold;
  color: var(--color-main);
  margin-bottom: 15px;
}
.p-contact-tel-group {
  margin-bottom: 15px;
}
.p-contact-tel-main {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: bold;
  color: #333;
  text-decoration: none;
  line-height: 1.2;
}
.p-contact-tel-sub {
  display: block;
  font-size: 1.1rem;
  color: #666;
  text-decoration: none;
  margin-top: 5px;
}
.p-contact-label-priority {
  background: var(--color-accent);
  color: #fff;
  font-size: 0.7rem;
  padding: 2px 6px;
  border-radius: 3px;
  vertical-align: middle;
  margin-left: 8px;
}
.p-contact-note-box {
  background: #faf8f5;
  padding: 15px;
  border-radius: 4px;
  font-size: 0.85rem;
  color: #666;
  text-align: left;
  width: 100%;
  margin-top: auto;
}
.p-contact-note-box strong {
  color: #d9534f;
}
.c-btn-line {
  background: #06c755;
  color: #fff;
  text-decoration: none;
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: bold;
  display: inline-block;
  font-size: 1rem;
  margin-top: auto;
  transition: opacity 0.3s;
}
.c-btn-line:hover {
  opacity: 0.9;
  color: #fff;
}

.p-contact-form-wrapper {
  background: #faf8f5;
  padding: 50px;
  border-radius: 8px;
}
.p-contact-form-notice {
  background: #fff;
  border: 1px solid #eaddcf;
  padding: 20px;
  border-radius: 4px;
  margin-bottom: 30px;
  font-size: 0.9rem;
  color: #555;
}

/* Contact Form 7 Styles */
.p-form-table {
  width: 100%;
  border-top: 1px solid #eaddcf;
  margin-top: 20px;
}
.p-form-table dl {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  border-bottom: 1px solid #eaddcf;
  margin: 0;
  min-height: 80px;
}
.p-form-table dt {
  width: 240px;
  background: #fdfbf9;
  padding: 20px;
  font-weight: bold;
  color: var(--color-main);
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  align-self: stretch;
}
.p-form-table dd {
  width: calc(100% - 240px);
  padding: 20px;
  margin: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.c-label-req {
  background: #d9534f;
  color: #fff;
  font-size: 0.75rem;
  padding: 4px 8px;
  border-radius: 3px;
  white-space: nowrap;
  line-height: 1;
}
.c-label-any {
  background: #999;
  color: #fff;
  font-size: 0.75rem;
  padding: 4px 8px;
  border-radius: 3px;
  white-space: nowrap;
  line-height: 1;
}
.wpcf7-form-control-wrap {
  display: block;
  width: 100%;
}
.wpcf7-form-control {
  margin-top: 20px;
}
.wpcf7-text,
.wpcf7-tel,
.wpcf7-email,
.wpcf7-select {
  width: 100%;
  max-width: 100%;
  padding: 12px 15px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1rem;
  background: #fff;
  box-sizing: border-box;
  height: 50px;
}
.wpcf7-textarea {
  width: 100%;
  height: 200px;
  padding: 15px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1rem;
  line-height: 1.6;
  box-sizing: border-box;
  resize: vertical;
}
.wpcf7-text:focus,
.wpcf7-tel:focus,
.wpcf7-email:focus,
.wpcf7-select:focus,
.wpcf7-textarea:focus {
  border-color: var(--color-accent);
  outline: none;
  background: #fffcf8;
  box-shadow: 0 0 0 2px rgba(155, 117, 57, 0.2);
}
.c-form-note {
  display: block;
  font-size: 0.85rem;
  color: #666;
  margin-top: 8px;
  line-height: 1.4;
}
.p-form-submit {
  margin-top: 30px;
  text-align: center;
  background: #faf8f5;
  padding: 40px 20px 0;
  border-radius: 8px;
}
.p-form-submit p {
  font-size: 0.95rem;
  margin-bottom: 25px;
  font-weight: bold;
  text-align: center;
}
.wpcf7-submit {
  background: var(--color-main);
  color: #fff;
  border: none;
  padding: 18px 80px;
  font-size: 1.1rem;
  font-weight: bold;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  appearance: none;
}
.wpcf7-submit:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}
.p-form-check-area {
  display: flex;
  justify-content: center;
}
.p-form-check-area .wpcf7-list-item {
  margin: 0;
}
.wpcf7-spinner {
  display: block;
  margin: 0 auto;
}
.wpcf7-response-output {
  text-align: center;
}

/* ==================================================
   5. Column / Symptoms / Cases Pages
   ================================================== */
/* Hub Page List (Symptom/Column Parent) */
.p-hub-list {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-top: 40px;
}
.p-hub-item {
  background: #fff;
  border: 1px solid #eaddcf;
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s;
}
.p-hub-item__link {
  display: flex;
  text-decoration: none;
  color: inherit;
  align-items: center;
}
.p-hub-item__link:hover {
  background-color: #fdfbf9;
  opacity: 1;
}
.p-hub-item__link:hover .p-hub-item__thumb img {
  transform: scale(1.05);
}
.p-hub-item__link:hover .p-hub-item__title {
  color: var(--color-accent);
}
.p-hub-item__link:hover .p-hub-item__btn {
  background-color: var(--color-accent);
  color: #fff;
  border-color: var(--color-accent);
}
.p-hub-item__thumb {
  width: 35%;
  margin: 0;
  overflow: hidden;
  aspect-ratio: 16/9;
}
.p-hub-item__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  display: block;
}
.p-hub-item__body {
  width: 65%;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.p-hub-item__title {
  font-size: 1.4rem;
  font-weight: bold;
  color: var(--color-main);
  margin: 0 0 15px 0;
  transition: color 0.3s;
}
.p-hub-item__desc {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #666;
  margin-bottom: 20px;
}
.p-hub-item__btn {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 25px;
  border: 1px solid #ddd;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: bold;
  color: var(--color-main);
  background: #fff;
  transition: all 0.3s;
}

/* Symptom Post List */
.p-symptom-post-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 30px;
}
.p-symptom-post-item {
  display: flex;
  background: #fff;
  border: 1px solid #eaddcf;
  border-radius: 8px;
  overflow: hidden;
  text-decoration: none;
  color: #333;
  transition: box-shadow 0.3s, transform 0.2s;
}
.p-symptom-post-item:hover {
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}
.p-symptom-post-thumb {
  width: 120px;
  flex-shrink: 0;
  background-position: center;
  background-size: cover;
  background-color: #eee;
}
.p-symptom-post-body {
  padding: 15px 20px;
  flex: 1;
}
.p-symptom-post-meta {
  font-size: 0.8rem;
  color: #999;
  margin-bottom: 5px;
}
.p-symptom-post-title {
  font-size: 1.1rem;
  font-weight: bold;
  color: var(--color-main);
  margin: 0 0 8px 0;
  border: none;
  line-height: 1.4;
}
.p-symptom-post-desc {
  font-size: 0.9rem;
  color: #666;
  margin: 0;
  line-height: 1.5;
}

/* Symptom List Grid (Text Only) */
.p-symptom-post-list.is-text-only {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.p-symptom-post-list.is-text-only .p-symptom-post-item {
  flex-direction: column;
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: 4px;
  padding: 20px;
  text-decoration: none;
  color: #4a4a4a;
  transition: all 0.3s ease;
  height: 100%;
}
.p-symptom-post-list.is-text-only .p-symptom-post-item:hover {
  background-color: #faf9f8;
  border-color: #d1c0a5;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(91, 64, 45, 0.1);
}
.p-symptom-post-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 12px;
  flex-wrap: wrap;
  gap: 10px;
}
.p-symptom-cat-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.p-symptom-post-cat {
  background: #6d4c41;
  color: #fff;
  font-size: 0.7rem;
  padding: 3px 10px;
  border-radius: 2px;
  line-height: 1.4;
}
.p-symptom-post-date {
  font-size: 0.8rem;
  color: #8d6e63;
  margin-left: auto;
}
.p-symptom-post-list.is-text-only .p-symptom-post-title {
  font-size: 1.05rem;
  font-weight: bold;
  margin: 0 0 10px 0;
  line-height: 1.5;
  color: #3e2723;
}

/* Symptom/Column Detail Page Layout */
.symptoms-page-container {
  max-width: 1200px;
  margin: 40px auto 0;
  padding: 40px 20px;
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 40px;
  align-items: start;
}
.symptoms-main {
  background: #fff;
  min-width: 0;
}
.symptoms-main p.entry-title {
  font-size: clamp(1.4rem, 4vw, 2rem);
  margin-bottom: 30px;
  padding-bottom: 10px;
  border-bottom: 1px solid #ddd;
  font-weight: bold;
}
.symptoms-main h1.entry-title {
  font-size: clamp(1.4rem, 4vw, 1.8rem);
  margin-bottom: 30px;
  padding-bottom: 10px;
  border-bottom: 1px solid #ddd;
  font-weight: bold;
}
.symptoms-sidebar {
  background: #f9f9f9;
  padding: 20px;
  border-radius: 8px;
}
.sidebar-title {
  font-size: 1.1rem;
  font-weight: bold;
  margin-bottom: 15px;
  border-bottom: 2px solid #333;
  padding-bottom: 8px;
}
.symptoms-cat-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.symptoms-cat-list li {
  margin-bottom: 10px;
}
.symptoms-cat-list li a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 15px;
  background: #fff;
  border: 1px solid #eee;
  color: #333;
  text-decoration: none;
  border-radius: 4px;
  transition: background 0.3s;
}
.symptoms-cat-list li a:hover {
  background: #f0f0f0;
}

/* Accordion Sidebar */
.accordion-item {
  border-bottom: 1px solid #ddd;
}
.accordion-item:last-child {
  border-bottom: none;
}
.accordion-header {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 15px 10px;
  font-size: 1rem;
  font-weight: bold;
  color: #333;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.3s;
}
.accordion-header:hover {
  background: #eaeaea;
}
a.accordion-header {
  text-decoration: none;
  display: block;
}
.accordion-icon {
  position: relative;
  width: 12px;
  height: 12px;
}
.accordion-icon::before,
.accordion-icon::after {
  content: "";
  position: absolute;
  background-color: #333;
  transition: transform 0.3s;
}
.accordion-icon::before {
  top: 5px;
  left: 0;
  width: 12px;
  height: 2px;
}
.accordion-icon::after {
  top: 0;
  left: 5px;
  width: 2px;
  height: 12px;
}
.accordion-item.active .accordion-icon::after {
  transform: rotate(90deg);
}
.accordion-content {
  display: none;
  list-style: none;
  padding: 0;
  margin: 0;
  background: #fff;
}
.accordion-item.active .accordion-content {
  display: block;
  animation: fadeIn 0.3s ease;
}
.accordion-content li a {
  display: block;
  padding: 10px 20px 10px 25px;
  font-size: 0.95rem;
  color: #666;
  text-decoration: none;
  border-top: 1px solid #f0f0f0;
  transition: color 0.2s, background 0.2s;
}
.accordion-content li a:hover {
  color: #000;
  background: #f4f4f4;
}

/* FAQ List */
.p-faq-list {
  width: 100%;
  max-width: 1000px;
  margin: 40px auto 20px;
}
.p-faq-list__q {
  position: relative;
  cursor: pointer;
  padding: 20px 60px 20px 20px;
  font-weight: 700;
  border-bottom: 1px solid #ddd;
  background-color: #fff;
  transition: background-color 0.3s;
  display: block;
}
.p-faq-list__q:hover {
  background-color: #fafafa;
}
.p-faq-list__a {
  margin: 0;
  height: 0;
  overflow: hidden;
  opacity: 0;
  transition: height 0.3s ease, opacity 0.3s ease;
  border-bottom: 1px solid transparent;
}
.p-faq-list__a.is-open {
  opacity: 1;
  border-bottom: 1px solid #ddd;
}
.p-faq-list__a-inner {
  padding: 20px;
  background-color: #f7f7f7;
  line-height: 1.8;
  color: #333;
}
.p-faq-list__icon {
  position: absolute;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  display: block;
}
.p-faq-list__icon::before,
.p-faq-list__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #333;
  transition: transform 0.3s ease;
}
.p-faq-list__icon::before {
  width: 100%;
  height: 2px;
}
.p-faq-list__icon::after {
  width: 2px;
  height: 100%;
}
.p-faq-list__q.is-active .p-faq-list__icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}
.p-faq-list__q.is-active {
  background-color: #f0f0f0;
}

/* Column Page Common */
.p-column-page {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 50px;
  margin-bottom: 60px;
  width: 95%;
}
.p-column-list {
  display: flex;
  flex-direction: column;
  gap: 25px;
}
a.p-column-item-link {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s, box-shadow 0.3s;
}
.p-column-item {
  background: #fff;
  border: 1px solid #eaddcf;
  border-radius: 8px;
  padding: 30px;
  position: relative;
  transition: all 0.3s;
}
a.p-column-item-link:hover {
  transform: translateY(-3px);
}
a.p-column-item-link:hover .p-column-item {
  box-shadow: 0 10px 20px rgba(85, 52, 16, 0.08);
  border-color: var(--color-accent);
}
.p-column-item__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
  border-bottom: 1px dashed #eee;
  padding-bottom: 10px;
}
.p-column-item__date {
  font-family: var(--font-serif);
  color: #888;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
}
.p-column-cat-label {
  display: inline-block;
  background: var(--color-main);
  color: #fff;
  font-size: 0.7rem;
  padding: 3px 10px;
  border-radius: 2px;
  line-height: 1;
}
.p-column-item__title {
  font-size: 1.3rem;
  font-weight: bold;
  color: var(--color-main);
  margin: 0 0 15px 0;
  line-height: 1.5;
  transition: color 0.3s;
}
a.p-column-item-link:hover .p-column-item__title {
  color: var(--color-accent);
}
.p-column-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 15px;
}
.p-column-tag-label {
  display: inline-block;
  font-size: 0.75rem;
  color: #666;
  background-color: #f4f4f4;
  padding: 4px 10px;
  border-radius: 4px;
}
.p-column-item__excerpt {
  color: #666;
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 20px;
}
.p-column-item__more span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--color-accent);
  font-weight: bold;
  font-size: 0.9rem;
  position: relative;
}
.p-column-item__more span i {
  transition: transform 0.3s;
}
a.p-column-item-link:hover .p-column-item__more span i {
  transform: translateX(5px);
}

/* Column Single */
.p-column-header {
  margin-bottom: 40px;
  border-bottom: 1px solid #eee;
  padding-bottom: 20px;
}
.p-column-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin-top: 15px;
}
.p-column-date {
  display: flex;
  gap: 15px;
  color: #888;
  font-size: 0.9rem;
}
.p-column-tax-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
a.p-column-tag {
  display: inline-block;
  font-size: 0.8rem;
  color: #555;
  background-color: #fff;
  border: 1px solid #ddd;
  padding: 4px 12px;
  border-radius: 20px;
  text-decoration: none;
  transition: all 0.3s;
}
a.p-column-tag:hover {
  background-color: var(--color-accent);
  border-color: var(--color-accent);
  color: #fff;
}
.entry-content img {
  box-shadow: none !important;
  border: none !important;
  margin: 30px 0;
}

/* Related Column */
.p-column-list--related {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 30px;
}
.p-column-item-simple {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 20px;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s;
  width: calc((100% - 40px) / 3);
}
.p-column-item-simple:hover {
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  border-color: var(--color-accent);
  transform: translateY(-3px);
}
.p-column-item-simple .p-column-item__title {
  font-size: 0.95rem;
  margin-bottom: 0;
  font-weight: bold;
  line-height: 1.4;
  color: var(--color-main);
}
.p-column-item-simple .p-column-item__date {
  font-size: 0.8rem;
  color: #999;
  margin-bottom: 8px;
  display: block;
}

/* Sidebar Widgets */
.p-column-sidebar {
  padding-top: 10px;
}
.p-sidebar-widget {
  background: #fff;
  border: 1px solid #eaddcf;
  border-radius: 8px;
  padding: 25px;
  margin-bottom: 30px;
}
.p-sidebar-title {
  font-size: 1.1rem;
  font-weight: bold;
  color: var(--color-main);
  border-bottom: 2px solid var(--color-accent);
  padding-bottom: 10px;
  margin-bottom: 20px;
}
.p-sidebar-search {
  display: flex;
  gap: 5px;
}
.p-sidebar-search__input {
  flex: 1;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 0.9rem;
  background: #fdfbf9;
}
.p-sidebar-search__input:focus {
  outline: none;
  border-color: var(--color-accent);
  background: #fff;
}
.p-sidebar-search__btn {
  background: var(--color-main);
  color: #fff;
  border: none;
  border-radius: 4px;
  width: 44px;
  cursor: pointer;
  transition: opacity 0.3s;
}
.p-sidebar-search__btn:hover {
  opacity: 0.8;
}
.p-sidebar-info {
  font-size: 0.9rem;
  line-height: 1.6;
}
.p-sidebar-info__name {
  font-weight: bold;
  font-size: 1.1rem;
  color: var(--color-main);
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px dashed #eee;
}
.p-sidebar-info__address {
  margin-bottom: 15px;
  font-size: 0.85rem;
  color: #666;
}
.p-sidebar-info__time dl {
  display: flex;
  justify-content: space-between;
  margin-bottom: 5px;
  border-bottom: 1px solid #f0f0f0;
  padding-bottom: 5px;
}
.p-sidebar-info__time dt {
  color: var(--color-main);
  font-weight: bold;
}
.p-sidebar-info__time dd {
  margin: 0;
}
.p-sidebar-info .c-btn {
  margin: 0 auto;
  display: flex;
  width: fit-content;
}
.p-tag-cloud ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.p-tag-cloud li a {
  display: block;
  background: #fff;
  border: 1px solid #ddd;
  padding: 5px 12px;
  border-radius: 4px;
  font-size: 0.85rem;
  color: #555;
  text-decoration: none;
  transition: all 0.3s;
}
.p-tag-cloud li a:hover {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #fff;
}

/* Supervisor */
.p-supervisor {
  border: 2px solid #eaddcf;
  border-radius: 8px;
  margin: 60px 0;
  overflow: hidden;
  background: #fff;
}
.p-supervisor__head {
  background: #eaddcf;
  color: var(--color-main);
  padding: 10px 20px;
  font-weight: bold;
  text-align: center;
}
.p-supervisor__body {
  padding: 30px;
  display: flex;
  gap: 30px;
  align-items: center;
}
.p-supervisor__img {
  width: 150px;
  flex-shrink: 0;
  margin: 0;
}
.p-supervisor__img img {
  width: 100%;
  object-fit: cover;
  border: 3px solid #f6f1e7;
  box-shadow: none !important;
}
.p-supervisor__info {
  flex: 1;
}
.p-supervisor__name {
  font-size: 1.2rem;
  font-weight: bold;
  color: var(--color-main);
  border-bottom: 1px solid #eee;
  margin-bottom: 10px;
  padding-bottom: 5px;
}
.p-supervisor__name .role {
  font-size: 0.85rem;
  font-weight: normal;
  margin-left: 10px;
}
.p-supervisor__license {
  list-style: none;
  padding: 0;
  margin: 0 0 10px;
  font-size: 0.8rem;
  color: #666;
}
.p-supervisor__license li {
  display: inline-block;
  margin-right: 10px;
  background: #f5f5f5;
  padding: 2px 8px;
  border-radius: 3px;
}
.p-supervisor__desc {
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 10px;
}
.p-supervisor__link a {
  font-size: 0.85rem;
  color: var(--color-accent);
  text-decoration: underline;
}

/* Cases Page */
.p-cases-page {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 50px;
}
.p-cases-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-bottom: 60px;
}
.p-case-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #eaddcf;
  border-radius: 8px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s;
}
.p-case-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  border-color: var(--color-accent);
}
.p-case-card__thumb {
  position: relative;
  aspect-ratio: 16/9;
  margin: 0;
  overflow: hidden;
}
.p-case-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.p-case-card:hover .p-case-card__thumb img {
  transform: scale(1.05);
}
.p-case-card__label {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--color-accent);
  color: #fff;
  font-size: 0.7rem;
  padding: 2px 8px;
  border-radius: 2px;
}
.p-case-card__body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.p-case-card__title {
  font-size: 1.1rem;
  font-weight: bold;
  margin: 0 0 10px 0;
  line-height: 1.4;
  color: var(--color-main);
}
.p-case-card__desc {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 15px;
  line-height: 1.6;
}
.p-case-card__more {
  margin-top: auto;
  font-size: 0.85rem;
  font-weight: bold;
  color: var(--color-accent);
  text-align: right;
  display: block;
}

.p-cases-grid--voice {
  grid-template-columns: repeat(2, 1fr);
}
.p-voices-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
}
.p-voice-card {
  display: flex;
  flex-direction: column;
  background: #fffdf9;
  border: 1px solid #eaddcf;
  border-radius: 12px;
  padding: 25px;
  text-decoration: none;
  color: #333;
  transition: all 0.3s;
  position: relative;
  height: 100%;
  box-sizing: border-box;
}
.p-voice-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  border-color: var(--color-accent);
}
.p-voice-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 15px;
  border-bottom: 1px dashed #ddd;
  padding-bottom: 10px;
}
.p-voice-card__icon img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  background: #eee;
}
.p-voice-card__label {
  background: #eee;
  color: #333;
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 20px;
  font-weight: bold;
  letter-spacing: 0.05em;
}
.p-voice-card__date {
  font-size: 13px;
  color: #888;
}
.p-voice-card__title {
  font-size: 1rem;
  font-weight: bold;
  margin: 0;
  color: var(--color-main);
  line-height: 1.5;
  margin-bottom: 15px;
  border-bottom: 1px dashed #ddd;
  padding-bottom: 15px;
}
.p-voice-card__title i {
  color: #ccc;
  margin-right: 8px;
  font-size: 0.9em;
}
.p-voice-card__desc {
  font-size: 0.9rem;
  line-height: 1.6;
  color: #555;
  margin-bottom: 15px;
}
.p-voice-card__more {
  display: block;
  text-align: center;
  font-size: 0.85rem;
  background: #fff;
  border: 1px solid var(--color-accent);
  color: var(--color-accent);
  padding: 8px;
  border-radius: 20px;
  transition: all 0.3s;
  margin-top: auto;
}
.p-voice-card:hover .p-voice-card__more {
  background: var(--color-accent);
  color: #fff;
  text-decoration: underline;
}

.p-cases-cta {
  background: #fdfbf9;
  border: 1px solid #eaddcf;
  padding: 40px;
  text-align: center;
  border-radius: 8px;
  margin-top: 60px;
}
.p-cases-cta__title {
  font-size: 1.4rem;
  font-weight: bold;
  color: var(--color-main);
  margin-bottom: 15px;
}
.p-cases-cta p {
  margin-bottom: 25px;
}

.p-case-detail__header {
  margin-bottom: 40px;
  border-bottom: 1px solid #eee;
  padding-bottom: 20px;
}
.p-case-detail__meta {
  display: flex;
  gap: 15px;
  color: #888;
  margin-top: 10px;
}
.p-case-detail__cat {
  background: var(--color-accent);
  color: #fff;
  padding: 2px 8px;
  border-radius: 2px;
  font-size: 0.8rem;
}
.p-sidebar-text {
  font-size: 0.9rem;
  margin-bottom: 15px;
}

/* Pagination */
.p-pagination {
  margin-top: 40px;
  text-align: center;
  border: none !important;
  background: transparent !important;
}
.p-pagination ul {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 0;
  list-style: none;
  border: none !important;
}
.p-pagination .page-numbers {
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 36px;
  height: 36px;
  border: 1px solid #d7ccc8;
  border-radius: 4px;
  background: #fff;
  color: #5d4037;
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.3s;
  padding: 0 0.25rem;
}
.p-pagination a.page-numbers:hover {
  background: #efebe9;
  border-color: #a1887f;
}
.p-pagination .current {
  background: #ff8c00;
  border-color: #ff8c00;
  color: #fff;
  pointer-events: none;
}

/* Post Navigation */
.post-navigation {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid #e0e0e0;
}
.nav-previous,
.nav-next {
  width: 48%;
}
.post-navigation a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 15px 20px;
  background-color: #fff;
  border: 1px solid #ccc;
  color: #5a4e45;
  text-decoration: none;
  border-radius: 4px;
  transition: all 0.3s ease;
  box-sizing: border-box;
  font-size: 14px;
  line-height: 1.4;
}
.post-navigation a:hover {
  background-color: #5a4e45;
  color: #fff;
  border-color: #5a4e45;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Tab UI */
.c-tab-nav {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 40px 0 0;
  border-bottom: 3px solid var(--color-accent);
}
.c-tab-nav li {
  padding: 12px 20px;
  background: #f0f0f0;
  color: #666;
  cursor: pointer;
  border-radius: 8px 8px 0 0;
  margin-right: 5px;
  font-weight: bold;
  transition: all 0.3s;
  font-size: 0.9rem;
}
.c-tab-nav li:hover {
  background: #eaddcf;
  color: var(--color-main);
}
.c-tab-nav li.is-active {
  background: var(--color-accent);
  color: #fff;
  position: relative;
}
.c-tab-nav li.is-active::after {
  content: "";
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--color-accent);
}
.c-tab-content {
  display: none;
  padding: 40px 0 0;
  animation: fadeIn 0.5s ease;
}
.c-tab-content.is-active {
  display: block;
}
.c-tab-content figure {
  margin: 30px 0;
  text-align: center;
}
.c-tab-content img {
  max-width: 100%;
  height: auto;
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Benefit Grid */
.p-benefit-grid {
  display: flex;
  gap: 20px;
  margin-top: 30px;
}
.p-benefit-card {
  flex: 1;
  background: #fdfbf9;
  border: 1px solid #eaddcf;
  border-radius: 8px;
  padding: 25px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.03);
}
.p-benefit-head {
  font-size: 1.05rem;
  color: var(--color-main);
  border-bottom: 2px solid var(--color-accent);
  padding-bottom: 10px;
  margin-bottom: 20px;
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 10px;
}
.p-benefit-head i {
  color: var(--color-accent);
  font-size: 1.2rem;
}
.p-benefit-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.p-benefit-list li {
  position: relative;
  padding-left: 1.4em;
  margin-bottom: 10px;
  line-height: 1.6;
  font-size: 0.95rem;
}
.p-benefit-list li::before {
  content: "\f00c";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 0.2em;
  color: var(--color-accent);
  font-size: 0.9em;
}

/* CTA Message Box */
.p-cta-message-box {
  border: 3px solid var(--color-accent);
  background: #fffcf5;
  padding: clamp(20px, 4vw, 30px);
  margin: 30px auto;
  border-radius: 8px;
  position: relative;
  max-width: 800px;
  box-shadow: 0 5px 15px rgba(155, 117, 57, 0.15);
}
.p-cta-message-box::before {
  content: "\f005";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-accent);
  color: #fff;
  width: 30px;
  height: 30px;
  line-height: 30px;
  border-radius: 50%;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
p.p-cta-message-text {
  font-family: var(--font-serif);
  color: var(--color-main);
  font-size: clamp(1rem, 3.5vw, 1.3rem);
  font-weight: 700;
  line-height: 1.5;
  margin: 0;
  letter-spacing: 0.05em;
  text-align: center;
}

/* Symptom Portal */
.p-symptom-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}
.p-symptom-card {
  background: #fff;
  border: 1px solid #eaddcf;
  border-radius: 8px;
  overflow: hidden;
  transition: box-shadow 0.3s;
}
.p-symptom-card:hover {
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}
.p-symptom-head {
  background: #faf8f5;
  padding: 15px 20px;
  border-bottom: 1px solid #eaddcf;
  display: flex;
  align-items: center;
  gap: 10px;
}
.p-symptom-icon {
  font-size: 1.5rem;
}
.p-symptom-title {
  margin: 0;
  font-size: 1.1rem;
  font-weight: bold;
  color: var(--color-main);
  border: none;
}
.p-symptom-links {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.c-symptom-btn {
  display: block;
  padding: 12px 15px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 4px;
  text-decoration: none;
  color: #333;
  font-size: 0.95rem;
  transition: all 0.2s;
  position: relative;
  padding-right: 30px;
}
.c-symptom-btn::after {
  content: ">";
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: #ccc;
  font-family: sans-serif;
  font-weight: bold;
}
.c-symptom-btn:hover {
  background: var(--color-main);
  color: #fff;
  border-color: var(--color-main);
}
.c-symptom-btn:hover::after {
  color: #fff;
}
.c-symptom-btn.is-main {
  background: #fffcf0;
  border-color: #e6dcb0;
  font-weight: bold;
  color: var(--color-main);
}
.c-symptom-btn.is-main::before {
  content: "★";
  color: #f39c12;
  margin-right: 5px;
}
/* ==================================================
   NG Example Box (悪い例の表示用)
   ================================================== */
.p-ng-box {
  background: #fff5f5; /* 薄い赤背景 */
  border: 2px solid #ffcccc; /* 赤い枠線 */
  border-radius: 8px;
  padding: 25px;
  margin: 40px 0;
}

.p-ng-box__title {
  color: #d9534f; /* 赤文字 */
  margin: 0 0 20px 0;
  font-weight: bold;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
}

.p-ng-box__label {
  display: inline-block;
  background: #d9534f;
  color: #fff;
  padding: 2px 8px;
  border-radius: 4px;
  margin-right: 10px;
  font-size: 0.8rem;
}

.p-ng-box__content {
  display: flex;
  flex-wrap: wrap; /* スマホで折り返し */
  gap: 30px;
  align-items: flex-start;
}

.p-ng-box__img {
  flex: 0 0 280px; /* 画像幅を固定 */
  max-width: 100%;
}

.p-ng-box__img img {
  width: 100%;
  height: auto;
  border-radius: 4px;
}

.p-ng-box__text {
  flex: 1; /* 残りの幅を使う */
  min-width: 200px; /* 最小幅 */
}

.p-ng-box__text p {
  margin-top: 0;
  line-height: 1.8;
}

/* テキスト内の強調色 */
.u-text-red {
  color: #d9534f;
  font-weight: bold;
}
/* ==================================================
   YouTubeレスポンシブ対応 (動画の埋め込み)
   ================================================== */
.c-responsive-video {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9の比率を維持 */
  margin: 30px 0; /* 上下の余白 */
}

.c-responsive-video iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 100% !important;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1); /* 影をつける場合 */
}
/* ==================================================
   Before/After Archive Page Styles
   ================================================== */

/* ページ全体のレイアウト（2カラム構成） */
.p-ba-page {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 50px;
}

/* ビフォーアフターリスト（2列グリッド） */
.p-ba-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* PCは2列 */
  gap: 30px;
  margin-bottom: 60px;
}

/* カード本体 */
.p-ba-card {
  background: #fff;
  border: 1px solid #eaddcf;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
  display: flex;
  flex-direction: column;
}

/* カードヘッダー */
.p-ba-card__head {
  padding: 15px 20px;
  background: #fdfbf9;
  border-bottom: 1px solid #f6f1e7;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.p-ba-card__title {
  font-size: 1.1rem;
  font-weight: bold;
  color: var(--color-main);
  margin: 0;
  line-height: 1.4;
}
.p-ba-card__cat {
  display: inline-block;
  font-size: 0.75rem;
  background: var(--color-main);
  color: #fff;
  padding: 3px 10px;
  border-radius: 2px;
}

/* 画像エリア */
.p-ba-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  gap: 10px;
  background: #fff;
}
.p-ba-col {
  flex: 1;
  text-align: center;
}
.p-ba-col figure {
  margin: 10px 0;
  overflow: hidden;
}
.p-ba-col img {
  width: 100%;
  height: 150px; /* 高さを揃える */
  object-fit: cover;
  border: 1px solid #eee;
  border-radius: 4px;
}

/* ラベル (Before/After) */
.p-ba-label {
  display: inline-block;
  padding: 2px 12px;
  color: #fff;
  font-weight: bold;
  font-size: 0.75rem;
  border-radius: 50px;
}
.p-ba-label--before {
  background: #999;
}
.p-ba-label--after {
  background: var(--color-accent);
}

/* メモ書き */
.p-ba-memo {
  font-size: 0.8rem;
  color: #666;
  margin: 0;
  line-height: 1.4;
}

/* 矢印 */
.p-ba-arrow {
  color: var(--color-accent);
  font-size: 1.2rem;
  padding: 0 5px;
}

/* 本文エリア */
.p-ba-card__body {
  padding: 0 20px 25px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.p-ba-desc {
  font-size: 0.9rem;
  color: #555;
  line-height: 1.6;
  margin-bottom: 15px;
}

/* ==================================================
   Sub Heading (Single Page Title)
   ================================================== */
.c-sub-heading {
  /* 最小22px(1.375rem) ～ 推奨値(画面幅の2.5% + 1rem) ～ 最大30px(1.875rem) */
  font-size: clamp(1.375rem, 2.5vw + 0.8rem, 1.875rem);

  font-weight: bold;
  line-height: 1.4;
  color: #333; /* 文字色（必要であればテーマ色 var(--color-main) などに変更） */
  margin-bottom: 30px;

  /* 下線などの装飾（お好みで有効化してください） */
  padding-bottom: 15px;
  border-bottom: 2px solid #eaddcf;
}
/* ==================================================
   Single Page Content Headings (記事内の見出し)
   ================================================== */

/* --- H2 見出し（大見出し） --- */
.entry-content h2 {
  /* 文字サイズ：最小20px ～ 最大26px */
  font-size: clamp(1.25rem, 2vw + 0.8rem, 1.625rem);

  font-weight: bold;
  color: #333;
  line-height: 1.4;
  margin-top: 50px; /* 上の余白を広めに */
  margin-bottom: 25px;

  /* デザイン：左にアクセントカラーの線 ＋ 薄い背景 */
  padding: 15px 20px;
  background-color: #f9f7f4; /* 薄いベージュ */
  border-left: 5px solid #cbb69d; /* アクセントカラー（茶・ゴールド系） */
  border-radius: 0 4px 4px 0;
}

/* --- H3 見出し（中見出し） --- */
.entry-content h3 {
  /* 文字サイズ：最小18px ～ 最大22px */
  font-size: clamp(1.125rem, 1.5vw + 0.8rem, 1.375rem);

  font-weight: bold;
  color: #333;
  line-height: 1.5;
  margin-top: 40px;
  margin-bottom: 20px;

  /* デザイン：下線のみ */
  padding-bottom: 10px;
  border-bottom: 2px solid #eaddcf; /* 薄い茶色の線 */
}

/* --- H4 見出し（小見出し） --- */
.entry-content h4 {
  /* 文字サイズ：最小16px ～ 最大18px */
  font-size: clamp(1rem, 1vw + 0.8rem, 1.125rem);

  font-weight: bold;
  color: #333;
  line-height: 1.5;
  margin-top: 30px;
  margin-bottom: 15px;

  /* デザイン：左に小さなマーカー */
  padding-left: 15px;
  position: relative;
}

/* H4の左側の縦棒装飾 */
.entry-content h4::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 70%;
  background-color: #cbb69d;
}
/* ==================================================
   6. Responsive Styles (All media queries)
   ================================================== */

@media (min-width: 769px) {
  .u-sp-only {
    display: none;
  }
}

/* Column & Sub Pages Layout (max-width: 900px) */
@media (max-width: 900px) {
  .p-column-page,
  .symptoms-page-container,
  .p-cases-page {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .p-column-page {
    gap: 60px;
  }

  /* Supervisor */
  .p-supervisor__body {
    flex-direction: column;
    text-align: center;
  }
  .p-supervisor__img {
    margin: 0 auto 15px;
  }
  .p-supervisor__license {
    display: flex;
    flex-direction: column;
    gap: 5px;
    align-items: center;
  }

  /* Related Column */
  .p-column-list--related {
    flex-direction: column;
  }
  .p-column-item-simple {
    width: 100%;
  }

  /* Container override */
  .l-container {
    padding-left: 20px !important;
    padding-right: 20px !important;
    width: 100%;
    box-sizing: border-box;
  }
  .p-column-item {
    padding: 25px;
  }
  .symptoms-sidebar {
    width: 100%;
  }
  /* ページ全体のカラム落ち */
  .p-ba-page {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* SP Standard (max-width: 768px) */
@media (max-width: 768px) {
  /* Profile */
  .p-profile-layout {
    flex-direction: column;
    gap: 30px;
  }
  .p-profile-img-box {
    width: 100%;
    max-width: 100%;
  }

  /* Mission */
  .p-mission-card-head {
    flex-direction: column;
    gap: 5px;
    align-items: flex-start;
  }
  table.p-col-table th,
  table.p-col-table td {
    display: block;
    width: 100%;
  }
  table.p-col-table th {
    border-bottom: none;
    background: #f5f5f5;
    padding-bottom: 5px;
  }
  table.p-col-table td {
    padding-top: 5px;
  }

  /* Contact */
  .p-contact-grid {
    flex-direction: column;
    gap: 20px;
  }
  .p-contact-tel-main {
    font-size: 1.6rem;
  }
  .p-contact-calendar-box {
    padding: 20px;
  }
  .p-contact-form-wrapper {
    padding: 20px;
  }

  /* Form Table Stack */
  .p-form-table dl {
    display: block;
    border-bottom: none;
    margin-bottom: 20px;
  }
  .p-form-table dt {
    width: 100%;
    padding: 10px 0 5px 0;
    background: transparent;
    border-bottom: none;
    font-size: 1rem;
  }
  .p-form-table dd {
    width: 100%;
    padding: 0;
    border-bottom: 1px solid #eaddcf;
    padding-bottom: 20px;
  }
  .wpcf7-text,
  .wpcf7-tel,
  .wpcf7-email,
  .wpcf7-select {
    height: 48px;
    font-size: 16px;
  }
  .wpcf7-submit {
    width: 100%;
    padding: 15px;
  }

  /* Symptom & Hub Lists */
  .p-symptom-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .p-symptom-post-list.is-text-only {
    grid-template-columns: 1fr;
  }
  .p-hub-item__link {
    flex-direction: column;
  }
  .p-hub-item__thumb {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid #eee;
  }
  .p-hub-item__body {
    width: 100%;
    padding: 25px 20px;
  }
  .p-hub-item__title {
    font-size: 1.2rem;
  }
  .p-hub-item__desc {
    font-size: 0.9rem;
  }
  .p-hub-item__btn {
    width: 100%;
    justify-content: center;
  }

  /* Tab Nav */
  .c-tab-nav {
    display: block;
    border-bottom: none;
  }
  .c-tab-nav li {
    display: block;
    width: 100%;
    margin-bottom: 5px;
    border-radius: 4px;
    text-align: center;
  }
  .c-tab-nav li.is-active::after {
    display: none;
  }
  .p-benefit-grid {
    flex-direction: column;
    gap: 20px;
  }

  /* Navigation */
  .nav-previous,
  .nav-next {
    width: 100%;
  }

  /* Entry Content Image */
  .entry-content img {
    max-width: 100%;
    height: auto;
  }
}
@media (max-width: 603px) {
  .p-ng-box__img {
    margin: 0 auto;
  }
}
/* Small SP (max-width: 600px) */
@media (max-width: 600px) {
  .p-symptom-post-item {
    flex-direction: column;
  }
  .p-symptom-post-thumb {
    width: 100%;
    height: 160px;
  }
  .p-symptom-post-body {
    padding: 0;
  }
  .p-cases-grid {
    grid-template-columns: 1fr;
  }
  /* カード自体のカラム落ち（1列表示） */
  .p-ba-list {
    grid-template-columns: 1fr;
  }

  /* 画像エリアの縦積み（画像を見やすくするため） */
  .p-ba-grid {
    flex-direction: column;
    gap: 15px;
  }
  .p-ba-col img {
    height: auto; /* スマホでは高さを自然に */
    max-height: 250px;
  }
  .p-ba-arrow {
    transform: rotate(0); /* FontAwesomeクラスで切り替えるので回転不要 */
    margin: 5px 0;
  }
}
/* ★ 576px or less: Center Buttons */
@media (max-width: 576px) {
  .c-symptom-btn,
  .p-hub-item__btn,
  .wpcf7-submit {
    margin-left: auto;
    margin-right: auto;
    display: flex;
    justify-content: center;
  }
  .c-symptom-btn {
    width: 100%;
  }

  /* Make buttons full width or adaptive on very small screens for better UX */
  .wpcf7-submit,
  .p-hub-item__btn {
    width: 80%;
    max-width: 300px;
  }
}
@media (max-width: 400px) {
  .p-contact-calendar-box {
    padding: 20px 10px;
  }
  .p-ng-box__title {
    flex-direction: column;
  }
  .p-supervisor__body {
    gap: 15px;
  }
}
/* 予約優先アラートボックス */
.p-contact-priority-alert {
  border: 2px solid #e04a4a; /* 目立つ赤枠 */
  background-color: #fff5f5; /* 薄い赤背景 */
  padding: 1.5em;
  margin-bottom: 40px;
  border-radius: 8px;
  text-align: center;
  color: #333;
}

.p-priority-alert-title {
  color: #e04a4a;
  font-weight: bold;
  font-size: 1.1em;
  margin-bottom: 0.8em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
/* アイコンを疑似要素で追加（FontAwesomeなどがなくても表示できるよう絵文字で対応） */
.p-priority-alert-title::before {
  content: "⚠️";
}

.p-contact-priority-alert p {
  margin: 0 0 0.5em;
  font-size: 0.95em;
  line-height: 1.6;
}

.p-contact-priority-alert p:last-child {
  margin-bottom: 0;
}

.p-contact-priority-alert strong {
  color: #e04a4a;
  background: linear-gradient(
    transparent 70%,
    #ffcccc 70%
  ); /* マーカー風の下線 */
}

/* スマホでの改行調整 */
@media screen and (max-width: 767px) {
  .u-sp-hide {
    display: none;
  }
  .p-contact-priority-alert {
    padding: 1.2em 1em;
    text-align: left; /* スマホは左寄せの方が読みやすい場合が多い */
  }
}
/* 画像エリアのコンテナ */
.p-content-visuals {
  display: flex;
  justify-content: space-between;
  align-items: flex-start; /* キャプションの長さが違っても上揃え */
  gap: 20px;
  margin-bottom: 40px;
}

/* figureタグ（アイテム単体） */
.p-content-visuals__item {
  width: 48%; /* PCでは横並び */
  margin: 0;  /* ブラウザのデフォルト余白をリセット */
}

/* 画像本体 */
.p-content-visuals__item img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  border: 1px solid #eee;
}

/* キャプション（説明文） */
.p-content-visuals__item figcaption {
  margin-top: 10px;    /* 画像との隙間 */
  font-size: 0.9em;    /* 本文より少し小さく */
  color: #666;         /* 文字色を少し薄く */
  font-weight: 700;    /* 太字で見やすく */
  line-height: 1.5;
  text-align: left;    /* 左揃え */
}

/* スマホ対応 (768px以下) */
@media screen and (max-width: 576px) {
  .p-content-visuals {
    flex-direction: column;
    gap: 30px;
  }
  
  .p-content-visuals__item {
    width: 100%;
    max-width: 400px; /* 画像が大きくなりすぎないように */
    margin: 0 auto;   /* 中央配置 */
  }
}
@media screen and (max-width: 480px) {
	.info-table th,.info-table td{
		padding:15px 10px!important;
	}
}
/* ==================================================
   Access Table Style (for standard table tags)
   ================================================== */

/* 行の下線 */
.p-access-table__row {
  border-bottom: 1px solid #eee;
}

/* 左側の見出し (th) */
.p-access-table__head {
  background: var(--color-bg-beige); /* ベージュ背景 */
  color: var(--color-main);
  font-weight: 700;
  padding: 15px 20px;
  text-align: left;  
  vertical-align: middle; /* 上下中央 (テーブル独自のプロパティ) */
  white-space: nowrap;    /* 文字の改行を禁止 */
  width: 120px;           /* 必要であれば幅固定 (dtと同じ幅に合わせると綺麗) */
}

/* 右側のデータ (td) */
.p-access-table__data {
  padding: 15px 20px;
  vertical-align: middle; /* 中身を上下中央寄せ */
}

@media screen and (max-width: 1050px) {
	.info-table .p-tel-box--fixed{
		justify-content:flex-start;
	}
	.info-table .p-tel-box--mobile{
		margin:0;
	}
	.info-table .p-tel-badge{
		left:15px;
		transform:none;
	}
	.info-table .p-tel-box--fixed a{
		padding-left:10px;
	}
}
@media screen and (max-width: 1050px){
	.info-table .p-tel-box--mobile a, .info-table .p-tel-box--fixed a{
		font-size:1.15rem;
	}
}

.symptom-more{
	display:flex;
	flex-direction:column;
}
.symptom-more .c-btn{
	width:fit-content;
	margin:30px auto 0;
}

/* =========================
   p-page-title
   ========================= */

.p-page-title{
  background:#ffffff;
  font-family:var(--font-serif);
}

/* コンテンツ幅（既存レイアウトに合わせて調整OK） */
.p-page-title__inner{
  width:min(1040px, 100%);
  margin:0 auto;
}

/* フレーム */
.p-page-title__frame{
  border:1px solid #ddcfbe;
  padding:18px 16px;
  background:linear-gradient(#ffffff, #fbf8f3);
}

/* 見出し */
.p-page-title__heading{
  margin:0;
  color:#3b2b1f;
  font-weight:700;
  letter-spacing:.02em;
  line-height:1.25;
  font-size:clamp(18px, 2.4vw, 28px);
}

/* SP調整 */
@media (max-width:600px){
  .p-page-title__frame{
    padding:18px 14px;
  }
  .p-page-title__heading{
    line-height:1.35;
  }
	.c-text-link{
		padding:14px 25px;
	}
}
.p-page-title-box{
	padding-bottom:0!important;
	margin-bottom:-30px!important;
	width:100%!important;
}

