@charset "utf-8";

html {
  touch-action: manipulation;
}

body {
  font-family: 'Hiragino Sans', 'ヒラギノ角ゴシック', 'Noto Sans JP', sans-serif;
}

*,
*:before,
*:after {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

.pc {
  display: none !important;
}

.sp {
  display: block !important;
}

h1,
h2,
h3,
h4,
h5,
p,
li,
dt,
dd {
  line-height: 1.48;
  color: #3d3d3d;
}

p {
  font-size: 4.27vw;
  font-weight: 400;
}

a {
  color: #CC0000;
  text-decoration: none;
}

a:hover {
  opacity: 0.8;
}

img,
picture {
  width: 100%;
  height: auto;
}

@media screen and (min-width: 768px) {
  .pc {
    display: block!important;
  }

  .sp {
    display: none!important;
  }

  p {
    font-size: 16px;
  }
}

a.link {
  text-decoration: underline;
  font-weight: 600;
  position: relative;
}

a.link.icon::after {
  content: '';
  background-size: 100%;
  background-repeat: no-repeat;
  width: 0.92307692307em;
  height: 0.92307692307em;
  position: absolute;
  font-size: inherit;
  margin-left: 0.25em;
  bottom: 0.21428571428em;
  display: inline;
}

a.link.icon.icon_type1::after {
  background-image: url(../images/link_type1.png);
}

/* ============================================================
   layout
============================================================ */
.l-container {
  padding: 10vw 4.3vw 13vw;
}

@media screen and (min-width: 768px) {
  .l-container {
    max-width: 1020px;
    margin: 0 auto;
    padding: 64px 0 80px;
  }
}

/* ============================================================
   components
============================================================ */
.c-section-title {
  font-size: 6.4vw;
  font-weight: 800;
  line-height: 1.4;
  text-align: center;
}

.c-section-title .ep {
  font-size: 10vw;
}

.c-notes {
  display: flex;
  flex-direction: column;
  gap: 3vw;
  margin-top: 3vw;
}

.c-notes__list {
  padding: 0;
  margin: 0;
  list-style: none;
}

.c-notes__list li {
  padding-left: 1.5em;
  font-size: 2.9vw;
  font-weight: 300;
  color: #3D3D3D;
  line-height: 1.48;
  text-indent: -1.5em;
}

.c-notes__list li + li {
  margin-top: 3vw;
}

ul.c-notes__list li::before {
  content: '※';
  margin-right: 0.5em;
  font-size: inherit;
}

ol.c-notes__list {
  counter-reset: number 0;
}

ol.c-notes__list li::before {
  counter-increment: number 1;
  content: '※' counter(number);
  margin-right: 0.5em;
  font-size: inherit;
}

@media screen and (min-width: 768px) {
  .c-section-title {
    font-size: 40px;
  }
  
  .c-section-title .ep {
    font-size: 60px;
  }
  
  .c-notes {
    gap: 12px;
    margin-top: 12px;
  }
  
  .c-notes__list li {
    font-size: 12px;
  }
  
  .c-notes__list li + li {
    margin-top: 12px;
  }
}

/* ============================================================
   utilities
============================================================ */
.u-ep {
  font-size: 1.4em;
}

.u-bold {
  font-weight: bold;
}

.u-text-accent {
  color: #CC0000;
}

@media screen and (min-width: 768px) {
  .u-ep {
    font-size: 1.6em;
  }
  
  .u-text-small {
    font-size: 14px;
  }
}

/* ============================================================
   button
============================================================ */
.btn {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 70.13333vw;
  height: 14.93333vw;
  border-radius: 9999px;
  background-color: #FCFCFC;
  position: relative;
  margin: auto;
}

.btn_text {
  font-size: 4.26666vw;
  color: #4D4639;
  text-align: center !important;
  line-height: 1.32;
  font-weight: 600;
}

.btn::before {
  content: '';
  background-position: center;
  background-size: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 1.6vw;
  margin: auto 0;
}

.btn::after {
  content: '';
  background-position: center;
  background-size: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  background-repeat: no-repeat;
  top: 0;
  bottom: 0;
  right: 4vw;
  margin: auto 0;
}

.btn.btn_type1 {
  box-sizing: border-box;  
  background: #FCFCFC;
  border: 0.533vw solid #E0DFDD;
  box-shadow: 0px 1.333vw 0px 0px #B3B3B3;
}

.btn.btn_type2 {
  background: linear-gradient(180deg, #DB0000 50%, #CC0000 50%);
  border: 0.533vw solid #E57878;
  box-shadow: 0px 1.333vw 0px 0px #800000;
}

.btn.btn_type3 {
  background-color: #facb32;  
  border: 0.533vw solid #FCF16E;
  box-shadow: 0px 1.333vw 0px 0px #FFC20E;
}

.btn.btn_type2 .btn_text {
  color: #ffffff;
}

.btn.btn_type1:hover,
.btn.btn_type2:hover,
.btn.btn_type3:hover {
  box-shadow: none;
  opacity: 1;
  transform: translateY(1.333vw);
}

a.link.icon.icon_type1 {
  padding-right: 4.8vw;
}

.btn.icon_type1::after {
  background-image: url(../images/btn_arrow.png);
  width: 4.26666vw;
  height: 4.26666vw;
}

.btn.icon_type1 .btn_text {
  margin-right: 4.26666vw;
}

.btn.icon_type2::after {
  background-image: url(../images/link_type2.png);
  width: 3.2vw;
  height: 3.2vw;
}

.btn.icon_type2 .btn_text {
  margin-right: 3.2vw;
}

.btn.icon_type3::after {
  background-image: url(../images/link_type3.png);
  width: 3.2vw;
  height: 3.2vw;
}

.btn.icon_type4::after {
  background-image: url(../images/link_type3.png);
  width: 3.2vw;
  height: 3.2vw;
}

.btn.icon_type3 .btn_text {
  margin-left: 4.2vw;
  margin-right: 0px;
}

.btn.icon_type3::before {
  background-image: url(../images/ico-btn2.png);
  width: 11.73vw;
  height: 11.73vw;
}

.icon_type6::after {
  background-image: url(../images/icon_type6.png);
  width: 4.266vw;
  height: 4.266vw;
}

@media screen and (min-width: 768px) {
  .btn {
    width: 327px;
    height: 56px;
  }

  .btn_text {
    font-size: 16px;
  }

  .btn::after {
    right: 16px;
  }
  
  .btn.btn_type1 {
    border: 2px solid #E0DFDD;
    box-shadow: 0px 5px 0px 0px #B3B3B3;
  }  

  .btn.btn_type2 {
    border: 2px solid #E57878;
    box-shadow: 0px 5px 0px 0px #800000;
  }

  .btn.btn_type3 {
    border: 2px solid #FCF16E;
    box-shadow: 0px 5px 0px 0px #FFC20E;
  }

  .btn.btn_type1:hover,
  .btn.btn_type2:hover,
  .btn.btn_type3:hover {
    box-shadow: none;
    transform: translateY(5px);
  }

  a.link.icon.icon_type1 {
    padding-right: 16px;
  }

  .btn.icon_type1::after {
    width: 16px;
    height: 16px;
  }

  .btn.icon_type1 .btn_text {
    margin-right: 8px;
  }

  .btn.icon_type2::after {
    width: 12px;
    height: 12px;
  }

  .btn.icon_type2 .btn_text {
    margin-right: 12px;
  }

  .btn.icon_type3::after {
    background-image: url(../images/link_type3.png);
    width: 12px;
    height: 12px;
  }

  .btn.icon_type3 .btn_text {
    margin-left: 16px;
    margin-right: 0px;
  }
  
  .btn.icon_type4::after {
    background-image: url(../images/link_type3.png);
    width: 12px;
    height: 12px;
  }

  .btn::before {
    left: 6px;
  }

  .btn.icon_type3::before {
    width: 44px;
    height: 44px;
    left: 4.5px;
  }

  .icon_type6::after {
    width: 16px;
    height: 16px;
  }
}

/* ============================================================
   fv
============================================================ */
.p-fv {
  padding-top: 15.8vw;
}

.p-fv__title {
  margin: 0;
  line-height: 0;
}

.p-fv__title img {
  display: block;
  width: 100%;
  height: auto;
}

.p-fv .c-notes {
  gap: 1.2vw;
  margin-top: 0;
  margin-bottom: 0;
  padding: 3.2vw 4.3vw;
}

.p-fv .c-notes__list li {
  font-size: 2.6vw;
}

@media screen and (min-width: 768px) {
  .p-fv {
    padding-top: 70px;
  }
  
  .p-fv .c-notes {
    margin: 0 auto;
    max-width: 1020px;
    width: 100%;
    gap: 4px;
    padding: 16px 0 12px;
  }
    
  .p-fv .c-notes__list li {
    font-size: 11px;
  }
}

/* ============================================================
   main-tab
============================================================ */
.p-main-tab__label {
  display: flex;
  align-items: flex-end;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.p-main-tab__label li {
  width: 50%;
  cursor: pointer;
}

.p-main-tab__label img {
  display: block;
  width: 100%;
  height: auto;
}

.p-main-tab__inner > div {
  display: none;
}

.p-main-tab__inner > div.tab-new {
  position: relative;
}

.p-main-tab__inner > div._active {
  display: block;
}

.p-main-tab__lead {
  margin: 7.4vw 0 0;
  padding: 0 4.3vw;
}

.p-main-tab__lead p {
  font-size: 4.27vw;
  line-height: 1.6;
  text-align: center;
}

@media screen and (min-width: 768px) {
  .p-main-tab__label {
    gap: 8px;
    max-width: 1140px;
    margin: 0 auto;
  }
  
  .p-main-tab__lead {
    max-width: 1020px;
    margin: 32px auto 0;
    padding: 0 20px;
  }
  
  .p-main-tab__lead p {
    font-size: 16px;
  }
}

/* ============================================================
   merit
============================================================ */
.l-container.--merit {
  padding: 10vw 4.3vw 0;
}

.p-merit__title {
  margin-bottom: 8.5vw;
}

.p-merit__list {
  display: flex;
  flex-direction: column;
  gap: 9.5vw;
}

.p-merit__item {
  padding: 6.4vw 4.3vw;
  background-color: #fff;
  background-repeat: no-repeat;
  background-size: 23vw auto;
  border-radius: 3.2vw;
  box-shadow: 0px 0px 10px 2px rgba(0, 0, 0, 0.20);
}

.p-merit__item:nth-child(1) {
  background-image: url(../images/merit-bg01.png);
  background-position: right center;
}

.p-merit__item:nth-child(2) {
  background-image: url(../images/merit-bg02.png);
  background-position: left center;
}
.p-merit__item:nth-child(3) {
  background-image: url(../images/merit-bg03.png);
  background-position: right center;
}

.p-merit__img {
  display: block;
  width: 70vw;
  margin: 0 auto 4.3vw;
}

.p-merit__sub-title {
  margin-bottom: 4.3vw;
  font-size: 7vw;
  font-weight: bold;
  line-height: 1.4;
  text-align: center;
}

.p-merit__text {
  font-weight: 500;
  line-height: 1.6;
  text-align: center;
}

.p-merit__text .p-space {
  padding-right: 3vw;
}

.p-merit__notes {
  margin-top: 3vw;
}

.p-merit__notes li {
  font-size: 3.7vw;
}

.p-merit__notes li a {
  text-decoration: underline;
}

@media screen and (min-width: 768px) {
  .l-container.--merit {
    padding: 56px 0 80px;
  }
  
  .p-merit {
    position: relative;
  }
  
  .p-merit::before {
    content: "";
    position: absolute;
    bottom: 0; left: 0;
    width: 100%;
    height: 50%;
    background: #fff4f6;
    z-index: -1;
  }
  
  .p-merit__title {
    margin-bottom: 56px;
  }
  .p-merit__list {
    flex-direction: row;
    justify-content: center;
    gap: 26px;
    max-width: 1020px;
    margin: 0 auto;
  }
  
  .p-merit__item {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 30px 20px;
    border-radius: 24px;
    background-size: auto 270px;
    box-shadow: 0px 0px 12px 2px rgba(0, 0, 0, 0.15);
  }
  
  .p-merit__item:nth-child(2) {
    background-image: url(../images/pc/merit-bg02.png);
    background-position: right center;
  }
  
  .p-merit__img {
    width: 100%;
    max-width: 295px;
    margin: 0 auto 20px;
  }
  
  .p-merit__sub-title {
    margin-bottom: 20px;  
    font-size: 30px;
  }
  
  .p-merit__text {
    font-size: 18px;
  }
  
  .p-merit__text .p-space {
    padding-right: 8px;
  }
  
  .p-merit__notes {
    margin-top: 12px;
  }
  
  .p-merit__notes li {
    font-size: 14px;
  }
}

/* ============================================================
   benefit
============================================================ */
.p-benefit__title {
  margin-bottom: 8.5vw;
}

.p-benefit__img img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
}

@media screen and (min-width: 768px) {
 .p-benefit__title {
    margin-bottom: 56px;
  }
}

/* ============================================================
   point-detail
============================================================ */
.p-point-detail {
  margin-top: 0;
}

.p-point-detail.--is-benefit {
  margin-top: 8.5vw;
}

.p-point-detail__accordion {
  overflow: hidden;
  background-color: #fff;
  border-radius: 3.2vw;
}

.p-point-detail__accordion + .p-point-detail__accordion {
  margin-top: 8.5vw;
}

.p-point-detail__header {
  position: relative;
  display: flex;
  align-items: baseline;
  padding: 4.5vw 16vw 4.5vw 4.3vw;
  background-color: #e3e3e3;
  font-size: 4.27vw;
  font-weight: bold;
  line-height: 1.48;
  cursor: pointer;
}

.p-point-detail__header-sub {
  display: block;
  font-size: 3vw;
}

.p-point-detail__header::after {
  content: '';
  position: absolute;
  top: 0;
  right: 2.9vw;
  bottom: 0;
  background-image: url(../images/icon-accordion_open.png);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100%;
  width: 10vw;
  height: 10vw;
  margin: auto 0;
  transition: 0.25s;
}

.p-point-detail__header.active::after {
  background-image: url(../images/icon-accordion_close.png);
}

.p-point-detail__body {
  display: none;
  padding: 7.4vw 4.3vw 9.4vw;
  border: 1.5px solid #c7c7c7;
  border-top: none;
  border-radius: 0 0 3.2vw 3.2vw;
}

.p-point-detail__caution {
  margin-top: 5.4vw;
}

.p-point-detail__caution-item + .p-point-detail__caution-item {
  margin-top: 5.4vw;
}

.p-point-detail__caution-title {
  font-size: 3.7vw;
  font-weight: bold;
}

.p-point-detail__desc-indent {
  margin: 0;
  font-size: 2.9vw;
  font-weight: 300;
  line-height: 1.48;
}

.p-point-detail__desc-indent dt {
  margin-bottom: 2vw;
  font-weight: bold;
}

.p-point-detail__desc-indent dd {
  margin: 0;
  padding-left: 1.5em;
  text-indent: -1.5em;
}

.p-point-detail__desc-indent dd::before {
  content: '※';
  margin-right: 0.5em;
}

.p-point-detail__desc-indent dd + dt {
  margin-top: 4.8vw;
}

.p-point-detail__desc-plain {
  margin: 0;
  font-size: 2.9vw;
  font-weight: 300;
  line-height: 1.48;
}

.p-point-detail__desc-plain dt {
  margin: 0;
  font-weight: bold;
}

.p-point-detail__desc-plain dd {
  margin: 0;
}

.p-point-detail__desc-plain dd + dt {
  margin-top: 0;
}

.c-notes__list + .p-point-detail__desc-plain {
  margin-top: -3vw;
}

@media screen and (min-width: 768px) {
  .p-point-detail {
    max-width: 760px;
    margin: 0 auto;
  }
  
  .p-point-detail.--is-benefit {
    margin-top: 50px;
  }
  
  .p-point-detail__accordion {
    border-radius: 16px;
  }
  
  .p-point-detail__accordion + .p-point-detail__accordion {
    margin-top: 40px;
  }
  
  .p-point-detail__header {
    padding: 22px 72px 22px 30px;
    font-size: 20px;
  }
  
  .p-point-detail__header-sub {
    font-size: 14px;
  }
  
  .p-point-detail__header::after {
    right: 20px;
    width: 40px;
    height: 40px;
  }
  
  .p-point-detail__body {
    padding: 48px 64px 48px;
    border-radius: 0 0 16px 16px;
  }

  .p-point-detail__caution {
    margin-top: 24px;
  }
  
  .p-point-detail__caution-item + .p-point-detail__caution-item {
    margin-top: 24px;
  }
  
  .p-point-detail__caution-title {
    font-size: 18px;
  }
  
  .p-point-detail__desc-indent,
  .p-point-detail__desc-plain {
    font-size: 12px;
  }
  
  .p-point-detail__desc-indent dt {
  margin-bottom: 8px;
  }
  
  .p-point-detail__desc-indent dd + dt {
  margin-top: 16px;
  }
  
  .c-notes__list + .p-point-detail__desc-plain {
  margin-top: -12px;
  }

}

/* ============================================================
   table-tab
============================================================ */
.p-table-tab__label {
  display: flex;
  align-items: flex-end;
  position: relative;
  list-style: none;
  padding: 0;
  margin: 0;
}

.p-table-tab__item {
  width: 50%;
  padding: 2.6vw 0;
  background-color: #e3e3e3;
  border-radius: 3.2vw 3.2vw 0 0;
  font-size: 3.7vw;
  font-weight: bold;
  color: #757575;
  text-align: center;
  cursor: pointer;
}

.p-table-tab__item._active {
  position: relative;
  z-index: 1;
  padding: 3.8vw 0;
  background-color: #cc0033;
  box-shadow: 0px 0px 10px 2px rgba(0, 0, 0, 0.35);
  color: #FFF;
}

.p-table-tab__inner {
  position: relative;
  margin-top: -1px;
}

.p-table-tab__inner img {
  position: relative;
  z-index: 2;
  width: 100%;
  margin: 0 auto;
  display: block;
}

.p-table-tab__panel {
  display: none;
}

.p-table-tab__panel._active {
  display: block;
}

@media screen and (min-width: 768px) {    
  .p-table-tab__label {
    max-width: 580px;
    margin: 0 auto;
  }
  
  .p-table-tab__item {
    padding: 6px 0;  
    border-radius: 8px 8px 0 0;
    font-size: 16px;  
  }
  
  .p-table-tab__item._active {
    padding: 10px 0;
    font-size: 18px;
  }
  
  .p-table-tab__inner img {  
    max-width: 580px;
  }
}

/* ============================================================
   related-article
============================================================ */
.p-related-article {
  margin: 8.5vw auto 0;
}

.p-related-article__inner {
  display: flex;
  align-items: center;
  gap: 4vw;
  color: inherit;
  text-decoration: none;
}

.p-related-article__figure img {
  display: block;
  width: 41.333vw;
  aspect-ratio: 1400 / 1046;
  object-fit: cover;
}

.p-related-article__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 3vw;
}

.p-related-article__text {
  font-size: 3.8vw;
  line-height: 1.6;
}

.p-related-article__btn a {
  display: inline-block;
}

.p-related-article__btn img {
  display: block;
  width: 100%;
  max-width: 200px;
  height: auto;
}

@media screen and (min-width: 768px) {
  .p-related-article {
    max-width: 800px;
    margin: 64px auto 0;
  }
  
  .p-related-article__inner {
    gap: 50px;
    padding: 0 24px;
  }
  
  .p-related-article__figure img {
    width: 300px;
  }
  
  .p-related-article__body {
    gap: 30px;
  }
  
  .p-related-article__text {
    font-size: 20px;
  }
  
  .p-related-article__btn img {
    max-width: 240px;
  }
}

/* ============================================================
   nisa
============================================================ */
.p-nisa {
  background-color: #fff6f6;
}

.p-nisa__title {
  margin-bottom: 8.5vw;
}

.p-nisa__lead {
  margin-bottom: 8.5vw;
  font-size: 4.27vw;
  font-weight: 500;
  line-height: 1.5;
  text-align: center;
}

.p-nisa__list {
  display: flex;
  flex-direction: column;
  gap: 10vw;
}

.p-nisa__item {
  padding: 5.8vw 4.3vw 10.7vw;
  background-color: #fff3ca;
  border-radius: 3.2vw;
  box-shadow: 0px 0px 10px 2px rgba(0, 0, 0, 0.15);
}

.p-nisa__case-label {
  display: block;
  width: fit-content;
  margin: 0 auto 3vw;
  padding: 1vw 2vw;
  background-color: #fff;
  font-size: 3.7vw;
  font-weight: bold;
}

.p-nisa__item-title {
  margin-bottom: 5vw;
  font-size: 5.3vw;
  font-weight: bold;
  line-height: 1.3;
  text-align: center;
}

.p-nisa__img img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
}

@media screen and (min-width: 768px) {
  .p-nisa__title {
    margin-bottom: 48px;
  }
  
  .p-nisa__lead {
    margin-bottom: 60px;
    font-size: 16px;
  }
  
  .p-nisa__list {
    gap: 50px;
    padding: 0 20px;
  }
  
  .p-nisa__item {
    padding: 32px 20px 48px;
    border-radius: 24px;
    box-shadow: 0px 0px 10px 2px rgba(0, 0, 0, 0.15);
  }
  
  .p-nisa__case-label {
    margin-bottom: 20px;
    padding: 2px 14px;
    font-size: 18px;
  }
  
  .p-nisa__item-title {
    margin-bottom: 32px;
    font-size: 24px;
    line-height: 1;
  }
}

/* ============================================================
   entry / price
============================================================ */
.l-container.--entry,
.l-container.--price {
    padding: 12.8vw 0 0;
}

.p-entry__title,
.p-price__title {
  margin-bottom: 8.5vw;
}

@media screen and (min-width: 768px) {
  .l-container.--entry,
  .l-container.--price {
    max-width: none;
    padding: 72px 0 0;
  }
  
  .p-entry__title,
  .p-price__title {
    margin-bottom: 56px;
  }
}

/* ============================================================
   section-tab
============================================================ */
.p-section-tab__label {
  position: relative;
  display: flex;
  align-items: flex-end;
  margin: 0 4.267vw;
}

.p-section-tab__item {
  width: 50%;
  padding: 2.6vw 0;
  background-color: #e3e3e3;
  border-radius: 3.2vw 3.2vw 0 0;
  font-size: 3.2vw;
  font-weight: bold;
  color: #757575;
  text-align: center;
  cursor: pointer;
}

.p-section-tab__item._active {
  z-index: 1;
  padding: 4vw 0;
  background-color: #cc0033;
  box-shadow: 0px 0px 10px 2px rgba(0, 0, 0, 0.35);
  font-size: 3.5vw;
  color: #FFF;
}

.p-section-tab__inner {
  position: relative;
  z-index: 1;
  padding: 12vw 4.3vw;
}

.p-section-tab__inner.--entry {
  background-color: #fff6f6;
}

.p-section-tab__inner.--price {
  background-color: #fcfaee;
}

.p-section-tab__panel {
  display: none;
}

.p-section-tab__panel._active {
  display: block;
}

@media screen and (min-width: 768px) {
  .p-section-tab__label {
    max-width: 750px;
    margin: 0 auto;
  }
  
  .p-section-tab__inner {
    padding: 56px 0;
  }
  
  .p-section-tab__panel {
    max-width: 1020px;
    margin: 0 auto;
  }

  .p-section-tab__item {
    padding: 12px 0;
    font-size: 18px;
    border-radius: 10px 10px 0 0;
  }
  
  .p-section-tab__item._active {
    padding: 18px 0;
    font-size: 18px;
  }
}

/* ============================================================
   step
============================================================ */
.c-step-list {
  display: flex;
  flex-direction: column;
  gap: 15.5vw;
  margin: 0;
  padding: 0;
  list-style: none;
}

.c-step-item {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  padding: 4.8vw 4.3vw 0;
  background: #fff;
  border-radius: 3.2vw;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.c-step-item:not(:last-child)::after {
  content: "";
  position: absolute;
  top: calc(100% + (15.5vw - 8vw) / 2);
  left: 50%;
  z-index: 3;
  width: 14vw;
  height: 8vw;
  background: url(../images/step_tail.png) no-repeat center / contain;
  transform: translateX(-50%);
}

.c-step-item__ribbon {
  position: absolute;
  height: auto;
}

.c-step-list--entry .c-step-item__ribbon {
  top: -1.07vw;
  left: 2vw;
  width: 16.5vw;
}

.c-step-list--price .c-step-item__ribbon {
  top: 0;
  left: 0;
  width: 13.5vw;
  border-radius: 3.2vw 0 0 0;
}

.c-step-item__title {
  min-height: 2em;
  margin-bottom: 3.2vw;
  font-size: 6.4vw;
  font-weight: bold;
  line-height: 1.4;
  text-align: center;
}

.c-step-item__text {
  margin-bottom: 5.3vw;
  font-size: 4.27vw;
  font-weight: 500;
  line-height: 1.5;
  text-align: center;
}

.c-step-item__text + .c-step-item__text {
  margin-top: -3.2vw;
}

.c-step-item__image {
  width: 70.5vw;
  margin: auto auto 0;
}

.c-step-item__image img {
  display: block;
  width: 100%;
}

@media screen and (min-width: 768px) {
  .c-step-list {
    flex-direction: row;
    justify-content: space-between;
    align-items: stretch;
    gap: 30px;
  }
  
  .c-step-item {
    width: calc(33.333% - 20px);
    padding: 20px 14px 0;
    border-radius: 24px;
    position: relative;
  }
  
  .c-step-item:not(:last-child)::after {
    top: 50%;
    left: calc(100% + 12px);
    right: auto;
    transform: translate(-50%, -50%) rotate(-90deg);
    z-index: 3;
    width: 40px;
    height: 23px;
    background: url(../images/step_tail.png) no-repeat center / contain;
  }
  
  .c-step-list--entry .c-step-item__ribbon {
    top: -4px;
    left: 8px;  
    width: 60px;
  }
  
  .c-step-list--price .c-step-item__ribbon {
    top: 0;
    left: 0;  
    width: 50px;
    border-radius: 24px 0 0 0;
  }
  
  .c-step-item__title {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 3em;
    margin-bottom: 14px;
    padding: 0 10px 0 15px;
    font-size: clamp(16px, 2.0vw, 22px); 
  }
  
  .c-step-item__text {
    margin-bottom: 20px;  
    font-size: 15px;
  }
  
  .c-step-item__text + .c-step-item__text {
    margin-top: -10px;
  }
    
  .c-step-item__image {
    width: 100%;
    margin-top: auto;
  }
}

@media screen and (min-width: 768px) and (max-width: 900px) {
  .c-step-list--entry .c-step-item__ribbon {
    top: -4px;
    left: 8px;  
    width: 50px;
  }
  .c-step-list--price .c-step-item__ribbon {
    top: 0;
    left: 0;  
    width: 45px;
    border-radius: 24px 0 0 0;
  }
}

/* ============================================================
   cta
============================================================ */
.p-cta {
  display: flex;
  flex-direction: column;
  gap: 6.5vw;  
  margin-top: 10.5vw;
  padding: 0 4.2vw;
}

.p-cta__item {
  width: 100%;
  text-align: center;
}

.p-cta__text {
  margin-bottom: 3.2vw;
  font-size: 3.7vw;
  font-weight: bold;
  line-height: 1.6;
}

.p-cta__btn-area img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 auto;
}

@media screen and (min-width: 768px) {
  .p-step .p-cta {
    margin-top: 60px;
  }

  .p-cta {
    gap: 20px;    
    margin-top: 48px;
    padding: 0;
    max-width: 740px;
    margin-right: auto;    
    margin-left: auto;
  }
  
  .p-cta.has-2-btns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: end;
  }
  
  .p-cta:not(.has-2-btns) {
    max-width: 360px;
  }
  
  .p-cta__item {
    max-width: 360px;
    margin: 0 auto;
  }
  
  .p-cta__text {
    margin-bottom: 10px;    
    min-height: 1.6em;    
    font-size: 16px;
  }
}

/* ============================================================
   anchor
============================================================ */
.p-anchor-block {
  padding: 9.8vw 7.3vw;
  background-color: #f7f5f5;
  text-align: center;
}

.p-anchor-block__btn {
  display: inline-block;
  width: 100%;
  max-width: 534px;
  transition: opacity 0.3s;
}

.p-anchor-block__btn img {
  display: block;
  width: 100%;
  height: auto;
}

@media screen and (min-width: 768px) {
  .p-anchor-block {
    padding: 56px 0;
  }
  
  .p-anchor-block__btn {
    max-width: 420px;
  }
}

/* ============================================================
   campaign
============================================================ */
.p-campaign__title {
  margin-bottom: 8.5vw;
}

.p-campaign__content {
  max-width: 640px;
  margin: 0 auto;
}

.p-campaign__figure {
  margin-bottom: 6.4vw;
}

.p-campaign__figure img {
  display: block;
  width: 100%;
  height: auto;
}

.p-campaign__cta {
  padding: 0 4.2vw;
  text-align: center;
}

.p-campaign__cta img {
  width: 100%;
  height: auto;
}

@media screen and (min-width: 768px) {
  .p-campaign__title {
    margin-bottom: 56px;
  }

  .p-campaign__content {
    max-width: 500px;
  }

  .p-campaign__figure {
    margin-bottom: 32px;
  }

  .p-campaign__cta img {
    max-width: 400px;
  }
}

/* ============================================================
   faq
============================================================ */
.p-faq {
  background-color: #ffeaee;
}

.p-faq__title {
  margin-bottom: 8.5vw;
}

.p-faq__accordion {
  overflow: hidden;
  background-color: #fcfcfc;
  border-radius: 3.2vw;
  box-shadow: 0px 0px 10px 2px rgba(0, 0, 0, 0.15);
}

.p-faq__accordion + .p-faq__accordion {
  margin-top: 8.5vw;
}

.p-faq__q {
  position: relative;
  display: flex;
  align-items: baseline;
  padding: 4.5vw 16vw 4.5vw 4.3vw;
  cursor: pointer;
}

.p-faq__q::before,
.p-faq__q::after {
  content: '';
  position: absolute;
  top: 50%;
  background-color: #be0f30;
  border-radius: 99px;
  transition: transform 0.3s ease-in-out;
}
.p-faq__q::after {
  right: 5vw;
  z-index: 1;
  width: 4.27vw;
  height: 0.8vw;
  transform: translateY(-50%);
}
.p-faq__q::before {
  right: calc(5vw + (4.27vw / 2) - (0.8vw / 2));
  z-index: 2;
  width: 0.8vw;
  height: 4.27vw;
  transform: translateY(-50%) rotate(0deg);
}
.p-faq__q.active::before {
  transform: translateY(-50%) rotate(-90deg);
}

.p-faq__q-prefix {
  margin-right: 0.5em;
  font-size: 4.27vw;
  font-weight: bold;
}

.p-faq__q-text {
  font-size: 4.27vw;
  font-weight: bold;
  line-height: 1.6;
}

.p-faq__a {
  display: none;
  padding: 4.8vw 4.3vw 5.8vw;
  border-top: 2px solid #E0DFDD;
}

.p-faq__head {
  display: flex;
  align-items: baseline;
  gap: 0.5em;
  margin-bottom: 3vw;
}

.p-faq__a-prefix {
  flex-shrink: 0;
  font-size: 3.8vw;
  font-weight: bold;
  line-height: 1.6;
}

.p-faq__a-text {
  font-size: 3.8vw;
  font-weight: bold;
  line-height: 1.6;
}

.p-faq__a-p {
  display: block;
  font-size: 3.3vw;
  line-height: 1.6;
}

.p-faq__a-img {
  margin-top: 10vw;
  padding: 0 3vw;
}

.p-faq__a-img img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
}

.p-faq.is-user {
  background-color: #e3f7ff;
}

.p-faq.is-user .p-faq__a-text {
  font-weight: normal;
}

@media screen and (min-width: 768px) {  
  .p-faq__title {
    margin-bottom: 56px;
  }
  
  .p-faq__content {
    max-width: 760px;
    margin: 0 auto;
  }
  
  .p-faq__accordion {
    border-radius: 16px;
  }
  
  .p-faq__accordion + .p-faq__accordion {
     margin-top: 28px;
  }
  
  .p-faq__q {
    padding: 22px 72px 22px 24px;
  }
  
  .p-faq__q::after {
    right: 24px;
    width: 18px;
    height: 4px;
  }
  .p-faq__q::before {
    right: 31px;
    width: 4px;
    height: 18px;
  }
  
  .p-faq__q-prefix,
  .p-faq__q-text {
    font-size: 18px;
  }
  
  .p-faq__a {
    padding: 24px 40px 32px 40px;
  }
  
  .p-faq__a-prefix,
  .p-faq__a-text {
    font-size: 16px;
  }
  
  .p-faq__a-p {
    font-size: 14px;
  }
  
  .p-faq__head {
    margin-bottom: 12px;
  }
  
  .p-faq__accordion.--has-img .p-faq__a-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 40px;
  }

  .p-faq__accordion.--has-img .p-faq__a-text-group {
    flex: 1;
  }
  
  .p-faq__accordion.--has-img .p-faq__a-img {
    flex-shrink: 0;
    width: 280px;
    margin-top: 0;
  }
}

/* ============================================================
  accumulation
============================================================ */
.p-accumulation__title {
margin-bottom: 8.5vw;
}

.p-accumulation__compare,
.p-accumulation__compound {
  margin-top: 13vw;
}

.p-compare-group {
  display: flex;
  flex-direction: column;
  gap: 8.5vw;
}

.p-compound-list {
  display: flex;
  flex-direction: column;
  gap: 13vw;
}

.p-compound-item__title {
  position: relative;
  margin-bottom: 5.5vw;
  padding-bottom: 5vw;
  font-size: 4.8vw;
  font-weight: bold;
  line-height: 1.6;
  text-align: center;
}

.p-compound-item__title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 12vw;
  height: 4px;
  background-color: #96a5ab;
  transform: translateX(-50%);
}

.p-compound-item__body {
  display: flex;
  flex-direction: column;
}

.p-compound-item__img {
  margin-bottom: 4.3vw;
}

.p-compound-item__img img {
  display: block;
  width: 100%;
  height: auto;
}

.p-compound-item__text {
  display: flex;
  flex-direction: column;
  gap: 4.3vw;
  padding: 0 2.1vw;
}

.p-compound-item__text p,
.p-compound-item__text ul,
.p-compound-item__text ol {
  font-size: 4.27vw;
  line-height: 1.6;
}

.p-compound-item__text ul li,
.p-compound-item__text ol li {
  padding-left: 1.5em;
  text-indent: -1.5em;
}

.p-compound-item__text ul li::before {
  content: '・';
  margin-right: 0.5em;
  font-size: inherit;
}

.p-compound-item__text ul li + li {
  margin-top: 2vw;
}

.p-compound-item__text ol {
  counter-reset: number;
}

.p-compound-item__text ol li::before {
  counter-increment: number;
  content: counter(number) '.';
  margin-right: 0.5em;
}

.p-compound-item__text ol li + li {
  margin-top: 4.3vw;
}

.--reverse .p-compound-item__text {
  order: 1;
  margin-bottom: 8.8vw;
}

.--reverse .p-compound-item__img {
  order: 2;
  margin-bottom: 0;
}

.--reverse .c-notes {
  order: 3;
}

.--text-only .p-compound-item__body {
  display: block;
}

@media screen and (min-width: 768px) {
  .p-accumulation__title {
    margin-bottom: 60px;
  }
  
  .p-accumulation__compare,
  .p-accumulation__compound {
    margin-top: 80px;
  }
  
  .p-compare-group {
    gap: 60px;
  }
  
  .p-compound-list {
    gap: 80px;
  }
  
  .p-compound-item__title {
    margin-bottom: 40px;
    padding-bottom: 24px;
    font-size: 24px;
  }
  
  .p-compound-item__title::after {
    width: 60px;
    height: 4px;
  }
  
  .p-compound-item__body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 60px;
    align-items: center;
    grid-template-areas:
      "area-img area-text"
      "area-notes area-notes";
  }
  
  .p-compound-item__img {
    grid-area: area-img;
    order: unset;
    margin-bottom: 0;
  }
  
  .p-compound-item__img img {
    max-width: 420px;
    margin: 0 auto;
  }
  
  .p-compound-item__text {
    grid-area: area-text;
    order: unset;
    gap: 16px;
    margin-bottom: 0;
    padding: 0;
  }
  
  .p-compound-item__text p,
  .p-compound-item__text ul,
  .p-compound-item__text ol {
    font-size: 16px;
  }
  
  .p-compound-item__text ul li + li {
    margin-top: 6px;
  }
  
  .p-compound-item__text ol li + li {
    margin-top: 14px;
  }
  
  .p-compound-item__body .c-notes {
    grid-area: area-notes;
    order: unset;
  }
  
  .--reverse .p-compound-item__body {
    grid-template-areas:
      "area-text area-img"
      "area-notes area-notes";
  }
  
  .--reverse .p-compound-item__text {
    margin-bottom: 0;
  }
  
  .--text-only .p-compound-item__body {
    display: block;
  }
}

/* ============================================================
   about
============================================================ */
.l-container.--about {
  padding-top: 15vw;
}

.p-about {
  background-color: #FCFAEE;
}

.p-about__img {
  display: block;
  max-width: 100%;
  margin: 0 auto 5.33vw;
}

.p-about__title {
  margin-bottom: 8.53vw;
  font-size: 5.87vw;
  font-weight: 600;
  line-height: 1.5;
  text-align: center;
}

@media screen and (min-width: 768px) {
  .l-container.--about {
    padding-top: 60px;
  }
  
  .p-about__title {
    margin-bottom: 40px;  
    font-size: 28px;
  }
  
  .p-about__img {
    max-width: 654px;
    margin-bottom: 20px;
  }
  
  .p-about .c-notes__list {
    max-width: 654px;
    margin: 0 auto;
  }
}

/* ============================================================
   bubble
============================================================ */
.bubble_wrap {
  text-align: center;
  position: relative;
  padding-bottom: 2vw;
}

.bubble {
  display: inline-block;
  padding: 0 3.2vw;
  background-color: #E06666;
  border-radius: 9999px;
}

.bubble_text {
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
  height: 6.93vw;
  color: #ffffff;
  font-size: 3.733vw;
}

.bubble::after {
  content: '';
  background-image: url(../images/tail.svg);
  background-size: contain;
  background-repeat: no-repeat;
  width: 3.73333vw;
  height: 3.2vw;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  margin: 0 auto;
}

@media screen and (min-width: 768px) {
  .bubble_wrap {
    padding-bottom: 6px;
  }

  .bubble {
    padding: 0 13px 0 15.5px;
  }

  .bubble_text {
    height: 32px;
    font-size: 15px;
  }

  .bubble::after {
    width: 7.64px;
    height: 6.75px;
  }
}

/* ============================================================
   slash
============================================================ */
.slash_wrap {
  text-align: center;
}

.slash_wrap .slash {
  position: relative;
  display: inline-block;
}

.slash_wrap .slash::before,
.slash_wrap .slash::after {
  content: '';
  background-color: #2B2B2B;
  width: 0.4vw;
  height: 5.33333vw;
  border-radius: 9999px;
  position: absolute;
  bottom: 0;
}

.slash_wrap .slash::before {
  transform: rotate(-20deg);
  left: -0.6em;
}

.slash_wrap .slash::after {
  transform: rotate(20deg);
  right: -0.6em;
}

.slash_wrap .slash p {
  font-size: 3.73333vw;
  font-weight: 600;
}

@media screen and (min-width: 768px) {
  .slash_wrap .slash::before,
  .slash_wrap .slash::after {
    width: 1.5px;
    height: 20px;
    top: auto;
    bottom: 4px;
  }

  .slash_wrap .slash::before {
    left: -0.5em;
  }

  .slash_wrap .slash::after {
    right: -0.5em;
  }

  .slash_wrap .slash p {
    font-size: 20px;
  }
}

/* ============================================================
   simulator_area
============================================================ */
.dcard {
  background: #F7F5F5;
}

.dcard ul.note li,
.dcard ol.note li {
  margin-top: 1.06666vw;
  padding-left: 1.5em;
  font-size: 2.93333vw;
  text-indent: -1.5em;
}

/* ul.note */
ul.note li {
  color: #333333;
  font-size: 2.93333vw;
  font-weight: 300;
  text-indent: -1.5em;
  padding-left: 1.5em;
  margin-top: 3.13vw;
  
}

ul.note li + li {
  margin-top: 3.13vw;
}

ul.note li::before {
  content: '※';
  font-size: inherit;
  margin-right: 0.5em;
}

/* ol.note */
ol.note {
  counter-reset: number 0;
}

ol.note li {
  color: #333333;
  font-size: 2.93333vw;
  font-weight: 300;
  text-indent: -1.5em;
  padding-left: 1.5em;
  margin-top: 3.13vw;
}

ol.note li::before {
  counter-increment: number 1;
  content: '※'counter(number);
  font-size: inherit;
  margin-right: 0.5em;
}

.summary h3 {
  font-size: 8.533vw;
  text-align: center;
  margin-bottom: 8.533vw;
}

.summary>p {
  margin-bottom: 4.266vw;
}

.simulator_area.title_wrap .border {
  padding-top: 17.066666vw;
}

section.dcard .inner.simulator_header_inner {
  padding: 0;
}

section.dcard .inner.simulator_area_inner {
  padding: 0 16px;
}

.simulator_area {
  text-align: center;
  padding-bottom: 12.8vw;
}

.simulator_area a.link {
  font-weight: 400;
}

.simulator_area.title_wrap {
  background-image: url(../images/simulation_title_bg.png);
  background-repeat: no-repeat;
  background-size: 100%;
  background-position: 50% 17.066666vw;
  width: 100%;
  height: 52.706666vw;
  margin: auto;
  margin-bottom: 3.2vw;
  padding: 0 6.4vw;
}

.simulator_area.title_wrap .bubble {
  width: 63.467vw;
}

.simulator_area.title_wrap .bubble_text {
  font-size: 4vw;
  font-weight: bold;
}

.simulator_area.title_wrap h2 {
  font-size: 6.4vw;
}

.simulator_area button {
  cursor: pointer;
  color: #3D3D3D;
  text-decoration: none;
}

.simulator_area .text-red {
  color: #cc0000;
  font-weight: 800;
}

.simulator_area_inner01 {
  background: #ffffff;
  margin: auto;
  border-radius: 2.133vw;
  padding: 8.533vw 4.267vw 9.6vw;
  margin-bottom: 10.667vw;
}

.chart-container {
  width: 100%;
  margin-top: 5.333vw;
  display: none;
  position: relative;
}

#addBarsButton {
  display: none;
  font-weight: bold;
  width: 100%;
  font-size: 4.267vw;
}

#backYourSettingButton {
  display: none;
  font-weight: bold;
  justify-content: center;
  width: 100%;
  font-size: 4.267vw;
}

#amountInput::-webkit-inner-spin-button,
#amountInput::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
  -moz-appearance: textfield;
}

#displayGraphDescription {
  display: none;
}

/* グラフ生成後に表示するコンテンツ */
.graph_content {
  display: none;
}

/* 数字入力項目 */
.simulator_area .input-group p {
  font-size: 5.333vw;
  font-weight: 600;
  line-height: 1.7;
}

.simulator_area .input-group p .text-red {
  font-weight: 600;
}

.simulator_area .input-group p sup {
  font-size: 3.2vw;
}

.simulator_input {
  width: 17.067vw;
  height: 10.933vw;
  border-radius: 1.067vw;
  font-size: 7.467vw;
  border: 0.533vw solid #F0EEEC;
  font-weight: bold;
  vertical-align: text-bottom;
  color: #d0d0d0;
  text-align: center;
  background-color: #F7F5F5;
}

.simulator_input::placeholder {
  color: #d0d0d0;
}

.simulator_input.active {
  color: black;
}

.simulator_input:focus {
  outline: solid 0.533vw #facb32;
  color: black;
}

.simulator_area .input-group p.text-sm {
  font-size: 2.933vw;
  line-height: 1;
}

/* スライダー */
.simulator_slider {
  appearance: none;
  position: relative;
  width: 57.333vw;
  height: 1.333vw;
  border-radius: 2666.4vw;
  background: linear-gradient(90deg, #facb32 44.4444%, #e6e6e6 44.4444%);
  cursor: pointer;
  outline: none;
}

.simulator_slider:focus {
  outline: none;
}

.simulator_slider::before,
.simulator_slider::after {
  content: "";
  color: #3d3d3d;
  position: absolute;
  font-weight: bold;
  bottom: -6.4vw;
  font-size: 2.933vw;
}

.simulator_slider::before {
  content: "1万円";
  left: 0;
}

.simulator_slider::after {
  content: "10万円";
  right: 0;
}

/* ツマミ：Chrome, Safari, Edge用 */
.simulator_slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 5.333vw;
  height: 5.333vw;
  border-radius: 2666.4vw;
  background: #facb32;
  box-shadow: none;
}

/* ツマミ：Firefox用 */
.simulator_slider::-moz-range-thumb {
  border: none;
  width: 5.333vw;
  height: 5.333vw;
  border-radius: 2666.4vw;
  background: #facb32;
  box-shadow: none;
}

.simulator_slider_wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 8.533vw;
}

.simulator_minus,
.simulator_plus {
  position: relative;
  width: 16vw;
  height: 16vw;
}

.simulator_minus::after,
.simulator_plus::after {
  content: "";
  background-position: center;
  background-size: 100%;
  position: absolute;
  top: 0.533vw;
  right: 0;
  background-image: url(../images/simulator_minus.png);
  width: 16vw;
  height: 16vw;
}

.simulator_minus::after {
  right: -1.333vw;
}

.simulator_plus::after {
  background-image: url(../images/simulator_plus.png);
  right: 0.267vw;
}

/* カードエリア */
.simulator_area .card_wrap {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 6.4vw;
}

.simulator_area .card_wrap .card_content {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  background: #f7f5f5;
  position: relative;
  border: 0.533333vw solid #f0eeec;
  width: 31.6%;
  height: 34.667vw;
  border-radius: 2.133vw;
  padding-top: 3.2vw;
  padding-bottom: 2.133vw;
}

.simulator_area .card_wrap .card_content>div {
  margin: auto;
}

.simulator_area .card_content p {
  margin: 0 auto;
  font-size: 2.4vw;
  font-weight: bold;
  line-height: 1.4;
}

.simulator_area .card_content p.lead_text {
  margin: auto;
  margin-top: 0.533vw;
  margin-bottom: 2.133vw;
  background: #ffffff;
  width: 17.067vw;
  font-size: 2.667vw;
  border-radius: 13.333vw;
}

.simulator_area .card_content p.card_name {
  min-height: 9.2vw;
  display: flex;
  align-items: center;
  line-height: 1;
}

.simulator_area .card_content img {
  display: block;
  margin: auto;
  width: auto;
  height: 9.947vw;
  margin-bottom: 1.067vw;
}

/* カードボタンselected */
.simulator_area .card_wrap .card_content.selected {
  background: #fcf5e0;
  border: 0.533333vw solid #facb32;
}

.simulator_area .card_wrap .card_content.selected::before {
  content: "";
  background-position: center;
  background-size: 100%;
  position: absolute;
  top: -11%;
  left: 50%;
  transform: translateX(-50%);
  background-image: url(../images/icon_card_selected.png);
  width: 5.867vw;
  height: 5.867vw;
}

/* シミュレーション結果について */
.simulator_area .caution_wrap {
  text-align: left;
}

.simulator_area .caution_wrap h5 {
  margin-top: 4.267vw;
  margin-bottom: 3.2vw;
  font-size: 3.2vw;
  font-weight: 600;
}

/* シミュレーションエリア外装 */
#simulatorResultArea {
  /* display: none; */
  position: relative;
}

#simulatorResultArea.active::before {
  content: "";
  background-position: center;
  background-size: 100%;
  background-repeat: no-repeat;
  position: absolute;
  top: -8vw;
  left: 50%;
  transform: translateX(-50%);
  background-image: url(../images/dots.png);
  width: 0.8vw;
  height: 3.733vw;
}

#simulatorResultAreaInner {
  display: none;
  background: #f7f7f7;
  position: relative;
  overflow: hidden;
  border: 0.533vw solid #e06666;
  border-radius: 2.133vw;
  padding: 5.333vw 4.267vw;
  margin-top: 16vw;
  position: relative;
  overflow: hidden;
}

#simulatorResultAreaInner.active {
  border: 0.533vw solid #64c482;
  padding: 15.2vw 4.267vw 5.333vw;
}

.simulator_area .lead_text_wrap {
  background-image: url(../images/bg_simulation_result.png);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: top;
  width: 108%;
  margin: auto;
  margin-left: -4%;
  margin-bottom: 4.267vw;
}

#simulatorResultAreaInner .lead_text_wrap p {
  font-size: 5.2vw;
  font-weight: bold;
  margin-top: 3.2vw;
}

#simulatorResultAreaInner .lead_text_wrap p sup {
  display: none;
  font-size: 2.667vw;
}

#simulatorResultAreaInner .lead_text_wrap .lead_text_white {
  font-size: 3.733vw;
  width: 41.067vw;
  padding: 1.067vw 0;
  border-radius: 16vw;
  margin: auto;
  background: #ffffff;
}

#simulatorResultAreaInner .lead_text_wrap .totalPoint {
  font-size: 8.533vw;
  font-weight: 800;
}

/* チャート生成ボタン */
#generateChartButton {
  width: 100%;
  font-size: 4.267vw;
  font-weight: 600;
}

/* チャートエリア */
#simulatorResultAreaInner .border {
  padding-top: 6.4vw;
}

.chart_area_wrap {
  width: 100%;
  margin: auto;
  text-align: center;
}

.chart_area_wrap .bubble {
  padding: 1.067vw 3.733vw;
  background-color: #E06666;
}

#simulatorResultAreaInner.active .chart_area_wrap .bubble {
  background-color: #66bb81;
}

.chart_area_wrap .bubble_text {
  font-size: 4.267vw;
  font-weight: normal;
  align-items: baseline;
  line-height: 1.55;
}

.chart_area_wrap .bubble_text span {
  font-size: 3.733333vw;
  font-weight: inherit;
}

#simulatorResultAreaInner.active .chart_area_wrap .bubble::after {
  background-image: url(../images/tail_green.png);
}

.chart_area_wrap .lead_text {
  font-size: 5.333vw;
  font-weight: bold;
}

.chart_area_wrap .lead_text_sub {
  margin-bottom: 2.133vw;
  font-size: 4.2vw;
  font-weight: bold;
}

.chart_area_wrap .lead_text_sub .text-red {
  font-weight: bold;
}

.chart_area_wrap .totalAmountRounded {
  font-size: 8.533vw;
}

.chart_area_wrap .slash_wrap {
  margin-bottom: 2.133vw;
}

.chart_area_wrap .slash_wrap .slash p {
  font-size: 3.733vw;
}

.chart_area_wrap .slash_wrap .slash::before,
.chart_area_wrap .slash_wrap .slash::after {
  height: 4.267vw;
  bottom: 0.8vw;
}

.chart_area_wrap .note {
  text-align: left;
  margin: 3.2vw 0;
}

.simulator_area_inner01 .note.center {
  text-align: center;
  width: fit-content;
  margin: 0 auto;
}

#simulatorResultAreaInner .btn_area_wrap {
  margin: 4.267vw 0 3.2vw;
  display: flex;
  justify-content: space-between;
  gap: 2.133vw;
}

#simulatorResultAreaInner .btn_area_wrap .btn {
  width: 36.133vw;
  height: 14.933vw;
}

#simulatorResultAreaInner .btn_area_wrap .btn p {
  font-size: 2.933vw;
}

#simulatorResultAreaInner.active .chart_area_wrap .slash_wrap {
  display: none;
}

#displayGraphDescription {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: bold;
  margin-bottom: 4.267vw;
}

/* 追加要素 */
.simulator_result_extratext {
  display: none;
  background: #66bb81;
  height: 12vw;
  padding: 3.2vw 0;
  position: absolute;
  width: 100%;
  left: 0;
  top: 0;
}

#simulatorResultAreaInner.active .simulator_result_extratext {
  display: block;
}

.simulator_result_extratext p {
  color: #ffffff;
  font-size: 4.267vw;
  font-weight: bold;
}

/* ツールチップ */
.simulator_area .tooltip_area {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: bold;
  margin-bottom: 5.333vw;
}

.simulator_area .tooltip_area>div {
  width: 49.5%;
  box-sizing: border-box;
}

.simulator_area .tooltip_area>div.active {
  background: #FCF2F2;
  border: 0.266vw solid #EB9999;
  border-radius: 2.133vw;
  padding: 2.133vw 1.6vw;
}

.simulator_area .tooltip_area>div:nth-of-type(2).active {
  background: #EDFAF1;
  border: 0.266vw solid #64C482;
}

.simulator_area .tooltip_area>div h4 {
  font-size: 2.933vw;
  margin-bottom: 1.067vw;
  font-weight: bold;
  text-align: center;
}

.simulator_area .tooltip_area>div p {
  display: flex;
  align-items: center;
  text-align: left;
  font-size: 2.133vw;
}

.simulator_area .tooltip_area>div p::before {
  content: "";
  display: inline-block;
  background: #e06666;
  margin-right: 0.35em;
  width: 2.72vw;
  height: 2.72vw;
}

.simulator_area .tooltip_area #displayTooltip p.principal_text::before {
  background: #e06666;
}

.simulator_area .tooltip_area #displayTooltip p.profit_text::before {
  background: #f5cccc;
}

.simulator_area .tooltip_area #displayExTooltip p.principal_text::before {
  background: #66bb81;
}

.simulator_area .tooltip_area #displayExTooltip p.profit_text::before {
  background: #bcebca;
}

.chart_subtitle {
  position: absolute;
  font-size: 1.819vw;
  bottom: 80%;
  left: 1.067vw;
}

#simulatorResultAreaInner.active .chart_subtitle {
  bottom: 64%;
}

/* プラチナアップグレードエリア */
#platinaUpgradeArea {
  display: none;
  border: 0.533vw solid #46433d;
  border-radius: 2.133vw;
  padding: 9.067vw 4.267vw 5.333vw;
  margin-top: 6.4vw;
  margin-bottom: 6.4vw;
  background: #f0eeec;
  position: relative;
  overflow: hidden;
}

#platinaUpgradeArea .platinaUpgradeArea_haeder {
  width: 100%;
  height: 5.067vw;
  background: #46433d;
  position: absolute;
  left: 0;
  top: 0;
}

#platinaUpgradeArea .platinaUpgradeArea_haeder::before {
  content: "";
  display: inline-block;
  width: 0;
  height: 0;
  border-style: solid;
  border-right: 6px solid transparent;
  border-left: 6px solid transparent;
  border-bottom: 8px solid #ffffff;
  border-top: 0;
}

#platinaUpgradeArea .img_area {
  display: flex;
  align-items: center;
  margin: auto;
  width: 100%;
  border-radius: 2.133vw;
  padding: 1.6vw 2.267vw;
  gap: 2.133vw;
  margin-bottom: 0;
  background: #f7f7f7;
}

#platinaUpgradeArea .img_area img {
  width: 16vw;
}

#platinaUpgradeArea .img_area p {
  font-size: 4.8vw;
  font-weight: 600;
}

#platinaUpgradeArea .lead_text {
  display: flex;
  width: 100%;
  margin: auto;
  margin-bottom: 2.133vw;
  padding-top: 3.2vw;
  justify-content: center;
  align-items: center;
  background-image: url(../images/bg_simulation_point.png);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: top;
}

#platinaUpgradeArea .lead_text .text-sm {
  font-size: 2.6vw;
}

#platinaUpgradeArea .lead_text .text-bg {
  font-size: 4.5vw;
  font-weight: bold;
}

#platinaUpgradeArea .lead_text #platinaPoint {
  font-size: 7.2vw;
}

#platinaUpgradeArea .lead_text_sub {
  width: auto;
  max-width: 100%;
  padding: 1.067vw 0;
  font-size: 4.267vw;
  border-radius: 16vw;
  font-weight: 600;
  margin: auto;
  background: #ffffff;
}

#platinaUpgradeArea .lead_text_sub .text-sm {
  font-size: 3.733vw;
}

#platinaUpgradeArea .lead_text sup {
  font-size: 3vw;
}

/* シミュレーションエリア下部 */
.simulator_area_inner02 {
  margin: auto;
  width: 100%;
  text-align: left;
}

.point_description_area {
  display: none;
  background: #ffffff;
  border-radius: 2.133vw;
  padding: 5.333vw 4.267vw 6.4vw;
  margin-bottom: 8.533vw;
}

.point_description_area h3 {
  font-size: 6.4vw;
  margin-bottom: 4.267vw;
}

.point_description_area .content_wrap {
  display: flex;
  align-items: center;
  padding-bottom: 2.133vw;
  padding-top: 2.133vw;
}

.point_description_area .content_wrap:not(:nth-of-type(2)) {
  background-image: linear-gradient(to right, #9E9E9E, #9E9E9E 0.533333vw, transparent 0);
  background-size: 1.6vw 0.333333vw;
  background-repeat: repeat-x;
  background-position: right bottom;
  text-align: left;
}

.point_description_area .content_wrap::before {
  content: '';
  background-position: center;
  background-size: 100%;
  background-repeat: no-repeat;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: auto 0;
  background-image: url(../images/simulation_point01.png);
  width: 15.467vw;
  height: 15.467vw;
  margin-right: 3.2vw;
}

.point_description_area .content_wrap:nth-of-type(2):before {
  background-image: url(../images/simulation_point02.png);
}

.point_description_area .content_wrap:nth-of-type(3):before {
  background-image: url(../images/simulation_point03.png);
}

.point_description_area .content_wrap p {
  font-size: 3.733vw;
  font-weight: 600;
}

.point_description_area .content_wrap p sup {
  font-size: 2.667vw;
}

.point_description_area .content_wrap p .text-red {
  font-size: 4.267vw;
  font-weight: bold;
}

.simulator_area_inner02 .btn_area_wrap {
  margin-top: 1.067vw;
  margin-bottom: 6.4vw;
}

.simulator_area_inner02 .btn_area_wrap .note li {
  text-indent: -1.5em;
  padding-left: 1.5em;
}

.simulator_area_inner02 .btn_area_wrap .note li::before {
  margin-right: 0;
}

.simulator_area_inner02 .btn_area:nth-of-type(2) .btn_text {
  font-size: 3.467vw;
}

.simulator_area_inner02 .accordion {
  margin-top: 6.4vw;
  margin-bottom: 6.4vw;
}

.simulator_area_inner02 .accordion_title {
  padding: 4.267vw 0 4.267vw 4.267vw;
}

.simulator_area_inner02 .accordion_content {
  padding: 0 4.267vw 4.267vw;
}

.simulator_area_inner02 .accordion_content h5 {
  font-size: 3.2vw;
  margin-bottom: 3.2vw;
}

.simulator_area_inner02>.caution_text {
  font-size: 3.2vw;
}

@media screen and (min-width: 768px) {
  .dcard ul.note li,
  .dcard ol.note li {
    margin-top: 0;
    font-size: 12px;
  }
  
  ul.note li {
    font-size: 12px;
    margin-top: 12px;
  }
  
  ol.note li {
    font-size: 12px;
    margin-top: 12px;
  }
  
  .summary h3 {
    font-size: 36px;
  }

  .summary h3 {
    margin-bottom: 40px;
  }
  
  section.dcard .inner.simulator_header_inner,
  section.dcard .inner.simulator_area_inner {
    padding: 0;
  }

  .simulator_area.title_wrap .border {
    padding-top: 82.85px;
  }

  .simulator_area {
    padding-bottom: 56px;
  }

  .simulator_area.title_wrap {
    background-image: url(../images/pc/simulation_title_bg.png);
    background-repeat: no-repeat;
    background-size: 709.5px 116px;
    background-position: 50% 82.85px;
    width: 100%;
    height: 198.85px;
    margin: auto;
    margin-bottom: 24.68px;
    padding: 0;
  }

  .simulator_area.title_wrap .bubble {
    width: auto;
  }

  .simulator_area.title_wrap .bubble_text {
    font-size: 18px;
  }

  .simulator_area.title_wrap h2 {
    font-size: 30px;
  }

  .simulator_area_inner01 {
    max-width: 670px;
    border-radius: 8px;
    padding: 32px 40px;
    margin-bottom: 40px;
  }

  .chart-container {
    width: 100%;
    margin-top: 20px;
    display: none;
  }

  #addBarsButton {
    display: none;
    font-weight: bold;
    width: 327px;
    font-size: 16px;
  }

  #backYourSettingButton {
    width: 327px;
    font-size: 16px;
  }

  /* 数字入力項目 */
  .simulator_area .input-group p {
    font-size: 22px;
    line-height: 2;
  }

  .simulator_area .input-group p sup {
    font-size: 14px;
  }

  .simulator_input {
    width: 64px;
    height: 41px;
    border-radius: 4px;
    font-size: 28px;
    border: 2px solid #F0EEEC;
  }

  .simulator_area .input-group p.text-sm {
    font-size: 12px;
    line-height: 1;
  }

  .simulator_input:focus {
    outline: solid 2px #facb32;
  }

  .simulator_area .input-group p.text-sm {
    font-size: 12px;
  }

  /* スライダー */
  .simulator_slider {
    width: 304px;
    height: 5px;
  }

  .simulator_slider::before,
  .simulator_slider::after {
    bottom: -24px;
    font-size: 11px;
  }

  /* ツマミ：Chrome, Safari, Edge用 */
  .simulator_slider::-webkit-slider-thumb {
    width: 17px;
    height: 17px;
  }

  /* ツマミ：Firefox用 */
  .simulator_slider::-moz-range-thumb {
    width: 17px;
    height: 17px;
  }

  .simulator_slider_wrap {
    margin-bottom: 32px;
  }

  .simulator_minus,
  .simulator_plus {
    width: 60px;
    height: 60px;
  }

  .simulator_minus::after,
  .simulator_plus::after {
    top: 2px;
    right: 0;
    width: 60px;
    height: 60px;
  }

  .simulator_minus::after {
    right: -4px;
  }

  .simulator_plus::after {
    right: 4px;
  }

  /* カードエリア */
  .simulator_area .card_wrap {
    margin-bottom: 24px;
    align-items: center;
  }

  .simulator_area .card_wrap .card_content {
    display: block;
    border: 1px solid #f0eeec;
    width: 191px;
    height: 142px;
    border-radius: 8px;
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .simulator_area .card_content p {
    margin: auto;
    font-size: 10px;
    line-height: 1.55;
  }

  .simulator_area .card_content p.lead_text {
    width: 74px;
    font-size: 12px;
    border-radius: 50px;
    margin-top: auto;
    margin-bottom: 8px;
  }

  .simulator_area .card_content p.card_name {
    min-height: unset;
    display: block;
  }

  .simulator_area .card_content img {
    height: 53px;
    margin-bottom: 6px;
  }

  /* カードボタンselected */
  .simulator_area .card_wrap .card_content.selected {
    border: 2px solid #facb32;
  }

  .simulator_area .card_wrap .card_content.selected::before {
    top: -8%;
    width: 22px;
    height: 22px;
  }

  /* シミュレーション結果について */
  .simulator_area .caution_wrap h5 {
    margin-top: 24px;
    margin-bottom: 12px;
    font-size: 18px;
  }

  /* シミュレーションエリア外装 */
  #simulatorResultArea.active::before {
    top: -30px;
    width: 3px;
    height: 14px;
  }

  #simulatorResultAreaInner {
    border: 2px solid #e06666;
    border-radius: 8px;
    padding: 40px 16px;
    margin-top: 60px;
  }

  #simulatorResultAreaInner.active {
    border: 2px solid #64c482;
    padding: 100px 16px 40px;
  }

  .simulator_area .lead_text_wrap {
    width: 340px;
    height: 90px;
    margin: auto;
    margin-bottom: 24px;
  }

  #simulatorResultAreaInner .lead_text_wrap p {
    font-size: 24px;
    margin-top: 12px;
  }

  #simulatorResultAreaInner .lead_text_wrap p sup {
    font-size: 12px;
  }

  #simulatorResultAreaInner .lead_text_wrap .lead_text_white {
    font-size: 16px;
    width: 172px;
    padding: 4px 0;
    border-radius: 60px;
  }

  #simulatorResultAreaInner .lead_text_wrap .totalPoint {
    font-size: 36px;
  }

  /* チャート生成ボタン */
  #generateChartButton {
    width: 327px;
    font-size: 16px;
  }

  /* チャートエリア */
  #simulatorResultAreaInner .border {
    padding-top: 24px;
  }

  .chart_area_wrap {
    width: 334px;
  }

  .chart_area_wrap .bubble {
    padding: 4px 14px;
  }

  .chart_area_wrap .bubble_text {
    font-size: 18px;
  }

  .chart_area_wrap .bubble_text span {
    font-size: 16px;
  }

  .chart_area_wrap .lead_text {
    font-size: 24px;
  }

  .chart_area_wrap .lead_text_sub {
    margin-bottom: 16px;
    font-size: 16px;
  }

  .chart_area_wrap .totalAmountRounded {
    font-size: 36px;
  }

  .chart_area_wrap .slash_wrap {
    margin-bottom: 8px;
  }

  .chart_area_wrap .slash_wrap .slash p {
    font-size: 14px;
  }

  .chart_area_wrap .slash_wrap .slash::before,
  .chart_area_wrap .slash_wrap .slash::after {
    height: 12px;
    bottom: 0;
  }

  .chart_area_wrap .note {
    margin: 12px 0;
  }

  #simulatorResultAreaInner .btn_area_wrap {
    margin: 24px 0 12px;
    gap: 16px;
  }

  #simulatorResultAreaInner .btn_area_wrap .btn {
    width: 271px;
    height: 56px;
  }

  #simulatorResultAreaInner .btn_area_wrap .btn p {
    font-size: 14px;
  }

  #displayGraphDescription {
    margin-bottom: 24px;
  }

  /* 追加要素 */
  .simulator_result_extratext {
    height: 48px;
    padding: 12px;
  }

  .simulator_result_extratext p {
    font-size: 18px;
  }

  /* ツールチップ */
  .simulator_area .tooltip_area {
    margin-bottom: 20px;
  }

  .simulator_area .tooltip_area>div {
    width: 49.5%;
  }

  .simulator_area .tooltip_area>div.active {
    border: 1px solid #EB9999;
    border-radius: 8px;
    padding: 8px 6px;
  }

  .simulator_area .tooltip_area>div:nth-of-type(2).active {
    border: 1px solid #64C482;
  }

  .simulator_area .tooltip_area>div h4 {
    font-size: 11px;
    margin-bottom: 4px;
  }

  .simulator_area .tooltip_area>div p {
    font-size: 10px;
  }

  .simulator_area .tooltip_area>div p::before {
    width: 12px;
    height: 12px;
  }

  .chart_subtitle {
    font-size: 10px;
    bottom: 190px;
    left: 4px;
  }

  /* プラチナアップグレードエリア */
  #platinaUpgradeArea {
    border: 2px solid #46433d;
    border-radius: 8px;
    padding: 40px 16px 20px;
    margin-top: 24px;
    margin-bottom: 24px;
  }

  #platinaUpgradeArea .platinaUpgradeArea_haeder {
    width: 100%;
    height: 24px;
  }

  #platinaUpgradeArea .platinaUpgradeArea_haeder::before {
    border-right: 7px solid transparent;
    border-left: 7px solid transparent;
    border-bottom: 10px solid #ffffff;
  }

  #platinaUpgradeArea .img_area {
    width: 456px;
    border-radius: 8px;
    padding: 12px 20px;
    gap: 8px;
    margin-bottom: 16px;
  }

  #platinaUpgradeArea .img_area img {
    width: 60px;
  }

  #platinaUpgradeArea .img_area p {
    font-size: 18px;
  }

  #platinaUpgradeArea .lead_text {
    display: flex;
    width: 412px;
    height: 34px;
    margin: auto;
    margin-bottom: 16px;
    padding-top: 0;
    justify-content: center;
    align-items: center;
    background-image: url(../images/bg_simulation_point.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: top;
  }

  #platinaUpgradeArea .lead_text .text-sm {
    font-size: 12px;
  }

  #platinaUpgradeArea .lead_text .text-bg {
    font-size: 22px;
  }

  #platinaUpgradeArea .lead_text #platinaPoint {
    font-size: 32px;
  }

  #platinaUpgradeArea .lead_text_sub {
    width: max-content;
    padding: 4px 16px;
    font-size: 16px;
    border-radius: 60px;
  }

  #platinaUpgradeArea .lead_text_sub .text-sm {
    font-size: 16px;
  }

  #platinaUpgradeArea .lead_text sup {
    font-size: 12px;
  }

  /* シミュレーションエリア下部 */
  .simulator_area_inner02 {
    max-width: 670px;
  }

  .point_description_area {
    border-radius: 8px;
    padding: 40px 40px 48px;
    margin-bottom: 40px;
  }

  .point_description_area h3 {
    font-size: 26px;
    margin-bottom: 16px;
  }

  .point_description_area .content_wrap {
    padding-bottom: 8px;
    padding-top: 8px;
  }

  .point_description_area .content_wrap:not(:nth-of-type(2)) {
    background-image: linear-gradient(to right, #9E9E9E, #9E9E9E 3px, transparent 0);
    background-size: 7px 1px;
  }

  .point_description_area .content_wrap::before {
    margin: auto 0;
    width: 58px;
    height: 58px;
    margin-right: 12px;
  }

  .point_description_area .content_wrap p {
    font-size: 16px;
    font-weight: bold;
  }

  .point_description_area .content_wrap p sup {
    font-size: 12px;
  }

  .point_description_area .content_wrap p .text-red {
    font-size: 18px;
    font-weight: bold;
  }

  .simulator_area_inner02 .btn_area_wrap {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 4px;
    margin-bottom: 24px;
  }

  .simulator_area_inner02 .btn_area_wrap .note li {
    text-indent: unset;
    padding-left: unset;
  }

  .simulator_area_inner02 .btn_area_wrap .btn {
    width: 327px;
    height: 56px;
  }

  .simulator_area_inner02 .btn_area_wrap>div:nth-of-type(2) .btn_text {
    font-size: 16px;
  }

  .simulator_area_inner02 .accordion {
    margin-top: 24px;
    margin-bottom: 24px;
  }

  .simulator_area_inner02 .accordion_title {
    padding: 32px 0 32px 40px;
  }

  .simulator_area_inner02 .accordion_content {
    padding: 0 40px 32px;
  }

  .simulator_area_inner02 .accordion_content h5 {
    font-size: 18px;
    margin-bottom: 12px;
  }

  .simulator_area_inner02>.caution_text {
    font-size: 12px;
  }
}

/* ============================================================
  footer
============================================================ */
.footer,
.footer .notes,
.footer .copy {
  background-color: #707070;
}

.footer .copy {
  padding: 8.52878vw 0 34.133vw;
}

.footer .copy p {
  color: #FFF;
}

.footer .mt1 {
  margin-top: 1em;
}

@media screen and (min-width: 768px) {
  .footer .notes_content {
    max-width: 1020px;
  }
  
  .footer .copy {
    padding: 40px 0 137px;
  }
}

/* ============================================================
  modal
============================================================ */
body {
  overflow-y: scroll;
}

body.modalLock {
  position: fixed;
  left: 0;
  width: 100%;
}

.modal {
  background-color: rgba(0, 0, 0, 0.40);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
  text-align: center;
}

.modal::before {
  content: "";
  display: inline-block;
  vertical-align: middle;
  height: 100%;
}

.modal__item {
  position: relative;
  display: inline-block;
  vertical-align: middle;
  width: 92%;
  max-width: 92vw;
  background-color: #fff;
  border-radius: 3.2vw;
  padding: 6.4vw;
  max-height: 80vh;
  box-sizing: border-box;
  overflow-y: auto;
  overflow-x: clip;
  box-shadow: 0px 0px 10px 2px rgba(0, 0, 0, 0.25);
}

.modal__button {
  position: absolute;
  top: 4vw;
  right: 4vw;
  width: 3.867vw;
  height: 3.867vw;
  background-image: url(../images/icon-cross01.png);
  background-size: contain;
  background-repeat: no-repeat;
  cursor: pointer;
  border: none;
  background-color: transparent;
}

.modal__button:hover {
  opacity: 0.6;
}

.modal__item.modal_open-acount {
  background-color: #F0EEEC;
  padding: 10.67vw 4.27vw 6.4vw;
}

.modal__item.modal_open-acount h3 {
  position: relative;
  font-size: 5.33vw;
  font-weight: 600;
  text-align: center;
  margin: 0 auto 6.4vw;
  line-height: 1.3;
}

.modal__item.modal_open-acount h3::before {
  position: absolute;
  content: "";
  background-image: url(../images/free-bubble.png);
  background-size: 100%;
  background-repeat: no-repeat;
  width: 12.533vw;
  height: 11.733vw;
  left: 12.53vw;
  top: -5.47vw;
}

.modal_open-acount .modal_inner {
  padding: 0 4.27vw;
  background-color: #ffffff;
  border-radius: 2.13vw;
}

.modal_open-acount .modal_inner .modal_content:nth-of-type(1) {
  background-image: linear-gradient(to left, #9E9E9E, #9E9E9E 0.533333vw, transparent 0);
  background-size: 1.6vw 0.533333vw;
  background-repeat: repeat-x;
  background-position: right bottom;
  text-align: left;
  padding-bottom: 4.27vw;
}

.modal_open-acount .modal_inner .modal_content {
  padding-top: 4.27vw;
  padding-bottom: 6.4vw;
}

.modal__item.modal_open-acount p {
  position: relative;
  font-size: 4.27vw;
  color: #3d3d3d;
  font-weight: 600;
  margin-bottom: 2.13vw;
  text-align: center;
}

.modal__item.modal_open-acount p span {
  color: #CC0000;
}

.modal__item.modal_open-acount .lead_text {
  transform: translateX(-2.63vw);
}

.modal__item.modal_open-acount .lead_text::after {
  position: absolute;
  content: "";
  background-image: url(../images/beginner_icon.png);
  background-size: 100%;
  background-repeat: no-repeat;
  width: 6vw;
  height: 10vw;
  right: 7.73vw;
  top: 0;
}

.modal__item.modal_open-acount .note_text {
  color: #707070;
  font-size: 2.93333vw;
  font-weight: 300;
}
.modal__item.modal_open-acount .btn {
  margin: 0 auto 3.2vw;
  width: 74.93vw;
}

.modal__item.modal_open-acount .btn:hover {
  transform: translateY(1.333vw);
}

.modal__item.modal_open-acount .btn .btn_text {
  margin: 0;
}

.modal__item.modal_open-acount .btn .btn_text sup {
  font-size: 2.667vw;
}

.btn.btn_type5 {
  background: linear-gradient(180deg, #DB0000 50%, #CC0000 50%);
  border: 0.54vw solid #E57878;
  box-shadow: 0px 1.333vw 0px 0px #800000;
  position: relative;
}

.modal__item.modal_open-acount .btn.btn_type5 .btn_text {
  color: #FFF;
}

.modal__item.modal_open-acount .note {
  margin-bottom: 0;
  text-align: center;
}

.modal__item.modal_price-change {
  padding: 16.67vw 5.27vw 18vw;
}

.modal__item.modal_price-change h3 {
  font-size: 5.33vw;
  font-weight: bold;
  text-align: center;
  margin: 0 auto 10.4vw;
  line-height: 1.3;
}

.modal_price-change .modal_content {
  padding: 4.5vw 0;
}

.modal_price-change .modal_content img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 auto;
}

.modal__item.modal_price-change .modal__button {
  background-image: url(../images/icon-cross02.png);
}

.modal__item.modal_ds_support {
  padding: 16.67vw 5.27vw 18vw;
}

.modal_ds_support .modal_title {
  font-size: 5.33vw;
  font-weight: bold;
  text-align: center;
  margin: 0 auto 3.2vw;
  line-height: 1.3;
  color: #3D3D3D;
}

.modal_ds_support .modal_text {
  font-size: 3.733vw;
  margin-bottom: 6.4vw;
  text-align: center;
  color: #3D3D3D;
}

.modal_ds_support .modal_btn_link {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 70vw;
  height: 14.93vw;
  margin: 0 auto;
  border-radius: 9999px;
  border: 0.266vw solid #D4D2CF;
  text-decoration: none;
  background-color: #fff;
}

.modal_ds_support .modal_btn_text {
  font-size: 4.26vw;
  font-weight: 600;
  color: #3D3D3D;
}

.modal_ds_support .modal__button {
  background-image: url(../images/icon-cross01.png);
}

@media screen and (min-width: 768px) {
  .modal__item {
    width: 700px;
    max-width: 90%;
    border-radius: 12px;
    padding: 40px;
    max-height: 90vh;
  }
  
  .modal__button {
    top: 20px;
    right: 20px;
    width: 20px;
    height: 20px;
  }
  
  .modal__item.modal_open-acount {
    width: 90%;
    max-width: 600px;
    padding: 60px 40px 40px;
  }
  
  .modal__item.modal_open-acount h3 {
    font-size: 28px;
    margin-bottom: 40px;
  }
  
  .modal__item.modal_open-acount h3::before {
    width: 60px;
    height: 56px;
    left: 110px;
    top: -28px;
   }
  
  .modal_open-acount .modal_inner {
    padding: 0 30px;
    border-radius: 10px;
  }
  
  .modal_open-acount .modal_inner .modal_content {
    padding-top: 30px;
    padding-bottom: 40px;
  }
  
  .modal_open-acount .modal_inner .modal_content:nth-of-type(1) {
    background-image: repeating-linear-gradient(to right, #9E9E9E, #9E9E9E 3px, transparent 3px, transparent 8px);
    background-size: 100% 2px;
    background-repeat: no-repeat;
    background-position: left bottom;
    padding-bottom: 30px;
  }
  
  .modal__item.modal_open-acount p {
    font-size: 18px;
    margin-bottom: 10px;
  }
  
  .modal__item.modal_open-acount .lead_text {
    position: relative;  
    /*display: inline-block;*/
    margin: 0 auto 10px;
    padding-right: 35px;
    transform: none;  
  }
  
  .modal__item.modal_open-acount .lead_text::after {
    position: absolute;
    content: "";
    width: 26px;
    height: 36px;
    right: 25%;
    top: 30%;
    transform: translateY(-50%);
  }
  
  .modal__item.modal_open-acount .note_text {
    font-size: 13px;
  }
  
  .modal__item.modal_open-acount .btn {
    width: 340px;
    margin-bottom: 20px;
    margin-left: auto;
    margin-right: auto;
  }
  
  .btn.btn_type5 {
    border-width: 2px;
    box-shadow: 0px 5px 0px 0px #800000;
  }
  
  .modal__item.modal_open-acount .btn:hover {
    transform: translateY(3px);
  }
  
  .modal__item.modal_price-change {
    width: 90%;
    max-width: 700px;
    padding: 80px 40px 60px;
  }
  
  .modal_price-change .modal_inner {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 0;
  }

  .modal_price-change .modal_content {
    padding: 20px 0;
  }
  
  .modal__item.modal_price-change h3 {
    font-size: 30px;
    margin-bottom: 40px;
  }  
  
  .modal_price-change img {
    max-width: 340px;
    margin-left: auto;
    margin-right: auto;
  }
  
  .modal__item.modal_ds_support {
    width: 90%;
    max-width: 700px;
    padding: 80px 40px 60px;
  }

  .modal_ds_support .modal_title {
    font-size: 24px;
    margin-bottom: 12px;
  }

  .modal_ds_support .modal_text {
    font-size: 16px;
    margin-bottom: 24px;
  }

  .modal_ds_support .modal_btn_link {
    width: 327px;
    height: 56px;
    border-width: 1px;
  }

  .modal_ds_support .modal_btn_text {
    font-size: 16px;
  }
}

/* ============================================================
   floating
============================================================ */
.p-floating-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  z-index: 100;
  width: 100%;
  padding: 2.13vw 0;
  background-color: rgba(255, 255, 255, 0.94);
}

.p-floating-cta._active {
  display: block;
}

.p-floating-cta__wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2vw;
  width: 93.6vw;
  margin: 0 auto;
}

.p-floating-cta__btn {
  display: block;
  transition: opacity 0.3s;
}

.p-floating-cta__btn img {
  display: block;
  width: 100%;
  height: auto;
}

.p-floating-cta__btn {
  display: block;
  width: 75.47vw;
  transition: opacity 0.3s;
}

.p-floating-cta__btn img {
  display: block;
  width: 100%;
  height: auto;
}

.btnToTop {
  z-index: 5;
  bottom: 22vw !important;
}

@media screen and (min-width: 768px) {
  .p-floating-cta {
    padding: 12px 0;
  }
  .p-floating-cta__wrap {
    width: auto;
    gap: 16px;
  }

  .p-floating-cta__btn {
    width: 327px;
  }
  
  .btnToTop {
    bottom: 120px !important;
  }
}
