/*
html5doctor.com Reset Stylesheet
v1.6.1
Last Updated: 2010-09-17
Author: Richard Clark - http://richclarkdesign.com
Twitter: @rich_clark
*/
*, *::before, *::after {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
    font-weight: inherit;
}

html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, abbr, address, cite, code, del, dfn, em, img, ins, kbd, q, samp, small, strong, sub, sup, var, b, i, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, figcaption, figure, footer, header, hgroup, menu, nav, section, summary, time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    font-size: 100%;
    vertical-align: baseline;
    background: transparent;
}

body {
    line-height: 1;
}

main, article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
    display: block;
}

nav ul {
    list-style: none;
}

blockquote, q {
    quotes: none;
}

blockquote:before, blockquote:after, q:before, q:after {
    content: '';
    content: none;
}

a {
    margin: 0;
    padding: 0;
    font-size: 100%;
    vertical-align: baseline;
    background: transparent;
}

/* change colours to suit your needs */
ins {
    background-color: #ff9;
    color: #000;
    text-decoration: none;
}

/* change colours to suit your needs */
mark {
    background-color: #ff9;
    color: #000;
    font-style: italic;
    font-weight: bold;
}

del {
    text-decoration: line-through;
}

abbr[title], dfn[title] {
    border-bottom: 1px dotted;
    cursor: help;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

/* change border colour to suit your needs */
hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #cccccc;
    margin: 1em 0;
    padding: 0;
}

input, select {
    vertical-align: middle;
}

body {
    font-family: "Noto Sans JP", "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif;
    color: #393736;
    font-weight: 700;
}

main {
    min-height: 100vh;
    padding-top: 51px;
}

@media screen and (min-width: 768px) {
    main {
        padding-top: 90px;
    }
}

img {
    width: 100%;
}

@media screen and (min-width: 992px) {
    [href*='tel:'] {
        pointer-events: none;
    }
}

a:focus, button:focus {
    outline: #CBCBCB auto 1px;
}

.inner {
    width: 84%;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.innerB {
    width: 92%;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-ttl {
    font-size: 1.625rem;
    letter-spacing: 0.15em;
    text-align: center;
    color: #033490;
    margin-bottom: 2.2em;
}

.page-ttl__body {
    padding-bottom: .2em;
    border-bottom: 1px solid #033490;
}

.sub-ttlA {
    font-size: 2.4em;
    letter-spacing: 0.15em;
    text-align: center;
}

@media screen and (min-width: 576px) {
    .sub-ttlA {
        font-size: 3.6em;
    }
}

.text-styleA {
    font-size: 1.4em;
    font-weight: 700;
    line-height: 2.14286;
    letter-spacing: 0.05em;
    text-align: center;
}

@media screen and (min-width: 768px) {
    .text-styleA {
        font-size: 1.6em;
        line-height: 2;
    }
}

.text-styleB {
    font-size: 1.4em;
    line-height: 2.28571;
    font-weight: 500;
    color: #393736;
}

.header {
    font-size: 0.625rem;
    width: 100%;
    background: #fff;
    -webkit-box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.16);
    box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.16);
    padding: 1.25em 0;
    position: fixed;
    top: 0;
    z-index: 999;
}

@media screen and (min-width: 768px) {
    .header {
        padding: 2.5em 0;
    }
}

.header__inner {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
}

.header__ttl {
    max-width: 11.5em;
    width: 100%;
}

@media screen and (min-width: 768px) {
    .header__ttl {
        max-width: 17.5em;
    }
}

.header__button {
    max-width: 12em;
    width: 100%;
}

@media screen and (min-width: 768px) {
    .header__button {
        max-width: 17em;
    }
}

.header__link {
    display: block;
    font-size: 1.2em;
    letter-spacing: 0.05em;
    color: #033490;
    padding: 0.5em 0;
    text-decoration: none;
    border-radius: 100px;
    border: 1px solid #033490;
    text-align: center;
    -webkit-transition: color .3s, background-color .3s;
    transition: color .3s, background-color .3s;
}

@media screen and (min-width: 768px) {
    .header__link {
        font-size: 1.5em;
        padding: 0.6666em 0;
    }
}

.header__link:hover {
    color: #fff;
    background: #033490;
    -webkit-transition: color .3s, background-color .3s;
    transition: color .3s, background-color .3s;
}

.footer {
    font-size: 0.625rem;
    background: #000;
    padding: 5em 0 1em;
}

@media screen and (min-width: 768px) {
    .footer {
        padding: 3.5em 0 3em;
    }
}

@media screen and (min-width: 768px) and (max-width: 889px) {
    .footer {
        font-size: 0.53125rem;
    }
}

@media screen and (min-width: 768px) {
    .footer__inner {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-pack: start;
        -ms-flex-pack: start;
        justify-content: flex-start;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
    }
}

.footer__logo-link {
    display: block;
    max-width: 111px;
    margin-left: auto;
    margin-right: auto;
}

.footer__nav {
    margin-top: 3.5em;
}

@media screen and (min-width: 768px) {
    .footer__nav {
        margin-top: 0;
        margin-left: 6.81818%;
    }
}

@media screen and (min-width: 768px) {
    .footer__list {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-pack: justify;
        -ms-flex-pack: justify;
        justify-content: space-between;
        -webkit-box-flex: 1;
        -ms-flex-positive: 1;
        flex-grow: 1;
    }
}

.footer__list-item+.footer__list-item {
    margin-top: 2em;
}

@media screen and (min-width: 768px) {
    .footer__list-item+.footer__list-item {
        margin-top: 0;
        margin-left: 2.5em;
    }
}

.footer__link {
    display: block;
    color: #fff;
    opacity: 0.7;
    text-decoration: none;
    text-align: center;
    -webkit-transition: opacity .3s;
    transition: opacity .3s;
    font-size: 1.4em;
    letter-spacing: 0.05em;
}

.footer__link:hover {
    opacity: 1;
    -webkit-transition: opacity .3s;
    transition: opacity .3s;
}

.footer__copy {
    color: #fff;
    opacity: 0.7;
    font-size: 1.1em;
    text-align: center;
    margin-top: 4em;
}

@media screen and (min-width: 768px) {
    .footer__copy {
        margin-top: 0;
        margin-left: auto;
        font-size: 1.3em;
    }
}

.terms-page {
    font-size: 0.625rem;
    padding: 9em 0;
}

.company-page {
    font-size: 0.625rem;
    padding: 9em 0;
}

.logo-wrap {
    max-width: 10em;
    margin-left: auto;
    margin-right: auto;
}

.privacypolicy-page {
    font-size: 0.625rem;
    padding: 9em 0;
}

.sub-ttlB {
    font-weight: 700;
}

.sub-sectionB {
    font-size: 1.4em;
    line-height: 2.28571;
    font-weight: 500;
    color: #393736;
    list-style-position: inside;
    margin-top: 1.5em;
}

.sub-sectionB ul:not(class) {
    padding-left: 1em;
}

.inner-list {
    list-style: none;
    text-indent: 2em;
}

.overview-list {
    font-size: 0.625rem;
    margin-top: 7.5em;
}

.overview-list__item {
    font-size: 1.5em;
    letter-spacing: 0.05em;
    color: #504E4E;
    border-top: 1px solid #d1d1d1;
    padding: 1.3em 0;
    text-align: center;
}

@media screen and (min-width: 576px) {
    .overview-list__item {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-align: start;
        -ms-flex-align: start;
        align-items: flex-start;
        text-align: left;
    }
}

.overview-list__item:last-child {
    border-bottom: 1px solid #d1d1d1;
}

.overview-list__term {
    line-height: 1.75em;
}

@media screen and (min-width: 576px) {
    .overview-list__term {
        width: 24.6666%;
        padding-left: 6.88888%;
        line-height: 2.28571;
    }
}

.overview-list__description {
    margin-top: 1em;
    line-height: 1.75em;
}

@media screen and (min-width: 576px) {
    .overview-list__description {
        margin-top: 0;
        line-height: 2.28571;
    }
}

.top-page {
    font-size: 0.625rem;
}

.top-page ul {
    list-style-type: none;
}

.bottom-line {
    position: relative;
    z-index: 2;
}

.bottom-line::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    height: 3.5em;
    width: 1px;
}

@media screen and (min-width: ) {
    .bottom-line::after {
        height: 5em;
    }
}

.head-line {
    position: relative;
    z-index: 1;
}

.head-line::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    height: 3.5em;
    width: 1px;
}

@media screen and (min-width: ) {
    .head-line::before {
        height: 5em;
    }
}

.main-vis {
    padding-top: 5em;
    padding-bottom: 8.2em;
    background-image: url(./img/building.svg);
    background-repeat: repeat-x;
    background-position: left bottom;
    background-size: 500px;
    overflow: hidden;
}

@media screen and (min-width: 768px) {
    .main-vis {
        padding-bottom: 15.5em;
        background-size: 850px;
    }
}

.main-vis__inner {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    -webkit-box-orient: vertical;
    -webkit-box-direction: reverse;
    -ms-flex-direction: column-reverse;
    flex-direction: column-reverse;
}

@media screen and (min-width: 768px) {
    .main-vis__inner {
        -webkit-box-orient: horizontal;
        -webkit-box-direction: reverse;
        -ms-flex-direction: row-reverse;
        flex-direction: row-reverse;
    }
}

.main-vis__right {
    width: 83%;
    margin-left: auto;
    margin-right: auto;
    margin-top: 3.2em;
}

@media screen and (min-width: 768px) {
    .main-vis__right {
        margin-top: 0;
        -ms-flex-item-align: center;
        -ms-grid-row-align: center;
        align-self: center;
        width: auto;
    }
}

@media screen and (min-width: 768px) {
    .ie .main-vis__right {
        width: 68%;
    }
}

@media screen and (min-width: 768px) {
    .edge .main-vis__right {
        -ms-flex-preferred-size: 55%;
        flex-basis: 55%;
        -ms-flex-negative: 0;
        flex-shrink: 0;
    }
}

.main-vis__left {
    min-height: 1px;
}

@media screen and (min-width: 768px) {
    .main-vis__left {
        max-width: 488px;
    }
}

.head-text {
    font-size: 0.625rem;
}

@media screen and (min-width: 320px) {
    .head-text {
        font-size: 2.56vw;
    }
}

@media screen and (min-width: 768px) and (max-width: 1282px) {
    .head-text {
        font-size: 0.742vw;
    }
}

@media screen and (min-width: 1283px) {
    .head-text {
        font-size: 0.625rem;
    }
}

.head-text__fz12 {
    font-size: 1.2em;
    letter-spacing: 0.15em;
    display: block;
    color: #033490;
}

@media screen and (min-width: 768px) {
    .head-text__fz12 {
        font-size: 1.8em;
    }
}

.head-text__fz28 {
    font-size: 2.8em;
    letter-spacing: 0.15em;
    line-height: 1.5;
    color: #033490;
    display: block;
    margin-top: 0.55em;
}

@media screen and (min-width: 768px) {
    .head-text__fz28 {
        font-size: 6.4em;
        line-height: 1.48438;
        margin-top: 0.234375em;
    }
}

.head-text__fz18 {
    font-size: 1.8em;
    letter-spacing: 0.15em;
    color: #1F9FD7;
    display: block;
    margin-top: 0.5em;
}

@media screen and (min-width: 768px) {
    .head-text__fz18 {
        font-size: 4em;
        margin-top: 1em;
    }
}

.top-store {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    margin-top: 1.8em;
}

@media screen and (min-width: 768px) {
    .top-store {
        margin-top: 3.6em;
        width: 86.2%;
    }
}

.top-store__item {
    -ms-flex-preferred-size: 47.5%;
    flex-basis: 47.5%;
}

.top-store__item+.top-store__item {
    margin-left: 3%;
}

.top-store__link {
    display: block;
    -webkit-transition: opacity .3s;
    transition: opacity .3s;
}

.top-store__link:hover {
    opacity: .7;
    -webkit-transition: opacity .3s;
    transition: opacity .3s;
}

.sec01 {
    font-size: 0.625rem;
    background: #033490;
    margin-top: 1.2em;
}

.sec01::after {
    background: #fff;
}

@media screen and (min-width: 768px) and (max-width: 791px) {
    .sec01 {
        font-size: 1.262vw;
    }
}

@media screen and (min-width: 768px) {
    .sec01 {
        margin-top: 1.5em;
    }
}

.sec01__inner {
    padding-top: 3.5em;
    padding-bottom: 6em;
    width: 84%;
    margin-left: auto;
    margin-right: auto;
    max-width: 31.5em;
}

@media screen and (min-width: 768px) {
    .sec01__inner {
        padding-top: 7.9em;
        padding-bottom: 10em;
        max-width: 96.7em;
    }
}

.sec01__ttl {
    font-size: 2.4em;
    letter-spacing: 0.15em;
    color: #fff;
    text-align: center;
}

@media screen and (min-width: 768px) {
    .sec01__ttl {
        font-size: 5.8em;
    }
}

.sec01__text {
    font-size: 1.5em;
    line-height: 1.86667;
    letter-spacing: 0.15em;
    text-align: center;
    color: #033490;
    background: #fff;
    border-radius: 25px;
    padding: 6.98% 13%;
    margin-top: 2em;
}

@media screen and (min-width: 768px) {
    .sec01__text {
        font-size: 2.6em;
        border-radius: 500px;
        padding-top: 1.4615em;
        padding-bottom: 1.346153em;
        line-height: 1.84615;
    }

    .sec01__text .spbr {
        display: none;
    }
}

.sec02 {
    padding-top: 7.7em;
    padding-bottom: 6.3em;
}

.sec02::before {
    background: #033490;
}

.sec02::after {
    background: #033490;
}

.sec02__ttl {
    font-size: 1.8em;
    letter-spacing: 0.15em;
    text-align: center;
}

@media screen and (min-width: 768px) {
    .sec02__ttl {
        font-size: 2.4em;
    }
}

.sec02__text {
    color: #504e4e;
    margin-top: 1.8571em;
}

@media screen and (min-width: 768px) {
    .sec02__text {
        margin-top: 1.75em;
    }
}

.sec02__img {
    margin-top: 4.5em;
    max-width: 42.5em;
    margin-left: auto;
    margin-right: auto;
}

@media screen and (min-width: 768px) {
    .sec02__img {
        margin-top: 5.2em;
    }
}

.sec03 {
    background: transparent radial-gradient(closest-side at 50% 50%, #1F9FD7 0%, #0079AF 100%);
    color: #fff;
    overflow: hidden;
}

.sec03::before {
    background: #fff;
}

.sec03__inner {
    padding-bottom: 2.1em;
    padding-top: 7.4em;
}

@media screen and (min-width: 768px) {
    .sec03__inner {
        padding-top: 8.5em;
        padding-bottom: 0;
    }
}

.sec03__text {
    margin-top: 1.7857em;
}

@media screen and (min-width: 768px) {
    .sec03__text {
        margin-top: 1.25em;
    }
}

.sec03__img {
    margin-right: calc(50% - 50vw);
    margin-left: calc(50% - 50vw);
    margin-top: 2.3em;
}

@media screen and (min-width: 768px) {
    .sec03__img {
        margin-left: 0;
        margin-right: 0;
        margin-top: 1.85em;
    }
}

.sec04 {
    background: transparent radial-gradient(closest-side at 50% 50%, #033490 0%, #002872 100%) 0% 0%;
    color: #fff;
    padding-bottom: 4.7em;
}

@media screen and (min-width: 768px) {
    .sec04 {
        padding-bottom: 7.4em;
    }
}

.sec04__inner {
    padding-top: 7.4em;
}

@media screen and (min-width: 768px) {
    .sec04__inner {
        padding-top: 8.5em;
    }
}

.sec04__text {
    margin-top: 1.7857em;
}

@media screen and (min-width: 768px) {
    .sec04__text {
        margin-top: 1.25em;
    }
}

.sec04__img01 {
    max-width: 60.7em;
    margin-left: auto;
    margin-right: auto;
    margin-top: 4em;
}

@media screen and (min-width: 768px) {
    .sec04__img01 {
        margin-top: 4.5em;
    }
}

.sec04__inner02 {
    border: 1px solid #fff;
    width: 88%;
    margin-left: auto;
    margin-right: auto;
    margin-top: 4.6em;
    padding: 3em 5.151515%;
}

@media screen and (min-width: 768px) {
    .sec04__inner02 {
        margin-top: 7.3em;
        padding-top: 6em;
        padding-bottom: 5.7em;
    }
}

.sec04__text02 {
    letter-spacing: 0.05em;
}

@media screen and (min-width: 768px) {
    .sec04__text02 {
        line-height: 2.75;
    }
}

.sec04__text02 .big {
    font-size: 114.2857%;
    line-height: 1;
}

@media screen and (min-width: 768px) {
    .sec04__text02 .big {
        font-size: 150%;
        line-height: 1;
    }
}

.sec04__img02 {
    margin-top: 3.8em;
}

@media screen and (min-width: 768px) {
    .sec04__img02 {
        margin-top: 5.7em;
        margin-left: auto;
        margin-right: auto;
        max-width: 73.1em;
    }
}

.sec03, .sec04 {
    position: relative;
}

.sec03::after, .sec04::after {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    content: '';
    height: 100%;
    width: 26.66666%;
    background: url(./img/section-deco.svg) no-repeat 0% 0%/contain;
}

@media screen and (min-width: 768px) {
    .sec03::after, .sec04::after {
        content: none;
    }
}

.sec03__inner, .sec04__inner {
    position: relative;
}

@media screen and (min-width: 768px) {
    .sec03__inner::after, .sec04__inner::after {
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        content: '';
        height: 100%;
        width: 16.090909%;
        background: url(./img/section-deco.svg) no-repeat 0% 0%/contain;
    }
}

.sec05__inner {
    position: relative;
    z-index: 1;
    padding-top: 6.2em;
    padding-bottom: 5.3em;
}

@media screen and (min-width: 768px) {
    .sec05__inner {
        padding-top: 15.9em;
        padding-bottom: 9.3em;
    }
}

@media screen and (min-width: 768px) {
    .sec05__text-area {
        max-width: 35em;
    }
}

.sec05__ttl {
    color: #033490;
}

@media screen and (min-width: 768px) {
    .sec05__ttl {
        text-align: left;
    }
}

.sec05__text {
    font-size: 1.4em;
    font-weight: 500;
    letter-spacing: 0.05em;
    line-height: 2.14286;
    margin-top: 2.571428em;
}

@media screen and (min-width: 768px) {
    .sec05__text {
        font-size: 1.5em;
        line-height: 2.66667;
        margin-top: 2.6666667em;
    }
}

.sec05__bg {
    position: relative;
}

.sec05 .obfit {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    opacity: .15;
    -o-object-fit: cover;
    object-fit: cover;
    -o-object-position: 79% 50%;
    object-position: 79% 50%;
    font-family: 'object-fit: cover; object-position: 79% 50%;';
}

@media screen and (min-width: 768px) {
    .sec05 .obfit {
        opacity: .4;
        -o-object-position: 30% 50%;
        object-position: 30% 50%;
        font-family: 'object-fit: cover; object-position: 30% 50%;';
    }
}

.store-sec {
    background: #393736;
    padding: 4.1em 0;
}

@media screen and (min-width: 768px) {
    .store-sec {
        padding: 5.2em 0;
    }
}

.store-sec__inner {
    max-width: 24em;
    margin-left: auto;
    margin-right: auto;
}

@media screen and (min-width: 768px) {
    .store-sec__inner {
        max-width: 50em;
    }
}

.store-sec__ttl {
    font-size: 1.6em;
    letter-spacing: 0.15em;
    color: #fff;
    text-align: center;
}

@media screen and (min-width: 768px) {
    .store-sec__ttl {
        font-size: 2em;
        border-bottom: 1px solid #fff;
        padding-bottom: 1.225em;
    }
}

.store-sec__list {
    margin-top: 2.5em;
}

@media screen and (min-width: 768px) {
    .store-sec__list {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-pack: justify;
        -ms-flex-pack: justify;
        justify-content: space-between;
    }
}

.store-sec__list-item {
    -ms-flex-preferred-size: 46.2%;
    flex-basis: 46.2%;
}

.store-sec__list-item+.store-sec__list-item {
    margin-top: 2.5em;
}

@media screen and (min-width: 768px) {
    .store-sec__list-item+.store-sec__list-item {
        margin-top: 0;
    }
}

.store-sec__link {
    display: block;
    -webkit-transition: opacity .3s;
    transition: opacity .3s;
}

.store-sec__link:hover {
    opacity: .7;
    -webkit-transition: opacity .3s;
    transition: opacity .3s;
}

.contact-lead {
    padding: 0.5em;
    font-size: 1.4em;
    font-weight: 700;
    line-height: 2.14286;
    letter-spacing: 0.05em;
    text-align: center;
}

.contact-lead .pc_only {
    display: none;
}

@media screen and (min-width: 768px) {
    .contact-lead {
        font-size: 1.6em;
        line-height: 2.4;
    }

    .contact-lead .pc_only {
        display: block;
        ; }
}

form#mail_form {
    margin: 20px auto;
    background: #ffffff;
    border: none;
    border-radius: 0;
    box-shadow: none;
    font-size: 16px;
    font-weight: 500;
}

form#mail_form dl dt {
    border-top: none;
    padding: 23px 0;
    width: 31%;
}

form#mail_form dl dd {
    border-top: none;
    padding: 10px 0 10px 0;
}

form#mail_form dl dt:first-child, form#mail_form dl dt:first-child + dd {
    border: none;
}

form#mail_form input[type="text"], form#mail_form input[type="email"], form#mail_form input[type="tel"] {
    border: 1px solid #393736;
    border-radius: 0;
    font-size: 100%;
}

form#mail_form textarea {
    padding: 7px 2%;
    border: 1px solid #393736;
    border-radius: 0;
    font-size: 100%;
    margin-top: 7px;
}

form#mail_form dl dt span.required, form#mail_form dl dt span.optional {
    float: right;
    padding: 0 12px;
    border-radius: 20px;
    background-color: #033490;
    border: none;
    margin-left: 1em;
    margin-top: 2px;
}

form#mail_form input#name_1, form#mail_form input#name_2, form#mail_form input#read_1, form#mail_form input#read_2, form#mail_form input#postal, form#mail_form input#phone, form#mail_form input#schedule {
    width: 100%;
}

form#mail_form input#mail_address, form#mail_form input#mail_address_confirm {
    width: 100%;
}

form#mail_form dl dd span.error_blank, form#mail_form dl dd span.error_format, form#mail_form dl dd span.error_match {
    display: block;
    color: #FF3E3E;
    margin-top: 3px;
}

div#agreement {
    padding: 25px 0 5px;
    border: none;
    text-align: center;
    letter-spacing: 0.05em;
    text-indent: 0.05em;
    font-weight: 700;
}

div#agreement a {
    color: #393736;
    transition: .2s;
}

div#agreement a:hover {
    opacity: .6;
    transition: .2s;
}

div#agreement .red {
    color: #FF3E3E;
}

div#agreement input[type="checkbox"] {
    margin-right: 0;
    margin-left: 0.5em;
}

form#mail_form div#agreement span.error_check {
    color: #FF3E3E;
}

form#mail_form p#form_submit {
    width: 90%;
    padding: 15px 0;
    border-top: none;
    text-align: center;
}

form#mail_form input[type="button"] {
    width: 400px;
    max-width: 400px;
    padding: 15px;
    border: 1px solid #033490;
    border-radius: 0;
    background: #033490;
    font-size: 120%;
    letter-spacing: 0.05em;
    text-indent: 0.05em;
    transition: .2s;
}

form#mail_form input[type="button"]:hover {
    cursor: pointer;
    border: 1px solid #033490;
    background: #033490;
    filter: brightness(120%);
    transition: .2s;
}

form#mail_form input#form_submit_button {
    margin: auto;
    text-align: center;
}

@media screen and ( max-width: 1000px ) {
    form#mail_form {
        width:100%;
        margin-top: 15px;
    }

    form#mail_form dl dt {
        border-top: none;
        padding: 10px 0 0px;
        font-size: 14px;
        width: auto;
    }

    form#mail_form dl dt span.required, form#mail_form dl dt span.optional {
        margin: 1px 9px 0 0;
        float: left;
        font-size: 13px;
    }

    form#mail_form input#name_1, form#mail_form input#name_2, form#mail_form input#read_1, form#mail_form input#read_2, form#mail_form input#postal, form#mail_form input#phone, form#mail_form input#schedule {
        max-width: 100%;
    }

    form#mail_form input#mail_address, form#mail_form input#mail_address_confirm {
        max-width: 100%;
    }

    form#mail_form textarea {
        margin: 0;
        width: 100%;
        max-width: 100%;
    }

    div#agreement {
        font-size: 13px;
    }

    form#mail_form input[type="button"] {
        width: 85%;
        padding: 10px;
    }
}

#thank {
    padding-top: 2em;
    font-size: 1.4em;
    font-weight: 700;
    line-height: 2.4;
    letter-spacing: 0.05em;
    text-align: center;
}

#thank img {
    margin: 0 auto 3em;
    width: 200px;
}

.thk-btn {
    display: inline-block;
    border: 1px solid #033490;
    background: #fff;
    color: #033490;
    text-decoration: none;
    padding: 5px 4em;
    margin-top: 3.5em;
    border-radius: 3em;
    transition: .2s;
}

.thk-btn:hover {
    background: #033490;
    color: #fff;
    transition: .2s;
}

@media screen and (min-width: 768px) {
    #thank {
        padding-top: 6em;
        font-size: 1.6em;
        font-weight: 700;
        line-height: 2.4;
        letter-spacing: 0.05em;
        text-align: center;
    }

    #thank img {
        margin: 0 auto 3em;
        width: 250px;
    }
}
