/*　header 上*/
#header {
  position: relative;
  z-index: 3;
  padding: 0 10px 0 20px;
  height: 112px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

#header h1 {
  font-size: 0.75rem;
  height: 100px;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
}

#header h1 p {
  font-size: 0.7rem;
  letter-spacing: -0.5px;
}

#header h1 a {
  display: block;
  position: relative;
}

#header h1 a img {
  display: block;
  width: 280px;
  aspect-ratio: 948 / 199;
}

/* header info box */
.header-info-box {
  display: flex;
  gap: 10px;
}

.inquiry-box {
  display: flex;
  gap: 10px;
}

.inquiry-box a {
  border-radius: 10px;
  padding: 5px 10px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #fff;
}

.inquiry-box a i {
  margin-right: 2px;
}

.inquiry-guide-text {
  border-bottom: 1px solid #fff;
}

.inquiry-guide-text p {
  font-size: 0.75rem;
}

.inquiry-type {
  display: flex;
  flex-direction: row;
  width: 100%;
  justify-content: center;
  align-items: flex-end;
  gap: 5px;
}

.inquiry-icon {
  display: block;
  width: 60px;
  aspect-ratio: 16/13;
}

.inquiry-type-name {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0;
  line-height: 1.2rem;
  font-weight: 600;
}

.inquiry-type-name p {
  font-size: 1.3rem;
  line-height: 1.8rem;
}

.inquiry-type-name span {
  font-size: 0.9em;
  line-height: 0.9rem;
}

.inquiry-painting {
  background: #5cbc00;
}

.inquiry-painting .inquiry-icon {
  background: url("../img/icon/painting.png") center no-repeat;
  background-size: cover;
}

.inquiry-renovation {
  background: #f97a12;
}

.inquiry-renovation .inquiry-icon {
  background: url("../img/icon/renovation.png") center no-repeat;
  background-size: cover;
}

/* header info box ///*/

/* header tel info */

.tel-box {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1px;
}

.tel-box p span {
  color: #000;
  letter-spacing: -0.02rem;
  font-size: 0.75rem;
}

.tel-box-ps {
  line-height: 0.85rem;
}

.tel-text {
  font-family: "Roboto", sans-serif;
  color: #0a1b91;
  font-size: 1.8rem;
  font-weight: 600;
  line-height: 1;
  margin-top: 5px;
}

.eigyou-tel {
  font-size: 90%;
  line-height: 1;
  margin-bottom: 5px;
  margin: 0px auto 5px;
}

.tel-text a {
  letter-spacing: 0.05rem;
}

.tel-text i {
  margin-right: 3px;
}

.tel-time {
  border-radius: 20px;
  color: #fff;
  display: flex;
  flex-direction: row;
  padding: 2px 10px 3px 5px;
  background: #0a1b91;
  gap: 5px;
}

.tel-time p {
  font-size: 0.75rem;
}
/* header tel info ///*/

/*　header 上///*/

/*　header menu bar */

.header-menu {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  margin: auto;
  background: #fff;
  z-index: 5;
}

.header-menu nav {
  width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #009edd;
  padding: 10px 0;
  color: #fff;
}

.header-menu nav ul {
  width: 100%;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(10, 1fr);
}

.header-menu nav ul li {
  height: 100%;
}

.header-menu nav ul a {
  padding: 10px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-size: 0.95rem;
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, 0.7);
}

.header-menu nav ul li:last-child a {
  border-right: none;
}

.header-menu nav ul a p {
  line-height: 1.5;
}

.header-menu nav ul a span {
  display: inline-block;
}

@media (max-width: 1560px) {
  .header-menu nav ul a {
    padding: 0 10px;
  }
  .header-menu nav ul a p {
    line-height: 1.5;
    font-size: 1rem;
    letter-spacing: 0;
  }
}

@media (max-width: 1200px) {
  #header {
    height: 95px;
  }

  header h1 {
    height: 80px;
  }

  #header h1 p {
    font-size: 0.65rem;
  }

  #header h1 a img {
    width: 250px;
  }

  .tel-text {
    margin-top: 2px;
    font-size: 1.7rem;
  }

  .tel-box {
    gap: 0;
  }

  .tel-text a {
    letter-spacing: 0.01rem;
  }

  .tel-box p span {
    letter-spacing: -0.03rem;
    font-size: 0.65rem;
  }

  .header-menu nav ul a {
    padding: 0 5px;
  }

  .header-menu nav ul a p {
    font-size: 0.75rem;
    letter-spacing: -0.01rem;
  }

  .tel-time p {
    font-size: 0.6rem;
  }

  .inquiry-guide-text p {
    font-size: 0.65rem;
  }

  .inquiry-type-name p {
    font-size: 1.15rem;
    line-height: 1.3;
  }

  .inquiry-icon {
    width: 40px;
  }

  .inquiry-box {
    gap: 10px;
  }
}

@media (min-width: 1025px) {
  .sp-navi {
    display: none;
  }
}

@media (min-width: 1025px) {
  .sp-1024 {
    display: none;
  }
}

@media (max-width: 1024px) {
  .sp-1024 {
    display: flex;
    justify-content: center;
    align-items: center;
    background: #009edd;
    color: #fff;
    text-align: center;
    position: absolute;
    top: 0;
    width: calc(100% + 20px);
    height: 20px;
    left: -20px;
  }

  .sp-1024 p {
    font-size: 0.75rem;
  }

  .header-menu {
    display: none;
  }

  /*ハンバーガーメニュー*/

  #header {
    width: 100%;
    position: fixed;
    background: #fff;
    border-bottom: 3px solid #009edd;
    height: 100px;
    padding-top: 20px;
  }

  #header h1 {
    transition: all 1s;
    height: fit-content;
    z-index: 10;
  }

  #header h1 a {
    position: relative;
    padding-left: 45px;
  }

  #header h1 a::before {
    position: absolute;
    content: "";
    display: block;
    width: 36px;
    aspect-ratio: 345 / 455;
    background: url(../img/shachou/shachou-or.png) no-repeat;
    background-size: cover;
    left: 0;
    top: 0;
  }

  #header h1 a img {
    width: 240px;
  }

  #header h1 p {
    display: none;
  }

  .header-info-box .inquiry-box {
    display: none;
  }

  #header .tel-box {
    position: absolute;
    right: 80px;
    top: 23px;
  }

  #header .tel-text {
    line-height: 1.1;
  }

  #header .tel-time {
    padding: 1px 10px 2px 5px;
    justify-content: center;
    text-align: center;
  }

  .header-info-box .tel-time {
    display: none;
  }

  #menu-contact .inquiry-box p {
    text-align: center;
    margin-bottom: 0;
  }

  .open #mask {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(20, 50, 100, 0.9);
    opacity: 0.6;
    z-index: 100;
    cursor: pointer;
  }

  .sp-navi .inquiry-tel,
  .sp-navi .inquiry-painting,
  .sp-navi .inquiry-renovation {
    border: 2px solid #fff;
  }

  /*ハンバーガーメニュー*/

  .sp-navi-logo {
    position: absolute;
    top: 30px;
    left: 20px;
  }

  .sp-navi-logo span {
    width: 160px;
    display: block;
    background: url("../img/logo-small.png") center;
    background-size: cover;
    aspect-ratio: 5/1;
  }

  #sp-navi {
    display: block;
    position: fixed;
    top: 0;
    right: -100%;
    bottom: 0;
    width: 100%;
    padding: 60px 0 0;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    transition: all 0.5s;
    z-index: 200;
    opacity: 0;
    background: #fff;
    box-shadow: -1px 0 10px #2e5496;
  }

  .open #sp-navi {
    opacity: 1;
    right: -5px;
    height: calc(100vh);
    top: -5px;
    width: 330px;
  }

  #sp-navi .sp-nav-menu a {
    color: #0a1b91;
    display: flex;
    justify-content: center;
    flex-direction: column;
    width: 100%;
    align-items: flex-start;
    padding: 5px 10px;
    text-align: center;
    border-radius: 3px;
    margin-bottom: 10px;
    background: #f4f4f4;
    position: relative;
    border: 2px solid #0a1b91;
  }

  #sp-navi .sp-nav-menu a::before {
    font-family: "Font Awesome 6 Free";
    color: #0a1b91;
    display: inline-block;
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    content: "\f061";
    font-weight: 900;
  }

  .sp-nav-menu a p {
    font-weight: 800;
    letter-spacing: 0rem;
    font-size: 1rem;
  }

  .sp-nav-menu p {
    position: relative;
    padding-left: 0;
    display: inline;
  }

  .sp-nav-menu p::before {
    right: 10px;
    display: block;
    position: absolute;
    content: "";
    height: 15px;
    aspect-ratio: 1 / 1;
    background: url(../img/menu-icon.png) center no-repeat;
    background-size: cover;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
  }

  .sp-menu-soccer {
    display: block;
    background: url("../img/soccer.png") no-repeat center;
    background-size: cover;
    width: 40px;
    aspect-ratio: 1/1;
  }

  #sp-navi ul {
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
  }

  #sp-navi ul.nav-menu {
    margin-bottom: 60px;
    border-top: solid 1px #fff;
  }

  #sp-navi ul.nav-menu li {
    position: relative;
    margin: 0;
    padding: 20px 0;
    border-bottom: solid 1px #fff;
  }

  #sp-navi ul.nav-sns li {
    padding: 5px 0;
  }

  .toggle_btn {
    display: block;
    position: fixed;
    top: 36px;
    right: 18px;
    width: 45px;
    aspect-ratio: 1 / 1;
    transition: all 0.5s;
    cursor: pointer;
    z-index: 200;
    background: #009edd;
    margin-right: 1px;
    border-radius: 3px;
  }

  .toggle_btn span {
    display: block;
    position: absolute;
    left: 50%;
    width: 30px;
    height: 2px;
    background-color: #fff;
    border-radius: 4px;
    transition: all 0.3s;
    transform: translateX(-50%);
  }

  .toggle_btn span:nth-child(1) {
    top: 12px;
  }

  .toggle_btn span:nth-child(2) {
    top: 50%;
    transform: translate(-50%, -50%);
  }

  .toggle_btn span:nth-child(3) {
    bottom: 12px;
  }

  .open .toggle_btn span {
    background-color: #fff;
  }

  .open .toggle_btn span:nth-child(1) {
    -webkit-transform: translateY(10px) rotate(-315deg);
    height: 2px;
    width: 25px;
    left: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
    top: 50%;
  }

  .open .toggle_btn span:nth-child(2) {
    display: none;
  }

  .open .toggle_btn span:nth-child(3) {
    -webkit-transform: translateY(-10px) rotate(315deg);
    height: 2px;
    width: 25px;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-45deg);
    top: 50%;
  }

  .open .toggle_btn {
    background: #f7c400;
    border: 1px solid #fff;
  }

  .toggle_btn p {
    position: relative;
    bottom: -33px;
    left: 50%;
    color: #0a1b91;
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.05rem;
    transform: translateX(-50%);
    text-align: center;
  }

  .sp-navi-top {
    display: flex;
    margin: 10px;
    flex-direction: column;
  }

  .sp-nav-menu {
    width: 100%;
  }

  /* sp-contact	*/

  #menu-contact {
    color: #fff;
    background: #028fd3;
    padding: 30px 20px;
  }

  #menu-contact .ft-contact-title p {
    font-size: 1rem;
    line-height: 1rem;
    left: 0;
  }

  #menu-contact .ft-contact-title h3 {
    font-size: 1.6rem;
    line-height: 3rem;
    border-bottom: 1px dashed #fff;
  }

  #menu-contact .ft-contact-area {
    flex-direction: column;
  }

  #menu-contact .ft-contact-left {
    min-width: 100%;
  }

  #menu-contact .ft-contact-text {
    margin-top: 10px;
  }

  #menu-contact .ft-contact-text p span {
    font-size: 0.9rem;
    letter-spacing: 0;
    line-height: 1;
    display: inline;
  }

  #menu-contact .ft-contact-main {
    margin-left: 0;
  }

  #menu-contact #sp-navi a p {
    font-weight: 600;
    letter-spacing: 0;
    font-size: 0.9rem;
  }

  #menu-contact .ft-contact-main a {
    padding: 10px;
  }

  #menu-contact .ft-contact-main a p {
    font-size: 1.35rem !important;
    letter-spacing: 0.02rem;
    font-weight: 600;
  }

  #menu-contact .ft-contact-main a i {
    margin-right: 5px;
    width: 30px;
    font-size: 0.85rem;
    position: relative;
  }

  #menu-contact .ft-contact-main a i::before {
    position: absolute;
    top: 9px;
  }

  #menu-contact .ft-contact-main a::before {
    content: "\f0da";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    display: inline-block;
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
  }

  .sp-top_info {
    text-align: center;
    padding: 40px 10px 0;
  }

  .sp-top_info .sp-menu_logo {
    width: 120px;
    margin: auto;
  }

  .ft-contact-detail {
    font-size: 0.85rem;
    color: #2e5496;
  }

  #sp-navi .copyright {
    margin-top: 0;
    text-align: center;
    display: block;
    width: 100%;
    background: #009edd;
  }

  #sp-navi .copyright p {
    font-size: 0.75rem;
    color: #fff;
  }

  .inquiry-box {
    gap: 10px;
    flex-direction: column;
    margin-top: 10px;
  }

  .inquiry-icon {
    width: 80px;
  }

  .inquiry-type-name p {
    font-size: 1.25rem;
  }

  .inquiry-guide-text p {
    font-size: 0.8rem;
  }

  .inquiry-type {
    align-items: center;
  }

  .inquiry-tel {
    display: block;
    background: #0a1b91;
    color: #fff;
    border-radius: 10px;
    padding: 10px;
  }

  .inquiry-tel .tel-text {
    display: flex;
    flex-direction: row;
    gap: 0;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-size: 1.5rem;
  }

  .inquiry-tel a {
    padding: 0;
  }

  .inquiry-tel .tel-time {
    gap: 0;
    text-align: center;
  }

  .sp-menu-contact p {
    font-size: 0.85rem;
  }

  .sp-menu-img {
    margin: 10px auto 30px;
    width: 200px;
  }

  .sp-nav-menu-title p {
    font-size: 0.9rem;
    color: #0a1b91;
    letter-spacing: 0.01rem;
    font-weight: 600;
    border-bottom: 1px dashed #0a1b91;
    margin-bottom: 10px;
  }

  #sp-navi .sp-nav-menu a {
    color: #0a1b91;
    display: flex;
    justify-content: center;
    flex-direction: column;
    width: 100%;
    align-items: flex-start;
    padding: 5px 10px;
    text-align: center;
    border-radius: 0;
    /* margin-bottom: 10px; */
    background: #f4f4f4;
    position: relative;
    border: 1px solid #ddd;
  }

  /* sp-contact	//*/
}

@media (max-width: 768px) {
  .sp-1024 {
    height: 17px;
  }

  #header {
    height: 70px;
    padding: 0 0 0 20px;
    border: 1px solid #fff;
    box-shadow: 1px 1px 5px #fff;
  }

  #header .tel-box {
    display: none;
  }

  #header h1 a {
    position: relative;
    top: 7px;
    padding-left: 32px;
  }

  #header h1 a img {
    width: 150px;
  }

  #header h1 a::before {
    width: 25px;
  }

  .sp-1024 p {
    font-size: 0.6rem;
  }

  .toggle_btn {
    top: 22px;
    right: 10px;
    width: 40px;
  }
}
