:root {
  --clr-wh:#fff;
  --clr-lightwh: #c8c8c8;
  --clr-softwh:#f7f7f7;
  --clr-cream: #efede7;
  --clr-fontbl:#333;
  --clr-fontgray:#bbb;
  --clr-fontgreen: #00B017;
  --clr-blue: #6464ff;
  --clr-green:#00a015;
  --clr-lightgreen: #32c832;

}


/* 共通リセット */
*,
*::before,
*::after { box-sizing: border-box; margin: 0; padding: 0;
 }
html,
body {
  overscroll-behavior: none;
}
body { 
  font-family: serif;
  line-height: 1.6;
  background: var(--clr-wh);
  height: min(100vh);
  letter-spacing: 0.05em;
}
p li {
color: var(--clr-fontbl);
}
ul {
  list-style: none;
}
a {
  text-decoration: none;
  color: var(--clr-fontbl);
}
a:active{
  color: var(--clr-blue);
}

/* ヘッダー */
.header {
  position: fixed;
  align-items: center;
  color: var(--clr-wh);
  margin: 0 auto;
  width:100% ;
  z-index: 100;
  padding:20px 0;
  background: rgba(255,255,255,0.6);
  text-shadow: 1px 1px 2px var(--clr-wh);
}
.menu {
  display: flex;
  width: 94%;
  color:var(--clr-green);
  font-size: 16px;
  font-weight: 600;
  margin: 0 auto;
}
.menu ul{
  display:flex;
  flex-wrap:nowrap;
  justify-content: space-between;
  align-items: center;
  width: 95%;
  padding: 0;
  margin: 0 auto;
}
.menu li {
  height: auto;
  text-align: center;
  margin-bottom: 20px;
}
.menu img {
  display: block;
  width: 60px;
  height: auto;
  margin: 0 auto;
}
.logo {
  height: auto;
  margin: 0;
}

.logo img {
  width: 300px;
  height: auto;
  margin: 0;
}
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  width: 36px; height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 102;
}
.hamburger span {
  display: block;
  height: 4px; 
  width: 28px;
  margin: 4px 0;
  background:var(--clr-fontbl);
  border-radius: 2px;
  transition: .3s;
}

.nav {
  display: none;
}
.nav ul {
  display: flex;
  gap: 2rem;
}
.nav a {
  text-decoration: none;
  transition: opacity .2s;
}

/* フッター */
.footer {
  text-align: center;
  padding: 2rem 0;
  margin:3rem auto;
}
.footer_wrapper {
  width: 100vw;
  border-top: 1px solid var(--clr-green);
}
.footer_list {
  text-align: center;
  width: 100%;
}
.footer_list ul {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
}

.footer_list li {
  position: relative;
  padding: 0 18px;
  font-size: 15px;
}

.footer img {
  width:384px;
  height:auto;
  padding:3rem 0;
  margin: 0 auto;
}

#copyl{
font-size:12px;
letter-spacing: 0.01em;
}
.contact {
  width: max(700px, 80%);
  margin: 0 auto;
  text-align: center;
}
.contact iframe{
  width: 700px;
  height: 1100px;
  border:0;
  outline: 0;
  margin:0 auto ;
}
/* --- PC用スタイル --- */
@media(min-width:768px){  
  .footer_wrapper {
      border-bottom: 1px solid var(--clr-lightwh);
    }
  .footer_list li:first-child::before {
      content: "";
      display: inline-block;
      height: 15px;
      width: 1px;
      background: var(--clr-lightwh);
      position: absolute;
      left: 0;
      top: 50%;
      transform: translateY(-50%);
    }

  .footer_list li::after {
      content: "";
      display: inline-block;
      height: 15px;
      width: 1px;
      background: var(--clr-lightwh);
      position: absolute;
      right: 0;
      top: 50%;
      transform: translateY(-50%);
    }
  }
/* --- タブレット用スタイル --- */
@media(max-width:1024px) {
    .menu {
      width: 100%;
      font-size: 13px;
    }
  
    
    .menu li {
      height: auto;
      text-align: center;
      margin-bottom: 20px;
    }
    .menu img {
      width: 40px;
    }
    .logo img {
      width: 200px;
    }
}
/* --- モバイル用スタイル --- */
@media (max-width: 767px) {

/* --- ヘッダー --- */
  .header {
      padding: 1rem 0 ;
      width: 95%;
      background: rgba(255,255,255,0);
    }
  .logo {
      width:max(300px,80%);
    }
  .menu {
    display: none;
      padding-top:20px; 
    }
  .hamburger {
      display: flex;
      position: fixed;
      width: 36px;
      height: 36px;
      z-index: 200;
    }
  .hamburger span {
      position: absolute;
      width: 20px;
      height: 1px;
      left: 10px;
      top:0;
      transition: .4s cubic-bezier(.45, .05, .55, .95);
    }
  .hamburger span:nth-child(1) {
      top: 9px;
    }
  .hamburger span:nth-child(2) {
      top: 17px;
    }
  .hamburger span:nth-child(3) {
      top: 25px;
    }
  .hamburger.open span:nth-child(1) {
      top: 17px;
      transform: rotate(45deg);
    }
  .hamburger.open span:nth-child(2) {
      opacity: 0;
    }
  .hamburger.open span:nth-child(3) {
      top: 17px;
      transform: rotate(-45deg);
    }
  .nav {
      position: fixed;
      top:0;
      left: 0;
      width: 100vw;
      height: 100vh;
      background:var(--clr-wh);
      flex-direction: column;
      align-items: flex-start;
      padding: 2rem 1.5rem;
      z-index: 101;
      animation: fadeNav .2s;
    }
  .nav.open {
      display: flex;
    }
  .nav ul {
      flex-direction: column;
      gap: 1.5rem;
      padding-top:2rem;
    }
  .nav li {
    position: relative;
    font-size: 15px;
    letter-spacing: 0.02em;
  }
  .nav li::after {
      content: "";
      display: inline-block;
      background: var(--clr-lightwh);
      position: absolute;
      height: 1px;
      width: 90vw;
      left: 0;
      bottom: 0;
    }
  .nav img{
    position: absolute;
    bottom: 3rem;
    left:50%;
    transform:translateX(-50%) ;
    width:250px;
    height:auto;
  }

/* ハンバーガーメニュー開閉アニメ用 */
  @keyframes fadeNav {
      from {
        opacity: 0;
      }    
      to {
        opacity: 1;
      }
    }
/* --- フッター　--- */
.footer_wrapper {
  width: 100%;
  border-top: 1px solid var(--clr-green);
}
  .footer_list {
      text-align: left;
    }
  .footer_list ul {
      display: grid;
      justify-content: left;
      width: 90%;
      height:300px;
    }
  .footer_list li::after {
      content: "";
      display: inline-block;
      background: var(--clr-lightwh);
      position: absolute;
      height: 1px;
      width: 90vw;
      left: 1rem;
      bottom:0;
      transform:translateY(0.5rem);
    }
  .footer img {
      width:max(300px, 60%);
    }
/* --- コンタクト　--- */
  .contact {
    width: 100vw;
    }
  .contact iframe {
    width: 100vw;
    height: 1250px;
    }
  
  }