/* サイドバーとメインコンテンツを横並びにするレイアウト */

.page_container {
  max-width: 1280px;
  height: auto;
  display: flex;
  justify-content: center;
  /* 全体を中央寄せ */
  width: 100%;
  /* サイト全体の最大幅に合わせて調整してください */
  margin: 0 auto -0.2rem auto;
  /* 画面中央に配置 */
}

/* 全体 */
.all_wrapper {
  width: 100%;
  max-width: 52.6rem;
  /* 固定幅ではなく最大幅にする */
  background-color: white;
  margin: 0 auto;
  font-family: "M PLUS Rounded 1c", sans-serif;
  font-weight: bold;
  flex-shrink: 0;
}

.responsive_only {
  display: none;
}

.access_container {
  background-image: url(../img/canva_tree.png);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  width: 100%;
  max-width: 52.6rem;
  height: 36rem;
}

/* アクセス診療時間　囲い */
.title_wrap {
  display: flex;
  margin-top: 7rem;
  width: 90%;
  margin: 5rem auto;
  gap: 2rem;
}

/* カムカム歯科クリニックロゴ */
.waiting_room_container {
  display: flex;
  justify-content: center;
  align-items: center;
}

.site_logo_1 {
  width: 6.1rem;
  height: 5.3rem;
}

.access_title_wrap {
  display: flex;
  flex-direction: column;
}

/* アクセス・診療時間　タイトル */
.access_title {
  font-size: 3.6rem;
}

/* access・consultation hours */
.english {
  font-family: "Roboto Mono", sans-serif;
  color: #1ca63d;
  font-size: 1.6rem;
}

.hours_wrapper {
  display: flex;
  justify-content: center;
}

.calendar {
  width: 3.2rem;
  height: auto;
  margin-right: 0.4rem;
}

.hours_table {
  font-size: 2.4rem;
}

.of {
  font-size: 2rem;
}

.camcam_apple {
  width: 2.9rem;
  height: 2.9rem;
}

/* 休診日・住所・TEL 囲い */
.access_content {
  display: flex;
  align-items: center;
  margin-top: 3rem;
  margin-bottom: 2rem;
  padding: 0 3.5rem;
  justify-content: space-between;
}

/* TEL　囲い */
.content_wrap {
  display: flex;
  flex-direction: column;
  width: 70%;
}

.line_break_sp {
  display: none;
}

/* 0979-24-3870 */
.tel {
  text-decoration: none;
  color: black;
  font-size: 2.4rem;
}

/* アクセス　全体 */
.access_content_2 {
  display: flex;
  flex-direction: column;
  margin-top: 3rem;
  margin-bottom: 3rem;
  padding: 0 3.5rem;
  /* 上の .access_content と余白を揃える */
}

/* アクセス */
.access_row {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.access_row1 {
  padding: 0 3.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* アクセス　テキスト */
.access_item {
  font-size: 2.4rem;
  flex-shrink: 0;
}

.about {
  font-size: 2rem;
}

.about_mini {
  font-size: 1.6rem;
}

/* アクセス　Googlemapはこちら　以下全体 */
.map_guide {
  font-size: 1.6rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  /* マップとテキストを中央へ */
  width: 100%;
  gap: 1.5rem;
}

.custom_map_area {
  position: relative;
  width: 100%;
  max-width: 48rem;
  margin: 1rem auto;
}

.custom_map_link {
  display: block;
  cursor: pointer;
}

.map_link {
  max-width: 48rem;
  width: 100%;
  height: 33rem;
  margin-top: 2rem;
  pointer-events: none;
}

.place_text_wrapper {
  text-align: left;
  width: 400px;
  /* iframeの幅と合わせる */
  max-width: 100%;
}

.place {
  font-size: 1.6rem;
  text-align: left;
  line-height: 1.6;
}

.access_content_3_all {
  padding-bottom: 3rem;
}

.privacy_box {
  /* width: 44.8rem; */
  padding: 1rem 3.5rem;
}

.access_privacy {
  font-weight: 100;
  font-size: 1.6rem;
  margin-top: 2rem;
}

ol {
  list-style-position: inside;
  padding: 0 3.8rem;
}

.mini_apple {
  width: 5%;
  height: auto;
}

.subheading {
  display: flex;
  align-items: flex-start;
  margin-top: 2rem;
  padding: 0 3.5rem;
  gap: 1rem;
}

.access_item_3 {
  font-size: 1.7rem;
}

.access_item_3_br {
  display: none;
}

@media screen and (max-width: 1218px) {

  /* 親要素：右揃えにして右端に寄せる */
  .access_container {
    display: flex;
    justify-content: flex-end;
  }

  /* 【重要】PC用の左右サイドバーを非表示にして幅の圧迫を防ぐ */
  .sidebar_left,
  .sidebar_right,
  aside {
    display: none;
  }

  .responsive_only {
    display: block;
    background-color: #ffca8399;
    border-radius: 2rem 0 0 2rem;
    width: 13.5rem;
    height: auto;
    margin-top: 1.7rem;
    margin-bottom: 6rem;
  }

  .hygiene_container {
    display: flex;
    justify-content: center;
    flex-direction: column;
  }

  .hygiene_container svg,
  .curved_btn_wrapper svg {
    display: block;
    margin: 0 auto;
    max-width: 100%;
    /* これがあるため、HTMLの width="300" よりもCSSが優先されて綺麗に縮みます */
    height: auto;
    /* これがあるため、HTMLの height="100" を無視して横幅に比例した高さになります */
  }

  .application_container {
    background-image: url("../img/white_teeth.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 9rem 8.7rem;
    margin-top: -1rem;
    margin-bottom: 0.5rem;
  }

  .part_time {
    font-size: 1.6rem;
    font-weight: bold;
    text-align: center;
  }

  .recruitment {
    font-size: 2rem;
    font-weight: bold;
    text-align: center;
  }

  .blank {
    font-size: 1.3rem;
    font-weight: bold;
    text-align: center;
  }

  .short_time {
    font-size: 1.3rem;
    font-weight: bold;
    text-align: center;
  }

  .telephone_container {
    width: 9.6rem;
    height: 9.6rem;
    border-radius: 50%;
    background-color: #8c4a1a;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    border: solid 0.3rem #ed6c00;
    background-image: url("../img/color_teeth.png");
    background-size: 5rem 5rem;
    background-repeat: no-repeat;
    background-position: center;
    margin: 0 auto 1.3rem auto;
  }

  .phone_call {
    text-align: center;
    text-decoration: none;
    padding-bottom: 1rem;
  }

  .tel_number {
    font-size: 2.1rem;
    font-weight: 600;
    font-family: "Roboto Mono";
    color: white;
  }


}


@media screen and (max-width: 526px) {

  .all_wrapper,
  .access_container {
    width: 100%;
    max-width: 100%;
  }

  .access_title {
    font-size: 3.2rem;
  }

  .line_break_sp {
    display: block;
  }

}

@media screen and (max-width: 456px) {
  .access_item_3_br {
    display: block;
  }
}

@media screen and (max-width: 420px) {
  .access_title {
    font-size: 3rem;
  }

  .camcam_apple {
    width: 2.5rem;
    height: 2.5rem;
  }

  .access_item {
    font-size: 2.2rem;
  }

  .about {
    font-size: 1.8rem;
  }
}