html {
  font-size: 16px;
}

html *,
::before,
::after {
  box-sizing: boder-box;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

/*HOSPITALIZATION INFORMATIONを非表示*/
.entry-title {
  display: none;
}

/*↓ここから病院概要のページの物とほぼ共通*/
figure.size-large{
/*  max-width: 1600px;*/
  margin: auto;
  height: auto;
}

/*病院概要のページの物に.topを追加しています！*/
.top.size-large img{
  width: 100%;
  height: 70vh;
  object-fit: cover;
  z-index: -10;
}

/*入院案内の円形*/
.wp-block-wrapper{
  width: 376px;
  height: 368px;
  margin: auto;
  margin-top: -132px;
  padding-top: 58px;
  background-color: #fff;
  border-radius: 50%;
  text-align: center;
  position: relative;
  z-index: 10;
}

/*画像の下の余白を消す*/
.wp-block-wrapper .size-full{
  margin: 0;
}

.wp-block-wrapper .size-full img{
  margin: auto;
  width: 100px;
  height: 100px;
}

.wp-block-wrapper h2{
  font-size: 40px;
  font-weight: 500;
}

.wp-block-wrapper p {
  color: #90C6E3;
  font-size: 25px;
  position: relative;
}

/*病院概要の2色の下線*/
.wp-block-wrapper p::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -22px;
  width: 260px;
  height: 8px;
  background: #79C7E4;
}
.wp-block-wrapper p::after {
  content: "";
  position: absolute;
  right: 50%;
  bottom: -22px;
  width: 260px;
  height: 8px;
  background: #D1E6F0;
}
/*↑ここまで共通化*/

/* 画像の余白を0にする。 */
.wp-block-image {
  margin: 0;
}

/*ここから面会につきましての部分*/
.secondary>.wp-block-group__inner-container{
  position: relative;
}

.secondary-title{
  margin-bottom: 60px;
}

.secondary-title p {
  font-size: 35px;
  text-align: center;
  letter-spacing: 1.75px;
  position: relative;
}

.secondary-title p:nth-of-type(2):before {
  content: "";
  position: absolute;
  transform: translate(-50%, -50%);
  left: 50%;
  bottom: -8px;
  width: 660px;
  height: 2px;
  background-color: #000000;
}

.secondary>.wp-block-group__inner-container>p{
  max-width: 900px;
  width: 90%;
  height: auto;
  margin: 0 auto 145px;
  font-size: 20px;
  text-align: center;
}

.secondary>.wp-block-group__inner-container>p br{
  display: none;
} 

.wp-block-buttons {
  justify-content: center;
}

.wp-block-button__link {
  display: flex;
  color: #fff;
  background-color: #1ba1e6;
  border-radius: 68px;
  box-shadow: 6px 6px 5px #00000029;
  cursor: pointer;
  font-size: 18px;
  padding: calc(.667em + 2px) calc(1.333em + 2px);
  text-align: center;
  text-decoration: none;
  overflow-wrap: break-word;
  box-sizing: border-box;
  align-items: center;
  letter-spacing: 0.9px;
}

.wp-block-button__link:hover {
  opacity: 0.8;
}

.wp-block-button__link:active {
  box-shadow: none;
  position: relative;
  top: 6px;
}

.wp-block-button__link::after {
  content: '';
  width: 25px;
  height: 6px;
  border-bottom: solid 1px #FFFFFF;
  border-right: solid 1px #FFFFFF;
  transform: skew(45deg);
  margin-left: 5px;
}

.secondary .size-large{
  position: absolute;
  top: -110px;
  right: 0;
  left: 0;
  bottom: -80px;
  overflow: hidden;
  width: 100%;
  max-width: 2000px;
  height: auto;
  z-index: -10;
}

.secondary .size-large img{
  width: 100%;
  height: 500px;
  object-fit: cover;
  transform: scale(1.4);
}

/*ここから入院生活についての表*/
.hospitalization-table,.process-preparation,.hospitalization-preparation {
  background-color: #f1fbfd;
  max-width: 1200px;
  width: 100%;
  padding: 70px 0;
  border-radius: 20px;
}

.hospitalization-table{
  margin: 150px auto 100px;
}

.hospitalization-table>.wp-block-group__inner-container,.process-inner>.wp-block-group__inner-container {
  width: 80%;
  margin: auto;
}

.hospitalization-table h3{
  margin-bottom: 20px;
}

.table-title-pc{
  display: block;
  font-size: 40px;
  font-weight: 400;
}

.table-title-sp{
  display: none;
}

.wp-block-table {
    margin: 0;
    overflow-x: auto;
}

.wp-block-table table {
    border-top: 2px solid #47A0E0;
    border-bottom: 2px solid #47A0E0;
    margin-bottom: 60px;
}

#page .wp-block-table td {
  border-bottom: 1px solid #47A0E0;
  border-right: none;
  border-left: none;
  padding: 0;
}

#page .wp-block-table td:nth-of-type(1) {
  background-color: #a6d2e9;
  color: #FFFFFF;
  font-size: 20px;
  font-weight: 500;
  text-align: center;
  width: 30%;
  max-width: 300px;
  padding: 18px;
  letter-spacing: 1px;
  line-height: 1.6;
  border:none;
}

#page .wp-block-table td:nth-of-type(2) {
  background-color: #FFFFFF;
  color: #707070;
  font-size: 20px;
  font-weight: normal;
  width: 70%;
  max-width: 700px;
  padding: 18px 20px;
  letter-spacing: 1px;
  text-align: left;
  line-height: 1.6;
}
/*入院生活についての表ここまで*/

.process-preparation,.hospitalization-preparation{
  margin: 0 auto 100px
}

.process h3 {
  font-size: 40px;
  font-weight: 400;
  background-color: #1BA1E6;
  color: #fff;
  line-height: 2;
  padding-left: 10%;
}

.process-box {
  background-color: #fff;
  border: 1px solid #4C9FE0;
  padding: 30px 0;
}

.process-preparation h3 {
  margin-bottom: 50px;
}

.process-preparation .process-box>.wp-block-group__inner-container{
  margin-left: calc(5% + ((35% - 220px) / 2));
}

.process-inner>.wp-block-group__inner-container>p{
  font-size: 18px;
  margin-top: 15px;
  color: #1BA1E6;
  letter-spacing: 0.9px;
}

.hospitalization-preparation .process-box:first-of-type{
  margin-top: 70px;
}

.hospitalization-preparation .process-box:nth-of-type(2){
  margin: 60px 0;
}

.hospitalization-preparation .process-box:nth-of-type(3){
  margin-bottom: 70px;
}

.hospitalization-preparation .process-box>.wp-block-group__inner-container {
  display: flex;
  align-items: center;
  width: 100%;
  margin: auto;
  justify-content: center;
}

.process-box>.wp-block-group__inner-container>figure{
  flex-basis: 35%;
}

.process-box img{
  width: 220px;
  height: auto;
  margin: auto;
}

.process-box-text {
  flex-basis: 55%;
}

.process-box-text p{
  font-size: 20px;
  color: #707070;
}

.process-box-text p:nth-of-type(2){
  color: #1BA1E6;
}

.process-box-side {
  background-color: #fff;
  border: 1px solid #4C9FE0;
  border-right: none;
  border-left: none;
}

.process-inner>.wp-block-group__inner-container>div:nth-of-type(4){
  margin-bottom: 70px;
}

.process-box-side p{
  padding: 0 15px;
}

.process-box-side>.wp-block-group__inner-container>p:first-of-type{
  display: inline-block;
  background-color: #90C6E3;
  color: #fff;
  font-size: 22px;
  line-height: 2;
}

.process-box-side>.wp-block-group__inner-container>p:nth-of-type(2){
  font-size: 20px;
  color: #707070;
}

.process-box-side>.wp-block-group__inner-container>p:nth-of-type(3){
  font-size: 20px;
  color: #1BA1E6;
}

@media screen and (max-width: 5500px){
  
  .hospitalization-table h3 {
    margin-bottom: 15px;
  }
  
  .table-title-sp{
    font-size: 24px;
  }
  
  .wp-block-table td:nth-of-type(1), .wp-block-table td:nth-of-type(2){
    font-size: 16px;
  }
}

@media screen and (max-width: 1199px){
  
  .hospitalization-table, .process-preparation, .hospitalization-preparation{
    width: 90%;
  }
  
  .secondary>.wp-block-group__inner-container>p {
    margin: 0 auto 60px;
  }
  
  .secondary .size-large{
    top: -120px;
  }
  
  .secondary .size-large img {
    transform: scale(1.2);
  }
  
  .faq{
    margin-top: 50px;
    margin-bottom: 130px;
  }
  
}

@media screen and (max-width: 850px){
  
  .secondary-title {
    margin-bottom: 40px;
  }
  
  .secondary>.wp-block-group__inner-container>p {
    margin: 0 auto 30px;
  }
  
  .secondary .size-large{
    top: -120px;
  }
  
  .secondary .size-large img {
    transform: scale(1);
  }
}

@media screen and (max-width: 780px){
  /*ここからファーストビュー*/
  .top.size-large img{
    height: auto;
  }
  
  .wp-block-wrapper{
    width: 166px;
    height: 166px;
    margin: auto;
    margin-top: -92px;
    padding-top: 18px;
  }
  
  .wp-block-wrapper .size-full img{
    width: 50px;
    height: auto;
    padding: 10px 0;
  }
  
  .wp-block-wrapper h2 {
    font-size: 18px;
  }
  
  .wp-block-wrapper p {
    position: relative;
    width: 100vw;
    height: auto;
    left: 50%;
    transform: translateX(-50%);
    font-size: 12px;
  }
  
  .wp-block-wrapper p::before {
    bottom: -12px;
    width: 50%;
    height: 4px;
  }
  
  .wp-block-wrapper p::after {
    bottom: -12px;
    width: 50%;
    height: 4px;
  }
  
  .secondary>.wp-block-group__inner-container {
    position: relative;
    text-align: center;
  }
  
  .secondary-title {
    margin-bottom: 40px;
    display: inline-block;
  }
  
  .secondary-title p {
    font-size: 16px;
    letter-spacing: normal;
  }
  
  .secondary-title p:nth-of-type(2):before {
    width: 100%;
    height: 1px;
  }
  
  .secondary>.wp-block-group__inner-container>p {
    max-width: 265px;
    width: 90%;
    font-size: 14px;
  }
  
  .secondary>.wp-block-group__inner-container>p br{
    display: block;
  }
  
  .secondary .size-large {
    top: 30px;
  }
  
  .secondary .size-large img{
    height: auto;
    transform: scale(1.7);
  }
  
  .wp-block-button__link{
    font-size: 16px;
  }
  
  /*入院生活についての表ここから*/
  .wp-block-wrapper p::before,.wp-block-wrapper p::after{
    width: 100px;
  }
  
  .hospitalization-table{
    width: 90%;
    padding: 50px 0;
  }
  
  .hospitalization-table {
    margin: 50px auto 100px;
  }
  
  .table-title-sp{
    display: block;
    font-size: 18px;
    font-weight: 400;
  }
  
  .table-title-pc{
    display: none;
  }
  
  .wp-block-table table{
    display: flex;
    flex-wrap: wrap;
    border-top: none;
    border-bottom: none;
    margin-bottom: 0;
  }
  
  .wp-block-table tbody{
    display: flex;
    flex-wrap: wrap;
  }
  
  .wp-block-table td{
    border: none;
  }
  
  .wp-block-table tr{
    display: flex;
    flex-wrap: wrap;
    width: 100%;
  }
  
  #page .wp-block-table td:nth-of-type(1), #page .wp-block-table td:nth-of-type(2){
    width: 100%;
    max-width: none;
    font-size: 14px;
    text-align: left;
    letter-spacing: 1.4px;
    line-height: 1.5; 
	border: none;
  }
  
  #page .wp-block-table td:nth-of-type(1){
    padding: 0 18px;
    font-weight: 400;
    font-size: 16px;
  }
  /*入院生活についての表ここまで*/
  
  .process-preparation .process-box>.wp-block-group__inner-container{
    margin: auto;
    width: 90%;
  }
  
  .process h3{
    font-size: 20px;
    text-align: center;
    padding: 0;
  }
  
  .process-preparation{
    margin-bottom: 50px;
  }
  
  .hospitalization-preparation{
    margin: 0 auto 50px;
  }
  
  .hospitalization-preparation .process-box:first-of-type {
    margin-top: 40px;
  }
  
  .hospitalization-preparation .process-box:nth-of-type(2) {
    margin: 40px 0;
  }
  
  .hospitalization-preparation .process-box:nth-of-type(3) {
    margin-bottom: 50px;
  }
  
  .process-inner>.wp-block-group__inner-container>div:nth-of-type(4) {
    margin-bottom: 50px;
  }
  
  .hospitalization-preparation .process-box>.wp-block-group__inner-container{
    flex-wrap: wrap;
  }
  
  .process-inner>.wp-block-group__inner-container>p{
    font-size: 14px;
    text-align: center;
  }
  
  .process-box>.wp-block-group__inner-container>figure{
    flex-basis: 100%;
    margin-bottom: 20px;
  }
  
  .process-box-text{
    flex-basis: 100%;
  }
  
  #primary .process-box img{
    max-width: 150px;
    width: 100%;
  }
  
  .process-box-text p{
    font-size: 14px;
    width: 90%;
    margin: auto;
  }
  
  .process-box-side p{
    padding: 0;
  }
  
  .process-box-side>.wp-block-group__inner-container>p:first-of-type {
    display: block;
    font-size: 18px;
    text-align: center;
  }
  
  .process-box-side>.wp-block-group__inner-container>p:nth-of-type(2) {
    width: 90%;
    margin: auto;
    font-size: 14px;
  }
  
  .process-box-side>.wp-block-group__inner-container>p:nth-of-type(3) {
    width: 90%;
    margin: auto;
    font-size: 14px;
  }
  
  .faq{
    margin-bottom: 70px;
  }
}