/* ===== HEADER ===== */
.header {
  position:fixed; inset:0 0 auto 0;
  padding:auto 40px;
  height:86px;
  display:flex; 
  justify-content:space-between; 
  align-items:center;
  z-index:1000; transition:.3s;
  background:rgba(255,255,255,1.0);
}
.header.is-scrolled {
  background:rgba(255,255,255,.7);
  backdrop-filter:blur(10px);
  border-bottom:1px solid #ddd;
}
.logo {
  width:200px;
  margin-left:20px;
}
.logo img {
  width:100%;
}
.nav {
  width:calc(100% - 280px);
  margin-right:20px;
}
.nav ul {
  display:flex; 
  flex-flow: wrap;
  gap:15px;
  list-style:none;
  justify-content: right;
}

.nav a {
  text-decoration:none;
  color:#fff;
  font-weight:600;
  padding:4px 26px 4px 10px; 
  border-radius:6px;
  position: relative;
  display: flex;
  justify-content: space-around;
  align-items: center;
  transition: 0.3s ease-in-out;
}
.nav a:after {
  content: "";
  position: absolute;
  top: 50%;
  bottom: 0;
  right: 15px;
  font-size: 90%;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: right 0.3s;
  width: 6px;
  height: 6px;
  border-top: solid 2px currentColor;
  border-right: solid 2px currentColor;
  transform: translateY(-50%) rotate(45deg);
}
.nav a:hover {
  filter: brightness(0.75) contrast(1.6);
  text-decoration: none!important;
}
.nav a:hover:after {
  right: 10px;
}
.nav li:nth-child(1) a {
  background:var(--color-blue);
}
.nav li:nth-child(2) a {
  background:var(--color-green);
}
.nav li:nth-child(3) a {
  background:var(--color-red);
}


/* =================　モバイル　=================　*/
@media(max-width:768px) {
  .header {
    padding:15px 0px 0px 0px;
    display:flex;
    flex-flow: column;
    justify-content:none; 
    align-items:center;
    background:rgba(255,255,255,1.0);
  }
  .logo {
    display:block;
    width:100%;
    margin-left:0px;
    text-align: center;
    padding-bottom:12px;
    border-bottom:1px solid #ddd;
  }
  .logo img {
    width:180px;
  }
  .nav {
    width:100%;
    margin-right:0;
    padding-top:0px;
  }
  .nav ul {
    width:100%;
    display:flex; 
    gap:0; 
  }
  .nav li {
    height:100%;
    background:#ccc;
  }
  .nav a {
    padding:8px 0; 
    border-radius:0px;
    width:100%;
  }
  .nav li:nth-child(1) {
    display:block;
    width:21%;
  }
  .nav li:nth-child(1) a {
    display:block;
    width:100%;
    text-align:center;
  }
  .nav li:nth-child(2) {
    width:29%;
  }
  .nav li:nth-child(2) a {
    display:block;
    width:100%;
    text-align:center;
  }
  .nav li:nth-child(3) {
    width:50%;
  }
  .nav li:nth-child(3) a {
    display:block;
    width:100%;
    text-align:center;
  }
  .nav a:after {
    display:none;
  }
  .nav a:hover {
    filter: none;
  }
  .nav a:hover:after {
    right: 0px;
  }

}



/*
.cta {
  background:linear-gradient(135deg,#0b1f3a,#1c3d6e);
  color:#fff; 
  padding:6px 14px; 
  border-radius:20px;
}*/