@charset "UTF-8";

/*------------------------------
created: 2019-09-11_shimizu
------------------------------*/
/* 背景画像を変更 */
#wrapper-contents {
    background: #f6f6f6 url(images/index_bg.jpg) repeat-x center top;
}

#wrapper-contents .container-fluid {
    max-width: 1200px;
}

#index #wrapper-contents #contents {
    padding: 10px;
}

/*------------------------------
右（更新／概要）ブロック
------------------------------*/
.index-info {
    margin: 0 auto;
}

/* バナー */
.banner a {
    display: block;
    width: 100%;
}

.banner a:link {
    text-decoration: none;
}

.banner h1,
.banner a h2 {
    margin: 0;
    padding: 0;
    background: none;
    font-size: 1rem;
    line-height: 1;
    text-align: left;
}

.banner a figure {
    margin-bottom: 0;
}

.banner a picture source,
.banner a picture img {
    max-width: 100%;
}

.banner a:hover {
    color: #369;
    background-color: #FDFFED;
    text-decoration: none;
}

.banner img {
    width: 100%;
}

/* HIV陽性者に対する精神・心理的支援方策および連携体制構築に資する研究 */
#hiv_shien_renkei {
    margin-bottom: 15px;
    position: relative;
}

#hiv_shien_renkei a {
    display: block;
    vertical-align: middle;
    text-align: center;
}

#hiv_shien_renkei a:hover,
#hiv_shien_renkei a:focus {
    background-color: transparent;
}

#hiv_shien_renkei h2 {
    pointer-events: none;
    z-index: 10;
    position: absolute;
    color: #fff;
    text-align: center;
    width: 100%;
    font-size: 1.25rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, .7),
    -1px 1px 3px rgba(0, 0, 0, .7),
    1px -1px 3px rgba(0, 0, 0, .7),
    -1px -1px 3px rgba(0, 0, 0, .7);
    top: 50%;
    left: 0;
    right: 0;
    margin: 0 auto;
    transform: translateY(-50%);
}

#hiv_shien_renkei a:hover,
#hiv_shien_renkei a:focus {
    opacity: .45;
}

/* ガイドライン */
#guideline {
    border: 1px solid #00C3FF;
}

#guideline a {
    padding: 10px;
}

#guideline a .left_wrapper {
    flex-grow: 1;
    flex-shrink: 2;
    flex-basis: calc(100% - 140px - .75rem);
    margin-right: .75rem;
}

#guideline a .left_wrapper .title-en,
#guideline a .left_wrapper .data_wrapper {
    flex: 1 1 auto;
}

#guideline p {
    font-size: .875rem;
}

#guideline .title-en {
    white-space: nowrap;
    font-family: Georgia, serif;
    font-size: 1.875rem;
    font-weight: bold;
    line-height: .625;
    color: #48529C;
    text-shadow: #fff 1px 1px 0,
    #fff -1px 1px 0,
    #fff 1px -1px 0,
    #fff -1px -1px 0;
}

#guideline .title-jp {
    color: #009640;
    font-size: .875rem;
    font-weight: normal;
}

#guideline .version {
    margin: .25rem 0;
    text-align: right;
    line-height: 1.4375;
    color: #009640;
}

#guideline .research-member {
    text-align: right;
}

#guideline ul {
    margin-top: 1em;
    list-style-type: circle;
    text-align: left;
    padding-left: 1em;
    font-size: 0.75em;
}

#guideline ul li:not(:last-of-type) {
    padding-bottom: 0.5em;
}

#guideline figure {
    max-width: 140px;
    flex-grow: 1;
    flex-shrink: 1;
    flex-basis: 140px;
}

#guideline img {
    display: inline-block;
    box-shadow: 2px 2px 10px 1px rgba(0, 0, 0, 0.3);
}

/* HIV検査.jp */
#osaka-hivkensa {
    padding-top: 15px;
}

#osaka-hivkensa a:hover,
#osaka-hivkensa a:focus {
    opacity: .6;
}


/* HIV診療における外来チーム医療マニュアル、E-STUDIO */

#e-studio a,
#manual a {
    border: 1px solid #00C3FF;
    margin-top: 15px;
    margin-bottom: 15px;
    align-items: center;
    position: relative;
    display: flex;
    justify-content: space-between;
}


#e-studio .title,
#manual .title {
    flex: 1;
    padding-left: 30px;
    font-size: .9375rem;
    font-weight: normal;
    color: #8C3A92;
    line-height: 1.5;
}

#e-studio .title {
    padding: .375rem .8125rem;
}


#manual img {
    display: inline-block;
    border-left: 1px solid #ccc;
    box-shadow: -5px 0 3px -3px rgba(0, 0, 0, 0.2);
}


/* 更新情報 */
#information a:link {
    text-decoration: underline;

}

#information h2 {
    margin-top: 0;
    padding: 1px;
    border: 1px solid #eeeeee;
    line-height: 1;
    color: #006699;
    font-size: 1.2em;
}

#information h2 span {
    display: block;
    background: #eeeeee linear-gradient(#fff, #eeeeee);
    border-radius: 2px 2px;
    padding: 0.5em 0;
}

#information h2 span:before {
    content: '○';
    font-size: 1em;
    font-weight: bold;
    padding-left: 0.2em;
}

#information dl {
    height: 300px;
    overflow: scroll;
    overflow-x: hidden;
    margin-top: 1em;
    padding-right: 0.5em;
    padding-bottom: 0.5em;
    border-bottom: 1px solid #eee;
    font-size: 0.86em;
}

#information dt {
    margin-top: 0.5em;
    margin-bottom: 0.25em;
    padding-top: 0.5em;
    padding-left: 15px;
    border-top: 1px solid #eee;
    background: #fff url(images/list-icon1.jpg) no-repeat 0 0.5em;
    line-height: 1;
    font-weight: normal;
}

#information dd {
    margin-left: 15px;
    margin-top: 0.25em;
    line-height: 1.3;
}

#information dt:first-child {
    margin-top: 0;
    border: none;
}

/* 研究の概要 */
#summary {
    margin-top: 18px;
    padding: 1px;
    border: 2px solid #eeeeee;
}

#summary h2 {
    margin-top: 2px;
    padding: 0.5em 0;
    border-top: 2px solid #000;
    border-bottom: 1px solid #eeeeee;
    font-size: 1.2em;
    line-height: 1;
    color: #000;
    background: #eeeeee linear-gradient(to bottom, #eee 32%, #ffffff 69%);
    border-radius: 2px 2px;
}

#summary h2:before {
    content: '○';
    font-size: 1em;
    font-weight: bold;
    padding-left: 0.2em;
}

#summary p {
    padding: 0 0.5em;
    font-size: 0.9em;
    line-height: 1.5;
}

#summary a:link {
    text-decoration: underline;
}

.twitter-btn {
    text-align: right;
}

/*------------------------------
For Patient
------------------------------*/
.index-menu .menu-item {
    position: relative;
    margin: 0 0 10px;
    padding: 1px;
    border: 1px solid #eee;
    border-radius: 2px 2px;
    letter-spacing: 0;
    font-size: .928em; /*13px*/
    line-height: 1.307; /* 17px */
}

.index-menu .menu-item .wrapper-menu,
.index-menu .menu-item a {
    display: block;
    /*min-height: 15rem;150px*/
    padding: 10px;
    text-decoration: none;
    color: #000;
}

.index-menu .menu-item figure {
    margin: 0;
}

.index-menu .title-flex {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 40px;
    margin: 0;
}

.index-menu .menu-item a > p:first-of-type {
    margin-top: 1rem;
}

.index-menu .menu-item-title {
    position: relative;
    display: inline-block;
    vertical-align: middle;
    font-size: 1.1875rem;
    border: none;
    margin: 0;
    padding: 0 1rem 0 .6875rem;
    line-height: 1.25;
    text-align: left;
    font-weight: normal;
    color: #333;
    background: none;
}

.index-menu .menu-item-title::before {
    display: block;
    content: '\0025B6';
    position: absolute;
    top: 0;
    bottom: 0;
    left: -1px;
    height: 1em;
    transform: scale(.6,.7);
    margin: auto;
    font-size: .625rem;
    line-height: .625rem;
    color: #fff;
    z-index: 3;
}

.index-menu .menu-item-title::after {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    margin: auto;
    border-radius: 3px;
    width: .4375rem;
    color: #fff;
    z-index: 2;
    min-height: 40px;
}


.index-menu .researcherName {
    font-size: 0.9em;
    margin: .25rem 0 1rem 11px;
}

.index-menu .patient .menu-item-title::after {
    background-color: #FF7D7D;
    border-color: #FF7D7D;;
}

.index-menu .co-medical .menu-item-title::after {
    background-color: #A4D4E8;
    border-color: #A4D4E8;
}

.index-menu .category3 .menu-item-title::after {
    background-color: #b3e49b;
    border-color: #b3e49b;
}

.index-menu .category4 .menu-item-title::after {
    background-color: #ddd;
    border-color: #ddd;
}

.index-menu .menu-item p {
    margin-bottom: 0;
    padding-top: 0;
}

/* NEW
#contents .index-menu .menu-item .new {
	display: block;
	position: absolute;
	bottom: 15px;
	right: 15px;
}
*/

.patient a {
    border: 3px solid #FFECEC;
}

.co-medical .wrapper-menu,
.co-medical a {
    border: 3px solid #CEF3FF;
}

.category3 a {
    border: 3px solid #d3f4c3;
}

.category4 a {
    border: 3px solid #ddd;
}

.patient a:hover,
.patient a:focus,
.patient a:active,
.co-medical a:hover,
.co-medical a:focus,
.co-medical a:active,
.category3 a:hover,
.category3 a:focus,
.category3 a:active,
.category4 a:hover,
.category4 a:focus,
.category4 a:active {
    background-color: #FDFFED;
}

/*並列表記*/
.index-menu .menu-item .two-column {
    display: flex;
    justify-content: space-around;
}

.index-menu .menu-item .two-column > div:first-child,
.index-menu .menu-item .two-column > h1:first-child {
    padding-right: 1rem;
    margin-right: auto;
    min-width: 10em; /*ここにこの指定が無いと、IE11以下でコンテナからはみ出す*/
}

/*研修ボタン
generate @ https://coveloping.com/tools/css-button-generator */
.btn-study {
    height: 24px;
    width: 60px;
    margin-top: 10px;
    margin-left: auto;
    padding: 3px;
    text-align: center;
    vertical-align: middle;
    color: #FFFFFF;
    font-size: 12px;
    background: #63B8EE linear-gradient(to bottom, #63B8EE 0%, #468CCF 100%);
    border-width: 1px;
    border-style: solid;
    border-color: #3866A3;
    border-radius: 2px;
}

/*カウンセリングボタン*/
.btn-counseling {
    height: 24px;
    width: 76px;
    margin-top: 10px;
    margin-left: auto;
    padding: 5px 1px 1px;
    text-align: center;
    color: #FFFFFF;
    font-size: 10px;
    background: #63B8EE linear-gradient(to bottom, #76923C 0%, #425A33 100%);
    border-width: 1px;
    border-style: solid;
    border-color: #243E1C;
    border-radius: 2px;
}

.text-right {
    text-align: right;
}
.text-center {
    text-align: center;
}

/*----------------------------------------
Mobile compatible
 ----------------------------------------*/
/*min-width*/
@media only screen and (min-width: 576px) {
    .index-menu.order-2 {
        padding-right: calc(15px / 2);
    }

    .index-menu.order-3 {
        padding-left: calc(15px / 2);
    }
}

@media only screen and (min-width: 768px) {
}

@media only screen and (min-width: 992px) {
    .index-menu.order-3 {
        border-right: 1px dotted #ccc;
        padding-right: 14px;
    }

    #hiv_shien_renkei h2 {
        font-size: 1.125rem;
    }
}

/*max-width*/
@media only screen and (max-width: 991px) {
    #information dl {
        height: 200px;
    }

    #guideline div {
        flex-basis: 420px;
    }
}

@media only screen and (max-width: 425px) {
    #hiv_shien_renkei h2 {
        font-size: 1.0625rem;
    }
}

/*min-and-max-width*/
@media only screen and (min-width: 767px)  and (max-width: 991px) {
    #hiv_shien_renkei h2 {
        font-size: 1.5rem;
    }
}