@charset "UTF-8";

@import url('https://fonts.googleapis.com/css2?family=Braah+One&family=Noto+Sans+JP:wght@100..900&display=swap');

@media screen and (min-width: 897px) {
    .sp {
        display: none !important;
    }

    .pc {
        display: block;
    }
}

@media screen and (max-width: 896px) {
    .pc {
        display: none !important;
    }

    .sp {
        display: block;
    }
}

@media screen and (min-width: 601px) {
    .sp-600 {
        display: none !important;
    }

    .pc-600 {
        display: block;
    }
}

@media screen and (max-width: 600px) {
    .pc-600 {
        display: none !important;
    }

    .sp-600 {
        display: block;
    }
}


:root {
    --title-font: "Braah One", sans-serif;
    --blue-grade: linear-gradient(150deg, rgba(43, 197, 236, 1), rgba(45, 239, 246, 1));
    --orange-grade: linear-gradient(150deg, rgba(255, 112, 35, 1), rgba(255, 166, 0, 1));
    --green-grade: linear-gradient(150deg, rgba(63, 181, 42, 1), rgba(65, 244, 154, 1));
    --pink-grade: linear-gradient(150deg, rgba(236, 62, 135, 1), rgba(234, 92, 184, 1));
    --skyblue-grade: linear-gradient(150deg, rgba(153, 157, 255, 1), rgba(137, 228, 255, 1));
}

html {
    scroll-behavior: smooth;
}

body,
html {
    position: relative;
    margin: 0;
    padding: 0;
    height: 100%;
    font-size: 1rem;
    font-family: "Noto Sans JP", sans-serif;
    font-weight: 600;
}

body {
    background-image: linear-gradient(0deg, transparent calc(100% - 1px), #f0f0f0 calc(100% - 1px)),
        linear-gradient(90deg, transparent calc(100% - 1px), #f0f0f0 calc(100% - 1px));
    background-size: 32px 32px;
    background-repeat: repeat;
    background-position: center center;
}

.braah-one-regular {
    font-family: "Braah One", sans-serif;
    font-weight: 400;
    font-style: normal;
}

img {
    width: 100%;
    height: auto;
    display: block;
}



.header {
    position: fixed;
    /* ← これ大事！ */
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    z-index: 9999;
    /* ← 表示されない時はだいたいこれ */
}

.header.show {
    opacity: 1;
    transform: translateY(0);
}

.header-logo {
    position: fixed;
    top: 24px;
    left: 24px;
    z-index: 99;
    max-width: 200px;
}

.hamburger-btn {
    position: fixed;
    top: 24px;
    right: 24px;
    width: 32px;
    height: 26px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    z-index: 120;
    cursor: pointer;
    background: none;
    border: none;
}

.hamburger-btn span {
    height: 4px;
    width: 100%;
    background: #ffffff;
    border: 1px solid #000000;
    display: block;
    transition: all 0.3s ease;
}

/* --- ハンバーガーを × に変形 --- */
.hamburger-btn.active span:nth-child(1) {
    transform: translateY(11px) rotate(45deg);
}

.hamburger-btn.active span:nth-child(2) {
    opacity: 0;
}

.hamburger-btn.active span:nth-child(3) {
    transform: translateY(-11px) rotate(-45deg);
}

/* メニュー本体（閉じてる時） */
.hamberger-menu {
    position: fixed;
    top: 0;
    right: -400px;
    z-index: 99;
    display: flex;
    flex-direction: column;
    /* これが重要 */
    justify-content: center;
    align-items: center;
    height: 100vh;
    padding: 72px 32px;
    background: rgba(31, 150, 201, 0.8);
    backdrop-filter: blur(20px);
    min-width: 350px;
    transition: right 0.4s ease;
}

/* 内部のみスクロール */
.hamberger-menu ul {
    width: 100%;
    font-family: var(--title-font);
    color: #ffffff;
    font-size: 20px;
    overflow-y: auto;
    max-height: calc(100vh - 80px);
    /* 上下paddingを差し引く */
}

/* 開いた状態 */
.hamberger-menu.active {
    right: 0;
}

.hamberger-menu ul li {
    width: 100%;
    border-bottom: 1px solid #90bec6;
}

.hamberger-menu ul li:last-child {
    border-bottom: none;
}

.hamberger-menu ul li a {
    display: block;
    padding: 16px 8px;
    transition: all 0.2s ease;
}

.hamberger-menu ul li a:hover {
    opacity: 0.8;
}

.jp-font {
    font-family: "Noto Sans JP", sans-serif !important;
    font-weight: 900;
    font-size: 18px;
}


.kv {
    position: relative;
    height: 100vh;
    display: block;
    min-height: 1000px;
}

.kv-block {
    position: relative;
    width: 100%;
    height: 100vh;
    background-image: url(./img/kv-back.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    clip-path: ellipse(98% 102% at 50% -8%);
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    min-height: 1000px;
}

.kv-border {
    content: "";
    position: absolute;
    top: 8px;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000000;
    border-radius: inherit;
    z-index: -1;
    clip-path: ellipse(98% 102% at 50% -8%);
    overflow: hidden;
    min-height: 1000px;
}


.kv-logo {
    position: absolute;
    top: 35%;
    right: 0;
    bottom: 0;
    left: 0;
    margin: auto;
    width: 90%;
    max-width: 700px;
    z-index: 99;
    text-align: center;
    min-height: 1000px;
}

.kv-city {
    position: absolute;
    bottom: 0;
    z-index: 2;
    min-width: 1500px;
    margin: 0 auto;
}

.kv-cloudy {
    position: absolute;
    top: 10%;
    left: 0;
    display: flex;
    z-index: 1;
    animation: cloudyMove 120s linear infinite;
}

.kv-cloudy img {
    width: auto;
    height: 100%;
}

.kv-cloudy img:nth-child(2) {
    transform: scaleX(-1);
}

@keyframes cloudyMove {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.kv-decoration {
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 10;
}

.kv-decoration img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    transition: opacity 1s ease;
}

.line {
    position: absolute;
    transform: rotate(140deg);
    z-index: 10;
    height: 2px;
    width: 0;
}


.line-1 {
    top: 40px;
    left: 350px;
    background: #5AB655;
    transform-origin: left center;
    animation: drawLine 0.5s ease-out forwards;
}

.line-2 {
    top: 0;
    left: 90%;
    background: #B04293;
    transform-origin: left center;
    animation: drawLine2 0.5s ease-out forwards;
}

.line-3 {
    top: 60%;
    left: 80%;
    background: #CCC64C;
    transform-origin: left center;
    animation: drawLine 0.5s ease-out forwards;
}

.line-4 {
    top: 70%;
    left: 40%;
    background: #B04293;
    transform-origin: left center;
    animation: drawLine 0.5s ease-out forwards;
}

.line-5 {
    top: 70%;
    left: 38%;
    background: #B04293;
    transform-origin: left center;
    animation: drawLine2 0.5s ease-out forwards;
}

@keyframes drawLine {
    from {
        width: 0;
    }

    to {
        width: 400px;
        /* ← 最終的な長さ */
    }
}

@keyframes drawLine2 {
    from {
        width: 0;
    }

    to {
        width: 200px;
        /* ← 最終的な長さ */
    }
}


.pickup {
    position: absolute;
    bottom: 24px;
    right: 10px;
    max-width: 500px;
    transition: all 0.2s ease;
}

.pickup:hover {
    filter: brightness(0.8);
}


/* --- ゆらゆらアニメーション --- */
.deco1 {
    animation: sway1 0.5s ease-in-out infinite alternate;
}

.deco2 {
    animation: sway2 0.5s ease-in-out infinite alternate;
    opacity: 0;
    /* 初期は非表示 */
}

/* ふわっと切り替える */
@keyframes sway1 {

    0%,
    45% {
        opacity: 1;
        transform: translateY(0px);
    }

    50%,
    100% {
        opacity: 0;
        transform: translateY(3px);
    }
}

@keyframes sway2 {

    0%,
    45% {
        opacity: 0;
        transform: translateY(-3px);
    }

    50%,
    100% {
        opacity: 1;
        transform: translateY(0px);
    }
}



path {
    stroke-width: 2;
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: draw 1.5s ease forwards, fillFade 1.2s ease forwards;
    animation-delay: 0s, 1.5s;
}

/* 白い塗り（Living with の文字部分） */
path[fill="white"] {
    stroke: white;
    fill-opacity: 0;
    /* 最初は透明 */
}

/* 水色の塗り (#81C0BA の丸部分) */
path[fill="#81C0BA"] {
    stroke: #81C0BA;
    fill-opacity: 0;
    /* 最初は透明 */
}

/* 線を描く */
@keyframes draw {
    to {
        stroke-dashoffset: 0;
    }
}

/* 塗りをふわっと戻す */
@keyframes fillFade {
    0% {
        fill-opacity: 0;
    }

    40% {
        fill-opacity: 0.2;
    }

    100% {
        fill-opacity: 1;
    }
}

/* 各パスに少しずつ遅延をかけたい場合 */
.path-1 {
    animation-delay: 0s, 1.5s;
}

.path-2 {
    animation-delay: 0.2s, 1.7s;
}

.path-3 {
    animation-delay: 0.4s, 1.9s;
}

.path-4 {
    animation-delay: 0.6s, 2.1s;
}


.h2 {
    --text-color: #ffffff;
    --stroke-color: #000000;
    --shadow-color: rgba(0, 0, 0, 1);
    --underline-color: #ffffff;
    --underline-color-red: linear-gradient(150deg, rgba(226, 65, 36, 1), rgba(250, 50, 73, 1));

    position: relative;
    display: block;
    text-align: center;
    font-family: var(--title-font);
    font-size: 40px;
    color: var(--text-color);
    text-shadow: 3px 4px 0px var(--shadow-color);
    -webkit-text-stroke: 0.5px var(--stroke-color);
    width: fit-content;
    margin: 0 auto;
    padding: 0 10px;
    z-index: 1;
}

.h2-miracle {
    font-family: "Noto Sans JP", sans-serif;
    font-weight: 700;
    color: #000000;
    text-shadow: 0px 0px 0px var(--shadow-color);
    -webkit-text-stroke: none;
}

/* 下線 */
.h2::before {
    content: "";
    position: absolute;
    z-index: -1;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    transform-origin: center;
    width: 100%;
    height: 10px;
    background: var(--underline-color);
    transition: transform 0.4s ease-out;
}

/* アニメーション発火用クラス */
.h2.active::before {
    transform: translateX(-50%) scaleX(1);
}

.h2-recommmend {
    margin: 0 auto 40px;
}

.h2-recommmend::before {
    background: linear-gradient(150deg, rgba(226, 65, 36, 1), rgba(250, 50, 73, 1));
}

.h2-work::before {
    background: linear-gradient(150deg, rgba(43, 197, 236, 1), rgba(45, 239, 246, 1));
}

.h2-childcare::before {
    background: linear-gradient(150deg, rgba(255, 112, 35, 1), rgba(255, 166, 0, 1));
}

.h2-living::before {
    background: var(--green-grade);
}

.h2-ambassador::before {
    background: var(--pink-grade);
}

.h2-pr::before {
    background: var(--skyblue-grade);
}

.h2-miracle::before {
    background: var(--pink-grade);
}

.h2-miracle2::before {
    background: var(--pink-grade);
}

.h2 span {
    font-size: 56px;
}

.sub-title {
    text-align: center;
    margin: 10px auto 0;
    line-height: 130%;
}

.sub-title2 {
    text-align: center;
}

.sub-title-miracle {
    margin: 0 auto 16px;
}

.section {
    padding: 80px 0 0;
}

/*------------
slider
------------*/


.slider a {
    transition: all 0.2s ease;
}

.slider a:hover {
    filter: brightness(0.7);
}

.slider img {
    display: block;
    object-fit: cover;
    aspect-ratio: 16/9;
    width: 90%;
    margin: 0 auto;
    border: 3px solid #000000;
    border-radius: 20px;
}

.slick-dots {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    text-align: center;
}


.top-about-img {
    position: relative;
    width: 100%;
    height: 600px;
    overflow: hidden;
    border-top: 8px solid #000000;
    border-bottom: 8px solid #000000;
    margin-top: 156px;
}

.top-about-img img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    animation: fade 32s infinite;
    object-fit: cover;
}

/* 各画像の表示タイミングをずらす */
.top-about-img img:nth-child(1) {
    animation-delay: 0s;
}

.top-about-img img:nth-child(2) {
    animation-delay: 8s;
}

.top-about-img img:nth-child(3) {
    animation-delay: 16s;
}

.top-about-img img:nth-child(4) {
    animation-delay: 24s;
}

@keyframes fade {
    0% {
        opacity: 0;
    }

    8% {
        opacity: 1;
    }

    25% {
        opacity: 1;
    }

    33% {
        opacity: 0;
    }

    100% {
        opacity: 0;
    }
}



.top-about {
    position: relative;
    margin-bottom: 200px;
}

.top-about-content {
    position: absolute;
    bottom: -30%;
    right: 10%;
    z-index: 80;
}

.top-about-border {
    max-width: 400px;
    margin: 10px auto 24px;
}



.top-about-content {
    max-width: 800px;
    background: #ffffff;
    border: 3px solid #000000;
    border-radius: 16px;
    padding: 40px 56px;
    text-align: center;
    box-shadow: 0px 2px 0px 0px rgba(0, 0, 0, 1);

    /* 初期状態 */
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

/* active になったらズームイン（アニメーションをここで定義） */
.top-about-content.active {
    opacity: 1;
    transform: scale(1);
    /* 必要なら keyframes を使った細かい動きに差し替え可能 */
    animation: zoomIn 0.6s ease-out forwards;
}

@keyframes zoomIn {
    0% {
        opacity: 0;
        transform: scale(0.95);
    }

    60% {
        transform: scale(1.03);
        /* 少しオーバーシュートで動きをつける */
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}



.about-h2 {
    max-width: 300px;
    margin: 0 auto;
}

.top-about-content-text {
    line-height: 160%;
    font-size: 16px;
}

.top-about-box {
    position: relative;
}

.top-about-decoration1 {
    max-width: 200px;
    position: absolute;
    top: -28%;
    right: -20%;
}

.top-about-decoration2 {
    max-width: 150px;
    position: absolute;
    bottom: -28%;
    left: -23%;
}

.content {
    width: 90%;
    max-width: 1500px;
    margin: 0 auto;
}

.top-work-content {
    position: relative;
}

.top-work-slide {
    position: relative;
    overflow: hidden;
    width: 100%;
    border-top: 8px solid #000000;
    border-bottom: 8px solid #000000;
    margin: 40px auto 56px;
}

.top-work-slide .slide-track {
    display: flex;
    animation: scroll 60s linear infinite;
}

.top-work-slide img {
    width: 100%;
    max-width: 600px;
    /* 画像サイズ調整 */
    flex-shrink: 0;
}

/* スライドアニメーション */
@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.top-about-line1 {
    top: 10%;
    left: 220px;
    background: #5AB655;
    transform-origin: left center;
}

.top-about-line2 {
    top: 0;
    left: 250px;
    background: #CCC64C;
    transform-origin: left center;
}

.top-about-line3 {
    top: 70%;
    left: 95%;
    background: #5AB655;
    transform-origin: left center;
}

.top-about-line4 {
    top: 68%;
    left: 98%;
    background: #B04293;
    transform-origin: left center;
}

/* アニメーションはactiveがついたときのみ */
.top-about-line1.active {
    animation: top-about-Line 0.5s ease-out forwards;
}

.top-about-line2.active {
    animation: top-about-Line2 0.5s ease-out forwards;
}

.top-about-line3.active {
    animation: top-about-Line 0.5s ease-out forwards;
}

.top-about-line4.active {
    animation: top-about-Line2 0.5s ease-out forwards;
}

/* アニメーション定義 */
@keyframes top-about-Line {
    from {
        width: 0;
    }

    to {
        width: 300px;
    }
}

@keyframes top-about-Line2 {
    from {
        width: 0;
    }

    to {
        width: 200px;
    }
}


.button {
    display: block;
    background: var(--blue-grade);
    text-align: center;
    font-family: var(--title-font);
    font-size: 28px;
    color: #ffffff;
    -webkit-text-stroke: 0.5px #000000;
    max-width: 450px;
    padding: 24px 0;
    border-radius: 100px;
    border: 2px solid #000000;
    margin: 0 auto 0;
    box-shadow: 4px 4px 0px 0px rgba(0, 0, 0, 1);
    position: relative;
    text-decoration: none;
    transition: all 0.2s ease;
}

/* ▼ 右側にSVGアイコンを表示 */
.button::after {
    content: "";
    position: absolute;
    right: 24px;
    /* ボタン右端からの距離 */
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    /* ← SVGのサイズ */
    height: 20px;
    background-image: url(./img/button-triangle.svg);
    background-repeat: no-repeat;
    background-size: contain;
    /* 画像を枠に合わせて縮小 */
    background-position: center;
}

.button:hover {
    transform: translateY(-4px);
}

.button-orange {
    background: var(--orange-grade);
}

.button-green {
    background: var(--green-grade);
}

.button-skyblue {
    background: var(--skyblue-grade);
    margin-top: 64px;
}

.button-instagram {
    background: linear-gradient(150deg, rgba(247, 166, 12, 0.8) 10%, rgba(255, 34, 87, 0.8) 40%, rgba(154, 39, 238, 0.8) 68%);
    margin-top: 64px;
}

.top-childcare-content {
    position: relative;
}

.top-childcare {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
    margin: 0 auto 56px;
}

.top-childcare li {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.top-childcare li.show {
    opacity: 1;
    transform: translateY(0);
}

.top-childcare li:nth-child(2) {
    margin-top: 64px;
}

.top-childcare-tag {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    width: 90%;
    background: #ffffff;
    margin: 0 auto;
    padding: 8px 10px;
    border-radius: 100px;
    border: 2px solid #000000;
    font-size: 18px;
}

.top-childcare-icon1 {
    max-width: 10px;
}

.top-childcare-icon2 {
    max-width: 16px;
}

.top-childcare-icon3 {
    max-width: 16px;
}

.top-childcare-number {
    font-family: var(--title-font);
    font-size: 72px;
    margin: 0 auto -20px;
    transition: var(--childcare-transition);
}



/* box */
.top-childcare-box {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    transition: var(--childcare-transition);
}

/* 枠線 */
.top-childcare-box::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 16px;
    border: 4px solid #000000;
    transition: var(--childcare-transition);
    pointer-events: none;
}

/* タグ */
.top-childcare-tag {
    transition: var(--childcare-transition);
}

/* ---------------------------------------
   hover（li全体で管理）
--------------------------------------- */

.top-childcare li:hover {
    transform: translateY(-6px);
}

.top-childcare li:hover .top-childcare-box::before {
    border: 4px solid transparent;
    background: linear-gradient(150deg, rgba(255, 112, 35, 1), rgba(255, 166, 0, 1)) border-box;
    -webkit-mask:
        linear-gradient(#fff 0 0) padding-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
}

.top-childcare li:hover .top-childcare-number {
    background: linear-gradient(150deg, rgba(255, 112, 35, 1), rgba(255, 166, 0, 1));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.top-childcare li:hover .top-childcare-tag {
    color: rgba(255, 112, 35, 1);
    border-color: rgba(255, 112, 35, 1);
}


@keyframes floating-y {
    0% {
        transform: translateY(-10%);
    }

    100% {
        transform: translateY(10%);
    }
}

.top-living-ul {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin: 40px auto 56px;
}

.top-living-ul li:nth-child(5) {
    grid-column: 1 / -1;
    justify-self: center;
    width: 50%;
}

.top-living-ul li {
    position: relative;
    border: 4px solid #000000;
    border-radius: 16px;
    overflow: hidden;
    opacity: 0;
    /* 初期は透明 */
    transform: translateY(50px);
    /* 下にずらす */
    transition: all 0.4s ease-out;
    /* アニメーション */
}

.top-living-ul li.show {
    opacity: 1;
    transform: translateY(0);
}

.top-living-ul li:hover {
    transform: translateY(-6px);
    border: 4px solid transparent;
    background: linear-gradient(#fff, #fff) padding-box,
        linear-gradient(150deg, rgba(63, 181, 42, 1), rgba(65, 244, 154, 1)) border-box;
}

.top-living-ul a {
    display: block;
}

.top-living-tag {
    position: absolute;
    top: 16px;
    left: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    width: 90%;
    background: #ffffff;
    margin: 0 auto;
    padding: 8px 10px;
    border-radius: 100px;
    border: 2px solid #000000;
    font-size: 18px;
    max-width: 300px;
    color: #000000;
    transition: all 0.4s ease;
}

.top-living-ul li:hover .top-living-tag {
    border: 2px solid transparent;
    background:
        linear-gradient(#fff, #fff) padding-box,
        /* 内側：白を維持 */
        linear-gradient(150deg, rgba(63, 181, 42, 1), rgba(65, 244, 154, 1)) border-box;
    /* 外側：枠線グラデーション */
    color: rgba(63, 181, 42, 1);
    border-radius: 100px;
    /* ← これで角丸を維持 */
}

.top-living-icon1 {
    max-width: 20px;
}

.top-living-icon4 {
    max-width: 26px;
}

.top-living-icon5 {
    max-width: 16px;
}


.text-slider {
    display: flex;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    gap: 40px;
    margin-top: 80px;
}

.text-slider-inner {
    display: flex;
    align-items: center;
    gap: 40px;
    flex-shrink: 0;
    min-width: 100%;
    animation: scrollText 100s linear infinite;
}

.text-slider p {
    font-family: var(--title-font);
    font-size: 72px;
    color: #ffffff;
    text-shadow: 0px 3px 0px #000000;
    -webkit-text-stroke: 0.1px #000000;
    white-space: nowrap;
}

.text-slider img {
    height: 72px;
    animation: bouncePause 4s ease-in-out infinite;
}

/* 1回跳ねて→5秒休む */
@keyframes bouncePause {
    0% {
        transform: translateY(0);
    }

    10% {
        transform: translateY(-4px);
        /* 上に跳ねる */
    }

    20% {
        transform: translateY(0);
        /* 元に戻る */
    }

    100% {
        transform: translateY(0);
        /* 残り80%は静止 */
    }
}

@keyframes scrollText {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }
}


.ambassador-content {
    position: relative;
    background: #FFE1F1;
    border: 3px solid #000000;
    border-radius: 16px;
    padding: 40px 40px 80px;
    max-width: 800px;
}

.ambassador-content::after {
    content: "";
    position: absolute;
    top: 16px;
    left: 16px;
    width: 100%;
    height: 100%;
    border: 3px solid #000000;
    background: var(--pink-grade);
    border-radius: inherit;
    z-index: -1;
}

.top-ambassador-box {
    display: grid;
    grid-template-columns: 1fr ;
    gap: 32px;
    justify-content: center;
    margin-top: 40px;
    max-width: 600px;
    margin: 40px auto 0;
}

.top-ambassador-box>div {
    display: block;
    transition: all 0.2s ease;
    position: relative;
    border: 3px solid #000000;
    border-radius: 16px;
    overflow: hidden;
}

.top-ambassador-box>div:hover {
    transform: translateY(-4px);
}

.top-ambassador-box img {
    object-fit: cover;
    height: 100%;
}

.ambassador-tag {
    position: absolute;
    right: 20px;
    bottom: 14px;
    background: #ffffff;
    border-radius: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    width: 100%;
    height: 40px;
    max-width: 250px;
    /* グラデーション枠線 */
    border: 2px solid transparent;
    background-image:
        linear-gradient(#fff, #fff),
        /* 内側の白背景 */
        var(--pink-grade);
    /* 外側ボーダー */
    background-origin: border-box;
    background-clip: content-box, border-box;
}

/* グラデーション文字だけを分離 */
.ambassador-tag-text {
    background: var(--pink-grade);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 600;
    /* お好みで */
}

/* ボール部分：そのままグラデーション */
.ambassador-tag-ball {
    width: 10px;
    height: 10px;
    border-radius: 100px;
    background: var(--pink-grade);
}

/* テキスト部分：グラデーション文字 */
.ambassador-tag p {
    margin: 0;
    font-weight: 600;
    background: var(--pink-grade);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.instagram-section {
    padding: 0;
    border-top: 2px dashed #000000;
    border-bottom: 2px dashed #000000;
    margin-top: 80px;
}

.instagram-content {
    padding: 80px 0;
    border-left: 2px dashed #000000;
    border-right: 2px dashed #000000;
    max-width: 900px;
}

#instafeed {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 10px;
    max-width: 470px;
    width: 90%;
    margin: 40px auto 0;
}

.col {
    background: rgba(0, 0, 0, 0.7);
    width: 150px;
    height: 150px;
    overflow: hidden;
    border: 1px solid #000000;
}

.feed-card-inner img {
    height: 150px;
    object-fit: cover;
}

.col a {
    transition: all 0.2s ease;
}

.col a:hover {
    filter: brightness(0.6);
}

.h2-instagram {
    position: relative;
}

/* 左のデコレーション */
.h2-instagram::before {
    content: "";
    position: absolute;
    left: -25px;
    top: 40%;
    width: 40px;
    /* 画像サイズ */
    height: 40px;
    background-image: url(./img/top-instagram-decoration.svg);
    background-size: contain;
    background-repeat: no-repeat;
    transform: none !important;
}

/* 右のデコレーション（反転） */
.h2-instagram::after {
    content: "";
    position: absolute;
    right: -40px;
    top: 40%;
    width: 40px;
    height: 40px;
    background-image: url(./img/top-instagram-decoration-reverse.svg);
    background-size: contain;
    background-repeat: no-repeat;
}


.footer {
    padding: 80px 0 10px;
}

.footer-content {
    display: flex;
    justify-content: center;
    gap: 80px;
    width: 95%;
    margin: 0 auto;
    max-width: 1100px;
}

.footer-left {
    width: 43%;
}

.footer-right {
    width: 47%;
}

.footer-right-ul {
    display: flex;
    gap: 48px;
}

.footer-right-ul li {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-right-ul li a:not(:nth-child(1)) {
    font-size: 14px;
    font-weight: 500;
}

.footer-largeText {
    position: relative;
    display: block;
    font-size: 16px;
    width: fit-content;
    padding: 0 2px;
}

.footer-largeText::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 100%;
    height: 6px;
    background: #000;
    z-index: -1;
}

.footer-largeText-work {
    margin-bottom: 24px;
}

.footer-largeText-work::before {
    background: var(--blue-grade);
}

.footer-largeText-childcare::before {
    background: var(--orange-grade);
}

.footer-largeText-living::before {
    background: var(--green-grade);
}

.footer-largeText-pr::before {
    background: var(--pink-grade);
}

.takatsuki-guide {
    border: 1px solid #000000;
}

.footer-banner {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 32px;
}

.out-button {
    display: flex;
    gap: 32px;
    margin-top: 40px;
}

.sns-button {
    display: flex;
    justify-content: center;
    align-items: center;
    background: #ffffff;
    border: 1px solid #000000;
    width: 64px;
    height: 64px;
    min-width: 64px;
    min-height: 64px;
    border-radius: 100px;
    box-shadow: 3px 3px 0px 0px rgba(0, 0, 0, 1);
    transition: all 0.2s ease;
}

.sns-button:hover {
    transform: translateY(-4px);
}

.sns-button img {
    height: 28px;
    object-fit: contain;
}

.takatsukiDays {
    position: relative;
    /* ← after を中で配置するために必要 */
    display: flex;
    justify-content: center;
    align-items: center;
    background: #ffffff;
    border: 1px solid #000000;
    width: 100%;
    height: 64px;
    border-radius: 100px;
    box-shadow: 3px 3px 0px 0px rgba(0, 0, 0, 1);
    transition: all 0.2s ease;
}

.takatsukiDays:hover {
    transform: translateY(-4px);
}

.takatsukiDays::after {
    content: "";
    position: absolute;
    right: 24px;
    /* 右側の余白はお好みで */
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    /* アイコンサイズ */
    height: 24px;
    background-image: url(./img/icon-speaker.svg);
    background-size: contain;
    background-repeat: no-repeat;
}

.copy {
    text-align: center;
    color: #A2A2A2;
    margin-top: 64px;
    font-weight: 400;
}


/* ----
下層共通
-----*/

.lower-main {
    padding: 80px 0 0;
    border-bottom: 2px dashed #000000;
}

.lower-kv {
    position: relative;
    border-top: 10px solid #000000;
    border-bottom: 10px solid #000000;
    margin: 40px auto 80px;
}

.line-lower-1 {
    top: 10%;
    left: 150px;
    background: #5AB655;
    transform-origin: left center;
    animation: drawLine 0.5s ease-out forwards;
}

.line-lower-2 {
    top: -15%;
    left: 300px;
    background: #CCC64C;
    transform-origin: left center;
    animation: drawLine3 0.5s ease-out forwards;
}

.line-lower-3 {
    bottom: 60px;
    left: 100%;
    background: #B04293;
    transform-origin: left center;
    animation: drawLine3 0.5s ease-out forwards;
}

.line-lower-4 {
    bottom: 96px;
    left: 100%;
    background: #CCC64C;
    transform-origin: left center;
    animation: drawLine4 0.5s ease-out forwards;
}


@keyframes drawLine3 {
    from {
        width: 0;
    }

    to {
        width: 250px;
        /* ← 最終的な長さ */
    }
}

@keyframes drawLine4 {
    from {
        width: 0;
    }

    to {
        width: 200px;
        /* ← 最終的な長さ */
    }
}

@keyframes drawLine5 {
    from {
        width: 0;
    }

    to {
        width: 100px;
        /* ← 最終的な長さ */
    }
}

.lower-mainText {
    width: 90%;
    margin: 0 auto;
    text-align: center;
    line-height: 180%;
}

.lower-mainText span {
    position: relative;
    display: inline-block;
    /* 必須 */
    z-index: 0;
}

.lower-mainText span::before {
    content: "";
    position: absolute;
    z-index: -1;
    bottom: 4px;
    /* 下線の縦位置 */
    left: 50%;
    transform: translateX(-50%) scaleX(1);
    /* ← 1で常時表示 */
    transform-origin: center;
    width: 100%;
    height: 4px;
}

.underLine-green::before {
    background: var(--green-grade);
}

.lower-cheack {
    max-width: 1000px;
}

.check-content {
    position: relative;
    background: #ffffff;
    border: 3px solid #000000;
    border-radius: 16px;
    padding: 64px 40px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.check-content::after {
    content: "";
    position: absolute;
    top: 10px;
    left: 10px;
    width: 100%;
    height: 100%;
    background: var(--green-grade);
    border-radius: inherit;
    z-index: -1;
}

.check-content-orange::after {
    background: var(--orange-grade);
}

.check-content-blue::after {
    background: var(--blue-grade);
}


.check-h2 {
    display: flex;
    align-items: center;
    flex-direction: column;
    font-size: 2rem;
    font-family: var(--title-font);
    color: #41F49A;
    -webkit-text-stroke: 0.5px #000000;
    max-width: 250px;
    animation: floating-y 1.8s ease-in-out infinite alternate-reverse;
    margin-bottom: 16px;
}

.check-h2-child {
    color: #FF771F;
}

.check-h2-work {
    color: #2CD9F0;
}

.check-ul {
    padding-left: 0;
    list-style: none;
    max-width: 700px;
}

.check-ul li {
    font-size: 18px;
    margin-bottom: 16px;
    font-weight: 800;
    position: relative;
    padding-left: 32px;
    line-height: 150%;
}

.check-ul li:last-child {
    margin-bottom: 0;
}

.check-ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 3px;
    width: 24px;
    height: 24px;
    background-image: url("./img/icon-check.png");
    background-size: contain;
    background-repeat: no-repeat;
}

.check-ul-orange li::before {
    background-image: url("./img/check-prange.png");
}

.check-ul-blue li::before {
    background-image: url("./img/check-blue.png");
}

.check-anchorLink {
    transition: all 0.2s ease;
}

.check-anchorLink:hover {
    opacity: 0.6;
}


.lower-button {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    width: 90%;
    margin: 56px auto;
    max-width: 1400px;
    justify-content: center;
}

.lower-button li {
    border-radius: 10px;
    overflow: hidden;
    border: 2px solid #000000;
    width: calc((100% - 48px) / 3);
    max-width: 400px;
}

.lower-button a {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 150px;
    overflow: hidden;
}

.lower-button a::before {
    content: "";
    position: absolute;
    inset: 0;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    transition: filter 0.3s ease;
    z-index: -1;
}

/* hover で背景画像だけ暗くする */
.lower-button a:hover::before {
    filter: brightness(0.6);
}

/* 個別背景 */
.page-nature::before {
    background-image: url(./img/nature-kv.jpg);
}

.page-park::before {
    background-image: url(./img/park-kv.jpg);
}

.page-history::before {
    background-image: url(./img/history-kv.jpg);
}

.page-system::before {
    background-image: url(./img/system-kv.jpg);
}

.page-top::before {
    background-image: url(./img/top-about-img1.jpg);
}

.page-access::before {
    background-image: url(./img/access-kv.jpg);
}

.page-education::before {
    background-image: url(./img/education-kv.jpg);
}

.page-medical::before {
    background-image: url(./img/medical-kv.jpg);
}

.page-childcare::before {
    background-image: url(./img/childcare-kv.jpg);
}

.page-pr::before {
    background-image: url(./img/pr-kv.jpg);
}

.page-miracle::before {
    background: url(./img/ambassador-1.jpg);
}

.page-interview::before {
    background: url(./img/interview-img3-sp.jpg);
}

.lower-button-text {
    color: #ffffff;
    position: relative;
    display: inline-block;
    z-index: 0;
    text-shadow:
        -1px -1px 0 #000,
        1px -1px 0 #000,
        -1px 1px 0 #000,
        1px 1px 0 #000;
    padding: 0 8px;
    font-size: 18px;
}


.lower-button-text::before {
    content: "";
    position: absolute;
    z-index: -1;
    bottom: -3px;
    left: 50%;
    transform: translateX(-50%) scaleX(1);
    transform-origin: center;
    width: 100%;
    height: 8px;
    background: var(--green-grade);
}


/* ----
アクセス
-----*/

.access-content {
    max-width: 1000px;
}

.access-title {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    align-items: center;
    gap: 24px;
    font-size: 18px;
    margin-bottom: 40px;
}

.access-title h2 {
    position: relative;
    display: inline-block;
    z-index: 0;
}

.access-title h2::before {
    content: "";
    position: absolute;
    z-index: -1;
    bottom: -1px;
    left: 50%;
    transform: translateX(-50%) scaleX(1);
    transform-origin: center;
    width: 100%;
    height: 6px;
    background: var(--green-grade);
}

.access-title img {
    max-width: 56px;
}

.access-train-ul {
    display: flex;
    margin: 80px auto 0;
}

.access-train-ul>li:nth-child(1) {
    border-right: 3px dashed #000000;
    padding-right: 56px;
}

.access-train-ul>li:nth-child(2) {
    padding-left: 56px;
}

.access-train-ul>li {
    padding-bottom: 32px;
}

.access-train-ul li p {
    font-size: 14px !important;
    margin-top: 24px;
}

.access-train-h3 {
    display: block;
    color: #ffffff;
    background: var(--green-grade);
    text-shadow:
        -1px -1px 0 #000,
        1px -1px 0 #000,
        -1px 1px 0 #000,
        1px 1px 0 #000;
    width: fit-content;
    padding: 6px 20px;
    font-size: 20px;
    border-radius: 8px;
    border: 1px solid #000000;
    margin-bottom: 16px;
}

.access-train-time li {
    font-size: 18px;
    margin-bottom: 10px;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.access-train-time li:last-child {
    margin-bottom: 0;
}

.access-train-time li span {
    font-size: 32px;
    font-weight: 900;
    margin-right: 2px;
    color: #2CD47F;
    text-shadow:
        -1px -1px 0 #000,
        1px -1px 0 #000,
        -1px 1px 0 #000,
        1px 1px 0 #000;
}

.access-train-ul-2 {
    display: block;
    border-top: 3px dashed #000000;
    margin: 0;
    padding-top: 32px;
}

.access-train-ul-2>li:nth-child(1) {
    border-right: none;
}

.access-bus {
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    gap: 16px;
}

.access-bus h2 {
    border-radius: 4px;
    text-align: center;
    background: var(--green-grade);
    padding: 10px 16px;
    width: fit-content;
    color: #ffffff;
    font-weight: 900;
    font-size: 32px;
    letter-spacing: 0.05em;
    text-shadow:
        -1px -1px 0 #000,
        1px -1px 0 #000,
        -1px 1px 0 #000,
        1px 1px 0 #000;
}

.access-subTitle {
    animation: floating-y 1.8s ease-in-out infinite alternate-reverse;
}

.access-bus p {
    text-align: center;
    margin-bottom: 10px;
    font-weight: 800;
    line-height: 140%;
}

.access-bus img {
    max-width: 200px;
    margin: 0 auto;
}

.bus-infoBox {
    display: flex;
    gap: 40px;
    max-width: 1000px;
    margin: 40px auto;
}

.bus-infoBox div:nth-child(1) {
    width: 50%;
}

.bus-infoBox div:nth-child(2) {
    width: 50%;
}

.bus-infoBox img {
    border-radius: 8px;
    border: 2px solid #000000;
}

.bus-infoBox-text {
    font-size: 18px;
    line-height: 150%;
}

.bus-infoBox-ul {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    margin-top: 24px;
    row-gap: 24px;
    column-gap: 10px;
}

.bus-infoBox-ul li {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.bus-infoBox-about {
    border: 1px solid #000000;
    width: fit-content;
    padding: 4px 24px;
    border-radius: 4px;
    font-size: 14px;
}

.bus-infoBox-Minitext {
    font-size: 14px;
    margin-top: 24px;
    line-height: 140%;
    font-weight: 400;
}

.lifestage {
    max-width: 400px;
    margin: 40px auto 0;
    border: 3px solid #000000;
}

.lifestage-service-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 800;
    margin: 56px auto 32px;
}

.lifestage-service-title img {
    max-width: 20px;
}

.lifestage-service-ul {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.lifestage-service-ul li {
    position: relative;
    border-radius: 16px;
    border: 2px solid #000000;
    background: #FFFFFF;
    text-align: center;
    padding: 16px 0 32px;
}

.lifestage-service-ul li::after {
    content: "";
    position: absolute;
    top: 10px;
    left: 10px;
    width: 100%;
    height: 100%;
    background: var(--green-grade);
    border-radius: inherit;
    z-index: -1;
}

.lifestage-service-ul li h4 {
    font-size: 18px;
    font-weight: 800;
    padding-bottom: 16px;
    border-bottom: 2px solid #000000;
}

.lifestage-service-ul li p {
    font-size: 14px;
    line-height: 150%;
    font-weight: 400;
    margin: 24px auto 32px;
    width: 95%;
}

.lifestage-service-button {
    display: flex;
    justify-content: center;
    align-items: center;
    border: 2px solid #000000;
    border-radius: 100px;
    width: 100%;
    height: 40px;
    max-width: 300px;
    margin: 0 auto;
    position: relative;
    transition: all 0.2s ease;
}

/* アイコン（右側） */
.lifestage-service-button::after {
    content: "";
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 14px;
    height: 14px;
    background-image: url("./img/icon-externalLink.svg");
    background-size: contain;
    background-repeat: no-repeat;
}

.viewmore {
    position: absolute;
    bottom: 4px;
    right: 8px;
    min-width: 100px;
}


.living-lower-ul {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.living-lower-ul li {
    position: relative;
    border: 2px solid #000000;
    border-radius: 20px;
    background: #ffffff;
    overflow: hidden;
    box-shadow: 4px 4px 0px 0px rgba(0, 0, 0, 1);
    transition: all 0.2s ease;
}

.living-lower-ul li a {
    display: flex;
    align-items: center;
    gap: 40px;
    padding: 40px 32px 40px 40px;
}

.living-lower-ul li:hover {
    transform: translateY(-10px);
    filter: brightness(0.8);
}

.living-lower-ul li a div:nth-child(1) {
    width: 40%;
}

.living-lower-ul li a div:nth-child(2) {
    width: 60%;
}

.living-lower-img {
    width: 100%;
    height: auto;
    overflow: hidden;
    border-radius: 10px;
    border: 2px solid #000000;
}

.living-lower-img img {
    min-height: 350px;
    object-fit: cover;
}

.living-lower-titleText {
    position: relative;
    font-size: 20px;
    font-weight: 800;
    padding-left: 20px;
    margin-bottom: 20px;
}

.living-lower-titleText::before {
    content: "";
    position: absolute;
    left: 0;
    top: 51%;
    transform: translateY(-50%);
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--green-grade);
    border: 1px solid #000;
}

.living-lower-text {
    font-weight: 400;
    line-height: 170%;
}

.living-lower-viewmore {
    position: absolute;
    bottom: 16px;
    right: 16px;
    max-width: 150px;
}

.scroll {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 1.5s ease-out, transform 1.5s ease-out;
}

.scroll.in-view {
    opacity: 1;
    transform: translateY(0);
}

.no-touch {
    pointer-events: none;
}



.living-lower-check {
    width: 100% !important;
    height: auto;
    overflow: hidden;
    border-radius: 10px;
    border: 2px solid #000000;
    padding: 40px 20px !important;
    max-width: 1000px;
    margin: 0px auto 0;
    background: #ffffff;
    box-shadow: 4px 4px 0px 0px rgba(0, 0, 0, 1);
    position: relative;
    border: 2px solid #000000;
    border-radius: 20px;
    background: #ffffff;
    overflow: hidden;
}

.park-check-img {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 24px auto 32px;
    gap: 24px;
    width: 100%;
    max-width: 800px;
}

.park-check-img div {
    border: 1px solid #000000;
    border-radius: 10px;
    overflow: hidden;
}

.living-lower-check-title {
    position: relative;
    display: block;
    width: fit-content;
    padding: 0 6px;
    z-index: 0;
    font-size: 20px;
    font-weight: 800;
    text-align: center;
    color: #ffffff;
    text-shadow:
        -1px -1px 0 #000,
        1px -1px 0 #000,
        -1px 1px 0 #000,
        1px 1px 0 #000;
    margin: 0 auto;
}

.living-lower-check-title::before {
    content: "";
    position: absolute;
    z-index: -1;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%) scaleX(1);
    transform-origin: center;
    width: 100%;
    height: 6px;
    background: var(--green-grade);
}

.living-lower-check-text {
    max-width: 800px;
    margin: 0 auto;
    font-weight: 400;
    line-height: 160%;
}

.living-lower-check-button {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #ffffff;
    height: 40px;
    max-width: 350px;
    border: 1px solid #000000;
    border-radius: 100px;
    text-shadow:
        -1px -1px 0 #000,
        1px -1px 0 #000,
        -1px 1px 0 #000,
        1px 1px 0 #000;
    background: var(--green-grade);
    padding: 0 !important;
    margin: 40px auto 0;
    box-shadow: 2px 2px 0px 0px rgba(0, 0, 0, 1);
}

.pr-lower-check-button {
    background: var(--pink-grade);
}

.check-h2-center {
    margin: 0 auto 16px;
}

.no-design {
    border: none !important;
    box-shadow: none !important;
    background: transparent !important;
    transition: none !important;

}

.no-design:hover {
    filter: brightness(1) !important;
    transform: translateY(0) !important;
}

.history-box {
    margin-bottom: 64px;
}

.history-title {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 10px;
}

.history-img {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    /* 必要に応じて変更 */
    border-radius: 10px;
    overflow: hidden;
    border: 2px solid #000000;
}

.history-img img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1.2s ease;
}

.history-img img.active {
    opacity: 1;
}

.living-system-ul {
    max-width: 900px;
    margin: 0 auto;
}

.system-img {
    border: none;
    max-width: 300px;
}

.system-img img {
    min-height: auto;
}

.system-img4 {
    max-width: 200px;
    margin: 0 auto;
}

.living-system-ul li a {
    justify-content: flex-end;
    gap: 64px;
}

.system-img2 {
    max-width: 200px;
    margin: 0 auto;
}

.system-img5 {
    max-width: 250px;
    margin: 0 auto;
}

.lower-main-title {
    text-align: center;
    font-size: 40px;
    font-weight: 900;
    margin-bottom: 32px;
    line-height: 130%;
}

.childcare-box {
    max-width: 1000px;
    margin: 0 auto;
}

.childcare-h3 {
    font-size: 32px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 40px;
    line-height: 130%;
}

.childcare-miniTitle {
    position: relative;
    display: inline-block;
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 24px;
    z-index: 1;
    width: fit-content;
}

.childcare-miniTitle::before {
    content: "";
    position: absolute;
    z-index: -1;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 6px;
    background: var(--orange-grade);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease-out;
}

.childcare-miniTitle.active::before {
    transform: scaleX(1);
}

.childcare-text {
    line-height: 170%;
}

.childcare-text span {
    color: #F84A4A;
}

.childcare-number {
    font-size: 96px;
    font-family: var(--title-font);
    max-width: 1200px;
    margin: 0 auto;

    opacity: 0.4;
    background: linear-gradient(150deg, rgba(255, 112, 35, 1), rgba(255, 166, 0, 1));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-grade {
    display: inline-block; /* 重要 */
    background: linear-gradient(150deg, #ff7023, #ffa600);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.childcare-dl {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 16px;
}

.childcare-dl dt {
    border-radius: 6px;
    font-size: 14px;
    padding: 8px 20px;
    border: 1px solid #000;
}

.childcare-dl-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 32px;
    margin-bottom: 56px;
}

.childcare-dl-2 dt {
    font-size: 16px;
    margin: 0 auto 10px;
    padding-bottom: 6px;
    border-bottom: 1px solid #909090;
}

.childcare-dl-2 dd {
    line-height: 150%;
}

.childcare-dl-2 dd span {
    font-size: 14px;
    font-weight: 400;
}

.childcare-mimamoriAbout {
    background: var(--orange-grade);
    color: #ffffff;
    text-align: center;
    margin: 0 auto;
    padding: 6px 20px;
    border-radius: 8px;
    margin-top: 48px;
}

.border-under {
    padding-bottom: 24px;
    margin-bottom: 24px;
    border-bottom: 2px dashed #000000;
}

.point-box {
    margin-top: 40px;
    background: #ffffff;
    border: 2px solid #000000;
    border-radius: 10px;
    box-shadow: 2px 2px 0px 0px rgba(0, 0, 0, 1);
}

.point {
    display: block;
    font-family: var(--title-font);
    background: var(--orange-grade);
    max-width: 200px;
    text-align: center;
    padding: 10px 0;
    border-radius: 8px 0 10px 0;
    border-bottom: 2px solid #000000;
    border-right: 2px solid #000000;
    color: #ffffff;
    text-shadow:
        -1px -1px 0 #000,
        1px -1px 0 #000,
        -1px 1px 0 #000,
        1px 1px 0 #000;
    font-size: 18px;
    letter-spacing: 0.05em;
}

.point-ul {
    font-size: 18px;
    font-weight: 800;
    padding: 24px 10px 40px;
    max-width: 800px;
}

.point-ul li {
    position: relative;
    margin-bottom: 20px;
    padding-left: 24px;
    /* 丸の分だけ余白を広げる */
    background: linear-gradient(150deg, rgba(255, 112, 35, 1), rgba(255, 166, 0, 1));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.point-ul-box {
    display: flex;
    align-items: center;
    justify-content: center;
}

.point-ul li:last-child {
    margin-bottom: 0;
}

.point-ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 5px;
    /* テキストに合わせて微調整 */
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: linear-gradient(150deg, rgba(255, 112, 35, 1), rgba(255, 166, 0, 1));
}

.childcare-line {
    max-width: 1200px;
    margin: 72px auto 56px;
}

.childcare-img2 {
    border: 2px solid #000000;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 40px;
}

.education-img5-1 {
    margin-top: 72px;
}

.point-ul-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    padding: 24px 0 40px;
}

.point-ul-grid li {
    padding: 10px 20px;
    border-right: 1px dashed #000000;
}

.point-ul-grid li:last-child {
    border-right: none;
}

.point-floor {
    max-width: 100px;
    text-align: center;
    border: 1px solid #000000;
    padding: 4px 10px;
    border-radius: 4px;
    margin-bottom: 10px;
}

.point-img {
    border: 1px solid #000000;
    border-radius: 4px;
    overflow: hidden;
}

.point-center-title {
    font-size: 18px;
    text-align: center;
    font-weight: 800;
    margin: 16px auto 16px;
    background: linear-gradient(150deg, rgba(255, 112, 35, 1), rgba(255, 166, 0, 1));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.point-center-text {
    font-size: 14px;
    line-height: 150%;
    font-weight: 400;
}

.point-ul-mini {
    font-size: 18px;
    font-weight: 800;
    padding: 24px 10px 40px;
    max-width: 800px;
}

.point-ul-mini li {
    margin-bottom: 20px;
}

.point-ul-mini li:last-child {
    margin-bottom: 0;
}

.point-orange-p {
    position: relative;
    padding-left: 24px;
    /* 丸の分だけ余白を広げる */
    background: linear-gradient(150deg, rgba(255, 112, 35, 1), rgba(255, 166, 0, 1));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.point-orange-p:last-child {
    margin-bottom: 0;
}

.point-orange-p::before {
    content: "";
    position: absolute;
    left: 0;
    top: 5px;
    /* テキストに合わせて微調整 */
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: linear-gradient(150deg, rgba(255, 112, 35, 1), rgba(255, 166, 0, 1));
}

.point-p {
    font-weight: 600;
    font-size: 14px;
    background: none;
    -webkit-background-clip: initial;
    -webkit-text-fill-color: black;
    /* ここで黒に戻せる */
    margin-top: 6px;
    color: #000000;
    padding-left: 24px;
    line-height: 140%;
}

.childcare-text {
    line-height: 180%;
}

.point-info {
    font-size: 14px;
    line-height: 150%;
    font-weight: 500;
}

.children-slide {
    margin: 80px auto 0;
}

.lower-button-orange::before {
    background: var(--orange-grade);
}

.lower-button-pink::before {
    background: var(--pink-grade);
}

.lower-button-childcare li:nth-child(3) {
    grid-column: 1 / -1;
    justify-self: center;
    width: 50%;
}

.education-img4 {
    max-width: 800px;
    margin: 0 auto 40px;
}

.education5-text {
    text-align: center;
    line-height: 150%;
    margin-bottom: 40px;
}

.education-img5 {
    margin: 40px auto;
}

.education5-box {
    display: flex;
    align-items: center;
    gap: 40px;
}

.education5-box div:first-child {
    border: 2px solid #000000;
    border-radius: 8px;
    overflow: hidden;
}

.childcare-h3-big {
    font-size: 64px;
}

.medical-grid1 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-top: 40px;
}

.medical-grid1 p {
    font-size: 14px;
}

.medical-grid1 div {
    border-radius: 10px;
    overflow: hidden;
    border: 2px solid #000000;
    height: 300px;
    margin-bottom: 8px;
}

.medical-grid1 div img {
    height: 300px;
    object-fit: cover;
}

.medical-grid2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin: 32px auto 8px;
}

.medical-grid2 img {
    border-radius: 10px;
    border: 2px solid #000000;
}

.medical-grid-text {
    text-align: center;
}

.point-padding-none {
    padding-left: 0;
    margin-bottom: 10px;
    padding-top: 0;
}

.medical-2-box {
    margin-top: 40px;
}

.medical-2-box dl {
    display: flex;
    align-items: center;
    gap: 32px;
}

.medical-2-box dl dt {
    font-size: 14px;
    text-shadow:
        -1px -1px 0 #000,
        1px -1px 0 #000,
        -1px 1px 0 #000,
        1px 1px 0 #000;
    color: #FFFFFF;
    padding: 8px 20px;
    background: var(--orange-grade);
    border: 1px solid #000000;
    border-radius: 8px;
}

.medical-2-box ul {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 24px;
    margin: 24px auto 16px;
}

.medical-2-box ul li {
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #000000;
    height: 100px;
    text-align: center;
    border-radius: 8px;
    line-height: 150%;
}

.medical-2-info {
    margin-top: 10px;
    font-size: 14px;
    line-height: 150%;
    font-weight: 400;
}

.medical-subtitle {
    text-align: center;
}

.medical-subtitle p {
    font-size: 18px;
}

.medical-subtitle img {
    max-width: 450px;
    margin: 10px auto;
}

.medical-4 {
    text-align: center;
    margin-bottom: 40px;
}

.childcare-h3-2 {
    margin-bottom: 10px;
}

.doctor-flex {
    display: flex;
    gap: 24px;
    margin-top: 32px;
}

.doctor-flex img {
    border-radius: 10px;
    border: 2px solid #000000;
}

.miracle-ul {
    display: flex;
    gap: 32px;
    max-width: 1300px;
    margin: 0 auto;
}

.miracle-left {
    display: flex;
    width: 50%;
    position: sticky;
    top: 40px;
    align-self: flex-start;
}

.miracle-right {
    display: flex;
    width: 50%;
}

.miracle-left h2 {
    display: block;
    width: 5%;
    max-width: 29px;
    margin-top: 24px;
    margin-right: -4px;
}

.miracle-right h2 {
    display: block;
    width: 5%;
    max-width: 29px;
    margin-top: 24px;
    margin-right: -4px;
}

.miracle-profile {
    width: 95%;
}

.miracle-profile {
    border: 2px solid #000000;
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 2px 2px 0px 0px rgba(0, 0, 0, 1);
    padding: 40px 32px;
}

.yuka-img {
    max-width: 300px;
    margin: 0 auto;
}

.profile-name {
    border-radius: 4px;
    font-size: 18px;
    max-width: 150px;
    margin: 24px auto 20px;
    padding: 8px 10px;
    text-align: center;
    color: #ffffff;
    background: var(--pink-grade);
    text-shadow:
        -1px -1px 0 #000,
        1px -1px 0 #000,
        -1px 1px 0 #000,
        1px 1px 0 #000;
}

.profile-name span {
    font-size: 16px;
    margin-left: 6px;
}

.profile-text {
    line-height: 170%;
    font-weight: 500;
}

.miracle-youtube iframe {
    aspect-ratio: 16/9;
}

.youtube-title {
    font-size: 20px;
    position: relative;
    padding-left: 20px;
    margin-bottom: 16px;
}

.youtube-ul li {
    margin-bottom: 48px;
}

.youtube-ul li:last-child {
    line-height: 150%;
    max-width: 400px;
    margin: 0 auto;
}

.youtube-title::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 1px solid #000000;
    background: var(--pink-grade);
}

.pr-ul {
    display: flex;
    gap: 32px;
}

.pr-ul li {
    width: 50%;
    border: 2px solid #000000;
    border-radius: 20px;
    box-shadow: 2px 2px 0px 0px rgba(0, 0, 0, 1);
    padding: 40px 24px;
    text-align: center;
}

.pr-ul li p {
    color: #EC4C9C;
    font-size: 18px;
    margin-bottom: 24px;
}

.pr-ul li iframe {
    aspect-ratio: 16/9;
}

.pr-kv2 {
    border-top: 10px solid #000000;
    border-bottom: 10px solid #000000;
    margin: 40px auto 80px;
}

.pr-profile-content {
    position: static;
    width: 100%;
    flex-direction: column;
    margin: 56px auto 40px;
}

.pr-profile-content h2 {
    width: 100%;
    max-width: 800px;
    margin-top: 0;
    margin-right: 0;
    margin-left: 20px;
    margin-bottom: -3px;
}

.pr-profile {
    display: flex;
    align-items: center;
    gap: 40px;
    width: 100%;
}

.profile-name-pr {
    margin: 0 0 16px;
    max-width: 200px;
}

.pr-profile div:first-child {
    width: 30%;
}

.pr-profile div:last-child {
    width: 70%;
}

.lower-mainText2 {
    margin: 56px auto;
}

.mylife {
    max-width: 500px;
    margin: 0 auto;
}

.grade-svg {
    width: fit-content;
    height: 24px;
    object-fit: contain;
}

.grade-svg2 {
    text-align: center;
    margin: 0 auto
}

.pr-div {
    max-width: 700px;
    margin: 56px auto 40px;
}

.pr-div2 {
    max-width: 1200px;
}

.pr-box {
    border: 2px solid #000000;
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 2px 2px 0px 0px rgba(0, 0, 0, 1);
    padding: 40px 32px;
}

.youube-iframe iframe {
    aspect-ratio: 16/9;
}

.pr-animation {
    max-width: 300px;
    margin: 32px auto 24px;
}

.pr-animation-text {
    text-align: center;
    line-height: 180%;
}

.pr-grade-title {
    margin-left: 20px;
}

.dorama-ul {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    text-align: center;
}

.dorama-ul p {
    color: #EC4C9C;
    font-size: 18px;
    margin-bottom: 24px;
}

.character-box {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 56px;
}

.character-img {
    max-width: 300px;
    margin: 0 auto;
}

.character-text {
    text-align: center;
    line-height: 160%;
    font-weight: 400;
}

.pr-character {
    max-width: 200px;
    margin: 32px auto 24px;
}

.pr-character span {
    margin-left: 0;
    margin-right: 4px;
}

.character-voice {
    border: 2px solid #000000;
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 2px 2px 0px 0px rgba(0, 0, 0, 1);
    padding: 40px 32px;
    margin-top: 40px;
}

.acter {
    padding: 24px 20px 0;
    border-top: 1px dashed #000000;
    text-align: center;
    margin-top: 32px;
}

.acter p {
    text-align: center;
    margin-bottom: 10px;
}

.acter ul li {
    font-size: 14px;
    font-weight: 400;
    margin-bottom: 4px;
}

.voiceBus-h2 {
    text-align: center;
    font-weight: 800;
    font-size: 32px;
    border-bottom: 3px dashed #EC4C9C;
    width: fit-content;
    margin: 0 auto;
    padding: 0 6px 6px;
}

.voiceBus-img {
    max-width: 800px;
    margin: 40px auto;
}

.voiceBus-text {
    text-align: center;
    line-height: 170%;
}

.voiceBus-text-span {
    font-size: 14px;
    font-weight: 400;
}

.voiceBus-text-underLine {
    border-bottom: 3px solid #EC4C9C;
}

.voiceBus-ul {
    display: grid;
    gap: 24px;
    grid-template-columns: 1fr 1fr;
    max-width: 800px;
    margin: 48px auto;
}

.voiceBus-ul li {
    border: 2px solid #000000;
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 2px 2px 0px 0px rgba(0, 0, 0, 1);
    padding: 32px 10px;
    text-align: center;
}

.voiceBus-ul li h3 {
    background: var(--pink-grade);
    padding: 4px 20px;
    border-radius: 4px;
    width: fit-content;
    color: #ffffff;
    margin: 0 auto 10px;
    font-size: 14px;
}

.comment {
    max-width: 800px;
    margin: 0 auto;
}

.comment h3 {
    background: var(--pink-grade);
    padding: 4px 20px;
    border-radius: 4px;
    width: fit-content;
    color: #ffffff;
    font-size: 14px;
    margin-bottom: 10px;
}

.comment p {
    font-size: 14px;
    font-weight: 400;
    line-height: 180%;
}

.work-title {
    margin-bottom: 40px;
}

.work-title p {
    margin-bottom: 0;
}

.work-title img {
    max-width: 500px;
    margin: 0 auto;
}

.works-about {
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    align-items: center;
}

.works-about li:first-child {
    width: 50%;
}

.works-about li:last-child {
    width: 50%;
}

.works-about li:first-child h2 {
    position: relative;
    overflow: hidden;
    display: inline-block;
    padding: 10px 20px;
    margin: 0 0 32px;
    z-index: 1;
}

.works-about li:first-child h2::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 0%;
    height: 100%;
    background: var(--blue-grade);
    z-index: -1;
    transition: width 1.5s ease;
}

.works-about li:first-child h2.is-visible::before {
    width: 100%;
}

.works-about li:first-child p {
    font-size: 18px;
    line-height: 180%;
}

.works-content-title {
    text-align: center;
}

.works-content-title h2 {
    font-size: 24px;
    font-weight: 800;
    color: #2CD9F0;
    text-shadow:
        -1px -1px 0 #000,
        1px -1px 0 #000,
        -1px 1px 0 #000,
        1px 1px 0 #000;
    margin-bottom: 8px;
}

.works-ul {
    display: flex;
    gap: 32px;
    margin: 40px auto 72px;
}

.works-ul-reverse {
    flex-direction: row-reverse;
}

.works-ul>li:first-child {
    overflow: hidden;
    width: 30%;
    border: 2px solid #000000;
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 2px 2px 0px 0px rgba(0, 0, 0, 1);
}

.works-ul>li:first-child img {
    height: 100%;
    object-fit: cover;
}

.works-ul>li:last-child {
    width: 70%;
    border: 2px solid #000000;
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 2px 2px 0px 0px rgba(0, 0, 0, 1);
    padding: 48px 32px;
}

.works-text {
    text-align: center;
    line-height: 170%;
}

.works-map {
    border-bottom: 1px solid #CCCCCC;
    padding-bottom: 24px;
    margin-bottom: 24px;
}

.works-2-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 40px;
}

.works-2-grid>*:nth-child(3) {
    grid-column: 1 / -1;
    /* 2カラムを横断して中央に */
    justify-self: center;
    /* 中央寄せ */
    width: 50%;
}

.works-2-grid>li {
    border: 2px solid #000000;
    border-radius: 10px;
}

.works-2-grid h3 {
    position: relative;
    text-align: center;
    padding: 16px 10px 16px 30px;
    width: fit-content;
    margin: 0 auto;
}

.works-2-grid h3::before {
    content: "";
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--blue-grade);
}

.works-2-grid li ul {
    padding: 24px 16px 10px;
    font-size: 14px;
    font-weight: 400;
    border-top: 2px solid #000000;
}

.works-2-grid li ul li {
    margin-bottom: 4px;
    line-height: 150%;
}


.works-3-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    border-bottom: 2px solid #000000;
    padding: 24px;
}

.works-3-box:last-child {
    border-bottom: none;
}

.works-3-title {
    position: relative;
    padding-left: 20px;
    width: fit-content;
    font-size: 18px;
}

.works-3-title::before {
    content: "";
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--blue-grade);
}

.works-3-title-orange {
    padding-left: 28px;
}

.works-3-title-orange::before {
    background: var(--orange-grade);
}

.works-3-title-green {
    padding-left: 28px;
}

.works-3-title-green::before {
    background: var(--green-grade);
}

.works-3-miniText {
    font-size: 14px;
    margin-top: 2px;
    font-weight: 400;
    padding-left: 20px;
}

.works-ul-3 li:last-child {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    padding: 0 0;
}

.works-3-number {
    max-width: 300px;
    margin: 0 auto;
}

.works-3-title-box {
    margin-bottom: 24px;
}

.works-3-title-box:last-child {
    margin-bottom: 0;
}

.works-section {
    padding: 0;
    margin-top: 56px;
}

.works-miniText{
    font-size: 14px;
    text-align: center;
    margin-top: 16px;
}

.lower-main-title-interview {
    font-size: 32px;
    line-height: 140%;
}

.interview-content {
    padding: 64px 0 0;
    max-width: 1000px;
}

.interview-profile {
    position: static;
    margin: 0 auto;
    max-width: 600px;
}

.interview-title {
    text-align: center;
    font-size: 28px;
    font-weight: 800;
    line-height: 140%;
    animation: floating-y 1.8s ease-in-out infinite alternate-reverse;
    margin-bottom: 20px;
}

.interview-title img {
    max-width: 300px;
    margin: 16px auto;
}

.interview-img {
    border-top: 6px solid #000000;
    border-bottom: 6px solid #000000;
}

.interview-ul {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.interview-ul h3 {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 6px;
    font-size: 18px;
    font-weight: 900;
    color: #EC3E87;
    margin-bottom: 24px;
    line-height: 150%;
}

.interview-ul h3::before {
    content: "";
    display: block;
    background: #EC3E87;
    width: 16px;
    height: 16px;
    min-width: 16px;
    min-height: 16px;
    border-radius: 100px;
    margin-top: 6px;
}

.interview-textBox {
    background: #EBEBEB;
    border-radius: 16px;
    font-size: 18px;
    line-height: 160%;
    padding: 40px 32px;
    font-weight: 500;
}

.text-pink {
    color: #EC3E87;
}

.interview-youtube {
    width: 90%;
    margin: 0 auto;
    max-width: 1000px;
    border: 4px solid #000000;
    border-radius: 24px;
    overflow: hidden;
}

.interview-youtube iframe {
    aspect-ratio: 16/9;
}

.interview-youtube-text {
    text-align: center;
    font-size: 18px;
    margin-top: 32px;
    line-height: 150%;
}


@media screen and (max-width: 1200px) {
    .works-ul>li:first-child {
        width: 40%;
    }

    .works-ul>li:last-child {
        width: 60%;
    }
}


@media screen and (max-width: 1000px) {
    .kv-logo {
        max-width: 600px;
    }

    .top-about-line1 {
        top: 10%;
        left: 150px;
    }

    .top-about-line2 {
        top: 20px;
        left: 180px;
    }

    .top-about-line3 {
        top: 70%;
        left: 96%;
    }

    .top-about-line4 {
        top: 68%;
        left: 100%;
    }

    /* アニメーション定義 */
    @keyframes top-about-Line {
        from {
            width: 0;
        }

        to {
            width: 200px;
        }
    }

    @keyframes top-about-Line2 {
        from {
            width: 0;
        }

        to {
            width: 100px;
        }
    }

    .top-childcare-number {
        font-size: 56px;
        margin: 0 auto -14px;
    }

    .top-childcare {
        gap: 24px;
    }

    .top-childcare-tag {
        font-size: 16px;
        padding: 4px 10px;
    }

    .top-living-ul {
        gap: 24px;
    }

    .top-living-tag {
        top: 10px;
        left: 10px;
        font-size: 16px;
        padding: 4px 10px;
    }

    .top-ambassador-box {

        gap: 24px;
    }

    .ambassador-tag {
        font-size: 16px;
        height: 32px;
    }

    .icon-tobibako {
        bottom: -156px;
    }

    .footer-right {
        width: 100%;
        max-width: 510px;
    }

    .footer-left {
        width: 100%;
        max-width: 510px;
    }

    .footer-content {
        align-items: center;
        flex-direction: column;
        gap: 40px;
    }

    .takatsuki-logo {
        max-width: 250px;
        margin: 0 auto 56px;
    }

    .works-ul {
        flex-direction: column;
    }

    .works-ul>li:first-child {
        width: 100%;
    }

    .works-ul>li:last-child {
        width: 100%;
    }

    .works-ul>li:first-child {
        height: 400px;
    }

}


@media screen and (max-width: 896px) {

    .kv {
        min-height: 800px;
    }

    .kv-block {
        min-height: 800px;
    }

    .kv-border {
        min-height: 800px;
    }


    .kv-logo {
        min-height: 800px;
    }

    .kv-city {
        left: -320px;
    }

    .kv-block {
        clip-path: ellipse(98% 102% at 50% -8%);
    }

    .kv-logo {
        top: 20%;
    }


    .h2 {
        font-size: 32px;
    }

    .h2 span {
        font-size: 48px;
    }

    .section {
        padding: 64px 0 0;
    }

    .top-ambassador-box {
        grid-template-columns: 1fr;
    }

    .button {
        padding: 14px 0;
        font-size: 20px;
        max-width: 300px;
        box-shadow: 2px 2px 0px 0px rgba(0, 0, 0, 1);
    }

    .button::after {
        width: 14px;
        height: 14px;
    }

    .top-about {
        display: flex;
        flex-direction: column-reverse;
        margin-bottom: 0;
    }

    .top-about-img {
        margin-top: 80px;
    }

    .top-about-content {
        position: static;
        max-width: 600px;
        margin: -64px auto 0;
    }

    .top-about-decoration1 {
        max-width: 80px;
        top: -20%;
        right: -16%;
    }

    .top-about-decoration2 {
        max-width: 96px;
        bottom: -20%;
        left: -16%;
    }

    .top-childcare-number {
        font-size: 40px;
        margin: 0 auto -10px;
    }


    .access-train-h3 {
        margin: 0 auto 16px;
    }

    .access-train-ul {
        flex-direction: column;
        text-align: center;
        margin: 40px auto 0;
    }

    .access-train-ul>li:nth-child(1) {
        border-right: none;
        border-bottom: 2px dashed #000000;
        margin-bottom: 32px;
        padding-right: 0;
    }

    .access-train-ul-2 {
        border-top: 2px dashed #000000;
        margin: 0;
    }

    .access-train-ul>li:nth-child(2) {
        padding-left: 0;
        border-bottom: none;
    }


    .bus-infoBox {
        gap: 32px;
        flex-direction: column;
        max-width: 500px;
    }

    .bus-infoBox div:nth-child(1) {
        width: 100%;
    }

    .bus-infoBox div:nth-child(2) {
        width: 100%;
    }

    .bus-infoBox-text {
        text-align: center;
        font-size: 16px;
    }

    .bus-infoBox-Minitext {
        text-align: center;
    }

    .lifestage-service-ul {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }

    .lower-button {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .lower-button li:nth-child(5) {
        grid-column: 1 / -1;
        justify-self: center;
        width: 50%;
    }

    .lower-button li {
        width: 100%;
    }

    .living-lower-ul {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }

    .living-lower-ul li a {
        gap: 20px;
        flex-direction: column;
        padding: 24px 24px 40px;
    }

    .living-lower-ul li a div:nth-child(1) {
        width: 100%;
    }

    .living-lower-ul li a div:nth-child(2) {
        width: 100%;
    }

    .living-lower-img img {
        min-height: auto;
    }

    .living-lower-titleText {
        font-size: 18px;
        margin-bottom: 16px;
    }

    .living-lower-text {
        font-size: 14px;
    }

    .living-lower-viewmore {
        max-width: 100px;
        bottom: 10px;
    }

    .history-title {
        text-align: center;
        font-size: 20px;
    }

    .line-lower-1 {
        left: 40px;
    }

    .line-lower-2 {
        left: 100px;
    }

    .line-lower-3 {
        bottom: 80px;
        right: 480px;
        animation: drawLine5 0.5s ease-out forwards;
    }

    .line-lower-4 {
        left: 95%;
        bottom: 40px;
        animation: drawLine5 0.5s ease-out forwards;
    }

    .lower-main-title {
        font-size: 28px;
    }

    .childcare-h3 {
        font-size: 24px;
    }

    .childcare-miniTitle {
        font-size: 18px;
    }

    .childcare-text {
        font-size: 14px;
    }

    .childcare-number {
        font-size: 64px;
        margin-bottom: 16px;
    }

    .point-ul {
        font-size: 16px;
    }

    .point {
        font-size: 16px;
    }

    .childcare-line {
        margin: 48px auto 32px;
    }

    .check-ul li {
        font-size: 16px;
    }

    .miracle-left {
        position: static;
        width: 100%;
    }

    .miracle-right {
        width: 100%;
    }

    .miracle-ul {
        flex-direction: column;
        max-width: 500px;
    }

    .youtube-title {
        font-size: 16px;
    }

    .youtube-ul li:last-child {
        font-size: 14px;
    }

    .profile-text {
        font-size: 14px;
    }

    .pr-ul {
        flex-direction: column;
        max-width: 500px;
        margin: 0 auto;
    }

    .pr-ul li {
        width: 100%;
    }

    .pr-profile {
        flex-direction: column;
    }

    .pr-profile-content {
        max-width: 500px;
    }

    .pr-profile div:last-child {
        width: 100%;
    }

    .pr-profile div:first-child {
        width: 90%;
    }

    .dorama-ul {
        grid-template-columns: 1fr;
    }

    .pr-div {
        max-width: 500px;
        margin: 56px auto;
    }

    .pr-div2 {
        max-width: 500px;
        margin: 0 auto;
    }

    .character-box {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 56px auto 0;
    }

    .voiceBus-ul {
        grid-template-columns: 1fr;
    }

    .voice-content {
        max-width: 500px;
    }

    .voiceBus-h2 {
        font-size: 24px;
    }

    .pr-ul li {
        padding: 32px 24px;
    }

    .pr-ul li p {
        margin-bottom: 10px;
    }

    .dorama-ul p {
        margin-bottom: 10px;
    }

    .mylife {
        max-width: 300px;
    }

    .works-about {
        flex-direction: column-reverse;
        gap: 32px;
    }

    .works-about li:first-child {
        width: 100%;
        max-width: 500px;
    }

    .works-about li:last-child {
        width: 100%;
        max-width: 400px;
    }

    .works-about li:first-child h2 {
        max-width: 400px;
        margin: 0 0 24px;
    }

    .works-about li:first-child p {
        font-size: 16px;
    }

    .works-2-grid {
        grid-template-columns: 1fr;
    }

    .works-3-box {
        flex-direction: column;
    }

    .works-3-title::before {
        content: "";
        position: absolute;
        left: 10px;
        top: 10px;
        transform: translateY(-50%);
        width: 12px;
        height: 12px;
        border-radius: 50%;
        background: var(--blue-grade);
    }

    .works-3-title-orange {
        padding-left: 28px;
    }

    .works-3-title-orange::before {
        background: var(--orange-grade);
    }

    .works-3-title-green {
        padding-left: 28px;
    }

    .works-3-title-green::before {
        background: var(--green-grade);
    }

    .top-about-img {
        height: 400px;
    }

    .instagram-section {
        padding: 0;
    }

    .instagram-content {
        border-left: none;
        border-right: none;
    }

    .lower-main-title-interview {
        font-size: 24px;
    }

    .interview-title {
        font-size: 18px;
    }

    .interview-ul h3 {
        font-size: 16px;

    }

    .interview-textBox {
        font-size: 14px;
        padding: 24px 20px;
    }

    .interview-youtube-text {
        font-size: 16px;
    }

    .childcare-dl-2 {
        grid-template-columns: 1fr;
        gap: 28px;
        text-align: centerinstagram-ul;
    }

    #instafeed {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        gap: 10px;
        max-width: 320px;
        width: 90%;
        margin: 40px auto 0;
    }

    .col {
        background: rgba(0, 0, 0, 0.7);
        width: 100%;
        height: auto;
        aspect-ratio: 1/1;
        overflow: hidden;
        border: 1px solid #000000;
    }

    .feed-card-inner img {
        object-fit: cover;
    }

    .works-2-grid {
        max-width: 500px;
        margin: 40px auto 0;
    }

    .works-2-grid>*:nth-child(3) {
        width: 100%;
    }

}

@media screen and (max-width: 750px) {
    .living-lower-ul {
        grid-template-columns: 1fr;
        gap: 32px;
        max-width: 500px;
        margin: 0 auto;
    }
}


@media screen and (max-width: 600px) {

    .kv-logo {
        top: 35%;
    }

    .hamburger-btn {
        top: 16px;
        right: 16px;
    }

    .header-logo {
        top: 20px;
        left: 16px;
        max-width: 150px;
    }

    .hamberger-menu {
        width: 100%;
    }

    .hamberger-menu ul li a {
        padding: 16px;
    }

    .hamberger-menu ul {
        font-size: 18px;
    }

    .hamberger-menu {
        right: -600px;
    }

    .jp-font {
        font-size: 16px;
    }

    .pickup {
        right: 0;
        left: 0;
        margin: 0 auto;
    }

    .h2 {
        font-size: 24px;
    }

    .h2 span {
        font-size: 32px;
    }

    .sub-title {
        font-size: 14px;
        margin: 4px auto 0;
    }

    .about-h2 {
        max-width: 250px;
    }

    .top-about-content {
        width: 90%;
        padding: 48px 32px;
    }

    .top-about-decoration1 {
        max-width: 80px;
        top: -64px;
        right: -48px;
    }

    .top-about-decoration2 {
        max-width: 96px;
        bottom: -64px;
        left: -48px;
    }

    .top-childcare {
        margin-top: 32px;
        gap: 32px;
        grid-template-columns: 1fr;
        max-width: 400px;
    }


    .top-childcare-box>img {
        height: 250px;
        object-fit: cover;
    }

    .top-childcare li:nth-child(2) {
        margin-top: 0;
    }

    .top-childcare-tag {
        padding: 6px 10px;
    }

    .icon-tobibako {
        max-width: 100px;
        bottom: -100px;
    }

    .icon-pen {
        max-width: 64px;
    }

    .top-living-ul {
        grid-template-columns: 1fr;
        max-width: 400px;
    }

    .top-living-ul li:nth-child(5) {
        grid-column: 1;
        display: block;
        width: 100%;
    }

    .ambassador-content {
        padding: 24px 24px 40px;
    }

    .ambassador-content::after {
        top: 14px;
        left: 14px;
        border: 2px solid #000000;
    }

    .top-childcare-box::before {
        border: 2px solid #000000;
    }

    .top-living-ul li {
        border: 2px solid #000000;
    }

    .top-childcare-tag {
        border: 1px solid #000000;
    }

    .top-living-tag {
        border: 1px solid #000000;
    }

    .top-ambassador-box>div {
        border: 2px solid #000000;
    }

    .ambassador-content {
        border: 2px solid #000000;
    }

    .footer {
        padding: 48px 0 10px;
    }


    .footer-content {
        width: 90%;
    }

    .footer-right-ul {
        flex-wrap: wrap;
    }

    .footer-left {
        max-width: 300px;
    }

    .footer-right {
        max-width: 250px;
    }

    .out-button {
        flex-wrap: wrap;
        justify-content: center;
    }

    .text-slider p {
        font-size: 40px;
    }

    .text-slider img {
        height: 40px;
    }

    .lower-kv {
        height: 320px;
    }

    .lower-kv img {
        height: 300px;
        object-fit: cover;
    }

    .line-lower-1 {
        left: 40px;
    }

    .line-lower-2 {
        left: 100px;
    }

    .line-lower-3 {
        bottom: 80px;
        right: 480px;
        animation: drawLine5 0.5s ease-out forwards;
    }

    .line-lower-4 {
        left: 95%;
        bottom: 40px;
        animation: drawLine5 0.5s ease-out forwards;
    }

    .check-h2 {
        font-size: 2rem;
        margin: 0 auto 16px;
    }

    .check-content {
        padding: 40px 24px;
    }

    .check-ul li {
        font-size: 15px;
        font-weight: 500;
        line-height: 140%;
    }

    .access-train-h3 {
        font-size: 16px;
    }

    .access-train-time li {
        font-size: 14px;
    }

    .access-train-time li span {
        font-size: 24px;
    }

    .access-bus p {
        font-size: 14px;
    }

    .access-bus h2 {
        font-size: 24px;
    }

    .bus-infoBox-ul {
        grid-template-columns: 1fr 1fr;
    }

    .lower-button {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .lower-button li {
        width: 100%;
    }

    .lower-button li:nth-child(5) {
        width: 100%;
    }

    .lifestage-service-title {
        font-size: 18px;
    }

    .lifestage-service-ul li h4 {
        font-size: 16px;
    }

    .lifestage-service-button {
        font-size: 14px;
    }

    .park-check-img {
        flex-direction: column;
    }

    .living-lower-check {
        box-shadow: none;
    }

    .living-lower-check-title {
        font-size: 16px;
        line-height: 140%;
    }

    .living-lower-check-text {
        font-size: 14px;
    }

    .lower-main-title {
        font-size: 24px;
    }

    .point-ul {
        padding: 24px 20px 40px;
    }

    .point-ul-mini {
        padding: 24px 20px 40px;
    }

    .childcare-h3 {
        font-size: 18px;
        line-height: 130%;
        margin-bottom: 24px;
    }

    .childcare-miniTitle {
        font-size: 16px;
    }

    .childcare-text {
        font-weight: 400;
    }

    .childcare-number {
        font-size: 48px;
    }

    .childcare-miniTitle::before {
        height: 4px;
        bottom: -6px;
    }

    .point-ul-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        width: 90%;
    }

    .point-ul-grid li {
        border-right: none;
        border-bottom: 1px dashed #000000;
        padding: 32px 0;
    }

    .point-ul-grid li:last-child {
        border-bottom: none;
        padding: 32px 0 0;
    }

    .point-floor {
        font-size: 14px;
    }

    .point-center-title {
        font-size: 16px;
        line-height: 130%;
    }

    .point-orange-p {
        font-size: 16px;
    }

    .point-p {
        font-weight: 500;
    }

    .lower-button-childcare li:nth-child(3) {
        width: 100%;
    }

    .childcare-h3-big {
        font-size: 32px;
    }

    .medical-h3 {
        line-height: 170%;
    }

    .medical-2-box dl {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .medical-2-box ul {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .medical-subtitle p {
        font-size: 14px;
    }

    .medical-subtitle img {
        max-width: 350px;
        margin-top: 5px;
    }

    .medical-grid1 {
        grid-template-columns: 1fr;
    }

    .medical-grid-text {
        text-align: left;
    }

    .medical-grid2 {
        grid-template-columns: 1fr;
    }

    .medical-4 {
        font-size: 14px;
    }

    .childcare-h3-2 {
        margin-bottom: 10px;
    }


    .medical-grid1 div {
        height: auto;
    }

    .medical-grid1 div img {
        height: auto;
    }

    .doctor-flex {
        flex-direction: column;
    }

    .sub-title-miracle {
        margin: 0 auto 10px;
    }

    .h2-miracle::before {
        background: var(--pink-grade);
        bottom: -2px;
    }

    .miracle-profile {
        padding: 40px 20px;
    }

    .miracle-left h2 {
        min-width: 20px;
    }

    .pr-ul li p {
        font-size: 16px;
    }

    .profile-name-pr {
        font-size: 16px;
    }

    .pr-box {
        padding: 40px 20px;
    }

    .work-title img {
        max-width: 400px;
        width: 90%;
    }

    .works-ul>li:last-child {
        padding: 48px 16px;
    }

    .works-3-title {
        font-size: 16px;
    }

    .works-ul-3>li:last-child {
        padding: 0;
    }

    .works-3-box {
        padding: 24px 16px;
    }

    .works-3-number img {
        height: 80px;
        object-fit: contain;
    }

    .top-work-slide .slide-track {
        animation: scroll 20s linear infinite;
    }

    .h2-recommmend {
        margin: 0 auto 24px;
    }

    .lower-main-title-interview {
        font-size: 20px;
    }

    .interview-title img {
        max-width: 200px;
        margin: 6px auto 16px;
    }

    .interview-ul h3 {
        margin-bottom: 16px;
    }

    .interview-youtube {
        border-radius: 8px;
        border: 2px solid #000;
    }

    #instafeed {
        grid-template-columns: 1fr 1fr;
    }

    .button-instagram {
        margin-top: 40px;
    }

    .top-childcare {
        margin: 0 auto 40px;
    }

    .top-work-slide {
        margin: 40px auto;
    }

    .check-ul li::before {
        top: 0;
    }

}


@media screen and (max-width: 380px) {
    .kv-city {
        min-width: 1100px;
    }
}