@charset "UTF-8";

:root {
  /* Sub Page Colors */
  --sub-border-color: #0aa9ab;
  --sub-light-bg: #e2fffe;
  --sub-secondary-color: #00a7a8;
  --sub-primary-color: #00b4b2;

  --sub-text-white: #fff;
  --sub-text-primary: #333;
  --sub-bg-white: #fff;
  --sub-border-light: #ddd;
  --sub-border-gray: #ccc;
  --sub-bg-light-gray: #eee;
  --sub-text-gray: #666;
  --sub-schedule-red: #fc2424;
  --sub-schedule-blue: #006cff;
  --sub-schedule-pink-bg: #fcdddd;
}

.text-md {
  font-size: 16px;
}
.text-lg {
  font-size: 18px;
}

.list-indent > li {
  text-indent: -1em;
  padding-left: 1em;
  word-break: break-all;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px 20px;
}

@media screen and (max-width: 767px) {
  .grid-2 {
    grid-template-columns: repeat(1, 1fr);
    gap: 24px;
  }
}

.grid-2 img {
  max-width: 100%;
  height: auto;
}

/*--------------------------------------------------
**************************************************
  Googleマップ PCスマホ共通
  高さは各メディアクエリー内で設定
**************************************************
--------------------------------------------------*/
.gmap {
  position: relative;
  height: 0;
  overflow: hidden;
}
.gmap iframe {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
}

/* 料金表 */
.menu-price table {
  width: 100%;
  margin-top: 30px;
  border: var(--sub-border-color) 2px solid;
}
.menu-price table th,
.menu-price table td {
  padding: 10px;
  border: var(--sub-border-color) 1px solid;
  vertical-align: middle;
}
.menu-price table th {
  background-color: var(--sub-light-bg);
}
@media screen and (max-width: 767px) {
  .menu-price table th,
  .menu-price table td {
    padding: 3px;
  }
}

/*--------------------------------------------------
**************************************************
  PC用
**************************************************
--------------------------------------------------*/
@media screen and (min-width: 768px) {
  .heading {
    position: relative;
    max-width: 1200px;
    height: 400px;
    margin: 15px auto 0;
    overflow: hidden;
  }

  .heading .heading_inner {
    display: -webkit-flex;
    display: flex;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    width: auto;
    height: 400px;
  }

  .heading .heading_inner h1 {
    -ms-writing-mode: tb-rl;
    writing-mode: vertical-rl;
    position: relative;
    z-index: 20;
    display: block;
    line-height: 1.5;
    padding: 50px 0;
    text-align: left;
    font-family: "Times New Roman", "游明朝", "Yu Mincho", "游明朝体", "YuMincho", "ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", "HiraMinProN-W3", "HGS明朝E", "ＭＳ Ｐ明朝", "MS PMincho", serif;
    font-size: 28px;
    color: var(--sub-text-white);
  }

  .heading .overlay {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
  }

  .layout_1,
  .layout_2,
  .layout_3,
  .layout_4,
  .image_description,
  .hours,
  .access_map,
  .profile,
  #recruit,
  .privacy,
  .sitemap {
    margin: 70px auto;
  }

  div[class^="layout"] h2,
  .image_description h2,
  .hours h2,
  .access_map h2,
  #recruit h2 {
    margin-bottom: 30px;
  }

  div[class^="layout"] h2 span,
  .image_description h2 span,
  .hours h2 span,
  .access_map h2 span,
  #recruit h2 span {
    padding-top: 20px;
    border-top: var(--sub-secondary-color) 3px solid;
    font-size: 24px;
    font-weight: bold;
  }

  .layout_1 .content,
  .layout_2 .content {
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: row;
    flex-direction: row;
    -webkit-justify-content: space-between;
    justify-content: space-between;
  }

  .layout_1 .image,
  .layout_2 .image {
    width: 40%;
  }

  .layout_1 .image img,
  .layout_2 .image img,
  .layout_3 .image img {
    max-width: 100%;
  }

  .layout_1 .text,
  .layout_2 .text {
    width: 55%;
  }

  .layout_3 .image {
    text-align: center;
  }

  /* 画像と説明 */
  .image_description ul li {
    margin: 0 20px 30px;
  }

  .image_description ul li .image img {
    vertical-align: bottom;
    object-fit: cover;
    width: 320px;
    height: 210px;
  }

  .image_description ul li p {
    margin-top: 5px;
    font-size: 16px;
  }

  .w-50 {
    width: 50%;
  }

  /* 診察時間 */
  .hours table {
    width: 100%;
    margin-top: 30px;
  }

  .hours table th,
  .hours table td {
    padding: 5px 0;
    border: var(--sub-text-primary) 1px solid;
  }

  .hours table th {
    background-color: var(--sub-primary-color);
    color: var(--sub-text-white);
  }

  .hours table td {
    background-color: var(--sub-bg-white);
    text-align: center;
  }

  .hours table td:first-child {
    width: 180px;
    padding-left: 10px;
    padding-right: 10px;
    text-align: left;
    font-weight: bold;
  }

  /* アクセスマップ */
  .gmap {
    padding-bottom: 56.25%;
  }

  /* 採用エントリー */
  #recruit .staff_message_list li {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin: 30px auto;
  }

  #recruit .staff_message_list li .image {
    width: 40%;
  }

  #recruit .staff_message_list li .image img {
    width: 100%;
    height: auto;
  }

  #recruit .staff_message_list li .text {
    width: 55%;
  }

  #recruit .staff_message_list li .text .name,
  #recruit .staff_message_list li .text .director {
    margin-bottom: 5px;
    border-bottom: var(--sub-border-light) 1px solid;
  }

  #recruit .job_description table {
    width: 700px;
    margin: 0 auto;
  }

  #recruit .job_description table th,
  #recruit .job_description table td {
    padding: 25px;
    border: var(--sub-border-gray) 1px solid;
    text-align: left;
  }

  #recruit .job_description table th {
    width: 200px;
    background-color: var(--sub-bg-light-gray);
  }

  #recruit .job_description table td dt {
    font-weight: bold;
  }

  #recruit .job_description table td dt:not(:first-child) {
    margin-top: 30px;
  }

  /* プライバシーポリシー */
  .privacy h2 {
    margin-top: 30px;
    font-size: 24px;
    font-weight: bold;
  }

  .privacy strong {
    font-size: 18px;
  }

  /* サイトマップ */
  .sitemap {
    max-width: 900px;
  }
} /* End PC */

/*--------------------------------------------------
**************************************************
  SP用
**************************************************
--------------------------------------------------*/
@media screen and (max-width: 767px) {
  .heading {
    position: relative;
    width: 100%;
    height: 200px;
    margin: 0 auto;
    overflow: hidden;
  }

  .heading .heading_inner {
    display: -webkit-flex;
    display: flex;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    width: auto;
    height: 200px;
  }

  .heading .heading_inner h1 {
    -ms-writing-mode: tb-rl;
    writing-mode: vertical-rl;
    position: relative;
    z-index: 20;
    display: block;
    line-height: 1.5;
    padding: 25px 0;
    text-align: left;
    font-family: "Times New Roman", "游明朝", "Yu Mincho", "游明朝体", "YuMincho", "ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", "HiraMinProN-W3", "HGS明朝E", "ＭＳ Ｐ明朝", "MS PMincho", serif;
    font-size: 18px;
    color: var(--sub-text-white);
  }

  .heading .overlay {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
  }

  .layout_1,
  .layout_2,
  .layout_3,
  .layout_4,
  .image_description,
  .hours,
  .access_map,
  .profile,
  #recruit,
  .privacy,
  .sitemap {
    margin: 50px auto;
  }

  div[class^="layout"] h2,
  .image_description h2,
  .hours h2,
  .access_map h2,
  #recruit h2 {
    margin-bottom: 30px;
  }

  div[class^="layout"] h2 span,
  .image_description h2 span,
  .hours h2 span,
  .access_map h2 span,
  #recruit h2 span {
    padding-top: 20px;
    border-top: var(--sub-secondary-color) 3px solid;
    font-size: 20px;
    font-weight: bold;
  }
  /*
	.layout_1 .content,
	.layout_2 .content{
		display:-webkit-flex; display:flex;
		-webkit-flex-direction:row; flex-direction:row;
		-webkit-justify-content:space-between; justify-content:space-between;
	}
*/
  .layout_1 .image,
  .layout_2 .image {
    margin: 20px auto;
  }

  .layout_1 .text,
  .layout_2 .text {
    width: 100%;
    margin: 20px auto;
  }

  /* 画像と説明 */
  .image_description ul li {
    width: 100%;
    margin: 0 0 20px;
  }

  .image_description ul li:nth-child(odd) {
    margin-left: 0;
  }

  .image_description ul li:nth-child(even) {
    margin-right: 0;
  }

  .image_description ul li:nth-child(2n + 1):last-child {
    margin-left: 0;
    margin-right: 0;
  }

  .image_description ul li .image img {
    vertical-align: bottom;
    object-fit: cover;
  }

  .image_description ul li p {
    margin-top: 5px;
    font-size: 14px;
  }

  /* 診察時間 */
  .hours table {
    width: 100%;
    margin-top: 20px;
  }

  .hours table th,
  .hours table td {
    padding: 5px 0;
    border: var(--sub-text-primary) 1px solid;
    font-size: 12px;
  }

  .hours table th {
    background-color: var(--sub-primary-color);
    color: var(--sub-text-white);
  }

  .hours table td {
    background-color: var(--sub-bg-white);
    text-align: center;
  }

  .hours table td:first-child {
    width: 120px;
    padding-left: 10px;
    padding-right: 10px;
    text-align: left;
    font-weight: bold;
  }
  .hours p {
    font-size: 14px;
  }

  /* アクセスマップ */
  .gmap {
    padding-bottom: 56.25%;
  }

  /* 採用エントリー */
  #recruit .staff_message_list li {
    margin: 30px auto;
  }

  #recruit .staff_message_list li .image {
    width: 50%;
    margin: 0 auto;
  }

  #recruit .staff_message_list li .text {
    width: 75%;
    margin: 10px auto;
  }

  #recruit .staff_message_list li .text .name,
  #recruit .staff_message_list li .text .director {
    margin-bottom: 5px;
    border-bottom: var(--sub-border-light) 1px solid;
  }

  #recruit .job_description table {
    width: 100%;
    margin: 0 auto;
  }

  #recruit .job_description table th,
  #recruit .job_description table td {
    padding: 15px;
    border: var(--sub-border-gray) 1px solid;
    text-align: left;
  }

  #recruit .job_description table th {
    width: 35%;
    background-color: var(--sub-bg-light-gray);
  }

  #recruit .job_description table td dt {
    font-weight: bold;
  }

  #recruit .job_description table td dt:not(:first-child) {
    margin-top: 20px;
  }

  /* プライバシーポリシー */
  .privacy h2 {
    margin-top: 30px;
    font-size: 20px;
    font-weight: bold;
  }

  .privacy strong {
    font-size: 16px;
  }
} /* End SP */

.stf_box p {
  margin: 5px 0;
  font-size: 16px;
}
br.sp {
  display: none;
}

@media screen and (max-width: 767px) {
  .stf_box p {
    font-size: 14px;
  }
  br.sp {
    display: block;
  }
  .pc_only {
    display: none;
  }
}

.Gmap iframe {
  width: 100%;
  aspect-ratio: 2/1;
}

/*--------------------------------------
　schedule_list
---------------------------------------*/
.menu-price .schedule_list table {
  width: 100%;
  margin: 0 0 50px;
  box-sizing: border-box;
  border: 1px solid var(--sub-border-light);
  color: var(--sub-text-gray);
}
.menu-price .schedule_list table:last-child {
  margin: 0 0 0;
}

.menu-price .schedule_list tr {
  width: 100%;
  box-sizing: border-box;
}

.menu-price .schedule_list thead th {
  background: rgba(10, 169, 200, 0.7);
  width: 12.5%;
  color: var(--sub-text-white);
  border-left: 1px solid var(--sub-border-light);
  border-bottom: 1px solid var(--sub-border-light);
  font-size: 100%;
}

.menu-price .schedule_list tbody th {
  background: rgba(10, 169, 200, 0.1);
  color: var(--sub-text-gray);
}
.menu-price .schedule_list th,
.menu-price .schedule_list td {
  border: none;
}

.menu-price .schedule_list th {
  padding: 15px 15px;
  box-sizing: border-box;
  font-size: 17px;
  font-weight: 700;
  text-align: center;
  border-left: 1px solid var(--sub-border-light);
  border-bottom: 1px solid var(--sub-border-light);
  font-size: 100%;
}

.menu-price .schedule_list td {
  padding: 15px 15px;
  box-sizing: border-box;
  font-size: 100%;
  text-align: center;
  line-height: 1.4;
  border-left: 1px solid var(--sub-border-light);
  border-bottom: 1px solid var(--sub-border-light);
  font-family: "Noto Sans JP", sans-serifinherit;
}

.menu-price .schedule_list .rd {
  color: var(--sub-schedule-red);
}

.menu-price .schedule_list .bl {
  color: var(--sub-schedule-blue);
}

.menu-price .schedule_list .pk {
  background: var(--sub-schedule-pink-bg);
  font-weight: 700;
}

@media screen and (max-width: 768px) {
  .menu-price .schedule_list table {
    margin: 0 0 15px;
  }

  .menu-price .schedule_list th {
    padding: 10px 3px;
    font-size: 2.4vw;
  }
  .menu-price .schedule_list thead th {
    font-size: 2vw;
  }

  .menu-price .schedule_list td {
    padding: 10px 3px;
    font-family: inherit;
  }
}

/*--------------------------------------
　staff
---------------------------------------*/
.page-staff .name {
  font-size: 18px;
}

.page-staff img {
  max-width: 100%;
  height: auto;
}
