@charset "utf-8";

@media (max-width: 800px) {
    .first-view {
        height: calc(100vh - 50px);
    }
    .map
    .contact {
        width: 500px;
        margin-top: 45px;
    }
    .link-button {
        width: 100%;
    }
    .form-area dt,
    .form-area dd {
        width: 200%;
        display: block;
    }
    .form-area dt {
        padding-bottom: 0;
    }
    /*開発チーム*/
    .section-sub.reverse {
        flex-direction: column;
        align-items: center;
    }
    .section-sub {
        flex-direction: column;
        align-items: center;
    }
    .section-pict {
        width: 100%;
        text-align: center;
    }
    .section-text {
        text-align: center;
    }
}
/*共通スペース*/
.section-sub-space {
    height: 60px;
}
/*トップ画像*/
.first-view {
    height: 600px;
    background-image: url(../img/main.jpg);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: 7rem;
}
.first-view-text {
    width: 100%;
    max-width: 1200px;
    height:60px;
    display: flex;
    flex-direction: column;
    text-align: center;
    font-weight: bold;
    text-shadow: 1px 1px 10px #727171;
}
.first-view-text h1 {
    font-family: 'Montserrat' , sans-serif;
    font-size: 56px;
    line-height: 72px;
}
.first-view-text p {
    font-size: 18px;
    margin-top: 10px;
}

/*開発チーム*/
.section {
    width: 930px;
    max-width: 90%;
    margin-top: 75px;
    margin-left: auto;
    margin-right: auto;
}
.section-sub {
    display: flex;
    justify-content: center;
    width: 100%;
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 10px;
    gap: 2rem;
}
.section-pict {
    height: 100%;
    width: auto;
}
.section-pict img {
    width: 460px;
}
.section-text {
    max-width: 500px;
}
.reverse {
    flex-direction: row-reverse;
}
.section-text h2 {
    font-size: 24px;
    font-weight: bold;
    line-height: 30px;
}
.section-text p {
    font-size: 15px;
    line-height: 20px;
    margin-top: 20px;
}
/*サービス内容*/
.service {
        width: 930px;
        max-width: 90%;
        margin-top: 75px;
        margin-left: auto;
        margin-right: auto;
}
.title {
    justify-content: center;
}
.explanation-title h2 {
    text-align: center;
    margin-top: 3rem;
}
.explanation-title p {
    text-align: center;
}
.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;
}
.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;
}

/*リンクボタン*/
.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;
}
/*会社情報*/
.company {
        width: 930px;
        max-width: 90%;
        margin-top: 75px;
        margin-left: auto;
        margin-right: auto;
}
.table {
    border-collapse: collapse;
    margin-left: auto;
    margin-right: auto;
}
.table th, .table td {
    border-bottom: solid 1px #b5b1b1;
    padding: 24px 0;
    width: 50%;
}

.map {
    width: 930px;
    max-width: 90%;
    margin-top: 20px;
    margin-left: auto;
    margin-right: auto;
}
.map iframe {
    display: block;
    width: 100%;
    height: 320px;
    margin-top: 25px;
}
/*お問い合わせ*/
.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;
}