@charset "utf-8";

/* -----reset----- */
*,
::before,
::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

ul li {
  list-style-type: none;
}

a {
  text-decoration: none;
  color: inherit;
}

/* -----syling from here!!!!----- */

/* -----common----- */
* {
  color: #302833;
  font-family: "Shippori Mincho", serif;
  font-size: 16px;
}

.wrap {
  background-image: url(../img/bg-white.png);
}

h2 {
  font-size: 24px;
  text-align: center;
}

h3 {
  font-size: 20px;
}

a {
  color: #69821b;
  /* nav,news,footer除く */
}

dl dt {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 500;
  font-size: 18px;
  margin-top: 20px;
  text-align: center;
}

dl dd {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 400;
  font-size: 16px;
  margin-top: 10px;
  text-align: center;
}

small {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 400;
  font-size: 14px;
  margin-left: 0.5em;
}

.hover:hover{
  color: #b7282e;
  /* newsは個別指定 */
}

/* -----header----- */
.header-bg{
  width: 100%;
  height: 70px;
  background-image: url(../img/bg-brown.png);
}

header {
  /* background-color: #eee; */
  width: 100%;
  height: 70px;
  position: fixed;
  top: 0;
  left: 0;
  background-color: #f3f0e801;
   z-index: 50;

}

.header-flex {
  width: 90%;
  max-width: 1200px;
  height: 100%;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  flex-direction: row;
  align-items: center;
  padding: 10px 15px;
}

h1 img {
  padding-top: 10px;
  height: 65px;

}

.icon-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 40%;
  max-width: 300px;
  height: 100%;
}

.icon-flex img {
  width: 30px;
}

header a:hover{
  opacity: 50%;
}

/* ---hamburger-menu-- */
#menu-btn{
display: none;
}

.btn {
  display: block;
  /* border: #302833 1px solid; */
  width: 60px;
  height: 60px;
  position: relative;
  cursor: pointer;
}

.btn span{
  display: block;
  height: 1.5px;
  width: 40px;
  border-radius: 3px;
  background-color: #302833;
  position: absolute;
  top: 30px;
  left: 10px;
  z-index: 200;
}

.btn span::before {
  content: "";
  display: block;
  height: 1.5px;
  width: 40px;
  border-radius: 3px;
  background-color: #302833;
  position: absolute;
  top: -12px;
  left: 0px;
  transition: all 0.7s;
}

.btn span::after {
  content: "";
  display: block;
  height: 1.5px;
  width: 40px;
  border-radius: 3px;
  background-color: #302833;
  position: absolute;
  top: 12px;
  left: 0px;
  transition: all 0.7s;
}

#menu-btn:checked~.btn span {
  background-color: transparent;
}

#menu-btn:checked~.btn span::before {
  top: 0;
  transform: rotate(45deg);
}

#menu-btn:checked~.btn span::after {
  top: 0;
  transform: rotate(-45deg);
}

.g-nav {
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: fixed;
  top: 0;
  right: -100%;
  width: 35%;
  height: 100vh;
  background-image: url(../img/bg-dkgreen.png);
  backdrop-filter: blur(15px); 
  z-index: inherit;
  transition: 0.7s;
}

#menu-btn:checked~.g-nav {
  right: 0;
}
.g-nav li {
  margin-top: 7px;
  margin-left: 15%;
}

.g-nav li:first-child{
  margin: 65px 0 10px 15%;
}

.g-nav li:nth-of-type(2),
.g-nav li:nth-of-type(5),
.g-nav li:nth-of-type(6),
.g-nav li:nth-of-type(10),
.g-nav li:nth-of-type(11),
.g-nav li:nth-of-type(12),
.g-nav li:nth-of-type(13),
.g-nav li:nth-of-type(15)
{
  margin-top: 25px;
}

.g-nav li a{
  color: #302833;
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 600;
  font-size: 16px;
}

.g-nav li:nth-of-type(13) a,
.g-nav li:nth-of-type(14) a{
  font-size: 14px;
}


.g-nav li a:hover{
  opacity: 50%;
}

.g-nav .sub a{
  font-weight: 300;
}

footer {
  display: block;
  background-image: url(../img/bg-green.png);
  width: 100%;
  margin-top: 100px;
}

.footer-flex {
  display: flex;
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  justify-content: space-between;
  flex-wrap: wrap;
}

.footer-flex ul {
  width: 20%;
  min-width: 135px;
  margin-top: 65px;
}

.footer-flex ul a {
  color: #302833;
}

.footer-flex ul li{
  padding-left: 1em;
  line-height:1.8em;
}

.footer-flex ul li:first-of-type{
  margin-top: 10px;
}

.footer-flex ul li::before {
  content: '';
  width: 3px;
  height: 3px;
  display: inline-block;
  border-radius: 100%;
  background: #302833;
  position: relative;
  left: -0.5em;
  top: -3px; 
}

.footer-flex .none li{
  padding-left: 0;
  margin-top: 1rem;
}

.footer-flex .none li::before{
  display: none;
}

.footer-flex ul li a {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 400;
  font-size: 16px;
}

.footer-flex .none li a{
  font-size: 14px;
}

footer a:hover{
  opacity: 50%;
}

footer img{
  display: block;
  margin: 65px auto 0;
  width: 10%;
  max-width: 450px;
}

footer small{
  display: block;
  margin: 20px auto 0;
  padding-bottom: 20px;
  text-align: center;
}

@media (max-width:800px){
*{
  font-size: 14px;
}
.header-flex{
padding: 10px 0;
}

.g-nav li:nth-of-type(2),
.g-nav li:nth-of-type(5),
.g-nav li:nth-of-type(6),
.g-nav li:nth-of-type(10),
.g-nav li:nth-of-type(11),
.g-nav li:nth-of-type(12),
.g-nav li:nth-of-type(13),
.g-nav li:nth-of-type(15)
{
  margin-top: 18px;
}

dl dt {
  font-size: 16px;
}

dl dd {
  font-size: 14px;
}

  .g-nav{
    width: 60%;
  }

  .g-nav li {
    margin-top: 7px;
    margin-left: 10%;
  }
  .g-nav a{
    font-size: 14px;
  }

  .footer-flex .none{
    width: 35%;
  }

  footer a img{
    width: 30%;
  }
}