/*
 * '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");
}



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: 12vw;
   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: 6.5vw;
}

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

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

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


 
.main-panel {
  width: 96%;
  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: 9%;
    text-align: center;
}
.kaya_icon {
  width: 9%;
  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: 60%;
}
.kaya_icon p {
  margin: 0px;
  word-wrap: break-word;
  font-size: 60%;
}
.bubble {
    max-width: 60%;
    padding: 20px;
    border-radius: 10px;
    display: inline-block;
    background: #f5f5f5;
    font-size: 87%;
    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;
}

.mokuji {
  font-weight: bold;
}

.mokuji_box {
  border: thick double #778899;
  width: 80%;
  margin: auto;
  position: relative;
}

.mokuji_title {
  font-size: 120%;
  font-weight: bolder;
}


h2 {
 border-bottom: 2px solid black;
 width: 90%;
}

.formula {
  width: 80%;
  background-color: #fffffc;
  margin: auto;
  font-size: 100%;
  padding: 10px;
  border: groove 5px #333;
  font-family: 'NotoSerifJP';
}

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

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

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









.image-gallery{
   width: 100%;
   text-align: center;
   display: flex;
   flex-wrap: wrap;
   justify-content: center;
   font-family: 'NotoSerifJP';
}

.image-container {
   display: inline-block;
   text-align: center;
   padding: 10px;
   box-sizing: border-box;
   flex-basis: 45%; /* 画像の幅を調整（3つ並ぶので1つあたりの幅は全体の3分の1） */
   font-family: 'NotoSerifJP';
 }
 
 .gallery-image {
   max-width: 100%;
   max-height: 100%;
   opacity: 1;
   transition: opacity 0.3s ease;
   cursor: pointer;
   font-family: 'NotoSerifJP';
 }
 
 .gallery-image:hover {
   opacity: 0.5;
   font-family: 'NotoSerifJP';
 }
 
 .image-description {
   text-align: center;
   font-size: 3vw;
 }

.glaph img { width: 70%; }

.glaph { text-align: center; }
 
.before_article{
  text-align: center;
  font-size: 2.25vw;
}

.reference {
  width: 90%;
  margin: auto;
  word-wrap: break-word;
}

.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;
}