@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;
}

.shop-info h3 {
    margin-top: 0px;
}

.shop-right a img {
  width: 16px;
}


.detailmap_flex > div:nth-of-type(1) {
    display: flex;
    align-items: center;
    gap: 13px;
}

.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) {
    align-items: center;
  }
}

.shop-access {
    font-size: 13px;
    color: #d55378;
    margin: 0;
}
/* ==============================================
   近くのクリニックを探す（デザイン合わせ）
   既存のマークアップ/挙動は維持しつつ上書き
   ============================================== */

/* セクション見出し（任意のコンテナ .studio を使う場合） */
.studio h4{
  color:#fff;
  background-color:#7792ad;
  padding:8px 0 5px;
  margin-top:40px;
    margin-bottom: 0;
}
.studio .box{
  border:2px solid #7792ad;
  padding:10px;
}

/* --- アコーディオン（上位エリア） --- */
.accodion .border_box{
  border:none;
  width:100%;
  background:#fff;
  padding:12px;
  font-size:18px;
  cursor:pointer;
  text-align:left;
  border-bottom:1px solid #ddd;
  position:relative;
  box-sizing:border-box;
}
/* 既存の矢印アイコンは非表示にして、文字矢印に変更 */
.accodion .arrow::before{
  display:none;
}
.accodion .arrow.border_box::after{
  content:"⌄";
  position:absolute;
  right:10px;
  top:50%;
  transform:translateY(-50%);
  transition:.3s;
  left:auto;
  width:auto;
  height:auto;
  background:none;
  border:0;
  display:inline-block;
}
.accodion .arrow.arrow-open.border_box::after{
  content:"⌃";
}
/* 県名の左に出る短い横棒（既存 ::after）を、arrowが無い要素だけ無効化 */
.accodion .detaile_area:not(.arrow)::after{
  content:none;
  display:none;
}

/* --- アコーディオン（都道府県/下位）とエリア（上位）の配色を正す --- */
/* 上位エリア（白/18px） */
.accodion .area_title.border_box{
  background:#fff;
  padding:12px;
  font-size:18px;
}
/* 都道府県（グレー/16px） */
.accodion .detaile_area.border_box{
  background:#f5f5f5;
  padding:12px 12px 12px 18px;
  font-size:16px;
}

/* コンテンツ部（中身） */
.accodion .detaile_area_content{
  transition:max-height .3s ease, opacity .3s ease;
  font-size:13px;
  color:#333;
}

/* 店舗カード行（.detailmap_flex をカード風に） */
.accodion .detailmap_flex{
  display:flex;
  justify-content:space-between;
  align-items:center;
  border-bottom:1px solid #eee;
  padding:16px 0;
  gap:16px;
}

/* 左側（画像+テキスト） */
.accodion .store_img{
  width:130px;
  height:105px;
  object-fit:cover;
  border-radius:4px;
}
.accodion .detaile_area_content div > .store_name{
  font-size:15px;
  font-weight:bold;
  margin:0;
  display:flex;
  align-items:center;
  gap:4px;
}
/* 店名の外部リンクアイコン */
.accodion .store_name.store_link::after{
  content:"";
  width:15px;
  height:15px;
  display:block;
  background-size:contain;
  background-repeat:no-repeat;
  background-position:center;
  background-image:url(https://xn--mck0c1a0fv488ace1b.com/wp-content/uploads/2025/11/link_g.png);
}
.accodion .adress_area{
  margin:0;
}
.accodion .adress_area .address{
  font-size:13px;
  color:#666;
}
.accodion .adress_area .from_station{
  font-size:13px;
  color:#d55378;
}

/* 右側（ボタン縦並び） */
.accodion .detailmap_flex > div:nth-of-type(2){
  display:flex;
  flex-direction:column;
  gap:15px;
  white-space:nowrap;
}

/* サイトボタン（緑） */
.accodion .detailmap_flex > div:nth-of-type(2) a{
  font-size:12px;
  border-radius:5px;
  text-align:center;
  background-color:#0ab32e !important;
  padding:10px 15px !important;
  color:#fff !important;
  font-weight:600;
  box-shadow:0 4px 0 #068a22 !important;
  letter-spacing:0;
}

/* 地図を見る（テキストボタン風） */
.accodion .map-button{
  font-size:12px;
  color:#444;
  text-decoration:none;
  text-align:center;
  cursor:pointer;
}

/* スマホ調整 */
@media (max-width: 768px){
  .accodion .store_img{
    width:75px;
    height:55px;
  }
  .accodion .detaile_area_content div > .store_name{
    font-size:13px;
  }
  .accodion .adress_area .address{
    font-size:9px;
  }
  .accodion .adress_area .from_station{
    font-size:8px;
  }
  .accodion .detailmap_flex > div:nth-of-type(2) a{
    font-size:8px;
    padding:6px 7px !important;
  }
  .accodion .map-button{
    font-size:9px !important;
  }
}

