@charset "UTF-8";

/* ----------------------------------------------------------------------
 アクセスページ (page-access.php) 専用スタイル
---------------------------------------------------------------------- */

/* ----- マップ ----- */
.ac_map {
  width: 100%;
  height: 420px;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 32px;
}
.ac_map iframe {
  display: block;
}

/* ----- 住所・アクセス 2カラム ----- */
.ac_body {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

/* ----- 住所ブロック ----- */
.ac_address_block {
  flex: 1;
  min-width: 0;
}

.ac_clinic_name {
  font-size: 1.1rem !important;
  font-weight: 700 !important;
  color: var(--main_color) !important;
  margin: 0 0 6px !important;
}

.ac_address {
  font-size: 0.95rem !important;
  color: #333 !important;
  margin: 0 0 16px !important;
}

.ac_notes {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 0 20px !important;
}
.ac_notes li {
  position: relative;
  padding-left: 1.2em;
  font-size: 0.9rem;
  color: #444;
  line-height: 1.8;
  margin-bottom: 6px;
}
.ac_notes li::before {
  content: '●';
  position: absolute;
  left: 0;
  color: var(--main_color);
  font-size: 0.6em;
  top: 0.45em;
}
.ac_notes span {
  font-size: 0.85em;
  color: #777;
}

/* Google Map リンクボタン */
.ac_map_link {
  display: inline-block;
  font-size: 0.85rem;
  color: var(--main_color) !important;
  border: 1px solid var(--main_color);
  border-radius: 20px;
  padding: 6px 20px;
  text-decoration: none !important;
  transition: background .2s, color .2s;
  line-height: 1.6;
}
.ac_map_link::after {
  content: ' ↗';
  font-size: 0.75em;
}
.ac_map_link:hover,
.ac_map_link:focus {
  background: var(--main_color);
  color: #fff !important;
}

/* ----- アクセス方法ブロック ----- */
.ac_access_block {
  flex: 0 0 340px;
  width: 340px;
  background: #f7f9fb;
  border: 1px solid #e4eaf0;
  border-radius: 10px;
  padding: 24px 26px;
}

.ac_access_list {
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.ac_access_item {
  display: block;
}

.ac_access_label {
  font-size: 0.78rem !important;
  font-weight: 700 !important;
  color: #fff !important;
  background: var(--main_color) !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
  padding: 3px 12px !important;
  border-radius: 3px !important;
  margin: 0 0 8px !important;
  letter-spacing: 0.03em !important;
}

/* 電車アイコン */
.ac_access_label--train::before {
  content: '';
  display: inline-block;
  width: 14px;
  height: 14px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='2' width='16' height='16' rx='2'/%3E%3Cpath d='M4 10h16'/%3E%3Cpath d='M8 18l-2 3'/%3E%3Cpath d='M16 18l2 3'/%3E%3Ccircle cx='8.5' cy='14' r='1'/%3E%3Ccircle cx='15.5' cy='14' r='1'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  flex-shrink: 0;
}

/* 車アイコン */
.ac_access_label--car::before {
  content: '';
  display: inline-block;
  width: 14px;
  height: 14px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 17H3v-5l2-5h14l2 5v5h-2'/%3E%3Ccircle cx='7.5' cy='17.5' r='2.5'/%3E%3Ccircle cx='16.5' cy='17.5' r='2.5'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  flex-shrink: 0;
}

.ac_access_detail {
  font-size: 0.9rem;
  color: #333;
  line-height: 1.7;
  margin: 0;
  padding-left: 0.5em;
}
.ac_access_detail strong {
  color: var(--main_color);
}

/* ======================================================
   レスポンシブ
====================================================== */
@media screen and (max-width: 750px) {
  .ac_map {
    height: 280px;
    border-radius: 8px;
    margin-bottom: 24px;
  }
  .ac_body {
    flex-direction: column;
    gap: 24px;
  }
  .ac_access_block {
    flex: none;
    width: 100%;
    padding: 20px;
  }
}
