/* ___________________________________________________________ /web-font/ */
/* https://iconscout.com/unicons/explore/line */
@import url("https://unicons.iconscout.com/release/v4.0.0/css/line.css");
/* https://fontawesome.com */
@import url("https://use.fontawesome.com/releases/v6.2.1/css/all.css");
/* https://fonts.google.com/ */
@import url("https://fonts.googleapis.com/css2?family=Zen+Maru+Gothic:wght@300;400;500;700;900&display=swap");

/* ___________________________________________________________ common */
/* ログインバー非表示 */
/*#wpadminbar {
    display: none;
}*/

p:empty {
    display: none !important;
}

/* kerning */
.editing,
.main {
    font-feature-settings: "palt";
    letter-spacing: .1em;
}

.page-list .columns-item .date {
    font-feature-settings: unset !important;
    letter-spacing: initial !important;
}

@media (max-width: 599px) {
    .columns-2,
    .columns-3 {
        display: block;
    }
    .columns-2 .columns-item,
    .columns-3 .columns-item {
        width: 100%;
    }
}




p.date {
    letter-spacing: 0 !important;
}

/* tel link SPのみ有効 */
@media (min-width: 600px) {
    a[href*="tel:"] {
        pointer-events: none;
        cursor: default;
        text-decoration: none;
    }
}

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

.flex-middle {
    display: flex;
    align-items: center;
}

.sp {
    display: none;
}

@media (max-width: 599px) {
    .sp {
        display: block;
    }

    .pc {
        display: none;
    }
}

@media (min-width: 1080px) {
    html {
            scroll-padding-top: 120px;
            scroll-behavior: smooth;
        }
}

.editing ul > li,
.main ul > li {
    padding-left: 20px;
    background: url(https://nakashima-kodomo.com/wp-content/themes/S4-003-Black/resources/functions/images/li.png) no-repeat 0 0.25em transparent;
    background-size: 16px;
}

/* ___________________________________________________________ base-design */
:root {
    --color-bg: #fffbda;
    --color-bg-yellow: #f8eb77;
    --color-NKC-green: #62ab99;
    --color-NKC-green-pale: #edf9f6;
    --color-NKC-green-baby: #dcf4ed;
    --color-NKC-green-heavy: #599689;
    --color-NKC-green-dark: #366762;
    --color-NKC-orange: #e8ba43;
    --color-NKC-orange-pale: #fff8e9;
    --color-NKC-orange-baby: #fce4b1;
    --color-NKC-orange-heavy: #dda83f;
    --color-NKC-orange-dark: #c97b2e;
    --color-NKC-pink-pale: #fcf5f5;
    --color-NKC-pink-baby: #f9dede;
    --color-NKC-blue-pale: #f0faff;
    --color-NKC-blue-baby: #dceef9;
    --color-NKC-vermilion: #ec7440;
    --color-brown-dark: #442c1a;
    --color-black: #333;
    --color-white: #fff;
    --clear-air: rgba(255, 255, 255, 0);
}



body {
    animation: bgColorChange 60s infinite;
    color: var(--color-brown-dark);
    font-family: "Zen Maru Gothic", sans-serif;
    font-weight: 500;
}

@keyframes bgColorChange {
    0% {
        background-color: var(--color-NKC-orange-pale);
    }

    12.5% {
        background-color: var(--color-NKC-orange-baby);
    }

    25% {
        background-color: var(--color-NKC-pink-pale);
    }

    37.5% {
        background-color: var(--color-NKC-pink-baby);
    }

    50% {
        background-color: var(--color-NKC-blue-pale);
    }

    62.5% {
        background-color: var(--color-NKC-blue-baby);
    }

    75% {
        background-color: var(--color-NKC-green-pale);
    }

    87.5% {
        background-color: var(--color-NKC-green-baby);
    }

    100% {
        background-color: var(--color-NKC-orange-pale);
    }
}

@media (min-width: 767px) {
    .columns-item+.columns-item {
        margin-top: 0 !important;
    }
}

.header {
    border-top: none;
}

/*headline*/
h1:not(.home) {
    text-align: initial !important;
    font-size: clamp(1.75em, 1.375rem + 1.67vw, 2.5em);
    /*color:  var(--color-NKC-green);*/
    border-color: var(--color-NKC-orange);
    display: inline-block;
    margin-bottom: 1em;
}

.editing h2,
.main h2 {
    font-size: clamp(1.5em, 1.15rem + 1.56vw, 2.2em);
    padding-bottom: 0;
    border-bottom: none;
    color: var(--color-NKC-green);
}

.editing h2:nth-child(n+2),
.main h2:nth-child(n+2) {
    margin-top: 2em !important;
}

.editing h3,
.main h3 {
    font-size: clamp(1.25em, 1rem + 1.11vw, 1.75em);
    border-bottom: none;
    color: var(--color-NKC-green-heavy);
}

.editing h4,
.main h4 {
    font-size: clamp(1.1em, 0.9rem + 0.89vw, 1.5em);
    border-bottom: none;
    box-shadow: none;
    color: var(--color-NKC-green-dark);
    margin-bottom: 1em;
}

/* リンク */
a:visited {
    color: var(--color-NKC-green-dark);
}

a:hover {
    color: var(--color-NKC-green);
}

a:link {
    color: var(--color-NKC-green-heavy);
}

.more a {
    color: inherit;
    border-color: var(--color-NKC-orange-heavy);
    background-color: rgba(255, 255, 255, .5);
}

.more a:hover {
    background-color: var(--color-NKC-orange-heavy);
    color: var(--color-white);
}

.pagetop-btn-wrapper a {
    background-color: var(--color-NKC-orange);
}

.pagetop-btn-wrapper a:hover {
    background-color: var(--color-NKC-orange-baby);
}

.bg_base {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: -10;
    background-image: url('https://nakashima-kodomo.com/custom/GR/bg-pattern.svg');
    background-repeat: repeat;
    background-size: 2500px auto;
    animation: scrollBg 150s linear infinite;
}

@keyframes scrollBg {
    0% {
        background-position: center 0;
    }

    100% {
        background-position: center -2500px;
    }
}
@media screen and (max-width: 600px) {
    .bg_base {
        background-size: 1000px auto;
        animation: scrollBg 90s linear infinite;
    }
}


/* ___________________________________________________________ header */
@media (min-width: 1080px) {

    .search-btn,
    .font-size {
        display: none;
    }

    .header .container {
        position: fixed;
        top: 20px;
        left: 0;
        right: 0;
        display: flex;
        justify-content: space-between;
        background-color: #fff;
        border-radius: 10px;
        margin: auto;
        padding: 20px 10px;
        width: 94%;
        max-width: 94%;
        z-index: 10;
    }

    .header .logo {
        position: static;
        max-width: 160px;
        min-height: auto;
    }

    .header #menu {
        width: auto;
    }

    .header #menu .main-menu {
        margin: 0;
    }

    .header #menu .main-menu ul {
        justify-content: flex-end;
        margin-top: 0;
        height: auto;
    }

    .header #menu .main-menu ul li {
        font-size: 0.8em;
        font-weight: bold;
        height: auto;
    }

    .header #menu .main-menu ul li a {
        display: flex;
        align-items: center;
        border-radius: 0;
        color: inherit;
        letter-spacing: 0.02em;
        line-height: normal;
        padding: 10px 5px;
        transition: all .3s;
    }

    .header #menu .main-menu ul li a:hover {
        background-color: transparent;
        color: var(--color-main);
    }

    .header #menu .main-menu ul li.stay a {
        background-color: transparent;
        color: inherit;
    }

    /*btn*/
    .header #menu .main-menu ul li:last-child a,
    .header #menu .main-menu ul li:nth-last-child(2) a {
        border-radius: 5px;
        color: #fff;
        padding: 10px;
    }

    .header #menu .main-menu ul li:last-child,
    .header #menu .main-menu ul li:nth-last-child(2) {
        margin-left: 5px;
    }

    .header #menu .main-menu ul li:last-child a {
        background-color: var(--color-NKC-orange);
    }

    .header #menu .main-menu ul li:nth-last-child(2) a {
        background-color: var(--color-NKC-green);
    }

    .header #menu .main-menu ul li:last-child a:hover {
        opacity: .7;
    }
}

@media (min-width: 1150px) {
    .header .container {
        padding: 20px 10px 20px 15px;
    }

    .header .logo {
        max-width: 250px;
    }

    .header #menu .main-menu ul li {
        font-size: 0.85em;
        font-weight: bold;
    }

    .header #menu .main-menu ul li a {
        padding: 10px 6px;
    }
}

@media (min-width: 1330px) {
    .header .container {
        padding: 20px;
    }

    .header .logo {
        max-width: 240px;
    }

    .header #menu .main-menu ul li {
        font-size: 0.9em;
        font-weight: bold;
    }

    .header #menu .main-menu ul li a {
        padding: 10px 8px;
    }

    .header #menu .main-menu ul li:last-child a {
        padding: 10px 15px;
    }

    .header #menu .main-menu ul li:last-child {
        margin-left: 10px;
    }

    .header #menu .main-menu ul li:nth-last-child(2) {
        margin-left: 8px;
    }
}

@media (min-width: 1430px) {
    .header #menu .main-menu ul li a {
        padding: 10px;
    }
}

/* ___________________________________________________________ contents */
.intro .container {
    background: var(--color-NKC-green);
    border-radius: 20px;
    color: var(--color-white);
}

@media (max-width: 1079px) {
    .intro:not(.home) .container {
        width: 96vw;
        margin: auto;
    }
}

.manjuu {
    aspect-ratio: 5 / 4;
    height: auto;
    background: var(--color-white);
    /*clip-path: ellipse(100% 80% at 50% 0%);*/
    border-radius: 50% 50% 50% 50% / 70% 70% 30% 30%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.manjuu .manjuu-text {
    margin-top: 40px;
    max-width: 65%;
}

.contents-wrapper .common-contents.common-top-large:first-child {
    margin-top: 0 !important;
}

.FV-comment .plan-text {
    max-width: 700px;
    margin: 0 auto 10vh;
    background-color: var(--color-NKC-green);
    border-radius: 10px;
    color: var(--color-white);
    font-size: clamp(1.75em, 1.295rem + 2.27vw, 3em);
    font-weight: bold;
}

/*アコーディオン*/
.accordion {
    margin-top: 0 !important;
    margin-bottom: 2em;
}

.accordion .option {
    position: relative;
    margin-top: 0 !important;
}

.accordion .toggle {
    display: none;
}

.accordion .title,
.accordion .content {
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transform: translateZ(0);
    transition: all 0.3s;
}

.accordion .title {
    display: block;
    background-color: var(--color-NKC-orange);
    border-radius: 10px;
    color: var(--color-brown-dark);
    font-size: 1.2em;
    font-weight: bold;
    line-height: 1.5;
    padding: .75em 2.5em.75em 1em;
}

.accordion .toggle:checked+br+.title {
    border-radius: 10px 10px 0 0;
}

.accordion .title::after,
.accordion .title::before {
    position: absolute;
    right: 1.25em;
    top: 0;
    bottom: 0;
    margin: auto;
    background-color: var(--color-black);
    content: "";
    transition: all 0.3s;
    width: 3px;
    height: 0.75em;
}

.accordion .title::after {
    transform: rotate(90deg);
}

.accordion .title+p {
    display: none;
}

.accordion .content {
    margin-top: 0 !important;
    overflow: hidden;
    max-height: 0;
}

.accordion .toggle:checked+br+.title+p+.content {
    max-height: 100%;
    transition: all 1.5s;
}

.accordion .toggle:checked+br+.title::before {
    transform: rotate(90deg) !important;
}

.accordion .content .inner {
    background-color: var(--color-white);
    color: var(--color-black);
    padding: 20px;
    border-radius: 0 0 10px 10px;
    border: 3px solid var(--color-NKC-orange);
}

.accordion .content .inner h4 {
    color: var(--color-main);
}

.accordion .content .inner a {
    color: var(--color-black);
}

.accordion .content .inner table th {
    background-color: rgb(91 157 210 / .2);
}

.main .accordion .content .inner ul:not(.sd-content)>li::before {
    background-color: var(--color-lightblue);
}

@media (max-width: 767px) {
    .accordion .content .inner {
        padding: 15px;
    }
}

.accordion .content .inner dl dt {
    background-color: unset;
    font-weight: bold;
}

input+br {
    display: none;
}

*:not(.accordion)+.accordion {
    margin-top: 1em !important;
}


/*背景：アクセント*/
.accent {
    background: rgba(255, 255, 255, .75);
    border-radius: 20px;
    padding: 1.5em;
}

.accent-border {
    border: 3px solid var(--color-NKC-green);
    ;
    border-radius: 20px;
    padding: 1.5em;
}

/*box*/
:is(.editing, .main) .box {
    padding: 15px;
    border-radius: clamp(25px, 0.781rem + 3.47vw, 50px);
}

.box.-line {
    border: 1px solid var(--color-txt);
}

.box.-line-green {
    border: 1px solid var(--color-main);
}

.box.-line-white {
    border: 1px solid #fff;
}
.box.-line-none {
    border: none;
}
.box.-white {
    background-color: rgba(255, 255, 255, .5);
    border: none;
}

.box.-gray {
    background-color: var(--color-gray);
    border: none;
}

@media (min-width: 375px) {
    :is(.editing, .main) .box {
        padding: 20px;
    }

    :is(.editing, .main) .box-wide {
        padding: 1.8em 1.5em;
    }
}

@media (min-width: 720px) {
    :is(.editing, .main) .box {
        padding: 30px;
    }

    :is(.editing, .main) .box-wide {
        padding: 3em 2em;
    }
}

@media (min-width: 1080px) {

    :is(.editing, .main) .box-l,
    :is(.editing, .main) .box-wide {
        padding: 4em 3em;
    }
}

@media (min-width: 1280px) {
    :is(.editing, .main) .box-wide {
        margin-right: -4em;
        margin-left: -4em;
        padding: 4em;
    }
}

/*狭いエリア*/
.narrow-area {
    width: 75%;
    margin: auto;
}

/*横並びリスト*/
.flat-list {
    width: 100%;
    padding: 0;
    margin: 0;
    list-style: none;
    overflow: hidden;
    /* floatのclearfix */
}

.flat-list li {
    float: left;
    width: 33.3%;
    /* 3個並ぶ前提（調整可） */
}

@media (max-width: 767px) {
    .flat-list li {
        width: 100%;
        float: none;
    }
    .flat-list.flat-sp li {
        width: 50%;
        float: left;
    }
}

.flex-container {
    display: flex;
    gap: 1em;
}

.flex-container {
    div:first-child {
        flex: 0 0 50%;
    }

    div:last-child {
        flex: 0 0 50%;
        margin-top: 0 !important;
    }

    div:nth-child(n+2) {
        margin-top: 0 !important;
    }
}

.flex-container.flex10-90 {
    div:first-child {
        flex: 0 0 10%;
    }

    div:last-child {
        flex: 0 0 90%;
    }
}

.flex-container.flex20-80 {
    div:first-child {
        flex: 0 0 20%;
    }

    div:last-child {
        flex: 0 0 80%;
    }
}

.flex-container.flex30-70 {
    div:first-child {
        flex: 0 0 30%;
    }

    div:last-child {
        flex: 0 0 70%;
    }
}

.flex-container.flex40-60 {
    div:first-child {
        flex: 0 0 40%;
    }

    div:last-child {
        flex: 0 0 60%;
    }
}

.flex-container.reverse {
    div:first-child {
        order: 2;
    }

    div:last-child {
        order: 1;
    }
}

@media (max-width: 767px) {
    .flex-container {
        display: block;
        gap: 0;

        div:first-child {
            flex: 0 0 100%;
        }

        div:last-child {
            flex: 0 0 100%;
        }

        div:not(:first-child):not(.content) {
            margin-top: 20px !important;
        }
    }
}

/*メッセージエリア*/
.section-1 {
    position: relative;
}

.section-1::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: -2vw;
    width: clamp(80px, 2.781rem + 9.86vw, 151px);
    height: clamp(120px, 3.438rem + 18.06vw, 250px);
    background-image: url('https://nakashima-kodomo.com/wp-content/uploads/2025/07/deco-bear.webp');
    background-size: contain;
    background-repeat: no-repeat;
}

.section-1::after {
    content: "";
    position: absolute;
    bottom: 0;
    right: -2vw;
    width: clamp(80px, 2.781rem + 9.86vw, 151px);
    height: clamp(120px, 3.438rem + 18.06vw, 250px);
    background-image: url('https://nakashima-kodomo.com/wp-content/uploads/2025/07/deco-stag.webp');
    background-size: contain;
    background-repeat: no-repeat;
}

@media (max-width: 767px) {

    .section-1::before,
    .section-1::after {
        top: -65px !important;
    }
}

.page-list .page-list-item {
    border-color: var(--color-NKC-orange);
}

/* コンタクトフォーム */
.wpcf7 input[type="submit"]:not([name="submitBack"]),
.wpcf7 button[type="submit"]:not([name="submitBack"]),
.mw_wp_form input[type="submit"]:not([name="submitBack"]),
.mw_wp_form button[type="submit"]:not([name="submitBack"]),
.formContents input[type="submit"]:not([name="submitBack"]),
.formContents button[type="submit"]:not([name="submitBack"]) {
    background-color: var(--color-NKC-orange);
    font-weight: bold;
    color: var(--color-brown-dark);
}

.wpcf7 input[type="submit"]:not([name="submitBack"]):not([disabled]):hover,
.wpcf7 button[type="submit"]:not([name="submitBack"]):not([disabled]):hover,
.mw_wp_form input[type="submit"]:not([name="submitBack"]):not([disabled]):hover,
.mw_wp_form button[type="submit"]:not([name="submitBack"]):not([disabled]):hover,
.formContents input[type="submit"]:not([name="submitBack"]):not([disabled]):hover,
.formContents button[type="submit"]:not([name="submitBack"]):not([disabled]):hover {
    background-color: var(--color-NKC-orange-dark);
    color: var(--color-white);
}

.formList,
.formList tr,
.formList>.formList_item,
.formList>dl {
    border-color: var(--color-white) !important;
}

.formList th,
.formList>.formList_item>.formList_heading,
.formList>dl>dt {
    background-color: unset;
    font-weight: 500;
}

.wpcf7 input[type="text"],
.wpcf7 input[type="password"],
.wpcf7 input[type="email"],
.wpcf7 input[type="url"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="datetime"],
.wpcf7 input[type="datetime-local"],
.wpcf7 input[type="time"],
.wpcf7 input[type="date"],
.wpcf7 input[type="month"],
.wpcf7 input[type="week"],
.wpcf7 input[type="number"],
.wpcf7 input[type="range"],
.wpcf7 input[type="search"],
.wpcf7 input[type="file"],
.wpcf7 textarea,
.mw_wp_form input[type="text"],
.mw_wp_form input[type="password"],
.mw_wp_form input[type="email"],
.mw_wp_form input[type="url"],
.mw_wp_form input[type="tel"],
.mw_wp_form input[type="datetime"],
.mw_wp_form input[type="datetime-local"],
.mw_wp_form input[type="time"],
.mw_wp_form input[type="date"],
.mw_wp_form input[type="month"],
.mw_wp_form input[type="week"],
.mw_wp_form input[type="number"],
.mw_wp_form input[type="range"],
.mw_wp_form input[type="search"],
.mw_wp_form input[type="file"],
.mw_wp_form textarea,
.formContents input[type="text"],
.formContents input[type="password"],
.formContents input[type="email"],
.formContents input[type="url"],
.formContents input[type="tel"],
.formContents input[type="datetime"],
.formContents input[type="datetime-local"],
.formContents input[type="time"],
.formContents input[type="date"],
.formContents input[type="month"],
.formContents input[type="week"],
.formContents input[type="number"],
.formContents input[type="range"],
.formContents input[type="search"],
.formContents input[type="file"],
.formContents textarea {
    padding: 0.5em;
    border-radius: 5px;
    border: none;
}

.formList+dl dt {
    padding: 0.75em;
    background-color: rgba(255, 255, 255, .5);
    border-radius: 5px;
}
.contents-wrapper {
    margin-top: 0;
}

/* toppage
 * -------------------- */
/*.home .contents-wrapper {
    margin-top: 360px;
}

@media (min-width: 600px) {
    .home .contents-wrapper {
        margin-top: 500px !important;
    }
}

@media (min-width: 1080px) {
    .home .contents-wrapper {
        margin-top: 780px !important;
    }
}*/

/*scroll-infinity*/
.scroll-infinity__wrap {
    display: flex;
    overflow: hidden;
    margin: 2em calc(50% - 50vw) 0;
    width: 100vw;
}

.main ul.scroll-infinity__list {
    display: flex !important;
    list-style: none;
    margin: 0 !important;
    padding: 0
}

.scroll-infinity__list--left {
    animation: infinity-scroll-left 50s infinite linear 0.5s both;
}

.main ul li.scroll-infinity__item {
    margin: 0 5px;
    padding: 0;
    width: calc(100vw / 2);
}

.main ul li.scroll-infinity__item::before {
    display: none;
}

.scroll-infinity__item>img {
    width: 100%;
}

@media (min-width: 600px) {
    .main ul li.scroll-infinity__item {
        width: calc(100vw / 3);
    }
}

@media (min-width: 1080px) {
    .scroll-infinity__list--left {
        animation: infinity-scroll-left 70s infinite linear 0.5s both;
    }

    .main ul li.scroll-infinity__item {
        margin: 0 8px;
        width: calc(100vw / 4);
    }
}

@keyframes infinity-scroll-left {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-100%);
    }
}

body.home .lead-contents {
    margin-bottom: 0;
}

.mv {
    position: absolute;
    top: clamp(70px, 2.813rem + 6.94vw, 120px);
    left: 0;
    margin: 0 calc(50% - 50vw);
    width: 100vw;
    height: 420px;
}

.mv {
    top: 70px;
}

@media (min-width: 1080px) {
    .mv {
        top: 120px;
    }
}

.mv::before {
    position: absolute;
    bottom: 0;
    left: 0;
    display: block;
    content: '';
    background-color: var(--color-yellow);
    width: 100%;
    height: 50%;
}

.mv_copy {
    position: absolute;
    top: 280px;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 auto !important;
    width: fit-content;
}

.mv_copy p {
    background-color: #fff;
    font-size: clamp(1.15em, 0.225rem + 4.11vw, 3em);
    font-weight: 600;
    letter-spacing: .08em;
    line-height: 1.4;
    margin-top: 0 !important;
    margin: 5px 0;
    padding: 3px 15px;
    width: fit-content;
    border-radius: 10px;
}

.mv_copy p.with-comma {
    padding-right: 0;
}

.scroll-infinity__wrap {
    margin-top: 10px;
}

.mv ul li.scroll-infinity__item {
    margin: 0 15px;
    width: 190px;
}

.mv ul li.scroll-infinity__item:nth-child(2n+1) {
    margin-top: 40px !important;
}

.mv ul li.scroll-infinity__item img {
    aspect-ratio: 2 / 3;
    object-fit: cover;
    /*filter: drop-shadow(10px 10px 0 var(--color-white));*/
    border-radius: 20px;
}

@media (min-width: 600px) {
    .mv {
        height: 570px;
    }

    .mv_copy {
        top: 380px;
    }

    .mv_copy p {
        padding: 5px 15px;
    }

    .scroll-infinity__wrap {
        margin-top: 20px;
    }

    .mv ul li.scroll-infinity__item {
        margin: 0 20px;
        width: 260px;
    }

    .mv ul li.scroll-infinity__item:nth-child(2n+1) {
        margin-top: 50px !important;
    }
}

@media (min-width: 1080px) {
    .mv {
        height: 720px;
    }

    .mv_copy {
        top: 460px;
    }

    .mv_copy p {
        margin: 10px 0;
    }

    .mv ul li.scroll-infinity__item {
        margin: 0 40px;
        width: 320px;
    }

    .mv ul li.scroll-infinity__item:nth-child(2n+1) {
        margin-top: 60px !important;
    }
}

/* shortcut */
.shortcut {
    margin-top: 400px;
}

@media (min-width: 600px) {
    .shortcut {
        margin-top: 500px !important;
    }
}

@media (min-width: 1080px) {
    .shortcut {
        margin-top: 800px !important;
    }
}

.shortcut .page-list-item {
    position: relative;
}
.shortcut .container {
    border-bottom: none;
}

/*content-head*/
.content-head {
    position: absolute;
    top: 0;
    left: 0;
    margin: 0 calc(50% - 50vw);
    width: 100vw;
    z-index: -1;
}

.content-head .scroll-infinity__wrap {
    margin-top: 0;
}

.content-head ul li.scroll-infinity__item {
    margin: 0;
    width: calc(100vw / 1.2);
}

.content-head ul li.scroll-infinity__item img {
    aspect-ratio: 3 / 2;
    object-fit: cover;
}

.main:has(.content-head) h1 {
    margin-top: calc((100vw / 1.2 / 3 * 2) - 30px - 20px);
}

@media (min-width: 768px) {
    .main:has(.content-head) h1 {
        margin-top: calc((100vw / 1.2 / 3 * 2) - 30px - 40px);
    }
}

@media (min-width: 1080px) {
    .content-head ul li.scroll-infinity__item {
        width: 700px;
    }

    .main:has(.content-head) h1 {
        margin-top: 390px;
    }
}

/* ___________________________________________________________ footer */
.footer {
    margin-top: clamp(50px, 1.563rem + 6.94vw, 100px);
    background-color: var(--color-white);
    border-radius: clamp(30px, 0.938rem + 4.17vw, 60px) clamp(30px, 0.938rem + 4.17vw, 60px) 0 0 ;
}

.footer .logo img {
    width: 200px;
}

@media (max-width: 1079px) {
    .footer {
        padding-bottom: 60px !important;
    }
}

.footer .container {
    border-color: var(--color-NKC-green);
}

@media (min-width: 1080px) {
    .footer .qr-contents {
        border-color: var(--color-NKC-orange);
    }
}

.footer .footer-contents {
    border-color: var(--color-NKC-orange);
}

.footer .qr-contents .qr .qr-image {
    border-color: var(--color-NKC-green);
}

.footer .qr-contents .qr .url a {
    color: var(--color-NKC-orange);
}

@media (min-width: 1080px) {
    .pagetop-btn-wrapper {
        padding-top: 40px;
    }
}
/*SPフッタ部フローティング*/
.footer-contact {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 10;
}

.footer-contact ul {
    display: flex !important;
    border-top: 2px solid #fff;
    margin: 0;
}

.footer-contact ul li {
    background: none;
    background-color: var(--color-NKC-green);
    margin: 0;
    padding-left: 0;
    padding: 5px 0;
}

.footer-contact ul li:first-child,
.footer-contact ul li:last-child {
    width: 37.5%;
}
.footer-contact ul li:nth-child(2) {
    width: 25%;
}

.footer-contact ul li::before {
    display: none;
}

.footer-contact ul li:nth-child(2) {
    border-left: 2px solid #fff;
    background-color: var(--color-NKC-orange);
}

.footer-contact ul li:nth-child(3) {
    border-left: 2px solid #fff;
    background-color: var(--color-NKC-vermilion);
}

.footer-contact ul li a {
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-size: 80%;
    font-weight: bold;
    padding: 8px;
    text-decoration: none;
}

.footer-contact ul li a img {
    margin-right: 8px;
    width: 20px;
}

.footer-contact ul li a:hover img {
    opacity: 1;
}

.menu-btn {
    bottom: 55px;
}
/* name */
.name {
    font-size: 1.15em !important;
    font-weight: bold;
    color: var(--color-black) !important;
    margin: 1em 0 0 0 !important;
    padding-bottom: 0 !important;
}

/*table*/
.-line-none table:not(.history) {
    background-color: rgba(255, 255, 255, .75);
}
@media (max-width: 600px) {
    table {
        font-size: 0.9em;
    }
    table th,
    table td {
        padding: .5em;
    }
}


/* scrollBox */
.scrollBox {
    display: block;
    position: relative;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch
}

.scrollBox:after {
    content: '';
    display: none
}

.scrollBox.scrollBox-ready:after {
    content: "";
    display: block;
    position: absolute;
    bottom: 5px;
    right: 5px;
    margin-top: -10px;
    border: 4px solid #666;
    border-radius: 7.5px;
    width: 15px;
    height: 15px;
    line-height: 15px;
    text-align: center;
    font-size: 1.2rem;
    color: #fff;
    background: url(../images/theme/scrollBox-arrow.svg) left center no-repeat #666;
    background-size: 32px 7px;
    -webkit-box-shadow: 0 1px 3px 0 rgba(0, 0, 0, .35);
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, .35);
    pointer-events: none;
    -webkit-animation: kf-scrollBox-indicator 1.8s cubic-bezier(.56, .01, .48, 1) infinite alternate;
    animation: kf-scrollBox-indicator 1.8s cubic-bezier(.56, .01, .48, 1) infinite alternate
}

@-webkit-keyframes kf-scrollBox-indicator {
    0% {
        width: 15px
    }

    50% {
        width: 15px
    }

    90% {
        width: 30px
    }

    100% {
        width: 30px
    }
}

@keyframes kf-scrollBox-indicator {
    0% {
        width: 15px
    }

    50% {
        width: 15px
    }

    90% {
        width: 30px
    }

    100% {
        width: 30px
    }
}

/*イラスト*/
.mv_copy::before,
.mv_copy::after {
    content: "";
    position: absolute;
    display: inline-block;
    width: clamp(80px, 2.5rem + 11.11vw, 160px);
    height: clamp(80px, 2.5rem + 11.11vw, 160px);
    background-position: center;
    background-size: contain;
}
.mv_copy::before {
    background-image: url('https://nakashima-kodomo.com/custom/GR/illust-01.svg');
    left: -100px;
}
.mv_copy::after {
    background-image: url('https://nakashima-kodomo.com/custom/GR/illust-02.svg');
    right: -100px;
}

@media (max-width: 1079px) {
    .mv_copy::before {
        left: clamp(-30px, 0.313rem + -9.72vw, -100px);
    }
    .mv_copy::after {
        right: clamp(-45px, -1.094rem + -7.64vw, -100px);
    }
}

.illust-03,
.illust-04,
.illust-05,
.illust-06,
.illust-07,
.illust-08,
.illust-09,
.illust-10,
.illust-11,
.illust-12,
.illust-13,
.illust-14,
.illust-15 {
    position: relative;
}
.illust-03::after,
.illust-04::after,
.illust-05::after,
.illust-06::after,
.illust-07::after,
.illust-08::after,
.illust-09::after,
.illust-10::after,
.illust-11::after,
.illust-12::after,
.illust-13::after,
.illust-14::after,
.illust-15::after {
    content: "";
    position: absolute;
    display: inline-block;
    background-position: center;
    background-size: contain;
}
.illust-03::after {
    /*1080px-740px*/
    width: clamp(80px, 2.5rem + 11.11vw, 160px);
    height: clamp(80px, 2.5rem + 11.11vw, 160px);
    background-image: url('https://nakashima-kodomo.com/custom/GR/illust-03.svg');
    right: clamp(20px, 17.574rem + -35.29vw, -100px);
    bottom: -80px;
}

.illust-04::after {
    /*1080px-740px*/
    width: clamp(80px, 2.5rem + 11.11vw, 160px);
    height: clamp(80px, 2.5rem + 11.11vw, 160px);
    background-image: url('https://nakashima-kodomo.com/custom/GR/illust-04.svg');
    left: clamp(410px, 12.188rem + 59.72vw, 840px);
    bottom: -50px;
}
.illust-05::after {
    /*1080px-740px*/
    width: clamp(60px, 2.5rem + 5.56vw, 100px);
    height: clamp(60px, 2.5rem + 5.56vw, 100px);
    background-image: url('https://nakashima-kodomo.com/custom/GR/illust-05.svg');
    left: clamp(20px, -1.25rem + 11.11vw, 100px);
    bottom: -120px;
}

.illust-06::after {
    width: clamp(80px, 2.5rem + 11.11vw, 160px);
    height: clamp(80px, 2.5rem + 11.11vw, 160px);
    background-image: url('https://nakashima-kodomo.com/custom/GR/illust-06.svg');
    left: clamp(250px, 69.44vw, 750px);
    bottom: 110px;
}

.illust-07::after {
    width: clamp(80px, 2.5rem + 11.11vw, 160px);
    height: clamp(80px, 2.5rem + 11.11vw, 160px);
    background-image: url('https://nakashima-kodomo.com/custom/GR/illust-07.svg');
    left: 0;
    bottom: -80px;
}

.illust-08::after {
    width: clamp(80px, 2.5rem + 11.11vw, 160px);
    height: clamp(80px, 2.5rem + 11.11vw, 160px);
    background-image: url('https://nakashima-kodomo.com/custom/GR/illust-08.svg');
    right: 40px;
    bottom: -80px;
}

.illust-09::after {
    width: clamp(80px, 2.5rem + 11.11vw, 160px);
    height: clamp(80px, 2.5rem + 11.11vw, 160px);
    background-image: url('https://nakashima-kodomo.com/custom/GR/illust-09.svg');
    right: clamp(20px, 17.574rem + -35.29vw, -100px);
    bottom: 0;
}

.illust-10::after {
    width: clamp(80px, 2.5rem + 11.11vw, 160px);
    height: clamp(80px, 2.5rem + 11.11vw, 160px);
    background-image: url('https://nakashima-kodomo.com/custom/GR/illust-10.svg');
    right: clamp(20px, 17.574rem + -35.29vw, -100px);
    bottom: -80px;
}

.illust-11::after {
    width: clamp(80px, 2.5rem + 11.11vw, 160px);
    height: clamp(80px, 2.5rem + 11.11vw, 160px);
    background-image: url('https://nakashima-kodomo.com/custom/GR/illust-11.svg');
    right: clamp(20px, 17.574rem + -35.29vw, -100px);
    bottom: -80px;
}

.illust-12::after {
    width: clamp(80px, 2.5rem + 11.11vw, 160px);
    height: clamp(80px, 2.5rem + 11.11vw, 160px);
    background-image: url('https://nakashima-kodomo.com/custom/GR/illust-12.svg');
    right: clamp(20px, 17.574rem + -35.29vw, -100px);
    bottom: -60px;
}

.illust-13::after {
    width: clamp(80px, 2.5rem + 11.11vw, 160px);
    height: clamp(80px, 2.5rem + 11.11vw, 160px);
    background-image: url('https://nakashima-kodomo.com/custom/GR/illust-13.svg');
    left: -40px;
    bottom: -80px;
}

.illust-14::after {
    width: clamp(80px, 2.5rem + 11.11vw, 160px);
    height: clamp(80px, 2.5rem + 11.11vw, 160px);
    background-image: url('https://nakashima-kodomo.com/custom/GR/illust-14.svg');
    right: clamp(20px, 17.574rem + -35.29vw, -100px);
    bottom: -80px;
}

.illust-15::after {
    width: clamp(80px, 2.5rem + 11.11vw, 160px);
    height: clamp(80px, 2.5rem + 11.11vw, 160px);
    background-image: url('https://nakashima-kodomo.com/custom/GR/illust-15.svg');
    right: clamp(20px, 17.574rem + -35.29vw, -100px);
    bottom: -50px;
}

@media (max-width: 568px) {

    .illust-03::after {
        /*567px-360px*/
        right: 0 !important;
        bottom: -80px;
    }

    .illust-04::after {
        left: 260px !important;
        bottom: -20px;
    }

    .illust-05::after {
        bottom: -60px;
    }

    .illust-06::after {
        left: 200px !important;
        bottom: 60px;
    }

    .illust-07::after {
        right: 0 !important;
        bottom: -80px;
    }

    .illust-08::after {
        right: 0 !important;
        bottom: -80px;
    }

    .illust-09::after {
        right: 0 !important;
        bottom: -80px;
    }

    .illust-10::after {
        right: 40px !important;
        bottom: -50px;
    }

    .illust-11::after {
        right: 0 !important;
        bottom: -80px;
    }

    .illust-12::after {
        right: 0 !important;
        bottom: -40px;
    }

    .illust-13::after {
        right: -20px !important;
        bottom: -60px;
    }

    .illust-14::after {
        right: 0 !important;
        bottom: -80px;
    }

    .illust-15::after {
        right: 0 !important;
        bottom: -80px;
    }

}