@charset "utf-8";
/* CSS Document */
.header_d .leftbox .logo img {
    width: auto;
}
/* ===== header ===== */
.header3 .more a { border: 1px solid #fff; }
.header3 .sun-top-btn__label { color: #fff; }

.sun-top-btn__label,
.sunhead .rightbox .ul .li a p.jp,
.sunhead .rightbox .ul .li a p.en { color: #333; }

.header_d{
  position: fixed;
  background-color: #841125;
}
.header3{ background-color: #000; }

.header_d .leftbox{
  height: 100%;
  max-height: 70px;
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
}
.header_d .leftbox .logo{ height: 100%; }
.header_d .leftbox .logo a{
  width: auto;
  height: 60%;
  top: auto;
}
.header_d .leftbox .logo img{
  width: auto;
  height: 100%;
}

.header_d .rightbox{ top: auto !important; }
.header_d .rightbox .ul{
  height: 100%;
  overflow: visible;
  gap: clamp(10px, 5vw, 20px);
}

.header_d .menu-bt .line div{
  height: 2px;
  background-color: #fff;
  position: absolute;
  left: 0;
  transition: ease 0.3s;
}
.header_d .menu-bt .line div:nth-of-type(1){
  width: 100%;
  top: 0;
}
.header_d .menu-bt .line div:nth-of-type(2){
  width: 100%;
  top: 50%;
  transform: translateY(-50%);
}
.header_d .menu-bt .line div:nth-of-type(3){
  width: 100%;
  bottom: 0;
}
.header_d .menu-bt.active .line div:nth-of-type(1){
  width: 100%;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
}
.header_d .menu-bt.active .line div:nth-of-type(2){
  width: 100%;
  top: 50%;
  transform: translateY(-50%) translateX(50%);
  opacity: 0;
}
.header_d .menu-bt.active .line div:nth-of-type(3){
  width: 100%;
  bottom: 50%;
  transform: translateY(50%) rotate(-45deg);
}

.header_d.on::after{
  opacity: 1;
  background-color: rgba(36, 38, 35, 0.9);
}

.header_d .more a,
.header_d .more > div{
  background-color: #000;
  color: #fff;
  padding: 14px 30px;
}

.header_d .more .morebox{ gap: 20px; }

.sunhead{ background: #F2E68F; }

.sun-top-btn{
  display: inline-flex;
  align-items: center;
  gap: 0px;
  height: 44px;
  padding: 0px;
  border-radius: 999px;
  text-decoration: none;
  color: #fff;
}
.sun-top-btn__icon{
  width: 48px;
  height: 48px;
  transition: transform .25s ease;
}
.sun-top-btn__label{
  letter-spacing: .12em;
  font-size: 16px;
  line-height: 1;
  margin: 0;
  white-space: nowrap;
}
.sun-top-btn:hover .sun-top-btn__icon{ transform: translateX(3px); }

/* ===== menu (scoped) ===== */
.menu-wrap{
  display: none; /* トグルで display:block; に */
  position: fixed;
  inset: 0;
  z-index: 998;
  background: rgba(255, 255, 255, .95);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.menu-wrap.burgermenu_d .ul .menu_box a p.en{
  font-size: clamp(18px, 2.6vw, 24px);
  font-weight: 700;
}

.menu-wrap .menu-panel{
  max-width: 1280px;
  margin: 0 auto;
  padding: clamp(24px, 3vw, 48px);
  padding-top: 150px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: clamp(36px, 4vw, 56px);
}

/* 3 columns */
.menu-wrap .menu-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(40px, 3.5vw, 60px);
}
.menu-wrap .menu-col-title{
  margin: 0 0 12px;
  letter-spacing: .12em;
  font-weight: 700;
  color: #151515;
}
.menu-wrap .menu-list .li{ margin-bottom: 20px; }
.menu-wrap .menu-list .li a{
  justify-content: flex-start;
  gap: 14px;
  padding: 12px 0 5px;
  border-bottom: 1px solid #333;
  text-decoration: none;
}
.menu-wrap .menu-list .li + .li a{ border-top: none; }

.menu-wrap .arrow_icon{
  width: 22px;
  aspect-ratio: 1/1;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #000;
  transition: .25s;
  flex: 0 0 auto;
}
.menu-wrap .arrow_icon i{
  color: #fff;
  font-size: 12px;
}
.menu-wrap .menu-list a:hover .arrow_icon{ transform: translateX(2px); }
.menu-wrap .menu-list .default_txt2{
  margin: 0;
  color: #151515;
}

.menu-wrap .menu-footer{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(80px, 12vw, 100px);
  flex-wrap: wrap;
}

/* 左：大きい黒ボタン */
.menu-wrap .menu-cta{
  position: relative;
  display: flex;
  align-items: center;
  gap: 30px;
  padding: clamp(18px, 2.6vw, 26px) clamp(72px, 7vw, 100px);
  background: #000;
  color: #fff;
  text-decoration: none;
  border-radius: 10px;
}
.menu-wrap .menu-cta .cta-label{
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.menu-wrap .menu-cta .en{
  letter-spacing: .14em;
  color: #DBDADA;
}
.menu-wrap .menu-cta .jp{ margin-top: 6px; }

.menu-wrap .menu-cta .arrow_icon.white{
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  background: #fff;
}
.menu-wrap .menu-cta .arrow_icon.white i{ color: #000; }
.menu-wrap .menu-cta:hover .arrow_icon.white{ transform: translate(2px, -50%); }

/* contacts */
.menu-wrap .menu-contacts{ text-align: center; }
.menu-wrap .menu-contacts{
  align-items: flex-start;
  gap: clamp(16px, 2.6vw, 28px);
}
.menu-wrap .menu-contacts .tel{
  display: flex;
  align-items: center;
  gap: 10px;
  color: #151515;
  text-decoration: none;
}
.menu-wrap .menu-contacts .tel i{ font-size: 16px; }
.menu-wrap .menu-contacts .sns{
  color: #151515;
  text-decoration: none;
  font-size: 22px;
}

/* ---------- IEのみ ---------- */
@media all and (-ms-high-contrast: none) {}

/* ---------- 1280px ~ ---------- */
@media screen and (max-width: 1280px){
  .header_d .menu-bt{
    top: auto;
    background-color: transparent;
  }
}

/* ---------- 1080px ~ ---------- */
@media screen and (max-width: 1080px){}

/* ---------- 768px ~ ---------- */
@media screen and (max-width: 768px){
  /*head menu */
  .menu-wrap .menu-panel{
    padding: 0px;
    padding-top: 120px;
    gap: 28px;
    -webkit-overflow-scrolling: touch;
    flex-direction: column;
  }
  .menu-wrap .menu-grid{ gap: 24px; }
  .menu-wrap .menu-col-title{ margin: 0 0 10px; }
  .menu-wrap .menu-list .default_txt2{ font-size: 14px; }
  .menu-wrap .menu-list .li{ margin-bottom: 12px; }
  .menu-wrap .menu-list .li a{
    padding: 5px 0 5px;
    border-bottom-color: #444;
  }
  .menu-wrap .arrow_icon{ width: 20px; }
  .menu-wrap .arrow_icon i{ font-size: 13px; }

  .menu-wrap .menu-footer{
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
  }
  .menu-wrap .menu-cta{
    width: 100%;
    padding: 18px 56px;
  }
  .menu-wrap .menu-cta .arrow_icon.white{ right: 12px; }

  /* 連絡先は左右に並べつつ可変 */
  .menu-wrap .menu-contacts{
    width: 100%;
    justify-content: space-between;
  }
  .menu-wrap .menu-contacts .tel i{ font-size: 18px; }
  .menu-wrap .menu-contacts .sns{ font-size: 24px; }
  /*head menu */
}

/* ---------- 576px ~ ---------- */
@media screen and (max-width: 576px){
  .menu-wrap .menu-panel{ padding: 10px 40px 60px; }
  .menu-wrap .menu-footer{ width: 100%; }

  .menu-wrap .menu-grid{
    grid-template-columns: repeat(1, 1fr);
    justify-items: center;
    gap: 10px;
    margin-top: 60px;
    width: 100%;
  }
  .menu-wrap .menu-list .default_txt2{ font-size: 12px; }
  .menu-wrap .menu-col-title{
    text-align: center;
    font-size: 16px;
  }
  .menu-wrap .menu-list .li a{ flex-wrap: nowrap; }
  .menu-wrap .menu-col{ width: 100%; }

  .menu-wrap .menu-cta{
    justify-content: center;
    width: 100%;
    max-width: 420px; /* ボタンの横幅を適度に */
    margin: 0 auto;
  }
  .menu-wrap .menu-contacts{
    justify-content: center;
    gap: 16px;
    width: 100%;
  }
}

/* ---------- 350px ~ ---------- */
@media screen and (max-width: 350px){}
