@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;
}
caption{
  font-weight: bold;
  font-size: 32px;
  caption-side: top;
  padding-top: .5rem;
  padding-bottom: .5rem;
  text-align: left;
}
table{
  border-collapse: collapse;
  width: 100%;
}
.null-cell{
  border: none;
}
.problem-table{
  position: relative;
}
.problem-table thead th:first-child{
  border-radius: 10px 0 0 0;
}
.problem-table thead th:last-child{
  border-radius: 0 10px 0 0;
}
.problem-table thead{
  background:linear-gradient(90deg, #078ffb, #2db6d1);
}
.problem-table thead th{
  color:white;
  padding: 10px 0 10px 10px;
  border: 1px solid;
}
.problem-table td{
  padding: 8px;
}
.problem-table tbody th, td{
  box-shadow: 0px -3px 5px 1px #eee inset;
  padding: 10px 0 10px 10px;
}
.problem-table tbody th{
  padding: 10px 0;
}
.problem-table tr:last-child td:first-child{
  border-radius: 0 0 0 10px;
}
.problem-table tr:last-child td:last-child{
  border-radius: 0 0 10px 0;
}
.annotation{
  position: absolute;
  top: 4%;
  right: 16%;
  font-size: 18px;
  font-weight: bold;
  color: red;
}
.accordions{
  margin-top: 2%;
  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 / 20%);
}
.accordion__body{
  height: 0;
  overflow: hidden;
  transition: all 0.5s;
}
.accordion__text{
  padding: 20px;
}
.reference-table thead{
  background:linear-gradient(90deg, #078ffb, #2db6d1);
}
.reference-table thead th{
  /* text-align: center; */
  color:white;
  padding: 10px 0;
}
.reference-table thead th:first-child{
  border-radius: 10px 0 0 0;
}
.reference-table thead th:last-child{
  border-radius: 0 10px 0 0;
}
.reference-table td{
  /* border-left: 1px solid #a8b7c5;
  border-bottom: 1px solid #a8b7c5; */
  border-top:none;
  box-shadow: 0px -3px 5px 1px #eee inset;
  padding: 10px 0 10px 20px;
}
.reference-table tr:last-child td:first-child{
  border-radius: 0 0 0 10px;
}
.reference-table tr:last-child td:last-child{
  border-radius: 0 0 10px 0;
}
.reference-table th{
  font-weight: normal;
}
#answer-form{
  margin: 5% 0;
  display: flex;
  flex-direction: column;
  row-gap: 30px;
}
#answer-form > p{
  font-weight: bold;
  font-size: 18px;
}
.dashed-two{
  border-bottom: 2px dashed #999;
  margin: 0;
}
label{
  margin-bottom: 2%;
  font-weight: bold;
}
.form-container{
  display: flex;
  flex-direction: column;
  width: 100%;
}
fieldset p{
  font-weight: bold;
}
#information-container{
  display: flex;
  column-gap: 2%;
  width: 100%;
}
.form-shortcut-section{
  background:linear-gradient(90deg, #078ffb, #2db6d1);
  color: white;
  font-weight: bold;
  font-size: 22px;
  padding: 1%;
}
input{
  width: 50%;
  border: none;
  padding: 8px 0;
  border-bottom: 2px solid #999;
  transition: all 0.3s;
}
input[type='text']:focus{
  border-bottom: 2px solid #078ffb;
  outline: none;
  box-shadow: 0 0 8px gray;
  border-radius: 4px;
}
.answer-table{
  width: 70%;
}
.answer-table-input{
  width: 100%;
  border: none;
  border-bottom: 2px solid #999;
  padding-left: 10px;
}
.answer-table-input-wide{
  padding: 16px;
}
.answer-table thead th{
  background-color: #2ea7fd26;
  font-weight: bold;
}
.answer-table thead th:last-child{
  background-color: #fdcd2e26;
}
.answer-table thead th:first-child{
  border-radius: 10px 0 0 0;
}
.answer-table thead th:last-child{
  border-radius: 0 10px 0 0;
}
.answer-table th{
  border-top:none;
  box-shadow: 0px -3px 5px 1px #eee inset;
  padding: 10px 0;
}
.answer-table tbody td:last-child{
  padding: 0 4px;
}
.answer-table tr:last-child td:first-child{
  border-radius: 0 0 0 10px;
}
.answer-table tr:last-child td:last-child{
  border-radius: 0 0 10px 0;
}
.answer-table th{
  font-weight: normal;
}
.answer-table-long-text{
  font-size: 14px;
}
.radio-3{
  border: none;
}
.radio-3 label{
  display: flex;
  align-items: center;
  gap: 0 .5em;
  position: relative;
  max-width: 400px;
  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;
}
fieldset > label:hover{
  background-color: #18A1E7;
}
.submit-button{
  width: 10%;
  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 / 20%);
}
.maru{
  font-weight: bold;
  font-size: 18px;
  color: chartreuse;
  margin: 0;
}
.batu{
  font-weight: bold;
  font-size: 18px;
  color: crimson;
  margin: 0;
}
.multiple{
  color: red;
  margin-left: 1%;
}
.multiple-container > input{
  margin-bottom: 1%;
}
.cell-size{
  width: 40%;
}
.long-text-input{
  padding: 6px;
}
.score-text{
  color: red;
  font-size: 24px;
  text-align: right;
}
#answer-list{
  list-style-type: none;
  padding: 1%;
  margin: 0;
}
.answer-list-container{
  display: flex;
}
.answer-list-text{
  font-size: 20px;
  margin: 0;
}
.maru::after{
  color: #000;
  font-weight: normal;
  content: "です。";
}
.batu::after{
  color: #000;
  font-weight: normal;
  content: "です。";
}
.incorrect-description{
  font-size: 20px;
  margin: 0;
}
.incorrect-description-long{
  font-size: 18px;
  margin: 0;
}
#score{
  display: flex;
  column-gap: 0.5%;
  align-items: center;
}
#score-container{
  border-radius: 8px;
  margin-bottom: 2%;
  display: none;
}
#score-container ul{
  border: 6px double #078ffb;
  background-color: #2ea7fd26;
}
#score-container ul li{
  border-bottom: 2px solid #999;
}
.today{
  font-weight: bold;
  font-size: 26px;
}
#today, #outputname, #score{
  display: none;
  margin-bottom: 0;
  font-size: 24px;
  font-weight: normal;
}
#score-information-container{
  display: none;
  justify-content: space-between;
  border-bottom: 2px dashed #999;
  margin-bottom: 2%;
}
h4 p{
  margin: 0;
}
h4 p:first-child{
  margin-bottom: 10px;
}
#outputname p:last-child{
  /* text-align: right; */
}
#outputname, #score{
  border-left: 2px dashed #999;
  padding: 0 0 10px 10px;
}
button{
  cursor: pointer;
  font-size: 18px;
  font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", Roboto, "Droid Sans", "Yu Gothic", Meiryo, "Meiryo UI", sans-serif;
}
input{
  font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", Roboto, "Droid Sans", "Yu Gothic", Meiryo, "Meiryo UI", sans-serif;
  font-size: 16px;
}
fieldset > p{
  margin-bottom: 15px;
}
@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%;
  }
}
