@charset "UTF-8";

.lower_warp .content {
    margin: 0 auto;
}
/*産後矯正エリア：共通部分*/
img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}
.inner {
  max-width: 570px;
  margin-left: auto;
  margin-right: auto;
}
.sec-ttl {
  font-size: 2.2rem;
  font-weight: bold;
}
.border-ttl {
  border-left: 5px solid #eb8634;
  line-height: 1;
  padding-left: 10px;
  width: fit-content;
  margin-inline: auto;
  margin-top: 80px;
}
h3.accent-ttl {
  font-size: 1.8rem;
  color: #644934;
  padding-bottom: 15px;
  text-align: left;
  letter-spacing: 0;
}
.line_text {
  color: #eb8634;
  margin-top: 40px;
}
.list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  padding-top: 30px;
}
.lower_warp:has(.full-width) {
  overflow: hidden;
}
.full-width {
  margin-left: -50vw;
  margin-right: -50vw;
}
.full-width__inner {
  max-width: 750px;
  margin-left: auto;
  margin-right: auto;
}
.sp-br-769px {
  display: none;
}
.sp-br-580px {
  display: none;
}
.sp-br-440px {
  display: none;
}
@media screen and (max-width: 769px) {
  .list {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 270px;
    margin: auto;
  }
  .inner {
    max-width: auto;
    padding: 0 20px;
  }
  .sp-br-769px {
    display: block;
  }
}
@media screen and (max-width: 580px) {
  .sp-br-580px {
    display: block;
  }
  .sec-ttl {
    font-size: 1.8rem;
  }
  h3.accent-ttl:not(.box-ttl) {
    font-size: 1.4rem;
  }
}
@media screen and (max-width: 440px) {
  .sp-br-440px {
    display: block;
  }
}
/*お悩み解消エリア*/
.solution {
  background-color: #fff3ec;
  padding-top: 20px;
  padding-bottom: 60px;
  margin-top: 60px;
  max-width: 750px;
  margin-left: auto;
  margin-right: auto;
}
.list-item {
  text-align: left;
}
.text {
  padding-top: 60px;
}
.item {
  margin-top: 30px;
  position: relative;
  padding-left: 60px;
}
.item::before {
  background-image: url(../../assets/img/icon_check.svg);
  background-repeat: no-repeat;
  content: "";
  position: absolute;
  top: 1.2em;
  left: 0;
  transform: translateY(-50%);
  width: 26px;
  height: 26px;
}
@media screen and (max-width: 769px) {
  .text {
    padding-top: 30px;
  }
}
@media screen and (max-width: 440px) {
  .item {
    padding-left: 30px;
  }
  .item::before {
    background-image: url(../../assets/img/icon_check-sp.svg);
    width: 16px;
    height: 16px;
    top: 0.8em;
  }
}

/*施術内容*/
.service .accent-ttl {
  padding-top: 30px;
}
.service-ttx {
  text-align: left;
}
.service-category {
  text-align: left;
}
.service-category span {
  color: #eb8634;
  display: inline-block;
  border: 1px solid #eb8634;
  border-radius: 5px;
  padding: 5px 15px;
  margin-top: 20px;
  margin-right: 10px;
}
/*流れエリア*/
.step-list {
  width: max-content;
  margin-inline: auto;
  margin-top: 22px;
}
.step-list-item {
  font-size: 1.8rem;
  font-weight: bold;
  display: flex;
  align-items: center;
  margin-top: 22px;
  position: relative;
  text-align: left;
}
.step-list-item:not(:last-child):before {
  position: absolute;
  content: "";
  width: 2px;
  height: 15px;
  left: 25px;
  top: calc(100% + 3px);
  border-left: 2px dotted #ffd54f;
}
.number {
  color: #fff;
  font-size: 8px;
  display: inline-block;
  border: 1px solid #ffd54f;
  border-radius: 22px;
  padding: 4px 12px;
  background-color: #ffd54f;
  margin-right: 50px;
}
@media (max-width: 769px) {
  .solution {
    margin-left: 20px;
    margin-right: 20px;
  }
}
@media (max-width: 440px) {
  .number {
    margin-right: 15px;
  }
}
/*質問エリア*/
.question-box {
  margin-top: 30px;
  padding-top: 20px;
  font-size: 1.8rem;
  font-weight: bold;
  max-width: 750px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

/* アコーディオン全体 */
.accordion__list:first-child {
  border-top: 1px solid #d9d9d9;
}
.accordion__list {
  border-bottom: 1px solid #d9d9d9;
}

/* summary（質問ボタン） */
.accordion__title.accordion__button {
  list-style: none; /* マーカー削除 */
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border-radius: 20px;
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  padding: 10px 80px 10px 20px;
  background-color: #fff;
  border: 2px solid #fff;
  font-size: 1.8rem;
  font-weight: bold;
  color: #644934;
  font-family: inherit;
  text-align: left;
  cursor: pointer;
  transition: 0.25s;
}

/* Qマーク */
.accordion__title.accordion__button::before {
  content: "Q";
  display: inline-block;
  width: 2em;
  flex-shrink: 0;
}

/* プラスマーク */
.accordion__plus {
  display: block;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid #644934;
  position: absolute;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
  transition: background-color 0.3s;
}

.accordion__plus::before,
.accordion__plus::after {
  content: "";
  display: block;
  width: 10px;
  height: 2px;
  border-radius: 100vh;
  background-color: #644934;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(0deg);
  transition: transform 0.3s, background-color 0.3s;
}

.accordion__plus::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

/* details[open] で開いたときのスタイル */
details[open] .accordion__plus {
  background-color: #644934;
}

details[open] .accordion__plus::before,
details[open] .accordion__plus::after {
  background-color: white;
}

details[open] .accordion__plus::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

/* 回答部分（開閉アニメーション付き） */
.accordion__body {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.3s ease;
}

details[open] .accordion__body {
  max-height: 1000px; /* 任意の大きさに調整 */
  transition: max-height 0.5s ease;
}

/* 回答内ラッパー */
.accordion__inner {
  padding: 10px 80px 10px 20px;
}

/* 回答テキスト */
.accordion__text {
  display: flex;
}

.accordion__text::before {
  content: "A";
  display: inline-block;
  width: 2em;
  flex-shrink: 0;
}

/*質問：レスポンシブ*/
@media (max-width: 769px) {
  .question {
    padding: 0 20px;
  }
}
/*料金案内*/
/* price-tableはそのままでOK */
.price-text {
  margin-top: 30px;
}
.price-table {
  width: 750px;
  margin-inline: auto;
  margin-top: 30px;
  table-layout: fixed;
}
table.price-table tr {
  border: none;
}
table.price-table th,
table.price-table td {
  background-color: transparent;
  width: 33.33%;
  font-size: 1.8rem;
  padding-top: 14px;
  padding-bottom: 14px;
}
table.price-table thead th {
  background-color: #ffd54f;
  border-left: 5px solid #fff;
  border-right: 5px solid #fff;
  border-top-right-radius: 20px;
  border-top-left-radius: 20px;
}
table.price-table tbody th,
table.price-table tbody td {
  background-color: #fffbe1;
  border-left: 5px solid #fff;
  border-right: 5px solid #fff;
}
table.price-table tbody tr:not(:last-child) th,
table.price-table tbody tr:not(:last-child) td {
  background-image: linear-gradient(90deg, #644934 50%, transparent 50%);
  background-size: 10px 1px;
  background-repeat: repeat-x;
  background-position: bottom;
}
.price-table th {
  font-weight: bold;
}
@media (max-width: 769px) {
  .price {
    margin: auto 20px;
  }
  .price-table {
    width: 100%;
  }
  .price-table th,
  .price-table td {
    font-size: 1.4rem;
    word-break: break-word;
  }
}
@media screen and (max-width: 440px) {
  .price-text {
    text-align: left;
  }
  .price-text .sp-br-580px {
    display: none;
  }
}
/*ご予約エリア*/
.reservation {
  margin-top: 80px;
  background-color: #eb8634;
  padding-bottom:80px;
}
.reservation-ttl {
  color: #fff;
  font-size: 2.2rem;
  font-weight: bold;
  padding-top: 60px;
  margin-bottom: 20px;
}
.reservation-accent-ttl {
  font-size: 3.6rem;
  display: inline-block;
}
.reservation-accent-ttl::after {
  content: "";
  display: block;
  width: 46px;
  height: 3px;
  background: #fff;
  margin: 3px auto 0;
}
.box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #fff;
  border-radius: 25px;
  padding: 30px;
}
.box .accent-ttl {
  text-align: center;
}
.box-left .box-ttl {
  position: relative;
  padding-left: 32px;
  text-align: center;
}
.box-left .box-ttl::before {
  content: "";
  background-image: url(../../assets/img/icon_phone.png);
  background-size: contain;
  width: 24px;
  height: 24px;
  position: absolute;
  left: 85px;
  top: 35%;
  transform: translateY(-50%);
}
.box-right .box-ttl {
  position: relative;
  padding-left: 32px;
  text-align: center;
}
.box-right .box-ttl::before {
  content: "";
  background-image: url(../../assets/img/icon_line.png);
  background-size: contain;
  width: 24px;
  height: 24px;
  position: absolute;
  left: 85px;
  top: 35%;
  transform: translateY(-50%);
}
.box-right {
  border-left: 1px solid #eb8634;
  border-top: none;
}
.box-right img {
  width: 95px;
  height: 95px;
}
.box-number {
  font-size: 3.2rem;
  font-weight: bold;
  display: inline-block;
  margin: 13px auto;
}
@media (max-width: 769px) {
  .reservation-ttl {
    font-size: 1.8rem;
  }
  .reservation-accent-ttl {
    font-size: 2.2rem;
  }
  .full-width {
    margin-left: 0;
    margin-right: 0;
  }
  .full-width__inner {
    padding-inline: 20px;
    box-sizing: border-box;
  }
  .box {
    width: 100%;
    grid-template-columns: 1fr;
    gap: 30px;
    box-sizing: border-box;
  }
  .box-right {
    border-left: none;
    border-top: 1px solid #eb8634;
    padding-top: 20px;
  }
  .box-left .box-ttl,
  .box-right .box-ttl {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0;
  }
  .box-left .box-ttl::before,
  .box-right .box-ttl::before {
    content: "";
    background-size: contain;
    background-repeat: no-repeat;
    width: 40px;
    height: 40px;
    margin-bottom: 8px;
    position: static;
    transform: none;
  }
}
/*交通事故とぎっくり腰の共通エリア*/
/*inner*/
.problem-inner {
  max-width: 750px;
}
.problem-list {
  grid-template-columns: repeat(5, 1fr);
}
.problem-list_item p {
  text-align: left;
}
/*交通事故：レントゲン・医師免許*/
.wapper {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.wapper-content {
  display: flex;
  align-items: flex-start;
  gap: 40px;
}
.wapper-content img {
  flex-shrink: 0;
  width: 315px;
  height: 232px;
  border-radius: 12px;
  object-fit: cover;
}
.wapper-content-item {
  flex: 1;
  text-align: left;
}
.wapper h2 {
  padding-top: 0;
  font-size: 1.8rem;
}
.wapper p {
  padding-top: 20px;
}
.wapper-content:nth-child(2) {
  flex-direction: row-reverse;
}
@media (max-width: 769px) {
  .problem-list {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 440px;
    margin: auto;
  }
  .problem-inner {
    max-width: auto;
    padding: 0 20px;
  }
  .wapper-content {
    flex-direction: column;
    align-items: center;
    text-align: left;
  }
  .wapper-content img {
    width: 440px;
    height: auto;
    max-width: 100%;
    display: block;
    margin: 0 auto;
  }
  .wapper-content-item {
    max-width: 440px;
    padding-left: auto;
    padding-right: auto;
  }
  .wapper-content:nth-child(2) {
    flex-direction: column;
  }
}
@media (max-width: 440px) {
  .problem-list {
    grid-template-columns: repeat(2, 1fr);
    max-width: 270px;
  }
}
/*ぎっくり腰エリア*/
.backpain-text {
  font-size: 1.8rem;
  padding-top: 30px;
  text-align: left;
}
.backpain-banner {
  background-color: #fff3ec;
  padding-top: 40px;
  padding-bottom: 40px;
  color: #644934;
  text-align: center;
  line-height: 1.8;
  font-size: 2.2rem;
  margin-top: 60px;
  width: 750px;
  box-shadow: 10px 10px #644934;
  margin-top: 60px;
}
.double-line {
  position: relative;
  font-weight: bold;
  display: inline-block;
  padding: 8px 0;
  font-size: 3.2rem;
}
.double-line::before,
.double-line::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 10px;
  background: url("../../assets/img/icon_double-line.svg");
  background-repeat: no-repeat;
}
.double-line::before {
  top: 0px; /* 上線の位置 */
}
.double-line::after {
  bottom: 0px; /* 下線の位置 */
}
.highlight {
  font-size: 3.2rem;
  font-weight: bold;
}
.subline {
  padding-top: 20px;
}
.backpain-banner-icon {
  position: relative;
  font-weight: bold;
}
.backpain-banner-icon::before {
  content: "";
  position: absolute;
  top: -25px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 20px;
  background: url("../../assets/img/icon_radiation.svg");
  background-repeat: no-repeat;
}
@media (max-width: 769px) {
  .backpain-banner {
    width: 100%;
    text-align: center;
    font-size: 2.2rem;
  }
  .backpain-banner-wapper {
    display: inline-block;
    text-align: left;
  }
  .double-line,
  .highlight {
    font-size: 3.2rem;
  }
}
@media (max-width: 580px) {
  .backpain-banner {
    font-size: 1.8rem;
  }
  .double-line,
  .highlight {
    font-size: 2.2rem;
  }
  .backpain-banner-icon::before {
    padding-top: 10px;
    top: -16px;
    width: 24px;
    height: 10px;
    background: url("../../assets/img/icon_radiation-sp.svg");
    background-repeat: no-repeat;
  }
}
@media (max-width: 460px) {
  .backpain-banner {
    padding-top: 20px;
    padding-bottom: 20px;
    font-size: 1.4rem;
  }
  .double-line,
  .highlight {
    font-size: 1.8rem;
  }
}

.voice-inner{
    max-width: 750px;
}

.voice-area{
  margin-top:80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2em;
}

@media (max-width: 580px) {
.voice-area{
  grid-template-columns: 1fr;
}
}

.voice-block a{
  display: block;
  background:#fff3ec;
  padding:2em;
  text-align: left;
  height: 100%;
}

.voice-area figure{
  text-align: center;
  margin-bottom: 20px;
}

.voice-btn{
  margin-top:20px;
  text-align: right;
}

.voice-btn a{
  background:#eb8634;
  color: #fff3ec;
  display:inline-block;
  padding:10px 50px 10px 40px;
  position: relative;
}

.voice-btn a::after{
  content: "";
    position: absolute;
    top: 0;
    right:10px;
    bottom: 0px;
    display: block;
    width: 1em;
    height: 1em;
    clip-path: polygon(0px 7%, 7% 0px, 57% 50%, 7% 100%, 0px 93%, 43% 50%, 0px 7%);
    margin: auto;
    background: #fff;
}
