@charset "UTF-8";

/*
Theme Name: maaru-wp
Author: 株式会社Compass
Version: 20260206
*/

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

@layer page-base {

    /*色定義*/
    :root {
        --color-p: #192950;
        --color-s: #333333;
        --color-ex1: #E83D66;
        --color-ex2: #E6E26E;
        --color-ex3: #757FBD;
        --color-ex4: #F25FD0;
        --color-ex5: #DCF0FB;
        --color-ex6: #2975A6;
        --color-tel: #FF9900;
        --color-line: #06C755;
    }

    *:where(:not(#wpadminbar *)) {
        color: var(--color-p);
        border-color: #cccccc;
        font-family: "Zen Maru Gothic", sans-serif;
        font-size: clamp(16px, calc(11.652173913043478px + 1.0869565217391304vw), 20px);
        font-weight: 500;
        letter-spacing: .05em;
        line-height: 1.5;
        text-wrap: wrap;
        max-inline-size: none;
    }

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

    main {
        position: relative;
        top: -70px;
    }

    h1,
    h2,
    h3,
    h4,
    h5,
    h6 {
        font-weight: bold;
    }

    h1 {
        font-size: 36px;
    }

    h2 {
        font-size: clamp(24px, calc(10.956521739130435px + 3.260869565217391vw), 36px);
        padding-top: 30px;
        margin-bottom: 30px;
        text-align: center;

        .h2-ja {
            font-size: inherit;
            font-weight: inherit;
        }

        .h2-sep {
            border-bottom: 5px solid;
            display: inline-block;
            width: 45px;
            margin: 15px auto;
        }

        .h2-en {
            font-size: clamp(16px, calc(11.652173913043478px + 1.0869565217391304vw), 20px);
        }
    }

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

    p {
        font-size: clamp(16px, calc(11.652173913043478px + 1.0869565217391304vw), 20px);
        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;
        margin: auto;
    }

    table {
        width: 100%;
        margin: 40px auto;

        tr {
            border-top: 1px solid #040000;
            border-bottom: 1px solid #040000;
        }

        th,
        td {
            padding: 20px 1em;
            display: block;
        }
    }

    .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;
    }

    .sp-none,
    .tb-none {
        display: none;
    }

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

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

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

    .sectitle {
        display: flex;
        flex-flow: column wrap;
    }

    .img-box {
        p {
            text-align: center;
            margin-top: 10px;
        }
    }

    /*header*/
    .header-nav {
        align-items: center;
        position: sticky;
        background: rgb(255 255 255 / 90%);
        /*background-color: #2975A7;*/
        border-radius: 40px;
        top: 30px;
        z-index: 10;
        padding: 0 30px;
        width: 90%;
        max-width: 1200px;
        min-height: 70px;
        margin: auto;
        box-shadow: 0px 2px 3px #192950;

        h1 {
            margin: 10px 0;

            a {
                display: flex;
                align-items: center;
            }

            span {
                font-size: clamp(16px, calc(11.652173913043478px + 1.0869565217391304vw), 20px);
                color: #192950;
            }

            img {
                display: inline;
                width: 80px;
                margin-left: 10px;
            }
        }

        .menu-check {
            display: none;
        }

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

            span,
            span:before,
            span:after {
                content: '';
                display: block;
                height: 3px;
                width: 25px;
                border-radius: 3px;
                background: #192950;
                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;

        a {
            font-size: 16px;
        }
    }

    #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;
            background-color: rgb(255 255 255 / 100%);

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

    .contact-link-sp {
        background-color: skyblue;

        a {
            color: #ffffff;
        }
    }

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

    /*footer*/
    footer {
        padding: 0;
        background-color: #192950;
        /*画像が見れない場合*/
        background-image: linear-gradient(#ffffff 30%, #192950 30%);
        background-position: center;
        background-size: cover;

        * {
            color: #ffffff;
        }

        .cols>div {
            margin: 0;

            img {
                display: block;
                margin: auto;
            }
        }

        .f-address {
            h2 {
                font-size: clamp(20px, calc(9.130434782608695px + 2.717391304347826vw), 30px);
                text-align: left;
                margin-bottom: 10px;
            }

            p {
                margin-bottom: 0;
            }
        }

        .f-img {
            max-width: 300px;
        }
    }

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

    .footer-copy {
        text-align: center;
        padding: 1em;
        background-color: skyblue;

        small {
            color: #ffffff;
        }
    }

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

    .center {
        text-align: center;
    }

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

    .button {
        text-align: center;
        color: #ffffff;
        background-color: #2975A7;
        padding: 10px 2em;
        transition: .5s;
        display: inline-block;

        &:hover {
            opacity: .75;
        }
    }

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

    #sidebar {
        width: 100%;

        aside {
            width: 100%;
            margin: 50px 0;
        }

        h2 {
            font-size: clamp(24px, calc(16.366412213740457px + 2.035623409669211vw), 32px);
            color: var(--mycolor-1);
        }

        li>a {
            font-size: clamp(16px, calc(11.652173913043478px + 1.0869565217391304vw), 20px);
        }

        .calendar {
            h2 {
                padding-top: 0;
            }

            .wp-calendar-table {
                width: 100%;
                max-width: 400px;
                margin-bottom: 20px;
                border-collapse: collapse;

                *:not(caption, a) {
                    border: 1px solid #cccccc;
                    border-radius: 0;
                }

                th,
                td,
                caption {
                    font-size: 16px;
                    padding: 8px;
                    text-align: center;

                    a {
                        font-size: 16px;
                        color: var(--color-ex6);
                    }
                }

                th,
                td {
                    display: table-cell;
                }

                th {
                    color: white;
                    background-color: var(--color-p);
                }
            }

            .wp-calendar-nav {
                margin-bottom: 0;

                a {
                    font-size: 16px;
                }
            }
        }

        .cat-list,
        .news-list {
            ul {
                padding-left: 0;
            }

            a {
                color: var(--color-ex6);
            }
        }
    }

    .info-main {
        width: 100%;

        .post-nav {
            padding: 0;
        }
    }

    #kv {
        height: 80vh;
        background-position: center;
        background-size: cover;

        .container {
            position: relative;
            height: 100%;
        }

        h2 {
            position: absolute;
            top: 50vh;
            text-align: left;
            padding-top: 0;
            margin-bottom: 0;
        }

        .kv-title {
            font-size: clamp(30px, calc(0px + 3.90625vw), 40px);
            font-weight: bold;
            background-color: rgba(255, 255, 255, 0.5);
            padding: 1px 0;
        }
    }

    #contact {
        .h2-sep {
            border-color: var(--color-line);
        }

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

        .contactbox {
            border-radius: 30px;
            padding: 20px;

            * {
                color: #ffffff;
            }

            h3 {
                margin-top: 0;
                margin-bottom: 20px;
                font-size: clamp(30px, calc(19.130434782608695px + 2.717391304347826vw), 40px);

                .h3-sub {
                    font-size: clamp(16px, calc(11.652173913043478px + 1.0869565217391304vw), 20px);
                }
            }

            p {
                margin-top: 20px;
                margin-bottom: 0;
            }

            .shironuki {
                background-color: #ffffff;
                padding: 10px 20px;
                text-align: center;
                border-radius: 40px;

                span {
                    font-size: clamp(18px, calc(0px + 2.34375vw), 24px);
                }

                img {
                    display: inline-block;
                    margin-right: 15px;
                    width: clamp(18px, calc(0px + 2.34375vw), 24px);
                    vertical-align: sub;
                }
            }
        }

        .tel {
            background-color: var(--color-tel);

            .shironuki span {
                color: var(--color-tel);
            }
        }

        .line {
            background-color: var(--color-line);

            .shironuki span {
                color: var(--color-line);
            }
        }
    }

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

/*index*/
.front-page {
    #kv {
        background-image: url(img/index-kv.jpg);
    }

    #greeting {
        .h2-sep {
            border-color: var(--color-ex1);
        }

        .cols {
            align-items: center;
        }
    }

    #news {
        .h2-sep {
            border-color: var(--color-ex2);
        }
    }

    #service {
        .h2-sep {
            border-color: var(--color-tel);
        }
    }

    #company {
        .h2-sep {
            border-color: var(--color-tel);
        }
    }

    #access {
        .h2-sep {
            border-color: var(--color-ex1);
        }

        iframe {
            height: 300px;
            margin-bottom: 20px;
        }
    }
}

/*shortstay*/
.shortstay {
    #kv {
        background-image: url(img/shortstay-kv.jpg);
    }

    #about {
        .h2-sep {
            border-color: var(--color-line);
        }

        .carpet {
            background-color: #F7F6EA;
            padding: 2em;
            margin: 40px auto 0;

            * {
                font-weight: bold;
            }

            h3 {
                margin-top: 0;
                margin-bottom: 40px;
                text-align: center;
                color: var(--color-ex4);
                font-size: clamp(24px, calc(10.956521739130435px + 3.260869565217391vw), 36px);
            }

            p {
                text-align: left;
                font-size: clamp(16px, calc(11.652173913043478px + 1.0869565217391304vw), 20px);
            }

            ul {
                list-style-type: disc;
                margin: auto;

                li {
                    font-size: clamp(20px, calc(9.130434782608695px + 2.717391304347826vw), 30px);
                    color: var(--color-ex6);
                }
            }

            .nado {
                text-align: right;
                font-size: clamp(20px, calc(9.130434782608695px + 2.717391304347826vw), 30px);
                color: var(--color-ex6);
            }

            .gosoudan {
                text-align: center;

                span {
                    background-image: linear-gradient(transparent 50%, #E5E16E 50%);
                    font-size: clamp(20px, calc(-1.7391304347826093px + 5.434782608695652vw), 40px);
                }

                img {
                    display: inline-block;
                    height: clamp(20px, calc(-12.608695652173914px + 8.152173913043478vw), 50px);
                    vertical-align: sub;
                }
            }
        }
    }

    #schedule {
        .h2-sep {
            border-color: var(--color-ex3);
        }

        .carpet {
            background-color: var(--color-ex5);
        }

        .container {
            max-width: 1024px;
            margin: auto;
            padding-top: 40px;
            padding-bottom: 80px;
        }

        .outer {
            justify-content: center;
        }

        .inner {
            align-items: center;
            justify-content: flex-start;
            width: fit-content;
        }

        .img-box {
            img {
                display: block;
                margin: 0 auto;
                max-width: 400px;
                width: 50%;
            }
        }

        div[class^="tl-"] {
            width: max-content;
            margin-top: 0;

            img {
                width: clamp(80px, calc(60.91603053435115px + 5.089058524173027vw), 100px);
                margin: 0 20px;
            }

            p,
            h3 {
                margin: 0;
            }

            h3 {
                font-size: clamp(24px, calc(16.366412213740457px + 2.035623409669211vw), 32px);
            }

            p {
                font-size: clamp(16px, calc(8.366412213740457px + 2.035623409669211vw), 24px);
            }
        }
    }

    #service {
        .h2-sep {
            border-color: var(--color-tel);
        }
    }

    #description {
        .h2-sep {
            border-color: var(--color-ex4);
        }
    }

    #gallery {
        .h2-sep {
            border-color: var(--color-line);
        }
    }

    #flow {
        .h2-sep {
            border-color: var(--color-ex3);
        }

        .carpet {
            background-color: var(--color-ex5);
            padding: 40px 20px;

            * {
                text-align: center;
            }

            h3 {
                color: var(--color-ex4);
                font-size: clamp(24px, calc(10.956521739130435px + 3.260869565217391vw), 36px);
                margin-top: 0;
            }

            p {
                margin-bottom: 0;
            }
        }

        img {
            max-width: 100%;
            margin: auto;
            display: block;
        }

        .cols {
            margin: 30px 0;

            .cols {
                max-width: 100%;
                flex-wrap: wrap;
                justify-content: center;
                margin: 0;
            }
        }

        .button-wrapper a {
            display: block;
            text-align: center;
            width: 100%;
            color: white;
            padding: 20px 10px;
            margin: 30px auto;
            border-radius: 30px;
        }

        .flow-step {
            max-height: none;
            text-align: center;
            margin-bottom: 30px;
            padding: 15px 25px;
            background-color: var(--color-p);

            & span {
                color: #ffffff;
                font-size: 26px;
                font-weight: 700;
                display: inline;
                text-align: center;
                font-size: 18px;
            }

            & .step-no {
                font-size: 18px;
            }
        }

        .flow-text {
            *:not(span) {
                margin: 0 20px;
            }
        }

        .button-tel {
            background-color: var(--color-tel);
        }

        .button-line {
            background-color: var(--color-line);
        }
    }
}

/*dayservice*/
.dayservice {
    #kv {
        background-image: url(img/dayservice-kv.jpg);
    }

    #about {
        .h2-sep {
            border-color: var(--color-line);
        }

        .carpet {
            background-color: #F7F6EA;
            padding: 2em;
            margin: 40px auto 0;

            * {
                font-weight: bold;
            }

            h3 {
                margin-top: 0;
                margin-bottom: 40px;
                text-align: center;
                color: var(--color-ex4);
                font-size: clamp(24px, calc(10.956521739130435px + 3.260869565217391vw), 36px);
            }

            p {
                text-align: left;
                font-size: clamp(16px, calc(11.652173913043478px + 1.0869565217391304vw), 20px);
            }

            ul {
                list-style-type: disc;
                margin: auto;

                li {
                    font-size: clamp(20px, calc(9.130434782608695px + 2.717391304347826vw), 30px);
                    color: var(--color-ex6);
                }
            }

            .nado {
                text-align: right;
                font-size: clamp(20px, calc(9.130434782608695px + 2.717391304347826vw), 30px);
                color: var(--color-ex6);
            }

            .gosoudan {
                text-align: center;

                span {
                    background-image: linear-gradient(transparent 50%, #E5E16E 50%);
                    font-size: clamp(20px, calc(-1.7391304347826093px + 5.434782608695652vw), 40px);
                }

                img {
                    display: inline-block;
                    height: clamp(20px, calc(-12.608695652173914px + 8.152173913043478vw), 50px);
                    vertical-align: sub;
                }
            }
        }
    }

    #service {
        h3 {
            margin-top: 0;
        }

        .h2-sep {
            border-color: var(--color-tel);
        }

        .carpet {
            background-color: var(--color-ex5);
            padding: 20px 1em;

            p:last-of-type  {
                margin-bottom: 0;
            }
        }
    }

    #description {
        .h2-sep {
            border-color: var(--color-ex4);
        }
    }

    #flow {
        .h2-sep {
            border-color: var(--color-ex3);
        }

        .carpet {
            background-color: var(--color-ex5);
            padding: 40px 20px;

            * {
                text-align: center;
            }

            h3 {
                color: var(--color-ex4);
                font-size: clamp(24px, calc(10.956521739130435px + 3.260869565217391vw), 36px);
                margin-top: 0;
            }

            p {
                margin-bottom: 0;
            }
        }

        img {
            max-width: 100%;
            margin: auto;
            display: block;
        }

        .cols {
            margin: 30px 0;

            .cols {
                max-width: 100%;
                flex-wrap: wrap;
                justify-content: center;
                margin: 0;
            }
        }

        .button-wrapper a {
            display: block;
            text-align: center;
            width: 100%;
            color: white;
            padding: 20px 10px;
            margin: 30px auto;
            border-radius: 30px;
        }

        .flow-step {
            max-height: none;
            text-align: center;
            margin-bottom: 30px;
            padding: 15px 25px;
            background-color: var(--color-p);

            & span {
                color: #ffffff;
                font-size: 26px;
                font-weight: 700;
                display: inline;
                text-align: center;
                font-size: 18px;
            }

            & .step-no {
                font-size: 18px;
            }
        }

        .flow-text {
            *:not(span) {
                margin: 0 20px;
            }
        }

        .button-tel {
            background-color: var(--color-tel);
        }

        .button-line {
            background-color: var(--color-line);
        }
    }
}

/*info*/

.info-archive,
.info-single {
    .kv {
        background-image: url(img/info-kv.jpg);
        height: 40vh;

        h2 {
            top: 20vh;
        }
    }
}

.info-archive {
    .info-card {
        img {
            margin-bottom: 20px;
        }
    }
}

.info-single {}

/*404*/
.not-found {
    .kv {
        background-image: url(img/index-kv.jpg);
    }
}

/*privacy*/
.privacy-policy {
    .kv {
        background-image: url(img/privacy-kv.jpg);
        height: 40vh;

        h2 {
            top: 20vh;
        }
    }

    a {
        color: var(--color-ex6);
    }

}

@media screen and (min-width: 768px) {
    @layer page-base {
        table {

            th,
            td {
                display: table-cell;
            }
        }

        .cols {
            justify-content: space-around;
            align-items: stretch;

            .left,
            .right,
            .img-box,
            .inner {
                width: 45%;
            }
        }

        .container {
            width: 100%;
        }

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

        .header-nav {
            h1 {
                img {
                    width: 120px;
                }
            }
        }

        .sp-none {
            display: block;
        }

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

            .contactbox {
                width: 45%;
            }
        }
    }

    .shortstay {
        #schedule {
            .outer {
                justify-content: space-between;
            }
        }

        #flow {
            img {
                max-width: 340px;
            }

            .flow-step {
                max-height: 130px;
                width: 130px;

                span {
                    display: block;
                }

                .step-no {
                    font-size: 55px;
                }
            }

            .flow-text {
                width: calc(100% - 150px);
            }

            .flow-buttons {
                display: flex;
                justify-content: space-around;
            }

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

            .button-wrapper {
                width: 45%;
            }
        }
    }

    .dayservice {
        #flow {
            img {
                max-width: 340px;
            }

            .flow-step {
                max-height: 130px;
                width: 130px;

                span {
                    display: block;
                }

                .step-no {
                    font-size: 55px;
                }
            }

            .flow-text {
                width: calc(100% - 150px);
            }

            .flow-buttons {
                display: flex;
                justify-content: space-around;
            }

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

            .button-wrapper {
                width: 45%;
            }
        }
    }

    .info-archive,
    .info-single {

        .info-list {
            justify-content: left;
        }

        .info-card {
            width: 45%;
            margin: 20px 15px;
        }
    }
}

@media screen and (min-width: 1024px) {
    @layer page-base {
        .header-nav {

            .menu-button {
                display: none;
            }

            /*h1 {
                margin-left: 30px;
            }*/

            .mobile-menu {
                min-width: 60%;
            }

            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;

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

        footer {
            background-image: linear-gradient(#ffffff 30%, #192950 30%);

            .cols {
                align-items: end;
                justify-content: space-between;
            }

            .f-img {
                width: 300px;
            }

            .f-address {
                width: 50%;
            }
        }

        #sidebar {
            width: 300px;

            aside {
                margin: 0;
            }
        }

        .tb-none {
            display: block;
        }
    }

    .shortstay {
        section:not(#kv, #contact) {
            img {
                margin: auto;
            }
        }

        #about {
            .carpet {
                ul {
                    width: max-content;
                }
            }
        }

        #service,
        #gallery {
            .img-box {
                width: 30%;
            }
        }

        #flow {
            .flow-text {
                width: calc(100% - (150px + 30%));
            }

            .flow-buttons,
            .flow-image {
                display: block;
                width: 30%;
            }

            .button-wrapper {
                width: 100%;

                a {
                    margin: 10px 0;
                }
            }
        }
    }

    .dayservice {
        section:not(#kv, #contact) {
            img {
                margin: auto;
            }
        }

        #about {
            .carpet {
                ul {
                    width: max-content;
                }
            }
        }

        #flow {
            .flow-text {
                width: calc(100% - (150px + 30%));
            }

            .flow-buttons,
            .flow-image {
                display: block;
                width: 30%;
            }

            .button-wrapper {
                width: 100%;

                a {
                    margin: 10px 0;
                }
            }
        }
    }

    .info-archive,
    .info-single {

        .info-list,
        .info-main {
            width: calc(100% - 300px);

            .cols {
                justify-content: start;
            }

            .info-card {
                width: 45%;
                margin: 20px 15px;
            }
        }

        .info-main {
            padding-right: 70px;

            .post-nav {
                display: flex;
                justify-content: space-between;
            }
        }
    }
}

@media screen and (min-width: 1281px) {}