@charset "utf-8";
#TopContents {
    /* background-color: #f9efe3; */
}
/* MainImage
-------------------- */
#SliderBox {
    /*width: 1400px;*/
    width: 100%;
    /* background-color: #f9efe3; */
    padding-top: 110px;
}

#SliderWrap {
    position: relative;
    min-width: 1400px;
    margin: -10px auto 0;
    overflow: hidden;
}

.bx-wrapper {
    margin: 0 auto;
}

.bx-wrapper .bx-viewport {
    background: transparent !important;
    overflow: visible !important;
    /*height: 500px !important;*/
    height: 380px !important;
}

@media (max-width: 1399px) {
    #SliderWrap {
        min-width: 1200px;
    }

    .bx-wrapper .bx-viewport {
        height: 430px !important;
    }
}

@media (max-width: 1199px) {
    #SliderWrap {
        min-width: 920px;
    }

    .bx-wrapper .bx-viewport {
        height: 160px !important;
    }
}

@media (max-width: 919px) {
    #SliderWrap {
        min-width: 641px;
    }

    .bx-wrapper .bx-viewport {
        height: 300px !important;
    }
}

@media (max-width: 640px) {
    #SliderWrap {
        min-width: 480px;
    }

    .bx-wrapper .bx-viewport {
        height: 170px !important;
    }
}

@media (max-width: 479px) {
    #SliderWrap {
        min-width: 300px;
    }

    .bx-wrapper .bx-viewport {
        height: 110px !important;
    }
}

.bx-wrapper ul li:after {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1000;
    content: '';
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, .6);
    transition: opacity .2s;
    opacity: 1;
}

.bx-wrapper ul li.active:after {
    opacity: 0.2;
}
#SliderBox .bx-controls-direction a {
    display: block;
    background-color: #666666;
    text-align: center;
    color: #fff;
    font-size: 20px;
    text-decoration: none;
    opacity: 0.8;
    border-radius: 50px;
    width: 50px;
    height: 50px;
}
#SliderBox .bx-controls-direction a:hover {
    opacity: 0.5;
}
#SliderBox .bx-prev,
#SliderBox .bx-next {
    position: absolute;
    top: calc(50% - 25px);
    overflow: hidden;
}
#SliderBox .bx-prev{
    left: 60px;
}
#SliderBox .bx-next {
    right: 60px;
}
#SliderBox .bx-prev:before,
#SliderBox .bx-next:before {
    text-indent: 0;
    color: #ffffff;
    position: absolute;
    display: block;
    font: normal normal normal 14px/1 FontAwesome;
    font-size: inherit;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    top: calc(50% - 10px);
    margin: auto;
}
#SliderBox .bx-prev:before {
    content: "\f053";
    left: 15px;
}
#SliderBox .bx-next:before {
    content: "\f054";
    right: 15px;
}
#SliderBox .bx-pager {
    text-align: center;
}

#SliderBox .bx-pager-item {
    display: inline;
    margin: 10px 0;
}

#SliderBox .bx-pager-item a.bx-pager-link {
    display: inline-block;
    width: 8px;
    height: 8px;
    margin-right: 5px;
    background: url(../img/slider/btn_pager.png) bottom no-repeat;
    text-indent: 9999em;
    overflow: hidden;
}

#SliderBox .bx-pager-item a.active {
    background: url(../img/slider/btn_pager.png) top no-repeat;
}
#SliderBox .bx-controls {
    margin: 0;
    padding: 0;
    z-index: 10;
}
#MainImage {}

/* MainImage caption 2018.12.1追加 yfujii@ailes
-------------------- */
#MainImage li div.caption {
    position: relative;
}

#MainImage li div.caption p {
    color: #000000;
    /*font-weight: 500;*/
    text-shadow: 0px 0.2px 0px rgba(0, 0, 0, 0.75);
    position: absolute;
    display: inline-block;
    width: 50%;
    padding: 1em;
    background-color: rgba(255, 255, 255, .6);
    opacity: 0;
    transition: all .5s;
}

#MainImage .active div.caption p {
    opacity: 1;
}

#MainImage li p {
/*    top: 3em;*/
    bottom: 1.5em;
    right: 0;
}

#MainImage .active p {
    right: 2em;
}

div.caption p {
    font-size: 23px;
    font-size: 2.3rem;
}

@media (max-width: 1399px) {}

@media (max-width: 1199px) {
    div.caption p {
        font-size: 23px;
        font-size: 2.3rem;
    }
}

@media (max-width: 919px) {
    div.caption p {
        font-size: 22px;
        font-size: 2.2rem;
    }
}

@media (max-width: 640px) {
    div.caption p {
        font-size: 13px;
        font-size: 1.3rem;
    }
}

@media (max-width: 479px) {
    div.caption p {
        font-size: 10px;
        font-size: 1.0rem;
    }

    #MainImage li div.caption p {
        width: 70%;
    }
}

@media screen and (max-width: 640px) {
    #SliderBox {
        width: auto;
        margin: 0 auto;
    }

    #SliderBox .bx-controls-direction a {
        display: none;
    }
}

/* Content
-------------------- */
.content {
    margin: 0 auto;
    position: relative;
    top: 0;
}
#Page h1, #Page h2, #Page h3, #Page h4, #Page h5, #Page h6, #Page p, #Page ul, #Page ol, #Page li, #Page table {
    clear: both;
}
#Page h2 {
    font-size: 26px;
    font-size: 2.6rem;
    font-weight: 500;
    text-align: center;
    line-height: 1.3;
    border-bottom: solid 1px #999999;
    margin: 0 0 25px;
    padding: 0 0 5px;
    position: relative;
}

#Page h2 a:hover,
#Page h2 a:active {}

#Page h2:after {
    content: " ";
    display: block;
    position: absolute;
    left: 20%;
    width: 60%;
    border-bottom: solid 3px #666666;
    bottom: -3px;
}

h3 {
    margin-bottom: 20px;
    padding-bottom: 10px;
    background: url(../img/top/bg_ttl_line.png) left bottom no-repeat;
    font-size: 20px;
    font-size: 2.0rem;
}

h2 a,
h3 a {
    color: #000 !important;
}
/* 文章 */
.tabs p {
    margin: 0 0 30px;
    font-size: 16px;
    font-size: 1.6rem;
}

/* リスト */
.tabs ul,
.tabs ol {
    margin: 0 0 30px;
}

.tabs li {
    /* ul ol*/
    font-size: 16px;
    font-size: 1.6rem;
    margin: 5px 0px 10px 0px;
    padding: 0 0 0 20px;
    position: relative;
}

.tabs ul li {
    list-style-type: none;
    list-style-image: none;
}

.tabs ul li:before {
    content: "\f138";
    font-family: FontAwesome;
    font-weight: normal;
    font-style: normal;
    color: #aaa;
    display: block;
    position: absolute;
    font-size: 16px;
    font-size: 1.6rem;
    top: -2px;
    left: 0;
}
#info_content ul li:before,
#outside_blog ul li:before {
    content: none;
}
.tabs ol {
    counter-reset: item;
    list-style-type: none;
}

.tabs ol li {
    display: block;
    padding: 5px 0px 0px 35px;
    margin-left: 0px;
}

.tabs ol > li:before {
    counter-increment: item;
    content: counter(item) ".";
    position: absolute;
    display: block;
    text-align: center;
    font-style: italic;
    left: 0px;
    top: -5px;
    font-size: 24px;
    font-size: 2.4rem;
    color: #999;
    font-family: 'Goudy Bookletter 1911', Georgia, serif;
}

.tabs ol ol > li:before {
    top: -2px;
    font-size: 20px;
    font-size: 2.0rem;
}
/* table tag */

.tabs table {
    border-collapse: collapse;
    border: 1px solid #b7b7b7;
    margin: 0 auto;
}

.tabs th, .tabs td {
    border: 1px dotted #b7b7b7;
}

.tabs th {
    padding: 10px;
    background: #ededed;
    border-bottom: 1px solid #ccc;
    text-align: center;
    vertical-align: middle;
    white-space: nowrap;
}

.tabs td {
    padding: 10px;
    background: #fff;
    border-bottom: 1px solid #ccc;
    text-align: left;
}

.tabs tr:last-child th, .tabs tr:last-child td {
    border-bottom: none;
}
.tabs table caption {
    font-size: 18px;
    font-size: 1.8rem;
    font-weight: bold;
}
.tabs table.reset { 
    border: none;
}
.tabs .reset th, .tabs .reset td {
    border: none;
}
.tabs table p {
    margin: 0;
}
@media screen and (max-width: 640px) {
    .tabs table{
        width:100% !important;
    }
    .scroll{
        overflow: auto;
        white-space: nowrap;
    }
    .scroll::-webkit-scrollbar {
        height: 5px;
    }
    .scroll::-webkit-scrollbar-track {
        background: #F1F1F1;
    }
    .scroll::-webkit-scrollbar-thumb {
        background: #BCBCBC;
    }
}
.tabs dl {
    display:flex;
    flex-wrap: wrap;
    border: 1px solid #ccc;
    border-top: none;
    margin: 0 auto 30px;
}
.tabs dt {
    background: #ddd;
    width: 30%;
    padding: 10px;
    box-sizing: border-box;
    border-top: 1px solid #ccc;
}
.tabs dd{
    padding: 10px;
    margin: 0;
    border-left: 1px solid #ccc;
    border-top: 1px solid #ccc; 
    width: 70%;
    background: #fff;
    box-sizing: border-box;
}
@media screen and (max-width: 640px) {
    .tabs dl {
        flex-flow: column nowrap;
    }
    .tabs dt,
    .tabs dd {
        width: 100%;
    }
    .tabs dd {
        border-left: none;
    }
}

/*タブ切り替え全体のスタイル*/
.tabs {
    /* margin-top: 50px; */
    padding-bottom: 40px;
    width: 800px;
    /* margin: 0 auto; */
    display: flex;
    flex-wrap:wrap;
    justify-content: space-between;
}

/*タブのスタイル*/
.tab_item {
/*    width: calc(100%/3.1);*/
    width: 49%;
    height: 50px;
    box-sizing: border-box;
    background-color: #b4e4ff;
    line-height: 50px;
    font-size: 16px;
    text-align: center;
    color: #565656;
    display: block;
    text-align: center;
    font-weight: bold;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    transition: all 0.3s ease;
    margin: 0;
}
@media screen and (max-width: 1199px) {
    .tabs {
        width: 98%;
    }
}
@media screen and (max-width: 919px) {
}
@media screen and (max-width: 640px) {
    .tab_item {
        font-size: 12px;
    }
}
.tab_item:nth-of-type(1) {
}
.tab_item:nth-of-type(2) {
}
.tab_item:nth-of-type(3) {
}
.tab_item:hover {
    opacity: 0.75;
}

/*ラジオボタンを全て消す*/
input[name="tab_item"] {
    display: none;
}

/*タブ切り替えの中身のスタイル*/
.tab_content {
    display: none;
    padding: 40px;
    clear: both;
    overflow: hidden;
    background-color: #f5eed3;
    border-top: 3px solid #2389b8;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
    width: 100%;
}
@media screen and (max-width: 640px) {
    .tab_content {
        padding: 40px 10px;
    }
}

/*選択されているタブのコンテンツのみを表示*/
#info:checked ~ #info_content,
#nonconsultation:checked ~ #nonconsultation_content,
#outside_blog:checked ~ #outside_blog {
    display: block;
}

/*選択されているタブのスタイルを変える*/
.tabs input:checked + .tab_item {
    background-color: #2389b8;
    color: #fff;
    z-index: 0;
}

.wrap {
    width: 1200px;
    margin: 0 auto;
}
@media screen and (max-width: 1199px) {
    .wrap {
        width: 100%;
    }
}
@media screen and (max-width: 919px) {
    .wrap {
        width: 100%;
    }
}

@media screen and (max-width: 640px) {
    .wrap {
        width: 100%;
    }
}
.search_menu ul, .pickup_menu ul {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
}
.pickup_menu > ul li {
    border-radius: 200px;
    background-color: #fff;
    width: 247px;
    height: 247px;
    overflow: hidden;
    border: 3px solid #fff;
}
.pickup_menu > ul li:hover {
    background-color: #000;
}
.pickup_menu > ul li a {
    color: #fff;
    font-weight: bold;
}
.pickup_menu img {
    border-radius: 200px;
    display: block;
    transition-duration: 0.3s;
}
.pickup_menu img:hover {
    transform: scale(1.1);
    transition-duration: 0.3s;
}
.pickup_menu .caption {
    position: relative;
}
.pickup_menu .caption p {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
}
/*.search_menu > ul li:nth-child(3n+2):last-child {
    margin-left: auto;
    margin-right: 26%;
}*/
.search_menu > ul li {
    font-size: 18px;
    font-size: 1.8rem;
    font-weight: bold;
    display: flex;
    list-style: none;
/*    margin: 0 1% 15px;*/
    margin: 0;
    box-sizing: border-box;
    background-color: #fff;
    position: relative;
}
.search_menu > ul li:nth-child(1) {
    border: 3px solid #53bff3;
}
.search_menu > ul li:nth-child(2) {
    border: 3px solid #53d88b;
}
.search_menu > ul li:nth-child(3) {
    border: 3px solid #ffb356;
}
.search_menu > ul li:nth-child(4) {
    border: 3px solid #ff74a9;
}
.search_menu > ul li:nth-child(5) {
    border: 3px solid #bc7ce4;
}
#About .search_menu > ul li {
    width: 18%;
    height: 100px;
    border-radius: 5px;
    margin: 0 1%;
}

@media screen and (max-width: 640px) {
    #About .search_menu > ul li {
        width: 48%;
        margin: 0 0 10px;
    }
}

#SubContents .search_menu > ul li {
    width: 48%;

}

@media screen and (max-width: 640px) {
    #SubContents .search_menu > ul li {
        width: 98%;
    }
}

#SubContents2 .search_menu > ul li {
    width: 23%;
}

@media screen and (max-width: 640px) {
    #SubContents2 .search_menu > ul li {
        width: 48%;
    }
}

/*
#SubContents .search_menu > ul li a:before,
#SubContents2 .search_menu > ul li a:before {
    content: "\f105";
    font-family: FontAwesome;
    font-weight: normal;
    font-style: normal;
    font-size: 160%;
    display: block;
    position: absolute;
    top: 11%;
    right: 15px;
}
*/

.search_menu > ul li a {
    display: flex;
    justify-content: center;
    padding: 20px 10px;
    width: 100%;
    -webkit-transform: perspective(1px) translateZ(0);
    transform: perspective(1px) translateZ(0);
    box-shadow: 0 0 1px rgba(0, 0, 0, 0);
    position: relative;
    overflow: hidden;
    -webkit-transition-property: color;
    transition-property: color;
    -webkit-transition-duration: 0.3s;
    transition-duration: 0.3s;
}
.search_menu > ul li a:after {
    content: "";
    position: absolute;
    z-index: -1;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 100%;
    -webkit-transform: scale(0);
    transform: scale(0);
    -webkit-transition-property: transform;
    transition-property: transform;
    -webkit-transition-duration: 0.3s;
    transition-duration: 0.3s;
    -webkit-transition-timing-function: ease-out;
    transition-timing-function: ease-out;
}
.search_menu > ul li:nth-child(1) a:after {
    background: #53bff3;
}
.search_menu > ul li:nth-child(2) a:after {
    background: #53d88b;
}
.search_menu > ul li:nth-child(3) a:after {
    background: #ffb356;
}
.search_menu > ul li:nth-child(4) a:after {
    background: #ff74a9;
}
.search_menu > ul li:nth-child(5) a:after {
    background: #bc7ce4;
}
.search_menu > ul li a:hover:after, .search_menu > ul li a:focus:after, .search_menu > ul li a:active:after {
    -webkit-transform: scale(2);
    transform: scale(2);
}
.search_menu > ul li a:hover {
    text-decoration: none;
    color: #ffffff;
/*    background-color: #999;*/
}

.search_menu > ul li a[href$='.pdf'] {
    background: transparent url(icons/icon_pdf.gif) no-repeat center right;
}

/* about */
#About {
    /*margin-bottom: 30px;*/
    padding: 15px 0 0 0;
/*    background: url(../img/common/bg_check.png) repeat;*/
}

#About .left {
    width: 650px;
}

#About .right {}

#About .more-link {
    margin: 20px 0;
}

@media screen and (max-width: 640px) {
    #About {
        margin-left: -10px;
        margin-right: -10px;
        padding: 30px 10px 10px;
    }

    #About .left {
        float: none;
        width: auto;
    }

    #About .right {
        float: none;
        text-align: center;
    }
}


/* information */
#Information {
    padding: 30px 0;
    /* background-color: #f9efe3; */
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    align-items: flex-start;
}
.fb {
    width: 400px;
    /* background-color: #53bff3; */
    padding: 0 20px;
}
.flex-item {
    width: 550px;
    padding: 20px;
    border-radius: 3px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
}

#News {
    margin: 0 10px 0 0;
}

#Blog {
    margin: 0 0 0 10px;
}

#Blog ul {
    overflow-y: scroll;
    overflow-x: hidden;
    height: 280px;
}

.feed li {
    margin-bottom: 5px;
    font-size: 18px;
    font-size: 1.8rem;
    border-bottom: 1px dashed #b9b9b9;
    padding: 10px 0;
}

.feed .date {
    margin-right: 20px;
    padding: 4px 10px;
/*    display: block;*/
}

.feed li a {
/*    text-decoration: underline;*/
}

.feed .title {
    display: inline;
}

@media screen and (max-width: 640px) {
    #Information {
        flex-direction: column;
    }

    .flex-item {
        width: auto;
    }

    #News,
    #Blog {
        margin: 0 10px;
    }

    #News {
        margin-bottom: 30px;
    }
}

/*SubContents*/
#SubContents{
    padding: 30px 0;
    background-color: #FFEB9D;
}

#SubContents2 .search_menu {
    width: 100%;
    padding: 30px 0;
    background: url(../img/common/bg_check.png) repeat;
}
#SubContents2 .search_menu ul {

}

.bx-caption {
    text-align: center;
}

.icon-padding {
    padding-right: 10px;
}
@media print {
    #SliderWrap {
        width: 92%;
        margin: 0;
    }
    .bx-wrapper li.bx-clone {
        display: none;
    }
    .bx-wrapper li {
        width: 92%;
    }
    .bx-wrapper img {
        width: 84%;
    }
    .bx-controls {
        display: none;
    }
    .flex-item {
        width: 40%;
    }
    .search_menu ul {
        display: flex;
        flex-flow: row wrap;
        justify-content: center;
    }
    #About .search_menu > ul li {
        width: 20%;
    }
    #Blog ul {
        overflow-y: visible;
        overflow-x: visible;
        height: auto;
    }
    .search_menu > ul li {
        width: 40%;
    }
}