/* ############
foundation
############ */

article, body, canvas, caption, dd, div, dl, dt, footer, form, h1, h2, h3, h4, h5, h6, header, html, iframe, img, label, li, menu, nav, ol, section, small, span, strong, table, tbody, td, th, tr, ul, video, p {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    font-size: 100%;
    vertical-align: baseline;
    background: transparent;
    overflow-wrap: break-word;
    line-height: 1.3
}

article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
    display: block
}

ul {
    list-style: none
}

blockquote, q {
    quotes: none
}

blockquote:after, blockquote:before, q:after, q:before {
    content: '';
    content: none
}

a {
    margin: 0;
    padding: 0;
    font-size: 100%;
    vertical-align: baseline;
    background: transparent;
    text-decoration: none
}

ins {
    text-decoration: none
}

ins, mark {
    background-color: #fff;
    color: #000
}

mark {
    font-style: italic;
    font-weight: 700
}

del {
    text-decoration: line-through
}

abbr[title], dfn[title] {
    border-bottom: 1px dotted;
    cursor: help
}

table {
    border-collapse: collapse;
    border-spacing: 0
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0
}

input, select {
    vertical-align: middle
}

* {
    box-sizing: border-box;
    /* word-break: break-all; */
}

body {
    font-weight: 400;
    font-family: 'Noto Sans JP', 'Montserrat', sans-serif;
}

img {
    max-width: 100%;
    height: auto;
}
/* ############
layout
############ */
body {
    background: url(../img/background.jpg);
    background-size: cover;
    background-attachment: fixed
}

.wraper {
    max-width: 960px;
    width: calc(100% - 4em);
    margin: 12px auto 80px auto;
    padding: 2em 2em;
    background: rgba(255, 255, 255, 0.80);
}

@media screen and (max-width:768px) {
    .wraper {
        width: calc(100% - 2em);
        padding: 2em 1em;
    }
}

/* common-header-layout */
.header__btn {
    position: fixed;
    top: 20px;
    right: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    width: 50px;
    height: 50px;
    background-color: #a7001a;
    border-radius: 50%;
    transition: transform 250ms ease;
    cursor: pointer;
    z-index: 999999;
}

.header__btn span {
    position: relative;
    display: block;
    width: 50%;
    height: 2px;
    background-color: #FFF;
    /* float: left; */
    transform-origin: center center;
    transition: transform 250ms ease;
    z-index: 200;
}

.header__btn span:nth-of-type(1) {
    transform: translateY(-5px);
}

.header__btn span:nth-of-type(3) {
    transform: translateY(5px);
}

.language {
    position: absolute;
    right: 100px;
    bottom: 10px;
    font-weight: bold;
}
.language span{
    /* border-bottom: 1px solid; */
    color: rgb(148, 18, 18);
}
.language a{
    display: inline-block;
    /* color: rgb(148, 18, 18); */
}
nav .languagenav {
    position: absolute;
    right: 40px;
}
nav .languagenav span{
    /* border-bottom: 1px solid; */
    font-weight: bold;
    color: rgb(148, 18, 18);
}
nav ul li .languagenav a{
    display: inline-block;
    border-bottom: 0;
    /* color: rgb(148, 18, 18);   */
}

#menu {
    display: none;
}

#menu:checked~.header__btn {
    background-color: transparent;
    transform: rotate(360deg);
    transition: transform 250ms ease;
}

#menu:checked~.header__btn span {
    background-color: rgb(148, 18, 18);
    transition: transform 250ms ease;
}

#menu:checked~.header__btn span:nth-of-type(1) {
    transform: translateY(1px) rotate(45deg);
}

#menu:checked~.header__btn span:nth-of-type(2) {
    display: none;
}

#menu:checked~.header__btn span:nth-of-type(3) {
    transform: translateY(-1px) rotate(-45deg);
}



#menu:checked~main {
    transform: translateX(250px);
    transition: transform 500ms ease;
}

.header {
    width: 100%;
    height: 80px;
    position: relative;
}

.header__logo {
    position: absolute;
    left: 20px;
    top: 10px;
    width: 240px;
    /* background-color: aqua; */
}

@media screen and (max-width:320px) {
    .header__logo {
        width: 60%;
        /* background-color: aqua; */
    }
}

.header__logo img {
    width: 100%;
    height: auto;
}

.header__nav {
    position: fixed;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    margin: 0;
    padding: 0;
    z-index: 200;
    overflow: auto;
    display: none;
}

/* .header__nav ul::before { */
/* content: "";
    opacity: 0;
    position: absolute;
    top: 0;
    bottom: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px); */
/* background: rgba(0,0,0,.6); */
/* } */


.header__nav ul {
    position: absolute;
    list-style-type: none;
    background-color: #FFF;
    width: 100%;
    min-height: 100%;
    height: auto;
    padding: 0;
    right: -100%;
    z-index: 999;
    transition: right 0.5s ease-in-out;
}

.header__nav ul li {
    position: relative;
    display: block;
    border-bottom: 5px solid rgba(#ccc, 1);
    transition: right 300ms ease;
    padding: 15px 20px;

}

.header__nav ul li a {
    position: relative;
    display: block;
    margin: 0;
    color: #444;
    font-size: 14px;
    font-weight: bold;
    text-decoration: none;
    text-transform: uppercase;
}

.header__nav ul li a.nav__active{
    color: rgb(148, 18, 18);
}
.header__nav ul li a:before {
    position: absolute;
    content: '';
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    transition: width 250ms ease;
    z-index: -1;
}

.header__nav ul li a:hover {
    color: #444;
}

.header__nav ul li a:hover:before {
    width: 100%;
    height: 100%;
    background-color: rgba(white, 1);
    transition: width 250ms ease;
}

#menu:checked~.header__nav {
    display: block;
}

#menu:checked~.header__nav ul {
    right: 0;
    transition: right 0.5s ease;
}

#menu:checked~.header__nav ul::before {
    opacity: 1;
    transition: opacity 0.1s ease-in-out;
}
/*// common-header-layout */

.index {
    padding: 1em;
    background: #e9e9e9;
    max-width: 560px;
    margin-right: auto;
    margin-left: auto;
    margin-bottom: 40px;
}

.index__title {
    margin-bottom: 1em;
    padding-bottom: 0.2em;
    border-bottom: 0.5px solid #333;

}

.index__list li {
    margin-bottom: 0.7em;

}

.index__list li a {
    color: #333;
}

.article__table {
    border-top: 1px solid #444;
    border-left: 1px solid #444;
    border-right: 1px solid #444;
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 2em;
}

.article__table di {
	display: flex;
    width: 10%;
	background: #c1c1c1;
	align-items: center;
    border-bottom: 1px solid #444;
    border-right: 1px solid #444;
}

.article__table dt {
	display: flex;
    width: 30%;
    min-width: 8em;
    background: #e2e2e2;
    padding: 0.5em;
	align-items: center;
    border-bottom: 1px solid #444;
    border-right: 1px solid #444;
}

.article__table dd {
	display: flex;
    width: 70%;
	padding: 0.5em;
    align-items: center;
    border-bottom: 1px solid #444;
}

.article__table dc {
	display: flex;
    width: 60%;
	padding: 0.5em;
    align-items: center;
    border-bottom: 1px solid #444;
}


@media screen and (max-width:560px) {

    .article__table dt {
        width: 100%;
        min-width: 8em;
        background: #e2e2e2;
        padding: 0.5em;
        border-bottom: 1px solid #444;
        border-right: 0;
    }

    .article__table dd {
        width: 100%;
        padding: 0.5em;
        border-bottom: 1px solid #444;
    }
}

@media screen and (max-width:768px) {
    .header__nav {
        position: fixed;
        top: 0;
        width: 100%;
        height: 100%;
        margin: 0;
        padding: 0;
        overflow: auto;
    }
}

.footer {
    background: #333;
    color: #FFF;
    padding: 1em 2em;
    font-size: 11px;
}

.footer p {
    max-width: 930px;
    margin-right: auto;
    margin-left: auto;
    text-align: center;
    margin-bottom: 0.5em;
}

.footer p.footer__copyright {
    margin-top: 0.5em;
    text-align: center;
}


@media screen and (max-width:900px) {
    .footer p {
        text-align: justify;
    }
}

/* ############
utilidy
############ */

.u-sp {
    display: none;
}


@media screen and (max-width:989px) {
    .u-md{
        display: none;
    }
}

@media screen and (max-width:768px) {
    .u-pc {
        display: none;
    }
    .u-sp {
        display: block;
    }
}