@charset "UTF-8";

:root {
  --header-height: 64px;
}

/* ===================================================
   Header（Figma 202507-Ver2）
=================================================== */
header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 24px;
  background-color: #fff;
  position: fixed;
  z-index: 10000;
  top: 0;
  box-sizing: border-box;
}

.header_bottom_mg {
  padding-top: var(--header-height);
}

.header_left {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  z-index: 2;
}

.logo {
  display: block;
  width: 196px;
  line-height: 0;
}

.logo img {
  width: 100%;
  height: auto;
}

/* PC: 中央ナビ */
.header_nav {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  gap: 24px;
  z-index: 3;
}

.header_nav_link {
  font-family: "Hiragino Sans", "ヒラギノ角ゴ ProN W6", sans-serif;
  font-weight: 600;
  font-size: 14px;
  line-height: 1.4;
  letter-spacing: 0.14px;
  color: #383b42;
  text-decoration: none;
  white-space: nowrap;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}

.header_nav_item--features {
  position: relative;
}

.header_nav_toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.header_nav_chevron {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.header_nav_item--features.is-open .header_nav_chevron {
  transform: rotate(-135deg) translateY(-1px);
}

.header_nav_dropdown {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 260px;
  margin: 0;
  padding: 8px 0;
  list-style: none;
  background: #fff;
  border: 1px solid rgba(56, 59, 66, 0.13);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(56, 59, 66, 0.12);
  z-index: 10001;
}

.header_nav_dropdown[hidden] {
  display: none;
}

.header_nav_dropdown a {
  display: block;
  padding: 12px 16px;
  font-family: "Hiragino Sans", "ヒラギノ角ゴ ProN W6", sans-serif;
  font-weight: 600;
  font-size: 13px;
  line-height: 1.4;
  letter-spacing: 0.13px;
  color: #383b42;
  text-decoration: none;
  white-space: nowrap;
}

@media (hover: hover) and (pointer: fine) {
  .header_nav_dropdown a:hover {
    background: #f7f7fe;
    color: #0178e5;
  }
}

@media (hover: hover) and (pointer: fine) {
  .header_nav_link:hover {
    opacity: 0.7;
  }
}

.header_right {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
  margin-left: auto;
  z-index: 1;
}

.header_ctas {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header_cta {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 16px;
  border-radius: 8px;
  font-family: "Hiragino Sans", "ヒラギノ角ゴ ProN W4", sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 1.4;
  letter-spacing: 0.14px;
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
  box-sizing: border-box;
}

.header_cta--orange {
  background: linear-gradient(90deg, #ff9e30 0%, #ff7503 100%);
}

.header_cta--blue {
  background: linear-gradient(90deg, #0096e7 0%, #0076e5 100%);
}

@media (hover: hover) and (pointer: fine) {
  .header_cta:hover {
    opacity: 0.9;
  }
}

.sp_header_wrap {
  display: block;
  flex-shrink: 0;
}

/* humberger */
.hamburger {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  width: 24px;
  min-height: 20px;
  padding: 4px 0;
  cursor: pointer;
  z-index: 300;
  box-sizing: border-box;
}

.hamburger__lines {
  position: relative;
  display: block;
  width: 24px;
  height: 16px;
}

.hamburger__line {
  position: absolute;
  width: 100%;
  height: 2px;
  right: 0;
  background-color: #363843;
  transition: all 0.5s;
}

.hamburger__line--1 {
  top: 0;
}

.hamburger__line--2 {
  top: 7px;
}

.hamburger__line--3 {
  top: 14px;
}

.hamburger__label {
  display: none;
  font-family: "Hiragino Sans", "ヒラギノ角ゴ ProN W6", sans-serif;
  font-weight: 700;
  font-size: 9px;
  line-height: 1;
  color: #363843;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0;
}

/*ハンバーガーがクリックされたら*/
.open .hamburger__line--1 {
  transform: rotate(-45deg);
  top: 7px;
}

.open .hamburger__line--2 {
  opacity: 0;
}

.open .hamburger__line--3 {
  transform: rotate(45deg);
  top: 7px;
}

.open .hamburger__label {
  opacity: 0;
}

/*
sp-nav(ナビ)
=================================== */
.sp-nav {
  position: fixed;
  right: -100%; /*ハンバーガーがクリックされる前はWindow右側に隠す*/
  top: 0;
  width: 100%; /* 出てくるスライドメニューの幅 */
  max-width: 420px;
  height: 100vh;
  background-color: #fff;
  transition: all 0.5s;
  z-index: 200;
  overflow-y: auto; /* メニューが多くなったらスクロールできるように */
}

@media only screen and (max-width: 959px) {
  .sp-nav {
    max-width: 100%;
  }
}

.sp_nav_inner {
  width: 100%;
  display: flex;
  flex-flow: column;
  gap: 0;
}

/*ハンバーガーがクリックされたら右からスライド*/
.open .sp-nav {
  right: 0;
}

.sp-nav .sp_header li a {
  padding: 16px 5%;
  border-bottom: 1px solid var(--border);
  font-size: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.sp-nav ul li .humberger_link {
  font-size: 18px;
  font-weight: 600;
}

.humberger_logo_wrap {
  padding: 20px 5%;
}

@media only screen and (max-width: 959px) {
  .humberger_logo_wrap {
    padding: 24px 5%;
    border-bottom: 1px solid var(--border);
  }
}

.humberger_logo {
  width: 120px;
}

.humberger_logo img {
  width: 100%;
}

.humberger_trial_button {
  color: #ffffff;
  background-color: var(--blue);
}

.humberger_contact_button {
  color: var(--blue);
  border: 2px solid var(--blue);
}

.mt18 {
  margin-top: 18px;
}

.humberger_button {
  padding: 21px 21px;
  width: 100%;
  font-weight: 600;
  font-size: 14px;
  border-radius: 12px;
  line-height: 100%;
  position: relative;
  width: 320px;
}

/*
black-bg(ハンバーガーメニュー解除用bg)
=================================== */
.black-bg {
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  z-index: 100;
  background-color: #000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.5s;
  cursor: pointer;
}

/*ハンバーガーメニューが開いたら表示*/
.open .black-bg {
  opacity: 0.3;
  visibility: visible;
}

.sp_main_header {
  display: flex;
  flex-flow: column;
  gap: 12px;
  padding: 24px 5%;
}

.sp_main_header li {
  margin: 0 !important;
}

.sp_main_header .default a {
  color: var(--primary);
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  border-radius: 4px;
  border: 1px solid var(--dark-200);
  background: var(--white);
  padding: 10px 16px;
}

.sp_main_header .main a {
  color: #fff;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  border-radius: 4px;
  background: var(--primary);
  padding: 10px 16px;
  width: 100%;
}

/* ===================================================
   SP Header（≤960px）
=================================================== */
@media only screen and (max-width: 960px) {
  :root {
    --header-height: 56px;
  }

  header {
    padding: 12px;
  }

  .logo {
    width: 81px;
  }

  .header_left {
    flex-shrink: 1;
    min-width: 0;
  }

  /* SP: ナビは中央固定ではなく右側グループへ */
  .header_nav {
    position: static;
    left: auto;
    top: auto;
    transform: none;
    gap: 16px;
    order: 1;
  }

  .header_nav_link {
    font-size: 11px;
    letter-spacing: 0.11px;
  }

  .header_nav_item--features,
  .header_nav_toggle {
    display: flex;
    align-items: center;
    line-height: 1.4;
    margin: 0;
  }

  .header_nav_link--features {
    order: 1;
  }

  .header_nav_link--case {
    order: 2;
  }

  .header_nav_link--webinar {
    order: 3;
  }

  .header_nav_dropdown {
    left: 0;
    right: auto;
    transform: none;
    min-width: 240px;
  }

  .header_right {
    gap: 16px;
  }

  .header_ctas {
    display: none;
  }

  .sp_header_wrap {
    order: 2;
    margin-left: 0;
  }

  .hamburger {
    gap: 7px;
    padding: 4px 0;
    min-height: auto;
  }

  .hamburger__label {
    display: block;
  }

  .hamburger__lines {
    height: 10px;
  }

  .hamburger__line {
    height: 1.5px;
  }

  .hamburger__line--1 {
    top: 0;
  }

  .hamburger__line--2 {
    top: 4px;
  }

  .hamburger__line--3 {
    top: 8px;
  }

  .open .hamburger__line--1,
  .open .hamburger__line--3 {
    top: 4px;
  }
}

/* 旧クラス互換（他テンプレート参照用） */
.header_logo_wrap {
  display: flex;
  gap: 20px;
  align-items: center;
}

.header_copy {
  font-size: 12px;
  font-weight: 600;
  line-height: 140%;
}

.bl_headerBtns {
  display: flex;
  gap: 20px;
  align-items: center;
}

.bl_headerBtns_contacts {
  font-size: 1.4rem;
  display: flex;
  justify-content: right;
  gap: 12px;
}

.bl_headerBtns_contacts a {
  height: 40px;
}

.header_navi {
  display: flex;
  gap: 20px;
}

.header_navi li a {
  font-size: 13px;
  font-weight: 600;
}

.ly_header {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 40px;
}

@media (max-width: 575.98px) {
  .ly_header {
    padding: 16px var(--width-pd);
  }
}

@media (max-width: 959px) {
  .ly_header_logo {
    width: 33%;
    line-height: 1;
  }

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

  .bl_headerBtns_info {
    display: none;
  }

  .bl_headerBtns_contacts {
    display: none;
  }

  .header_navi {
    display: none;
  }
}
