@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@500;700&display=swap');
html {
    font-size: 62.5%;
}

body {
    color: #303030;
    font-family: 'Noto Serif JP', serif;
    font-weight: 500;
    line-height: 1.6;
    letter-spacing: 0.1em;
}

#header {
    background: linear-gradient(to right, #77FFC9, #E6FFDE);
}

.header-inner {
    height: max(47px, min(7.231vw, 94px));
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1300px;
    padding: 0 6.923vw;
    margin: 0 auto;
}

.logo {
    width: 21.923vw;
    height: 5.692vw;
    max-width: 285px;
    max-height: 74px;
    min-width: 100px;
}

.header-nav-list {
    display: flex;
}

.header-nav-list-item:not(:last-child) {
    margin-right: 2.462vw;
}

.header-nav-list-item a {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 1.231vw;
    font-size: max(1rem, min(1.231vw, 1.6rem));
    font-weight: 700;
    position: relative;
}

.header-nav-list-item a::after {
    position: absolute;
    content: '';
    width: 0;
    height: 1px;
    background-color: #009A76;
    display: block;
    left: 50%;
    transform: translateX(-50%);
    bottom: -16%;
    transition: .3s;
}

.header-nav-list-item a:hover::after {
    width: 2.462vw;
}

.header-nav-list-item a span {
    display: block;
    font-size: 0.769vw;
    letter-spacing: 0.12em;
}

.openbtn,
#g-nav {
    display: none;
}

.keyvisual {
    background: url('/assets/topKey.jpg') no-repeat center/cover;
    height: 55.385vw;
    max-height: 900px;
    position: relative;
}

.key-txt {
    font-size: max(1.2rem, min(2.462vw, 3.2rem));
    color: #ffffff;
    text-shadow: 4px 4px 20px rgba(0, 60, 255, 0.4);
    position: absolute;
    width: 68vw;
    max-width: 906px;
    bottom: 22%;
    left: 7%;
}

.main-txt {
    font-size: max(1.2rem, min(2.154vw, 2.8rem));
    display: table;
    margin: 0 auto;
    padding-top: 9.231vw;
    padding-bottom: 13.538vw;
}

.container {
    max-width: 960px;
    width: 73.846vw;
    min-width: 300px;
    margin: 0 auto;
}

.common-ttl {
    font-size: max(1.6rem, min(2.462vw, 3.2rem));
    font-weight: 700;
    margin-bottom: 4.923vw;
    position: relative;
    display: inline-block;
}

.common-ttl::after {
    position: absolute;
    content: '';
    width: 6.154vw;
    height: 0.154vw;
    background-color: #00AC5C;
    display: block;
    top: 50%;
    right: -7.692vw;
}

.top-service-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 18.462vw;
}

.top-service-list-item {
    width: calc((100% - 12.615vw) / 2);
    height: 24.923vw;
    min-width: 140px;
    min-height: 140px;
    border: 4px solid #009A76;
    box-shadow: 4px 4px 20px rgba(0, 0, 0, .16);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: .3s;
}

.top-service-list-item:not(:last-child) {
    margin-bottom: 4.923vw;
}

.top-service-list-item:hover {
    box-shadow: none;
}

.top-service-list-item a {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    width: 100%;
}

.top-service-list-txt {
    font-size: 1.538vw;
    font-size: max(1rem, min(1.538vw, 2rem));
    margin-bottom: 1.538vw;
    line-height: 2;
    text-align: center;
}

.top-service-list-img {
    width: 9.846vw;
    height: 9.846vw;
    margin: 0 auto;
}

#footer {
    background-color: #E1FFF6;
}

.footer-inner {
    padding-top: 4.923vw;
    padding-bottom: 1.846vw;
}

.footer-nav-list {
    display: flex;
    margin-bottom: 5.538vw;
}

.footer-nav-list-item:not(:last-child) {
    margin-right: 4.923vw;
    position: relative;
}

.footer-nav-list-item:not(:last-child)::after {
    content: '';
    position: absolute;
    width: 0.077vw;
    height: 1.846vw;
    background-color: #707070;
    display: block;
    right: -22%;
    top: 50%;
    transform: translateY(-50%);
}

.footer-nav-list-item a {
    font-size: max(1rem, min(1.231vw, 1.6rem));
    position: relative;
}

.footer-nav-list-item a::after {
    position: absolute;
    content: '';
    width: 0;
    height: 1px;
    background-color: #009A76;
    display: block;
    left: 50%;
    transform: translateX(-50%);
    bottom: -16%;
    transition: .3s;
}

.footer-nav-list-item a:hover::after {
    width: 2.462vw;
}

.footer-data {
    margin-bottom: 8.923vw;
}

.footer-data div {
    display: flex;
}

.footer-data dt,
.footer-data dd {
    font-size: max(1rem, min(1.846vw, 2.4rem));
}

.copyright {
    text-align: center;
    font-size: max(1rem, min(1.846vw, 1.4rem));
}


/*=======================================================================================

          SERVICE

=====================================================================================*/

.service-img {
    padding-top: 12vw;
    padding-bottom: 18.462vw;
    width: 24.615vw;
    margin: 0 auto;
}

.service-list {
    padding-bottom: 12.308vw;
}

.service-list-item {
    margin-bottom: 4.923vw;
}

.service-list-item-ttl {
    font-size: max(1.4rem, min(2.462vw, 3.2rem));
    position: relative;
    display: inline-block;
}

.service-list-item-ttl::before {
    content: '';
    display: block;
    width: calc(100% + 1.538vw);
    background: linear-gradient(to bottom, transparent 60%, #7AFFC1 60%);
    position: absolute;
    height: 100%;
    z-index: -1;
}

.service-list-item-txt,
.price-ttl,
.price-list-item,
.service-subttl,
.service-sub-list-item {
    font-size: max(1rem, min(1.846vw, 2.4rem));
    line-height: 2;
}


/*=======================================================================================

          about

=====================================================================================*/

.about-key {
    background: url(/assets/company.jpg) no-repeat center/cover;
}

.about-wrap {
    padding-top: 9.231vw;
    padding-bottom: 12.308vw;
}

.company {
    margin-bottom: 8.923vw;
}

.about-data div {
    display: flex;
}

.about-data dt,
.about-data dd,
.company-txt {
    font-size: max(1rem, min(1.846vw, 2.4rem));
}

.profile-icon {
    width: 30.769vw;
    max-width: 400px;
    margin: 0 auto 64px;
}

.profile-txt {
    margin-bottom: 3.077vw;
}

.profile-txt,
.profile-data-item,
.greeting {
    font-size: max(1rem, min(1.846vw, 2.4rem));
}


/*=======================================================================================

          contact

=====================================================================================*/

.contact-wrap {
    padding-top: 12.308vw;
    padding-bottom: 14.308vw;
}

.contact-txt {
    margin-bottom: 9.231vw;
    font-size: max(1rem, min(1.846vw, 2.4rem));
}

.contact-inner {
    border-right: 1px solid rgba(112, 112, 112, 0.2);
    margin-bottom: 2.462vw;
}

.contact-inner div {
    display: flex;
}

.contact-inner div:not(:first-child) dt {
    border-top: 1px solid rgba(112, 112, 112, 0.2);
}

.contact-inner div dt {
    width: 30.769vw;
    background-color: #B1FFE8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: max(1rem, min(1.538vw, 2rem));
    max-width: 400px;
}

.contact-inner div dd {
    width: 46.154vw;
    padding: 1.846vw;
    font-size: max(1rem, min(1.538vw, 2rem));
    border-top: 1px solid rgba(112, 112, 112, 0.2);
    max-width: 600px;
}

.contact-inner div:last-child dd {
    border-bottom: 1px solid rgba(112, 112, 112, 0.2);
}

.contact-inner .kind div {
    margin-bottom: 0.769vw;
    display: flex;
    align-items: center;
}

input,
textarea {
    border: 1px solid rgba(112, 112, 112, 0.2);
    resize: none;
    width: 100%;
}

textarea {
    height: 24.615vw;
    max-height: 320px;
}

input[type="radio"],
input[type="checkbox"] {
    appearance: auto;
    width: auto;
}

.confirm {
    font-size: max(1rem, min(1.538vw, 2rem));
    margin-bottom: 4.923vw;
}

input[type="submit"] {
    font-size: max(1rem, min(1.538vw, 2rem));
    width: 32.308vw;
    margin: 0 auto;
    height: 6.154vw;
    display: block;
    background-color: #FFE07D;
    border: none;
    box-shadow: 4px 4px 20px rgba(0, 0, 0, .16);
    max-width: 420px;
    max-height: 80px;
    min-width: 200px;
    /* デフォルトスタイルをリセット */
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}


/*=======================================================================================

          privacy

=====================================================================================*/

.privacy {
    padding-top: 12.308vw;
    padding-bottom: 14.308vw;
}

.privacy-txt {
    font-size: max(1rem, min(1.846vw, 2.4rem));
    letter-spacing: 0.1em;
}


/*=======================================================================================

          menseki

=====================================================================================*/

.menseki {
    padding-top: 12.308vw;
    padding-bottom: 14.308vw;
}

.menseki-txt {
    font-size: max(1rem, min(1.846vw, 2.4rem));
    letter-spacing: 0.1em;
}


/*=======================================================================================

          thanks

=====================================================================================*/

.thanks-img {
    padding-top: 12vw;
    padding-bottom: 18.462vw;
    width: 24.615vw;
    margin: 0 auto;
}

.thanks-container {
    padding-top: 12.308vw;
    padding-bottom: 14.308vw;
    min-height: 100vh;
}

.thanks-txt {
    font-size: max(1rem, min(1.846vw, 2.4rem));
    letter-spacing: 0.1em;
}


/*=======================================================================================

          ブラウザ幅1300px以上

=====================================================================================*/

@media screen and (min-width:1300px) {
    .header-nav-list-item:not(:last-child) {
        margin-right: 32px;
    }
    .header-nav-list-item a:hover::after {
        width: 32px;
    }
    .header-nav-list-item a span {
        font-size: 1rem;
    }
    .main-txt {
        padding-top: 120px;
        padding-bottom: 176px;
    }
    .common-ttl {
        margin-bottom: 64px;
    }
    .common-ttl::after {
        width: 80px;
        height: 2px;
        right: -100px;
    }
    .top-service-list {
        margin-bottom: 240px;
    }
    .top-service-list-item {
        width: calc((100% - 164px) / 2);
        height: 324px;
        border: 4px solid #009A76;
        box-shadow: 4px 4px 20px rgba(0, 0, 0, .16);
    }
    .top-service-list-item:not(:last-child) {
        margin-bottom: 64px;
    }
    .top-service-list-txt {
        margin-bottom: 20px;
    }
    .top-service-list-img {
        width: 128px;
        height: 128px;
    }
    .footer-inner {
        padding-top: 64px;
        padding-bottom: 24px;
    }
    .footer-nav-list {
        margin-bottom: 72px;
    }
    .footer-nav-list-item:not(:last-child) {
        margin-right: 64px;
    }
    .footer-nav-list-item:not(:last-child)::after {
        width: 1px;
        height: 24px;
    }
    .footer-nav-list-item a:hover::after {
        width: 32px;
    }
    .footer-data {
        margin-bottom: 116px;
    }
    /*=======================================================================================

          SERVICE

=====================================================================================*/
    .service-img {
        padding-top: 156px;
        padding-bottom: 240px;
        width: 320px;
    }
    .service-list {
        padding-bottom: 160px;
    }
    .service-list-item {
        margin-bottom: 64px;
    }
    .service-list-item-ttl::before {
        width: calc(100% + 20px);
    }
    /*=======================================================================================

          about

=====================================================================================*/
    .about-wrap {
        padding-top: 120px;
        padding-bottom: 160px;
    }
    .company {
        margin-bottom: 116px;
    }
    .profile-icon {
        margin: 0 auto 64px;
    }
    .profile-txt {
        margin-bottom: 40px;
    }
    /*=======================================================================================

          contact

=====================================================================================*/
    .contact-wrap {
        padding-top: 160px;
        padding-bottom: 186px;
    }
    .contact-txt {
        margin-bottom: 120px;
    }
    .contact-inner {
        margin-bottom: 32px;
    }
    .contact-inner div dd {
        padding: 24px;
    }
    .contact-inner .kind div {
        margin-bottom: 10px;
    }
    .confirm {
        margin-bottom: 64px;
    }
    /*=======================================================================================

          privacy

=====================================================================================*/
    .privacy {
        padding-top: 160px;
        padding-bottom: 186px;
    }
    /*=======================================================================================

          menseki

=====================================================================================*/
    .menseki {
        padding-top: 160px;
        padding-bottom: 186px;
    }
    /*=======================================================================================

          thanks

=====================================================================================*/
    .thanks-img {
        padding-top: 156px;
        padding-bottom: 240px;
        width: 320px;
    }
    .thanks-container {
        padding-top: 160px;
        padding-bottom: 186px;
    }
}

@media screen and (max-width:767px) {
    .header-nav {
        display: none;
    }
    /*========= ナビゲーションのためのCSS ===============*/
    #g-nav {
        display: block;
        /*position:fixed;にし、z-indexの数値を大きくして前面へ*/
        position: fixed;
        z-index: 999;
        /*ナビのスタート位置と形状*/
        top: 0;
        right: -120%;
        width: 100%;
        height: 100vh;
        /*ナビの高さ*/
        background: linear-gradient(to right, #77FFC9, #E6FFDE);
        /*動き*/
        transition: all 0.6s;
    }
    /*アクティブクラスがついたら位置を0に*/
    #g-nav.panelactive {
        right: 0;
    }
    /*ナビゲーションの縦スクロール*/
    #g-nav.panelactive #g-nav-list {
        /*ナビの数が増えた場合縦スクロール*/
        position: fixed;
        z-index: 999;
        width: 100%;
        height: 100vh;
        /*表示する高さ*/
        overflow: auto;
        -webkit-overflow-scrolling: touch;
    }
    /*ナビゲーション*/
    #g-nav ul {
        /*ナビゲーション天地中央揃え*/
        position: absolute;
        z-index: 999;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }
    /*リストのレイアウト設定*/
    #g-nav li {
        list-style: none;
        text-align: center;
    }
    #g-nav li a {
        color: #333;
        text-decoration: none;
        padding: 10px;
        display: block;
        text-transform: uppercase;
        letter-spacing: 0.1em;
        font-weight: bold;
    }
    #g-nav li a span {
        display: block;
    }
    /*========= ボタンのためのCSS ===============*/
    .openbtn {
        display: block;
        position: fixed;
        z-index: 9999;
        /*ボタンを最前面に*/
        top: 0;
        right: 10px;
        cursor: pointer;
        width: 50px;
        height: 50px;
    }
    /*×に変化*/
    .openbtn span {
        display: inline-block;
        transition: all .4s;
        position: absolute;
        left: 14px;
        height: 3px;
        border-radius: 2px;
        background-color: #009A76;
        width: 45%;
    }
    .openbtn span:nth-of-type(1) {
        top: 15px;
    }
    .openbtn span:nth-of-type(2) {
        top: 23px;
    }
    .openbtn span:nth-of-type(3) {
        top: 31px;
    }
    .openbtn.active span:nth-of-type(1) {
        top: 18px;
        left: 18px;
        transform: translateY(6px) rotate(-45deg);
        width: 30%;
    }
    .openbtn.active span:nth-of-type(2) {
        opacity: 0;
    }
    .openbtn.active span:nth-of-type(3) {
        top: 30px;
        left: 18px;
        transform: translateY(-6px) rotate(45deg);
        width: 30%;
    }
    .key-txt {
        width: 90vw;
    }
    .contact-inner {
        border-left: 1px solid rgba(112, 112, 112, 0.2);
    }
    .contact-inner div {
        flex-wrap: wrap;
    }
    .contact-inner div dt,
    .contact-inner div dd {
        width: 100%;
    }
}