/**
* PC CSS
* 駒場モデルパソコンのスタイル
*/
#event {
  .toc-container {
    margin: 0 auto clamp(2.188rem, 1.25rem + 4vw, 3.75rem);
    max-width: 680px;
  }

  .event-container {
    margin-bottom: 50px;

    .event-container__content {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(calc(370px - (clamp(0.938rem, -2.25rem + 13.6vw, 6.25rem) * 2)), 1fr));
      gap: 0 1.25rem;

      .event-container__bordered-section {
        border: 2px solid var(--color-main);
        border-radius: 15px;
        margin-bottom: 30px;
        padding: 42px 16px 16px;
        position: relative;

        .event-container__bordered-section-title {
          background-color: var(--color-main);
          border-radius: 13px 13px 0 0;
          color: #FFF;
          text-align: center;
          padding: 0 0 6px;
          position: absolute;
          top: 0;
          left: 0;
          width: 100%;
        }
      }

      /* .event-container__bordered-section */
    }

    /* .event-container__content */
  }

  /* .event-container */
}

.text-indent {
  padding-left: 0.8em;
  text-indent: -0.5em;
}

.text-blue {
  color: var(--color-main);
}

.left-line-title {
  border-left: solid 10px;
  padding-left: 10px;
}

.border-blue {
  border-color: var(--color-main);
}

.border-pink {
  border-color: var(--color-sub-pink);
}

.list-dot {
  &.list-dot--pink {
    li {
      &:before {
        color: var(--color-sub-pink);
      }
    }
  }
}

.bg-palepink {
  background: rgba(239, 97, 129, 0.1);
}

.btn-down {
  position: relative;
}

.btn-down::after {
  position: absolute;
  top: 50%;
  right: 1em;
  transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  font-family: "Font Awesome 6 Free";
  content: '\f103';
  font-weight: 900;
}

/**
* バッジ
*/
.event-container__badge {
  display: grid;
  place-content: center;
  width: clamp(2.188rem, 1.25rem + 4vw, 3.75rem);
  height: clamp(0.938rem, 0.563rem + 1.6vw, 1.563rem);

  &.event-container__badge--sub-yellow {
    background: var(--color-sub-yellow);
  }

  span {
    display: block;
    font-size: clamp(0.75rem, 0.525rem + 0.96vw, 1.125rem);
    font-weight: 700;
    margin-block: var(--leading-trim);
    margin-top: -3px;
  }
}




/**
* Media Queries
*/
@media (min-width: 768px) {
  #event {
    .event-container {
      .event-container__bordered-section {
        margin-bottom: 0;
      }
    }
  }

  /* #event */

  .event-container__badge {
    span {
      margin-top: -6px;
    }
  }
}


/**
* 見出し上部テキスト
*/
.midashi-upper-text span::before,
.midashi-upper-text span::after {
  display: inline-block;
  content: "";
  width: 1px;
  height: 20px;
  background-color: #333333;
  margin: 0 0.6rem -0.3rem;
}

.midashi-upper-text span::before {
  transform: rotate(-40deg);
}

.midashi-upper-text span::after {
  transform: rotate(40deg);
}

/**
* fontsize weight
*/
b,
strong,
.bold {
  font-weight: bold;
}

.normal {
  font-weight: 400;
}

.h1,
.h2,
.h3,
.h4,
.h5,
.h6,
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: bold;
  line-height: 1.6;
}

h1,
.h1 {
  font-size: 2rem;
}

h2,
.h2 {
  font-size: 1.65rem;
}

h3,
.h3 {
  font-size: 1.3rem;
}

h4,
.h4 {
  font-size: 1.2rem;
}

h5,
.h5 {
  font-size: 1.1rem;
}

h6,
.h6 {
  font-size: 1.0rem;
}

.small {
  font-size: 0.8rem;
}


/**
*アンダーライン
**/

.underline {
  background: linear-gradient(transparent 60%, #f9e600 30%);
}

/*
スクロール
*/
/*===========
.scroll-box
===========*/
.scroll-box {
  overflow-x: auto;
  padding-bottom: 10px;
  -webkit-overflow-scrolling: touch;
}

.scroll-box div img {
  max-width: 100%;
  min-width: 800px;
  vertical-align: top;
}

/*===========
scrollbar
===========*/
/*スクロールバー全体の高さ*/
.scroll-box::-webkit-scrollbar {
  height: 4px;
}

/*スクロールバー全体の背景*/
.scroll-box::-webkit-scrollbar-track {
  background: #eee;
}

/*スクロールバーの動く部分*/
.scroll-box::-webkit-scrollbar-thumb {
  background: #aaa;
  border: none;
}

/*スクロールバーの動く部分のホバー（マウスオーバー）*/
.scroll-box::-webkit-scrollbar-thumb:hover {
  background: #999;
}



/*
スワイパー
*/
.slide-container {
  position: relative;
}

.swiper-button-prev {
  left: -60px;
}

.swiper-button-next {
  right: -60px;
}

.swiper-pagination-bullets.swiper-pagination-horizontal {
  bottom: -15px;
  position: relative;
  margin-top: 25px;
}

.swiper-pagination-bullet {
  background-color: var(--color-main);
}

.swiper-button-next::after,
.swiper-button-prev::after {
  font-size: 1rem;
  color: var(--color-sub-blue);
}

/* @media screen and (min-width: 768px) {

              swiper-pagination,
              .swiper-button-prev,
              .swiper-button-next {
                display: none;
              }

              .swiper-wrapper {
                display: flex;
                flex-wrap: wrap;
                gap: 16px;
                justify-content: center;
              }

              .swiper-slide {
                width: 30%;
              } 
                }*/



/*
アコーディオン 005
*/
.accordion-005 {
  max-width: 700px;
}

.accordion-005:not([open]) {
  margin-bottom: 7px;
}

.accordion-005 summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  padding: 1em 1em;
  border-left: 5px solid #0081cc;
  background-color: #f2f2f2;
  color: #333333;
  font-weight: 600;
  cursor: pointer;
}

.accordion-005 summary::-webkit-details-marker {
  /* display: none; */
  height: 0;
}

.accordion-005 summary::after {
  transform: translateY(-25%) rotate(45deg);
  width: 10px;
  height: 10px;
  margin-left: 5px;
  border-bottom: 3px solid #c2c2c2;
  border-right: 3px solid #c2c2c2;
  content: '';
  transition: transform .3s;
}

.accordion-005[open] summary::after {
  transform: rotate(225deg);
}

.accordion-005 p {
  transform: translateY(-10px);
  opacity: 0;
  margin: 0;
  padding: 1em 1.5rem 2rem 1.5rem;
  color: #333333;
  transition: transform .5s, opacity .5s;
}

.accordion-005[open] p {
  transform: none;
  opacity: 1;
}

/*
吹き出し
*/

.voice-box {
  background: #fff3b2;
  border-radius: 20px;
  padding: 2em 1em 1.5em;
  position: relative;
  margin-bottom: 2em;
}

.voice-balloon {
  position: absolute;
  top: -15px;
  left: 13%;
  text-align: center;
}


.voice-balloon span {
  position: relative;
  background: var(--color-main);
  color: #fff;
  border-radius: calc(clamp(2.813rem, 2.625rem + 0.8vw, 3.125rem) / 2);
  padding: 0.3em 1.3em;
  font-size: 0.9em;
  white-space: nowrap;
}

/*
番号見出し
*/
.bangomidashi {
  background: var(--color-main);
  border-radius: 9999px;
  color: #FFF;
  font-weight: 700;
  display: grid;
  place-content: center;
  margin-top: 2px;
  margin-right: 8px;
  padding-bottom: 3px;
  width: 23px;
  height: 23px;
}

li:has(.bangomidashi) {
  display: flex;
}

/*
---------------------
レビューアコーディオン
---------------------
*/

.accordion-003 {
  max-width: ;
  margin-bottom: 7px;
  border-bottom: 1px solid #d0d0d0;
}

.accordion-003 summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  padding: 1em 2em;
  color: var(--bs-body-color);
  font-weight: 500;
  cursor: pointer;
}

.accordion-003 summary::-webkit-details-marker {
  /* display: none; */
  height: 0;
}

.accordion-003 summary::before,
.accordion-003 summary::after {
  width: 3px;
  height: .9em;
  border-radius: 0px;
  background-color: #aaa;
  content: '';
}

.accordion-003 summary::before {
  position: absolute;
  right: 2em;
  rotate: 90deg;
}

.accordion-003 summary::after {
  transition: rotate .3s;
}

.accordion-003[open] summary::after {
  rotate: 90deg;
}

.accordion-003 p {
  transform: translateY(-10px);
  opacity: 0;
  margin: 0;
  padding: .3em 2em 1.5em;
  color: var #212529 (--bs-body-color);
  ;
  transition: transform .5s, opacity .5s;
}

.accordion-003[open] p {
  transform: none;
  opacity: 1;
}

/*
-----------------
ボタン
-----------------
*/

/**
*　ボタン
**/
.btn {
  font-weight: 500 !important;
}
.btn-sm {
  font-weight: normal !important;
}
.btn-arrow,
.btn-arrow-sm {
  color: #ffffff;
}
a.btn-arrow,
a.btn-arrow-sm,
a.btn-arrow-gray {
  position: relative;
}
a.btn-arrow::after,
a.btn-arrow-sm::after,
a.btn-arrow-gray::after {
  position: absolute;
  /* float: right; */
  top: 50%;
  right: 1em;
  transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  border: none;
  line-height: 1;
  content: url(../../img/2025/toggle_arrow.svg);
  /* padding-top: 0.3rem; */
}
a.btn-arrow-sm::after {
  content: url(../../img/2025/btn_arrow_sm.svg);
  padding-top: 0.1rem;
}
a.btn-arrow-gray::after {
  content: url(../../img/2025/toggle_arrow_gray.svg);
}
a.btn-arrow-sm.btn-arrow-gray::after {
  content: url(../../img/2025/btn_arrow_sm_gray.svg);
}
.btn-210 {
  width: 210px;
  max-width: 100%;
}
.btn-280 {
  width: 280px;
  max-width: 100%;
}
.btn-330 {
  width: 330px;
  max-width: 100%;
}
.btn-360 {
  width: 360px;
  max-width: 100%;
}
.btn-lg {
  font-weight: bold;
  font-size: 1.1rem;
}
.btn-xlg {
  padding: 1rem 1rem;
  font-weight: bold;
  font-size: 1.2rem;
}
.btn-upper-text {
  padding: 0.5rem 0.8rem;
  max-width: 100%;
  margin-top: 40px;
  position: relative;
}
.btn-upper-text span {
  position: absolute;
  top: -30px;
  left: 0;
  font-size: 0.9rem;
  width: 100%;
  text-align: center;
  color: #333;
}
.btn-upper-text span::before,
.btn-upper-text span::after {
  display: inline-block;
  content: "";
  width: 1px;
  height: 20px;
  background-color: #333333;
  margin: 0 0.6rem -0.3rem;
}
.btn-upper-text span::before {
  transform: rotate(-40deg);
}
.btn-upper-text span::after {
  transform: rotate(40deg);
}
.btn-dbook,
.btn-outsite {
  position: relative;
}
.btn-dbook::after {
  position: absolute;
  top: 50%;
  right: 1em;
  transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  content: "\f518";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
}
.btn-outsite::after {
  position: absolute;
  top: 50%;
  right: 1em;
  transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  content: "\f35d";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
}
.btn-movie,
.btn-file {
  position: relative;
}

.btn-movie::after {
  position: absolute;
  top: 50%;
  right: 1em;
  transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  content: "\f144";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
}

.btn-file::after {
  position: absolute;
  top: 50%;
  right: 1em;
  transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  content: "\f15c";
  font-family: "Font Awesome 5 Free";
  font-weight: 500;
}

.rounded-lg {
  border-radius: 0.8rem !important;
}

/**
* インデント
*/
.ind{
  text-indent: -1em;
}



/* よくある質問アコーディオン */
.question {
  display: block;
  /*デフォルトの三角形を削除*/
  cursor: pointer;
  padding: 10px 20px 10px 40px;
  background: #cce6f6;
  border-bottom: 1px solid var(--color-main);
  font-weight: bold;
  font-size: 1rem;
  position: relative;

  &:before {
    content: 'Q';
    color: var(--color-main);
    font-size: 1.6rem;
    position: absolute;
    top: calc(50% - 0.5em);
    left: 10px;
    line-height: 1;
    padding: 0;
    pointer-events: none;
  }

  &:after {
    font-family: "Font Awesome 6 Free";
    content: '\f107';
    color: var(--color-main);
    font-size: 0.8rem;
    position: absolute;
    top: calc(50% - 0.5em);
    right: 10px;
    line-height: 1;
    padding: 0;
    pointer-events: none;
  }
}

.faq-acc[open] .question:after {
  content: '\f106';
}

.question::-webkit-details-marker {
  /* Safari-デフォルトの三角形を削除*/
  display: none;
}

.answer {
  overflow: hidden;
  /* padding・marginはここでは設定しない */
}

.answerInner {
  padding: 20px 20px 20px 36px;
  position: relative;

  &:before {
    position: absolute;
    top: 14px;
    left: 10px;
    content: 'A';
    color: var(--color-sub-deeppink);
    font-size: 1.6rem;
    position: absolute;
    font-weight: 900;
  }
}