@charset "utf-8";

/* css Document
*****************************************************************/
@import "../../../n_common/css/_variable.css";

/* Simulation
****************************************************************/

.txt_space {
  font-size: clamp(18px, 1.04cqw + 14.1px, 27px);
  text-align: center;
  word-break: keep-all;
  overflow-wrap: anywhere;
  line-height: 1.5em;
}

#simulation {
  padding: 50px 0 80px;
  @media (width < 896px) {
    padding: 30px 0 60px;
  }
  @media (width < 480px) {
    padding: 20px 0 40px;
  }
}

.pt60px {
  padding-top: 4.83cqw;/*60px相当*/
  @media (width < 480px) {
    padding-top: 30px;
  }
}

.sim_list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6.45cqw;
  list-style: none;
  @media (width < 896px) {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

.sim_card {
  position: relative;
  background-color: var(--main_c);
  clip-path: polygon(34px 0, 100% 0, 100% 100%, 0 100%, 0 34px);
  padding: 27px;
  box-sizing: border-box;
  min-height: 200px;
}

.sim_card::before {
  content: '';
  position: absolute;
  inset: 6px;
  clip-path: polygon(30px 0, 100% 0, 100% 100%, 0 100%, 0 30px);
  border: 1px solid #fff;
  pointer-events: none;
}

.sim_card::after {
  content: '';
  position: absolute;
  top: 22px;
  left: 22px;
  width: 41px;
  height: 1px;
  background-color: #fff;
  transform: translate(-50%, -50%) rotate(-45deg);
  pointer-events: none;
}

/* Simulation Buttons
*****************************************************************/
.sim_btns {
  display: flex;
  gap: 16px;
  padding-top: 16px;
  @media (width < 480px) {
    flex-direction: column;
    gap: 10px;
  }
}

.sim_btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 62px;
  padding-inline: 12px;
  font-size: 16px;
  font-weight: bold;
  font-family: var(--font_gothic);
  text-decoration: none;
  border: 1px solid var(--main_c);
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
  white-space: nowrap;
  cursor: pointer;
  position: relative;
  &::before {
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 5px;
    left: 5px;
    background-color: #55B496;
    z-index: -1;
  }
  @media (width < 480px) {
    min-height: 52px;
    font-size: 14px;
    white-space: normal;
    text-align: center;
  }
}

.sim_btn_fill {
  background-color: var(--point_c);
  color: var(--font_c);
  position: relative;
  &::after {
    content: "";
    display: block;
    border: var(--font_c) solid 1px;
    position: absolute;
    top:5px;
    right: 5px;
    bottom: 5px;
    left: 5px;
  }
  &:hover {
    background-color: var(--font_c);
    color: #FFF;
    text-decoration: none;
    &::after {
      border: #FFF solid 1px;
    }
  }
}


.sim_btn_outline {
  background-color: #fff;
  color: var(--main_c);
  position: relative;
  &::after {
    content: "";
    display: block;
    border: var(--main_c) solid 1px;
    position: absolute;
    top:5px;
    right: 5px;
    bottom: 5px;
    left: 5px;
  }
  &:hover {
    background-color: var(--font_c);
    color: #fff;
    text-decoration: none;
    &::after {
      border: #FFF solid 1px;
    }
  }
}

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

