@charset "UTF-8";

/* 共通 */
@font-face {
    font-family: "Zen Maru Gothic";
    font-weight: normal;
    src: url("../../fonts/Zen_Maru_Gothic/ZenMaruGothic-Regular.ttf") format("truetype");
}

@font-face {
    font-family: "Zen Maru Gothic";
    font-weight: bold;
    src: url("../../fonts/Zen_Maru_Gothic/ZenMaruGothic-Bold.ttf") format("truetype");
}

html {
        /* 色の設定 */
    --text-color: #364037;
    --main-color-orange: #E84D2A;
    --main-color-green: #499d69;
    --bg-color-base: #FBF7F3;
    --bg-color-beige: #F5F1E2;

    /* 角丸 */
    --border-radius: 40px;

    /* 余白の設定 */
    --padding-base: 50px;
    --padding-sp: 24px;

    font-family: 'Zen Maru Gothic',Hiragino Kaku Gothic ProN,Meiryo,'Helvetica Neue',Arial,sans-serif;
    color: var(--text-color);
    font-size: 16px;
    line-height: 1.6;
    scroll-behavior: smooth;
    overscroll-behavior: none;
}

body {
    position: relative;
    background-color: var(--bg-color-base);
}

figure {
    display: flex;
    justify-content: center;
    align-items: center;
}

img {
    width: 100%;
    height: auto;
}

p {
	line-height: 1.8;
}

a {
    display: inline-block;
    color: var(--text-color);
    cursor: pointer;
}

a[href*="tel:"] {
    pointer-events: none;
    cursor: default;
}

@media screen and (max-width: 768px) {
    a[href*="tel:"] {
        pointer-events: auto;
        cursor: pointer;
    }
}

a.button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 180px;
    height: 50px;
    background-color: var(--main-color-green);
    color: #FFFFFF;
    font-weight: bold;
    text-decoration: none;
    border-radius: 25px;
}

@media (hover: hover) {
    a:hover {
        opacity: .6;
        transition: .4s;
    }
}
@media (hover: none) {
    a:active {
        opacity: .6;
    }
}

/* 出し分け */
.show_pc {
    display: block;
}

.show_sp {
    display: none;
}

@media screen and (max-width: 768px) {
    .show_pc {
        display: none;
    }

    .show_sp {
        display: block;
    }
}

/* ヘッダー */
header {
    position: fixed;
    top: -200px;
    left: 0;
    width: 100%;
    padding: 48px 56px;
    z-index: 100;
    transition-duration: .4s;
}

@media screen and (max-width: 1024px) {
    header {
        padding: 48px 24px;
    }
}

header.is-active {
    top: 0;
}

header > .header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #FFFFFF;
    border-radius: 50px;
}

@media screen and (max-width: 1024px) {
    header > .header-inner {
        height: 70px;
    }
}

header h1 {
    padding-left: 48px;
}

@media screen and (max-width: 1024px) {
    header h1 {
        padding-left: 24px;
    }
}

header h1 > img {
    width: auto;
    height: 58px;
}

@media screen and (max-width: 1024px) {
    header h1 > img {
        height: 46px;
    }
}

header .menu > .button_close {
    display: none;
}

header .contact {
    display: none;
}

@media screen and (max-width: 1024px) {
    /* モバイル用のメニュー */
    header .menu > .menu_button {
        position: absolute;
        top: 60px;
        right: 50px;
        z-index: 200;
        display: flex;
        justify-content: center;
        align-items: center;
        width: 42px;
        height: 42px;
        cursor: pointer;
    }

    header .menu > .menu_button span {
        position: relative;
        width: 28px;
        height: 2px;
        border-radius: 3px;
        background: var(--main-color-orange);
    }

    header .menu > .menu_button span:before,
    header .menu > .menu_button span:after {
        position: absolute;
        height: 2px;
        width: 28px;
        border-radius: 4px;
        background-color: var(--main-color-orange);
        content: '';
        transition-duration: .4s;
    }

    header .menu > .menu_button span:before {
        bottom: 10px;
    }

    header .menu > .menu_button span:after {
        top: 10px;
    }

    header .menu.is-active > .menu_button span:before,
    header .menu.is-active > .menu_button span:after {
        background-color: #FFFFFF;
    }

    header .menu.is-active > .menu_button span:before {
        top: 0;
        transform: rotate(45deg);
    }

    header .menu.is-active > .menu_button span:after {
        top: 0;
        transform: rotate(-45deg);
    }
}

/* メニュー */
header nav {
    display: flex;
    padding: 20px;
}

header nav ul {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
    padding: 0 36px 0 24px;
}

header nav ul a {
    font-size: 15px;
    font-weight: bold;
    text-decoration: none;
}

header nav > a.button {
    padding: 0 32px 0 20px;
    width: auto;
    height: 64px;
    background-color: var(--main-color-orange);
    font-size: 14px;
    border-radius: 32px;
}

header nav > a.button::before {
    margin-right: 12px;
    width: 32px;
    height: 32px;
    background-image: url(../../images/shuramii/arrow_circle.svg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    content: '';
}

@media screen and (max-width: 1024px) {
    /* モバイル用のメニュー */
    header nav {
        position: fixed;
        top: 0;
        left: 100%;
        padding: 0;
        width: 100%;
        height: 100%;
        background-color: var(--main-color-orange);
        transition-duration: .4s;
    }

    header .menu nav {
        flex-direction: column;
    }

    header .menu.is-active nav {
        left: 0;
    }

    header .menu nav:before {
        content: "";
        position: absolute;
        top: 60px;
        left: 50px;
        width: 72px;
        height: 100px;
        background-image: url(../../images/shuramii/logo_white.png?d=20260914);
        background-position: center;
        background-repeat: no-repeat;
        background-size: contain;
        z-index: 140;
    }

    header nav ul {
        flex-grow: 1;
        flex-direction: column;
        justify-content: space-between;
        align-items: flex-end;
        gap: unset;
        margin-top: 200px;
        padding: 0 50px;
        width: 100%;
        max-height: 300px;
    }

    header nav ul a {
        color: #FFFFFF;
    }

    header nav > a.button {
        display: none;
    }

    header .contact {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 16px;
        padding-top: 80px;
        padding-bottom: 40px;
    }

    header .contact > p {
        color: #FFFFFF;
        font-size: 14px;
        font-weight: bold;
    }

    header .contact > a.button {
        padding: 0 32px 0 20px;
        width: 250px;
        height: 64px;
        background-color: #FFFFFF;
        color: var(--main-color-orange);
        font-size: 14px;
        border-radius: 32px;
    }

    header .contact > a.button::before {
        margin-right: 12px;
        width: 32px;
        height: 32px;
        background-image: url(../../images/shuramii/arrow_circle_orange.svg);
        background-position: center;
        background-repeat: no-repeat;
        background-size: contain;
        content: '';
    }
}

/* メインコンテンツ */
main > section {
    position: relative;
    padding-top: 32px;
    width: 100%;
}

main > section > div {
    margin: 0 auto;
    padding: var(--padding-base);
    width: 100%;
    max-width: 1140px;
}

@media screen and (max-width: 768px) {
    main > section > div {
        padding: var(--padding-sp);
    }
}

main > section > div > h2,
main > section > div > p {
    margin-bottom: 48px;
    text-align: center;
}

main > section > div > h2 {
    font-size: 24px;
}

/* サブメニュー */
main > .sub_menu {
    position: fixed;
    bottom: 10%;
    right: -124px;
    z-index: 100;
    transition-duration: .4s;
}

main > .sub_menu.is-active {
    right: 0;
}

main > .sub_menu > a {
    position: relative;
    display: block;
    width: 124px;
    height: auto;
}

@media screen and (max-width: 768px) {
    main > .sub_menu > a {
        width: 100px;
    }
}

/* フッター */
footer {
    position: relative;
    margin-top: 104px;
    padding-top: 120px;
    background-color: var(--bg-color-beige);
}

footer figure {
    position: absolute;
    top: -104px;
    left: 50%;
    transform: translateX(-50%);
    padding: 24px;
    width: 164px;
    height: auto;
    background-color: var(--bg-color-beige);
    border-radius: 20px;
}
@media screen and (max-width: 768px) {
    footer figure {
        top: -64px;
        width: 155px;
        padding: 32px;
        padding-bottom: 0;
    }
}

footer ul {
    display: flex;
    justify-content: center;
    gap: 20px;
    list-style: none;
}

footer .news {
    margin: 0 auto;
    padding: 0 var(--padding-base);
    width: 100%;
    max-width: 1140px;
}

@media screen and (max-width: 768px) {
    footer .news {
        padding: 0 var(--padding-sp);
    }
}

footer .news > ul {
    display: grid;
    align-items: start;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

@media screen and (max-width: 768px) {
    footer .news > ul {
        grid-template-columns: 1fr;
    }
}

footer .news > ul > li {
    padding: 32px 40px;
    background-color: var(--bg-color-base);
    border-radius: 20px;
}

footer .news h2 {
    font-size: 16px;
}

footer .news p {
    margin-top: 8px;
    color: #757B75;
    font-size: 12px;
}

footer .news a {
    display: flex;
    align-items: center;
    margin-top: 16px;
    width: max-content;
    color: var(--main-color-orange);
}

footer .news a:after {
    display: inline-block;
    margin-left: 8px;
    width: 32px;
    height: 32px;
    background-image: url(../../images/shuramii/footer_arrow.svg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    content: '';
}

footer nav > ul {
    margin-top: 40px;
}

@media screen and (max-width: 768px) {
    footer nav > ul {
        flex-wrap: wrap;
        gap: 16px;
        padding: 0 var(--padding-sp);
    }
}

footer nav > ul > li:before {
    display: inline-block;
    margin-right: 8px;
    width: 8px;
    height: 8px;
    background-color: var(--main-color-orange);
    border-radius: 4px;
    content: '';
}

footer nav > ul a {
    text-decoration: none;
    font-size: 14px;
    font-weight: bold;
}

footer ul.link {
    align-items: center;
    padding-top: 20px;
}

footer ul.link a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 64px;
    height: 64px;
    background-color: var(--main-color-orange);
    border-radius: 32px;
}

@media screen and (max-width: 768px) {
    footer ul.link a {
        width: 40px;
        height: 40px;
    }
}

footer ul.link a.kids_design {
    width: auto;
    height: 76px;
    background-color: none;
    pointer-events: none;
}

@media screen and (max-width: 768px) {
    footer ul.link a.kids_design {
        height: 50px;
    }
}

footer ul.link a.kids_design {
    width: auto;
    height: 76px;
    background-color: transparent;
}

footer ul.link a.kids_design > img {
    width: auto;
    height: 100%;
}

footer ul.link a.instagram > img {
    width: 28px;
    height: 28px;
}

footer ul.link a.youtube > img {
    height: 42px;
}

footer > .copyright {
    padding: 20px;
    font-size: 14px ;
    text-align: center;
}
