@charset "utf-8";

html{font-family: 'Dancing Script', cursive;
font-family: 'Josefin Sans', sans-serif;
scroll-behavior: smooth;
}
.header{
  background:white;
  padding-top: 30px;
  text-align: center;
  padding-bottom: 30px;
  padding-left: 10%;
  font-size: 120%;
}
footer{
  padding-top: 50px;
  text-align: center;
  padding-bottom: 50px;
  background-color: #B0C4DE;
  font-size: 120%;
  width: 99%;
  margin-left: 5px;
  padding-bottom: 3%;
  margin-bottom: 2%;
  border-color: #B0C4DE;
  border-radius: 50px;
}
.main0 {
  display: grid;
  grid-template-rows: 120px;
  grid-template-columns: 30% 69%;
}
.main {
  display: grid;
  grid-template-rows: 300px 300px;
  grid-template-columns: 17% 60% 21%;
  grid-gap: 0.5rem;
  grid-row-gap: 1rem;
  padding-left: 8px;
}
.left-navi {
  grid-row: 1 / 3;
  grid-column: 1 / 2;
  background-color: #dcdcdc;
  text-align: center;
  padding-top: 5px;
  border: solid;
  border-radius: 8px;
  overflow-y: auto;
}
.main-contents {
  grid-row: 1 / 3;
  grid-column: 2 / 2;
  background-color: skyblue;
  text-align: center;
  padding-top: 5px;
  padding-right: 2%;
  padding-left: 2%;
  border: solid;
  border-radius: 8px;
  overflow-y: scroll;
}
.right-navi {
  grid-row: 1 / 3;
  grid-column: 3 / 3;
  background-color: #fffaf0;
  text-align: center;
  padding-top: 5px;
  border: solid;
  border-radius: 8px;
  overflow-y: scroll;
  height: 320px;
}
.right-navi2 {
  grid-row: 2 / 3;
  grid-column: 3 / 3;
  background-color: white;
  text-align: center;
  padding-top: 5px;
  border: solid;
  border-radius: 8px;
  height: 300px;
}
h1{
  font-size: 250%;
  font-weight: bold;
  color: white;
  font-style: italic;
  line-height: 0.95em;
  text-shadow: 0 0 0.2em rgba(0, 0, 0, 1);
}
h2{
  font-size: 180%;
  font-weight: bold;
}
h3{
  font-size: 120%;
  font-weight: bold;
}
h4{
  padding-bottom: 20px;
}
h4.new{
  text-align: left;
  font-weight: bold;
  padding-left: 5%;
  padding-bottom: 2%;
  padding-top: 2%;
  font-size: 150%;
  color: brown;
  font-style: italic;
}
p{
  text-align: left;
  padding-left: 10%;
  padding-right: 3%;
  padding-bottom: 5%;
  padding-top: 5%;
  background-color: #e0ffff;
}
.s{
  color: black;
  font-size: 130%;
}
.s2{
  color: #ffdc00;
}
a:hover{
  color: #ffdc00;
}
.panel{
  display: none;
  border: 1px solid #acac;
  border-left: none;
  border-right: none;
  background-color: white;
  padding: 20px 20px;
}
.box{
  display: block;
  display: inline-block;
  width: 100%;
  background-color: #eee;
  border: 1px solid #acac;
}
.btn{
  display: block;
  flex-grow: 1;
  width: 100%;
  padding: 20px;
  cursor: pointer;
  background-color: inherit;
  outline: none;
  border: none;
  text-align: left;
  font-size: 120%;
}
.btn:hover{
  background-color: #ffdc00;
}
ul{
  display:flex;
  justify-content: space-around;
}
li{
  margin-bottom: 50px;
}
#logo-cover{
  position: absolute;
  top:0.5px;
}
#logo-cover img{
  width: 80%;
}
#logo-cover2 img{
  width: 80%;
  padding-top: 10%;
}
#logo-cover3 img{
  width: 80%;
  padding-top: 10%;
}
#logo-cover4 img{
  width: 80%;
  padding-top: 10%;
}
.btn-menu2{
  color: brown;
  padding: 1% 1%;
  font-weight: bold;
  background:pink;
  position: fixed;
  border-radius: 10%;
  width: 15%;
  z-index: 5;
  text-align: center;
  left:83%;
  top: 5%;
}

/* 820px以下画面に適用 */
@media screen and (max-width: 820px) {
  h1{
    font-size: 220%;
    font-weight: bold;
    color: white;
    font-style: italic;
    line-height: 0.95em;
    text-shadow: 0 0 0.2em rgba(0, 0, 0, 1);
    padding-top: 10%;
  }
  #logo-cover img{
    width: 60%;
  }
  .left-navi{
    font-size: 70%;
  }
  footer{
    font-size: 85%;
  }
}
.btn-menu2{
  color: brown;
  padding: 1% 1%;
  font-weight: bold;
  background:pink;
  position: fixed;
  border-radius: 10%;
  width: 15%;
  z-index: 5;
  text-align: center;
  left:80%;
  top: 70%;
}

/* 600px以下画面に適用 */
@media screen and (max-width: 599px) {
  html{font-family: 'Dancing Script', cursive;
  font-family: 'Josefin Sans', sans-serif;
  scroll-behavior: smooth;
  }
  .header{
    background:white;
    padding-top: 30px;
    padding-bottom: 30px;
    margin-left: 10px;
    font-size: 120%;
  }
  footer{
    padding-top: 10px;
    text-align: center;
    background-color: #B0C4DE;
    font-size: 100%;
    width: 97%;
    margin-right: 0;
    padding-bottom: 3%;
    margin-bottom: 35%;
    border-color: #B0C4DE;
    border-radius: 50px;
  }
  .main0 {
    display: grid;
    grid-template-rows: 120px;
    grid-template-columns: 10% 89%;
  }
  .main {
    display: grid;
    grid-template-rows: 2300px 1100px;
    grid-template-columns:98%;
    grid-gap: 0.5rem;
    grid-row-gap: 1rem;
    padding-left: 8px;
  }
  .main-contents {
    grid-row: 1 / 4;
    grid-column: 1 / 1;
    background-color: skyblue;
    text-align: center;
    padding-top: 5px;
    padding-right: 2%;
    padding-left: 2%;
    border: solid;
    border-radius: 8px;
  }
  .right-navi {
    grid-row: 4 / 4;
    grid-column: 1 / 1;
    background-color: #fffaf0;
    text-align: center;
    padding-top: 5px;
    border: solid;
    border-radius: 8px;
    overflow-y: scroll;
    height: 320px;
  }
  .right-navi2 {
    grid-row: 3 / 4;
    grid-column: 1 / 1;
    background-color: white;
    text-align: center;
    padding-top: 5px;
    border: solid;
    border-radius: 8px;
    height: 320px;
  }
  h1{
    font-size: 150%;
    font-weight: bold;
    color: white;
    font-style: italic;
    line-height: 0.95em;
    text-shadow: 0 0 0.2em rgba(0, 0, 0, 1);
    padding-top: 10%;
  }
  h2{
    font-size: 180%;
    font-weight: bold;
  }
  h3{
    font-size: 120%;
    font-weight: bold;
  }
  h4{
    padding-bottom: 20px;
  }
  h4.new{
    text-align: left;
    font-weight: bold;
    padding-left: 5%;
    padding-bottom: 2%;
    padding-top: 2%;
    font-size: 150%;
    color: brown;
    font-style: italic;
  }
  p{
    text-align: left;
    padding-left: 5%;
    padding-right: 3%;
    padding-bottom: 10%;
    padding-top: 10%;
    background-color: #e0ffff;
    font-size: 120%;
    letter-spacing: .3rem;
  }
  .s{
    color: black;
    font-size: 130%;
  }
  .s2{
    color: #ffdc00;
  }
  a:hover{
    color: #ffdc00;
  }
  .panel{
    display: none;
    border: 1px solid #acac;
    border-left: none;
    border-right: none;
    background-color: white;
    padding: 20px 20px;
  }
  .box{
    display: block;
    display: inline-block;
    width: 100%;
    background-color: #eee;
    border: 1px solid #acac;
  }
  .btn{
    display: block;
    flex-grow: 1;
    width: 100%;
    padding: 20px;
    cursor: pointer;
    background-color: inherit;
    outline: none;
    border: none;
    text-align: left;
    font-size: 120%;
  }
  .btn:hover{
    background-color: #ffdc00;
  }
  ul{
    justify-content: space-around;
    display: block;
  }
  li{
    margin-bottom: 15px;
    padding-top: 5px;
  }
  #logo-cover{
    position: absolute;
    top:0.5px;
    width: 80%;
  }
  #logo-cover img{
    width: 70%;
  }
  #logo-cover2 a img{
    width: 70%;
    padding-top:1%;
  }
  #logo-cover3 a img{
    width: 70%;
    padding-top: 1%;
  }
  #logo-cover4 a img{
    width: 70%;
    padding-top: 1%;
  }
.btn-menu::before{
  content:"\f0c9";
  font-family:"font awesome 5 Free";
  font-weight: 900;
  position: fixed;
  font-size: 2.5rem;
  padding-left: 85%;
  padding-bottom: 1%;
  top:1%;
  width: 20%;
  color: brown;
}
.left-navi.open-menu{
  position: fixed;
  left: 2%;
}
.f::before{
content:"\f35b";
font-family:"font awesome 5 Free";
font-weight: 400;
position: fixed;
right: 10px;
bottom: 100px;
color: #737373;
padding: 10px;
font-size: 3rem;
}
.main-nav{
  width: 0%;
  position: absolute;
  z-index: 3;
  top: 8%;
  right: 120%;
  overflow: hidden;
  transition: .3s;
  box-shadow: 0 10px 25px 0 rgba(0, 0, 0, 0.5);
  text-align: center;
  padding-top: 3%;
  padding-left: 2%;
  padding-right: 1%;
  padding-bottom: 3%;
  font-size: 150%;
  display: block;
  color: black;
  width: 95%;
  }
  .btn-menu2{
    color: brown;
    padding: 1% 1%;
    font-weight: bold;
    background:pink;
    position: fixed;
    border-radius: 10%;
    width: 30%;
    z-index: 5;
    text-align: center;
    left:2%;
    top: 57%;
  }
}
