@charset "UTF-8";


body {
  font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", sans-serif;
  background: #ffffff;
  color: #2f2a1f;
}

#toTop {
  position: fixed;
  right: 20px;
  bottom: 20px;
  padding: 12px 16px;
  border: none;
  border-radius: 999px;
  background: #e98a32;
  color: white;
  cursor: pointer;
  box-shadow:0px 0px 3px rgba(0, 0, 0, 0.6);
}

.main-container{
  width:100%;
  display:flex;
  justify-content:center;
}

.contents{
  width:100%;
  max-width:1100px;
  padding-top:20px;
  padding-bottom:20px;
  /* border:1px solid #000; */
}

.search-box {
  display: flex;
  gap: 10px;
  margin-bottom: 18px;
  
}

/* 入力�? */
#search {
  width:100%;
  max-width:500px;
  flex: 1;
  padding: 12px 14px;
  font-size: 16px;
  background: #f1f1f1;
  border-radius: 5px;
  color: #000;
  border: 2px solid #000;
  box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.3);
}

/* 検索ボタン */
.search-box button {
  padding: 5px 10px;
  font-size: 16px;
  font-weight: bold;
  color: #ffffff;
  background:#176803;
  border-radius: 6px;
  cursor: pointer;
  box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.3);
}

.search-box button:hover {
  background: #308317;
}

.search-box button:active {
  transform: translate(2px, 2px);
}

/* TOPの開閉ボタン */
.top-summary {
  width:100%;
  max-width:1000px;
  margin: 0 auto;
  display: block;
  text-align: center;
  margin-bottom: 22px;
  padding: 10px 0px;
  
  letter-spacing: 0.08em;
  background: #d4d4d4;
  color: #4d4d4d;
  border-radius: 5px;
  cursor: pointer;
  box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}

.top-summary h5{
  font-size: 22px;
  font-weight: bold;
}

.top-summary:hover {
  background: #e98a32;
  color:#fff;
}

details[open] .top-summary {
  background: #e98a32;
  color:#fff;
  margin-bottom: 0px;
  border-radius: 5px 5px 0 0;
}

/* �?ーブル */
table {
  width: 100%;
  max-width:800px;
  margin: 0 auto;
  border-collapse: collapse;
  background: #fffaf0;
  border: 2px solid #424242;
}

/* 難読漢字・詳細 */
th {
  background: #497fc5;
  color: #ffffff;
  padding: 10px;
  font-size: 18px;
  border: 1px solid #424242;
  text-shadow: 1px 1px 0 #43507c;
}

/* 漢字・読み */
td {
  padding: 7px;
  border: 1px solid #424242;
  background: #ffffff;
}


/* 漢字部分のみ */
td:first-child {
  font-size: 18px;
  font-weight: bold;
  color: #000;
  background: #ffffff;
  text-align: center;
  width: 30%;
}

/* ホバー?��同系色で少し明る�? */
tr.item:hover td {
  background: #ffffff;
}

tr.item:hover td:first-child {
  background: #ffffff;
}

/* 読みを見るボタン */
.read-btn {
  font-size:14px;
  display: inline-block;
  padding: 3px 7px;
  background: #497fc5;
  color: #ffffff;
  border-radius: 5px;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.9);
}

.read-btn:hover {
  background: #5e8ece;
}

/* 読み */
.reading {
  display: inline-block;
  margin: 5px 0 0;
  padding: 0px 16px;
  border-radius: 8px;
  color: #424242;
  font-size: 18px;
  font-weight: bold;
  letter-spacing: 0.08em;
}

.reading::before {
  content: "読み:";
  font-size: 15px;
  color: #183c8a;
  margin-right: 6px;
}

.flex_bn{
  width:100%;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
}

.kanji-box{
  width:100%;
  padding-bottom:15px;
}


.in-container{
  margin:0 auto;
}


details[open] .in-container {
  background: #fffaec;
  max-width:1000px;
  box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
  padding:30px;
  border-radius: 0 0 5px 5px;
  margin-bottom:20px;
}

.content-h3{
  padding:3px;
  width:100%;
  border-bottom:2px solid #000;
  margin-bottom:20px;
  font-size:25px;
}

.mokuzi{
  padding:20px;
  margin-top:20px;
  margin-bottom:20px;
  border:2px solid #C0C0C0;
  max-width:400px;
  color:#0C62B9;
  font-weight: 400;
}

.mokuzi-li h5{
  font-size:16px;
   font-weight: normal;
}



.mokuzi .mokuzi-container ul li a:hover{
  text-decoration: underline;
}

.flex-container{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:20px;
  padding:20px;
}

.banner-container1{
  width:100%;
  max-width:500px;
  height:auto;
  
}

.banner-container1 a img{
   width:100%;
   border:1px solid #757575;
}

.banner-container1 a:hover{
  opacity:0.8;
}









.banner-container2{
  width:100%;
  max-width:700px;
  margin:0 auto;
  height:auto;
  margin-bottom:20px;
  
}

.banner-container2 a img{
   width:100%;
   border:1px solid #757575;
}

.banner-container2 a:hover{
  opacity:0.8;
}



.banner-container2-sp{
  display:none;
  width:100%;
  max-width:500px;
  height:auto;
  
}

.banner-container2-sp a img{
   width:100%;
   border:1px solid #757575;
}

.banner-container2-sp a:hover{
  opacity:0.8;
}


@media(max-width: 600px){


  .banner-container2-sp{
  display:block;
  margin-bottom:20px;
  }


    .banner-container2{
  display:none;
  }
}


.banner-container3{
  width:100%;
  max-width:1200px;
  margin:0 auto;
  height:auto;
  margin-bottom:20px;
  
}

.banner-container3 a img{
   width:100%;
   border:1px solid #757575;
}

.banner-container3 a:hover{
  opacity:0.8;
}


.banner-container3-sp{
  display:none;
  width:100%;
  max-width:500px;
  height:auto;
  
}

.banner-container3-sp a img{
   width:100%;
   border:1px solid #757575;
}

.banner-container3-sp a:hover{
  opacity:0.8;
}

@media(max-width: 600px){


  .banner-container3-sp{
  display:block;
  margin-bottom:20px;
  }


    .banner-container3{
  display:none;
  }
}



/* スマ�?�対�? */
@media (max-width: 600px) {

  .flex-container{
  flex-direction:column-reverse;
}

  .top-summary {
    font-size: 18px;
    padding: 15px;
  }

  th,
  td {
    padding: 10px;
    font-size: 14px;
  }

  td:first-child {
    font-size: 19px;
  }

  .reading {
    font-size: 19px;
  }

  .contents{
   padding:20px;
    padding-bottom:20px;
    /* border:1px solid #000; */
  }


}


