@charset "UTF-8";

:root {
  /* color */
  --color-black: #1a1c1e;
  --color-white: #fff;
  --color-gray-1: #f7f6f8;
  --color-gray-2: #eeedf1;
  --color-gray-3: #e4e3e9;
  --color-gray-4: #5d5e61;
  --color-main: #8223d2;
  --color-sub-1: #f9f4fd;
  --color-sub-2: #f2e9fa;
  --color-sub-3: #d9bdf1;

  --color-pink-1: #ff5070;
  --color-pink-2: #ffedf1;
  --color-blue-1: #4a68f9;
  --color-blue-2: #edf0fe;
  --color-green-1: #64eda5;
  --color-green-2: #e0fbed;
  --color-green-3: #008841;

  /* gradation */
  --gradation: linear-gradient(45deg, #8223d2, #ff5070);
  --gradation-bg: linear-gradient(45deg, #8223d233, #ff507033);

  /* shadow */
  --shadow: 0px 3px 6px 0px rgba(51, 51, 51, 0.1);

  /* 角丸 */
  --radius-S: 4px;
  --radius-M: 6px;
  --radius-L: 8px;
  --radius-round: 80px;

  /* fontsize */
  --fs-07: 0.4375rem;
  --fs-08: 0.5rem;
  --fs-10: 0.625rem;
  --fs-12: 0.75rem;
  --fs-13: 0.8125rem;
  --fs-14: 0.875rem;
  --fs-15: 0.9375rem;
  --fs-16: 1rem;
  --fs-17: 1.0625rem;
  --fs-18: 1.125rem;
  --fs-19: 1.1875rem;
  --fs-20: 1.25rem;
  --fs-22: 1.375rem;
  --fs-24: 1.5rem;
  --fs-26: 1.625rem;
  --fs-28: 1.75rem;
  --fs-30: 1.875rem;
  --fs-32: 2rem;
  --fs-34: 2.125rem;
  --fs-36: 2.25rem;
  --fs-38: 2.375rem;
  --fs-40: 2.5rem;
  --fs-48: 3rem;
  --fs-60: 3.75rem;

  /* fontweight */
  --fw-R: 400;
  --fw-M: 500;
  --fw-SB: 600;
  --fw-B: 700;
  --fw-EB: 800;
  --fw-BK: 900;

  /* 英数字見出し用フォント */
  --font-en: "Montserrat", sans-serif;
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
:where(h2, h3, h4) {
  font-weight: var(--fw-B);
  text-align: center;
  line-height: 1.2;
  line-height: 1.4;
}
:where(h1) {
  line-height: 1;
}
:where(h2) {
  font-size: var(--fs-28);
  margin-bottom: 32px;
}
:where(h3) {
  font-size: var(--fs-24);
}
:where(h4) {
  font-size: var(--fs-20);
}
:where(a) {
  color: var(--color-black);
  text-decoration: none;
}
:where(a:hover, button:hover, a:active, button:active) {
  opacity: 0.7;
  transition: 0.2s;
}
:where(ol li, ul li) {
  list-style: none;
}
:where(sup) {
  font-size: 0.6em;
}
:where(button) {
  padding: 0;
  border: none;
  outline: none;
  font: inherit;
  color: inherit;
  background: none;
}
:where(summary) {
  display: block;
  list-style-type: none;
}
:where(summary::-webkit-details-marker) {
  display: none;
}
html {
  scroll-padding-top: 60px;
}
body {
  background-color: var(--color-white);
  color: var(--color-black);
  font-family:
    "Noto Sans JP", "メイリオ", "Meiryo", "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W3", Hiragino Sans, "Osaka", "MS PGothic", -apple-system, BlinkMacSystemFont, arial, helvetica, sans-serif;
  font-feature-settings: "palt";
  font-kerning: normal;
  font-size: var(--fs-16);
  line-height: 1.4;
}

/* 共通パーツ ************************************************ */
.pc-only {
  display: none;
}
.l-section {
  padding: 40px 16px 60px;
}
.p-about.l-section,
.p-feature.l-section {
  padding: 40px 16px 40px;
}
.p-recommend.l-section {
  padding: 16px 16px 24px;
}
.p-trouble.l-section {
  padding: 24px;
}

.l-wrap {
  margin: 0 auto;
  max-width: 800px;
}
.p-plan .l-wrap {
  padding: 0 16px;
}
.l-card {
  border: solid 2px var(--color-gray-3);
  border-radius: var(--radius-L);
  padding: 20px;
}

.c-text_nowrap {
  white-space: nowrap;
}

/* リスト */
.c-list_note li {
  font-size: var(--fs-12);
}
.c-list_note li,
.c-list_disc li {
  margin-top: 4px;
  margin-left: 1em;
}
.c-list_note li::before,
.c-list_disc li::before {
  flex-shrink: 0;
  display: block;
  margin-left: -1em;
  position: absolute;
  width: 1em;
  height: 1em;
}
ul.c-list_note > li::before {
  content: "※";
}
.c-list_disc > li::before {
  content: "・";
}
/* リンク */
.c-link_line {
  text-decoration: underline;
}
.c-link_pdf {
  position: relative;
}
.c-link_pdf::after {
  content: "";
  background: url(../img/icon/icon_pdf.svg) no-repeat;
  background-size: contain;
  position: absolute;
  right: -1.3em;
  bottom: 0.1em;
  width: 1em;
  height: 1em;
}

/* 値段 */
.c-price {
  & p:first-of-type {
    font-weight: var(--fw-BK);
  }
  & p:last-of-type {
    font-size: var(--fs-14);
    font-weight: var(--fw-B);
    white-space: nowrap;
    & span {
      font-family: var(--font-en);
      font-size: var(--fs-22);
      vertical-align: top;
      line-height: 0.8;
      margin: 0 1px;
    }
  }
}

/* contact ************************************************ */
.c-contact {
  background: var(--gradation-bg);
  padding: 24px 0;
  width: 100%;
}
.c-contact_button {
  background: var(--gradation);
  border-radius: var(--radius-round);
  box-shadow: var(--shadow);
  color: var(--color-white);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: var(--fs-20);
  font-weight: var(--fw-B);
  margin: 0 auto;
  padding-bottom: 4px;
  position: relative;
  width: 320px;
  height: 60px;
  &::after {
    content: "";
    background: url(../img/icon/btn_arrow.svg) no-repeat;
    background-size: contain;
    display: block;
    position: absolute;
    top: 23px;
    right: 1rem;
    width: 10px;
    height: 12px;
  }
}
/* 追従ボタン */
.c-contact-follow {
  box-shadow: 0 -3px 6px 0px rgba(51, 51, 51, 0.1);
  border-top-left-radius: var(--radius-L);
  border-top-right-radius: var(--radius-L);
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: fixed;
  bottom: 0;
  width: 100%;
  height: 54px;
  z-index: 1;
  &.active {
    z-index: 0;
  }
}
.c-contact-follow-l {
  background: var(--gradation);
  border-top-left-radius: var(--radius-L);
  color: var(--color-white);
  font-size: var(--fs-18);
  font-weight: var(--fw-B);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}
.c-contact-follow-r {
  background-color: var(--color-white);
  border-top-right-radius: var(--radius-L);
  color: var(--color-main);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}
.c-contact-follow-r_icon {
  position: relative;
  margin-left: 32px;
  line-height: 1.2;
}
.c-contact-follow-r_icon > span:first-child {
  font-weight: var(--fw-SB);
  line-height: 1.2;
}
.c-contact-follow-r_icon > span:last-child {
  font-size: var(--fs-14);
  font-weight: var(--fw-SB);
}
.c-contact-follow-r_icon::before {
  content: "";
  background-size: contain;
  background-repeat: no-repeat;
  background-image: url(../img/icon/icon_chat.svg);
  display: block;
  position: absolute;
  bottom: 6px;
  left: -36px;
  width: 32px;
  height: 26px;
}
/* 追従ボタン -終- */

/* header ************************************************ */
.l-header {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(2px);
  display: flex;
  padding: 0 20px;
  position: fixed;
  top: 0;
  height: 60px;
  width: 100%;
  z-index: 2;
}
.l-header h1 {
  align-self: center;
}
.l-header_nav {
  position: relative;
  width: 100%;
}
.l-header_nav_menu {
  background: var(--color-white);
  box-shadow: -3px 3px 6px 0px rgba(51, 51, 51, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  margin-top: 60px;
  padding: 20px;
  position: fixed;
  right: 0;
  width: 232px;
  height: 100vh;
  transform: translate(300px, 0);
  transition: .2s;
}
.l-header_nav_menu.active {
  transform: translate(0, 0);
}
.l-header a {
  box-sizing: border-box;
  font-weight: var(--fw-SB);
  display: grid;
}
.l-header_button {
  font-size: var(--fs-16);
  padding-bottom: 2px;
  padding-right: 0.5rem;
  width: 100%;
  width: 180px;
  height: 40px;
  &::after {
    right: 8px;
    top: 13px;
  }
}

.l-header_button.myportal {
  background: var(--color-main);
  margin-top: 1rem;
  & p {
    position: relative;
    margin-left: 1.2rem;
    &::before {
      content: "";
      display: block;
      background-size: contain;
      background-repeat: no-repeat;
      background-image: url(../img/icon/icon_myportal.svg);
      position: absolute;
      top: 2px;
      left: -1.2rem;
      width: 1.2rem;
      height: 1.2rem;
    }
    &::after {
      content: "ご契約者さま向け";
      background: var(--color-white);
      color: var(--color-black);
      font-size: var(--fs-12);
      position: absolute;
      width: 105%;
      top: -2rem;
      left: -12%;
    }
  }
}

/* ハンバーガーメニュー */
.l-header_nav_button {
  position: absolute;
  bottom: 0;
  right: 0;
  font-weight: var(--fw-B);
  font-family: var(--font-en);
  font-size: 8px;
  width: 27px;
  height: 39px;
}
.l-header_nav_button span {
  background: var(--color-black);
  border-radius: var(--radius-round);
  display: block;
  width: 24px;
  height: 2px;
  position: absolute;
  right: 2px;
  transition: 0.2s;
}
.l-header_nav_button span:nth-child(1) {
  top: -7px;
}
.l-header_nav_button span:nth-child(2) {
  top: 0px;
}
.l-header_nav_button span:nth-child(3) {
  top: 7px;
}
.l-header_nav_button.active span:nth-child(1) {
  rotate: -45deg;
  translate: 0 10px;
}
.l-header_nav_button.active span:nth-child(2) {
  display: none;
}
.l-header_nav_button.active span:nth-child(3) {
  rotate: 45deg;
  top: 3px;
}
.l-nav_bg {
  background-color: rgba(51, 51, 51, 0.5);
  display: none;
  position: fixed;
  z-index: 1;
  width: 100%;
  height: 100vh;
}
.l-nav_bg.active {
  display: block;
}
/* ハンバーガーメニュー -終- */

/* kv ************************************************ */
.p-kv {
  margin-top: 60px;
  background: linear-gradient(0deg, #fdedff, var(--color-sub-3));
  padding: 24px 8px;
  position: relative;
  overflow: hidden;
  z-index: 0;
  & h2 {
    font-size: var(--fs-32);
    font-weight: var(--fw-B);
    text-align: center;
  }
  &::before {
    content: "";
    background: url(../img/kv_bg_l.svg) no-repeat;
    background-size: contain;
    position: absolute;
    display: block;
    position: absolute;
    width: 80vw;
    height: 110vw;
    left: -37vw;
    bottom: -56vw;
    mix-blend-mode: multiply;
    z-index: -1;
  }
  &::after {
    content: "";
    background: url(../img/kv_bg_r.svg) no-repeat;
    background-size: contain;
    position: absolute;
    display: block;
    position: absolute;
    width: 90vw;
    height: 110vw;
    right: -30vw;
    top: -46vw;
    mix-blend-mode: multiply;
    z-index: -1;
  }
}

.p-kv_wrap img {
  display: block;
  margin: 0 auto;
  width: 100%;
  max-height: 200px;
}
.p-kv_inner {
  width: 100%;
  max-width: 272px;
  margin: 16px auto 0;
  & img:last-of-type {
    margin-top: 8px;
  }
}

/* about ************************************************ */
.p-about_lead {
  font-weight: var(--fw-B);
  text-align: center;
  display: flex;
  justify-content: center;
  & p {
    background-color: var(--color-sub-2);
    border-radius: var(--radius-S);
    padding: 6px;
    width: 100%;
    max-width: 164px;
    & span {
      display: none;
    }
  }
  & img {
    width: 1rem;
    height: 1rem;
    margin: auto 2px;
  }
}
.p-about_text {
  text-align: center;
  margin: 24px auto;
  line-height: 1.6;
}
.p-about_title {
  font-weight: var(--fw-B);
  text-align: center;
  margin-bottom: 1rem;
}
.p-about_wrap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
}
.p-about_inner {
  border-radius: var(--radius-S);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 4px 6px 6px;
  height: 48px;
  &.green {
    background-color: var(--color-green-2);
  }
  &.pink {
    background-color: var(--color-pink-2);
  }
  &.blue {
    background-color: var(--color-blue-2);
  }
  &.c-price p:last-of-type {
    font-size: var(--fs-10);
    & span {
      font-size: var(--fs-16);
    }
  }
}

/* recommend ************************************************ */
.p-recommend {
  background-color: var(--color-pink-2);
  & h2 {
    font-size: var(--fs-16);
    margin-bottom: 1rem;
  }
}
.p-recommend_title {
  color: var(--color-pink-1);
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 1rem;
  height: 28px;
  & p:first-of-type {
    font-size: var(--fs-24);
    line-height: 1;
  }
  & p:last-of-type {
    background-color: var(--color-white);
    border-radius: var(--radius-S);
    padding: 5px 8px;
  }
}
.p-recommend_wrap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}
.p-recommend_inner {
  background-color: var(--color-white);
  border-radius: var(--radius-S);
  display: grid;
  align-content: start;
  justify-items: center;
  gap: 6px;
  padding: 8px 8px 12px;
  text-align: center;
  line-height: 1.3;
  grid-auto-rows: 32px 1fr 1fr;
  align-items: stretch;
  & img {
    width: 32px;
    height: 32px;
  }
  & p:first-of-type {
    font-weight: var(--fw-B);
    margin: auto;
  }
  & p:last-of-type {
    font-size: var(--fs-14);
  }
}

/* plan ************************************************ */
/* プラン概要 */
.p-plan {
  padding: 40px 0 48px;
  & h3 {
    margin-bottom: 24px;
  }
}
.p-plan-outline {
  display: grid;
  gap: 16px;
  margin-bottom: 32px;
  padding: 0 16px;
}
.p-plan-outline_inner {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  text-align: center;
  position: relative;
  width: 100%;
  max-width: 360px;
  margin: 0 auto;
  &.l-card {
    padding: 12px;
  }
}
.p-plan-outline_title {
  font-weight: var(--fw-BK);
  white-space: nowrap;
  & br {
    display: none;
  }
}
.p-plan-outline_text {
  font-weight: var(--fw-B);
  font-size: var(--fs-12);
}
.p-plan-outline_badge {
  position: absolute;
  width: 64px;
  height: 64px;
  top: -90px;
  right: -20px;
  rotate: 10deg;
}
.p-plan-outline_card {
  display: flex;
  gap: 8px;
  flex-direction: row;
  justify-content: center;
  position: relative;
}
.p-plan-outline_card .c-price {
  & p:first-of-type {
    font-size: var(--fs-20);
    margin-bottom: 4px;
  }
  & p:last-of-type {
    position: relative;
    &::after {
      content: "";
      display: inline-block;
      width: 100%;
      height: 4px;
      position: absolute;
      left: 0;
      bottom: 0px;
      z-index: -1;
    }
    & span {
      font-size: var(--fs-32);
      vertical-align: baseline;
    }
  }
}
/* プラン 概要 */
.p-plan-outline_inner {
  &.green {
    & .p-plan-outline_title {
      color: var(--color-green-3);
    }
    & .p-plan-outline_card .c-price p:last-of-type::after {
      background-color: var(--color-green-1);
    }
  }
  &.pink {
    & .p-plan-outline_title {
      color: var(--color-pink-1);
    }
    & .p-plan-outline_card .c-price p:last-of-type::after {
      background-color: var(--color-pink-1);
    }
  }
  &.blue {
    & .p-plan-outline_title {
      color: var(--color-blue-1);
    }
    & .p-plan-outline_card .c-price p:last-of-type::after {
      background-color: var(--color-blue-1);
    }
  }
}

/* 3プラン */
.p-plan_wrap {
  display: grid;
  grid-template-rows: auto 1fr;
  width: 258px;
  margin: 0 auto;
  &.green {
    & .p-plan-speech {
      background-color: var(--color-green-2);
      &::after {
        border-color: transparent var(--color-green-2);
      }
    }
    & .p-plan_inner .c-price {
      border-color: var(--color-green-1);
    }
    & .p-plan_icon-main_wrap div,
    .p-plan_icon-other_wrap div {
      background-color: var(--color-green-2);
    }
  }
  &.pink {
    & .p-plan-speech {
      background-color: var(--color-pink-2);
      &::after {
        border-color: transparent var(--color-pink-2);
      }
    }
    & .p-plan_inner .c-price {
      border-color: var(--color-pink-1);
    }
    & .p-plan_icon-main_wrap div,
    .p-plan_icon-other_wrap div {
      background-color: var(--color-pink-2);
    }
  }
  &.blue {
    & .p-plan-speech {
      background-color: var(--color-blue-2);
      &::after {
        border-color: transparent var(--color-blue-2);
      }
    }
    & .p-plan_inner .c-price {
      border-color: var(--color-blue-1);
    }
    & .p-plan_icon-main_wrap div,
    .p-plan_icon-other_wrap div {
      background-color: var(--color-blue-2);
    }
  }
}

/* 吹き出し */
.p-plan-speech {
  font-size: var(--fs-12);
  font-weight: var(--fw-B);
  border-radius: var(--radius-M);
  display: inline-block;
  text-align: center;
  padding: 8px;
  position: relative;
  margin-bottom: 12px;
  width: 100%;
  &::after {
    content: "";
    position: absolute;
    border-style: solid;
    border-width: 6px 10px 6px 0;
    border-color: transparent var(--color-gray-3) transparent transparent;
    bottom: 4px;
    left: 50%;
    translate: -50% 100%;
    rotate: -90deg;
  }
  & p:first-child {
    font-size: var(--fs-10);
  }
}

.p-plan_inner {
  padding: 12px;
  .c-price {
    border-bottom: solid 2px;
    text-align: center;
    margin-bottom: 12px;
    padding-bottom: 12px;
    position: relative;
    & p:first-of-type {
      font-size: var(--fs-20);
      margin-bottom: 2px;
    }
    & .p-plan_badge {
      position: absolute;
      width: 88px;
      height: 88px;
      top: -24px;
      right: -40px;
      rotate: 10deg;
      z-index: 1;
    }
  }
}
.p-plan_card {
  font-size: var(--fs-14);
  font-weight: var(--fw-B);
  display: grid;
  gap: 12px;
}
.p-plan_card_bg {
  background-color: var(--color-gray-1);
  border-radius: var(--radius-S);
  text-align: center;
  padding: 4px 8px;
}
.p-plan_item {
  font-size: var(--fs-14);
  font-weight: var(--fw-B);
  display: grid;
  grid-template-columns: 88px 1fr;
  align-items: center;
  gap: 8px;
  &.start {
    align-items: start;
  }
  & .p-plan_card_bg {
    width: 88px;
    height: fit-content;
    &.sm {
      font-size: var(--fs-12);
      line-height: 1.2;
    }
  }
  & p:last-of-type {
    line-height: 1.2;
  }
  & span:not(.note) {
    font-family: var(--font-en);
    font-size: var(--fs-24);
    margin: 0 1px;
  }
  & span.note {
    font-weight: var(--fw-R);
    font-size: var(--fs-12);
  }
}
.p-plan_icon-main {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.p-plan_icon-main_wrap {
  width: 100%;
  height: fit-content;
  margin-top: 8px;
  & div {
    border-radius: var(--radius-round);
    aspect-ratio: 1 / 1;
    margin: 0 auto 4px;
    width: 100%;
    max-width: 40px;
    height: 100%;
    max-height: 40px;
    & img {
      width: 100%;
    }
  }
  & p {
    font-size: var(--fs-08);
    font-weight: var(--fw-R);
    text-align: center;
  }
}
.p-plan_icon-other {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4px;
}
.p-plan_icon-other_wrap {
  display: grid;
  grid-template-columns: 32px auto;
  align-items: center;
  gap: 4px;
  margin-top: 8px;
  padding: 0 8px;
  & div {
    border-radius: var(--radius-round);
    aspect-ratio: 1 / 1;
    margin: 0 auto 4px;
    width: 100%;
    max-width: 32px;
    height: 100%;
    max-height: 32px;
    & img {
      width: 100%;
    }
  }
  & p {
    font-size: var(--fs-10);
    font-weight: var(--fw-R);
  }
}

/* スライダー */
.splide {
  padding: 0 0 40px;
}
.splide__pagination {
  position: relative;
  z-index: 0;
}
.splide__pagination__page {
  background-color: var(--color-gray-3);
  margin: 24px 8px 0;
  &.is-active {
    background-color: var(--color-main);
    transform: initial;
  }
}
.splide__track {
  z-index: 0;
}
.splide__arrow {
  background: var(--color-gray-4);
  box-shadow: var(--shadow);
  opacity: 1;
  z-index: 1;
  & svg {
    fill: var(--color-white);
  }
  &:disabled {
    opacity: 0;
  }
}
.active.splide {
  z-index: 0;
}

.p-plan-detail {
  display: grid;
  gap: 40px;
  margin-bottom: 40px;
  & p:has(+ h4) {
    font-weight: var(--fw-B);
    line-height: 1;
    text-align: center;
    margin-bottom: 1rem;
    & .common {
      color: var(--color-main);
    }
    & .green {
      color: var(--color-green-1);
    }
    & .pink {
      color: var(--color-pink-1);
    }
    & .blue {
      color: var(--color-blue-1);
    }
  }
  & h4 {
    font-size: var(--fs-24);
    margin-bottom: 24px;
  }
}
.p-plan-detail_inner {
  &.l-card:has(.common) {
    border-color: var(--color-sub-3);
  }
}

/* 追加オプション */
.option.p-plan-detail_inner {
  & h4 + p {
    font-weight: var(--fw-B);
  }
  & > p {
    text-align: center;
    margin-bottom: 16px;
  }
  & .p-plan-detail_card {
    display: grid;
    gap: 8px;
  }
  & .p-plan_card_bg {
    height: 34px;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    & + p {
      line-height: 1;
    }
  }
}

/* 故障診断・トラブルサポート */
.troubleshooting.p-plan-detail_inner {
  & h4 {
    margin-bottom: 8px;
    & + p {
      font-weight: var(--fw-B);
      text-align: center;
      margin-bottom: 24px;
    }
  }
  & .p-plan-detail_card {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 24px;
    & img {
      width: 108px;
      height: 108px;
    }
  }
  & .c-list_disc {
    background-color: var(--color-gray-1);
    border-radius: var(--radius-M);
    font-size: var(--fs-12);
    position: relative;
    margin: 24px auto 0;
    padding: 4px 8px 8px;
    width: 100%;
    max-width: 312px;
    & span {
      position: absolute;
      right: 8px;
    }
  }
}

/* 機器保証サービス */
.warranty.p-plan-detail_inner {
  & h4 + p {
    margin-bottom: 24px;
  }
  & .p-plan-detail_card {
    display: grid;
    gap: 1rem;
    margin-bottom: 8px;
    & + ul {
      margin-bottom: 24px;
    }
  }
  & .p-plan-detail_item {
    background-color: var(--color-sub-1);
    border-radius: var(--radius-S);
    display: grid;
    align-items: center;
    grid-template-columns: 60px auto;
    gap: 8px;
    padding: 8px 12px;
    & div {
      & img {
        display: block;
        height: 20px;
        margin: 0 auto;
      }
      & p:first-of-type {
        font-weight: var(--fw-B);
        text-align: center;
        & span {
          background-color: var(--color-main);
          border-radius: var(--radius-S);
          color: var(--color-white);
          font-size: var(--fs-12);
          font-weight: var(--fw-SB);
          display: block;
          padding-bottom: 1px;
          text-align: center;
          width: 100%;
        }
      }
    }
    & > p {
      font-size: var(--fs-14);
      & span {
        font-weight: var(--fw-B);
      }
    }
  }
}
.p-plan-warranty_wrap {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-bottom: 8px;
}
.p-plan-warranty_inner {
  border: solid 2px var(--color-gray-3);
  border-radius: var(--radius-S);
  padding: 12px 8px 16px;
  font-weight: var(--fw-B);
  & > p {
    color: var(--color-main);
    text-align: center;
    margin-bottom: 1rem;
  }
  &.not {
    background-color: var(--color-gray-1);
    & > p {
      color: var(--color-gray-4);
    }
  }
}
.p-plan-warranty_card {
  display: grid;
  gap: 16px;
  margin: 0 auto;
  width: max-content;
}
.p-plan-warranty_item {
  display: grid;
  grid-template-columns: 24px auto;
  align-items: center;
  gap: 8px;
  height: 32px;
  & img {
    height: 32px;
  }
  & p {
    font-size: var(--fs-14);
    line-height: 1.2;
  }
}

/* 接続・基本設定サポート */
.basic.p-plan-detail_inner {
  & .p-plan-detail_card {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    justify-content: center;
    gap: 8px;
  }
  & .p-plan-detail_item {
    border-radius: var(--radius-S);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-size: var(--fs-14);
    font-weight: var(--fw-B);
    margin-bottom: 24px;
    padding: 4px 6px 4px;
    width: 100%;
    &.green {
      background-color: var(--color-green-2);
    }
    &.pink {
      background-color: var(--color-pink-2);
    }
    &.blue {
      background-color: var(--color-blue-2);
    }
  }
}

.p-plan_flow {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  padding-bottom: 0;
}
.p-plan_flow_wrap {
  font-size: var(--fs-14);
  font-weight: var(--fw-B);
  text-align: center;
  padding: 8px 8px 16px;
}
.p-plan_flow_inner {
  display: grid;
  align-content: start;
  gap: 16px;
}
.p-plan_flow_card {
  display: grid;
  justify-items: center;
  gap: 8px;
  & img {
    width: auto;
    height: 32px;
  }
  & p:nth-of-type(2) {
    line-height: 1;
    white-space: nowrap;
  }
  & p:nth-of-type(3) {
    font-size: var(--fs-12);
    font-weight: var(--fw-R);
  }
}
.p-plan_flow_title {
  height: 32px;
  & span {
    &.green {
      color: var(--color-green-3);
    }
    &.pink {
      color: var(--color-pink-1);
    }
    &.blue {
      color: var(--color-blue-1);
    }
  }
}
.p-plan_flow_step {
  background-color: var(--color-green-2);
  border-radius: var(--radius-S);
  color: var(--color-gray-4);
  font-family: var(--font-en);
  font-size: var(--fs-12);
  font-weight: var(--fw-B);
  text-align: center;
  padding: 2px 0;
  width: 100%;
  height: 20px;
}
.right .p-plan_flow_step {
  background: linear-gradient(45deg, var(--color-pink-2) 50%, var(--color-blue-2) 50%);
}

/* trouble ************************************************ */
.p-trouble {
  background-color: var(--color-sub-2);
  padding: 24px 16px 40px;
  position: relative;
  & h2 {
    margin-bottom: 1rem;
  }
  &::after {
    content: "";
    position: absolute;
    border-style: solid;
    border-width: 16px 17px 16px 0;
    border-color: transparent var(--color-sub-2) transparent transparent;
    bottom: 8px;
    left: 50%;
    translate: -50% 100%;
    rotate: -90deg;
  }
}
.p-trouble_wrap {
  display: grid;
  gap: 8px;
  width: fit-content;
  margin: 0 auto;
}
.p-trouble_inner {
  display: flex;
  align-items: center;
  gap: 4px;
  font-weight: var(--fw-B);
  & img {
    width: auto;
    height: 54px;
  }
}

/* feature ************************************************ */
.p-feature {
  background-color: var(--color-sub-1);
  padding: 40px 16px;
}
.p-feature_wrap {
  font-size: var(--fs-14);
  display: grid;
  gap: 16px;
}
.p-feature_inner {
  background-color: var(--color-white);
  display: grid;
  align-items: center;
  gap: 8px;
  grid-template-columns: 60px 1fr;
  padding: 12px;
  & br {
    display: none;
  }
  & h3 {
    color: var(--color-main);
    font-size: var(--fs-20);
    text-align: start;
    margin-bottom: 8px;
  }
}
.p-feature_text {
  text-align: center;
  margin-bottom: 0.5rem;
  & img {
    width: auto;
    height: 1.2rem;
    margin-bottom: -0.1em;
    margin-right: 0.3em;
  }
}
.p-feature_text-num {
  color: var(--color-gray-4);
  font-size: var(--fs-40);
  font-weight: var(--fw-EB);
  font-family: var(--font-en);
  line-height: 1;
  margin-bottom: 8px;
  text-align: center;
  & + img {
    margin: 0 auto;
    display: block;
  }
}

/* voice ************************************************ */
.p-voice {
  & .c-list_note {
    max-width: 436px;
    margin: 0 auto 32px;
    & li {
      font-size: var(--fs-16);
      font-weight: var(--fw-SB);
    }
  }
  & .l-card {
    border: none;
  }
}
.p-voice_wrap {
  display: grid;
  gap: 32px;
}
.p-voice_inner {
  border-radius: var(--radius-L);
  background-color: var(--color-gray-1);
  display: flex;
  flex-direction: column;
}
.p-voice_item {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}
.p-voice_item img {
  align-self: center;
  width: 60px;
  height: 60px;
}
.p-voice_text-read {
  font-weight: var(--fw-SB);
}
.p-voice_text-attribute {
  display: block;
  font-size: var(--fs-14);
  text-align-last: right;
  margin-top: auto;
}

/* flow ************************************************ */
.p-flow {
  background-color: var(--color-sub-1);
  & h3 {
    text-align: start;
    position: relative;
    margin-bottom: 32px;
    &::before,
    &::after {
      content: "";
      background-color: var(--color-gray-4);
      display: block;
      position: absolute;
      top: 50%;
      right: 0;
      width: 24px;
      height: 2px;
      transition: .2s;
    }
    &::after {
      rotate: 90deg;
    }
  }
  & :nth-child(3) h3 {
    margin-bottom: 0;
  }
}
.p-flow_wrap {
  background-color: var(--color-white);
  border-radius: var(--radius-L);
  margin: 24px auto;
  padding: 16px;
}
.p-flow_wrap .c-list_note {
  margin-top: 8px;
}
/* サービス加入 */
.join .p-flow_inner {
  border-bottom: solid 2px var(--color-gray-2);
  display: grid;
  grid-template-columns: 72px 1fr;
  align-items: center;
  gap: 8px;
  margin: 0 auto;
  margin-bottom: 16px;
  padding-bottom: 16px;
  width: 100%;
  &:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
  }
}
.p-flow_num {
  color: var(--color-main);
  font-family: var(--font-en);
  font-weight: var(--fw-EB);
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 64px;
  & img {
    margin-top: 4px;
    height: 40px;
  }
}
/* 機器の登録 */
.p-flow h4 {
  color: var(--color-main);
  margin-bottom: 24px;
}
.signup .p-flow_inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  &:has(+ div) {
    margin-bottom: 16px;
  }
  & > p {
    border-bottom: solid 2px var(--color-gray-2);
    padding-bottom: 16px;
    width: 100%;
    & img {
      display: block;
      width: 100%;
      max-width: 257px;
      margin: 0 auto;
    }
  }
}

.signup .p-flow_item {
  background-color: var(--color-gray-1);
  border-radius: var(--radius-M);
  padding: 16px;
  width: 100%;
  max-width: 400px;
  height: 100%;
  & p:first-of-type {
    font-weight: var(--fw-SB);
    text-align: center;
    margin-bottom: 8px;
  }
  & span {
    color: var(--color-main);
  }
}
/* トグル */
.p-flow .hide {
  display: none;
  transition: .2s;
}
.p-flow_content.active {
  display: block;
  & h3::after {
    rotate: 0deg;
  }
  & .hide {
    display: block;
  }
}

/* faq ************************************************ */
.p-faq_wrap {
  margin-top: 12px;
}
.p-faq_text-q {
  cursor: pointer;
  font-weight: var(--fw-SB);
  width: calc(100% - (1em + 8px));
  transition: .2s;
}
.p-faq_text-q,
.p-faq_text-a {
  padding-left: calc(1em + 8px);
  position: relative;
}
.p-faq_text-q span,
.p-faq_text-a span {
  font-family: var(--font-en);
  font-weight: var(--fw-B);
  position: absolute;
  left: 0;
}
.p-faq_text-q span {
  color: var(--color-main);
}
.p-faq_text-a span {
  color: var(--color-gray-4);
}
.p-faq_text-q::before,
.p-faq_text-q::after {
  content: "";
  background-color: var(--color-gray-4);
  display: block;
  position: absolute;
  top: 50%;
  right: -24px;
  width: 1em;
  height: 2px;
  transition: .2s;
}
.p-faq_text-q::after {
  rotate: 90deg;
}
.p-faq_inner {
  margin-top: 8px;
}
.p-faq_inner ul {
  margin-top: 8px;
}
.p-faq_inner li {
  margin-left: 2em;
}
/* faq クリック時 */
.p-faq_text-q.active::after {
  rotate: 0deg;
}

/* contact ************************************************ */
.p-contact {
  background-color: var(--color-gray-1);
  & h3 {
    margin-bottom: 16px;
    &:has(+ .p-contact-other_wrap) {
      font-size: var(--fs-20);
    }
  }
}
.p-contact_inner {
  border-bottom: solid 2px var(--color-gray-4);
  padding-bottom: 40px;
  margin-bottom: 40px;
  & h3 + p {
    margin-bottom: 16px;
  }
}
.p-contact_card {
  display: grid;
  gap: 16px;
}
.p-contact_button {
  background: var(--color-main);
  border-radius: var(--radius-round);
  box-shadow: var(--shadow);
  color: var(--color-white);
  display: grid;
  justify-content: center;
  align-items: center;
  gap: 0;
  font-weight: var(--fw-SB);
  margin: 0 auto;
  padding: 16px;
  position: relative;
  width: 100%;
  max-width: 400px;
  &::after {
    content: "";
    background: url(../img/icon/btn_arrow.svg) no-repeat;
    background-size: contain;
    display: block;
    position: absolute;
    right: 1rem;
    width: 10px;
    height: 12px;
  }
  & p {
    margin-left: 1em;
    position: relative;
    &::before {
      content: "";
      display: block;
      position: absolute;
      height: 24px;
    }
    &.tel::before {
      background: url(../img/icon/icon_tel_w.svg) no-repeat;
      background-size: contain;
      left: -32px;
      width: 24px;
      top: 12px;
    }
    &.chat::before {
      background: url(../img/icon/icon_chat_w.svg) no-repeat;
      background-size: contain;
      left: -36px;
      width: 28px;
    }
    &.myportal::before {
      background: url(../img/icon/icon_myportal.svg) no-repeat;
      background-size: contain;
      left: -36px;
      width: 28px;
    }
  }
}
.p-contact_button-time {
  font-size: var(--fs-14);
}

.p-contact-other_wrap {
  display: grid;
  gap: 16px;
}
.p-contact-other_inner {
  display: flex;
  align-items: center;
  gap: 8px;
  &:last-of-type {
    margin-bottom: 0;
  }
  & a {
    text-decoration: underline;
  }
  & p {
    background-color: var(--color-gray-2);
    border-radius: var(--radius-S);
    color: var(--color-gray-4);
    display: grid;
    align-items: center;
    text-align: center;
    font-size: var(--fs-14);
    font-weight: var(--fw-B);
    width: 72px;
    height: 56px;
  }
}
.p-contact-other_tel dd::before,
.p-contact-other_mail dd::before {
  content: "";
  background-repeat: no-repeat;
  background-image: url(../img/icon/icon_tel.svg);
  background-size: contain;
  display: inline-block;
  margin-right: 4px;
  vertical-align: sub;
  width: 1em;
  height: 1em;
}
.p-contact-other_mail dd::before {
  background-image: url(../img/icon/icon_mail.svg);
}

/* terms ************************************************ */
.p-terms_wrap {
  background-color: var(--color-sub-1);
  border: solid 2px var(--color-gray-4);
  border-radius: var(--radius-L);
  font-weight: var(--fw-B);
  margin-bottom: 32px;
  padding: 20px;
  & p {
    color: var(--color-main);
    font-size: var(--fs-24);
    text-align: center;
    margin-bottom: 16px;
  }
  & ul {
    font-size: var(--fs-12);
    text-indent: -1.8em;
    margin: 0 auto;
    padding-left: 1.5em;
    width: fit-content;
    & span {
      margin-right: 2px;
    }
  }
}
.p-terms a {
  text-decoration: underline;
}
.p-terms_text {
  font-weight: var(--fw-SB);
  margin-bottom: 8px;
}
.p-terms > div > ul {
  margin-bottom: 32px;
}
.p-terms dl {
  background-color: var(--color-gray-1);
  border-radius: var(--radius-M);
  font-size: var(--fs-14);
  padding: 16px 20px 20px;
}

/* footer ************************************************ */
.l-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-bottom: 54px;
  padding: 20px 16px 32px;
}
.l-footer_wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  width: 100%;
}
.l-footer small {
  font-size: var(--fs-12);
}
.l-footer_inner {
  font-size: var(--fs-12);
  display: flex;
  gap: 16px;
  line-height: 1;
}

@media screen and (max-width: 374px) {
  :where(h2) {
    font-size: var(--fs-26);
  }
  :where(h3) {
    font-size: var(--fs-22);
  }
  .c-contact_button:not(.l-header_button) {
    width: calc(100% - 32px);
  }
  .c-contact-follow-r_icon > span:first-child {
    font-size: var(--fs-14);
  }
  .c-contact-follow-r_icon > span:last-child {
    font-size: var(--fs-12);
  }
  .c-contact-follow-r_icon::before {
    left: -32px;
    width: 30px;
  }
  .c-price p:last-of-type {
    display: inline-block;
  }
  .p-about_wrap {
    grid-template-columns: initial;
  }
  .p-plan-outline_badge {
    top: -10px;
    right: 0;
  }
  .p-plan-outline_card {
    flex-direction: column;
  }
  .p-plan-outline_inner.green .p-plan-outline_card img {
    width: auto;
    height: 80px;
  }
  .p-plan_flow_title {
    height: 48px;
  }
  .p-contact_wrap p {
    font-size: var(--fs-12);
  }
  .p-contact-before_item a {
    height: auto;
  }
  .p-contact_button {
    font-size: var(--fs-14);
  }
}

@media screen and (min-width: 768px) {
  .sp-only {
    display: none;
  }
  .pc-only {
    display: block;
  }
  .c-contact-follow-r_icon {
    margin-left: 36px;
  }
  .c-contact-follow-r_icon > span:first-child {
    font-size: var(--fs-18);
  }
  .c-contact-follow-r_icon > span:last-child {
    margin-left: 8px;
  }
  .c-contact-follow-r_icon::before {
    bottom: -6px;
    left: -30px;
    width: 24px;
  }

  .p-kv {
    padding: 54px 8px;
    & h2 {
      font-size: var(--fs-48);
    }
    &::before {
      width: 60vw;
      height: 110vw;
      left: -2vw;
      bottom: -90vw;
    }
    &::after {
      right: -47vw;
    }
  }
  .p-kv_wrap {
    display: grid;
    grid-auto-flow: column;
    justify-content: center;
    gap: 32px;
    & > img {
      height: 100%;
    }
  }
  .p-kv_inner {
    width: 100%;
    max-width: 416px;
    margin-top: 0;
    & img:first-of-type {
      max-width: 272px;
    }
    & img:last-of-type {
      max-width: 416px;
    }
  }

  .p-about_lead {
    & p {
      max-width: 192px;
      & span {
        display: inline-block;
      }
    }
    & img {
      margin: auto 8px;
    }
  }
  .p-about_wrap {
    gap: 16px;
  }
  .p-about_inner {
    flex-direction: row;
    justify-content: center;
    gap: 8px;
    padding: 4px 6px 4px;
    &.c-price p:last-of-type {
      margin-top: 2px;
    }
  }
  .p-recommend_wrap {
    gap: 16px;
  }

  .p-plan-outline {
    grid-template-columns: repeat(3, 1fr);
    padding: 0;
  }
  .p-plan-outline_title br {
    display: block;
  }
  .p-plan-outline_badge {
    top: -10px;
  }
  .p-plan-outline_card {
    flex-direction: column;
  }
  .p-plan-outline_inner {
    width: 100%;
  }
  .p-plan-outline_inner.green .p-plan-outline_card img {
    width: auto;
    height: 80px;
  }
  .p-plan-outline_card .c-price p:last-of-type {
    width: fit-content;
    margin: 0 auto 1rem;
  }

  .option.p-plan-detail_inner {
    & .p-plan-detail_card {
      grid-template-columns: repeat(2, 1fr);
    }
  }

  .warranty.p-plan-detail_inner {
    & .p-plan-detail_item {
      grid-template-columns: initial;
      grid-template-rows: 60px auto;
      padding: 8px 16px 16px;
      & div p:first-of-type span {
        width: 60px;
        margin: 0 auto;
      }
    }
    & .p-plan-detail_card {
      grid-template-columns: repeat(2, 1fr);
    }
  }

  .basic.p-plan-detail_inner {
    & .p-plan-detail_card {
      grid-auto-flow: column;
      grid-template-columns: initial;
    }
    & .p-plan-detail_item {
      flex-direction: row;
      gap: 8px;
      width: fit-content;
    }
  }

  .p-plan-warranty_wrap {
    gap: 16px;
  }
  .p-plan-warranty_card {
    gap: 16px 8px;
    grid-template-columns: repeat(2, 1fr);
  }
  .p-plan-detail_text-c {
    text-align: center;
  }
  .p-plan_scroll {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    width: 100%;
    max-width: 800px;
    margin: 0 auto !important;
    padding: 0 16px !important;
  }
  .p-plan_wrap {
    width: 100%;
  }
  .p-plan_flow {
    grid-template-columns: 1fr 1.5fr;
  }
  .p-plan_flow_inner {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }
  .right .p-plan_flow_inner {
    grid-template-columns: repeat(4, 1fr);
  }
  .p-plan_flow_card {
    border-right: solid 2px var(--color-gray-2);
    align-content: start;
    padding-right: 8px;
    &:last-child {
      border: none;
      padding-right: 0;
    }
  }

  .p-trouble .l-wrap {
    max-width: 1000px;
  }
  .p-trouble_wrap {
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
  }
  .p-trouble_inner br {
    display: none;
  }

  .p-feature .l-wrap {
    max-width: 1000px;
  }
  .p-feature_wrap {
    grid-template-columns: repeat(3, 1fr);
  }
  .p-feature_inner {
    align-items: start;
  }

  .p-voice_wrap {
    gap: 16px;
    grid-template-columns: 1fr 1fr;
  }

  .p-flow_wrap {
    gap: 12px;
  }
  .join .p-flow_inner {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 72px 1fr;
    align-items: center;
    justify-items: center;
    gap: 8px;
    border-bottom: none;
    border-right: solid 2px var(--color-gray-2);
    margin: 0 auto;
    padding-bottom: 0;
    padding-right: 12px;
    text-align: center;
    &:last-of-type {
      border-bottom: none;
      border-right: none;
      margin-right: 0;
      padding-right: 0;
    }
  }
  .active .join.p-flow_wrap {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin-bottom: 54px;
  }
  .signup .p-flow_inner.note {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }
  .p-flow_item p:first-of-type {
    white-space: nowrap;
  }

  .p-contact_card {
    grid-template-columns: repeat(2, 1fr);
  }
  .p-contact_button {
    height: 64px;
    padding: 0 0 0 24px;
    & p {
      margin-left: 0;
    }
  }
  .p-contact-other_wrap {
    grid-template-columns: repeat(2, 1fr);
  }

  .l-footer {
    flex-direction: row;
    justify-content: space-between;
    padding: 20px 24px 32px;
  }
  .l-footer_wrap {
    flex-direction: row;
    justify-content: flex-end;
  }
}

@media screen and (min-width: 1080px) {
  .l-header {
    align-items: center;
    justify-content: space-between;
  }
  .l-header_nav {
    background-color: transparent;
    width: fit-content;
  }
  .l-header_nav_button {
    display: none;
  }
  .l-header_nav_menu {
    box-shadow: none;
    flex-direction: row;
    gap: 20px;
    margin-top: 0;
    padding: 0;
    position: initial;
    transform: initial;
    width: fit-content;
    height: fit-content;
  }
  .l-header_nav_menu {
    background-color: transparent;
  }
  .l-header nav ul li a {
    white-space: nowrap;
  }
  .l-header_button.myportal {
    margin-top: 0;
    & p::after {
      content: "";
    }
  }
  .p-kv_inner img:last-of-type {
    width: 416px;
  }
  .p-plan .l-wrap {
    padding: 0;
  }
  .p-plan-outline_title br {
    display: none;
  }
  .p-trouble_inner br {
    display: block;
  }
  .p-feature_inner {
    align-items: center;
    & br {
      display: block;
    }
  }
}

/* Runtime states used by assets/js/common.js */
.c-contact-follow-r_icon .reception-hours:has(.working-hours:empty) {
  display: none;
}
.chat-button-fix.chat-inactive {
  pointer-events: none;
  opacity: 0.5;
}
