@charset 'UTF-8';

.tagengo-simple .simple-header__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.tagengo-simple .simple-header__logo {
  flex-shrink: 0;
  flex-grow: 0;
  margin-right: 20px;
}

.tagengo-simple .header__language {
  border-left: none !important;
  padding-left: 0 !important;
}

.tagengo-simple .header__language-select {
  display: inline-block;
  border: 1px solid #fff;
  color: #fff;
  font-size: 12px;
  border-radius: 10px;
  padding: 2px 28px 2px 28px;
  cursor: pointer;
  background-size: 5px auto;
  background: url(https://www.his-j.com/cmn/n-headfoot/images/arrow_down_hover.svg) no-repeat right 5px center #0057B8;
  transition: all 0.25s ease-out;
  line-height: 1.5;
  font-weight: normal;
}

.tagengo-simple .header__language-select:hover,
.tagengo-simple .header__language-select:focus {
  background-color: #fff;
  color: #0057B8;
  background-image: url(https://www.his-j.com/cmn/n-headfoot/images/arrow_down_blue.svg);
}

.tagengo-simple .header__nav-popup-item:not(.selected) > *:hover,
.tagengo-simple .header__nav-popup-item:not(.selected) > *:focus {
  background-color: #f2f2f2;
}

.tagengo-simple .header__nav-popup {
  box-sizing: border-box;
  min-width: 197px;
  display: none;
  width: auto;
  position: absolute;
  top: 0;
  right: 0;
  background-color: #fff;
  border: 2px solid #0057B8;
  border-radius: 4px;
  padding: 15px 0;
  overflow: hidden;
}

.tagengo-simple .header__language {
  position: relative;
}

.tagengo-simple .header__language-content {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 1;
  background: #ddd;
}

.tagengo-simple .header__nav-popup-items {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
}

.tagengo-simple .header__nav-popup-item {
  padding-left: 0;
  width: 100%;
  font-size: 14px;
  margin: 0;
}

.tagengo-simple .header__nav-popup-item.selected {
  background: url(https://www.his-j.com/cmn/n-headfoot/images/check.svg) no-repeat left 16px center;
  background-size: 15px 10px;
}

.tagengo-simple .header__nav-popup-item.selected > * {
  cursor: default;
}

.tagengo-simple .header__nav-popup-item > * {
  cursor: pointer;
  display: block;
  padding: 6px 15px 6px 37px;
  cursor: pointer;
  text-decoration: none;
  color: #333;
  white-space: nowrap;
  font-weight: normal;
  line-height: 1.5;
  text-align: left;
}

/*============================================
▼モーダル・トースター▼
============================================*/
.tagengo-overlay {
  height: 100%;
  width: 100%;
  background-color: rgba(0,0,0,.5);
  z-index: 1000000;
  position: fixed;
  top: 0;
  left: 0;
}

.tagengo-info-box {
  z-index: 1000001;
  background: #fff;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 32px 25px 28px;
  font-family: "Meiryo UI";
}

.tagengo-info-box--pc {
  font-family: "????", Meiryo;
}

.tagengo-overlay,
.tagengo-info-box {
  display: none;
}

.tagengo-info-box--modal {
  min-width: 300px;
  max-width: 345px;
  width: calc(100% - 30px);
  margin: 0;
  border-radius: 5px;
  box-sizing: border-box;
}

.tagengo-info-box__inner {
  position: relative;
}

.tagengo-info-box__content {
  position: relative;
}

.tagengo-info-box__close {
  position: absolute;
  right: 14px;
  top: 14px;
  z-index: 100;
  cursor: pointer;
  height: 15px;
  width: 15px;
  padding: 5px;
  background-color:red;
  background: url(https://www.his-j.com/cmn/icon/icon_close.svg) center / 30px 30px;
}

.tagengo-info-box--pc.tagengo-info-box--toaster .tagengo-info-box__close {
  top: 10px;
  right: 10px;
}

.tagengo-info-box__close--button {
  display: block;
  border: 1px solid #000;
  border-radius: 3px;
  padding: 10px 20px;
  margin: 0 auto;
  max-width: 100px;
  cursor: pointer;
}

.tagengo-info-box__title {
  font-size: 24px;
  line-height: 1.25;
  display: flex;
  justify-content: center;
}

.tagengo-info-box--toaster .tagengo-info-box__title {
  display: flex;
  align-items: flex-start;
  color: #004098;
  justify-content: flex-start;
  font-size: 20px;
  line-height: 1.5;
  position: relative;
  padding-left: 23px;
  white-space: nowrap;
}

.tagengo-info-box--toaster .tagengo-info-box__title::before {
  content: "";
  background: url(https://www.his-j.com/cmn/icon/icon_info_blue.svg) center / 15px 15px;
  display: inline-block;
  width: 15px;
  height: 15px;
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}

.tagengo-info-box--toaster .tagengo-info-box__title + * {
  margin-top: 20px;
}

.tagengo-info-box__title + * {
  margin-top: 30px;
}

.tagengo-info-box__language-lists {
  display: flex;
  flex-direction: column;
  list-style-type: none;
}

.tagengo-info-box__language-lists > * {
  border: 1px solid #ccc;
  border-radius: 3px;
  font-size: 16px;
  text-align: center;
  color: #004098;
  padding: 9px 20px;
  cursor: pointer;
  transition: all 0.25s ease-out;
}

.tagengo-info-box--pc .tagengo-info-box__language-lists > * {
  border-color: #888;  
}

.tagengo-info-box--pc .tagengo-info-box__language-lists > *:hover,
.tagengo-info-box--pc .tagengo-info-box__language-lists > *:focus {
  background-color: #004098;
  color: #fff;
}

.tagengo-info-box__language-lists > * + * {
  margin-top: 10px;
}

.tagengo-info-box-content__text {
  font-size: 14px;
  line-height: 1.28;
  text-align: left;
}

.tagengo-info-box--pc .tagengo-info-box-content__text {
  line-height: 1.5;
}

.tagengo-info-box-step + .tagengo-info-box-step {
  display: none;
}

.tagengo-info-box__button {
  border: 1px solid #000;
  text-align: center;
  border-radius: 3px;
  width: 100%;
  margin: 26px auto 0;
  padding: 4.5px 10px;
  min-height: 30px;
  box-sizing: border-box;
}

.tagengo-info-box__button--close {
  border-color: #ccc;
  max-width: 150px;
  transition: all 0.25s ease-out;
}

.tagengo-info-box--pc .tagengo-info-box__button--close {
  cursor: pointer;
  border-color: #707070;
}

.tagengo-info-box--pc .tagengo-info-box__button--close:hover,
.tagengo-info-box--pc .tagengo-info-box__button--close:focus {
  background-color: #f4f4f4;
}

.tagengo-info-box--toaster {
  display: none;
  bottom: 20px;
  top: auto;
  transform: translateX(-50%) translateY(0);
  box-shadow: 0px 0px 10px #00000029;
  width: calc(100% - 55px);
  padding: 30px 28px 30px 23px;
  border-left: 5px solid #004098;
  box-sizing: border-box;
}

.tagengo-info-box--pc.tagengo-info-box--toaster {
  width: 992px;
  padding: 18px 48px 18px 35px;
  box-shadow: 0px 3px 6px #00000029;
  bottom: 100px;
}

.tagengo-info-box--pc.tagengo-info-box--toaster .tagengo-info-box__inner {
  display: flex;
  align-items: center;
}

.tagengo-info-box--pc.tagengo-info-box--toaster .tagengo-info-box__content {
  margin-top: 0;
  padding-left: 53px;
}
/*============================================
▲モーダル・トースター▲
============================================*/


/**************** e.用の対応 ******************/

/* e. 「料金確認」画面 */
.tagengo-simple .rn-selectedCondition {
  z-index: 100;
}

.tagengo-simple .rn-siteHeader {
  display: flex;
  align-items: center;
}

.tagengo-simple .rn-siteHeader .header__language {
  position: absolute;
  right: 5%;
  z-index: 100;
  top: 50%;
  transform: translateY(-50%);
}


/* e. 「情報確認]画面, 「予約完了」画面 */
.tagengo-simple #login-header,
.tagengo-simple #f-header {
  position: relative;
  overflow: visible !important;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tagengo-simple #login #login-header p,
.tagengo-simple #f-header p {
  position: relative;
  margin-top: 0 !important;
  width: calc(100% - 220px);
}

.tagengo-simple #login-header .header__language,
.tagengo-simple #f-header .header__language {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
}

.tagengo-simple #login-header .header__language-select,
.tagengo-simple #f-header .header__language-select {
  padding-left: 18px;
  padding-right: 18px;
}

/* e. 予約導線内の言語選択ボックスのスタイル */

/* 「料金確認」画面 */
.tagengo-simple .rn-siteHeader .header__language-select {
  background-color: #004BB0;
}
.tagengo-simple .rn-siteHeader .header__nav-popup {
  border-color: #004BB0;
}

/* 「情報確認」, 「予約完了」画面 */
.tagengo-simple #f-header .header__language-select,
.tagengo-simple #login-header .header__language-select {
  background-color: #024895;
}
.tagengo-simple #f-header .header__nav-popup,
.tagengo-simple #login-header .header__nav-popup {
  border-color: #024895; 
}

/**************** e.用の対応 ******************/



/*============================================
▼条件確認画面（注記文言）▼
============================================*/
html:not([lang="ja"]) .tagengo-is-active .tagengo-note {
  display: flex !important;
}

.tagengo-note {
  display: none;
  align-items: center;
  margin: 5px 0;
  padding-right: 150px;
}

.tagengo-note::before {
  content: '';
  flex-grow: 0;
  flex-shrink: 0;
  display: inline-block;
  width: 16px;
  height: 16px;
  background: url(/cmn/icon/icon_warning_red.svg) center no-repeat;
  margin-right: 6px;
}

.tagengo-note__text {
  flex-grow: 1;
  font-size: 13px;
  color: #f00;
}

#header_pc .tagengo-note__text { font-size: 14px; }

.rn-term__heading {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  padding-top: 10px;
  padding-bottom: 10px;
}

.rn-term__heading > span:not(.rn-term__toggle) {
  padding-right: 20px;
  margin: 5px 0;
}

.rn-term > .tagengo__note {
  flex-shrink: 1;
}

#header_pc .rn-term__toggle {
  top: 15px;
}

#header_sp .rn-term__toggle {
  top: 17px;
}

/*============================================
▲条件確認画面（注記文言）▲
============================================*/
