@charset "UTF-8";

@media screen and (max-width: 768px) {
body {
    font-size: 80%;
}
p {margin: 0;padding: 0;line-height: 2em;}

article + article,section + section {
    padding: 20px 0;
}
.wrapper {
    width: 96%;
    margin: 0 auto;
}
h2 {
    margin: 0 0 20px;
    font-size: 120%;
    line-height: 2rem;
}
h3 {
    font-size: 120%;
}
header .logo {
    width: 180px;
    max-width: 60%;
    margin: 10px auto 5px;
    float: none;
}
header .contact {
    width: 100%;
    display: block;
    margin: 15px 0 0;
}
header .contact .form a {
    width: 200px;
    margin: 5px auto;
    padding: 5px;
}
header .contact .tel {
    width: 80%;
    margin: 0 10%;
    font-size: 18px;
    text-align: center;
}
.menu.open {
    right: 0;
}
  /* ボタンのスタイル */
.hamburger {
    position: fixed;
    top: 15px;
    right: 20px;
    width: 25px;
}
.hamburger span {
    display: block;
    height: 2px;
    width: 100%;
    background-color: #333;
    margin: 6px 0;
    transition: 0.4s;
}
.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
    background-color: #fff;
}
.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -7px);
    background-color: #fff;
}

.main {
    width: 100%;
    height: 400px;
    position: relative;
    background-image: url(../images/bg_main.jpg);
    object-fit: contain;
}
.top_service {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: center;
}
.top_service li {
    width: 40%;
    margin: 20px 10px;
}

footer {
    padding: 30px 0;
}
footer .box_logo {
    width: 90%;
    float: none;
    margin: 20px 5% 30px;
}
footer .box_logo img {
    width: 100px;
    display: block;
    margin: 0 auto 20px;
}
footer .box_contact {
    width: 90%;
    display: block;
    float: none;
    margin: 40px 5% 20px;
}
footer .box_contact .box_tel,
footer .box_contact .box_form {
    width: 100%;
    margin: 15px auto;
    text-align: center;
}
footer .box_contact .box_tel h3,
footer .box_contact .box_form h3 {
    font-size: 90%;
    color: var(--main_color);
}
footer .box_contact .box_tel .tel {
    display: inline-block;
    font-size: 21px;
    line-height: 1em;
    margin-bottom: 10px;
}
footer .box_contact .box_tel .tel::before {
    width: 17px;
    height: 17px;
}
footer .box_contact .box_tel span {
    display: block;
    font-size: 82.5%;
    margin-bottom: 30px;
}
footer .box_contact .box_form .btn_form a {
    width: 80%;
    margin: 10px auto 20px;
}
footer .box_page {
    width: 90%;
    margin: 20px 5%;
    float: left;
}
footer .box_page li {
    width: 6.5em;
    float: left;
    margin-bottom: 10px;
    font-size: 13px;
    letter-spacing: 0.05em;
    text-align: center;
}
footer .box_page li::before {
    margin: -5px 5px 0 0;
}
footer .copy {
    margin: 5px auto;
    font-size: 12px;
    text-align: center;
}
.page_ttl {
    margin: 0 0 40px;
    padding: 30px 0 30px 20px;
}
.page_ttl h2 {
    font-size: 16px;
}

.service_item {
    width: 100%;
    margin: 50px auto 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.service_item li {
    width: 45%;
    margin: 0 2.5% 40px;
}
.service_item li:nth-child(2n) {
    margin: 20px auto 20px;
}
.service_item li:nth-child(1) img {width: 100%;}
.service_item li:nth-child(2) img {width: 100%;}
.service_item li:nth-child(3) img {width: 100%;}
.service_item li:nth-child(4) img {width: 100%;}
.service_item li:nth-child(5) img {width: 100%;}
.service_item li:nth-child(6) img {width: 100%;}
.service_item li:nth-child(7) img {width: 100%;}
.service_item li:nth-child(8) img {width: 100%;}
.service {
    width: 90%;
    max-width: 1200px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-around;
    margin: 30px auto;
    background: #EEFAEC;
    border-radius: 10px;
}
.service li {
    width: 90%;
    margin: 30px 5%;
}
.service li h3 {
    padding: 10px 20px;
    color: #fff;
    background: var(--main_color);
    border-radius: 20px;
}
.service li p {
    line-height: 2em;
}
.service .service_specific {
    width: 95%;
    margin: 10px 2.5% 50px;
}
.service .service_specific img {
    top: -45px;
    left: 90%;
    transform:translateX(-50%);
    width: 150px;
}
.service .service_specific h3 {
    width: 100%;
    margin-top: 50px;
    float: none;
    color: var(--main_color);
}
.service .service_specific .example {
    width: 100%;
}
.service .service_specific .example li {
    margin: 10px 0;
}
.price {
    width: 90%;
}
.price dt {
    width: 65%;
    margin: 10px 0 10px;
    padding-bottom: 5px;
    font-size: 100%;
    letter-spacing: 0.05em;
}
.price dd {
    width: 35%;
    margin: 5px 0 10px;
    font-size: 100%;
    letter-spacing: 0.05em;
}
.career {
    width: 95%;
}
.career dt {
    width: 100%;
}
.career dd {
    width: 100%;
    margin-bottom: 35px;
    padding: 1em 1em 1.5em 1em;
    line-height: 1.5em;
    border-bottom: 1px solid #999;
}

.company {
    width: 95%;
    margin: 10px 2.5%;
}
.company dt {
    width: 100%;
    margin: 15px 0 5px;
    padding: 0 15px 10px;
    color: var(--main_color);
    font-weight: 600;
    text-align-last: left;
    border-bottom: none;
}
.company dd {
    width: 100%;
    margin: 15px 0 25px;
    padding: 0 5px 20px 15px;
    border-bottom: 1px solid #ccc;
}

.partner li {
    width: 60%;
    margin: 0 20% 20px;
}
.textbox40 {
    width: 100%;
    float: none;
    padding: 5px;
}
.textbox60 {
    width: 100%;
    float: none;
    padding: 15px;
}
.imgbox40 {
    width: 80%;
    margin: 10px 10%;
}

.imgbox40 img {
    padding: 10px;
}
.text_2col {
    width: 100%;
    margin: 30px auto;
    display: flex;
    flex-wrap: wrap;
    justify-items: center;
}
.text_2col li {
    width: 90%;
    margin: 10px 5%;
}

.btn_arrow a {
    width: 300px;
    max-width: 90%;
}
.btn_arrow a::after {
    right: 20px;
    top: 50%;
}

}