  * { box-sizing: border-box; }

html{ scroll-behavior: smooth; }

  #contents .page, body{
    margin: 0;
    padding: 0;
  }

.container {
    margin: 0 auto;
    max-width: 1000px;
    width: 100%;
    padding: 1rem;
    font-family: "Noto Sans JP", sans-serif;
}

.container p{
  font-size: clamp(1.125rem, 1.08rem + 0.23vw, 1.25rem);
}

.container section {
    margin: 5% 0;
}

.container img {
    display: block;
    max-width: 100% !important;
    width: auto !important;
    height: auto;
    margin: 0 auto;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
}

.breadcrumb li{
  margin: 0.2rem 0;;
}

.breadcrumb li:not(:last-of-type)::after {
  content: "›";
  margin: 0 .6em; 
  color: #777; 
}

  #enclose_WPall{
    -webkit-text-size-adjust: none;
    position: relative;
    /*padding: clamp( 15px,4vw,30px );*/
  }

  #enclose_WPall h2.page_title {
    font-family: 'M PLUS Rounded 1c', sans-serif;
    font-weight: 500;
    font-size: clamp(1.25rem,5.33vw,1.8rem);
    text-align: center;
    background-color: #00a0b3;
    color: #fff;
    padding: 16px 10px;
    margin: 0 auto;
    border: dashed 2px #007f8f;
    box-shadow: 0px 0px 0px 5px #00a0b3;
    line-height: 1.4;
    width: calc( 100% - 10px );
    transform: rotate(0.03deg);
  }

  #enclose_WPall h2.page_title span {
    display: block;
    font-size: clamp(1rem,4.26vw,1.4rem);
  }

.kanso-wrapper {
  margin-top: 2rem;
}

.kanso-wrapper img{
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
}

.kanso-wrapper h3.title{
  font-weight: 700;
  margin-bottom: 1rem;
  text-align: center !important;
  font-size:130% !important;
}

.kanso-wrapper h3 span{
  display: inline-block;
}

.kanso-wrapper a.pdf-link{
  display: inline-block;
  color: #2f2f2f!important;
}

.kanso-wrapper .f-left-img, .kanso-wrapper .f-right-img{
  text-align: center;
}

.kanso-wrapper .f-left-img .caption, .kanso-wrapper .f-right-img .caption{
  display: inline-block;
  margin-top: 0.2rem;
  font-size: 0.95rem;
  line-height: 1.5;
}

.kanso-wrapper .genko-box{
  padding: 0.5rem;
  border: solid 1px #dcdcdc;
  margin-bottom: 1rem;
}

.kanso-wrapper summary {
  display: block;
}

.kanso-wrapper summary::-webkit-details-marker {
  display: none;
}

.kanso-wrapper .summary_inner {
  cursor: pointer;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
  /*border: 1px solid #d2beff;*/
  border: 1px solid #0f58aa;
  font-weight: bold;
  color: #002255;
}

.kanso-wrapper details summary i{
  transition: all 0.5s;
}

.kanso-wrapper details[open] summary i{
  transform: rotate(180deg);
  transition: all 0.5s;
}

.book-box{
  margin: 2rem 0;
}

.kanso-wrapper .book-box details{
  margin-bottom: 1rem;
}

.kanso-wrapper .book-box details .book-img{
  margin-top: 0.5rem;
}

details{
  padding: 0;
  border: none;
}

details:last-of-type {
     border-bottom: none;
}

details > summary::after {
  display: none;
}

.btn-container {
  display: flex;
  flex-direction: column; 
  align-items: center;    
  gap: 15px;              
  width: 100%;
  box-sizing: border-box;
  padding: 20px;          
}

.btn-responsive {
  display: inline-block;
  max-width: 400px; 
  width: 100%; 
  padding: 15px 20px; 
  background-color: #00a0b3;
  color: #ffffff;
  text-align: center;
  text-decoration: none;
  font-weight: bold;
  font-size: 16px;
  border-radius: 8px; 
  box-sizing: border-box;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 160, 179, 0.3);
  margin: 0 auto;
}

.btn-responsive:hover {
    opacity: 0.8;
}

.deadline{
  background-color:#f3f3f3;
  padding: 1rem;
  border-radius: 1rem;
}

.deadline p{
  color: #d10000;
  font-weight: bold;
  margin: 1rem 0;
  text-align: center;
}

@media screen and (min-width: 768px){
  .kanso-wrapper .f-left-img{
    float: left;
    width: 50%;
    padding-right: 1rem;
    padding-bottom: 1rem;
  }

  .kanso-wrapper .f-right-img{
    float: right;
    width: 50%;
    margin-left: 1rem;
    margin-bottom: 1rem;
  }

 ul.bullet-point{
    list-style-type: none !important;
    padding: 0 !important;
  }

  ul.bullet-point li{
    position: relative;
    padding-left: 1.2rem;
    margin: 0.5rem 0;
    font-size: clamp(1.125rem, 1.08rem + 0.23vw, 1.25rem);
  }

  ul.bullet-point li::before{
    content: "・";
    position: absolute;
    left: 0;
  }

  ol.indices{
    list-style-type: none !important;;
    margin: 0 !important;;
    padding: 0 !important;
  }

  ol.indices li{
    padding-left: 1rem !important;;
    text-indent: -1rem !important;;
  }

}

