@charset "utf-8";

/*===================================
        電子処方箋とは 共通
  ===================================*/
body{
    padding-top: 70px;
    background-color: #fff;
    font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", Meiryo, メイリオ, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
}
.display-sp{
    display: none;
}
.fw-800{
    font-weight: 800;
}
.fw-700{
    font-weight: 700;
}
.fw-600{
    font-weight: 600;
}
.fw-400{
    font-weight: 400;
}
.fw-300{
    font-weight: 300;
}
.ep-inner{
    max-width: 1320px;
    padding: 80px 20px 0;
    margin: 0 auto 10px;
    box-sizing: border-box;
}
.movie-inner{
    display: block;
    width: 100%;
    padding-top: 56.25%;
    position: relative;
}
.movie-inner iframe{
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.link-btn{
    text-align: center;
    border-radius: 50px;
}
.basic-btn{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 60px;
    font-size: 1.406rem;
    border-width: 3px;
    border-style: solid;
    box-sizing: border-box;
    transition: all 100ms ease 0s;
}
.basic-btn:hover{
    cursor: pointer;
    text-decoration: none;
}
.basic-btn.btn-primary{
    color: #FFF;
    background-color: #1D355F;
    border-color: #1D355F;
}
.basic-btn.btn-primary:hover{
    color: #1D355F;
    background-color: #FFF;
    border-color: #1D355F;
}
a.contact-btn{
    display: block;
    width: 92%;
    max-width: 615px;
    padding: 22px 0;
    color: #FFF;
    font-size: 31px;
    background-color: #189AD8;
    transition: all 100ms ease 0s;
}
a.contact-btn:hover,
a.contact-btn:focus{
    color: #FFF;
    text-decoration: none;
    background-color: #1D355F;
}

.header-global{
    width: 100%;
    padding: 0;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
}
.inner-header{
    max-width: 1320px;
}
.logo-header{
    box-sizing: border-box;
    padding: 14px 10px 10px;
    position: relative;
    left: 10px;
}

.header-about-icon{
    margin-right: 4px;
    position: relative;
    top: 2px;
}
.nav-header .select-nav{
    left: 185px;
}

.nav-header .select-nav .header-nav-item{
    position: relative;
}
.js-header-nav-item-trigger-pc:hover,
.js-header-nav-item-trigger-pc:hover a{
    color: #063894;
}
.nav-header .select-nav .header-nav-item > a:focus{
    text-decoration: none;
}
.header-nav-item-inner-pc{
    width: max-content;
    position: absolute;
    top: calc(100% - 13px);
    left: 0;
}

.js-header-nav-item-inner-pc{
    visibility: hidden;
    height: 0;
}
.js-header-nav-item-inner-pc.is-visible{
    visibility: visible;
}

.header-nav-inner-list{
    display: block;
    height: 0;
    overflow: hidden;
}
.header-nav-inner-list,
.header-nav-inner-list::before{
    transition: height 200ms ease 0s;
}
.header-nav-item-inner-pc.is-visible,
.js-header-nav-item-inner-pc.is-visible .header-nav-inner-list,
.js-header-nav-item-inner-pc.is-visible .header-nav-inner-list::before{
    height: 75px;
}
.js-header-nav-item-inner-pc.is-closing .header-nav-inner-list::before{
    height: 0;
}
.header-nav-inner-list::before{
    content: "";
    display: block;
    width: 200vw;
    height: 0;
    position: absolute;
    top: 0;
    left: -50vw;
    z-index: -5;
    background-color: #FFF;
}

.nav-header .header-nav-inner-list .header-nav-inner-item{
    display: block;
    padding-left: 14px;
    position: relative;
    z-index: 5;
}

.header-nav-inner-item::after{
    content: "";
    display: inline-block;
    width: 8px;
    height: 10px;
    position: absolute;
    top: calc(50% - 6px);
    left: 14px;
    background: url(/jp/-/media/medicom/electronic-prescription/common/ep_arrow_header.png) no-repeat center / contain;
}
.nav-header .header-nav-inner-list .header-nav-inner-item a{
    display: flex;
    align-items: center;
    height: 40px;
    padding-top: 7px;
    padding-bottom: 7px;
    box-sizing: border-box;
}
.nav-header .header-nav-inner-list .header-nav-inner-item.nav-pharnes a{
    margin-top: -7px;
    padding-bottom: 14px;
}
.nav-header .header-nav-inner-list .header-nav-inner-item.nav-pharnes::after{
    top: calc(50% - 10px);
}
.header-nav-item-inner-sp{
    display: none;
}

.inner-breadcrumbs{
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
}
.breadcrumbs a[href="#"]{
    pointer-events: none;
}
.breadcrumbs img{
    image-rendering: -webkit-optimize-contrast;
}
.breadcrumbs .inner-breadcrumbs span{
    color: #353539;
}
.container, .inner-container{
    max-width: 100%;
    padding: 0 0 160px;
}

.ep-basic-text{
    font-size: 1.125rem;
}
.notice-text{
    margin-bottom: 70px;
    color: #626262;
    font-size: 0.875rem;
    text-align: center;
}
.banner-box{
    display: flex;
    justify-content: center;
    align-items: center;
}
.ic-cardreader-box{
    width: min(100%, 945px);
}

.contact{
    max-width: 1320px;
    margin: 0 auto;
    padding: 171px 5.4% 0 7.575%;
    position: relative;
    box-sizing: border-box;
}
.contact-text{
    width: 100%;
    padding: 42px 327px 42px 7.875%;
    background-color: #F0FAFF;
    border: 3px solid #1D355F;
    border-radius: 4px;
    box-sizing: border-box;
}
.contact-img{
    position: absolute;
    bottom: 0;
    right: calc(5.4% + 41px);
    z-index: 5;
    pointer-events: none;
}

.footer-global{
    position: relative;
    z-index: 100;
    background-color: #203342;
}
.nav-footer{
    height: 269px;
    color: #FFF;
    background-color: transparent;
}
.nav-footer::before{
    content: "";
    display: block;
    width: 100%;
    height: 269px;
    position: absolute;
    top: 0;
    left: 0;
    background: url(/jp/-/media/medicom/electronic-prescription/common/footer_bg.jpg) no-repeat center / cover;
    z-index: -5;
}
.nav-footer-inner{
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 1096px;
    margin: 0 auto;
}
.footer-text{
    max-width: 756px;
    margin-left: 45px;
    padding-top: 5px;
}
.footer-copy{
    margin-bottom: 26px;
}
.nav-footer-list{
    display: grid;
    grid-template-columns: [group1] max-content [group2] max-content [group3] max-content [group4] max-content;
    grid-auto-flow: column;
    row-gap: 5px;
    padding-left: 10px;
    font-size: 0.875rem;
}
.nav-footer-list li{
    padding-right: 3.8em;
    position: relative;
}
.nav-footer-list li::before{
    content: "";
    display: inline-block;
    width: 6px;
    height: 8px;
    position: relative;
    top: -1px;
    background: url(/jp/-/media/medicom/electronic-prescription/common/ep_arrow_footer.png) no-repeat center / contain;
}
.nav-footer-list .footer-icon-dot::before{
    content: "\30FB";
    height: auto;
    margin-right: 0.25em;
    margin-left: -0.15em;
    background: none;
}
.footer-list-group1{
    grid-column: group1;
}
.footer-list-group2{
    grid-column: group2;
}
.footer-list-group3{
    grid-column: group3;
}
.footer-list-group4{
    grid-column: group4;
}

.ep-totop-footer{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 74px;
    height: 74px;
    position: absolute;
    left: calc(50% + (1320px / 2));
    bottom: calc(100% - 32px);
    z-index: 500;
    line-height: 1.25;
    background-color: #fff;
    border-radius: 50%;
    border: 3px solid #1E365E;
    box-sizing: border-box;
    overflow: hidden;
    transition: opacity 350ms ease 0s,
    transform 350ms ease 0s;
    opacity: 0;
    transform: translateY(50px);
    pointer-events: none;
}
.ep-totop-footer a::before{
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}
.ep-totop-footer.is-visible{
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}
.ep-totop-footer.is-fixed{
    position: fixed;
    bottom: 20px;
}

.ep-inner-totop-footer{
    position: relative;
    top: 1px;
    left: 1px;
}

@media screen and (max-width: 1500px){
    .ep-totop-footer{
        left: auto;
        right: 20px;
    }
}
@media screen and (max-width: 1080px){
    .nav-header .select-nav{
        display: flex;
        flex-wrap: wrap;
        position: relative;
        left: 0;
        width: 100%;
        margin-bottom: -1px;
        padding-left: 0;
        table-layout: fixed;
        background-color: #f8f8fa;
    }

/* PC版メニューのSP化 */
    .nav-header .select-nav .header-nav-item{
        position: relative;
    }
    .nav-header .select-nav li{
        min-width: 60px;
        flex-grow: 1;
    }
    .nav-header .select-nav li:first-child,
    .nav-header .select-nav li:nth-of-type(n){
        width: 100%;
        padding-left: 0;
    }
    .nav-header .select-nav li > a{
        padding-left: 50px;
    }
    .header-about-icon{
        top: -1px;
    }
    .header-about-icon img{
        vertical-align: middle;
    }
    .header-nav-item-inner-pc.is-visible, .js-header-nav-item-inner-pc.is-visible .header-nav-inner-list, .js-header-nav-item-inner-pc.is-visible .header-nav-inner-list::before{
        height: 80px;
    }
    .nav-header .select-nav li a {
        display: block;
        height: 50px;
        line-height: 50px;
        text-align: left;
        color: #353539;
        text-decoration: none;
        border-bottom: 1px solid #e4e7eb;
    }
    .header-nav-item::before,
    .header-nav-item::after{
        content: "";
        display: block;
        width: 10px;
        height: 2px;
        position: absolute;
        top: 23px;
        left: 30px;
        background-color: #063894;
        border-radius: 5px;
        transition: transform 200ms ease 0s;
    }
    .header-nav-item::after{
        transform: rotate(90deg);
    }
    .is-open.header-nav-item::after{
        transform: rotate(0deg);
    }
    .header-nav-item-inner-pc,
    .header-nav-item-inner-pc.is-visible{
        width: 100%;
        height: auto;
        position: relative;
        top: auto;
        text-align: center;
    }
    
    .nav-header .header-nav-inner-list .header-nav-inner-item a{
        padding-left: 78px;
    }
    
    .header-nav-inner-item::before{
        display: none;
    }
    .header-nav-inner-item::after{
        left: 65px;
    }
    .header-nav-inner-item a{
        display: block;
        padding: 17px 17px 17px 78px;
        color: #57575E;
        background-color: #fff;
        border-top: 1px solid #E4E7EB;
        box-sizing: border-box;
    }
    .nav-header .header-nav-inner-list .header-nav-inner-item.nav-pharnes a{
        margin-top: 0;
        padding-bottom: 7px;
    }
    .nav-header .header-nav-inner-list .header-nav-inner-item.nav-pharnes::after{
        top: calc(50% - 6px);
    }
/* SP版 */
    .js-header-nav-item-inner-sp.is-visible{
        display: block;
    }
    .nav-megadrop .header-nav-inner-item{
        position: relative;
    }

    .nav-footer{
        height: auto;
        min-height: 269px;
        padding-top: 40px;
        padding-bottom: 40px;
    }
    .nav-footer-inner{
        flex-direction: column;
        align-items: center;
    }
    .footer-text {
        margin-left: 0;
        padding-top: 20px;
    }
}

@media screen and (min-width: 801px) and (max-width: 1080px){
    .btns-sp-header{
        display: block;
        position: absolute;
        top: 0;
        right: 0;
    }
    .btn-sp-menu {
        display: block;
        width: 70px;
        height: 69px;
    }
    .nav-header{
        display: none;
        float: none;
        width: 100%;
    }

    .nav-footer::before{
        height: 300px;
    }
}

@media screen and (max-width: 800px) {
    .display-pc{
        display: none;
    }
    .display-sp{
        display: block;
    }

    .list-nav-detail{
        text-align: left;
    }
    .list-nav-detail > li > a{
        padding-left: 50px;
    }
    .list-nav-detail .header-nav-item{
        position: relative;
    }

    .ep-inner{
        padding-left: 10px;
        padding-right: 10px;
    }
    .ep-basic-text{
        font-size: 1rem;
    }
    .notice-text{
        padding-top: 40px;
        margin-bottom: 40px;
        font-size: 0.625rem;
        text-align: left;
    }
    .basic-btn{
        font-size: 1.125rem;
    }
    .contact{
        width: 100%;
        max-width: 600px;
        padding: 14.4% 5px 0 5px;
    }
    a.contact-btn{
        width: 100%;
        font-size: 1.125rem;
        padding-top: 14px;
        padding-bottom: 14px;
    }
    .contact-text{
        padding: 19px 36.666% 19px 6px;
        border-width: 2px;
    }
    .contact-img{
        width: 33.666%;
        right: 2.2%;
    }
    .contact-img::after{
        content: "";
        display: block;
        width: 100%;
        height: 2px;
        position: absolute;
        bottom: 0;
        left: 0;
        border-bottom: 2px solid #1D355F;
    }
    .nav-footer{
        min-height: 0%;
        padding: 40px 0 22px;
    }
    .nav-footer::before{
        height: 100%;
        background-image: url(/jp/-/media/medicom/electronic-prescription/common/footer_bg-sp.jpg);
    }
    .ep-totop-footer {
        width: 50px;
        height: 50px;
        bottom: calc(100% - 25px);
    }
    .ep-inner-totop-footer{
        display: inline-block;
        width: 20px;
        height: 11px;
        left: 1px;
    }
    .footer-logo{
        display: block;
        width: 240px;
        margin: 0 auto;
    }
    .footer-text {
        min-width: 0;
        padding-top: 10px;
    }
    .footer-copy{
        width: 315px;
        margin: 0 auto;
    }
    .nav-footer-list{
        display: none;
    }
}

@media screen and (max-width: 650px){
    body{
        padding-top: 51px !important;
    }
    .logo-header{
        width: auto;
        left: 5px;
        padding: 8px 5px;
    }
    .logo-header img{
        height: 36px;
    }
    .btn-sp-menu{
        border-left: none;
    }
    .list-nav-detail > li{
        font-size: 0.75rem;
    }
    .nav-header .select-nav {
        display: none;
    }
    .breadcrumbs{
        background-color: #F0FAFF;
        border-bottom: 1px solid #e4e7eb;
    }
    .breadcrumbs .inner-breadcrumbs a{
        color: #2F94FF;
    }
    .breadcrumbs .inner-breadcrumbs a:last-of-type::before{
        border-top-color: #F0FAFF;
        border-bottom-color: #F0FAFF;
    }
    .links-footer-info{
        padding-top: 6px;
    }
}

/* カテゴリ色違いアイコン */
.reading-category-tag{
    padding-left: 20px;
    position: relative;
    font-size: 0.9375rem;
    line-height: 1.2;
}
.reading-category-tag::before{
    content: "";
    display: block;
    width: 15px;
    height: 15px;
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 50%;
}
.reading-category-tag.category-clinic::before{
    background-color: #FFD45D;
}
.reading-category-tag.category-pharmacy::before{
    background-color: #ff7702;
}
.reading-category-tag.category-patient::before{
    background-color: #2ec95e;
}
.reading-category-tag.category-common::before{
    background-color: #0da5e8;
}
@media screen and (max-width: 800px) {
    .reading-category-tag{
        margin-bottom: 5px;
        padding-left: 16px;
        font-size: 0.75rem;
        line-height: 1;
    }
    .reading-category-tag::before{
        width: 12px;
        height: 12px;
        top: auto;
        bottom: 0;
    }
}

/* アコーディオン開閉 */
[data-accordion-status="close"] + .js-accordion-body{
    display: none;
}

/* もっと見るボタン */
.js-read-more-list[data-paging="3"] li:nth-of-type(n+4),
.js-read-more-list[data-paging="4"] li:nth-of-type(n+5),
.js-read-more-list[data-paging="6"] li:nth-of-type(n+7){
    display: none;
}
.link-btn.read-more:disabled{
    display: none!important;
}