@charset "UTF-8"; 

html,
body {
    border: none;
    margin: 0;
    padding: 0;
}
body {
    font-family: 'Noto Sans JP', Roboto , sans-serif;
    color: #333;
    font-size: 1rem;
}
svg,
img,
embed,
object {
    display: block;
    height: auto;
    max-width: 100%;
}
.container {
    background-color: #F5EBEB;
    padding: 2em 1em;
}
.ok-wrap {
    min-height: 100vh;
}
.request {
    max-width: 1000px;
    margin: 0 auto;
    padding: 1em 2em 2em;
    background-color: #fff;
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
    -webkit-box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
    border-radius: 20px;
}
h1 {
    position: relative;
    border-bottom: 3px solid #ccc;
    padding-bottom: 0.3em;
    letter-spacing: 0.1em;
    margin-bottom: 0.5em;
    font-size: 2rem;
    font-weight: normal;
}
h1:before {
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 10%;
    height: 6px;
    content: "";
    background: #A50000;
}
span.red,
.point_color {
    color: #A50000;
}
span.red {
    font-weight: bold;
}
.form_list {
    border-bottom: 2px dashed #ccc;
    padding: 1em 0;
}
.form_list:last-of-type {
    border-bottom: none;
    padding: 1em 0 0;
}
.message textarea{
    width: 100%;
}
.kakunin {
    text-align: center;
}

.input-area {
    display: flex;
    align-items: center;
}
.input-area p:first-of-type,
p.school {
    margin-right: 1em;
}
.kakunin ul {
    list-style: none;
    display: flex;
    justify-content: center;
    padding-left: 0;
    margin-top: 2em;
}
.kakunin ul li {
    margin: 0 1em;
}
p.txt {
    color: #A50000;
    font-size: 1.2rem;
}
.thanks p a {
    color: #333;
    text-decoration: underline;
}
.thanks p a:hover {
    color: #A50000;
    text-decoration: none;
}

@media screen and (max-width:768px) {
input.mail {
    width: 100%;
}
}

@media screen and (max-width:600px) {
h1 {
    font-size: 1.7rem;
}
.request {
    padding: 1em 1em 2em;
}
.input-area {
    flex-wrap: wrap;
}
.add-num {
    width: 40%;
}
button, input {
    width: 100%;
}
.input-area p input {
    width: 91%;
}
.tel {
    display: flex;
}
.form_right .input-area {
    display: block;
}
p.user {
    margin-bottom: 0;
}
p.user input {
    display: inline-block;
    width: auto;
    margin-right: 0.3em;
}
p.school {
    margin-right: 0;
    margin-bottom: 0;
}
.kakunin input {
    width: auto;
}
.kakunin ul {
    flex-wrap: wrap;
}
.kakunin ul li:first-child {
    margin-bottom: 1em;
}
}