/*----------------------------
header.php
------------------------------*/
.l-header {
  position: fixed;
  position: sticky;
  top: 0;
  width: 100%;
  max-width: 100%;
  z-index: 1001;
  background: #fff;
}
.l-header__inner {
  padding: 0 3.125rem;
}
@media screen and (max-width: 1600px) {
  .l-header__inner {
    padding: 0 1.25rem;
  }
}
@media screen and (max-width: 767px) {
  .l-header__inner {
    padding: 0 0.625rem;
  }
}
.l-header__wrap {
  height: 6.375rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
@media screen and (max-width: 1100px) {
  .l-header__wrap {
    height: 3.125rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-right: 2.5rem;
  }
}
.l-header__logo-wrap {
  position: relative;
  z-index: 1001;
  max-width: 17.375rem;
  min-width: 13.375rem;

}
@media screen and (max-width: 767px) {
  .l-header__logo-wrap {
    max-width: 11.25rem;
  }
}
.l-header__logo-wrap a h1 {
  display: flex;
  align-items: center;
}
@media screen and (max-width: 767px) {
  .l-header__logo-wrap a h1 {
    max-width: 11.25rem;
  }
}
.l-header__logo-wrap.body-kasou {
  display: block;
  flex: 0 0 13.8125rem;
}
@media screen and (max-width: 767px) {
  .l-header__logo-wrap.body-kasou {
    flex: 0 0 11.4375rem;
  }
}
.l-header__nav-logo {
  display: none;
}
.l-header__nav-wrap {
  flex: 1 1;
  display: flex;
  justify-content: flex-end;
}
@media screen and (max-width: 1100px) {
  .l-header__nav-wrap {
    display: block;
    background: #FFF;
    color: #333;
    width: 100%;
    padding-top: 0.625rem;
    padding-bottom: 6.25rem;
    transform: translate(200%);
    overflow-y: auto;
    height: 100%;
    transition: all 0.2s;
    position: fixed;
    top: calc(3.125rem - 2px);
    top: 0;
    right: 0;
    z-index: 999;
  }
  .l-header__nav-wrap.open {
    transform: translate(0);
    height: 100%;
    padding: 4.0625rem 2.5rem 1.875rem;
  }
  .l-header__nav-wrap.open .l-header__nav-item {
    width: 100%;
    display: block;
    border-bottom: 1px solid #D1D2D2;
    position: relative;
  }
  .l-header__nav-wrap.open .l-header__nav-item::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 0.625rem;
    transform: translateY(-50%);
    width: 1.25rem;
    height: 1.25rem;
    background: url(../img/header/header-arrow.svg) no-repeat center/contain;
  }
  .l-header__nav-wrap.open .l-header__nav-item a {
    display: block;
    width: 100%;
  }
  .l-header__nav-wrap.open .l-header__nav-item:has(.l-header__dropdown)::after {
    display: none;
  }
  .l-header__nav-wrap.open .l-header__nav-toggle {
    position: relative;
  }
  .l-header__nav-wrap.open .l-header__nav-toggle::before, .l-header__nav-wrap.open .l-header__nav-toggle::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 1.25rem;
    background: #248BE9;
    transform-origin: center;
    transition: transform 0.3s ease;
  }
  .l-header__nav-wrap.open .l-header__nav-toggle::before {
    width: 0.125rem;
    height: 0.75rem;
    transform: translateY(-50%);
  }
  .l-header__nav-wrap.open .l-header__nav-toggle::after {
    width: 0.75rem;
    height: 0.125rem;
    right: 0.9375rem;
    transform: translateY(-50%);
  }
  .l-header__nav-wrap.open .l-header__nav-toggle.is-open::before {
    transform: translateY(-50%) rotate(-90deg);
  }
  .l-header__nav-wrap.open .l-header__nav-toggle.is-open::after {
    transform: translateY(-50%) rotate(0deg);
  }
  .l-header__nav-wrap.open .l-header__nav-toggle.is-open {
    padding-bottom: 0.9375rem;
    border-bottom: 1px solid #D1D2D2;
  }
}
.l-header__nav-wrap .l-header__nav-logo {
  display: block;
  max-width: 11.625rem;
  padding-top: 1.0625rem;
}
.l-header__nav-lists {
  display: flex;
  align-items: center;
}
@media screen and (max-width: 1100px) {
  .l-header__nav-lists {
    margin-top: 1.25rem;
    display: block;
    display: grid;
    grid-template-columns: 1fr;
    align-items: flex-start;
  }
}
@media screen and (max-width: 1100px) {
  .l-header__nav-lists.only-pc {
    display: none;
  }
}
.l-header__nav-lists.only-sp {
  display: none;
}
@media screen and (max-width: 1100px) {
  .l-header__nav-lists.only-sp {
    display: block;
    width: 80vw;
  }
}
.l-header__nav-item {
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0;
  padding: 0 0.9375rem;
  white-space: nowrap;
  position: relative;
  cursor: pointer;
}
@media screen and (max-width: 1179px) {
  .l-header__nav-item {
    font-size: 0.875rem;
  }
}
@media screen and (max-width: 767px) {
  .l-header__nav-item {
    font-size: 1rem;
  }
}
.l-header__nav-item::before {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 80%;
  border-bottom: solid 2px #248BE9;
  transition: all 0.6s 0.1s ease;
  content: "";
}
@media screen and (max-width: 1100px) {
  .l-header__nav-item::before {
    display: none;
  }
}
.l-header__nav-item:hover::before {
  transform: translateX(-50%) scaleX(1);
}
@media screen and (max-width: 1500px) {
  .l-header__nav-item {
    padding: 0 0.4375rem;
    font-size: 0.75rem;
  }
}
@media screen and (max-width: 1100px) {
  .l-header__nav-item {
    display: none;
    width: calc(100% - 3rem);
    font-weight: bold;
    letter-spacing: 0.1em;
    line-height: 2em;
    padding: 0.9375rem 0;
    font-size: 1rem;
  }
}
.l-header__nav-item a:hover{
  text-decoration: none;
}
.l-header__nav-item .l-header__dropdown {
  position: absolute;
  top: 3.75rem;
  left: 50%;
  transform: translateX(-20%);
  width: -moz-fit-content;
  width: fit-content;
  background: #fff;
  padding: 1.25rem 2.5rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
  z-index: 10;
  display: flex;
  gap: 2.75rem;
}
@media screen and (max-width: 1100px) {
  .l-header__nav-item .l-header__dropdown {
    display: none;
    position: unset;
    flex-direction: column;
    box-shadow: none;
    padding: 1.25rem 0;
    transform: translateX(0);
  }
}
.l-header__nav-item .l-header__dropdown.is-open {
  width: 100%;
  display: block;
  opacity: 1;
  visibility: visible;
  padding: 0.8125rem 0 0;
}
.l-header__nav-item .l-header__dropdown a {
  border-bottom: none;
}
.l-header__nav-item:hover .l-header__dropdown {
  opacity: 1;
  visibility: visible;
}
.l-header__drawer {
  display: none;
}
@media screen and (max-width: 1100px) {
  .l-header__drawer {
    display: contents;
  }
}
@media screen and (max-width: 1179px) {
  .l-header__drawer-btn--access {
    position: absolute;
    z-index: 1001;
    top: 0.9375rem;
    right: 4.8125rem;
  }
  .l-header__drawer-btn--access .l-header__btn {
    width: 2.5rem;
    border: none;
  }
  .l-header__drawer-btn--access .l-header__btn-txt {
    font-size: 0.625rem;
    padding-top: 1.875rem;
    padding-left: 0;
  }
  .l-header__drawer-btn--access .l-header__btn-txt::before {
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 1rem;
    height: 1.375rem;
  }
}
.l-header__drawer-bar {
  background-color: #333;
  width: 23px;
  height: 2px;
  display: block;
  transition: all 0.2s;
  transform-origin: 0 0;
  transform: translate(-50%, -50%);
  position: absolute;
  left: 50%;
}
.l-header__drawer-bar.bar--1 {
  top: 30%;
}
.l-header__drawer-bar.bar--2 {
  top: 50%;
}
.l-header__drawer-bar.bar--3 {
  top: 70%;
}
.l-header__drawer-menu-txt {
  bottom: -1.125rem;
  font-size: 10px;
  font-weight: bold;
  width: 100%;
  position: absolute;
  left: 0;
  text-align: center;
}
.l-header__drawer-menu-txt.u-disable--hidetxt {
  display: none;
}
.l-header__drawer-btn {
  border-radius: 50%;
  width: 40px;
  height: 40px;
  top: 5px;
  right: 5px;
  z-index: 1001;
  position: fixed;
  padding: 0;
  color: #fff;
  letter-spacing: 0.1em;
  cursor: pointer;
  outline: none;
  /*----------------------------
  ■ボタンアクティブ時の制御
  ------------------------------*/
}
.l-header__drawer-btn.active {
  /*----------------------------
  ■メニュタップ時アニメーション　×に変更
  ------------------------------*/
}
.l-header__drawer-btn.active .l-header__drawer-bar {
  width: 15px;
  left: 8px;
  background: #333;
}
.l-header__drawer-btn.active .u-active--hidetxt {
  display: none;
}
.l-header__drawer-btn.active .u-disable--hidetxt {
  display: block;
  letter-spacing: 0.08em;
}
.l-header__drawer-btn.active .bar--1 {
  transform: rotate(0.7853981634rad) translate(-50%, -50%);
  top: 50%;
  left: 50%;
}
.l-header__drawer-btn.active .bar--2 {
  opacity: 0;
}
.l-header__drawer-btn.active .bar--3 {
  transform: rotate(-0.7853981634rad) translate(-50%, -50%);
  top: 50%;
  left: 50%;
}
.l-header__drawer-bg {
  width: 100%;
  height: 100%;
  position: fixed;
  z-index: 999;
  background: rgba(51, 51, 51, 0.5);
  display: none;
  top: 3.125rem;
  left: 0;
}
.l-header__btn-items {
  display: none;
}
@media screen and (max-width: 1100px) {
  .l-header__btn-items {
    display: flex;
    gap: 0.625rem;
  }
}
.l-header__btn-item {
  background: #02B0ED;
  border-radius: 50%;
  width: 1.875rem;
  height: 1.875rem;
  position: relative;
}
.l-header__btn-item::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 1rem;
  height: 0.75rem;
  background: url(../img/header/mail.svg) no-repeat center/contain;
}
.l-header__btn-item--orange {
  background: #EB9C3F;
}
.l-header__btn-item--orange::before {
  width: 1.125rem;
  height: 1.125rem;
  background: url(../img/header/tel.svg) no-repeat center/contain;
}
.l-header__btn-item--green {
  background: #52CE4C;
}
.l-header__btn-item--green::before {
  width: 1.125rem;
  height: 1.125rem;
  background: url(../img/header/line.svg) no-repeat center/contain;
}

.l-header__btn-wrap {
  margin-left: 1vw;
}
@media screen and (max-width: 1179px) {
  .l-header__btn-wrap {
    margin-left: 1vw;
  }
}
@media screen and (max-width: 1100px) {
  .l-header__btn-wrap {
    margin-top: 1.875rem;
  }
}
.l-header__btn {
  border-radius: 0.625rem;
  color: #fff;
  display: grid;
  place-items: center;
}
@media screen and (max-width: 767px) {
  .l-header__btn {
    border: none;
  }
}
.l-header__btn.c-btn--contact {
  padding: 0.9375rem 1rem 0.9375rem 0.9375rem;
}
@media screen and (max-width: 1600px) {
  .l-header__btn.c-btn--contact {
    font-size: 0.75rem;
    padding: 0.9375rem 0.4375rem 0.9375rem 0.4375rem;
  }
  .l-header__btn.c-btn--contact span {
    padding: 0 0.9375rem 0 1.375rem;
  }
}
@media screen and (max-width: 767px) {
  .l-header__btn.c-btn--contact {
    font-size: 0.875rem;
  }
}
.l-header__btn--orange {
  background: #EB9C3F;
}
.l-header__btn-txt {
  font-size: 0.875rem;
  font-weight: bold;
  line-height: 1;
  letter-spacing: 0;
  position: relative;
}
@media screen and (max-width: 767px) {
  .l-header__btn-txt {
    font-size: 0.625rem;
  }
}
.l-header .l-header__drawer.left .l-header__nav-wrap {
  transform: translate(-100%);
  right: auto;
  left: 0;
}
.l-header .l-header__drawer.left .l-header__nav-wrap.open {
  transform: translate(0);
}
.l-header .l-header__drawer.left .l-header__drawer-btn {
  right: auto;
  left: 32px;
}
.l-header__link {
  display: none;
}
@media screen and (max-width: 1100px) {
  .l-header__link {
    margin-top: 3.4375rem;
    font-size: 1rem;
    font-family: "Shippori Mincho", serif;
    line-height: 1.125;
    font-weight: 400;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5625rem;
    z-index: 100;
  }
}


.c-btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  background: #02B0ED;
  color: #fff;
  border-radius: 32px;
  text-align: center;
  text-decoration: none;
  transition: 0.25s;
  position: relative;
  padding: 0.4375rem;
  max-width: 15.3125rem;
}  

.c-btn--contact {
  background: #02B0ED;
  color: #fff;
  border-radius: 5px;
  padding: 0.9375rem 3.0625rem 0.9375rem 4.25rem;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1;
  position: relative;
  white-space: nowrap;
}
@media screen and (max-width: 1179px) {
  .c-btn--contact {
    font-size: 0.875rem;
    padding: 0.9375rem 1.875rem 0.9375rem 3.125rem;
  }
}
.c-btn--contact::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0.9375rem;
  transform: translateY(-50%);
  width: 0.25rem;
  height: 0.5rem;
  background: url(../img/header/btn-arrow.svg) no-repeat center/contain;
}
.c-btn--contact span {
  position: relative;
  padding: 0 1.625rem;
}
.c-btn--contact span::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  width: 1.125rem;
  height: 0.8125rem;
  background: url(../img/header/mail.svg) no-repeat center/contain;
}

.c-btn--contact--orange {
  background: #EB9C3F;
}
.c-btn--contact--orange span::before {
  width: 1.125rem;
  height: 1.125rem;
  background: url(../img/header/tel.svg) no-repeat center/contain;
}
.c-btn--contact--green {
  background: #52CE4C;
}
.c-btn--contact--green span::before {
  width: 1.125rem;
  height: 1.125rem;
  background: url(../img/header/line.svg) no-repeat center/contain;
}
