/* --------------- ページ全体 --------------- */
body#about_page {
  background-image: none;
  background-color: #fff;
  color: #000;
}

#about_page .sp_nav_r a,
#about_page #nav_toggle {
  color: #fff;
}

/* お問い合わせ */
#about_page .contact-section {
  background-color: #000;
  background-image: url("img/bg.png");
}

/* --------------- ヒーロー画像 --------------- */
.about-hero__title.long {
  padding: 92px 25px;
}

.about-hero {
  position: relative;
  width: 100%;
  padding-top: 100px; /* PCヘッダーと被る部分をpaddingで確保する */
  background-color: #000; /* ヘッダ周りの隙間が白く抜けないよう黒にする */
}

.about-hero img {
  width: 100%;
  height: auto;
  min-height: 400px; /* H2がヘッダーメニューに隠れない様にするための担保 */
  object-fit: cover;
  display: block;
}

.about-hero__title {
  position: absolute;
  bottom: -60px; /* Overlaps into the next section */
  left: 50%;
  transform: translateX(-50%);
  background-color: #fff;
  padding: 30px 25px;
  z-index: 10;
}

.about-hero__title h2 {
  writing-mode: vertical-rl;
  text-orientation: upright;
  color: #000;
  font-size: 3.8rem;
  letter-spacing: 0.1em;
  margin: 0;
  font-family: "Zen Old Mincho", "游明朝 Medium", "Yu Mincho Medium", "YuMincho Medium", "ヒラギノ明朝 ProN", "Hiragino Mincho ProN", serif;
}


/* --------------- 理念 --------------- */
.about-philosophy {
  position: relative;
  padding-top: 225px; /* Space for the overlapping title */
  background-color: #000;
  background-image: url("img/bg.png");
  color: #fff;
}

.about-philosophy__lead {
  font-size: 3.2rem;
  margin-bottom: 25px;
}

.about-philosophy__text {
  text-align: center;
  line-height: 2.6;
}

.about-philosophy .title-gold {
  margin-bottom: 10px;
}


/* --------------- 親方挨拶 (override) --------------- */
.about-greet {
  background-image: none !important;
  background-color: #fff !important;
  color: #000 !important;
  padding: 180px 0;
}

.about-greet::before {
  display: none !important;
}

.about-greet .right h2 {
  color: #000;
}

.about-greet .right p {
  color: #000;
}

.about-greet .right .name {
  color: #000;
}

/* --------------- 湊川親方の紹介 --------------- */
.about-intro {
  padding: 180px 0;
  background-color: #000;
  background-image: url("img/bg.png");
  color: #fff;
}

.about-intro__flex {
  display: flex;
  justify-content: space-between;
  gap: 0px;
  align-items: flex-start;
}

.about-intro__left {
  width: 60%;
  display: flex;
  flex-direction: column;
  gap: 25px;
  position: relative;
}

.about-intro__img-top {
  width: calc(100% / 0.45);
  position: relative;
  z-index: 10;
  pointer-events: none;
}

.about-intro__img-top img {
  width: 60%;
  height: auto;
  display: block;
}

.about-intro__img-bottom {
  display: flex;
  gap: 25px;
}

.about-intro__img-b-left {
  width: 60%;
}
.about-intro__img-b-left img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about-intro__img-b-right {
  width: 50%;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.about-intro__img-b-right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about-intro__right {
  width: 52%;
  position: relative;
  z-index: 20;
  background-color: #000;
  background-image: url("img/bg.png");
  padding: 40px;
  box-sizing: border-box;
  margin-top: 120px;
}

.about-intro__right h2 {
  margin-bottom: 25px;
  letter-spacing: 0.1em;
  font-family: inherit;
  color: #fff;
}

.about-intro__table {
  width: 100%;
}

.about-intro__table dl {
  display: flex;
  flex-wrap: wrap;
}

.about-intro__table dt,
.about-intro__table dd {
  padding: 11px 15px;
  border-bottom: 1px solid #fff;
  letter-spacing: 0.08em;
  line-height: 2.3;
}

.about-intro__table dt {
  width: 100px;
  font-weight: 500;
}

.about-intro__table dd {
  width: 460px;
}

.oyakata-section.about-greet .left img {
  box-shadow: none;
}

.oyakata-section.about-greet .right {
  text-shadow: none;
}


/* --------------- 力士・裏方紹介 (override) --------------- */
.about-rikishi-area {
  background-color: #fff !important;
}

.urakata-section.about-rikishi-area {
  padding-bottom: 180px;
}

.about-rikishi-area .rikishi-item .name {
  color: #000 !important;
}

/* --------------- タブレット・SP時のレスポンシブ --------------- */
.about-intro__left {
    width: 40%;
}



@media screen and (max-width: 1300px) {
  .about-intro__table dt {
    width: 30%;
  }

  .about-intro__table dd {
    width: 70%;
  }
}

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

@media screen and (max-width: 1100px) {
  .about-hero {
    padding-top: 0; /* タブレット以下のヘッダーは上被りしないためリセット */
  }
}

@media screen and (max-width: 960px) {
  .about-intro__table dt {
    padding-bottom: 0;
  }

  .about-intro__table dd {
    padding-top: 0;
  }
}

@media screen and (max-width: 768px) {
  .about-hero__title.long {
    padding: 62px 10px;
  }

  .about-hero img {
    min-height: 260px;
  }

  .about-hero__title {
    bottom: -40px;
    padding: 20px 10px;
  }
  .about-hero__title h2 {
    font-size: 2.4rem;
    background-color: #fff;
    padding: 30px 10px;
  }

  .about-hero__title {
    left: 45%;
    background-color: transparent;
  }
  
  .about-intro__flex {
    flex-direction: column;
    gap: 40px;
  }
  .about-intro__left, .about-intro__right {
    width: 100%;
    background-color: transparent;
    background-image: none;
  }

  .about-intro__table dt {
    width: 100%;
    border-bottom: none;
    padding-left: 0;
  }

  .about-intro__table dd {
    width: 100%;
    padding-left: 0;
  }

  .about-intro__img-top {
    width: 100%;
    margin-left: 0;
  }
  
  .about-philosophy__lead {
    font-size: 1.8rem;
  }

  .about-intro__img-top img {
    width: 100%;
  }
}

@media screen and (max-width: 560px) {
    .about-hero__title.long {
        padding: 72px 10px;
    }

  .about-philosophy__text {
    text-align: left;
  }

  /* スマホ版 base.css の .con-box margin 2em 等の余白をリセットする */
  .con-box.about-philosophy {
    margin-top: 0 !important;
    padding-top: 80px !important;
  }

  .about-intro__right {
    margin-top: 20px;
  }

  .about-intro {
    padding: 60px 0;
  }

  .urakata-section.about-rikishi-area {
    padding-bottom: 60px;
  }

}

/* --------------- 稽古の方針 (recruit) --------------- */
.recruit-policy {
  background-color: #fff;
  color: #000;
}

.recruit-policy .title-gold {
  margin-bottom: 60px;
}

.policy-list {
  max-width: 1000px;
  margin: 0 auto;
}

.policy-item {
  background-color: #f2f2f2;
  padding: 60px;
  margin-bottom: 30px;
}

.policy-item:last-child {
  margin-bottom: 0;
}

.policy-item h3 {
  font-size: 2.4rem;
  border-left: 4px solid #000;
  padding-left: 15px;
  margin-bottom: 20px;
}

.policy-item p {
  line-height: 2;
}

@media screen and (max-width: 768px) {
  .policy-item {
    padding: 30px;
  }

  .recruit-policy .title-gold {
    margin-bottom: 40px;
  }

  .policy-item h3 {
    font-size: 2.0rem;
  }
}

/* --------------- 湊川部屋の力士の1日 (recruit) --------------- */
.recruit-timeline {
  background-color: #000;
  background-image: url("img/bg.png");
  color: #fff;
}

.recruit-timeline .title-gold {
  margin-bottom: 60px;
}

.timeline {
  max-width: 640px;
  margin: 0 auto;
  position: relative;
  padding: 20px 0;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 40px; /* マーカーの中央に合わせる */
  width: 2px;
  background-color: rgba(255, 255, 255, 0.4);
}

.timeline-item {
  display: flex;
  margin-bottom: 60px;
  position: relative;
  min-height: 70px;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-marker {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background-color: #fff;
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 2.4rem;
  line-height: 1.2;
  flex-shrink: 0;
  z-index: 2;
}

.timeline-content {
  padding-left: 20px;
  padding-top: 25px; /* マーカーとテキストの高さをいい感じに揃える */
}

.timeline-content p {
  line-height: 1.8;
  margin-bottom: 15px;
}

.timeline-content .timeline-content__title {
  font-size: 2.6rem;
  margin-bottom: 20px;
  line-height: 100%;
}

.timeline-content img {
  max-width: 100%;
  height: auto;
  display: block;
}

@media screen and (max-width: 768px) {
  .recruit-timeline .title-gold {
    margin-bottom: 40px;
  }

  .timeline::before {
    left: 30px;
  }
  .timeline-marker {
    width: 60px;
    height: 60px;
    font-size: 1.6rem;
  }
  .timeline-content {
    padding-left: 20px;
    padding-top: 15px;
  }
  .timeline-content .timeline-content__title {
    font-size: 1.8rem;
  }
}


/* --------------- 入門規定 (recruit) --------------- */
.recruit-requirements {
  padding: 100px 0;
  background-color: #fff;
  color: #000;
}

.recruit-requirements .title-gold {
  margin-bottom: 50px;
}

.requirements-desc {
  margin-bottom: 60px;
  line-height: 2;
}

.requirements-table {
  width: 100%;
  border-collapse: collapse;
  border-top: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
  font-size: 2.0rem;
}

.requirements-table th,
.requirements-table td {
  padding: 30px;
  text-align: left;
  vertical-align: top;
  line-height: 1.8;
}

.requirements-table th {
  width: 25%;
  font-weight: bold;
  white-space: nowrap;
}

.requirements-table tr:nth-child(even) {
  background-color: #f7f7f7;
}

@media screen and (max-width: 768px) {
  .requirements-table th,
  .requirements-table td {
    display: block;
    width: 100%;
    padding: 15px;
  }
  .requirements-table th {
    padding-bottom: 5px;
  }
}

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

  .recruit-requirements .title-gold {
    margin-bottom: 40px;
  }

  .requirements-table {
    font-size: 1.6rem;
  }

  .requirements-table td {
    padding-top: 0;
  }
}

/* --------------- よくある質問 (recruit) --------------- */
.recruit-faq {
  background-color: #fff;
  color: #000;
}

.recruit-faq .title-gold {
  margin-bottom: 60px;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
  border-top: 1px solid #000;
}

.faq-item {
  border-bottom: 1px solid #000;
  margin: 0;
}

.faq-q {
  display: flex;
  align-items: center;
  padding: 25px 0;
  cursor: pointer;
  position: relative;
  margin: 0;
}

.faq-q .q-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #f2f2f2;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: inherit;
  font-size: 2.4rem;
  margin-right: 20px;
  flex-shrink: 0;
}

.faq-q .q-text {
  font-size: 2.00rem;
  line-height: 1.6;
  padding-right: 40px;
}

.faq-q .toggle-icon {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
}

.faq-q .toggle-icon::before,
.faq-q .toggle-icon::after {
  content: "";
  position: absolute;
  background-color: #000;
  transition: transform 0.3s;
}

.faq-q .toggle-icon::before {
  top: 9px;
  left: 0;
  width: 20px;
  height: 1px;
}

.faq-q .toggle-icon::after {
  top: 0;
  left: 9px;
  width: 1px;
  height: 20px;
}

.faq-q.is-open .toggle-icon::after {
  transform: rotate(90deg);
  opacity: 0;
}

.faq-a {
  display: none;
  padding: 0 40px 30px 60px;
  margin: 0;
}

@media screen and (max-width: 768px) {
  .recruit-faq .title-gold {
    margin-bottom: 40px;
  }

  .faq-q {
    padding: 20px 0;
  }

  .faq-a {
    padding: 0 20px 20px 40px;
  }

  .faq-q .q-text {
    font-size: 1.6rem;
  }
}

