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

::selection {
    color: rgb(0, 0, 0);
    background: rgb(252, 233, 122);
}

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

.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.16rem;
    line-height: 1.5;
    margin-bottom: 0.6rem;
    text-align: left;
}

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

p.info {
    font-size: 0.16rem;
    text-align: center;
    margin-bottom: 0;
}

@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.2rem  * 100 / 50) * 0.66);
    }

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

    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;
    border-bottom: 0.01rem solid rgba(204, 201, 184, 0.5);
}

@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: 1024px) {
    .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 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: 1024px) {
    .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: 1024px) {
    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;
}

.line-bottom {
    display: block;
    border-bottom: 0.01rem solid rgb(204, 201, 184);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
}

/* ============= banner ============= */
#banner {
    background-color: rgb(252, 233, 122);
    background-image: url("../img/banner.jpg");
    background-repeat: no-repeat;
    background-position: center top;
    background-attachment: scroll;
    background-size: auto auto;
    height: auto;
}

#banner .text {
    text-align: left;
    margin-left: 55%;
    padding-bottom: 1rem;
}

#banner h1 {
    font-size: 0.3rem;
    font-weight: 600;
    color: rgb(54, 57, 72);
    line-height: 1.5;
    margin: 0 0 0.5rem;
    padding: 1.5rem 0 0.05rem 0;
    mix-blend-mode: screen;
}

#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 h1 {
        font-size: 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(252, 233, 122);
        background-image: url("../img/banner-mo.jpg");
        background-size: 100% auto;
        background-position: center 50%;
        background-attachment: scroll;
        height: auto;
    }
    
    #banner .text {
        text-align: center;
        margin-left: auto;
    }

    #banner h1 {
        font-size: 0.4rem;
        margin: 1rem 0 0.3rem;
        padding-top: 1rem;
    }

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

/* ========== request bar ========== */
.request-bar {
    width: 100%;
    background-color: rgb(54, 57, 72);
    display: flex;
    justify-content: center;
    align-items: center;
}

.request-bar p, .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(252, 233, 122);
    box-shadow: rgb(252, 233, 122) 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 {
        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 {
        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 .image {
    padding: 0.2rem 0 0.7rem 0;
}

@media screen and (max-width: 1024px) {
    #about .image {
        padding: 0.2rem 0 1rem 0;
    }
}

.comparison-table {
    border-collapse: collapse;
    margin: 0.3rem 0;
    font-size: 0.15rem;
    min-width: 100%;
    overflow: hidden;
    border: 0.01rem solid rgb(221, 221, 221);
}

.comparison-table thead tr {
    border-bottom: 0.01rem solid rgb(221, 221, 221);
}

.comparison-table th {
    font-weight: 600;
    vertical-align: middle;
}

.comparison-table th,
.comparison-table td {
    padding: 0.1rem 0.2rem;
    border-right: 0.01rem solid rgb(221, 221, 221);
    background-color: rgb(240, 240, 240);
}

.comparison-table tbody tr {
    background-color: rgb(255, 255, 255);
    border-bottom: 0.01rem solid rgb(221, 221, 221);
}

.comparison-table thead tr th {
    font-weight: 600;
    color: rgba(0, 0, 0, 0.7);
}

.comparison-table thead tr th.important {
    background-color: rgb(253, 243, 179);
    width: 28%;
}

.comparison-table td {
    background-color: rgb(255, 255, 255);
}

.comparison-table tbody td.important {
    background-color: rgb(252, 248, 227);
}

.comparison-table th {
    width: 18%;
}

.comparison-table td p {
    text-align: center;
    background-color: rgba(0, 0, 0, 0.1);
    padding: 0.1rem 0;
    margin: 0.2rem 0;
    border-radius: 0.05rem;
}

.comparison-table td span.gray {
    font-size: 0.17rem;
    color: rgba(0, 0, 0, 0.5);
}

.comparison-table td span.gray-s {
    font-size: 0.15rem;
    color: rgba(0, 0, 0, 0.5);
}

.comparison-table td .material-symbols-rounded {
    font-size: 0.5rem;
    font-weight: 700;
    font-variation-settings:
    'FILL' 0,
    'wght' 400,
    'GRAD' 0,
    'opsz' 48
}

@media screen and (max-width: 1024px) {
    .comparison-table {
        font-size: 0.2rem;
    }
}

/* ========== service ========== */
.list-inner, #clinet .lists-inner {
    display: flex;
    justify-content: space-between;
}

.list-inner .col {
    flex-basis: 25%;
    padding: 0.2rem;
}

.list-inner .col img {
    width: 50%;
    margin-bottom: 0.2rem;
}

.list-inner h3 {
    font-size: 0.25rem;
    margin-bottom: 0.3rem;
}

.contents-info, .contents-img {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.contents-info h4 {
    margin: 0 0 0.1rem 0.5rem;
    text-align: left;
}

.contents-info li {
    margin: 0 0 0.3rem 0.7rem;
    text-align: left;
}

.contents-info .col {
    flex-basis: 50%;
    text-align: left;
}

.contents-info .col figure img {
    border-radius: 0.2rem;
}

.contents-sample h5 {
    font-size: 0.3rem;
    font-weight: 600;
    line-height: 1.7rem;
    text-align: center;
    width: 1.7rem;
    height: 1.7rem;
    border-radius: 50%;
    background-color: rgb(252, 233, 122);
    margin: auto auto 0.25rem auto;
}

.contents-sample p.lede {
    font-size: 0.28rem;
    font-weight: 600;
    text-align: center;
}

.contents-point {
    display: flex;
    justify-content: space-between;
}

.contents-point .col {
    font-size: 0.2rem;
    font-weight: 600;
    border: solid 0.05rem rgb(54, 57, 72);
    border-radius: 0.1rem;
    flex-basis: 30%;
    padding: 0.2rem;
}

.contents-img {
    margin-top: 0.5rem;
    align-items: center; 
}

.contents-details .col {
    flex-basis: 30%;
    text-align: left;
}

.contents-details {
    display: flex;
    justify-content: space-between;
}

.contents-details .col span {
    font-size: 0.5rem;
}

.quest .contents-info, .stamp .contents-info {
    flex-direction: row-reverse;
}

.quest .contents-info h4, .stamp .contents-info h4 {
    margin: 0 0.5rem 0.1rem 0;
}

.quest .contents-info li, .stamp .contents-info li {
    margin: 0 0.7rem 0.3rem 0;
    text-align: left;
}

.egg .contents-img .col figure {
    margin-left: 0.5rem;
}

.lists-inner {
    display: flex;
    flex-wrap:wrap;
    justify-content: center;
}

.lists-inner .cols {
    flex-basis:18%;
    margin: 0 0.05rem;
}

.lists-inner .cols p {
    text-align: center;
}

@media screen and (max-width: 896px) {
    .list-inner, .contents-img, .contents-details, .quest .contents-info, .stamp .contents-info {
        flex-direction: column; 
    }

    .list-inner .col img {
        width: 30%;
    }

    .list-inner h3 {
        font-size: 0.4rem;
    }

    .list-inner p {
        font-size: 0.3rem;
        text-align: center;
    }

    .contents-info {
        flex-direction: column; 
    }

    .contents-info h4, .quest .contents-info h4, .stamp .contents-info h4 {
        margin: 0.3rem 0 0.1rem;
    }
    
    .contents-info li, .quest .contents-info li, .stamp .contents-info li {
        margin: 0 0 0.3rem 0.3rem;
    }

    .contents-sample h5 {
        font-size: 0.5rem;
        line-height: 2.7rem;
        width: 2.7rem;
        height: 2.7rem;
    }

    .contents-sample p.lede {
        font-size: 0.38rem;
    }

    .contents-point {
        flex-direction: column;
    }

    .contents-point .col {
        font-size: 0.3rem;
        margin-bottom: 0.25rem;
    }

    .contents-img .col {
        margin-bottom: 0.5rem;
    }

    .contents-img .col.first, .quest .contents-img .col.first, .egg .contents-img .col.second {
        order: 1;
    }

    .contents-img .col.second {
        order: 3;
    }

    .contents-img .col.third, .quest .contents-img .col.third, .egg .contents-img .col.first {
        order: 2;
    }

    .contents-details .col span {
        font-size: 1rem;
    }

    .egg .contents-img .col figure {
        margin-left: 0;
    }

    .lists-inner .cols {
        flex-basis: 45%;
        margin: 0 0.15rem;
    }
}


/* ========== 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;
    text-align: center;
}

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