/*全体の設定*/
html,
body {
    height: 100%;
    font-size: 14px;
}

/*画面幅900px以上*/
@media screen and (min-width:900px) {

    html,
    body {
        font-size: 16px;
        position:relative;
    }
}

body {
    font-family: "ヒラギノ丸ゴ Pro", "Hiragino Maru Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
    -webkit-text-size-adjust: none;
    background: #fff;
    color: #000000;
    line-height: 1.5;
}

/*a href*/
a {
    color: #1e90ff;
    transition: 0.3s;
}

/*マウスオン時*/
a:hover {
    opacity: 0.8;
    color: #777;
}

/*サイト全体ブロック*/
#allblock {
    height: 100%;
    max-width: 1800px;
    /*サイトの最大幅*/
    margin: 0 auto;
}

/*コンテンツのブロック*/
#block {
    flex: 1;
    padding: 30px;
}

/*画面幅600px以下の追加指定*/
@media screen and (max-width:600px) {

    /*コンテンツブロック*/
    #block {
        padding: 10px;
        /*コンテンツ内の余白*/
    }

    /*トップページ以外のコンテンツブロック*/
    body:not(.home) #block {
        padding-top: 100px;
        /*上にとる余白*/
    }
}

/*h2*/
#block h2 {
    border-bottom: 2px solid #d8e6ee;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 0 1rem;
    font-size: 1.3rem;
    font-weight: normal;
    position: relative;
}

#block h2 .line {
    border-bottom: 2px solid #49bbfe;
    /*濃い色の線の幅、線種、色*/
    display: inline-block;
    position: relative;
    padding: 5px 1rem;
    bottom: -2px;
}

#block h2 .small {
    font-size: 0.7em;
    opacity: 0.6;
    margin-right: 2rem;
}

/*h3タグ*/
#block h3 {
    margin: 0 0 1rem;
    font-size: 18px;
    padding: 5px 1rem;
    border-bottom: 2px solid #ddd;
    font-weight: normal;
}

/*p*/
#block p {
    margin: 0 1rem 1rem;
}

/*PとPの調整*/
#block p+p {
    margin-top: 1rem;
}

/*iframe*/
iframe {
    width: 100%;
}

/*ol nest1*/
ol.nest1 {
    counter-reset: mycount;
    list-style-type: none;
}

ol.nest1 li:before {
    content: counters(mycount, '-') '.';
    counter-increment: mycount;
}


/*etc...*/
input {
    font-size: 1rem;
}

section+section {
    margin-top: 1.5rem;
}

.hin,
.hin a {
    color: #ff0000;
}

.def,
.def a {
    color: #ff7f50;
}

.rel,
.rel a {
    color: #0011ff;
}

.imp,
.imp a {
    color: #000000;
    font-weight: bold;
}

.bg {
    font-weight: bold;
    color: #777777
}

p.img {
    margin: 0 0 1rem;
}

.focus {
    display: inline-block;
    padding: 0px 10px;
    background: #eee;
    border: 1px solid #ccc;
    border-radius: 3px;
    margin: 5px 0;
    word-break: break-all;
}

/*img*/
img {
    margin-top: 10px;
    margin-bottom: 15px;
    border: none;
    max-width: 300px;
    height: auto;
    vertical-align: middle;
}

/*table*/
table {
    border-collapse: collapse;
    border-top: 1px solid #ccc;
    width: 100%;
    margin: 0 auto 2rem;
}

.table1 caption {
    font-weight: bold;
    padding: 10px 5px;
    background: #777;
    color: #fff;
    margin-bottom: 15px;
    border-radius: 5px;
}

.table1 {
    border-top: 1px solid #ccc;
    width: 100%;
    margin: 0 auto 1rem;
}

.table1 tr {
    border-bottom: 1px solid #ccc;
}

.table1 th,
.table1 td {
    padding: 0px;
    margin: 0px;
    word-break: break-all;
}

.table1 th {
    font-weight: bold;
    width: 10%;
    text-align: left;
    background: #d3d3d3;
}

/*画面幅900px以上の追加指定*/
@media screen and (min-width:900px) {
    .table1 caption {
        padding: 5px 15px;
    }

    .table1 th,
    .table1 td {
        padding: 5px 10px;
    }

    .table1 th {
        width: 20%;
    }

}

/*footermenu*/
#footermenu {
    margin: 0;
    padding: 10px;
    text-align: center;
    font-size: 0.8rem;
}

#footermenu li {
    display: inline-block;
    padding: 0 10px;
}

/*footer*/
footer small {
    font-size: 100%;
}

footer {
    font-size: 0.7rem;
    text-align: center;
    padding: 20px;
}

footer a {
    color: inherit;
    text-decoration: none;
}

/*PAGE TOP*/
html {
    scroll-behavior: smooth;
}

.pagetop {
    height: 50px;
    width: 50px;
    position: fixed;
    right: 30px;
    bottom: 30px;
    background: #fff;
    border: solid 2px #000;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
}

.pagetop_arrow {
    height: 10px;
    width: 10px;
    border-top: 3px solid #000;
    border-right: 3px solid #000;
    transform: translateY(20%) rotate(-45deg);
}

/*pagetop hover*/
@media (hover: hover) and (pointer: fine) {

    .pagetop:hover,
    .pagetop:hover .pagetop_arrow {
        border-color: #3293e7;
    }
}

header {
    padding: 5px;
    margin: 0px 10px 20px 10px;
}

/*お知らせ見出し*/
.libon {
    font-size: 30px;
    position: relative;
    background: #b6e4ff;
    box-shadow: 0px 0px 0px 10px #b6e4ff;
    border: dashed 2px white;
    padding: 0.2em 0.5em;
    color: #454545;
}

.libon:after {
    position: absolute;
    content: '';
    left: -7px;
    top: -7px;
    border-width: 0 0 15px 15px;
    border-style: solid;
    border-color: #fff #fff #1078e0;
    box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.15);
}

.notice {
    display: block;
    padding: 10px 10px 10px 30px;
}

.noticeData {
    font-size: 16px;
    font-weight: bold;
    line-height: 0.8rem;
    display: flex;
    margin-bottom: 5px;
    color: #939fa8;
}

.noticeTime {
    margin-right: 1em;
    padding-right: 1em;
    border-right: 1px solid #dce0e3;
}

.noticeCat span+span:before {
    content: ", ";
}

/*電子処方箋 小見出し*/
.Stickybl {
        padding: 0.4em 0.5em;/*文字の上下 左右の余白*/
    color: #494949;/*文字色*/
    background: #f4f4f4;/*背景色*/
    border-left: solid 5px #7db4e6;/*左線*/
    border-bottom: solid 3px #d7d7d7;/*下線*/
    }

.Stickyor {
        padding: 0.4em 0.5em;/*文字の上下 左右の余白*/
    color: #494949;/*文字色*/
    background: #f4f4f4;/*背景色*/
    border-left: solid 5px #ffa500;/*左線*/
    border-bottom: solid 3px #d7d7d7;/*下線*/
    }



/*データ提出 見出し*/
.zaitaku {
    color: #505050;
    /*文字色*/
    padding: 0.5em;
    /*文字周りの余白*/
    /*おまじない     display: inline-block;*/
    line-height: 1.3;
    /*行高*/
    background: #dbebf8;
    /*背景色*/
    vertical-align: middle;
    border-radius: 25px 0px 0px 25px;
    /*左側の角を丸く*/
}

.zaitaku:before {
    content: '●';
    color: white;
    margin-right: 8px;
}

/*開閉*/
details {
    border: 1px solid rgb(97, 97, 97);
    border-radius: 8px;
    padding: 0 .5em;
    width: auto;
    height: fit-content;
    margin: .5em;
}

summary {
    padding: .5em 0;
    font-weight: bold;
}

details[open] summary {
    border-bottom: 1px solid rgb(97, 97, 97);
    margin: 0 0 .5em 0;
}

summary::after {
    content: "OPEN";
    border-radius: 4px;
    padding: 2px 4px;
    color: white;
    font-size: 12px;
    background-color: rgb(154, 222, 248);
    position: relative;
    top: -1.5px;
    left: 1em;
}

details[open] summary::after {
    content: "CLOSE";
}

details p {
    margin: 0.5em 1em;
}

