/**
 * Blog Archive Page Styles
 * 特集詳細ページ スマホ用CSS
 */
:root {
  --color-text-primary: #000000;
  --color-bg-white: #ffffff;
  --color-bg-footer: #f2ede8;
  --color-bg-tag: #ebebeb;
  --color-bg-marker: #f3f3f3;
  --color-accent-gray: #a3a3a3;
  --font-primary: "TOT-ShizukaMin StdN", serif;
  --font-secondary: "Inter", sans-serif;
  --spacing-unit: 4px;
}
.marker-icon {
  margin-left: 28px;
  display: flex;
  align-items: center;
}

.marker-icon img {
  width: 7px;
  height: 29px;
}

.content-title h2 {
  font-family: var(--font-primary);
  font-size: 32px;
  line-height: 1.8em;
  font-weight: 400;
  max-width: 1000px;
}

.content-body {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.content-body p {
  font-family: var(--font-primary);
  font-size: 18px;
  line-height: 1.8em;
}
.blog-single-header {
  display: flex;
  flex-direction: column;
}
.blog-single-container {
  display: table;
  clear: both;
  padding-top: 100px;
  width: calc(100% - 40px);
  max-width: 1500px;
  margin: 0 auto;
}
.blog-single-title {
  position: relative;
  padding-bottom: 16px;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.2;
  order: 2;
}
.blog-single-meta {
  margin-bottom: 16px;
  font-size: 12px;
  font-family: "Inter", sans-serif;
  order: 3;
}
.category-block {
  order: 4;
}
.category-block .category {
  display: flex;
}
.category-block .category li {
  margin-right: 10px;
}
.category-block .category li a {
  padding: 3px 5px 3px 5px;
  font-size: 14px;
  background: #ebebeb;
}

.article-content {
  margin-top: 30px;
}
.blog-single-thumbnail {
  width: 100%;
  aspect-ratio: 4 / 1;
  margin-bottom: 20px;
  overflow: hidden;
  order: 1;
}
.blog-single-thumbnail img {
  width: 100%;
}
.content-section {
  margin-top: 0px;
  padding-top: 60px;

}
.content-image {
  width: 30%;
}
.content-text {
  width: 70%;
}
.blog-content {
  margin-top: 60px;
  padding-bottom: 80px;
  font-size: 13px;
}
.blog-content h2 {
  position: relative;
  line-height: 1.4;
  font-size: 16px;
  background: #f3f3f3;
  padding: 6px 10px 6px 20px;
  margin-bottom: 20px;
}
.blog-content h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 6px;
  height: 100%;
  background: #a3a3a3;
}
.blog-content p {
  margin-block-start: 10px;
  margin-bottom: 20px;
}
.back-to-archive {
  display: flex;
  justify-content: flex-end;
  width: calc(100% - 40px);
  max-width: 1500px;
  margin: 0 auto 80px auto;
}
.back-to-archive a {
  display: block;
  text-align: right;
  font-size: 18px;
  line-height: 1.6;
  padding-right: 34px;
  transition: opacity 0.3s;
}

/* Content Section Columns - モバイルは縦並び */
.content-section__columns {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 20px;
}

.content-section__columns .content-section__img {
  width: 100%;
}

.content-section__columns .content-section__text {
  width: 100%;
}

.content-section__columns .content-section__img img {
  width: 100%;
  height: auto;
}

/* 左テキスト＋右画像の場合、モバイルでは画像を先に表示 */
.content-section--image-right .content-section__columns .content-section__img {
  order: 1;
}

.content-section--image-right .content-section__columns .content-section__text {
  order: 2;
}

/* 中央画像レイアウト - 縦並び */
.content-section--image-center .content-section__img {
  margin-top: 20px;
  margin-bottom: 20px;
  text-align: center;
}

.content-section--image-center .content-section__img img {
  max-width: 100%;
  height: auto;
}

/* Content Section Styles */
.content-section__img {
  width: 60%;
  min-width: 260px;
}
.content-section__img img{
  width: 100%;
}

.content-section__title {
  position: relative;
  padding-left: 14px;
  font-size: 18px;
  line-height: 1.6;
  font-weight: 400;
}
.content-section__title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  display: block;
  width: 5px;
  height: calc(100% - 6px);
  margin: auto 0;
  background: #85B4B8;
}

.content-section__body {
  font-size: 13px;
  line-height: 1.8;
}

.content-section__body p + p {
  margin-top: 1em;
}

.content-section__body ul {
  list-style: disc;
  padding-left: 1.5em;
  margin: 1em 0;
}

.content-section__body ul > li {
  margin-top: 0.5em;
}

.content-section__body ol {
  list-style: decimal;
  padding-left: 1.5em;
  margin: 1em 0;
}

.content-section__body ol > li {
  margin-top: 0.5em;
  padding-left: 0.3em;
}

/* Color Text Classes */
.f-brown {
  color: #977437;
}
.f-blue {
  color: #3b58a7;
}
.f-red {
  color: #ed1f24;
}

/* Bold Text */
.content-section__body strong,
.doctor-comment .comment strong {
  font-weight: 800;
}

/* Doctor Comment Section */
.doctor-comment {
  display: flex;
  align-items: center;
  gap: 15px;
  margin: 40px 10px;
  padding: 0;
}

.doctor-comment .icon {
  flex-shrink: 0;
  width: 20%;
  min-width: 100px;
}

.doctor-comment .icon img {
  width: 100%;
  height: auto;
}

.doctor-comment .comment {
  position: relative;
  flex: 1;
  background: #f4f4f4;
  border-radius: 15px;
  padding: 15px 18px;
  font-size: 13px;
  line-height: 1.6;
}

.doctor-comment .comment::before {
  content: "";
  position: absolute;
  left: -12px;
  top: 0;
  bottom: 15%;
  display: block;
  height: 0px;
  margin: auto 0;
  border-style: solid;
  border-width: 8px 12px 8px 0;
  border-color: transparent #f4f4f4 transparent transparent;
}
.doctor-comment .comment p{
  margin-bottom: 14px;
}
.doctor-comment .comment p:last-child{
  margin-bottom: 0px;
}

/* ===========================================
   FAQ Section (ページ内よくある質問)
   =========================================== */
.page-faq-section {
  max-width: 100%;
  margin: -20px auto 40px auto;
  padding: 60px 10px 0 10px;
}

.page-faq-section__title {
  font-size: 20px;
  font-weight: 400;
  text-align: center;
  margin-bottom: 25px;
  padding-bottom: 10px;
}

.page-faq-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.page-faq-item {
  border: 1px solid #ddd;
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
}

.page-faq-item__question {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 12px 15px;
  cursor: pointer;
  background-color: #fafafa;
}

.page-faq-item__q-label {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #999999;
  color: #fff;
  font-size: 14px;
  border-radius: 50%;
}

.page-faq-item__q-text {
  flex: 1;
  font-size: 14px;
  line-height: 1.5;
  font-weight: 500;
  margin: 0;
}

.page-faq-item__toggle {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s;
}

.page-faq-item.is-open .page-faq-item__toggle {
  transform: rotate(180deg);
}

.page-faq-item__icon {
  color: var(--color-accent-tan);
  width: 16px;
  height: 16px;
}

.page-faq-item__answer {
  padding: 0 15px;
  margin: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease, margin 0.3s ease;
}

.page-faq-item.is-open .page-faq-item__answer {
  margin: 15px 0;
}

.page-faq-item__a-text {
  font-size: 13px;
  line-height: 1.7;
  color: #666;
}

.page-faq-item__a-text p {
  margin-bottom: 0.8em;
}

.page-faq-item__a-text p:last-child {
  margin-bottom: 0;
}

/* ===========================================
   Price Table Section (ページ内料金表)
   =========================================== */
.page-price-section {
  max-width: 100%;
  margin: -20px auto 40px auto;
  padding: 60px 10px 0 10px;
}

.page-price-section__title {
  font-size: 20px;
  font-weight: 400;
  text-align: center;
  margin-bottom: 25px;
  padding-bottom: 10px;
}

.page-price-section__content {
  margin: 0 auto 20px auto;
  font-size: 13px;
  line-height: 1.8;
}

.page-price-section__content p {
  margin-bottom: 1em;
}

.page-price-section__content p:last-child {
  margin-bottom: 0;
}

.page-price-section__image {
  text-align: center;
}

.page-price-section__image img {
  max-width: 100%;
  height: auto;
  margin: 0 auto;
}

.checkbox-list-section h2 {
  background: none;
}

.checkbox-list-section h2::before {
  content: none;
}

/* Index Navigation - 縦並びもくじ */
.index-nav {
  width: 100%;
  padding: 20px 10px;
  margin-bottom: 60px;
  background-color: #fff;
}

.index-nav .nav-inner {
  display: flex;
  flex-direction: column;
  max-width: 800px;
  margin: 0 auto;
  padding: 10px 20px 10px 20px;
  border: 8px solid #e5e5e5;
  gap: 0;
}

.index-nav__item {
  position: relative;
  display: flex;
  align-items: center;
  color: #000;
  padding: 10px 0 10px 18px;
  border-bottom: 1px dashed #e5e5e5;
}
.index-nav__item:last-child {
  border-bottom: none;
}
.index-nav__item:before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
  display: block;
  width: 4px;
  height: 4px;
  background-color: #aaaaaa;
  border-radius: 50%;
}
.index-nav__text {
  font-size: 13px;
  line-height: 1.4;
  color: #000;
  text-align: left;
}