/* 共通設定ここから */
body {
    font-family: "Zen Maru Gothic", sans-serif;
    font-weight: 500;
    font-style: normal;
    color: var(--front_color9);
    font-size: 18px;
    overflow-x: hidden;
}

.color1{
    color: var(--front_color1);
}
.color10{
    color: var(--front_color10);
}

.zen-maru-gothic-light {
    font-family: "Zen Maru Gothic", sans-serif;
    font-weight: 300;
    font-style: normal;
}

.zen-maru-gothic-regular {
    font-family: "Zen Maru Gothic", sans-serif;
    font-weight: 400;
    font-style: normal;
}

.zen-maru-gothic-medium {
    font-family: "Zen Maru Gothic", sans-serif;
    font-weight: 500;
    font-style: normal;
}

.zen-maru-gothic-bold {
    font-family: "Zen Maru Gothic", sans-serif;
    font-weight: 700;
    font-style: normal;
}

.zen-maru-gothic-black {
    font-family: "Zen Maru Gothic", sans-serif;
    font-weight: 900;
    font-style: normal;
}

header {
    position: fixed;
    z-index: 999;
    width: 100%;
    top: 0;
}

.site-header{
    transition: .5s;
}
  
.site-header.hide{
    transform: translateY(-100%);
}

main {
    padding-bottom: 90px;
}

/*
@media (max-width: 991px) {
    main {
        padding-top: 60px;
    }
} */

section:not(.hero)>div {
    background-color: var(--front_color11);
}

section div.bg-5 {
    background-color: var(--front_color5);
}

section div.bg-6 {
    background-color: var(--front_color6);
}

section div.bg-7 {
    background-color: var(--front_color7);
}

section div.bg-8 {
    background-color: var(--front_color8);
}

/* セクションのアニメーションここから */
.section-people > p.section-text{
    position: absolute;
    width: 110px;
    z-index: 1;
    font-size: 13px;
    font-weight: bold;
    height: 40px;
    line-height: 1.5em;
    margin-bottom: 0;
    opacity: 0;
    transition: opacity 0.8s ease, transform 0.8s ease;
    top: 36px;
    letter-spacing: -0.1em;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}
.section-people.is-inview > p.section-text{
    opacity: 1;
    transform: matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
    transition: all, opacity 0.6s cubic-bezier(0.5, 0, 0, 1) 1.6s, transform 0.6s cubic-bezier(0.5, 0, 0, 1) 1.6s;
}
.section-people > p.section-text.top-text-left{
    left: 130px;
}
.section-people > p.section-text.top-text-right{
    right: 130px;
}

.top-boy-left,
.top-boy-right,
.top-girl-left,
.top-girl-right{
    position: relative;
    padding-top: 140px !important;
}
.top-boy-left::before,
.top-boy-left::after,
.top-boy-right::before,
.top-boy-right::after,
.top-girl-left::before,
.top-girl-left::after,
.top-girl-right::before,
.top-girl-right::after{
    content: "";
    display: inline-block;
    z-index: -1;
    position: absolute;
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;  
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
    width: 150px;
    height: 150px;
    top: 40px;
}

/* 左男の子 */
.top-boy-left::before{
    left: 0;
    background-image: url('/images/front/common/ill-boy.png');
}

/* 左女の子 */
.top-girl-left::before{
    left: 0;
    background-image: url('/images/front/common/ill-girl.png');
}

/* 右男の子 */
.top-boy-right::before{
    right: 0;
    background-image: url('/images/front/common/ill-boy.png');
}

/* 右女の子 */
.top-girl-right::before{
    right: 0;
    background-image: url('/images/front/common/ill-girl.png');
}

/* 左吹き出し */
.top-boy-left::after,
.top-girl-left::after{
    width: 134px;
    height: 99px;
    top: 10px;
    left: 120px;
    background-image: url('/images/front/common/bubble-right.png');
}

/* 右吹き出し */
.top-boy-right::after,
.top-girl-right::after{
    width: 134px;
    height: 99px;
    top: 10px;
    right: 120px;
    background-image: url('/images/front/common/bubble-left.png');
}

.top-boy-left.is-inview::before,
.top-boy-right.is-inview::before,
.top-girl-left.is-inview::before,
.top-girl-right.is-inview::before{
    opacity: 1;
    transform: matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
    transition: all, opacity 0.6s cubic-bezier(0.5, 0, 0, 1) 0.8s, transform 0.6s cubic-bezier(0.5, 0, 0, 1) 0.8s;
}


.top-boy-left.is-inview::after,
.top-boy-right.is-inview::after,
.top-girl-left.is-inview::after,
.top-girl-right.is-inview::after{
    opacity: 1;
    transform: matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
    transition: all, opacity 0.6s cubic-bezier(0.5, 0, 0, 1) 1.2s, transform 0.6s cubic-bezier(0.5, 0, 0, 1) 1.2s;
}

/* セクションのアニメーションここまで */

img.radius {
    border-radius: 20px;
}

::selection {
    color: var(--front_color11);
    background-color: var(--front_color10);
}

.ball {
    position: absolute;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.6);
}

a {
    text-decoration: none;
}

.text-primary {
    color: var(--third_font_color) !important;
}

/* ハンバーガーメニューここから */
.navbar .nav-link {
    display: flex;
    align-items: center;
    gap: 5px;
}

.navbar .nav-link:hover img {
    transition: all 0.5s ease;
    transform: rotate(360deg);
}

.navbar a img {
    max-width: 35px;
}

.navbar-nav {
    align-items: center;
}

.navbar.navbar-expand-lg .btn-trigger {
    position: relative;
    width: 32px;
    height: 25px;
    cursor: pointer;
    margin-top: 4px;
}

.navbar.navbar-expand-lg .btn-trigger span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--front_color9);
    border-radius: 4px;
}

.navbar.navbar-expand-lg .btn-trigger,
.navbar.navbar-expand-lg .btn-trigger span {
    display: inline-block;
    transition: all .5s;
    box-sizing: border-box;
}

.navbar.navbar-expand-lg .btn-trigger span:nth-of-type(1) {
    top: 0;
}

.navbar.navbar-expand-lg .btn-trigger span:nth-of-type(2) {
    top: 11px;
}

.navbar.navbar-expand-lg .btn-trigger span:nth-of-type(3) {
    bottom: 0;
}

.navbar.navbar-expand-lg #btn01.active span:nth-of-type(1) {
    -webkit-transform: translateY(11px) rotate(-45deg);
    transform: translateY(11px) rotate(-45deg);
}

.navbar.navbar-expand-lg #btn01.active span:nth-of-type(2) {
    opacity: 0;
}

.navbar.navbar-expand-lg #btn01.active span:nth-of-type(3) {
    -webkit-transform: translateY(-11px) rotate(45deg);
    transform: translateY(-11px) rotate(45deg);
}

@media (max-width:991px) {
    nav .container-fluid {
        flex-wrap: nowrap;
        padding: 0;
    }

    .navbar.navbar-expand-lg .collapse.navbar-collapse {
        opacity: 0;
        transform: translateY(20px);
        transition: opacity 0.6s ease-out, transform 0.6s ease-out;
        visibility: hidden !important;
        content-visibility: hidden !important;
    }

    .navbar.navbar-expand-lg .collapse.navbar-collapse.active {
        display: block;
        opacity: 1;
        transform: translateY(0);
        visibility: visible !important;
        content-visibility: visible !important;
    }
}


/* ハンバーガーメニューここまで */

/* bootstrapを上書きここから */
.container,
.container-fluid,
.container-lg,
.container-md,
.container-sm,
.container-xl,
.container-xxl {
    --bs-gutter-x: 3rem;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.dropdown-item:focus,
.dropdown-item:hover {
    background-color: transparent;
}

@media (min-width: 1200px) {

    .container,
    .container-lg,
    .container-md,
    .container-sm,
    .container-xl {
        max-width: 960px;
    }
}

@media (max-width: 600px) {

    .container,
    .container-fluid,
    .container-lg,
    .container-md,
    .container-sm,
    .container-xl,
    .container-xxl {
        --bs-gutter-x: 2rem;
    }
}

/*デフォルトのマウスカーソルを非表示にする*/
html,
body,
a,
a:hover {
    cursor: none;
}

/*独自のマウスカーソルを作成*/
.cursor {
    position: fixed;
    top: -5px;
    left: -5px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid var(--front_color1);
    opacity: 0.7;
    z-index: 99000;
    transition: width 0.5s, height 0.5s, top 0.5s, left 0.5s;
    transform: translate(0, 0);
    pointer-events: none;
}

/*aタグにホバーした時に見た目変化*/
.cursor.cursor--hover {
    top: -20px;
    left: -20px;
    width: 50px;
    height: 50px;
    background: var(--front_color1);
    opacity: 0.6;
}

.form-check-input[type=checkbox]{
    margin-right: 5px;
    border-radius: 50px;
}

/* .cursor.cursor--footer {
    border: 2px solid var(--front_color1);
}

.cursor.cursor--footer {
    background: var(--front_color1);
} */

/*動き確認用ボタン*/
/* .btn {
  display: inline-block;
  min-width: 300px;
  margin: 20px;
  padding: 20px;
  color: #fff;
  background-color: #000;
  font-size: 20px;
  font-weight: bold;
  text-decoration: none;
  text-align: center;
} */

/* bootstrapを上書きここまで */

/* ボタン系ここから */
.btn.btn-primary,
.btn.btn-secondary,
.btn.btn-tertiary {
    width: 100%;
    position: relative;
    text-decoration: none;
    outline: none;  
    border-radius: 50px;
    text-align: center;
    overflow: hidden;
    transition-duration: .4s;
    z-index: 2;
}

.btn.btn-primary {
    color: var(--front_color11);
    background-color: var(--front_color1);
    border: 1px solid var(--front_color1);
}

.btn.btn-secondary {
    color: var(--front_color10);
    background-color: var(--front_color11);
    border: 1px solid var(--front_color11);
}

.btn.btn-tertiary {
    color: var(--front_color1);
    background-color: var(--front_color11);
    border: 1px solid var(--front_color1);
}

.btn.btn-primary::after,
.btn.btn-secondary::after,
.btn.btn-tertiary::after {
    border-radius: 50%;
    content: "";
    display: block;
    margin: auto;
    opacity: 0;
    pointer-events: none;
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    width: 100%;
    padding-top: 100%;
    height: 0;
    z-index: -1;
    transform: translateY(-50%) scale(0.1);
    transition: opacity .5s, transform 0s;
    transition-delay: 0s, .4s;
}

.btn.btn-primary::after {
    background: var(--front_color11);
}

.btn.btn-secondary::after {
    background: var(--front_color10);
}

.btn.btn-tertiary::after {
    background: var(--front_color1);
}

.btn.btn-primary:hover {
    color: var(--front_color1);
}

.btn.btn-secondary:hover {
    color: var(--front_color11);
    background-color: var(--front_color10);
}

.btn.btn-tertiary:hover {
    color: var(--front_color11);
    background-color: var(--front_color10);
}

.btn.btn-primary:hover::after,
.btn.btn-secondary:hover::after,
.btn.btn-tertiary:hover::after {
    opacity: 1;
    transform: translateY(-50%) scale(1.2);
    transition-delay: 0s;
    transition: opacity .8s, transform .6s ease-in-out;
}

.btn.btn-primary .btn-innner,
.btn.btn-secondary .btn-innner,
.btn.btn-tertiary .btn-innner {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 5px 30px;
}

@media (max-width:1020px) {
    .btn.btn-primary .btn-innner,
    .btn.btn-secondary .btn-innner,
    .btn.btn-tertiary .btn-innner {
        padding: 5px 18px;
    }
}



/* .btn.btn-tertiary {
    width: 100%;
    padding: 20px 20px;
    margin: 10px auto;
    position: relative;
    text-decoration: none;
    outline: none;
    color: #fff;
    border: #fff;
    background-color: var(--second_color);
    border-radius: unset;
    text-align: center;
    transition: color 1s, background-color 1s, border-color 1s;
}

.btn.btn-tertiary:hover {
    color: var(--second_color);
    background-color: #fff;
} */

/* アンダーライン */
.underline::after {
    position: absolute;
    left: 5px;
    content: '';
    width: 100%;
    height: 2px;
    background: #fff;
    bottom: 5px;
    transform: scale(0, 1);
    transform-origin: left top;
    transition: transform 0.3s;
}

.underline:hover::after {
    transform: scale(1, 1) !important;
}

li.contact .underline::after {
    background: var(--first_color);
}

.work .underline::after {
    width: 100%;
    bottom: -3px;
}

.work span.active {
    border: 1px solid #fff;
}

footer .underline::after {
    width: 100%;
    bottom: -5px;
}

/* ボタン系ここまで */

/* 背景ここから */

.bg-design-1 {
    background-color: var(--third_color);
    background-image: url('/images/front/common/noise.png');
    background-repeat: repeat;
    background-position: center;
    background-size: contain;
}

.bg-design-2 {
    background-color: var(--fourth_color);
}

.bg-design-3 {
    /* background-image: url('/images/front/common/concrete.png'); */
    background-repeat: repeat;
    background-position: center;
    background-size: 500px;
}

.bg-design-4 {
    /* background-image: url('/images/front/common/white_opacity.png'); */
    background-repeat: repeat;
    background-position: center;
    background-size: contain;
}

.bg-design-5 {
    background-color: var(--second_color);
    background-image: url('/images/front/common/texture.png');
    background-repeat: repeat;
    background-position: center;
    background-size: contain;
}

.bg-design-6 {
    background-color: var(--front_color10);
}

/* 背景ここまで */
/* 共通設定ここまで */



/* ナビゲーションここから */
.navbar-brand {
    margin-right: 0;
}

.navbar-brand .logo {
    max-width: 200px;
}

.nav-item.recruit {
    background-color: var(--second_color);
    width: 100px;
}

.nav-item.contact {
    background-color: #fff;
    width: 124px;
}

.h-english::before {
    content: "-";
    margin-right: 5px;
}

.h-english::after {
    content: "-";
    margin-left: 5px;
}

.navbar-toggler-icon {
    font-size: 1.5rem;
    color: #fff;
    background-image: none;
}

.navbar .dropdown-toggle::after {
    display: none;
}

.dropdown-menu {
    min-width: 240px;
    /* メガメニューの幅を調整 */
}

.dropdown-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.dropdown-menu li {
    padding: 0.5rem 1rem;
}

/* .dropdown .nav-link {
    padding-right: 25px !important;
} */

/* .dropdown-toggle-icon {
    top: 50%;
    right: 0;
    transform: translate(0, -50%);
} */

/* 初期状態ではメニューを非表示 */
.dropdown-menu {
    display: block;
    height: 0;
    overflow: hidden;
    background-color: var(--front_color11);
    padding: 0 10px;
    margin-top: 5px;
    transition: height 0.3s ease, padding 0.3s ease;
    border: none;
}

/* メニューが表示された際の状態 */
.dropdown-menu.show {
    height: auto;
    padding: 10px;
}





@media (max-width: 991px) {
    .navbar-brand .logo {
        max-width: 160px;
    }

    .navbar .container {
        padding: 0;
    }

    .navbar .navbar-brand {
        /* padding: 15px 10px; */
    }

    .navbar .navbar-nav .nav-item.recruit,
    .navbar .navbar-nav .nav-item.contact {
        width: 100%;
    }


    .dropdown .nav-link {
        padding-right: 0 !important;
    }

    .dropdown-toggle-icon {
        right: -30px;
    }

}



/* ナビゲーションここまで */


/* fsvここから */
@media (max-width:768px) {
    .fsv-content-wrap h1 {
        font-size: 35px;
    }
}

.c-scrolldown {
    width: 1px;
    height: 60px;
    position: absolute;
    left: 0;
    right: 0;
    margin: 0 auto;
    overflow: hidden;
    bottom: -240px;
}

.c-scrolldown .c-line {
    width: 100%;
    height: 100%;
    display: block;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 1) 50%, rgba(255, 255, 255, 0) 50%);
    background-position: 0 -60px;
    background-size: 100% 200%;
    animation: scrolldown 2.2s cubic-bezier(0.76, 0, 0.3, 1) forwards infinite;
}

@keyframes scrolldown {
    0% {
        background-position: 0 -60px;
    }

    75% {
        background-position: 0 0;
    }

    100% {
        background-position: 0 60px;
    }
}

.fsv-content-wrap {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    color: #fff;
}

/* swiperここから */
.swiper {
    height: 70vh;
    width: 60vw;
    margin-right: 70px;
    border-radius: 50px;
}

.swiper-pagination-bullet {
    background: transparent;
    border: solid 2px var(--front_color1);
    opacity: 1;
}

.swiper-pagination-bullet.swiper-pagination-bullet-active {
    background: var(--front_color1);
}

.swiper-pagination {
    position: absolute;
    top: 50% !important;
    z-index: 2;
    display: grid;
    grid-template-columns: 2px;
    gap: 10px;
    transform: translateY(-50%);
    right: 40px;
    bottom: auto !important;
    width: auto !important;
    left: auto !important;
}

@keyframes zoomUp {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.15);
    }
}

.swiper-slide-active .swiper-img,
.swiper-slide-duplicate-active .swiper-img,
.swiper-slide-prev .swiper-img {
    animation: zoomUp 14s linear 0s normal both;
}

.swiper-wrapper {
    height: 90vh;
    overflow: hidden;
}

.swiper-wrapper::after {
    content: '';
    height: 100vh;
    width: 100vw;
    background-color: rgba(0, 0, 0, 0.2);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.swiper-slide img {
    height: calc(100vh - 60px);
    width: 100%;
    object-fit: cover;
}

@media (max-width: 991px) {
    .swiper-slide img {
        height: 90vh;
        width: 100%;
        /* object-fit: cover; */
    }
}

@media (max-width: 960px) {
    .swiper-container {
        width: 100%;
        height: 90vh;
    }
    .swiper {
        width: 100%;
        margin-right: 0;
    }

    .swiper-pagination-bullet {
        border: solid 2px var(--front_color11);
    }

    .swiper-pagination-bullet.swiper-pagination-bullet-active {
        background: var(--front_color11);
    }
}

/* swiperここまで */

.fsv{
    margin-top:120px;
    width: 100%;
    --bs-gutter-x: 5rem;
    padding-right: calc(var(--bs-gutter-x) * .5);
    padding-left: calc(var(--bs-gutter-x) * .5);
    margin-right: auto;
    margin-left: auto;
}

/* @media (min-width: 576px) {
    .fsv{
        max-width: 540px;
    }
}
@media (min-width: 768px) {
    .fsv{
        max-width: 720px;
    }
}
@media (min-width: 992px) {
    .fsv{
        max-width: 960px;
    }
} */

.fsv .fsv-wrap {
    height: 50vh;
}

.fsv .fsv-wrap {
    height: 50vh;
    overflow: hidden;
    position: relative;
}

.fsv .fsv-wrap::after {
    content: '';
    height: 50vh;
    width: 100vw;
    background-color: rgba(0, 0, 0, 0.2);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.fsv .fsv-wrap img {
    height: calc(100vh - 60px);
    width: 100%;
    object-fit: cover;
}

.fsv .fsv-content-wrap {
    position: absolute;
    top: 55%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    color: #fff;
}

.fsv .c-scrolldown {
    bottom: -130px;
}

@media (max-width: 991px) {
    .fsv{
        margin-top: 100px;
    }
    .fsv .fsv-wrap {
        width: 100%;
        height: 60vh;
    }

    .fsv .fsv-wrap::after {
        content: '';
        height: 100vh;
        width: 100vw;
        background-color: rgba(0, 0, 0, 0.2);
        position: absolute;
        top: 48%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    .fsv .fsv-wrap img {
        height: 90vh;
        width: 100%;
        /* object-fit: cover; */
    }

    .fsv .fsv-content-wrap {
        top: 55%;
    }

    .fsv .c-scrolldown {
        bottom: -240px;
    }
}

@media (max-width: 551px) {
    .fsv{
        --bs-gutter-x: 2rem;
    }
    .fsv .fsv-wrap::after {
        top: 40%;
    }
}


/* fsvここまで */

/* パンくずここから */
.breadcrumbs ul{
    padding: 15px 30px;
    margin: 20px 10px;
    background: var(--front_color11);
    width: fit-content;
    border-radius: 20px;
    box-shadow: 0 0.25rem 0.375rem -0.0625rem rgba(20, 20, 20, 0.12), 0 0.125rem 0.25rem -0.0625rem rgba(20, 20, 20, 0.07) !important;
}

.breadcrumbs ul li{
    position: relative;
}
header ul li a.underline::after,
.breadcrumbs ul li a.underline::after{
    position: absolute;
    left: 0;
    content: '';
    width: 100%;
    height: 2px;
    background: var(--front_color10);
    bottom: -2px;
    transform: scale(0, 1);
    transform-origin: left top;
    transition: transform 0.3s;
}

.breadcrumbs ul li a {
    font-size: 0.8em;
}

@media (max-width: 551px) {
    .breadcrumbs ul{
        margin: 20px 0 0 0;
    }
}

/* パンくずここまで */

/* topニュースここから */
.c-btn,
.c-bnr,
.c-txt {
    cursor: pointer;
    transition: .6s cubic-bezier(0.45, 0, 0.55, 1);
}

.c-btn.slide {
    color: var(--first_color);
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.c-btn.slide::after {
    background: var(--front_color5);
    position: absolute;
    top: 0;
    left: 0;
    content: '';
    width: 100%;
    height: 100%;
    transform: scale(0, 1);
    transform-origin: left top;
    transition: .6s cubic-bezier(0.45, 0, 0.55, 1);
    z-index: -1;
}

.c-btn.slide:hover::after {
    transform: scale(1, 1);
}

/* topニュースここまで */
/* top採用ここから */

.recruit-title {
    font-size: x-large;
    background-color: #fff;
    padding: 5px 10px;
    width: fit-content
}

.btn.inborder {
    height: auto;
}

#recruit .btn.inborder {
    height: 70px;
}

.btn.inborder::after {
    position: absolute;
    border: 1px solid #fff;
    content: "";
    top: 8px;
    bottom: 8px;
    left: 8px;
    right: 8px;
}

.btn.inborder:hover:after {
    border: 1px solid var(--first_color);
}

#contact .btn.inborder:hover:after {
    border: 1px solid var(--second_color);
}


/* スライダーここから */
@keyframes infinity-scroll-left {
    from {
        transform: translateX(0);
    }

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

.scroll-infinity__wrap {
    display: flex;
    overflow: hidden;
    gap: 30px;
}

.scroll-infinity__list {
    display: flex;
    list-style: none;
    padding: 0
}

.scroll-infinity__list--left {
    animation: infinity-scroll-left 80s infinite linear 0.5s both;
    gap: 30px;
}

.scroll-infinity__item {
    width: calc(100vw / 4);
}

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

@media (max-width:991px) {
    .scroll-infinity__item {
        width: calc(300vw / 4);
    }
}

/* スライド内カード幅を固定 */
.slide-item {
    width: 300px;
    padding: 10px;
}

#slider .slick-track {
    display: flex;
    align-items: stretch;
}

/* 矢印を非表示（デフォルト） */
#slider .slick-prev,
#slider .slick-next {
    display: none !important;
}

#prevBtn,
#nextBtn {
    position: absolute;
    top: 50%;
}

#prevBtn {
    left: -13px;
}

#nextBtn {
    right: -13px;
}

/* 念のため、子要素の伸縮を明示 */
.slide-item,
.slide-item .card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.card {
    border-radius: 20px;
    border: 3px solid var(--front_color10);
}

.card .card-header {
    background: var(--front_color10);
    color: #fff;
    font-weight: bold;
    text-align: center;
    border-radius: 10px 10px 0 0;
}

/* スライダーここまで */
/* top採用ここまで */

/* tableここから */
table th {
    border-bottom: 1px solid var(--fourth_color);
}

.front-work-detail table {
    width: 70%;
    margin: 0 auto 0 0;
}

@media (max-width:991px) {
    .front-work-detail table {
        width: 100%;
    }

    .front-work-detail table tbody {
        display: block;
    }
}

/* tableここまで */

/* 会社概要ここから */

/* .front-pages-detail-about-company .img-wrap img {
    height: calc(70vh - 60px);
    transform: translate(0%, -6%)
}

@media (max-width:991px) {
    .front-pages-detail-about-company .img-wrap img {
        height: 90vh;
        width: fit-content;
        transform: translate(-45%, 0);
    }
}

@media (max-width:768px) {
    .front-pages-detail-about-company .img-wrap img {
        height: 90vh;
        width: fit-content;
        transform: translate(-57%, 0);
    }
}

@media (max-width:500px) {
    .front-pages-detail-about-company .img-wrap img {
        height: 90vh;
        width: fit-content;
        transform: translate(-71%, 0);
    }
}

@media (max-width:400px) {
    .front-pages-detail-about-company .img-wrap img {
        height: 90vh;
        width: fit-content;
        transform: translate(-75%, 0);
    }
} */

/* 会社概要ここまで */

/* 沿革ここから */

@media (min-width:991px) {
    .front-pages-detail-about-evolution .img-wrap img {
        transform: translate(0, -45%);
    }
}

/* 沿革ここまで */

/* 施工実績ここから */
.category-wrap li {
    width: 100px;
    text-align: center;
}

.work-img-wrap {
    position: relative;
}

.work-img-wrap>img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

/* .pintarest .work-img {
    cursor: pointer;
} */

@media (max-width:768px) {
    .category-wrap ul:first-child li:first-child {
        width: 100% !important;
    }
}

.work-post .btn.btn-primary {
    font-size: 14px;
}

.pintarest {
    display: grid;
    width: fit-content;
    grid-template-columns: repeat(3, auto);
    column-gap: 10px;
    row-gap: 30px;
}


.pintarest .img-wrap {
    position: relative;
    display: inline-block;
}

.pintarest .work-img {
    display: block;
    user-select: none;
    -webkit-user-drag: none;
    -webkit-touch-callout: none;
    pointer-events: none;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    z-index: 10;
}

@media (max-width:991px) {
    .pintarest {
        grid-template-columns: repeat(2, auto);
    }
}

@media (max-width:500px) {
    .pintarest {
        grid-template-columns: repeat(1, auto);
    }
}

/* 点滅 */
.blinking {
    -webkit-animation: blink 1.5s ease-in-out infinite alternate;
    -moz-animation: blink 1.5s ease-in-out infinite alternate;
    animation: blink 1.5s ease-in-out infinite alternate;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin: auto;
    width: 100px;
    height: 100px;
    border-radius: 6px;
    background: rgba(0, 0, 0, 0.3);
}

@-webkit-keyframes blink {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@-moz-keyframes blink {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes blink {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.blinking .finger {
    width: 18px;
    height: 28px;
    margin: 0 auto;
    display: block;
    object-fit: contain;
}

.blinking p {
    margin-bottom: 0;
    letter-spacing: 0px;
    color: #FFFFFF;
    font-size: 11px;
    text-align: center;
    width: 100%;
    line-height: 15px;
    margin-top: 10px;
}

@media (max-width:768px) {
    .work-img-wrap>img {
        height: 300px;
    }
}


/* 施工実績ここまで */

/* 採用情報ここから */
.front-pages-detail-recruit .timeline .time-box {
    position: relative;
    z-index: 3;
}

.front-pages-detail-recruit .timeline:after {
    position: absolute;
    top: 30px;
    left: 63px;
    content: "";
    width: 1px;
    height: 90%;
    background-color: var(--first_color);
}

@media (max-width: 991px) {
    .front-pages-detail-recruit .timeline:after {
        left: 44px;
    }
}

@media (max-width: 768px) {
    .front-pages-detail-recruit .timeline:after {
        left: 50%;
        transform: translate(50%, 0);
        height: 82%;
    }

    .front-pages-detail-recruit .timeline .content {
        position: relative;
        z-index: 3;
        background: var(--fourth_color);
        padding: 10px;
    }

    .front-pages-detail-recruit .timeline-item {
        text-align: center;
    }
}

.front-pages-detail-recruit .privacy-policy-wrap p {
    color: #fff !important;
    opacity: 0.7;
}

.front-pages-detail-recruit #nece-form-clear {
    background: var(--third_color);
}

.front-pages-detail-recruit .img-wrap img {
    transform: translate(0, -35%);
}

@media (max-width: 991px) {
    .front-pages-detail-recruit .img-wrap img {
        transform: translate(0, 0);
    }
}

/* 採用情報ここまで */
/* お問い合わせここから */
.front-pages-detail-contact .img-wrap img {
    transform: translate(0, -15%);
}

@media (max-width: 991px) {
    .front-pages-detail-contact .img-wrap img {
        transform: translate(0, 0);
    }
}

/* お問い合わせここまで */

/* footerここから */
.googlemap {
    width: 100vw;
    height: 45vh;
    filter: grayscale(1);
}

.sns-wrap img {
    max-width: 30px;
}

footer ul{
    content: '';
    display: block;
    border-left: 3px solid var(--front_color11);
}
footer ul li{
    padding-left: 10px;
}

footer .pagetop{
    position:absolute;
    max-width: 150px;
    top: -120px;
    right: 5%;
}

/* footerここまで */


/* ローディングここから */
.loading {
    position: relative;
}

.loading-container {
    position: fixed;
    width: 100%;
}

.loading-container img{
    width: 100%;
    display: block;
    max-width: 150px;
    margin: auto;
    animation: sway 1s ease-in-out infinite alternate;
}

@keyframes sway {
    0% {
        transform: translateX(-5px) rotate(-3deg);
    }

    100% {
        transform: translateX(5px) rotate(3deg);
    }
}

.loading-container h1 {
    font-size: 1.6em;
    text-align: center;
}

/* ローディングここまで */


/* 上書きここから */
.hero {
    background-color: var(--front_color12);
    position: relative;
    overflow: hidden;
    padding-bottom: 150px;
}

.hero::before {
    content: "";
    position: absolute;
    top: -50px;
    left: -150px;
    width: 700px;
    height: 700px;
    background-color: var(--front_color3);
    border-radius: 50%;
    z-index: 0;
}

.hero::after {
    content: "";
    position: absolute;
    bottom: 10px;
    right: -50px;
    width: 300px;
    height: 300px;
    background-color: var(--front_color2);
    border-radius: 50%;
    z-index: 0;
}

.hero-image {
    border-radius: 30px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1;
}

.hero-title {
    width: auto;
    position: absolute;
    top: 0;
    left: 10%;
    color: var(--front_color11);
    font-size: 4rem;
    font-weight: bold;
    z-index: 2;
    white-space: pre-line;
    text-shadow: var(--front_color9) 5px 5px 15px;
}

.hero-subtitle {
    width: 100%;
    position: absolute;
    bottom: 25px;
    right: 30px;
    z-index: 1000;
    color: var(--front_color11);
    text-align: right;
    font-size: 1.6em;
}

.hero-img-wrap {
    position: absolute;
    left: -40px;
    bottom: -200px;
    z-index: 5;
}

.hero-img-wrap img {
    width: 400px;
}

@media (max-width: 1200px) {
    .hero-subtitle{
        font-size: 1.3em;
    }
}
@media (max-width: 1000px) {
    .hero {
        padding-bottom: 30px;
    }
    .hero-img-wrap {
        position: relative;
        bottom: -20px;
        z-index: 5;
    }
}
@media (max-width: 768px) {
    .hero-title{
        font-size: 2.5em;
        top: 30px;
        left: 30px;
    }
    .hero-img-wrap {
        position: relative;
        left: 0;
    }
    .hero-subtitle{
        font-size: 1.3em;
        bottom: 50px;
        right: 0;
        padding: 0 20px;
    }
    .swiper-slide.slide3 img{
        object-position: 80% 0;
    }
}

@media (max-width: 500px) {
    .hero {
        padding-bottom: 130px;
    }
    .hero-subtitle{
        font-size: 1.1em;
    }
    .hero-img-wrap {
        position: absolute;
        left: 0;
        bottom: -150px;
    }
    .hero-img-wrap img {
        width: 200px;
    }
}

main>section>div>div.row {
    margin-top: 125px;
}

/* デフォルトは非表示 */
.pc,
.tb,
.sp {
    display: none;
}

/* 1200px以上 → PC表示 */
@media (min-width: 1300px) {
    .pc {
        display: block;
    }
}

/* 991px〜1199.98px → タブレット表示 */
@media (min-width: 991px) and (max-width: 1300px) {
    .tb {
        display: block;
    }
}

/* 〜990.98px → スマホ表示 */
@media (max-width: 990px) {
    .sp {
        display: block;
    }

    main>section>div>div.row {
        margin-top: 100px;
    }
}

section:not(.hero) {
    position: relative;
    z-index: 4;
}

section:not(.hero)>div {
    position: relative;
    border-radius: 30px;
    box-shadow: 0 0.25rem 0.375rem -0.0625rem rgba(20, 20, 20, 0.12), 0 0.125rem 0.25rem -0.0625rem rgba(20, 20, 20, 0.07) !important;
}

/* スクロールダウンの位置 */
.scroll {
  padding-top: 60px;
  position: relative;
  text-align: center;
}
/* 矢印のアニメーション部分 */
.scroll::before {
  animation: scroll 2s infinite;
  border-bottom: 2px solid var(--front_color1);
  border-left: 2px solid var(--front_color1);
  content: "";
  height: 30px;
  left: 0;
  margin: auto;
  position: absolute;
  right: 0;
  top: 0;
  width: 30px;
  z-index: 90;
}
/* 下層ページ */
.fsv .scroll::before {
  border-bottom: 2px solid var(--front_color11);
  border-left: 2px solid var(--front_color11);
  height: 40px;
  left: 0;
  right: 0;
  top: 70px;
  width: 40px;
}
/* 矢印のアニメーション */
@keyframes scroll {
  0% {
    opacity: 0;
    transform: rotate(-45deg) translate(0, 0);
  }
  40% {
    opacity: 1;
  }
  80% {
    opacity: 0;
    transform: rotate(-45deg) translate(-20px, 20px);
  }
  100% {
    opacity: 0;
  }
}

.head2 {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap;
    gap: 10px;
    margin-bottom: 40px;
}

.head2 img {
    max-width: 35px;
}

.head2 h2 {
    font-weight: bold;
}


/* 上書きここまで */

/* blogカレンダーここから */
button.btn.btn-primary.round {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

button.btn.btn-primary.prev.round {
    padding-left: 10px;
}

button.btn.btn-primary.next.round {
    padding-right: 10px;
}

.calendar-container {
    max-width: 750px;
    margin: auto;
}

.calendar-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 10px;
}

button.btn.btn-primary.round{
    width: 40px;
    height: 40px;
    border-radius: 50%;
}
button.btn.btn-primary.prev.round{
    padding-left: 10px;
}
button.btn.btn-primary.next.round       {
    padding-right: 10px;
}

.calendar-month {
    font-weight: bold;
    font-size: 18px;
}

.calendar-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

.calendar-table th {
    background-color: #f8a8bb;
    color: white;
    font-weight: bold;
    padding: 8px;
    text-align: center;
}

.calendar-table td {
    border: 1px solid #ddd;
    vertical-align: top;
    height: auto;
    position: relative;
    padding: 5px;
    min-height: 80px;
}

.day-number {
    font-size: 14px;
    font-weight: bold;
}

.today {
    background-color: #fff0f0;
}

.saturday {
    color: #007bff;
}

.sunday {
    color: #e6003f;
}

.calendar-table tr{
    width: 100%;
    display: flex;
}

.calendar-table th,
.calendar-table td {
    width: calc(100% / 7); /* 7列で均等 */
    max-width: 14.28%;
    text-align: center;
}

.calendar-table td a{
    margin-bottom: 5px;
}


@media (max-width: 768px) {
    .calendar-table th,
    .calendar-table td {
        white-space: normal;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    .calendar-table td {
        min-height: 50px;
    }
    .calendar-table td a,
    .calendar-table td a > div{
        padding: 0 !important;
    }
    .calendar-table td a{
        border-radius: 10px !important;
    }
}

/* blogカレンダーここまで */

/* tab系のデザインここから */
.tab-wrapper{
}
.tab-wrapper .nav-tabs{
    border: none;
    display: flex;
    flex-wrap: nowrap;
    gap:0;
}
.tab-inner{
    padding: 20px 20px;
    border-radius: 20px;
}

#season-content .event-item{
    position: relative;
}

#season-content .event-list .badge{
    padding: 30px;
    border-radius: 50%;
    font-size: 20px;
    height: 60px;
    width: 60px;
    line-height: 40px;
    text-align: center;
    position: relative;
    z-index: 1;
}

#season-content .event-list.spring .badge{
    background-color: var(--front_color10);
}
#season-content .event-list.summer .badge{
    background-color: var(--front_color4);
}
#season-content .event-list.autumn .badge{
    background-color: var(--front_color14);
}
#season-content .event-list.winter .badge{
    background-color: var(--front_color2);
}

#season-content .event-item span{
    background: var(--front_color11);
    padding: 10px 30px 10px 70px;
    border-radius: 50px;
    line-height: 40px;
    position: absolute;
    left: 0;
}

.slider-wrapper #prevBtn {
    left: 25px;
}

.slider-wrapper #nextBtn {
    right: 25px;
}

.tab-wrapper .nav-item{
    width: calc(90% / 4);
}

.tab-wrapper .nav-link{
    min-width: 70px;
    text-align: center;
    color: var(--front_color9);
}

.tab-wrapper .nav-link.active{
    color: var(--front_color11);
}

.tab-wrapper .tab-inner.spring{
    background-color: var(--front_color5);
    border: 2px solid var(--front_color10);
}
.tab-wrapper .tab-inner.summer{
    background-color: var(--front_color13);
    border: 2px solid var(--front_color4);
}
.tab-wrapper .tab-inner.autumn{
    background-color: var(--front_color15);
    border: 2px solid var(--front_color14);
}
.tab-wrapper .tab-inner.winter{
    background-color: var(--front_color6);
    border: 2px solid var(--front_color2);
}
.tab-wrapper .tab-inner.physical{
    background-color: var(--front_color7);
    border: 2px solid var(--front_color3);
}

.tab-wrapper .nav-link.spring{
    background-color: var(--front_color11);
    border: 2px solid var(--front_color10);
}
.tab-wrapper .nav-link.summer{
    background-color: var(--front_color11);
    border: 2px solid var(--front_color4);
}
.tab-wrapper .nav-link.autumn{
    background-color: var(--front_color11);
    border: 2px solid var(--front_color14);
}
.tab-wrapper .nav-link.winter{
    background-color: var(--front_color11);
    border: 2px solid var(--front_color2);
}
.tab-wrapper .nav-link.physical{
    background-color: var(--front_color11);
    border: 2px solid var(--front_color3);
}

.tab-wrapper .nav-link.spring.active{
    background-color:var(--front_color10);
    color: var(--front_color11);
}
.tab-wrapper .nav-link.summer.active{
    background-color:var(--front_color4);
    color: var(--front_color11);
}
.tab-wrapper .nav-link.autumn.active{
    background-color:var(--front_color14);
    color: var(--front_color11);
}
.tab-wrapper .nav-link.winter.active{
    background-color:var(--front_color2);
    color: var(--front_color11);
}
.tab-wrapper .nav-link.physical.active{
    background-color:var(--front_color3);
    color: var(--front_color11);
}

/* 制服ここから */
.tab-uniform-inner{
    position: relative;
}
.tab-uniform-inner .uniform{
    max-width: 400px;
    display: block;
    margin: auto;
}
.tab-uniform-inner .ill-uniform{
    position: absolute;
    bottom: -40px;
    max-width: 200px;
    z-index: 10;
}

.tab-uniform-inner .ill-uniform.boy{
    right: 50px;
}
.tab-uniform-inner .ill-uniform.girl{
    right: -60px;
}

.tab-uniform .text-wrapper{
    position: relative;
    width: 100%;
    height: 230px;
}
.tab-uniform .text-wrapper p{
    position: absolute;
    background: var(--front_color11);
    padding: 30px;
    font-size: 18px;
    border-radius: 50%;
    height: 200px;
    width: 200px;
    text-align: center;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
}
.tab-uniform .winter .text-wrapper p{
    border: 4px solid var(--front_color2);
}
.tab-uniform .summer .text-wrapper p{
    border: 4px solid var(--front_color4);
}
.tab-uniform .physical .text-wrapper p{
    border: 4px solid var(--front_color3);
}

.tab-uniform .text-wrapper p.first{
    top:50px;
    left: 5%;
}
.tab-uniform .text-wrapper p.second{
    top: 0;
    left: 50%;
    transform: translate(-50%, 0);
}
.tab-uniform .text-wrapper p.third{
    top:50px;
    right: 5%;
}

.tab-uniform .img-wrapper{
    position: relative;
    z-index: 9;
}
.tab-uniform .img-wrapper img.top,
.tab-uniform .img-wrapper img.bottom{
    position: absolute;
    max-width: 200px;
    z-index: -1;
}
.tab-uniform .img-wrapper img.top{
    top: 30px;
    right: 10px;
}
.tab-uniform .img-wrapper img.bottom{
    bottom: 30px;
    left: 10px;
}
/* 制服ここまで */


@media (max-width:991px){
    .tab-uniform .text-wrapper p{
        height: 150px;
        width: 150px;
        padding: 20px;
        font-size: 14px;
    }
    .tab-uniform .img-wrapper img.top{
        top: 0;
        right: -50px;
    }
    .tab-uniform .img-wrapper img.bottom{
        bottom: 0;
        left: -50px;
    }
}

@media (max-width:768px){
    .slider-wrapper #prevBtn {
        left: -10px;
    }

    .slider-wrapper #nextBtn {
        right: -10px;
    }

    #season-content .event-item span{
        position: relative;
        padding: 10px 30px;
        display: block;
        border-radius: 20px;
    }

    .tab-uniform .text-wrapper p{
        height: 120px;
        width: 120px;
        padding: 20px;
        font-size: 12px;
    }
    .tab-uniform-inner .ill-uniform{
        bottom: -140px;
    }
    .tab-uniform .text-wrapper p.first {
        top: 50px;
        left: 0;
    }
    .tab-uniform .text-wrapper p.third {
        top: 50px;
        right: 0;
    }
    .tab-uniform .img-wrapper img.top{
        top: 0;
        right: -80px;
    }
    .tab-uniform .img-wrapper img.bottom{
        bottom: 0;
        left: -80px;
    }
    .tab-wrapper .nav-item{
        width: calc(90% / 3);
    }
}

@media (max-width:500px){
    .tab-uniform .text-wrapper {
        height: 180px;
    }
    .tab-uniform-inner .ill-uniform{
        max-width: 130px;
        bottom: -85px;
    }
    .tab-uniform-inner .ill-uniform.boy {
        right: 40px;
    }
    .tab-uniform-inner .ill-uniform.girl {
        right: -40px;
    }
    .tab-uniform .text-wrapper p {
        height: 110px;
        width: 110px;
        padding: 0;
    }
    .tab-uniform .text-wrapper p.first {
        left: -24px;
    }
    .tab-uniform .text-wrapper p.third {
        right: -24px;
    }
    .tab-uniform .img-wrapper img.top, .tab-uniform .img-wrapper img.bottom {
        max-width: 130px;
    }
    .tab-uniform .img-wrapper img.top {
        top: -35px;
        right: -50px;
    }
    .tab-uniform .img-wrapper img.bottom {
        bottom: -35px;
        left: -50px;
    }
}

/* tab系のデザインここまで */

/* よくある質問ここから */
.question-innner{
    margin:5px;
}
.question-innner .nece-parts{
    display: flex;
    gap: 10px;
    flex-wrap: nowrap;
    align-items: center;
    margin: 10px 0;
}
.question-innner .nece-parts.answer{
    align-items: start;
}
.question-innner .nece-parts p{
    margin:0;
}
.question-innner .nece-parts.question::before{
    content:'Q';
    font-size: 20px;
    display: inline;
    color:var(--front_color10);
    font-weight: bold;
}
.question-innner .nece-parts.question::after{
    content:'▼';
    font-size: 15px;
    color:var(--front_color11);
    font-weight: bold;
    background-color: var(--front_color1);
    border-radius: 50%;
    width:25px;
    min-width:25px;
    height:25px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    margin-left: auto;
}
.question-innner .nece-parts.answer::before{
    content:'A';
    font-size: 20px;
    display: inline;
    color:var(--front_color1);
    font-weight: bold;
}

.question.active::after {
    transform: rotate(180deg);
}

/* 初期状態は回答を非表示 */
.answer {
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s ease;
}

.answer.d-flex {
    opacity: 1;
    max-height: 500px; /* 十分な高さ。中身に応じて調整 */
}
/* よくある質問ここまで */

/* 表組ここから */
table{
    border-collapse: separate;
    border-spacing: 0;
    border: 1px solid var(--front_color10);
    border-radius: 12px;
    overflow: hidden;
}
.evaluation-inner{
    margin-bottom: 30px;
}
.evaluation-inner p{
    font-size: 18px;
    font-weight: bold;
}
.evaluation-inner .nece-textarea p{
    font-size: 16px;
    font-weight: 500;
}

.evaluation-inner .table-wrapper th,
.evaluation-inner .table-wrapper td{
    white-space: normal;
    font-size: 16px;
    padding: 20px;
    vertical-align: middle;
}

.evaluation-inner .table-wrapper.responsive th:first-child,
.evaluation-inner .table-wrapper.responsive td:first-child{
    width: 200px;
}

#admission2 .evaluation-inner .table-wrapper.responsive th:first-child,
#admission2 .evaluation-inner .table-wrapper.responsive td:first-child{
    width: 15%;
}

#admission2 .evaluation-inner .table-wrapper.responsive td:nth-child(2){
    width: 50%;
}



@media (max-width:768px){
    .evaluation-inner .table-wrapper.responsive th{
        text-align: center;
    }
    .evaluation-inner .table-wrapper.responsive th:first-child,
    .evaluation-inner .table-wrapper.responsive td:first-child,
    #admission2 .evaluation-inner .table-wrapper.responsive th:first-child,
    #admission2 .evaluation-inner .table-wrapper.responsive td:first-child,
    #admission2 .evaluation-inner .table-wrapper.responsive td:nth-child(2){
        width: 100%;
    }
}


/* 表組ここまで */


/* 教育についてページここから */
#education3 #season-content .event-list .badge{
    width: 100px;
    height: 100px;
    font-size: 24px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    line-height: normal;
    padding: 30px !important;
}
#education3 #season-content .event-item{
    position: relative;
    display: flex;
    justify-content: start;
    align-items: center;
    margin-bottom: 50px;
}
#education3 #season-content .event-item span{
    background: var(--front_color5);
    height: 100px;
    width: 100%;
    display: flex;
    justify-content: start;
    align-items: center;
    position: relative;
    padding: 10px 30px 10px 120px;
    line-height: 28px;
    position: absolute;
    left: 0;
    border-radius: 50px;
}
#education3 .img-wrapper img{
    margin-bottom: 40px;
}
#education3 .event-item {
    position: relative;
}

#education3 .timeline-line {
    position: absolute;
    top: 70px;
    left: 50px;
    width: 4px;
    height: 0;
    background-color: var(--front_color10);
    transform-origin: top;
    z-index: 0;
}

/* 教育についてページここまで */

/* 沿革ここから */
.histry-wrapper{
    position: relative;
    border: 3px solid var(--front_color10);
    border-radius: 15px;
}
.histry-wrapper::after{
    content: '';
    position: absolute;
    top: 50%;
    height: 4px;
    background-color: var(--front_color10);
    transform-origin: top;
    z-index: 0;
}
.histry-wrapper.left::after{
    width: 53%;
    right: -53%;
}
.histry-wrapper.right::after{
    width: 52%;
    left: -52%;
}
.histry-wrapper .title-wrapper{
    background-color : var(--front_color10);
    border-radius: 10px 10px 0 0;
}
.histry-wrapper .title-wrapper p{
    color : var(--front_color11);
    text-align: center;
    padding: 20px;
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 0;
}

.histry-wrapper .text-wrapper{
    padding: 20px;
    background-color: var(--front_color11);
    border-radius: 0 0 10px 10px;
}
.histry-wrapper .text-wrapper h6{
    text-align: center;
}


#information4 .content-wrapper{
    height: 3600px;
}

.content-wrapper .img-wrappter{
    margin-top: 20px;
}
.content-wrapper .img-wrappter img{
    border-radius: 20px;
}

#information4 .timeline-line {
    position: absolute;
    top: 0;
    left: 50%;
    width: 4px;
    height: 0;
    background-color: var(--front_color10);
    transform-origin: top;
    z-index: 0;
}

.content-wrapper .content-wrap:nth-child(3){
    transform: translate(0, -200px);
}
.content-wrapper .content-wrap:nth-child(3){
    transform: translate(0, -350px);
}
.content-wrapper .content-wrap:nth-child(4){
    transform: translate(0, -400px);
}
.content-wrapper .content-wrap:nth-child(5){
    transform: translate(0, -400px);
}
.content-wrapper .content-wrap:nth-child(6){
    transform: translate(0, -450px);
}
.content-wrapper .content-wrap:nth-child(7){
    transform: translate(0, -600px);
}
.content-wrapper .content-wrap:nth-child(8){
    transform: translate(0, -700px);
}
.content-wrapper .content-wrap:nth-child(9){
    transform: translate(0, -900px);
}
.content-wrapper .content-wrap:nth-child(10){
    transform: translate(0, -1000px);
}
.content-wrapper .content-wrap:nth-child(11){
    transform: translate(0, -1200px);
}
.content-wrapper .content-wrap:nth-child(12){
    transform: translate(0, -1100px);
}
.content-wrapper .content-wrap:nth-child(13){
    transform: translate(0, -1500px);
}
.content-wrapper .content-wrap:nth-child(14){
    transform: translate(0, -1600px);
}
.content-wrapper .content-wrap:nth-child(15){
    transform: translate(0, -1550px);
}

.history-now{
    padding: 10px 40px;
    color: var(--front_color11);
    border-radius: 50px ;
    background-color: var(--front_color10);
    font-weight: bold;
    font-size: 18px;
    margin-bottom: 0;
    position: relative;
    z-index: 1;
    text-align: center;
}

@media (max-width:991px) {
    #information4 .content-wrapper{
        height: 3300px;
    }
}
@media (max-width:768px) {
    #information4 .content-wrapper{
        height: fit-content;
    }
    .content-wrapper .content-wrap{
        transform: translate(0, 0) !important;
    }
    .histry-wrapper::after{
        content: none;
    }
}

/* 沿革ここまで */

/* 入園案内ここから */
.sticky_banner{
    position: fixed;
    padding: 0;
    top: 60vh;
    right: 0;
    width: 90px;
    height: 300px;
    overflow: hidden;
    z-index: 998;
    margin-top: -300px;
    pointer-events: none;
}
.sticky_banner > div {
    width: 65px;
    height: 190px;
    background: var(--front_color10);
    margin: 50px 0 0 auto;
    border-radius: 12px 0 0 12px;
    box-shadow: 0px 3px 6px #00000029;
    cursor: pointer;
    transition: .3s;
    transform: translateX(20px);
    opacity: 0;
    pointer-events: auto;
    padding: 0;
    z-index: 998;
}
.sticky_banner > div p {
    writing-mode: vertical-rl;
    text-orientation: upright;
    white-space: nowrap;
    line-height: 3em;
    font-size: 18px;
    margin: 0;
    text-align: end;
}
.sticky_banner > div p a{
    padding: 22px;
    color: var(--front_color11);
    font-weight: bold;
    letter-spacing: 0.4em;
}
.sticky_banner.show > div {
    transform: translateX(0);
    opacity: 1;
}
.sticky_banner.show:hover > div {
    transform: translateX(-10px);
}
.sticky_banner.show::before {
    content: "";
    display: inline-block;
    z-index: 997;
    position: absolute;
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 1;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.3s ease;
    width: 80px;
    height: 80px;
    top: -30px;
    right: 0;
    background-image: url(/images/front/common/ill-girl.png);
}
.sticky_banner.show:hover::before{
    transform: translate(0, 28px) rotate(-2deg);
}

@media (max-width:768px) {
    .sticky_banner > div{
        width: 55px;
        height: 160px;
    }
    .sticky_banner > div p{
        font-size: 14px;
    }
    .sticky_banner.show::before{
        right: -8px;
    }
}

/* 入園案内ここまで */