@font-face {
  font-family: "Noto Sans JP";
  font-style: normal;
  font-weight: 400;
  src: url("../font/NotoSansJP-Regular.woff") format("woff");
  font-display: swap;
}
@font-face {
  font-family: "Noto Sans JP";
  font-style: normal;
  font-weight: 700;
  src: url("../font/NotoSansJP-Bold.woff") format("woff");
  font-display: swap;
}
* {
  margin: 0;
  padding: 0;
}

html {
  font-size: 62.5%;
}

body {
  background: #fff;
  color: #333;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 1.4rem;
  text-align: center;
  line-height: 1.6;
  -webkit-text-size-adjust: 100%;
}
@media screen and (min-width: 750px) {
  body {
    background: #ececec;
    font-size: 1.6rem;
  }
}
@media screen and (max-width: 330px) {
  body {
    font-size: 1.3rem;
  }
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}

a {
  color: #333;
  text-decoration: none;
  transition: color 0.3s ease-in-out 0s;
}
a:hover {
  opacity: 0.8;
}

.red {
  color: #f00;
  font-weight: bold;
}

.yellow {
  color: #ff0;
}

.line_yellow {
  background: linear-gradient(transparent 65%, #ff0 65%);
  font-weight: bold;
}

sup {
  color: #646464;
  font-size: 0.7em;
  font-weight: normal;
  vertical-align: top;
}

.small {
  color: #646464;
  font-size: 0.7em;
  font-weight: normal;
  text-align: left;
  margin: 0 0.6em 1em;
}
@media screen and (min-width: 750px) {
  .small {
    width: 90%;
    margin-inline: auto;
  }
}

@media screen and (min-width: 750px) {
  .pc_none {
    display: none;
  }
}
@media screen and (max-width: 749px) {
  .sp_none {
    display: none;
  }
}
.btn a {
  position: relative;
  overflow: hidden;
  display: block;
  background: #22b47c;
  color: #fff;
  font-weight: bold;
  text-align: center;
  border-bottom: 6px solid #006928;
  box-sizing: border-box;
}
.btn a::after {
  content: "";
  display: block;
  position: absolute;
  width: 30px;
  height: 100%;
  background: #FFF;
  top: -180px;
  left: 0;
  opacity: 0;
  transform: rotate(45deg);
  animation: reflect 2s ease-in-out infinite;
}

@keyframes reflect {
  0% {
    transform: scale(0) rotate(45deg);
    opacity: 0;
  }
  80% {
    transform: scale(0) rotate(45deg);
    opacity: 0.5;
  }
  81% {
    transform: scale(4) rotate(45deg);
    opacity: 1;
  }
  100% {
    transform: scale(50) rotate(45deg);
    opacity: 0;
  }
}
header {
  position: relative;
  width: 100%;
  max-width: 700px;
  background: #fff;
  margin: auto;
}
header span {
  position: absolute;
  display: inline-block;
  background: #fff;
  font-size: 0.8em;
  border: 1px solid #333;
  border-radius: 5px;
  padding: 0 0.4em 0.1em;
  right: 10px;
  bottom: 4%;
}

section {
  width: 100%;
  max-width: 700px;
  margin: auto;
  background: #fff;
}
@media screen and (min-width: 750px) {
  section {
    padding-bottom: 1px;
  }
}

section h1 {
  position: relative;
  background: linear-gradient(180deg, rgb(255, 169, 120) 35%, rgb(255, 124, 49) 100%);
  color: #fff;
  font-size: 1.3em;
  margin-bottom: 0.7em;
  padding: 0.5em 0 0.6em;
}
section h1::before, section h1::after {
  content: "";
  position: absolute;
  display: block;
  width: 100%;
  height: 1px;
  background: #fff;
  left: 0;
}
section h1::before {
  top: 5px;
}
section h1::after {
  bottom: 5px;
}

table.table_top {
  width: 96%;
  border-collapse: collapse;
  border-spacing: 0;
  margin: 0 auto 1em;
}
table.table_top th, table.table_top td {
  font-size: 0.8em;
  border: 1px solid #646464;
  padding: 0.4em;
}
table.table_top th .mini, table.table_top td .mini {
  font-size: 0.9em;
}
table.table_top th {
  white-space: nowrap;
  background: #fff2e4;
}
table.table_top tr:first-child td {
  border-bottom: none;
}
table.table_top tr:first-child td .rank {
  width: 50px;
}
table.table_top tr:nth-child(2) td {
  border-top: none;
  vertical-align: bottom;
}
table.table_top tr:nth-child(2) td .banner {
  width: 80%;
  margin-bottom: 0.3em;
}
table.table_top tr:nth-child(2) td a {
  font-weight: bold;
}
table.table_top td {
  width: 27%;
  min-width: 110px;
}
table.table_top td .icon {
  width: 25px;
  margin: 0.3em 0;
}
table.table_top td.red {
  line-height: 1.7;
}
table.table_top td.red .big {
  font-size: 1.6em;
}
table.table_top td.red .mini {
  font-size: 0.7em;
}
table.table_top td.td_txt {
  text-align: left;
}
table.table_top td .btn a {
  width: 92%;
  border-radius: 6px;
  margin: 0.3em auto 0.4em;
  padding: 0.5em 0;
}
table.table_top td:first-of-type {
  border-left: 2px solid #ff0000;
  border-right: 2px solid #ff0000;
}
table.table_top tr:first-child td:first-of-type {
  border-top: 2px solid #ff0000;
}
table.table_top tr:last-child td:first-of-type {
  border-bottom: 2px solid #ff0000;
}
@media screen and (min-width: 750px) {
  table.table_top {
    width: 80%;
    margin-inline: auto;
  }
  table.table_top tr:first-child td .banner {
    width: 45%;
  }
}

.coupon {
  position: relative;
  width: 90%;
  background: #fff0eb;
  margin-bottom: 1em;
  padding: 1em 0;
}
.coupon h3 {
  position: relative;
  display: inline-block;
  width: calc(100% + 20px);
  background: #ff8383;
  color: #ffff00;
  font-size: 1.2em;
  margin: 0 0 0.6em -15px;
  padding: 0.6em 0;
  box-sizing: border-box;
}
.coupon h3::before {
  position: absolute;
  content: "";
  top: 100%;
  left: 0;
  border: none;
  border-bottom: solid 10px transparent;
  border-right: solid 15px #c45d5d;
}
.coupon h3 span {
  position: relative;
  display: block;
}
.coupon h3 span::before, .coupon h3 span::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 1px;
  border-top: dashed 1px #fff;
  left: 0;
}
.coupon h3 span::before {
  top: -4px;
}
.coupon h3 span::after {
  bottom: -4px;
}
@media screen and (min-width: 750px) {
  .coupon {
    margin: auto;
  }
}

.coupon .txt {
  display: inline-block;
  position: relative;
  color: #ff0000;
  font-size: 1em;
  font-weight: bold;
  margin-bottom: 0.6em;
}
.coupon .images {
  width: 90%;
  margin: 0 auto 1em;
}
.coupon .btn a {
  width: 93%;
  max-width: 500px;
  border-radius: 8px;
  margin: 0 auto 1em;
  padding: 0.4em 0 0.5em;
}

section h2 {
  background: #ff7c31;
  color: #fff;
  font-size: 1.3em;
  margin-bottom: 1em;
  padding: 0.4em 0 0.5em;
}
section h2 span {
  color: #ffff00;
}
section h2 span.size {
  font-size: 1.4em;
}

.content_box {
  border: 4px solid #ffe0bf;
  margin: 0 0.6em 1em;
  padding: 0.4em 0.6em;
  box-sizing: border-box;
}
.content_box h3 {
  font-size: 1.2em;
  line-height: 1.8;
  margin-bottom: 0.8em;
}
.content_box h3 .orange {
  color: #ff7c31;
  font-size: 1.2em;
}
.content_box h3 .orange span {
  display: inline-block;
  position: relative;
}
.content_box h3 .orange span::before {
  content: "";
  position: absolute;
  width: 0.3em;
  height: 0.3em;
  background: #ff7c31;
  top: 0;
  left: 50%;
  border-radius: 50%;
  transform: translateX(-50%);
}
.content_box p {
  text-align: left;
}
.content_box img {
  width: 90%;
  max-width: 400px;
  margin-inline: auto;
}
@media screen and (min-width: 750px) {
  .content_box {
    width: 90%;
    margin-inline: auto;
    padding: 0 1em;
  }
}

.balloon {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 1em 0.4em;
}
.balloon .icon {
  width: 20%;
}
.balloon .icon img {
  width: 100%;
  border: 1px solid #c0c0c0;
  border-radius: 50%;
}
.balloon .txt {
  position: relative;
  width: 75%;
  background: #fff;
  font-size: 0.9em;
  padding: 0.4em;
  border-radius: 6px;
  border: 1px solid #c0c0c0;
  box-sizing: border-box;
}
.balloon .txt::before {
  content: "";
  position: absolute;
  width: 0;
  height: 0;
  border: 1rem solid transparent;
  top: 1rem;
  left: -2rem;
  border-right-color: #c0c0c0;
}
.balloon .txt::after {
  content: "";
  position: absolute;
  width: 0;
  height: 0;
  border: 1rem solid transparent;
  top: 1rem;
  left: -1.8rem;
  border-right-color: #fff;
}
@media screen and (min-width: 750px) {
  .balloon {
    margin-inline: 1.6em;
  }
  .balloon .icon {
    width: 15%;
  }
  .balloon .txt {
    width: 81%;
  }
}

.content_box2 {
  background: #f0f0f0;
  margin: 0 0.6em 1em;
  padding-bottom: 0.1em;
}
.content_box2 h3 {
  background: #333;
  color: #ffff00;
  font-size: 1.2em;
  margin-bottom: 0.8em;
  padding: 0.3em 0;
}
.content_box2 img {
  width: 90%;
  max-width: 500px;
  margin: auto;
}
.content_box2 p {
  text-align: left;
  margin: 0 0.6em 1em;
}
@media screen and (min-width: 750px) {
  .content_box2 {
    width: 90%;
    margin-inline: auto;
  }
  .content_box2 p {
    width: 90%;
    margin-inline: auto;
  }
}

.pick_up {
  position: relative;
  background: #fff2e4;
  border-radius: 6px;
  margin: 1.9em 0 1em;
  padding: 2em 0.6em 1.8em;
}
.pick_up .title {
  position: absolute;
  margin: auto;
  top: -12px;
  left: 0;
  right: 0;
}
.pick_up .title span {
  display: inline-block;
  background: #ff7c31;
  color: #fff;
  font-size: 1.1em;
  font-weight: bold;
  padding: 0.1em 0.6em 0.2em;
  border-radius: 8px;
}
.pick_up .inner .images {
  width: 90%;
  margin: auto;
}
.pick_up .inner .txt_box {
  display: inline-block;
  background: #fff;
  text-align: left;
  border: 2px solid #ff7c31;
  border-radius: 6px;
  margin: 0.8em auto 1em;
  padding: 0.4em 0.6em;
}
.pick_up .inner .btn a {
  width: 96%;
  font-size: 1.1em;
  border-radius: 8px;
  margin: auto;
  padding: 0.6em 0 0.7em;
}
@media screen and (min-width: 750px) {
  .pick_up .inner {
    width: 90%;
    display: flex;
    justify-content: center;
    margin-inline: auto;
  }
  .pick_up .inner .images {
    width: 32%;
    margin: 0;
  }
  .pick_up .inner .right {
    width: 68%;
    margin-left: 0.6em;
  }
  .pick_up .inner .right .txt_box {
    margin: 0 auto 0.6em;
    font-size: 0.9em;
  }
  .pick_up .inner .right .btn a {
    width: 100%;
  }
}

.content_box3 {
  margin: 0 0.6em 1em;
}
.content_box3 h3 {
  position: relative;
  background: #ff7c31;
  color: #fff;
  outline: 1px solid #fff;
  outline-offset: -5px;
  margin-bottom: 1em;
  padding: 0.6em;
  box-sizing: border-box;
}
.content_box3 p {
  text-align: left;
  margin-bottom: 1em;
}
.content_box3 .images {
  text-align: center;
}
@media screen and (min-width: 750px) {
  .content_box3 {
    width: 90%;
    margin-inline: auto;
  }
}

.point_wrap {
  text-align: left;
  margin: 0 0.6em 1em;
}
.point_wrap .head {
  position: relative;
  display: inline-block;
  background: #ff7c31;
  color: #fff;
  font-weight: bold;
  padding: 0.1em 0.4em 0.1em 1.5em;
}
.point_wrap .head::before {
  content: "";
  position: absolute;
  width: 1em;
  height: 1.2em;
  background: url(../img/light.svg) 0/contain no-repeat;
  top: 50%;
  left: 0.5em;
  transform: translateY(-50%);
}
.point_wrap ul {
  list-style: none;
  border: #ff7c31 2px solid;
  padding: 0.4em 0.5em;
}
.point_wrap ul li {
  position: relative;
  padding: 0.1em 0 0.1em 1.2em;
}
.point_wrap ul li::before {
  content: "";
  position: absolute;
  width: 1em;
  height: 1em;
  background: url(../img/check.svg) 0/contain no-repeat;
  top: 5px;
  left: 0;
}
@media screen and (min-width: 750px) {
  .point_wrap {
    width: 90%;
    margin-inline: auto;
  }
}

.distribution {
  padding: 0.6em 1.2em 2em;
  box-sizing: border-box;
}
.distribution h3 {
  background: #ff7c31;
  color: #fff;
  font-size: 1.2em;
  border-right: 4px solid #aa3e00;
  border-bottom: 6px solid #aa3e00;
  border-radius: 6px;
  margin-bottom: 0.8em;
  padding: 0.4em 0;
  box-sizing: border-box;
}
.distribution .inner {
  position: relative;
  overflow: hidden;
  width: 100%;
  background-color: #fff;
  background-image: url(../img/distribution.png), repeating-linear-gradient(0deg, transparent, transparent 14px, rgba(230, 230, 230, 0.8) 14px, rgba(230, 230, 230, 0.8) 15px), repeating-linear-gradient(90deg, transparent, transparent 14px, rgba(230, 230, 230, 0.8) 14px, rgba(230, 230, 230, 0.8) 15px);
  background-repeat: no-repeat;
  background-size: 100% auto;
  padding-top: 105%;
  font-weight: bold;
  border: 2px solid #ff7c31;
  border-radius: 4px;
  box-sizing: border-box;
}
.distribution .inner .circle {
  position: absolute;
  width: 33%;
  height: 33%;
  background: rgba(255, 246, 123, 0.8);
  border-radius: 50%;
  top: 3%;
  left: 68%;
  z-index: 2;
}
.distribution .inner .box {
  position: absolute;
  width: 23%;
  font-size: 0.8em;
  margin: auto;
  box-sizing: border-box;
  z-index: 5;
}
.distribution .inner .box img {
  width: 82%;
}
.distribution .inner .box:nth-child(1) {
  top: 5%;
  left: 73%;
}
.distribution .inner .box:nth-child(2) {
  top: 55%;
  left: 58%;
}
.distribution .inner .box:nth-child(3) {
  top: 33%;
  left: 27%;
}
.distribution .inner .box:nth-child(4) {
  top: 60%;
  left: 27%;
}
.distribution .inner .box:nth-child(5) {
  top: 67%;
  left: 3%;
}
@media screen and (min-width: 750px) {
  .distribution h3 {
    width: 90%;
    margin-inline: auto;
  }
  .distribution .inner {
    width: 80%;
    margin: auto;
    padding-top: 85%;
  }
}

.ranking {
  background: #fafafa;
  border: 2px solid #97a3ad;
  border-radius: 6px;
  margin: 0 0.6em 1.6em;
  box-sizing: border-box;
}
.ranking .head {
  display: flex;
  align-items: center;
  border-bottom: 2px solid #97a3ad;
  margin-bottom: 0.6em;
  padding: 0.6em;
}
.ranking .head .images {
  width: 15%;
  margin-right: 0.6em;
}
.ranking .head .name {
  font-size: 1.5em;
  font-weight: bold;
}
.ranking:first-of-type {
  background: #fffbf5;
  border-color: #dfaf5c;
}
.ranking:first-of-type .head {
  border-color: #dfaf5c;
}
.ranking:nth-of-type(3) {
  background: #fff6f0;
  border-color: #cb6223;
}
.ranking:nth-of-type(3) .head {
  border-color: #cb6223;
}
@media screen and (min-width: 750px) {
  .ranking {
    width: 90%;
    margin-inline: auto;
  }
  .ranking .head .images {
    width: 10%;
  }
}

.ranking .title {
  color: #ff0000;
  font-size: 1.1em;
  font-weight: bold;
  margin-bottom: 0.6em;
}
.ranking .banner {
  width: 90%;
  margin: 0 auto 0.8em;
}
.ranking table {
  width: 94%;
  border-collapse: collapse;
  border-spacing: 0;
  margin: 0 auto 1em;
}
.ranking table th, .ranking table td {
  font-size: 0.9em;
  border: 1px solid #bbbbbb;
  box-sizing: border-box;
}
.ranking table th {
  width: 34%;
  background: #f3f3f3;
  padding: 0.3em;
}
.ranking table td {
  width: 66%;
  background: #fff;
  text-align: left;
  padding: 0.3em 0.6em;
}
@media screen and (min-width: 750px) {
  .ranking .pc_flex {
    display: flex;
    justify-content: space-between;
    width: 94%;
    margin: 0 auto 1em;
  }
  .ranking .pc_flex .banner {
    width: 250px;
    margin: 0 0.6em 0 0;
  }
  .ranking .pc_flex table {
    width: calc(100% - 250px);
    margin: 0;
  }
}

.ranking .price_btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 94%;
  margin: 0 auto 1em;
}
.ranking .price_btn .price {
  width: 35%;
  background: #fff;
  font-size: 0.8em;
  border: 1px solid #cfcfcf;
  border-radius: 4px;
}
.ranking .price_btn .price .price_head {
  background: #ff5a5a;
  color: #fff;
  font-weight: bold;
  padding: 0.2em 0;
}
.ranking .price_btn .price .txt {
  color: #ff0000;
  padding-bottom: 0.2em;
}
.ranking .price_btn .price .txt .big {
  font-size: 1.4em;
  font-weight: bold;
}
.ranking .price_btn .price .txt .mini {
  font-size: 0.8em;
  font-weight: bold;
}
.ranking .price_btn .btn {
  width: 61%;
}
.ranking .price_btn .btn a {
  border-radius: 8px;
  padding: 0.5em 0;
}

.ranking .rank_list {
  position: relative;
  width: 94%;
  background: #fff;
  border: 2px solid #ff7c31;
  border-radius: 8px;
  margin: 1.5em auto 1em;
  padding: 1.2em 0.6em 0.4em;
  box-sizing: border-box;
}
.ranking .rank_list .list_title {
  position: absolute;
  background: #ff7c31;
  color: #fff;
  font-weight: bold;
  border-radius: 8px;
  padding: 0.1em 0.6em 0.2em 1.5em;
  top: -13px;
  left: 0.6em;
}
.ranking .rank_list .list_title::before {
  content: "";
  position: absolute;
  width: 1em;
  height: 1.2em;
  background: url(../img/light.svg) 0/contain no-repeat;
  top: 46%;
  left: 0.5em;
  transform: translateY(-50%);
}
.ranking .rank_list ul {
  list-style-type: none;
}
.ranking .rank_list ul li {
  text-align: left;
  background: url(../img/check.svg) left 9px/1em no-repeat;
  padding: 0.2em 0 0.1em 1.4em;
}
.ranking .rank_images {
  width: 70%;
  max-width: 400px;
  margin: 0 auto 1.6em;
}
.ranking .txt_box {
  position: relative;
  width: 94%;
  background: #fff;
  text-align: left;
  border: 1px solid #9c9c9c;
  border-radius: 6px;
  margin: 0 auto 1em;
  padding: 0.4em 0.6em;
  box-sizing: border-box;
}
.ranking .cta_box {
  width: 94%;
  margin: 0 auto 1em;
}
.ranking .cta_box p {
  color: #22b47c;
  font-size: 1.1em;
  font-weight: bold;
  margin-bottom: 0.2em;
}
.ranking .cta_box .btn a {
  font-size: 1.1em;
  border-radius: 8px;
  padding: 0.8em 0;
}

table.table_bottom {
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
  background: #fff;
  box-sizing: border-box;
  margin: 0 auto 1em;
}
table.table_bottom th, table.table_bottom td {
  white-space: nowrap;
  font-size: 0.8em;
  font-weight: bold;
  border: 1px #9c9c9c solid;
  padding: 0.6em;
}
table.table_bottom th {
  background: #fff2e4;
}
table.table_bottom td:first-child a {
  text-decoration: underline;
}
table.table_bottom td .banner {
  width: 60%;
  margin-bottom: 0.2em;
  box-sizing: border-box;
}
table.table_bottom td.red span {
  font-size: 1.5em;
}
table.table_bottom td.red span.mini {
  font-size: 0.8em;
}
table.table_bottom td .icon {
  width: 24px;
  margin-bottom: 0.3em;
}
table.table_bottom td .btn a {
  text-decoration: none;
  border-radius: 10px;
  box-sizing: border-box;
  padding: 0.8em 1em;
}
table.table_bottom tr:nth-child(2) {
  border: 2px solid #f00;
}
@media screen and (min-width: 750px) {
  table.table_bottom {
    width: 96%;
  }
  table.table_bottom td, table.table_bottom th {
    white-space: normal;
    font-size: 0.7em;
  }
  table.table_bottom td {
    max-width: 120px;
  }
}

.coupon_rank {
  width: 90%;
  max-width: 500px;
  margin: 0 auto 1em;
}

.contents2_box {
  margin-bottom: 1em;
}
.contents2_box p {
  text-align: left;
  margin: 0 0.6em 1em;
}
.contents2_box p.images {
  text-align: center;
}
@media screen and (min-width: 750px) {
  .contents2_box p {
    width: 90%;
    margin-inline: auto;
  }
  .contents2_box p.images {
    max-width: 400px;
  }
}

.trial_slide {
  width: 96%;
  max-width: 400px;
  margin-inline: auto;
}

.review_box {
  margin: 0 0.6em 2em;
}
.review_box .title {
  background: #ff7c31;
  color: #fff;
  font-size: 1.1em;
  font-weight: bold;
  margin-bottom: 0.6em;
  padding: 0.4em 0;
}
.review_box .review {
  padding: 0.5em 0.4em;
  border-radius: 6px;
  box-sizing: border-box;
}
.review_box .review .head {
  display: flex;
  align-items: center;
  border-bottom: 1px dashed #ff7c31;
  margin-bottom: 0.2em;
  padding: 0.6em;
}
.review_box .review .head .icon {
  width: 16%;
  max-width: 60px;
  border-radius: 50%;
}
.review_box .review .head .right {
  width: 80%;
  text-align: left;
  font-weight: bold;
  margin-left: 0.6em;
}
.review_box .review .head .right p {
  margin-bottom: 0.1em;
}
.review_box .review .txt {
  font-size: 0.9em;
  text-align: left;
  margin: 0.4em 0.6em;
}
.review_box .slick-track {
  display: flex;
  background: #fff2e4;
}
@media screen and (min-width: 750px) {
  .review_box {
    width: 500px;
    margin-inline: auto;
  }
}

.point_box {
  border: 2px solid #ff7c31;
  margin: 0 0.6em 1em;
  box-sizing: border-box;
}
.point_box .head {
  background: #ff7c31;
  color: #fff;
  font-size: 1.2em;
  font-weight: bold;
  text-align: center;
  margin: 0;
  padding: 0.3em;
  box-sizing: border-box;
}
.point_box ul {
  list-style-type: none;
  margin: 0.5em 0.4em;
}
.point_box ul li {
  position: relative;
  text-align: left;
  padding: 0.1em 0 0.1em 1.4em;
}
.point_box ul li::before {
  content: "";
  position: absolute;
  width: 1em;
  height: 1em;
  background: url(../img/check.svg) 0/contain no-repeat;
  top: 0.5em;
  left: 0;
}
@media screen and (min-width: 750px) {
  .point_box {
    width: 90%;
    margin: auto;
  }
  .point_box .head {
    width: 100%;
  }
}

footer {
  background: #ff7c31;
  color: white;
  font-size: 0.9em;
  padding: 0.4em 0;
}
footer a {
  color: #fff;
}
footer ul {
  list-style-type: none;
  margin-bottom: 0.2em;
}

.modal_wrap input {
  display: none;
}
.modal_wrap input:checked ~ .modal_overlay {
  opacity: 1;
  transform: scale(1);
  transition: opacity 0.2s;
}
.modal_wrap input:checked ~ .modal_main {
  animation: 0.4s linear rotation1;
  background: #fff;
  padding: 0 0 0.1em;
}
.modal_wrap .modal_overlay {
  position: fixed;
  display: flex;
  align-items: center;
  overflow: auto;
  width: 100%;
  height: 100%;
  background-color: rgba(50, 50, 50, 0.6);
  top: 0;
  left: 0;
  opacity: 0;
  z-index: 9999;
  transform: scale(0);
  transition: opacity 0.2s, transform 0s 0.2s;
}
.modal_wrap .modal_overlay .modal_trigger {
  position: absolute;
  width: 100%;
  height: 100%;
}
.modal_wrap .modal_overlay .modal_content {
  position: absolute;
  align-self: flex-start;
  width: 90%;
  max-width: 500px;
  top: 50%;
  left: 50%;
  box-sizing: border-box;
  transform: translate(-50%, -50%);
}
.modal_wrap .modal_overlay .modal_main h2 {
  background: #ff7c31;
  color: #fff;
  font-size: 1.3em;
  margin-bottom: 0.4em;
  padding: 0.4em 0;
}
.modal_wrap .modal_overlay .modal_main .banner {
  width: 90%;
  margin: 0.4em auto 0;
}
.modal_wrap .modal_overlay .modal_main .red {
  font-size: 1.2em;
  margin-bottom: 0.6em;
}
.modal_wrap .modal_overlay .modal_main img {
  width: 90%;
  max-width: 300px;
}
.modal_wrap .modal_overlay .modal_main .btn a {
  width: 90%;
  font-size: 1.1em;
  border-radius: 8px;
  margin: 0.8em auto 1.4em;
  padding: 0.7em 0 0.5em;
}
.modal_wrap .modal_overlay .modal_main .close-btn {
  display: block;
  position: absolute;
  width: 24px;
  height: 24px;
  background: #333;
  border-radius: 50%;
  top: -28px;
  right: 0;
}
.modal_wrap .modal_overlay .modal_main .close-btn::before, .modal_wrap .modal_overlay .modal_main .close-btn::after {
  content: "";
  position: absolute;
  width: 3px;
  height: 10px;
  background: #fff;
  top: 50%;
  left: 50%;
}
.modal_wrap .modal_overlay .modal_main .close-btn::before {
  transform: translate(-50%, -50%) rotate(45deg);
}
.modal_wrap .modal_overlay .modal_main .close-btn::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

@keyframes rotation1 {
  0% {
    transform: rotate(0) scale(0.4);
  }
  100% {
    transform: rotate(360deg) scale(1);
  }
}