@import url('https://fonts.googleapis.com/css2?family=Hina+Mincho&display=swap');

* {
  margin: 0;
  padding: 0;
}

body {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  font-family: "Hina Mincho", serif;
  background-color: #7676D0;
  width: 100%;
  color: #fff;
  font-size: 16px;
}

/* ヘッダー */
header {
    max-width: 100%;
    text-align: center;
    position: fixed;
    right: 0;
    left: 0;
    padding-top: 20px;
    z-index: 2;
    color: #000;
    background: rgba(255, 255, 255, 0.5);
}
.header-logo {
  margin-left: 170px;
}
header h1 {
   font-size: 2rem;
}
header h2 {
  margin-bottom:  20px;
  font-size: 0.6rem;
}
nav {
  width: 100%; /* ナビゲーションメニューを親要素いっぱいに広げる */
  max-width: 1024px; /* メニューの最大幅を指定 */
  margin: 0 auto; /* 左右のマージンを自動で設定して中央揃えにする */
}

nav ul {
  width: 1024px;
  margin: 0 auto;
  height: 32px;
  padding-bottom: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

nav ul li {
  display: inline-block; /* リストアイテムを横並びにする */
  margin-right: 20px; /* リストアイテム間の右側マージンを設定 */
}

nav ul li:last-child {
  margin-right: 0; /* 最後のリストアイテムの右側マージンを削除 */
}

nav ul li a {
  display: block; /* ブロック要素として表示 */
  text-decoration: none; /* リンクの下線を削除 */
  color: #333; /* リンクのテキストカラーを設定 */
  font-size: 16px; /* リンクのフォントサイズを設定 */
  font-weight: bold;
}

nav ul li a:hover {
  color: #666; /* ホバー時のリンクのテキストカラーを設 定 */
}
.language {
  position: relative;
}
.dropbtn {
  background-color: rgb(255, 255, 255);
  color: #000000;
  padding: 10px;
  font-size: 1rem;
  border: 2px solid rgb(0, 0, 0);
  cursor: pointer;
}
.dropdown-content {
  display: none;
  position: absolute;
  background-color: #ffffff;
  min-width: 160px;
  z-index: 1;
  text-align: left;
  left: 0;
}

.dropdown-content a {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}

.dropdown-content a:hover {
  background-color: #ddd;
}

.language:hover .dropdown-content {
  display: block;
}
/* 全ページ共通 */
.is-show {
  background: #fff;
  filter:drop-shadow(0px 3px 6px rgba(0, 0, 0, 0.16));
  opacity: 1;
}
.main-inner {
  background: #3c6690;
  width: 1024px;
  margin: 0 auto;
  padding: 40px 30px 100px;
  background-color: rgb(255, 255, 255);
  border-radius: 40px;
  box-shadow: 5px 5px 15px rgb(0, 0, 0, 0.5), -5px -5px 15px rgb(0, 0, 0, 0.5);
}
.separate-top img {
  object-fit: cover;
}
.separate-top h2 {
  text-shadow: 5px 5px 10px #7676D0, 7px 7px 10px #fff;
}
.header-top {
  width: 1024px;
  display: flex;
  justify-content: space-between;
  text-align: center;
  margin: 0 auto;
}
.contact-item01 {
  margin: 0 4px; /* マージンを一律に */
  background: rgb(0, 0, 0);
  color: #000;
  width: 80px;
  height: 40px;
  border: #fff solid 4px;
  border-radius: 0 0 20px 0;
  text-align: center;
}
.contact-item01 a {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
  font-size: 0.8rem; /* フォントサイズを調整 */
  text-align: center;
  color: #fff;
  margin: 5px 0;
}
.contact-item01:hover {
  background: rgb(218, 114, 114);
}
/* お問い合わせ */
.contact {
  width: 100vw; /* ビューポート幅いっぱいに広げる */
  background: #7676D0;
}

.contact-inner {
  max-width: 100%; /* コンテンツの最大幅を1024pxに設定 */
  display: flex;
}

.contact-item {
  background: rgb(0, 0, 0);
  border: #fff solid 6px;
  text-align: center;
  position: relative;
  flex: 1; /* 横幅を均等に分配 */
}

.contact-item:hover {  
  background: rgb(218, 114, 114);
}

.contact-item:not(:last-child) {
  margin-right: 0; /* 最後の要素以外の右側の余白を削除 */
}

.contact-item a {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
  font-size: 3rem;
  line-height: 100px;
  color: #fff;
  margin: 30px 0;
}
/* トップスライダー */
.slider {
  position: relative;
  display: flex
}
.swiper1 {
  z-index: -2;
  width: 990px;
  height: 100vh;
}
.swiper2 {
  z-index: -2;
  width: 990px;
  height: 100vh;
}
.swiper-slide img {
  width: 100%;
  height: 100vh;
}
/* キャッチコピー */
.catchcopy {
  width: 100%;
  background-color: #7676D0;
  padding: 64px 0;
}

.catchcopy-inner {
  width: 1024px;
  height: 100%;
  margin-right: auto;
  margin-left: auto;
  position: relative;
}

.catchcopy h1 {
  font-size: 2rem;
  letter-spacing: 0.15em;
  line-height: 1;
  margin-bottom: 40px;
  color: #fff;
  text-align: center;
}

.catchcopy-item {
  display: flex; /* 要素を横並びに */
  align-items: center; /* 要素を垂直方向に中央揃え */
  gap: 32px;
}

.catchcopy-media {
  flex: 0 0 50%; /* 画像の幅を50%に設定 */
}

.catchcopy-figure img {
  width: 100%; /* 画像の幅を100%に設定 */
  object-fit: cover;
}

.catchcopy-text {
  flex: 0 0 50%; /* テキストの幅を50%に設定 */
}

.catchcopy p {
  font-size: 1rem; /* テキストのフォントサイズを調整 */
  color: #fff; /* テキストの色を設定 */
  line-height: 45px;
  letter-spacing: 15px;
}
/* メニュー */
.menu {
  background-color: #7676D0;
  padding: 64px 0;
}
.menu-inner {
  width: 1024px;
  height: 100%;
  margin-right: auto;
  margin-left: auto;
  position: relative;
}
.menu-tittle {
  width: 280px;
  line-height: 1;
  border-right: solid 1px;
  margin-bottom: 40px;
}
.menu-tittle h2 {
  font-size: 5rem;
}
.menu-tittle p {
  font-size: 1.5rem;
  margin-bottom: 20px;
  align-items: center;
  line-height: 30px;
}
.menu-item {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-bottom: 48px;
}
.menu-card {
  width: 320px;
}
.menu-card-media {
  position: relative;
  margin-bottom: 17px;
}
.menu-card-media img {
  object-fit:cover;
}
.menu-card-media:hover{
  opacity: 0.7;
  transform: scale(1.15);
}
.menu-card-media::after {
  position: absolute;
  content: "";
  width: 100%;
  height: 46px;
  background: rgba(255, 255, 255, 0.851);
  bottom: 0;
  left: 0;
}
figcaption {
  position: absolute;
  bottom: 9px;
  left: 50%;
  transform: translateX(-50%);
  color: #1f1d1a;
  font-size: 26px;
  font-weight: 900;
  letter-spacing: 0.06em;
  width: 100%;
  text-align: center;
  line-height: 1;
  z-index: 1;
}
/* コース説明 */
.course {
  max-width: 100%;
  padding: 64px 0;
  background-color: #fff;
}
.course-inner {
  width: 1024px;
  height: 100%;
  margin-right: auto;
  margin-left: auto;
  position: relative;
}
.course-inner h2 {
  font-size: 2rem;
  letter-spacing: 0.15em;
  line-height: 1;
  margin-bottom: 40px;
  color: #000000;
  text-align: center;
}
.course-inner h1 {
  font-size: 4rem;
  letter-spacing: 0.15em;
  line-height: 1;
  color: rgb(211, 57, 23);
  text-align: center;
}
.course-inner h3 {
  font-size: 1.8rem;
  letter-spacing: 0.15em;
  line-height: 1;
  color: #7676D0;
}
.course-inner p {
  font-size: 1.3rem;
  letter-spacing: 0.15em;
  line-height: 1;
  color: rgb(0, 0, 0);
}
.course-card {
  display: flex;
  gap: 32px;
  margin-bottom: 60px;
}
.course-text {
  width: 496px;
}
.course-media {
  width: 496px;
}
.course-text-up {
  display: flex;
  align-items: center;
}
/* サブメニュー */
.submenu-inner {
  width: 1024px;
  height: 100%;
  margin: 100px auto;
}
.submenu-inner h2 {
  font-size: 3rem;
  text-align: center;
  margin-bottom: 80px;
}
.submenu-card {
  width: 300px;
  height: 300px;
  margin: 0 auto;
  background-color: #fff;
  border-radius: 40px;
  box-shadow: 5px 5px 15px rgb(0, 0, 0, 0.5), -5px -5px 15px rgb(0, 0, 0, 0.5);
}
.submenu-card:hover {
  transform:scale(1.1,1.1);
  transition: 0.5s;
  background: rgb(34, 18, 152);
  color: #fff;
}
.submenu-item1 {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3つの列を均等に配置 */
  grid-gap: 32px; /* グリッド要素間の間隔 */
}
.submenu img {
  border-radius: 40px 40px 0 0;
  height: 70%;
  display: block; /* 画像を中央揃え */
  margin: 0 auto;
  object-fit: cover;
}
.submenu h3 {
  font-size: 2.5rem;
  margin: 0 auto;
  text-align: center;
}
.submenu a {
  text-decoration: none;
}
/* 口コミ */
.review {
  width: 1024px;
  padding: 40px;
  color: #000;
  text-align: center;
  background-color: #fff;
}
.review h2 {
  font-size: 3rem;
  margin-bottom: 60px;
}
iframe {
  width: 100%; /* iframeの幅を100%に設定 */
  height: 500px; /* iframeの高さを指定 */
  border: none; /* 枠線を非表示にする */
}
/* ストア */
.store {
  max-width: 100%;
  color: #000;
  text-align: center;
  background-color: #fff;
  padding: 40px;
}
.store h2 {
  font-size: 1rem;
}
.store p {
  font-size: 1rem;
  line-height: 30px;
}
/* フッター */
footer {
  max-width: 100%;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 4%;
}
footer ul li {
  display: inline-block;
  margin-left: 20px;
}
footer a {
  color: #fff;
  text-decoration: none;
}
/* 認証 */


/* スマホ用 */
/* スマートフォン向けのレスポンシブスタイル */
@media screen and (max-width: 1024px) {
  header {
    width: 100%;
    max-width: 1024px;
    text-align: center;
    position: fixed;
    right: 0;
    left: 0;
    padding-top: 20px;
    z-index: 2;
    color: #000;
    background: rgba(255, 255, 255, 0.5);
}

header img {
    width: 50%;
    height: 100vh;
}

header h1 {
    font-size: 1rem; /* フォントサイズを小さく調整 */
}

header h2 {
    font-size: 0.5rem; /* フォントサイズを小さく調整 */
    display: none;
}

header li {
    display: inline-block;
    margin: 0 5px 10px; /* マージンを調整 */
    font-size: 0.4rem; /* フォントサイズを小さく調整 */
    font-weight: bold;
}

header nav {
    max-width: 100%; /* 最大幅を100%に設定 */
    margin: 0 auto; /* 中央揃え */
}

header a {
    text-decoration: none;
    color: #000;
}

header a:hover {
    text-decoration: none;
    color: #7676D0;
}


.slider {
  position: relative;
  display: flex;
}

.swiper1,
.swiper2 {
  z-index: -2;
  width: 100%; /* 幅を100%に調整 */
  height: 50vh; /* 画面の高さの50%に設定 */
}

.swiper-slide img {
  width: 100%;
  height: 100%; /* 画面の高さいっぱいに表示 */
}
.catchcopy {
  margin-top: -50px;
}
.catchcopy-inner {
  width: 90%; /* 幅を90%に調整 */
  max-width: 1024px; /* 最大幅を設定 */
  margin: 0 auto; /* 水平方向に中央揃え */
}
  .catchcopy-item {
    flex-direction: column; /* 画像とテキストを縦に並べる */
    align-items: center; /* 中央に配置 */
}

  .catchcopy-media,
  .catchcopy-text {
    width: 100%; /* 幅を100%に設定 */
    margin-bottom: 32px; /* 下のマージンを追加 */
    text-align: center;
}
.catchcopy h1 {
  font-size: 1.5rem;
}
.catchcopy-text p {
  width: 100%;
  letter-spacing: 9px;
  margin: -20px 0;
}
.menu-inner {
  max-width: 1024px;
  width: 90%; /* 幅を90%に調整 */
}

.menu-tittle {
  width: auto; /* 幅を自動調整 */
  text-align: center; /* 中央揃え */
  border-right: none; /* 右のボーダーを削除 */
  margin-right: auto; /* 右のマージンを自動調整 */
  margin-left: auto; /* 左のマージンを自動調整 */
  padding-bottom: 20px; /* 下のパディングを追加 */
}

.menu-tittle h2 {
  font-size: 4rem; /* フォントサイズを調整 */
}

.menu-tittle p {
  font-size: 1.3rem; /* フォントサイズを調整 */
  margin-bottom: 10px; /* マージンを調整 */
}

.menu-item {
  justify-content: center; /* アイテムを中央揃え */
}

.menu-card {
  width: 90%; /* 幅を90%に調整 */
  max-width: 320px; /* 最大幅を設定 */
  margin-bottom: 30px; /* マージンを調整 */
}

.menu-card-media::after {
  height: 30px; /* 高さを調整 */
}

figcaption {
  font-size: 20px; /* フォントサイズを調整 */
  bottom: 6px; /* ボトムの位置を調整 */
}
/* コース */
.course-inner {
  width: 90%; /* 幅を90%に調整 */
  max-width: 1024px; /* 最大幅を設定 */
  margin: 0 auto; /* 水平方向に中央揃え */
}
.course-inner h2 {
  font-size: 1rem;
}  
.course-inner h1 {
  font-size: 2rem;
}  
.course-inner h3 {
  font-size: 0.75rem;
}  
.course-card img {
  width: 100%;
  height: 100%;
}  
.course-inner p {
  font-size: 0.7rem;
}
.submenu-inner {
  width: 100%;
  height: 100%;
  margin: 100px auto;
}

.submenu-inner h2 {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 80px;
}

.submenu-item1 {
  display: flex;
  flex-direction: column; /* 子要素を縦に並べる */
  align-items: center; /* 子要素を中央揃え */
}

.submenu-card {
  width: 300px;
  height: 300px; /* 適切な高さに設定してください */
  margin: 0 auto; /* 水平方向に中央揃え */
  background-color: #fff;
  border-radius: 40px;
  box-shadow: 5px 5px 15px rgb(0, 0, 0, 0.5), -5px -5px 15px rgb(0, 0, 0, 0.5);
}

.submenu-card:hover {
  transform: scale(1.1, 1.1);
  transition: 0.5s;
  background: rgb(34, 18, 152);
  color: #fff;
}

.submenu img {
  border-radius: 40px 40px 0 0;
  height: 70%;
  display: block; /* 画像を中央揃え */
  margin: 0 auto;
  object-fit: cover;
}

.submenu h3 {
  font-size: 2.5rem;
  margin: 0 auto;
  text-align: center;
}

.submenu a {
  text-decoration: none;
}  .review-iframe {
  width: 100%;
  height: 100%;
}
footer {
  max-width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column; /* フッターコンテンツを縦方向に配置 */
  align-items: center; /* 要素を中央揃え */
  justify-content: center; /* コンテンツを中央に配置 */
  margin: 0 4%;
}

footer ul {
  margin-top: 20px; /* リストの上部マージンを調整 */
}

footer ul li {
  display: block; /* リスト項目をブロック要素に変更 */
  margin: 10px 0; /* マージンを調整 */
  text-align: center; /* テキストを中央揃え */
}

footer a {
  color: #fff;
  text-decoration: none;
}
/* 共通 */
.main-inner {
  width: 80%; /* 幅を100%に設定 */
  max-width: 1024px;
  margin-top: -150px;
}  
.main {
  width: 100%; /* 幅を100%に設定 */
}  
.separate-top {
  position: relative;
  width: 100%;
  height: 300px;
}
.separate-top img {
  width: 100%;
  height: 150px;
}
.separate-top h2 {
  position: absolute;
  top: 40%; /* 上端の位置を50%に設定 */
  left: 50%; /* 左端の位置を50%に設定 */
  transform: translate(-50%, -60%); /* 中央寄せ */
  font-size: 2rem;
}
/* コンタクト */
.contact {
  max-width: 100%;
  padding: 20px; /* 画面が小さいため、パディングを減らします */
  background: #7676D0;
}

.contact-inner {
  max-width: 90%; /* iPhone 15に適した幅に調整 */
  margin: 0 auto;
  display: flex;
  justify-content: center; /* アイテムを中央揃え */
  flex-wrap: nowrap; /* アイテムが横並びになるように設定 */
}

.contact-item {
  margin: 10px; /* 画面が小さいため、マージンを減らします */
  background: rgb(0, 0, 0);
  width: 150px; /* アイテムの幅を細く調整 */
  height: 75px; /* アイテムの高さを調整 */
  border: #fff solid 4px; /* ボーダーサイズを調整 */
  border-radius: 0 0 12px 0; /* ボーダーの角丸を調整 */
  text-align: center;
  position: relative;
}

.contact-item:hover {  
  background: rgb(218, 114, 114);
}

.contact-item a {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
  font-size: 1.5rem; /* 画面が小さいため、フォントサイズを縮小します */
  line-height: 75px; /* 垂直方向に中央揃え */
  color: #fff;
}
.dropbtn {
  padding: 1px;
  font-size: 0.4rem;
  border: 1px solid;
}

.dropdown-content {
  min-width: 120px;
  right: 0;
}

.dropdown-content a {
  padding: 8px 12px;
  font-size: 14px;
}
.review {
  margin:  auto; /* セクションを中央揃えにする */
  width: 80%; /* セクションの幅を調整 */
  max-width: 1024px; /* 最大幅を1024pxに制限 */
  padding: 20px; /* 内側の余白を追加 */
}

.review h2 {
  text-align: center; /* 見出しを中央揃えにする */
  font-size: 1rem; /* 見出しのフォントサイズを調整 */
  margin-bottom: 20px; /* 見出しの下に余白を追加 */
}

.review .review-iframe {
  display: block; /* iframeをブロック要素にする */
  margin: 0 auto; /* iframeを中央揃えにする */
  width: 100%; /* iframeの幅を100%に設定 */
  height: 500px; /* iframeの高さを指定（適切な高さに調整） */
}
}
/* モーダルウィンドウの背景 */
.modal-background {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9); /* バックドロップの透明度 */
  z-index: 1000;
  overflow: hidden; /* スクロールを無効にする */
}

/* モーダルの内容をスタイリング */
.modal-content {
  color: #000;
  background-color: #ffffff;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 20px;
  border-radius: 5px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  text-align: center;
}

.up18 {
  margin-top: 10px;
  width: 70px;
  padding: 5px;
  color: #fff;
  background: rgb(172, 172, 172);
  margin-right: 5px;
  box-shadow: 2px 2px 10px black;
}

.down18 {
  margin-top: 10px;
  width: 70px;
  padding: 5px;
  color: #fff;
  background: rgb(172, 172, 172);
  margin-right: 5px;  box-shadow: 2px 2px 10px black;
}
.up18:hover {
  transform: scale(1.1);
  background: rgb(255, 0, 0);
}
.down18:hover {
  transform: scale(1.1);
  background: blue;
}

