@charset "utf-8";
/* CSS Document */

/* お知らせ */
table.innerWaku {
    margin-top: 1em;
    margin-bottom: 1em;
}

table.innerWaku,
table.innerWaku th,
table.innerWaku td {
    border: none !important;
}

table.innerWaku tr,
table.innerWaku th,
table.innerWaku td {
    background: none !important;
}

table.innerWaku th span {
    padding: 5px;
    background: #2c5e9c;
    border-radius: 5px;
    color: #fff;
}

table.innerWaku td {
    box-shadow: 0 0 #000 !important;
}

table.innerWaku td ul {
    list-style: none;
    display: inline-block;
    text-align: left;
    line-height: 2;
}

/* 法律のかかりつけ医を目指して */
#greeting .unitbox {
    margin: 0 40px 20px 40px;
}

#greeting .unitbox .box_main {
    position: relative;
    margin: 2em 0;
    padding: 0.5em 1em;
    border: solid 3px #95ccff;
    border-radius: 8px;
}

#greeting .unitbox .box_main .box-title {
    position: absolute;
    display: inline-block;
    top: -13px;
    left: 10px;
    padding: 0 9px;
    line-height: 1;
    font-size: 19px;
    background: #FFF;
    color: #95ccff;
    font-weight: bold;
}

#greeting .unitbox .box_main p {
    font-weight: bold;
    margin: 0 !important;
    padding: 0 !important;
}

/* 代表あいさつ */
#toppage section#greeting img.pc-fl {
    margin: 0 0 20px 40px;
}

#toppage section#greeting .reason {
    font-family: "hot-kaishokk", serif;
    font-weight: 400;
    font-style: normal;
}

/* 挨拶トグル */
.morebox *,
.morebox *:before,
.morebox *:after {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

.morebox {
    position: relative;
}

.morebox label {
    position: absolute;
    z-index: 1;
    bottom: 0;
    width: 100%;
    height: 140px;
    /* グラデーションの高さ */
    cursor: pointer;
    text-align: center;
    /* 以下グラデーションは背景を自身のサイトに合わせて設定してください */
    background: linear-gradient(to bottom, rgba(250, 252, 252, 0) 0%, rgba(250, 252, 252, 0.95) 90%);
}

.morebox input:checked+label {
    background: inherit;
    /* 開いた時にグラデーションを消す */
}

.morebox label:after {
    line-height: 2.5rem;
    position: absolute;
    z-index: 2;
    bottom: 20px;
    left: 50%;
    width: 16rem;
    font-family: FontAwesome;
    content: '続きをよむ';
    transform: translate(-50%, 0);
    letter-spacing: 0.05em;
    color: #ffffff;
    border-radius: 20px;
    background-color: rgba(27, 37, 56, 1);
}

.morebox input {
    display: none;
}

.morebox .morecontainer {
    overflow: hidden;
    height: 50px;
    /* 開く前に見えている部分の高さ */
    transition: all 0.5s;
}

.morebox input:checked+label {
    /* display: none ; 閉じるボタンを消す場合解放 */
}

.morebox input:checked+label:after {
    font-family: FontAwesome;
    content: '閉じる';
}

.morebox input:checked~.morecontainer {
    height: auto;
    padding-bottom: 80px;
    /* 閉じるボタンのbottomからの位置 */
    transition: all 0.5s;
}

/* 業務案内 */
section#businessGuide .column {
    display: flex;
    justify-content: space-between;
    margin: 2em 1em;
}

section#businessGuide .column-b {
    justify-content: space-between;
    margin: 2em 2em;
}

section#businessGuide div>p {
    margin: 6px 0 0 30px;
}

section#businessGuide .group .column {
    justify-content: flex-start;
}

/* トピックス */
#tinyscrollbar {
    width: 620px;
    margin: 20px 0 10px;
}

#tinyscrollbar .viewport {
    width: 600px;
    height: 300px;
    overflow: hidden;
    position: relative;
}

#tinyscrollbar .overview {
    list-style: none;
    position: absolute;
    left: 0;
    top: 0;
    padding: 0 8px;
    margin: 0;
}

#tinyscrollbar .scrollbar {
    background: transparent url(/img/common/bg-scrollbar-track-y.png) no-repeat 0 0;
    position: relative;
    background-position: 0 0;
    float: right;
    width: 15px;
}

#tinyscrollbar .track {
    background: transparent url(/img/common/bg-scrollbar-trackend-y.png) no-repeat 0 100%;
    height: 100%;
    width: 13px;
    position: relative;
    padding: 0 1px;
}

#tinyscrollbar .thumb {
    background: transparent url(/img/common/bg-scrollbar-thumb-y.png) no-repeat 50% 100%;
    height: 20px;
    width: 25px;
    cursor: pointer;
    overflow: hidden;
    position: absolute;
    top: 0;
    left: -5px;
}

#tinyscrollbar .thumb .end {
    background: transparent url(/img/common/bg-scrollbar-thumb-y.png) no-repeat 50% 0;
    overflow: hidden;
    height: 5px;
    width: 25px;
}

#tinyscrollbar .disable {
    display: none;
}

/* 左エリア */
.banner img {
    width: 100%;
    margin-bottom: 1em;
}

/*----------------------------------------
    スマホ用
-----------------------------------------*/
@media screen and (max-width: 767px) {
    #lead2 p {
        line-height: 2;
    }

    .innerWaku th {
        width: 25%;
    }

    .innerWaku td ul {
        margin-left: 0;
        padding: 0;
    }

    #greeting .unitbox {
        margin: 1em;
    }

    #toppage section#greeting .reason {
        line-height: 1.5;
    }

    /* SPナビ */
    #toppage .info {
        display: flex;
        box-sizing: border-box;
        margin: 0;
        padding: 4px;
        flex-wrap: wrap;
        gap: 5px;
    }

    #toppage .info>a {
        display: block;
        width: 74px;
        height: 74px;
    }

    #toppage #lead2 {
        background: #f7f1f0;
        border: double 3px #ccbe97;
        box-sizing: border-box;
        width: 96%;
        padding: 8px;
        margin: 0 auto 16px;
    }

    #toppage #lead2 p {
        font-size: 11px;
        margin-bottom: 0;
    }

    .info h3 {
        text-align: center;
        border-bottom: none;
        margin-bottom: 0;
        position: static;
    }

    .info h4 {
        margin: 0;
    }

    /* .info img {
		border: solid 1px #333;
	} */
    .info ul {
        list-style-type: none;
    }

    .info ul li {
        display: block;
        float: left;
        margin: 5px 0 5px 5px;
    }

    .info .individual ul li {
        text-align: center;
    }

    .info .individual .site_desc {
        display: block;
        width: 138px;
        height: 160px;
        text-align: left;
        margin: 10px 0 0 0;
        border: solid black 1px;
        padding: 5px;
    }

    .info .corporate ul li {
        margin: 0 0 20px 0;
    }

    .info .corporate .site_img {
        float: left;
        margin: 5px;
    }

    .info .corporate .site_info {
        float: left;
        margin: 0 5px;
    }

    .info .corporate .site_info a {
        background: url(http://www.jtb.co.jp/common/images/icon_header_openwindow.gif) no-repeat left top;
        padding-left: 18px;
    }

    .info .corporate .site_info hr {
        display: block;
        border-top: 1px dotted #bbb;
        border-bottom: 1px dotted #fff;
    }

    .info .corporate .site_info p {
        margin-bottom: 0 !important;
    }

    .info .corporate .site_info .site_desc {
        border: solid black 1px;
        width: 250px;
        padding: 3px;
    }

    .side-button {
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        position: fixed;
        bottom: 0px;
        right: 0px;
    }

    .side-button p {
        margin: 0;
    }

    .side-button p img {
        vertical-align: bottom;
    }
}

@media screen and (max-width: 1023px) {

    .wrap,
    .wrap-large {
        max-width: 98%;
    }

    .side-button {
        display: none;
    }

    header nav ul.header-nav li a {
        padding: .8em .8em;
    }
}

/*----------------------------------------
    プリンター対応
-----------------------------------------*/
@media print {
    .side-button {
        display: none;
    }
}