/* コンテナ最大幅の単一基準（sikkan_inner に合わせて統一） */
:root {
  --inner-max: 1280px;
}
/* fonts */
.mincho {
  font-weight: 600;
}
.hiragino {
}
.yugo {
}
/* colors */
.color_honbun {
  color: #333333;
  position: relative;
}
.gradienttext span:nth-child(1) {
  opacity: 0.9;
}
.gradienttext span:nth-child(2) {
  opacity: 0.85;
}
.gradienttext span:nth-child(3) {
  opacity: 0.8;
}
.gradienttext span:nth-child(4) {
  opacity: 0.75;
}
.gradienttext span:nth-child(5) {
  opacity: 0.7;
}
.gradienttext span:nth-child(6) {
  opacity: 0.65;
}
.gradienttext span:nth-child(7) {
  opacity: 0.6;
}
.gradienttext span:nth-child(8) {
  opacity: 0.55;
}
.gradienttext span:nth-child(9) {
  opacity: 0.5;
}
.gradienttext span:nth-child(10) {
  opacity: 0.45;
}
.gradienttext span:nth-child(11) {
  opacity: 0.4;
}
.gradienttext span:nth-child(12) {
  opacity: 0.35;
}
.gradienttext span:nth-child(13) {
  opacity: 0.3;
}
.gradienttext span:nth-child(14) {
  opacity: 0.26;
}
.gradienttext span:nth-child(15) {
  opacity: 0.23;
}
.gradienttext span:nth-child(16) {
  opacity: 0.2;
}
.gradienttext span:nth-child(17) {
  opacity: 0.16;
}
.gradienttext span:nth-child(18) {
  opacity: 0.13;
}
.gradienttext span:nth-child(19) {
  opacity: 0.1;
}
.gradienttext span:nth-child(20) {
  opacity: 0.06;
}
.gradient_wrapper::after {
  content: " ";
  position: absolute;
  z-index: 1;
  width: 100%;
  left: 0;
  right: 0;
  bottom: 0;
  height: 100%;
  /* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#ffffff+0,ffffff+100&0+1,1+51,1+51 */
  background: -moz-linear-gradient(
    top,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0) 1%,
    rgba(255, 255, 255, 1) 95%,
    rgba(255, 255, 255, 1) 100%
  ); /* FF3.6-15 */
  background: -webkit-linear-gradient(
    top,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0) 1%,
    rgba(255, 255, 255, 1) 95%,
    rgba(255, 255, 255, 1) 100%
  ); /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0) 1%,
    rgba(255, 255, 255, 1) 95%,
    rgba(255, 255, 255, 1) 100%
  ); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#00ffffff', endColorstr='#ffffff', GradientType=0); /* IE6-9 */
}
.color_red {
  color: red;
}
/* padding,margin */
.padding_0 {
  pdding: 0px;
}
.margin_0 {
  margin: 0px;
}
/* style */
.midashi_1 {
  font-size: 1rem;
  font-weight: 600;
  opacity: 0.8;
}
.waku_gray {
  border: 1px solid #cccccc;
  border-radius: 10px;
  padding: 2px 2px 2px 2px;
}
.section_title {
  text-align: center;
  font-size: 30px;
  font-weight: 600;
  color: #6b360a;
}
.txt_big::first-letter {
  /*font-size:36px;*/
}
.midasi2 {
  text-align: center;
  font-size: 24px;
  font-weight: 600;
  color: #6b360a;
}
.midasi2 span {
  position: relative;
  display: inline-block;
  padding-bottom: 0.2em;
  border-bottom: 1px solid #6b360a;
}
.midasi2 span::before,
.midasi2 span::after {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  content: "";
  border: 10px solid transparent;
}
.midasi2 span::before {
  border-top: 10px solid #6b360a;
}
.midasi2 span::after {
  margin-top: -1px;
  border-top: 10px solid white;
}
.txt_small {
  font-size: 14px;
}
.ear {
  display: inline-block;
  width: auto;
  height: 40px;
  position: absolute;
  left: -60px;
  top: -3px;
}
.voice {
  display: inline-block;
  width: auto;
  height: 40px;
  position: absolute;
  left: -67px;
  top: 0px;
}
.info {
  display: inline-block;
  width: auto;
  height: 40px;
  position: absolute;
  left: -55px;
  top: -2px;
}
.bxslider_voice {
  display: block;
  position: absolute;
  top: 0;
  left: 48px;
  right: 15px;
  color: white;
}
.bxslider_voice h3 {
  font-size: 22px;
  font-weight: 600;
}
.bxslider_voice p {
  margin: 0px !important;
  padding: 0px !important;
  opacity: 0.8;
  width: 50%;
}
.readmore {
  font-weight: 600;
  text-align: center;
  opacity: 0.8 !important;
}
.txt_futoji {
  font-weight: 600 !important;
  opacity: 0.6;
}
.txt_subtitle {
  font-size: 16px;
}
/* section advantage */
.advantage {
  background-color: #f7f7f7;
  color: #333;
  padding: 3.5rem 1.5rem;
}
.advantage .ib {
  padding: 0 0px 2rem 0px;
}
.advantage h3 {
  text-align: center;
  font-weight: 600;
  font-size: 23px;
}
.advantage h2 {
  text-align: center;
  font-weight: 600;
  font-size: 30px;
  margin: auto;
  padding-top: 15px;
}
.advantage img {
  display: block;
  margin: auto; /*filter: drop-shadow(0px 0px 3px rgba(0,0,0,0.6));*/
}
.flex_content_wrap {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  max-width: 1000px;
  margin: auto;
}
/* media */
/*@media(max-width:736px) {
.flex_content_wrap {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
}
}*/
.flex_content_child {
  width: 45%;
}
.flex_content_child a {
  display: block;
  height: 300px;
  width: 300px;
  margin: auto;
}
.flex_content_child a img {
  display: block;
  width: 100%;
  height: auto;
  margin: auto;
}
.flex_content_arrow {
  width: 9%;
  background: url(../img/iconmonstr-arrow-24.svg) no-repeat center center;
}
/* media */
@media (max-width: 736px) {
  .flex_content_wrap {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
  }
  .flex_content_child {
    width: 100%;
  }
  .flex_content_arrow {
    width: 100%;
    height: 30px;
    background: url(../img/downarrow.webp) no-repeat center center;
    background-size: contain;
    margin: 20px 0px;
  }
}
.txt_subtitle_white {
  margin: auto;
  text-align: center;
  font-size: 14px;
  color: #f7f7f7;
}
.txt_subtitle_gray {
  margin: auto;
  text-align: center;
  font-size: 14px;
  color: #666666;
}
.txt_subtitle_brown {
  margin: auto;
  padding-bottom: 15px;
  text-align: center;
  font-size: 14px;
  color: rgba(107, 54, 10, 0.75);
}
.txt {
  padding: 2rem 0px 0px 0px;
  margin: auto;
  line-height: 1.7em;
  max-width: 300px;
}
.section_maintitle {
  color: #6b360a;
  text-align: center;
  font-weight: 600;
  font-size: clamp(1.5rem, 1.4rem + 0.5vw, 2rem);
  margin: auto;
}
.advantage_foot {
  margin: auto;
  padding-top: 35px;
  text-align: center;
  font-size: 30px;
}
.advantage_foot a {
  margin: auto;
  display: block;
  border-bottom: 3px solid #333;
  width: 120px;
}
.advantage_foot span {
  font-size: 20px;
  font-weight: 500;
}
/* section voices S */
.voices {
  padding: 3.5rem 1.5rem;
  overflow: hidden;
}
.voices .ib {
  padding: 10px 0px 50px;
}
.voices h3 {
  color: #f7f7f7;
  text-align: center;
  font-weight: 600;
  font-size: 23px;
}
.voices h2 {
  color: #6b360a;
  text-align: center;
  font-weight: 600;
  font-size: 30px;
  margin: auto;
  padding-top: 15px;
}
.voices a:hover img {
  opacity: 0.5;
  transition: 0.8s;
}
.voices_container {
  margin: auto;
  max-width: var(--inner-max);
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 15px;
}
@media (max-width: 736px) {
  .voices_container {
    grid-template-columns: 1fr;
  }
}
.voices_block {
  background-color: #fff;
  padding: 1rem;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.12));
}
.voices_block .main_vc_box {
  height: 200px;
  width: 200px;
  margin: auto;
}
.voices_block img {
  display: block;
  width: 100%;
  height: auto;
  margin: auto;
}
.voices .voices_container .voices_block .voice_name {
  text-align: center;
  color: #333333;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.07em;
}
.voice_ken {
  font-weight: 100;
  font-size: 0.8rem;
  color: #999999;
}
.voice_lead {
  display:flex;
  flex-direction:column;
  gap:1.3rem;
  margin:1rem 0 0 0;
  min-height: 114px;
}

@media (min-width: 768px) {
.voice_lead {
gap:0.65rem;
}
}

.voice_lead p {
margin:0;
padding:0;
  font-size: 0.9rem;
}
.voice_link_btn {
  position: relative;
  background-color: #a1c945;
  display: block;
  text-align: center;
  max-width: 300px;
  margin: auto;
  padding: 0.5rem 1rem;
  font-weight: 700;
  color: #f7f7f7;
}
.voice_link_btn::after {
  position: absolute;
  content: " ";
  height: 1rem;
  width: 1rem;
  right: 0.5rem;
  top: 0;
  bottom: 0;
  margin: auto;
  background: url("../img/chevron-right.svg") center/cover no-repeat;
}
.voice_foot {
  margin: 0 auto 4rem auto;
  padding: 0;
  text-align: center;
  font-size: 30px;
  color: #6b360a;
}
.voice_foot a {
  margin: auto;
  display: block;
  border-bottom: 3px solid #6b360a;
  width: 230px;
}
.voice_foot span {
  font-size: 20px;
  font-weight: 500;
}
/* media */
/* section voices E */
.qa_title_wrapper {
  display: block;
  margin: auto;
}
.qa_title_wrapper_sp {
  display: none;
  margin: auto;
}
@media (max-width: 736px) {
  .qa_title_wrapper_sp {
    display: block;
    margin: auto;
  }
  .qa_title_wrapper {
    display: none;
    margin: auto;
  }
}
.txt_qa {
  font-size: 10px !important;
}
@media (max-width: 768px) {
  .img_doctor {
    display: none !important;
  }
}
.img_doctor {
  padding-top: 50px;
}
/***************************************

qa_list

***************************************/
.qa_list {
  background: url(../img/list_bg.webp) 50% 50% fixed;
  background-size: cover;
}
.qa_list .ib {
  padding: 0px 0px 50px;
}
.qa_list ul {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 15px;
}
.qa_list ul li {
}
/*.qa_list ul li a {
	padding: 15px 40px 15px 40px;
	color: #9c5c29;
	background: #fff;
	font-size: 13px;
	display: block;
	border: 1px solid #deb58a;
	border-bottom: 3px solid #deb58a;
	min-height: 100px;
	vertical-align: middle;
}
.qa_list ul li a:before {
	content: url(../img/icon01.webp);
	padding-right: 7px;
	position: relative;
	top: 3px;
}
.qa_list ul#seclist li a:before {
	content: url(../img/icon03.webp);
	padding-right: 7px;
	position: relative;
	top: 3px;
}*/
.qa_link_wrapper {
  display: table;
  height: 100px;
  width: 100%;
  padding: 5px;
  background-color: white;
  border: 1px solid #f7f7f7;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 5px;
}
.qa_link_wrapper_flex {
  display: flex;
  align-items: center;
  height: 100px;
  width: 100%;
  padding: 5px;
  background-color: white;
  border: 1px solid #f7f7f7;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 5px;
}
.qa_list .qa_link_wrapper_flex img {
  width: 30px;
  height: 30px;
  margin-right: 20px;
}
.qa_list .qa_link_wrapper_flex p {
  color: #333;
  font-weight: 400;
}
.qa_link_child {
  display: table-cell;
  vertical-align: middle;
  text-align: left;
}
.qa_link_child img {
  padding-top: 5px;
  padding-right: 8px;
  height: 30px;
  width: 30px;
}
.qa_link_child p {
  font-size: 1.2rem;
  font-weight: 700;
  color: #333;
  line-height: 1.7rem;
}
.qa_list ul li a:link {
  display: block;
}
.qa_list ul li a:hover {
  transition: 0.5s;
  opacity: 0.4;
}
.qa_section_title {
  display: block;
  padding: 3.5rem 1rem 1rem 1rem;
}
@media (max-width: 768px) {
  .qa_section_title {
    display: block;
  }
}
/* add 2019.02.11 */
.color_blue {
  color: #6e7db1 !important;
}
.color_red {
  color: #ff695e !important;
}
.color_brown {
  color: #6b360a !important;
}
.name {
}
.more {
  display: inline-block;
  padding: 3px;
  line-height: 1em;
  color: #6b360a;
  font-weight: 600;
}
.more a:link {
  border-bottom: 2px solid #6b360a;
}
.more a:hover {
  opacity: 0.5 !important;
}
.midashi_desc {
  padding: 10px;
  width: 400px;
  text-align: left;
}
@media (max-width: 768px) {
  .midashi_desc {
    width: 100%;
  }
}
.txt_ttl {
  display: block;
  font-weight: 700;
  font-size: 18px;
  padding-bottom: 4px;
}
.txt_gradient {
  position: relative;
}
.voice_btn a {
  display: block;
  margin: 3rem auto 0 auto;
  text-align: center;
  max-width: 300px;
  padding: 1rem;
  background-color: #5f442f;
  color: #f7f7f7;
  font-weight: 700;
  font-size: 1rem;
  position: relative;
  border-radius: 6px;
}
.voice_btn a::after {
  position: absolute;
  content: " ";
  right: 0.5rem;
  top: 0;
  bottom: 0;
  margin: auto;
  height: 1.5rem;
  width: 1.5rem;
  background: url("../img/chevron-right.svg") center/cover no-repeat;
}
.voice_btn a span {
  display: block;
}
.voice_btn a span.voice_subttl {
  display: block;
  font-size: 1rem;
  font-weight: 400;
}
.voice_btn a span.voice_more {
  display: block;
  font-size: 1.25rem;
  font-weight: 700;
}
.sikkan_list {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 15px;
  margin: auto;
}
@media (max-width: 768px) {
  .sikkan_list {
    grid-template-columns: 1fr;
  }
}
.sikkan_list li {
  padding: 10px;
  border: 1px solid #e3e3e3;
}
.sec_sikkan .sikkan_inner .sikkan_list .sikkan_ttl {
  font-weight: 700;
  font-size: 1rem;
  color: #5f442f;
  margin: 0 0 0.5rem 0;
}
.sikkan_list li p.sikkan_dsc {
  font-size: 0.85rem;
  color: #333;
  margin: 0 0 1rem 0;
  min-height: 120px;
  line-height: 1.7rem;
}
.sikkan_list li div.sikkan_imgbox {
  width: 100%;
  height: 170px;
  background-color: #999;
  margin: 0 0 5px 0;
  overflow: hidden;
}
.sikkan_list li div.sikkan_imgbox img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.sikkan_list li a.link_btn {
  position: relative;
  display: block;
  margin: auto;
  text-align: center;
  padding: 0.5rem 1rem 0.5rem 1rem;
  font-size: 1rem;
  background-color: #5f442f;
  color: #f7f7f7;
}
.sikkan_list li a.link_btn::after {
  position: absolute;
  content: " ";
  height: 1.2rem;
  width: 1.2rem;
  top: 0;
  right: 3px;
  bottom: -3px;
  margin: auto;
  background: url("../img/chevron-right.svg") center/cover no-repeat;
}
.sec_sikkan {
}
.sec_sikkan .sikkan_inner {
  padding: 2.5rem 1.5rem;
  width: var(--inner-max);
  max-width: 100%;
  margin: auto;
}
.sec_sikkan .sikkan_inner h3.sikkan_category {
  position: relative;
  font-size: clamp(1rem, 0.9rem + 0.5vw, 1.5rem);
  padding: 10px 0 10px 60px;
  background-color: #faf9f6;
}
.sec_sikkan .sikkan_inner h3.sikkan_category::before {
  position: absolute;
  content: "";
  height: 3px;
  width: 40px;
  background-color: #5f442f;
  top: 0;
  bottom: 0;
  left: 10px;
  margin: auto;
}
/* 脊髄小脳変性症の総論カード（遺伝性/孤発性の上位） */
.sec_sikkan .scd_overview {
  position: relative;
  display: flex;
  gap: 20px;
  background: #5f442f;
  border-radius: 10px;
  padding: 18px;
  margin: 28px 0 24px;
}
.sec_sikkan .scd_overview_badge {
  position: absolute;
  top: -38px;
  left: 18px;
  background: #ff9300;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  padding: 7px 18px;
  border-radius: 8px 8px 0 0; /* 上角だけ丸=タブ形。下辺はカードと一体化 */
}

.sec_sikkan .scd_overview_img {
  flex: 0 0 200px;
  height: 130px;
}
.sec_sikkan .scd_overview_img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 6px;
}
.sec_sikkan .scd_overview_body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.sec_sikkan .scd_overview_body h3 {
  margin: 0 0 8px;
  font-size: 22px;
  font-weight: 700;
  color: #ffffff; /* コントラスト最大化（白＋太字）で視認性確保 */
  text-align: left;
}
.sec_sikkan .scd_overview_body .scd_overview_description {
 display:flex;
 flex-direction:column;
 gap:1.3rem;
 margin:0 0 1rem;
}

@media (min-width: 768px) {
.sec_sikkan .scd_overview_body .scd_overview_description{
gap:0.65rem;
}
}

.sec_sikkan .scd_overview_body .scd_overview_description p {
  margin: 0;
  padding:0;
  font-size: 15px;
  line-height: 1.7;
  color: #f3ece0; /* リード文も明るめにして焦げ茶地で沈まないように */
}
.sec_sikkan .scd_overview_body .scd_overview_description h4.scd_overview_subttl {
  margin: 0.5rem 0 0.1rem;
  padding: 2px 0 2px 12px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.45;
  color: #ffdca8; /* オレンジ系の淡色にして本文（クリーム）から見出しを分離 */
  border-left: 4px solid #ff9300; /* アクセントバーでセクションの起点を明示 */
}
/* 見出しが連続する場合（潜性遺伝→非遺伝性）は間を詰めて1グループに見せる */
.sec_sikkan .scd_overview_body .scd_overview_description h4.scd_overview_subttl + h4.scd_overview_subttl {
  margin-top: 0;
}
.sec_sikkan .scd_overview_body .scd_overview_description .scd_overview_note {
  font-size: 12px;
  line-height: 1.6;
  opacity: 0.85;
}
.sec_sikkan .scd_overview_body a {
  display: inline-block;
  align-self: flex-start;
  background: #ff9300;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  padding: 9px 26px;
  border-radius: 4px;
}
@media (max-width: 768px) {
  .sec_sikkan .scd_overview {
    flex-wrap: wrap;
    gap: 14px;
    border-radius:0 0 10px 10px;
  }
  .sec_sikkan .scd_overview_img {
    flex: 0 0 100%;
    height: 180px;
  }
  
  .sec_sikkan .scd_overview_badge {
left:0;
right:0;
margin:auto;

}
  
}
.clr_stress {
  color: #6e7db1;
  font-weight: 700;
}
.clr_kousoku {
  color: #ff9300;
  font-weight: 700;
}
.clr_type {
  color: #ff695e;
  font-weight: 700;
}
.clr_onkyo {
  color: #6b360a;
  font-weight: 700;
}
/* topics s */
.topics_wrapper {
  display: flex;
  margin: 0 0 20px 0;
  /*border-bottom: 1px dashed #6b360a;*/
}
.topics_wrapper:last-child {
  border-bottom: 0;
}
.topics_wrapper h2 {
  font-size: 18px;
  color: #6b360b;
  width: 24%;
  border-right: 1px solid #e3e3e3;
  margin-right: 1rem;
}
.topics_wrapper h2 span {
  display: block;
  font-size: 60%;
  font-weight: 400;
  color: #999;
}
.topics_wrapper p {
  font-size: 0.85rem;
  line-height: 1.7rem;
  width: 74%;
}
@media (max-width: 768px) {
  .topics_wrapper {
    flex-wrap: wrap;
  }
  .topics_wrapper h2 {
    width: 100%;
    margin: auto;
    border: 0;
    border-bottom: 1px solid #e3e3e3;
    padding: 0 0 1rem 0;
  }
  .topics_wrapper p {
    width: 100%;
  }
}
/* topics e */
/* add 20230203 */
.customer_name {
  font-size: 15px;
  padding: 0;
  margin: 0;
  font-weight: 600;
  color: #333333;
  text-align: right;
}
.customer_state {
  font-size: 12px;
  text-align: right;
  opacity: 0.5;
  padding: 0;
  margin: 0 0 10px 0;
}
.qa_list ul li {
  position: relative;
}
.qa_list ul li .p_note {
  position: absolute;
  content: "";
  bottom: 0px;
  right: 12px;
  text-align: right;
  font-size: 12px;
  font-weight: 600;
  opacity: 0.6;
}
.about_box .hilight_box {
  height: 150px !important;
  width: 100% !important;
  overflow: hidden;
}
.about_box .hilight_box img {
  display: block;
  width: 100%;
  height: auto;
  margin: auto;
  object-fit: cover;
}
.sec_faq {
  padding: 3.5rem 1.5rem;
  background: url(../img/list_bg.webp) 50% 50% fixed;
  background-size: cover;
}
.sec_faq .faq_inner {
  max-width: var(--inner-max);
  margin: auto;
}
.sec_faq .faq_inner ul {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}
.sec_faq .faq_inner ul:last-of-type {
  margin-bottom: 0;
}
@media (max-width: 768px) {
  .sec_faq .faq_inner ul {
    grid-template-columns: 1fr;
  }
}
.sec_faq .faq_inner ul li {
  position: relative;
  padding: 1rem;
  backdrop-filter: blur(3px);
  background-color: rgba(255, 255, 255, 0.75);
  border-radius: 6px;
}
.sec_faq .faq_inner ul li img {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  top: 0;
  bottom: 0;
  left: 10px;
  margin: auto;
}
.sec_faq .faq_inner ul li a {
  display: block;
}
.sec_faq .faq_inner ul li a p {
  padding: 0;
  margin: auto;
}
.sec_faq .faq_inner ul li a p.faq_ttl {
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 5px 0;
}
.sec_faq .faq_inner ul li a p.faq_name {
  font-size: 11px;
  font-weight: 500;
  text-align: right;
  opacity: 0.7;
  position: absolute;
  right: 5px;
  bottom: 5px;
}


/* === FAQ 子カテゴリ・グルーピング === */

/* グループ間の余白とグループ見出し */
.sec_faq .faq_group {
  margin-bottom: 2rem;
}
.sec_faq .faq_group:last-child {
  margin-bottom: 0;
}
.sec_faq .faq_group_title {
  display: inline-block;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  background: #ff9300; /* ← グループ別ルールで上書き */
  padding: 6px 16px;
  border-radius: 4px;
  margin: 0 0 1rem;
}

/* 旧「Q」アイコン(li img)を廃止し、カテゴリ名ラベルに置換。
   アイコン用の左余白も上の li ルールで 1rem に戻し済み。 */

/* カテゴリ名バッジ（カード上部） */
.sec_faq .faq_inner ul li a .faq_cat_label {
  display: inline-block;
  background: #ff9300; /* ← 旧Qアイコンの色に合わせて要調整 */
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
  padding: 4px 8px;
  border-radius: 4px;
  margin-bottom: 6px;
}

/* 子カテゴリごとのバッジ色（共通ルールの background を上書き） */
.sec_faq .faq_inner ul li a .faq_cat_label.faq_cat--symptoms       { background: #e8554e; } /* 症状 */
.sec_faq .faq_inner ul li a .faq_cat_label.faq_cat--cause          { background: #e8804e; } /* 原因 */
.sec_faq .faq_inner ul li a .faq_cat_label.faq_cat--diagnosis      { background: #e8b04e; } /* 検査 */
.sec_faq .faq_inner ul li a .faq_cat_label.faq_cat--therapy        { background: #6fae5e; } /* 治療 */
.sec_faq .faq_inner ul li a .faq_cat_label.faq_cat--acupuncture    { background: #3fa39b; } /* 鍼灸 */
.sec_faq .faq_inner ul li a .faq_cat_label.faq_cat--rehabilitation { background: #4f8fc0; } /* リハビリ */
.sec_faq .faq_inner ul li a .faq_cat_label.faq_cat--prognosis      { background: #5f6fc0; } /* 予後 */
.sec_faq .faq_inner ul li a .faq_cat_label.faq_cat--genetics       { background: #8a6fc0; } /* 遺伝 */
.sec_faq .faq_inner ul li a .faq_cat_label.faq_cat--cost           { background: #b06fa8; } /* 費用 */
.sec_faq .faq_inner ul li a .faq_cat_label.faq_cat--clinic-visit   { background: #7a7a7a; } /* 通院 */
.sec_faq .faq_inner ul li a .faq_cat_label.faq_cat--uncategorized  { background: #999;    } /* 未分類 */

/* グループ見出し(H3)の色（バッジと同配色） */
.sec_faq .faq_group_title.faq_gttl--symptoms       { background: #e8554e; } /* 症状 */
.sec_faq .faq_group_title.faq_gttl--cause          { background: #e8804e; } /* 原因 */
.sec_faq .faq_group_title.faq_gttl--diagnosis      { background: #e8b04e; } /* 検査 */
.sec_faq .faq_group_title.faq_gttl--therapy        { background: #6fae5e; } /* 治療 */
.sec_faq .faq_group_title.faq_gttl--acupuncture    { background: #3fa39b; } /* 鍼灸 */
.sec_faq .faq_group_title.faq_gttl--rehabilitation { background: #4f8fc0; } /* リハビリ */
.sec_faq .faq_group_title.faq_gttl--prognosis      { background: #5f6fc0; } /* 予後 */
.sec_faq .faq_group_title.faq_gttl--genetics       { background: #8a6fc0; } /* 遺伝 */
.sec_faq .faq_group_title.faq_gttl--cost           { background: #b06fa8; } /* 費用 */
.sec_faq .faq_group_title.faq_gttl--clinic-visit   { background: #7a7a7a; } /* 通院 */
.sec_faq .faq_group_title.faq_gttl--uncategorized  { background: #999;    } /* 未分類 */

/* ============================================================
   音声で解説！脊髄小脳変性症は鍼で良くなるか？  .sec_audio
   ※ style.css の末尾に貼り付けてください
   ※ Astro のスコープ属性([data-astro-cid-...])は全て除去し、
      .sec_audio 配下に閉じたセレクタに書き換えています
   ※ グローバルリセット(*,h2,p,button 等)は既存 style.css に
      あるため意図的に含めていません
   ============================================================ */
.sec_audio {
  background-color: #fff;
  padding: 3rem 1.5rem;
}
.sec_audio .audio_inner {
  width: 860px;
  max-width: 100%;
  margin: auto;
  /* 帯(.sec_audio)は白のまま、中身だけをカード化して独立させる。
     下の検索ブロック(ベージュ)と色で喧嘩させないため、下地はごく淡い暖色。 */
  background: #faf9f6;
  border: 1px solid #f0ece3;
  border-radius: 16px;
  padding: 2.5rem 1.5rem;
  box-shadow: 0 6px 24px rgba(0, 0, 0, .04);
}
.sec_audio .audio_inner h2 {
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.4;
}
.sec_audio .audio_inner h2 span {
  display: inline-block;
  background-color: #f39800;
  color: #fff;
  padding: 8px 20px;
  border-radius: 50px;
  margin-bottom: 1rem;
  font-size: .8em;
}
.sec_audio .audio_inner p {
  width: 600px;
  max-width: 100%;
  margin: auto;
  line-height: 1.8;
}
.sec_audio .audio_inner h2 + p {
  text-wrap: wrap;
}
.sec_audio .audio_inner p.p_source {
  font-size: .8rem;
  color: #666;
  text-align: right;
  margin: 1rem auto 0;
}

/* ----- 再生プレイヤー ----- */
.sec_audio .custom-audio-player {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border-radius: 12px;
  max-width: 400px;
  background: #fff;
  font-family: sans-serif;
  margin: 2rem auto 0;
}
.sec_audio .custom-audio-player img {
  display: inline-block;
  height: 20px;
  width: 20px;
  vertical-align: middle;
  padding: 2px;
}
.sec_audio .custom-audio-player span.totaltime {
  font-weight: 900;
  color: #6a9925;
}
.sec_audio .custom-audio-player button {
  border: none;
  background: none;
  cursor: pointer;
}
.sec_audio .custom-audio-player input[type=range] {
  flex: 1;
  accent-color: #6a9925;
}

/* ----- テキスト全文 ----- */
.sec_audio .hidebox_wrapper {
  margin-top: 1rem;
  width: 800px;
  max-width: 100%;
  margin-inline: auto;
}
.sec_audio .audio_inner h2.hidebutton {
  font-size: .8rem;
  text-align: center;
  border-bottom: 1px solid #e3e3e3;
  width: 130px;
  margin: 1.5rem auto .3rem;
  max-width: 100%;
  padding-bottom: .3rem;
  cursor: pointer;
  font-weight: 400;
}
.sec_audio .hidebox {
  /* overflow は JS でも hidden のまま維持する。height:auto でも
     テキストは全て表示され、上マージンの相殺が起きないため
     開閉時の高さのカクつきが出ない。 */
  overflow: hidden;
  width: 600px;
  max-width: 100%;
  margin: auto;
}
.sec_audio .hidebox p {
  margin: 1rem 0;
}
/* ボタン下の余白。padding ではなく先頭pの上マージンで作ることで、
   閉じるアニメ(height→0)と一緒に縮み、display:none時の残留がない。
   ボタンの margin-bottom .3rem と合わせて隙間は約1rem。値は好みで調整可。 */
.sec_audio .hidebox p:first-child {
  margin-top: .7rem;
}
.sec_audio .hidebox p:last-of-type {
  margin-bottom: 0;
}
.sec_audio .hidebox .label {
  font-weight: 700;
  color: #333;
}
.sec_audio .hidebox .label.host {
  color: #f39800;
}

@media screen and (max-width: 768px) {
  .sec_audio {
    /* 帯は白を維持。#f8f7f3 にすると下の検索ブロックと同色で
       スマホでは逆に境目が消えるため、白のままにする。 */
    padding: 2.5rem 1rem;
  }
  .sec_audio .audio_inner {
    padding: 2rem 1.2rem;
  }
  .sec_audio .audio_inner h2 {
    font-size: 1.5rem;
  }
  .sec_audio .audio_inner p {
    width: 100%;
  }
}

/* ------------------------------------------------------------
   リード文の PC / SP 出し分け（SPは省略版でファーストビュー改善）
   ------------------------------------------------------------ */
.sec_audio .audio_lead--sp { display: none; }
@media screen and (max-width: 768px) {
  .sec_audio .audio_lead--pc { display: none; }
  .sec_audio .audio_lead--sp { display: block; }
}

/* ------------------------------------------------------------
   「音声で解説！」ラベル＝タップで再生できるトリガー化
   ※アイコンは Font Awesome を使わず自前のインラインSVGで描画
   ------------------------------------------------------------ */
.sec_audio .audio_inner h2 span.audio_label {
  display: inline-flex;
  align-items: center;
  gap: .45em;
  margin-bottom: .5rem; /* 下のふきだし／タイトルとの間隔を安定させる */
  cursor: pointer;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  transition: background-color .2s ease, transform .1s ease, box-shadow .2s ease;
  /* 初見でも「押せる」と気づけるよう、再生前はゆっくり脈動させる */
  animation: audioLabelPulse 2s ease-out infinite;
}
.sec_audio .audio_inner h2 span.audio_label:hover {
  background-color: #e08900;
  box-shadow: 0 4px 12px rgba(243, 152, 0, .35);
  animation-play-state: paused; /* ホバー中は脈動を止めてホバー影を見せる */
}
.sec_audio .audio_inner h2 span.audio_label:active {
  transform: translateY(1px);
}
.sec_audio .audio_inner h2 span.audio_label:focus-visible {
  outline: 3px solid rgba(243, 152, 0, .5);
  outline-offset: 2px;
}

/* ラベル内アイコン（ヘッドホン／再生・一時停止）の共通サイズ */
.sec_audio .audio_inner h2 span.audio_label .audio_label_ico,
.sec_audio .audio_inner h2 span.audio_label .audio_label_state {
  width: 1em;
  height: 1em;
  flex: 0 0 auto;
}
.sec_audio .audio_inner h2 span.audio_label .audio_label_ico { margin-right: .05em; }
.sec_audio .audio_inner h2 span.audio_label .audio_label_state {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.sec_audio .audio_inner h2 span.audio_label .audio_label_state svg { width: 100%; height: 100%; }
/* 停止中は▶、再生中は⏸を表示（CSSだけで切替、Font Awesome非依存） */
.sec_audio .audio_inner h2 span.audio_label .audio_label_state .ico_pause { display: none; }
.sec_audio .audio_inner h2 span.audio_label.is-playing .audio_label_state .ico_play { display: none; }
.sec_audio .audio_inner h2 span.audio_label.is-playing .audio_label_state .ico_pause { display: block; }

/* 再生中は色をプレイヤーと同系のグリーンに、誘導の脈動は停止 */
.sec_audio .audio_inner h2 span.audio_label.is-playing {
  background-color: #6a9925;
  animation: none;
}
.sec_audio .audio_inner h2 span.audio_label.is-playing:hover {
  background-color: #5c841f;
  box-shadow: 0 4px 12px rgba(106, 153, 37, .35);
}
/* 一度でも再生したら誘導は不要になるので恒久停止 */
.sec_audio .audio_inner h2 span.audio_label.audio-activated { animation: none; }

/* 「タップして再生」のふきだし（初見向けの明示ヒント） */
.sec_audio .audio_inner h2 i.audio_label_hint {
  display: block;
  width: -moz-fit-content;
  width: fit-content;
  margin: .15rem auto .2rem;
  position: relative;
  font-style: normal;
  font-weight: 700;
  font-size: .72rem;
  line-height: 1;
  color: #e08900;
  background: #fff5e6;
  border: 1px solid #ffcf80;
  border-radius: 50px;
  padding: 5px 12px;
  animation: audioHintBob 1.4s ease-in-out infinite;
}
/* ふきだしの上向き三角（ラベルを指す） */
.sec_audio .audio_inner h2 i.audio_label_hint::before {
  content: "";
  position: absolute;
  top: -5px;
  left: 50%;
  transform: translateX(-50%);
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-bottom: 5px solid #ffcf80;
}
/* 再生開始後はふきだしを隠す */
.sec_audio .audio_inner h2 span.audio_label.is-playing + i.audio_label_hint,
.sec_audio .audio_inner h2 span.audio_label.audio-activated + i.audio_label_hint {
  display: none;
}

@keyframes audioLabelPulse {
  0%   { box-shadow: 0 0 0 0 rgba(243, 152, 0, .45); }
  70%  { box-shadow: 0 0 0 12px rgba(243, 152, 0, 0); }
  100% { box-shadow: 0 0 0 0 rgba(243, 152, 0, 0); }
}
@keyframes audioHintBob {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(3px); }
}
/* 動きを控えたい設定のユーザーには演出を止める */
@media (prefers-reduced-motion: reduce) {
  .sec_audio .audio_inner h2 span.audio_label,
  .sec_audio .audio_inner h2 i.audio_label_hint {
    animation: none;
  }
}

/* ------------------------------------------------------------
   「森上鍼灸整骨院の紹介」と「音声で解説」の余白をやや縮める
   ------------------------------------------------------------ */
.about_us { margin-bottom: 28px; }
.sec_audio { padding-top: 2rem; }
@media screen and (max-width: 768px) {
  /* 文字を大きくした分、上側の余白を締めて「音声で解説」ボタンを
     ファーストビュー（iPhone 14 Pro Max / 432×932）内に収める */
  .about_us { margin-top: 20px; margin-bottom: 12px; }
  .sec_audio { padding-top: 1.6rem; }
  .sec_audio .audio_inner { padding-top: 1.8rem; }
}

/* ------------------------------------------------------------
   音声ブロック下：関連ページのタグ一覧
   ------------------------------------------------------------ */
.audio_taglist {
  background-color: #fff;
  padding: 0 1.5rem 2.5rem;
}
.audio_taglist .audio_taglist_inner {
  width: 860px;
  max-width: 100%;
  margin: auto;
}
.audio_taglist ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
}
.audio_taglist li { margin: 0; }
.audio_taglist a {
  display: inline-block;
  padding: 8px 16px;
  border: 1px solid #e3ddd0;
  border-radius: 50px;
  background: #faf9f6;
  color: #5f442f;
  font-size: .9rem;
  font-weight: 700;
  line-height: 1.3;
  text-decoration: none;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease, box-shadow .2s ease;
}
.audio_taglist a::before {
  content: "#";
  color: #f39800;
  margin-right: .35em;
  font-weight: 700;
}
.audio_taglist a:hover {
  background: #f39800;
  border-color: #f39800;
  color: #fff;
  box-shadow: 0 4px 12px rgba(243, 152, 0, .25);
}
.audio_taglist a:hover::before { color: #fff; }
@media screen and (max-width: 768px) {
  .audio_taglist {
    padding: 0 1rem 2rem;
  }
  .audio_taglist ul {
    gap: 8px 8px;
  }
  .audio_taglist a {
    font-size: .88rem;
    padding: 7px 13px;
  }
}

/* ============================================================
   高齢者ユーザー向け：本文の文字サイズをやや拡大
   ・大きくしすぎてUXを損ねないよう +1〜1.5px 程度の控えめな調整
   ・SPは「音声で解説」ボタンをファーストビューに残すため
     上部余白（.about_us / .sec_audio 上パディング）で相殺済み
   ・common_style.css はフロントページのみ読み込み → 他ページ非影響
   ============================================================ */
/* 森上鍼灸整骨院の紹介 */
.about_us .about_us__inner .about_us__box p { font-size: 16px; line-height: 1.55; }
/* 音声で解説：リード文・全文テキスト */
.sec_audio .audio_inner p { font-size: 17px; }
.sec_audio .hidebox p { font-size: 17px; }
/* タグ一覧 */
.audio_taglist a { font-size: .95rem; }
/* よくある質問（タイトル） */
.sec_faq .faq_ttl { font-size: 17px; }
/* 患者さんの声・疾患解説の本文 */
.voices .voice_lead p { font-size: 15.5px; }
.sec_sikkan .customer_voice p,
.sec_sikkan .scd_overview_description p { font-size: 16px; }

@media screen and (max-width: 768px) {
  .about_us .about_us__inner .about_us__box p { line-height: 1.5; }
  .sec_audio .audio_inner h2 { font-size: 25px; }
  .audio_taglist a { font-size: .95rem; }
}