@charset "UTF-8";
@font-face {
    font-family: 'Noto Sans';
    src: url("notosans.woff") format("woff");
}

.noto-font {
    font-family: 'Noto Sans JP';
}

.en .noto-font {
    font-family: 'Noto Sans';
}

#lA {
    position: relative;
}

close-t {
    display: block;
    font-size: 42px;
    width: 24px;
    margin: 0 auto;
    cursor: pointer;
    border: 2px solid #efefef;
    border-radius: 4px;
    padding: 0 12px;
    background: #333;
}

close-t:active {
    transform: scale(.8);
    transition: .05s;
}

close-u {
    display: block;
    font-size: 42px;
    width: 24px;
    margin: 0 auto 2rem;
    cursor: pointer;
    border: 2px solid #efefef;
    border-radius: 4px;
    padding: 0 12px;
    background: #333;
}

close-u:active {
    transform: scale(.8);
    transition: .05s;
}

#lA shareicons {
    display: flex;
    justify-content: center;
}

#lA shareicons img {
    width: 36px;
    height: 36px;
    margin: 2rem 3rem;
}

.open {
    overflow: visible !important;
}

#topvisual {
    width: 100%;
    background: #fff;
}

#topvisual header {
    display: flex;
    justify-content: space-between;
    height: 60px;
}

renew-logo {
    display: block;
    padding: 12px 12px 16px;
}

renew-logo img {
    width: 40vw;
    max-width: 420px;
}

.en renew-logo img {
    width: 50vw;
    max-width: 520px;
}

renew-right {
    position: relative;
}

renew-menu {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 12px;
    position: absolute;
    right: 360px;
    top: 6px;
}

uniticon {
    display: flex;
    flex-direction: column;
    cursor: pointer;
}

uniticon:hover {
    transform: scale(.9);
    transition: .2s;
}

uniticon:active {
    transform: scale(.7);
    transition: .1s;
}

squnit {
    display: flex;
}

sq {
    display: block;
    width: 3px;
    height: 3px;
    border: 2px solid #666;
    border-radius: 2px;
    background: #666;
    margin: 1px;
}

unitname {
    display: inline-block;
    font-size: 8px;
    font-weight: bold;
    text-align: center;
    margin-top: 2px;
}

search {
    display: inline-block;
    position: absolute;
    top: 6px;
    right: 130px;
    width: auto;
}

search form {
    padding: 0;
    margin-top: 14px;
    background: transparent;
    flex-direction: row;
}

search input {
    margin: 0;
    padding: 0;
}

search input[type="text"] {
    width: 12em;
    height: 1.35rem;
    border: 1px solid #888;
    border-radius: 2px;
}

search button[type="submit"] {
    background: #888;
    padding: 0 18px;
    margin: 0 8px;
    width: 2em;
    height: 1.5rem;
    display: flex;
    align-items: center;
}

search img {
    width: 12px;
    height: 12px;
}

renew-lang {
    display: flex;
    font-weight: bold;
    margin: 0 12px;
    font-size: 16px;
    position: absolute;
    right: 4px;
    top: 16px;
    justify-content: center;
}

renew-lang jp {
    display: block;
    background: #F7F9E4;
    text-align: center;
}

renew-lang en {
    display: block;
    background: #F7F9E4;
    text-align: center;
}

renew-lang a {
    display: block;
    padding: 4px 12px;
    margin: 2px;
    width: 1.5rem;
    height: 1.25rem;
    font-weight: bold;
    color: #333;
}

renew-lang a[href]:hover {
    opacity: .5;
}

renew-lang .current {
    background: #666;
}

renew-lang .current a {
    color: #efefef;
}

marquee-head {
    display: block;
    background: #ccc;
    position: relative;
    height: 1.6em;
    width: 100%;
}

marquee-head div {
    position: absolute;
    left: 0;
    top: 0;
    width: 5em;
    height: 1.7em;
    padding: 4px 12px 0;
    color: #fff;
    background: #555;
    font-size: 14px;
    text-align: center;
    z-index: 2;
    cursor: pointer
}

marquee-head div:hover {
    background: #777;
    transition: .2s;
}

.en marquee-head div {
    padding: 5px 12px 0;
}

marquee-head toggleanim {
    position: absolute;
    right: 0;
    top: 0;
    height: 1.6em;
    display: inline-block;
    /*background: #004EA2;*/
	background: #C0C0C0;
    /*color: #fff;*/
    /*font-size: 14px;*/
	font-size: 12px;
	width: 14em;
    font-weight: bold;
	padding: 5px 3px 3px 18px;
    z-index: 2;
    cursor: pointer;
}

/*marquee-head toggleanim a {
	color: #fff;
}*/

marquee-head toggleanim:hover {
    background: #3b73af;
    transition: .2s;
}

renew-marquee {
    display: inline-block;
    width: 100%;
    height: 1.6em;
    z-index: 1;
    font-size: 14px;
}

renew-marquee p {
    margin: 0;
    padding-left: 111vw;
    white-space: nowrap;
    color: #333;
    animation: new-marquee linear 35s infinite;
}

@keyframes new-marquee {
    0% {
        transform: translate(0%);
    }
    100% {
        transform: translate(-160%);
    }
}

#mainvisual {
    height: auto;
    position: relative;
}

#quickreach {
    height: auto;
    position: relative;
    z-index: 14;
    cursor: pointer;
}

maincontents {
    display: block;
    position: relative;
    width: 100%;
    background: #fff;
    z-index: 20;
}

#desktop .slick-list {
    width: 100%;
    /* width: calc(90% - 100px); */
    margin: 0 auto;
}

@media screen and (max-width: 1280px) {
    #desktop .slick-list {
        width: calc(100% - 100px);
    }
}

.slick-prev {
    left: 40px !important;
}

.slick-prev::before {
    background-image: url(assets/svg/arrow_former.svg);
    content: '' !important;
    display: block;
    background-size: contain;
    width: 45px;
    height: 180px;
    background-repeat: no-repeat;
}

.slick-next::before {
    background-image: url(assets/svg/arrow_after.svg);
    content: '' !important;
    display: block;
    background-size: contain;
    width: 45px;
    height: 180px;
    background-repeat: no-repeat;
}

.slick-arrow,
.slick-arrow:hover {
    top: 0 !important;
    background: transparent !important;
}

renew-news {
    position: absolute;
    right: 0;
    top: 40vh;
    display: block;
    background: #6186B3;
    color: #fff;
    font-size: 14px;
    font-weight: bold;
    height: 3.6em;
    width: 3em;
    text-align: center;
    padding-top: 2.2em;
    border-radius: 4em 0 0 4em;
    z-index: 14;
    cursor: pointer;
}

renew-peri {
    position: absolute;
    right: 0;
    top: calc(40vh - .82rem);
    display: block;
    background: #004ea2;
    height: 4em;
    width: 3.2em;
    padding-top: 2.2em;
    border-radius: 3em 0 0 3em;
    z-index: 13;
    cursor: pointer;
    animation: new-blink linear 2s infinite;
}

@keyframes new-blink {
    0%,
    100% {
        opacity: .9;
    }
    20%,
    30%,
    50%,
    60%,
    80% {
        opacity: 0;
    }
}

quickarrow {
    display: block;
    position: absolute;
    top: -21px;
    right: 50%;
    left: calc(50% - 3rem);
    z-index: 9;
}

quickarrow img {
    width: 100px;
    height: auto;
}

quick {
    display: block;
    margin: 0 auto;
    text-align: center;
    color: #fff;
    background: #6186B3;
    width: 100%;
    height: 14px;
    padding: 9px 0;
    font-size: 14px;
    font-weight: bold;
    z-index: 9;
}

modalsection {
    display: block;
    position: absolute;
    top: 88px;
    left: 120%;
    background: rgba(138, 158, 182, 0.9);
    width: 100%;
    padding-bottom: 2em;
    height: 100%;
    z-index: 11;
    overflow: hidden;
}

newsmodal {
    display: block;
    font-size: 81px;
    text-align: center;
    color: #fff;
    font-weight: bold;
    letter-spacing: 12px;
    text-shadow: 1px 2px 4px #333;
    margin-top: 5vh;
    margin-bottom: 6vh;
}

newsslider {
    display: flex;
    justify-content: center;
    align-content: center;
}

newsarticle {
    display: flex !important;
    flex-direction: column;
    justify-content: space-between;
    height: 500px !important;
    /* width: 80vw; */
    width: 750px;
    background: #6186B3;
    margin: 6px 12px;
    padding: 12px;
}

.emptycard {
    display: none;
    background: transparent;
    width: 40vw;
    max-width: 150px;
}

flexupper {
    display: block;
    height: 28%;
}

newsdate {
    display: block;
    color: #354e6d;
    font-size: small;
}

flextitle {
    display: flex;
    justify-content: flex-start;
}

headdiv {
    display: block;
    width: 10%;
    margin-right: 16px;
}

headdiv img {
    width: 100%;
    height: auto;
    padding: 12px;
}

headp {
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #fff;
    font-weight: bold;
    font-size: 135%;
    width: 80%;
}

flexunder {
    display: flex;
    justify-content: space-around;
    height: 360px;
    width: 97%;
    padding-bottom: .4rem;
}

leftarea {
    display: block;
    width: 54%;
    background: #cdd9e7;
    color: #354e6d;
    padding: 0 12px;
    margin-left: 0;
}

leftarea p {
    margin: 8px 0;
    font-size: 80%;
}

rightarea {
    display: table;
    width: 36%;
}

tableimage {
    display: table-cell;
    vertical-align: middle;
}

tableimage img {
    width: 100%;
    height: auto;
    border: 6px solid #fff;
    background: #fff;
}

leftarea guide {
    width: 10rem;
    margin: 10px auto;
    padding: 3px 6px;
    background: #354e6d;
    color: #fff;
    font-size: small;
}

.news-flex {
    display: flex;
    flex-direction: column;
}

quickreach {
    display: block;
    position: absolute;
    top: 120%;
    bottom: 0;
    background: rgba(97, 134, 179, 0.9);
    z-index: 11;
    width: 100%;
    height: 100%;
}

quicktitle {
    display: block;
    font-size: 81px;
    font-weight: bold;
    text-align: center;
    color: #fff;
    letter-spacing: 6px;
    text-shadow: 1px 2px 4px #333;
}

qmenu {
    display: grid;
    grid-template-rows: repeat(3, 1fr);
    grid-template-columns: repeat(4, 1fr);
    justify-content: space-around;
    align-content: stretch;
    height: calc(100% - 100px);
}

iconarticle {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #333;
    width: 600px;
    max-width: 20vw;
    height: auto;
    min-height: 90%;
    max-height: fit-content;
    margin: 12px 21px;
    animation: fluff ease 2s infinite;
}

iconarticle:hover {
    background: #F03B5E;
    cursor: pointer;
    animation: bounce ease 1s infinite;
}

@keyframes fluff {
    50% {
        transform: translateY(-6px);
    }
}

@keyframes bounce {
    20% {
        transform: translateY(-20px);
    }
    33% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
    66% {
        transform: translateY(0);
    }
    80% {
        transform: translateY(-5px);
    }
    96% {
        transform: translateY(0);
    }
}

icontext {
    display: block;
    color: #fff;
    text-align: center;
    padding: 0 12px;
}

icontext p:first-child {
    font-size: 21px;
    margin: 21px 0 2px;
}

icontext p:last-child {
    font-size: 18px;
    margin-top: 0;
}

iconarticle:hover p {
    color: #222;
    text-shadow: 1px 2px 4px red;
}

iconfile {
    display: flex;
    align-items: flex-end;
    height: 88%;
}

iconfile img {
    width: auto;
    height: 4vw;
    padding-bottom: 1em;
}

@media screen and (max-width: 1300px) {
    quicktitle {
        font-size: 64px;
    }
    icontext p:last-child {
        font-size: 14px;
    }
    icontext p:first-child {
        font-size: 16px;
    }
}

@media screen and (min-width: 1780px) {
    icontext p:last-child {
        font-size: 24px;
    }
    icontext p:first-child {
        font-size: 26px;
    }
}

.modal-quiz {
    display: none;
    position: fixed;
    z-index: 100000;
    left: 0;
    right: 0;
    top: 0;
    height: 100%;
    width: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
}

/* .modal-content {
    background-color: transparent;
    margin: 10% auto;
    width: 50%;
    animation-name: modalopen;
    animation-duration: 1s;
    background-image: url('hanabi.gif');
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 1rem;
    position: relative;
} */

@keyframes modalopen {
    from {
        opacity: 0
    }
    to {
        opacity: 1
    }
}

.modal-content img {
    height: 100%;
    width: 100%;
    box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.2), 0 7px 20px 0 rgba(0, 0, 0, 0.17);
}

.modal-header h1 {
    margin: 1rem 0;
}

.modal-header {
    background: transparent;
    display: flex;
    justify-content: space-between;
}

#modalClose {
    font-size: 2rem;
    color: #fff;
    position: absolute;
    right: 1rem;
    top: 0;
}

#modalClose:hover {
    cursor: pointer;
}

.modal-body {
    padding: 10px 20px;
    color: black;
}

quiz {
    display: block;
    position: absolute;
    left: 39vw;
    top: 24vw;
    z-index: 2;
    cursor: pointer;
}

quiz img {
    width: 6vw;
    height: 6vw;
}

quiz-peri {
    position: absolute;
    left: 38.4vw;
    top: 23.15vw;
    display: block;
    background: #ff0066;
    opacity: .7;
    height: 7vw;
    width: 7vw;
    cursor: pointer;
    border-radius: 15vw;
    z-index: 1;
    animation: new-blink linear 2s .7s infinite;
}

#rwd-peri {
    height: 95px;
    width: 95px;
    left: 34px;
    top: 528px;
}

@keyframes beat {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
    }
}

.modal-content {
    padding: 3rem 0;
}

.modal-content p {
    color: #fff;
    text-align: center;
    margin: 0 auto;
    width: 80%;
}

.answeris2 {
    font-size: 450%;
    font-weight: bold;
}

mobile {
    display: none;
    background: #fff;
    height: 100vh;
}

mobile header {
    background: #fff;
    width: 100%;
}

mobile header,
mobile renew-lang,
mobile renew-menu {
    position: fixed;
    z-index: 1000;
}

rwd-lang {
    display: flex;
    width: 100%;
    justify-content: center;
}

rwd-lang jp {
    display: block;
    background: #F7F9E4;
}

rwd-lang en {
    display: block;
    background: #F7F9E4;
}

rwd-lang a {
    display: block;
    padding: .5rem 2rem;
    font-weight: bold;
    color: #333 !important;
}

rwd-lang a:hover {
    opacity: .5;
}

rwd-lang .current {
    background: #666;
}

rwd-lang .current a {
    color: #efefef !important;
}

#l0 {
    display: none;
    margin-top: 2rem;
}

#desktop {
    display: block;
    position: relative;
    overflow: hidden;
}

#rwd-answerheart {
    left: 42px;
    top: 540px;
}

#rwd-answerheart img {
    width: 80px;
    height: 80px;
}

scroll {
    display: block;
    text-align: center;
}

scroll img {
    width: 50px;
    height: auto;
}

karutaarray {
    display: block;
}

karutaarray img {
    width: auto;
    margin: 0 .25rem;
}

mobilebanner {
    display: block;
    height: 110px;
}

mobilebanner .slick-list {
    height: 140px;
}

bannerpic {
    display: block;
    margin-right: 2rem;
    min-width: 350px;
}

bannerpic.bannerpic {
    width: auto !important;
}

bannerpic.bannertext {
    width: auto !important;
    max-width: 350px;
}

bannerpic.bannertext a {
    display: block;
    background: #192e3a;
    color: #fff;
    font-weight: bold;
    padding: 1rem;
    height: 110px !important;
}

bannerpic a:hover {
    opacity: .9;
}

bannerpic img {
    display: block;
    height: 100%;
    width: auto;
}

flexcontents {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    height: calc(100vh - 60px * 2);
    padding-top: 60px;
}

@media screen and (max-width: 1100px) {
    /*#desktop {
        display: none;
    }*/
    /*mobile {
        display: block;
    }*/
    /*#about {
        margin-top: 100px;
    }*/
    renew-menu {
        right: 2px;
    }
    /*renew-lang {
        display: flex;
        right: 36px;
    }*/
    renew-logo img {
        width: 75vw;
    }
    .en renew-logo img {
        width: 80vw;
    }
    .slick-prev,
    .slick-next {
        display: none !important;
    }
}

@media screen and (max-width: 888px) {
    /*renew-lang {
        display: none;
    }*/
    #l0 {
        display: block;
    }
}

@media screen and (max-width: 580px) {
	renew-lang {
		display: none;
	}
}

@media screen and (max-width: 486px) {
    renew-logo img {
        width: 85vw;
    }
    .en renew-logo img {
        width: 85vw;
    }
    .modal-content {
        width: 80%;
    }
    flexcontents {
        justify-content: space-between;
    }
    karutaarray img {
        margin: 0 1rem;
    }
    bannerpic {
        font-size: 16px;
        width: 80%;
        height: 80%;
    }
    scroll {
        width: 50px;
        margin: 0 auto;
    }
    scroll img {
        padding-top: 35px;
        width: 35px;
    }
}