@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;700&family=Poppins:wght@400;700&family=Roboto:wght@400;700&display=swap');

/** COMMON STYLES **/
abbr, address, article, aside, audio, b, blockquote, body, canvas, caption, cite, code, dd, del, details, dfn, div, dl, dt, em, fieldset, figcaption, figure, footer, form, h1, h2, h3, h4, h5, h6, header, hgroup, html, i, iframe, img, ins, kbd, label, legend, li, mark, menu, nav, object, ol, p, pre, q, samp, section, small, span, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, time, tr, ul, var, video {
    background: transparent;
    border: 0;
    font-size: 100%;
    margin: 0;
    outline: 0;
    padding: 0;
    vertical-align: initial;
}

h1, h2, h3, h4, h5, h6, a, p {
    text-decoration: none;
    margin: 0;
    padding: 0;
    color: #121212;
}

* {
    box-sizing: border-box;
    font-family: "Poppins", "Noto Sans JP", sans-serif;
}

body {
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    color: #121212;
    font-size: 1.5rem;
    font-stretch: normal;
    font-style: normal;
    font-weight: 500;
    height: auto;
    letter-spacing: normal;
    line-height: normal;
    min-height: 100%;
    overflow-x: hidden;
    overscroll-behavior-y: none;
    position: relative;
    text-align: left;
    width: 100%;
    background-color: #f7f7f7;
}

:host, :root {
    --rem: 16;
}


header {
    position: fixed;
    top: 0;
    left: 0;
}

.l-header {
    width: 100%;
    z-index: 2;
}

.l-header__top {
    background-color: #ffffff;
    padding: 10px 3%;
    z-index: 2;
    position: relative;
    border-bottom: 1px #f5f5f5 solid;
    display: flex;
    justify-content: space-between;
    height: 69px;
}

.l-header__top a {
    display: flex;
    align-items: center;
}

.l-header__top-btn {
    position: relative;
    width: 50px;
    height: 50px;
    cursor: pointer;
    background: #121212;
    border-radius: 100px;
}

@media (min-width: 769px) {
    .l-header__top-btn {
        display: none;
    }
}

@media (max-width: 768px) {
    .l-header__top-btn {
        display: block;
    }
}

.l-header__top-btn span {
    display: inline-block;
    transition: all .4s;
    position: absolute;
    left: 13px;
    height: 2px;
    background-color: #ffffff;
}


.l-header__top-btn span:nth-of-type(1) {
    top: 22px;
    width: 50%;
}

.l-header__top-btn span:nth-of-type(2) {
    top: 29px;
    width: 30%;
}

.l-header__top-btn.is-active span:nth-of-type(1) {
    top: 20px;
    left: 16px;
    transform: translateY(6px) rotate(-45deg);
    width: 35%;
}

.l-header__top-btn.is-active span:nth-of-type(2) {
    top: 32px;
    left: 16px;
    transform: translateY(-6px) rotate(45deg);
    width: 35%;
}

nav {
    position: fixed;
    z-index: 1;
    top: 0;
    left: 0;
}

.l-nav__side {
    background-color: #ffffff;
    overflow: hidden;
    transition: width .4s ease, transform .4s ease;
    z-index: 1;
    height: calc(100dvh - 69px);
    margin-top: 69px;
}

@media (min-width: 769px) {
    .l-nav__side {
        width: 70px;
    }

    .l-nav__side:hover {
        width: 250px;
    }
}

@media (max-width: 768px) {
    .l-nav__side {
        position: fixed;
        width: 100%;
        transform: translateY(-100%);
    }

    .l-nav__side.is-active {
        transform: translateY(0);
    }
}


.l-nav__side-above {
    width: 100%;
    height: calc(100% - 62px);
    overflow: hidden;
    display: flex;
    flex-flow: column;
    justify-content: center;
}

.l-nav__side ul {
    width: 100%;
    height: fit-content;
    list-style: none;
    padding: 0 10px;
    overflow-x: hidden;
    overflow-y: auto;
}

.l-nav__side li {
    display: block;
    width: 100%;
    margin-top: 10px;
    border-radius: 12px;
    transition: background-color .3s ease;
}

.l-nav__side li.is-current {
    background-color: #1953e7;
}

.l-nav__side li.is-current a {
    color: #ffffff;
}

.l-nav__side li:hover {
    background-color: rgba(236, 236, 236, 0.64);
}

.l-nav__side li.is-current:hover {
    background-color: #1953e7;
}

.l-nav__side li a {
    display: flex;
    position: relative;
    height: 100%;
    width: 100%;
    padding: 12px 15px;
}

.l-nav__side span {
    display: flex;
    align-items: center;
}

.l-nav__side-icon {
    margin-right: 26px;
}

.l-nav__side-icon svg {
    width: 20px;
}

.l-nav__side li.is-current .l-nav__side-icon svg {
    color: #ffffff;
}

.l-nav__side-text {
    font-size: 1rem;
    white-space: nowrap;
}

.l-nav__side-bank {
    background-color: #121212;
    height: 62px !important;
    color: #ffffff;
}

.l-nav__side-bank a {
    color: #ffffff;
}

.l-nav__side-bank svg {
    fill: #ffffff;
}

.l-nav__side-bank li {
    margin: 5px 0;
    height: calc(100% - 10px);
}

.l-nav__side-bank li:hover {
    background-color: #232323;
}

.l-footer {
    background-color: #191b1f;
    padding: 3rem 8rem;
}

.l-footer__inner {
    margin: 0 auto;
    max-width: 64rem;
    width: 100%;
    display: flex;
    justify-content: space-between;
}

@media (max-width: 768px) {
    .l-footer {
        padding: 3rem 2rem;
    }

    .l-footer__inner {
        flex-direction: column-reverse;
    }

    .l-footer__status {
        margin-bottom: 20px;
    }
}


.l-footer__logo a {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.l-footer__logo a h1 {
    color: #ffffff;
}

.l-footer__logo p {
    font-size: 12px;
    color: #ffffff;
}

.l-footer__status {
}

.l-footer__status p {
    font-size: 15px;
    color: #ffffff;
    text-align: center;
    margin-bottom: 4px;
}

.l-footer__status-box {
    background-color: #212326;
    padding: 12px 18px;
    border-radius: 100px;
    display: flex;
    align-items: center;
}

.l-footer__status-circle {
    width: 16px;
    height: 16px;
    border-radius: 100px;
    animation: 2s ease-in-out 0s infinite normal none running status;
    border-style: solid;
    display: block;
    margin-right: 10px;
}

.l-footer__status-circle.is-operational {
    background-color: #05DEAA;
}

.l-footer__status-circle.is-partial-outage {
    background-color: #de7905;
}

.l-footer__status-circle.is-major-outage {
    background-color: #f65f5f;
}

.l-footer__status-circle.is-maintenance {
    background-color: #0584de;
}

@keyframes status {
    0% {
        border-color: transparent;
        border-width: 5px;
    }
    30% {
        border-color: rgba(255, 255, 255, 0.6);
        border-width: 5px;
    }
    100% {
        border-color: transparent;
        border-width: 0;
    }
}

.wrapper {
    margin-top: 69px;
    top: 0;
    left: 0;
    min-height: calc(100vh - 69px);
    position: relative;
}

@media (min-width: 769px) {
    .wrapper {
        margin-left: 70px;
        width: calc(100% - 70px);
    }
}

@media (max-width: 768px) {
    .wrapper {
        width: 100%;
    }

}

/** HOME STYLES **/
.p-home-top {
    width: 100%;
    height: calc(100svh - 69px);
}

.p-home-top__slider {
    margin: 0;
    width: 100%;
    height: 100%;
}

.p-home-top img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.p-home-top li {
    height: 100%;
}

.slick-list, .slick-track {
    height: 100%;
}

.slick-dots {
    bottom: 25px !important;
}

.slick-dots li button:before {
    font-size: 10px !important;
}

.p-home-news {
    width: 100%;
    max-width: 1024px;
    margin: 10px auto 20px;
    padding: 0 20px;
    position: relative;
}

.c-heading h1 {
    font-size: 0;
    overflow: hidden;
}

.c-heading h1 span {
    display: inline-block;
    font-size: 54px;
}

.p-home-news__body {
    overflow: hidden;
    padding-bottom: 10px;
}

.p-home-news__body-container {
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
}

.c-news-item {
    margin-right: 16px;
    width: 100%;
    max-width: 360px;
    min-height: 430px;
    flex-shrink: 0;
}

.c-news-item__link {
    height: 100%;
    width: 100%;
    background-color: #ffffff;
    display: block;
    border-radius: 10px;
    position: relative;
    transition: .3s ease transform;
}

.c-news-item__link:hover {
    transform: scale(97%);
}

.c-news-item__image {
    width: 100%;
}

.c-news-item__image img {
    width: 100%;
    height: 190px;
    object-fit: cover;
    border-radius: 10px 10px 0 0;
}

.c-news-item__text {
    width: 100%;
    height: max-content;
    padding: 26px 14px 36px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.c-news-item__tag {
    display: flex;
}

.c-news-item__tag p {
    margin-right: 10px;
    font-size: 16px;
    background-color: #324994;
    color: #ffffff;
    padding: 3px 16px;
    border-radius: 100px;
}

.c-news-item__title {
    font-size: 20px;
    margin-top: 20px;
}

.c-news-item__date {
    color: #9096a2;
    font-size: 14px;
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 20px;
}

.p-home-about {
    width: 100%;
    max-width: 1024px;
    margin: 10px auto 20px;
    padding: 0 20px;
}




/** DONATE STYLE **/
.p-donate-form {
    width: 100%;
    height: calc(100svh - 69px);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 20px;
}

.p-donate-form form {
    max-width: 420px;
    width: 100%;
}

.p-donate-form h1 {
    margin-bottom: 1rem;
}

.p-donate-form h2 {
    font-size: 1.1rem;
    font-weight: 400;
    padding: 4px 0;
}

.p-donate-form__way {
    margin-bottom: 1rem;
}

.p-donate-form__amount {
    position: relative;
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}
.p-donate-form__amount span {
    position: absolute;
    z-index: 2;
    padding: 0 20px;
    font-size: 1.2rem;
}

.p-donate-form__amount input {
    position: relative;
    padding-left: 44px!important;
}

.p-donate-form__mcid {
    margin-bottom: 1rem;
}

.p-donate-form input {
    outline: none;
    border: 1px #0584de solid;
    box-sizing: border-box;
    width: 100%;
    height: 2.8rem;
    font-size: 1.2rem;
    border-radius: 12px;
    appearance: none;
    padding: 6px 20px;
}

.p-donate-form input:focus {
    border: 2px #de7905 solid;
}

.p-donate-form select {
    outline: none;
    border: 1px #0584de solid;
    width: 100%;
    height: 2.8rem;
    font-size: 1.2rem;
    border-radius: 12px;
    margin: 1px;
    padding: 6px 40px 6px 20px;
}

.p-donate-form input::-webkit-inner-spin-button,
.p-donate-form input::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
    -moz-appearance:textfield;
}

.p-donate-form button {
    border: none;
    background-color: #0584de;
    width: 100%;
    height: 2.8rem;
    font-size: 1.2rem;
    border-radius: 12px;
    margin: 1px;
    padding: 6px 20px;
    color: #ffffff;
}


.p-donate-about {
    width: 100%;
    max-width: 1024px;
    margin: 100px auto 20px;
    padding: 0 20px;
}

.p-donate-about h1 {
    width: 300px;
    margin-bottom: 40px;
}

.p-donate-about p {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.p-donate-btn {
    width: 100%;
    max-width: 1024px;
    margin: 80px auto 20px;
    padding: 0 20px;
}


.p-donate-btn p {
    font-size: .8rem;
}

.p-donate-btn a {
    padding: 10px 26px;
    background-color: #0584de;
    border-radius: 24px;
    width: 100%;
    max-width: 320px;
    color: #ffffff;
    text-align: center;
    display: block;
}

.p-donate-btn h1 {
    width: 300px;
}

@media(max-width: 768px) {
    .p-donate-about {
        display: block;
    }
    .p-donate-about div {
        width: 100%;
    }
    .p-donate-btn {
        display: block;
    }

    .p-donate-btn div {
        width: 100%;
    }
}
@media(min-width: 769px){
    .p-donate-about {
        display: flex;
    }
    .p-donate-about div {
        width: calc(100% - 300px);
    }
    .p-donate-btn {
        display: flex;
    }

    .p-donate-btn div {
        width: calc(100% - 300px);
    }
}

.p-law {
    width: 100%;
    height: 100%;
}

.p-law-head {
    background-color: #d4e8f6;
    height: 240px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.p-law-head h1 {
    font-size: 2.4rem;
    color: #324994;
}

@media(max-width: 768px) {
    .p-law-head h1 {
        font-size: 1.6rem;
    }
}

.p-law-body {
    width: 100%;
    max-width: 840px;
    margin: 20px auto 0;
    display: flex;
    align-items: center;
    padding: 10px;
}

.p-law-body table {
    font-size: 1rem;
    border-collapse: collapse;
}

.p-law-body table td, th {
    border: 1px #121212 solid;
    border-collapse: collapse;
    background-color: #ffffff;
    padding: 4px 12px;
}

.p-home-feature {
    padding: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
}