@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;
}

@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: 0 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: 1em;
	display: flex;
	flex-flow: column;
	align-items: center;
	position: sticky;
	top: 0;
}

/* 教室名 */
aside>div>a {
	width: 200px;
  height: 90px;
	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(74px + 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;
  z-index: -1;
}
#sns::after{
  background-image: url(../_img/longBg2.png);
  aspect-ratio: 869 / 55;
  bottom: 0;
  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;
}

/* 療育教室について--------------------------
-------------------------------------------
------------------------------------------- */
/* 共通 */
.sectTtl {
  padding: 5em 0 1.2rem;
}

/* ryoiku------------------------------------
-------------------------------------------
------------------------------------------- */
/* 共通 */
::before, ::after{
  content: "";
  background-repeat: no-repeat;
  background-size: contain;
  width: 100%;
  /* 位置 */
  display: block;
  position: absolute;
}
#ryoiku .region_example>.sectTtl{
  padding: 5em 0 1.2rem;
}
#ryoiku p {
  padding: 0 1em;
}


/* fv */
#ryoiku .fv {
  color: white;
  background-color: rgba(33, 33, 33, .6);
  background-blend-mode: darken;
  background-image: url(../_img/ryoiku/room.JPG);
  background-position: 0% 20%;
  background-size: cover;
  height: 75vh;
  margin: 0 auto;
  text-align: center;
  /* flex */
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
#ryoiku .fv p{
  font-size: 2rem;
  padding-bottom: 1rem;
}
#ryoiku .fv h1{
  font-size: 3em;
}

/* 療育教室について */
#ryoiku #ryoiku_kyositu {
  width: 100%;
  padding-bottom: 6em;
  position: relative;
	text-align: center;
}
#ryoiku #ryoiku_kyositu iframe {
	margin-top: 30px;
  aspect-ratio: 560 / 315;
  max-width: 800px;
  width: 100%;
  padding: 0 1em;
}

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

/* レイアウト */
#ryoiku #ryoiku_kyositu .sectTtl{
  padding: 5em 0 1.2rem;
}

/* 5領域プログラム */
#ryoiku #purogrum {
	text-align: center;
  /* margin-top: 80px; */
}
#ryoiku #purogrum>p {
  max-width: 1400px;
  margin: 0 auto;
}
#ryoiku .each_purogrum {
  margin: 0 auto;
  width: 100%;
  max-width: 1400px;
}
#ryoiku .each_purogrum ul{
  background-color: rgba(242, 242, 242, .8);
	margin: 3em 2em 0;
	padding: 50px 30px;
	display: flex;
	justify-content:space-evenly;
  flex-wrap: wrap;
  gap: 20px;
  text-align: center;
  position: relative;
}

/* 背景　装飾 */
#ryoiku .each_purogrum ul::before{
  background-image: url(../_img/ryoiku/weekBg1.png);
  width: 18%;
  aspect-ratio: 206/ 95;
  top: -1em;
  right: -1em;
  z-index: -1;
}
#ryoiku .each_purogrum ul::after{
  background-image: url(../_img/ryoiku/weekBg2.png);
  width: 18%;
  aspect-ratio: 206/ 95;
  bottom: -1em;
  left: -1em;
  z-index: -1;
}

/* 各プログラムの項目 */
#ryoiku .each_purogrum ul li {
	color: #fff;
	background-color: var(--colorMain1);
	width: 180px;
	padding-top: 20px;
	padding-bottom: 20px;
	line-height: 1.5;
}

@media (max-width: 760px) {
  /* 背景　装飾 */
  #ryoiku .each_purogrum ul::before{
    width: 30%;
  }
  #ryoiku .each_purogrum ul::after{
    width: 30%;
  }
}

@media (max-width: 510px) {
  #ryoiku .each_purogrum ul{
    margin: 2em 2em 0;
    padding: 30px 10px;
  }
  #ryoiku .each_purogrum ul li {
    width: 70%;
    padding-top: 10px;
    padding-bottom: 10px;
    line-height: 1.5;
  }
  /* 背景　装飾 */
  #ryoiku .each_purogrum ul::before{
    width: 40%;
  }
  #ryoiku .each_purogrum ul::after{
    width: 40%;
  }
}


/* 5領域　具体例------------------------------------
------------------------------------------- */
/* #ryoiku .region_example>.example:not(:first-of-type) {
	margin-top: 60px;
} */
#ryoiku .example h3 {
  font-size: 28px;
  font-weight: 500;
}

/* 画像・文字　スライド */
#ryoiku .slide_img {
	width: 48%;
}
#ryoiku .slick-slider {
  max-width: 600px;
	width: 90%;
	margin: 0 auto;
  text-align: center;
}
#ryoiku .slick-slider .slide {
  position: relative; /* 説明文を絶対配置するために必要 */
}
#ryoiku .slick-slide img {
  width: 100%; /* 画像の幅をスライドにフィットさせる */
	aspect-ratio: 5/4;
	object-fit: cover;
  display: block;
}
#ryoiku .slick-slide figcaption {
  position: absolute;
  bottom: 0; /* 下端に配置 */
  left: 0;
  width: 100%; /* 説明文を画像の幅に揃える */
  background-color: rgba(0, 0, 0, 0.5); /* 背景色を半透明にする */
  color: white; /* テキストを白に */
  padding: 10px; /* パディングを追加 */
  box-sizing: border-box; /* パディングを含めて幅を計算 */
  text-align: left; /* テキストを左揃えにする（好みに応じて調整） */
}

/* 5領域　内容------------------------------------
------------------------------------------- */

/* 各タイトル */
#ryoiku .region_example h3 {
  margin: 3em 0 0;
  font-size: 24px;
  font-weight: 500;
}
#ryoiku .region_example>.example .sectTtl{
  padding: 0 0 1.2rem;
}
#ryoiku .region_example h4{
  font-size: 2.4rem;
  padding-top: 1em;
  text-wrap: nowrap;
  background-size: 10rem 2px;
}
#ryoiku .region_example>.example:nth-of-type(4) h4,
#ryoiku .region_example>.example:nth-of-type(6) h4 {
  padding-top: 2em;
}

/* 各5領域の具体例 */
#ryoiku .example {
  margin: 0 auto;
}
#ryoiku .region_example>div:nth-of-type(2) {
  padding-bottom: 50px;
  /* margin-bottom: -3%; */
}
#ryoiku .region_example>.example {
  padding-bottom: 80px;
  /* margin-bottom: -3%; */
}
#ryoiku .region_example>.example:last-of-type {
  padding-bottom: 130px;
  margin-bottom: 0%;
}
#ryoiku .example>div:nth-of-type(2) {
  margin-top: 30px;
}
#ryoiku .example .sectTtl {
  background-size: 8rem 2px;
}

/* 説明文 */
#ryoiku .example_titleL+ p{
  padding-right: 2em;
	text-align: center;
} 
#ryoiku .example_titleR+ p{
  padding-left: 2em;
	text-align: center;
} 

/* 内容 */
#ryoiku .example {
  position: relative;
}
#ryoiku .example>div {
  max-width: 1400px;
  margin: 0 auto;
}
#ryoiku .example h4 {
  padding-top: 2em;
}
#ryoiku .region_example>.example:nth-of-type(4) h4,
#ryoiku .region_example>.example:nth-of-type(6) h4 {
  padding-top: 2em;
}
#ryoiku .example>div>ul {
	width: 48%;
	flex-flow: column;
	gap: .5em;
}
#ryoiku .example>div>ul>li {
  max-width: 400px;
	width: 80%;
	margin-left: 24px;/* リストの左側に余白 */
	list-style-type: disc;/* リストの左側に黒丸 */
	text-align: left;
	line-height: 1.5;
}

/* 背景 */
#ryoiku .example::after{
  width: 100%;
  z-index: -999;
}
#ryoiku .region_example>.example:nth-of-type(2)::after {
  background-image: url(../_img/ryoiku/purogrumBg1.png);
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  height: 105%;
  top: 20px;
  z-index: -1;
}
#ryoiku .region_example>.example:nth-of-type(4)::after{
  background-image: url(../_img/ryoiku/purogrumBg2.png);
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  height: 100%;
  top: -10px;
  z-index: -1;
}
#ryoiku .region_example>.example:nth-of-type(6)::after {
  background-image: url(../_img/ryoiku/purogrumBg3.png);
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  height: 100%;
  top: -45px;
  z-index: -1;
}
/* SNS 背景 */
#ryoiku #sns::before{
  background-image: url(../_img/longBg1.png);
  top: -45px;
  aspect-ratio: 1/1;
  z-index: -1;
}

@media (max-width: 760px) {
  /* レイアウト */
  #ryoiku .region_example>.example>div:nth-of-type(2) {
    flex-flow: column;
  }
  #ryoiku .region_example>.example:not(:first-of-type) {
    margin-top: 40px;
  }

   /* 各5領域のタイトル */
   #ryoiku .region_example>.example:nth-of-type(4) h4,
   #ryoiku .region_example>.example:nth-of-type(6) h4 {
     padding-top: 2em;
   }

  /* 画像 */
  #ryoiku .slide_img {
    width: 100%;
  }
  #ryoiku .slick-slider {
    max-width: 600px;
    width: 90%;
    margin: 0 auto;
    text-align: center;
  }

  /* 5領域の内容 */
  #ryoiku .example>div>ul {
    width: 100%;
    margin-top: 60px;
  }
  #ryoiku .example>div>ul>li {
    max-width: 600px;
    width: calc(90% - 24px);
  }
  #ryoiku .region_example>.example:last-of-type {
    padding-bottom: 80px;
    margin-bottom: 0%;
  }

  /* 背景 */
  #ryoiku .region_example>.example:nth-of-type(2)::after {
    background-image: url(../_img/ryoiku/purogrumSm1.png);
    background-size: cover;
    background-position: center top;
    height: 100%;
    top: 20px;
    z-index: -1;
  }
  #ryoiku .region_example>.example:nth-of-type(4)::after{
    background-image: url(../_img/ryoiku/purogrumSm2.png);
    background-size: cover;
    background-position: center top;
    height: 100%;
    top: -20px;
    z-index: -1;
  }
  #ryoiku .region_example>.example:nth-of-type(6)::after {
    background-image: url(../_img/ryoiku/purogrumSm3.png);
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    height: 100%;
    top: -20px;
    z-index: -1;
  }

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

@media (max-width: 428px) {
  #ryoiku .region_example h4{
    font-size: 1.8rem;
  }
}