@charset "UTF-8";

* {
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    color: #222;
}

/*ヘッダー*/

.header-flex {
    position: fixed;
    top: 0;
    display: flex;
    width: 100%;
    background-color: rgb(67, 67, 67);
    z-index: 999;
}

h1 {
    width: 25%;
    background-color: rgb(203, 0, 0);
}

h1 a {
    display: block;
    font-size: 1.6vw;
    padding: 2%;
    line-height: 2;
    text-decoration: none;
    text-align: center;
    color: #fff;
}

nav {
    width: 40%;
    margin-left: auto;
}

nav ul {
    display: flex;
    list-style-type: none;
}

nav ul li {
    width: calc( 100% / 5 );
}

.select1 {
    border-left: 1px solid #000;
    border-bottom: 4px solid  rgb(203, 0, 0);
}

.select2 {
    border-left: 1px solid #000;
    border-bottom: 4px solid   rgb(221, 221, 221);
}

nav ul li a {
    display: block;
    font-size: 1.2vw;
    font-weight: 520;
    line-height: 3.1;
    padding: 1.5%;
    text-align: center;
    color: #fff;
    text-decoration: none;
    transition: 0.3s;
}

nav ul li a:hover {
    background-color:  rgb(203, 0, 0);
    transition: 0.3s;
}

/*メイン*/

h2 {
    font-size: 2vw;
    line-height: 2;
    text-align: center;
 
}

/*メインビジュアル*/

.main-visual {
	position: relative;
	width: 100%;
	height: 45vw;
    margin-top: 4%;
}

.main-image {
	position: absolute;
	top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    opacity: 0;
	animation: bgAnime 12s infinite;
}

.main-image:nth-of-type(1) {
	background-image: url(../images/keyvisual12.png);
	background-size: cover;
	animation-delay: 0s;
}
.main-image:nth-of-type(2) {
	background-image: url(../images/keyvisual23.png);
	background-size: cover;
	animation-delay: 4s;
}
.main-image:nth-of-type(3) {
	background-image: url(../images/keyvisual34.png);
	background-size: cover;
	animation-delay: 8s;
}

@keyframes bgAnime {
	0% { opacity: 0; }
   30% { opacity: 1; }
   40% { opacity: 1; }
   55% { opacity: 0; }
  100% { opacity: 0; }
 }

.main-visual-text1 {
    position: relative;
    top: -14vw;
    width: 28%;
    padding-left: 2%;
    font-size: 2vw;
    font-weight: 800;
    background-color: #ddd;
}

.main-visual-text2 {
    position: relative;
    top: -12vw;
    width: 45%;
    padding-left: 2%;
    font-size: 2vw;
    font-weight: 800;
    background-color: #ddd;
}

/*ピックアップバナー*/

 .pickup-banner {
    display: flex;
    width: 90%;
    margin: -2% auto 5%;
    justify-content: space-between;
 }

 .pickup-banner img {
    width: 32%;
    transition: 0.3s;
 }

 .pickup-banner img:hover {
    opacity: 0.6; filter: brightness(110%);
    transition: 0.3s;
 }


/*お知らせ*/

main section:nth-child(3) {
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 5%;
}

.news p {
    font-size: 1vw;
    text-indent: 1em;
    padding: 1%;
    border-bottom: 1px solid #aaa;
}

/*プログラムとスクールのご案内*/

main section:nth-child(4) {
    padding: 4%;
    margin-bottom: 5%;
    background-color: rgb(242, 242, 242);
}

.title-flex1 {
    display: flex;
    justify-content: center;
}

.title-flex1 img:nth-child(1) {
    width: 4%;
}

.title-flex1 h2:nth-child(2) {
    margin-left: 2%;
    margin-right: 2%;
}

.title-flex1 img:nth-child(3) {
    width: 3%;
}

.banner-flex {
    margin-top: 3%;
    display: flex;
    justify-content: space-between;
}

.banner-box {
    width: 23%;
    background-color: #fff;
    box-shadow: 0px 0px 1px 2px #bbb;
    transition: 0.5s;
}

.banner-box:hover {
    transform: scale(1.1,1.1);
    transition: 0.5s;
}

.banner-box img {
    width: 100%;
}

.banner-box-text {
    padding: 0 3% 0 3%;
}

.banner-box-text p {
    font-size: 0.9vw;
}

.banner-box-text p:nth-child(1) {
    display: inline-block;
    padding: 0 0.5em 0;
    font-size: 0.8vw;
    color: #fff;
    background-color:  rgb(203, 0, 0);
}

.banner-box-text p:nth-child(2) {
    font-size: 1.4vw;
    font-weight: 1000;
    margin-top: 3%;
    margin-bottom: 3%;
}

/*施設のご案内*/

main section:nth-child(5) {
    width: 92%;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 5%;
}

.title-flex2 {
    display: flex;
    justify-content: center;
}

.title-flex2 img:nth-child(1) {
    width: 4%;
}

.title-flex2 h2:nth-child(2) {
    margin-left: 2%;
    margin-right: 2%;
}

.title-flex2 img:nth-child(3) {
    width: 4%;
    transform: scale(-1, 1);
}

.facility-flex {
    display: flex;
    margin-top: 3%;
    justify-content: space-between;
}

.facility-box {
    position: relative;
    width: 48%;
    height: 10vw;
    padding: 3% 0 3%;
    border-top: 2px solid #aaa;
}

.facility-box::before {
    position: absolute;
    content: '';
    top: -2px;
    width: 16%;
    border-top: 2px solid rgb(203, 0, 0);
}

.facility-box p {
    font-size: 1.2vw;
}

.facility-box p:nth-child(1) {
    font-size: 1.4vw;
    font-weight: 1000;
    margin-bottom: 3%;
}

/*AED*/

.aed {
    display: flex;
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 5%;
}

.aed img {
    width: 10%;
}

.aed p {
    width: 88%;
    margin-left: auto;
    font-size: 1vw;
}

/*フッター*/

footer {
    padding: 0 5% 0;
    font-size: 1.2vw;
    text-align: right;
    background-color:  rgb(221, 221, 221);
}

/*子ページ*/

.child-top {
    margin-top: 8%;
    margin-left: 7%;
    font-size: 2vw;
    text-align: left;
}

.child-text {
    width: 86%;
    margin-left: auto;
    margin-right: auto;
    font-size: 1.2vw;
}

/*会費・利用料ページ*/

.price-back {
    width: 100%;
    padding-bottom: 3%;
    background-color: rgb(242, 242, 242);
}

.price-back2 {
    width: 95%;
    height: 50vw;
    margin-left: auto;
    margin-right: auto;
    background-color: #fff;
}

.price-img {
    position: relative;
    width: 100%;
    height: 12vw;
    margin-top: 2%;
    margin-bottom: 2%;
    background-image: url(../images/bg-plan-personal.jpg);
    background-size: 100% 100%;
}

.price-img p {
    position: relative;
    top: 25%;
    text-align: center;
    font-size: 1.8vw;
    font-weight: 600;
    color: #fff;
}

.price-text2 {
    width: 100%;
    margin: 5% auto 5%;
    text-align: center;
    line-height: 2.5;
    font-size: 1.6vw;
    font-weight: 700;
    color: #fff;
    background-color: rgb(147, 127, 106);
}

.price-flex {
    display: flex;
    width: 85%;
    margin-left: auto;
    margin-right: auto;
}

.price-box {
    width: calc(100% / 3);
    padding: 2%;
    margin-bottom: 5%;
    text-align: center;
    border: 2px solid #aaa;
}

.price-box:nth-child(2) {
    margin-left: 5%;
    margin-right: 5%;
}

.price-box p:nth-child(1) {
    font-size: 1.6vw;
}

.price-box p:nth-child(2) {
    font-size: 1.2vw;
}

.price-box p:nth-child(3) {
    font-size: 1.8vw;
    font-weight: 700;
    line-height: 3;
    color: rgb(203, 0, 0);
}

.price-box2 {
    width: 21%;
    padding: 2%;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 5%;
    text-align: center;
    border: 2px solid #aaa;
}

.price-box2 p:nth-child(1) {
    font-size: 1.6vw;
}

.price-box2 p:nth-child(2) {
    font-size: 1.8vw;
    font-weight: 700;
    line-height: 3;
    color: rgb(203, 0, 0);
}

.price-box3 {
    width: calc(100% / 3);
    padding: 2%;
    margin-bottom: 5%;
    text-align: center;
    border: 2px solid #aaa;
}

.price-box3:nth-child(2) {
    margin-left: 5%;
    margin-right: 5%;
}

.price-box3 p:nth-child(1) {
    font-size: 1.6vw;
}

.price-box3 p:nth-child(2) {
    font-size: 1.2vw;
}

.price-box3 p:nth-child(3) {
    font-size: 1.8vw;
    font-weight: 700;
    line-height: 3;
    color: blue;
}

.price-box4 {
    width: 21%;
    padding: 2%;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 5%;
    text-align: center;
    border: 2px solid #aaa;
}

.price-box4 p:nth-child(1) {
    font-size: 1.6vw;
}

.price-box4 p:nth-child(2) {
    font-size: 1.8vw;
    font-weight: 700;
    line-height: 3;
    color: blue;
}

.botton {
    display: block;
    width: 35%;
    margin-left: auto;
    margin-right: auto;
    padding: 1%;
    font-size: 1.6vw;
    text-decoration: none;
    text-align: center;
    color: #fff;
    background-color:  rgb(203, 0, 0);
}

.botton:hover {
    background-color:  rgb(255, 100, 100);
}

/*アクセスページ*/

.map {
    width: 86%;
    margin-left: auto;
    margin-right: auto;
} 

.access-adress {
    display: flex;
    margin-left: 9.5%;
    margin-bottom: 4%;
}

.access-title p {
    font-size: 1.2vw;
    font-weight: 600;
}

.access-text {
    margin-left: 3%;
    line-height: 1.5;
}

.access-text p {
    font-size: 1vw;
}

.access-title2 {
    margin-left: 8%;
    font-size: 1.6vw;
    font-weight: 600;
}

.access-box {
    display: flex;
    position: relative;
    width: 84%;
    margin-left: auto;
    margin-right: auto;
    padding: 3% 0 3%;
    border-top: 2px solid #aaa;
}

.access-box:before {
    position: absolute;
    content: '';
    top: -2px;
    width: 16%;
    border-top: 2px solid rgb(203, 0, 0);
}

.access-box1 {
    margin-left: 2%;
    font-size: 1.4vw;
    font-weight: 600;
}

.access-box2 {
    font-size: 1.2vw;
    line-height: 2;
    margin-left: 10%;
}

/*施設案内ページ、プログラムページ*/

.program-size {
    width: 86%;
    margin-left: auto;
    margin-right: auto;
}

.banner-flex1 {
    margin-top: 3%;
    display: grid;
    gap: 15px;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.banner-box1 {
    width: auto-fit;
    background-color: #fff;
    box-shadow: 0px 0px 1px 2px #bbb;
    transition: 0.5s;
}

.banner-box1:hover {
    transform: scale(1.05,1.05);
    transition: 0.5s;
}

.banner-box1 img {
    width: 100%;
}