@charset "utf-8";
#mv {
  background: url("../images/contents/mv_bk.jpg") 100% 50% no-repeat;
  background-size: cover;
}
#mv > div {
  width: 1200px;
  height: 300px;
  margin: 0 auto;
  display: flex;
  align-items: center;
}
#mv > div > h2 {
  font-size: 3.2rem;
  font-weight: 700;
  font-family: var(--ttl-font);
  letter-spacing: 0.1em;
}
@media screen and (max-width:768px) {
  #mv > div {
    width: 100%;
    height: auto;
    margin: 0;
    padding: 50px 15px;
  }
  #mv > div > h2 {
    font-size: 2.4rem;
  }
}
/***** パンくず *****/
#breadcrumbs {
  padding: 10px 0;
  background: var(--sub-color2);
}
#breadcrumbs > ul {
  width: 1200px;
  margin: 0 auto;
  display: flex;
}
#breadcrumbs > ul > li {
  margin-right: 10px;
  font-size: 1.3rem;
/*  position: relative;*/
}
#breadcrumbs > ul > li::after {
  content: "＞";
  padding-left: 10px;
  font-size: 1rem;
  display: inline-block;
}
#breadcrumbs > ul > li:last-child::after{
  margin: 0;
  display: none;
}
#breadcrumbs > ul > li > a {
  color: #000;
}
@media screen and (max-width:768px) {
  #breadcrumbs {
    padding: 7px 15px;
  }
  #breadcrumbs > ul {
    width: 100%;
    margin: 0;
    flex-wrap: wrap;
  }
  #breadcrumbs > ul > li {
    font-size: 1.2rem;
  }
}
/***** ボックス *****/
#contents {
  width: 1200px;
  margin: 0 auto;
  padding: 40px 0;
}
#wrap_r {
  flex: 1;
}
.box {
  margin: 25px 0;
  padding: 30px;
}
.box_bk_gry {
  background: var(--gry-color);
}
.box_bk_red {
  background: #fdf1f9;
}
@media screen and (max-width:768px) {
  #contents {
    width: 100%;
    margin: 0;
    padding: 20px 15px;
    display: block;
  }
  .box {
    margin: 15px 0;
    padding: 20px;
  }
}

/***** アンカーリンク *****/
#page_link {
  display: flex;
  flex-wrap: wrap;
}
#page_link li {
  width: 32%;
  margin-right: 2%;
}
#page_link li:nth-child(3n) {
  margin-right: 0;
}
#page_link li a {
  padding: 20px;
  font-size: 1.8rem;
  font-weight: 700;
  font-family: var(--ttl-font);
  text-decoration: none;
  color: var(--base-color);
  display: block;
  border: var(--base-color) 2px solid;
  position: relative;
  transition: 0.5s;
}
#page_link li a::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  right: 20px;
  width: 20px;
  height: 20px;
  margin: auto;
  border-radius: 20px;
  background-color: var(--base-color);
}
#page_link li a::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  right: 25px;
  width: 0;
  height: 0;
  margin: auto;
  border-top: 8px solid #fff;
  border-right: 5px solid transparent;
  border-left: 5px solid transparent;
  border-bottom: 0 solid transparent;
  transform: translateY(1px);
  box-sizing: border-box;
}
#page_link li a:hover {
  background: var(--tb-back);
}
@media screen and (max-width:768px) {
  #page_link {
    display: block;
  }
  #page_link li {
    width: 100%;
    margin-right: 0;
    margin-bottom: 10px;
  }
  #page_link li a {
    padding: 10px;
    font-size: 1.6rem;
  }
  #page_link li a::before {
    right: 10px;
  }
  #page_link li a::after {
    right: 15px;
  }
}

/***** 見出し *****/
.ttl {
  margin: 40px 0 25px;
  padding: 5px 15px;
  font-size: 2.5rem;
  font-weight: 700;
  font-family: var(--ttl-font);
  letter-spacing: 0.1em;
	color: #fff;
	background: var(--base-color);
}
#contents .ttl:first-child {
  margin-top: 0;
}
.caption {
  margin: 25px 0 10px;
  padding-left: 15px;
  font-size: 2.2rem;
  font-weight: 500;
  font-family: var(--ttl-font);
  line-height: 1.5;
  border-left: var(--sub-color1) 5px solid;
}
.sub_caption {
  margin: 20px 0 15px;
  padding-bottom: 7px;
  font-size: 2rem;
  font-family: var(--ttl-font);
  font-weight: 700;
  border-bottom: var(--base-color) 2px dotted;
}
.box_ttl {
  margin: 15px 0 7px;
  font-sizr: 1.9rem;
  font-weight: 700;
  font-family: var(--font-zenmaru);
}
.box .box_ttl:first-child {
  margin-top: 0;
}
@media screen and (max-width:768px) {
  .ttl {
    font-size: 2rem;
  }
  .caption {
    margin: 15px 0 10px;
    font-size: 1.8rem;
  }
}
/***** 共通 *****/
#under {
  margin: 80px 0 120px 100px;
}
.date {
  margin-bottom: 20px;
  text-align: right;
}
.detail_wrap figure {
  text-align: center;
}
.detail_wrap img {
  max-width: 100%;
}
.detail_wrap > p {
  margin-top: 20px;
  margin-bottom: 20px;
}
.detail_wrap > .btn {
  margin-top: 30px;
  margin-bottom: 30px;
}
.number_dl dt {
  width: 2em;
  float: left;
  clear: left;
}
.number_dl dd {
  margin-bottom: 5px;
  padding-left: 2em;
}
.number_dl dd:last-child {
  margin-bottom: 0;
}
@media screen and (max-width:768px) {
  #under {
    margin: 100px 0 150px;
    text-align: center;
  }
}
/***** テーブル *****/
.base_tb {
  margin-top: 15px;
  margin-bottom: 15px;
}
.base_tb th, .base_tb td {
  border: var(--tb-border);
}
/***** ナンバリング *****/
.number_list {
  margin: 20px 0;
  padding: 30px;
  display: flex;
  align-items: center;
  background: var(--blu-color);
  border-radius: 10px;
}
.number_list:nth-of-type(1) {
  margin-top: 30px;
}
.number_list > p {
  width: 65px;
  margin-right: 30px;
}
.number_list > p > img {
  width: 100%;
}
.number_list > dl {
  flex: 1;
}
.number_list > dl > dt {
  margin-bottom: 5px;
  font-size: 2rem;
  font-weight: 500;
  color: var(--base-color);
}
@media screen and (max-width:768px) {
  .number_list {
    margin: 15px 0;
    padding: 15px;
    display: block;
  }
  .number_list:nth-of-type(1) {
    margin-top: 25px;
  }
  .number_list > p {
    width: 50px;
    margin-right: auto;
    margin-left: auto;
    margin-bottom: 10px;
  }
  .number_list > dl > dt {
    font-size: 1.8rem;
    text-align: center;
  }
}
/***** 医療機関 *****/
.sponsor_box .widget.widget_block {
  list-style: none;
}
.sponsor_box .wp-block-media-text.is-stacked-on-mobile {
  margin-top: 40px;
  display: flex;
  justify-content: space-between;
  gap: 5rem;
}
.sponsor_box .widget.widget_block:first-child .wp-block-media-text.is-stacked-on-mobile {
  margin-top: 0;
}
.sponsor_box .wp-block-media-text.is-stacked-on-mobile > figure {
  min-width: 192px;
  height: 150px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.sponsor_box .wp-block-media-text > .wp-block-media-text__content {
  flex: 1;
  padding: 0;
  align-self: baseline;
}
.sponsor_box .wp-block-media-text > .wp-block-media-text__content p:nth-child(1) {
  margin-bottom: 10px;
  font-size: 2rem;
  font-weight: 700;
}
.sponsor_box .wp-block-media-text > .wp-block-media-text__content p:nth-child(1) a {
  color: #333;
  padding-right: 18px;
  background: url("../images/common/win_icon.svg") 100% 50% no-repeat;
  background-size: 13px 11px;
}
.sponsor_box .wp-block-media-text > .wp-block-media-text__content p:nth-child(1) a:hover {
  text-decoration: none;
}
@media screen and (max-width:768px) {
  .sponsor_box .wp-block-media-text.is-stacked-on-mobile {
    margin-top: 30px;
    display: block;
  }
  .sponsor_box .wp-block-media-text.is-stacked-on-mobile > figure {
    width: 100%;
    height: 100%;
  }
  .sponsor_box .wp-block-media-text > .wp-block-media-text__content {
    margin-top: 15px;
  }
  .sponsor_box .wp-block-media-text > .wp-block-media-text__content p:nth-child(1) {
    font-size: 1.8rem;
  }
}
/***** 法人について *****/
#access_box {
  display: flex;
  justify-content: space-between;
}
#access_box > div {
  width: 50%;
  margin-right: 5%;
}
#access_box > div > iframe {
  width: 100%;
  height: 350px;
}
#access_box > dl {
  flex: 1;
}
#access_box > dl dt {
  margin-bottom: 5px;
  font-size: 2rem;
  font-weight: 700;
  font-family: var(--ttl-font);
}
.greeting_box {
	width: 220px;
	margin-right: 40px;
	margin-bottom: 20px;
	float: left;
}
.greeting_box img {
	width: 100%;
}
.greeting_box dl {
	margin-top: 20px;
	text-align: center;
}
.greeting_box dl dt {
	font-size: 1.4rem;
	line-height: 1.5;
}
.message_box {
  margin-bottom: 40px;
  display: flex;
  justify-content: space-between;
}
.message_box > div:nth-child(1) {
  width: 220px;
  margin-right: 40px;
}
.message_box > div:nth-child(1) > dl {
  margin-top: 20px;
	text-align: center;
}
.message_box > div:nth-child(1) > dl dt {
	font-size: 1.4rem;
	line-height: 1.5;
}
.message_box > div:nth-child(1) img {
  width: 100%;
}
.message_box > div:nth-child(2) {
  flex: 1;
}
.message_box > div:nth-child(2) > h4 {
  margin-bottom: 15px;
  padding-bottom: 5px;
  font-size: 2.4rem;
  font-weight: 500;
  font-family: var(--ttl-font);
  border-bottom: var(--base-color) 2px dotted;
}
@media screen and (max-width:768px) {
  #access_box {
    display: block;
  }
  #access_box > div {
    width: 100%;
    margin: 0 0 20px;
  }
  #access_box > div > iframe {
    height: 300px;
  }
  .greeting_box {
    width: 100%;
    margin-right: 0;
    text-align: center;
    float: none;
  }
  .greeting_box img {
    width: 50%;
  }
  .greeting_box dl {
    margin-top: 15px;
  }
  .message_box {
    margin-bottom: 40px;
    display: block;
  }
  .message_box > div:nth-child(1) {
    width: 100%;
    margin-right: 0;
    margin-bottom: 20px;
    text-align: center;
  }
  .message_box > div:nth-child(1) > dl {
    margin-top: 15px;
  }
  .message_box > div:nth-child(1) img {
    width: 50%;
  }
  .message_box > div:nth-child(2) > h4 {
    margin-bottom: 15px;
    padding-bottom: 10px;
    font-size: 2rem;
    text-align: center;
  }
}
/***** コラム *****/
#column_box {
  display: flex;
  flex-wrap: wrap;
}
#column_box > div {
  width: 22%;
  margin: 0 4% 4% 0;
}
#column_box > div:nth-child(4n) {
  margin-right: 0;
}
#column_box > div > a {
  text-decoration: none;
  color: #000;
}
#column_box > div > a > p:nth-of-type(1) {
  margin-top: 15px;
  font-weight: 700;
  font-family: var(--ttl-font);
}
#column_box > div > a > p:nth-of-type(2) {
  margin-top: 15px;
  font-family: var(--ttl-font);
  text-align: right;
}
#column_box > div > a > figure {
  width: 100%;
  overflow: hidden;
}
#column_box > div > a > figure > img {
  width: 100%;
  height: 100%;
  transition: 0.5s;
}
#column_box > div > a > figure > img:hover {
  transform: scale(1.1, 1.1);
}
@media screen and (max-width:768px) {
  #column_box > div {
    width: 100%;
    margin: 0 0 40px;
  }
  #column_box > div:nth-last-of-type(1) {
    margin-bottom: 0;
  }
}

/***** 患者さん向け *****/
.accordion_ttl {
  margin: 20px 0 0;
  padding: 7px 10px 7px 14px;
  font-size: 1.8rem;
  font-weight: 500;
  font-family: var(--ttl-font);
  background: var(--tb-back);
  border-left: var(--sub-color2) 4px solid;
  position: relative;
  cursor: pointer;
}
.accordion_ttl::before {
  content: "＋";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
}
.accordion_ttl.open::before {
  content: "－";
  font-weight: 700;
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
}
.accordion_box {
  display: none;
}
.accordion_box > div {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}
.accordion_box > div > div {
  width: 49%;
  margin-top: 2%;
  padding: 40px;
  background: #f9f9f9;
}
.accordion_box > div > div > dl {
  margin-bottom: 7px;
  display: flex;
  align-items: center;
}
.accordion_box > div > div > dl:last-child {
  margin-bottom: 0;
}
.accordion_box > div > div > dl dt {
  width: 6em;
  margin-right: 15px;
  font-weight: 500;
  font-size: 1.3rem;
  font-family: var(--ttl-font);
  text-align: center;
  border: var(--base-color) 1px solid;
  background: #fff;
}
.accordion_box > div > div > dl dd {
  flex: 1;
}
.patient_link {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
}
.patient_link dt {
  width: 8em;
  margin-right: 15px;
  font-size: 1.4rem;
  text-align: center;
  color: #fff;
  background: var(--base-color);
}
@media screen and (max-width:768px) {
  .accordion_ttl {
    padding: 5px 8px 5px 12px;
    font-size: 1.6rem;
    border-left: var(--sub-color2) 3px solid;
  }
  .accordion_ttl::before {
    right: 10px;
  }
  .accordion_ttl.open::before {
    right: 10px;
  }
  .accordion_box > div {
    display: block;
  }
  .accordion_box > div > div {
    width: 100%;
    margin-top: 15px;
    padding: 20px;
  }
}

/***** 寄附のお願い *****/
.sponsor_box {
	margin-top: 40px;
	display: flex;
	justify-content: space-between;
}
.ttl + .sponsor_box {
	margin-top: 0;
}
.sponsor_box > figure {
	width: 16%;
	height: 150px;
	background: #f5f5f5;
	display: flex;
	justify-content: center;
	align-items: center;
}
.sponsor_box > div {
	width: 80%;
}
.sponsor_box > div > p:nth-child(1) {
	margin-bottom: 10px;
	font-size: 2rem;
	font-weight: 700;
}
.sponsor_box > div > p:nth-child(1) a {
	color: #000;
}
.sponsor_box > div > p:nth-child(1) a:hover {
	text-decoration: none;
}
@media screen and (max-width:768px) {
  .sponsor_box {
    margin-top: 30px;
    display: block;
  }
  .sponsor_box > figure {
    width: 100%;
  }
  .sponsor_box > div {
    width: 100%;
    margin-top: 15px;
  }
  .sponsor_box > div > p:nth-child(1) {
    font-size: 1.8rem;
  }
  .sponsor_box > div > p:nth-child(1) a {
    color: #000;
  }
  .sponsor_box > div > p:nth-child(1) a:hover {
    text-decoration: none;
  }
}

/***** お問い合わせ *****/
.contact_tb {
  width: 100%;
  margin-top: 20px;
}
.contact_tb th {
  width: 25%;
  padding: 30px;
  font-weight: 500;
  font-family: var(--ttl-font);
  text-align: left;
  border: #ddd 1px solid;
  background: var(--tb-back);
  position: relative;
}
.contact_tb th::after {
  content: "必須";
  padding: 5px;
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1;
  color: #fff;
  background: #cc0000;
  position: absolute;
  right: 30px;
  top: 50%;
  transform: translateY(-50%);
}
.contact_tb td {
  padding: 20px;
  border: #ddd 1px solid;
}
.contact_tb input {
  width: calc(100% - 20px);
  padding: 10px;
  border: #ddd 1px solid;
  border-radius: 5px;
}
.contact_tb textarea {
  width: calc(100% - 20px);
  height: 200px;
  padding: 10px;
  border: #ddd 1px solid;
  border-radius: 5px;
}
.form_btn {
  margin-top: 30px;
  text-align: center;
}
.form_btn input {
  width: 200px;
  padding: 10px;
  margin: 0 15px;
  font-size: 1.6rem;
  font-weight: 500;
  font-family: var(--ttl-font);
  color: #fff;
  background: var(--base-color);
  border: none;
  cursor: pointer;
}
.form_btn input:hover {
  background: var(--sub-color1);  
}
@media screen and (max-width:768px) {
  .contact_tb th {
    width: 100%;
    margin-bottom: 15px;
    padding: 10px;
    font-size: 1.6rem;
    display: block;
  }
  .contact_tb th::after {
    right: 10px;
  }
  .contact_tb td {
    width: 100%;
    margin-bottom: 25px;
    padding: 0;
    display: block;
    border: none;
  }
  .form_btn {
    margin-top: 10px;
    text-align: center;
  }
  .form_btn input {
    width: 100%;
    margin: 0 0 10px;
    font-size: 1.4rem;
  }
}