/*
  Josh's Custom CSS Reset
  https://www.joshwcomeau.com/css/custom-css-reset/
*/
*, *::before, *::after {
    box-sizing: border-box;
}
* {
    margin: 0;
    padding: 0;
}
html, body {
    height: 100%;
}
body {
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    font-family: "Hiragino Mincho ProN W3", "ヒラギノ明朝 ProN W3", 'Noto Serif JP', "游明朝", "Yu Mincho", YuMincho, serif;
    font-weight: 300;
}
input, button, textarea, select {
    font: inherit;
}
p, h1, h2, h3, h4, h5, h6 {
    overflow-wrap: break-word;
    font-weight: normal;
}
#root, #__next {
    isolation: isolate;
}
ul {
    list-style: none;
}
img, svg {
    border-style: none;
    display: block;
    max-width: 100%;
    height: auto;
}

/* 一貫した行間隔を定義。 */
:root {
    line-sizing: normal;
}
   
/* CJK言語（中国語、日本語、韓国語）での句読点の間隔を変更。 */
:root {
    text-spacing: trim-start allow-end trim-adjacent ideograph-alpha ideograph-numeric;
}

html {
    font-size: 62.5%;
}
body {
    font-size: 100%;
    letter-spacing: 1px; letter-spacing: 0.1rem;
    padding-top: 70px;
    background-color: #000;
    color: #fff;
}
.lower {
    padding-top: 71px;
    color: #000;
    background-color: #fafafa;
}





.wbr {
    display: none;
}
@media screen and (max-width: 479px)
{
    .to-480 {
        display: block;
    }
}
@media screen and (min-width: 480px) and (max-width: 719px)
{
    .to-720 {
        display: block;
    }
}
@media screen and (min-width: 720px) and (max-width: 959px)
{
    .to-960 {
        display: block;
    }
}
@media screen and (min-width: 960px) and (max-width: 1239px)
{
    .to-1240 {
        display: block;
    }
}
@media screen and (min-width: 1240px)
{
    .over-1240 {
        display: block;
    }
}





#header {
    width: 100%;
    height: 70px;
    background-color: rgba(0,0,0,1);
    padding: 17px 20px;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999;
}
.lower #header {
    height: 71px;
    background-color: rgba(255,255,255,1);
    border-bottom: solid 1px #e6e6e6;
}

#logo {
    width: 124px;
}

#gnav {
    width: 100%;
    height: 0;
    position: fixed;
    top: 70px;
    left: 0;
    overflow: hidden;
    pointer-events: none;
    transition: 0s;
    transition-delay: .4s;
}
.lower #gnav {
    top: 71px;
}
#header.open #gnav {
    height: 100%; height: calc(100% - 70px);
    overflow: auto;
    pointer-events: inherit;
    transition-delay: 0s;
}
.lower #header.open #gnav {
    height: 100%; height: calc(100% - 71px);
}

#gnav ul {
    background-color: #000;
    padding: 48px 45px 32px 45px;
    position: relative;
    opacity: 0;
    -webkit-transition: .4s;
    transition: .4s;
}
.lower #gnav ul {
    background-color: rgba(255,255,255,1);
}
#header.open #gnav ul {
    padding: 40px 45px 40px 45px;
    opacity: 1;
}

#gnav ul li {
    font-size: 15px; font-size: 1.5rem;
    line-height: 25px; line-height: 2.5rem;
    letter-spacing: 0;
    border-top: solid 1px rgba(255,255,255,0.5);
}
.lower #gnav ul li {
    border-top-color: #e6e6e6;
}
.lower #gnav ul li:first-of-type {
    border-top: none;
}

#gnav ul li a,
#gnav ul li span {
    display: block;
    text-decoration: none;
    text-align: center;
    color: #fff;
    white-space: nowrap;
    padding: 22px 0;
    position: relative;
}
.lower #gnav ul li a {
    color: #000;
}
#gnav ul li span {
    color: rgba(255,255,255,0.3);
}
.lower #gnav ul li span {
    color: rgba(0,0,0,0.3);
}

#nav-toggle {
	-webkit-appearance: none;
	appearance: none;
	background-image: none;
	border: none;
	border-radius: 0;
	color: inherit;
	font-family: inherit;
	font-size: 1em;

    width: 35px;
    height: 35px;
	background-color: transparent;
    position: absolute;
    top: 20px;
    right: 15px;
}
#nav-toggle span,
#nav-toggle::before,
#nav-toggle::after {
    display: block;
    width: 25px;
    height: 1px;
    background-color: #fff;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    margin: auto;
    -webkit-transition: .4s;
    transition: .4s;
}
.lower #nav-toggle span,
.lower #nav-toggle::before,
.lower #nav-toggle::after {
    background-color: #000;
}

#nav-toggle::before,
#nav-toggle::after {
    content: "";
}
#nav-toggle::before {
    top: 16px;
}
#nav-toggle::after {
    bottom: 16px;
}

#header.open #nav-toggle span {
    opacity: 0;
    width: 0;
}
#header.open #nav-toggle::before {
    top: 0;
    -webkit-transform: rotate(-135deg);
    transform: rotate(-135deg);
}
#header.open #nav-toggle::after {
    bottom: 0;
    -webkit-transform: rotate(135deg);
    transform: rotate(135deg);
}

@media screen and (min-width: 960px)
{
    #header {
        padding: 0;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    #logo {
        width: 144px;
        min-width: 144px;
        max-width: 144px;
    }
    #logo img {
        min-width: 124px;
        max-width: 124px;
        margin: 0 0 0 20px;
    }

    #gnav,
    #header.open #gnav {
        width: auto;
        height: auto;
        position: relative;
        top: auto;
        left: auto;
        overflow: visible;
        pointer-events: inherit;
    }
    .lower #gnav,
    .lower #header.open #gnav {
        height: auto;
        top: auto;
    }

    #gnav ul,
    #header.open #gnav ul {
        opacity: 1;
        padding: 0 14px;
        display: flex;
        justify-content: center;
        background: transparent;
    }
    #gnav ul li {
        margin: 0 6px;
        border-top: none;
    }
    #gnav ul li a,
    #gnav ul li span {
        padding: 22px 6px 23px 6px;
    }
    #gnav ul li a::after {
        content: "";
        display: block;
        width: 0;
        height: 1px;
        background-color: rgba(255,255,255,0.4);
        position: absolute;
        right: 0;
        bottom: 16px;
        left: 0;
        margin: auto;
        opacity: 0;
        transition: .2s;
    }
    .lower #gnav ul li a::after {
        background-color: rgba(0,0,0,1);
        bottom: -1px;
    }
    #gnav ul li a:hover::after,
    .lower #gnav ul li a.current::after {
        width: 100%;
        opacity: 1;
    }

    #nav-toggle {
        display: none;
    }
}

@media screen and (min-width: 1280px)
{
    #header::after {
        content: "";
        display: block;
        width: 224px;
    }

    #logo {
        width: 224px;
        min-width: 224px;
        max-width: 224px;
    }
    #logo img {
        margin: 0 auto;
    }

    #gnav ul,
    #header.open #gnav ul {
        padding: 0 12px;
    }
    #gnav ul li {
        margin: 0 14px;
        border-top: none;
    }
}





#main {
    display: block;
}

#page-header {
    background-color: #fff;
    box-shadow: 0 0 8px rgba(0,0,0,0.1);
}
#page-header-title {
    display: flex;
    align-items: center;
    padding: 0 26px; padding: 0 7.111vw;
    min-height: 58px; min-height: 15.555vw;
}
#page-header-title span {
    display: inline-block;
    vertical-align: middle;
}
#page-header-title .ja {
    font-size: 22px; font-size: 2.2rem; font-size: 5.777vw;
    line-height: 32px; line-height: 3.2rem; line-height: 8.444vw;
    margin-right: 20px; margin-right: 5.333vw;
}
#page-header-title .en {
    font-size: 10px; font-size: 1.0rem; font-size: 2.666vw;
    color: #6e6e6e;
}

.page-nav {
    border-top: solid 1px #e6e6e6;
    max-width: 100%;
    overflow: auto;
}
/*
.page-nav ul {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 8px;
    min-height: 58px; min-height: 15.555vw;
}
.page-nav ul li {
    font-size: 11px; font-size: 1.1rem; font-size: 2.888vw;
    line-height: 21px; line-height: 2.1rem; line-height: 5.555vw;
    margin: 0 6px; margin: 0 1.777vw;
    white-space: nowrap;
}
*/
.page-nav ul {
    display: flex;
    align-items: center;
    padding: 0 8px;
    min-height: 58px; min-height: 15.555vw;
}
.page-nav ul li {
    font-size: 11px; font-size: 1.1rem; font-size: 2.888vw;
    line-height: 21px; line-height: 2.1rem; line-height: 5.555vw;
    margin: 0 6px; margin: 0 1.777vw;
    white-space: nowrap;
}
.page-nav ul li:first-of-type {
    padding-left: 8px;
}
.page-nav ul li:last-of-type {
    padding-right: 20px;
}
.page-nav ul li a {
    display: block;
    padding: 18px 6px; padding: 4.888vw 1.777vw;
    text-decoration: none;
    color: inherit;
    position: relative;
}
.page-nav ul li a::after {
    content: "";
    display: block;
    width: 0;
    height: 1px;
    background-color: rgba(0,0,0,0.2);
    position: absolute;
    bottom: 15px; bottom: 4vw;
    left: 0;
    right: 0;
    margin: 0 auto;
    opacity: 0;
    -webkit-transition: .2s;
    transition: .2s;
}
.page-nav ul li a:hover::after {
    width: 100%;
    opacity: 1;
}

@media screen and (min-width: 450px)
{
    #page-header-title {
        padding: 0 32px;
        min-height: 70px;
    }
    #page-header-title .ja {
        font-size: 26px; font-size: 2.6rem;
        line-height: 38px; line-height: 3.8rem;
        margin-right: 24px;
    }
    #page-header-title .en {
        font-size: 12px; font-size: 1.2rem;
    }

    .page-nav ul {
        padding: 0 8px;
        min-height: 70px;
    }
    .page-nav ul li {
        font-size: 13px; font-size: 1.3rem;
        line-height: 25px; line-height: 2.5rem;
        margin: 0 8px;
    }
    .page-nav ul li a {
        padding: 22px 8px;
    }
    .page-nav ul li a::after {
        bottom: 18px;
    }
}

@media screen and (min-width: 960px)
{
    .page-nav ul {
        justify-content: center;
        flex-wrap: wrap;
    }
    .page-nav ul li:first-of-type {
        padding-left: 0;
    }
    .page-nav ul li:last-of-type {
        padding-right: 0;
    }
}

@media screen and (min-width: 1280px)
{
    #page-header-title {
        padding: 0 48px;
    }
}





#footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #000;
    color: #fff;
    font-size: 11px; font-size: 1.1rem; font-size: 2.888vw;
    line-height: 19px; line-height: 1.9rem; line-height: 5.111vw;
    padding-top: 16px; padding-top: 4.444vw;
}
#footer a {
    text-decoration: none;
    color: #fff;
}
#footer-info {
    padding: 58px 0; padding: 15.555vw 0;
    text-align: center;
}
#footer-info-logo {
    width: 200px; width: 53.333vw;
    margin: 0 auto 25px auto; margin-bottom: 6.666vw;
}
#footer-info-address a:hover {
    text-decoration: underline;
}
#footer-info-address span {
    display: inline-block;
    margin: 0 2px;
}
#footer-nav {
    display: none;
}
#footer-nav li span {
    color: rgba(255,255,255,0.3);
}
#copyright {
    width: 100%;
    border-top: solid 1px #6e6e6e;
    padding: 40px 16px; padding: 10.666vw 4.444vw;
    text-align: center;
    font-size: 10px; font-size: 1.0rem; font-size: 2.666vw;
    line-height: 16px; line-height: 1.6rem; line-height: 4.444vw;
    letter-spacing: 0; letter-spacing: 0.075rem; letter-spacing: 0.208vw;
}

@media screen and (min-width: 450px)
{
    #footer {
        font-size: 13px; font-size: 1.3rem;
        line-height: 23px; line-height: 2.3rem;
        padding-top: 20px;
    }
    #footer-info {
        padding: 70px 0;
    }
    #footer-info-logo {
        width: 240px;
        margin-bottom: 30px;
    }
    #copyright {
        padding: 48px 20px;
        font-size: 12px; font-size: 1.2rem;
        line-height: 20px; line-height: 2.0rem;
        letter-spacing: 1px; letter-spacing: 0.1rem;
    }
}

@media screen and (min-width: 880px)
{
    #footer {
        padding-top: 30px;
    }
    #footer-info {
        padding: 100px 0;
    }
    
    #footer-nav {
        display: block;
        padding-bottom: 40px;
    }
    #footer-nav ul {
        display: flex;
    }
    #footer-nav ul li {
        margin: 0 10px;
    }
    #footer-nav ul li a {
        padding: 6px;
        position: relative;
    }
    #footer-nav ul li a::after {
        content: "";
        display: block;
        width: 0;
        height: 1px;
        background-color: rgba(255,255,255,0.4);
        position: absolute;
        right: 0;
        bottom: 0;
        left: 0;
        margin: auto;
        opacity: 0;
        transition: .2s;
    }
    #footer-nav ul li a:hover::after {
        width: 100%;
        opacity: 1;
    }
    
    #copyright {
        font-size: 13px; font-size: 1.3rem;
        line-height: 23px; line-height: 2.3rem;
    }
}
