/* 共通 */
.pc {
  display: block;
}

.sp {
  display: none;
}

.flex {
  display: flex;
}

.notes {
  font-size: 12px;

}

a,
button {
  transition: .3s;
}

a:hover,
button:hover {
  opacity: .5;
}

main {
  display: block;
}

@media all and (max-width: 1020px) {
  .pc {
    display: none;
  }

  .sp {
    display: block;
  }
}

/* header */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  transition: .3s;
  z-index: 999;
}

header.is_scroll {
  background-color: #d1d7d7;
  transition: .3s;
}

#head_Area {
  justify-content: space-between;
  align-items: stretch;
  width: 100%;
  height: 100%;
  border-bottom: 1px solid #999;
  box-sizing: border-box;
}

#head_Nav,
#head_Nav ul {
  height: 100%;
}

#head_Nav li {
  height: 100%;
  border-left: 1px solid #999;
}

#head_Nav button,
#head_Nav a {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  margin: 0;
  background-color: unset;
  border: none;
  font-size: 16px;
  font-weight: 500;
  box-sizing: border-box;
  transition: .3s;
}

#head_Nav button img,
#head_Nav a img {
  display: block;
  width: 14px;
  height: 14px;
  object-fit: cover;
  object-position: bottom;
}

#head_Nav button:hover,
#head_Nav a:hover {
  color: #0091d2;
  opacity: 1;
}

#head_Nav #mb_Menu {
  display: none;
}

#head_Nav #mb_MenuBtn {
  position: relative;
  width: 60px;
  height: 100%;
  cursor: pointer;
}

#head_Nav #mb_MenuBtn span {
  display: block;
  position: absolute;
  left: 50%;
  width: 22px;
  height: 2px;
  background-color: #555;
  transition: .3s;
  transform: translateX(-50%);
}

#head_Nav #mb_MenuBtn span:nth-child(1) {
  top: 21px;
}

#head_Nav #mb_MenuBtn span:nth-child(2) {
  top: 50%;
  transform: translate(-50%, -50%);
}

#head_Nav #mb_MenuBtn span:nth-child(3) {
  bottom: 20px;
}

#head_Nav #mb_MenuBtn.menu_active span:nth-child(1) {
  top: 33px;
  left: 45%;
  transform: rotate(45deg) translateX(-50%);
}

#head_Nav #mb_MenuBtn.menu_active span:nth-child(2) {
  opacity: 0;
}

#head_Nav #mb_MenuBtn.menu_active span:nth-child(3) {
  bottom: 34px;
  left: 45%;
  transform: rotate(-45deg) translateX(-50%);
}

#sp_Nav {
  display: none;
}

#sp_Nav .sp_NavList {
  display: none;
}

.nav_View {
  width: 100%;
  max-height: 0;
  margin: 0 auto;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    max-height 0.4s ease,
    opacity 0.25s ease,
    visibility 0.25s ease,
    border-color 0.25s ease;
}

.nav_View.show_active {
  max-height: 500px;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  border-bottom: 1px solid #999;
  transition:
    max-height 0.4s ease,
    opacity 0.25s ease 0.15s,
    visibility 0.25s ease,
    border-color 0.25s ease;
}

.nav_View .flex {
  justify-content: flex-end;
  align-items: center;
}

.nav_View li {
  max-width: 220px;
  width: 100%;
  height: 100%;
  border-left: 1px solid #999;
}

.nav_View li a {
  display: block;
  width: 100%;
  padding: 15px 0;
  font-size: 16px;
  font-weight: 500;
  text-align: center;
  box-sizing: border-box;
  transition: .3s;
}

/* hero */
.hero_Vis {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 4;
}

.hero_Vis picture {
  display: block;
  width: 100%;
  height: 100%;
}

.hero_Vis img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero_Vis.lower_Page {
  background: url(../img/common/bg.jpg) no-repeat center;
  background-size: cover;
  aspect-ratio: 9 / 2;
}

.hero_Vis.lower_Page h2 {
  display: block;
  position: absolute;
  top: 60%;
  left: 50%;
  width: 100%;
  font-size: min(4vw, 35px);
  font-weight: 500;
  text-align: center;
  transform: translate(-50%, -50%);
}

.hero_Vis.lower_Page h2 span {
  display: block;
  font-size: 18px;
}

/* lower */
.container {
  max-width: 1200px;
  width: 90%;
  margin: 0 auto;
  container-type: inline-size;
  container-name: my-container;
}

.container.flex {
  justify-content: flex-start;
  align-items: stretch;
  gap: 5%;
}

/* footer */
footer {
  padding-bottom: 10px;
  background-color: #f2f2f2;
}

#foot_Nav {
  padding: 40px 0;
}

#foot_Nav ul {
  justify-content: center;
  align-items: center;
  gap: 20px;

  font-size: 12px;
}

#foot_Nav li {
  display: flex;
  align-items: center;
  gap: 20px;
}

#foot_Nav li::after {
  display: flex;
  align-items: center;
  content: '';
  width: 1px;
  height: 20px;
  background-color: #999;
}

#foot_Nav li:last-child:after {
  content: none;
}

.copyright {
  font-size: 12px;
  text-align: center;
}

@media all and (max-width: 1020px) {

  /* header */
  header {
    background-color: #d1d7d7;
  }

  #head_Nav li:nth-child(1),
  #head_Nav li:nth-child(2) {
    display: none;
  }

  #head_Nav #mb_Menu {
    display: block;
  }

  #sp_Nav {
    display: block;
    height: 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }

  #sp_Nav.menu_active {
    height: 100svh;
    opacity: 1;
    visibility: visible;
    pointer-events: all;
  }

  #sp_Nav .sp_NavList {
    display: block;
    opacity: 0;
  }

  #sp_Nav.menu_active .sp_NavList {
    opacity: 1;
    transition: .6s;
  }

  #sp_Nav .sp_NavList {
    width: 100%;
    height: 100svh;
  }

  #sp_Nav .sp_NavList p {
    display: block;
    width: 100%;
    padding: 15px 0;
    color: #fff;
    background-color: #333;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
  }

  #sp_Nav .sp_NavList>li:last-child a {
    display: block;
    width: 100%;
    padding: 15px 0;
    border-top: 1px solid #999;
    border-bottom: 1px solid #999;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
  }

  #sp_Nav .sp_NavList .flex {
    flex-wrap: wrap;
  }

  #sp_Nav .sp_NavList .flex li {
    width: 50%;
    border-bottom: 1px solid #999
  }

  #sp_Nav .sp_NavList .flex li:nth-child(odd) {
    border-right: 1px solid #999;
  }

  #sp_Nav .sp_NavList .flex li:last-child {
    border-bottom: none;
  }

  #sp_Nav .sp_NavList a {
    display: block;
    padding: 15px 0;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    transition: .3s;
  }

  .nav_View {
    display: none;
  }

  /* hero */
  .hero_Vis {
    width: 100%;
    aspect-ratio: 3/2;
  }

  .hero_Vis.lower_Page {
    height: 250px;
    aspect-ratio: unset;
  }

  .hero_Vis.lower_Page h2 {
    top: 60%;
    font-size: min(6vw, 30px);
  }

  .hero_Vis.lower_Page h2 span {
    font-size: 15px;
  }

  /* lower */
  .container {
    width: 100%;
  }

  .container.flex {
    flex-direction: column;
    gap: 40px;
  }


  /* footer */
  footer {
    padding-bottom: 10px;
    background-color: #f2f2f2;
  }

  #foot_Nav {
    padding: 40px 0;
  }

  #foot_Nav ul {
    justify-content: center;
    align-items: center;
    gap: 20px;

    font-size: 12px;
  }

  #foot_Nav li {
    display: flex;
    align-items: center;
    gap: 20px;
  }

  #foot_Nav li::after {
    display: flex;
    align-items: center;
    content: '';
    width: 1px;
    height: 20px;
    background-color: #999;
  }

  #foot_Nav li:last-child:after {
    content: none;
  }

  .copyright {
    font-size: 12px;
    text-align: center;
  }
}