/*
 * 'NotoSerifJP' licensed under the SIL Open Font License
 * https://fonts.google.com/noto/specimen/Noto+Serif+JP（配布元のURL）
 */

 @font-face {
	font-family: 'NotoSerifJP';
   font-display: block;
	src: url("../../NotoSerifCJKjp-Regular.woff") format("woff");
}


.scroll {
   display: block;
   overflow-x: auto;
   overflow-y: hidden;
 }


body, html {
   margin: 0;  /* 解決するため */
   padding: 0; /* 入れておくと無難 */
   font-family: 'NotoSerifJP';
 }

body {
   background-color: #191970;
   background-image: url("../../background.jpg");
   background-size: cover;
   background-attachment: fixed;
   background-position: center center;
   font-family: 'NotoSerifJP';
}

.header {
   display: flex;
   width: 100%;
   height: 6vw;
   align-items: center;
   background-color: #011734;
   margin-right: auto;
   margin-left : auto;
   box-shadow: 0px 0px 10px 5px rgba(0, 0, 0, 10);
   font-family: 'NotoSerifJP';
   position: fixed;
   -webkit-transform: translateY(0);
   transform: translateY(0);
   -webkit-transition: -webkit-transform .4s ease;
   transition: transform .4s ease;
   transition: transform .4s ease, -webkit-transform .4s ease;
   z-index: 1;
 }

.header img {
   width: 4.5vw;
}

.header--unpinned {
   -webkit-transform: translateY(-150%);
   transform: translateY(-150%);
 }

.title {
   font-size: 3.1vw;
   text-shadow: 1px 2px 3px #808080;
   font-family: 'NotoSerifJP';
}

ul {
   overflow:hidden;
   list-style:none;
   margin: 0px 0px 0px 53vw;
   z-index: 20;
   font-family: 'NotoSerifJP';
}
   
ul li {
   display: inline-block;
   padding: 1vw 1vw 0.8vw 0.9vw;
   font-size: 2.2vw;
   font-family: 'NotoSerifJP';
   color: #e0ffff;
}



 
.main-panel {
   width: 700px;
   flex-grow: 1;
   background-color: #e0ffff;
   font-family: 'NotoSerifJP';
   margin: auto;
}
 

.top_picture img { width: 90%; }

.top_picture { 
   text-align: center;
 }

 .left-side-icon,
 .right-side-icon {
     width: 100%;
     margin: 20px 0;
     overflow: hidden;
 }
 .nayumi_icon {
     width: 8%;
     text-align: center;
 }
 .kaya_icon {
   width: 8%;
   text-align: center;
 }
 .nayumi_icon img {
     width: 100%;
     height: 100%;
     border: solid 1px #a86958;
     border-radius: 50%;
 }
 .kaya_icon img {
   width: 100%;
   height: 100%;
   border: solid 1px #332b37;
   border-radius: 50%;
 }
 .nayumi_icon p {
     margin: 0px;
     word-wrap: break-word;
     font-size: 85%;
 }
 .kaya_icon p {
   margin: 0px;
   word-wrap: break-word;
   font-size: 85%;
 }
 .bubble {
     max-width: 60%;
     padding: 20px;
     border-radius: 10px;
     display: inline-block;
     background: #f5f5f5;
     font-size: 100%;
     position: relative;
 }
 .bubble::before{
     content: "";
     width: 0;
     height: 0;
     border: 10px solid transparent;
     position: absolute;
 }
 
 .left-side-icon .nayumi_icon {
   float: left;
   margin-left: 10px;
 }
 .left-side-icon .bubble{
   margin: 10px 0 0 20px;
 }
 .left-side-icon .bubble::before{
   top: 15px;
   left: -20px;
   border-right-color: #f5f5f5;
 }
 
 .right-side-icon .kaya_icon {
   float: right;
   margin-right: 10px;
 }
 .right-side-icon .bubble{
   float: right;
   margin: 10px 20px 0 0;
 }
 .right-side-icon .bubble::before{
   top: 15px;
   right: -20px;
   border-left-color: #f5f5f5;
 }

#top-link {
   cursor: pointer;
   font-family: 'NotoSerifJP';
}

#top-link:hover {
   color: black;
   background-color: white;
   font-family: 'NotoSerifJP';
}




.details-summary {
	cursor: pointer;
	transition: 0.2s;
	padding: 6px;
	border-radius: 6px;
	font-size: 120%;

	/* ホバー時のスタイル */
	&:hover {
		cursor: pointer;
		background-color: #bee1de;
	}

	/* タブフォーカス時のスタイル */
	&:focus-visible {
		outline: dashed #00a5a0;
	}
}

.details-word {
	cursor: pointer;
	transition: 0.2s;
	padding: 6px;
	border-radius: 6px;
	font-size: 110%;
   padding-left: 5%;

	/* ホバー時のスタイル */
	&:hover {
		cursor: pointer;
		background-color: #bee1de;
	}

	/* タブフォーカス時のスタイル */
	&:focus-visible {
		outline: dashed #00a5a0;
	}
}

.word-description {
   padding-left: 5%;
   padding-right: 2%;
}

.reference {
   padding-left: 2%;
   padding-right: 2%;
}



 .copyright{
   color: #000;
   margin: auto;
   text-align: center;
   font-family: 'NotoSerifJP';
   font-size: 85%;
 }

 

 footer {
   width: 100%;
   background-color: #afeeee;
   margin: auto;
   font-family: 'NotoSerifJP';
 }

 .footer_title {
  color: #000;
  font-size: 150%;
  margin: auto;
  text-align: center;
 }

 .footer_title :hover {
  color: #008b8b;
 }

 .footer_menu {
  color: #000;
  font-size: 120%;
  margin: auto;
  text-align: center;
 }

 .footer_menu :hover {
  color: #008b8b;
 }

 .search {
   width: 95%;
   text-align: right;
  }