/*
Theme Name: International Medical Center (JA)
Author: MassCreative Co., Ltd.
Author URI: https://www.mas-sys.com/
Description: This is our original theme.
Version: 2.1
*/

/* 文字色を濃く */
body div.page-wrapper {
    color: #555 !important;
}

div span.top-headerlogo {
    color: #fff;
    font-size: 20px !important;
    font-weight: 600 !important;
}

div span.headerlogo2 {
    font-size: 16px !important;
    font-weight: 400 !important;
}

div .site-slogan#undar-headerlogo{
    margin-top: 0px;
    color: #fff;
}

a.no-uline, span.no-uline {
    text-decoration: none;
}
a.nocolor:link{color: #777777;}
a.nocolor:visited{color: #777777;}
a.nocolor:hover {
    color: #1ea88d;
}

a.nocolor:focus,
a.nocolor:active {
    color: #1ea88d;
}

.header-top.colored a {
    color: #ffffff;
    text-decoration: none;
}

.background-img-1 {
    background: url("images/sample_img/background-img-1.jpg") 50% 0px no-repeat;
    background-position-x: 50%;
    background-position-y: 0px;
    background-repeat: no-repeat;
    background-attachment: scroll;
    background-size: auto;
}

/* 左側メニュー第2階層 */
.nav.flex-column.list-style-icons > li .nav-link2 {
    padding: 6px 0px 6px 30px;
}

.font11 {
    font-size: 11px;
}

.font12 {
    font-size: 12px;
}

.font15 {
    font-size: 15px;
}

.table-bordered2 > thead > tr > th, .table-bordered2 > tbody > tr > th, .table-bordered2 > tfoot > tr > th {
    background-color: #f8f9fa !important;
    width: 150px;
}

.table-bordered2 > thead > tr > th, .table-bordered2 > tbody > tr > th, .table-bordered2 > tfoot > tr > th,
.table-bordered2 > thead > tr > td, .table-bordered2 > tbody > tr > td, .table-bordered2 > tfoot > tr > td {
    font-size: 80%; !important;
    padding: 4px 6px; !important;
    border-color: #cccccc; !important;
}

/* outline/appoint 学会等による研修教育病院の指定 で使用したテーブル */
.table-bordered3 > thead > tr > th, .table-bordered3 > tbody > tr > th, .table-bordered3 > tfoot > tr > th {
    background-color: #f8f9fa !important;
    font-weight: bolder;
}

.table-sm > thead > tr > th,
.table-sm > tbody > tr > th,
.table-sm > tfoot > tr > th,
.table-sm > thead > tr > td,
.table-sm > tbody > tr > td,
.table-sm > tfoot > tr > td {
    padding: 2px; /* 5px の値を変更 */
}


.table-gairai > thead > tr > td, .table-gairai > tbody > tr > td, .table-gairai > tfoot > tr > td {
    font-size: 70%; !important;
    font-weight: normal;
    border-color: #cccccc; !important;
    padding: 2px 1px; !important;
}

.gairai-table {
    padding:2px;
}

/* DPCデータによる病院指標 で使用したテーブル */
.table-dpc > thead > tr > th, .table-dpc > tbody > tr > th, .table-dpc > tfoot > tr > th {
    background-color: #f3f3f3 !important;
    border-color: #cccccc; !important;
    color: #777777; !important;
    font-size: 80%; !important;
    vertical-align: middle;
}

.table-dpc > thead > tr > td, .table-dpc > tbody > tr > td, .table-dpc > tfoot > tr > td {
    font-size: 80%; !important;
    font-weight: normal;
    color: #777777; !important;
    border-color: #cccccc; !important;
}

/* テーブルのフォントを通常に */
.table-font100 > thead > tr > th, .table-font100 > tbody > tr > th, .table-font100 > tfoot > tr > th {
    background-color: #f3f3f3 !important;
    border-color: #cccccc; !important;
    color: #777777; !important;
    vertical-align: middle;
}

.table-font100 > thead > tr > td, .table-font100 > tbody > tr > td, .table-font100 > tfoot > tr > td {
    font-weight: normal;
    color: #777777; !important;
    border-color: #cccccc; !important;
}

/* テーブルのボーダーを消す */
#table-no-border {
    border-style: none; !important;
    border-top: 0px !important;
    border-bottom: 0px !important;
    background-color:#fafafa !important;
}
#table-no-border > tbody > tr > td { background-color:transparent !important;}

table.v-top > thead > tr > th,
table.v-top > tbody > tr > th,
table.v-top > tfoot > tr > th,
table.v-top > thead > tr > td,
table.v-top > tbody > tr > td,
table.v-top > tfoot > tr > td {
    padding: 0; /* 5px の値を変更 */
    vertical-align: top; !important;
    background-color: #fafafa;
    text-align: left;
}

ul.list-style-circle {
    list-style: circle;
}
ul.list-style-disc {
    list-style: disc;
}
/* 主に第２階層用 */
ul.list-style-none {
    list-style: none;
    margin-left: 0;
    padding-left: 0;
}

ul.list-style-dash {
    list-style-type: none;
    padding-left: 0;
    display: table;
}
ul.list-style-dash li:before {
    content: '-'; /* ←ここにリストマーカーにしたい文字列を設定 */
    display: table-cell;
    padding-right: 0.6em;
    padding-left: 0.2em;
}
ul.list-style-dash li {
    display: table-row;
}

ul.list-style-dot {
    list-style-type: none;
    padding-left: 0;
    display: table;
}
ul.list-style-dot li:before {
    content: '*'; /* ←ここにリストマーカーにしたい文字列を設定 */
    display: table-cell;
    padding-right: 0.6em;
    padding-left: 0.2em;
}
ul.list-style-dot li {
    display: table-row;
}

/* 番号付きリストで括弧付きの数字を表示させる */
ol.bracket,
ol.closing_bracket {
    list-style-type: none;
    list-style-position: inside;
    margin-left: 0px;
    padding-left: 0px;
}
ol.bracket > li,
ol.closing_bracket > li {
    counter-increment: cnt;
    padding-left: 1.3em;
    text-indent: -1.3em;
}
ol.bracket > li:before {
    content: "("counter(cnt) ") ";
}
ol.closing_bracket > li:before {
    content: counter(cnt) ") ";
}

/* ol 丸数字版 数字部分はspanで囲んで エンティティ表現 */
ol.roundnumber  {
    position: relative;
    margin: 0;
    padding: 0
}
ol.roundnumber li  {
    list-style: none;
    list-style-position: outside;
    margin: 0;
    padding-left: 1.25em
}
ol.roundnumber li span {
    position: absolute;
    left: 0;
    margin: 0
}

.text-bold {
    font-weight: bold;
}

/* 診療科カスタム投稿タイプのタブの中では常にstrongはbold */
div.tab-content strong {
    font-weight: bold;
}

/* 画像キャプションの設計 */
.wp-caption {
    margin: auto;
    text-align: center;
    max-width: 100%;
}

.wp-caption-text {
    display: inline-block;
    font-size: 12px;
    text-align: left;
    color: #8a8a8a;
    margin: 10px 0 0;
}

/* FontAwesomeアイコンつきリスト */
ul.checkmark {
    padding: 0.5em 1em 0.5em 1.6em;
    position: relative;
}

ul.checkmark li {
    line-height: 1.5;
    padding: 0.5em 0;
    list-style-type: none!important;/*ポチ消す*/
}

ul.checkmark li:before {
    font-family: FontAwesome;
    content: "\f00c";
    position: absolute;
    left : 0.1em; /*左端からのアイコンまで*/
}

/* color: #dc3545 !important; text-danger の色 */
/* FontAwesomeアイコンつきリスト */
ul.redinfomation {
    padding: 0.5em 1em 0.5em 1.6em;
    position: relative;
}

ul.redinfomation li {
    line-height: 1.5;
    padding: 0.5em 0;
    list-style-type: none!important;/*ポチ消す*/
}

ul.redinfomation li:before {
    font-family: FontAwesome;
    content: "\f071";
    position: absolute;
    left : 0.1em; /*左端からのアイコンまで*/
    color: #dc3545;
}

/* color: #dc3545 !important; text-danger の色 */
/* FontAwesomeアイコンつきリスト PDFアイコン */
ul.redpdf {
    padding: 0.5em 1em 0.5em 1.6em;
    position: relative;
}

ul.redpdf li {
    line-height: 1.5;
    padding: 0.5em 0;
    list-style-type: none!important;/*ポチ消す*/
}

ul.redpdf li:before {
    font-family: FontAwesome;
    content: "\f1c1";
    position: absolute;
    left : 0.1em; /*左端からのアイコンまで*/
    color: #dc3545;
}

/* FontAwesomeアイコンつきリスト sticky-note-o  f24a */
ul.sticky {
    padding: 0.5em 1em 0.5em 1.6em;
    position: relative;
}

ul.sticky li {
    line-height: 1.5;
    padding: 0.5em 0;
    list-style-type: none!important;/*ポチ消す*/
}

ul.sticky li:before {
    font-family: FontAwesome;
    content: "\f24a";
    position: absolute;
    left : 0.1em; /*左端からのアイコンまで*/
}

/* FontAwesomeアイコンつきリスト angle-double-right  f101 */
ul.double_right {
    padding: 0.5em 1em 0.5em 1.6em;
    position: relative;
}

ul.double_right li {
    line-height: 1.5;
    padding: 0.5em 0;
    list-style-type: none!important;/*ポチ消す*/
}

ul.double_right li:before {
    font-family: FontAwesome;
    content: "\f101";
    position: absolute;
    left : 0.1em; /*左端からのアイコンまで*/
}



/*-----------------------------
ギャラリー
------------------------------*/
.gallery { /** ギャラリーを囲むボックス **/
    width: 100%;
    margin-bottom: 20px !important;
    overflow: hidden;
}

.gallery br {display: none;} /** 自動で挿入される clearfix の余白解除 **/

.gallery-item { /** 画像共通のスタイル **/
    float: left;
    margin-bottom: 0 !important;
    text-align: center;
}
.gallery-icon { /** 画像を囲む dt のスタイル **/
    text-align: center;
}

.gallery-icon img {
    width: 100%;
    height: auto;
    margin-bottom: 10px !important;
}

.gallery-caption { /** キャプション **/
    /*color: #222;*/
    font-size: 12px;
    color: #8a8a8a;
    margin: 0 0 10px;
    text-align: center;
}

.gallery-columns-1 .gallery-item { /** カラムなし **/
    width: 100%;
    margin-right: 0;
}
.gallery-columns-2 .gallery-item { /** 2カラム **/
    width: 48%;
    margin: 0 1%;
}
.gallery-columns-3 .gallery-item { /** 3カラム **/
    width: 31.33333%;
    margin: 0 1%;
}
.gallery-columns-4 .gallery-item { /** 4カラム **/
    width: 23%;
    margin: 0 1%;
}
.gallery-columns-5 .gallery-item { /** 5カラム **/
    width: 18%;
    margin: 0 1%;
}

@media screen and (max-width: 640px) {
    /* 640px以下用の記述 */
    .gallery-columns-3 .gallery-item, .gallery-columns-4 .gallery-item {
        width: 48%;
        margin: 0 1%;
    }
    .gallery-columns-5 .gallery-item {
        width: 31.33333%;
        margin: 0 1%;
    }
}

/* ギャラリーのキャプションと同じようなテキスト */
.text-caption {
    font-size: 12px;
    color: #8a8a8a;
}

/* 小さめテキスト */
.text-80p {
    font-size: 80%;
}

/* 小さめテキスト 90% */
.text-90p {
    font-size: 90%;
}

/* 小さめテキスト 60% */
.text-60p {
    font-size: 60%;
}

/* 大きめテキスト 120% */
.text-120p {
    font-size: 120%;
}

/* textのpadding */
.pl-1em {
    padding-left: 1em;
}
.pl-2em {
    padding-left: 2em;
}

/* 画像センタリング・右・左 */
img.alignright{
    display: block;
    margin: 0 0 0 auto;
}

img.alignleft{
    display: block;
    margin: 0 auto 0 0;
}

img.aligncenter{
    display: block;
    margin: 0 auto;
}


/* Q A の Q の色 */
.q-color {
    background-color: salmon;
    color: #ffffff;
}
.a-color {
    background-color: #21bb9d;
    color: #ffffff;
}

.map_container {
    width: 800px;
    margin: 0 auto;
    padding-top: 10px;
}

/* 改行位置を設定したい */
span.aks {
    display: inline-block;
    word-break: break-word;
    overflow-wrap: break-word;
    white-space: normal;
}

.covid19_bg2 {
    background-image: url("images/COVID-19/backgroud2_60p.png");
    background-repeat: repeat;
}

.my_nav_link {
    text-transform: none !important;
    display: block !important;
}

.my_no_transform {
    text-transform: none !important;
}

.covid-19_img-container{
    display:flex;/* flexbox */
    justify-content:center; /* 水平方向 */
    align-items: center; /* 垂直方向 */
}
