@charset "UTF-8";

:root {
  --mincho: "Zen Old Mincho", serif;
  --mincho_weight: 300;
  --mincho_style: normal;
  --noto_sans: "Noto Sans JP", sans-serif;
  --noto_thin: 100;
  --noto_exlight: 200;
  --noto_light: 300;
  --noto_regular: 400;
  --noto_medium: 500;
  --noto_semibold: 600;
  --noto_bold: 700;
  --noto_exbold: 800;
  --noto_black: 900;
}

.content_wrapper {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

@media screen and (max-width: 1220px) {
  .content_wrapper {
    max-width: 95%;
  }
}

main {
  position: relative;
  margin-top: 145px;
  width: 100%;
  min-height: 900px;
}

@media screen and (max-width: 980px) {
  main {
    overflow-x: hidden;
  }
}

@media screen and (max-width: 720px) {
  main {
    margin-top: 90px;
  }
}



/* ======================================================
ヘッダー設定
====================================================== */

header {
  position: relative;
  width: 100%;
  background: #fff;
  position: fixed;
  z-index: 9999999;
  top: 0;
  transition: .5s;
}

.header_top {
  width: 100%;
  padding-top: 40px;
  display: flex;
  max-width: 1200px;
  justify-content: space-between;
  align-items: center;
  margin: 0 auto;
}

.header_top .header_logo {
  width: 290px;
  max-width: 290px;
}

.header_top .contact_btn {
  width: 430px;
  max-width: 430px;
}
.header_top .contact_btn a {
  display: inline-block;
  width: 212px;
  max-width: 212px;
}

.header_top div a {
  display: block;
  width: 100%;
}

.header_top .contact_btn img {
  display: block;
  width: 100%;
}

.header_bottom {
  width: 100%;
  background: #00acc2;
}

.header_bottom nav {
  display: block;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.nav_lists {
  display: flex;
  width: 100%;
  justify-content: space-between;
  margin-top: 10px;
}

.nav_lists li {
  width: 100%;
}

.nav_lists li a {
  position: relative;
  display: block;
  width: 100%;
  text-decoration: none;
  color: white;
  text-align: center;
  padding: 10px 0;
  background: #007494;
}
/* .nav_lists li a:hover {background: #129aab;} */
.nav_lists li a:hover {filter: contrast(2.5);}
.nav_lists li a.new::after {
  content: "NEW";
  /* position: absolute;
  top: 0;
  right: 0; */
  display: inline-block;
  margin-left: 1em;
  padding: 0 0.5em;
  text-align: center;
  color: #fff;
  font-size: 0.5em;
  font-weight: bold;
  background: #c00;
  animation: newmark 1s infinite;
}
@keyframes newmark {
  0% {background: #c00;}
  /* 45% {background: #c00;} */
  50% {background: #ff6060;}
  /* 55% {background: #c00;} */
  100% {background: #c00;}
}

.burger {
  display: none;
  cursor: pointer;
}

.burger div {
  width: 25px;
  height: 3px;
  background-color: #00acc2;
  margin: 5px;
  transition: 0.5s ease;
}

.sp_contact_btn {
  display: none;
}

.nav_lists .landscape{
  display: none;
}

.nav-active {
  transform: translateX(0%) !important;
}

@media screen and (max-width: 1220px) {
  .header_top {
    max-width: 95%;
  }
}
@media screen and (max-width: 840px) {
  .header_top .contact_btn {
    width: 360px;
    max-width: 380px;
    text-align: right;
  }
  .header_top .contact_btn a {
    display: inline-block;
    width: 170px;
    max-width: 180px;
  }

}

@media screen and (max-width: 720px) {
  header {
    height: 90px;
    border-bottom: 7px solid #00acc2;
  }

  .header_main {
    margin-left: 24px;
    margin: 3px 0 0;
  }

  .burger {
    display: block;
    float: right;
    text-align: center;
  }

  .burger span {
    font-weight: bold;
    color: #007494;
  }

  .burger div {
    width: 30px;
    height: 3px;
    margin: 8px;
    transition: 0.5s ease;
  }

  .header_bottom {
    position: relative;
  }

  .nav_lists {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    position: absolute;
    top: 8px;
    right: 0;
    background-color: #000;
    flex-direction: column;
    width: 45vw;
    height: 100vh;
    transform: translateX(150%);
    transition: 0.5s ease-in;
    gap: 2vh;
    margin-top: 0;
    padding: 1em 0;
  }

  .nav_lists li {
    display: block;
    width: 90%;
    text-align: center;
    border-radius: 5px;
    /* opacity: 0; */
  }

  .nav_lists li a {
    display: block;
    width: 100%;
    height: 100%;
    font-size: 16px;
  }

  .contact_btn {
    display: none;
  }

  .nav_lists .sp_contact_btn {
    display: inline-block;
    white-space: nowrap;
    font-size: 18px;
    border: 1px solid #004ea2;
    width: 100%;
  }

  .sp_contact_btn a {
    width: 100%;
    height: 100%;
  }

  .header_top {
    width: 90%;
    padding-top: 16px;
  }

  .header_logo {
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .header_logo img {
    width: 46vw;
  }

  .header_main h1 {
    font-size: 17px;
  }

  .header_middle {
    margin-top: 22px;
    height: 8px;
  }

  .header_bottom .nav_lists .sp_contact_btn {
    background: none;
    border: none;
  }

  .header_bottom .nav_lists .sp_contact_btn img {
    width: 80%;
  }
}

@media (orientation: landscape) and (max-width: 950px) {
  .header_top {
    padding-top: 15px;
    max-width: 90%;
  }

  .header_top div a img,
  .header_top .contact_btn img {
    width: 80%;
    margin: 0 auto;
  }

  .nav_lists li a {
    padding: 6px 0;
  }

  main {
    margin-top: 6em;
  }
}

@media (orientation: landscape) and (max-width: 670px) {
  header {
    height: 76px;
  }

  .header_top {
    padding-top: 9px;
  }

  .header_top .header_logo {
    max-width: 270px;
  }

  .burger div {
    margin: 8px;
  }

  .nav_lists{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    width: 100%;
    height: auto;
    font-size: 12px;
    align-items: flex-start;
    top: 8px;
    gap: 6px;
  }

  .nav_lists li{
    width: 100%;
  }

  .nav_lists li a{
    font-size: 12px;
    padding: 1em 0;
  }

  .nav_lists .sp_contact_btn{
    display: none;
  }

  .nav_lists .landscape{
    display: block;
  }
}

@keyframes navLinksFade {
  0% {
    opacity: 0;
    transform: translateY(50px);
  }

  100% {
    opacity: 1;
    transform: translateY(0px);
  }
}

.toggle .line1 {
  transform: rotate(-45deg) translate(-9px, 6px);
}

.toggle .line2 {
  opacity: 0;
}

.toggle .line3 {
  transform: rotate(405deg) translate(-10px, -6px);
}

.toggle span {
  display: none;
}

.burger .close {
  display: none;
}

.toggle .close {
  display: inline;
}

@media (hover: hover) {
  .nav-links a:hover {
    border-bottom: 4px solid var(--mnc);
  }
}

/* ---------------------------------------
フッター
--------------------------------------- */
footer {
  width: 100%;
}

/* コピーライト */
footer .copylight {
  margin: 0 auto;
  box-sizing: border-box;
}

footer .copylight .copylight_inner img {
  height: 35px;
}

footer .copylight .copylight_inner p {
  margin-top: 50px;
  width: 100%;
  padding: 1em 0;
  box-sizing: border-box;
  text-align: center;
  color: #333;
  font-size: 0.8rem;
  background: #e1e1e1;
}

.top_scroll {
  display: none;
}

.footer_arw {
  display: block;
  width: 40px;
  height: 40px;
  margin: 0;
  padding: 0;
  position: fixed;
  bottom: 40px;
  right: 40px;
  z-index: 9999;
}