@font-face {
  font-family: "fot-tsukuardgothic-std", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-family: "";
  src: url("") format("");
}

.FOT-Tsuku-R {
  font-family: "fot-tsukuardgothic-std", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.FOT-Tsuku-B {
  font-family: "fot-tsukuardgothic-std", sans-serif;
  font-weight: 700;
  font-style: normal;
}

p {
  font-family: "fot-tsukuardgothic-std", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.theme-explanation {
  border-color: hsl(283, 100%, 84%);
  border-radius: 10%;
}

/*  style="width:300px;" */
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=UTF8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='white' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

/* ボタンの色をホバー時に変更 */
.btn-rect {
  transition: fill 0.3s;
  /* スムーズな変化 */
}

/* ホバー時の色変更 */
#button-link-1:hover .btn-rect,
#button-link-2:hover .btn-rect,
#button-link-3:hover .btn-rect,
#button-link-4:hover .btn-rect,
#button-link-5:hover .btn-rect {
  fill: hsl(283, 100%, 84%);
}

/* テキストのホバー時の色変更 */
#button-link-1:hover .btn-text,
#button-link-2:hover .btn-text,
#button-link-3:hover .btn-text,
#button-link-4:hover .btn-text,
#button-link-5:hover .btn-text {
  fill: black;
}

/* モーダルの背景色とテキストの色をカスタマイズ */
.modal-content {
  background-color: #f0f8ff;
  /* モーダル全体の背景色 */
  color: #333;
  /* テキストの色 */
  width: 90%;
  margin: 0 auto 0 auto;
}

/* mt-3=1に倣って作成してます */
.mt-24 {
  margin-top: 8rem;
}

.mb-15 {
  margin-bottom: 5rem;
}

@font-face {
  font-family: 'BananaFont';
  src: url('../fonts/YDWbananaslipplus.otf') format('truetype');
}

.sponsor-images {
  justify-content: center;
  align-content: center !important;
  margin-right: auto;
  margin-left: auto;
  /* display: flex; */
  align-items: center;

}

.sponsor-img {
  max-width: auto;
  height: 40px;
  transition: transform 0.2s;

}

.sponsor-img:hover {
  transform: scale(1.05);
}

/*2024旭祭用*/

.text {
  font-family: "fot-tsukuardgothic-std", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 16px;
}

.title {
  font-size: 200%;
  font-family: "fot-tsukuardgothic-std", sans-serif;
  font-weight: 600;
  font-style: normal;
  color: #fca0ce;
  display: inline-block;
  /* 文字幅に合わせる */
  position: relative;
  padding-bottom: 20px;
}

.title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  /* 文字幅に合わせる */
  height: 7%;
  background: repeating-linear-gradient(-22deg, #fca0ce, #fca0ce 4px, #fff 4px, #fff 8px);
  margin-bottom: 25px;
}

/* 過去サイトがまとめられているnotionに飛ぶためのボタンです */

.site-button {
  /* margin-top: 3rem; */
  display: inline-block;
  border-radius: 60px;
  font-size: 140%;
  text-align: center;
  cursor: pointer;
  padding: 12px 12px;
  background: #ffb8e0;
  color: #ffffff;
  line-height: 1em;
  transition: .2s;
  box-shadow: 4px 4px 6px #ffb8b8;
  border: 2px solid #ffa3d7;
  text-decoration: none;
}

.site-button:hover {
  background-color: #ffb8b8;
  border: 2px solid #ffa3d7;
  /* ホバー時に色が濃くなる */
  color: #1b0a0a;
}

.sponsor-images {
  justify-content: center;
  align-content: center !important;
  margin-right: auto;
  margin-left: auto;
  /* display: flex; */
  align-items: center;

}

.sponsor-img {
  max-width: auto;
  height: 40px;
  transition: transform 0.2s;

}

.sponsor-img:hover {
  transform: scale(1.05);
}

.fab:hover {
  color: darkgrey;
}

.guest-img {
  width: 70%;
  margin-right: auto;
  margin-left: auto;
  border-radius: 20px;
  transition: transform 0.2s ease-in-out;
}

.guest-img:hover {
  transform: scale(1.05);
}

.guest-img-tmp {
  width: 70%;
  margin-right: auto;
  margin-left: auto;
  border-radius: 20px;
}

.bg-thema {
  background-color: #ffa3d7;
}

.text-thema {
  color: #ffa3d7;
  color: #771d24;
}

/* ピンクのヘッダー背景 */
.navbar {
  background-color: #e27ca9;
  position: fixed;
  /* ヘッダーを固定表示 */
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  /* ヘッダーを最前面に表示 */
}

.navbar-brand {
  z-index: 1050;
}

.offcanvas {
  position: fixed;
  top: 0;
  right: -50%;
  /* メニューを画面外に隠す */
  width: 50vw;
  max-width: none;
  min-width: unset;
  height: 100vh;
  background-color: #e27ca9;
  transition: transform 0.4s ease-in-out;
  z-index: 1000;
}


.offcanvas.show {
  opacity: 1;
  transform: translateX(0);
}

.offcanvas-backdrop {
  display: none !important;
}

.offcanvas-body.show {
  right: 0;
  
}

.offcanvas-body .navbar-nav {
  padding-left: 0;
}

.offcanvas-body .nav-item {
  text-align: center;
  padding: 10px 0;
}

.offcanvas-body .nav-link,
.offcanvas-title {
  display: block;
  padding: 12px 10px;
  color: white;
  font-size: 18px;
  font-weight: bold;
}

.offcanvas-body .nav-link:hover {
  background-color: white;
  color: #e27ca9;
  border-radius: 5px;
}

.nav-link {
  padding: 10px;
  /* メニュー項目の間隔を調整 */
  font-size: 18px;
  color: #ffffff;
  border-radius: 7px;
  transition: background-color 0.3s, color 0.3s;
}

.nav-link:hover,
.nav-link:focus {
  background-color: #ffffff;
  color: #e27ca9;
}

.nav-link:active {
  background-color: #e27ca9;
  color: #ffffff;
}

.offcanvas.offcanvas-end {
  width: 70vw !important;
  /* 画面幅の50%にする */
}

.navbar-toggler:focus,
.navbar-toggler:active {
  outline: none;
  box-shadow: none;
  border: none !important;
  background: transparent !important;
}

/* 人物紹介css */
/* 人物を横並びにする */
.profile-wrapper {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  /* 画面サイズが小さいときは折り返し */
  gap: 20px;
  /* 間隔を調整 */
}

/* 人物要素 */
.profile-item {
  text-align: center;
  cursor: pointer;
}

/* 画像を正円にして枠をつける */
.profile-container {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid #e27ca9;
  /* 枠線 */
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.profile-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

/* 名前部分 */
.profile-text {
  font-family: "fot-tsukuardgothic-std", sans-serif;
  font-weight: 400;
  font-style: normal;
  margin-top: 8px;
  font-size: 1rem;
  font-weight: bold;
  color: #333;
}

.profile-item:hover .profile-text {
  text-decoration: none;
  color: #e27ca9;
  /* ホバー時の色変更 */
}

/* 本文のスタイル */
.modal-text {
  font-family: "fot-tsukuardgothic-std", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 1.25rem;
  line-height: 1.8;
  letter-spacing: 1px;
  text-align: left;
}

/* 画像をモーダルの幅に依存 */
.modal-img {
  width: 70%;
  height: 70%;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid #e27ca9;
  /* 枠線 */
}

/* SVGを使った閉じるボタン */
.btn-close-custom {
  position: absolute;
  top: -20px;
  /* モーダルの外にはみ出す */
  right: -20px;
  /* モーダルの外にはみ出す */
  background: whitesmoke;
  border: none;
  cursor: pointer;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  transition: 0.3s;
  z-index: 1051;
  /* 最前面に表示 */
}

.btn-close-custom-2 {
  position: absolute;
  top: auto;
  bottom: -10px;
  /* モーダルの外にはみ出す */
  right: 45%;
  /* モーダルの外にはみ出す */
  background: whitesmoke;
  border: none;
  cursor: pointer;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  transition: 0.3s;
  z-index: 1050;
  /* 最前面に表示 */
}

/* ホバー時に色を変える */
.btn-close-custom:hover {
  background: #ffec45;
  color: whitesmoke;
}

/* スマホ版のボタン位置（画面幅 以下） */
@media (max-width: 576px) {
  .btn-close-custom {
    top: 10px;
    /* 上の位置指定を解除 */
    right: 0;
    /* 右の位置指定を解除 */
    bottom: auto;
    /* モーダルの下に配置 */
    left: auto;
    /* 中央揃え */
    /* transform: translateX(-50%); */
    /* 完全に中央へ */
  }
  .btn-close-custom-2{
    bottom: -10px;
    /* 上の位置指定を解除 */
    right: 45%;
    /* 右の位置指定を解除 */
    top: auto;
    /* モーダルの下に配置 */
    left: auto;
    display: flex;
  }
}

/* 局紹介用 */
.profile-square {
  width: 120px;
  height: 120px;
  border-radius: 10px;
  overflow: hidden;
  border: 4px solid #e27ca9;
  /* 枠線 */
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* 人物要素 */
.profile-item {
  text-align: center;
  cursor: pointer;
}

/* 画像を正円にして枠をつける */
.square-container {
  width: 300px;
  height: 200px;
  border-radius: 10px;
  overflow: hidden;
  border: 4px solid #e27ca9;
  /* 枠線 */
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.square-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 5px;
}

.speech-bubble {
  position: relative;
  top: auto;
  left: auto;
  background: #ffb8d7;
  padding: 5px;
  border-radius: 10px;
  max-width: 80%;
  margin: 10px auto;
}

.speech-bubble::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 20px;
  width: 0;
  height: 0;
  border-top: 10px solid #ffb8d7;
  border-right: 10px solid transparent;
  border-left: 10px solid transparent;
}

.square-modal-img {
  width: auto;
  height: auto;
  border-radius: 10px;
  margin-right: 10px;
  border: 4px solid #e27ca9;
}

.square-modal-Rimg {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin-right: 10px;
  border: 2px solid whitesmoke;
}

.comment {
  font-size: 14px;
  color: #333;
  position: relative;
  top: 10px;
  text-align: left;
}

.greetingM {
margin-top: 10rem;
margin-bottom: 5rem;
}
.kurutonsize {
  margin-top: 5rem;max-width: 40%;
  animation: kurukuruton 2s linear infinite alternate;
}


@media screen and (min-width:768px)  { 
  .greetingM { margin-top: 1rem;}
  .kurutonsize { margin-top: -7rem;
    max-width: 30%;}
}

@keyframes kurukuruton {
  0% {
    transform: translate(-2rem, 0);
  }
  50% {
    transform: translate(0, -1rem);
  }
  100% {
        transform: translate(2rem, 0);
      }
}

.eventimg {
  border:4px solid #e27ca9;
  border-radius: 10px ;
  width:80%;
}

.footer {
  background-color: #e27ca9;
  width: 100%;
  height: auto;
}

.footer-icon {
  padding: 1rem 20% 1rem 20%;
  margin-top: 0;
  display: flex;
  justify-content: space-between;
  transition: background-color 0.3s ease;
}

/* 花びらのスタイル */
.falling-object {
  position: fixed;
  top: -20px;
  width: 20px;
  height: 20px;
  background-color: pink;
  border-radius: 50% 80% 50% 80%; /* 花びらの形に調整 */
  opacity: 0.4;
  z-index: -1;
}

/* 落下アニメーション（速度を遅くした） */
@keyframes fall {
  to {
      transform: translateY(100vh); /* 画面の下まで落とす */
  }
}