/* ========== basics ========== */
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, #nav, output, ruby, section, summary, time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font: inherit;
    vertical-align: baseline;
}

* {
    box-sizing: border-box;
    scroll-behavior: smooth;
}

html {
    font-size: 100px;
    line-height: 1.7;
}

body {
    color: rgb(92, 92, 93);
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    font-size: 0.16rem;
    background-color: rgb(235, 237, 243);
}

.content a:link, .content a:visited, .content a:active {
    color: rgb(255, 114, 0);
}

.content a:hover{
    opacity:0.5;
}

::selection {
    color: rgb(255, 210, 174);
    background: rgb(24, 61, 83);
}

section.light {
    background-color: rgb(255, 255, 255);
}

.container {
    margin: 0 auto;
    padding: 1.5rem 0.4rem;
}

h2, h3, h4 {
    color: rgb(24, 61, 83);
}

h2 {
    font-size: 0.5rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
}

h3 {
    font-size: 0.35rem;
    font-weight: 600;
    padding-bottom: 0.2rem;
}

h4 {
    font-size: 0.25rem;
    font-weight: 600;
    padding-bottom: 0.2rem;
}

p {
    font-size: 0.25rem;
    line-height: 2;
    margin-bottom: 0.6rem;
}

p.lede {
    font-size: 0.2rem;
}

p.info {
    font-size: 0.12rem;
    text-align: left;
    margin: 0.25rem auto 0;
}

p span {
    color: rgb(153, 153, 153);
}

span.info {
    font-size: 0.15rem;
    color: rgb(153, 153, 153);
}

@media screen and (max-width: 1024px) {
    html {
        font-size: 50px;
    }

    body {
        font-size : calc((0.16rem * 100 / 50) * 0.9);
    }

    h2 {
        font-size : calc((0.4rem  * 100 / 50) * 0.66);
    }

    h3 {
        font-size : calc((0.3rem  * 100 / 50) * 0.66);
    }

    h4 {
        font-size : calc((0.25rem  * 100 / 50) * 0.66);
    }

    p {
        font-size : calc((0.25rem  * 100 / 50) * 0.66);
    }

    p.lede {
        font-size : calc((0.25rem  * 100 / 50) * 0.66);
    }

    p.info, span.info {
        font-size : calc((0.16rem  * 100 / 50) * 0.66);
    }
}

figure img {
    width: 100%;
}


span.url {
    word-break: break-all;
}

/* ============= header ============= */
header {
    background-color: rgb(255, 255, 255);
    width: 100%;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 1;
}

@media screen and (max-width: 1024px) {
    header {
        height: 50px;
    }
}

/* ============= logo ============= */
.logo {
    width: 160px;
    height: auto;
}

header .logo {
    position: fixed;
    top: 0.15rem;
    left: 0.4rem;
}

@media screen and (max-width: 1024px) {
    .logo {
        width: 100px;
    }

    header .logo {
        margin-top: 0.1rem;
    }
}

/* ============= nav ============= */
nav {
    margin: auto 0;
    display: flex;
    align-items: center;
}

nav ul {
    display: flex;
}

nav li {
    list-style-type: none;
    padding: 0.1rem 0.15rem;
}

/* ============= links ============= */
a {
    text-decoration: none;
}

.container a {
    color: rgb(255, 114, 0);
    position: relative;
    display: inline-block;
    transition: 0.3s;
}

.container a:hover {
    color: rgb(255, 114, 0);
}

.container a::after {
    position: absolute;
    bottom: -0.05rem;
    left: 50%;
    content: '';
    width: 0;
    border-bottom: solid 2px rgb(255, 114, 0);
    transition: 0.3s;
    transform: translateX(-50%);
}

.container a:hover::after {
    width: 100%;
}

/* ============= burger ============= */
.burger {
    display: none;
}

@media screen and (max-width: 1280px) {
    .burger {
        display: block;
        position: absolute;
        right: 0.4rem;
        top: 0.3rem;
        z-index: 10;
        cursor: pointer;
        transform: rotateY(0);
        transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    }

    .burger-line {
        width: 28px;
        height: 2px;
        margin: 0 0 4px 0;
        background-color: rgb(51, 51, 51);
        transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    }

    .burger-line:last-child {
        margin-bottom: 0;
    }

    .burger-close {
        transform: rotate(180deg);
    }

    .burger-close .burger-line:nth-child(1) {
        background-color: rgb(255, 255, 255);
        transform: rotate(45deg) translate(4px, 4px);
    }

    .burger-close .burger-line:nth-child(2) {
        opacity: 0;
    }

    .burger-close .burger-line:nth-child(3) {
        background-color: rgb(255, 255, 255);
        transform: rotate(-45deg) translate(5px, -4px);
    }
}

/* ============= menu ============= */
.menu .menu-item:nth-child(1) {
    display: none;
}

.menu a {
    color: rgb(51, 51, 51);
    position: relative;
    display: inline-block;
    transition: 0.3s;
}

.menu a:hover {
    color: rgb(24, 61, 83);
}

.menu a::after {
    position: absolute;
    bottom: -0.05rem;
    left: 50%;
    content: '';
    width: 0;
    border-bottom: solid 2px rgb(24, 61, 83);
    transition: 0.3s;
    transform: translateX(-50%);
}

.menu a:hover::after {
    width: 100%;
}

@media screen and (max-width: 1280px) {
    .menu {
        position: fixed;
        top: 0;
        width: 100%;
        visibility: hidden;
    }

    .menu-active {
        visibility: visible;
    }

    .menu a {
        color: rgb(255, 255, 255);
        font-size: 0.45rem;
        margin: 0.1rem 0;
    }

    .menu a:hover {
        color: rgb(255, 255, 255);
    }

    .menu a::after {
        border-bottom: solid 2px rgb(255, 255, 255);
    }

    .menu-list {
        display: flex;
        flex-flow: column;
        align-items: center;
        justify-content: center;
        width: 100%;
        height: 100vh;
        overflow: hidden;
        background: rgb(24, 61, 83);
        list-style-type: none;
        transform: translate3d(0, -100%, 0);
        transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    }

    .menu-list-active {
        transform: translate3d(0, 0, 0);
    }

    .menu-item {
        transform: translate3d(500px, 0, 0);
        transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    }

    .menu-item-active {
        transform: translate3d(0, 0, 0);
    }

    .menu-link:hover:before {
        width: 100%;
    }

    .menu .menu-item:nth-child(1) {
        display: block;
        transition-delay: 0.1s;
    }

    .menu .menu-item:nth-child(2) {
        transition-delay: 0.2s;
    }

    .menu .menu-item:nth-child(3) {
        transition-delay: 0.3s;
    }

    .menu .menu-item:nth-child(4) {
        transition-delay: 0.4s;
    }

    .menu .menu-item:nth-child(5) {
        transition-delay: 0.5s;
    }

	.menu .menu-item:nth-child(6) {
        transition-delay: 0.6s;
    }
}

/* ============= button ============= */
.button-box {
    margin-right: 0.4rem;
}

a.button {
    color: rgb(255, 255, 255);
    transition: all 200ms cubic-bezier(0.390, 0.500, 0.150, 1.360);
    border-radius: 2rem;
    padding: 0.15rem 0.2rem;
    background-color: rgb(24, 61, 83);
    box-shadow: rgb(24, 61, 83) 0 0 0 0.4rem inset;
}

a.button:hover {
    color: rgb(24, 61, 83);
    background-color: rgb(255, 255, 255);
    box-shadow: rgb(24, 61, 83) 0 0 0 0.02rem inset;
}

@media screen and (max-width: 1280px) {
    header a.button {
        padding: 0.15rem 0.5rem;
        margin-right: 1.25rem;
    }
}

/* ========== animation ========== */
@keyframes fade-in-up {
    from {
        transform: translate3d(0,40px,0)
    }

    to {
        transform: translate3d(0,0,0);
        opacity: 1
    }
}


.animated {
    animation-duration: 1s;
    animation-fill-mode: both;
}

.animated01 {
    animation-duration: 2s;
    animation-fill-mode: both;
}

.animated-fade-in-up {
    opacity: 0
}

.fade-in-up {
    opacity: 0;
    animation-name: fade-in-up;
}

/* ============= inner ============= */
.inner {
    max-width: 1200px;
    width: auto;
    margin: 0 auto;
    text-align: center;
}

/* ============= banner ============= */
#banner {
    background-color: rgb(1, 22, 34);
    background-image: url("../img/banner-p.jpg");
    background-repeat: no-repeat;
    background-position: center top;
    background-attachment: fixed;
    background-size: auto 6rem;
    height: auto;
}

#banner-terms {
    background-color: rgb(1, 22, 34);
    background-image: url("../img/terms-banner.jpg");
    background-repeat: no-repeat;
    background-position: center -2.5rem;
    background-attachment: fixed;
    background-size: cover;
    height: 3.0rem;
}

#banner .inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#banner img {
    width: 100%;
    margin: 1.5rem auto 0.5rem 200%;
}

#banner .image {
    flex-basis: 1.5rem;
}

#banner h1 {
    font-size: 0.32rem;
    font-weight: 600;
    color: rgb(24, 61, 83);
    line-height: 1.3;
    margin: 0 0 0.5rem;
    text-shadow: 0.04rem 0.04rem 0 rgb(255, 255, 255);
    mix-blend-mode: screen;
}

#banner-terms h1 {
    font-size: 0.5rem;
    font-weight: 600;
    color: rgb(255, 255, 255);
    line-height: 1.3;
    margin: 0;
    padding: 1.3rem 0 0 0;
}

#banner a.button {
    font-size: 0.3rem;
    border-radius: 2rem;
    padding: 0.15rem 0.6rem;
}

#banner a.button:hover {
    box-shadow: rgb(24, 61, 83) 0 0 0 0.03rem inset;
}

@media screen and (max-width: 1024px) {
    #banner img {
        width: 110%;
        margin: 1.8rem auto 0.5rem 520%;
    }

    #banner h1 {
        font-size: 0.5rem;
        margin: 1rem 0 0.5rem;
    }

    #banner a.button {
        font-size: 0.5rem;
        border-radius: 2rem;
        padding: 0.25rem 1.0rem;
    }
}

@media screen and (max-width: 896px) {
    #banner {
        background-color: rgb(246, 246, 246);
        background-image: url("/img/banner-mo-p.jpg");
        background-size: auto 500px;
        background-attachment: scroll;
        height: auto;
    }

    #banner .inner {
        flex-direction: column-reverse;
    }

    #banner img {
        width: 60%;
    }

    #banner .image {
        margin: 0 0.4rem;
    }

    #banner img {
        margin: 0.9rem 0 0.5rem;
    }

    #banner h1 {
        font-size: 0.4rem;
        color: rgb(255, 255, 255);
        margin: 1.5rem 0 0.3rem;
        text-shadow: 0.04rem 0.04rem 0 rgb(24, 61, 83);
    }

    #banner a.button {
        font-size: 0.4rem;
    }
}

/* ========== Request bar ========== */
.request-bar {
    width: 100%;
    background-color: rgb(24, 61, 83);
    display: flex;
    justify-content: center;
    align-items: center;
}

.request-bar p, #terms .request-bar p {
    font-size: 0.25rem;
    color: rgb(255, 255, 255);
    margin: 0 0.4rem;
    padding: 0;
}

.request-bar a.button {
    font-size: 0.25rem;
    color: rgb(24, 61, 83);
    margin: 0.2rem 0.4rem;
    padding: 0.15rem 1.0rem;
    background-color: rgb(255, 255, 255);
    box-shadow: rgb(255, 255, 255) 0 0 0 0.4rem inset;
}

.request-bar a.button:hover {
    color: rgb(255, 255, 255);
    background-color: rgb(24, 61, 83);
    box-shadow: rgb(255, 255, 255) 0 0 0 0.03rem inset;
}

@media screen and (max-width: 1024px) {
    .request-bar p, #terms .request-bar p {
        font-size: 0.35rem;
    }

    .request-bar a.button {
        font-size: 0.4rem;
        margin: 0.25rem 0.4rem 0.25rem;
        padding: 0.15rem 1.5rem;
    }
}

@media screen and (max-width: 896px) {
    .request-bar {
        flex-direction: column;
    }

    .request-bar p, #terms .request-bar p {
        font-size: 0.3rem;
        margin: 0.3rem 0.4rem 0;
    }

    .request-bar a.button {
        font-size: 0.3rem;
        margin: 0.2rem 0.4rem 0.5rem;
        padding: 0.15rem 2.0rem;
    }
}

/* ========== Contents ==========  */
.content .image {
    background-color: rgb(255, 255, 255);
    border-radius: 0.1rem;
    padding: 0.5rem;
}

.contents .image {
    background-color: rgb(235, 237, 243 );
    border-radius: 0.1rem;
    padding: 0.5rem;
}

.sub .image {
    margin-bottom: 1rem;
}

/* ========== About ========== */
@media screen and (max-width: 896px) {
    #about p.lede {
        text-align: left;
    }
}

/* ========== Merit ========== */
#merit-third .flush {
    padding-bottom: 0;
    margin-bottom: 0;
    border-radius: 0.1rem 0.1rem 0 0;
}

#merit-third .transform {
    border-radius: 0 0 0.1rem 0.1rem;
}

@media screen and (max-width: 896px) {
    #merit p.lede {
        text-align: left;
    }
}

/* ========== Scene ========== */
#scene h3 {
    padding-bottom: 0.1rem;
}

#scene p.lede {
    color: rgb(24, 61, 83);
    font-size: 0.25rem;
    font-weight: 600;
    padding-bottom: 0;
}

#scene figure img {
    padding-bottom: 0.5rem;
}

@media screen and (max-width: 1024px) {
    #scene p.lede {
        font-size: 0.35rem;
        text-align: center;
        line-height: 1.5;
    }
}

@media screen and (max-width: 896px) {
    #scene p.lede {
        font-size: 0.35rem;
        text-align: center;
        line-height: 1.5;
    }
}

/* ========== FAQ ========== */
#faq .faq-list {
    margin: 0 auto;
    text-align: left;
}

.faq-item {
    margin-bottom: 0.5rem;
    padding: 0.1rem 0;
    border-bottom: 1px solid #e0e0e0;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-question {
    display: flex;
    align-items: center;
    text-align: left;
}

.faq-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 0.5rem;
    height: 0.25rem;
    color: rgb(59, 119, 251);
    font-size: 1.5rem;
    font-weight: normal;
    flex-shrink: 0;
    font-variation-settings: 'FILL' 0, 'wght' 500, 'GRAD' 0, 'opsz' 48;
}

.faq-text {
    font-size: 0.25rem;
    font-weight: 600;
    line-height: 1.5;
}

.faq-answer {
    font-size: 0.25rem;
    line-height: 1.5;
    margin: 0.25rem 0.25rem 0.5rem 0.5rem;
    text-align: left;
}

@media screen and (max-width: 1024px) {
    .faq-icon {
        width: 1rem;
        height: 0.5rem;
        font-size: 1rem;
        margin-right: 0.6rem;
        font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 20;
    }

    .faq-text {
        font-size: 0.35rem;
    }

    .faq-answer {
        font-size: 0.3rem;
        margin-left: 1.6rem;
    }
}

@media screen and (max-width: 896px) {
    .faq-item {
        margin-bottom: 1rem;
        padding: 0.6rem 0;
    }

    .faq-icon {
        width: 0.9rem;
        height: 0.9rem;
        font-size: 0.9rem;
        margin-right: 0.5rem;
        font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 18;
    }

    .faq-text {
        font-size: 0.3rem;
    }

    .faq-answer {
        font-size: 0.25rem;
        margin-left: 1.4rem;
    }
}

/* ========== footer ========== */
footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: rgb(255, 255, 255);
    background-color: rgb(6, 31, 25);
}

footer .inner {
    margin: 0.5rem 0;
}

footer .logo {
    margin: 0 auto;
}

footer .links {
    margin: 0.5rem 0;
}

footer .links a {
    color: rgb(255, 255, 255);
    margin: auto 0.15rem 0.15rem;
    position: relative;
    display: inline-block;
    transition: 0.3s;
}

footer .links a:hover {
    color: rgb(216, 226, 243);
}

footer .links a::after {
    position: absolute;
    bottom: -0.05rem;
    left: 50%;
    content: '';
    width: 0;
    border-bottom: solid 2px rgb(216, 226, 243);
    transition: 0.3s;
    transform: translateX(-50%);
}

footer .links a:hover::after {
    width: 100%;
}

footer .copyright p {
    font-size: 0.16rem;
}

@media screen and (max-width: 896px) {
    footer .copyright p {
        font-size : calc((0.2rem  * 100 / 50) * 0.66);
    }
}
