@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&display=swap");
a:hover,
button:hover {
  opacity: 0.7;
}

img {
  display: block;
  width: 100%;
  pointer-events: none;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -moz-touch-callout: none;
  -moz-user-select: none;
  user-select: none;
}

.shadow {
  box-shadow: 0px 0px 16px 3px rgba(0, 0, 0, 0.1882352941);
}

.Btn {
  font-family: "noto Sans JP", sans-serif;
  position: relative;
  display: inline-block;
  padding: 18px;
  border-radius: 5px;
  background-color: #38acb5;
  color: #ffffff;
  font-size: 1rem;
  cursor: pointer;
  box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.5s, opacity 0.5s;
  width: 225px;
}
@media screen and (max-width: 768px) {
  .Btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
}
.Btn svg.arrow-01 {
  width: 26px;
  position: absolute;
  right: 10%;
  top: 45%;
}
.Btn:hover {
  opacity: 0.9;
  box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.1);
  transform: scale(0.97);
}

.cls-1 {
  fill: none;
  stroke: #fff;
  stroke-miterlimit: 10;
}

.standby {
  pointer-events: none !important;
}

.pc {
  display: block;
}

.tb {
  display: none;
}

.sp {
  display: none;
}

@media screen and (max-width: 768px) {
  .pc {
    display: none;
  }
  .tb {
    display: none;
  }
  .sp {
    display: block;
  }
}
section .hanshin-quiz-comming__text {
  font-size: 100% !important;
  text-align: left !important;
  margin: 0 !important;
}

section .hanshin-quiz-comming__text-small {
  font-size: 90% !important;
  margin-bottom: 0 !important;
}

section .result-text.benefits {
  padding: 1rem 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

section .result-text .aling-left {
  text-align: left;
}

section .result-text .result_benefits-wrap {
  display: flex;
  justify-content: center;
}

section .result-text .result_benefits {
  display: flex;
  justify-content: flex-start;
  text-align: left;
  padding-left: 0.5rem;
}
section .result-text .result_benefits dt {
  width: 5rem;
  font-weight: bold;
}
section .result-text .result_benefits dd {
  flex: 1;
}

#kentei {
  background: url(../imgs/bg@2x.webp) no-repeat;
  background-size: 100%;
  background-attachment: fixed;
  font-family: "Noto Sans JP", sans-serif;
  letter-spacing: 0.05em;
  font-feature-settings: "palt";
  line-height: 1.75;
  font-weight: 500;
  color: #666666;
}
#kentei img {
  display: block;
  max-width: 100%;
  height: auto;
}
@media screen and (max-width: 768px) {
  #kentei {
    background: url(../imgs/bg_sp.webp) no-repeat;
    background-size: 100%;
  }
}
#kentei .kentei-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 80px 24px 0;
  position: relative;
  z-index: 1;
}
@media screen and (max-width: 768px) {
  #kentei .kentei-container {
    padding: 12vw 0 0;
  }
}
#kentei .kentei-container h2.kentei-title {
  width: 560px;
  margin: 0 auto;
}
@media screen and (max-width: 768px) {
  #kentei .kentei-container h2.kentei-title {
    width: 62vw;
  }
}
#kentei .kentei-container .kentei-list {
  display: flex;
  flex-direction: column;
  gap: min(2.2vw, 14px);
  padding-block: calc(min(2.2vw, 14px) * 4);
}
#kentei .kentei-container .kentei-list[hidden] {
  display: none;
}
#kentei .kentei-container .kentei-list .kentei-item {
  padding: min(2.2vw, 14px);
  background-color: rgba(0, 108, 184, 0.1019607843);
  border-radius: 10px;
}
#kentei .kentei-container .kentei-list .kentei-item article::before {
  content: "Q" attr(data-kenteinum);
  display: flex;
  justify-content: center;
  align-items: center;
  width: 2.8em;
  height: 2.8em;
  border-radius: 100%;
  background: #006CB8;
  font-family: "Noto Serif JP", serif;
  font-size: min(3.733vw, 28px);
  font-weight: 300;
  color: #fff;
  text-box: trim-both cap alphabetic;
  text-wrap: balance;
}
#kentei .kentei-container .kentei-list .kentei-item article h3 {
  font-size: min(3.733vw, 18px);
  text-box: trim-both text;
  margin-top: -2.5em;
  padding-left: 5.5em;
  padding-right: 1em;
}
@media screen and (max-width: 768px) {
  #kentei .kentei-container .kentei-list .kentei-item article h3 {
    padding-left: 3.5em;
  }
}
#kentei .kentei-container .kentei-list .kentei-item article address {
  display: block;
  text-align: right;
  font-size: min(2.4vw, 12px);
  margin-top: min(2.2vw, 14px);
}
#kentei .kentei-container .kentei-list .kentei-item article .answer {
  display: flex;
  justify-content: space-between;
  gap: min(2.2vw, 14px);
  padding-top: calc(min(2.2vw, 14px) * 2);
}
@media screen and (max-width: 768px) {
  #kentei .kentei-container .kentei-list .kentei-item article .answer {
    display: grid;
    grid-template-rows: min-content;
    grid-template-columns: 1fr 1fr;
  }
}
#kentei .kentei-container .kentei-list .kentei-item article .answer .answer-select {
  flex-grow: 1;
  flex-shrink: 1;
  flex-basis: 0;
}
#kentei .kentei-container .kentei-list .kentei-item article .answer .answer-select input[type=radio] {
  position: absolute;
}
#kentei .kentei-container .kentei-list .kentei-item article .answer .answer-select input[type=radio] + label {
  display: flex;
  align-items: center;
  background: #fff;
  font-size: min(2.933vw, 14px);
  padding: 1em;
  cursor: pointer;
  border-radius: 10px;
  height: 100%;
}
#kentei .kentei-container .kentei-list .kentei-item article .answer .answer-select input[type=radio] + label::before {
  content: attr(aria-valuetext);
  font-size: min(3.733vw, 18px);
  font-weight: bold;
  color: #006CB8;
  margin-right: 1em;
}
#kentei .kentei-container .kentei-list .kentei-item article .answer .answer-select input[type=radio]:checked + label {
  background: #006CB8;
  color: #fff;
}
#kentei .kentei-container .kentei-list .kentei-item article .answer .answer-select input[type=radio]:checked + label::before {
  color: #fff;
}
#kentei .kentei-container .kentei-list .kentei-item article:has(input[type=radio]:checked) {
  position: relative;
}
#kentei .kentei-container .kentei-list .kentei-item article:has(input[type=radio]:checked)::after {
  content: "";
  display: block;
  width: 50px;
  height: 50px;
  position: absolute;
  right: 0;
  top: 0;
  background: url(../imgs/badge_selected.webp) no-repeat;
  background-size: contain;
  transform: translate(50%, -50%);
}
#kentei .kentei-container .kentei-list .kentei-item:nth-child(even) {
  background-color: rgba(56, 172, 181, 0.1019607843);
}
#kentei .kentei-container .kentei-list .kentei-item:nth-child(even) article::before {
  background: #38ACB5;
}
#kentei .kentei-container .kentei-list .kentei-item:nth-child(even) article .answer .answer-select input[type=radio] + label::before {
  color: #38ACB5;
}
#kentei .kentei-container .kentei-list .kentei-item:nth-child(even) article .answer .answer-select input[type=radio]:checked + label {
  background: #38ACB5;
  color: #fff;
}
#kentei .kentei-container .kentei-list .kentei-item:nth-child(even) article .answer .answer-select input[type=radio]:checked + label::before {
  color: #fff;
}
#kentei .kentei-container #kentei_exam {
  margin-top: 2em;
}
#kentei .kentei-container progress {
  appearance: none;
}
#kentei .kentei-container ::-webkit-progress-value {
  background-color: #38ACB5;
}
#kentei .kentei-container ::-webkit-progress-bar {
  background-color: #ccc;
}
#kentei .kentei-container #progress-bar {
  position: absolute;
  left: 0;
  top: 0;
  display: block;
  width: 480px;
  height: 4px;
  background: transparent;
  z-index: -1;
}
@media screen and (max-width: 768px) {
  #kentei .kentei-container #progress-bar {
    width: 62vw;
  }
}
#kentei .kentei-container #progress-bar-disp {
  display: flex;
  justify-content: space-between;
  width: 480px;
  height: 4px;
  margin: calc(min(2.2vw, 14px) * 3) auto;
  background: transparent;
  position: relative;
}
@media screen and (max-width: 768px) {
  #kentei .kentei-container #progress-bar-disp {
    width: 62vw;
  }
}
#kentei .kentei-container #progress-bar-disp i {
  display: block;
  width: 12px;
  height: 12px;
  margin: 0;
  border: solid 2px #ccc;
  background: #fff;
  border-radius: 100%;
  transform: translate(0, calc(-50% + 2px));
  position: relative;
  font-style: normal;
  font-size: 10px;
  font-weight: bold;
  letter-spacing: 0;
  color: #ccc;
}
#kentei .kentei-container #progress-bar-disp i::before {
  content: attr(data-progress);
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translate(-50%, 0);
  word-break: keep-all;
  white-space: nowrap;
}
#kentei .kentei-container #progress-bar-disp i.reach {
  border: solid 2px #38ACB5;
  background: #38ACB5;
}
#kentei .kentei-container #progress-bar-disp i.reach::before {
  color: #38ACB5;
}
#kentei #kentei_result:has(.result-disp) {
  background: #fff;
  margin-top: calc(min(2.2vw, 14px) * 4);
  padding: min(2.2vw, 14px);
}
#kentei #kentei_result:has(.result-disp) .result-disp {
  position: relative;
}
#kentei #kentei_result:has(.result-disp) .result-disp .result-points {
  position: absolute;
  top: calc(min(2.2vw, 14px) * 1.5);
  left: 0;
  right: 0;
  text-align: center;
  font-family: "Noto Serif JP", serif;
  font-size: min(3.733vw, 18px);
  font-weight: bold;
}
#kentei #kentei_result:has(.result-disp) .result-disp .result-points b {
  padding-inline: 0.1em;
  font-size: min(6.4vw, 28px);
  color: #38ACB5;
}
#kentei #kentei_result:has(.result-disp) section {
  max-width: 500px;
  margin: 0 auto;
  padding: calc(min(2.2vw, 14px) * 3) 0;
}
#kentei #kentei_result:has(.result-disp) section .result-title {
  margin-bottom: min(2.2vw, 14px);
  text-align: center;
  font-size: min(3.733vw, 18px);
  font-weight: bold;
  color: #006CB8;
  border-bottom: solid 2px #006CB8;
}
#kentei #kentei_result:has(.result-disp) section .result-text {
  text-align: center;
  font-size: min(2.933vw, 14px);
}
#kentei #kentei_result:has(.result-disp) section .result-notice li {
  font-size: min(2.4vw, 12px);
}
#kentei #kentei_result:has(.result-disp) section .result-notice li::before {
  content: "※";
}
#kentei #kentei_result:has(.result-disp) section .result-box {
  margin-top: min(2.2vw, 14px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
#kentei #kentei_result:has(.result-disp) section .result-button {
  display: block;
  width: 100%;
  max-width: 300px;
  height: 60px;
  text-align: center;
  margin-top: min(2.2vw, 14px);
  margin-inline: auto;
  background: #38ACB5;
  color: #fff;
  font-weight: bold;
}
#kentei #kentei_result:has(.result-disp) section .apply {
  margin-top: calc(min(2.2vw, 14px) * 2);
  padding: min(2.2vw, 14px);
  background: rgba(56, 172, 181, 0.1019607843);
  text-align: center;
}
#kentei #kentei_result:has(.result-disp) section .apply-button {
  display: block;
  width: 100%;
  max-width: 300px;
  margin: min(2.2vw, 14px) auto 0;
  padding: 1em;
  text-align: center;
  background: #38ACB5;
  font-size: min(3.733vw, 18px);
  color: #fff;
  position: relative;
  cursor: pointer;
}
#kentei #kentei_result:has(.result-disp) section .apply-button::after {
  content: "";
  display: block;
  width: 26px;
  height: 8px;
  position: absolute;
  right: min(2.2vw, 14px);
  top: 50%;
  background: url(../imgs/arrow.svg) center/contain no-repeat;
  transform: translate(0, -50%);
}
#kentei #kentei_result:has(.result-disp) section #cirtificate {
  padding: min(2.2vw, 14px);
  text-align: center;
}
#kentei #kentei_result:has(.result-disp) section #cirtificate label {
  display: block;
}
#kentei #kentei_result:has(.result-disp) section #cirtificate input[type=text] {
  width: 100%;
  max-width: 300px;
  padding: 1em 0.5em;
  border: solid 1px #38ACB5;
  font-size: min(3.733vw, 18px);
  border-radius: 10px;
}
#kentei #kentei_result:has(.result-disp) section #cirtificate input[type=text]::placeholder {
  color: #cccccc;
  font-weight: normal;
}
#kentei #kentei_result:has(.result-disp) section #view-answer {
  margin-top: 4em;
  padding-top: 4em;
  border-top: solid 2px #006CB8;
  text-align: center;
}
#kentei #kentei_result:has(.result-disp) section #view-answer .answer-button {
  background-color: #006CB8;
  margin: 0 auto;
  text-align: center;
}
#kentei #answer-status {
  position: fixed;
  z-index: 10;
  left: 120px;
  bottom: 30px;
  width: 160px;
  padding: min(2.2vw, 14px);
  background-color: #006CB8;
  color: #fff;
  text-align: center;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
}
@media screen and (max-width: 768px) {
  #kentei #answer-status {
    left: 2vw;
    bottom: 2vw;
  }
}
#kentei #answer-status dl dt {
  padding-bottom: 0.5em;
  font-size: min(3.733vw, 18px);
  text-box-trim: trim-both;
  border-bottom: solid 1px #fff;
}
#kentei #answer-status dl dd {
  padding-top: 0.5em;
  font-size: min(2.933vw, 14px);
}
#kentei #answer-status dl dd #answer-count {
  text-box-trim: trim-both;
  padding-top: 0.5em;
}
#kentei #answer-status dl dd #answer-count b {
  font-size: min(6.4vw, 28px);
}
#kentei #answer-status.answered {
  background-color: #38ACB5;
  cursor: pointer;
}
#kentei #answer-status.answered p {
  font-weight: 900;
}
#kentei #answer-status.is-bottom {
  position: absolute;
  bottom: 160px;
}
@media screen and (max-width: 768px) {
  #kentei #answer-status.is-bottom {
    bottom: 90vw;
  }
}
#kentei .kentei-tab {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: min(2.2vw, 14px);
}
#kentei .kentei-tab-button {
  width: 100%;
  max-width: 470px;
  padding: 1em;
  text-align: center;
  background: #38ACB5;
  font-size: min(3.733vw, 18px);
  border-radius: 10px;
  color: #fff;
  position: relative;
  cursor: pointer;
  box-shadow: 0 0 5px 0px rgba(0, 0, 0, 0.3);
}
#kentei .kentei-tab-button::after {
  content: "";
  display: block;
  width: 26px;
  height: 8px;
  position: absolute;
  right: min(2.2vw, 14px);
  top: 50%;
  background: url(../imgs/arrow.svg) center/contain no-repeat;
  transform: translate(0, -50%);
}
#kentei #diploma {
  margin-top: calc(min(2.2vw, 14px) * 2);
}
#kentei #diploma #diploma-canvas {
  display: block;
  width: 860px;
  height: 610px;
  margin: min(2.2vw, 14px) auto;
}
@media screen and (max-width: 768px) {
  #kentei #diploma #diploma-canvas {
    transform-origin: left top;
    transform: scale(0.4);
  }
}
#kentei #diploma .download-diploma-btn {
  display: block;
  margin: min(2.2vw, 14px) auto;
  text-align: center;
}
#kentei #diploma section {
  max-width: 500px;
  margin: 0 auto;
  padding: calc(min(2.2vw, 14px) * 3) 0;
}
#kentei #diploma section .download-title {
  margin-bottom: min(2.2vw, 14px);
  text-align: center;
  font-size: min(3.733vw, 18px);
  font-weight: bold;
  color: #006CB8;
  border-bottom: solid 2px #006CB8;
}
#kentei #diploma section .download-text {
  text-align: left;
  font-size: min(2.933vw, 14px);
}
#kentei #diploma section {
  max-width: 500px;
  margin: 0 auto;
  padding: calc(min(2.2vw, 14px) * 3) 0;
}
#kentei #diploma section .result-title {
  margin-bottom: min(2.2vw, 14px);
  text-align: center;
  font-size: min(3.733vw, 18px);
  font-weight: bold;
  color: #006CB8;
  border-bottom: solid 2px #006CB8;
}
#kentei #diploma section .result-text {
  text-align: center;
  font-size: min(2.933vw, 14px);
}
#kentei #diploma section .result-notice li {
  font-size: min(2.4vw, 12px);
}
#kentei #diploma section .result-notice li::before {
  content: "※";
}
#kentei #diploma section .result-box {
  margin-top: min(2.2vw, 14px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
#kentei #diploma section .apply {
  margin-top: calc(min(2.2vw, 14px) * 2);
  padding: min(2.2vw, 14px);
  background: rgba(56, 172, 181, 0.1019607843);
  text-align: center;
}
#kentei #diploma section .apply-button {
  display: block;
  width: 100%;
  max-width: 300px;
  margin: min(2.2vw, 14px) auto 0;
  padding: 1em;
  text-align: center;
  background: #38ACB5;
  font-size: min(3.733vw, 18px);
  color: #fff;
  position: relative;
  cursor: pointer;
}
#kentei #diploma section .apply-button::after {
  content: "";
  display: block;
  width: 26px;
  height: 8px;
  position: absolute;
  right: min(2.2vw, 14px);
  top: 50%;
  background: url(../imgs/arrow.svg) center/contain no-repeat;
  transform: translate(0, -50%);
}
#kentei #diploma #diploma-image {
  pointer-events: auto !important;
  -webkit-touch-callout: default !important;
  -webkit-user-select: auto !important;
  -moz-touch-callout: default !important;
  -moz-user-select: auto !important;
}
#kentei #diploma #view-answer {
  display: none;
}
#kentei .retry-button {
  display: block;
  width: 100%;
  max-width: 300px;
  margin: min(2.2vw, 14px) auto 0;
  padding: 1em;
  text-align: center;
  background: #38ACB5;
  font-size: min(3.733vw, 18px);
  border-radius: 10px;
  color: #fff;
  position: relative;
  cursor: pointer;
  box-shadow: 0 0 5px 0px rgba(0, 0, 0, 0.3);
}
#kentei .retry-button::after {
  content: "";
  display: block;
  width: 26px;
  height: 8px;
  position: absolute;
  left: min(2.2vw, 14px);
  top: 50%;
  background: url(../imgs/arrow.svg) center/contain no-repeat;
  transform: rotate(180deg) translate(0, 50%);
}
#kentei .kentei-abstruct {
  width: 100%;
  max-width: 500px;
  margin: 28px auto;
  color: #716752;
}
#kentei .kentei-abstruct h3 {
  padding: 0.5rem;
  text-align: center;
  color: #006cb8;
  font-weight: bold;
  border-bottom: solid 2px #006cb8;
  font-size: 1.25rem;
}
#kentei .kentei-abstruct dl {
  display: flex;
  padding: 1rem 0;
  border-bottom: dotted 2px #716752;
}
#kentei .kentei-abstruct dl dt {
  width: 5em;
  margin-right: 1rem;
  font-weight: normal;
}
#kentei .kentei-abstruct dl dd {
  font-weight: bold;
}
#kentei .kentei-notice {
  width: 100%;
  max-width: 500px;
  margin: 0 auto 6em;
  color: #716752;
}
#kentei .kentei-notice h3 {
  padding: 0.5rem;
  text-align: center;
  color: #006cb8;
  font-weight: bold;
  border-bottom: solid 2px #006cb8;
  font-size: 1.25rem;
  margin-bottom: 1rem;
}
#kentei .kentei-benefits {
  padding: 1rem 0;
  display: flex;
  flex-direction: column;
}
#kentei .kentei-attention {
  width: 100%;
  max-width: 500px;
  margin: 0 auto 35px;
  color: #716752;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
#kentei .kentei-attention li {
  font-size: 0.75rem;
  font-weight: bold;
  text-indent: -1em;
  padding-left: 1em;
}
#kentei .kentei-attention li::before {
  content: "※";
}

.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  visibility: hidden;
  opacity: 0;
  transition: visibility 0.5s, opacity 0.5s ease;
}
.modal.open {
  visibility: visible;
  opacity: 1;
}
.modal.close {
  visibility: hidden;
  opacity: 0;
}
.modal.standby {
  transition: none;
}
.modal .modal-wrap {
  position: relative;
  background-color: #FFFFFF;
  border-radius: 10px;
  width: min(90%, 1000px);
  max-width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 0 5px 0px rgba(0, 0, 0, 0.3);
}
@media screen and (max-width: 768px) {
  .modal .modal-wrap {
    max-width: 95%;
    max-height: 95vh;
  }
}
.modal .modal-inner {
  position: relative;
  width: 100%;
  height: 100%;
  max-width: 700px;
  margin: 0 auto;
}
.modal .modal-contents {
  padding: calc(min(2.2vw, 14px) * 2);
}
@media screen and (max-width: 768px) {
  .modal .modal-contents {
    padding: min(2.2vw, 14px);
  }
}
.modal .close-Btn {
  position: fixed;
  top: min(2.2vw, 14px);
  right: min(2.2vw, 14px);
  width: 40px;
  height: 40px;
  background-color: white;
  border-radius: 100%;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
  display: flex;
  align-items: center;
  justify-content: center;
}
.modal .close-Btn span {
  position: absolute;
  width: 24px;
  height: 2px;
  background-color: #38ACB5;
  border-radius: 1px;
}
.modal .close-Btn span:first-child {
  transform: rotate(45deg);
}
.modal .close-Btn span:last-child {
  transform: rotate(-45deg);
}
.modal .close-Btn:hover span {
  background-color: #006CB8;
}

body.modal-mode {
  overflow-y: hidden;
}

.answer-key-table {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  margin: calc(min(2.2vw, 14px) * 2) 0;
  align-items: stretch;
  padding: 0;
}

.ak-cell {
  padding: 0.9rem 0.6rem;
  border-radius: 0;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.04);
  text-align: center;
  font-weight: 700;
  color: #666666;
  box-sizing: border-box;
  font-size: min(2.933vw, 14px);
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ak-cell.highlight {
  background: rgba(56, 172, 181, 0.2);
  color: #08323a;
}

.answer-key-table {
  padding: 8px;
  background: transparent;
  border-radius: 8px;
}

@media screen and (max-width: 768px) {
  .answer-key-table {
    grid-template-columns: repeat(3, 1fr);
  }
}
.answer-key-table::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 100%;
  pointer-events: none;
}

/* 強めのハイライト（画像の水色帯に近づける） */
.ak-cell.highlight {
  background: rgba(56, 172, 181, 0.2);
  color: #08323a;
}

/* 境界を整えてカード風に見せる（ただしセル間隔はゼロ、角丸なし） */
.answer-key-table {
  padding: 0;
  background: transparent;
  border-radius: 0;
}

/* モバイル（小画面）: 3列表示、文字と高さを調整、奇数行のみ強調 */
@media screen and (max-width: 768px) {
  .answer-key-table {
    grid-template-columns: repeat(3, 1fr);
  }
  .ak-cell {
    font-size: calc(min(2.933vw, 14px) - 1px);
    min-height: 36px;
  }
  /* モバイル時：奇数行（1,3,5...）のみ強調表示する（3列なので 6n+1〜6n+3） */
  .ak-cell:nth-child(6n+1),
  .ak-cell:nth-child(6n+2),
  .ak-cell:nth-child(6n+3) {
    background: rgba(56, 172, 181, 0.28);
    color: #08323a;
  }
}
@media (min-width: 769px) {
  /* デスクトップ以上: 5列レイアウトに合わせて偶数行を薄いブルーにする */
  .ak-cell:nth-child(10n+1),
  .ak-cell:nth-child(10n+2),
  .ak-cell:nth-child(10n+3),
  .ak-cell:nth-child(10n+4),
  .ak-cell:nth-child(10n+5) {
    background: rgba(56, 172, 181, 0.12);
    color: #666666;
  }
}
.answer .answer-title {
  margin-bottom: min(2.2vw, 14px);
  text-align: center;
  font-size: min(3.733vw, 18px);
  font-weight: bold;
  color: #006CB8;
  border-bottom: solid 2px #006CB8;
}

.explanation {
  margin-top: calc(min(2.2vw, 14px) * 4);
  padding: min(2.2vw, 14px);
  text-align: center;
}
.explanation .explanation-title {
  margin-bottom: min(2.2vw, 14px);
  text-align: center;
  font-size: min(3.733vw, 18px);
  font-weight: bold;
  color: #006CB8;
  border-bottom: solid 2px #006CB8;
}
.explanation dl {
  display: flex;
  padding: 1rem 0;
  border-bottom: dotted 2px #716752;
}
.explanation dl dt {
  width: 5em;
  margin-right: 1rem;
  font-weight: normal;
}
.explanation dl dd {
  flex: 1;
  font-weight: bold;
  text-align: left;
}

/* header調整 */
@media screen and (max-width: 767px) {
  .header-area::before {
    height: 1vw;
    width: 100vw;
    z-index: 20;
  }
}
.content-underbox {
  background: transparent;
  box-shadow: none;
}/*# sourceMappingURL=style.css.map */