@charset "utf-8";

/* 共通------------------------------------
------------------------------------------- */
*,::before,::after {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	font-weight: normal;
}
:root {
  --colorMain1: #3cd6d6;
  --colorMain2: #f293a2;
  --colorSub: #4d4d4d;
  --colorBack1: #d7f2f0;
  --colorBack2: #f2f2f2;
  --colorBack3: #f9e6ea;
  --colorShadow: #999;
	--colorAside: #1a1a1a;
  --colorLine: #e6e6e6;
  --colorText: #333333;
}
html {
	font-size: 10px;
	scroll-behavior: smooth;
}
body {
  font-family: 'Zen Kaku Gothic New', serif;
  font-size: 1.6em;
  line-height: 1;
}
img {
	max-width: 100%;
	vertical-align: bottom;
}
a {
	color: inherit;
	text-decoration: none;
}
ul {
  list-style: none;
}
.container {
  max-width: 1300px;
  width: 100%;
}
h1 {
  font-size: 30px;
}
h2 {
  font-size: 28px;
  font-weight: 500;
}
::before, ::after{
  content: "";
  background-repeat: no-repeat;
  background-size: contain;
  width: 100%;
  /* 位置 */
  display: block;
  position: absolute;
}


@media (max-width: 428px) {
  h2 {
    font-size: 20px;
  }
}

/* 共通項目------------------------------------
------------------------------------------- */
/* レイアウト */
main>section {
	padding: 0px;
	margin: 0px;
  overflow: hidden;
}
.container {
  margin: 0 auto;
  max-width: 1280px;
}
.flex {
  display: flex;
  align-items: center;
  justify-content: center;
}
.sectTtl {
  text-align: center;
  padding: 5em 0 1.2rem;
  margin: 0 0 3rem;
  background-image: linear-gradient(90deg, var(--colorMain1) 0 20%, var(--colorSub) 20%);
  background-repeat: no-repeat;
  background-size: 17rem 3px;
  background-position: bottom;
}


/* aside------------------------------------
------------------------------------------- */
body main {
	display: flex;
}
main>section {
	max-width: calc(100vw - 240px);
	width: 100%;
}
#Nav,
#Nav+label {  /* #Navの次の要素であるlabel */
  display: none;
}
aside>div {
	color: #fff;
	background: var(--colorAside);
	width: 240px !important;
	height: 100vh;
	padding-top: 1em;
	display: flex;
	flex-flow: column;
	align-items: center;
	position: sticky;
	top: 0;
}

/* 教室名 */
aside>div>a {
	width: 200px;
	line-height: 1;
  font-family: "Shippori Mincho", serif;
	text-wrap: nowrap;
	padding-bottom: calc(16px + 6px);
	position: relative;
}

/* 教室名　下線 */
aside>div>a::after {
	content: "";
	height: 6px;
	width: 60%;
	border-bottom: solid 6px var(--colorMain1);
	position: absolute;
	top: calc(84px + 16px);
	left: 50%;
	transform: translateX(-50%);
}

/* 各ぺージ */
aside ul>li {
	margin-top: 30px;
}
aside ul li>dd {
	text-indent: 1em;
	margin-top: 1em;
}
aside ul li>dd,
aside ul li>dt,
aside ul>li:nth-of-type(3),
aside ul>li:last-of-type {
	transition: .3s;
}
aside ul li dd span {
	padding-right: .5em;
}
aside ul li>dd:hover,
aside ul li>dt:hover,
aside ul>li:nth-of-type(3):hover,
aside ul>li:last-of-type:hover {
	color: var(--colorMain2);
}

/* 公式SNS */
aside ul>li:nth-of-type(3) div {
	align-items: center;
}
aside ul>li:nth-of-type(4) div dd {
	width: 33%;
	height: auto;
	padding-top: 1em;
	display: flex;
	justify-content: center;
  align-items: center;
}
aside .sns_logo {
	display: flex;
}
aside ul>li:nth-of-type(4) div dd img {
	width: 40px;
}
.sns_logo dd:hover,
.sns_logo a:hover {
	transform: scale(1.1);
	transition: transform .3s;
}

/* ハンバーガー------------------------------------
------------------------------------------- */
@media (max-width: 1200px) {
  body main {
    display: block;
  }
  main>section {
    max-width: 100vw;
    width: 100%;
  }
  aside {
    position: relative;
  }
  #Nav+label {
    max-width: 60px;
    width: 10vw;
    display: flex;
    align-items: center;
    aspect-ratio: 1/1;
    position: fixed;
    top: 1em;
    right: 1em;
    z-index: 1;
  }
  #Nav+label::after {
    content: "";
    background-color: var(--colorAside);
  }
  #Nav+label span,
  #Nav+label span::before,
  #Nav+label span::after {
    content: "";   /* 疑似要素を活用する際は必要 */
    display: block;
    width: 100%;
    background: var(--colorMain2);
    transition: 0.5s;
  }
  #Nav+label span {
    position: relative;
    height: 10%;
  }
  #Nav+label span::before,
  #Nav+label span::after {
    position: absolute;
    height: 100%;
  }
  #Nav+label span::before {
    bottom: 300%;   /* spanのtopから3倍離れた位置に設定 */
  }
  #Nav+label span::after {
    top: 300%;
  }
  #Nav:checked+label span {
    background: transparent;
  }
  #Nav:checked+label span::before {  /* チェックが付いているときの疑似要素 */
    bottom: 0px;
    rotate:  -315deg;
  }
  #Nav:checked+label span::after {  /* チェックが付いているときの疑似要素 */
    top: 0px;
    rotate: 315deg;
  }
  body>header {
    position: fixed;
    z-index: 9999;  /* headerを手前に */
  }
  body aside>div {
    position: fixed;
    top: 0;
    right: 0;
    translate: 100% 0;
    transition: .5s;
  }
  body aside {
    position: relative;
  }
  aside>div {
    background: var(--colorAside);
    width: calc(240px + 10vw);
    padding-right: 50px;
  }
  body aside> #Nav:checked~div {
    translate: 0vw;
  }
}

/* 公式SNS------------------------------------
------------------------------------------- */
#sns {
	position: relative;
  padding-bottom: 70px;
	text-align: center;
}
#sns p {
	text-align: center;
	margin-bottom: 30px;
	line-height: 1.7;
}
#sns .flex {
  align-items: stretch;
  padding: 0 1em;
  margin-bottom: 60px;
}

/* インスタグラム、フェイスブック */
#sns .sns_logo {
  width: 40%;
	display: flex;
	justify-content: space-evenly;
	align-items: center;
	flex-flow: column;
  gap: 60px;
}
#sns .sns_logo a {
	width: 100%;
  height: 100%;
  max-height: 100px;
}
#sns .sns_logo a img {
  width: 25%;
  aspect-ratio: 1/1;
}

/* ユーチューブ */
#sns .youtube {
  width: 60%;
}
#sns .youtube iframe {
	width: 100%;
  aspect-ratio: 560 / 315;
}

/* hover */
#sns .sns_logo a:hover {
  transform: scale(1.1);
  transition: transform .3s;
}

/* 背景 */
#sns::before{
  background-image: url(../_img/longBg1.png);
  aspect-ratio: 1/1;
  top: 0;
  overflow: hidden;
  z-index: -1;
}
#sns::after{
  background-image: url(../_img/longBg2.png);
  aspect-ratio: 869 / 55;
  bottom: 0;
  right: -3px;
  z-index: -1;
}

/* レイアウト */
#sns .sectTtl{
  padding: 4em 0 1.2rem;
}

@media (max-width: 600px) {
  /* レイアウト */
  #sns {
    padding-bottom: 1px;
  }
  #sns .flex {
    flex-flow: column-reverse;
  }
  #sns .sectTtl{
    padding: 2em 0 1.2rem;
  }

  /* インスタ　フェイスブック */
  #sns .sns_logo {
    width: 100%;
    justify-content: space-evenly;
    flex-flow: row;
  }
  #sns .sns_logo a {
    width: 15%;
    aspect-ratio: 1/1;
  }
  #sns .sns_logo a img {
    width: 100%;
    aspect-ratio: 1/1;
  } 

  /* ユーチューブ */
  #sns .youtube {
    width: 100%;
    margin-bottom: 30px;
  }

  

  /* 背景 */
  #sns::before{
    background-image: url(../_img/longBg1.png);
    top: 0;
    aspect-ratio: 1/1;
  }
}

/* 施設情報------------------------------------
------------------------------------------- */
#information {
  background-color: var(--colorBack2);
}
#information .flex {
  gap: 4rem;
  padding-bottom: 70px;
}
/* google map */
#information .map {
  width: 48%;
}
#information .map iframe {
  width: 100%;
  max-height: 430px;
  aspect-ratio: 1/1;
}

/* 施設情報テキスト */
#information h3 {
  margin: 2rem 0;
  text-align: center;
}
#information table {
  margin-bottom: 2rem;
  border-collapse: collapse;
  margin: 0 1em;
}
#information table th,
#information table td {
  padding: 2rem 1rem;
  border-bottom: 1px solid var(--colorSub);
}
#information table tr:last-of-type th,
#information table tr:last-of-type td {
  border: none;
}

/* 問い合わせボタン */
.btn {
  padding: 1.2rem 0;
  margin: 0 auto;
  text-align: center;
  color: white;
  display: block;
  box-shadow: 4px 4px var(--colorShadow);
  width: 80%;
}
.btn:active {
  position: relative;
  top: 4px;
  left: 4px;
  box-shadow: none;
}
.btnTel {
  margin-bottom: 1rem;
  background: var(--colorMain1);
}
.btnMail {
  background: var(--colorMain2);
}

@media (max-width: 760px) {
  #information .flex {
    flex-flow: column-reverse;
  }
  /* google map */
  #information .map {
    width: 80%;
  }
}

/* footer------------------------------------
------------------------------------------- */
footer {
  background-color: var(--colorMain1);
  color: white;
  padding: 1.5rem 0;
  text-align: center;
}