@charset "UTF-8";

/* 新ダイアログ */
.med_confirm.custom.new_dialog .modal {
    height: 450px;
    padding: 50px 20px;
}

.med_confirm.custom.new_dialog .modal .info_text_box {
    display: flex;
    align-items: center;
    background: #F6F6F7;
    border-radius: 8px;
    padding: 20px;
    margin: 0 auto;
    width: 100%;
    max-width: 850px;
    font-size: 13px;
    text-align: left;
}
.med_confirm.custom.new_dialog .modal .info_text {
    display: flex;
    align-items: center;
}
.med_confirm.custom.new_dialog .modal .info_text:before {
    content: url(/-/media/medical/assets/medical/img/common/icon_info.svg);
    display: block;
    margin-right: 20px;
    width: 35px;
    height: 35px;
}
.med_confirm.custom.new_dialog .modal .title {
    padding-top: 50px;
}

.med_confirm.custom.new_dialog .modal .title:after {
    display: none;
}

.med_confirm.custom.new_dialog .modal .confirm {
    margin: 40px 0 25px;
}

.med_confirm.custom.new_dialog .modal .confirm_btn,
.med_confirm.custom.new_dialog .modal .confirm li:nth-of-type(2) a.confirm_btn {
    display: flex;
    justify-content: center;
    align-items: center;
    line-height: 1.5;
    height: 50px;
    padding: 10px;
    border-radius: 50px;
    font-size: 18px;
}
.med_confirm.custom.new_dialog .modal .confirm li:nth-of-type(2) a.confirm_btn sup {
    margin-left: 3px;
    padding-bottom: 10px;
}

.med_confirm.custom.new_dialog .modal .confirm_btn:hover {
    border: 2px solid #007FA5!important;
    background: #fff!important;
    color: #007FA5!important;
}

@media screen and (min-width: 768px){

    /* 新ヘッダ */
    .pc_nav {
        display: flex;
        align-items: center;
        width: calc(100% - 86px);
        height: 84px;
    }

    .site_nav {
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        width: 100%;
        height: 84px;
    }
    .site_nav .transition_tab{
        background: #E3F9FC;
        padding: 5px 15px;
        border-radius: 0 0 0 12px;
        font-size: 0.8125rem;
        width: auto;
        height: 30px;
        line-height: 1.0;
        margin-left: auto;
        color: #007FA5 !important;
    }
    .site_nav .transition_tab:hover {
        text-decoration: underline;
    }

    .site_nav .transition_tab span {
        display:flex;
        align-items: center;
    }

    .site_nav .transition_tab span:before {
        content: "";
        position: relative;
        left: 0;
        top: 1px;
        background: url(/-/media/medical/assets/img/common/icon-arrow-border-r-w.svg);
        background-size: cover;
        opacity: 1;
        display: block;
        width: 15px;
        height: 15px;
        -webkit-transition: all .3s;
        transition: all .3s;
        margin-right: 5px;
    }

    .header.global .pc_header {
        height: 84px;
        position: relative;
        z-index: 1000;
    }

    .pc_mainnav {
        height: 54px;
        display: flex;
        align-items: center;
    }

    header.global .pc_header .site_logo {
        height: auto;
        width: auto;
        padding-top: 0;
        line-height: 1;
    }

    header.global .pc_header .site_logo a {
        height: auto;
        width: 300px;
        display:flex;
        align-items: center;
    }

    header.global .pc_header .site_logo a .site_txt {
        margin-left: 15px;
        line-height: 1.2;
    }

    header.global .pc_header nav.global {
        height: 54px;
        margin: 0 15px 0 0px;
        text-align: right;
        position: relative;
        z-index: 10;
    }

    header.global .pc_header nav.global ul {
        height: 54px;
        list-style: none;
        margin: 0;
        padding-top: 10px;
    }

    header.global .pc_header nav.global li {
        height: 44px;
    }

    header.global .pc_header nav.global li a {
        display: block;
        line-height: 1.0;
        height: 44px;
        transition: all 0.3s;
        background: transparent;
        background-position: center bottom;
    }

    header.global .pc_header .search_block {
        border-left: 1px solid #f2f2f2;
        border-right: 1px solid #f2f2f2;
    }

}

@media screen and (max-width: 767.9px){

    /* 新ヘッダ */
    header.global .sp_header .site_logo {
        height: 60px;
        width: auto;
        padding-top: 0;
        line-height: 1;
        display: flex;
        align-items: center;
    }

    header.global .sp_header .site_logo a {
        height: auto;
        width: auto;
        display:flex;
        align-items: center;
    }

    header.global .sp_header .site_logo a .site_txt {
        margin-left: 10px;
        line-height: 1.2;
    }

    /* 新ダイアログ */
    .med_confirm.custom.new_dialog .modal {
        height: 450px;
        padding: 15px;
    }

    .med_confirm.custom.new_dialog .modal .info_text {
        display: flex;
        align-items: flex-start;
        flex-shrink: 0;
        width: 100%;
    }

    .med_confirm.custom.new_dialog .modal .info_text:before {
        margin-right: 10px;
        width: 30px;
        height: 30px;
        flex-shrink: 0;
    }

    .med_confirm.custom.new_dialog .modal .title {
        padding-top: 30px;
    }

    .med_confirm.custom.new_dialog .modal .confirm {
        margin: 30px 0 30px;
    }

    .med_confirm.custom.new_dialog .modal .confirm_btn,
    .med_confirm.custom.new_dialog .modal .confirm li:nth-of-type(2) a.confirm_btn {
        font-size: 16px;
    }
    .med_confirm.custom.new_dialog .modal .note {
        font-size: 14px;
    }

}

/* 言語切り替え追加 PC*/
#drawer_local {
  display: none;
}
.nav_sub{
  display: flex;
}
.lang_select{
  position: relative;
}
.lang_switch {
  padding: 7px 15px;
  background: none;
  font-family: FSEmeric, Arial, sans-serif;
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.3;
}
.lang_switch:before {
  content: url(/s/-/media/medical/assets/img/common/icon-global.svg);
  display: inline-block;
  vertical-align: text-top;
  margin-right: 5px;
  width: 0.8125rem;
  height: 0.8125rem;
}
.lang_switch:hover,
.lang_switch.active {
  background-color: #525b5c;
  color: #fff;
}
.lang_switch:hover:before,
.lang_switch.active:before {
  filter: invert(100%) sepia(0%) saturate(7500%) hue-rotate(360deg) brightness(104%) contrast(105%);
}
#drawer_local.active{
  background-color: #fff;
  border-radius: 4px;
  top:-60px;
  box-shadow: 0 0 4px rgb(0 0 0 / 16%);
  padding: 22px 20px;
  position: absolute;
  right:0;
  transform: translateY(100%);
  width: 304px;
  z-index: 1001;
  display: block;
}
#drawer_local.active .dropdown_list {
  display: flex;
  flex-direction: column;
  height: auto;
}
#drawer_local.active .dropdown_list>li {
  word-wrap: break-word;
  margin-top: 11px;
  height: auto;
  font-size: 0.8125rem;
  padding-left: 4%;
}
#drawer_local.active .dropdown_list>li:first-of-type {
  margin-top: 0px;
}
#drawer_local.active .dropdown_list>li>a {
  color: #222;
  text-decoration: underline;
  line-height: 1.0;
  height: auto;
  text-align: left;
}
#drawer_local.active .dropdown_list>li>a:hover {
  color: #007FA5;
  text-decoration: none;
  background: none;
}
#drawer_local.active .dropdown_list>li>a[aria-current] {
  position: relative;
  color: #007FA5;
  text-decoration: none;
}
#drawer_local.active .dropdown_list>li>a[aria-current]:before {
  background-color: #007FA5;
  content: "";
  display: block;
  height: 16px;
  left: -20px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
}
/* 言語切り替え追加 SP*/
@media screen and (max-width: 767px) {
  .lang-search {
    margin: 18px;
  }
  .lang-search .lang-search_title {
    margin-bottom: 5px;
  }
  .lang-search_form {
    display: flex;
    align-items: center;
  }
  .lang-search_form .lang-search_select-wrap {
    width: 78%;
  }
  #lang-search_select {
    width: 100%;
    height: 40px;
  }
  #lang_search_button {
    width: 20%;
    height: 40px;
    margin-left: auto;
    background-color: #007FA5;
    color: white;
    text-align: center;
    border-radius: 4px;
  }

}