@charset "utf-8";
/* CSS Document */

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
body {
 font-family: "Noto Sans JP", sans-serif;
}
p {
	margin: 1em;
	line-height: 1.8;
}
.red {
	color: #CC0033;
}
.yellow {
    color: #FFCC33;
}
a:link {
    color: #339900;
}
img {
	max-width: 100%;
}
/* ヘッダー */
header {
    background: #F90;
    color: #fff;
    padding: 10px 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    width: 100%;
}
header .in {
    display: flex;
    align-items: center;
    width: 100%;
}
.logo {
    max-width: 45px;
    margin-right: auto;
}

/* キャッチコピーと住所（スマホでは非表示） */
.catch,
.address {
    display: none;
}

/* ハンバーガーメニュー（スマホ用） */
.hamburger {
    display: flex;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 1000;
}

.hamburger div {
    width: 25px;
    height: 3px;
    background: #fff;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* ハンバーガーの開閉アニメーション */
.hamburger.active div:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.active div:nth-child(2) {
    opacity: 0;
}
.hamburger.active div:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* --- スマホ用ナビゲーション --- */
.main-navigation {
    display: none; /* デフォルト非表示 */
    flex-direction: column;
    position: fixed;
    top: 0;
    right: -100%;
    width: 50%;
    height: 100vh;
    background: #333;
    color: #fff;
    padding: 50px 20px 20px;
    overflow-y: auto; /* スクロール対応（スマホのみ適用） */
    transition: right 0.3s ease;
/*	align-items: center;*/
	list-style: none;
	z-index: 999;
	white-space: nowrap;
}
.main-navigation.active {
    display: flex;
    right: 0;
	gap: 2rem;
}

.main-navigation li a {
    padding: 10px;
}

.main-navigation a {
    text-decoration: none;
    color: #fff;
    font-size: clamp(0.875rem, 0.653rem + 0.46vw, .9rem);
}

/* サブメニュー（スマホ用、デフォルトは非表示） */
.main-navigation ul {
    display: none;
    padding-left: 20px;
    list-style: none;
}

/* フッター */
footer {
	background-color: #F90;
	padding-top: 40px;
    padding-bottom: 15px;
}
.under {
    width: fit-content;
    margin: auto;
	font-size: .75rem;
}
ul.footer-nav  {
	display: flex;
	list-style: none;
	justify-content: center;
}
ul.footer-nav ul  {
	display: flex;
	list-style: none;
}
ul.footer-nav li {
    display: flex;
}

ul.footer-nav li a {
	color: #000;
	font-weight: bold;
	margin: 5px;
}
ul.footer-nav li a:after {
    content: "|";
    padding-left: 10px;
}
ul.footer-nav li ul li a {
	font-weight: normal;
}
ul.footer-nav li a::after {
    content: "|";
    padding-left: 10px;
}

ul.footer-nav ul li:last-child a::after,
ul#footer-main-nav li:last-child a::after{
    content: "";
}
.copy {
	font-size: .7rem;
	text-align: center;
	margin-top: 20px;
}

/* トップへ戻るボタン */
.pagetop {
  position: fixed;
  right: 20px;
  bottom: 20px;
  background: #333;
  color: #fff;
  padding: 10px 15px;
  border-radius: 6px;
  font-size: 14px;
  text-decoration: none;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 999;
}
a.pagetop {
	color: white;
}
/* 表示状態 */
.pagetop.show {
  opacity: 1;
  visibility: visible;
}

/* ホバー（任意） */
.pagetop:hover {
  background: #555;
}

/*コンテンツ*/
#content {
	width: 96%;
    max-width: 1200px;
    margin: 15px auto 2rem;
}

h2.h-linear {
	display: flex;
	justify-content: center;
	align-items: center;
/*	margin: 50px calc(50% - 50vw) 50px;*/
	font-size: 1.5rem;
	font-weight: bold;
	margin: 50px 0;
}

h2.h-linear::before,
h2.h-linear::after {
  content: "";
  width: 100%;
  height: 8px;
  background-image: repeating-linear-gradient(-45deg, #777 0, #777 1px, rgba(0, 0, 0, 0) 0, rgba(0, 0, 0, 0) 50%);
  background-size: 8px 8px;
}

h2.h-linear::before {
  margin-right: 30px;
}

h2.h-linear::after {
  margin-left: 30px;
}
h2.en-line {
	position: relative;
	padding-top: 22px;
	font-size: 26px;
	border-bottom: 1px solid rgba(5,62,98,1);
}

h2.en-line span {
	position: relative;
	z-index: 2;
}

h2.en-line::before {
	content: attr(data-en);
	position: absolute;
	top: 0px;
	left: 0;
	color: rgba(5,62,98,0.2);
	font-size: 30px;
	text-transform: uppercase;
	z-index: 1;
}
h3 {
	margin-bottom: 2rem;
	margin-top: 3rem;
	text-align: center;
}
h3 span {
    display: block;
    font-size: 70%;
    font-weight: normal;
}
/*top page*/

.slide { margin: 0px;}
.slide img { width: auto; height: 180px;}
.slide .slick-next { right: 20px; z-index: 99;}
.slide .slick-prev { left: 15px; z-index: 100;}


div#news {
    background-color: #000;
    color: white;
    padding: 2rem 1rem;
    margin-bottom: 2rem;
}
div#news p.p-catch br {
	display: none;
}
.news-wrap {
    display: grid;
}
.news_right {
	text-align: center;
}
.news_right img {
    width: 70%;
    max-width: 350px;
    margin: 0 auto;
}
.tbl1 {
    border: 1px solid #fff;
    padding: 1rem;
    font-size: .9rem;
}

.youtube {
	text-align: center;
	margin-bottom: 2rem;
}
.fb {
	text-align: center;
	margin-bottom: 5rem;
	margin-top: 3rem;
}
div#info img {
    max-width: 100%;
}
/*class*/
.class-wrap {
    background-color: #f8fcf5;
    padding: 1rem .8rem;
	margin-bottom: 2rem;
}
.class-box {
    position: relative;
    margin: 2em 0;
    padding: 25px 10px 7px;
	background-color: #fff;
}
.class-box .box-title {
    position: absolute;
    display: inline-block;
    top: -1px;
    left: -1px;
    padding: 0 10px;
    height: 30px;
    line-height: 1.8;
    font-size: 1rem;
    color: #ffffff;
    font-weight: normal;
}
.class-box.adult_class {
    border: solid 1px #57b100;
}
.class-box.adult_class .box-title {
    background: #57b100;
    color: #ffffff;
}
.class-box.kids_class {
    border: solid 2px #FFC107;
}
.class-box.kids_class .box-title {
    background: #ff9900;
    color: #ffffff;
}

/*kids class*/
.kids-wrap {
    display: grid;
/*    grid-template-columns: minmax(auto, 400px) minmax(auto, 400px);
    justify-content: space-around;*/
}
.kids_class img {
    width: 100%;
    height: auto;
}

/*インストラクター*/
ul.instructor-list {
    list-style: none;
    display: grid;
    margin-top: 3rem;
    text-align: center;
    grid-template-columns: 1fr;
    gap: 30px;
}
h4 {
    margin-bottom: 1rem;
}
.prof-wrap {
    display: grid;
    grid-template-columns: 1fr;
}
.prof-photo {
	text-align: center;
}
.prof-photo img {
    max-width: 180px;
}
.prof ul {
    margin: 1rem;
    padding-left: 20px;
    font-size: .9rem;
}
.prof p {
    font-size: .9rem;
}
p.instructor-name {
	margin-top: 0;
}


/* モーダル全体 */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 999;
  overflow: hidden; /* ← 背景のスクロールを止める */
}

/* 黒透過背景 */
.modal-bg {
  background: rgba(0, 0, 0, 0.7);
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

/* 白い中央ウィンドウ */
.modal-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  max-width: 800px;
  max-height: 80vh;  /* ← モーダルの最大高さ（重要） */
  background: #fff;
  padding: 20px 25px;
  border-radius: 8px;
  z-index: 1000;
  box-sizing: border-box;
  overflow-y: auto;   /* ← 中だけスクロール */
  -webkit-overflow-scrolling: touch; /* ← スマホで滑らかスクロール */
}

/* 閉じるボタン */
.modal-close {
  position: absolute;
  right: 15px;
  top: 10px;
  cursor: pointer;
  font-size: 14px;
  color: #333;
}

/*price*/
table.tbl_price {
    width: 100%;
    margin-bottom: 2rem;
	border-collapse: separate;
    border-spacing: 0px 10px;
}
table.tbl_price th {
    width: 35%;
	padding: 1rem 2rem;
}
table.tbl_price td {
    padding: 1rem 2rem;
    line-height: 2;
}
table.tbl_price.adult_price th {
    background-color: #57b100;
    color: white;
}
table.tbl_price.adult_price td {
    border: 1px solid #57b100;
}
table.tbl_price.kids_price th {
    background-color: #ff9900;
    color: white;
}
table.tbl_price.kids_price td {
    border: 1px solid #ff9900;
}

/*access*/

div#info {
    text-align: center;
}
.text-access {
	margin-top: 2rem;
	margin-bottom: 2rem;
}

/*form*/
table.tbl_form {
    width: 98%;
	margin: 3rem auto 2rem;
    border-collapse: collapse;
    border-spacing: 0;
    border: 1px solid #dfdfdf;
}
table.tbl_form th {
    padding: 1rem 2rem;
    text-align: left;
    background-color: #F0E4D3;
    border-bottom: 1px solid #dfdfdf;
}
table.tbl_form td {
	padding: 1rem 2rem;
	text-align: left;
    background-color: #fff;
    border-bottom: 1px solid #dfdfdf;
    line-height: 2;
}
/*form*/
table.tbl_form th,
table.tbl_form td{
    width: 100%;
}
textarea {
    width: 100%;
	padding: 10px;
	font-size: 16px;
}
input[type="checkbox"],input[type="radio"] {
    width: 16px;
    height: 16px;
    margin-right: .5rem;
}
input[type="text"] {
    padding: 10px;
	width: 100%;
	font-size: 16px;
}
input[type="submit"],input[type="button"],input[type="reset"] {
    padding: 7px;
	margin: .3rem;
}

/* サイトマップ */
table.tbl-sitemap {
    width: 100%;
    margin: auto;
}
table.tbl-sitemap ul {
    margin-left: 4rem;
}
@media (max-width: 767px) {
table.tbl_form th,
table.tbl_form td{
    display: block;
}
}
/* タブレット・スマホ用 */
@media (max-width: 768px) {
.main-navigation ul {
	display: none; /* 初期状態で非表示 */
}
.main-navigation li.open > ul {
	display: block; /* `open` クラスが付いたら表示 */
}
.main-navigation > li > ul > li {
    padding: 12px 0;
}
footer {
	display: none;
}
/*price*/
table.tbl_price th {
     width: 100%; 
     display: block; 
}
table.tbl_price td {
     width: 100%; 
     display: block; 
}

/*access*/

.text-access {
	text-align: left;
}


}


@media (max-width: 480px) {
/* インストラクター */
.modal-content {
padding: 15px 20px;
max-height: 85vh;
}
/* class */
.text_box span {
    display: block;
    margin-left: 1rem;
}
table.tbl-sitemap td {
     width: 100%; 
     display: block; 
}
}
/* --- PC用スタイル --- */
@media (min-width: 768px) {
.news-wrap {
	grid-template-columns: 3fr 2fr;
}
.news_right {
	order: 2;
	align-items: end;
	display: flex;
}
.news_left {
	order: 1;
}
.youtube video {
	max-width: 500px;
}
/*インストラクター*/
ul.instructor-list {
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 30px;
}

.prof-wrap {
	display: grid;
	grid-template-columns: 1fr 2fr;
}
.instructor-list .js-modal-open,
.instructor-list .js-modal-open figure,
.instructor-list .js-modal-open img {
  cursor: pointer;
}
.instructor-list .js-modal-open img {
  transition: transform .15s ease;
}
.instructor-list .js-modal-open:hover img {
  transform: scale(1.03);
}
/*kids class*/
.kids-wrap {
    grid-template-columns: minmax(200px, 500px) minmax(200px, 500px);
    justify-content: space-between;
	gap: 30px;
}
/*form*/
table.tbl_form th {
    width: 40%;
}
table.tbl_form td {
	width: 60%;
}
/* サイトマップ */
table.tbl-sitemap {
    width: 90%;
    margin: 2rem auto 8rem;
}
}


@media (min-width: 769px) {
header .in {
	width: 90%;
	max-width: 1200px;
	margin: auto;
	display: grid;
	grid-template-columns: 120px auto 300px;
	gap: 20px;
}
.logo {
	max-width: 110px;
}
.catch {
	display: block;
	max-width: 500px;
	margin-left: 3rem;
	color: #000;
	font-size: 14px;
}
.address {
	display: inline-block;
	color: #000;
	text-align: right;
	background-color: #FFF;
	border-radius: 7px;
	padding: 5px 10px;
	border: 1px solid #333;
}
.address span {
	font-size: 1.5rem;
	color: #693;
	display: block;
}

/* ハンバーガーメニューは非表示 */
.hamburger {
	display: none;
}

/* PC用ナビゲーション */
.main-navigation {
	display: flex;
	flex-direction: row;
	justify-content: center;
	gap: 10px;
	background-color: #333;
	height: 50px;
	list-style: none;
	padding: 10px 0;
	position: static;
	overflow-y: visible; /* スクロールバーを無効化 */
	width: 100%;

}

.main-navigation.active {
	right: auto; /* スマホ用の `active` を無効化 */
}

.main-navigation li {
	position: relative;
}

/* サブメニュー */
.main-navigation ul {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	background: #555;
	list-style: none;
	padding: 10px 0;
	z-index: 1000;
	min-width: 150px;
}

/* ホバーでサブメニュー表示 */
.main-navigation li:hover > ul {
	display: block;
	z-index: 9999;
}

.main-navigation ul li {
	padding: 5px 20px;
}
.slide img { width: auto; height: 250px;}

div#news {
    padding: 2rem 3rem;
}

.news-wrap {
	margin-top: 2rem;
}

}

@media screen and (min-width: 1024px) {
.main-navigation {
	gap: 20px;
}
.slide img { width: auto; height: 300px;}
div#main-index {
	width: 80%;
	margin: auto;
}
div#news p.p-catch {
	text-align: center;
}
div#news p.p-catch br {
	display: block;
}
}
@media screen and (min-width: 1280px) {
    .main-navigation {
        gap: 20px;
    }
	.slide img { width: auto; height: 450px;}
}



