@charset "UTF-8";

img {
  width: 100%;
  vertical-align: bottom;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.buileding {
  position: absolute;
  width: 8%;
  left: 7%;
  top: 0%;
  bottom: 0%;
  margin: auto;
}

.area_title {
  background: #fff;
}

.detaile_area {
  background: #f6f6f6;
  padding-left: 30px !important;
  position: relative;
}

.detaile_area::after {
  content: "";
  width: 10px;
  height: 2px;
  border-radius: 100px;
  background: #000;
  position: absolute;
  top: 49%;
  left: 10px;
  transition: all 0.1s ease-out;
}

.area_top_title {
  display: none;
}

.detaile_area.arrow-open::after {
  background: #ac9a49;
}

.arrow {
  position: relative;
  cursor: pointer;
  transition: max-height 1s ease-out; /* アニメーションを追加 */
}

.arrow::before {
  position: absolute;
  transition: transform 0.3s ease-out; /* アニメーションを追加 */
}

.arrow::before {
  content: "";
  right: 13px;
  top: 0;
  bottom: 0;
  margin: auto;
  width: 7px;
  height: 7px;
  border-top: 2px solid #000;
  border-right: 2px solid #000;
  -webkit-transform: rotate(135deg);
  transform: rotate(135deg);
}

.arrow.arrow-open::before {
  transform: rotate(315deg);
}

.arrow + div {
  opacity: 0;
  height: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.1s linear, visibility 0.1s linear, height 0.3s ease-out;
}

.arrow + div.open {
  opacity: 1 !important;
  height: auto;
  visibility: visible;
  pointer-events: auto;
  transition: height 0.1s ease-out, opacity 0.1s linear 0.1s,
    visibility 0.1s linear 0.1s;
}

.border_box {
  border-bottom: 1px solid #e1e1e1;
  box-sizing: border-box;
  font-weight: bold;
  font-size: 16px;
  padding-left: 10px;
  padding-right: 30px;
  padding-top: 0px;
  padding-bottom: 0px;
  transition: padding-top 0.3s ease-out, padding-bottom 0.3s ease-out;
}

.open > div > .border_box,
.open > .border_box {
  padding-left: 10px;
  padding-right: 30px;
  padding-top: 16px;
  padding-bottom: 16px;
  transition: padding-top 0.3s ease-out, padding-bottom 0.3s ease-out;
}

.detaile_area_content {
  padding-left: 0px !important;
  padding-right: 0px !important;
  padding-top: 0px !important;
  padding-bottom: 0px !important;
  transition: height 0.3s ease-out, padding-top 0.3s ease-out,
    padding-bottom 0.3s ease-out;
}

.open > .detaile_area_content {
  padding-top: 12px !important;
  padding-bottom: 12px !important;
  transition: height 0.3s ease-out, padding-top 0.3s ease-out, padding-bottom 0.3s ease-out;
  border-bottom: solid 1px #e1e1e1;
}

.detaile_area_content.hidden {
  opacity: 0;
  height: 0;
  padding: 0 !important;
  border: none;
}

.hidden {
  opacity: 0;
  height: 0;
  padding: 0 !important;
}

.detaile_area_content div > .store_name {
  font-weight: bold;
  color: #000;
  font-size: 16px;
}

span.address {
  color: #8c8c8c;
}
span.from_station {
  color: #e5738e;
}

.accodion p {
  line-height: 1.5;
  margin: 0px 0 0;
  padding: 0;
  font-size: 10px;
  font-weight: bold;
}

.fls {
  letter-spacing: 0.5px;
}

.map {
  width: 10px;
  padding: 0;
  margin: 0;
}

.detaile_area.no_store {
  color: #cdcdcd;
}

.detaile_area_hidden {
  font-size: 12px;
  padding: 0px 10px 5px;
  color: #478fde;
  position: relative;
  z-index: 1000;
  cursor: pointer;
}

.detaile_area_hidden > span {
  padding-right: 15px;
  position: relative;
}

.detaile_area_hidden > span::before {
  position: absolute;
	top: 0;
	bottom: 3px;
	margin: auto;
	content: "";
	vertical-align: middle;
  left: 0px;
	width: 8px;
	height: 8px;
	border-top: 1px solid #000;
	border-right: 1px solid #000;
	-webkit-transform: rotate(135deg);
	transform: rotate(135deg);
}

.detailmap_flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.detailmap_flex > img {
  width: 26%;
  height: 65px;
  object-fit: cover;
  border-radius: 3px;
}

.detailmap_flex > div:nth-of-type(1) {
  width: 45%;
}

.detailmap_flex > div:nth-of-type(2) {
  width: 25%;
  display: flex;
  justify-content: space-between;
  flex-direction: column;
}

.detaile_area_content a {
  text-decoration: none;
  color: #474747;
  line-height: 1.4;
  font-size: 14px;
}

.detailmap_flex > div:nth-of-type(1) a {
  font-size: 12px;
}

.detailmap_flex > div:nth-of-type(1) p,
.detailmap_flex > div:nth-of-type(1) p span {
  font-size: 11px;
  line-height: 1.4;
  margin-top: 0;
  display: inline-block;
}

.detailmap_flex > div:nth-of-type(1) a {
  display: block;
  line-height: 1.2;
  font-size: 13px;
  margin-bottom: 3px;
  display: flex;
}


.detailmap_flex > div:nth-of-type(2) a,
.detailmap_flex > div:nth-of-type(2) p {
  font-size: 10px;
}

.detailmap_flex > div:nth-of-type(2) .map-button {
  margin-top: 12px !important;
}

@media screen and (max-width: 331px) {
  .detaile_area_content > div:last-of-type {
    width: 31%;
  }
}

@media screen and (min-width: 400px) {
  .detaile_area_content > div:nth-of-type(2) {
    width: 50%;
  }
}

@media screen and (min-width: 700px) {
  .detaile_area_content > div:nth-of-type(2) {
    width: 66%;
  }
  .map_text {
    font-size: 11px;
    margin-left: 15px;
  }
  .detaile_area_content div > .store_name {
    font-size: 20px;
  }
  .accodion p {
    font-size: 12px;
  }
  .detaile_area_hidden {
    padding: 0px 10px 5px;
  }

  .detailmap_flex > img {
    width: 100px;
  }

  .detailmap_flex > div:nth-of-type(1) {
    width: 65%;
  }

  .detailmap_flex > div:nth-of-type(2) {
    width: 100px;
    align-items: center;
  }
}

/* ========================================
   近くのクリニックを探す（clinic_search と同一）
======================================== */

.max-w-600px {
  max-width: 700px;
}

.accodion {
  width: 92%;
  margin: 40px auto 0;
  box-sizing: border-box;
  border: 1px solid #837461;
  background: #fff;
}

.clinic_search .accodion {
  width: 100%;
  margin: 0;
  border: none;
}

.studio h4,
.accodion .area_top_title h4 {
  color: #fff;
  background-color: #837461;
  padding: 8px 15px;
  margin: 0;
  min-height: 40px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  box-sizing: border-box;
}

.accodion .clinic_search_list {
  width: 100%;
}

.accodion .clinic_search_item {
  width: 100%;
  border-bottom: 1px solid #e5e5e5;
}

.accodion .clinic_search_item:last-child {
  border-bottom: none;
}

.accodion .clinic_search_btn,
.accodion button.clinic_search_btn,
.accodion .clinic_search_btn.border_box,
.accodion .open > div > .clinic_search_btn.border_box,
.accodion .open > .clinic_search_btn.border_box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 42px;
  margin: 0;
  padding: 10px 12px !important;
  border: none !important;
  background: #fff;
  box-sizing: border-box;
  color: #837461;
  font-size: 15px;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  border-radius: 0;
  box-shadow: none;
  font-family: inherit;
  line-height: inherit;
}

.accodion .clinic_search_btn.no_store {
  color: #c5c5c5;
}

.accodion .clinic_search_arrow {
  position: relative;
  width: 9px;
  height: 9px;
  margin-left: 10px;
  border: 0;
  border-right: 2px solid #837461;
  border-bottom: 2px solid #837461;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.2s ease;
  flex-shrink: 0;
  background: none;
}

.accodion .clinic_search_item.is-open > .clinic_search_btn > .clinic_search_arrow {
  transform: rotate(225deg) translate(-2px, -2px);
}

.accodion .clinic_search_item:not(.is-open) > .clinic_search_btn > .clinic_search_arrow {
  transform: rotate(45deg) translateY(-2px);
}

.accodion .clinic_search_btn.no_store .clinic_search_arrow {
  opacity: 0.35;
}

/* 旧矢印・県名左の横棒を消す（矢印は .clinic_search_arrow のみ） */
.accodion .arrow::before,
.accodion .clinic_search_btn::after,
.accodion .clinic_search_btn.arrow.border_box::after,
.accodion .detaile_area::after {
  content: none !important;
  display: none !important;
  border: 0 !important;
  background: none !important;
  width: 0 !important;
  height: 0 !important;
}

/* 開閉：ページ側の .clinic_search_item.is-open .clinic_search_content が
   子孫まで開いてしまうのを、直下だけに制限する */
.accodion .clinic_search_item > .clinic_search_content {
  display: none;
  width: 100%;
  min-height: 0;
  padding: 0;
  background: #fff;
  box-sizing: border-box;
  opacity: 1 !important;
  height: auto !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

.accodion .clinic_search_item:not(.is-open) > .clinic_search_content {
  display: none !important;
}

.accodion .clinic_search_item.is-open > .clinic_search_content,
.accodion .clinic_search_item > .clinic_search_content.open {
  display: block !important;
}

.accodion .clinic_search_list > .clinic_search_item > .clinic_search_content {
  padding: 0;
  background: #fff;
}

.accodion .clinic_search_content .clinic_search_item > .clinic_search_content {
  padding: 15px;
  background: #fafafa;
}

.accodion .detaile_area_content {
  transition: max-height 0.3s ease, opacity 0.3s ease;
  font-size: 13px;
  color: #5c4327;
}

.accodion .open > .detaile_area_content {
  border-bottom: 1px solid #e5e5e5;
}

/* 店舗カード */
.accodion .detailmap_flex,
.accodion .shop-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 16px 0;
  border-bottom: 1px solid #eee;
}

.accodion .shop-left,
.accodion .detailmap_flex > div:nth-of-type(1) {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex: 1;
  width: auto;
}

.accodion .shop-img,
.accodion .store_img {
  width: 90px;
  height: 70px;
  object-fit: cover;
  border-radius: 4px;
  flex-shrink: 0;
}

.accodion .shop-info {
  min-width: 0;
}

.accodion .shop-name,
.accodion .detaile_area_content div > .store_name {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0 0 4px;
  color: #5c4327 !important;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
}

.accodion .icon-link {
  display: inline-block;
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  background: url(https://xn--mck0c1a0fv488ace1b.com/wp-content/uploads/2025/11/link_g.png) center / contain no-repeat;
}

.accodion .store_name.store_link::after {
  content: "";
  width: 15px;
  height: 15px;
  display: block;
  background: url(https://xn--mck0c1a0fv488ace1b.com/wp-content/uploads/2025/11/link_g.png) center / contain no-repeat;
}

.accodion .shop-address,
.accodion .adress_area,
.accodion .adress_area .address {
  margin: 0;
  color: #666;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
}

.accodion .shop-access,
.accodion .adress_area .from_station {
  margin: 4px 0 0;
  color: #e08676;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
}

.accodion .shop-right,
.accodion .detailmap_flex > div:nth-of-type(2) {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  width: auto;
  white-space: nowrap;
  flex-shrink: 0;
}

.accodion .btn-site,
.accodion .detailmap_flex > div:nth-of-type(2) a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 10px 14px !important;
  border-radius: 8px;
  background: #e08676 !important;
  box-shadow: 0 4px 0 #c74255 !important;
  color: #fff !important;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  text-align: center;
  text-decoration: none;
}

.accodion .btn-site .link_img {
  width: 12px;
  height: 12px;
  margin: 0;
}

.accodion .btn-map,
.accodion .map-button {
  font-size: 12px;
  color: #837461;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.accodion .detaile_area_hidden {
  color: #837461;
  font-size: 13px;
  font-weight: 700;
  padding: 10px 8px 14px;
}

.accodion .detaile_area_hidden > span::before {
  border-top-color: #837461;
  border-right-color: #837461;
}

@media screen and (max-width: 699px) {
  .accodion {
    margin-top: 30px;
  }

  .studio h4,
  .accodion .area_top_title h4 {
    font-size: 16px;
  }

  .accodion .clinic_search_btn,
  .accodion button.clinic_search_btn,
  .accodion .clinic_search_btn.border_box {
    min-height: 42px;
    padding: 10px 10px !important;
    font-size: 14px;
  }

  .accodion .shop-img,
  .accodion .store_img {
    width: 75px;
    height: 55px;
  }

  .accodion .shop-name,
  .accodion .detaile_area_content div > .store_name {
    font-size: 13px;
  }

  .accodion .shop-address,
  .accodion .adress_area .address {
    font-size: 11px;
  }

  .accodion .shop-access,
  .accodion .adress_area .from_station {
    font-size: 11px;
  }

  .accodion .btn-site,
  .accodion .detailmap_flex > div:nth-of-type(2) a {
    font-size: 11px;
    padding: 8px 10px !important;
  }

  .accodion .btn-map,
  .accodion .map-button {
    font-size: 11px !important;
  }
}

.xxc-store-list .open > .detaile_area_content {
  display: block;
  opacity: 1;
  height: auto;
  visibility: visible;
}

