@charset "utf-8";

@media (max-width: 800px) {
    .user-brock {
        display: flex;
        flex-direction: column;
    }
    .user-brock li {
        padding: 0;
        margin-bottom: 10px;
    }
    .group-title {
        margin-top: 40px;
    }
    .group-set {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .group-pict {
        display: flex;
        flex-direction: column;
        width: auto;
        align-items: center;
        margin-bottom: 0;
    }
    .fist-child {
        padding-bottom: 0;
        width: 100%;
    }
    .contact {
        width: 500px;
        margin-top: 45px;
    }
    .form-area dt,
    .form-area dd {
        width: 200%;
        display: block;
    }
    .form-area dt {
        padding-bottom: 0;
    }
    .link-button {
        width: 100%;
    }
}


.main {
    margin-top: 115px;
    width: auto;
}
.main-title {
    width: 100%;
    margin: 20px 0;
    line-height: 85px;
    background: #4c9ac0;
    text-align: center;
}
.main-title h1 {
    font-size: 30px;
    color: aliceblue;
}
.section {
    border-bottom: 0.7px solid #4c9ac0;
}
.section  {
    font-size: 11px;
    display: flex;
    justify-content: flex-start;
    height: 45px;
}
.side-menu {
    display: inline-block;
}
.side-menu:not(:first-child)::before {
    content: "｜";
    transform: rotate(45deg);
}

/*タイトル・サブタイトル*/
.service {
    width: 930px;
    max-width: 90%;
    margin-top: 75px;
    margin-left: auto;
    margin-right: auto;
}
.title {
    justify-content: center;
}
.explanation-title h2, p{
    text-align: center;
    margin-top: 3rem;
}
.page-title {
    border-left: 1px solid;
    border-right: 1px solid;
    flex: 0 0 100%;
    max-width: 100%;
    text-align: center;
}
.heading-title {
    color: #4c9ac0;
    font-family: Ostrich Sans,sans-serif;
    font-size: 20px;
}
.sub-title {
    font-size: 32px;
}
/*サービス内容*/
.title {
    width: 930px;
    max-width: 90%;
    margin-top: 75px;
    margin-left: auto;
    margin-right: auto;
}
.service-box {
    margin: 80px auto 20px;
    padding: 50px 40px 40px 40px;
    border: 2px solid #4c9ac0;
}
.box-title {
    background-color: #4c9ac0;
    color: #fff;
    padding: 7px 2px;
    margin: -75px 0 0 0;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    font-size: 20px;
    font-weight: bold;
    text-align: center;
}
.box-title::after {
    content: '';
    position: absolute;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    border: 15px solid transparent;
    width: 0;
    height: 0;
    border-top-color: #4c9ac0;
}
.box1 li {
    list-style: disc;
    display: list-item;
    text-align: -webkit-match-parent;
    font-size: 22px;
    font-family: 'Montserrat' sans-serif;
}

/*ABOUT*/
.user-brock {
    display: flex;
    justify-content: center;
    margin-top: 80px;
    color: #4c9ac0;
    padding-inline-start: 0;
}
.about-title {
    justify-content: center;
    margin-top: 0;
    margin-bottom: 0;
    line-height: 1.5rem;
}
.group-title {
    text-align: center;
    margin-bottom: 15px;
    font-size: 16px;
    font-family: メイリオ;
    font-weight: bold;
}
.group-set {
    text-align: center;
}
.group-pict {
    justify-content: center;
    margin: 0 50px;
    margin-bottom: 20px;
}
.group-pict img{
    border-radius: 50%;
    border:1.5px solid;
    filter: invert(54%) sepia(78%) saturate(326%) hue-rotate(155deg) brightness(88%) contrast(86%);
}
.btn-sub {
    background-color: #4c9ac0;
    color: #fff;
    font-family: メイリオ;
    font-size: 1rem;
    border-radius: 3px;
    font-weight: 700;
    height: 1.5rem;
    padding: 0.4rem;
    transform: .4s;
    width: 8.25rem;
    text-align: center;
}
hr {
    border-color: #4c9ac0;
    margin: auto;
    text-align: center;
}
/*お問い合わせ*/
.contact {
    width: 930px;
    max-width: 90%;
    margin-top: 75px;
    margin-left: auto;
    margin-right: auto;
}

.contact p {
    font-size: 16px;
    margin-top: 20px;
    text-align: center;
}
.p-text {
    color: #b5b1b1;
    margin-left: 200px;
}
/*フォームの見た目*/
.form-area {
    background-color: #dff3f6;
    margin-top: 25px;
    padding: 40px;
    display: flex;
    flex-wrap: wrap;
}
.form-area dt {
    width: 200px;
    padding: 15px;
    font-size: 16px;
    font-weight: bold;
    line-height: 30px;
}
.form-area dd {
    width: 500px;
    padding: 15px 0;
}
.form-area dt .required::after {
    content: '必須';
    padding: 3px;
    font-size: 12px;
    border-radius: 5px;
    color: #fff;
    margin-left: 10px;
    border: 2px solid #eb4f32;
    background-color: #eb4f32;
}
.input-text {
    width: 100%;
    height: 40px;
    padding-left: 10px;
    padding-left: 10px;
}
.select-box {
    width: 100%;
    height: 40px;
    padding-left: 10px;
    padding-left: 10px;
}
.message {
    width: 100%;
    height: 260px;
    padding: 10px;
    line-height: 1.5;
}
.footer {
    margin-top: 100px;
}
/*リンクボタン*/
.link-button-area {
    display: flex;
    justify-content: center;
    margin: 0 auto;
    transition: all 0.2s ease;
}
.link-button-area:hover {
    border-color: transparent;
}
.link-button {
    align-items: center;
    display: inline-block;
    padding: 10px 30px;
    color: #333;
    border: 1px solid #ccc;
    text-decoration: none;
    outline: none;
    overflow: hidden;
}
.link-button :hover {
    color: #ccc;
    border-color: transparent;
    transition-delay: .6s;
}
.link-button span {
    display: block;
    z-index: 2;
}
.borderleft::before
.borderleft::after {
    content: '';
    width: 0;
    height: 1px;
    background: #333;
    transition: all .3s;
}
.link-button :hover::after {
    border-color: #FFF;
}
.borderleft span:before {
    left: 0;
    top: 0;
}
.borderleft span::after {
    left: 0;
    top: 0;
}
.borderleft:hover span::before
.borderleft:hover span::after {
    width: 100%;
}
.borderleft::before {
    left: 0;
    bottom: 0;
    z-index: -1;
    height: 100%;
    width: 0;
    background: #333;
    transition: all .3s;
}
.borderleft:hover::before {
    width: 100%;
    transition-delay: .4s;
}