@charset "utf-8";
header {
  background: #012a2d;
  width: 100vw;
  /* position: fixed; */
  z-index: 99;
}
header .inner-1440 {
  width: 92%;
}
header,
header a {
  color: #fff;
}
.h_flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 92%;
  margin: 0 auto;
  padding: 18px 0 14px;
  border-bottom: 1px solid #00302c;
}
.h_logo {
  width: 20.58vw;
  max-width: 238px;
  min-width: 138px;
}
.h_links {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: min(5vw, 52px);
  gap: 6px;
}

.h_links-telbk,
.sp_links-telbk {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}
.h_links-telbk p,
.sp_links-telbk p {
  /* 1040px→12px */
  font-size: min(1.15vw, 12px);
  line-height: 1;
}
.h_links-telbk a,
.sp_links-telbk a {
  /* 1040px→35px */
  font-size: min(3.37vw, 35px);
  line-height: 1;
}
.h_links-catalog,
.h_links-estimate {
  /* 1040px→16px */
  font-size: clamp(13px, 1.54vw, 16px);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 18.08vw;
  max-width: 188px;
  height: 100%;
  border-radius: 5px;
  transition: 0.2s;
}
.h_links-catalog,
.sp_links-catalog {
  background: #ed6c00;
}
.h_links-estimate,
.sp_links-estimate {
  background: #910000;
}
.h_links-catalog:hover,
.h_links-estimate:hover,
.sp_links-catalog:hover,
.sp_links-estimate:hover {
  opacity: 1;
  filter: brightness(1.1);
}
.sp_links {
  position: fixed;
  right: -100px; /* 初期は画面外に */
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  opacity: 0;
  transition: all 0.3s ease;
  pointer-events: none; /* 無効化（必要なら） */
}
.sp_links.show {
  right: 0;
  opacity: 1;
  pointer-events: auto;
}
.sp_links-catalog,
.sp_links-estimate {
  /* 1040px→16px */
  font-size: clamp(13px, 1.54vw, 16px);
  -ms-writing-mode: tb-rl;
  writing-mode: vertical-rl;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 188px;
  border-radius: 5px 0 0 5px;
  transition: 0.2s;
}
.sp_links-telbk {
  display: none;
}
header .gnaviWrap {
  background: #012a2d;
  transition: opacity 0.3s;
}
header .gnaviWrap.fixed {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* 任意で影など */
}
header .gnaviWrap.fadeout {
  opacity: 0;
  pointer-events: none; /* 任意：クリック操作を無効化 */
}
header .gnavi__list {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1352px;
  height: min(6.92vw, 72px);
  margin: 0 auto;
}
header .gnavi__item a {
  /* 1040px→16px */
  font-size: clamp(13px, 1.54vw, 16px);
  padding: 5px 0;
}

header .gnavi__item a span {
  position: relative;
}
header .gnavi__item a span:after {
  content: "";
  width: 0;
  height: 1px;
  background: #fff;
  position: absolute;
  bottom: -3px;
  left: 50%;
  transform: translate(-50%);
  opacity: 0;
  transition: 0.2s;
}
header .gnavi__item.np a span:after,
header .gnavi__item a:hover span:after {
  width: 100%;
  opacity: 1;
}

.openbtn {
  background: #bfc0c0;
  cursor: pointer;
  width: 40px;
  height: 40px;
  border-radius: 5px;
  position: fixed;
  top: 10px;
  right: 10px;
  display: none;
}

/*ボタン内側*/
.openbtn span {
  display: inline-block;
  transition: all 0.4s; /*アニメーションの設定*/
  position: absolute;
  left: 10px;
  height: 3px;
  border-radius: 2px;
  background: #012a2d;
}
.openbtn span:nth-of-type(1) {
  top: 11px;
  width: 45%;
}
.openbtn span:nth-of-type(2) {
  top: 19px;
  width: 35%;
}
.openbtn span:nth-of-type(3) {
  top: 27px;
  width: 20%;
}
.openbtn.active span:nth-of-type(1) {
  top: 13px;
  left: 14px;
  transform: translateY(6px) rotate(-135deg);
  width: 30%;
}

.openbtn.active span:nth-of-type(2) {
  opacity: 0;
}

.openbtn.active span:nth-of-type(3) {
  top: 25px;
  left: 14px;
  transform: translateY(-6px) rotate(135deg);
  width: 30%;
}
@media screen and (max-width: 1440px) {
}

@media screen and (max-width: 1360px) {
}

@media screen and (max-width: 1290px) {
}

@media screen and (max-width: 1280px) {
}

@media screen and (max-width: 1150px) {
}

@media screen and (max-width: 1060px) {
}

@media screen and (max-width: 980px) {
}

@media screen and (max-width: 1100px) {
}

@media screen and (max-width: 750px) {
  /* header {
    position: static;
  } */
  .h_links {
    display: none;
  }

  header .gnaviWrap {
    width: 100vw;
    height: 100vh;
    position: fixed;
    z-index: 9000;
    top: -120%;
    transition: all 0.6s;
    border: none;
    background: #00302c;
  }
  header .gnaviWrap.panelactive {
    top: 0;
  }
  header .gnavi {
    height: 80vh;
    position: absolute;
    bottom: 70px;
    left: 50%;
    transform: translate(-50%);
    overflow-y: scroll;
    overflow-x: clip;
  }
  header .gnavi__list {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding-top: 0;
    height: auto;
    margin: 0 0 50px;
  }
  header .gnavi__item a {
    font-size: 15px;
    width: 100%;
    justify-content: space-between;
  }
  header .gnavi .sp_links {
    position: static;
    opacity: 1;
  }
  header .gnavi .sp_links-telbk {
    display: block;
  }
  header .gnavi .sp_links-telbk p {
    font-size: 12px;
  }
  header .gnavi .sp_links-telbk a {
    /* 375→35px */
    font-size: min(9.33vw, 35px);
  }
  header .gnavi .sp_links {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 5vw 4%;
    max-width: 300px;
    height: auto;
    margin: 0 auto;
  }
  header .gnavi .sp_links-catalog,
  header .gnavi .sp_links-estimate {
    -ms-writing-mode: initial;
    writing-mode: initial;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48%;
    max-width: 144px;
    height: 40px;
    border-radius: 5px;
    pointer-events: all;
  }

  .openbtn {
    display: block !important;
    z-index: 9999;
  }
}

@media screen and (max-width: 480px) {
}

@media screen and (min-width: 750px) {
}
