.counceling_btn a{display: block; text-align: center; margin: 20px auto; width: 100%; max-width: 500px; font-weight: 600; text-decoration: none; }
.c_title{text-align: center; font-weight: 600; margin-bottom: 10px; font-size: 18px;}
.view-detail{background: #fff; padding: 15px; }

.closeModal {
  position: absolute;
  right: 20px;
  top: 20px;
  width: 32px;
  height: 32px;
  cursor: pointer;
}

.closeModal::before,
.closeModal::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 20px;
  height: 2px;
  background: #000;
  transform-origin: center;
}

.closeModal::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

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

.closeModal:hover {
  opacity: .6;
}
.backBtn {
  all: unset;
  cursor: pointer;
}
.view-detail {
  text-align: center;
}
.backBtn {margin: 0 auto 20px;
  all: unset;
  display: inline-flex;
  align-items: center;
  gap: 8px; font-size: 12px;
  padding: 4px 10px;
  color: #fff; background: #333;
  border-radius: 4px;
  cursor: pointer;
  transition: .2s;
}

.backBtn::before {
  content: "←";
}

.clinic-btn {
  all: unset; color: #db7c7c;
  display: block;
  width: calc(100% - 32px);
  padding: 12px 16px;
  cursor: pointer;
  background: #f5f5f5;
  border-bottom: 1px solid #ddd;
}

.clinic-btn:hover {
  background: #e9e9e9;
}
.accordion-header{background: #db7c7c; color: #fff; padding: 10px;}
.accordion-body {
  display: none;
  margin-top: 10px;
}

.clinic-detail{max-width: 700px; margin: 0 auto;}
.accordion.active .accordion-body {
  display: block;
}

.accordion .icon {
  float: right;
  font-weight: bold;
}
#openModal {
  all: unset;
  cursor: pointer;
}
.view-list{max-width: 800px; margin: 0 auto;}
.modal { font-family:
    "Noto Sans JP",
    "Hiragino Sans",
    "Yu Gothic",
    "Meiryo",
    sans-serif;
  font-weight: 400;
  position: fixed;
  inset: 0;
  background: rgba(255,255,255,.9);
  display: none;
  z-index: 9999;
}

.modal.active {z-index: 10000;
  display: block;
}

.modal-inner {
  height: 100%;
  overflow: auto;
  padding: 20px;
padding-top: 20vw;}

.area-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
}

.area-tabs li { font-size: 14px;
  background: #f8e9e9; color: #db7c7c;
  text-align: center;
  padding: 12px 5px;
  cursor: pointer;
}

.area-tabs li.active {
  background: #db7c7c;
  color: #fff;
}
.accordion-body {
  display: none;
  margin-top: 10px;
}

.accordion.active .accordion-body {
  display: block; 
}

.view {
  display: none;
}

.view.active {line-height: 2;
  display: block;
}
.view.active p{margin: 0 5px 15px 0; color: #000; line-height: 1.5;}
.view.active h2{margin: 30px 0 0 0; line-height: 2; color: #000;}
.closeModal {
  position: absolute;
  right: 20px;
  top: 20px;
}



@media screen and (min-width: 769px) {
  .modal-inner {
    padding-top: 100px;
  }
}

.clinic-layout{
  display:flex;
  gap:30px;
  align-items:flex-start;
}

.clinic-text{
  flex:1; text-align: left;
}

.clinic-photo{margin-top: 30px;
  width:300px;
}

.clinic-photo img{
  width:100%;
  height:auto;
  display:block;
}

/* SP */
@media(max-width:768px){
.clinic-layout{
  gap:0;
}

  .clinic-layout{
    flex-direction:column;
  }
.clinic-text{margin: 0 auto; text-align: center;}
  .clinic-photo{margin: 20px auto 0 auto;
    width:100%; max-width: 400px;
    order:-1;
  }

}