body {
    color: black;
    background-color: white;
    margin: 0;
}

span.pc {
	display: inline;
}

span.mobile {
	display: none;
}

@media screen and (max-width: 640px) {
	span.pc {
		display: none;
	}

	span.mobile {
		display: inline;
	}
}

.responsive-width {
    width: var(--width-pc, 33%);
}

@media screen and (max-width: 640px) {
    .responsive-width {
        width: var(--width-mobile, 100%);
    }
}

div.header {
    border-bottom: 0px solid #3e748e;
    position: relative;
}

div.site-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 0;
}

@media screen and (max-width: 640px) {
    div.site-header-inner {
        padding: 8px;
        box-sizing: border-box;
    }
    div.site-header-inner a img {
        width: 60px;
        height: 50px;
    }
}

button.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    width: 28px;
    height: 20px;
    flex-direction: column;
    justify-content: space-between;
}

button.hamburger span {
    display: block;
    width: auto;
    height: 2px;
    background-color: #3e748e;
    transition: transform 0.2s, opacity 0.2s;
}

@media screen and (max-width: 640px) {
    button.hamburger {
        display: flex;
    }
    button.hamburger[aria-expanded="true"] span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    button.hamburger[aria-expanded="true"] span:nth-child(2) {
        opacity: 0;
    }
    button.hamburger[aria-expanded="true"] span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
}

div.center {
    margin: 0 auto;
    width: 80%;
}

@media screen and (max-width: 640px) {
    div.center {
        width: 100%;
    }
}

div.well-margined-center {
    margin: 0 auto;
    width: 80%;
}

@media screen and (max-width: 640px) {
    div.well-margined-center {
        margin: 0 8px;
        width: auto;
    }
}

div.main-menu {
    display: flex;
    font-size: 16px;
}

@media screen and (max-width: 640px) {
    div.main-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: white;
        border-bottom: 0px solid #3e748e;
        font-size: 13px;
        z-index: 100;
    }
    div.main-menu.is-open {
        display: flex;
        border-bottom: medium solid #3e748e;
    }
}

div.main-menu a {
    display: flex;
    height: 60px;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    text-decoration: none;
    color: #3e748e;
    background-color: white;
    font-weight: bold;
}

@media screen and (max-width: 640px) {
    div.main-menu a {
        height: 48px;
        padding: 0 16px;
        justify-content: flex-start;
        border-bottom: 1px solid #eee;
    }
}

div.main-menu a:visited {
    color: #3e748e;
    background-color: white;
}

div.main-menu a:hover {
    color: white;
    background-color: #3e748e;
}

div.main-menu a.current {
    border-bottom: thick solid #3e748e;
}

div.main-menu div {
    display: flex;
    height: 60px;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    border-bottom: thick solid #3e748e;
    color: #3e748e;
    background-color: white;
    font-weight: bold;
}

@media screen and (max-width: 640px) {
    div.main-menu div {
        height: 48px;
        padding: 0 16px;
        justify-content: flex-start;
        border-bottom: 1px solid #eee;
    }
}

p.breadcrumb {
    font-size: 14px;
    color: black;
    background-color: transparent;
}

h1 {
    font-size: 48px;
    margin: 24px 0;
	color: #3e748e;
}

@media screen and (max-width: 640px) {
    h1 {
        font-size: 30px;
    }
}

h2 {
    margin: 16px 0;
    color: rgb(80,80,80);
}

@media screen and (max-width: 640px) {
    h2 {
        font-size: 22px;
    }
}

div.multicolumn {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    column-gap: 32px;
}

@media screen and (max-width: 640px) {
    div.multicolumn {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        column-gap: 0;
    }
}

div.multicolumn-bordered {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    column-gap: 32px;
    row-gap: 32px;
}

div.multicolumn-bordered > div {
    border: thin solid rgb(105, 105, 105);
    padding: 8px;
}

@media screen and (max-width: 640px) {
    div.multicolumn-bordered {
        grid-template-columns: repeat(1, 1fr);
    }
}

div.topix{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    align-content: space-around;
}

div.topix a {
    display: inline-grid;
    width: 200px;
    height: 200px;
    margin: 10px;
    text-decoration: none;
    color: white;
    background-color: cadetblue;
    place-content: center;
    place-items: center;
    border: 2px solid cadetblue;
}

@media screen and (max-width: 640px) {
    div.topix a {
        width: 150px;
        height: 150px;
    }
}

div.topix a:visited {
    color: white;
    background-color: cadetblue;
}

div.topix a:hover {
    color: cadetblue;
    background-color: white;
}

div.topix a p {
    margin: 0;
    text-align: center;
}

div.topix a p:nth-child(1) {
    font-size: 18px;
}

@media screen and (max-width: 640px) {
    div.topix a p:nth-child(1) {
        font-size: 14px;
    }
}

div.topix a p:nth-child(3) {
    font-size: 14px;
}

@media screen and (max-width: 640px) {
    div.topix a p:nth-child(3) {
        font-size: 12px;
    }
}

div.topix a hr {
    width: 160px;
    line-height: 1px;
    border-color: white;
    border-style: solid;
}

@media screen and (max-width: 640px) {
    div.topix a hr {
        width: 120px;
    }
}

div.topix a:hover hr {
    border-color: cadetblue;
}

.copyright{
	text-align: center;
	font-size: 83%;
	color: black;
}

p.copyright {
    margin: 1em 0;
}

.footer-menu{
    text-align: right;
    font-size: 83%;
}

p.footer-menu {
    margin: 1em 0;
}

@media screen and (max-width: 640px) {
    .footer-menu {
        text-align: center;
    }
}

.footer-menu a {
    text-decoration: none;
    color: #385c6a;
    margin-left: 1em;
}

.footer-menu a:visited {
    color: #385c6a;
}

.footer-menu a:hover {
    color: #09c;
}
