@charset "UTF-8";

html {
  font-size: 100%;
scroll-padding-top: 160px; /* 固定ヘッダの高さ分 */
}

body {
  color: #434343;
  font-family: 'Nunito', sans-serif;
  
}
a {
  text-decoration: none;
}
img {
  max-width: 100%;
}
li {
  list-style: none;
}



/* 共通CSS */

.wrapper {
  max-width: 1260px;
  margin: 0 auto;
  text-align: center;
}

.inr {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.btn {
  font-size: 1.4rem;
  padding: 0.4em 1.8em;
  min-width: 1%;
  background-color: rgb(248, 67, 112);

  color: #fff;
  display: inline-block;
  transition: opacity 0.3s ease; /* アニメーション */
  border-radius: 30px;
  font-weight: bold;
}

.btn:hover {
  opacity: 0.7; 
}

.sec-title {
  font-size: 2rem;
  font-weight: bold;
  border-bottom: 2px solid rgb(250, 103, 128);
  display: inline-block;
  margin-top: 100px;
  margin-bottom: 15px;
  padding-bottom: 10px;
}

.sec-txet {
  margin-bottom: 60px;
}

.flex-item {
  justify-content: space-between;
  display: flex;
}

.item-title {
  font-size: 1.7rem;
  line-height: 2.5rem;
  padding: 20px 0;
}

.sub-titel {
  font-weight: bold;
  font-size: 1.5rem;
}

.timeline {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* ヘッダー */
#header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000; /* ほかの要素より前面に表示するための値 */
  background-color: white; /* ヘッダーの背景色を設定（必要に応じて変更） */
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* 下に影をつけることで浮いている感じを出す */
  padding: 30px 0;
}

.site-logo{
  width: 250px;
  line-height: 1px;
}

.header-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-top ul {
  display: flex;
  text-align: right;
  align-items: center;
}

.header-top ul a {
  margin-left: 40px;
}

.header-nav ul{
  display: flex;
  justify-content: center;
  align-items: center;
}

.header-nav ul li {
  padding: 20px 20px 0 20px;
}

.header-nav ul a {
  color: #434343;
}




/* メインビジュアル */
#main-visual {
  position: relative;
  height: 700px; /* 高さを固定値で指定 */
  padding-top: 120px;
  overflow: hidden; /* コンテナの外に出る要素を隠す */
}

#main-visual .wrapper {
  position: relative;
  z-index: 1;
  text-align: left;
}

#main-visual h2 {
  padding: 120px 0 20px 0;
  font-size: 5rem;
  color: #fff;
  line-height: 6rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

#main-visual p {
  font-size: 2rem;
  font-weight: bold;
  color: #fff;
  padding-bottom: 30px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

#main-visual .slideshow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

#main-visual .slideshow img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

#main-visual .slideshow img.active {
  opacity: 1;
}

/* アバウト */
#About .item {
  width: 31%;
}

/* コース */
#course .flex-item{
  text-align: left;
  margin-bottom: 100px;
}

#course .money {
  font-size: 2.3rem;
  font-weight: bold;
}

#course .course-txet {
  width: 66%;
}

#course .course-img {
  width: 31%;
}

/* コーチ */
#coach {
  background-color: pink; /* 背景色をピンクに設定 */
  padding: 40px 0; /* 上下のパディングを追加 */
}

.container {
  background-color: white; /* 白いボックスの背景色 */
  padding: 40px 80px; /* 内部の余白 */
  margin: 0 auto; /* 中央揃え */
  max-width: 1000px; /* 最大幅を設定（必要に応じて変更） */
  border-radius: 20px; /* ボックスの角を丸くする */
  text-align: center;
}

#coach .sec-title {
  margin: 0 0 30px 0;
}

#coach .flex-item {
  gap: 40px; /* アイテム間の間隔を設定 */
  text-align: left;
}

#coach .item {
  text-align: center;
}
.coach-img {
  width: 200px; /* 正円の直径 */
  height: 200px; /* 正円の直径 */
  border-radius: 50%; /* 正円にするための設定 */
  overflow: hidden; /* 円形にクリッピングするために必要 */
  margin-bottom: 15px;
}

.coach-img img {
  width: auto; /* 画像を正円の直径に合わせる */
  height: 200%; /* 高さを自動で調整 */
  object-fit: cover;
}

.coach-text {
  flex: 2; /* 残りのスペースを占有する */
}

.coach-text span {
  font-weight: bold;
}
.coach-text p {
  margin-bottom: 30px;
}

/* よくある質問 */

.faq-item {
  border-bottom: 1px solid #ddd; /* 質問部分に下線を追加 */
  margin-bottom: 10px; /* 下マージンを追加 */
}

.question {
  padding: 10px; /* 内部のパディングを設定 */
  display: flex; /* フレックスレイアウトを使用 */
  justify-content: space-between; /* 要素間の間隔を均等に */
  align-items: center; /* アイテムを中央揃え */
  cursor: pointer; /* ホバー時にカーソルをポインターに変更 */
}

.question:hover {
  background-color: #fce4ec; /* ホバー時の背景色を薄いピンクに設定 */
}

.question p {
  margin: 0; /* マージンをリセット */
}

.arrow {
  font-size: 1.2em; /* 文字サイズを設定 */
}

.answer {
  display: none; /* 初期状態では非表示 */
  padding: 10px; /* 内部のパディングを設定 */
}

.faq-item.active .answer {
  display: block; /* アクティブ状態で回答を表示 */
}

.faq-q {
  font-weight: bold;
  color: rgb(250, 103, 128);
} 

/* アクセス */

.access-container {
  display: flex;
  justify-content: space-between;
  gap: 40px; /* gapを調整 */
}


.access-info table {
  width: 100%;
  border-collapse: collapse;
}

.access-info th,
.access-info td {
  padding: 15px 10px;
  border: none; /* 枠線をなくす */
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid #ddd;
}

.access-info th{
  font-weight: normal;
}

/* コンタクト */

#contact {
  margin-bottom: 100px;
}

.form-group,.radio-group {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 20px;
  text-align: left;
}

.form-group dt,
.radio-group dt {
  width: 30%;
}

.form-group dd {
  width: 70%;
}

.form-group dd input,
.form-group dd textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 16px;
  box-sizing: border-box;
}


.form-group .radio-group {
  display: flex; /* ラジオボタンとラベルを横並びにする */
}

.radio-group label {
  margin-right: 10px; /* ラベル間の余白を設定 */
}


textarea {
  resize: vertical;
}


button {
  padding: 10px 20px;
  background-color: rgb(248, 67, 112);
  color: #fff;
  border: none;
  border-radius: 5px;
  font-size: 16px;
  cursor: pointer;
  transition: opacity 0.3s ease;
  margin: 0 auto;
}

button:hover {
  opacity: 0.8;
}

/* フッター */
footer {
  background-color: rgb(250, 103, 128); /* ピンクの背景色 */
  color: #fff; /* 文字色を白に設定 */
  padding: 40px 0; /* 上下の余白を設定 */
  text-align: center; /* テキストを中央揃えに設定 */
}

footer nav ul {
  display: flex; /* ul内のリストを横並びに */
  justify-content: center; /* リストを中央揃えに */
}

footer nav ul li {
  margin: 0 15px; /* リストアイテム間の間隔を設定 */
}

footer nav ul li a {
  text-decoration: none; /* リンクの下線を消す */
  color: #fff; /* リンクの文字色を白に設定 */
  font-size: 0.8rem;
}

footer p {
  margin-top: 20px; /* コピーライトの上部の余白を設定 */
  font-size: 0.8rem; /* フォントサイズを小さめに設定 */
}