@charset "UTF-8";

/* P-TOP-MV
---------------------------------*/
#p-top-mv {
  position: relative;
  background: linear-gradient(135deg, #1947cc 0%, #1d58de 64%, #2d64df 100%);
  padding:3.2rem 2rem 4.8rem;
}
.mv-bg-mask {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.hero-bg {
  position: absolute;
  pointer-events: none;
}
.circle-large {
  top: -15.5rem;
  left: -13.5rem;
  width: 38rem;
  height: 38rem;
  border: 7.2rem solid rgba(106, 149, 255, .22);
  border-radius: 50%;
}
.dots-left,
.dots-right {
  width: 15rem;
  height: 12rem;
  opacity: .45;
  background-image: radial-gradient(rgba(255, 255, 255, .36) 2.4px, transparent 2.4px);
  background-size: 2.4rem 2.4rem;
}
.dots-left {
  left: 4rem;
  bottom:4rem;
}
.dots-right {
  right: 2rem;
  top: 1.6rem;
}
.rings {
  right: -27rem;
  bottom: -27rem;
  width: 54rem;
  height: 54rem;
  border-radius: 50%;
  background: repeating-radial-gradient(circle, rgba(255,255,255,.18) 0 2px, transparent 2px 9px);
  opacity: .75;
}

@media screen and (max-width:960px) {
  #p-top-mv{
    padding:2.4rem 2rem 3rem;
  }
  .dots-left,
  .dots-right,
  .rings{
    display: none;
  }
  .circle-large {
    top: -12rem;
    left: -12rem;
    width: 24rem;
    height: 24rem;
    border: 4rem solid rgba(106, 149, 255, .22);
  }
}

.mv-inner{
  max-width: 114rem;
  margin:0 auto;
  position: relative;
  z-index: 1;
}
.mv-header{
  color:#fff;
  margin-bottom:3.2rem;
}
.mv-header .mv-header_sub-title{
  font-weight: 700;
  line-height:1.2;
  margin-bottom:.8rem;
}
.mv-header .mv-header_row {
  display: flex;
  align-items: center;
  gap: 6.4rem;
}
.mv-header_row .title {
  font-size: 5.6rem;
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: .06em;
  position: relative;
  display: inline-block;
  padding-bottom: .2rem;
}
.mv-header_row .title::after {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: .3rem;
  background: currentColor;
  content: "";
  transform: scaleX(0);
  transform-origin: left center;
  animation: heroTitleUnderline .4s ease-out .25s forwards;
}

@keyframes heroTitleUnderline {
  to {
    transform: scaleX(1);
  }
}

@media screen and (max-width:960px) {
  .mv-header{
    margin-bottom:2.4rem;
  }
  .mv-header .mv-header_row{
    display: block;
  }
  .mv-header .mv-header_sub-title{
    font-size:1.6rem;
  }
  .mv-header_row .title{
    font-size:3.6rem;
    margin-bottom:.8rem;
  }
}

.search-card{
  backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, .16);
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: var(--border-radius-16);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .03);
  padding: 3.2rem 8rem;
}
.search-card_header{
  position: relative;
  padding-left:6.6rem;
  color:#fff;
  margin-bottom:1.6rem;
}
.search-card_header::before {
  position: absolute;
  content: "";
  top: 0;
  left: 0;
  width: 5.8rem;
  height: 5.8rem;
  background: url(../img/icon/terms.svg) center / cover;
}
.search-card_header .title{
  font-size:2.6rem;
  font-weight:700;
  line-height: 1.2;
  margin-bottom:.4rem;
}
.search-card_header .txt{
  font-size:1.6rem;
  line-height: 1.5;
  font-weight:700;
}
@media screen and (max-width:960px) {
  .search-card{
    padding: 2rem;
  }
  .search-card_header .title{
    font-size:2.2rem;
  }
  .search-card_header .txt{
    font-size:1.4rem;
  }
}
.select-row {
  display: grid;
  grid-template-columns: 340px auto minmax(0, 1fr);
  align-items: end;
  gap: .8rem;
}
.select-row .step-title{
  display: block;
  color:#fff;
  font-size:1.5rem;
  font-weight:700;
  margin-bottom:.4rem;
}
.select-row_category,
.select-row_trouble {
  position: relative;
}
.search-card select,
.search-card input {
  font-weight: 700;
}
.search-card select,
.search-card input {
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, .14);
}
.select-row_category::after {
  position: absolute;
  right: 15px;
  bottom: 24px;
  width: 0;
  height: 0;
  border-top: 7px solid #4b5365;
  border-right: 5px solid transparent;
  border-left: 5px solid transparent;
  content: "";
  pointer-events: none;
}

.select-row_arrow {
  display: grid;
  place-items: center;
  padding-bottom: 1.4rem;
}
.select-row_arrow img {
  display: block;
  width: 1.6rem;
  height: auto;
}
.search-card_button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(80%, 480px);
  min-height: 64px;
  margin: 24px auto 0;
  border: 0;
  border-radius: 999px;
  background: #FF950B;
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-size: 1.8rem;
  font-weight:700;
  box-shadow: 0 8px 16px rgba(255, 149, 15, .28);
  transition: background-color .25s ease, box-shadow .25s ease, transform .25s ease;
}
.search-card_button:disabled {
  background: #cccccc;
  cursor: not-allowed;
  box-shadow: none;
}
.search-card_button:not(:disabled):hover,
.search-card_button:not(:disabled):focus-visible {
  background: #ff8500;
  box-shadow: 0 12px 22px rgba(0, 0, 0, .16);
  transform: translateY(-2px);
  outline: none;
}
.search-card_button::before {
  content: "";
  width: 20px;
  height: 20px;
  margin-right: 8px;
  background: url(../img/icon/search-btn.svg) center / cover;
}


#js-trouble-suggest{
  display: none;
  position: absolute;
  top: calc(100% + 2px);
  left: 0;
  width: 100%;
  margin: 0;
  padding: 0 .8rem .8rem;
  background-color: rgb(244, 249, 255);
  border: 1px solid rgb(179, 212, 255);
  border-radius: .4rem;
  z-index: 100;
  max-height: 280px;
  overflow-y: auto;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 8px;
}
#js-input-trouble:disabled {
  cursor: not-allowed;
  background: #eef1f6;
  color: #a8afbd;
  opacity: 1;
}


.suggest-item {
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
  border: .1rem solid transparent;
  border-radius: .4rem;
  padding: 1.6rem 4rem 1.6rem 1.6rem;
  background: #eaf3ff;
  font-size: 1.6rem;
  line-height: 1.5;
  cursor: pointer;
  transition: border-color .2s ease;
  margin-top:.8rem;
}
.suggest-item:hover,
.suggest-item:focus-visible {
  border:.1rem solid var(--color-blue);
}
.suggest-item::after {
  position: absolute;
  right: 1.6rem;
  top: 50%;
  content: "";
  width: 1rem;
  height: 1rem;
  background: url(../img/icon/list-arrow.svg) center / cover;
  transform: translateY(-50%);
  transition: transform .2s ease;
}
.suggest-item:hover::after,
.suggest-item:focus-visible::after {
  transform: translateY(-50%) translateX(3px);
}
.suggest-item .suggest-badge{
  display: inline-block;
  font-size: 1.2rem;
  padding: .2rem .6rem;
  border-radius: .4rem;
  font-weight: 700;
  white-space: nowrap;
}
.suggest-badge.suggest-badge-keyword{
  color: #fff;
  background-color: #0088cc;
}
.suggest-badge.suggest-badge-trouble{
  color: #fff;
  background-color: #666;
}
@media screen and (max-width:960px) {
  .select-row{
    grid-template-columns: 1fr;
    padding-top:1.6rem;
    border-top:.1rem solid rgba(255,255,255,.5);
  }
  .select-row .step-title{
    text-align: center;
  }
  .select-row_arrow {
    padding-bottom: 0;
  }
   .select-row_arrow img {
    transform: rotate(90deg);
    width:2rem;
  }
  .search-card_button {
    font-size: 1.6rem;
  }
}

.search-card_footer{
  position: relative;
}
#js-search-error{
  display: none;
  position: absolute;
  bottom: calc(100% - 8px);
  left: 50%;
  background-color: #ffcdd2;
  color: #c62828;
  padding: 8px 15px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: bold;
  white-space: nowrap;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  transform: translateX(-50%);
  z-index: 10;
}
#js-search-error::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  border-top: 6px solid #ffcdd2;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  transform: translateX(-50%);
}


/* P-TOP-TROUBLE
---------------------------------*/
#p-top-trouble{
  padding-top:6.4rem;
}
.tab-list {
  display: flex;
  gap: .4rem;
  justify-content: center;
  margin-bottom:4rem;
}
.tab-list .item {
  background-color: #fff;
  border-radius: .8rem;
  border: .1rem solid var(--color-blue);
  color:var(--color-blue);
  cursor: pointer;
  display: block;
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.4;
  padding: 2.4rem 1.6rem 2.4rem 4.2rem;
  transition:
    background-color .25s ease,
    color .25s ease,
    border-color .25s ease;
  position: relative;
}
.tab-list .item.is-active,
.tab-list .item:hover {
  background-color: var(--color-blue);
  color:#fff;
}
.tab-list .item::before{
  position: absolute;
  content: "";
  top: 50%;
  left: 1.6rem;
  width: 2rem;
  height: 2rem;
  transform: translateY(-50%);
  mask-repeat: no-repeat;
  background-color: var(--color-blue);
  transition: background-color .25s ease;
}
.tab-list .item.is-active::before,
.tab-list .item:hover::before  {
  background-color: #fff;
}
.tab-list .item.cat-title-phone::before {
  mask-image: url(../img/icon/category/phone.svg);
  -webkit-mask-image: url(../img/icon/category/phone.svg);
}
.tab-list .item.cat-title-utm::before {
  mask-image: url(../img/icon/category/utm.svg);
  -webkit-mask-image: url(../img/icon/category/utm.svg);
}
.tab-list .item.cat-title-security_switch::before {
  mask-image: url(../img/icon/category/security-switch.svg);
  -webkit-mask-image: url(../img/icon/category/security-switch.svg);
}
.tab-list .item.cat-title-server::before {
  mask-image: url(../img/icon/category/server.svg);
  -webkit-mask-image: url(../img/icon/category/server.svg);
}
.tab-list .item.cat-title-wifi::before {
  mask-image: url(../img/icon/category/wifi.svg);
   -webkit-mask-image: url(../img/icon/category/wifi.svg);
}
.tab-list .item.cat-title-printer::before {
  mask-image: url(../img/icon/category/printer.svg);
  -webkit-mask-image: url(../img/icon/category/printer.svg);
}
.tab-list .item.cat-title-ups::before {
  mask-image: url(../img/icon/category/ups.svg);
  -webkit-mask-image: url(../img/icon/category/ups.svg);
}
.js-tab-content {
  display: none;
}
.js-tab-content.is-show {
  display: block;
  animation-name: displayAnime;
  animation-duration: .5s;
  animation-fill-mode: forwards;
}
@keyframes displayAnime{
  from { opacity: 0; }
  to { opacity: 1; }
}
@media screen and (max-width:960px) {
  #p-top-trouble{
    padding-top:4.8rem;
  }
  .tab-list {
    flex-direction: column;
    gap: .8rem;
    margin-bottom: 3.2rem;
  }
  .tab-list > * {
    width: 100%;
  }
  .tab-list .item {
    font-size: 1.4rem;
    padding: 1.6rem 1rem 1.6rem 4.2rem;
  }
}
