
/*
* Base
*/

:root {
  --phy-primary-color: #ed1c24;
  --bg-color: #F6F4F3;
  --border-color: #E6E6E6;
  --fs-base: .9375rem; /* 15px */
  --fs-xl: 1.75rem; /* 28px */
  --fs-l: 1.5rem; /* 24px */
  --fs-m: 1.25rem; /* 20px */
  --fs-s: 1rem; /* 16px */
  --fs-xs: .875rem; /* 14px */
}

.layout_main {
  font-family: 'ヒラギノ角ゴ ProN', 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', 'Yu Gothic', YuGothic, Verdana, Helvetica, 'ＭＳ Ｐゴシック', 'メイリオ', Meiryo, sans-serif;
  font-size: var(--fs-base);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: antialiased;
  text-size-adjust: 100%;
}

.layout_main * {
  box-sizing: border-box;
}

.inner {
  max-width: 960px;
  margin: 0 auto;
}

/* Layout */
.layout_section {
  padding: 6.25rem min(5.208333333%, 50px) 3.25rem;
}

.layout_column {
  display: flex;
  flex-direction: column;
  gap: 3.25rem;
}

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

@media screen and (min-width: 600px) {
  .only-mobile {
    display: none;
  }
}

/*
* Contents
*/

/* headline */
.headline {
  font-size: var(--fs-xl);
  font-weight: 600;
  line-height: 1.5;
}

.headline--border::before {
  content: "";
  display: block;
  width: 72px;
  height: 3px;
  background: linear-gradient(to right, #ED271C, #F06500);
  margin: 0 0 24px;
}

/* ボタン */
.button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 255px;
  height: 56px;
  font-size: 1.125rem;
  font-weight: 600;
  border-radius: 5px;
}

.button--primary {
  background: linear-gradient(30deg, #ED1C24, #ED1C24 50%, #E56203);
  color: #fff;
}

.button--secondary {
  background: #fff;
  border: solid 1px var(--phy-primary-color);
  color: var(--phy-primary-color);
}

/* テーブル */
.table {
  width: 100%;
  margin: 0 0 1.25rem;
}

.table tr:nth-child(odd) {
  background: var(--bg-color);
}

.table thead th {
  background: #2C2C2E;
  color: #fff;
  font-size: 0.9375rem;
  text-align: center;
  padding: 1.25rem 1.5rem 1.375rem 1.5rem;
  &:first-child {
    background: #fff;
  }
}

.table th {
  font-size: var(--fs-xs);
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border: solid 1px var(--border-color);
  line-height: 1.5;
  background: #2C2C2E;
  color: #fff;
  &:first-child {
    width: 25%;
  }
}

.table th sup {
  font-size: 0.6875rem;
  vertical-align: middle;
  margin: 0;
}

.table td {
  padding: 1.25rem 1.5rem 1.375rem 1.5rem;
  border: solid 1px var(--border-color);
  line-height: 1.5;
}

/* リンク */
.link {
  color: #ED1C24;
  text-decoration: underline;
  text-underline-offset: 0.25rem;
}

/* 箱 */
.box {
  padding: 2rem 2.5rem;
  background: var(--bg-color);
  border: solid 1px var(--border-color);
}

/* 注釈 */
.note {
  font-weight: 300;
}

.note-list {
  & li {
    display: flex;
    gap: .25rem;
    font-size: 0.8125rem;
    font-weight: 400;
    line-height: 1.5;
    color: #5C5C5C;
    counter-increment: number;
    &::before {
      content: "※"counter(number);
      flex-shrink: 0;
    }
  }
}

.normal-list {
  list-style: disc;
  padding-left: 1.25rem;
}


/*
* Page
*/

/* hero */
.section_head {
  background: linear-gradient(to bottom, #191919, #363639);
  padding: 0 min(5.208333333%, 50px) 80px;
  color: #fff;
  overflow: hidden;
  position: relative;
}

.section_head::before {
  content: "";
  display: block;
  width: 1200px;
  height: 800px;
  background: url(../images/bg_section.webp) no-repeat center center;
  background-size: 100% auto;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translate(-50%, 30%);
  opacity: 0.3;
}

.hero {
  text-align: center;
  padding: 80px 0 0;
  position: relative;
}

.hero > * {
  position: relative;
}

.hero__headline {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  line-height: 1.5;
  margin: 0 0 24px;
}

.hero__headline span:first-child {
  font-family: "Haru TP R", sans-serif;
  font-size: 3.375rem;
}

.hero__headline span:last-child {
  font-family: "Haru TP R", sans-serif;
  font-size: 3.5rem;
  position: relative;
  background: linear-gradient(180deg, hsl(25, 100%, 87%) 0%, #fff 80%);
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero__headline span.hero__headline--small {
  font-size: 2.8rem;
}

.hero__headline span sup {
  font-size: .8125rem;
  position: absolute;
  top: -3px;
  left: 0;
  right: 0;
  margin: 0 auto;
  text-align: center;
}

.hero__sub-headline {
  font-family: "Haru TP M", sans-serif;
  font-size: 1.3125rem;
  margin: 0 0 24px;
  border: 1px solid #fff;
  border-radius: 3rem;
  display: inline-block;
  padding: 0.4rem 1.25rem;
}

.hero__sub-headline span {
  letter-spacing: 0.03em;
  margin: 0 3px 0 0;
}

.hero__copy {
  font-size: 1.3125rem;
  font-weight: 600;
  margin: 0 0 52px;
}

.hero__cta p {
  font-size: 1.0625rem;
  line-height: 1;
  margin: 0 0 24px;
}

.hero__cta-list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
}

.hero__cta-list li {
  position: relative;
}

.new-plan {
  display: grid;
  grid-template-columns: 1fr 24.3902%;
  gap: .75rem 0;
  text-align: left;
  padding: 0.75rem 2rem 1rem 2rem;
  max-width: 45rem;
  margin: 0 auto 4rem;
  background: #444449;
  border-radius: 0.625rem;
  position: relative;
  overflow: hidden;
  &::before {
    content: "";
    display: block;
    width: 18rem;
    height: 18rem;
    border-radius: 50%;
    background: #444449;
    box-shadow: 4px 0px 20px 0px rgba(0, 0, 0, 0.16) inset;
    position: absolute;
    right: -2.75rem;
    top: -4.625rem;
  }
}

.new-plan__head {
  display: flex;
  align-items: flex-end;
}

.new-plan__headline {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: var(--fs-l);
  font-weight: 600;
  line-height: 1.5;
  position: relative;
  &::before {
    content: "NEW";
    font-size: var(--fs-xs);
    line-height: 1;
    padding: .34rem .5rem .28rem;
    background: linear-gradient(66deg, #ED1C24 48.31%, #E56203 84.27%);
    border-radius: 0.3125rem;
  }
}

.new-plan__lead {
  grid-column: 1 / 2;
  font-size: 0.9375rem;
  line-height: 1.5;
  position: relative;
}

.new-plan__image {
  grid-column: 2 / 2;
  grid-row: 1 / span 2;
  display: flex;
  align-items: center;
  position: relative;
}

.feature {
  display: flex;
  flex-direction: column;
  gap: 100px;
}

.feature__item {
  display: flex;
  flex-wrap: wrap;
  gap: 50px 9.6875%;
}

.feature__item--reverse {
  flex-direction: row-reverse;
}

.feature__text {
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1;
}

.feature__image {
  width: 40.625%;
}

.feature__box {
  width: 100%;
  padding: 32px 38px 40px;
  background: #444449;
  border-radius: 10px;
}

.feature__list {
  display: flex;
  gap: 28px;
}

.feature__list li {
  width: 200px;
  font-size: 14px;
  line-height: 1.5;
  text-align: center;
}

.feature__list-icon {
  margin: 0 0 16px;
}

.feature__list-icon img {
  width: 48px;
}

.feature__list-title {
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 16px;
}

.cta-area {
  margin: 32px auto 0;
}

@media screen and (max-width: 599px) {
  .cta-area {
    margin: 24px 0 0;
  }
}

/* 料金・仕様 */
.section-content {
  display: flex;
  flex-direction: column;
  & .headline {
    margin: 0 0 1.5rem;
  }
}

.price__text {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
}

.contact-area {
  padding: 0 min(5.208333333%, 50px) 6.25rem;
}

.contact {
  display: flex;
  justify-content: center;
  text-align: center;
  background: #2C2C2E;
  border-radius: 10px;
  color: #fff;
  padding: 3.56rem 15px;
  position: relative;
}

.contact dl {
  padding: 0 6.666666%;
}

.contact dl + dl::before {
  content: "";
  display: block;
  width: 1px;
  height: calc(100% - 100px);
  background: #5F5B5B;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
}

.contact dl dt {
  font-size: var(--fs-l);
  font-weight: 700;
  line-height: 1.5;
  margin: 0 0 .75rem;
  white-space: nowrap;
}

.contact dl dd .button {
  max-width: 100%;
  margin: 0 auto;
  font-weight: 600;
}

.contact__text {
  margin: 0 0 1rem;

  &:has(wbr) {
    word-break: keep-all;
    overflow-wrap: anywhere;
  }
}

/* 資料DL */
.document-area {
  padding: 0 min(5.208333333%, 50px) 6.25rem;
}

.document {
  padding: 3.56rem 15px;
  background: #353535;
  color: #fff;
  max-width: 960px;
  margin: 0 auto;
  border-radius: 10px;

  .headline {
    font-size: var(--fs-l);
    white-space: nowrap;
  }

  & .layout_column {
    gap: 2.5rem;
  }

  & .headline {
    text-align: center;
    line-height: 1.6;
  }
}

.document__layout {
  color: var(--color-base);
  background: linear-gradient(to bottom, #fff, #CFD4DB);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.75rem;
  max-width: 400px;
  margin: 0 auto;
  padding: 0;
  position: relative;

  a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    text-decoration: none;
    position: relative;
    padding: 2rem 2rem 4rem;

    &::before {
      position: absolute;
      content: "";
      width: 35px;
      height: 35px;
      right: 1rem;
      bottom: 1rem;
      background: url(../images/arrow.svg) no-repeat 12px 13px / 12px 8px, linear-gradient(30deg, #ED1C24, #ED1C24 50%, #E56203);
      border-radius: 100%;
      opacity: 1;
      transition: 0.4s;
    }

    &::after {
      position: absolute;
      content: "";
      width: 35px;
      height: 35px;
      right: 32px;
      bottom: 32px;
      background: url(../images/arrow.svg) no-repeat 12px 13px / 12px 8px, rgb(17 25 35 / 20%);
      border-radius: 100%;
      opacity: 0;
      transition: 0.4s;
    }
  }
}

.document__stock-status {
  position: absolute;
  padding: 0.5rem 1rem;
  color: #fff;
  top: -0.5rem;
  left: -0.5rem;
  border-radius: 4px;
  font-weight: bold;

  &::before {
    margin-right: 0.25rem;
  }

  &[data-stock="available"] {
    background: #097d56;
    &::before {
      content: "○";
    }
  }

  &[data-stock="unavailable"] {
    background: #7d0909;
    &::before {
      content: "×";
    }
  }
}

.document__item {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding: 2rem 2.5rem 2.5rem;
  border-top: 1px solid #5F5B5B;
  border-bottom: 1px solid #5F5B5B;
}

.document__text {
  display: flex;
  flex-direction: column;
  gap: .75rem;
}

.document__title {
  font-size: var(--fs-l);
  line-height: 1.5;
}

.document__thumbnail {
  max-width: 18.75rem;
  margin: 0 auto;
}

.document__button {
  width: 100%;
  max-width: 22.5rem;
  margin: auto auto 0;
  word-break: keep-all;
  text-align: center;
  line-height: 1.2;
  padding: 0 1rem;
}

.document__sub-headline {
  font-size: 2.5rem;
  margin: 0 0 .75rem;
  display: block;
}

@media screen and (min-width: 600px) {
  .for-sp {
    display: none;
  }
  .button:hover {
    opacity: 0.7;
  }
}
@media screen and (max-width: 599px) {

  .for-pc {
    display: none;
  }

  .inner {
    margin: 0 1.625rem;
  }

  .layout_section {
    padding: 2.5rem 0;
  }

  .layout_column {
    gap: 3rem;
  }

  /*
  * Contents
  */

  /* ボタン */
  .button {
    width: 100%;
    height: 70px;
    font-size: 1.375rem;
  }

  .table th {
    padding: 0.75rem;
    &:first-child {
      width: 7.5rem;
    }
  }

  .table thead th {
    padding: 1.25rem 0.75rem 1.375rem 0.75rem;
    font-size: 0.9375rem;
    &:first-child {
      background: #2C2C2E;
    }
  }

  .table td {
    padding: 1.25rem 0.75rem 1.375rem 0.75rem;
    font-size: 0.9375rem;
  }

  /* 箱 */
  .box {
    padding: 1.75rem 1.5rem;
  }

  .section_head {
    padding: 0 0 2.5rem;
  }

  .hero {
    padding: 4.27rem 0 4.19rem;
  }

  .hero::before {
    width: 479px;
    height: 479px;
    right: -112px;
    top: -120px;
  }

  .hero__headline {
    margin: 0 0 25px;
  }

  .hero__headline span:first-child {
    font-size: 2.4rem;
  }

  .hero__headline span:last-child {
    font-size: 2rem;
  }

  .hero__copy {
    font-size: 1.1875rem;
    letter-spacing: 0.0625rem;
    text-align: left;
  }

  .hero__cta p {
    line-height: 1.3;
    margin: 0 0 15px;
  }

  .hero__cta-list {
    flex-direction: column;
    gap: 20px;
    max-width: 314px;
    margin: 30px auto 0;
  }

  .hero__cta-list li {
    width: 100%;
  }

  .new-plan {
    display: flex;
    flex-direction: column;
    gap: .5rem;
    padding: 1.25rem 1.625rem 1.5rem 1.625rem;
    margin: 0 -1.625rem 3rem;
    border-radius: 0;
    &::before {
      right: -8.125rem;
      top: 1.25rem;
    }
  }

  .new-plan__head {
    align-items: center;
  }

  .new-plan__headline {
    width: 100%;
    max-width: 338px;
    margin: 0 auto;
    font-size: 1.25rem;
    &::before {
      font-size: .8125rem;
      padding: 0.3125rem 0.375rem 0.25rem 0.375rem;
    }
  }

  .new-plan__lead {
    width: 100%;
    max-width: 338px;
    margin: 0 auto;
    font-size: 0.875rem;
  }

  .new-plan__image {
    width: 6.25rem;
    position: absolute;
    bottom: .475rem;
    right: .875rem;
  }


  .feature__item {
    flex-direction: column;
    gap: 44px;
  }

  .feature__image {
    width: 100%;
  }

  .feature__box {
    width: 100%;
  }

  .feature__list {
    flex-direction: column;
    align-items: center;
  }

  .price__text {
    font-size: var(--fs-xs);
  }
  /* 1/31の時は削除 */
  .contact-date {
    justify-content: flex-start;
    padding: 26px 27px;
  }

  .contact-date__text {
    gap: 20px;
  }
  /*  */

  .contact-area {
    padding: 0;
    background: #2C2C2E;
  }

  .contact {
    flex-direction: column;
    padding: 2.5rem 0 3.5rem;
    border-radius: 0;
    background: none;
  }

  .contact::before {
    display: none;
  }

  .contact dl {
    width: 100%;
  }

  .contact dl + dl {
    padding: 30px 0 0;
    position: relative;
  }

  .contact dl + dl::before {
    width: calc(100% - 34.9112%);
    height: 1px;
    background: #5F5B5B;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    margin: 0 auto;
  }

  .contact__text {
    margin: 0 0 1.12rem;
  }

  .contact dl dd .button {
    max-width: 15.9375rem;
    height: 3.5rem;
    margin: 0 auto;
    font-size: 1.125rem;
    line-height: 1.7;
  }

  /* 資料DL */
  .document-area {
    padding: 0;
  }

  .document {
    padding: 2.5rem 0;
    border-radius: 0;
    margin-top: 3.25rem;
    margin-bottom: 0;

    .headline {
      font-size: var(--fs-m);
    }

    & .layout_column {
      gap: 2rem;
    }
  }

  .document__layout {
    flex-direction: column;
    gap: 1.75rem;
  }

  .document__item {
    gap: 1.75rem;
    padding: 2rem 1.5rem 2.5rem;
    background: #2C2C2E;
    border: none;
    border-radius: 0.625rem;
  }

  .document__text {
    font-size: var(--fs-xs);
  }

  .document__thumbnail {
    max-width: 14.375rem;
  }

  .document__button {
    font-size: 0.9375rem;
    line-height: 1.5;
    padding: 0.9375rem 0.5rem;
    height: auto;
  }
}

@media screen and (max-width: 599px) {
  .table tr {
    display: flex;
    flex-direction: column;
  }

  .table th:first-child {
    width: 100%;
  }
}
