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

* {
  margin: 0;
  padding: 0;
  text-decoration: none;
}

body {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  background-color: #f1f1f1;
  width: 100%;
  color: #000000;
  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);
}
a {
  color: #000;
}
.header-logo {
  margin-left: 170px;
  margin-bottom: 20px;
}
.header-logo img {
  width: 200px;
  height: auto;
}
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;
}

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; /* リンクの下線を削除 */
  font-size: 1rem; /* リンクのフォントサイズを設定 */
  font-weight: bold;
  color: #000;
}

.language {
  position: relative;
}
.dropbtn {
  width: 100%;
  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;
}
.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;
  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: #bdbdbd;
}
/* 全ページ共通 */
.is-show {
  background: #fff;
  filter:drop-shadow(0px 3px 6px rgba(0, 0, 0, 0.16));
  opacity: 1;
}
.main-inner {
  background: #ffffff;
  width: 1100px;
  margin: 0 auto;
  padding: 40px 30px 100px;
  background-color: rgb(255, 255, 255);
  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;
}
/* 共通文字装飾 */
.border_box2 {
  margin: 20px auto;
  padding: 15px;
  text-align: center;
  width: 900px;
  border: 1px solid #adadad;
  background: #f4f4f4;
}
.border_bottom01 {
  display: inline-block;
  border-bottom: 3px solid #392183;
}
.textset01 {
  margin-bottom: 20px;
}
.normaltext02 {
  display: inline-block;
  margin-bottom: 60px;
  border-bottom: #392183 2px solid;
}
.normaltext03 {
  display: inline-block;
  margin: 15px;
  background-color: #fff;
  border: #000 solid;
  color: #000000;
  padding: 10px;
}
.normaltext04 {
  display: inline-block;
  margin: 15px;
  background-color: #45bf38;
  color: #fff;
  padding: 10px;
}
.normaltext05 {
  display: inline-block;
  margin: 15px;
  background-color: #3899bf;
  color: #fff;
  padding: 10px;
}
.gold_boldtext {
  color: rgb(173, 107, 32);
  font-weight: bold;
}
.redtext {
  color: rgb(255, 0, 0);
  font-weight: bold;
}
.yellow_boldtext {
  display: inline-block;
  font-size: 1.5rem;
  margin: 10px 0;
  background:linear-gradient(tranulesparent 60%,#eded6c 50%,#fafa00 90%);
}
.neivietext {
  color: #362d7d;
  font-weight: bold;
}
.futoi {
  font-size: 1.2rem;
  font-weight: bold;
}
.font_bold {
  font-weight: bold;
}
@media (max-width: 1024px) {
.border_box2{
  width: 100%;
  font-size: 0.6rem;
  border: 1px solid rgb(92, 92, 92);
}
.yellow_boldtext {
  display: inline-block;
  font-size: 0.7rem;
  margin: 10px 0;
  background:linear-gradient(transparent 60%,#eded6c 50%,#fafa00 90%);
}
.normaltext02 {
  font-size: 0.7rem;
  margin-bottom: 20px;
}
.normaltext03 {
  margin: 15px 0 5px 0;
}
.normaltext05, .border_bottom01, .gold_boldtext {
  font-size: 0.6rem;
  margin: 10px;
}
.redtext {
  color: rgb(255, 0, 0);
  font-weight: bold;
  font-size: 0.7rem;
}
}
/* お問い合わせ */
.contact {
  width: 100vw; /* ビューポート幅いっぱいに広げる */
  background: #f1f1f1;
}

.contact-inner01 {
  max-width: 100%; /* コンテンツの最大幅を1024pxに設定 */
  display: flex;
}
.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: #bdbdbd;
}

.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;
}
/* トップのストア情報 */
.top-store {
  width: 100%;
  height: 100%;
  text-align: center;
  background-color: #f1f1f1;
  padding: 20px 0;
}
.top-store h3 {
  font-size: 3rem;
}
.top-store h4 {
  font-size: 2.5rem;
}
.top-store p {
  font-size: 1.5rem;
}
/* イメージリンク */
.imagelink {
  width: 100%;
  margin: 0 auto;
  padding: 40px 0;
  text-align: center;
  background: #f1f1f1;
}

.imagelink img:hover {
  transform: scale(1.05);
}

.imagelink img {
  width: 1024px;
  height: 400px;
  border: solid 0px #fff;
  margin-bottom: 30px;
  box-shadow: 10px 10px 15px black;
}

.imagelink a {
  position: relative;
  color: #000;
  text-decoration: none;
  text-decoration-line: none;
  font-size: 2rem;
  margin-bottom: 30px;
}
.imagelink h3 {
  width: 1024px;
  color: #000000;
  text-decoration: none;
  text-decoration-line: none;
  margin: 20px auto;
}
/* X 埋め込み */
.twitter {
  width: 1024px;
  margin: 20px auto;
}

.twitter-tweet {
  margin: 0 auto;
}
.twitter h3 {
  margin-bottom: 20px; /* ツイートの上に少し間隔をあける */
  font-size: 2rem;
}
/* トップスライダー */
.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: #f1f1f1;
  padding: 64px 0;
}

.catchcopy-en {
  width: 100%;
  background-color: #f1f1f1;
  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: #000000;
  text-align: center;
}
.catchcopy-en h1 {
  font-size: 2rem;
  letter-spacing: 0.15em;
  line-height: 1;
  margin-bottom: 40px;
  color: #000000;
  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%に設定 */
}

.catchcopy-text {
  flex: 0 0 50%; /* テキストの幅を50%に設定 */
}
.catchcopy p {
  font-size: 1rem; /* テキストのフォントサイズを調整 */
  color: #000000; /* テキストの色を設定 */
  line-height: 45px;
  letter-spacing: 15px;
}
/* メニュー */
.menu {
  background-color: #f1f1f1;
  z-index: 2;
  padding: 80px 0;
}

.menu-inner {
  width: 90%; /* Adjusted width for responsiveness */
  max-width: 1024px; /* Added max-width for larger screens */
  margin: 0 auto; /* Center the menu horizontally */
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.menu-item {
  flex: 0 0 calc(33.33% - 20px); /* Adjusted width for smaller screens */
  margin-bottom: 20px;
  transition: transform 0.3s ease; /* Added transition for smooth movement */
}

.menu-item:hover {
  transform: translateY(-5px); /* Move the item up slightly on hover */
}

.menu-card {
  overflow: hidden;
  position: relative; /* Set position relative for absolute positioning */
}

.menu-media {
  position: relative; /* Ensure relative positioning for absolute positioning inside */
}

.menu-media img {
  width: 100%;
  height: 200px; /* Set a fixed height for the images */
  object-fit: cover; /* Ensure images cover their container */
}

.menu-media h3 {
  position: absolute; /* Position the heading absolutely */
  width: 100%; /* Make the heading cover the entire width of the image */
  bottom: 3%; /* Align it to the bottom */
  left: 0; /* Align it to the left */
  background-color: rgba(255, 255, 255); /* Semi-transparent background */
  padding: 10px;
  margin: 0;
  text-align: center;
}

.menu-item-box {
  padding: 20px;
  line-height: 2;
}

@media (max-width: 1024px) {
  .menu {
    padding-top: 0;
  }
  .menu-item {
    flex: 0 0 calc(50% - 20px); /* Adjusted width for smaller screens */
  }
}
@media (max-width: 768px) {
  .menu-item {
    flex: 0 0 calc(100% - 20px); /* Adjusted width for even smaller screens */
  }
}
/* コース説明 */
.course {
  max-width: 100%;
  padding: 64px 0;
  background-color: #fff;
  text-align: center;
}
.course p {
  line-height: 2;
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 50px;
}
.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: 2;
  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;
}
/* twitter */
.twitter-wrapper {
  width: 90%;
  margin: 0 auto;
}

.twitter-tittle {
  width: 100%; /* タイトルを横幅いっぱいに広げる */
  margin-bottom: 20px; /* 下マージンを追加してタイトルと画像の間隔を調整 */
  text-align: center; /* タイトルを中央揃えにする */
  font-size: 2rem;
}

.twitter-item {
  display: flex; /* 要素を横並びに配置する */
  flex-wrap: wrap; /* 要素が横幅を超えた場合に折り返す */
}

.twitter {
  width: calc(25% - 20px); /* 幅を均等に分割し、マージンを除いた幅を指定 */
  margin-right: 20px; /* 右マージンを追加して要素間の間隔を調整する */
  margin-bottom: 20px; /* 下マージンを追加して行間を調整する */
}

.twitter:last-child {
  margin-right: 0; /* 最後の要素の右マージンを削除する */
}

.twitter img {
  display: block; /* 画像をブロック要素として扱い、幅いっぱいに表示する */
  width: 100%; /* 画像を幅いっぱいに表示する */
  height: auto;
  margin-bottom: 10px; /* 画像の下に余白を追加 */
}




/* 口コミ */
.review {
  padding: 40px;
  color: #000;
  text-align: center;
  background-color: #fff;
}
.review h2 {
  font-size: 3rem;
  margin-bottom: 60px;
}
iframe {
  width: 1024px; /* iframeの幅を100%に設定 */
  height: 400px; /* iframeの高さを指定 */
  border: 1px solid; /* 枠線を非表示にする */
}
/* ストア */
.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;
  padding: 0 4%;
  background-color: #000;
}
footer ul li {
  display: inline-block;
  margin-left: 20px;
}
footer ul li a {
  color: #fff;
  text-decoration: none;
}
footer h2  {
  color: #fff;
}
footer h2 a {
  color: #fff;
}
/* イメージメニュー */
.image-menu {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 20px; /* 上部のマージン */
}

.image-menu a {
  margin-bottom: 20px; /* 各要素の間のマージン */
  text-decoration: none;
  color: inherit;
}

.image-menu img {
  width: 1024px; /* 画像の幅を1024pxに設定 */
  height: 400px; /* 画像の高さを500pxに設定 */
  object-fit: cover;
}
/* スマホ用 */
/* スマートフォン向けのレスポンシブスタイル */
@media (max-width: 1024px) {
  .image-container {
    width: 100%;
    background-color: #000;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: minmax(0, auto); /* 必要に応じて調整 */
    grid-gap: 0; /* グリッド間の隙間をゼロに設定 */
    }
  .image-container img {
    max-width: 100%;
    height: auto;
    display: block;
  }  
  .image-container p {
    color: rgb(255, 255, 255);
    font-size: 0.2rem;
  }  
  .l-header {
    padding: 10px;
  }
  .l-header-sub {
    padding: 10px;
  }
  .header-logo {
    margin-left: 20px;
  }
  .header-logo img {
    width: 90%;
    height: auto;
  }  
  header h1 {
    font-size: 1.2rem; /* h1のフォントサイズを調整 */
  }

  header h2 {
    font-size: 0.4rem; /* h2のフォントサイズを調整 */
  }

  nav {
    width: 100%;
    max-width: none;
    margin: 0 auto;
  }

  nav ul {
    width: 100%;
    margin: 0 auto;
    height: 28px;
    padding-bottom: 10px;
    justify-content: space-between;
  }

  nav ul li {
    margin-right: 5px;
  }

  nav ul li a {
    font-size: 0.5rem; /* ナビゲーションリンクのフォントサイズを調整 */
  }
  .header-top {
    width: 100%;
  }
  .header-logo h1 {
    font-size: 0.9rem;
  }
  .header-logo h2 {
    display: none;
  }
  .contact {
    width: 100%;
    height: 100px;
    background-color: #f1f1f1;
  }
  .contact-item01 {
    border: 1px white;
    height: auto;
    font-size: 0.5rem; /* コンタクトアイテムのフォントサイズを調整 */
  }
  .contact-item {
    border: 3px white solid;
  }
  .contact-item01 a {
    font-size: 0.4rem; /* コンタクトアイテムのフォントサイズを調整 */
    line-height: 20px;
  }

  .dropbtn {
    font-size: 0.4rem; /* ドロップダウンボタンのフォントサイズを調整 */
  }

  .dropdown-content {
    min-width: auto;
  }

  .dropdown-content a {
    font-size: 0.8rem; /* ドロップダウンメニューのリンクのフォントサイズを調整 */
  }

  
.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: 100vw; /* 幅を100%に設定 */
    margin-bottom: 32px; /* 下のマージンを追加 */
    text-align: center;
}
.catchcopy h1 {
  font-size: 1.5rem;
}
.catchcopy-text p {
  width: 100%;
  letter-spacing: 9px;
  margin: -20px 0;
}
/* メニュー */
/* top-store */
.top-store {
  height: 100%;
}
.top-store h3 {
  font-size: 1.5rem;
}
.top-store h4 {
  font-size: 1.2rem;
}
.top-store p {
  font-size: 0.8rem;
}
/* コース */
.course {
  padding: 20px;
}
.course-inner {
  width: 90%; /* 幅を90%に調整 */
  max-width: 1024px; /* 最大幅を設定 */
  margin: 0 auto; /* 水平方向に中央揃え */
}
.course-inner h2 {
  font-size: 1rem;
}  
.course-inner h1 {
  font-size: 1rem;
}  
.course-inner h3 {
  font-size: 0.5rem;
}  
.course-card {
  width: 100%;
  height: 100%;
  margin: 20px 0;
  gap: 16px;
}  
.course-media img {
  width: 100%;
  height: 100px;
}  
.course-inner p {
  font-size: 0.6rem;
}
/* ツイッター */
.twitter-tittle {
  font-size: 1rem;
}

/* フッター */
footer {
  max-width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column; /* フッターコンテンツを縦方向に配置 */
  align-items: center; /* 要素を中央揃え */
  justify-content: center; /* コンテンツを中央に配置 */
}

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

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

footer ul li a {
  color: #fff;
  text-decoration: none;
}
/* 共通 */
.main-inner {
  width: 95%; /* 幅を100%に設定 */
  max-width: 1024px;
  margin-top: -150px;
}  
.main {
  width: auto; /* 幅を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;
}
/* イメージリンク */
.imagelink {
  width: 100%;
  margin: 0 auto;
  padding: 40px 0;
  text-align: center;
  background: #f1f1f1;
}

.imagelink img:hover {
  transform: scale(1.05);
}

.imagelink img {
  width: 100%; /* 幅を100%に設定して親要素に合わせる */
  max-width: 1024px; /* 最大幅を1024pxに制限 */
  height: 200px; /* 高さを自動調整 */
  margin-bottom: 10px;
  box-shadow: 10px 10px 15px black;
}

.imagelink a {
  position: relative;
  color: #000;
  text-decoration: none;
  text-decoration-line: none;
  font-size: 2rem;
  margin-bottom: -30px;
  display: inline-block;
  width: 100%; /* 幅を100%に設定して親要素に合わせる */
  max-width: 1024px; /* 最大幅を1024pxに制限 */
}

.imagelink h3 {
  width: 100%; /* 幅を100%に設定して親要素に合わせる */
  max-width: 1024px; /* 最大幅を1024pxに制限 */
  color: #000000;
  font-size: 1.5rem;
  text-decoration: none;
  text-decoration-line: none;
  margin: 20px auto;
}
.twitter {
  max-width: 90%; /* 1024px未満の場合、幅を90%に制限 */
}
/* コンタクト */
  .contact-inner01 {
    width: 100%;
    height: 100px;
    margin-bottom: 40px;
  }
  .contact-inner {
    width: 150px;
    height: 30px;
  }
  .contact-item a {
    font-size: 1rem; /* フォントサイズを調整 */
    line-height: 50px; /* 行の高さを調整 */
    margin: 20px 0; /* 上下のマージンを調整 */
  }
/* 口コミ */
.review {
  margin: 0 auto; /* セクションを中央揃えにする */
  width: 100%; /* セクションの幅を調整 */
  max-width: 1024px; /* 最大幅を1024pxに制限 */
  padding: 20px; /* 内側の余白を追加 */
}

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

.review .review-iframe {
  display: block; /* iframeをブロック要素にする */
  margin: 0 auto; /* iframeを中央揃えにする */
  width: 100%; /* iframeの幅を100%に設定 */
  height: 450px; /* iframeの高さを指定（適切な高さに調整） */
}
.lp-link {
  width: 100%;
  height: auto;
}
.lp-link img {
  width: 100%;
  height: 200px;
}

}
/* モーダルウィンドウの背景 */
.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;
}

/* フッターリンク全体のスタイル */
/* フッターリンク全体のスタイル */
.footer_link {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* タブレット以上の場合は2つの等幅カラム */
  grid-gap: 5px; /* グリッドアイテム間の余白 */
  background-color: #000;
}

/* 各リンクアイテムのスタイル */
.link-item {
  position: relative; /* 相対位置指定 */
  height: 100%; /* リンクアイテムの高さを親要素に合わせる */
}

.link-item a {
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  font-size: 32px;
  text-decoration: none; /* リンクの下線を削除 */
}
@media (max-width: 1024px) {
  .link-item a {
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    font-size: 10px;
  }  
}
/* リンク画像のスタイル */
.link-item img {
  width: 100%; /* 画像の幅を100%に設定 */
  height: 100%; /* 高さも100%に設定 */
  object-fit: cover; /* 画像を均一にする */
}

.link-item:hover {
  opacity: 0.5;
}
