@font-face {
  font-family: 'Noto Sans JP';
  font-style: normal;
  font-weight: 400;
  src: local("Noto Sans CJK JP Regular"),
       url(//fonts.gstatic.com/ea/notosansjp/v5/NotoSansJP-Regular.woff2) format('woff2'),
       url(//fonts.gstatic.com/ea/notosansjp/v5/NotoSansJP-Regular.woff) format('woff'),
       url(//fonts.gstatic.com/ea/notosansjp/v5/NotoSansJP-Regular.otf) format('opentype');
}

body {
    word-wrap: break-word;
    min-width: 320px;
    font-family:'Noto Sans JP','游明朝',YuMincho,'Hiragino Kaku Gothic ProN','Hiragino Kaku Gothic Pro','メイリオ',Meiryo,'ＭＳ ゴシック',sans-serif;
}

.clearfix {
    clear: both;
}

.main {
    background-color: #fff !important;
    width: 100%;
    min-height: 600px;
}

#footer .container {
    max-width: 870px;
}
#footer .container ul li a {
    margin: 0 auto;
}

#recruit h2 {
    font-family: 游明朝, "Yu Mincho", YuMincho, "Hiragino Mincho ProN", HGS明朝E, メイリオ, Meiryo, serif;
    font-size: 30px;
    padding-bottom: 30px;
}
#recruit .intro h2 {
    font-size: 26px;
}
#recruit .ttl {
    padding: 60px 0;
}
#recruit .staff {
    display: flex;
    margin-bottom: 80px;
}
#recruit .staff .staff_img {
    position: relative;
    margin-right: 50px;
}
#recruit .staff .staff_img img {
    width: 300px;
    overflow: hidden;
}
#recruit .staff .staff_img_txt {
    position: absolute;
    bottom: 0;
    background: rgba(51, 51, 51, 0.7);
    width: 300px;
    color: #fff;
    width: 300px;
}
#recruit .staff .staff_img_txt p {
    padding: 10px 20px;
    margin: 0;
    text-align: left;
}
#recruit .staff .staff_img_txt p .lg {
    font-size: 20px;
    padding-right: 15px;
}
#recruit .staff .staff_detail {
    text-align: left;
}
#recruit .staff .staff_detail h3 {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 10px;
}
#recruit .staff .staff_detail p {
    font-size: 14px;
    text-align: left;
    padding-bottom: 20px;
}
#recruit .app {
    display: flex;
    margin-bottom: 60px;
}
#recruit .app .app_type {
    font-size: 20px;
    font-weight: bold;
    width: 30%;
    text-align: right;
    padding-right: 30px;
}
#recruit .app .app_cnt {
    width: 50%;
}
#recruit .app .app_cnt .hideprofile,
#recruit .app .app_cnt .p-content {
    color: #333;
}
#recruit .app .app_cnt p {
        text-align: left;
}

#faq .faqBox {
    margin: 60px auto 0;
    width: 870px;
    padding: 0;
}
#faq .faqBox li {
    margin-bottom: 30px;
    border-bottom: 1px solid #eee;
}
#faq .faqBox li dl {
    line-height: 180%;
    margin-bottom: 0;
}
#faq .faqBox li dl dt {
    position: relative;
    margin-bottom: 20px;
    padding: 15px 60px 15px 15px;
    text-align: left;
    cursor: pointer;
}
#faq .faqBox li dl dd {
    display: none;
    padding: 30px 40px 30px 15px;
    background-color: rgba(108, 191, 210, 0.2);
    margin-bottom: 0;
}
#faq .plus {
    position: absolute; 
    vertical-align: middle;
    text-align: center;
    display: block;
    width: 30px;
    height: 30px;
    top: 35%;
    right: 0;
    border-radius: 3px;
    color: #fff;
}
#faq .plus::before {
    position: absolute;
    content: '';
    width: 3px;
    height: 22px;
    background-color: white;
    top: 4px;
    left: 13px;
}
#faq .plus::after {
    position: absolute;
    content: '';
    width: 22px;
    height: 3px;
    background-color: white;
    top: 13px;
    left: 4px;
}
#faq .faqBox li dl .active .plus::before {
    display: none;
}
#faq .fukidashi {
    position: relative;
    display: inline-block;
    float: left;
    margin-right: 20px;
    padding: 0 5px;
    width: 50px;
    height: 50px;
    line-height: 50px;
    vertical-align: middle;
    text-align: center;
    color: #FFF;
    font-size: 24px;
    border-radius: 50%;
    box-sizing: border-box;
    font-weight: normal;
}
#faq .fukidashi:before {
    content: "";
    position: absolute;
    bottom: -7px;
    right: -7px;
    margin-top: -15px;
    border: 8px solid transparent;
    border-left: 15px solid #a58eff;
    z-index: 0;
    -ms-transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
}
#faq dd .fukidashi {
    background: #999;
}
#faq dd .fukidashi:before {
    border-left-color: #999;
}
.back p {
    left: 0;
}

#news .widgettitle {
    margin-bottom: 15px;
}

@media (min-width: 1200px) {
    .main {
        margin-top: 100px;
    }
}

@media (min-width: 576px) and (max-width: 1200px) {
    .main {
        margin-top: 50px;
    }
    .service-detail .content img{
        width: 100% !important;
        height: auto !important;
    }
}

@media (max-width: 576px) {
    .main {
        margin-top: 30px;
    }
    .service-detail .content img{
        width: 100% !important;
        height: auto !important;
    }
    .service-detail .content table td{
        width: 100% !important;
        height: auto !important;
        float: left;
        text-align: left !important;
        padding: 0;
    }
    .service-detail table, thead, td, tr {
      display: block;
    }
    .service-detail .content .hide{
        display: none;
    }
    .service-detail .content .title{
        color: #002949;
        padding-top: 20px;
    }
    .service-detail .content .title-table{
        text-align: center !important;
    }

    /*privacy*/
    .privacy .content .textspace{
        white-space: normal;
    }
    .privacy .content .textsize{
        font-weight: unset !important;
    }
    .privacy .content .title{
        font-size: 16px !important;
    }
    .description {
        font-size: 14px;
    }
    .recruit .content table tr td:nth-child(1) {
        text-align: center !important;
    }
    .content .tb-info {font-size: 14px;}


    #recruit .ttl {
        padding: 30px 0;
    }
    #recruit .staff {
        flex-direction: column;
        margin-bottom: 20px;
    }
    #recruit .staff .staff_img {
        margin-right: 0;
        margin-bottom: 30px;
    }
    #recruit .staff .staff_img .staff_img_txt {
        width: 100%;
    }
    #recruit .app {
        flex-direction: column; 
    }
    #recruit .app .app_type {
        width: 100%;
        font-size: 24px;
        text-align: center;

        padding: 0.5em 0;
        border-top: solid 3px #00245e;
        border-bottom: solid 3px #00245e;
    }
    #recruit .app .app_cnt {
        width: 100%;
     }
    #recruit .app .app_cnt p {
        margin-bottom: 0;
    }
    #recruit .app_cnt .rowtext .title .text2 {
        font-size: 18px;
        font-weight: bold;
        text-align: center !important;
    }
    #recruit .app .app_cnt .title {
        padding-top: 10px;
    }
    #recruit .app .app_cnt p {
        text-align: center;
    }

    #news .last-post {
        padding-bottom: 20px;
    }
    #news .last-post .post-cat {
        font-size: 14px;
        font-weight: normal;
    }
    #news .last-post .post_content {
        margin-left: 0;
    }
    #news .last-post .post_detail {
        margin-right: 0;
    }
    #news .last-post .col-md-6 {
        margin-bottom: 30px;
    }
    #news #news-detail-col1,
    #news #news-detail-col2 {
        padding: 0;
    }

    #faq .fukidashi {
        margin-right: 10px;
        height: 35px;
        line-height: 30px;
    }
    #faq .fukidashi:before {
        display: none;
    }
    #faq .faqBox {
        width: 100%;
    }
    #faq .faqBox li dl dt,
    #faq .faqBox li dl dd {
        padding: 10px 36px 10px 10px;
    }
    #faq .fukidashi {
        margin-bottom: 50%;
        margin: 20px 10px 30px 0;
    }
    #faq .plus {
        padding-top: 3px !important;
    }
    #faq .faqBox li dl dt,
    #faq .faqBox li dl dd {
        font-size: 14px;
        line-height: 1.5;
        display: flex;
    }
    #faq .faqBox li dl dt span ,
    #faq .faqBox li dl dd span {
        align-self: center;
    }
}

.post-list {
    display: flex;
    justify-content: center;
}

.post-row {
    margin-bottom: 30px;
}

.post-row .post-thumbnail img {
    max-width: 100%;
    height: 235px;
}

.post-row .post-meta {
    width: 100%;
    min-height: 30px;
}

.post-event {
    background-color: #00245e;
    color: #ffffff;
    font-weight: bold;
}

.post-row .post-meta .post-event {
    padding: 4px 10px 0px 10px;
}

.post-date {
    font-weight: 500;
    color: #00245e;
}

.post-row .post-meta .post-date {
    margin: 4px 0px 0px 10px;
}

.post-title {
    font-weight: bold;
    color: #00245e;
}

.post-row .post-title {
    float: left;
    margin: 10px 0;
}

.post-row .post-title a {
    color: #00245e;
    text-decoration: none
}

.post-row .post-excerpt {
    font-size: 0.95em;
    margin: 10px 0;
    color: #767474;
}

.post-header {
    margin-left: 15px;
    margin-right: 15px;
}

.post-header .post-title {
    margin: 5px 0;
}
.post-header .post-date {
    font-weight: 600;
}

.post-header .post-event {
    padding: 5px 30px;
}

.post-header .post-title h2 {
    font-weight: bold !important;
}

.post-content {
    float: left;
    color: #4c4c4c;
}

.post-content img {
    max-width: 100%;
    height: 100%;
}
@media (min-width: 576px) {
    .post-content {
        margin: 50px 0;
    }
}

@media (max-width: 576px) {
    .post-content {
        margin: 20px 0px;
    }
    .post-row .post-excerpt {
        font-size: 15px;
    }
    .post-row .post-title a {
        font-size: 16px;
    }
    .post-content {font-size: 14px;}
}

.pagination {
    display: flex;
    justify-content: center;
    font-weight: bold;
    margin: 50px 0 100px 0;
}

@media (min-width: 1200px) {
    .pagination {
        margin: 50px 0 100px 0;
    }
}

@media (min-width: 576px) and (max-width: 1200px) {
    .pagination {
        margin: 25px 0 50px 0;
    }
}

@media (max-width: 576px) {
    .pagination {
        margin: 10px 0 35px 0;
    }
}

.pagination .prev,
.pagination .next {
    margin: 0 10px;
    padding: 10px 0px;
    background-color: #00245e;
}

.pagination .prev,
.pagination .next {
    cursor: pointer;
}
.pagination a {
    color: #ffffff;
    text-decoration: none;
    padding: 10px 50px;
}

.sidebar {
    margin: 0 0 50px 10px;
}

.sidebar .category {
    margin-bottom: 60px;
}

.sidebar .category a {
    font-size: 1.5em;
    color: #4c4c4c;
    text-decoration: none;
}

.sidebar .category a:hover {
    text-decoration: underline;
    opacity: .8;
}

.sidebar .related .info {
    padding-left: 10px;
    margin-top: -7px;
}

.sidebar .related .info a {
    text-decoration: none;
    color: black;
    font-size: 15px;
}

.sidebar .related .info a:hover {
    text-decoration: none;
    opacity: .8;
}

@media screen and (max-width: 576px) {
    h2 {
        font-size: 1.1rem;
    }
    .table td {padding: 8px 0px 10px 0px;}
    .footer-border-top {
        border-top: 1px solid #333257;
    }
    .main .content h4 {
        font-size: 1.1rem;
    }
    .news-content {margin: 0px 20px !important;}
    .toplist{
        margin: 0px;
    }

    #main img {
        max-width: 100%;
        height: auto;
    }

}

.banner {
    color: white;
    position: relative;
    background-size: 100% auto !important;
}
.banner::after {
    content: ''; position: absolute; top: 0; bottom: 0; left:0; right: 0;
    background-color: rgba(0,0,0,0.2);
}
.banner .title-info {position: absolute; top: 45%; left: 50%; transform: translate(-50%, -50%); color: #fff; //font-weight: bold; z-index: 100; }
.banner .page-img {height: 100%; width: 100%;}
.banner .name {
    font-size: 40px;
    padding-top: 50px;
}

.banner .eng-name {
    font-family: 游明朝, "Yu Mincho", YuMincho, "Hiragino Mincho ProN", HGS明朝E, メイリオ, Meiryo, serif;
    font-size: 20px;
    font-weight: bold;
}
.bg-contact {
    background-position: center bottom !important;
}
.bg-recruit {
    background-position: 50% 38% !important;
}

@media screen and (max-width: 992px) { .banner { height: 215px}}
@media screen and (min-width: 768px) { .banner { height: 415px}}

.breadcrumb {
    background-color: initial;
    margin: 0;
    padding-bottom: 0;
}

.breadcrumb .breadcrumb-item a {
    color: white;
}

.breadcrumb .breadcrumb-item + .breadcrumb-item::before {
    content: "\f054";
    font-family: Fontawesome;
    color: #fff;
    font-weight: normal;
}

/*recruit*/
.btn-recruit button{
    background: #00245e;
    border: none;
    color: #fff;
    width: max-content;
    height: 50px;
    font-weight: 700;
    padding: 0px 30px 0px 30px;
}
.main .btn-recruit a:hover{text-decoration: none !important;}
.recruit-color{
    color: #002949;
}
/**/
.toplist{
    margin-bottom: -1px;
    margin-top: -1px;
    width: 100%;
}
.toplist .content button{
    background: #00245e;
    border: none;
    color: #fff;
    width: max-content;
    height: 50px;
    padding: 0px 30px 0px 30px;
}
.toplist .content ul{
margin-left: 30px;
}
.toplist .content ul li{
padding-bottom: 0.5em;
}
.spacetop{
margin-top: 2%;
}
.spacebottom{
margin-bottom: -5%;
}
/*privacy*/
.privacy{
    width: 95%;
    float: none;
    margin: 0 auto;
    margin-bottom: 60px;
}

.privacy .content .textsize{
    word-spacing: 0.9em;
}
.privacy .content .fixline{
    margin-bottom: -2em;
}

.logo-profile img{
    width: auto;
}
.linespace{
    width: 100%;
    height: 5%;
}
.linewhite{
    width: 100%;
    height: 4em !important;
}

.company-detail .table td, .table th{
    border-top: 1px solid #333;
    letter-spacing: 0.2em;
}
.company-detail .table tr{
        border-top: 1px solid #333;
        border-bottom: 1px solid #333;
}

.main .service-link, .main .btn-register {
    background: #f2f2f2;
    text-align: center;
    text-decoration: none;
    margin-right: 15px;
    font-size: 18px;
    padding: 0px 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 65px;
}

.main .btn-register {
    min-width: 200px;
    max-width: 250px;
    color: white;
}

.main .btn-register:hover {
    opacity: .9;
}

.main .service-link:last-of-type {
    margin-right: 0;
}

.main .service-link:hover,
.main .service-link.active {
    color: white;
    text-decoration: none;
}

.main .content {
    width: 100%;
}

.main .content h4 {
    padding-bottom: 0.5em;
    padding-top: 1em;
}

.main .content h4.first {
    color: #000080;
}

.main .content h4.title {
    border-bottom: 2px solid #000080;
}


.main .btn-recruit a {
    background-color: #00245e;
    padding: 17px 60px 17px 60px;
    color: #FFFFFF;
}

/** Widget last post and top view post **/
.last-post {
    padding-top: 60px;
    padding-bottom: 40px;
}
.last-post h2 {
    font-size: 20px;
    margin-left: 50px;
    border-bottom: 1px solid #555252ee;
    padding: 0px 0 14px 0;
    color: #767474;
}
.last-post .last-post-thumbnail {height: 100%;width: 100%; min-width: 100px; color:#ffffff;object-fit: cover;}
.last-post p a {
    color: #767474;
    font-size: 14px;
}
.last-post .post-meta {
    margin-bottom: 9px;
}
.last-post .post-meta div {
    line-height: 20px;
}
.last-post .post-date {color:#b8b8b8;font-size: 14px; //font-weight: 600;margin-right: 10px;}
.last-post .post-cat {
    color:#ffffff !important;
    padding: 1px 10px 2px;
    font-size: 12px;
}
.bg-last-post {background-color: #EEEEEE; margin-bottom: 0 !important;}

.service-detail{
    float: none;
    margin: 0 auto;
}

.post_content {
    display: block;
    width: 100px;
    height: auto;
    float: left;
    margin: 7px 5px 5px 10px;
}
.post_content .post_img {
    width: 100%;
    height: 100px;
    overflow: hidden;
    position: relative;
    z-index: 1;
}
.post_content .post_img > img {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transform: scale(1);
}
.post_content_on .post_img a > img {
    animation: post_content_on0 0.45s ease-in-out forwards;
}
.post_detail {
    margin: 10px;
}

@keyframes post_content_on0 {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.0625);
    }
}
.post_content_off .post_img a > img {
    animation: post_content_off0 0.45s ease-in-out forwards;
}
@keyframes post_content_off0 {
    0% {
        transform: scale(1.0625);
    }
    100% {
        transform: scale(1);
    }
}

@media (max-width: 768px) {
    .last-post {
        padding-top: 40px;
    }
    .last-post h2 {
        margin-left: 0px;
    }
    .last-post ul {
        padding-left: 0px;
    }
    .banner .name {
        font-size: 30px;
    }
    .banner .eng-name {font-size: 17px;}
    .main .service-link, .main .btn-register {
        font-size: 14px;
        border: 1px solid #d2d2d2;
        margin: 1px !important;
    }
}

/*** News ***/
.news-head-cat {
    margin-bottom: 60px !important;
}
.news-head-cat a {
    margin-right: 0 !important;
    border-right: 1px solid #dddddd;
}
.news-head-cat a:last-child {
    border-right: none;
}

@media (min-width: 1000px) {
.article-content {
    margin-left: -30px;
    margin-right: -30px;
}
}

/***button toogle***/
.navbar-light .navbar-toggler {
    border:none !important;
}

/***Privacy***/
.privacy .content h5 {
    padding-bottom: 0.5em;
    padding-top: 1em;
}
.privacy .content h5.title {
    border-bottom: 1px solid #000080;
    font-weight: bold;
}

/***Recruit***/
.recruit .content {
    margin-bottom: 40px;
}
.recruit .content h4 {
    margin-bottom: 20px;
    font-weight: 600;
}

.recruit .content table {
    padding: 0px 0px 20px 0px;
    border-bottom: 1px solid #d2d2d2;
}
table.text-left.tb-info:last-child {
    border: none;
}
.recruit .content table tr td:nth-child(1) {
    text-align: left;
}
.main .btn-recruit {
    margin: 80px 0 160px;
    text-align: center;
}
.main .btn-recruit a {
    background-color: #00245e;
    padding: 17px 60px 17px 60px;
    color: #FFFFFF;
}
.recruit .content img {
    //width: auto !important;
}
.recruit .intro p {
    color: #333;
}
.recruit .staff_detail p {
    color: #333;
}


@media (max-width: 992px) {
    .recruit p {
        font-size: 14px;
    }
    .recruit .content img {
        width: 100% !important;
    }
}