@charset "utf-8";

/*Common
-----------------------------------------------------------------------------------------*/
.sub-head {
    position: relative;
    padding: 120px 0;
}

.sub-head p {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    white-space: nowrap;
}

.sub-en {
    font-size: 680%;
    letter-spacing: 0.1em;
}

.sub-ja {
    font-size: 150%;
}

.bg-check {
    background-color: rgb(0, 63, 120);
    background-image: linear-gradient(rgb(0, 90, 170) 2px, transparent 2px), linear-gradient(to right, rgb(0, 90, 170) 2px, rgb(0, 63, 120) 2px);
    background-size: 20px 20px;
}

/*Home
-----------------------------------------------------------------------------------------*/
.home-intro .bg-wh {
    margin-bottom: 50px;
    padding: 80px 20px;
}

.intro-bottom-line{
    border-bottom: 1px solid rgb(0, 90, 170);
}

.home-intro .title {
    padding: 3px 0;
    font-size: 130%;
    margin-bottom: 30px;
    font-weight: bold;
}

.home-intro .content p{
    padding: 5px 0;
}

.yellow-btn {
    position: relative;
    padding: 0.9em 1.3em;
    border-bottom: 8px solid rgb(83, 81, 58);
    border-radius: 2em;
    font-size: 110%;
    font-weight: bold;
    -webkit-transition: none;
    transition: none;
}

.yellow-btn:hover {
    top: 8px;
    border-bottom: none;
}

.btn-wrapper {
    margin-top: 50px;
}

.home-news {
    padding: 90px 45px;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
}

.home-newss {
    display: inline-block;
    width: 33%;
    padding: 0 10px;
    box-sizing: border-box;
}

.newss {
    margin-top: 2px;
    padding: 20px;
    box-sizing: border-box;
}

.news-summary a:hover {
    opacity: 0.7;
}

.news-posttitle {
    padding: 3px 0;
}

.newss div {
    margin: 5px 0;
    padding: 3px;
}

.dailyflow-text {
    padding: 30px 10px;
    border-radius: 10px;
}

.dailyflow-text p {
    padding: 5px 0;
}

.home-dailyflow .bg-wh {
    margin-top: 50px;
    padding: 30px 10px;
    position: relative;
}

.left-yellow-box {
    border-left: 8px solid rgb(255, 238, 89);
    padding: 5px 15px;
    font-size: 130%;
    font-family: genshing-bold;
    display: inline-block;
    margin: auto;
    margin-top: 20px;
}

.dailyflow-content-wrapper {
    width: 50%;
    margin: 50px auto;
}

.dailyflow-contents {
    padding: 20px 10px;
    border-bottom: 3px solid rgb(0, 90, 170);
    font-family: genshing-bold;
    position: relative;
    box-sizing: border-box;
    margin-bottom: 50px;
    font-size: 110%;
}

.dailyflow-contents::after {
    position: absolute;
    bottom: -53px;
    content: "";
    left: 50%;
    width: 2px;
    background-color: rgb(231, 62, 10);
    height: 50px;
}

.dailyflow-contents:last-child {
    margin-bottom: 0;
}

.dailyflow-contents:last-child::after {
    content: none;
}

.flowimg {
    width: 250px;
    position: absolute;
}

.flowimg.flow-1 {
    top: 0;
    right: -100px;
}

.flowimg.flow-2 {
    top: 20%;
    left: -100px;
}

.flowimg.flow-3 {
    top: 45%;
    right: -100px;
}

.flowimg.flow-4 {
    top: 70%;
    left: -100px;
}

.flowimg.flow-5 {
    bottom: 0;
    right: -100px;
}


/*index
-----------------------------------------------------------------------------------------*/
.index-newss {
    margin: 50px auto 0;
}

.pagenavi-wrapper {
    margin: 50px 0;
}

#index {
    display: flex;
    justify-content: space-around;
    width: 50%;
    margin: 0 auto;
}

.index-left {
    width: 50%;
}

.index-right {
    width: 30%;
}

.monthly-list {
    margin: 50px auto;
    padding: 10px;
}

.monthly-list a {
    color: rgb(255, 255, 255);
    border-bottom: 2px rgb(239, 218, 167) solid;
}

.monthly-list a:hover {
    opacity: 0.7;
}

.monthly-list li {
    padding: 5px;
    margin-bottom: 20px;
}

.monthly-list .monthly-list-title {
    margin-bottom: 20px;
    font-size: 120%;
}

.pagenavi-wrapper,
.pagenavi-wrapper a {
    color: rgb(255, 255, 255);
}

/*single
-----------------------------------------------------------------------------------------*/
.single-newss {
    width: 50%;
    margin: 50px auto;
}


/*Profile
-----------------------------------------------------------------------------------------*/
.subpage-left-yellow.left-yellow-box {
    display: block;
    text-align: left;
    margin-bottom: 30px;
}

.photo-flex {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
}

.photo-wrapper {
    width: 48%;
}

table.width-max-table {
    border-collapse: collapse;
    width: 100%;
}

.table-wrapper {
    margin-bottom: 60px;
}

table.width-max-table.purpose th,
table.width-max-table.purpose td {
    border: 1px solid rgb(147, 159, 172);
}

table.width-max-table th {
    vertical-align: top;
    padding: 15px 20px;
    width: 25%;
}

table.width-max-table td {
    text-align: left;
    padding: 15px 20px;
    width: 75%;
}

table.width-max-table.bottom-triangle {
    position: relative;
    margin-bottom: 30px;
}

table.width-max-table.bottom-triangle::after {
    content: "";
    display: block;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    bottom: -60px;
    border: 40px solid transparent;
    border-top: 20px solid rgb(255, 255, 255);
}

table.width-max-table.bottom-triangle:last-child::after {
    content: none;
}

.president-massage p {
    margin: 10px 0;
}

.president-massage-wrapper th {
    vertical-align: top;
    width: 25%;
}

.president-massage-wrapper td {
    padding-left: 50px;
}

.president-sign {
    padding-top: 20px;
    font-family: mouhitsu;
    font-size: 180%;
    text-align: right;
}


/*Works
-----------------------------------------------------------------------------------------*/
.works-box li {
    background-color: rgb(255, 255, 255);
    padding: 15px;
    border-bottom: 1px dotted rgb(135, 137, 139);
}

.works-box ul li:nth-child(odd) {
    background-color: rgb(238, 245, 251);
}

.works-box li:last-child {
    border-bottom: none;
}

.works-box {
    margin-bottom: 60px;
}

.photo-flex-box {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    flex-wrap: wrap;
    justify-content: start;
    align-items: start;
    background-color: rgb(255, 255, 255);
    padding: 30px 0;
}

.photo-flex-box .photos img {
    vertical-align: bottom;
}

.photo-flex-box .photos {
    padding: 1rem;
    width: 33.3333%;
    box-sizing: border-box;
}

.photos img {
    padding: 3px;
    box-sizing: border-box;
    border-radius: 10px;
}


/*Recruit
-----------------------------------------------------------------------------------------*/
.recruit .fukuri img {
    width: 30%;
}

.recruit a.fukuri:hover {
    opacity: 0.7;
}


/*Contact
-----------------------------------------------------------------------------------------*/
.contact-text {
    padding: 30px 10px;
    border-radius: 10px;
    margin-bottom: 30px;
}

.contact-text p {
    padding: 5px 0;
}

.table-contact {
    width: 100%;
    margin: 0 auto 10px;
    border-collapse: collapse;
    border-spacing: 0;
    border: 1px solid rgb(0, 90, 170);
}

.table-contact td {
    padding: 20px 30px;
    box-sizing: border-box;
}

.contact-item1 {
    width: 35%;
    background-color: rgb(0, 90, 170);
    text-align: right;
    font-weight: 600;
    vertical-align: center;
    color: rgb(255, 255, 255);
    border-bottom: 1px solid rgb(255, 255, 255);
}

.contact-item1.last {
    border-bottom: 1px solid rgb(0, 90, 170);
}

.contact-item2 {
    width: 65%;
    background-color: rgb(255, 255, 255);
    text-align: left;
    border-bottom: 1px solid rgb(0, 90, 170);
}

.contact-item {
    display: inline-block;
    padding: 3px 5px;
    background-color: rgb(255, 255, 255);
    font-size: 90%;
    box-sizing: border-box;
    text-shadow: none;
}

.contact-item.required {
    border: 1px solid rgb(255, 215, 0);
    color: rgb(255, 215, 0);
    margin-left: 10px;
}

.contact-item.any {
    border: 1px solid rgb(70, 130, 180);
    color: rgb(70, 130, 180);
    margin-left: 10px;
}

select.wpcf7-form-control.wpcf7-select {
    font-size: 110%;
}

input.text-common {
    width: 100%;
    height: 90%;
    font-size: 110%;
    box-sizing: border-box;
}

textarea.text-common {
    width: 100%;
    margin: 0;
    padding: 0;
    font-size: 110%;
    box-sizing: border-box;
}

input.button-submit {
    display: inline-block;
    width: 300px;
    margin: 50px auto;
    font-size: 120%;
}

input.button-submit:hover {
    cursor: pointer;
}

.screen-reader-response {
    color: red;
}

.wpcf7-response-output {
    width: 80%;
    margin: 10px auto !important;
    padding: 10px 0;
    color: rgb(255, 255, 255);
}

input.wpcf7-not-valid,
textarea.wpcf7-not-valid {
    background-color: rgba(215, 65, 128, 0.7);
}


@media screen and (max-width:1023px) {

    /*Common
-----------------------------------------------------------------------------------------*/
    .sub-head {
        position: relative;
        padding: 60px 0;
    }

    .sub-en {
        font-size: 260%;
    }

    .sub-ja {
        font-size: 120%;
    }

    /*Home
-----------------------------------------------------------------------------------------*/

    .home-intro .bg-wh {
        padding: 10px 10px 20px;
    }

    .home-intro .title {
        font-size: 90%;
        margin: 20px 0;
    }

    .home-intro .content p{
        padding: 5px 10px;
    }

    .home-intro .content{
        font-size: 90%;
    }

   .btn-wrapper {
        margin: 30px 0;
    }

    .home-news {
        padding: 20px;
        display: block;
    }

    .home-newss {
        display: block;
        width: 100%;
        padding: 0 10px;
        margin: 10px 0;
    }

    .btn-wrapper.homenews-btn, .btn-wrapper.homedailyflow-btn{
        margin: 50px 0 15px;
    }

    .home-dailyflow .bg-wh {
        margin-top: 40px;
        padding: 10px;
        position: relative;
    }

    .left-yellow-box {
        border-left: 8px solid rgb(255, 238, 89);
        padding: 8px;
        font-size: 110%;
        margin-top: 20px;
    }

    .dailyflow-content-wrapper {
        width: 80%;
        margin: 30px auto;
    }

    .flowimg {
        width: 110px;
    }

    .flowimg.flow-1 {
        top: 10%;
        right: -30px;
    }

    .flowimg.flow-2 {
        top: 35%;
        left: -30px;
    }

    .flowimg.flow-3 {
        top: 50%;
        right: -30px;
    }

    .flowimg.flow-4 {
        top: 80%;
        left: -30px;
    }

    .flowimg.flow-5 {
        bottom: 0;
        right: -30px;
    }

    /*index
-----------------------------------------------------------------------------------------*/
    .index-newss {
        margin: 20px auto 0;
    }

    #index {
        width: 98%;
    }

    .index-left {
        width: 63%;
    }

    .index-right {
        width: 35%;
        vertical-align: top;
    }

    .monthly-list {
        font-size: 80%;
        padding: 5px;
        margin-top: 20px;
    }

    .wp-pagenavi{
        font-size: 50%;
    }
    

    /*single sp
-----------------------------------------------------------------------------------------*/
    .single-newss {
        width: 90%;
        margin: 30px auto;
    }

    /*Profile
-----------------------------------------------------------------------------------------*/
table.width-max-table th {
    vertical-align: top;
    padding: 10px 5px;
    width: 35%;
    font-size: 90%;
}

table.width-max-table td {
    text-align: left;
    padding: 10px 5px;
    width: 65%;
    font-size: 90%;
}

.president-massage-wrapper th {
    display: block;
    width: 40%;
    margin: 10px auto;
}

.president-massage-wrapper td {
    padding-left: 0;
    display: block;
    width: 100%;
}

.table-wrapper.sp-last{
    margin-bottom: 0;
}


/*Works
-----------------------------------------------------------------------------------------*/
.works-box{
    font-size: 90%;
    text-align: left;
}
.photo-flex-box .photos {
    padding: 1rem;
    width: 50%;
    box-sizing: border-box;
}

/*Recruit
-----------------------------------------------------------------------------------------*/
.recruit .fukuri img {
    width: 50%;
}
.table-contact {
    width: 95%;
}

.table-contact td {
    padding: 15px;
}

.contact-item1 {
    width: 100%;
    display: block;
    text-align: left;
}

.contact-item2 {
    width: 100%;
    display: block;
}

.contact-item.required {
    margin-left: 5px;
}

.contact-item.any {
    margin-left: 5px;
}

input.text-common {
    font-size: 100%;
}

textarea.text-common {
    font-size: 100%;
}

input.button-submit {
    width: 100%;
    margin: 50px auto;
    font-size: 110%;
}

.wpcf7-response-output {
    width: 100%;
    box-sizing: border-box;
}
}