#rabbit1 {
    position: relative;
    width: 100%;
    height: 100vh;
    background: url(images/photo15.jpg);
    background-size: cover;
    background-position: left;
    background-repeat: no-repeat;
}

#h1-wrapper {
    position: relative;
    width: 80%;
    max-width: 1160px;
    margin-left: auto;
    margin-right: auto;
    color: white;
}

#contact-en {
    font-size: 4.5rem;
    position: absolute;
    top: 250px;
    right: 60px;
}

#contact-jp {
    position: absolute;
    top: 360px;
    right: 0;
}

#logopc-wrapper {
    width: 90%;
    margin-left: auto;
    margin-right: auto;
}

#logopc {
    position: absolute;
    bottom: 74px;
}

@media screen and (min-width: 769px) {
    #logo-wrapper {
        display: none;
    }

    #logo {
        display: none;
    }
}

@media screen and (max-width: 768px) {
    #rabbit1 {
        height: 80vh;
    }

    #logopc-wrapper {
        display: none;
    }

    #logopc {
        display: none;
    }
}

@media screen and (max-width: 480px) {
    #rabbit1 {
        height: 40vh;
        background: url(images/photosm.jpg);
        background-size: cover;
        background-repeat: no-repeat;
    }

    #contact-en {
        font-size: 2.8rem;
        position: absolute;
        top: 130px;
        right: 25px;
    }

    #contact-jp {
        font-size: 1.4rem;
        position: absolute;
        top: 200px;
        right: 0;
    }
}

#rabbit1 nav {
    width: 100%;
    height: 90px;
    position: absolute;
    bottom: 0;
    background-color: rgb(255,
            255,
            255,
            0.5);
}

#rabbit1 ul {
    width: 70%;
    margin-left: auto;
    margin-right: auto;
    justify-content: space-between;
    display: flex;
    font-size: 16px;
}

#rabbit1 ul li {
    padding-top: 37px;
    padding-bottom: 37px;
    font-size: 1.1rem;
    font-weight: 500;
}

#rabbit1 ul li:hover {
    opacity: 0.5;
}

/*ここからスマホハンバーガー*/
@media screen and (max-width: 768px) {
    #headercolor {
        background-color: rgb(255, 248, 239, 1);
    }

    #logo-wrapper {
        margin-left: 0px;
        width: 120px;
        height: 70px;
    }

    #logo {
        position: absolute;
        width: 100px;
        height: 45px;
        top: 15px;
        left: 15px;
    }

    /* ナビを画面前面に固定オーバーレイ */
    #rabbit1 ul {
        text-align: center;
        display: block;
    }

    #rabbit1 ul li {
        padding-top: 20px;
        padding-bottom: 20px;
        border-bottom: 1px solid #ccc;
    }

    #rabbit1 ul li:last-child {
        border-bottom: none;
    }

    #rabbit1 nav {
        position: fixed;
        top: 0;
        right: 0;
        width: 100%;
        height: 50vh;
        background-color: rgb(255, 248, 239);
        box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
        display: none;
        z-index: 999;
        /* ハンバーガーより前面に */
    }

    #rabbit1 nav.open {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    #hamburger {
        top: 0;
        right: 0;
        background-color: transparent;
        cursor: pointer;
        height: 90px;
        width: 90px;
        /*高さと同じ幅*/
        border: none;
        position: fixed;
    }

    .icon {
        width: 50px;
        height: 50px;
        z-index: 9999;
    }

    .icon span {
        position: absolute;
        right: 30px;
        width: 30px;
        height: 1.5px;
        background-color: black;
        border-radius: 8px;
        transition: ease 0.75s;
        z-index: 9999;
    }

    .icon span:nth-of-type(1) {
        top: 25px;
    }

    .icon span:nth-of-type(2) {
        top: 35px;
    }

    .icon span:nth-of-type(3) {
        top: 45px;
    }

    .close span:nth-of-type(1) {
        transform: rotate(45deg);
        /*反時計回りに45度回転*/
        top: 30px;
    }

    .close span:nth-of-type(2) {
        opacity: 0;
    }

    .close span:nth-of-type(3) {
        transform: rotate(-45deg);
        /*時計回りに45度回転*/
        top: 30px;
    }
}

@media screen and (max-width: 480px) {
    #headercolor {
        background-color: rgb(255, 248, 239, 1);
    }

    #logo-wrapper {
        margin-left: 0px;
        width: 120px;
        height: 60px;
    }

    #logo {
        width: 100px;
        height: 45px;
        top: 10px;
        left: 15px;
    }

    .icon span:nth-of-type(1) {
        top: 20px;
    }

    .icon span:nth-of-type(2) {
        top: 30px;
    }

    .icon span:nth-of-type(3) {
        top: 40px;
    }

    .close span:nth-of-type(1) {
        transform: rotate(45deg);
        top: 30px;
    }

    .close span:nth-of-type(2) {
        opacity: 0;
    }

    .close span:nth-of-type(3) {
        transform: rotate(-45deg);
        top: 30px;
    }
}

/*ここまでスマホハンバーガー*/

#h2-hope {
    margin-top: 100px;
    margin-bottom: 50px;
    text-align: center;
}

#ul-hope {
    width: 70%;
    max-width: 1160px;
    margin-left: auto;
    margin-right: auto;
}

#ul-hope li:nth-of-type(2),
#ul-hope li:nth-of-type(3) {
    margin-top: 40px;
}


#ul-hope li {
    position: relative;
}

#ul-hope li::before,
#ul-hope li::after {
    position: absolute;
    content: '';
    border-radius: 100%
}


#ul-hope li::before {
    top: -5px;
    left: -20px;
    width: 18px;
    height: 18px;
    background-color: rgba(250,
            187,
            125, 0.8);
    z-index: 2;
}

#ul-hope li::after {
    top: -12px;
    left: -8px;
    width: 13px;
    height: 13px;
    background-color: rgba(250,
            187,
            125,
            0.4);
}

@media screen and (max-width: 768px) {
    #h2-hope {
        margin-top: 100px;
        margin-bottom: 50px;
    }

    #ul-hope {
        width: 80%;
    }
}

@media screen and (max-width: 480px) {
    #ul-hope li {
        font-size: 0.8rem;
    }
}


#h2-contact {
    text-align: center;
    margin-top: 130px;
    padding-top: 20px;
    padding-bottom: 20px;
    letter-spacing: 0.15em;
    background-color: rgba(255,
            248,
            239);
}


.box {
    width: 70%;
    max-width: 1160px;
    margin-left: auto;
    margin-right: auto;
    padding-top: 10%;
    padding-bottom: 2%;
}

@media screen and (max-width: 768px) {
    #h2-contact {
        margin-top: 100px;
    }
}









dl {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: left;
    margin: 0 auto;
    padding-bottom: 6%;
    padding-top: 4%;
    border-top: solid 2px #fbd6cd;
}

#otoiawase {
    border-bottom: solid 2px #fbd6cd;
}

/* inputの横幅を指定し、それにlabelを合わせる */
input {
    height: 30px;
    width: 500px;
}

/* labelをinputの左端に合わせる */
dt {
    width: 500px;
    text-align: left;
}

.span3 {
    margin-left: 20px;
    color: red;
}

dd {
    margin-top: 15px;
}

#otoiawasebox {
    height: 200px;
    width: 500px;
}

@media screen and (max-width: 768px) {
    .box {
        width: 90%;
        padding-top: 20%;
    }

    input,
    dt,
    #otoiawasebox {
        width: 380px;
    }
}

@media screen and (max-width: 480px) {
    .box {
        font-size: 0.8rem;
    }

    input,
    dt,
    #otoiawasebox {
        width: 280px;
    }

    #otoiawasebox {
        height: 150px;
    }
}





#submitwidth {
    text-align: center;
}

#submit {
    margin-top: 8%;
    margin-bottom: 10%;
    width: 200px;
    height: 50px;
    font-size: 1em;
    color: white;
    background-color: #fca590;
    border: none;
    border-radius: 8px;
    font-weight: bold;
}

@media screen and (max-width: 768px) {
    #submit {
        margin-top: 20%;
        width: 120px;
        height: 50px;
        font-size: 16px;
    }
}

#submit:hover {
    opacity: 0.6;
}