/* 
＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝
共通パーツ
＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝
*/
.mx-auto {
  margin-left: auto;
  margin-right: auto;
}
.mb-1 {
  margin-bottom: 1rem;
}
.text-lg {
  font-size: 1.6rem;
} /* 16px */
.leading-relaxed {
  line-height: 1.6;
}

a {
  text-decoration: none;
}
a:hover {
  opacity: 0.7;
  cursor: pointer;
}

.flex {
  display: flex;
}
.flex-col {
  flex-direction: column;
}
.flex-row {
  flex-direction: row;
}
.items-start {
  align-items: flex-start;
}
.items-center {
  align-items: center;
}
.grid {
  display: grid;
}
.gap-10 {
  gap: 2.5rem;
}

#obentou-back {
  background-image: url("../../bento-photo/images/bento-back.png");
  background-repeat: repeat;
  color: #4d3831;
}

/* 
＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝
KVパーツ&aboutパーツ
＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝
*/
#obentou-back-kv-about {
  background-image: url("../../bento-photo/images/bento-back-kv-about-sp.png");
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: 100%;
  padding: 20px 10px 100px 10px;
}

.kv-content {
  max-width: 980px;
  width: 100%;
  margin: 0px auto 20px auto;
}

.kv-img {
  display: block;
  max-width: 940px;
  width: 100%;
  margin: 0px auto 20px auto;
}

.about-content {
  max-width: 980px;
  width: 100%;
  margin: 0px auto 20px auto;
}

.about-img {
  display: block;
  max-width: 200px;
  width: 100%;
  margin: 0px auto 20px auto;
}

.about-text-box {
  display: block;
  max-width: 320px;
  width: 100%;
  background-color: #fff9f2;
  border: 2px solid #ad8575;
  border-radius: 15px;
  padding: 30px;
  margin: 0px auto 40px auto;
  font-size: 14px;
}

.about-text-box2 {
  font-size: 16px;
  text-align: center;
  font-weight: bold;
}

.about-subtitle {
  display: block;
  text-align: center;
  margin-bottom: 24px;
  font-size: 22px;
  color: var(--color-red);
}

/* 
＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝
judgesパーツ
＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝
*/
#judges-back {
  background-image: url("../../bento-photo/images/judges-back.png");
  background-repeat: repeat;
  padding-top: 60px;
  padding-bottom: 30px;
}

.judges-content {
  max-width: 980px;
  width: 100%;
  margin: 0px auto 20px auto;
  padding: 0px 10px;
}

.judges-img {
  display: block;
  max-width: 626px;
  width: 100%;
  margin: 0px auto 40px auto;
}

.judges-column {
  background-color: #fff9f2;
  box-shadow: 4px 4px 6px rgba(112, 112, 112, 0.9);
  border-radius: 15px;
  padding: 15px 15px;
  margin-bottom: 24px;
}

.judges-column-in-sp {
  margin-bottom: 24px;
}

.judges-column-in2-sp {
  text-align: left;
}

.judges-column-in-pc {
  text-align: left;
}

.judges-column-img {
  display: block !important;
  max-width: 180px !important;
  width: 100% !important;
  margin-right: 18px;
}

.judges-company {
  font-size: 12px;
  margin-bottom: 15px;
}

.judges-name {
  font-size: 18px;
  font-weight: bold;
}

.judges-company-text {
  font-size: 16px;
  font-weight: normal;
}

/* 
＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝
awardsパーツ
＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝
*/
.awards-content {
  max-width: 980px;
  width: 100%;
  margin: 0px auto 20px auto;
  padding: 60px 10px 30px 10px;
}

.awards-img {
  display: block;
  max-width: 264px;
  width: 100%;
  margin: 0px auto 40px auto;
}

.awards-box {
  background-color: #fff9f2;
  box-shadow: 4px 4px 6px rgba(112, 112, 112, 0.9);
  border-radius: 15px;
  padding: 30px 15px 15px 15px;
  margin-bottom: 24px;
}

.awards-ribon {
  display: block;
  max-width: 473px;
  width: 100%;
  margin: 0px auto 40px auto;
}

/* awardslist用 */
.bento-card {
  max-width: 330px;
  width: 100%;
  background-color: white;
  margin: 0px auto;
  padding: 15px;
  border-radius: 0.75rem;
  position: relative;
  overflow: hidden;
  border: 2px solid #ad8575;
}

.bento-card img {
  max-width: 500px;
  width: 100%;
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 10px;
}

.badge-label {
  position: absolute;
  width: 70px;
  height: 91px;
  top: 2%;
  left: 2%;
  z-index: 10;
}

.bento-card-img-inbox {
  position: relative;
}

.badge-label-4 {
  position: absolute;
  width: 70px;
  height: 73px;
  bottom: 0%;
  right: 0%;
  z-index: 10;
}

.bento-card .bento-title {
  font-size: 14px;
  font-weight: bold;
  text-align: center;
  color: #c62d28;
  padding: 0px;
  margin-bottom: 10px;
}

.bento-card .username {
  font-size: 16px;
  text-align: center;
  padding: 0px;
  margin-bottom: 10px;
}

/* 
＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝
awardssubパーツ
＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝
*/
.awardssub-content {
  max-width: 980px;
  width: 100%;
  margin: 0px auto 20px auto;
  padding: 10px 10px 30px 10px;
}

.awardssub-box {
  background-color: #fff9f2;
  box-shadow: 4px 4px 6px rgba(112, 112, 112, 0.9);
  border-radius: 15px;
  padding: 30px 40px 15px 40px;
  margin-bottom: 24px;
}

.awardssub-ribon {
  display: block;
  max-width: 473px;
  width: 100%;
  margin: 0px auto 40px auto;
}

.awardssub-username {
  display: block;
  text-align: center;
  font-size: 12px;
  font-weight: normal;
  padding: 10px 0px;
}

.awardssub-username-modal {
  font-size: 16px;
  font-weight: normal;
  padding: 10px 0px;
}

.awardssub-box-modal {
  position: relative;
  overflow: hidden;
  padding: 60px 30px 15px 30px;
}

.badge-label-2 {
  position: absolute;
  width: 70px;
  height: 91px;
  top: 3%;
  left: 2%;
  z-index: 10;
}

.awardssub-imgbox-modal {
  position: relative;
}

.awardssub-img-modal {
  display: block;
  max-width: 380px;
  width: 100%;
}

.badge-label-3 {
  position: absolute;
  width: 70px;
  height: 73px;
  bottom: 0%;
  right: 0%;
  z-index: 10;
}

.awardssub-textbox {
  margin-top: 20px;
  text-align: center;
}

.awardssub-label-2 {
  background-color: #3c4f7f;
  color: white; /* テキスト色を白に */
  border-radius: 9999px; /* 非常に大きな値でカプセル型（完全な角丸）にする */
  display: inline-block; /* パディングが機能するようにブロック要素化（幅はコンテンツ依存） */
  padding: 5px 35px; /* 上下と左右の余白を設定し、見た目を調整 */
  font-size: 16px; /* フォントサイズを調整 */
  font-weight: bold; /* テキストを太字にする */
  text-align: center; /* テキストを中央揃えにする（paddingと合わせて調整） */
  line-height: 1.5; /* 行の高さを調整して中央揃えを微調整 */
}

/* wardssub-Swiper */
.swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
}

.swiper-slide-content {
  max-width: 220px;
  width: 100%;
  padding: 5px;
  background-color: #ffffff;
}

.swiper-slide-content img {
  max-width: 210px;
  width: 100%;
  height: auto;
  border-radius: 0.5rem;
}

.swiper-button-next,
.swiper-button-prev {
  width: 30px; /* 直径 */
  height: 30px; /* 直径 */
  border-radius: 50%; /* 円形 */
  background-color: rgba(255, 255, 255, 0.7); /* 半透明の白 */
  border: none; /* デフォルトの枠線をなくす */
  font-size: 12px;
  font-weight: bold;
  color: #8d6e63; /* ボタンの色を調整 */
  top: 50% !important;
  transform: translateY(-50%); /* 中央揃えのための補正 */
  margin-top: auto; /* margin-top の影響をリセット */
  margin-bottom: auto; /* margin-bottom の影響をリセット */
}
.swiper-pagination-bullet-active {
  background-color: #8d6e63; /* アクティブなページネーションの色を調整 */
}

/* 
＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝
obenntou-contactパーツ
＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝
*/
#obenntou-contact-back {
  background-repeat: repeat;
  padding-top: 40px;
  padding-bottom: 80px;
}

.obenntou-contact-content {
  max-width: 980px;
  width: 100%;
  margin: 0px auto 20px auto;
  padding: 0px 10px;
}

.obenntou-contact-link {
  display: block;
  max-width: 649px;
  width: 100%;
  margin: 0px auto 60px auto;
  padding: 0px 10px;
}

.obenntou-contact-img {
  display: block;
  max-width: 180px;
  width: 100%;
  margin: 0px auto 20px auto;
  padding: 0px 10px;
}

.obenntou-contact-text {
  display: block;
  padding: 0px 10px;
  font-size: 15px;
  text-align: center;
  font-weight: normal;
}
.obenntou-contact-text span {
  font-weight: bold;
  font-size: 14px;
}

/* awardssub-モーダルウィンドウ*/
/* Fixed position modal-specific utilities */
.fixed-inset-0 {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}
.util-z-50 {
  z-index: 50;
}
.util-overflow-y-auto {
  overflow-y: auto;
}

/* Spacing fix for modal content space-y-3 */
.util-space-y-3 > * + * {
  margin-top: 0.75rem;
}

/* カスタムCSS：Tailwindクラスで表現しきれないモーダル用のスタイル */
.bento-modal {
  display: flex;
  align-items: center; /* 垂直方向の中央揃え */
  justify-content: center; /* 水平方向の中央揃え */
  background-color: rgba(0, 0, 0, 0.7); /* 半透明のオーバーレイ */
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.bento-modal.show {
  opacity: 1;
  visibility: visible;
}
.bento-modal-content {
  transform: translateY(-20px);
  transition: transform 0.3s ease;
  background-color: #ffffff;
  border-radius: 15px;
}

.bento-modal.show .bento-modal-content {
  transform: translateY(0);
}

.bento-modal-close {
  position: absolute;
  top: 2%;
  right: 7%;
  width: 40px; /* 直径 */
  height: 40px; /* 直径 */
  border-radius: 50%; /* 円形 */
  border: 1px solid var(--color-text-dark);
  background-color: rgba(255, 255, 255, 1);
  color: var(--color-text-dark);
}

/* 
＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝
ブレイクポイント用設定
＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝
*/

.grid-cols-1 {
  grid-template-columns: repeat(1, minmax(0, 1fr));
}

.hidden {
  display: none !important;
}

/* 768  */
@media (min-width: 768px) {
  /* awardsパーツ */
  .grid-cols-2-sm-up {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* 640px以上で2カラム表示  */
@media (min-width: 640px) {
  .sm\:hidden {
    display: none !important;
  }
  .sm\:flex {
    display: flex !important;
  }

  /* KVパーツ&aboutパーツ */
  #obentou-back-kv-about {
    background-image: url("../../bento-photo/images/bento-back-kv-about.png");
  }
  .kv-img {
    margin: 0px auto 40px auto;
  }

  .about-img {
    max-width: 600px;
    margin: 0px auto 40px auto;
  }

  .about-text-box {
    max-width: 690px;
    font-size: 18px;
  }

  .about-text-box2 {
    font-size: 24px;
  }

  /* judgesパーツ */
  .judges-column {
    padding: 40px 40px;
  }
  .judges-column-img {
    margin-right: 40px;
  }
  .judges-name {
    font-size: 21px;
  }

  /* awardsパーツ */
  .awards-box {
    padding: 30px 40px 20px 40px;
  }

  .bento-card {
    max-width: 430px;
    padding: 27px;
  }
  .bento-card img {
    max-width: 370px;
  }
  .badge-label {
    width: 108px;
    height: 140px;
  }
  .bento-card h3.bento-title {
    font-size: 22px;
  }
  .bento-card .username {
    font-size: 16px;
  }

  .badge-label-2 {
    width: 108px;
    height: 140px;
  }

  /* awardssubパーツ */
  .awardssub-box {
    padding: 30px 40px 15px 40px;
  }
  /* obenntou-contactパーツ */
  .obenntou-contact-text {
    font-size: 21px;
  }
  .obenntou-contact-text span {
    font-size: 21px;
  }
}
