@charset "UTF-8";

#main {
    background-image: url(../image/body__bg.jpg);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

@media (max-width: 767px) {
    #main {
        background-position: 60% 100%;
    }
}

.section {
    padding-top: 96px;
    padding-bottom: 96px;
    margin-bottom: 0;
}

@media (max-width: 767px) {
    .section {
        padding-top: 80px;
        padding-bottom: 80px;
    }    
}

.section__title {
    text-align: left;
    font-size: 1.5rem;
    font-weight: 600;
}

.section__title span {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: .05em;
    line-height: 1.1;
    color: var(--color-primary);
}

.section#icatch {
    padding-top: 64px;
    padding-bottom: 32px;
}

.section#solution {
    background-color: var(--color-black);
}

#hero {
    background-color: rgba(68, 73, 78, .65);
}

#hero .section__title {
    color: #fff;
}

.hero__lead {
    color: #fff;
    font-size: 2.25rem;
    font-weight: 600;
    line-height: calc(48 / 36);
    margin-top: 2em;
}

@media (max-width: 767px) {
    .hero__lead {
        font-size: 2rem;
        margin-top: 1.5em;
    }
}

.hero__lead span {
    color: var(--color-primary);
}

.hero__description {
    color: #E6E6E6;
    margin-bottom: 0;
}

.hero .button__primary{
    background-color: #fff;
    color: var(--color-primary);
    border-color: var(--color-primary);
    margin-top: 36px;
}

.hero .button__primary:hover {
    background-color: var(--color-primary);
    color: #fff;
}

.hero__image {
    margin-top: 120px;
}

@media (max-width: 767px) {
    .hero__image {
        margin-top: 100px;
    }
}

#features {
    background-color: rgba(79, 97, 109, .75);
}

.features .section__title {
    color: #fff;
    margin-bottom: 50px;
}

.features__item {
    display: flex;
}

.features__item:not(:last-of-type) {
    margin-bottom: 72px;
}

.features__number {
    color: var(--color-primary);
    font-size: 3rem;
    width: 90px;
    border-right: 1px solid var(--color-primary);
}

.features__content {
    padding-top: 10px;
    padding-left: 40px;
}

.features__title {
    color: #fff;
    font-size: 1.25rem;
}

.features__description {
    color: #E6E6E6;
}

@media (max-width: 767px) {
    .features__number {
        font-size: 2rem;
        width: auto;
        padding-right: 10px;
    }
    .features__content {
        padding-top: 0;
        padding-left: 15px;
    }
}

#flow {
    background-color: #fff;
}

.flow .section__title {
    margin-bottom: 50px;
}

.flow .section__catch {
    font-size: 1.5rem;
}

@media (max-width: 767px) {
    #flow.section {
        padding-bottom: 60px;
    }
    .flow .section__title {
        margin-bottom: 40px;
    }
    .flow .section__catch {
        font-size: 1.25rem;
    }
}

.flow .section__description {
    margin-bottom: 2em;
}

#contact {
    background-color: rgba(68, 73, 78, .65);
}

.flow {
    text-align: center;
}

.flow__title {
    position: relative;
    color: var(--color-secondary);
    text-align: center;
    font-size: 32px;
    margin-bottom: 16px;
}

.flow__list__item {
    position: relative;
    background-color: var(--color-secondary);
    border: 3px solid var(--color-secondary);
    padding: 32px;
    margin-bottom: 30px;
    text-align: center;
}

.flow__list__item--reverse {
    background-color: var(--color-primary);
    border: 3px solid var(--color-primary);
}

.flow__list__item__title {
    font-size: 24px;
    color: var(--color-primary);
    padding-bottom: 16px;
    border-bottom: 1px dotted var(--color-primary);
    margin-bottom: 16px;
}

.flow__list__item--reverse>.flow__list__item__title {
    color: var(--color-black);
    border-bottom: 1px dotted var(--secondary-black);
}

.flow__list__item__content {
    color: var(--color-white);
    text-align: left;
}

.flow__list__item--reverse>.flow__list__item__content {
    color: var(--color-secondary);
}

.flow__list__item__label {
    position: absolute;
    top: 0;
    left: 0;
    background-color: var(--color-primary);
    width: 65px;
    height: 70px;
    clip-path: polygon(0 0, 100% 0, 0 100%);
    text-align: left;
    padding-top: 6px;
    padding-left: 6px;
    line-height: 1.0;
    font-size: 14px;
}

.flow__list__item--reverse>.flow__list__item__label {
    background-color: var(--color-secondary);
    color: var(--color-primary);

}

.flow__list__item__label em {
    padding-left: 4px;
    font-size: 24px;
    font-style: normal;
}

.flow__list__item::after {
    content: '';
    position: absolute;
    bottom: -47px;
    left: calc(50% - 40px / 2);
    background-color: var(--color-primary);
    width: 40px;
    height: 40px;
    clip-path: polygon(100% 0, 0 0, 50% 50%);
}

.flow__list__item:last-child:after {
    content: none;
}

@media (min-width: 1120px) {
    .flow__list {
        display: flex;
    }

    .flow__list__item {
        width: calc((100% - 30px*4)/5);
        margin-right: 30px;
    }

    .flow__list__item:last-child {
        margin-right: 0;
    }

    .flow__list__item::after {
        clip-path: polygon(0 0, 0 100%, 50% 50%);
        top: calc(50% - 40px / 2);
        right: -50px;
        left: auto;
        bottom: auto;
    }
}

.contact .section__title {
    color: #fff;
    margin-bottom: 50px;
}

.contact .section__catch {
    font-size: 1.5rem;
    color: #fff;
    text-align: center;
}

.contact .section__description {
    margin-bottom: 50px;
    color: #E6E6E6;
    text-align: center;
}

.contact__form {
    max-width: 840px;
    margin: 0 auto;
}

@media (max-width: 767px) {
    .contact .section__title {
        margin-bottom: 40px;
    }
    
    .contact .section__catch {
        font-size: 1.25rem;
    }
}

.form-group {
    margin-bottom: 32px;
    display: flex;
}

label {
    display: block;
    font-size: 1.125rem;
    font-weight: 600;
    color: #E6E6E6;
    width: 25%;
}

.form-check label {
    width: 100%;
}

.required {
    color: #F05A5A;
    margin-left: 4px;
}

input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
    width: 100%;
    padding: 12px 16px;
    font-size: 1rem;
    border: 1px solid #ccc;
    background-color: rgba(230, 230, 230, .9);
    color: var(--color-secondary);
    flex: 1;
}

textarea {
    height: 150px;
    resize: vertical;
}

.form-check {
    display: flex;
    align-items: center;
    font-size: 14px;
    padding-left: 25%;
}

.form-check input {
    margin-right: 8px;
}

.form-check a {
    color: #E6E6E6;
    text-decoration: underline;
}

input[type="submit"] {
    width: 360px;
    padding: 14px;
    font-size: 1.25rem;
    background-color: var(--color-primary);
    border: none;
    color: var(--color-black);
    font-weight: 600;
    cursor: pointer;
    margin: 0 auto;
}

input[type="submit"]:hover {
    background-color: #F7E5A5;
}

.section#message {
    background-image: url("../image/message-sp.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.message_lead {
    font-size: 24px;
    text-align: center;
}

@media (max-width: 767px) {
    .form-group {
        flex-direction: column;
    }

    label {
        width: 100%;
        margin-bottom: 5px;
    }

    .form-check {
        flex-direction: row;
        padding-left: 0;
    }

    .form-check label {
        font-size: 14px;
    }

    textarea {
        min-height: 250px;
    }
}

.wpcf7-form-control-wrap {
    flex: 1;
}

.wpcf7-not-valid-tip {
    color: #F05A5A;
}

.wpcf7 form.sent .wpcf7-response-output {
    color: #fff;
}

@media (min-width: 768px) {
    .section#message {
        background-image: url("../image/message-pc.jpg");
    }
}