@charset "utf-8";

/* 全体 */

html {
    font-size: 75%;
    /* 12px */
}

/* h1,
h2 {
    font-size: 75%;
} */

body {
    line-height: 1.8;
    font-size: 1.5rem;
    font-family: 'Noto Serif JP', serif;
    color: #000;
}

img {
    max-width: 100%;
    margin: 0 auto;
}

/*=============
slick
=============*/

.slick-list {
    box-sizing: border-box;
    /* height: 100vh; */
    line-height: 0;
    margin: 0;
    object-fit: contain;
    /* position: relative; */
    align-items: baseline;
}

h1 {
    font-size: 1.7rem;
    color: #ffffff;
    font-weight: bold;
    text-shadow: 1px 1px 2px #858585;
    text-align: center;
    /* padding: 0.5em 0 0.25em; */
    position: absolute;
    top: 50%;
    right: 0%;
    /* height: 100vh; */
    transform: translate(-50%, -50%);
    color: #FFF;
    /* writing-mode: vertical-rl; */
    text-orientation: upright;
    margin: 0 auto;
    font-family: "游明朝体", "Yu Mincho", YuMincho, "ヒラギノ明朝 Pro", "Hiragino Mincho Pro", "MS P明朝", "MS PMincho", serif;
    letter-spacing: 0.3em;
    /* font-style: italic; */
    line-height: 1.5;
    filter: grayscale(70%);
}

h1:first-letter {
    font-size: 4rem;
    color: #90ee90;
    font-weight: bold;
}

h1::before {
    /* padding-left: 2.5rem; */
    padding-bottom: 2rem;
    display: block;
    font-weight: 700;
    font-size: 2rem;
    line-height: 1;
    letter-spacing: .05em;
    content: attr(data-label);
}


.h2 {
    color: #858585;
    font-weight: 400;
    font-size: 1.2rem;
    letter-spacing: .04em;
    text-align: center;
    margin-top: 2rem;
}

.h2::before {
    display: block;
    font-weight: 700;
    font-size: 2.5rem;
    line-height: 1;
    letter-spacing: .05em;
    content: attr(data-label);
}

h3 {
    position: relative;
    margin-top: 3rem;
    color: #858585;
    text-align: center;
}

h3::before {
    position: absolute;
    bottom: 0;
    left: 10%;
    z-index: -1;
    color: #90ee90;
    opacity: 0.5;
    font-size: 4rem;
    line-height: 1;
    content: attr(data-number);
    pointer-events: none;
}

/* 吹き出し */
h4 {
    position: relative;
    display: inline-block;
    margin: 1.7rem;
    padding: 2rem 1.5rem;
    border: 0.5px solid #646464;
    border-radius: 45%;
    background-color: #ffffff;
    text-align: left;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #000000;
}

h4::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    border-style: solid;
    border-width: 20px 0 0 20px;
    border-color: #646464 transparent transparent;
    translate: -50% 100%;
}

h4::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    border-style: solid;
    border-width: 17.6px 0 0 17.6px;
    border-color: #ffffff transparent transparent;
    translate: calc(-50% + 0.2px) 100%;
}

/*parentsBlk下　nav */

.apllyBtn:hover {
    transform: scale(1.1);
    transition: 0.3s;
    background-color: #8ae9b3;
}

.apllyBtn {
    width: 80%;
    font-size: 1.2rem;
    /* display: inline-block; */
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Noto Serif JP', serif;
    font-weight: 400;
    margin: 0 auto 2rem;
    letter-spacing: 0.1em;
    padding: 1.2rem;
    border: 0.1rem solid;
    text-decoration: none;
    transition: 0.3s;
    color: black;
}


nav ul {
    display: flex;
    justify-content: space-evenly;
}

a,
a:hover,
a:active {
    /* filter: brightness(0.4) grayscale(50%); */
    transition: 0.6s;
    text-decoration: none;
    text-align: center;
}

/* main {
    box-sizing: border-box;
    padding: 0.75em;
    background-color: #FFF;
} */

.biteki_rogo {
    width: 30%;
    margin: 0 auto;
    text-align: center;
    position: absolute;
    top: 0%;
    left: 0%;
}


/* メインイメージ+キャッチ */
.hero {
    height: 100vh;
    position: relative;
    background-position: center center;
    background-repeat: no-repeat;
    background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0) 10%, rgba(255, 255, 255, 0.5) 90%, rgba(255, 255, 255, 1) 100%), url(../images/image10.jpg);
    background-size: cover;
    background-attachment: fixed;
}

#title {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #FFF;
    /* writing-mode: vertical-rl; */
    /* text-orientation: upright; */
    margin: 0 auto;
    font-family: "游明朝体", "Yu Mincho", YuMincho, "ヒラギノ明朝 Pro", "Hiragino Mincho Pro", "MS P明朝", "MS PMincho", serif;
    letter-spacing: 0.3em;
    line-height: 1, 5;
    filter: grayscale(70%);
    text-align: center;
}

#title:first-letter {
    font-size: 4rem;
    color: #90ee90;
    font-weight: bold;
}

/* .consept {
    writing-mode: vertical-rl;
} */

/* 02_お知らせ・News */
.news_list {
    margin: 20px 0;
    border-top: 1px dashed #24b224;
    text-align: left;

}

.news_list li {
    padding: 15px 5px;
    border-bottom: 1px dashed #2eb087;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

.date {
    font-size: 1rem;
    margin-right: 1rem;
}

.category {
    display: inline-block;
    color: #fff;
    width: 25%;
    font-size: 1rem;
    text-align: center;
    margin-right: 1rem;
    padding: 0.3rem 0.5rem;
    background-color: #8ae9b3;
}

.news_text a {
    color: #333;
    font-size: 1.2rem;
}

/* 02_お知らせ・Newsここまで */

/* メニュー */
.sec03 {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
}

.menu {
    border: thin #838383 solid;
    box-shadow: inset 0 0 15px 15px #90ee90;
    margin: 1rem;
}

/*▼04_ブログ▼*/

.sec04 {
    --scroll-gap: 30px;
    overflow: hidden;

}

@keyframes infiniteScroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-50% - var(--scroll-gap) / 2));
    }
}

.scroll_wrap {
    /* margin-block-start: 20vh; */
    width: 100%;
    /* overflow: hidden; */
}

.scroll_track {
    width: max-content;
    animation: infiniteScroll 40s linear infinite;

    &:hover {
        animation-play-state: paused;
    }
}

.scroll_inner {
    display: flex;
    flex-wrap: nowrap;
    gap: 0 var(--scroll-gap);
}

.scroll_cont {
    display: flex;
    flex-direction: column;
    place-content: center;
    flex-shrink: 0;
    min-width: 22vw;
    aspect-ratio: 1 / 1;
    color: rgb(6, 6, 6);
    font-size: 1.375rem;
    padding: 2rem;
    margin: 2rem 0;
    background-color: #8ae9b3;
    border: thin #838383 solid;
    box-shadow: inset 0 0 15px 15px #90ee90;
    margin: 1rem;
    background-color: #FFF;

}

/*▲04_ブログ▲*/


/* フッター */

footer {
    padding: 1rem;
    color: (#fff);
    text-align: center;
    padding: 20px 0;
    position: relative;
    background-position: center center;
    background-repeat: no-repeat;
    background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0) 10%, rgba(255, 255, 255, 0.5) 90%, rgba(255, 255, 255, 1) 100%), url(../images/image10.jpg);
    background-size: cover;
    background-attachment: fixed;
}

.footerlogo img {
    width: 20%;
    text-align: center;
    margin: 3rem;
}

.copyright {
    color: #fff;
    font-size: small;
}



/* スマホの時は縦並び */

.header-pc {
    display: contents;
}

.child1 {
    margin-top: 0;
    /* height: 100vh; */
    width: 100%;
    background-position: center center;
    background-size: cover;
    position: relative;
    overflow: hidden;
}


.biteki_rogo {
    /* display: block; */
    width: 30%;
    margin: 0 auto;
    text-align: center;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 50%;
    left: 50%;
}

*,
*:before,
*:after {
    box-sizing: border-box;
}


.child2 {
    display: none;
}

.parents {
    display: block;
    width: 100%;
}


/* タブレット以上で */
@media screen and (min-width: 768px) {
    html {
        font-size: 87.5%;
    }

    h2 {
        font-size: 87.5%;
    }

    .header-tablet {
        display: flex;
        width: 100%;
    }


    .sp-nav {
        display: none;
    }

    .child1 {
        height: 100vh;
        width: calc(100% - 80px);
        background-position: center center;
        background-size: cover;
        background-attachment: fixed;
    }

    /* ナビを固定 */
    .child2 {
        display: block;
        justify-content: space-between;
        height: 100vh;
        width: 80px;
        position: fixed;
        right: 0;
    }

    /*右child2　nav */
    .child2nav,
    .child2nav a {
        display: flex;
        display: inline-block;
        flex-direction: column;
        writing-mode: vertical-rl;
        align-items: center;
        justify-content: center;
        text-decoration: none;
        transition: 0.3s;
        font-family: 'Noto Serif JP', serif;
        font-size: 1rem;
        color: #555454;
        border-bottom: .5px solid;
        padding: 1rem 0;
        margin: 0 0 0 0.3rem;
    }

    .child2nav:last-child {
        border-bottom: none;
    }

    .navmenu:hover {
        transform: scale(1.1);
        transition: 0.3s;
        background-color: #8ae9b390;
        
    }

    .parents {
        display: block;
        width: calc(100% - 80px);
    }

    h1 {
        position: absolute;
        top: 50%;
        left: 50%;
    }

    .formnavi {
        width: 70%;
        margin: 0 auto;
        /* padding: 1rem 0; */

    }

    .footerlogo img {
        width: 15%;
        text-align: center;
        margin: 3rem;
    }
    .menu-box {
        display: none;
    }
    /* #container {
        display: none;
    }
    #splash {
        display: none;
    } */
}

/* PC以上で */
@media screen and (min-width: 1024px) {
    html {
        font-size: 100%;
    }

    h1,
    h2 {
        font-size: 100%;
    }

    .header-tablet {
        display: contents;
    }

    .footerlogo img {
        width: 10%;
        text-align: center;
        margin: 3rem;
    }

    .sp-nav {
        display: none;
    }

    .header-pc {
        display: flex;
        width: 100%;
    }

    .child1 {
        order: 1;
        width: calc(50% - 40px);
        height: 100vh;
        position: sticky;
        position: -webkit-sticky;
        top: 0;
        background-position: center center;
        background-size: cover;
        background-attachment: fixed;
    }

    .parents {
        order: 2;
        display: block;
        width: calc(50% - 40px);
    }

    .child2 {
        /* 配置の順位を一番右に */
        order: 3;
        width: 80px;
        height: 100vh;

    }

    .child2nav a {
        font-size: 1rem;
    }
    .child2nav {
        position: sticky;
    }

    .formnavi {
        width: 70%;
        margin: 0 auto;
        padding-bottom: 2rem;
    }

    .scroll_down a {
        display: none;
    }

    .scroll_down {
        display: none;
    }
}


/* parentsのBlk */
.parentsBlk {
    /* margin-top: 2rem; */
    padding: 2rem;
    align-items: center;
}

/* TOPに戻る */
#top {
    color: #020202;
    filter: grayscale(70%);
    position: fixed;
    bottom: 3rem;
    right: 18%;
    text-decoration: none;
    display: block;
    width: 100px;
    padding: 3rem;
    text-align: right;
    transform: rotate(90deg);
    transform-origin: bottom right;
    z-index: 100;
}

/* 矢印の縦棒 */
.arrow1 {
    width: 48px;
    height: 1px;
    background: #020202;
    position: absolute;
    top: 50%;
    right: 62px;
}

/* 矢印のナナメ棒 */
.arrow2 {
    width: 1px;
    height: 1rem;
    background: #030303;
    position: absolute;
    top: calc(50% + 1px);
    right: 109px;
    transform: rotate(-130deg);
    transform-origin: top left;
}

#top a {
    display: inline-block;
    position: rerative;
    margin: -10px;
    padding: 10px;
}

/* スクロールダウン */
@import url('https://fonts.googleapis.com/css2?family=Josefin+Sans:wght@300;400&display=swap');

.scroll_down a {
    opacity: 1;
    -webkit-transition: all .5s ease-in 3s;
    transition: all .5s ease-in 3s;
}

.scroll_down a {
    color: #fff;
    position: absolute;
    bottom: 60px;
    left: 50%;
    display: block;
    background-size: 14px auto;
    z-index: 2;
    text-decoration: none;
    transform: translate(-50%, -50%);
}

.scroll_down a:before {
    position: absolute;
    top: calc(50% + 24px);
    left: calc(50% - 8px);
    transform: rotate(-45deg);
    display: block;
    width: 12px;
    height: 12px;
    content: "";
    border: 1px solid #FFF;
    border-width: 0px 0 2px 2px;
    animation: bounce 2s linear infinite;
}

.scroll_down a:after {
    position: absolute;
    width: 32px;
    height: 32px;
    border: 1px solid #FFF;
    content: "";
    border-radius: 50%;
    top: calc(50% + 16px);
    left: calc(50% - 19px);
}

@keyframes bounce {

    0%,
    100%,
    20%,
    50%,
    70%,
    80% {
        -webkit-transform: translateY(0)rotate(-45deg);
        -ms-transform: translateY(0)rotate(-45deg);
        transform: translateY(0)rotate(-45deg);
    }

    40% {
        -webkit-transform: translateY(-8px)rotate(-45deg);
        -ms-transform: translateY(-8px)rotate(-45deg);
        transform: translateY(-8px)rotate(-45deg);
    }

    60% {
        -webkit-transform: translateY(-4px)rotate(-45deg);
        -ms-transform: translateY(-4px)rotate(-45deg);
        transform: translateY(-4px)rotate(-45deg);
    }
}



/* アニメーションCSS */
.animate {
    opacity: 0;
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate.from-bottom {
    transform: translateY(100px);
    display: block;
}

.animate.scale-up {
    display: block;
    height: auto;
    transform: scale(0.8);
}

.animate.fade-in {
    display: block;
    height: auto;
    opacity: 0;
    transform: none;
    transition: opacity 2s ease-out;
    /* 2秒でフェードイン */
}

.animate.visible {
    opacity: 1;
    transform: none;
    /* 透明度のみを変化させる */
}

.animate:nth-child(1) {
    transition-delay: 0s;
}

.animate:nth-child(2) {
    transition-delay: 0.5s;
}

.animate:nth-child(3) {
    transition-delay: 1s;
}
/*========= LoadingのためのCSS ===============*/

/* Loading背景画面設定　*/
#splash {
    /*fixedで全面に固定*/
	position: fixed;
	width: 100%;
	height: 100%;
	z-index: 999;
	background:#2eb087;
	text-align:center;
	color:#fff;
}

/* Loading画像中央配置　*/
#splash_logo {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
    color:#fff;
}

/* Loading アイコンの大きさ設定　*/
#splash_logo svg{
    width: 100%;
}


/*=============== SVGアニメーション内の指定 =================*/

/*アニメーション前の指定*/

#mask path {
		fill-opacity: 0;/*最初は透過0で見えない状態*/
		transition: fill-opacity .5s;/*カラーがつく際のアニメーション0.5秒で変化*/
		fill: none;/*塗りがない状態*/
		stroke: #FFF;/*線の色*/
	}

/*アニメーション後に.doneというクラス名がで付与された時の指定*/
#mask.done path{
	  fill: #FFF;/*塗りの色*/
	  fill-opacity: 1;/*透過1で見える状態*/
	  stroke: none;/*線の色なし*/
	}


/*========= レイアウトのためのCSS ===============*/

/* #mask{
    width:100%;
    height: 100vh;
    background: #ccc;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
} */

/* a{
    color: #333;
}

a:hover{
     text-decoration: none;   
}

.icon svg {
    height: 100%;
    /* animation-name: dash-animation;
    animation-direction: 2s;
    animation-iteration-count: infinite; */
    /* stroke: lightcoral;
    fill: transparent; 
} */