@charset "utf-8";
@import url('https://fonts.googleapis.com/css2?family=Urbanist:wght@400;600&display=swap');

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height, 120px);
}

/* header
--------------------------*/
header {
  width: 100%;
  padding: 16px 20px 8px 20px;
  background-color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 999;
}

.header-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 16px;
  flex: 1 0 0;
}

.header-container--sp {
  display: none;
}

.header-container-top .header-logo {
  width: 271px;
  height: auto;
}


.header-container-top {
  display: flex;
  max-width: 1600px;
  width: 100%;
  justify-content: space-between;
  align-items: flex-start;
}

.header-btn-box {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
}

.header-outline-box {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header-outline-box .border {
  display: inline-block;
  align-self: stretch;
  width: 1px;
  min-height: 1em;
  background-color: var(--primary);
}

.header__list {
  display: flex;
  max-width: 1600px;
  width: 100%;
  justify-content: center;
  align-items: center;
}

.header__list-item {
  position: relative;
  width: calc(100% / 6);
  text-align: center;
  border-right: 1px solid #D4D4D4;
}

.header__list-item:last-of-type {
  border-right: none;
}

.header__list-link {
  display: block;
  width: 100%;
  padding: 4px 0;
  text-align: center;
  transition:
    background-color 0.25s ease,
    transform 0.25s ease,
    color 0.25s ease;
}

@media (hover:hover) {
  .header__list-link:hover {
    transform: translate(1px, 1px);
    color: var(--primary);
  }
}

/* header　ドロップダウンメニュー
--------------------------*/
.header__toggle {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
}

/* ▼閉じている状態 */
.header__submenu {
  position: absolute;
  top: 100%;
  left: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 16px 8px;
  background: var(--white);
  z-index: 1000;
  border-radius: 4px;
  box-shadow: 0 0 8px 0 rgba(0, 0, 0, 0.08);
  /* アニメーションのための値 */
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease,
    transform 0.3s ease;
}

/* ▼共通：開いている状態（SP用・JSでクラスを付与） */
.header__dropdown--open .header__submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

@media (hover: hover) {
  .header__dropdown:hover .header__submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }
}

.header__dropdown-arrow {
  position: relative;
  display: inline-block;
  width: 12.1px;
  height: 6.8px;
}

.header__dropdown-arrow::before,
.header__dropdown-arrow::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: calc(50% - 0.75px);
  width: 1.5px;
  height: 9px;
  border-radius: 9999px;
  background-color: var(--black);
  transform-origin: 50% calc(100% - 0.75px);
  transition: background-color 0.3s;
}

.header__dropdown-arrow::before {
  transform: rotate(45deg);
}

.header__dropdown-arrow::after {
  transform: rotate(-45deg);
}

@media (hover:hover) {

  .header__list-link:hover .header__dropdown-arrow::before,
  .header__list-link:hover .header__dropdown-arrow::after {
    background-color: var(--primary);
  }
}

/* header-btn */

.header-btn-box .btn {
  position: relative;
}

.header-btn-box .btn--secondary {
  padding-right: 52px;
}

.header-btn-box .icon-chevron-right-white {
  position: absolute;
  top: 50%;
  right: 1em;
  transform: translate(0, -50%);
  background-size: 26px;
}

@media screen and (max-width: 1024px) {
  header {
    height: 60px;
    padding: 0% 2.5%;
  }


  .header-container--sp {
    display: inherit;
  }

  .header-container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    flex: 1 0 0;
  }

  .header-container--pc {
    display: none;
  }

  header .header-logo img {
    width: 200px;
    height: auto;
  }

  /* hamburger */
  .btn-hamburger {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 999;
  }

  .btn-hamburger span {
    display: inline-block;
    transition: all 0.4s;
    width: 35px;
    height: 3px;
    border-radius: 5px;
    background-color: #00A0E9;
  }

  .btn-hamburger span:nth-of-type(1) {
    margin-top: 7.5px;
    margin-bottom: 7.5px;
  }

  .btn-hamburger span:nth-of-type(2) {
    margin-bottom: 7.5px;
  }

  .btn-hamburger span:nth-of-type(3) {
    margin-bottom: 7.5px;
  }

  .btn-hamburger.active span:nth-of-type(1) {
    top: 18px;
    left: 18px;
    transform: translateY(7px) rotate(-45deg);
    margin-top: initial;
    margin-bottom: initial;
  }

  .btn-hamburger.active span:nth-of-type(2) {
    opacity: 0;
  }

  .btn-hamburger.active span:nth-of-type(3) {
    top: 30px;
    left: 18px;
    transform: translateY(-6px) rotate(45deg);
    margin-bottom: initial;
  }

  .menu-container {
    position: fixed;
    width: 100%;
    height: 100vh;
    top: 60px;
    right: -120%;
    display: flex;
    padding: 40px 24px;
    flex-direction: column;
    align-items: flex-start;
    gap: 32px;
    background: rgb(255 255 255 / 0.95);
    transition: all 0.6s;
    z-index: 1000;
  }

  .menu-container.panelactive {
    right: 0;
  }

  .header__button-contents {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    align-self: stretch;
  }

  .header-outline-box {
    justify-content: space-between;
  }

  .header__list {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  .header__list-item {
    width: 100%;
    border-top: 1px solid var(--black);
    border-right: none;
  }

  .header__list-item:last-of-type {
    border-bottom: 1px solid var(--black);
  }

  .header__list-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
  }

  /* header　ドロップダウンメニュー
  --------------------------*/
  .header__submenu {
    position: static;
    display: none;
    gap: 0;
    padding: 0;
    align-items: flex-end;
    border-radius: 0;
    box-shadow: none;
    transform: initial;
  }

  .header__dropdown--open .header__submenu {
    display: flex;
  }

  .header__submenu .header__list-link {
    width: 96%;
    padding: 12px 0 12px 0;
    border-bottom: 1px solid #333;
  }

  .header__submenu .header__list-link:first-of-type {
    padding: 0 0 12px 0;
  }

  .header__submenu .header__list-link:last-of-type {
    border-bottom: none;
  }
}


/* btn-fixed
--------------------------*/

.btn-fixed {
  display: none;
}

@keyframes opa {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/*
.btn-fixed .cta-oblong {
  display: block;
  width: 20%;
  min-width: 325px;
}
*/

.cta-oblong {
  display: block;
  width: 320px;
  height: 64px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  transition: background-image 0.3s ease-in-out;
}

.cta-oblong.cta-contact {
  background-image: url('/sim/assets/image/top/btn_cta_app_pc.png');
}

.cta-oblong.cta-contact:hover {
  background-image: url('/sim/assets/image/top/btn_cta_app_pc_ov.png');
}

.cta-oblong.cta-trial {
  background-image: url('/sim/assets/image/top/btn_cta_sim_pc.png');
}

.cta-oblong.cta-trial:hover {
  background-image: url('/sim/assets/image/top/btn_cta_sim_pc_ov.png');
}

.cta-oblong.cta-estimate {
  background-image: url('/sim/assets/image/top/btn_cta_est_pc.png');
}

.cta-oblong.cta-estimate:hover {
  background-image: url('/sim/assets/image/top/btn_cta_est_pc_ov.png');
}


.btn-fixed .cta-circle {
  width: clamp(130px, 96.594px + 4.344vw, 180px);
  position: absolute;
  right: 1%;
  bottom: clamp(100px, 66.594px + 4.344vw, 150px);
}

@media screen and (max-width: 1024px) {
  .btn-fixed {
    position: fixed;
    width: 100%;
    padding: 2%;
    bottom: 0;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #33333380;
    animation: opa 0.5s ease;
    gap: 2%;
  }

  .btn-fixed .btn {
    position: relative;
    max-width: 400px;
    width: 100%;
  }

  .btn-fixed .btn--lg {
    padding: min(16px, 3%) min(32px, 5%);
    font-size: clamp(14px, 4vw, 20px);
  }

  .btn-fixed .icon-chevron-right-white {
    position: absolute;
    top: 50%;
    right: 1em;
    transform: translate(0, -50%);
    background-size: 26px;
  }


  .btn-fixed .btn--secondary .btn__label {
    margin-left: min(16px, -3.4vw);
  }

}

/* footer
--------------------------*/
footer {
  color: #ffffff;
  background-color: #494D4E;
  padding: 3.5% 0;
}

.footer-long {
  padding: 3.5% 0 8%;
}

footer .contents {
  width: 65%;
  min-width: 650px;
  margin: auto;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

footer .contents .footer-logo {
  max-width: 300px;
  width: 100%;
  height: auto;
}

footer .contents .box {
  width: 77.5%;
  display: flex;
  flex-direction: column;

}

footer .contents .box ul {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-bottom: 5%;
}

footer .contents .box ul li {
  padding: 0 2.5% 0 2.5%;
  border-left: solid 1px #ffffff;
  border-right: solid 1px #ffffff;
}

footer .contents .box ul li:first-child {
  padding: 0 2.5% 0 0%;
  border-left: initial;
}

footer .contents .box ul li:last-child {
  padding: 0 0 0 2.5%;
  border-right: initial;
}

footer .contents .box p {
  font-size: 12px;
  text-align: right;
}

@media screen and (max-width: 768px) {

  footer {
    padding: 10% 0 1.5% 0;
  }

  .footer-long {
    padding: 10% 0 20% 0;
  }

  footer .contents {
    width: initial;
    min-width: initial;
    flex-direction: column;
    align-items: center;
    row-gap: clamp(52.5px, 2.405px + 13.359vw, 105px);
  }

  footer .contents .box {
    align-items: center;
  }

  footer .contents .box ul {
    width: 100%;
    flex-direction: column;
    align-items: center;
    margin-bottom: clamp(45px, 2.061px + 11.45vw, 90px);
  }

  footer .contents .box ul li {
    font-size: clamp(12px, 0.550px + 3.053vw, 24px);
    padding: initial;
    border-left: initial;
    border-right: initial;
    margin-bottom: clamp(17.5px, 0.802px + 4.453vw, 35px);
  }

  footer .contents .box p {
    font-size: clamp(8px, 4.183px + 1.018vw, 12px);
  }

}