/* =============================================
   HEADER & NAV
   ============================================= */

header {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(6px);
  color: #16121a;
  width: 100%;
  position: absolute;
  top: 0;
  z-index: 100;
}

header .header-in {
  padding: 20px;
  padding-right: 0;
  width: 100%;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

header h1 { display: inline-block; margin: 0; line-height: 0; font-size: clamp(13px, calc(6px + 2vw), 30px); }
header h1 a { color: #16121a; display: flex; align-items: center; }

@media screen and (min-width: 768px) and (max-width: 1094px) {
  .site-name { display: none; }
}
.logo { max-width: 60px; margin-right: 10px; }
header nav { margin: 0 0 0 auto; display: flex; align-items: stretch; }
nav ul { display: flex; align-items: stretch; }
nav ul li { display: flex; align-items: stretch; position: relative; }
nav ul li em { font-size: 14px; display: block; color: #16121a; }
nav ul li a { display: flex; align-items: center; padding: 0 12px; color: #16121a; font-size: 14px; font-weight: bold; }
nav ul li a:hover { color: #C21E86; }

nav li ul {
  display: none;
  flex-direction: column;
  list-style: none;
  padding: 0;
  margin: 0;
  position: absolute;
  top: 2.5em;
  left: -10px;
  z-index: 10;
}

nav li:hover ul { display: flex; }
nav li.parent { padding: 10px; padding-right: 20px; margin-right: 20px; }
nav li.parent::after {
  position: absolute;
  right: 0;
  font-family: "Font Awesome 5 Free";
  content: "\f107";
  -webkit-font-smoothing: antialiased;
  display: inline-block;
  font-style: normal;
  font-variant: normal;
  text-rendering: auto;
  font-weight: bold;
}

nav li ul li {
  padding: 10px 20px;
  margin-right: 0;
  white-space: nowrap;
  background: rgba(255,255,255,1);
}

nav .btn {
  color: #fff;
  font-size: 14px;
  background-color: #C21E86;
  display: table-cell;
  vertical-align: middle;
  width: 170px;
  height: 100px;
  text-align: center;
  z-index: 99;
  position: relative;
}

.btn em { color: #F7D4EA; position: absolute; top: 30px; font-size: 12px; font-weight: normal; }
nav .btn.request { background-color: #9B1868; }
.btn.contact { margin-left: 10px; }

.btn.contact::before {
  font-family: "Font Awesome 5 Free";
  content: "\f0e0";
  -webkit-font-smoothing: antialiased;
  display: inline-block;
  font-style: normal;
  font-variant: normal;
  text-rendering: auto;
  font-weight: bold;
  padding-right: .5em;
  color: #fff;
}

.btn.request::before { content: "\f15b"; }

/* =============================================
   KEY VISUAL (Hero)
   ============================================= */

.key-v {
  width: 100%;
  height: 100vh;
  position: relative;
  max-height: 1440px;
  z-index: 0;
  overflow: hidden;
}

.key-v .key-img { position: absolute; object-fit: cover; object-position: center; height: 100%; width: 100%; right: 0; top: 0; }
.key-v .txt-box { position: absolute; top: 25%; left: 5%; max-width: 80%; z-index: 2; }
.key-v .txt-box h2 { font-size: 64px; text-align: left; color: #fff; font-weight: bold; letter-spacing: .2em; margin: 0 0 30px; text-shadow: 0 2px 24px rgba(0,0,0,0.6); }
.key-v .txt-box p { font-size: 15px; color: #fff; font-weight: normal; margin: 0 0 20px; line-height: 2; text-shadow: 0 1px 12px rgba(0,0,0,0.7); }
.key-v .arrow-d { position: absolute; left: 5%; bottom: 5%; display: block; }
.key-v #main_video { width: 100%; height: 100vh; object-fit: cover; position: relative; z-index: -2; }

.key-v::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: -1;
}

.key-v .hero_news {
  background-color: #fff;
  position: absolute;
  left: 0;
  bottom: 0;
  padding: 30px 25px;
  width: 55%;
  max-width: 880px;
  border-bottom: 1px solid #DCDCDC;
}

.key-v .hero_news a { color: #333; }
.key-v .hero_news time { display: inline-block; color: #333; margin-right: 1em; }
.key-v .hero_news span { display: inline-block; color: #fff; background-color: #afafaf; padding: .25em .5em; margin-right: 1em; }
.key-v .hero_news .viewmore { color: #999; display: block; margin-top: 8px; text-align: right; }

/* =============================================
   FOOTER
   ============================================= */

footer {
  background-color: #9B1868;
  color: #fff;
  background-image: linear-gradient(0deg, #7A1252 0%, #9B1868 50%);
  text-align: center;
  padding: 100px 0 0;
  width: 100%;
  position: relative;
}

footer .wrapper { position: relative; }
footer .logo { width: 240px; }
footer .nav-area { text-align: right; }
footer .nav-area a { color: #fff; }
footer .contact-area { margin-bottom: 20px; display: flex; align-items: center; justify-content: flex-end; }
footer .contact-area .tel { margin-right: 30px; font-size: 24px; }
footer .contact-area .btn { background-color: #C21E86; display: inline-block; vertical-align: middle; width: 240px; padding: 25px; text-align: center; }
footer ul { display: flex; justify-content: center; align-items: center; gap: 40px; margin: 0; margin-bottom: 60px; }
footer ul li::after { content: "|"; display: inline-block; position: relative; right: -20px; }
footer ul li:last-child::after { display: none; }
footer ul li a { color: #fff; font-size: 14px; }

.copyright {
  background: none;
  font-size: 14px;
  color: #fff;
  text-align: right;
  height: 60px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: end;
}

#pagetop {
  display: none;
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  background: #C21E86;
  color: #fff;
  border: none;
  font-size: 18px;
  cursor: pointer;
  transition: background .2s;
  z-index: 999;
}
#pagetop:hover { background: #9B1868; }

/* =============================================
   RESPONSIVE
   ============================================= */

@media screen and (max-width: 767px) {
  .toggler { position: absolute; z-index: 9998; top: 24px; right: 20px; width: 40px; }
  .toggler-bars span { position: absolute; left: 0; width: 100%; height: 2px; background-color: #000; border-radius: 0; }
  .toggler-bars { display: block; position: relative; width: 40px; height: 20px; transition: all .4s; box-sizing: border-box; }
  .toggler-bars span { display: inline-block; transition: all .4s; box-sizing: border-box; }
  .toggler-bars span:nth-of-type(1) { top: 0; }
  .toggler-bars span:nth-of-type(2) { top: 9px; }
  .toggler-bars span:nth-of-type(3) { bottom: 0; }
  .toggler-bars.active span:nth-of-type(1) { transform: translateY(9px) rotate(-45deg); }
  .toggler-bars.active span:nth-of-type(2) { opacity: 0; }
  .toggler-bars.active span:nth-of-type(3) { transform: translateY(-9px) rotate(45deg); }

  .drawer-overlay { background: rgba(0,0,0,0.6); box-sizing: border-box; display: none; height: 100%; position: fixed; top: 0; left: 0; width: 100%; z-index: 1; }
  .drawer-overlay.open { display: block; }

  header { position: fixed; top: 0; z-index: 100; background: #fff; }
  header .header-in { height: 70px; }
  .logo { max-width: 60px; }
  nav ul li a { color: #333; padding: 20px; width: 100%;}
  nav ul li em { color: #333; }
  .btn.contact { margin-left: 0; }

  header nav {
    display: block;
    width: 70%;
    max-width: 280px;
    background: #fff;
    height: 100vh;
    position: fixed;
    top: 0;
    right: -100%;
    margin: auto;
    text-align: center;
    padding: 70px 0;
    z-index: 100;
    transition: right 0.3s ease-in-out;
  }

  header nav.open { display: block; right: 0; }
  nav ul { display: block; margin-bottom: 40px; }
  nav ul li.parent, nav ul li { display: block; width: 100%; margin: auto; padding: 0; }
  nav ul li.parent::after { right: 30px; top: 20px; }
  nav li ul { display: block; position: static; margin-top: 30px; }
  nav li ul li a { font-size: 12px; }

  .btn-area { padding: 0 5.625vw; }
  .btn-area .btn { margin: auto; width: 100%; margin-bottom: 40px; }
  nav .btn-area { width: 100%; }
  nav .btn-area .btn { height: auto; margin: auto; text-align: center; display: block; padding: 10px 15px; }
  .btn em { display: block; width: 100%; top: -25px; font-weight: bold; color: #C21E86; margin: auto; left: 0; right: 0; }

  .key-v { height: calc(100vh - 70px); margin-top: 70px; }
  .key-v .key-img { width: 100%; }
  .key-v .txt-box { text-align: center; left: 0; right: 0; top: 25%; max-width: 100%; width: 100%; padding: 0 5.625vw; }
  .key-v .txt-box h2 { font-size: 32px; text-align: center; letter-spacing: 0; }
  .key-v .hero_news { display: none; }

  footer { padding: 40px 0 0; }
  footer .flex div { width: 100%; }
  footer p.ta-l { text-align: center; }
  footer .contact-area { flex-wrap: wrap; justify-content: center; }
  footer .contact-area .tel { margin: 0 0 30px 0; }
  footer ul { gap: 40px; row-gap: 0; margin-bottom: 30px; flex-wrap: wrap; }
  footer ul li { width: 33%; text-align: center; }
  footer ul li::after { display: none; }
  footer ul li a { font-size: 12px; }
  .copyright { height: 40px; font-size: 10px; text-align: center; justify-content: center; }
  #pagetop { right: 16px; bottom: 16px; }
  header nav .btn.request, .btn.request { margin-bottom: 30px; }
}
