@charset "UTF-8";
/* CSS Document */
/* ------------------------------------------------------------ */
/* 下層共通 */
/* ------------------------------------------------------------ */
.sub .content {
  display: flex;
}
.side-area {
  width: 1em;
}
.main-area {
  width: calc(100% - 1em);
}
.page-title {
  padding: 2em 0;
  margin: 0 auto 1em;
}
.page-title h2 {
  font-size: 1.45em;
}

/* ------------------------------------------------------------ */
/* 下層トビラ共通 */
/* ------------------------------------------------------------ */

.sub_top .inner {
  padding-left: 0;
}

.tab_wrap .tab_btn {
  width: 100%;
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
}

.tab_wrap .page_item {
  width: 100%;
  margin: 0 0 10px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  background-color: #fff;
  padding: 12px 10px;
  border-top: 2px solid #5293ce;
  font-size: 1.1em;
  font-weight: bold;
  cursor: pointer;
}

.tab_wrap .page_item.is-active {
  color: #fff;
  background-color: #5293ce;
}

.tab_wrap .page_item.icon_arw {
  position: relative;
}

.tab_wrap .page_item.icon_arw::after {
  content: "";
  background-image: url(../img/arrow-blue.svg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  display: block;
  width: 20px;
  height: 8px;
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

.tab_wrap .page_item.icon_arw.is-active::after {
  background-image: url(../img/arrow-wh.svg);
  transform: rotate(180deg);
}

.tab_cnt,
.tab_sub_cnt {
  width: 100%;
  display: none;
  justify-content: flex-start;
  flex-wrap: wrap;
}

.tab_cnt.is-active,
.tab_sub_cnt.is-active {
  display: flex !important;
}

.tab_wrap .tab_cnt .page_item {
  background-color: #5293ce;
  color: #fff;
  border-top: none;
  padding: 10px;
  font-size: 0.8em;
}
.tab_wrap .tab_cnt .page_item.is-active {
  background-color: #f2b251;
}

.tab_wrap .tab_cnt .page_item.icon_arw::after {
  background: url(../img/arrow-wh.svg) no-repeat center / contain;
  width: 12px;
  height: 8px;
}
.tab_wrap .tab_cnt .page_item.icon_arw.is-active::after {
  transform: rotate(180deg);
}
.tab_wrap .tab_sub_cnt .page_item {
  background-color: rgba(82, 147, 206, 0.2);
  color: #5293ce;
}

/* ------------------------------------------------------------ */
/* form共通 */
/* ------------------------------------------------------------ */

.form-box {
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
}

.form-field {
  padding: 1.2em 0;
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
  border-top: 1px solid #aaa;
}

.field-ttl {
  width: 100%;
  padding: 0 5px;
  margin-bottom: 5px;
  font-weight: bold;
}
.field-input {
  width: 100%;
}
.editor_area .field-input p {
  padding: 0;
  margin: 0;
}
.field-input .ex {
  font-size: 13px;
  margin: 5px 5px 0;
}
.form-box .required {
  display: inline-block;
  vertical-align: middle;
  margin-left: 10px;
  font-size: 12px;
  color: #cc3333;
}
.form-box .note {
  display: inline-block;
  vertical-align: middle;
  margin-left: 10px;
  font-size: 12px;
  color: #666;
}

.form-box input,
.form-box select,
.form-box textarea {
  background: #fff;
  border: 1px solid #aaa;
  border-radius: 5px;
  margin: 0 5px;
  padding: 5px;
  display: inline-block;
  vertical-align: middle;
  font-size: 16px;
}
.form-box input.sizeM {
  min-width: 180px;
  width: 30%;
}
.form-box input.sizeS {
  width: 100px;
}
.form-box .select-field {
  position: relative;
  display: block;
}
.form-box .select-field::after {
  content: "▼";
  color: #333;
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  font-size: 0.8em;
}
.form-box .mwform-radio-field {
  display: inline-block;
}

.submit-item {
  width: 100%;
  text-align: center;
  padding-top: 1em;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}
.submit-item input[type="reset"],
.submit-item input[type="back"],
.submit-item input[type="submit"] {
  background: #aaa;
  border: 3px solid #aaa;
  border-radius: 5px;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 5px 10px;
  padding: 0.5em 3em;
  font-size: 1.6rem;
  letter-spacing: 0.2em;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}
.submit-item input[type="submit"] {
  background: #5293ce;
  border: 3px solid #5293ce;
  border-radius: 5px;
  color: #fff;
}
.submit-item input[type="reset"]:hover,
.submit-item input[type="back"]:hover {
  background: #fff;
  color: #aaa;
}
.submit-item input[type="submit"]:hover {
  background: #fff;
  color: #5293ce;
}
.submit-item input:disabled {
  background: #aaa;
  border-color: #aaa;
  pointer-events: none;
}

.editor_area .form-box h5 {
  display: block;
  margin-top: 1em;
}
.form-box .birth-line {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex-wrap: wrap;
  width: 100%;
  max-width: 400px;
  margin-top: 5px;
}
.form-box .birth-line input {
  width: 60px;
}
.field-input .date-list:not(:first-of-type) {
  margin-top: 5px;
}
.field-input input.p-postal-code {
  width: 60px;
}
.form-box .input-line:not(:first-of-type) {
  margin-top: 10px;
}
.form-box .input-line {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}
.mw_wp_form .btn a {
  text-decoration: none;
}
.form-box .flx_line {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  margin: 5px 0;
}
.form-box .flx_5cols .flx_item {
  position: relative;
  width: 47%;
  margin: 0 0 1em;
}

.form-box .flx_5cols .flx_item label::after {
  background: url(https://www.hokushin-hosp.jp/cms/wp-content/uploads/2021/03/001-300x210.jpg)
    no-repeat center / contain;
  content: "";
  display: block;
  width: 100%;
  height: auto;
  padding-top: 70%;
}
.form-box .flx_5cols .flx_item:nth-of-type(2) label::after {
  background: url(https://www.hokushin-hosp.jp/cms/wp-content/uploads/2021/03/002-300x210.jpg)
    no-repeat center / contain;
}
.form-box .flx_5cols .flx_item:nth-of-type(3) label::after {
  background: url(https://www.hokushin-hosp.jp/cms/wp-content/uploads/2021/03/003-300x210.jpg)
    no-repeat center / contain;
}
.form-box .flx_5cols .flx_item:nth-of-type(4) label::after {
  background: url(https://www.hokushin-hosp.jp/cms/wp-content/uploads/2021/03/004-1-300x210.jpg)
    no-repeat center / contain;
}
.form-box .flx_5cols .flx_item:nth-of-type(5) label::after {
  background: url(https://www.hokushin-hosp.jp/cms/wp-content/uploads/2021/03/005-1-300x210.jpg)
    no-repeat center / contain;
}
.mw_wp_form .error {
  margin: 5px 5px 0;
}

.mw_wp_form_confirm .field-input .ex,
.mw_wp_form_confirm .form-box .note {
  display: none;
}

.submit-field .wp-block-button {
  display: none;
}
.is-confirm .submit-field .wp-block-button {
  display: block;
}
.is-confirm .form-field,
.is-send .submit-field {
  display: none;
}
.is-confirm .submit-field {
  display: block;
}
.is-confirm .submit-field input {
  display: none;
}

/* ラジオボタンの選択項目によって分岐 https://design-webnote.com/wp/mw-form-bifurcation/*/
.mw_wp_form_input .open-area {
  display: none;
}

/* 予約カレンダーのフォーム */
.event-influenza #booking-package_inputFormPanel .description {
  font-weight: 600;
  color: #ff1c1c;
}

/* パスワード保護 */
.post-password-required input[type="password"] {
  width: 250px;
  background: #fff;
  border: 1px solid #aaa;
  border-radius: 5px;
  margin: 0 5px;
  padding: 5px;
  display: inline-block;
  vertical-align: middle;
  font-size: 16px;
}
.post-password-required input[type="submit"] {
  background: #5293ce;
  border: 3px solid #5293ce;
  border-radius: 5px;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 10px 5px 10px;
  padding: 0.2em 3em;
  font-size: 1.6rem;
  letter-spacing: 0.2em;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}
.post-password-required input[type="submit"]:hover {
  background: #fff;
  color: #5293ce;
}

/* ------------------------------------------------------------ */
/* ページャー */
/* ------------------------------------------------------------ */

.paginate {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  width: 100%;
  padding-top: 2em;
}
.pagenate {
  text-align: center;
}

.page-numbers {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 32px;
  height: 32px;
  text-align: center;
  color: #5293ce;
  background: #fff;
  border: 3px solid #5293ce;
  border-radius: 3px;
  font-weight: bold;
  margin-left: 5px;
  margin: 0 5px 5px 0;
}
.page-numbers:visited {
  color: #5293ce;
}
.page-numbers.current {
  color: #fff;
  background: #5293ce;
}

.single .page-numbers {
  width: auto;
  height: auto;
  padding: 5px;
  margin: 0 5px 5px;
}

/* ------------------------------------------------------------ */
/* 一覧 */
/* ------------------------------------------------------------ */
.archive .articleList article {
  font-size: 1.4rem;
}
.archive .articleList .post-info {
  margin-bottom: 5px;
  padding: 0;
  width: 100%;
  font-size: 11px;
}
.archive .articleList article .cat {
  margin: 0 5px 5px;
}

/* ------------------------------------------------------------ */
/* サイトマップ */
/* ------------------------------------------------------------ */

.sitemap .editor_area .box {
  margin-bottom: 3.5em;
}

@media screen and (min-width: 480px) {
  /* スマートフォン横 */
  /* ------------------------------------------------------------ */
  /* 下層共通 */
  /* ------------------------------------------------------------ */
  .side-area {
    width: 2.5em;
    height: auto;
    position: relative;
  }
  .side-area p {
    color: #82899a;
    font-size: 0.8em;
    letter-spacing: 0.2em;
    position: absolute;
    top: 100px;
    left: 50%;
    transform: translateX(-50%);
    -ms-writing-mode: tb-rl;
    writing-mode: vertical-rl;
  }
  .side-area span {
    margin: 0 auto 3em;
    position: relative;
    text-transform: uppercase;
  }
  .side-area span::after {
    content: "";
    display: inline-block;
    background: #82899a;
    width: 1em;
    height: 1px;
    bottom: -1.5em;
    left: 50%;
    transform: translateX(-50%);
    position: absolute;
  }
  .main-area {
    width: calc(100% - 2.5em);
  }
  .sub .main-area .inner {
    margin: 0;
    padding: 0 5%;
    max-width: 1200px;
  }
  .page-title {
    padding: 2em 0 3em;
  }

  /*パンくず*/
  .page-title #punkuz {
    text-align: right;
    margin: 0 auto 1em;
    font-size: 0.9em;
    color: #82899a;
  }
  .page-title #punkuz a {
    display: inline-block;
    font-weight: 600;
    color: #000;
    position: relative;
  }
  .page-title #punkuz a::after {
    content: "/";
    display: inline-block;
    margin: 0 1em;
    color: #000;
  }
  .page-title #punkuz a:hover {
    color: #5293ce;
    opacity: 1;
  }

  .single .page-numbers {
    padding: 5px 1em;
  }

  /* パスワード保護 */
  .post-password-required input[type="submit"] {
    margin: 0 5px 10px;
  }

  /* ------------------------------------------------------------ */
  /* 下層トビラ共通 */
  /* ------------------------------------------------------------ */
}
@media screen and (min-width: 768px) {
  /* タブレット縦 / スマートフォン横 */
  /* ------------------------------------------------------------ */
  /* 下層共通 */
  /* ------------------------------------------------------------ */
  .side-area {
    width: 5%;
  }
  .main-area {
    width: 95%;
  }
  .page-title h2 {
    font-size: 1.95em;
  }

  .sub .main-area .sub_top .inner {
    padding: 0 1em;
  }
  .sub_top .pc {
    display: block;
  }

  .tab_wrap .page_item {
    width: calc((100% / 3) - 10px);
    margin: 0 10px 10px 0;
  }
  .tab_wrap .page_item:nth-of-type(3n) {
    margin: 0 0 10px;
  }

  .field-ttl {
    width: 27%;
    margin: 0;
  }
  .field-input {
    width: 73%;
    padding: 0 5px 0 1em;
  }

  .form-box .flx_5cols .flx_item {
    width: 18%;
    margin: 0;
  }
}
@media screen and (min-width: 1025px) {
  /* デスクトップ/タブレット横 */
  /* ------------------------------------------------------------ */
  /* 下層共通 */
  /* ------------------------------------------------------------ */
  .side-area {
    width: 10%;
  }
  .side-area p {
    /* top: 20%; */
    top: 200px;
    font-size: 1em;
  }
  .main-area {
    width: 90%;
  }
  .page-title {
    padding: 2em 0 4em;
  }
  .page-title h2 {
    font-size: 3.4rem;
  }

  .sub .main-area .sub_top .inner {
    padding: 0 5%;
  }

  .tab_wrap .tab_cnt.is-active,
  .tab_wrap .tab_sub_cnt.is-active {
    margin-bottom: 15px;
  }

  .tab_wrap .page_item {
    padding: 20px 15px;
    line-height: 1.5;
    width: calc((100% / 3) - 15px);
    margin: 0 15px 15px 0;
  }
  .tab_wrap .page_item:nth-of-type(3n) {
    margin: 0 0 15px;
  }

  .tab_wrap .tab_cnt .page_item {
    padding: 12px;
    font-size: 1em;
  }
  .tab_wrap .tab_cnt .page_item:nth-of-type(3n) {
    margin: 0 0 15px;
  }

  /* ------------------------------------------------------------ */
  /* ページャー */
  /* ------------------------------------------------------------ */
  .pagenate {
    padding-top: 3em;
  }
  .page-numbers:hover {
    opacity: 1;
    color: #fff;
    background: #aaa;
    border-color: #aaa;
  }

  .single .page-numbers {
    margin: 0 10px 10px;
  }

  /* ------------------------------------------------------------ */
  /* 一覧 */
  /* ------------------------------------------------------------ */
  .archive .articleList article {
    font-size: 1em;
  }
  .archive .articleList .post-info {
    font-size: 12px;
  }
  .articleList .post-info {
    margin-right: 1em;
  }
}

.index-80th__content {
  width: 100%;
  max-width: calc(1200px + 4em);
  padding: 0 2em;
  margin: 100px auto 80px;
}
.index-80th__grid {
  display: flex;
  gap: 30px;
}
.index-80th__grid .index-80th__item {
  width: calc(50% - 15px);
}
.index-80th__grid .attention-covid .inner {
  display: block;
  max-width: 100%;
  padding: 0;
}
.index-80th__grid .attention-covid {
  padding: 0;
}
.index-80th__grid .attention-covid .at-item.at-mask {
  width: 100%;
  margin-bottom: 40px;
}
.index-80th__grid .attention-covid .at-item.at-mask .band {
  padding: 23px 15px;
}
.index-80th__grid .attention-covid .at-item.at-exam {
  width: 100%;
}

.index-countdown {
  background-color: #6284c4;
  /* background: linear-gradient(90deg, #3558A5, #7396D0); */
  border-radius: 10px;
}
.index-countdown__grid {
  display: flex;
  justify-content: space-between;
}
.index-countdown__logo {
  width: 60%;
  padding: 0 20px;
  margin: auto;
}
.index-countdown__logo img {
  display: block;
  width: 100%;
  max-width: 260px;
  margin: auto;
}
.index-countdown__logo p {
  color: #fff;
  font-size: 2.2rem;
  font-weight: bold;
  letter-spacing: 3px;
  text-align: center;
  margin-top: 10px;
}
.index-countdown__logo .btn {
  display: block;
  width: 100%;
  max-width: 220px;
  border: 1px solid #fff;
  border-radius: calc(infinity * 1px);
  height: 55px;
  line-height: 53px;
  color: #fff;
  text-align: center;
  margin: 30px auto 0;
}
.index-countdown__logo .btn:hover {
  color: #6284c4;
  background-color: #fff;
  opacity: 1;
}
.index-countdown__iframe {
  position: relative;
  width: 40%;
  margin-left: auto;
  padding: 15px 15px 15px 0;
}
.index-countdown__iframe::after {
  content: "";
  position: absolute;
  top: -55px;
  left: -30px;
  width: 180px;
  height: 116px;
  background: url(../img/countdown.svg) no-repeat center / cover;
  pointer-events: none;
}
.index-countdown iframe {
  position: relative;
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  display: block;
}
@media only screen and (max-width: 1120px) {
  .index-80th__content {
    width: 100%;
    max-width: 800px;
    padding: 0 2em;
    margin: 100px auto 80px;
  }
  .index-80th__grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
  }
  .index-80th__grid .index-80th__item {
    width: 100%;
  }
}
@media only screen and (max-width: 540px) {
  .index-80th__content {
    width: 100%;
    max-width: calc(1200px + 4em);
    padding: 0 15px;
    margin: 60px auto 80px;
  }
  .index-80th__grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
  }
  .index-80th__grid .index-80th__item {
    width: 100%;
  }
  .index-80th__grid .attention-covid .inner {
    display: block;
    max-width: 100%;
    padding: 0;
  }
  .index-80th__grid .attention-covid {
    padding: 0;
  }
  .index-80th__grid .attention-covid .at-item.at-mask {
    width: 100%;
    margin-bottom: 30px;
  }
  .index-80th__grid .attention-covid .at-item.at-mask .band {
    padding: 23px 15px;
  }
  .index-80th__grid .attention-covid .at-item.at-exam {
    width: 100%;
  }

  .index-countdown {
    background-color: #6284c4;
    /* background: linear-gradient(90deg, #3558A5, #7396D0); */
    border-radius: 10px;
  }
  .index-countdown__grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  }
  .index-countdown__logo {
    width: 100%;
    padding: 40px 20px 0;
    margin: auto;
  }
  .index-countdown__logo img {
    display: block;
    width: 100%;
    max-width: 220px;
    margin: auto;
  }
  .index-countdown__logo p {
    color: #fff;
    font-size: 2rem;
    font-weight: bold;
    letter-spacing: 3px;
    text-align: center;
    margin-top: 10px;
  }
  .index-countdown__logo .btn {
    display: block;
    width: 100%;
    max-width: 220px;
    border: 1px solid #fff;
    border-radius: calc(infinity * 1px);
    height: 55px;
    line-height: 53px;
    color: #fff;
    text-align: center;
    margin: 20px auto 0;
  }
  .index-countdown__logo .btn:hover {
    color: #6284c4;
    background-color: #fff;
    opacity: 1;
  }
  .index-countdown__iframe {
    position: relative;
    width: 100%;
    max-width: 280px;
    margin: 60px auto 20px;
    padding: 15px;
  }
  .index-countdown__iframe::after {
    content: "";
    position: absolute;
    top: -35px;
    left: -5px;
    width: 140px;
    height: 90px;
    background: url(../img/countdown.svg) no-repeat center / cover;
    pointer-events: none;
  }
  .index-countdown iframe {
    position: relative;
    width: 100%;
    height: auto;
    aspect-ratio: 9 / 16;
    display: block;
  }
}
