/* ========== 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);
}

::selection {
    color: rgb(153, 204, 255);
    background: rgb(54, 57, 72);
}

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

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

h2, h3, h4 {
    color: rgb(54, 57, 72);
}

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: 1.5;
    margin-bottom: 0.6rem;
}

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

p.info {
    font-size: 0.16rem;
    text-align: right;
}

@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);
        text-align: left;
    }

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

figure img {
    width: 100%;
}

.arrow {
    margin: 0.2rem auto;
    width: 7%;
}

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

/* ========== ul ========== */
.text li {
    text-align: left;
    margin: 0.1rem 0 1.1em 0.2rem;
    word-wrap: break-word;
}

@media screen and (max-width: 1024px) {
    .text li {
        margin: 0.1rem 0 1.1em 0.4rem;
    }
}

/* ============= 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.2rem;
    left: 0.4rem;
}

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

    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;
}

/* ============= 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(54, 57, 72);
}

.menu a::after {
    position: absolute;
    bottom: -0.05rem;
    left: 50%;
    content: '';
    width: 0;
    border-bottom: solid 2px rgb(54, 57, 72);
    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(54, 57, 72);
        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(54, 57, 72);
    box-shadow: rgb(54, 57, 72) 0 0 0 0.4rem inset;
}

a.button:hover {
    color: rgb(54, 57, 72);
    background-color: rgb(255, 255, 255);
    box-shadow: rgb(54, 57, 72) 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
    }
}

@-webkit-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.jpg");
    background-repeat: no-repeat;
    background-position: center top;
    background-attachment: fixed;
    background-size: auto 600px;
    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.1rem auto 0.5rem 0.4rem;
}

#banner .image {
    flex-basis: 45%;
} 

#banner .text {
    flex-basis: 55%;
} 

#banner h1 {
    font-size: 0.5rem;
    font-weight: 600;
    color: rgb(255, 255, 255);
    line-height: 1.3;
    margin: 0 0 0.5rem;
    text-shadow: 0.04rem 0.04rem 0 rgb(0, 0, 0);
    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(54, 57, 72) 0 0 0 0.03rem inset;
}

@media screen and (max-width: 1024px) {
    #banner img {
        margin: 1.1rem auto 0.4rem 0.4rem;
    }

    #banner h1 {
        font-size: 0.8rem;
    }

    #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.jpg");
        background-size: auto 500px;
        background-attachment: scroll;
        height: auto;
    }

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

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

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

    #banner h1 {
        font-size: 0.6rem;
        margin: 1.5rem 0 0.3rem;
    }

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

/* ========== request bar ========== */
.request-bar {
    width: 100%;
    background-color: rgb(54, 57, 72);
    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(54, 57, 72);
    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(54, 57, 72);
    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;
    }
}

/* ========== about ==========  */
#about .container .list-inner {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.4rem;
}

#about .col {
    flex-basis: 48%;
    background-color: rgb(255, 255, 255);
    border-radius: 0.1rem;
    background-repeat: no-repeat;
    background-position: 0.2rem 0.18rem;
    background-size: 0.8rem;
    height: auto;
}

#about .col.first {
    background-image: url("../img/about01.svg");
}

#about .col.second{
    background-image: url("../img/about02.svg");
}

#about .col.third {
    background-image: url("../img/about03.svg");
}

#about .col.forth{
    background-image: url("../img/about04.svg");
}

#about .col h4 {
    text-align: left;
    margin: 0.18rem 0.2rem 0.05rem 1.15rem;
    padding: 0;
}

#about .contents .list-inner {
    border-radius: 0.1rem;
}

#about .contents .list-inner .cols {
    margin: 0.3rem;
}

#about .col ul {
    margin: 0 0.2rem 0.2rem 1.35rem;
}

#about .col li {
    text-align: left;
}

#about .image {
    background-color: rgb(255, 255, 255);
    border-radius: 0.1rem;
    padding: 0.5rem;
}

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

about .subs .image  {
    margin-bottom: 0;
}

#about .con-inner {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
}

#about .con-inner .con-img {
    flex-basis: 27%;
}

#about .con-inner .con-img img {
    border-radius: 0.1rem;
}

#about .con-inner .con-txt {
    flex-basis: 73%;
    padding-left: 0.5rem;
}

#about .con-inner .con-txt p {
    text-align: left;
    margin-bottom: 0.1rem;
}

#about .con-inner .con-txt p.info {
    text-align: right;
}

#about .con-inner-first {
    margin-bottom: 1rem;
}

#about .con-inner-first .image {
    margin-bottom: 0.3rem;
}

#about h4 {
    padding-bottom: 0.4rem;
}

@media screen and (max-width: 1024px) {
    #about .list-inner, #about .con-inner {
        flex-direction: column;
    }

    #about .col {
        background-position: 0.5rem 0.3rem;
        background-size: 1.5rem;
    }

    #about .col.first, #about .col.third {
        margin-bottom: 0.5rem;
    }

    #about .col h4 {
        margin: 2rem 0.5rem 0.05rem 0.5rem;
    }

    #about .contents .list-inner {
        padding-top: 0;
    }
    
    #about .contents .list-inner .cols img {
        max-width: 80%;
    }

    #about .col ul {
        margin: 0 0.2rem 0.2rem 0.8rem;
    }

    #about .image {
        padding: 0.2rem;
    }

    #about .con-inner .con-img img {
        margin: 0.2rem 0 0.5rem 0;
    }

    #about .con-inner .con-txt {
        padding-left: 0;
    }
}

/* ========== analysis ========== */
#analysis .container .list-inner, #output .container .list-inner {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

#analysis .container .list-inner .col {
    flex-basis: 32%;
    background-color: rgb(235, 237, 243);
    border-radius: 0.1rem;
    padding: 0.2rem;
}

#analysis h3, #output h3 {
    font-size: 0.2rem;
    font-weight: 600;
    padding: 0.2rem 0;
    text-align: left;
}

#analysis .col p, #output .col p {
    font-size: 0.16rem;
    margin-bottom: 0.1rem;
    text-align: left;
}

@media screen and (max-width: 1024px) {
    #analysis .container .list-inner, #output .container .list-inner {
        display: flex;
        flex-direction: column;
        margin-bottom: 0.5rem;
    }

    #analysis .container .list-inner .col, #output .container .list-inner .col {
        padding: 0.4rem;
        margin-bottom: 0.5rem;
    }

    #analysis .container .list-inner .col:last-child, #output .container .list-inner .col:last-child {
        margin-bottom: 0;
    }

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

    #analysis .col p, #output .col p {
        font-size : calc((0.2rem  * 100 / 50) * 0.66);
    }
}

/* ========== output ========== */
#output .container .list-inner .col {
    flex-basis: 48%;
    background-color: rgba(153, 204, 255, 0.3);
    border-radius: 0.1rem;
    padding: 0.2rem;
}

/* ========== exercis  ========== */
#exercise .container .contents {
    display: flex;
    justify-content: space-around; 
    margin-bottom: 0.5rem;
}

#exercise .container .contents .col .image {
    background-color: rgb(235, 237, 243);
    border-radius: 0.1rem;
    padding: 0.5rem; 
    width: 5rem;
}

@media screen and (max-width: 1024px) {
    #exercise .container .contents {
        flex-direction: column;
        justify-content: center; 
    }

    #exercise .container .contents .col .image {
        width: 100%;
        margin-bottom: 0.5rem;
    }
}

/* ========== footer ========== */
footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: rgb(255, 255, 255);
    background-color: rgb(61, 66, 91);
}

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);
    }
}