:root {
    /* Color Theme Swatches in Hex */
    /* Extreme close up shot of soap bubbles */
    --soap-bubbles-1: #023059;
    --soap-bubbles-2: #30618C;
    --soap-bubbles-3: #5D84A6;
    --soap-bubbles-4: #8AA6BF;
    --soap-bubbles-5: #D5E5F2;

   /* Color Theme Swatches in Hex */
   /* My Color Monochromatic Blue Theme 02 */
    --monochromatic-blue-1: #496066;
    --monochromatic-blue-2: #EAEAEA;
    --monochromatic-blue-3: #A5D8E6;
    --monochromatic-blue-4: #105F75;
    --monochromatic-blue-5: #81A8B3;
    --monochromatic-blue-6: #020F59;

    /* Color Theme Swatches in Hex */
    /* Twisted orange slice on checkered background including clipping path */
    --orange-1: #F2B705;
    --orange-2: #F29F05;
    --orange-3: #F28705;
    --orange-4: #D96704;
    --orange-5: #F2F2F2;
}

body {
    background-color: var(--soap-bubbles-5);
    font-family: Helvetica Neue, Helvetica, Hiragino Sans, 'ヒラギノ角ゴ ProN W3', Hiragino Kaku Gothic ProN, "メイリオ", Meiryo, sans-serif;
}

header {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 120px;
    z-index: 1500;
    background-color: var(--monochromatic-blue-2);
    box-shadow: 0 8px 4px rgba(49, 98, 133, .16);
}

main {
    color: var(--monochromatic-blue-6);
    background-color: rgba(255, 255, 255, .8);
    padding-bottom: 30px;
}

.alert {
    color: red;
}

h2, h3 {
    color: var(--monochromatic-blue-6);
}

main > h1, h2, h3 {
    position: relative;
    margin-top: 36px;
    margin-bottom: 36px;
    text-align: center;
}

main > h1::after, h2::after {
    position: absolute;
    content: '';
    bottom: -8px;
    left: 50%;
    background: #316285;
}

main > h1::after {
    width: 80px;
    height: 6px;
    margin-left: -40px;
}

main > h2::after {
    width: 40px;
    height: 4px;
    margin-left: -20px;
}

a {
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

#contents-outer {
    display: grid;
    width: 80%;
    margin: 3em auto;
}

.content {
    display: block;
    position: relative;
    margin: 5%;
    background: linear-gradient(270deg, var(--orange-1), var(--orange-2));
    box-shadow: 3px 3px 4px 4px var(--orange-3);
}

.content:hover {
    background: linear-gradient(90deg, var(--orange-1), var(--orange-2));
    margin-top: calc(5% + 10px);
    margin-left: calc(5% + 10px);
    box-shadow: none;
}

.title {
    position: absolute;
    top: 20%;
    font-size: 2rem;
    font-weight: bold;
    padding-left: 1em;
    color: var(--soap-bubbles-2);
}

.content:hover .title {
    top: calc(20% + 10px);
    padding-left: calc(1em + 10px);
    color: var(--soap-bubbles-1)
}

.content > p {
    position: absolute;
    top: 40%;
    margin-left: 5em;
    font-size: 1.2rem;
    color: var(--soap-bubbles-2);
}

.content:hover p {
    top: calc(40% + 10px);
    margin-left: calc(5em + 10px);
    color: var(--soap-bubbles-1)
}

ol.margined {
    margin-left: 3em;
}

.bold {
    font-weight: bold;
}

.theme::before {
    content: '　　';
}

#signature {
    text-align: right;
    padding-right: 30px;
}

footer h3 {
    color: #eaeaea;
}

p, main ul {
    margin: 1em 1em .5em 1em;
}

table {
    margin: 1em auto;
}
th, td {
    padding: .3em .5em;
    border: 1px solid #020F59;
}
#program-all-table td {
    text-align: center;
}

footer {
    background-color: #316285;
    color: #eaeaea;
    width: 100%;
}

#coops > a {
    display: block;
}

.nolink {
    text-decoration: none;
    color: #020F59;
}

.small-font {
    font-size: .98em;
}

footer #copyright {
    display: block;
    text-align: center;
}

@media screen and (max-width: 980px) {
    body {
        font-size: 1.8rem;
        line-height: 1.5;
    }
    #header-logo {
        height: 120px;
    }
    #global-nav {
        position: fixed;
        right: -640px;
        top: 0;
        width: 600px;
        height: 100vh;
        padding-top: 120px;
        background-color: #bcc5cc;
        transition: all .6s;
        z-index: 200;
        overflow-y: auto;
    }
    .hamburger {
        position: absolute;
        right: 0;
        top: 0;
        width: 120px;
        height: 120px;
        cursor: pointer;
        z-index: 300;
    }
    .global-nav__list {
        margin: 0;
        padding: 0;
        list-style: none;
    }
    .global-nav__item {
        margin: 0;
        padding: 0 1em;
    }
    .global-nav__item a {
        display: block;
        padding: .5em 0 .5em 1em;
        border-bottom: 1px solid #eaeaea;
        color: #316285;
        font-size: 2.4rem;
        text-decoration-line: none;
    }
    .global-nav__item a:hover {
        background-color: #eaeaea;
    }
    .global-nav-child__item a {
        font-size: 2rem;
    }
    .global-nav-child__item a::before {
        content: "→ ";
    }
    .hamburger__line {
        position: absolute;
        left: 33px;
        width: 48px;
        height: 4px;
        background-color: #316285;
        transition: all .6s;
    }
    .hamburger__line--1 {
        top: 42px;
    }
    .hamburger__line--2 {
        top: 60px;
    }
    .hamburger__line--3 {
        top: 78px;
    }
    .nav-open #global-nav {
        right: 0;
    }
    .nav-open .black-bg {
        opacity: .8;
        visibility: visible;
    }
    .nav-open .hamburger__line--1 {
        transform: rotate(45deg);
        top: 60px;
    }
    .nav-open .hamburger__line--2 {
        width: 0;
        left: 50%;
    }
    .nav-open .hamburger__line--3 {
        transform: rotate(-45deg);
        top: 60px;
    }
    .black-bg {
        position: fixed;
        left: 0;
        top: 0;
        width: 100vw;
        height: 100vh;
        z-index: 100;
        background-color: #000;
        opacity: 0;
        visibility: hidden;
        transition: all .6s;
        cursor: pointer;
    }
    .no-eyecatch {
        margin-top: 120px !important;
    }
    main {
        margin: 0 5px;
        padding: 0 0 30px 0;
    }
    main > h1::after {
        width: 120px;
        height: 12px;
        margin-left: -60px;
    }
    main > h2::after {
        width: 80px;
        height: 8px;
        margin-left: -40px;
    }
    #h1-eyecatch {
        margin: 120px 0 0 0;
        width: 100%;
    }
    #h1-eyecatch img {
        width: 100%;
    }
    .theme {
        font-weight: bold;
        font-size: 2rem;
    }
    .normal-h1 {
        padding-top: 2em;
        text-align: center;
    }
    #h2-top {
        margin-top: 0;
        padding-top: 0.83em;
    }
    table {
        width: 95%;
    }
    #outline-table td {
        padding-right: .5em;
    }
    #signature {
        padding-top: 1em;
    }
    aside {
        background-color: #316285;
        color: #eaeaea;
    }
    #coops > a {
        width: 600px;
        margin: 1em auto;
    }
    #coops img {
        width: 600px;
    }
    .coops-outer {
        width: 95%;
        margin: 24px auto;
        display: grid;
        grid-template-columns: 1fr;
    }
    .coop > a {
        display: block;
        width: 100%;
        padding: 12px 0;
        text-align: center;
        border: 1px solid #020F59;
    }
    h3.footer {
        color: #eaeaea;
    }
    #h3-top {
        margin-top: 0;
        padding-top: 1em;
    }
    #footer-inner {
        display: block;
        padding: 12px;
    }
    #twitter-widget-0 {
        display: block !important;
        width: 900px !important;
        height: 1200px !important;
        margin: auto !important;
    }
    .sitemap-list {
        display: grid;
        grid-template-columns: 1fr 1fr;
        margin: 0 2em 1em;
    }
    .sitemap-list > li {
        display: block;
    }
    .sitemap-list li {
        padding: .3em 0;
    }
    .sitemap-list a {
        color: #81a8b3;
        text-decoration-line: none;
    }
}

@media screen and (min-width: 981px) {
    body {
        font-size: 1rem;
        line-height: 1.7;
    }
    #header-inner {
        max-width: 1200px;
        margin: auto;
    }
    #header-logo {
        height: 60px;
    }
    .global-nav__list {
        display: flex;
        margin: 0;
        list-style: none;
    }
    .global-nav__item {
        position: relative;
        flex: auto;
        background: #eaeaea;
        border-right: 1px dotted #020F59;
    }
    .global-nav__list li:last-child {
        border: 0px;
    }
    .global-nav__item ul.global-nav-child__list {
        position: absolute;
        top: 50px;
        width: 100%;
        visibility: hidden;
        opacity: 0;
        transition: all .2s ease;
    }
    .global-nav__item:hover ul.global-nav-child__list {
        top: 60px;
        visibility: visible;
        opacity: 1;
    }
    .global-nav__item > a {
        display: block;
        color: #020F59;
        padding: 16px 24px;
        text-decoration: none;
    }
    .global-nav-child__item {
        background: #eaeaea;
    }
    .global-nav__item a:hover {
        background: #316285;
        color: #eaeaea;
        transition: all .2s;
    }
    .global-nav-child__item a {
        display: block;
        padding: 16px 24px;
        color: #020F59;
        border-top: 1px dotted #316285;
        text-decoration: none;
    }
    #h1-eyecatch {
        max-width: 1200px;
        margin: auto;
        margin-top: 120px;
    }
    #h1-eyecatch img {
        width: 100%;
    }
    #main-for-pc {
        max-width: 1200px;
        margin: auto;
        display: flex;
    }
    .no-eyecatch {
        margin-top: 120px !important;
    }
    main {
        margin-right: 10px;
    }
    .theme {
        font-weight: bold;
        font-size: 1.8rem;
    }
    .normal-h1 {
        text-align: center;
    }
    #h2-top {
        margin-top: 0;
        padding-top: .83em;
    }
    p {
        margin: 1em 1em 1em 3em;
    }
    table {
        width: 95%;
    }
    #outline-table td {
        padding-right: .5em;
    }
    aside {
        min-width: 380px;
        background-color: rgba(255, 255, 255, .8);;
    }
    #coops > a {
        width: 240px;
        margin: 1em auto;
    }
    #coops img {
        width: 240px;
    }
    .coops-outer {
        width: 97%;
        margin: 24px auto;
        display: grid;
        grid-template-columns: 1fr 1fr;
    }
    .coop > a {
        display: block;
        width: 100%;
        padding: 6px 0;
        text-align: center;
        border: 1px solid #020F59;
    }
    #twitter-widget-0 {
        display: block !important;
        margin: auto !important;
        width: 240px;
        height: 480px;
    }
    #footer-inner {
        display: block;
        max-width: 1200px;
        margin: auto;
        padding: 12px;
    }
    .sitemap-list {
        display: flex;
        justify-content: space-between;
        margin: 0 4em 1em;
    }
    .sitemap-list > li {
        display: block;
    }
    .sitemap-list li {
        padding: .3em 0;
    }
    .sitemap-list a {
        color: #81a8b3;
        text-decoration-line: none;
    }
    .sitemap-list a:hover {
        text-decoration-line: underline;
    }
}