@charset "UTF-8";

* {
    box-sizing: border-box;
    font-family: 'Yu Mincho', serif;
}
body {
    width: 80%;
    margin-left: 8%;
    margin-right: 8%;
    background-color: #e2c8bb;
    color: #412b1c;
}
header {
    background-color: #f2de94;
    padding-bottom: 20px;
}
.boldline {
    border-top: 3px solid #1e1b11;
    margin-top: 10px;
}
h1 {
    text-align: center;
    font-size: 36px;
    color: #a90000;
}
h2 {
    text-align: center;
    font-size: 16px;
}
.nohgaki {
    display: flex;
    padding-top: 10px;
    padding-bottom: 10px;
}
.nohgaki p {
    margin-left: 5%;
}
.mid {
    width: 80%;
    margin: 0 auto;
}


.selectbox {
    display: flex;
    justify-content: center;
}
a {
    width: 30%;
    margin: 2%;
    text-decoration: none;
}
.box0 {
    width: 100%;
    height: 100px;
    border-radius: 10px;
    background-color: #edffb3;
    text-align: center;
}
.box0 p {
    line-height: 100px;
    font-size: 16px;
    font-weight: bold;
}
.box1 {
    width: 100%;
    height: 100px;
    border-radius: 10px;
    background-color: #edffb3;
    text-align: center;
}
.box1 p {
    line-height: 100px;
    font-size: 24px;
    font-weight: bold;
}
.footer {
    text-align: center;
    background-color: #f2de94;

}

.rmain {
    width: 80%;
    margin: 0 auto;
    padding-top: 20px;
    padding-bottom: 20px;
}
blockquote {
    margin-left: 20%;
}
.endmark {
    text-align: center;
}
footer {
    padding-top: 20px;
    text-align: right;
}

@media screen and (min-width: 700px) {
    .box0:hover, .box1:hover  {
        background-color: #658d25;
    }
}

@media screen and (max-width: 440px) {
    .nohgaki {
        display: block;
    }
    .nohgaki p {
        margin-left: 0;
    }
    .ttlimg {
        width: 80%;
    }
    img {
        width: 100%;
    }
    .mid {
        width: 100%;
    }
    .selectbox {
        display: block;
    }
    a {
        width: 90%;
    }
    .box0 p {
        font-size: 16px;
    }
    .box1 p {
        font-size: 16px;
    }
    .footer {
        font-size: 11px;
        padding-bottom: 50px;
    }
}