@charset "UTF-8";
body  {
   display: block;
   background-image: url(../images/250714-nikotama_5696.png);
   background-repeat: no-repeat;
   background-size: 80rem;
}

.hero  {
    display: block;
    height: 20vh;
}    
       
h1  {
    font-size: 4rem;
    color: blue;
    text-align: center;
}
h2  { 
    font-size: 2rem;
    color: black;
    text-align: center;
}

article   {
    display: flex; 
    justify-content: space-between;
    padding: 1rem 2.5rem 2.5rem;
    margin-top: 100vh;
    }
main   {
    width: 80%;
    margin-bottom: 0;
    }
    
aside  {
    width: 15%;
    }        

.main_theme{
    max-width: 100%;
    display: flex;  /* ← 修正済み */
    flex-direction: row;
    justify-content: flex-start;  
    align-items: flex-end;  /* 上揃え */
    gap: 20px;  /* 余白を自動調整 */
    overflow: auto;
    flex-wrap: wrap;
    margin-top: 3px;
    
}
.explanation-box {
    background-color: #fffaed;
    background-size: cover;
    width: 300px;
    height: auto;
    border-radius: 8px;
    border-style: solid;
    margin-left: 10px;
    padding: 10px;
}
.item_1  {
    margin-left:  20px;
    width: 20%;
    height: auto;
    border-style: solid;
    box-sizing: border-box;
    flex-shrink: 0;
}


.notice {
    margin-left: 200px;
}

#pdfOverlay {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  background: white !important;
  z-index: 999999999 !important;  /* ← 非常に高くする */
  display: none;
  overflow: hidden !important;
}

#pdfOverlay iframe {
  width: 100%;
  height: calc(100vh - 60px);
  border: none;
}

.issued_paper {
    display: block;
    max-width: 95%;
    height: 600px;
    position: relative;
}

/* #pdfContainer_21 {
  position: fixed;    
  top: 0;
  left: 0;
  width: 100vw;       
  height: 100vh;      
  background: white;
  z-index: 9999;      
  display: none;
  overflow: hidden;
}

#pdfContainer_21 iframe {
  width: 100%;
  height: calc(100vh - 60px);
  border: none;
} */

#pdfOverlay.back-button {
  text-align: center;
  margin-top: 10px;
}


.item_21 {
  background-color: red;
  background-size: cover;
  width: 168px;
  height: 200px;
  color: white;
  border-radius: 8px;
  border-style: solid;
  position: absolute;
  top: 30px;
  left: 240px;
  padding: 10px;
  z-index: 10; /* 前面に表示 */
}



.item_22  {
    background-color: red;
    background-size: cover;
    width: 168px;
    height: 336px;
    color: white;
    border-radius: 8px;
    border-style: solid;
    position: absolute;
    top: 130px;
    left: 30px;
    padding: 10px;
}
.item_23  {
    background-color: red;
    background-size: cover;
    width: 168px;
    height: 336px;
    color: white;
    border-radius: 8px;
    border-style: solid;
    position: absolute;
    top: 130px;
    left: 450px;
    padding: 10px;
}
.item_24  {
    background-color: red;
    background-size: cover;
    width: 168px;
    height: 176px;
    color: white;
    border-radius: 8px;
    border-style: solid;
    position: absolute;
    top: 330px;
    left: 240px;
    padding: 10px;
}

.sample_of_paper  {
    max-width: 100%;
    height: auto;
    display: flex;  /* ← 修正済み */
    flex-direction: row;
    justify-content: flex-start;  /* オプションで中央寄せ */
    align-items: flex-start;  /* 上揃え */
    
    flex-wrap: wrap;
}
.item_3  {
    width: 20%;
    height: auto;
    font-size: 1rem;
    margin-left: 10px;
    padding: 10px;
    box-sizing: border-box;
}
.real_sample_of_paper {
    width: 77%;
    height: auto;
    box-sizing: border-box;
}
.show_papers  {
    max-width: 100%;
    height: auto;
    position: relative;
}
.item_4  {
   
    width: 19%;
    height: auto;
    border-style: solid;
    position: absolute;
    left: 1px;
    top: 1px;
}
.item_5  {
    
    width: 19%;
    height: auto;
    border-style: solid;
    position: absolute;
    left: 160px;
    top: 30px;
}
.item_6  {
    
    width: 19%;
    height: auto;
    border-style: solid;
    position: absolute;
    left: 320px;
    top: 60px;

}
.item_7  {
    
    width: 19%;
    height: auto;
    border-style: solid;
    position: absolute;
    left: 480px;
    top: 90px;

}

.AI_corner  {
    margin-top: 270px;
    max-width: 100%;
    display: flex;  /* ← 修正済み */
    flex-direction: row;
    justify-content: flex-start;  /* オプションで中央寄せ */
    align-items: flex-start;  /* 上揃え */
    overflow: auto;
    flex-wrap: wrap;
}
.AI_explain  {
    width: 25%;
    height: auto;
    font-size: 1rem;
    margin-left: 10px;
    padding: 10px;
    box-sizing: border-box;
}

.item_8  {
    margin-left:  10px;
    width: 50%;
    height: auto;
    border-style: solid;
    box-sizing: border-box;
    flex-shrink: 0;
}

.essays  {
    width: 80%;
    height: auto;
    font-size: 1rem;
    margin-left: 10px;
    margin-top: 20px;
    padding: 10px;
    box-sizing: border-box;
    
}

.show_essays {
    max-width: 99%;
    display: block; 
    
    height: 400px; /* ← 修正済み */
    overflow: auto;
    position: relative;

}

.item_91 {
    background-color: #c3f2ff;
    background-size: cover;
    width: 135px;
    height: 200px;
    border-radius: 8px;
    border-style: solid;
    position: absolute;
    top: 30px;
    
    padding: 2px;
}
.item_92 {
    background-color: #c3f2ff;
    background-size: cover;
    width: 135px;
    height: 200px;
    border-radius: 8px;
    border-style: solid;
    position: absolute;
    top: 100px;
    left: 150px;
    padding: 2px;
}
.item_93 {
    background-color: #c3f2ff;
    background-size: cover;
    width: 135px;
    height: 200px;
    border-radius: 8px;
    border-style: solid;
    position: absolute;
    top: 30px;
    left: 300px;
    padding: 2px;
}
.item_94 {
    background-color: #c3f2ff;
    background-size: cover;
    width: 135px;
    height: 250px;
    border-radius: 8px;
    border-style: solid;
    position: absolute;
    top: 100px;
    left: 450px;
    padding: 2px;
}
.item_95 {
    background-color: #c3f2ff;
    background-size: cover;
    width: 135px;
    height: 200px;
    border-radius: 8px;
    border-style: solid;
    position: absolute;
    top: 30px;
    left: 600px;
    padding: 2px;
}

.next {
    width: 200px;
    height: auto;
    margin-top: 30px;
    margin-left: 20px;
    background-color: #fff6fa;
    border-radius: 8px;
    border-style: solid;

    font-size: 1.2em;
    font-weight: bold;
}

.explanation_root  {
    width: 95%;
    height: auto;
    padding: 10px;
 
    font-size: 13px;
    line-height: 1.6;
}









@media (max-width: 700px) {
   
}
