﻿@charset "utf-8";

:root {
    font-size: 16px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    color: #000;
    font-family: "Arial", sans-serif;
    font-size: 1rem;
    line-height: 1.4;
}

img {
    max-width: 100%;
    height: auto;
}

#wrapper {
    position: relative;
    max-width: 54.375rem;
    margin: 1rem auto;
    overflow: hidden;
    padding: 0;
    background: #fff;
    border: solid 0.0625rem #000;
    text-align: justify;
}

ul {
    list-style: none;
    margin: 0 0 1rem;
    padding: 0;
}

ul li {
    padding-left: 3.125rem;
}

ul li:before {
    content: "\2022";
    float: left;
    margin-left: -1.5625rem;
    font-size: 1.375em;
    line-height: 1.2;
    position: relative;
    bottom: 0.125rem;
}

p {
    margin: 0 0 1rem;
}

p a {
    color: #0000FF;
    text-decoration: underline;
    white-space: nowrap;
}

.tel {
    color: inherit;
    text-decoration: none;
    white-space: nowrap;
}

.mail {
    color: inherit;
}

h1 {
    text-align: center;
    font-size: 1.125rem;
    line-height: 1.1;
    background-color: #E5E5E5;
    padding: .937rem 0;
    margin: 0.9375rem 0;
    border: 0.0625rem solid #000;
}

h1 span {
    display: block;
    font-size: 0.8em;
}

h2 {
    font-size: 1rem;
}

h3 {
    text-align: left;
    font-size: 1.125rem;
    line-height: 1.1;
    background-color: #C0C0C0;
    padding: 0.3125rem 0 0 .312rem;
    margin: 0.9375rem 0;
}

header {
    margin: 0 0 1.25rem;
    padding: 2.5rem 5rem 0;
    text-align: center;
}

article {
    padding: 0 5rem;
}

article > p:nth-of-type(2) {
    margin: 0 0 1.25rem;
}

article p:nth-of-type(6) a {
    white-space: pre-wrap
}

footer {
    padding: 0.625rem 5rem 2.5rem;
}

footer section {
    display: flex;
    justify-content: space-between;
}

footer > section p {
    width: 35%;
    text-align: left;
}

@media only screen and (max-width: 54.625rem) {
    #wrapper {
        border: none;
        margin: 0 auto;
        padding: 1rem;
        text-align: left;
    }

    p a {
        white-space: normal;
        display: inline;
    }

    ul li {
        padding-left: 1.5625rem;
    }

    ul li:before {
        margin-left: -1.25rem;
    }

    h2 {
        margin: 0 0 0.3125rem;
    }

    header,
    article,
    footer {
        padding: 0;
    }

    article > p:nth-of-type(2) {
        margin: 0 0 1.25rem;
    }

    footer section {
        flex-direction: column;
    }

    footer > section p {
        width: auto;
    }
}

@media only screen and (max-width: 23.438rem) {

    p,
    ul {
        -moz-hyphens: auto;
        -webkit-hyphens: auto;
        -ms-hyphens: auto;
        hyphens: auto;
    }
}
