@charset "utf-8";

/*========================================
ヘッダー上下のスペース
========================================*/
.header__space{
  height: 96px;
}
@media (max-width: 900px) {
  .header__space{
    height: 64px;
  }
}

/*========================================
ヘッダー
========================================*/
.site-header{
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  margin: 0 auto;
  z-index: 1000;
  max-width: 1920px;
  width: 100%;
  background: #fff;
}

.site-header__inner{
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  max-width: 1920px;
  width: 100%;
  margin: 0 auto;
  padding: 0 0 0 0;
}
@media (max-width: 900px) {
  .site-header__inner{
    align-items: stretch;
    padding: 0;
  }
}

.site-logo{
  display: inline-block;
  max-width: 200px;
  max-height: 96px;
  width: 100%;
  background-color: #e70013;
  flex-shrink: 0;
}
@media (max-width: 900px) {
  .site-logo{
    max-width: 142px;
    min-width: 110px;
    max-height: 64px;
    height: 64px;
  }
}
@media (max-width: 600px) {
  .site-logo{
    max-width: 134px;
  }
}

.site-logo__title__img img{
  max-width: 100%;
  max-height: 100%;
  width: 100%;
  display: inline-block;
}

/*========================================
ヘッダー（右寄せエリア）
========================================*/
.site-header__right{
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 1;
  gap: 32px;
  padding-right: 2vw;
}
@media (max-width: 1279px) {
  .site-header__right{
    gap: 24px;
  }
}
@media (max-width: 900px) {
  .site-header__right{
    width: auto;
    flex: 1;
    justify-content: flex-end;
    padding-right: 16px;
    gap: 0;
  }
}

/*========================================
PCナビ
========================================*/
.site-header__nav{
  display: block;
}
@media (max-width: 900px) {
  .site-header__nav{
    display: none;
  }
}

.site-header__nav__list{
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 40px;
  margin: 0;
  padding: 0;
  list-style: none;
}
@media (max-width: 1279px) {
  .site-header__nav__list{
    gap: 28px;
  }
}

.site-header__nav__link{
  display: inline-block;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: #1a1a1a;
  text-decoration: none;
  padding: 4px 0;
}
@media (max-width: 1279px) {
  .site-header__nav__link{
    font-size: 15px;
    letter-spacing: 0.14em;
  }
}

/*========================================
電話CTA（PC）
========================================*/
.site-header__cta_tel{
  flex-shrink: 0;
}
@media (max-width: 900px) {
  .site-header__cta_tel{
    display: none;
  }
}

.site-header__cta_tel__link{
  background-color: #252525;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 10px 24px;
  text-decoration: none;
}
@media (max-width: 1279px) {
  .site-header__cta_tel__link{
    flex-direction: column;
    padding: 8px 20px;
  }
}

.site-header__cta_tel__link__box{
  display: flex;
  align-items: center;
  justify-content: flex-start;
  position: relative;
  z-index: 1;
}

.site-header__cta_tel__link__box__icon__img{
  max-width: 18px;
  width: 100%;
  display: inline-block;
  margin-right: 8px;
  vertical-align: middle;
}

.site-header__cta_tel__link__box__num{
  font-size: 24px;
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1;
  margin: 0;
}
@media (max-width: 1279px) {
  .site-header__cta_tel__link__box__num{
    font-size: 20px;
    margin-bottom: 6px;
  }
}

.site-header__cta_tel__link__text{
  position: relative;
  z-index: 1;
  background-color: #fff;
  color: #252525;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  margin-left: 16px;
  white-space: nowrap;
}
@media (max-width: 1279px) {
  .site-header__cta_tel__link__text{
    padding: 6px 12px;
    margin-left: 0;
    font-size: 12px;
  }
}

/*========================================
ハンバーガーボタン（SP）
========================================*/
.site-header__menu-btn{
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 7px;
  width: 48px;
  height: 48px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  flex-shrink: 0;
}
@media (max-width: 900px) {
  .site-header__menu-btn{
    display: flex;
  }
}

.site-header__menu-btn__bar{
  display: block;
  width: 28px;
  height: 2px;
  background: #1a1a1a;
  transform-origin: center;
  transition: transform 0.15s cubic-bezier(0.4, 0, 1, 1), background 0.15s ease, width 0.15s cubic-bezier(0.4, 0, 1, 1);
}
.site-header__menu-btn__bar:nth-child(1){
  width: 22px;
  align-self: flex-end;
}
.site-header__menu-btn__bar:nth-child(3){
  width: 22px;
  align-self: flex-start;
}
.site-header__menu-btn:hover .site-header__menu-btn__bar{
  background: #E70012;
}
.site-header__menu-btn:hover .site-header__menu-btn__bar:nth-child(1){
  width: 28px;
  transform: translateX(5px);
}
.site-header__menu-btn:hover .site-header__menu-btn__bar:nth-child(2){
  transform: scaleX(1.08);
}
.site-header__menu-btn:hover .site-header__menu-btn__bar:nth-child(3){
  width: 28px;
  transform: translateX(-5px);
}

body.is-drawer-open .site-header__menu-btn{
  opacity: 0;
  pointer-events: none;
}

/*========================================
ドロワーメニュー（SP）
========================================*/
.site-drawer{
  position: fixed;
  inset: 0;
  z-index: 1100;
  pointer-events: none;
  visibility: hidden;
}
.site-drawer.is-open{
  pointer-events: auto;
  visibility: visible;
}

.site-drawer__overlay{
  position: absolute;
  inset: 0;
  z-index: 1;
  border: none;
  background: rgba(0, 0, 0, 0.35);
  opacity: 0;
  transition: opacity 0.4s ease;
  cursor: pointer;
}
.site-drawer.is-open .site-drawer__overlay{
  opacity: 1;
}

.site-drawer__panel{
  position: absolute;
  top: 0;
  right: 0;
  z-index: 2;
  width: 100%;
  max-width: 100%;
  height: 100%;
  background: #5a5a5a;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  overflow-y: auto;
}
.site-drawer.is-open .site-drawer__panel{
  transform: translateX(0);
}

.site-drawer__head{
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  min-height: 64px;
  background: #5a5a5a;
  flex-shrink: 0;
}

.site-drawer__logo{
  display: flex;
  align-items: center;
  justify-content: center;
  background: #e70013;
  padding: 0 20px;
  max-width: 142px;
  width: 100%;
}
.site-drawer__logo__img{
  display: block;
  width: 100%;
}
.site-drawer__logo__img img{
  display: block;
  width: 100%;
  height: auto;
}

.site-drawer__close{
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  flex-shrink: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 0;
}

.site-drawer__close__icon{
  position: relative;
  display: block;
  width: 32px;
  height: 32px;
}
.site-drawer__close__icon::before,
.site-drawer__close__icon::after{
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 32px;
  height: 2px;
  background: #fff;
}
.site-drawer__close__icon::before{
  transform: translate(-50%, -50%) rotate(45deg);
}
.site-drawer__close__icon::after{
  transform: translate(-50%, -50%) rotate(-45deg);
}

.site-drawer__nav{
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 0;
}

.site-drawer__nav__list{
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
  max-width: 320px;
}

.site-drawer__nav__item{
  border-top: 1px solid rgba(255, 255, 255, 0.55);
}
.site-drawer__nav__item:last-child{
  border-bottom: 1px solid rgba(255, 255, 255, 0.55);
}

.site-drawer__nav__link{
  display: block;
  padding: 28px 24px;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-align: center;
  text-decoration: none;
}
@media (max-width: 600px) {
  .site-drawer__nav__link{
    font-size: 18px;
    padding: 24px 20px;
  }
}

.site-drawer__cta__link{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-decoration: none;
}

.site-drawer__cta{
  margin-top: auto;
  background: #E70012;
  padding: 32px 24px 40px;
  flex-shrink: 0;
}
@media (max-width: 600px) {
  .site-drawer__cta{
    padding: 28px 20px 36px;
  }
}

.site-drawer__cta__tel{
  display: flex;
  align-items: center;
  gap: 10px;
}

.site-drawer__cta__tel__icon{
  width: 22px;
  height: auto;
  filter: brightness(0) invert(1);
}

.site-drawer__cta__tel__num{
  font-size: 36px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.06em;
  line-height: 1;
}
@media (max-width: 600px) {
  .site-drawer__cta__tel__num{
    font-size: 32px;
  }
}

.site-drawer__cta__label{
  display: block;
  width: 100%;
  max-width: 280px;
  background: #ffffff;
  color: #1a1a1a;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-align: center;
  padding: 12px 20px;
  border-radius: 999px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

/* グローバルaタグの色上書きを防ぐ */
.site-drawer a.site-drawer__nav__link,
.site-drawer a.site-drawer__cta__link{
  color: #ffffff;
}
.site-drawer a.site-drawer__cta__label{
  color: #1a1a1a;
}

/* ドロワー内はモーションの薄暗さ・オーバーレイ演出を無効化 */
.site-drawer .km-tel-rush--on-red{
  border-left-color: transparent;
  box-shadow: none;
}
.site-drawer .km-tel-rush--on-red::before,
.site-drawer .km-tel-rush--on-red::after{
  display: none;
}
.site-drawer .km-tel-rush--on-red:hover,
.site-drawer .km-tel-rush--on-red:focus-visible{
  background-color: transparent;
  border-left-color: transparent;
  box-shadow: none;
}
.site-drawer .km-tel-rush__icon,
.site-drawer .km-tel-rush__num{
  opacity: 1;
}
.site-drawer .km-tel-rush--on-red:hover .km-tel-rush__label,
.site-drawer .km-tel-rush--on-red:focus-visible .km-tel-rush__label{
  background-color: #ffffff;
  color: #1a1a1a;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

body.is-drawer-open{
  overflow: hidden;
}
