/* GENERAL */

* {
    padding: 0;
    margin: 0;
    font-family: "Noto Sans JP", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
}

html {
    scroll-behavior: smooth;
}

a {
    text-decoration: none;
}

button {
    border-radius: 15px;
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.25);
    background-color: #001333;
    color: white;
    font-size: 30px;
    font-weight: bold;
    padding: 10px 20px;
    transition: all 300ms 0s ease;
    right: 20px;
    cursor: pointer;
}

button:hover {
    background-color: #ffffff;
    color: #001333;
}

.pictures {
    width: 100%;
    border-radius: 20px;
    user-select: none;
}

/* HEADER */

header ul {
    overflow: hidden;
    padding-bottom: 30px;
    display: inline-block;
}

header ul li {
    display: inline-block;
    padding: 26px 10px 10px 10px;
    margin: 0px 10px 0px 10px;
    color: #001333;
    font-size: 20px;
    position: relative;
    text-decoration: none;
}

header {
    background-color: #FFFFFF;
    border-bottom: #001333 solid 10px;
    text-align: center;
    user-select: none;
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.25);
    overflow: hidden;
}

.logo {
    width: 300px;
    margin-right: 20px;
}

.h-1 {
    padding-top: 20px;
    color: #001333;
    font-size: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.h-2-1 {
    border-bottom: #001333 solid 5px;
}

.h-2-2::before {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0px;
    width: 100%;
    height: 5px;
    background: #00133350;
    display: block;
    -webkit-transform-origin: right top;
    -ms-transform-origin: right top;
    transform-origin: right top;
    -webkit-transform: scale(0, 1);
    -ms-transform: scale(0, 1);
    transform: scale(0, 1);
    -webkit-transition: transform 0.4s cubic-bezier(1, 0, 0, 1);
    transition: transform 0.4s cubic-bezier(1, 0, 0, 1)
}

.h-2-2:hover::before {
    -webkit-transform-origin: left top;
    -ms-transform-origin: left top;
    transform-origin: left top;
    -webkit-transform: scale(1, 1);
    -ms-transform: scale(1, 1);
    transform: scale(1, 1)
}

/* MAIN */

.main {
    background-color: white;
    padding: 50px 90px;
    max-width: 1000px;
    width: 75%;
    margin: 20px auto;
    border-radius: 20px;
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.25);
    overflow: hidden;
}

.m-1 {
    color: #001333;
    font-size: 100px;
    font-weight: bold;
    margin: 20px 0px 80px 0px;
    position: relative;
    user-select: none;
}

.m-1:after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 0%;
    height: 5px;
    background: #FF0000;
    transition: all 0.5s;
}

.m-1.isActive:after {
    width: 100%;
}

.m-2 {
    color: #001333;
    font-size: 30px;
    border-left: #001333 solid 10px;
    border-bottom: #001333 solid 2px;
    padding: 0px 0px 5px 15px;
    margin: 80px 0px 20px 0px;
    user-select: none;
}

.m-3 {
    color: #001333;
    font-size: 25px;
    margin: 20px 0px;
}

.m-4 {
    text-align: center;
    user-select: none;
}

.a-1 {
    display: flex;
    justify-content: center;
}

.a-2 { 
    border: 5px #001333 solid;
    border-top: none;
    border-radius: 25px;
    margin: 60px 0px 30px 0px;
    width: 500px;
}

.a-3 {
    color: #ffffff;
    font-size: 40px;
    background-color: #001333;
    text-align: center;
    margin-bottom: 20px;
    user-select: none;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
}

.a-4 {
    display: flex;
    align-items: center;
    justify-content: center;
}

.a-5 {
    color: #001333;
    font-size: 20px;
    text-align: center;
    margin: 10px 20px 50px 20px;
    transition: all 0.5s;
}

.a-5:hover {
    color: rgb(00, 13, 33, 0.5)
}

.a-6 {
    text-align: center;
    margin-top: 50px;
    user-select: none;
}

.snslogo {
    height: 75px;
    padding: 20px 0px 5px 0px;
    user-select: none;
}

/* FOOTER */

footer {
    background-color: #001333;
    text-align: center;
    user-select: none;
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.25);
}

.footerlogo {
    width: 150px;
    margin-right: 20px;
}

.f-1 {
    padding: 25px 0px 10px 0px;
    color: #fef9d1;
    font-size: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.f-2 {
    padding: 0px 0px 25px 0px;
    color: #ffffff;
    font-size: 15px;
    text-align: center;
}

/* PAGETOPBUTTON */

.p-1 {
    height: 50px;
    width: 50px;
    position: fixed;
    right: 30px;
    bottom: 30px;
    background-color: #ffffff;
    border: solid 2px #001333;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
    box-shadow: 0 4px 6px rgb(0 0 0 / 30%);
    transition: all 300ms 0s ease;
}

.p-1:hover {
    background-color: #001333;
}

.p-2 {
    height: 10px;
    width: 10px;
    border-top: 3px solid #001333;
    border-right: 3px solid #001333;
    transform: translateY(20%) rotate(-45deg);
    transition: all 300ms 0s ease;
}

.p-1:hover .p-2 {
    border-color: #ffffff
}

/* LANGUAGE */

.l-1 {
    position: absolute;
    top: 20px;
    right: 20px;
    user-select: none;
}

.l-2-1 {
    border-bottom:#001333 solid 5px;
    padding: 10px 10px 5px 10px;
    color:#001333;
    font-weight: bold;
    font-size: 20px;
    margin: 5px;
    position: relative;
}

.l-2-2 {
    padding: 10px 10px 5px 10px;
    color:#001333;
    font-weight: bold;
    font-size: 20px;
    margin: 5px;
    position: relative;
}

.l-2-2::before {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0px;
    width: 100%;
    height: 5px;
    background: #00133350;
    display: block;
    -webkit-transform-origin: right top;
    -ms-transform-origin: right top;
    transform-origin: right top;
    -webkit-transform: scale(0, 1);
    -ms-transform: scale(0, 1);
    transform: scale(0, 1);
    -webkit-transition: transform 0.4s cubic-bezier(1, 0, 0, 1);
    transition: transform 0.4s cubic-bezier(1, 0, 0, 1)
}

.l-2-2:hover::before {
    -webkit-transform-origin: left top;
    -ms-transform-origin: left top;
    transform-origin: left top;
    -webkit-transform: scale(1, 1);
    -ms-transform: scale(1, 1);
    transform: scale(1, 1)
}

/* smartphone Menu */

.s-1 {
    display : block;
    position: fixed;
    z-index : 4;
    left : 20px;
    top   : 20px;
    width : 42px;
    height: 42px;
    cursor: pointer;
    text-align: center;
}
.s-1 span {
    display : block;
    position: absolute;
    width   : 30px;
    height  : 2px ;
    left    : 6px;
    background : #ffffff;
    -webkit-transition: 0.3s ease-in-out;
    -moz-transition   : 0.3s ease-in-out;
    transition        : 0.3s ease-in-out;
}
.s-1 span:nth-child(1) {
    top: 10px;
}
.s-1 span:nth-child(2) {
    top: 20px;
}
.s-1 span:nth-child(3) {
    top: 30px;
}

.s-1.active span:nth-child(1) {
    top : 16px;
    left: 6px;
    background :#ffffff;
    -webkit-transform: rotate(-45deg);
    -moz-transform   : rotate(-45deg);
    transform        : rotate(-45deg);
}

.s-1.active span:nth-child(2),
.s-1.active span:nth-child(3) {
    top: 16px;
    background :#ffffff;
    -webkit-transform: rotate(45deg);
    -moz-transform   : rotate(45deg);
    transform        : rotate(45deg);
}

nav.s-2 {
    position: fixed;
    z-index : 3;
    top  : 0;
    left : 0;
    color: #ffffff;
    font-size: 30px;
    background: #001333;
    text-align: center;
    width: 100%;
    transform: translateY(-100%);
    transition: all 0.6s;
    user-select: none;
}

nav.s-2 ul {
    margin: 0 auto;
    padding: 0;
    width: 100%;
}

nav.s-2 ul li {
    list-style-type: none;
    padding: 0;
    width: 100%;
    transition: .4s all;
}
nav.s-2 ul li:last-child {
    padding-bottom: 0;
}
nav.s-2 ul li:hover{
    background :#dddddd;
}

nav.s-2 ul li a {
    display: block;
    color: #ffffff;
    padding: 1em 0;
    text-decoration :none;
}

nav.s-2.active {
    opacity: 100;
    display: block;
    transform: translateY(0%);
}

.s-3 {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    height: 0%;
    background-color: rgba( 00,13,33,0.25 );
    z-index: 2;
    transition: .4s all;
}

.s-3.active {
    height: 100%;
}

.s-4 {
    display : block;
    position: fixed;
    z-index : 2;
    left : 16px;
    top   : 16px;
    width : 50px;
    height: 50px;
    background-color: #001333;
    border-radius: 25px;
}

.s-4:active {
    display: none;
}

/* smartphone */

@media screen and (max-width:480px) {
    button {
        border-radius: 11.25px;
        box-shadow: 0px 0px 7.5px 0px rgba(0, 0, 0, 0.25);
        font-size: 18px;
        padding: 5px 12px;
        right: 15px;
    }

    button:hover {
        background-color: #001333;
        color: #ffffff;
    }

    button:active {
        background-color: #ffffff;
        color: #001333;
    }

    .pictures {
        width: calc(100% - 20px);
        margin: 10px;
    }

    .logo {
        width: 112.5px;
        margin-right: 7.5px;
    }

    .h-1 {
        font-size: 26.25px;
        margin-top: 50px;
    }

    header {
        z-index: 1;
        padding-bottom: 50px;
        box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.25);
    }

    header ul {
        display: none;
    }

    .main {
        margin: 0px auto;
        border-radius: 0px;
        z-index: 0;
        padding: 5px;
        width: auto;
    }

    .m-1 {
        font-size: 35px;
        margin: 30px 10px;
    }

    .m-1:after {
        bottom: -2.5px;
        height: 2.5px;
        transition: all 0.5s;
    }

    .m-2 {
        font-size: 22.5px;
        border-left: #001333 solid 7.5px;
        border-bottom: #001333 solid 2px;
        padding: 0px 7.5px 5px 7.5px;
        margin: 40px 10px 10px 10px;
        width: calc(100% - 40px);
    }

    .m-3 {
        font-size: 18.75px;
        margin: 15px 10px;
    }

    .a-2 { 
        border: 5px #001333 solid;
        border-top: none;
        border-radius: 20px;
        margin: 30px 0px 30px 0px;
        width: 275px;
    }

    .a-3 {
        font-size: 25px;
        border-top-left-radius: 15px;
        border-top-right-radius: 15px;
    }

    .a-4 {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .a-5 {
        color: #001333;
        font-size: 12.5px;
        text-align: center;
        margin: 0px 10px 20px 10px;
    }

    .a-6 {
        text-align: center;
        margin: 0px 0px 30px 0px;
        user-select: none;
    }

    .snslogo {
        height: 50px;
        padding: 0px 0px 5px 0px;
        user-select: none;
    }

    .footerlogo {
        width: 75px;
        margin-right: 11.25px;
    }

    .f-1 {
        padding: 14.0625px 0px 5.625px 0px;
        font-size: 19.6875px;
    }

    .f-2 {
        padding: 0px 0px 18.75px 0px;
        font-size: 7.5px;
    }

    .p-1 {
        height: 37.5px;
        width: 37.5px;
        position: fixed;
        right: 15px;
        bottom: 15px;
    }

    .p-1:hover {
        background-color: #ffffff;
    }

    .p-1:active {
        background-color: #001333;
    }

    .p-2 {
        height: 7.5px;
        width: 7.5px;
    }

    .p-1:hover .p-2 {
        border-color: #001333
    }

    .p-1:active .p-2 {
        border-color: #ffffff
    }

    .l-1 {
        top: 5px;
        right: 5px;
    }

    .l-2-1 {
        padding: 5px 5px 2.5px 5px;
        font-size: 15px;
        margin: 2.5px;
    }

    .l-2-2 {
        padding: 5px 5px 2.5px 5px;
        font-size: 15px;
        margin: 2.5px;
    }

    .s-1 {
        left : 10px;
        top   : 10px;
        width : 31.5px;
        height: 31.5px;
    }
    .s-1 span {
        width   : 22.5px;
        height  : 2px ;
        left    : 4.5px;
    }
    .s-1 span:nth-child(1) {
        top: 7.5px;
    }
    .s-1 span:nth-child(2) {
        top: 15px;
    }
    .s-1 span:nth-child(3) {
        top: 22.5px;
    }
    
    .s-1.active span:nth-child(1) {
        top : 12px;
        left: 4.5px;
    }
    
    .s-1.active span:nth-child(2),
    .s-1.active span:nth-child(3) {
        top: 12px;
    }

    nav.s-2 {
        font-size: 15px;
    }

    .s-4 {
        left : 7.5px;
        top   : 7.5px;
        width : 36.5px;
        height: 36.5px;
    }
}