@charset "UTF-8";
/* ===================================================================
  CSS information
  file name  :  style.css
=================================================================== */

/* --------------------------
  common
-------------------------- */
:root {
  --noto-sans: "Noto Sans JP", "ヒラギノ角ゴPro W3","Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", Arial, Helvetica, Verdana, sans-serif;
  --navy: #3f4f5f;
  --red: #f35f71;
  --lightblue: #17c0e6;
  --beige: #f7f4f1;
  --orange: #ff8b11;
  --blue: #003499;
}
body {
  background-color: #f2f2f2;
  font-family: var(--noto-sans);
  font-size: min(2.56vw, 20px);
  color: var(--navy);
}
body.fixed {
  max-height: 100vh;
  overflow: hidden;
}

.wrapper {
  width: 100%;
  max-width: 780px;
  margin: 0 auto;
  background-color: #fff;
  box-shadow: 0 0 10px 2px #d6d6d6;
}
.inner {
  width: 89.74%;
  max-width: 700px;
  margin: 0 auto;
}
.ttl-sub {
  display: block;
}

/* --------------------------
  kv-box
-------------------------- */
.kv-box {
  background: url(../../assets/images/kv_bg.png) no-repeat center top / cover;
  position: relative;
}
.kv-box p:last-child {
  position: absolute;
  bottom: 0;
  left: 0;
}

/* --------------------------
  plan-box
-------------------------- */
.plan-box {
  background: url(../images/cv_box_bg.png) no-repeat center top / 100% auto, var(--red);
}
.plan .plan-box {
background: url(../images/cv_box_bg_a.png) no-repeat center top / 100% auto, var(--red);
}

.plan-box .coupon-box,
.plan-box .btn-box {
  display: grid;
}
.plan-box .coupon-box .coupon,
.plan-box .btn-box .btn,
.plan-box .box-bg {
  grid-area: 1 / 1;
}
.plan-box .coupon-box .coupon,
.plan-box .btn-box .btn {
  z-index: 2;
}

/* coupon */
.plan-box .coupon-box .coupon {
  width: 77.56%;
  max-width: 605px;
  margin: 0 auto;
  display: grid;
  position: relative;
  cursor: pointer;
}
.plan-box .coupon-box .coupon span,
.plan-box .coupon-box .coupon img {
  grid-area: 1 / 1;
}
.plan-box .coupon-box .coupon span {
  font-size: 2em;
  line-height: 1;
  font-weight: 500;
  position: absolute;
  bottom: 2.4em;
  left: 38%;
}

/* btn */
.plan-box .btn-box .btn {
  width: 92.31%;
  max-width: 720px;
  margin: 0 0 0 auto;
}
.plan-box .btn-box .btn a {
  display: block;
  width: 92.78%;
  max-width: 668px;
  position: relative;
  animation: ani-down 2.5s infinite;
}

/* --------------------------
  henkin-box
-------------------------- */
.henkin-box {
  padding-bottom: min(15.51vw, 121px);
}
.henkin-btn-box {
  border-radius: min(1.54vw, 12px);
  overflow: hidden;
  box-shadow: min(1.28vw, 10px) min(1.28vw, 10px) min(1.28vw, 10px) rgb(46 50 53 / 0.3);
}
.henkin-btn-box a {
  display: block;
}

.plan .henkin-box {
  padding-top: min(7.82vw, 61px);
  padding-bottom: min(8.46vw, 66px);
}
.support .henkin-box {
  padding-bottom: min(12.82vw, 100px);
}


/* --------------------------
  header
-------------------------- */
/* coupon */
header .coupon-box .coupon {
  position: relative;
  /* pointer-events: none; */
}

header .coupon-box .coupon span,
header .coupon-box .coupon img {
  grid-area: 1 / 1;
}

header .coupon-box .coupon span {
  font-size: 2em;
  line-height: 1;
  font-weight: 500;
  position: absolute;
  bottom: 1em;
  left: 36.41%;
}

/* --------------------------
  nayami
-------------------------- */
.nayami-checkbox {
  display: grid;
  font-size: 2em;
  line-height: 2;
  font-weight: 900;
}
.nayami-checkbox .check-ttl,
.nayami-checkbox .check-list {
  grid-area: 1 / 1;
}

.nayami-checkbox .check-list {
  padding: min(15.9vw, 124px) 0 0 min(9.74vw, 76px);
}
.nayami-checkbox .check-list li {
  padding-left: 1.7em;
  letter-spacing: -0.03em;
  position: relative;
  cursor: pointer;
}
.nayami-checkbox .check-list li::before,
.nayami-checkbox .check-list li::after {
  content: '';
  position: absolute;
  top: 0.6em;
  left: 0;
  box-sizing: border-box;
  height: min(5.26vw, 41px);
}
.nayami-checkbox .check-list li::before {
  width: min(5.26vw, 41px);
  background-color: #fff;
  border: min(0.26vw, 2px) solid currentColor;
}
.nayami-checkbox .check-list li::after {
  width: min(6.28vw, 49px);
  background: url(../../assets/images/checkmark.png) no-repeat left top / contain;
  opacity: 0;
  transition: opacity 0.3s;
}
.nayami-checkbox .check-list li.active::after {
  opacity: 1;
}
.nayami-checkbox .check-list li + li {
  margin-top: min(3.33vw, 26px);
}
.nayami-checkbox .check-list li .line {
  display: inline-block;
  background: url(../../assets/images/line_wavy.png) repeat-x left bottom / min(4.1vw, 32px) min(1.54vw, 12px);
}

.nayami-checkbox .check-list li:last-child {
  line-height: 1.4;
}
.nayami-checkbox .check-list li:last-child span {
  line-height: 2;
}


.nayami-01 {
  background: url(../images/nayami_01_bg_bottom.png) no-repeat center bottom / 100% auto;
}
.nayami-02 {
  background: url(../images/nayami_02_bg_top.png) no-repeat center top / 100% auto, url(../images/nayami_02_bg_bottom.png) repeat-y center bottom / 100% auto;
}

/* --------------------------
  support
-------------------------- */
.support .security-box {
  background-color: var(--blue);
}

/* --------------------------
  voice
-------------------------- */
.voice {
  background-color: var(--red);
}

/* --------------------------
  plan
-------------------------- */
.plan .plan-03 {
  background: url(../../assets/images/plan_03_bg_a.png) repeat-y center top / 100% auto;
}
.plan .plan-04 {
  background: url(../../assets/images/plan_04_bg_a.png) repeat-y center top / 100% auto;
}

.plan-notes-list {
  background-color: var(--beige);
  padding-top: min(11.54vw, 90px);
  padding-bottom: min(18.59vw, 145px);
}
.plan-notes-box {
  font-size: 1.4em;
  line-height: 1.44;
}
.plan-notes-box + .plan-notes-box {
  margin-top: 1.1lh;
}
.plan-notes-box dt {
  font-weight: 700;
}
.plan-notes-box .img-box:first-of-type {
  margin-top: 1em;
}
.plan-notes-box .img-box:nth-last-child(2) {
  margin-bottom: 0.9em;
}

/* --------------------------
  notes
-------------------------- */
.notes {
  padding-top: min(16.41vw, 128px);
  padding-bottom: min(9.23vw, 72px);
}

.notes-area + .notes-area {
  margin-top: 5.7em;
}

.notes .ttl,
.notes .lead {
  letter-spacing: 0.05em;
}
.notes .ttl,
.notes .lead {
  font-weight: 900;
}
.notes .lead {
  font-size: 1.4em;
}
.notes .ttl {
  font-size: 3em;
  text-align: center;
  margin-bottom: 0.6em;
}
.notes .lead {
  margin-bottom: 2.7em;
  line-height: 1.84;
}
.notes .small {
  font-size: 0.8em;
  margin-top: 1lh;
}

.notes .ttl-line {
  font-size: 1.5em;
  font-weight: 700;
  letter-spacing: 0.08em;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-gap: 0.3em;
  align-items: center;
  margin-bottom: 0.4em;
}
.notes .ttl-line::after {
  content: '';
  width: 100%;
  height: 0.1em;
  background-color: var(--navy);
}

.notes-box + .notes-box {
  margin-top: 3lh;
}
.notes-box .box-ttl {
  font-size: 1.7em;
  font-weight: 900;
  letter-spacing: 0.05em;
  margin-bottom: 0.8em;
}
.notes-box dt {
  font-size: 1.4em;
  font-weight: 700;
}
.notes-box dd,
.notes-box p {
  font-size: 1.4em;
  letter-spacing: -0.01em;
  line-height: 1.44;
}

.notes-list-box + .notes-list-box {
  margin-top: 1.23lh;
}

/* --------------------------
  footer
-------------------------- */
footer {
  padding-bottom: min(11.54vw, 90px);
}
footer ul li {
  text-align: center;
}
footer ul li + li {
  margin-top: 1.35em;
}
footer ul li a,
footer ul li a:link,
footer ul li a:visited {
  display: inline-block;
  font-size: 1.4em;
  font-weight: 700;
  line-height: 1.5;
  color: currentColor;
  border-bottom: 1px solid currentColor;
}

/* --------------------------
  floating
-------------------------- */
.floating-bnr {
  background-color: rgb(255 255 255 / 0.9);
  position: sticky;
  bottom: 0;
  left: 0;
  padding: 1em 0 0 min(1.28vw, 10px);
  z-index: 3;
}
.floating-bnr a {
  display: block;
  width: 97.18%;
  max-width: 758px;
  margin: 0 auto;
}

/* --------------------------
  modal
-------------------------- */
.modal {
  display: none;
  height: 100dvh;
  position: fixed;
  width: 100%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 9;
  font-size: 1.4em;
  line-height: 1.4;
  letter-spacing: -0.01em;
}

.modal__bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  text-align: center;
  background: rgb(0 0 0 / 0.5);
  overflow: auto;
  box-sizing: border-box;
}

.modal__content {
  background: #fff;
  text-align: left;
  padding: min(11.54vw, 90px) min(5.13vw, 40px) min(8.21vw, 64px);
  width: 89.74%;
  max-width: 960px;
  height: 94%;
  position: relative;
  top: 50%;
  left: 50%;
  z-index: 8;
  transform: translate(-50%, -50%);
}

.modal_scroll {
  max-height: calc(100% - min(8.21vw, 64px));
  overflow-y: auto;
  padding-bottom: 1em;
}

.modal_scroll p:last-child {
  line-height: 1.4;
}

.modal_scroll span {
  font-size: min(calc(18/750 * 100vw), 18px);
}

.modal-close {
  display: block;
  position: absolute;
  width: min(4.23vw, 33px);
  height: min(4.23vw, 33px);
  top: min(2.82vw, 22px);
  right: min(2.82vw, 22px);
  z-index: 9;
  cursor: pointer;
  background: currentColor;
}

.modal-close::before,
.modal-close::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;

  /* 棒の幅（太さ） */
  width: min(0.51vw, 4px);
  /* 棒の高さ */
  height: min(2.18vw, 17px);
  /* バツ印の色 */
  background: #fff;
}

.modal-close::before {
  transform: translate(-50%, -50%) rotate(45deg);
}
.modal-close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}
p.modal-close {
  margin: 0;
}

.modal .ttl {
  font-size: 1.29em;
  text-align: center;
  padding-bottom: 1em;
}
.modal .modal-lead {
  margin-bottom: 2lh;
}
.modal-box + .modal-box {
  margin-top: 2lh;
}
.modal-box .box-ttl {
  margin-bottom: 0.5em;
}
.modal-box ul li {
  text-indent: -1em;
  padding-left: 1em;
}
.modal-box a {
  color: var(--lightblue);
  text-decoration: underline;
}
.modal .modal-notes {
  font-size: 0.58em;
  margin: 1em 0 5.75em;
}


/* --------------------------
  Animations
-------------------------- */
/* ボタンの光 */
.shine {
  position: absolute;
  width: min(97.31%, 650px);
  height: min(92.14%, 211px);
  border-radius: 1em;
  overflow: hidden;
  top: 0;
  left: min(0.51vw, 4px);
  z-index: 1;
  pointer-events: none;
  mix-blend-mode: overlay;
}
.shine::before {
  content: "";
  width: 200%;
  height: 200%;
  background: -moz-linear-gradient(top, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0) 20%, rgba(255, 255, 255, 1) 45%, rgba(255, 255, 255, 1) 50%, rgba(255, 255, 255, 1) 55%, rgba(255, 255, 255, 0) 80%, rgba(255, 255, 255, 0) 100%);
  background: -webkit-linear-gradient(top, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0) 20%, rgba(255, 255, 255, 1) 45%, rgba(255, 255, 255, 1) 50%, rgba(255, 255, 255, 1) 55%, rgba(255, 255, 255, 0) 80%, rgba(255, 255, 255, 0) 100%);
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0) 20%, rgba(255, 255, 255, 1) 45%, rgba(255, 255, 255, 1) 50%, rgba(255, 255, 255, 1) 55%, rgba(255, 255, 255, 0) 80%, rgba(255, 255, 255, 0) 100%);
  position: absolute;
  top: -50%;
  left: -50%;
  z-index: 1;
  animation: shine 2.5s linear infinite;
}

@keyframes ani-down {
  0% {
    translate: 0 0 0;
  }
  10% {
    translate: 0 1% 0;
  }
  20% {
    translate: 0 0 0;
  }
  30% {
    translate: 0 1% 0;
  }
  40% {
    translate: 0 0 0;
  }
}
@keyframes shine {
  from,
  0% {
    transform: translate3d(-100%, 0, 0) rotate(45deg);
    opacity: 0;
  }
  20% {
    transform: translate3d(-100%, 0, 0) rotate(45deg);
    opacity: 1;
  }
  70% {
    transform: translate3d(100%, 0, 0) rotate(45deg);
    opacity: 1;
  }
  80% {
    transform: translate3d(100%, 0, 0) rotate(45deg);
    opacity: 0;
  }
  to,
  100% {
    transform: translate3d(-100%, 0, 0) rotate(45deg);
    opacity: 0;
  }
}