/*
Theme Name: rn_Seiwa_highschool
Theme URI:
Author: SEIWA
Author URI:
Description: Original Theme
Version: 1.0
License: 
License URI:
Tags:
Text Domain:
*/
@charset "UTF-8";

:root {
  --HighLight: #fff;
  --TextColor: #222;
  --PrimaryColor: #023586;
  --SecondaryColor: #000562;
  --Blue01: #C6DCFF;
  --Blue02: #1353B7;
  --Blue03: #ECFAFF;
  --GrayDark: #B5B5B6;
  --GrayLighter: #EEE;
  --Gold01: #C3AC02;
  --Gold02: #CAA50A;
  --Accent01: #E2CF4B;
  --Accent02: #FF383C;
  --tokubetsuPrimary: #456AA3;
  --tokubetsuSecondary: #1F3B86;
  --tankyuPrimary: #74A845;
  --tankyuSecondary: #4F9D48;
  --bunkakyoyoPrimary: #F3892A;
  --bunkakyoyoSecondary: #DE5511;
  --jyouhouPrimary: #E97461;
  --jyouhouSecondary: #CD352D;

}

/* -----------------------------------
  pc
----------------------------------- */

/* この下に記述 */

/* -----------------------------------
    部活動ページ
----------------------------------- */
#club .club_box {
  margin: 0 auto;
  max-width: 100%;
}
#club .club_read {
  text-align: center;
  display: block;
  margin: 0 auto;
}

#club .container_box {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

#club .club_ttl {
  position: absolute;
  font-size: 1.5rem;
  bottom: 15px;
  right: 0;
  z-index: 3;
  padding-right: 50px;
  color: #fff;
  font-weight: 500;
}

#club .club_ttl {
  
}

#club .club_ttl::before {
  content: "";
  width: 22px;
  height: 6px;
  display: block;
  background: url(./images/common/cta_arrow.svg) no-repeat;
  background-size: 100%;
  position: absolute;
  top: 48%;
  right: 20px;
  transform: translate(0, -50%);
  transition: .3s;
}
/* 
#club .club_ttl::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  width: 40px;
  height: 1.5px;
  background-color: #fff;
}
 */
#club .club_ttl:hover:before,
#club .club_ttl:hover:after {
  right: 10px;
  transition: 0.5s;
}
 
#club .club_all ul {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  width: 100%;
  justify-content: left;
}

#club .club_all li {
  position: relative;
}

#club .club_item:nth-child(odd) .club_img::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: #258DCE;
  opacity: 0.6;
  z-index: 2;
}

#club .club_item:nth-child(even) .club_img::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: #2F56F0;
  opacity: 0.7;
  z-index: 2;
}

#club .club_item {
  position: relative;
  width: calc(100% / 3);
}

/* 画像枠 */
#club .club_img {
  overflow: hidden;
  position: relative;
  z-index: 0;
}

/* 画像初期状態 */
#club .club_img img {
  width: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.5s ease;
}

/* ホバー時に拡大 */
#club .club_item:hover .club_img img {
  transform: scale(1.1);
  /* 1.1〜1.15くらいが上品 */
}




/* -----------------------------------
    部活動詳細
----------------------------------- */

#club_subpage .container_box .table-swipe-false em {
    font-size: 80%;
    font-style: normal;
}

#club_subpage #club_subpage.club_message_box {
  display: flex;
  flex-direction: column;
  max-width: 800px;
  margin: 0 auto;
  gap: 20px;
}

#club_subpage .club_instagram_box {
  display: none
}

#club_subpage .club_instagram_box.is-set {
  display: block;
}

/* テーブル */
#club_subpage table tbody th {
  background: var(--Blue01);
  padding: 10px 20px;
  text-align: center;
  vertical-align: middle;
  border: 1px solid var(--GrayLighter);
  color: var(--TextColor);
  font-weight: 400;
}

#club_subpage table tbody td {
  padding: 10px 20px;
  text-align: center;
  vertical-align: middle;
  border: 0.5px solid var(--GrayLighter) !important;
  color: var(--TextColor);
  font-weight: 400;
  background: #C6DCFF;
}

#club_subpage table tbody td:last-child {
  padding: 10px 20px;
  text-align: center;
  vertical-align: middle;
  border: 1px solid var(--GrayLighter);
  color: var(--TextColor);
  font-weight: 400;
  background: #fff;
}


#club_subpage .table-swipe-false table th,
#club_subpage .table-swipe-false table td {
  white-space: inherit;
  width: 50%;
}

#club_subpage .instagram_content {
  padding: 0 40px;
}

#club_subpage .swiper-button-next.swiper-button-disabled,
#club_subpage .swiper-button-prev.swiper-button-disabled {
  opacity: 0;
  cursor: auto;
  pointer-events: none;
}

/* PCだけ：このスライダーがある container_wrapper だけ横並びにする */
@media (min-width: 768px) {
  #club_subpage .container_wrapper:has(.clubSliderSingle) {
    display: flex;
    align-items: center;
    gap: 40px;
  }

  /* スライダー一式（中のdiv） */
    #club_subpage .container_wrapper:has(.clubSliderSingle)>div {
    /* flex: 0 0 55%; */
    min-width: 0;
  }

  /* pタグ */
    #club_subpage .container_wrapper:has(.clubSliderSingle)>.club_message {
    flex: 1;
    margin-top: 0;
    min-width: 0;
  }

  /* 画像のはみ出し対策 */
    #club_subpage .container_wrapper:has(.clubSliderSingle) .frontSwiper {
    width: 100%;
  }

    #club_subpage .container_wrapper:has(.clubSliderSingle) .swiper-slide img {
    width: 100%;
    height: 360px;
    object-fit: cover;
    display: block;
  }

    #club_subpage .container_wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .club_box_img {
    display: flex;
    max-width: 60%;
  }

  .club_box_txt {
    display: flex;
    max-width: 40%;
  }

    #club_subpage .clubSliderSingle .swiper-button-prev,
    #club_subpage .clubSliderSingle .swiper-button-next {
     display: flex;
  }

  #club_subpage .swiper-button-next {
    right: 0;
    left: auto;
  }

  #club_subpage .swiper-button-prev {
    right: auto;
    left: 0;
  }

  #club_subpage .club_message {
    line-height: 2;
  }
}


/* -----------------------------------
    進路情報ページ
----------------------------------- */

#shinro .shinro_number ol {
  display: flex;
  flex-direction: column;
  gap: 20px;
  justify-content: left;
  align-items: center;
  margin: 0 auto;
}

#shinro .shinro_number li {
  justify-content: left;
  align-items: center;
  border-bottom: 1px solid var(--GrayLighter);
  padding: 24px 8px 24px 150px;
  margin: 0 auto;
  max-width: 900px;
  width: 100%;
  position: relative;
  line-height: 1.5;
  font-size: 1.6rem;
}

#shinro .shinro_number .common_number_list {
  counter-reset: listnum;
  list-style: none;
}

#shinro .shinro_number li:nth-of-type(1) {
  border-top: 1px solid var(--GrayLighter);
}

#shinro .common_number_list .common_number_listitem::before {
  counter-increment: listnum;
  content: counter(listnum);
  display: flex;
  width: 20px;
  height: 20px;
  background: var(--PrimaryColor);
  color: var(--HighLight);
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 1.3rem;
  position: absolute;
  left: 120px;
  top: 50%;
  transform: translateY(-50%);
}

#shinro .shinro_about {
  background-image: url(./images/shinro/shinro_bg.jpg);
  background-size: cover;
  background-position: center center;
  width: 100%;
}

#shinro .shinro_about .container_box {
  margin: 0 auto;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 40px;
}

#shinro .contents-ttl_sinro {
  font-size: 3rem;
  color: #fff;
  font-family: "Shippori Mincho B1", serif;
  display: flex;
  flex-direction: column;
  text-align: center;
}

#shinro .shinro_txt {
  font-size: 1.6rem;
    color: #fff;
    font-weight: 300;
    line-height: 140%;
    margin-top: 40px;
}

.shinro_txtbox{
  max-width: 45%;
}

/* ボタンCSS */
#shinro .tab-container {
  position: relative;
  width: 50%;
}

#shinro .tab-container ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  background: #B5B5B6;
  border-radius: 50px;
  position: relative;
}

#shinro .slide-indicator {
  position: absolute;
  width: 50%;
  height: 100%;
  background: #E2CF4B;
  border-radius: 48px;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1;
  box-shadow: #4c4c4c 0px 0px 5px;
}

#shinro .tab-container ul li {
  flex: 1;
  padding: 15px 20px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  z-index: 2;
  font-weight: 500;
  font-size: 14px;
  color: #333333;
  border-radius: 8px;
  margin: 0 2px;
  background: transparent;
}

#shinro .tab-container ul li.selected {
  color: #000;
  font-weight: 600;
}

#shinro .tab-container ul li:hover {
  opacity: 0.8;
}

#shinro .tab-content {
  display: none;
  padding: 24px;
  min-height: 150px;
  background: #fefefe;
  border-radius: 8px;
  margin-top: 16px;
  box-shadow: #818181 0px 0px 5px;
}

#shinro .tab-content.selected {
  display: block;
  animation: slideContentIn 0.3s ease-out;
  line-height: 1.5;
}

@keyframes slideContentIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

#shinro .graduates_message {
  background: #ECFAFF;
}

#shinro .shinro_about_box {
  display: flex;
  flex-direction: row;
  gap: 30px;
  align-items: center;
}


.shinro_detail {
    max-width: 55%;
    background: var(--HighLight);
    padding: 32px;
    border-radius: 21px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.shinro_detail dt {
    text-align: center;
    background: var(--Accent01);
    color: var(--SecondaryColor);
    font-weight: 300;
    padding: 2px;
}

/* 卒業メッセージ */
#shinro .graduates_content {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

#shinro .graduates_message_box {
  display: flex;
  flex-direction: column;
  max-width: 750px;
  margin: 0 auto;
  background: #fff;
  padding: 50px;
  gap: 20px;
  border-top: 3px #E2CF4B solid;
  box-shadow: #d4d4d4 0px 0px 5px;
}

#shinro .graduates_message_item {
  display: flex;
  flex-direction: row;
  gap: 30px;
  align-items: center;
}

#shinro .icon_people {
  width: 30px;
}

#shinro .graduates_txt_item {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

#shinro .graduates_read01 {
  font-size: 1.4rem;
}

#shinro .graduates_read02 {
  font-size: 2rem;
  color: #023586;
}

#shinro .graduates_message_txt {
  font-size: 1.6rem;
}

#shinro .table-swipe-true {
      overflow-y: hidden;
}

#shinro .accordion-text {
  padding: 0 0 32px;
}




/* -----------------------------------
    よくある質問ページ
----------------------------------- */
#faq .accordion-header,
#faq .accordion-text {
  position: relative;
}

#faq .accordion-header::before {
  content: "Q";
  font-family: "Shippori Mincho B1", serif;
  background: #000562;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  color: #fff;
  padding-top: 5px;
  text-align: center;
  font-size: 1.4rem;
  display: flex;
  position: absolute;
  justify-content: center;
}

#faq .accordion-text::before {
  content: "A";
  font-family: "Shippori Mincho B1", serif;
  background: #CAA50A;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  left: 6px;
  top: 50%;
  transform: translateY(-50%);
  color: #fff;
  /* padding-top: 5px; */
  text-align: center;
  font-size: 1.4rem;
  display: flex;
  position: absolute;
  justify-content: center;
}

#faq .accordion-header {
  padding-left: 40px;
}

#faq .accordion-text {
  padding-left: 50px;
}

#faq .accordion-gold {
  color: #023586;
}

#faq .theme_cta_s {
  max-width: fit-content;
  padding: 12px 50px 12px 25px;
}

#faq .accordion-text_02 {
  margin-top: 10px;
  width: 100%;
  align-items: flex-start;
  display: flex;
  flex-direction: column;
}

#faq .theme_cta_s a {
  text-decoration: none;
}













/* -----------------------------------
	tablet
----------------------------------- */
@media screen and (max-width: 1279px) {
#club_subpage .container_wrapper swiper-pagination-bulletsswiper-pagination-horizontal {
  text-align: center !important;
}

#club_subpage .club_box .table-swipe-false table th {
  padding: 10px 13px;
}
  /* この下に記述 */
}

/* -----------------------------------
  sp
----------------------------------- */
@media screen and (max-width: 767px) {
  /* この下に記述 */

/* -----------------------------------
    部活動ページ
----------------------------------- */
  #club .club_ttl {
  position: absolute;
  font-size: 1.5rem;
  bottom: 20px;
  right: 20px;
}

#club .club_ttl {
  padding-right: 30px;
  color: #fff;
}

#club .club_ttl::before {
  right: 0;
}

#club .club_ttl:hover:before,
#club .club_ttl:hover:after {
  right: -8px;
  transition: 0.5s;
}

#club .container_box {
  margin: 0 auto;
}

#club .club_item {
  position: relative;
  width: 100%;
}

#club .club_box.container_box {
  padding: 0;
}

#club .club_all ul {
  gap: 0;
}

#club .club_img {
  align-items: center;
  height: 180px;
  width: 100%;
  overflow: hidden;
}

#club .club_img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}



  /* -----------------------------------
    部活動詳細
----------------------------------- */

#club_subpage .swiper-pagination-bullets.swiper-pagination-horizontal {
  text-align: center;
  position: initial;
}

#club_subpage .container_box {
  padding: 0 !important;
}

#club_subpage .container_box.box10.container_wrapper {
  max-width: 100%;
  margin: 0 auto;
}

.club_message {
  max-width: 90%;
  margin: 20px auto;
}

#club_subpage table tbody td,
#club_subpage table tbody td:last-child {
  padding: 10px;
}



/* -----------------------------------
    進路情報ページ
----------------------------------- */

#shinro .container_box:nth-of-type(2) {
  padding: 0;
}

#shinro .shinro_number ol {
  gap: 0;
}

#shinro .contents-ttl_sinro {
  font-size: 2.5rem;
  line-height: 1.5;
}

#shinro .common_number_list .common_number_listitem::before {
  left: 25px;
}

#shinro .shinro_number li {
    padding: 24px 0px 24px 60px;
}

#shinro .graduates_message_box {
  padding: 30px;
}

#shinro .graduates_read02 {
  font-size: 1.6rem;
}

#shinro .icon_people {
  width: 30px;
}

#shinro .graduates_message_item {
  gap: 20px;
}

#shinro .container_box {
  padding: 0;
}

#shinro .shinro_about .container_box,
#shinro .container_box.graduates_message {
  padding: 40px 0;
  margin: 0 auto;
}

#shinro .graduates_message_txt {
  font-size: 1.4rem;
}

#shinro .table-swipe-true {
  overflow-y: hidden;
}


#shinro .shinro_about_box {
  flex-direction: column;
}

#shinro .shinro_txt,
#shinro .tab-container {
  width: 100%;
}
.shinro_txtbox,.shinro_detail {
    max-width: 100%;
}


/* -----------------------------------
    よくある質問ページ
----------------------------------- */

#faq .container_box {
  padding: 0;
}

#faq .accordion-header {
  width: 95%;
  font-size: 1.4rem;
}

#faq .accordion-text::before {
  padding-top: 3px;
}
}