@charset "UTF-8";

/*レイヤー宣言*/
@layer reset, fw1, page-base;
@import url(kiso.css) layer(reset);
@import url(mvp.css) layer(fw1);


@layer page-base {

    /*mvp.css 設定上書き*/
    :root {
        --width-content: 100%;
        --color-scrollbar: #045604;
        --justify-normal: center;
    }

    *:where(:not(#wpadminbar *)) {
        color: #333333;
        border-color: #cccccc;
        font-size: 16px;
        letter-spacing: .05em;
        line-height: 1.5;
        text-wrap: wrap;
        max-inline-size: none;
    }

    body {
        position: relative;
        overflow-x: hidden;
    }

    h1 {
        font-size: 36px;
    }

    h2 {
        font-size: 26px;
        padding-top: 30px;
        margin-bottom: 30px;
        text-align: center;
    }

    h3 {
        font-size: 22px;
        margin: 1em 0 .75em;
    }

    p {
        line-height: 1.8;
        text-align: justify;
        margin-bottom: 1em;
    }

    sup {
        background-color: inherit;
        padding: 0;
        margin-left: 0;
        font-size: 0.75em;
        font-weight: inherit;
    }

    :where(ol, ul) {
        padding-inline-start: 1em;
    }

    ul {
        list-style-type: none;
    }

    a {
        text-decoration-line: none;
    }

    img {
        /*参考: https://coliss.com/articles/build-websites/operation/css/sensible-defaults-for-img-elements.html */
        max-width: 100%;
        height: auto;
        vertical-align: middle;
        font-style: italic;
        background-repeat: no-repeat;
        background-size: cover;
        shape-margin: 0.75rem;
    }

    .container {
        padding: 0 2em 40px;
        margin: 0 auto;
        max-width: 1200px;
        overflow: hidden;
    }


    .header-nav,
    .footer-nav {
        display: flex;
        justify-content: space-between;
        padding: 30px;
        /*overflow: hidden;*/
    }

    /*header*/
    .header-nav {
        align-items: center;
        position: sticky;
        background: #25190e;
        top: 0;
        z-index: 10;
        padding: 30px 30px 50px;

        h1 {
            font-size: 26px;
            position: relative;
            margin: 0;

            a {
                font-size: inherit;
                color: #32d716;
                width: 100px;
                position: absolute;
            }

            img {
                display: inline;
                width: 100%;
                /*vertical-align: sub;
                margin-right: 20px;*/
            }
        }

        .menu-check {
            display: none;
        }

        .menu-button {
            display: flex;
            justify-content: center;
            align-items: center;
            position: absolute;
            right: 50px;
            top: 40px;
            z-index: 100;
            cursor: pointer;

            span,
            span:before,
            span:after {
                content: '';
                display: block;
                height: 3px;
                width: 25px;
                border-radius: 3px;
                background: #00bcec;
                transition: 0.5s;
                position: absolute;
            }

            span:before {
                bottom: 8px;
            }

            span:after {
                top: 8px;
            }
        }
    }

    #menu-switch:checked~.menu-button {
        span {
            background: rgb(255 255 255 / 0%);
        }

        span::before {
            bottom: 0;
            transform: rotate(45deg);
        }

        span::after {
            top: 0;
            transform: rotate(-45deg);
        }
    }

    .mobile-menu nav {
        width: 100%;
        height: 100%;
        position: fixed;
        bottom: 100%;
        left: 0%;
        z-index: 99;
        transition: .5s;
        text-align: center;
        margin-bottom: 0;
        background-color: #ca4249;

        a {
            font-size: 16px;
            color: #ffffff;
            transition: .5s;

            &:active {
                color: #edb8bb;
            }

            &:hover {
                color: #ca4249;
            }
        }
    }

    #menu-switch:not(:checked)~nav {
        bottom: 150%;
    }

    #menu-switch:checked~nav {
        /*bottom: 0;*/
        bottom: 10%;
    }

    .mobile-menu {
        nav ul {
            padding: 0;
            display: block;
            width: 100%;
            text-align: left;

            li {
                padding: 20px 4em;
                margin: 0;
                width: 100%;
                border-bottom: 1px solid rgb(51 51 51 / 5%);
            }
        }
    }

    /*footer*/
    footer {
        padding: 0;
        background-color: #e8e8e8;
        background-position: center;
        background-size: cover;

        iframe {
            height: 600px;
        }

        .container {
            padding-bottom: 0;
            text-align: left;
        }
    }

    .footer-nav {
        margin: 0 auto;
        padding: 30px 0;
        flex-wrap: wrap;
    }

    .footer-copy {
        text-align: center;
        padding: 1em;
        background: #25190e;

        small {
            color: #ffffff;
        }
    }

    /*main*/
    main {
        padding: 0;
    }

    .cols {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: flex-start;

        &>div {
            width: 100%;
            margin: 40px 0;
        }
    }

    .center {
        text-align: center;
    }

    .carpet-rainbow {
        background-image: linear-gradient(340deg, rgba(255, 185, 229, 0.74) 22.344970703125%, rgba(236, 248, 114, 0.74) 51.0040283203125%, rgba(190, 224, 230, 0.74) 76.86767578125%);
    }

    .button-flame {
        text-align: center;
    }

    .button {
        text-align: center;
        color: #af3138;
        padding: 10px 2em;
        transition: .5s;
        border: solid #af3138 5px;

        &:hover {
            color: #ffffff;
            background-color: #af3138;
        }
    }

    .fa-solid {
        border: none;
        margin: 0;
        padding: 0;
        padding-left: .5em;
    }


    .みゅん {
        color: peachpuff;
    }

    #page-title {
        background-color: #fff;

        hr {
            border: 4px solid #ca4249;
        }

        .container {
            padding-bottom: 0;
        }
    }

    @counter-style circle-num {
        system: fixed;
        symbols: ① ② ③ ④ ⑤ ⑥ ⑦ ⑧ ⑨ ⑩ ⑪ ⑫ ⑬ ⑭ ⑮ ⑯ ⑰ ⑱ ⑲ ⑳;
        suffix: "";
    }

}

/*ここから個別ページ*/
.index {
    #welcome {
        h2 {
            font-size: 36px;
        }
    }

    #index-about {
        .cols {
            align-items: center;
            justify-content: space-evenly;
        }
    }
}

.about {
    background-color: #dde8eb;

    #about-intro {
        .right {
            background-color: #f8eebe;
            padding: 20px;
        }

        .left {
            background-color: aliceblue;
            background-image: url(../img/about-bg.jpg);
            background-position: center;
            background-repeat: no-repeat;
            background-size: cover;
            align-self: stretch;
        }
    }

    #shikiri {
        margin: 40px 0;
    }

    .button-flame {
        margin-top: 40px;
    }
}

.syurou {
    .container {
        padding: 40px 2em;
    }
}

.soudan {
    table {
        width: 100%;
        border-collapse: collapse;
        background-color: #ffffff;
    }

    th,
    td {
        display: block;
        text-align: left;
        border: 1px solid #cccccc;
    }
}

/*404用*/
.not-found {}

/*Tablet*/
@media screen and (min-width: 768px) {
    @layer page-base {
        * {
            font-size: 20px;
        }

        h1 {
            font-size: 36px;
        }

        h2 {
            font-size: 48px;
        }

        h3 {
            font-size: 24px;
        }

        p {
            font-size: 20px;
        }

        .sp-only {
            display: none;
        }

        .container {
            width: 90%;
        }

        .cols.reverse {
            flex-direction: row-reverse;
        }

        .cols div:has(.flex-button) {
            width: 40%;
            max-width: none;
        }

        .flex-button {
            & p::after {
                right: 8%;
            }
        }
    }

    .index {}

    .about {}

    .syurou {
        .container {
            margin: 100px 0;
            padding-bottom: 0;
        }
        .cols {
            justify-content: space-around;
        }

        .img-box {
            width: 45%;
        }
    }

    .soudan {

        th,
        td {
            display: table-cell;
        }

        th {
            text-align: center;
        }
    }

}

@media screen and (min-width: 1024px) {
    @layer page-base {
        .container {
            width: 80%;
            padding: 0 0 40px;
        }

        .cols {

            .left,
            .right {
                width: 50%;
            }
        }
    }

    .index {
        #welcome {
            h2 {
                font-size: 64px;
            }
        }

        #to-support {
            .cols {
                margin: 100px auto;
                justify-content: space-around;
            }

            .img-box {
                width: 45%;
                margin: 0;
            }
        }

        #index-images {
            margin: 100px auto;

            .cols {
                justify-content: space-around;
            }

            .img-box {
                width: 30%;
                margin: 0;
            }
        }
    }

    .about {
        #about-images {
            .cols {
                justify-content: space-around;
                margin-bottom: 60px;
            }

            .img-box {
                width: 30%;
                margin: 0;
            }
        }
    }

    .soudan {

        .cols {
            &>div {
                padding: 20px 1em;
            }
        }

        .soudan-access {
            width: 80%;
            margin: auto;
        }
    }

}

/*PC*/
@media screen and (min-width: 1281px) {
    @layer page-base {
        .container {
            padding: 0 0 80px;
        }

        .header-nav {
            padding: 0;

            .menu-button {
                display: none;
            }

            h1 {
                margin-left: 30px;
            }

            nav ul {
                padding: 0;
                display: flex;
                justify-content: space-around;
                background-color: transparent;
            }
        }

        #menu-switch:not(:checked)~nav {
            bottom: 0;
        }

        .mobile-menu nav {
            padding: 0;
            position: relative;
            background-color: transparent;

            ul li {
                padding: 0;
                margin: 1em;
                border-bottom: none;
                width: fit-content;
            }
        }

        .contact-link-sp {
            display: none;
        }

        .contact-link-pc {
            display: block;

            a {
                background-color: var(--mycolor-1);
                color: #ffffff;
                padding: 30px 3vw;
                font-size: 16px;
            }
        }
    }

    .index {}

    .about {}

}