/* ■右側クイズ解答欄用 */
/* クイズ外枠 */
.quiz_inner_right {
  padding: 0 0 0;
}
/* クイズ内枠1 */
.quiz_content_right {
}
/* クイズ内枠2 */
.quiz_blackboard_right {
  border: 2px solid #ccc;
  border-radius: 10px;
  padding: 32px 5% 40px;
  box-sizing: border-box;
  font-size: 16px;
}
/* クイズ問題文 */
.quiz_question_right {
  font-size: 22px;
  font-weight: normal;
  line-height: 1.4;
}
/* 選択肢枠 */
.quiz_choices_right {
  display: flex;
  flex-direction: column;
  row-gap: 10px;
  margin-top: 12px;
}
/* 選択肢個別枠 */
.quiz_choices_right .choice {
  border: solid 1px #000; /* 黒 */
  border-radius: 5px;
  padding: 8px 12px 6px;
  cursor: pointer;
}

/* 選択肢個別枠 解答後クリック防止 */
.quiz_choices_right .choice.disable {
  pointer-events: none;
  cursor: none;
}
/* 選択肢個別枠 正解 */
.quiz_choices_right .choice.correct {
  background-color: #fef154; /* 黄 */
}
/* 選択肢個別枠 不正解 */
.quiz_choices_right .choice.incorrect {
  background-color: #d3d9e9; /* 灰 */
  color: #000;
}
/* 正答表示 */
.quiz_answer_right {
  display: none;
  margin-top: 16px;
}
.quiz_answer_right span {
  padding: 0 8px;
  font-size: 32px;
  color: #e83632; /* 赤 */
}
/* 解説 */
.quiz_explanation_right {
  display: none;
  margin-top: 20px;
  line-height: 1.7;
}
.quiz_explanation_right a {
    color: revert;
}

/* ■左側クイズ出題欄用 */
/* クイズ外枠 */
.quiz_inner_left {
  padding: 0 0 0;
}
/* クイズ内枠1 */
.quiz_content_left {
}
/* クイズ内枠2 */
.quiz_blackboard_left {
  background: #11754c;
  border: 5px solid #c59e42;
  border-radius: 5px;
  padding: 32px 5% 10px;
  box-sizing: border-box;
  font-size: 16px;
  color: #fff;
}
/* クイズ問題文 */
.quiz_question_left {
  font-size: 22px;
  font-weight: normal;
  line-height: 1.4;
}
/* クイズ問題文の前にQ.を記載 */
.quiz_question_left:before {
  content: 'Ｑ.';
  display: inline-block;
  margin-right: 1%;
  font-weight: bold;
  color: aquamarine; /* 水色 */
  width: 40px;
  vertical-align: top;
}
.quiz_question_left span {
  display: inline-block;
  max-width: calc(100% - 40px - 1%);
  margin-top: 5px;
}
/* クイズ選択肢部を左右に分ける */
.quiz_blackboard_choices1_left {
  display: flex;
}
.quiz_blackboard_choices2_left {
  width: 50%;
}
.quiz_blackboard_choices3_left {
  width: 50%;
}
/* 選択肢枠 */
.quiz_choices_left {
  display: flex;
  flex-direction: column;
  row-gap: 10px;
  margin-top: 12px;
}
/* 選択肢個別枠 */
.quiz_choices_left .choice_left {
  color: #fef154; /* 黄 */
}
.quiz_choices_left .choice_left span {
  display: inline-block;
  max-width: calc(100% - 50px - 1%);
  margin-top: 5px;
}
/* 選択肢個別 選択肢の前に番号を振る */
.quiz_choices_left .choice_left1:before {
  content: '1.';
  display: inline-block;
  margin-right: 1%;
  font-size: 1.4em;
  font-weight: bold;
  color: #fef154; /* 黄 */
  width: 40px;
  vertical-align: top;
}
.quiz_choices_left .choice_left2:before {
  content: '2.';
  display: inline-block;
  margin-right: 1%;
  font-size: 1.4em;
  font-weight: bold;
  color: #fef154; /* 黄 */
  width: 40px;
  vertical-align: top;
}
.quiz_choices_left .choice_left3:before {
  content: '3.';
  display: inline-block;
  margin-right: 1%;
  font-size: 1.4em;
  font-weight: bold;
  color: #fef154; /* 黄 */
  width: 40px;
  vertical-align: top;
}
.quiz_choices_left .choice_left4:before {
  content: '4.';
  display: inline-block;
  margin-right: 1%;
  font-size: 1.4em;
  font-weight: bold;
  color: #fef154; /* 黄 */
  width: 40px;
  vertical-align: top;
}
.quiz_choices_left .choice_left5:before {
  content: '5.';
  display: inline-block;
  margin-right: 1%;
  font-size: 1.4em;
  font-weight: bold;
  color: #fef154; /* 黄 */
  width: 40px;
  vertical-align: top;
}
.quiz_choices_left .choice_left6:before {
  content: '6.';
  display: inline-block;
  margin-right: 1%;
  font-size: 1.4em;
  font-weight: bold;
  color: #fef154; /* 黄 */
  width: 40px;
  vertical-align: top;
}
.quiz_choices_left .choice_left7:before {
  content: '7.';
  display: inline-block;
  margin-right: 1%;
  font-size: 1.4em;
  font-weight: bold;
  color: #fef154; /* 黄 */
  width: 40px;
  vertical-align: top;
}
.quiz_choices_left .choice_left8:before {
  content: '8.';
  display: inline-block;
  margin-right: 1%;
  font-size: 1.4em;
  font-weight: bold;
  color: #fef154; /* 黄 */
  width: 40px;
  vertical-align: top;
}
.quiz_choices_left .choice_left9:before {
  content: '9.';
  display: inline-block;
  margin-right: 1%;
  font-size: 1.4em;
  font-weight: bold;
  color: #fef154; /* 黄 */
  width: 40px;
  vertical-align: top;
}
.quiz_choices_left .choice_left10:before {
  content: '10.';
  display: inline-block;
  margin-right: 1%;
  font-size: 1.4em;
  font-weight: bold;
  color: #fef154; /* 黄 */
  width: 40px;
  vertical-align: top;
}

/* ■クイズ黒板風スタイル用 */
/* クイズ外枠 */
.quiz_inner {
  padding: 0 3% 40px;
}

/* クイズ内枠1 */
.quiz_content {
  max-width: 600px;
  margin: 0 auto;
  padding-top: 20px;
}

/* クイズ内枠2 */
.quiz_blackboard {
  background: #11754c;
  border: 5px solid #c59e42;
  border-radius: 5px;
  padding: 32px 5% 40px;
  box-sizing: border-box;
  font-size: 16px;
  color: #fff;
}

/* クイズ問題文 */
.quiz_question {
  font-size: 22px;
  font-weight: normal;
  line-height: 1.4;
}
/* クイズ作成者 */
.quiz_author {
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-end;
  margin-left: calc(40px + 1%);
}
.quiz_author div {
  flex: none;
}
/* 選択肢枠 */
.quiz_choices {
  display: flex;
  flex-direction: column;
  row-gap: 10px;
  margin-top: 12px;
}

/* 選択肢個別枠 */
.quiz_choices .choice {
  border: solid 1px #fff;
  border-radius: 5px;
  padding: 8px 12px 6px;
  cursor: pointer;
}
/* 選択肢個別枠 解答後クリック防止 */
.quiz_choices .choice.disable {
  pointer-events: none;
  cursor: none;
}

/* 選択肢個別枠 正解 */
.quiz_choices .choice.correct {
  background-color: #e83632;
}

/* 選択肢個別枠 不正解 */
.quiz_choices .choice.incorrect {
  background-color: #d3d9e9;
  color: #000;
}

/* 解答数、正答割合表示 */
.quiz_count {
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-end;
  padding-top: 20px;
}
.quiz_count div {
  flex: none;
}
/* 正解・不正解表示 */
.quiz_message {
  display: none;
  margin-top: 24px;
}

.quiz_message .message {
  display: none;
  font-size: 24px;
}

/* 正答表示 */
.quiz_answer {
  display: none;
  margin-top: 16px;
}

.quiz_answer span {
  padding: 0 8px;
  font-size: 32px;
  color: #fef154;
}

/* 解説 */
.quiz_explanation {
  display: none;
  margin-top: 20px;
  line-height: 1.7;
}

/* 表示できるコンテンツがありません。 */
.not_contents {
  font-size: 16px;
}

/* 過去のクイズ スライド */
.content-section .slide .content-link{
    font-size: 1.6em;
    font-weight: bold;
    display: flex;
    flex-direction: column;
}
.content-section .slide .content-link .image-area{
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 3%;
}
.content-section .slide .content-link .image-area img{
    width: 100%;
    position: absolute;
    top:0;
    bottom:0;
    margin:auto;
}
.content-section .slide .content-link .title{
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden; 
    overflow-wrap: break-word;
    height: 4.5em;
    padding-bottom: 0;
}
.slick-prev {
    left: 0.5vw;
    z-index: 10;
    width:auto;
}
.slick-prev img{
    width: 100%;
}
.slick-prev::before {
    content:"";
}
.slick-next {
    right: 0.5vw;
    width:auto;
}
.slick-prev.slick-disabled,.slick-next.slick-disabled{
    visibility: hidden;
}
.slick-next img{
    width: 100%;
}
.slick-next::before {
    content:"";
}
.slick-prev, .slick-next {
    height: auto;
}
.content-section .slide{
    padding: 0 3%;
}
.slick-track{
    margin-left:0;
}

@media screen and (max-width: 768px) {
  /* クイズ枠 */
  .quiz_blackboard {
    padding: 20px 5%;
    font-size: 14px;
  }

  /* クイズ問題文 */
  .quiz_question {
    font-size: 20px;
  }

  /* 選択肢枠 */
  .quiz_choices {
    row-gap: 8px;
    margin-top: 8px;
  }

  /* 正解・不正解表示 */
  .quiz_message {
    margin-top: 20px;
  }

  .quiz_message .message {
    display: none;
    font-size: 20px;
  }

  /* 正答表示 */
  .quiz_answer {
    display: none;
    margin-top: 8px;
  }

  .quiz_answer span {
    font-size: 28px;
  }

  /* 解説 */
  .quiz_explanation {
    margin-top: 16px;
    line-height: 1.5;
  }
}

/* ■左55%、右40%分割スタイル用 */
/* 左サムネイル */
#global-wrap .content-section.content-info .info-image{
    position: relative;
    overflow: hidden;
}
/* 左黒板風クイズ出題 */
#global-wrap .content-section.content-info .left-quiz{
    position: relative;
    overflow: hidden;
}
/* 左サムネイル */
#global-wrap .content-section.content-info .info-image img{
    border-radius: 10px; /* 四隅を丸く */
    width: 100%;
    height: auto;
}
/* 「こめぷらクイズ!「過去のクイズ」ヘッダ */
#global-wrap .content-section.content-info .section-header{
    background-color: #fffcdd;
}

/* ■PCタブレット用スタイル */
@media screen and (min-width: 768px) {
    #global-wrap .content-section.content-info{
        display: flex;
        padding: 0 3%;
    }
    /* 左サムネイル */
    #global-wrap .content-section.content-info .info-image{
        width: 55%;
        margin-right: 5%;
    }
    /* 左黒板風クイズ出題 */
    #global-wrap .content-section.content-info .left-quiz{
        width: 55%;
        margin-right: 5%;
    }
    /* 右クイズ解答欄 */
    #global-wrap .content-section.content-info .info-content{
        width: 40%;
    }
    #global-wrap .content-section.content-info .info-content .section-header{
        margin-bottom: 5%;
    }
    /* 過去のクイズ スライド */
    .slick-slide {
        margin: 0 5px;
    }
    /* the parent */
    .slick-list {
        margin: 0 -5px;
    }
    .slick-prev {
        width: 1.5vw;
    }
    .slick-next {
        width: 1.5vw;
    }
    .content-section .slide .content-link .image-area{
        /* aspect-ratio: 5 / 3; */
        padding-top: 56.25%; /* safari対応 */
    }
}

/* ■スマホ用スタイル */
@media screen and (max-width: 767px) {
    #global-wrap .content-section.content-info{
        padding:0 3%;
    }
    #global-wrap .content-section.content-info .info-image{
        width: 100%;
        margin-bottom: 16px;
    }
    #global-wrap .content-section.content-info .left-quiz{
        width: 100%;
        margin-bottom: 16px;
    }
    /* 過去のクイズ スライド */
    .content-section .slide{
        padding: 0 10%;
    }
    .content-section .slide .content-link .image-area{
        /* aspect-ratio: 5 / 3; */
        padding-top: 56.25%; /* safari対応 */
    }
}

/* 過去のクイズ一覧画面：画像ホバー時に半透明化 */
/* PC（hover 可能デバイス）専用の半透明化 */
@media (hover: hover) {
    #search-wrap .slide li a:hover {
        opacity: 0.7;
        transition: opacity 0.3s ease-out;
    }
}
/* スマホ（hover なしデバイス）専用のタップ時半透明化 */
@media (hover: none) {
    #search-wrap .slide li a:active {
        opacity: 0.7;
        transition: opacity 0.3s ease-out;
    }
}