/*
 *  Remodal - v1.1.1
 *  Responsive, lightweight, fast, synchronized with CSS animations, fully customizable modal window plugin with declarative configuration and hash tracking.
 *  http://vodkabears.github.io/remodal/
 *
 *  Made by Ilya Makarov
 *  Under MIT License
 */

/* ==========================================================================
   Remodal's necessary styles
   ========================================================================== */

/* Hide scroll bar */

html.remodal-is-locked {
  overflow: hidden;

  -ms-touch-action: none;
  touch-action: none;
}

/* Anti FOUC */

.remodal,
[data-remodal-id] {
  display: none;
}

/* Necessary styles of the overlay */

.remodal-overlay {
  position: fixed;
  z-index: 9999;
  top: -5000px;
  right: -5000px;
  bottom: -5000px;
  left: -5000px;

  display: none;
}

/* Necessary styles of the wrapper */

.remodal-wrapper {
  position: fixed;
  z-index: 10000;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;

  display: none;
  overflow: auto;

  text-align: center;

  -webkit-overflow-scrolling: touch;
}

.remodal-wrapper:after {
  display: inline-block;

  height: 100%;
  margin-left: -0.05em;

  content: "";
}

/* Fix iPad, iPhone glitches */

.remodal-overlay,
.remodal-wrapper {
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

/* Necessary styles of the modal dialog */

.remodal {
  position: relative;

  outline: none;

  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

.remodal-is-initialized {
  /* Disable Anti-FOUC */
  display: inline-block;
}

  /* 体裁 */
.remodal_banner_box{
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}


@media screen and (max-width: 780px) {
.remodal_banner_box a{
    width: 90%;
}
}

/* モーダル内CP共通部分css
------------------------------------------------------------ */

/* plan_area------------*/

.remodal section{
    text-align: center;
    background-color: #ffffff;
	padding-bottom: 30px;
}
.remodal h3{
    font-size: 2.4rem;
    font-weight: bold;
    color: #ffffff;
	margin: 30px 0 20px;
	position: relative;
	z-index: 10;
}
.remodal > section h3:after{
    position: absolute;
    content: "";
    display: inline-block;
    top: -5px;
    right: calc(50% - 170px);
    width: 350px;
    height: 45px;
    transform: skewX(-20deg);
    z-index: -1;
}
.remodal p.lead_text{
    font-size: 2.4rem;
    font-weight: bold;
    display: inline-block;
}
.remodal .text_box > li{
    padding: 15px 0;
    display: flex;
    align-items: center;
}
.remodal .text_box > li img{
    margin-right: 10px;
    width: 60px;
}
.remodal .text_box > li div{
    flex: 1;
}
.remodal h4{
    font-size: 1.8rem;
    font-weight: bold;
}
.remodal .text_box{
    text-align: left;
    display: inline-block;
    width: 700px;
}
.remodal p{
    font-size: 1.6rem;
    line-height: 1.7;
}
/* plan_color------------*/
.remodal > section.plan_right{
    border-bottom: 3px #ff6c00 solid;
    border-top: 3px #ff6c00 solid;
}
.remodal > section.plan_right .text_box > li+li{
    border-top: 1px #ff6c00 dashed;
}
.remodal > section.plan_right h3:after{
    background-color: #ff6c00;
}
.remodal > section.plan_right .maker{
background: linear-gradient(transparent 60%, #fff0e5 40%);
}
.remodal > section.plan_right h4,
.remodal > section.plan_right p.lead_text,
.remodal > section.plan_right .color{
    color: #ff6c00;
}
.remodal > section.plan_standard h3:after{
    background-color: #00a9c7;
}
.remodal > section.plan_standard{
    border-bottom: 3px #00a9c7 solid;
    border-top: 3px #00a9c7 solid;
}
.remodal > section.plan_standard .text_box > li+li{
    border-top: 1px #00a9c7 dashed;
}
.remodal > section.plan_standard h3:after{
    background-color: #00a9c7;
}
.remodal > section.plan_standard .maker{
background: linear-gradient(transparent 60%, #e5f6f9 40%);
}
.remodal > section.plan_standard h4,
.remodal > section.plan_standard p.lead_text,
.remodal > section.plan_standard .color{
    color: #00a9c7;
}
.remodal > section.plan_premium h3:after{
    background-color: #d3004a;
}
.remodal > section.plan_premium{
    border-bottom: 3px #d3004a solid;
    border-top: 3px #d3004a solid;
}
.remodal > section.plan_premium .text_box > li+li{
    border-top: 1px #d3004a dashed;
}
.remodal > section.plan_premium h3:after{
    background-color: #d3004a;
}
.remodal > section.plan_premium .maker{
background: linear-gradient(transparent 60%, #fbe5ed 40%);
}
.remodal > section.plan_premium h4,
.remodal > section.plan_premium p.lead_text,
.remodal > section.plan_premium .color{
    color: #d3004a;
}
@media screen and (max-width: 740px) {
/* plan_area------------*/
    .remodal{
        width: 100%;
        margin: 0;
    }
.remodal > section{
    text-align: center;
    background-color: #ffffff;
    position: relative;
	padding-bottom:20px;
}
.remodal h3{
    font-size: 1.8rem;
}
.remodal > section h3:after{
    position: absolute;
    content: "";
    display: inline-block;
    top: -7px;
    right: calc(50% - 130px);
    width: 260px;
    height: 40px;
    transform: skewX(-20deg);
    z-index: -1;
}
.remodal p.lead_text{
    font-size: 2.0rem;
}
.remodal .text_box > li{
    padding: 15px 0;
}
.remodal .text_box > li img{
    margin-right: 10px;
    width: 40px;
}
.remodal h4{
    font-size: 1.6rem;
}
.remodal .text_box{
    text-align: left;
    display: inline-block;
    width: auto;
    margin: 0 15px;
}
.remodal p{
    font-size: 1.4rem;
    line-height: 1.7;
}
}