﻿@charset "utf-8";

:root {
    font-size: 16px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    color: #000;
    font-family: 'Tinos', serif;
    font-size: 1.1rem;
    line-height: 1.2;
}

img {
    max-width: 100%;
    height: auto;
}

#wrapper {
    position: relative;
    max-width: 52.5rem;
    margin: 1rem auto;
    overflow: hidden;
    background: #fff;
    border: solid 0.0625rem #000;
}

p {
    text-align: justify;
    margin: 0 0 1.25rem;
}

p a {
    color: inherit;
    text-decoration: none;
}

.other_color {
    color: #800000;
}

.text_nobr {
    white-space: nowrap;
}

.margin_left {
    display: inline-block;
    margin: 0 1rem 0 0;
}

.margin_right {
    display: inline-block;
    margin: 0 0 0 1rem;
}

ul {
    margin: 0 0 1.25rem;
    padding: 0;
    list-style: none;
}

ul li {
    padding: 0 0 0 1.5625rem;
}

ul li:before {
    content: "\2022";
    font-size: 1.375rem;
    position: relative;
    display: block;
    float: left;
    bottom: 0.25rem;
    margin: 0 0 0 -1.5625rem;
}

h1 {
    text-align: center;
    color: #800000;
    font-size: 32px;
    margin: 1.875rem 0 0;
    line-height: 1.2;
}

h1 + p {
    color: #800000;
    text-align: center;
    font-size: 1.75rem;
    margin: 0 0 1.875rem;
}

h1 + p span {
    font-size: 0.75em;
}

h2 {
    color: #800000;
    font-size: 1.1rem;
    margin: 0;
    line-height: 1.4;
}

header {
    color: #fff;
    background-color: #000080;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding: 1.25rem 2.5rem 1.25rem 3.75rem;
}

header > .section_column:last-of-type {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-end;
}

header p {
    margin: 1rem 0 0;
}

article {
    padding: 1.25rem 3.75rem;
    background: url("../images/m_hg.jpg") no-repeat bottom 16% right;
    background-size: 35%;
}

footer {
    color: #fff;
    background-color: #000080;
    padding: 1.25rem 2.5rem 1.25rem 3.75rem;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    font-size: 1.3125rem;
}

footer p {
    text-align: center;
    margin: 0 1.25rem 0 0;
}

footer > p > a:last-of-type {
    margin: 0 0 0 1rem;
    display: inline-block;
}

footer p br:last-of-type {
    display: none;
}

@media only screen and (max-width: 52.4375rem) {
    body {
        font-size: 1rem;
    }

    #wrapper {
        border: none;
        margin: 0 auto;
    }

    p {
        text-align: left;
    }

    h2 {
        font-size: 1rem;
    }

    footer .text_nobr {
        display: block;
    }

    .margin_left,
    .margin_right {
        margin: 0;
    }

    .line {
        display: none;
    }

    h1 {
        font-size: 1.5rem;
        margin: 1.25rem 0 0;
    }

    h1 + p {
        font-size: 1.125rem;
        margin: 0 0 1.25rem;
    }

    header {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 1rem;
    }

    header > .section_column:last-of-type {
        margin: 1rem 0 0;
        justify-content: center;
        align-items: center;
    }

    header p {
        margin: 0;
        text-align: center;
    }

    article {
        padding: 1rem;
        background: none;
    }

    footer {
        font-size: 1rem;
        padding: 1rem;
        flex-direction: column;
        justify-content: center;
    }

    footer p {
        text-align: center;
        margin: 0 0 1rem;
    }

    footer p br {
        display: none;
    }

    footer p br:last-of-type {
        display: block;
    }

    footer > p > a:last-of-type {
        margin: 0;
    }
}

@media only screen and (max-width: 23.438rem) {
    p,
    ul {
        -moz-hyphens: auto;
        -webkit-hyphens: auto;
        -ms-hyphens: auto;
        hyphens: auto;
    }
}
