@charset "utf-8";
:root {
    font-size: 16px;
}
* {
    box-sizing: border-box;
    margin: 0;
}
html {
    min-height: 100%;
}
body {
    color: #000;
    font: 1em/1.4em Segoe, "Segoe UI", Arial, sans-serif;
    background: #EEEEEE;
}
#wrapper {
    position: relative;
    max-width: 1160px;
    margin: 1rem auto;
    border: 2px solid #000;
    background: #fff;
    overflow: hidden;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, .05);
}
:is(a:link, a:visited, a:active) {
    color: inherit;
    text-decoration: none;
}
a[href^="tel:"], .black {
    white-space: nowrap;
    color: #000;
}
a.under{
    text-decoration: underline;
}
a:hover {
    color: #0056b3;
}
a.apply {
    background: #E4032E;
    color: #ffffff;
    display: block;
    padding: 0.5rem 1rem;
    font-size: 1.25rem;
    line-height: 1.5;
    border-radius: 0.3rem;
    text-align: center;
}
a.link, p.color{
    color: #888888;
}
a.link{
    text-decoration: underline;
}
a.red{
    color: #800007;
}
p {
    padding-bottom: 1rem;
}
p span.ttu{
    text-transform: uppercase;
}
p a.color {
    color: #800007;
}
.strcolor {
    color: #E4032E;
    font-weight: bold;
}
:is(p.center, h1) {
    text-align: center;
}
h1, h2{
    color: #E4032E;
}
h1 {
    margin: 0 0 1.5rem;
    font-size: 2em;
    line-height: 1.3;
}
h2 {
    font-size: 1.75em;
    line-height: 1.1;
    margin-bottom: 0.75rem;
    font-weight: 700;
}
h3 {
    font-size: 1.5em;
    line-height: 1.2;
    margin-bottom: 2rem;
}
ul {
    padding: 0 0 1.25rem;
    list-style: none;
}
li {
    padding: 0 0 0.35rem 0.6rem;
    position: relative;
}
li:before {
    content: "›";
    font-size: 1rem;
    position: absolute;
    left: 0;
    top: -1px;
    color: #888;
}
img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}
hr {
    border: none;
    background: #E4032E;
    height: 6px;
    margin: 1.5rem 0;
}
hr:last-of-type {
    margin-bottom: 3rem;
}
.flex {
    display: flex;
    justify-content: space-between;
    margin-top: 1rem;
}
.box-left {
    width: 63%;
}
.box-right {
    width: 33%;
}
.box-right div {
    padding: 0 1.5rem;
}
p a.black {
    color: #000;
}
header {
    margin: 2rem 1rem 0;
}
header img {
    display: block;
}
article {
    padding: 0 1rem 3rem;
}
.box_bg{
    background: #EEEEEE;
    padding: 2rem 2rem 1rem;
    margin: 1rem 0 3rem;
    border-top: 3rem solid #E4032E;
}
article section {
    display: flex;
    justify-content: space-between;
    margin-top: 1rem;
}
article section div {
    width: 48%;
}
article figure {
    margin: 0 0 3rem;
    display: flex;
    justify-content: center;
}
article p a.ins {
    text-decoration: none;
    box-shadow: 0 1px #808080;
}
footer {
    padding: 1.2rem 1rem 0;
    background: #E4032E;
    display: flex;
    justify-content: center;
    justify-items: center;
}
footer ul li:before {
    content: "";
}
footer ul li {
    list-style-type: none;
    display: inline-block;
    padding: 0;
    margin-left: auto;
    margin-right: auto;
}
footer i {
    margin: 0.5rem 0.3rem 0 0;
    padding: 0.5rem;
    color: #FFF;
    border: 1px solid #FFF;
    border-radius: 50%;
    width: 33px;
    height: 33px;
    text-align: center;
}
@media only screen and (max-width:1159px) {
    #wrapper {
        border: none;
        margin: 0 auto;
    }
    span{
        display: inline-block;
    }
    header {
        margin-top: 1rem;
    }
    .box_bg{
        padding: 1rem 1rem 0;
    }
}
@media only screen and (max-width:780px) {
    header {
        margin-bottom: 1.5rem;
    }
    article {
        padding-bottom: 1rem;
    }
    .flex, article section {
        display: block;
    }
    article section div, .box-left, .box-right {
        width: 100%;
    }
    .box-right div {
        padding: 0;
    }
    .box-right div :is(h3, p) {
        text-align: center;
    }
    article>p:first-of-type{
        padding: 1rem;
    }
    hr:last-of-type, article>p:first-of-type {
        margin-bottom: 1.5rem;
    }
    h1 {
        font-size: 1.7em;
    }
    h2, h3 {
        font-size: 1.3em;
    }
    p a {
        display: inline-block;
    }
}