@charset "utf-8";


html {
  scroll-behavior: smooth;
}

/* 使用color 
  background-color: #2D3139;-----背景色
  background-color: #3F78A8;-----メインカラー青
  background-color: #6E9B4B;-----アクセントカラー緑
  */


/* HAMBURGER MENU */
.ham-nav {
    width: 400px;
    height: 100%;
    position: fixed;
    top: 0;
    right: 0;
    background-color: black;
    transform: translateX(400px);
    transition: 0.6s;
    padding: 30px 10px;
}
.ham-nav.show {
    transform: translateX(0);
}
.ham-nav ul {
    list-style: none;
    padding: 24px;
    display: flex;
    flex-direction: column;
  }
  .ham-nav li {
    margin-bottom: 16px;
  }
  .ham-nav a {
    font-size: 48px;
    color: white;
  }
  .ham-nav a:hover {
    background-color: #000;
  }
#menuBtn {
    position: fixed;
    top: 20px;
    right: 40px;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    cursor: pointer;
}
.box {
    width: 50%;
    height: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    position: relative;
}
.bar {
    width: 100%;
    height: 4px;
    background-color: white;
    transition-duration: 0.6s;
}
#menuBtn.close .bar:nth-child(1) {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
}
#menuBtn.close .bar:nth-child(2) {
    opacity: 0;
}
#menuBtn.close .bar:nth-child(3) {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-45deg);
}





@property --x0 { syntax: '<percentage>'; inherits: false; initial-value: 0%; }
@property --y0 { syntax: '<percentage>'; inherits: false; initial-value: 0%; }
@property --x1 { syntax: '<percentage>'; inherits: false; initial-value: 100%; }
@property --y1 { syntax: '<percentage>'; inherits: false; initial-value: 0%; }
@property --x2 { syntax: '<percentage>'; inherits: false; initial-value: 0%; }
@property --y2 { syntax: '<percentage>'; inherits: false; initial-value: 100%; }
@property --x3 { syntax: '<percentage>'; inherits: false; initial-value: 100%; }
@property --y3 { syntax: '<percentage>'; inherits: false; initial-value: 100%; }

@keyframes mesh-animation {
  0% {
    --x0: 0%;
    --y0: 0%;
    --x1: 100%;
    --y1: 0%;
    --x2: 0%;
    --y2: 100%;
    --x3: 100%;
    --y3: 100%;
  }
  100% {
    --x0: 15.0%;
    --y0: 15.0%;
    --x1: 85.0%;
    --y1: 0.0%;
    --x2: 15.0%;
    --y2: 85.0%;
    --x3: 85.0%;
    --y3: 100.0%;
  }
}

body {
  width: 100%;
  height: 100%;
  background-color: #ffffff;
  background-image: 
    radial-gradient(at var(--x0) var(--y0), rgba(45, 49, 57, 1) 0px, transparent 150%),
    radial-gradient(at var(--x1) var(--y1), rgba(110, 155, 75, 0.65) 0px, transparent 102%),
    radial-gradient(at var(--x2) var(--y2), rgba(63, 120, 168, 0.35) 0px, transparent 150%),
    radial-gradient(at var(--x3) var(--y3), rgba(255, 255, 255, 0.2) 0px, transparent 80%);
  animation: mesh-animation 8s ease-in-out infinite alternate;
}






.sp-nav,
.sp {
  display: none;
}

header {
  width: 100%;
  position: fixed;
  top: 0;
  z-index: 1000;
}

header .head-inner {
  margin: 0 auto;
  width: 100%;
  padding: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

header h1 {
  width: 250px;
}

header h1 img {
  width: 50px;
}

header nav {
  width: calc(100% - 270px);
  background-color: #2D3139;
  border-radius: 16px;
  padding: 8px;
}

header nav ul {
  width: 100%;
  display: flex;
  justify-content: space-evenly;
}

header nav ul li {
  width: calc(100% / 4);
}
  
header nav ul li a {
  display: block;
  text-align: center;
  transition: 0.3s;
}

header nav ul li a:hover {
  border-radius: 8px;
  background-color: #fff;
  color: #2D3139;
}


footer>p {
  margin: 0 auto;
  text-align: center;
  padding-top: 48px;
}


footer h1 {
  width: 100%;
  padding-bottom: 48px;
}



footer h1 img {
  width: 50px;
}

footer address {
  color: #fff;
  padding-bottom: 48px;
}

footer .flex {
  justify-content: center;


}

footer .flex p img {
  width: 60px;
  height: 60px;
  border-radius: 16px;
}