@charset "UTF-8";
@media screen and (max-width: 768px){
  .pconly{
    display: none !important;
  }
  .sponly > p{
    width: 92%;
    max-width: 450px;
    text-align: center;
    margin: auto;
    padding: 23px 0 40px;
  }
}
@media screen and (min-width: 769px){
  .sponly{
    display: none !important;
  }
}
nav.breadcrumb{
  display: block;
  background: #f5fdff;
}
nav.breadcrumb ol{
  display: flex;
  flex-wrap: wrap;
  margin: auto;
  width: 90%;
  max-width: 1200px;
  padding: 10px 0;
  list-style: none;
  font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", Roboto, "Droid Sans", "Yu Gothic", Meiryo, "Meiryo UI", sans-serif;
}
nav.breadcrumb ol li{
  position: relative;
  padding-right: 1.5em;
}
nav.breadcrumb ol li::before{
  content: ">";
  position: absolute;
  right: 3px;
}
nav.breadcrumb ol li:last-child::before{
  content: none;
}
.breadcrumb a{
  font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", Roboto, "Droid Sans", "Yu Gothic", Meiryo, "Meiryo UI", sans-serif;
}

main{
  width: 90%;
  max-width: 1200px;
  margin: 40px auto;
  font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", Roboto, "Droid Sans", "Yu Gothic", Meiryo, "Meiryo UI", sans-serif;
}
h1{
  background:linear-gradient(90deg, #078ffb, #2db6d1);
  color: white;
  padding: 6px;
  font-size: 28px;
  margin-bottom: 20px;
}
.point{
  font-size: 20px;
  font-weight: bold;
}



.section {
  margin-bottom: 30px;
}

.first {
  position: relative;
}

.annotation {
  position: absolute;
  top: 2%;
  left: 42%;
  font-weight: bold;
}

h2 {
  background:linear-gradient(90deg, #078ffb, #2db6d1);
  color: #fff;
  padding: 1%;
}

main h3 {
  background:linear-gradient(90deg, #078ffb, #2db6d1);
  color: #fff;
  padding: 0.5%;
}


caption {
  font-size: 32px;
  text-align: left;
  font-weight: bold;
}

table{
  width: 100%;
  border-collapse:separate;
  border-spacing: 0;
  font-size: 14px;
}

.null-cell {
  border: none;
}

#study-abroad-table {
  margin: 1% 0;
}

#study-abroad-table th:first-child{
  border-radius: 5px 0 0 0;
}

#study-abroad-table th:last-child{
  border-radius: 0 5px 0 0;
}

#study-abroad-table thead{
  color:white;
  background:linear-gradient(90deg, #078ffb, #2db6d1);
  border-left: 1px solid #078ffb;
  border-top: 1px solid #078ffb;
  border-bottom: 1px solid #078ffb;
  box-shadow: 0px 1px 1px rgba(255,255,255,0.3) inset;
  padding: 10px 0;
}

#study-abroad-table thead th {
  padding: 6px;
  border: 1px solid;
}

#thead-subed {
  font-weight: bold;
}


.study-abroad-table td{
  border-left: 1px solid #a8b7c5;
  border-bottom: 1px solid #a8b7c5;
  border-top:none;
  box-shadow: 0px -3px 5px 1px #eee inset;
  padding: 6px 0 6px 2px;
}

#study-abroad-table td:last-child{
  border-right: 1px solid #a8b7c5;
}

#study-abroad-table tr:last-child td:first-child {
  border-radius: 0 0 0 5px;
}

#study-abroad-table tr:last-child td:last-child {
  border-radius: 0 0 5px 0;
}

#candidate-table {
  width: 30%;
}

#candidate-table th:first-child{
  border-radius: 5px 0 0 0;
}

#candidate-table th:last-child{
  border-radius: 0 5px 0 0;
}

#candidate-table thead{
  color:white;
  background:linear-gradient(90deg, #078ffb, #2db6d1);
  border-left: 1px solid #078ffb;
  border-top: 1px solid #078ffb;
  border-bottom: 1px solid #078ffb;
  box-shadow: 0px 1px 1px rgba(255,255,255,0.3) inset;
  padding: 10px 0;
}

#candidate-table thead th {
  text-align: left;
  padding: 6px;
}

#candidate-table td{
  border-left: 1px solid #a8b7c5;
  border-bottom: 1px solid #a8b7c5;
  border-top:none;
  box-shadow: 0px -3px 5px 1px #eee inset;
  padding: 6px 0 6px 6px;
}

#candidate-table td:last-child{
  border-right: 1px solid #a8b7c5;
}

#candidate-table tr:last-child td:first-child {
  border-radius: 0 0 0 5px;
}

#candidate-table tr:last-child td:last-child {
  border-radius: 0 0 5px 0;
}

.cp-link {
  padding: 0 2px 0 2px;
  position: relative;
  display: inline-block;
  transition: .3s;
  color: #078ffb;
  text-decoration: none;/*元々のアンダーラインを非表示にしておく*/
}
.cp-link::after {
  position: absolute;
  bottom: 0;
  left: 0;
  content: '';
  width: 0;
  height: 1px;
  background-color: #078ffb;
  transition: .3s;
}
.cp-link:hover::after {
  width: 100%;
}

.accordions {
  margin: 3% 0;
  width: 100%;
}

.accordion {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.accordion__button {
  appearance: none;
  text-align: inherit;
  width: 100%;
  margin: 0 auto;
  padding: 10px;
  border: none;
  border-radius: 8px;
  box-shadow: 0 7px 10px rgb(0 0 0 / 10%);
  background:linear-gradient(90deg, #078ffb, #2db6d1);
  color: #fff;
  transition: all 0.3s;
  font-weight: bold;
}

.accordion__button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 10px rgb(0 0 0 / 30%);
}

.accordion__body {
  height: 0;
  overflow: hidden;
  transition: all 0.5s;
}

.accordion__text {
  padding: 20px;
}

.hint-table th:first-child{
  border-radius: 5px 0 0 0;
}

.hint-table th:last-child{
  border-radius: 0 5px 0 0;
}

.hint-table thead{
  color:white;
  background:linear-gradient(90deg, #078ffb, #2db6d1);
  border-left: 1px solid #078ffb;
  border-top: 1px solid #078ffb;
  border-bottom: 1px solid #078ffb;
  box-shadow: 0px 1px 1px rgba(255,255,255,0.3) inset;
  padding: 10px 0;
}

.hint-table thead th {
  text-align: left;
  padding: 6px;
}

.hint-table td{
  border-left: 1px solid #a8b7c5;
  border-bottom: 1px solid #a8b7c5;
  border-top:none;
  box-shadow: 0px -3px 5px 1px #eee inset;
  padding: 6px 0 6px 6px;
}

.hint-table td:last-child{
  border-right: 1px solid #a8b7c5;
}

.hint-table tr:last-child td:first-child {
  border-radius: 0 0 0 5px;
}

.hint-table tr:last-child td:last-child {
  border-radius: 0 0 5px 0;
}

#quiz-title {
  font-size: 22px;
  font-weight: bold;
}

.list-tit {
  background:linear-gradient(90deg, #078ffb, #2db6d1);
  border-radius: 10px 10px 0 0;
  color: #fff;
  font-weight: bold;
  line-height: 2;
  padding: .2em 1em;
  text-align: center;
  width: fit-content;
  margin-top: 1%;
}

.list-box {
  border: 2px solid #078ffb;
  border-radius: 0 10px 10px 10px;
  line-height: 2;
}

.list-design {
  list-style-type: disc;
  padding: 0.5%;
}

.list-design > div {
  display: flex;
  column-gap: 3%;
}

.list-design li {
  margin-left: 3%;
  color: red;
}

.list-design li::marker {
  color: #078ffb;
}


#answer-form {
  display: flex;
  flex-direction: column;
  row-gap: 20px;
  margin-bottom: 3%;
}

#answer-form > p {
  font-weight: bold;
  font-size: 14px;
}


.answer-information-container {
  display: flex;
  width: 100%;
}

#name {
  width: 100%;
}

.answer-information-container label {
  font-size: 20px;
}

#test-date {
  font-size: 20px;
  font-weight: bold;
}

.answer-input-container {
  display: flex;
  flex-direction: column;
  width: 100%;
  row-gap: 20px;
}

label {
  font-weight: bold;
}

.red {
  color: red;
  font-size: 14px;
}

input {
  width: 40%;
  border: none;
  padding: 12px;
  border-bottom: 2px solid #999;
  transition: all 0.3s;
}

#answer-6 {
  width: 80%;
}

input[type='text']:focus {
  border-bottom: 2px solid #078ffb;
  outline: none;
  box-shadow: 0 0 8px gray;
  border-radius: 4px;
}

#table-size {
  width: 40%;
}

.input-size {
  width: 25%;
}

fieldset p {
  font-weight: bold;
  margin-bottom: 20px;
}

.radio-3 {
  border: none;
}

.radio-3 label {
  display: flex;
  align-items: center;
  gap: 0 .5em;
  position: relative;
  max-width: 600px;
  margin-bottom: .4em;
  padding: .5em .7em;
  border: 1px solid #078ffb;
  border-radius: 3px;
  background-color: #2ea7fd26;
  cursor: pointer;
  transition: all 0.15s;
}

.radio-3 label:has(:checked) {
  background-color: #18A1E7;
  color: #fff;
}

.radio-3 label::before,
.radio-3 label:has(:checked)::after {
  border-radius: 50%;
  content: '';
}

.radio-3 label::before {
  width: 14px;
  height: 14px;
  background-color: #fff;
}

.radio-3 label:has(:checked)::after {
  position: absolute;
  top: 50%;
  left: calc(7px + .7em);
  transform: translate(-50%, -50%);
  width: 7px;
  height: 7px;
  background-color: #2589d0;
}

.radio-3 input {
  display: none;
}

.radio-answer-section {
  text-decoration: underline;
  text-decoration-color: #078ffb;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

fieldset > label:hover {
  background-color: #18A1E7;
  color: #fff;
}

.submit-button {
  width: 20%;
  margin: 0 auto;
  padding: 10px;
  border: none;
  border-radius: 8px;
  box-shadow: 0 7px 10px rgb(0 0 0 / 10%);
  background:linear-gradient(90deg, #078ffb, #2db6d1);
  color: #fff;
  transition: all 0.3s;
  font-weight: bold;
}

.submit-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 10px rgb(0 0 0 / 30%);
}

#good-job {
  color: red;
  margin: 1% 0;
}

#score-container {
  display: none;
  box-shadow: 0px 4px 10px rgb(0 0 0 / 20%);
  padding: 3%;
}

#score-information-container {
  display: flex;
  justify-content: space-between;
}

#score-information-container h4 {
  margin-bottom: 20px;
}

#score-information-container h4 p {
  font-size: 24px;
}

#score-total p {
  color: red;
  border: 2px solid black;
  padding: 16% 10%;
  text-align: right;
}

#score-table th:first-child{
  border-radius: 5px 0 0 0;
  width: 10%;
}

#cell-size {
  width: 5%;
}

#score-table th:last-child{
  border-radius: 0 5px 0 0;
}

#score-table thead{
  color:white;
  background:linear-gradient(90deg, #078ffb, #2db6d1);
  border-left: 1px solid #078ffb;
  border-top: 1px solid #078ffb;
  border-bottom: 1px solid #078ffb;
  box-shadow: 0px 1px 1px rgba(255,255,255,0.3) inset;
  padding: 10px 0;
}

#score-table thead th {
  text-align: left;
  padding: 6px;
}

#score-table td{
  border-left: 1px solid #a8b7c5;
  border-bottom: 1px solid #a8b7c5;
  border-top:none;
  box-shadow: 0px -3px 5px 1px #eee inset;
  padding: 6px 0 6px 6px;
}

#score-table td:first-child {
  font-weight: bold;
}

#score-table td:last-child{
  border-right: 1px solid #a8b7c5;
}

#score-table tr:last-child td:first-child {
  border-radius: 0 0 0 5px;
}

#score-table tr:last-child td:last-child {
  border-radius: 0 0 5px 0;
}

.index {
  font-weight: bold;
}

.maru {
  font-weight: bold;
  font-size: 18px;
  color: green;
  margin: 0;
}

.batu {
  font-weight: bold;
  font-size: 18px;
  color: red;
  margin: 0;
}
button{
  cursor: pointer;
}



@media screen and (max-width: 767px){
  .popup-bg-cover{
    position: fixed; /* ブラウザの定位置に固定 */
    background: rgba(0, 0, 0, .5); /* 背景色を半透明の黒色に */
    width: 100%; /* 要素の横幅を画面全体に */
    height: 100%; /* 要素の高さを画面全体に */
    top: 0; /* 要素の固定位置をブラウザ最上部に合わせる */
    left: 0; /* 要素の固定位置をブラウザ左側に合わせる */
    z-index: 1000; /* 要素をコンテンツより前面に（要調整） */
  }
  .popup-bg-cover::after{
    content: "こちらのページはPCからのみ閲覧可能です。";
    font-size: 18px;
    font-weight: bold;
    color: #fff;
    position: absolute;
    top: 50%;
    left: 5px;
    font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", Roboto, "Droid Sans", "Yu Gothic", Meiryo, "Meiryo UI", sans-serif;
  }
  main{
    width: 92%;
    max-width: 450px;
  }
  .table-container{
    flex-direction: column;
    column-gap: 1%;
  }
  .problem-table{
    width: 100%;
  }
  .annotation{
    top: 0.5%;
    font-size: 14px;
  }
  .reference-table{
    width: 100%;
  }
  input{
    width: 50%;
  }
  #answer-button{
    width: 40%;
  }
  #score-information-container{
    margin-top: 20px;
  }
  .today{
    font-size: 20px;
  }
  .answer-table{
    width: 100%;
  }
}
