@charset "UTF-8";

@font-face {
    font-family: "Koz Min Pr6 N";
    src: url(../fonts/pr6n-r-2.woff2) format('woff2'),
        url(../fonts/pr6n-b-2.woff2) format('woff2');
}

.Gothic {
    font-family: "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic", sans-serif;
}

.Mincho {
    font-family: "游明朝体", YuMincho, "游明朝", "Yu Mincho", sans-serif;
}

* {
    box-sizing: border-box;
    scroll-behavior: smooth;
}

html {
    margin: 0 auto;
    font-family: "Koz Min Pr6 N", "游明朝体", YuMincho, "游明朝", "Yu Mincho", serif, sans-serif;
    /* width 1200px の時 1rem = 1px */
    font-size: calc(1vw/12);
}

body {
    max-width: 1920px;
}

.sp {
    display: none;
}

.pc {
    display: none;
}

/* width 1200px以上 */
@media screen and (min-width: 1200px) {
    html {
        font-size: 1px;
    }
}

/* width 395px以上 */
@media screen and (min-width: 395px) {
    .pc {
        display: block;
    }
}

/* width 394px以下 */
@media screen and (max-width: 394px) {
    .sp {
        display: block;
    }

    html {
        font-size: 1px;
    }
}

/* width 1200px以下 */
@media screen and (max-width: 1200px) {
    main>div {
        padding-left: 15px;
        padding-right: 15px;
    }
}

header {
    width: 100%;
    background-color: transparent;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999;
}

.headerscroll {
    opacity: 0.8;
    background-color: #636363;
}

header ul {
    display: flex;
    list-style: none;
    padding-right: 5rem;
}

header li {
    margin-left: 20px;
    margin-right: 20px;
}

li a {
    font-size: 25rem;
    text-decoration: none;
    color: #ffffff;
}

header nav {
    margin-left: auto;
}

.spmenu img {
    width: 60px;
    height: 60px;
    margin-right: 15px;
}

header li a:hover {
    border-bottom: 2px solid #ffffff;
}

.anchor {
    padding-top: 80px;
    margin-top: -80px;
}

.anchor2 {
    padding-top: 30px;
    margin-top: -30px;
}

h1 img {
    margin-top: 15%;
    margin-left: 40%;
    height: auto;
    width: 5.5vw;
}

main {
    width: 100%;
    background-image: url(../images/bg.png);
    background-size: cover;
}

main>div {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
}

.contactmain {
    background-image: none;
}

.contactmain>form {
    max-width: 931px;
    width: 100%;
    margin: 0 auto;
    padding: 0 15px;
}

footer {
    position: absolute;
    width: 100%;
    display: flex;
    color: #ffffff;
}

.copy {
    font-size: 20rem;
    position: absolute;
    bottom: 4px;
    right: 50%;
}

footer .footer1,
footer .footer2 {
    width: 50%;
    height: 21.5vw;
}

footer ul {
    list-style: none;
}

footer li {
    margin-top: 2rem;
}

footer li a {
    font-size: 18rem;
}

footer .footer1 {
    background-image: url(../images/bottom1.png);
    background-size: contain;
    padding-top: 2%;
    padding-left: 3%;
}

footer .footer1 img {
    width: 5.5vw;
}


footer .footer2 {
    background-image: url(../images/bottom2.png);
    background-size: contain;
    padding-top: 3%;
    padding-left: 3%;
}

footer .txt01 {
    font-family: "PT Serif", serif;
    font-size: 30rem;
    color: #ffffff;
    font-weight: 400;
    font-family: "PT Serif";
}

footer .txt02 {
    font-size: 20rem;
    color: #ffffff;
    font-weight: 400;
    border-bottom: 1px solid #ffffff;
    width: 40%;
    margin-bottom: 2%;
}

footer .txt03 {
    font-size: 15rem;
    color: #ffffff;
    font-weight: 400;
}

footer .txt04,
footer .txt04:hover,
footer .txt04:visited {
    font-family: "PT Serif", serif;
    text-decoration: none;
    color: #ffffff;
}

.slider img {
    width: 100%;
    height: auto;
}

.slider div {
    width: 100%;
}

.aboutus,
.ourservice,
.overview {
    max-width: 1200px;
    margin: 0 auto;
    justify-content: center;
}

.aboutus {
    display: flex;
    padding-top: 8%;
}

.w100 {
    width: 100%;
}

.flex2 {
    flex: 2;
}

.flex3 {
    flex: 3;
}

.flex4 {
    flex: 4;
}

.flex5 {
    flex: 5;
}

.flex6 {
    flex: 6;
}

.aboutus>div:last-child {
    margin-top: 3%;
    margin-left: 2%;
}

.aboutus h2 {
    font-size: 30rem;
    font-weight: bold;
}

.aboutus .txt01 {
    width: 90%;
    font-size: 20rem;
    font-weight: bold;
    border-bottom: 1px solid #707070;
}

.aboutus .txt02 {
    margin-top: 0.5em;
    font-size: 40rem;
    font-weight: bold;
}

.aboutus .txt03 {
    font-family: "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic", sans-serif;
    font-size: 25rem;
    margin-top: 3%;
    margin-left: 3%;
}

.ourservice {
    padding-top: 3%;
}

.ourservice .txt01,
.overview .txt01 {
    font-size: 60rem;
    font-weight: bold;
}

.ourservice .txt02,
.overview .txt02 {
    font-size: 40rem;
    font-weight: bold;
    border-bottom: 2px solid #707070;
    margin-bottom: 3%;
    padding-bottom: 1%;
}

.ourservice .txt03 {
    border-left: 5px solid #a7a7a7;
    font-size: 25rem;
    color: #1d1d1d;
    font-weight: bold;
    padding-left: 1em;
    margin-top: 1em;
    margin-bottom: 1em;
}

.ourservice .txt04 {
    font-size: 15rem;
    color: #1d1d1d;
    font-weight: bold;
    background-color: #f0f0f0;
    padding: 1em;
    padding-bottom: 3em;
}

.ourservice .txt05::after {
    content: url(../images/arrow.png);
    padding-left: 10rem;
}

.ourservice .txt05 {
    width: 60%;
    font-size: 20rem;
    color: #1d1d1d;
    font-weight: bold;
    text-align: center;
    margin-top: 2em;
    margin-left: auto;
    margin-right: auto;
    padding: 1em;
    border-radius: 50px;
    border: 1.5px solid #1d1d1d;
}

.ourservice a {
    color: #1d1d1d;
    text-decoration: none;
}

.servicelist {
    display: flex;
    gap: 8.0%;
}

.servicelist>div {
    flex: 33.3%;
}

.imgbox {
    text-align: center;
}

.imgbox img {
    width: 100%;
}

.overview {
    padding-top: 5%;
    padding-bottom: 5%;
}

.overview table {
    padding-top: 10rem;
    padding-bottom: 80rem;
    width: 100%;
    background-color: #f0f0f0;
}

.overview th,
.overview td {
    font-size: 20rem;
    padding-top: 2.5em;
}

.overview th {
    width: 33%;
    text-align: center;
    padding-left: 3%;
}

.overview th div {
    padding: 0.5em;
    width: 6em;
    background-color: #ffffff;
    margin: 0 auto;
}

.overview td>div {
    width: 80%;
    border-bottom: 1px solid #d8d8d8;
}

.btn_contactus {
    font-size: 20rem;
    width: 50%;
    background-color: #dddddd;
    text-align: center;
    line-height: 2.5;
    margin-top: 2%;
}

.contact {
    max-width: 1200px;
    margin: 0 auto;
    justify-content: center;
    font-size: 30rem;
    color: #1d1d1d;
    font-weight: bold;
}

.contact input,
.contact textarea {
    width: 100%;
    border-style: solid;
    border-color: #1d1d1d;
}

.result input,
.result textarea {
    background-color: #a7a7a7;
    border: none;
}

.contact div {
    margin-top: 2em;
}

.contact input,
.contact textarea {
    margin-top: 1.5em;
}

.center {
    text-align: center;
    margin-top: 2em;
    margin-bottom: 3em;
}

.contact button {
    color: #f0f0f0;
    font-size: 35rem;
    font-weight: bold;
    border-radius: 56px;
    background-color: #787878;
    width: 75%;
    padding-top: 1em;
    padding-bottom: 1em;
}

#menu {
    display: none;
    width: 100%;
    height: 90vh;
    top: 0;
    position: fixed;
    z-index: 1000;
    background-color: #ffffff;
}

#menu ul {
    display: inline;
}

#menu li {
    padding-top: 15px;
    padding-bottom: 15px;
    padding-left: 15px;
    border-bottom: 1px solid #1d1d1d;
}

#menu li a {
    color: #1d1d1d;
    display: block;
}

#menu .menuheader {
    width: 100%;
    background-color: transparent;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #636363;
    padding-bottom: 15px;
}

.spclose img {
    width: 40px;
    height: 40px;
    margin-right: 15px;
}

.tel {
    text-decoration: none;
    color: #000000;
}

/* width 394px以下 */
@media screen and (max-width: 394px) {

    h1 img {
        width: 60px;
    }

    .aboutus h2 {
        font-size: 15px;
    }

    .aboutus .txt01 {
        font-size: 8px;
    }

    .aboutus .txt02 {
        font-size: 12px;
    }

    .aboutus .txt03 {
        font-size: 9px;
    }

    .ourservice .txt01,
    .overview .txt01 {
        font-size: 20px;
    }

    .ourservice .txt02,
    .overview .txt02 {
        font-size: 15px;
        margin-bottom: 10%;
    }

    .overview {
        padding-top: 7%;
        padding-bottom: 10%;
    }

    .ourservice .txt03 {
        font-size: 13px;
        margin-top: 4px;
        margin-bottom: 5px;
    }

    .ourservice .txt04 {
        font-size: 8px;
        padding-bottom: 20px;
    }

    .ourservice .txt05 {
        width: 90%;
        font-size: 10px;
    }

    .overview th,
    .overview td {
        font-size: 8px;
    }

    .overview th {
        width: 25%;
    }

    .overview table {
        padding-top: 0;
        padding-bottom: 20rem;
    }

    footer {
        flex-flow: column-reverse;
    }

    footer .footer1,
    footer .footer2 {
        width: 100%;
        height: calc(100vw * 408/960);
    }

    footer .footer2 {
        background-size: cover;
    }

    footer .txt01 {
        font-size: 24px;
    }

    footer .txt02 {
        font-size: 11px;
    }

    footer .txt03 {
        font-size: 10px;
    }

    .btn_contactus {
        font-size: 10px;
        width: 35%;
        text-align: center;
        margin-left: 60%;
    }

    footer .footer1 img {
        width: 46px;
    }

    footer li a {
        font-size: 14px;
        margin-left: 14px;
    }

    .copy {
        font-size: 8px;
        position: absolute;
        bottom: 4px;
        right: 0;
    }

    .servicelist {
        display: block;
        /*gap: 8.0%;*/
    }

    .spflex {
        display: flex;
        gap: 10px;
        margin-bottom: 30px;
    }

    .contact {
        font-size: 15px;
        padding-left: 20px;
        padding-right: 20px;
    }

    .contact button {
        font-size: 15px;
        width: 85%;
    }

    .contact input,
    .contact textarea {
        margin-top: 0.5em;
    }

    footer .footer1 {
        background-image: url(../images/spbottom1.png);
        height: calc(100vw* 279 / 393);
    }

    footer li {
        margin-top: 10px;
    }
}