*,
*::after,
*::before {
	box-sizing: border-box;
  margin: 0;
  padding:0;
}
html {
    font-size: 20px;
    scroll-behavior: smooth;
}
body{
    font-family: "Times New Roman" , "游明朝" , "Yu Mincho" , "游明朝体" , "YuMincho" , "ヒラギノ明朝 Pro W3" , "Hiragino Mincho Pro" , "HiraMinProN-W3" , "HGS明朝E" , "ＭＳ Ｐ明朝" , "MS PMincho" , serif;
    scroll-behavior: smooth; overflow-x: hidden;
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.fade-in {
  opacity: 0; /* 最初は透明 */
  animation: fadeIn 1.5s ease-in forwards; 
}

/*
h1 {
    font-size: 3rem; 
 }
*/
a{color: #131313;}
:root {
  --scrollbar: 0;
}
body {
  margin: 0;
}
span.bk{
  display: block;
}
  h2 {
    font-size: 1.4rem;
    text-align: center;
    letter-spacing: 2px;
  position: relative;  }
  h3{
    font-size: 1rem;
  }
  h1,h2,h3,h4,span{
    font-family: "Times New Roman" , "游明朝" , "Yu Mincho" , "游明朝体" , "YuMincho" , "ヒラギノ明朝 Pro W3" , "Hiragino Mincho Pro" , "HiraMinProN-W3" , "HGS明朝E" , "ＭＳ Ｐ明朝" , "MS PMincho" , serif;
  }
  p,
  ul,
  li,
  ol,
  a {
    font-size: .8rem; 
    line-height: 2.2;
    font-family: "Times New Roman" , "游明朝" , "Yu Mincho" , "游明朝体" , "YuMincho" , "ヒラギノ明朝 Pro W3" , "Hiragino Mincho Pro" , "HiraMinProN-W3" , "HGS明朝E" , "ＭＳ Ｐ明朝" , "MS PMincho" , serif;
  }
  
  li{
    list-style: none;
  }
  a{
  text-decoration: none;
  }
  @media screen and (max-width: 768px) {

html {
    font-size: calc(100vw / 32);
}

h1 {
    font-size: 2.4rem;
}
h2 {
    font-size: 1.9rem;
}
h3{
  font-size: 1.6rem;
}
p,
ul,
li,
ol,
a {
  font-size: 1.1rem; 
 }
}
.mb-m{
    margin-bottom: 1rem;
}
.mb-l{
    margin-bottom: 4rem;
}
span{
    display: inline-block;
}
.center{
    text-align: center;
}
/**************************************************
*
*header
*
*************************************************/


/**************************************************
*
*nav
*
*************************************************/


nav {
  background: #fff;
  padding: 0px 15px;
  position: fixed;
  z-index: 99999;
  width: 100%;
  transition: ease .4s;
  top:0;
  border-bottom: solid #94a98a 3px;
}
nav a {
  text-decoration: none;
}
.menu,
.submenu {
  list-style-type: none;
  position: relative;
}
.logo a{
  background-image: url(../image/logo_g.svg);
  background-repeat: no-repeat;
  width: 300px;
  height: 50px;
  left: 20px;
  background-position: center;
}
.item {
  padding: 10px;
}
.item.button {
  padding: 9px 5px;
}
.item:not(.button) a:hover,
.item a:hover::after,
.item a:hover span  {
  color: #ccc;
  transition: ease .4s;
}
/* Mobile menu */
.menu {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center !important;
}
.menu li a {
  display: block;
  padding: 15px 5px;
}
.menu .item-menu{
  margin: 0 1rem;
  position: relative;
}
.menu li.subitem a {
  padding: 15px;
}
.toggle {
  order: 1;
  position: relative;
  max-width: 40px;
  min-width: 40px;
  height: 50px;
}
.toggle a{
height: 100%;
}
.toggle span{
  width: 30px;
  height: 3px;
  background-color: #000;
  position: absolute;
}
.toggle span:nth-child(1){
  top:25%;
  left: 50%;
  transform: translateX(-50%);
  transition: ease .4s;
}
.toggle span:nth-child(2){
  top:50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: ease .4s;
}
.toggle span:nth-child(3){
  bottom:25%;
  left: 50%;
  transform: translateX(-50%);
  transition: ease .4s;
}
.item.button {
  order: 2;
}

.item {
  order: 3;
  width: 100%;
  text-align: center;
}
.active .item {
  opacity: 1;
  display: block;
}
.toggle.test{
  transition: ease .4s;
}

.toggle.test span:nth-child(1){
  top:45%;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  transition: ease .4s;
}
.toggle.test span:nth-child(2){
  opacity: 0;
  transition: ease .4s;
}
.toggle.test span:nth-child(3){
  bottom:50%;
  left: 50%;
  transform: translateX(-50%)  rotate(-45deg);
  transition: ease .4s;
}
.button.secondary {
  /* divider between buttons and menu links */
  border-bottom: 1px #444 solid;
}
/* Submenu up from mobile screens */
/*******/

.has-submenu a{
  position: relative;

}
.has-submenu > a::after{
  font-size: 12px;
  line-height: 16px;
  font-weight: bold;
  content: "〉";
  transform: translateY(-30%) rotate(90deg);
  position: absolute;
  top:50%;
  color: #000;
  right: -2em;
  
}
.subitem a{
  display: flex;
  flex-direction: row;
  flex-wrap: wrap !important;
  justify-content: center;
  align-items: center;
  font-size: .9rem;
}
.subitem span{
  font-size: .7rem;
  display: block;
  color: #63775b;
  padding-left: 1em;
}
.subitem a {
  padding: 10px 15px;
}
.submenu-active {
  background-color: #fff;
  border-radius: 3px;
  transition: ease .4s;
}

.button a {
  background: #94a98a;
  border: 1px #94a98a solid;
  color: #fff;
}
/* Tablet menu */
@media all and (min-width: 768px) {
  .menu {
    justify-content: center;
  }
  .logo {
    flex: 1;
  }
  .item.button {
    width: auto;
    order: 1;
    display: block;
  }
  .toggle {
    flex: 1;
    text-align: right;
    order: 2;
  }
  /* Button up from tablet screen */
  .menu li.button a {
    padding: 10px 15px;
    margin: 5px 0;
  }
  .button.secondary {
    border: 0;
  }
  .button a:hover {
    text-decoration: none;
    transition: ease .4s;
  }
}
/* Desktop menu */
@media all and (min-width: 900px) {
  
.submenu {
  display:block;
  transition: ease .4s;
  position: absolute;
  top:70px;
  width: 300px;
  left: 0;
  text-align: left;
  opacity: 0;
}
.submenu a{
  transition: ease .4s;
}
  .menu {
    align-items: flex-start;
    flex-wrap: nowrap;
    background: none;
  
  }
  .logo {
    order: 0;
  }
  .item {
    order: 1;
    position: relative;
    display: block;
    width: auto;
  }
  .button {
    order: 2;
  }
  .submenu-active .submenu {
    display: block;
    position: absolute;
    left: 0;
    top: 80px;
    background: #fff;
    transition: ease .4s;
    text-align: left;
    opacity: 1;
  }
  .toggle {
    display: none;
  }
  .submenu-active {
    border-radius: 0;
    transition: ease .4s;
  }
}


@media screen and (max-width: 900px){
  
nav {
  padding: 10px 15px;
}

.has-submenu > a::after{
  content:none;
}
.logo a{
  width: 200px;
  height: 50px;
}
.menu li a {
  padding: 5px 5px;
}
.item {
  display: none;
  opacity: 0;
}

.subitem a{
  font-size: 1.1rem;
}

.subitem span{
  font-size: 1rem;
  padding-left:0;
}
.has-submenu{
  border:solid #94a98a 1px;
}
.submenu-active a.sp_bg{
background-color: #e9eae8;
}
}

@media screen and (max-width: 768px){
  
  nav ul li.button{
    
    margin-top: 50px;
  }
  
  }
/**************************************************
*
*footer
*
*************************************************/
footer{
  background-color: #f1f4f6;
  border:solid 1px #f1f4f6;
  padding: 0 2rem;
}
footer .footer__item{
  display: flex;
  justify-content: center;
  align-items:center;
  margin-bottom: 5%;
}
footer .footer__item .footer__item-content{
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

footer .footer__item .footer__item-content:nth-child(1){
  flex: 1;
}
footer .footer__item .footer__item-content:nth-child(2){
  flex: 2;
}
footer .footer__item .footer__item-content .footer__item-logo{
  width: 300px;
  height: 60px;
  background-image: url(../image/logo_g.svg);
  background-repeat: no-repeat;
  background-size: contain;
  margin-bottom: 30px;
}
footer .footer__item .footer__item-content p{
  display: block;
  font-size: .7rem;
}
.footer__item-content ul{
  display: flex;
  flex-wrap: nowrap;
  gap:50px
}
.footer__item-copy{
  text-align: center;
  border-top: 2px #bcbebf solid;
  display: flex;
  justify-content: space-between;
}
.footer__item-copy p,
.footer__item-copy a{
  margin: 1rem 0;
  font-size: .6rem;
}
@media screen and (max-width: 900px){
  
footer .footer__item{
  flex-direction: column;
}
footer .footer__item .footer__item-content{
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

footer .footer__item .footer__item-content{
  width: 100%;
  flex: 1;
}
}