/* ============================================================
   toppa.css — 突破篇 特設サイト
   ============================================================ */

/* ------ベース------ */
body {
  font-family: "游ゴシック体", YuGothic, "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック", "Yu Gothic", 'Noto Sans JP', 'UD Shin Go Light', "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "MS Pゴシック", "MS PGothic", sans-serif;
  font-weight: 500;
  background: #fff;
  font-size: 18px;
  color: #143C6E;
  letter-spacing: 2px;
}

/* PCはw1600pxまで等倍拡大、それ以降は左右に白余白 */
#container {
  overflow: hidden;
  background: #fff;
}

.modaal-close {
  position: absolute;
  top: 470px;
  right: 0;
  left: 0;
  margin: 0 auto;
  width: 80px;
  height: 80px;
  cursor: pointer;
  z-index: 8040;
  background-image: url(/special_contents/img/top/btn_close.png);
  background-size: cover;
}

sub {
  font-size: 75.5%;
  vertical-align: bottom;
  position: relative;
  top: 0.1em;
}

sup {
  font-size: 75.5%;
  vertical-align: top;
  position: relative;
  top: 0.1em;
}

.under768,
.under500,
.is-tb {
  display: none;
}

/* ------フェードイン------ */
/* .fadeIn / .fadeIn.is-active は reset.css の定義（animation: fadeIn .6s forwards）を使用。
   toppa側で個別のtransitionベースの定義を持っていたため二重にフェードがかかっていた。
   覚えてる篇・伝えたい篇と同様、reset.cssの定義のみに統一する */

/* ------ヘッダー------ */
#header {
  position: relative;
  max-width: 1600px;
  margin: 0 auto;
}

.nav_btn {
  position: absolute;
  top: 30px;
  right: 20px;
  z-index: 9999;
}

.opennavi {
  position: relative;
  width: 30px;
  height: 30px;
  cursor: pointer;
  z-index: 20;
}

.opennavi span {
  display: inline-block;
  transition: all .4s;
  position: absolute;
  height: 2px;
  background-color: #000;
  width: 100%;
  left: 0;
}

.opennavi span:nth-of-type(1) {
  top: 2px;
}

.opennavi span:nth-of-type(2) {
  top: 14px;
}

.opennavi span:nth-of-type(3) {
  bottom: 2px;
}

.opennavi.active span:nth-of-type(1) {
  transform: rotate(-45deg);
  top: 14px;
  background-color: #fff;
}

.opennavi.active span:nth-of-type(2) {
  opacity: 0;
}

.opennavi.active span:nth-of-type(3) {
  transform: rotate(45deg);
  bottom: 14px;
  background-color: #fff;
}

.navi {
  position: absolute;
  z-index: 10;
  opacity: 0;
  top: 10px;
  right: 10px;
  background: #062436;
  transition: all 0.3s;
}

.navi .nav_inner {
  padding: 80px 40px;
}

.navi.navi_open {
  opacity: 1;
  z-index: 999;
}

.header_nav_list li:nth-of-type(n+2) {
  margin-left: 0;
  margin-top: 30px;
}

.header_nav_list li a {
  display: block;
  font-size: 18px;
  text-align: left;
  transition: 0.3s;
  position: relative;
  padding-right: 25px;
  color: #fff;
}

.header_nav_list li .triangle {
  display: inline-block;
  position: absolute;
  border-style: solid;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-left: 10px solid #fff;
  border-right: 0;
  top: 50%;
  right: 0;
  margin-top: -7px;
  transition: .3s;
}

.header_nav_list li:hover a {
  color: #3ad4b8;
}

.header_nav_list li:hover .triangle {
  border-left: 10px solid #3ad4b8;
}

/* ------セクション共通------ */
.section {
  position: relative;
}

.section_inner {
  max-width: 1340px;
  margin: 0 auto;
  position: relative;
}

/* ------KV------ */
.sec01 {
  overflow: hidden;
  max-width: 1600px;
  margin: 0 auto;
}

.ttl_lv1 {
  padding: 0;
  margin: 0;
}

.kv_wrap {
  position: relative;
}

.kv_img {
  display: block;
}

.kv_img img {
  width: 100%;
  height: auto;
}

.kv_serif {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease;
  pointer-events: none;
}

.kv_serif.is-active {
  opacity: 1;
}

.kv_serif img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* ------背景グラデーションラッパー------ */
.main_bg {
  position: relative;
  overflow: hidden;
}

.page_bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.page_bg img {
  width: 100%;
  height: 100%;
  object-fit: fill;
  display: block;
}

.main_bg .section,
.main_bg footer {
  position: relative;
}

/* ------見出し共通------ */
.ttl_lv3 {
  font-size: 32px;
  font-weight: 200;
  color: #143C6E;
  margin: 0 auto 80px;
  text-align: center;
}

.sec02 {
  position: relative;
  margin-top: 80px;
  padding: 150px 0 18px;
}

.sec02_bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: flex;
  justify-content: center;
  max-width: 1350px;
  overflow: hidden;
  left: 0;
  right: 0;
  margin: 0 auto;
}
/* .sec02_bg::after {
  position: absolute;
  content: '';
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  box-shadow: inset 0 0 15px 15px gray;
} */
.sec02_bg img {
  width: 100%;
  height: 100%;
}


/* ------sec02: TMEICと脱炭素------  */

.sec02_box {
  display: flex;
  flex-direction: row-reverse;
  gap: 40px;
  justify-content: center;
  margin-bottom: -18px;
}

.text_sec02 {
  max-width: 640px;
}

.speech_bubble {
  display: inline-block;
  margin: 0 0 60px -60px;
}

.speech_bubble img {
  max-width: 623px;
  width: 100%;
  height: auto;
}

.text_sec02 .copy {
  font-size: 20px;
  line-height: 2;
  color: #fff;
}

.text_sec02 .copy+.copy {
  margin-top: 30px;
}

.img_sec02 {
  margin-top: 160px;
  margin-bottom: -14px;
  flex-shrink: 0;
  width: 440px;
  max-width: 100%;
}

.img_sec02 img {
  width: 100%;
  height: auto;
}

/* ------sec03: クイズ------ */
.sec03 {
  padding: 100px 0 0;
}

.sec03_inner {
  background: url(/special_contents/img/toppa/bg_quiz.jpg) no-repeat center / cover;
  border-radius: 24px;
  padding: 120px 40px;
}

.sec03_main {
  max-width: 968px;
  margin: 0 auto;
}

.ttl_quiz {
  margin-bottom: 45px;
  text-align: center;
}

.ttl_quiz img {
  max-width: 748px;
  width: 100%;
  height: auto;
}

.quiz_lead {
  line-height: 1.9;
  color: #fff;
  text-align: center;
  margin-bottom: 45px;
}

.quiz_lead .em {
  background-color: #00ADA1;
}

.img_sec03 {
  flex-shrink: 0;
  width: 157px;
  position: absolute;
  bottom: -20px;
  right: 10px;
}

.img_sec03 img {
  width: 100%;
  height: auto;
}

/* ------クイズアイテム------ */
.quiz_list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}


.quiz_row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
}

/* シェイクアニメーション */
@keyframes shake {

  0%,
  100% {
    transform: translateX(0);
  }

  15% {
    transform: translateX(-10px);
  }

  30% {
    transform: translateX(10px);
  }

  45% {
    transform: translateX(-7px);
  }

  60% {
    transform: translateX(7px);
  }

  75% {
    transform: translateX(-4px);
  }

  90% {
    transform: translateX(4px);
  }
}

.quiz_row.is-shake {
  animation: shake 0.6s ease;
}

/* 錠前 */
.quiz_lock {
  flex-shrink: 0;
  width: 44px;
}

.quiz_lock img {
  width: 100%;
  height: auto;
}

/* 番号 */
.quiz_num {
  flex-shrink: 0;
  width: 50px;
  text-align: center;
}



/* 単語群 */
.quiz_words {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 17px;
  flex: 1;
  flex-wrap: wrap;
}

.quiz_dash {
  color: #fff;
  font-size: 24px;
  flex-shrink: 0;
}

/* 単語ボタン（背景をbtn_quiz_on/off.svgで切り替え） */
.word_btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 160px;
  height: 54px;
  border: none;
  opacity: .5;
  transition: opacity .3s;
  cursor: pointer;
  font-family: inherit;
  background: none;
}

.word_btn::before,
.word_btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: no-repeat center / 100% 100%;
  transition: opacity .3s;
}

.word_btn::before {
  background-image: url(/special_contents/img/toppa/btn_quiz_off.png);
}

.word_btn::after {
  background-image: url(/special_contents/img/toppa/btn_quiz_on.png);
  opacity: 0;
}

.word_btn img {
  position: relative;
  z-index: 1;
  display: block;
  height: 24px;
  width: auto;
}

.word_btn.is-selected,
.word_btn.word_fixed {
  opacity: 1;
}

.word_btn.is-selected::after,
.word_btn.word_fixed::after {
  opacity: 1;
}

.word_btn.word_fixed {
  cursor: default;
}

/* 回答ボタン（背景をanswer_btn_on/off.svgでクロスフェード） */
.answer_btn {
  position: relative;
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  border: none;
  cursor: default;
  background: none;
}

.answer_btn::before,
.answer_btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: no-repeat center / 100% 100%;
  transition: opacity .3s;
}

.answer_btn::before {
  background-image: url(/special_contents/img/toppa/answer_btn_off.svg);
}

.answer_btn::after {
  background-image: url(/special_contents/img/toppa/answer_btn_on.png);
  opacity: 0;
}

.answer_btn:not([disabled])::before {
  opacity: 0;
}

.answer_btn:not([disabled])::after {
  opacity: 1;
}

.answer_btn:not([disabled]) {
  cursor: pointer;
}

/* 解説エリア（グラデーション背景＋右下カット） */
.quiz_explanation {
  margin-top: 14px;
  padding: 0;
  clip-path: polygon(22px 0,
      100% 0,
      100% calc(100% - 22px),
      calc(100% - 22px) 100%,
      0 100%,
      0 22px);
}

.explanation_inner {
  position: relative;
}

.explanation_close {
  position: absolute;
  top: 16px;
  right: 30px;
  z-index: 1;
  width: 26px;
  height: 26px;
  background: none;
  transition: .3s;
  border: none;
}

.explanation_close:hover {
  opacity: .7;
}

.answer_keyword,
.answer_desc {
  position: relative;
  margin: 0;
  background: linear-gradient(160deg, #dbe8f1 0%, #edf4f9 55%, #f8fbfd 100%);
  border: 1px solid #fff;
  box-shadow: inset 0 0 10px rgba(255, 255, 255, .8);
}

.answer_keyword {
  margin-bottom: 2px;
  padding: 20px 40px 18px;
}

.answer_keyword::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 29px;
  height: 29px;
  background: url(/special_contents/img/toppa/item_explanation_before.svg) no-repeat center / contain;
}

.answer_keyword img {
  display: block;
  height: 22px;
  width: auto;
}

.answer_desc {
  padding: 20px 40px;
  line-height: 1.8;
  letter-spacing: 0;
  color: #143C6E;
}

.answer_desc::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 29px;
  height: 29px;
  background: url(/special_contents/img/toppa/item_explanation_after.svg) no-repeat center / contain;
}

.quiz_btn {
  margin: 70px auto 0;
  text-align: center;
}

.quiz_btn a {
  position: relative;
  display: inline-block;
  overflow: hidden;
  border-radius: 8px;
}

.quiz_btn.is-glowing a::after {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, .75) 50%, transparent 100%);
  transform: skewX(-20deg);
  animation: quizBtnShine 3s infinite;
  pointer-events: none;
}

@keyframes quizBtnShine {
  0% {
    left: -75%;
  }
  20% {
    left: 125%;
  }
  100% {
    left: 125%;
  }
}

.quiz_btn img {
  width: 100%;
  height: auto;
  max-width: 320px;
}

/* 共通：ホバーで画像をクロスフェードするボタン（quiz_btn・radio_btn） */
.btn_default {
  transition: opacity .3s;
}

.btn_hover {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity .3s;
}

a:hover .btn_default {
  opacity: 0;
}

a:hover .btn_hover {
  opacity: 1;
}

/* ------sec04: 広告紹介------ */
.sec04 {
  padding: 100px 0;
}

.sec04 .section_inner {
  overflow: hidden;
}

.bg_box {
  position: relative;
}

@media screen and (min-width: 2000px) {
  .sec04 .section_inner {
    max-width: 1100px;
    overflow: hidden;
}
}


/* --------swiper_area */

.swiper1 {
  overflow: visible;
  max-width: 800px;
  margin: 0 auto 20px;
}

.swiper1 .swiper-slide {
  width: 800px;
  margin: auto;
  transition: transform .6s;
  transform: scale(.6);
  opacity: 1;
  transition: .3s;
}

.swiper1 .swiper-slide.swiper-slide-next,
.swiper1 .swiper-slide.swiper-slide-prev {
  opacity: 0;
}

.swiper1 .swiper-slide.swiper-slide-active {
  transform: scale(1);
}

.swiper-img {
  margin: auto;
  width: 800px;
  overflow: hidden;
  align-content: center;
  border: 4px solid #ffffff;
  box-shadow: 0px 0px 20px rgba(255, 255, 255, 0.7);
}

.swiper-img img {
  width: 100%;
  height: auto;
  transition: .3s;
  cursor: pointer;
}

.swiper-img img:hover {
  transform: scale(1.05, 1.05);
}

.swiper-text {
  opacity: 0;
  text-align: center;
  margin-top: 34px;
  font-size: 24px;
  transition: .3s;
}

.swiper-slide-active .swiper-text {
  opacity: 1;
}

.swiper-pagination {
  position: relative;
  margin-top: 40px;
}

.swiper-pagination1 .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  opacity: 1;
  border-radius: 0;
  background-color: #fff;
}

.swiper-pagination1 .swiper-pagination-bullet-active {
  background-color: #00ADA1;
}

.swiper-pagination-horizontal.swiper-pagination-bullets .swiper-pagination-bullet:nth-of-type(n+2) {
  margin-left: 14px;
}

.swiper-button-next,
.swiper-button-prev {
  position: absolute;
}

.swiper-button-next::after,
.swiper-button-prev::after {
  content: "";
  position: absolute;
  width: 56px;
  height: 56px;
  top: -50%;
  transform: translateY(-60%);
}

.swiper-button-next1::after,
.swiper-button-prev1::after {
  background: url("/special_contents/img/toppa/icon_slider01.svg") no-repeat center / cover;
}

.swiper-button-prev::after {
  transform: rotate(180deg) translateY(60%);
  left: -100px;
}

.swiper-button-next::after {
  right: -100px;
}

.swiper-button-next {
  right: 10px;
  z-index: 2;
}

.swiper-button-prev {
  left: 10px;
  z-index: 2;
}

.bnr_sites {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 70px;
  flex-wrap: wrap;
}

.bnr_site_item a {
  display: block;
  text-align: center;
}

.bnr_site_item div {
  border-radius: 10px;
  border: 1px solid #000;
  overflow: hidden;
  margin-bottom: 8px;
}

.bnr_site_item div img {
  width: 300px;
  height: auto;
  transition: .3s;
}

.bnr_site_item a:hover div img {
  transform: scale(1.1, 1.1);
}

.bnr_site_item p {
  margin-top: 20px;
  font-size: 13px;
  color: #343956;
}

/* newpageアイコン */
.newpage {
  position: relative;
  padding-right: 30px;
}

.newpage::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 14px;
  background: url(/special_contents/img/toppa/icon_blank.png) no-repeat center / contain;
}

/* ------モーダル（グラフィック広告）------ */
.modal__trigger {
  cursor: pointer;
}

.modal {
  display: none;
  overflow: scroll;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  width: 100%;
  height: 100vh;
  background-color: rgba(0, 0, 0, .8);
}

.modal_content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: auto;
  height: 50vh;
}

.modal_content img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.modal_close {
  transition: .3s;
}

.modal_close:hover {
  opacity: .7;
}

.modal_close_box {
  width: 80px;
  height: 80px;
  margin: 20px auto 0;
}

.sec04 .bnr_top {
  display: flex;
  gap: 80px;
  justify-content: center;
  margin: 80px auto 0;
}

.sec04 .bnr_top a {
  display: block;
  max-width: 300px;
  color: #143C6E;
}

.sec04 .bnr_top div {
  overflow: hidden;
  border: 1px solid #fff;
}

.sec04 .bnr_top div img {
  width: 100%;
  height: auto;
  transition: 0.3s;
}

.sec04 .bnr_top a:hover img {
  transform: scale(1.1, 1.1);
}

.sec04 .bnr_top p {
  margin-top: 20px;
  font-size: 20px;
  text-align: center;
}

/* ------sec05: キャスト------ */

.sec05_inner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 70px;
  background: url(/special_contents/img/toppa/bg_cast.jpg) no-repeat center / cover;
  border-radius: 20px;
  overflow: hidden;
  padding: 70px 20px;
}

.img_cast {
  flex-shrink: 0;
  width: 328px;
}

.img_cast img {
  width: 100%;
  height: auto;
  border-radius: 4px;
}

.text_cast {
  text-align: left;
  color: #fff;
}

.ttl_cast {
  display: block;
  margin: 0 0 45px;
  max-width: 428px;
  width: 100%;
  height: auto;
}

.cast_detail {
  line-height: 1.6;
}

.cast_detail+.cast_detail {
  margin-top: 30px;
}

/* ------sec06: ラジオ番組・CM紹介------ */
.sec06 {
  padding: 100px 0;
}

.sec06 .ttl_lv3 {
  margin: 0 auto 45px;
}

.radio_bnr {
  max-width: 960px;
  width: 100%;
  margin: 0 auto 28px;
  border: 1px solid #fff;
  box-shadow: 0 0 10px rgba(255, 255, 255, .8);
}

.radio_bnr a {
  display: block;
  overflow: hidden;
}

.radio_bnr img {
  width: 100%;
  height: auto;
  transition: transform .3s;
}

.radio_bnr a:hover img {
  transform: scale(1.02);
}

.radio_btn {
  text-align: center;
}

.radio_btn a {
  position: relative;
  display: inline-block;
}

.radio_btn img {
  width: 220px;
  height: auto;
}

/* ------sec07: 採用情報------ */
.sec07 {
  position: relative;
  padding: 0;
  background-color: rgba(144, 204, 204, .8);
  margin: 0 auto;
}

/* .sec07::before,
.sec07::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 50px;
  background: url(/special_contents/img/toppa/bg_saiyou.png) no-repeat center / cover;
  pointer-events: none;
}

.sec07::before {
  top: -50px;
}

.sec07::after {
  bottom: -50px;
  transform: scaleY(-1);
} */

.sec07 .ttl_lv3 {
  margin-bottom: 0;
  letter-spacing: 10px;
}

.sec07_inner {
  padding: 120px 0 ;
}
.sec07_inner .section_inner{
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}
.sec07 .ttl_lv3 {
  text-align: left;
  margin:0;
}


.img_sec07 {
  width: 472px;
  position: absolute;
  z-index: 1;
  bottom: -120px;
  left: 0;
}

.img_sec07 img {
  width: 100%;
  height: auto;
}

.saiyou_bnrs {
  flex: 1;
  max-width: 700px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.saiyou_bnr {
  overflow: hidden;
  border: 1px solid #fff;
}

.saiyou_bnr:hover img {
  transform: scale(1.05);
}

.saiyou_bnr img {
  width: 100%;
  height: auto;
  transition: transform .3s;
}


/* ------sec08: もっとTMEICを知る------ */
.sec08 {
  padding: 100px 0;
}

.tmeic_bnrlist {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 60px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.tmeic_bnrlist .item a {
  display: block;
  text-align: center;
  color: #143C6E;
}

.tmeic_bnrlist .item div {
  overflow: hidden;
  margin-bottom: 20px;
  border: 1px solid #fff;
}

.tmeic_bnrlist .item img {
  width: 300px;
  height: auto;
  transition: transform .3s;
}

.tmeic_bnrlist .item a:hover img {
  transform: scale(1.04);
}


/* ------フッター------ */
#footer {
  letter-spacing: 0;
  color: #000;
}


/* ============================================================
   タブレット・小型PC（max-width: 1400px）
   1441px以上はデザイン通り。769〜1400pxの間の崩れ・はみ出しを抑制する。
   ============================================================ */

@media screen and (max-width: 1400px) {
  .section_inner {
    padding: 0 40px;
  }

  /* ------sec02------ */

  .sec02 {
    background-size: cover;
    background-position: center;
    margin: 80px auto 0;
    border-radius: 0;
    background-position-x: 99.5%;

  }
  .sec02_bg{    
    padding: 0 36px;
  }
  .sec02_box {
    gap: 0;
    align-items: end;
  }
  .text_sec02{
    max-width: 50%;
  }
  .img_sec02 {
    width: 38%;
    margin-top: 0;
  }

  .text_sec02 {
    margin-bottom: 160px;
  }

  /* ------sec03------ */

  .sec03_main {
    max-width: 700px;
  }

  .quiz_row {
    padding: 16px 0px;
    gap: 8px;
  }

  .quiz_words {
    gap: 14px;
  }

  .word_btn {
    width: 110px;
    height: 44px;
  }

  .word_btn img {
    height: 22px;
  }
  /* ------sec04------ */

  .modal_content .modal_img {
    width: 60vw;
    height: auto;
  }

  /* ------sec05------ */
  .cast_detail br {
    display: none;
  }
  

  /* ------sec07------ */


  .img_sec07 {
    width: 34%;

  }
}

/* ============================================================
   SP（max-width: 1000px）
   ============================================================ */
@media screen and (max-width: 1000px) {
  /* ------sec03------ */

  .sec03_inner {
    padding: 120px 40px 400px;
    border-radius: 14px;
  }

  .quiz_list {
    gap: 30px;
  }

  .quiz_row {
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    padding: 40px 0 0;
    position: relative;
    flex-direction: column;
    gap: 24px;
    max-width: 420px;
    margin: 0 auto;
  }

  .quiz_lock {
    position: absolute;
    top: 14px;
    left: 16px;
    width: 24px;
  }

  .quiz_num {
    position: absolute;
    top: 12px;
    left: 44px;
  }

  .quiz_num img {
    width: 40px;
  }

  .quiz_words {
    order: 1;
    justify-content: center;
    gap: 10px 8px;
  }


  .quiz_dash {
    flex-basis: 100%;
    text-align: center;
    transform: rotate(90deg);
  }

  .word_btn {
    width: 120px;
    height: 44px;
    padding: 7px 14px;
  }

  .quiz_explanation {
    margin-top: 24px;
  }

  .quiz_dash {
    font-size: 14px;
  }

  .answer_btn {
    order: 2;
    width: 120px;
    height: 48px;
    margin: 4px auto 0;
  }

  .answer_btn::before {
    background-image: url(/special_contents/img/toppa/answer_btn_off_sp.svg);
  }

  .answer_btn::after {
    background-image: url(/special_contents/img/toppa/answer_btn_on_sp.png);
  }

  .img_sec03 {
    right: 0;
    left: 0;
    margin: 0 auto;
    bottom: 0;
    width: 340px;
  }

  /* ------sec03------ */

  .swiper,
  .swiper-img,
  .swiper .swiper-slide {
    max-width: 600px;
    width: 100%;
  }

  /* ------sec05------ */
  .sec05_inner {
    flex-direction: column;
  }

  .cast_detail br {
    display: block;
  }

  .ttl_cast {
    margin: 0 auto 45px;

  }
  /* sec07 */
  .sec07_inner {
    padding: 60px 0 0px;
}
  .sec07_inner .section_inner{
    flex-direction: column;
    gap: 35px;
    align-items: center;
  }

  .sec07 .ttl_lv3 {
    text-align: center;
    letter-spacing: 2px;
  }

  .img_sec07 {
    position: relative;
    bottom: 0;
    margin-bottom: 0;
  }


}

/* ============================================================
   SP（max-width: 768px）
   ============================================================ */
@media screen and (max-width: 768px) {
  body {
    font-size: 16px;
  }

  .under768 {
    display: block;
  }

  .section_inner {
    padding: 0 20px;
  }

  /* ------nav------ */

  .nav_btn {
    top: 18px;
    right: 10px;
  }

  .opennavi {
    height: 19px;
  }

  .opennavi span {
    height: 1px;
  }

  .opennavi span:nth-of-type(1) {
    top: 1px;
  }

  .opennavi span:nth-of-type(2) {
    top: 9px;
  }

  .opennavi span:nth-of-type(3) {
    bottom: 1px;
  }

  .opennavi.active span:nth-of-type(1) {
    top: 10px;
  }

  .opennavi.active span:nth-of-type(3) {
    bottom: 8px;
  }


  /* sec02 */
  .sec02 {
    padding: 0;
    overflow: visible;
    margin: 40px auto 0;
  }
  .sec02_bg {
    padding: 0 14px;
    border-radius: 40px 40px 50px 50px;
    margin-top: 36px;
}
  .text_sec02{
    max-width: 100%;
  }
  .text_sec02 .copy {
    font-size: 18px;
  }

  .text_sec02 {
    margin-bottom: 0;
  }

  .speech_bubble {
    margin: 0 auto 30px;
  }

  .text_sec02 .copy {
    text-align: center;
  }

  .sec02_box {
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }


  .speech_bubble p {
    font-size: 18px;
  }

  .img_sec02 {
    width: 260px;
    margin-bottom: -10px;
  }

  /* sec03 クイズ */
  .explanation_close{
    top:25px
  }
  .sec03 {
    padding: 70px 0 0;
  }

  .sec03_inner {
    padding: 60px 15px 400px;
  }

  .speech_bubble img {
    max-width: 500px;
  }

  .ttl_quiz,
  .quiz_lead {
    margin-bottom: 38px;
  }

  .answer_keyword img {
    height: 44px;
  }

  .ttl_quiz img {
    max-width: 500px;
  }

  /* sec04 */
  .modal_content .modal_img {
    width: 80vw;
    height: auto;
  }
  .modaal-close,
  .modal_close_box {
    width: 40px;
    height: 40px;
  }
  .sec04 {
    padding: 80px 0 ;
  }

  .swiper-text {
    margin-top: 20px;
    font-size: 20px;
  }

  .swiper1,
  .swiper-img,
  .swiper1 .swiper-slide {
    max-width: 450px;
  }

  .bnr_sites {
    gap: 20px;
  }

  .bnr_site_item div img {
    width: 260px;
  }

  /* sec05 */

  .sec05_inner {
    flex-direction: column;
    gap: 30px;
    padding: 90px 24px;
    border-radius: 16px;
  }

  .img_cast {
    max-width: 250px;
    width: 100%;
  }

  .ttl_cast {
    text-align: center;
  }

  /* sec06 */
  .sec06 {
    padding: 60px 0 80px;
  }
  .radio_btn img{width: 172px}
  .radio_bnr {
    max-width: 500px;
  }

  /* sec07 */
  .img_sec07 {
    width: 300px;

  }

  .saiyou_bnr {
    max-width: 500px;
  }

  .saiyou_bnrs {
    gap: 30px;
  }

  /* sec08 */
  .sec08 {
    padding: 75px 0;
  }

  .tmeic_bnrlist .item div {
    margin-bottom: 16px;
  }

  .tmeic_bnrlist {
    gap: 30px;
  }

  .tmeic_bnrlist .item img {
    width: 240px;
  }
}

/* ============================================================
   SP小（max-width: 500px）
   ============================================================ */
@media screen and (max-width: 500px) {
  body {
    font-size: 14px;
  }

  .under500 {
    display: block;
  }

  .ttl_lv3 {
    font-size: 24px;
    margin-bottom: 50px;
  }

  .over500 {
    display: none;
  }

  .speech_bubble p {
    font-size: 16px;
    white-space: normal;
  }

  .quiz_lead {
    font-size: 13px;
  }
  .answer_keyword{
    padding: 14px 10px 14px 30px;
  }
  .answer_keyword img {
    margin: 0;
    height: 39px;
  }

  /* sec02 */
  .img_sec02{
    width: 170px;
    margin-bottom: -6px;
  }
  .sec02_bg {
    margin-top: 30px;
}
  .sec02_bg picture {
    display: block;
    width: 100%;
    height: 100%;
  }
  .sec02_bg img {
    object-fit: inherit;
  }
  .text_sec02 .copy {
    font-size: 14px;
  }

  .speech_bubble img {
    max-width: 314px;
  }
  .answer_desc{
    padding: 10px;
  }
  /* sec03 */
  .sec03_inner {
    padding: 60px 15px 250px;
  }

  .quiz_lock {
    left: 0;
  }

  .quiz_num {
    left: 30px;
    width: 40px;
  }

  .word_btn {
    width: 94px;
    height: 46px;
  }

  .quiz_btn img {
    max-width: 180px;
  }

  .ttl_quiz img {
    max-width: 297px;
  }

  .img_sec03 {
    width: 200px;
  }

  .quiz_num {
    width: 40px;
  }

  .sec03_inner {
    padding: 60px 15px 250px;
  }

  .quiz_btn {
    margin: 40px auto 0;
  }

  .explanation_close{
    
    width: 20px;
    height: 20px;
    right: 16px;
}
.explanation_close img{
  width: 20px;
  height: 20px;
}

  .word_btn img {
    height: 18px;
  }
  .swiper-button-prev, .swiper-button-next{
    width: 34px;
    height: 34px;
  }

  /* sec04 */
  .swiper-text {
    font-size: 14px;
    margin-top: 15px;
  }
  .swiper1,
  .swiper-img,
  .swiper1 .swiper-slide {
    max-width: 320px;
  }
  .swiper-pagination1 .swiper-pagination-bullet{
    width: 8px;
    height: 8px;
  }
  .swiper-pagination-horizontal.swiper-pagination-bullets .swiper-pagination-bullet:nth-of-type(n+2) {
    margin-left: 7px;
}


  /* 矢印をswiper-paginationの左右に配置 */
  .swiper-button-area {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    position: static;
  }

  .swiper-button-prev,
  .swiper-button-next {
    position: relative;
  }

  .swiper-pagination {
    position: static;
    margin-top: 0;
  }

  .swiper-button-prev::after,
  .swiper-button-next::after {
    position: relative;
    display: block;
    top: auto;
    width: 34px;
    height: 34px;
    transform: none;
  }
  .swiper-button-next{right: 30px;}
  .swiper-button-prev{left: 30px;}
  .swiper-button-prev::after {
    transform: rotate(180deg);
    left: 0;
  }
  .swiper-button-next::after{right: 0;}

  .sec04 .bnr_top{
    flex-direction: column;
    align-items: center;
    gap: 40px;
    margin: 60px auto 0;
  }
  .sec04 .bnr_top p{
    font-size: 14px;
  } 
  .modaal-close {
    top: 200px;
}
   /* sec05 */
   .sec05_inner{
    padding: 40px 15px 60px;
   }
   .cast_detail{
    letter-spacing: 0;
   }
  /* sec06 */
  .sec06 .ttl_lv3 {
    margin: 0 auto 35px;
}
/* sec07 */
.img_sec07 {
  width:228px;
}
/* .sec07::before{
  top: -40px;
}
.sec07::after {
  bottom: -40px;
}
.sec07::before, .sec07::after{
  height: 40px;
} */
.newpage{
  padding-right: 20px;
}
}

/* ============================================================
   PC（min-width: 769px）
   ============================================================ */
   @media screen and (max-width: 768px) {
    .over768 {
    display: none;
  }
}