@charset "utf-8";

/* _font-face
   料金などの数字用欧文フォント。unicode-range で数字・カンマ・ピリオド・
   ハイフンのみに限定し、和文は --typo-font-family-base のままにする */
@font-face {
  font-family: "D-DIN-PRO";
  src: url("/css/webfonts/D-DIN-PRO-800-ExtraBold.woff") format("woff");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0030-0039, U+002C, U+002E, U+002D;
}

/* _typography */
:root {
  --typo-fz-xxs: 10px;
  --typo-fz-xs: 12px;
  --typo-fz-sm: 14px;
  --typo-fz-md: 16px;
  --typo-fz-lg: 18px;
  --typo-fz-xl: 20px;
  --typo-fz-xxl: 24px;
  --typo-fz-3xl: 32px;
  --typo-fz-4xl: 40px;
  --typo-fz-5xl: 42px;
  --typo-fz-6xl: 56px;

  --typo-font-family-base: "Noto Sans JP", sans-serif;
  --typo-font-family-num: "D-DIN-PRO", "Noto Sans JP", sans-serif;
  --typo-font-family-icons: "Material Symbols Outlined Variable";

  @media screen and (max-width:1079px) {
    --typo-fz-xxs: 10px;
    --typo-fz-xs: 12px;
    --typo-fz-sm: 14px;
    --typo-fz-md: 16px;
    --typo-fz-lg: 16px;
    --typo-fz-xl: 18px;
    --typo-fz-xxl: 20px;
    --typo-fz-3xl: 28px;
    --typo-fz-4xl: 36px;
    --typo-fz-5xl: 48px;
    --typo-fz-6xl: 56px;
  }

  @media screen and (max-width:767px) {
    --typo-fz-xxs: 10px;
    --typo-fz-xs: 10px;
    --typo-fz-sm: 12px;
    --typo-fz-md: 14px;
    --typo-fz-lg: 16px;
    --typo-fz-xl: 18px;
    --typo-fz-xxl: 20px;
    --typo-fz-3xl: 24px;
    --typo-fz-4xl: 32px;
    --typo-fz-5xl: 42px;
    --typo-fz-6xl: 42px;
  }
}

/* _color */
:root {
  --Universe-700: #5E61A9;
  --CLOUDBlue-100: #E8F1F6;
  --CLOUDBlue-400: #A3C5DD;
  --CLOUDBlue-700: #196FA9;
  --CLOUDBlue-800: #145987;
  --CLOUDRed-100: #FCE8EC;
  --CLOUDRed-400: #F1A3B2;
  --CLOUDRed-700: #DD183F;
  --CLOUDRed-800: #B11332;
  --bg-gray: #F5F5F5;
  --bg-blue: #E8F1F6;
  --bg-purple: #F9F3FF;
}

/* _spacing */
:root {
  --spacing-3xs: 2px;
  --spacing-xxs: 4px;
  --spacing-xs: 8px;
  --spacing-sm: 12px;
  --spacing-md: 16px;
  --spacing-lg: 24px;
  --spacing-xl: 32px;
  --spacing-xxl: 40px;
  --spacing-3xl: 56px;
  --spacing-4xl: 64px;
  --spacing-5xl: 80px;
}

/* _radius */
:root {
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 24px;
}

/* _layout */
.col-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;

  @media screen and (max-width:767px) {
    grid-template-columns: 1fr;
  }
}

.col-6 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;

  @media screen and (max-width:1079px) {
    grid-template-columns: repeat(2, 1fr);
  }

  @media screen and (max-width:767px) {
    grid-template-columns: 1fr;
  }
}

.inner {
  padding: 80px 0;
}

.inner-sm {
  padding: 60px 0;
}

.stack {
  display: flex;
  flex-direction: column;
  gap: 24px;

  &.sm {
    gap: 16px;
  }

  &.lg {
    gap: 56px;
  }
}

.container {
  width: 84.375%;
  min-width: 960px;
  max-width: 1280px;
  margin: 0 auto;
  position: relative;

  &.narrow {
    width: 69.84375%;
    min-width: 800px;
    max-width: 960px;
  }

  @media screen and (max-width:1079px) {
    min-width: 0 !important;
    width: 83.33333333333333% !important;
  }

  @media screen and (max-width:767px) {
    min-width: 0 !important;
    width: 100% !important;
    padding: 0 var(--spacing-md);
  }
}

/* _card */
.n-card {
  padding: 24px;
  border-radius: 8px;
  box-sizing: border-box;

  &.hasBorder {
    border: 2px solid #EBEBEB;
  }

  ul {
    margin-bottom: 0;

    li {
      list-style: disc;
      margin-left: 1.25rem;
      margin-bottom: 0;
      line-height: 1.8;
      font-size: var(--typo-fz-md);

    }
  }
}

/* _button */
.n-button {
  /* color="brand" */
  --color-bg: var(--CLOUDBlue-700);
  --color-bg-dark: var(--CLOUDBlue-800);
  --color-bg-light: var(--CLOUDBlue-400);
  --color-bg-pale: var(--CLOUDBlue-100);

  font-size: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  column-gap: 2px;
  min-width: 280px;
  width: auto;
  height: 50px;
  padding: 16px 30px;
  background: var(--color-bg);
  border: 2px solid var(--color-bg);
  border-radius: var(--radius-md);
  color: #fff;
  font-weight: 700;
  line-height: 1em;
  letter-spacing: 0.04em;
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
  box-sizing: border-box;
  transition: background 0.2s ease-in-out;

  &:hover {
    background: var(--color-bg-dark);
    color: #fff;
    text-decoration: none;
  }

  &:focus {
    outline-offset: 2px;
  }

  &:disabled,
  &.n-button-disabled {
    pointer-events: none;
    cursor: not-allowed;
    background: var(--color-bg-light);
    border-color: var(--color-bg-light);
  }
}

.sub-buttonText {
  font-weight: bold;
  line-height: 1;
  margin-bottom: 8px;
}

/* color="emphasize" */
.n-button-emphasize {
  --color-bg: var(--CLOUDRed-700);
  --color-bg-dark: var(--CLOUDRed-800);
  --color-bg-light: var(--CLOUDRed-400);
  --color-bg-pale: var(--CLOUDRed-100);
}

/* shape="outlined" */
.n-button-outlined {
  background: #fff;
  border: 2px solid var(--color-bg);
  color: var(--color-bg);

  &:hover {
    background: var(--color-bg-pale);
    color: var(--color-bg);
  }

  &:disabled,
  &.n-button-disabled {
    background: none;
    color: var(--color-bg-light);
  }
}

/* shape="text" */
.n-button-text {
  min-width: 0;
  background: none;
  border: none;
  color: var(--color-bg);

  &:hover {
    background: var(--color-bg-pale);
    color: var(--color-bg);
  }

  &:disabled,
  &.n-button-disabled {
    background: none;
    color: var(--color-bg-light);
  }
}

/* size="lg" */
.n-button-lg {
  width: 100%;
  max-width: 280px !important;
}

/* size="sm" */
.n-button-sm {
  min-width: 0;
  width: auto;
  height: 36px;
  padding: 11px 14px;
  font-size: var(--typo-fz-sm);
  border-radius: var(--radius-sm);
}

/* isExternal（target="_blank"）の別窓アイコン。
   マークアップ側の記述を不要にするため ::after で自動付与する。
   mask + currentColor で outlined / filled どちらでも文字色に追従する */
.n-button[target="_blank"]::after {
  content: "";
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  background-color: currentColor;
  -webkit-mask: url(/special/nova/img/open_in_new.svg) no-repeat center / contain;
  mask: url(/special/nova/img/open_in_new.svg) no-repeat center / contain;
}

.n-button-sm[target="_blank"]::after {
  width: 14px;
  height: 14px;
}

/* ボタンを横並びにするラッパー。size="lg" のボタンを 280px 幅で並べる */
.button-wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--spacing-md);

  >.n-button {
    flex: 0 1 280px;
  }

  @media screen and (max-width:767px) {
    flex-direction: column;
    align-items: center;

    >.n-button {
      flex: 0 0 auto;
      width: 100%;
      max-width: 400px;
    }
  }
}

/* _textlink */
.n-textlink {
  font-size: 16px;
  display: inline;
  color: var(--CLOUDBlue-700);
  line-height: 1.8em;
  overflow-wrap: anywhere;
  text-decoration: none;

  &:hover {
    color: var(--CLOUDBlue-700);
    text-decoration: none;
  }
}

/* ホバーで下から下線が伸びる。box-decoration-break で折り返し時も各行に下線を引く */
.n-textlink-content {
  display: inline;
  background-image: linear-gradient(var(--CLOUDBlue-700), var(--CLOUDBlue-700));
  background-size: 0 1px;
  background-position: left bottom;
  background-repeat: no-repeat;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  overflow-wrap: anywhere;
  transition: background-size 0.2s ease-in-out;
}

.n-textlink:hover .n-textlink-content {
  background-size: 100% 1px;
}

/* isBlock */
.n-textlink-block::before {
  content: "";
  display: inline-block;
  width: 1em;
  height: 1em;
  margin-right: var(--spacing-xs);
  position: relative;
  top: 2px;
  background-color: currentColor;
  -webkit-mask: url(/special/nova/img/chevron_forward.svg) no-repeat center / contain;
  mask: url(/special/nova/img/chevron_forward.svg) no-repeat center / contain;
}

/* isExternal */
.n-textlink[target="_blank"]::after {
  content: "";
  display: inline-block;
  width: 1em;
  height: 1em;
  margin-left: var(--spacing-3xs);
  vertical-align: middle;
  background-color: currentColor;
  -webkit-mask: url(/special/nova/img/open_in_new.svg) no-repeat center / contain;
  mask: url(/special/nova/img/open_in_new.svg) no-repeat center / contain;
}

/* _accordion
   oned-website の Accordion / IconButton コンポーネント
   （src/components/Accordion, src/components/IconButton）の移植。
   開閉状態は .n-accordion に .is-open を付与して切り替える。
   +/- アイコンは Material Symbols を読み込んでいないため疑似要素で描画している。
*/

.n-accordion-list{
  padding-bottom: 40px;
}
.n-accordion {
  overflow: hidden;
  border-bottom: 1px solid #ccc;
  transition: background-color 0.2s ease-in-out;

  &:hover {
    background-color: var(--CLOUDBlue-100);
  }
}

.n-accordion-header {
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--spacing-md);
  padding: var(--spacing-lg) var(--spacing-md);
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  color: var(--CLOUDBlue-700);
  font-size: var(--typo-fz-md);
  font-weight: 700;
  line-height: 1.8;

  &:focus-visible {
    outline-offset: 2px;
  }
}

.n-accordion-title {
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-md);
}

.n-accordion-label {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
}

/* IconButton（shape="outlined" / size="sm"）相当の +/- トグル。
   アイコンは add.svg / remove.svg を mask + background-color で描画し、
   色を CSS 側（--CLOUDBlue-700）で制御している */
.n-accordion-icon {
  position: relative;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  background: #fff;
  border: 2px solid var(--CLOUDBlue-700);
  border-radius: var(--radius-sm);
  box-sizing: border-box;
  transition: background 0.2s ease-in-out;

  /* 閉じているときは「+」 */
  &::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 16px;
    height: 16px;
    transform: translate(-50%, -50%);
    background-color: var(--CLOUDBlue-700);
    -webkit-mask: url(/special/nova/img/add.svg) no-repeat center / contain;
    mask: url(/special/nova/img/add.svg) no-repeat center / contain;
  }
}

.n-accordion-header:hover .n-accordion-icon {
  background: var(--CLOUDBlue-100);
}

.n-accordion-content {
  display: grid;
  grid-template-rows: 0fr;
  padding: 0 var(--spacing-md);
  transition: grid-template-rows 0.2s ease-in-out, padding 0.2s ease-in-out;
}

.n-accordion-body {
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-md);
  overflow: hidden;
  visibility: hidden;
  transition: visibility 0.2s ease-in-out;

  p {
    margin-bottom: 0;
    line-height: 1.8;
  }
}

.n-accordion.is-open {
  .n-accordion-content {
    grid-template-rows: 1fr;
    padding-bottom: var(--spacing-lg);
  }

  .n-accordion-body {
    visibility: visible;
  }

  /* 開いているときは「-」 */
  .n-accordion-icon::before {
    -webkit-mask-image: url(/special/nova/img/remove.svg);
    mask-image: url(/special/nova/img/remove.svg);
  }
}

@media screen and (max-width:767px) {
  .n-accordion-header {
    padding: var(--spacing-md) var(--spacing-xs);
    gap: var(--spacing-xs);
  }

  .n-accordion-title {
    gap: var(--spacing-xs);
  }

  .n-accordion-content {
    padding: 0 var(--spacing-xs);
  }

  .n-accordion-body {
    gap: var(--spacing-xs);
  }

  .n-accordion-label {
    width: 28px;
    height: 28px;
  }

  .n-accordion-icon {
    width: 28px;
    height: 28px;
  }
}

/* _step
   oned-website の Step コンポーネント（src/components/Step）の移植。
   ヘッダーの高さを列間でそろえるため、親グリッドの行を subgrid で共有している。
   カード間の矢印は :not(:last-child)::after で描画し、SP では下向きに回転させる。
*/
.n-step-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: var(--spacing-xl);
}

.n-step {
  position: relative;
  background-color: #fff;
  border: 2px solid #EBEBEB;
  border-radius: var(--radius-sm);
  box-sizing: border-box;
}

/* カード間の矢印。カラム間の gap 内に収まるよう配置する */
.n-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -6px;
  transform: translateX(100%) translateY(-50%);
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 20px 0 20px 20px;
  border-color: transparent transparent transparent var(--CLOUDBlue-400);
  z-index: 1;
}

.n-step-header {
  height: 103px;
  padding: var(--spacing-md);
  background-color: var(--CLOUDBlue-700);
  /* 枠線 2px の内側に収まるよう --radius-sm から 2px 引いた値を指定 */
  border-radius: 6px 6px 0 0;
  color: #fff;
  text-align: center;
  display: grid;
  place-content: center;
}

.n-step-number {
  margin-bottom: 2px;
  font-size: var(--typo-fz-sm);
  font-weight: 700;
  line-height: 1.4;
}

.n-step-title {
  font-size: var(--typo-fz-xl);
  font-weight: 700;
  line-height: 1.4;
}

.n-step-title-sub {
  display: block;
  font-size: var(--typo-fz-md);
}

.n-step-text {
  margin-bottom: 0;
  padding: var(--spacing-lg);
  line-height: 1.8;
}

@media screen and (max-width:767px) {
  .n-step-list {
    grid-template-columns: 1fr;
    grid-template-rows: none;
  }

  .n-step {
    grid-row: auto;
    grid-template-rows: none;
  }

  .n-step:not(:last-child)::after {
    top: auto;
    right: calc(50% - 10px);
    bottom: -18px;
    transform: rotate(90deg) translateX(100%) translateY(0%);
  }
}

/* _heading */
h2 {
  font-size: var(--typo-fz-3xl);
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  margin-bottom: 0;
}

h3 {
  font-size: var(--typo-fz-xl);
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 0;
}

/* _background */
.bg-white {
  background-color: #fff;
}

.bg-blue {
  background-color: var(--bg-blue);
}

.bg-gray {
  background-color: var(--bg-gray);
}

.bg-purple {
  background-color: var(--bg-purple);
}

/* _utility */
.bold {
  font-weight: 700;
}

.center {
  text-align: center;
}

.text-nova {
  color: var(--Universe-700);
}

.text-small {
  font-size: var(--typo-fz-lg);
}

.text-note {
  font-size: var(--typo-fz-sm);
  line-height: 1.6;
  color: #111;
}

/* 視覚的には隠し、支援技術にのみ読ませるテキスト */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  border: 0;
  white-space: nowrap;
  clip-path: inset(50%);
}

/* header */
.pc-nav {
  display: none !important;
}

@media screen and (min-width: 40em) {
  #site_id {
    margin-bottom: 19px;
  }
}

.sec-page-ttl {
  padding: 24px 0 16px;

  @media screen and (max-width:638px) {
    display: none;
  }
}

body.fixed {
  .sec-page-ttl {
    padding: 16px 0;
  }
}

.kv {
  background: url(/special/nova/img/kv_bg.png) no-repeat;
  background-position: center;
  background-size: cover;

  .container {
    position: relative;
  }

  .kv-text {
    padding: 54px 0 78.51px;

    h1 {
      margin-bottom: 0;
    }

    h2 {
      text-align: left;
    }

    h2+p {
      line-height: 1.4;
      margin-top: 8px;
    }
  }

  .kv-img {
    position: absolute;
    max-width: 634px;
    top: 28px;
    right: -88px;
  }

  @media screen and (max-width:1279px) {
    .container {
      display: flex;
      align-items: center;
      flex-direction: column-reverse;
      row-gap: 16px;
      .kv-img{
        max-width: 400px;
      }
    }

    .kv-text {
      align-items: center;
      padding: 0 0 57px;
      h2, h2 + p{
        text-align: center;
      }
    }

    .kv-img {
      position: relative;
      top: 0;
      right: 0;
      width: 100%;
      padding-top: 40px;
    }
  }
}

.sec-contact {
  margin-top: 0;
}

/* 表は横スクロールで収める。position: relative は必須で、
   これがないとセル内の .visually-hidden（position: absolute）の包含ブロックが
   祖先の .container になり、overflow-x のクリップを抜けて
   ページ全体が横スクロールしてしまう */
.table-wrap {
  position: relative;
  overflow-x: auto;

  .n-table {
    margin-bottom: 0;

    th,
    td {
      border: none;
      line-height: 1.8;
      font-size: var(--typo-fz-md);
    }
  }

  .n-table-compare {
    min-width: 900px;

    .border-left {
      border-right: 1px solid #F5F5F5;
    }

    .is-nova {
      background-color: var(--bg-purple);
      font-weight: bold;
    }

    thead tr {

      th,
      td {
        height: 83px;
        border-top: #111 solid 1px;
        border-bottom: #111 solid 1px;
        background-color: #fff;
      }
    }

    tbody tr {
      border-bottom: 1px solid #ccc;

      th {
        padding: 8px 16px;
        text-align: left;
        background-color: #F5F5F5;
      }

      td {
        padding: 8px 16px;
        text-align: center;
      }
    }
  }

  .n-table-plan {
    min-width: 900px;
    margin-top: 24px;

    thead tr th {
      height: 110px;
      padding: 0 16px;
      background-color: #0F4365;
      color: #fff;
      position: relative;

      +th {
        border-left: 1px solid #ccc;
      }

      .plan-name {
        font-size: var(--typo-fz-xl);
        line-height: 1.4;
        display: block;
        margin-bottom: 8px;
      }

      .plan-desc {
        font-weight: normal;
      }

      .plan-badge {
        width: 88px;
        position: absolute;
        top: -19px;
        left: 50%;
        transform: translateX(-50%);
      }
    }

    tbody tr {
      border-bottom: 1px solid #ccc;
      background-color: #fff;

      td {
        padding: 8px 16px;
      }

      td+td {
        border-left: 1px solid #ccc;
      }
    }

    .plan-row-price {
      line-height: 1;
      text-align: center;

      .plan-price-num {
        font-family: var(--typo-font-family-num);
        font-size: var(--typo-fz-3xl);
      }
    }

    .plan-row-spec {
      .plan-spec {
        display: flex;
        justify-content: space-between;
        margin-bottom: 0;
        line-height: 1.8;

        dt {
          margin-bottom: 0;
          font-weight: normal;
        }

        +.plan-spec {
          margin-top: 8px;
        }
      }
    }

    .plan-row-button {
      td {
        text-align: center;
      }
    }
  }
}

.lead-card {
  img {
    margin-inline: auto;
  }
}