@charset "utf-8";
/* :rootのCSS変数の宣言 */
:root {
  --blue: #99ddfa;
  --lightblue: #d2effb;
  --grd_blue: linear-gradient(150deg, #eaf8fe, #e9f7fd 22%, #d2effb);
  --naby: #053a7e;
  --lightpink: #ffebf0;
  --pink: #f26868;
  --grey: #f0f0f0;
  --white: #fff;
  --black: #333;
}
body {
  letter-spacing: 0.1em;
  color: var(--black);
  font-family: "Helvetica Neue", Helvetica, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Arial, Meiryo, "Yu Gothic Medium", YuGothic, sans-serif;
}
main {
  color: var(--black);
}
a:hover {
  transition: 0.3s;
  opacity: 0.6;
}
.menu_box>.upper_menu,
.menu_box>.lower_menu,
.flex {
  display: flex;
}
.section + .section {
  margin-top: 140px;
}
.mw-960, h2 {
  max-width: 960px;
  margin-inline: auto;
}
h2 {
/*  max-width: 960px;*/
/*  margin-inline: auto;*/
  border-left: 1px solid var(--blue);
}
h2 + * {
  margin-top: 30px;
}
h2 .main_ttl {
  color: var(--naby);
  margin-bottom: 0.2em;
  padding-left: 20px;
  font-size: 32px;
}
h2 .sub_ttl {
  color: var(--blue);
  padding-left: 20px;
}
:not(.main_inner) > .section > h2 {width: 94%;}
h3 {
  font-size: 20px;
  padding: 0.5em 0;
  color: var(--naby);
  border-bottom: 1px solid var(--naby);
}
img.icon {
  padding-right: 7px;
  max-width: 22px;
}
figcaption {
  text-align: left;
}
/* header */
header {
  border-bottom: 1px solid var(--blue);
  padding: 26px;
}
.header_inner {
  justify-content: space-between;
  max-width: 1200px;
  margin-inline: auto;
  align-items: flex-end;
}
.logo_txt {
  color: var(--navy);
  line-height: 1.6;
}
.logo_txt > p:first-child {
  font-size: 14px;
}
.logo_txt > p:last-child {
  font-size: 24px;
}
.logo_cat {
  margin-top: 5px;
}
.logo_cat > span {
  display: inline-block;
  padding: 5px 10px;
  font-size: 14px;
  background: var(--lightblue);
  border-radius: 2px;
}
.logo_cat > span + span {
  margin-left: 10px;
}
.header_nav {
  align-items: flex-end;
  gap: 20px;
}
.menu_box > ul + ul {
  margin-top: 16px;
}
ul.upper_menu {
  gap: 20px;
}
.menu_tel > a,.menu_fax > a {
  align-items: center;
  justify-content: center;
}
.tel_ttl,.fax_ttl {
  background-color: var(--naby);
  border-radius: 5px;
  font-size: 12px;
  color: var(--white);
  padding: 2px 5px;
  margin-right: 5px;
}
ul.lower_menu {
  align-items: flex-end;
  gap: 20px;
}
/* START dropdown */
/*2階層目以降は横並びにしない*/
.header_nav ul.lower_menu ul {
  display: block;
}
/*下の階層のulや矢印の基点にするためliにrelativeを指定*/
.header_nav ul.lower_menu li {
  position: relative;
}
/*== 2・3階層目の共通設定 */

/*下の階層を持っているulの指定*/
.header_nav ul.lower_menu li.has-child ul {
  /*絶対配置で位置を指定*/
  position: absolute;
  left: 0;
  top: 1.6em;
  z-index: 4;
  /*形状を指定*/
  background: var(--lightblue);
  width: 180px;
  /*はじめは非表示*/
  visibility: hidden;
  opacity: 0;
  /*アニメーション設定*/
  transition: all 0.3s;
}
.header_nav ul.lower_menu li.has-child ul > li {
  padding: 10px;
}

/*hoverしたら表示*/
.header_nav ul.lower_menu li.has-child:hover > ul,
.header_nav ul.lower_menu li.has-child ul li:hover > ul,
.header_nav ul.lower_menu li.has-child:active > ul,
.header_nav ul.lower_menu li.has-child ul li:active > ul {
  visibility: visible;
  opacity: 1;
}
/* END dropdown */
.tel_num,.fax_num{
  padding: 2px 0;
}

.partner_link {
  text-align: center;
  line-height: 1.5;
}
.partner_link a {
  padding: 10px 20px;
  background-color: var(--grey);
  display: block;
}
.partner_link a > p:first-child {
  font-size: 14px;
}
.partner_link a > p:last-child {
  font-size: 20px;
}

/* top_area */
#top_area {
  padding: 60px 0 0;
}
.top_inner {
  max-width: 920px;
  margin-inline: auto;
}
.top_info {
  align-content: center;
}
.temp_ttl {
  width: fit-content;
  padding: 10px 20px;
  background-color: var(--pink);
  color: var(--white);
  border-radius: 5px 5px 0 0;
  border-top: 2px solid var(--pink);
  border-left: 2px solid var(--pink);
  border-right: 2px solid var(--pink);
}
.temp_box {
  padding: 30px;
  background-color: var(--lightpink);
  border: 2px solid var(--pink);
  border-radius: 0px 5px 5px 5px;
  line-height: 1.6;
}
.temp_box > p + p {
  margin-top: 10px;
}
.temp_txt a {
  color: #053a7e;
  text-decoration: underline;
}
/* medical */
.medical_inner {
  background: var(--grd_blue);
  padding: 80px 0;
}

.medical_list {
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px 0;
}
.medical_item {
  width: 46%;
}
/* news */
.news_inner {
  margin-right: 0;
  padding-right: 6%;
  padding-block: 20px 100px;
}
.news_list {
  max-width: 900px;
  margin-left: auto;
}
summary {
  /* display: list-item;以外を指定してデフォルトの三角形アイコンを消します */
  display: block;
}
summary::-webkit-details-marker {
  /* Safariで表示されるデフォルトの三角形アイコンを消します */
  display: none;
}
/* --------アイコンを作ります-------- */
.summ_icon {
  display: block;
  position: relative;
  width: 24px;
  margin-left: 6px;
  flex-shrink: 0;
  transform-origin: center 43%;
  transition: transform 0.4s;
}

/* アコーディオンが開いた時のスタイル */
details[open] .summ_icon {
  transform: rotate(180deg);
}

/* アイコンのバーのスタイル */
.summ_icon::before,
.summ_icon::after {
  content: "";
  position: absolute;
  display: block;
  width: 15px;
  height: 2px;
  background-color: gray;
}

.summ_icon::before {
  left: 0;
  transform: rotate(45deg);
}

.summ_icon::after {
  right: 0;
  transform: rotate(-45deg);
}
.summary_inner {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}
details {
  padding: 1.2em 1em;
  border-bottom: 1px solid var(--blue);
}
details > p {
  padding: 2em 0;
  line-height: 1.6;
}

/* access */
#access {
  background-color: var(--grey);
  padding-bottom: 100px;
  position: relative;
}
.access_inner.mw-960 {
  position: relative;
  bottom: 50px;
}
.access_map {
  width: 100%;
  height: 300px;
  background-color: var(--grey);
}
.access_info > div {
  padding: 30px 30px;
}
.access_info_left {
  width: 50%;
  background-color: aliceblue;
}
.access_info_left > * + * {
  margin-top: 20px;
}
.icon_address {
  padding-bottom: 6px;
}
.access_info_right > * + * {
  margin-top: 20px;
}
.access_info_right {
  width: 50%;
  background-color: var(--lightblue);
}
.access_info_left > p {
  line-height: 1.7;
}
.access_btn > a {
  display: block;
  margin-top: 10px;
}
.map_link,
.bus_link {
  max-width: fit-content;
  align-items: center;
  padding: 20px;
  text-align: center;
  background-color: var(--lightblue);
  background-color: var(--lightblue);
  font-size: 14px;
}
.contact_info {
  display: block;
  width: fit-content;
  background: #fff;
  padding: 16px 20px;
  text-align: center;
}
.contact_info > * + * {
  margin-top: 4px;
}
.contact_info > p:first-child {
  font-size: 12px;
}
.contact_info > hr {
  width: 20px;
  margin-inline: auto;
}
.contact_info > p:last-child {
  font-size: 20px;
}
.reception_time > p {
  align-items: center;
  margin-bottom: 10px;
}
.top_btn {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  max-width: 100px;
  width: 100%;
  padding: 10px 20px;
  background-color: var(--white);
  text-align: center;
  margin-inline: auto;
  border-radius: 50% / 100% 100% 0 0;
  border: 1px solid var(--grd_blue);
  box-shadow: 0px -1px 1px var(--grey);
}
/* footer */
footer {
  background: var(--grd_blue);
}

.footer_inner {
  padding: 60px 0;
  margin-inline: auto;
}
.footer_inner > * + * {
  margin-top: 20px;
}

.footer_logo .logo_cat > span {
  background-color: var(--white);
  border: none;
}
.footer_logo>a {
	margin-bottom: 1em;
	display: block;
}

.rcp_dtl{
  font-size: 14px;
}
.reception_time tr{
  border-block: 1px solid var(--white);
}
.reception_time th{
  padding: 10px;
  color: var(--naby);
}
.reception_time th.rcp_ttl {
  width: 6em;
  padding: 10px;
  border-right: 1px solid var(--white);
}
.reception_time td {
  padding: 10px;
  text-align: center;
}

#copy_wrap>p {font-size: .8em;}

/* ----------------- */
/* media query */
/* ----------------- */
@media screen and (min-width: 769px) {
	.min_w1100 {min-width: 1100px;}
	.pc_none {display: none;}
  a[href^="tel:"] {
    pointer-events: none;
  }

	.footer_logo {
		display: flex;
		justify-content: space-between;
	}
	.footer_logo>.aqua {width: 45%;}
	.footer_logo>a:not(.aqua) {font-size: .9em;}
}

@media screen and (max-width: 768px) {
  .sp_none {display: none;}
  .section + .section {margin-top: 100px;}
	header {
		width: 100%;
		z-index: 100;
	}
  .header_inner.flex {
    align-items: flex-start;
  }
  .logo_txt > p:last-child {
    font-size: 18px;
  }
	/* ハンバーガーボタン */
	.hmmenu_btn {
	  position: relative;
	  cursor: pointer;
	  width: 50px;
	  height: 50px;
	  margin-left: auto;
	  border-radius: 5px;
	}

	/*ボタン内側*/
	.hmmenu {
		position: absolute;
		width: 50px;
	}
	.hmmenu span {
	  display: inline-block;
	  transition: all 0.4s;
	  position: absolute;
	  left: 14px;
	  height: 3px;
	  border-radius: 2px;
	  background: var(--blue);
	  width: 60%;
	}

	.hmmenu span:nth-of-type(1) {
	  top: 15px;
	}

	.hmmenu span:nth-of-type(2) {
	  top: 23px;
	}

	.hmmenu span:nth-of-type(3) {
	  top: 31px;
	}
	.hmmenu.actv span:nth-of-type(1) {
	  top: 18px;
	  left: 18px;
	  transform: translateY(6px) rotate(-45deg);
	  width: 50%;
	}

	.hmmenu.actv span:nth-of-type(2) {
	  opacity: 0; /*真ん中の線は透過*/
	}

	.hmmenu.actv span:nth-of-type(3) {
	  top: 30px;
	  left: 18px;
	  transform: translateY(-6px) rotate(45deg);
	  width: 50%;
	}

  /* spnavi */
  #spnavi {
    position: absolute;
    right: -140%;
    top: 4em;
    opacity: 0;
    transition: ease 0.6s;
    display: none;
  }
  #spnavi > .topnavi,
  #spnavi.actv {
    display: block;
    background: var(--lightblue);
  }
  #spnavi.actv {
    position: fixed;
    width: 100%;
    opacity: 1;
    right: 0;
    top: 5em;
    bottom: 0;
    z-index: 500;
    overflow-y: scroll;
    -webkit-overflow-scrolling: touch; /*慣性スクロール*/
    text-align: center;
  }
  #spnavi > .topnavi {
    padding: 0 2em;
    height: calc(100vh + 6em);
  }
  #spnavi > ul {
    width: 90%;
    margin: 0 auto;
  }
  #spnavi > ul > li {
    padding: 1.4em 0.7em;
    border-bottom: 1px solid #fff;
  }
  #spnavi > ul > li.header_menu_btn {
    border-bottom: none;
  }
  #spnavi li > a {
    font-size: 18px;
  }
	.has-child {
		display: flex;
		justify-content: center;
	}

  /* ↑spnavi↑ */
  h2 .main_ttl {
    font-size: 24px;
  }
  h2 .sub_ttl {
    font-size: 16px;
  }
  /* top */
  .top_inner {
    width: 90%;
  }
  .medical_list {
    width: 90%;
  }
  .medical_item {
    width: 100%;
    text-align: center;
  }
  /* news */
  .summary_inner {
    flex-direction: column;
    align-items: flex-start;
}
  .summ_icon {
    padding: 2em 0 0;
    margin: 0 0 0 auto;
}
  .news_date{
    display: inline-block;
    margin-bottom: 10px;
}
.summ_icon {
  padding: 2em 0 0;
  margin: -1em 0 0 auto;
}
  /* access */
  #access {
    padding-bottom: 10px;
  }
  .access_info.flex {
    flex-direction: column;
  }
  .access_info_left {
    width: 100%;
  }
  .access_info_right {
    width: 100%;
  }
  /* footer */
  .footer_inner {
    padding: 2em 0 1em;
    width: 90%;
  }
  .access_info > div {
    padding: 20px 24px;
}
}
