/* ========================================
  Lacicu TOP first view (MV + Header)
======================================== */

:root {
  --white: rgb(255, 255, 255);
  --black: rgb(0, 0, 0);
  --fuzzy-wuzzy: rgb(3, 19, 100);
  --mist-gray: rgb(196, 196, 196);
  --unmellow-yellow: rgb(22, 16, 233);
  --blue-ribbon: rgb(2, 66, 238);
  --picton-blue: rgb(50, 185, 255);
  --header-bg: rgb(247, 247, 247);
  --font-size-xs: 14px;
  --font-size-m: 16px;
  --font-zen: "Zen Kaku Gothic Antique", sans-serif;
  --font-montserrat: "Montserrat", "Zen Kaku Gothic Antique", sans-serif;
  --bp-tb: 768px;
  --bp-menu: 1024px;
  --bp-large: 1440px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  height: 100%;
  overflow: hidden;
}

html {
  overflow-x: hidden;
}

body {
  font-family: var(--font-zen);
  font-size: 16px;
  line-height: 1.63;
  letter-spacing: 0.8px;
  color: var(--black);
  background-color: var(--white);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
}

button {
  border: none;
  background-color: transparent;
  font-family: inherit;
}

a {
  text-decoration: none;
  color: var(--black);
  transition: opacity 0.3s;
}

a:hover,
a:focus {
  text-decoration: none;
  opacity: 0.8;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ========================================
  First view: MV + header = 100vh
======================================== */

.fv {
  height: 100vh;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding-top: 48px;
}

.mv {
  flex: 1 1 auto;
  min-height: 0;
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(27px, calc(27px + 13 * ((100vw - 390px) / 976)), 40px)
    clamp(12px, calc(12px + 36 * ((100vw - 390px) / 976)), 48px)
    clamp(24px, calc(24px + 2 * ((100vw - 390px) / 976)), 26px)
    clamp(12px, calc(12px + 108 * ((100vw - 390px) / 976)), 120px);
}

.mv__container {
  flex: 1 1 auto;
  min-height: 0;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto minmax(0, 1fr) auto auto;
  width: 100%;
}

@media (min-width: 1440px) {
  .mv__container {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
  }
}

.mv__content {
  grid-column: 1;
  grid-row: 1;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.mv__image-container {
  grid-column: 1;
  grid-row: 2;
  min-height: 0;
  margin-left: auto;
  width: 100%;
  display: flex;
  justify-content: flex-end;
  align-items: stretch;
  overflow: hidden;
  border-radius: 16px;
}

.mv__image-container > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
}

.mv__logo {
  display: none;
  height: 73px;
  width: 269px;
  margin-top: 24px;
  flex-shrink: 0;
}

.mv__logo > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.mv__lead {
  color: var(--fuzzy-wuzzy);
  font-family: var(--font-zen);
  font-weight: 700;
  position: relative;
  text-align: center;
  font-size: clamp(18px, calc(18px + 14 * ((100vw - 390px) / 976)), 32px);
  letter-spacing: clamp(0.72px, calc(0.72px + 0.56 * ((100vw - 390px) / 976)), 1.28px);
  line-height: 1.45;
  margin-bottom: clamp(16px, calc(16px + 24 * ((100vw - 390px) / 976)), 40px);
}

.mv__text {
  color: var(--fuzzy-wuzzy);
  font-family: var(--font-zen);
  font-size: var(--font-size-xs);
  font-weight: 300;
  letter-spacing: 0.56px;
  line-height: 24px;
  position: relative;
}

.mv__text--sp {
  grid-column: 1;
  grid-row: 3;
  margin-top: 12px;
  max-width: 600px;
  padding-right: 4px;
}

.mv__text--pc {
  display: none;
  max-width: 480px;
}

.mv__list {
  list-style: none;
  display: grid;
  grid-column: 1;
  grid-row: 4;
  grid-auto-flow: row;
  row-gap: 2px;
  width: 100%;
  margin-top: 12px;
}

.mv__item > a {
  display: flex;
  flex-direction: column;
}

.mv__item-main {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 0.5px solid #d0d0d0;
  padding-left: 10px;
  padding-right: 4px;
  padding-bottom: 6px;
  padding-top: 6px;
}

.mv__item-main .label {
  color: var(--fuzzy-wuzzy);
  font-family: var(--font-zen);
  font-size: var(--font-size-m);
  font-weight: 500;
  font-style: normal;
}

.mv__item-main .icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.mv__item-main .icon img {
  display: block;
  width: 100%;
  height: 100%;
}

.mv__item-text {
  display: none;
  color: var(--mist-gray);
  font-family: var(--font-zen);
  font-weight: 300;
  padding-left: 10px;
  padding-top: 1px;
  font-size: 10px;
  letter-spacing: 0.8px;
  line-height: 12px;
  margin-top: 7px;
}

@media (min-width: 768px) {
  .mv__lead {
    text-align: left;
  }

  .mv__image-container {
    width: 80%;
  }

  .mv__image-container > img {
    object-fit: cover;
  }

  .mv__text--sp {
    padding-left: 50px;
  }
}

@media (min-width: 1024px) {
  .mv {
    padding-right: 48px;
    padding-top: clamp(16px, 4.4vh, 40px);
    padding-bottom: clamp(12px, 2.9vh, 26px);
  }

  .mv__container {
    grid-template-rows: minmax(0, 1fr) auto;
    row-gap: clamp(8px, 1.5vh, 20px);
  }

  .mv__content {
    grid-row: 1;
    justify-content: flex-start;
    min-height: 0;
  }

  .mv__image-container {
    grid-row: 1 / -1;
    width: 61%;
    max-height: none;
  }

  .mv__image-container > img {
    object-fit: contain;
  }

  .mv__logo {
    display: block;
    height: clamp(48px, 8.1vh, 73px);
    width: clamp(177px, 29.85vh, 269px);
    margin-top: clamp(8px, 2.7vh, 24px);
    align-self: flex-start;
  }

  .mv__lead {
    margin-top: clamp(8px, 2.7vh, 24px);
    margin-bottom: clamp(12px, min(calc(16px + 24 * ((100vw - 390px) / 976)), 4.5vh), 40px);
    text-align: left;
    font-size: clamp(20px, min(calc(18px + 14 * ((100vw - 390px) / 976)), 4vh), 32px);
  }

  .mv__text--pc {
    display: block;
    font-size: clamp(12px, 2vh, 14px);
    line-height: 1.65;
  }

  .mv__text--sp {
    display: none;
  }

  .mv__list {
    grid-row: 2;
    align-self: start;
    z-index: 1;
    width: 280px;
    row-gap: clamp(2px, 0.6vh, 6px);
    margin-top: 0;
    margin-bottom: clamp(4px, 1.2vh, 13px);
  }

  .mv__item-main {
    padding-top: 0;
    padding-bottom: clamp(4px, 0.6vh, 6px);
  }

  .mv__item-main .label {
    font-size: clamp(14px, 2vh, 16px);
  }

  .mv__item-text {
    display: block;
    margin-top: clamp(2px, 0.7vh, 7px);
  }
}

@media (min-width: 1024px) and (max-height: 640px) {
  .mv__lead {
    line-height: 1.35;
  }

  .mv__item-text {
    line-height: 11px;
  }
}

/* ========================================
  Header
======================================== */

.header-nav {
  flex-shrink: 0;
  height: 48px;
  width: 100%;
  padding: 0;
  z-index: 16;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: transparent;
}

.header-nav .sp-menu {
  position: fixed;
}

.header-nav--front .header__logo {
  display: block;
}

.header__logo > a {
  display: block;
}

.logo {
  background-image: url("../images/logo.png");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  width: clamp(88px, calc(110px + (88 - 110) * ((100vw - 390px) / 976)), 110px);
  height: clamp(24px, calc(30px + (24 - 30) * ((100vw - 390px) / 976)), 30px);
}

@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .logo {
    background-image: url("../images/logo@2x.png");
  }
}

.header-nav__inner {
  display: none;
}

.header-nav__list {
  font-family: var(--font-montserrat);
  font-weight: 600;
  display: none;
  list-style: none;
}

.header-nav__add {
  display: none;
}

.header-nav__btn {
  color: var(--white);
  font-family: var(--font-zen);
  font-size: var(--font-size-xs);
  font-weight: 400;
  border-radius: 4px;
  display: flex;
  height: 32px;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  min-width: 0;
  padding: 2px 16px;
}

.header-nav__btn--download {
  background-color: #0242ee;
}

.header-nav__btn--contact {
  background-color: #32b9ff;
}

.header-nav__search {
  width: 24px;
  height: 24px;
  margin: 4px 0 4px 8px;
  object-fit: contain;
}

.header-nav__search img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.header-nav__search:hover {
  cursor: pointer;
  opacity: 0.8;
}

@media (min-width: 1024px) {
  .fv {
    padding-top: 0;
    padding-bottom: 20px;
  }

  .header-nav {
    justify-content: space-between;
    height: 80px;
    padding: 24px 32px 24px 40px;
    box-shadow: 0 3px 10px 0 rgba(0, 0, 0, 0.16);
    background-color: var(--header-bg);
    border-radius: 8px;
    width: calc(100% - 48px);
    margin-left: auto;
    margin-right: auto;
  }

  .header-nav__inner {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    flex: 1;
  }

  .header-nav__list {
    display: flex;
    justify-content: flex-end;
    align-items: center;
  }

  .header-nav__list > .menu-item {
    list-style: none;
    position: relative;
    padding: 16px clamp(8px, calc(8px + 10 * ((100vw - 1024px) / 342)), 18px);
  }

  .header-nav__list > .menu-item > a {
    color: var(--black);
    font-family: var(--font-zen);
    font-weight: 600;
    display: flex;
    align-items: center;
    white-space: nowrap;
    letter-spacing: 0.8px;
    line-height: 16px;
    font-size: clamp(13px, calc(13px + 2 * ((100vw - 900px) / 466)), 15px);
    transition: color 0.3s, opacity 0.3s;
  }

  .header-nav__list > .menu-item > a:hover,
  .header-nav__list > .menu-item > a:focus {
    color: var(--black);
    opacity: 0.7;
  }

  .header-nav__list > .menu-item > .sub-menu {
    overflow: hidden;
    opacity: 0;
    height: 0;
    top: 50px;
    left: -1rem;
    position: absolute;
    padding-bottom: 10px;
    width: 180px;
    transition: color 0.3s, opacity 0.3s;
    box-shadow: 0 2px 3px rgba(0, 0, 0, 0.05);
    background-color: #fff;
    list-style: none;
    z-index: 20;
  }

  .header-nav__list > .menu-item:hover > .sub-menu,
  .header-nav__list > .menu-item:focus-within > .sub-menu {
    opacity: 1;
    height: auto;
    background-color: #fff;
  }

  .header-nav__list > .menu-item > .sub-menu > li {
    display: flex;
    justify-content: flex-start;
    padding: 10px 18px;
  }

  .header-nav__list > .menu-item > .sub-menu > li > a {
    font-size: 14px;
    text-align: left;
    text-transform: uppercase;
    font-family: var(--font-montserrat);
    font-weight: 600;
  }

  .header-nav__add {
    display: grid;
    grid-auto-flow: column;
    column-gap: clamp(5px, calc(5px + 5 * ((100vw - 1024px) / 342)), 10px);
    margin-left: clamp(8px, calc(8px + 11 * ((100vw - 1024px) / 342)), 19px);
  }
}

/* ========================================
  SP hamburger
======================================== */

.sp-menu {
  align-items: center;
  background-color: var(--fuzzy-wuzzy);
  display: flex;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  padding: 0;
  position: fixed;
  top: 0;
  right: 0;
  transition: background-color 0.3s;
  width: 48px;
  height: 48px;
  z-index: 22;
  cursor: pointer;
}

.sp-menu__bar {
  background-color: var(--white);
  height: 1.5px;
  width: 24px;
  display: block;
  flex-shrink: 0;
  transition: transform 0.3s, opacity 0.3s;
}

.sp-menu.open {
  z-index: 23;
  background-color: transparent;
}

.sp-menu.open .sp-menu__bar {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 24px;
  height: 2px;
  margin: 0;
}

.sp-menu.open .sp-menu__bar:nth-child(2) {
  transform: translate(-50%, -50%) rotate(45deg);
}

.sp-menu.open .sp-menu__bar:nth-child(3) {
  opacity: 0;
}

.sp-menu.open .sp-menu__bar:nth-child(4) {
  transform: translate(-50%, -50%) rotate(-45deg);
}

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

/* ========================================
  SP overlay menu
======================================== */

.nav-sp {
  position: fixed;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  overflow-y: auto;
  background-color: #031364;
  padding: 48px 24px 70px 39px;
  font-family: var(--font-montserrat);
  top: 0;
  left: 0;
  opacity: 0;
  z-index: -1;
  pointer-events: none;
  visibility: hidden;
}

.nav-sp__list {
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0;
  transition: all 0.5s ease-out;
  transform: translateY(20px);
  list-style: none;
}

.nav-sp a {
  color: var(--white);
}

.nav-sp ul.sub-menu {
  border-left: 1px solid var(--white);
  padding-bottom: 2px;
  margin-left: 2px;
  list-style: none;
  margin-top: -3px;
  padding-left: 8px;
  margin-bottom: 12px;
}

.nav-sp ul.sub-menu > li {
  border-bottom: none;
}

.nav-sp ul.sub-menu > li > a {
  font-weight: normal;
  letter-spacing: 0.64px;
  padding-top: 4px;
  padding-bottom: 4px;
  white-space: nowrap;
  border-bottom: none;
  text-transform: none;
  line-height: 1.2;
  font-size: 16px;
}

.nav-sp > ul > li {
  list-style: none;
}

.nav-sp > ul > li > a,
.nav-sp > ul > li > span.link {
  align-items: flex-start;
  display: flex;
  letter-spacing: 0.8px;
  padding-top: 16px;
  padding-bottom: 13px;
  white-space: nowrap;
  position: relative;
  color: var(--white);
  font-family: var(--font-zen);
  font-size: 22px;
  font-weight: 700;
  line-height: 24px;
}

.nav-sp > ul > li.menu-item--btn {
  margin-top: 24px;
}

.nav-sp > ul > li.menu-item--btn > a {
  display: inline-flex;
  min-width: 0;
  padding: 2px 16px;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.8px;
  line-height: 1.63;
}

.nav-sp > ul > li.menu-small > a {
  font-weight: normal;
  letter-spacing: 0.64px;
  font-size: 16px;
  padding-top: 14px;
  line-height: 16px;
  text-transform: none;
}

.nav-sp > ul > li > a:hover {
  opacity: 0.6;
}

.nav-sp--open {
  display: block;
  opacity: 1;
  z-index: 21;
  pointer-events: auto;
  visibility: visible;
}

.nav-sp--open .nav-sp__list {
  opacity: 1;
  transform: translateY(0);
}

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

@media (max-width: 389px) {
  .nav-sp > ul > li > a {
    font-size: 6.154vw;
  }
}

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

body.is-menu-open .header-nav .sp-menu {
  visibility: hidden;
  pointer-events: none;
}
