@charset "utf-8";

.sub-main {
    padding-top: 140px;
    background: url(../img/sub/background.jpg) no-repeat right top / 100% auto;
}

.sub-mv__en {
    font-size: 6.4rem;
    line-height: 1.3;
}

.breadcrumb {
    margin-top: 40px;
    font-weight: 500;
}

.breadcrumb>span:not(:last-of-type) {
    margin-right: 4px;
}

.breadcrumb>span:not(:first-of-type) {
    margin-left: 4px;
}

.sub-ttl .en {
    line-height: 1.2;
}

@media screen and (max-width: 768px) {
    .sub-mv__en {
        font-size: 4rem;
    }
}

@media screen and (max-width: 599px) {
    .sub-main {
        background-size: 165% auto;
    }
}

/*********************************
*************** POST *************
*********************************/

.post-single-header {
    padding-bottom: 10px;
    border-bottom: 1px solid #D2D2D2;
}

.single-nav-link {
    border-top: 1px solid #D2D2D2;
}

.m-pagenation ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding-top: 60px;
}

.m-pagenation ul li {
    margin: 0 5px;
}

.m-pagenation ul li span,
.m-pagenation ul li a {
    display: block;
    width: 30px;
    margin: 0;
    text-align: center;
    font-size: 1.5rem;
    line-height: 28px;
    color: #fff;
    background: #333;
    border: 1px solid #333;
}

.m-pagenation ul li span.current {
    background: #fff;
    color: #333;
}

.m-pagenation ul li a.prev,
.m-pagenation ul li a.next {
    width: auto;
    padding: 0 10px;
}

.single-nav-link__item a {
    display: block;
    padding: 4px 25px;
    color: #fff;
    background-color: #F52727;
    border-radius: 30px;
}


/*********************************
************* COMPANY ************
*********************************/

.greeting .sub-ttl {
    position: absolute;
    left: 0;
    top: 50%;
    width: 100%;
    transform: translateY(-50%);
}

.info-list .tablepress tr td {
    padding: 14px;
    border-bottom: 1px solid;
    border-top: none;
    box-sizing: border-box;
}

.info-list .tablepress tr td.column-1 {
    width: 150px;
}

@media screen and (max-width: 599px) {
    .info-list .tablepress tr td {
        display: block;
    }
    .info-list .tablepress tr td.column-1 {
        width: 100%;
        padding-bottom: 0;
        border-bottom: none;
    }
}


/*********************************
************* MESSAGE ************
*********************************/

.img-txt {
    width: 95%;
    max-width: calc(50% + 600px);
}

.img-txt.flex-row-reverse {
    margin-left: auto;
}

.img-txt figure {
    width: calc(50vw - 15px);
    margin: 0 30px 0 0;
}

.img-txt.flex-row-reverse figure {
    margin: 0 0 0 30px;
}

.img-txt__box {
    flex: 1;
}

@media screen and (max-width: 1024px) {
    .img-txt {
        width: 100%;
    }
    .img-txt figure,
    .img-txt.flex-row-reverse figure {
        width: 95%;
        margin: 0 0 30px 0;
    }
    .img-txt__box {
        flex: none;
        width: 100%;
        padding: 0 5%;
    }
}


/*********************************
************** SERVICE ***********
*********************************/

.example-list {
    margin: 2.5em -15px 0;
}

.example-list li {
    width: calc(25% - 30px);
    margin: 2em 15px 0;
    padding: 30px 20px;
    background-color: #fff;
    border: 1px solid #000;
    border-radius: 20px;
}

@media screen and (max-width: 1024px) {
    .example-list {
        margin-left: -5px;
        margin-right: -5px;
    }
    .example-list li {
        width: calc(25% - 10px);
        margin-left: 5px;
        margin-right: 5px;
    }
}

@media screen and (max-width: 768px) {
    .example-list li {
        width: calc(33.33% - 10px);
    }
}

@media screen and (max-width: 599px) {
    .example-list li {
        width: calc(50% - 10px);
        padding: 15px 10px;
        border-radius: 10px;
    }
}


/*********************************
************** FLOW **************
*********************************/

.flow-list li {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    padding: 25px;
    border-bottom: 1px solid #B1B1B1;
}

.flow-list__num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 120px;
    height: 120px;
    margin-right: 50px;
    text-align: center;
    font-size: 1.8rem;
    line-height: 1;
    color: #fff;
    background-color: #F52727;
    border-radius: 50%;
}

.flow-list__num span {
    font-size: 255%;
}

.entry-link {
    display: block;
    padding: 3em 20px;
    text-align: center;
    background-color: #fff;
    border: 1px solid #000;
}

@media screen and (max-width: 599px) {
    .flow-list li {
        justify-content: center;
        padding: 20px 0;
    }
    .flow-list__num {
        margin: 0 auto 20px;
    }
    .flow-list li .flex-1 {
        flex: none;
        width: 100%;
    }
}


/*********************************
************* contact ************
*********************************/

.contact-tel {
    font-size: 7rem;
    color: #FFFF00;
}

.contact-form dl {
    display: flex;
    flex-wrap: wrap;
    padding: 20px 0;
    border-bottom: 1px solid #C9C9C9;
}

.contact-form dl dt {
    width: 220px;
}

.contact-form dl dd {
    flex: 1;
}

.contact-form__mail dd .label {
    width: 90px;
    line-height: 42px;
}

.contact-form__mail dd .d-flex+.d-flex {
    margin-top: 10px;
}

.contact-form input[type="text"],
.contact-form input[type="tel"],
.contact-form input[type="email"],
.contact-form select {
    width: 100%;
    max-width: 400px;
    height: 42px;
    padding: 0 15px;
    background: #fff;
    border: 1px solid #939494;
    box-sizing: border-box;
    border-radius: 3px;
    font-size: 1.6rem;
    font-family: 'Noto Sans JP', sans-serif;
}

.contact-form textarea {
    width: 100%;
    height: 230px;
    padding: 15px;
    background: #fff;
    border: 1px solid #939494;
    box-sizing: border-box;
    border-radius: 3px;
    font-size: 1.6rem;
    font-family: 'Noto Sans JP', sans-serif;
}

.contact-form__addr dd input[type="text"] {
    max-width: none;
}

.contact-form__addr dd .label {
    width: 24px;
    line-height: 42px;
}

.contact-form__addr dd .d-flex input[type="text"] {
    max-width: 180px;
}

.contact-form__addr dd select {
    max-width: 180px;
    margin: 10px 0;
}

.contact-form__tel dd .flex-1 {
    max-width: 400px;
}

.contact-form input[type="submit"],
.contact-form input[type="button"] {
    display: block;
    width: 100%;
    max-width: 175px;
    height: 40px;
    margin: 40px auto 0;
    font-size: 1.8rem;
    font-family: 'Noto Sans JP', sans-serif;
    color: #fff;
    background: #666;
    border: 1px solid #666;
    border-radius: 5px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    cursor: pointer;
}

.contact-form input[type="submit"]:hover,
.contact-form input[type="button"]:hover {
    color: #000;
    background: #fff;
}

@media screen and (max-width: 768px) {
    .contact-tel {
        font-size: 7vw;
    }
}

@media screen and (max-width: 599px) {
    .contact-form dl dt {
        width: 100%;
    }
    .contact-form dl dd {
        flex: none;
        width: 100%;
        margin-top: 5px;
    }
    .thanks-img img {
        width: 35%;
    }
}


/*********************************
************* PRIVACY ************
*********************************/

.privacy-sec ul.decimal-list {
    margin-left: 1.25em;
    list-style-type: decimal;
}

.privacy-sec ul.disc-list {
    margin-left: 1.25em;
    list-style-type: disc;
}