

/* メイン画像 */
#mainImageSection {
  position: relative;
  width: auto;
  height: 100vh;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

#mainImage {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 500;
  margin: 0;
  padding: 0;
}

/* タイトルとキャッチコピー */
#titalImage {
  position: absolute;
  bottom: 1%;
  right: 1%;
  width: 60%;
  height: auto;
  z-index: 600;
}

#catchCopyImage {
  position: absolute;
  bottom: 5%;
  left: 15%;
  width: 90px;
	max-width: 100%;
  height: auto;
  z-index: 600;
}
/* ここまで */


/* メイン画像下コメント */
h1 {
  text-align: center;
  margin: 5px 0px 5px 0px;
}




/* 共通 */
section {
    clear: both;
    padding-top: 70px;
}

.inner {
  width: 94%;
  margin: 0 auto;
  padding-bottom: 50px;
	display:flex
  
}

.relative {
    position: relative;
}

.absolute {
    position: absolute;
    right: 30px;
    bottom: 30px;
    width: 50vw;
}

.p-top img{
	max-width: 100%;
}

.teacher {
	text-align: center;
	max-width: 100%;
}

.teacher img{
	max-width: 100%;
}

.teacher .title{
  padding-bottom: 30px;
}

.profile img{
	width: 250px;
	height: auto;
	max-width: 100%;
}

.profile .name{
  font-size: 25px;
}

.contact {
	text-align: center;
	max-width: 100%;
  padding-bottom: 50px;
}

.contact img{
	max-width: 100%;
}





/* お知らせ */
.news {
	text-align: center;
	max-width: 100%;
    padding-top: 50px;
}
.news .news-logo{
    padding-bottom: 10px;
    max-width: 100%;
}
.info {
    -webkit-overflow-scrolling: touch;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    display: -webkit-box;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    max-width: 600px;
    height: 13em;
    margin: 0 auto;
    overflow-y: scroll;
    text-align: left;
}
/* ここまで */




/* 問い合わせボタン */
.toiawase-button{
    text-align: center;
    padding: 0 20px;
}

.btn,
a.btn,
button.btn {
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.5;
  position: relative;
  display: inline-block;
  padding: 1rem 4rem;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
  text-align: center;
  vertical-align: middle;
  text-decoration: none;
  letter-spacing: 0.1em;
  color: #212529;
  border-radius: 0.5rem;
}

a.btn--yellow {
  color: #000;
  background-color: #fff100;
  border-bottom: 5px solid #ccc100;
}

a.btn--yellow:hover {
  margin-top: 3px;
  color: #000;
  background: #fff20a;
  border-bottom: 2px solid #ccc100;
}
/* ここまで */




/* 練習スケジュール */
.schedule {
	text-align: center;
	max-width: 100%;
}
.schedule img{
	width: 400px;
	height: auto;
	max-width: 100%;
}
/* スケジュールテーブル */
.schedule table {
    margin-bottom: 20px;
    width: 100%;
    margin: auto;
    border-collapse: collapse;
    background-color: #c7c3ba;
}

.schedule table th {
    width: 80px;
    text-align: center;
    padding: 10px;
    font-size: 35px;
}

.schedule table td {
    text-align: center;
    padding: 10px 10px 10px 10px;
    font-size: 20px;
}

.schedule table tr {
    border-bottom: gray 1px solid;
}

.invitation {
    font-size: 20px;
    text-align: center;
    display: block;
}

.invitation .text {
  text-align: left;
  display: inline-block;
}

.invitation h2 {
  padding-bottom: 20px;
  font-family: '游明朝';
}

.class h2 {
  padding-bottom: 10px;
  font-family: '游明朝';
  font-size: 40px;
}

.class h3 {
  font-size: 30px;
  padding-top: 10px;
}

.membership h2 {
  padding-bottom: 10px;
  font-family: '游明朝';
  font-size: 40px;
}

.schedule h2 {
  padding-bottom: 10px;
  font-family: '游明朝';
  font-size: 40px;
}

.teacher h2 {
  padding-bottom: 10px;
  font-family: '游明朝';
  font-size: 40px;
}

.contact h2 {
  padding-bottom: 10px;
  font-family: '游明朝';
  font-size: 40px;
}

.membership h3 {
  font-size: 30px;
  font-weight: 300;
}

.teacher h3 {
  font-family: '游明朝';
  font-size: 30px;
}




/* 会費・初期費用 */
.membership {
	text-align: center;
}
.membership img {
	max-width: 100%;
}

.system {
	width: 1200px;
  padding: 10px 0 20px;
  margin: 0 auto;
  background-color: #c7c3ba;
}

.system-mobile {
	width: 1200px;
  padding: 10px 0 20px;
  margin: 0 auto;
  background-color: #c7c3ba;
}

.club-dues {
  margin: 0 50px 50px 50px;
}
.insurance {
  margin: auto 50px;
}
.uniform {
  margin: auto 50px;
}
.supporter {
  margin: auto 50px;
}
.supporter-mobile {
  margin: auto 50px;
}

.system table,
.system-mobile table{
  margin: 0 auto;
  border-collapse: separate;
  border-spacing: 5px 5px;
  width: 100%;
  text-align: center;
}

.system .title,
.system-mobile .title{
background-color: #81b3ff;
color: #ffffff;
font-size: 20px;
padding: 5px 0;
width: 10px;
}
.system .text,
.system-mobile .text{
  background-color: #ffffff;
  color: #000000;
  font-size: 20px;
  padding: 5px auto;
  width: 100px;
}
.supporter .title{
  padding: 5px 10px;
  width: 240px;
}
.supporter .text{
  padding: 5px 30px;
  width: 100px;
}
.genre {
  display: flex;
  align-items:flex-end
}
.genre-title {
  text-align: left;
  font-size: 50px;
  font-family: serif;
}
.explanation {
  text-align: left;
  font-family: serif;
  font-size: 20px;
  margin-bottom: 3px;
}










iframe {
	width: 80%;
	aspect-ratio: 16/9; 
}







/* クラス紹介 */
.class {
	text-align: center;
	max-width: 100%;
}

.class img{
	height: auto;
	max-width: 100%;
}
/* 少年クラス */
.class-section {
  padding: 40px 20px;
  max-width: 1000px;
  margin: 0 auto;
}

.class-section h2 {
  text-align: center;
  font-size: 2em;
  margin-bottom: 40px;
}

.class-card {
  max-width: 1200px;
  margin: 0 auto 60px auto; /* 上：0 下：60px 左右：autoで中央寄せ */
  padding: 0 20px; /* スマホなどでの余白を確保 */
}

.class-image {
  aspect-ratio: 16 / 9;
  width: 100%;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.class-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.class-content {
  margin-top: 20px;
}

.class-content h3 {
  font-size: 1.5em;
  margin-bottom: 10px;
  color: #333;
}

.class-content p {
  text-align: left;
  margin: 0 auto;
  max-width: 700px;
}

.class-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 10px auto 15px auto;   /* 要素自身は中央寄せ */
  max-width: 600px;           /* 必要に応じて幅制限（任意） */
}

.class-content th,
.class-content td {
  border: 1px solid #ccc;
  padding: 10px;
  text-align: center;
}

.class-content th {
  background-color: #81b3ff;
  width: 30%;
  color: #ffffff;
}















/* 問い合わせフォーム */
.c-form {
	max-width: 800px;
	margin: 0 auto;
}
.c-form__item {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-evenly;
	margin-bottom: 20px;
}
.c-form__label,
.c-form__input {
	padding: 10px;
}
.c-form__label {
	width: 90%;
}
.c-form__input {
	width: 90%;
	font-size: 16px;
	border: solid 1px #333;
	border-radius: 4px;
}
.c-form__input:focus-visible {
	outline: green auto 1px;
}
.c-form__required {
	color: #fff;
	background-color: green;
	border-radius: 4px;
	padding: 5px 5px;
	margin: 0 0 0 18px;
}
textarea.c-form__input {
	height: 160px;
}
.c-form__submit {
	text-align: center;
}
.c-form__submit button {
	font-size: 18px;
	font-weight: bold;
	color: #fff;
	background-color: green;
	border: solid 1px green;
	border-radius: 4px;
	padding: 5px 32px;
	transition: 0.4s;
	cursor: pointer;
}
.c-form__submit button:hover {
	color: green;
	background-color: transparent;
}

@media (min-width: 640px) {
	.c-form__item {
		flex-wrap: nowrap;
	}
	.c-form__label {
		width: 40%;
	}
	.c-form__input {
		width: 55%;
	}
}
/* ここまで */




/* ここからスライドショー */
.wrap {
  display: flex;
  align-items: center;
  height: 340px;
  overflow: hidden;
}
.slideshow {
  display: flex;
}
.content {
  width: 300px;
  height: 300px;
}
.content:nth-child(1) {
  background-color: tomato;
}
.content:nth-child(2) {
  background-color: orange;
}
.content:nth-child(3) {
  background-color: blue;
}
.content:nth-child(4) {
  background-color: green;
}
.slideshow {
  display: flex;
  animation: loop-slide 20s infinite linear 1s both;
}
@keyframes loop-slide {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}
/* ここまでスライドショー */







/* 画面幅が1200px以下の場合 */
@media (max-width: 1200px) {
 
  .system {
    max-width: 100%;
    margin: 0 auto;
  }
  .system-mobile {
    max-width: 100%;
    margin: 0 auto;
  }
  .membership {
    max-width: 100%;
  }
  .genre {
    display: contents;
    align-items:flex-end
  }
}

/* 画面幅870px以下の場合、テーブルを縦並びにする */
@media (max-width: 870px) {
    .inner {
        display: grid;
    }
}


@media (min-width:768px) {
    .info {
      -webkit-box-orient: horizontal;
      -webkit-box-direction: normal;
      flex-direction: row;
      flex-wrap: wrap
    }
  }
  
  .info dd,
  .info dt {
    box-sizing: border-box;
    width: 100%;
    padding-bottom: .5em;
    padding-left: .5em
  }
  
  .info dt {
    font-style: normal;
    font-weight: initial
  }
  
  @media (min-width:768px) {
    .info dt {
      width: 12.5em;
      margin-bottom: .5em;
      border-bottom: 1px dotted #343a40
    }
  }
  
  .info dt:first-of-type {
    padding-top: .5em;
    border-top: 1px dotted #343a40
  }
  
  .info dt time {
    margin-right: .5em
  }
  
  .info dt span {
    box-sizing: border-box;
    display: inline-block;
    width: 7em;
    margin-right: .5em;
    padding: 0 .5em;
    background-color: #009688;
    color: #fff;
    font-size: .8em;
    line-height: 1.75;
    text-align: center
  }
  
  .info time {
    color: #adb5bd
  }
  
  .info dd {
    margin-left: 0;
    margin-bottom: .5em;
    border-bottom: 1px dotted #343a40
  }
  
  @media (min-width:768px) {
    .info dd {
      width: calc(100% - 12.5em)
    }
    .info dd:first-of-type {
      padding-top: .5em;
      border-top: 1px dotted #343a40
    }
  }
  
  .info dd:nth-of-type(-n+3) {
    position: relative
  }

  @media (max-width: 1200px) {
    #header {
        transition: transform 0.3s ease-in-out;
    }
    #header.hide {
        transform: translateY(-100%);
    }
}



@media (max-width: 700px) {
 .system{
  display: none;
 }
}
@media (min-width: 700px) {
  .system-mobile{
   display: none;
  }
 }

  