@charset "UTF-8";

html {
  font-size: 100%;
}
/*
フッターを画面下に配置するために、
「position: relative;」を設定
「min-height」で最小の高さを画面の高さにあわせる
*/
body {
  color: #333;
  font-size: 0.875rem;
  min-height: 100vh;
  position: relative;
}
a {
  color: #333;
  text-decoration: none;
  transition: all 0.5s;
}
a:hover {
  opacity: 0.7;
}
img {
  max-width: 100%;
}
li {
  list-style: none;
}
/*
コンテンツ幅を設定するための共通クラス
*/
.wrapper {
  width: 100%;
  max-width: 390px;
  margin: 0 auto;
  padding: 0 15px;
}
.content {
  padding-top: 120px;
  padding-bottom: 160px;
}
.site-title a {
  width: 120px;
  line-height: 1px;
  display: block;
}
.page-title {
  font-size: 0.875rem;
  font-weight: normal;
  margin-bottom: 30px;
}

.sec-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1.5rem;
  margin-bottom: 20px;
  text-align: center;
}
.sec-title::before,
.sec-title::after {
  border-top: 1px solid;
  content: "";
  width: 28%;
}

.image-bottom {
  margin-bottom: 10px;
}

.item-title {
  margin-bottom: 5px;
}

.text-box {
  display: flex;
  justify-content: space-between;
  text-align: justify;
  margin-bottom: 20px;
}
.text-box p {
  flex: 1; /* 均等に幅を分配 */
  margin: 0; /* デフォルトの余白を除去 */
}

/*-------------------------------------------
ヘッダー
-------------------------------------------*/
/*
「position: fixed;」でヘッダーを固定し、「z-index: 10;」で前面に表示
※他のコンテンツでpositionをrelative、absolute、fixedのいずれかに
設定している場合は、z-indexの数値が大きい方が前面に表示される
*/
#header {
  width: 100%;
  padding-top: 10px;
  padding-bottom: 10px;
  background-color: #ffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: fixed;
  left: 0;
  right: 0;
  z-index: 10;
  margin-bottom: 0;
}
/*
ハンバーガーメニュー
メニューが閉じている時は、「left: -300px;」で画面左に隠し、
「opacity: 0;」で非表示にしている
*/
#navi {
  position: fixed;
  top: 0;
  left: -300px;
  width: 300px;
  color: #fff;
  padding: 36px 50px;
  transition: all 0.5s;
  z-index: 20;
  opacity: 0;
}
#navi a {
  color: #fff;
}
#navi li {
  margin-bottom: 14px;
}
/*
ハンバーガーメニュー
メニューが開いている時は、「left: 0;」「opacity: 1;」で
画面左に表示する
*/
.open #navi {
  left: 0;
  opacity: 1;
}
.toggle_btn {
  width: 30px;
  height: 30px;
  position: relative;
  transition: all 0.5s;
  cursor: pointer;
  z-index: 20;
}
/*
ハンバーガーメニューの線の設定（メニューが閉じている時）
*/
.toggle_btn span {
  display: block;
  position: absolute;
  width: 30px;
  height: 2px;
  background-color: #333;
  border-radius: 4px;
  transition: all 0.5s;
}
/*
1本目の線の位置を設定
*/
.toggle_btn span:nth-child(1) {
  top: 10px;
}
/*
2本目の線の位置を設定
*/
.toggle_btn span:nth-child(2) {
  bottom: 10px;
}
/*
ハンバーガーメニューの線の設定（メニューが開いている時）
線の色を白に変更
*/
.open .toggle_btn span {
  background-color: #fff;
}

#mask {
  display: none;
  transition: all 0.5s;
}
/*
メニューを開いている時は、全体を黒背景にする
*/
.open #mask {
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000;
  opacity: .8;
  z-index: 10;
  cursor: pointer;
}

/*-------------------------------------------
Video
-------------------------------------------*/
#video {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 60vh; /* メイン要素を画面全体の高さに */
  overflow: hidden; /* コンテンツのはみ出しを隠す */
  position: relative; /* 相対位置を設定 */
}

.video-item {
  width: 100%; /* 幅を100%に設定 */
  max-width: 390px; /* 最大幅を390pxに制限 */
  height: 100%; /* 高さを100%に設定 */
  position: fixed; /* 画面全体に固定 */
  top: 0;
  left: 50%; /* 中央揃えのために左端を中央に移動 */
  transform: translateX(-50%); /* 左端から自身の50%の幅を左に移動 */
  z-index: -10; /* 背景に配置 */
  object-fit: cover; /* ビデオを親要素のサイズに合わせる */
}

.bg-video {
  width: 100%; /* 幅を100%に設定 */
  height: 55vh; /* 高さを100%に設定 */
  object-fit: cover; /* ビデオを親要素のサイズに合わせる */
}

/*-------------------------------------------
アバウト
-------------------------------------------*/

#main-item {
  background: linear-gradient(rgba(0,0,0,0),rgba(0,0,0,0.8));
  color: #fff;
  width: 100%;
  max-width: 390px;
  margin: 0 auto;
}

main {
  background: #FFF;
  width: 100%;
  max-width: 390px;
  margin: 0 auto;
  padding-top: 30px;
}
/*-------------------------------------------
特徴
-------------------------------------------*/



#feature .flex-item {
  display: flex;
  justify-content: space-between;
  padding-bottom: 30px;
}
#feature .flex-item li {
  width: 30%;
  text-align: center;
  font-size: 0.8rem;
}

#feature .flex-item li img {
  width: 100px; /* 任意のサイズ */
  height: 100px; /* 任意のサイズ */
  border-radius: 50%;
  object-fit: cover;
}

/*-------------------------------------------
コース
-------------------------------------------*/

#course {
  margin-bottom: 40px;
}
.course-rist {
  margin: 15px 0;
}

.money {
  font-size: 2.3rem;
  font-weight: bold;
  text-align: right;
}

.money span {
  font-size: 0.875rem;
  font-weight: normal;
}

.dotted-line {
  border: none;
  height: 1px; /* 線の高さを1pxに設定 */
  background-image: linear-gradient(to right, #000 33%, rgba(255, 255, 255, 0) 0%);
  background-position: bottom;
  background-size: 10px 1px; /* ドット間の幅を調整 */
  background-repeat: repeat-x;
  margin: 15px 0 25px 0; /* 上下のマージンを調整 */
}

/*-------------------------------------------
無料体験
-------------------------------------------*/

#free {
  background: linear-gradient(45deg, #ffffff 25%, #868686 25%, #868686 50%, #ffffff 50%, #ffffff 75%, #868686 75%);
  background-size: 10px 10px; /* ストライプのサイズを調整 */
  height: 540px; /* 適当な高さを設定 */
  overflow: hidden; /* 内部の内容がはみ出さないようにする */
  position: relative; /* 相対位置指定 */
  margin-bottom: 40px;
}


.content {
  background-color: #FFF;
  width: 370px;
  padding: 20px;
  text-align: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

#free h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

#free p {
  margin-bottom: 10px;
}

.calendar {
  width: 100%;
  max-width: 390px; /* 任意の最大幅 */
  height: 300px; /* 適切な高さ */
  margin: 0 auto 20px auto; /* 中央揃えなど、必要に応じて追加のスタイルを適用 */

}

#free a {
  display: inline-block;
  padding: 10px 20px;
  background-color: #333;
  color: #fff;
  border-radius: 20px; /* 四隅をラウンドにする */
}

/*-------------------------------------------
講師
-------------------------------------------*/
#instructor {
  margin-bottom: 40px;
}
#instructor .image-bottom
{
  border-radius: 50%;
}

/*-------------------------------------------
SNSアイコン
-------------------------------------------*/
.social-icons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 10px;
}

.social-icon {
  font-size: 24px;
  color: #333; /* アイコンの色を調整してください */
}

/*-------------------------------------------
質問
-------------------------------------------*/
#question {
  margin-bottom: 40px;
}
#question .flex-item {
  display: flex;
  align-items: stretch; /* 子要素の高さを揃える */
}

#question .flex-item .q {
  background-color: rgb(193, 193, 193);
  color: #333;
  padding: 10px 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

#question .flex-item .text-box {
  padding: 15px 0 15px 10px;
  margin-bottom: 0;
}

#question .flex-item .a {
  background-color: #333;
  color: #fff;
  padding: 10px 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

#question .flex-item:nth-of-type(2) {
  margin-bottom: 30px; /* 必要に応じて調整 */
}

#question .sec-title::before,
.sec-title::after {
  width: 20%;
}

/*-------------------------------------------
お問い合わせ
-------------------------------------------*/
#contact {
  margin-bottom: 40px;
}

.contact-form {
margin-top: 20px;
}

.form-group {
  margin-bottom: 15px;
}

label {
  display: block;
  font-weight: bold;
  margin-bottom: 5px;
}

.check {
  display: flex;
}

.check label {
  font-weight: normal;
  align-items: center;
  margin-left: 20px;
}

.check label:first-child {
  margin-left: 0;
}

.required {
  color: red;
  font-size: 0.8em;
  margin-left: 5px;
}

input[type="text"],
input[type="tel"],
input[type="email"],
select {
  width: 100%;
  padding: 5px;
  border: 1px solid #ccc;
  border-radius: 3px;
}

input[type="checkbox"],
input[type="radio"] {
  margin-right: 5px;
}

.btn {
  text-align: center;
}
.submit-button {
  background-color: #333;
  color: white;
  padding: 10px 40px;
  border: none;
  border-radius: 3px;
  cursor: pointer;
}

.submit-button:hover {
  background-color: #333;
}

.note {
  font-size: 0.8em;
  color: #666;
  margin-top: 10px;
}

/*-------------------------------------------
フッター
-------------------------------------------*/
.footer-line {
  height: 3px; /* 太さを3pxに設定 */
  background-color: black;
  border: none;
  margin: 0 auto; /* 中央揃え */
}

#footer {
text-align: center;
margin-bottom: 100px;
}

#footer h2 {
  margin-top: 20px;
}

#footer .social-icon {
  font-size: 40px;
  padding: 0 20px;
  margin-bottom: 20px;
  margin-top: 10px;


}

/*-------------------------------------------
フッター固定
-------------------------------------------*/


.footer-fixd {
  position: fixed;
  bottom: 0;
  width: 100%;
  font-size: 0.8rem;
  padding: 0;

}

.footer-fixd ul {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-fixd ul li {
  flex: 1;
  text-align: center;
  padding: 25px 10px;


}

.footer-fixd ul li:nth-child(1),
.footer-fixd ul li:nth-child(3){
  background-color: #333;
}

.footer-fixd ul li:nth-child(2) {
  background-color: orange;
}

.footer-fixd ul li a {
  color: #FFF;
  
}

