/* ＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝ TOPページ ＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝＝ */

/* ---------------- TOPメイン画像 ------------------*/
.main__visual {
  width: 100%;
  overflow: hidden;
  /* はみ出しによるスクロールバー防止 */
  padding-top: 100px;
}

.main__visual .wrapper {
  width: 100%;
  max-width: 100% !important;
  /* 強制的に全幅へ */
  margin: 0;
}

.main__visual img {
  width: 100%;
  height: auto;
  vertical-align: bottom;
  display: block;
}

/* Slickの内部的な余白をリセット */
.main-slide .slick-slide {
  height: auto;
}

.main-slide .slick-track {
  display: flex;
  align-items: center;
}

@media screen and (max-width: 1500px) {
  .main__visual {
    background-size: contain;
  }

  .main__visual .con img {
    width: 100%;
  }

  .main__visual .con p br {
    display: none;
  }
}

@media screen and (max-width: 1100px) {
  .main__visual {
      padding-top: 0;
  }
}

@media screen and (max-width: 768px) {
  .main__visual {
    width: 100%;
    padding-top: 0; /* 画像上の余白を消す */
  }

  .main__visual .wrapper {
    width: 100%; /* スマホ時には左右の余白もなくして全幅にする */
  }
}

/* --------------- ご挨拶セクション --------------- */
.w-img-con p {
  line-height: 260%;
}

@media screen and (max-width: 768px) {
  .w-img-con p {
    text-align: left;
  }
}

/* --------------- 精神力セクション --------------- */
.spirit-section {
  background-color: #fff;
  background-image: none;
  color: #000;
  padding: 120px 0;
}

.spirit-box {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  font-family: 'Noto Serif JP', serif;
}

.spirit-bg {
  position: absolute;
  top: 45%;
  left: 50%;
  transform: translate(-50%, -60%);
  z-index: -1;
  width: 447px;
  max-width: 100%;
}
.spirit-bg img {
  width: 100%;
  height: auto;
}

.spirit-text-vertical {
  text-align: center;
  margin: 0 auto;
}

.spirit-text-vertical p {
  writing-mode: vertical-rl;
  -webkit-writing-mode: vertical-rl;
  margin: 0 auto;
  font-size: 44.6px;
  font-weight: 500;
  letter-spacing: 0;
  display: inline-block;
  white-space: nowrap;
  color: #000;
  background-color: #fff;
  line-height: 120%;
}

.spirit-text-vertical .gold-text {
  color: #B58E45; /* ゴールドに近い色味 */
}

.spirit-text-horizontal {
  margin-top: 30px;
  font-size: 16px;
  line-height: 2;
  letter-spacing: 0.1em;
  color: #000;
}

.spirit-text-horizontal p {
  font-size: 2.0rem;
  letter-spacing: 0;
}

@media screen and (max-width: 768px) {
  .spirit-box {
    margin: 40px auto 60px;
  }
  .spirit-bg {
    width: 300px;
  }
  .spirit-text-vertical {
    font-size: 28px;
  }
  .spirit-text-horizontal {
    margin-top: 30px;
    font-size: 14px;
    width: 92%;
    margin-left: auto;
    margin-right: auto;
  }
}

@media screen and (max-width: 768px) {
  .spirit-bg {
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -60%);
    z-index: -1;
    width: 300px;
    max-width: 100%;
  }

  .spirit-text-vertical p {
    font-size: 34.6px;
  }

  .spirit-text-horizontal p {
    font-size: 1.8rem;
  }
}

/* --------------- 親方挨拶セクション --------------- */
.oyakata-section {
  position: relative;
  padding: 180px 0;
  background-image: url(img/top_pic003.png);
  background-position: center 30%; /* 中心よりやや上に配置を固定 */
  background-size: cover; /* 画面縮小時にも下に余白ができないよう領域全体を覆う */
  background-repeat: no-repeat;
  background-color: #000;
  color: #fff;
  font-family: 'Noto Serif JP', serif;
}

.oyakata-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6); /* 背景を少し暗くして文字を見やすく */
  z-index: 1;
}

.oyakata-section .wrapper {
  position: relative;
  z-index: 2;
  max-width: 1400px; /* 全体の幅調整 */
}

.oyakata-section .flex-box {
  display: flex;
  gap: 80px;
}

.oyakata-section .left {
  width: 50%;
}
.oyakata-section .left img {
  width: 100%;
  height: auto;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3); /* 少し影をつける */
}

.oyakata-section .right {
  margin-top: -15px;
  width: 60%;
  text-shadow: 2px 3px 3px rgba(0, 0, 0, 0.4);
}

.oyakata-section .right h2 {
  margin-bottom: 40px;
  letter-spacing: 0.1em;
}

.oyakata-section .right p {
  font-size: 15px;
  margin-bottom: 30px;
  letter-spacing: 0.05em;
}

.oyakata-section .right .name {
  font-size: 16px;
  margin-top: 40px;
  margin-bottom: 0;
}

@media screen and (max-width: 768px) {
  .oyakata-section {
    padding: 60px 0;
  }
  .oyakata-section .flex-box {
    flex-direction: column;
    gap: 30px;
  }
  .oyakata-section .left,
  .oyakata-section .right {
    width: 100%;
  }
  .oyakata-section .right h2 {
    font-size: 26px;
    margin-bottom: 20px;
    text-align: center;
  }
  .oyakata-section .right p {
    line-height: 2;
  }
}

@media screen and (max-width: 560px) {
  .con-box.oyakata-section {
      margin: 0 0 !important;
  }

  .oyakata-section {
      padding: 60px 0 !important;
      background-position: top 30%;
      margin: 0 0 !important;
  }
  
}

/* --------------- 湊川部屋についてセクション --------------- */
.about-section {
  padding: 120px 0 250px;
  background-color: #fff;
  color: #000;
  font-family: 'Noto Serif JP', serif;
}

.about-section .about-flex {
    align-items: center;
    position: relative;
}

.about-section .left-col {
  width: 100%;
  position: relative;
}

.about-section .about-img {
  max-width: 599px;
  width: 80%; /* 右下をテキストボックスで余白にするために画像を少し小さく */
}

.about-section .about-img img {
  width: 100%;
  height: auto;
  display: block;
}

.about-section .about-text-box {
    background: #fff;
    position: absolute;
    bottom: -130px;
    right: 0;
    width: 80%;
    padding: 40px 0 0 40px;
}

.title-gold {
  color: #B58E45;
  margin-bottom: 25px;
}

.about-section .about-text-box p {
  font-size: 15px;
  line-height: 2.2;
  letter-spacing: 0.05em;
}

.about-section .right-col {
    width: 30%;
    display: flex;
    justify-content: center;
    position: absolute;
    top: 40%;
    left: 50%;
}

.btn-more {
  display: inline-block;
  border: 1px solid #000;
  color: #000;
  padding: 5px 20px 5px 25px;
  text-decoration: none;
  font-size: 2.0rem;
  transition: opacity 0.3s;
}

.btn-more:hover {
  opacity: 0.6;
}

@media screen and (max-width: 1200px) {
  .about-section .about-img {
    width: 60%;
  }

  .about-section .right-col {
      left: 70%;
  }
}

@media screen and (max-width: 768px) {
  .about-section {
    padding: 60px 0 80px;
  }
  .about-section .about-img {
    max-width: 100%;
    width: 100%;
  }
  .about-section .about-flex {
    flex-direction: column;
  }
  .about-section .left-col,
  .about-section .right-col {
    width: 100%;
  }
  .about-section .about-img {
    width: 100%;
  }
  .about-section .about-text-box {
    position: static;
    width: 100%;
    padding: 30px 0 0 0;
  }
  .about-section .right-col {
    margin-top: 40px;
    position: relative;
    left: auto;
  }

  .btn-more {
    font-size: 1.6rem;;
  }
}

/* --------------- 力士紹介・年寄裏方紹介 --------------- */
.rikishi-section {
  padding: 180px 0 20px;
  background-color: transparent;
}
.urakata-section {
  padding: 40px 0 80px;
  background-color: transparent;
}

.t-center {
  text-align: center;
}

.rikishi-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-top: 40px;
}

.rikishi-list a,
.rikishi-list a:hover {
  color: #fff;
  text-decoration: none !important;
  transition: all ease 0.3s;
  outline: none;
}

.list-center {
  margin-top: 40px;
}

.rikishi-item {
  width: calc(20% - 24px); /* 1段目5列 */
  min-width: 160px;
  margin-bottom: 20px;
}
.mix-list .rikishi-item {
  width: calc(20% - 24px);
}

.rikishi-item .img-box {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #222;
}
.rikishi-item .img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: filter 0.3s ease;
}

.rikishi-item .img-box a:hover img {
  filter: brightness(1.2);
}

.rikishi-item .info-box {
  background: transparent;
  padding: 10px 0 0;
  text-align: left;
  position: relative;
}

.rikishi-item .rank {
  display: inline-block;
  background: #B58E45; /* ゴールド札 */
  color: #fff;
  padding: 1px 10px;
  line-height: 120%;
  position: absolute;
  top: -12px; /* 画像の下部に重ねる */
  left: 0;
  z-index: 2;
}
.rikishi-item .transparent-rank {
  background: transparent;
  padding: 0;
}

.rikishi-item .name {
  color: #fff;
  font-family: 'Noto Serif JP', serif;
  font-size: 24px;
  line-height: 1.4;
  margin: 0;
  letter-spacing: 0.1em;
}
@media screen and (max-width: 1100px) {
  .rikishi-item .name {
    font-size: 20px;
  }
}

@media screen and (max-width: 900px) {
  .rikishi-item {
    width: calc(33.333% - 20px);
  }
}

@media screen and (max-width: 560px) {
  .rikishi-section {
    padding: 60px 0 20px;
    background-color: transparent;
  }

  .rikishi-list {
    gap: 10px;
  }

  .recruit-area {
    padding: 30px 0 260px;
  }

  .rikishi-item .rank {
      font-size: 12px;
  }

  .rikishi-item .name {
    font-size: 16px;
  }

  .rikishi-item {
    width: calc(50% - 15px);
  }
}

/* --------------- 募集エリア --------------- */
.recruit-area {
  padding: 60px 0 360px; /* 下部に余白を追加 */
}

.recruit-flex {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 7%;
}

.recruit-item {
  width: 48%;
}

.recruit-item .img-box {
  position: relative;
  width: 100%;
}
.recruit-item .img-box img {
  width: 100%;
  height: auto;
  display: block;
}

.recruit-item .text-box {
  position: absolute;
  top: 85%; /* 画像上からのパーセンテージで固定し左右の高さを揃える */
  background: transparent; /* 背景を透明にしてセクションの背景を見せる */
  padding: 35px 30px; /* テキストの余白を確保 */
  color: #fff;
  box-sizing: border-box;
  width: 85%; /* 写真の端を残す切り欠き幅 */
}

/* 画像をテキストボックスの形に切り抜き（左側用） */
.img-box.clip-left img {
  clip-path: polygon(0 0, 100% 0, 100% 100%, 85% 100%, 85% 90%, 0 90%);
}

/* 画像をテキストボックスの形に切り抜き（右側用） */
.img-box.clip-right img {
  clip-path: polygon(0 0, 100% 0, 100% 100%, 85% 100%, 85% 90%, 0 90%);
}

/* 左側の画像（新弟子募集） */
.clip-text-left {
  left: 0;
}

/* 右側の画像（後援会募集） */
.clip-text-right {
  left: 0;
}

.recruit-item .text-box h3 {
  font-size: 32px;
  margin-bottom: 10px;
  font-family: 'Noto Serif JP', serif;
  font-weight: 500;
}

.recruit-item .text-box p {
  margin-bottom: 25px;
  color: #fff;
  line-height: 160%;
}

.btn-more-sm {
  display: inline-block;
  background: #fff;
  color: #000;
  padding: 2px 15px;
  font-size: 20px;
  text-decoration: none;
  transition: opacity 0.3s;
}
.btn-more-sm:hover {
  opacity: 0.7;
}

@media screen and (max-width: 1000px) {
  .recruit-flex {
    gap: 5%;
  }

  .recruit-item .text-box h3 {
    font-size: 24px;
  }
}

@media screen and (max-width: 768px) {
  .recruit-flex {
    flex-direction: column;
    gap: 0;
  }
  .recruit-item {
    width: 100%;
    margin-bottom: 150px; /* テキストボックスが絶対配置ではみ出す分の高さを確保 */
  }
  .recruit-item:last-child {
    margin-bottom: 0;
  }
  .recruit-item .text-box {
    /* position: static や margin-top: -15% は解除し、PC版と同じ比率で被せる */
    position: absolute;
    top: 60%;
    margin-top: 0;
  }
  .img-box.clip-left img {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 85% 100%, 85% 60%, 0 60%);
  }
  .img-box.clip-right img {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 85% 100%, 85% 60%, 0 60%);
  }

  .btn-more-sm {
    font-size: 16px;
  }
}

@media screen and (max-width: 560px) {
  .recruit-area {
    padding: 30px 0 60px;
  }

  .recruit-item .text-box {
    position: relative;
    width: 100%;
    padding: 1em 0 0;
  }

  .img-box.clip-left img {
    clip-path: none;
  }

  .img-box.clip-right img {
    clip-path: none;
  }

  .recruit-item {
    margin-bottom: 60px;
  }
}


/* --------------- 更新SNS --------------- */
.sns-section {
  background: #fff;
  color: #000;
  padding-bottom: 110px;
}

.con-box.sns-section {
  padding-top: 100px;
}

.sns-section .title-gold {
  margin-bottom: 45px;
}

.sns-flex {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
}

.sns-item {
  width: 33.333%;
  text-align: center;
}

.sns-item h3 {
  font-size: 20px;
  margin-bottom: 20px;
  font-family: 'Noto Serif JP', serif;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.sns-item h3 span {
  margin-left: 5px;
}

.sns-item h3 .color-line {
  color: #06C755; /* LINE公式のグリーン */
}

.sns-item h3 .color-ig {
  color: #D62D7C; /* Instagramのピンク寄りの色 */
}

.sns-item p {
  font-size: 13px;
  line-height: 1.8;
  text-align: left;
  margin-bottom: 30px;
  min-height: 70px;
}

.sns-item .qr-box {
  width: 230px;
  margin: 0 auto 15px;
}

.sns-item .qr-box img {
  width: 100%;
  height: auto;
  display: block;
}

.sns-link {
  font-size: 13px;
  color: #000;
  text-decoration: underline;
  transition: opacity 0.3s;
}

.sns-link:hover {
  opacity: 0.7;
}

@media screen and (max-width: 768px) {
  .sns-flex {
    flex-direction: column;
    gap: 60px;
  }
  .sns-item {
    width: 100%;
    border-bottom: 1px solid #ccc;
    padding-bottom: 60px;
  }
  .sns-item:last-child {
    border-bottom: none;
  }
  .sns-item p {
    min-height: auto;
  }
  .sns-section {
    padding-bottom: 0;
  }

  .sns-item .qr-box {
    width: 180px;
  }

}

/* --------------- お問い合わせ --------------- */
.con-box.contact-section {
  padding: 120px 0;
}

.contact-box {
  background: rgba(255, 255, 255, 0.05); /* 少し明るい正方形背景 */
  padding: 45px 40px 55px 40px;
  box-sizing: border-box;
  max-width: 800px;
  margin: 0 auto;
}

.contact-box .title-gold {
  margin-bottom: 20px;
}

.contact-box p {
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 30px;
  color: #fff;
}

.btn-wrap.t-center {
  text-align: center;
}

.btn-contact {
  display: inline-block;
  background: #fdfaf5; /* 画像に合わせたクリーム系の白 */
  color: #000;
  padding: 10px 85px;
  font-size: 18px;
  letter-spacing: 0.1em;
  text-decoration: none;
  transition: opacity 0.3s;
}

.btn-contact span {
  margin-top: -5px;
  margin-right: 10px;
  font-size: 18px; /* メールアイコンのサイズ調整 */
}

.btn-contact:hover {
  opacity: 0.7;
}

@media screen and (max-width: 768px) {
  .contact-box {
    padding: 60px 20px;
  }
  .btn-contact {
    padding: 15px 40px;
    width: 100%;
    box-sizing: border-box;
  }
}

@media screen and (max-width: 560px) {
  .con-box.contact-section {
      padding: 60px 0;
  }

  .btn-contact {
    padding: 10px 20px;
    font-size: 16px;
  }
}