@charset "utf-8";
/*cssリセット*/
html, body, div, h1, h2, h3, h4, h5, h6, p, blockquote, pre, address, ul, ol, li, dl, dt, dd, table, th, td, form, fieldset{
margin:0;
padding:0;
line-height:1.0;
}
html{
  font-size:15px; 
}
table{
  border-collapse:collapse;
  border-spacing:0;
  }
ul, ol{
  list-style:none;
  }
a{
  text-decoration:none;
  color:#333;
  }
img{
  border:0;
  }
img, input{
  vertical-align: bottom;
  }
strong{
  font-weight: 100;
  }


*,
*:after,
*:before {
  padding: 0;
  margin: 0;
}
/*cssリセット*/

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}

body {
  font-family: "メイリオ", "Meiryo", "ＭＳ Ｐゴシック", "MS P Gothic", "Osaka", sans-serif;
  letter-spacing:1;
  line-height: 1.1;
  color: #222;
  font-size:14px;
  word-wrap:break-word;
  overflow-wrap:break-word;
  background-color: #FFF;
  width: 100%;
}

.gray{
  background: #f8f8f8;
}
.l_gray{
  border: 1px solid #eee !important;
}
.clearfix:after{
    content: "";
    clear: both;
    display: block;
}
/* ============================
   header navi
=============================*/
#top-head .inner {
    width: 100%;
    margin: 0 auto;
}
#top-head .inner:after {
    content: "";
    clear: both;
    display: block;
}
 
/* header */
#top-head {
    top: -100px;
    position: absolute;
    width: 100%;
    margin: 60px auto 0;
    padding: 30px 0 0;
    line-height: 1;
    z-index: 999;
}
#top-head a,
#top-head {
    color: #000;
    text-decoration: none;
}
#top-head .inner {
    position: relative;
}
#top-head .logo {
    float: left;
    font-size: 36px;
}
#global-nav ul {
    list-style: none;
    position: absolute;
    right: 0;
    bottom: 0;
    font-size: 14px;
}
#global-nav ul li {
    float: none;
    position: static;
    border-bottom: 1px dashed rgba(255,255,255,.5);
}
#global-nav ul li a {
    padding: 0 20px;
}

/* Toggle Button */
#nav-toggle {
    display: none;
    position: absolute;
    right: 12px;
    top: 14px;
    width: 34px;
    height: 36px;
    cursor: pointer;
    z-index: 101;
}
#nav-toggle div {
    position: relative;
}
#nav-toggle span {
    display: block;
    position: absolute;
    height: 4px;
    width: 100%;
    background: #666;
    left: 0;
    -webkit-transition: .35s ease-in-out;
    -moz-transition: .35s ease-in-out;
    transition: .35s ease-in-out;
}
#nav-toggle span:nth-child(1) {
    top: 0;
}
#nav-toggle span:nth-child(2) {
    top: 11px;
}
#nav-toggle span:nth-child(3) {
    top: 22px;
}

    #top-head,
    #top-head .inner {
        width: 100%;
        padding: 0;
    }
    #top-head {
        top: 0;
        position: fixed;
        margin-top: 0;
    }
    /* Fixed reset */
    #top-head.fixed {
        padding-top: 0;
        background: transparent;
    }
    #mobile-head {
        background: rgba(255,255,255,.7);
        width: 100%;
        height: 56px;
        z-index: 999;
        position: relative;
    }
    #top-head.fixed .logo,
    #top-head .logo {
        position: absolute;
        left: 13px;
        top: 13px;
        color: #333;
        font-size: 26px;
    }
    #global-nav {
        position: absolute;
        /* 開いてないときは画面外に配置 */
        top: -500px;
        background: rgba(0,0,0, 0.9);
        width: 100%;
        text-align: center;
        padding: 0;
        -webkit-transition: .5s ease-in-out;
        -moz-transition: .5s ease-in-out;
        transition: .5s ease-in-out;
    }
    #global-nav ul {
        list-style: none;
        position: static;
        right: 0;
        bottom: 0;
        font-size: 14px;
    }
    #global-nav ul li:last-child{
      border-bottom: none;
    }


    #top-head #global-nav ul li a,
    #top-head.fixed #global-nav ul li a {
        width: 100%;
        display: block;
        color: #fff;
        padding: 20px 0;
    }
    #nav-toggle {
        display: none;
    }
    /* #nav-toggle 切り替えアニメーション */
    .open #nav-toggle span:nth-child(1) {
        top: 11px;
        -webkit-transform: rotate(315deg);
        -moz-transform: rotate(315deg);
        transform: rotate(315deg);
    }
    .open #nav-toggle span:nth-child(2) {
        width: 0;
        left: 50%;
    }
    .open #nav-toggle span:nth-child(3) {
        top: 11px;
        -webkit-transform: rotate(-315deg);
        -moz-transform: rotate(-315deg);
        transform: rotate(-315deg);
    }
    /* #global-nav スライドアニメーション */
    .open #global-nav {
        /* #global-nav top + #mobile-head height */
        -moz-transform: translateY(556px);
        -webkit-transform: translateY(556px);
        transform: translateY(556px);
    }

/* ============================
   contants
=============================*/
.container {
  width: 100%;
  text-align: center;
  font-weight: 300;
  overflow:hidden;
    max-width: 768px;
    margin: 0 auto;
}
.container .section {
  position: relative;
  letter-spacing: 0.1rem;
  padding: 0 ;
  height: auto;
}
section .inner {
  padding: 0 5%;
  margin-top: -20px;
  text-align: center;
  transition: .9s;
}
section .inner img{
  width: 100%;
}
#contents_about{
  margin: 0;
  text-align: center;
  transition: .8s;
}
#contents_about .inner{
  margin: 0;
}
section#visual h1 img{
  width:100%;
  margin-top: 55px;
}

.section img{
  width: 100%;
}

.sec_tit{
  font-weight: 400;
  width: 100%;
  text-align: center;
  color: #000;
  background: #8fc523;
  font-size: 1.6rem;
  padding: 1rem 0;
  margin: 0;
  position: relative;
}
.sec_tit:before{
  z-index: 0;
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("img/overlay.png") repeat;
  opacity: 0.5;
}
.sec_tit_m{
  max-width: 300px;
  font-weight: 400;
  text-align: center;
  color: #222;
  font-size: 0.9rem;
  margin: 9% auto 0;
  letter-spacing: 2px;
  line-height: 1.3;
  position: relative;
  z-index: 3;
  }
.sec_tit_mm{
  max-width: 300px;
  font-weight: 400;
  text-align: center;
  color: #222;
  font-size: 0.9rem;
  margin: 5% auto;
  letter-spacing: 2px;
  line-height: 1.3;
  position: relative;
  z-index: 3;
  }

.sec_tit_m:after{
  position: absolute;
  content: "さらに";
  display: block;
  font-size: 0.8rem;
  top: 0;
  left: 1%;
  transform: rotate(-30deg);
  font-weight: bold;
  letter-spacing: 0;
  color: #ff7b33;
  }

.sec_tit_m span{
    font-size: 1.3rem;
    font-weight: bold;
    color: #ff7b33;
}

.sec_tit_s{
  font-weight: 300;
  text-align: center;
  color: #8fc523;
  font-size: 1rem;
  margin-bottom: 0.8rem;
  letter-spacing: normal;
}

.exchange:before{
  display: block;
  width: 52px;
  height: 50px;
  margin: 0.5rem auto 0.8rem;
  content: "";
  background: url(img/svg/app_icon.svg) 0 0 no-repeat;
  background-size: contain;
  vertical-align: middle;
}
.card:before{
display: block;
width: 52px;
height: 40px;
margin: 0.5rem auto;
content: "";
background: url(img/svg/card_icon.svg) 0 0 no-repeat;
background-size: contain;
vertical-align: middle;
}
.p10{
  padding-bottom: 15px !important;
}
.jyou:before{
  display: block;
  width: 72px;
  height: 50px;
  margin: 0.5rem auto 0.8rem;
  content: "";
  background: url(img/svg/jyou_icon.svg) 0 0 no-repeat;
  background-size: contain;
  vertical-align: middle;
}
#contents04{
  padding-top:20px;
}

.why{
  border-top: 1px dashed #ccc;
  padding-top:10px; 
}
.why:before{
  display: block;
  width: 58px;
  height: 50px;
  margin: 0.5rem auto 0.8rem;
  content: "";
  background: url(img/svg/why_icon.svg) 0 0 no-repeat;
  background-size: contain;
  vertical-align: middle;
}
.shop:before{
  display: block;
  width: 50px;
  height: 50px;
  margin: 0.5rem auto 0.8rem;
  content: "";
  background: url(img/svg/shop_icon.svg) 0 0 no-repeat;
  background-size: contain;
  vertical-align: middle;
}
.rest:before{
  display: block;
  width: 47px;
  height: 50px;
  margin: 0.5rem auto 0.8rem;
  content: "";
  background: url(img/svg/rest_icon.svg) 0 0 no-repeat;
  background-size: contain;
  vertical-align: middle;
}

.last:before{
  display: block;
  width: 82px;
  height: 60px;
  margin: 1.5rem auto 0.8rem;
  content: "";
  background: url(img/svg/last_icon.svg) 0 0 no-repeat;
  background-size: contain;
  vertical-align: middle;
}
.maincopy{
  font-size: 0.9rem;
  text-align: center;
  margin: 1rem;
  line-height: 1.3;
  letter-spacing: 1px;
}
.service{
  width: 97%;
  margin:20px auto 0;
}
.service dl.left{
  width:45%;
  float:left;
  margin:0;
  padding:0;
}
.service dl.right{
  width:45%;
  float:left;
  margin:0 0 0 10%;
  padding:0;
}
.service dl dt{
  position: relative;
  color:#000;
  font-weight: 500;
  padding: 8px 5px 0;
  margin-bottom: 10px;
  border-radius: 3px;
  /*text-shadow: 0 1px 0px #FFF;*/

/*-webkit-animation-name: baloon;
-webkit-animation-duration: 1s;
-webkit-animation-iteration-count: infinite;
-webkit-animation-timing-function: ease;
-moz-animation-name: baloon;
-moz-animation-duration: 1s;
-moz-animation-iteration-count: infinite;
-moz-animation-timing-function: ease;*/
}
.service dl dt small{
  font-size: 0.6rem;
}
.service dl dt p{
  font-size: 1rem;
  margin-bottom: 0.3rem;
}
.service dl.left dt{
  background: #FBC600;
}
.service dl.right dt{
  background: #FBC600;
}
.service dl dt:after{
  content: "";
  position: absolute;
  bottom: -6px;
  right: -100%;
  left: -100%;
  width: 0;
  height: 0px;
  margin: auto;
  border-right: 20px solid transparent;
  border-left: 20px solid transparent;
}
dl.left dt:after{
  border-top: 10px solid #FBC600;
}
dl.right dt:after{
  border-top: 10px solid #FBC600;
}

.service dl dd{
  margin:0;
  padding:0;
  position: relative;
}
.service dl.left dd:after{
  content: "";
  position: absolute;
  top: 40%;
  right: -17%;
  width: 0;
  height: 0px;
  margin: auto;
  border-left: 15px solid #dedede;
  border-top: 20px solid transparent;
  border-bottom: 20px solid transparent;
}

.service dl dd img{
  width: 100%;
}

.desc_inner{
  width: 85%;
  margin: 20px auto 0;
  padding: 3%;
  height: auto;
  border: 3px solid rgb(214,214,214);
  border-radius: 20px;
  text-align: center;
}
.bdr_no{
  border: none;
}
.inner_head{
  padding: 10px 0 15px;
  font-size: 1.1rem;
  font-weight: 700;
  text-align: center;
  color: #ff7b33;
  line-height: 1.2;
  border-bottom: 2px dotted rgb(214,214,214);
}
.inner_body{
  padding: 10px 0;
  font-size: 0.8rem;
  text-align: left;
  color: #000;
  line-height: 1.3;
}
.inred{
  color: #fb8059;
}

/* ============================

  service list

=============================*/
.service_list_box {
    width: 46%;
    float: left;
    background-color: #FFF;
    margin: 0 0 3px 0;
    text-align: center;
    border:1px solid #F3F2F2; 
    border-radius: 6px;
    -webkit-box-shadow: 0 2px 0 0 #ddd;
    box-shadow: 0 2px 0 0 #ddd;
}
.service_list_box a {
    display: block;
    padding-bottom: 5px;
    color: #111;
    letter-spacing: initial;
}
.mr_lef{
  margin-left: 6%;
}
h4.tit_service {
    color: #000;
    background: #FBC600;
    width: 100%;
    padding: 10px 0;
    font-size: 0.7rem;
    font-weight: bold;
    letter-spacing: normal;
    margin: 0 auto 5px;
    border-radius: 20px;
    text-shadow: 0 1px 0 #FFF;
}
h4.tit_service:before {
    content: '';
    display: block;
    position: absolute;
    bottom: 0;
    left: 50%;
    border: 8px solid transparent;
    border-top: 5px solid #FBC600;
    margin: 0px 0 -13px -8px;

}
.baloon{
    -webkit-animation-name: baloon;
    -webkit-animation-duration:1.5s;
    -webkit-animation-iteration-count:infinite;
    /*-webkit-animation-direction:alternate;*/
    -webkit-animation-timing-function:ease;
    
    -moz-animation-name:baloon;
    -moz-animation-duration:1.5s;
    -moz-animation-iteration-count:infinite;
    /*-moz-animation-direction:alternate;*/
    -moz-animation-timing-function:ease;
}
    @-webkit-keyframes baloon {
      0% {-webkit-transform:translate(0, -1px);}
      50% {-webkit-transform:translate(0, -10px);}
      100% {-webkit-transform:translate(0, -1px);}
    }
    @-moz-keyframes baloon {
      0% {-moz-transform:translate(0, -1px);}
      50% {-moz-transform:translate(0, -10px);}
      100% {-moz-transform:translate(0, -1px);}
    }

.service_points {
    display: block;
    background-size: 15px 15px;
    color: #ff7b33;
    font-weight: 700;
    margin: 5px 0;
    font-size: 0.9rem;
    line-height: 1.2;
}
.point_s{
    font-size: 0.7rem;
}
.fuyobi{
    font-size: 0.7rem;
    margin: 10px 0;
}


/* ============================

   共通

=============================*/
/*  次へ  */
.nxarrow,
.nxarrow2,
.nxarrow3{
  width: 100%;
  display: block;
  min-height: 60px;
  position: relative;
}
.nxarrow:after{
  content: "";
  position: absolute;
  /* top: 100%; */
  /* bottom: -100%; */
  right: -100%;
  left: -100%;
  width: 0;
  height: 0px;
  margin: auto;
  border-top: 50px solid #f8f8f8;
  border-right: 350px solid transparent;
  border-left: 350px solid transparent;
}
.nxarrow2:after{
  content: "";
  position: absolute;
  /* top: 100%; */
  /* bottom: -100%; */
  right: -100%;
  left: -100%;
  width: 0;
  height: 0px;
  margin: auto;
  border-top: 50px solid #FFF;
  border-right: 350px solid transparent;
  border-left: 350px solid transparent;
}
.nxarrow p{
  text-align: center;
  padding: 1rem 0;
  color: #FFF;
}

.nxarrow3:after{
  content: "";
  position: absolute;
  /* top: 100%; */
  /* bottom: -100%; */
  right: -100%;
  left: -100%;
  width: 0;
  height: 0px;
  margin: auto;
  border-top: 30px solid  rgb(255, 210, 185);
  border-right: 50px solid transparent;
  border-left: 50px solid transparent;

  -webkit-animation-name: baloon3;
  -webkit-animation-duration: 1.5s;
  -webkit-animation-iteration-count: infinite;
  -webkit-animation-timing-function: ease;
  -moz-animation-name: baloon3;
  -moz-animation-duration: 1.5s;
  -moz-animation-iteration-count: infinite;
  -moz-animation-timing-function: ease;
}
@-webkit-keyframes baloon3 {
  0% {-webkit-transform:translate(0, -10px);}
  50% {-webkit-transform:translate(0, -30px);}
  100% {-webkit-transform:translate(0, -10px);}
}
@-moz-keyframes baloon3 {
  0% {-moz-transform:translate(0, -10px);}
  50% {-moz-transform:translate(0, -30px);}
  100% {-moz-transform:translate(0, -10px);}
}

/*  ボタン  */
/*------------------------------------------
// User style start
// change
----------------------------------------- */
.general-button  {
  display: -moz-inline-box;
  display: inline-block;
  min-width:95%;
  border-radius: 6px;
  background-color: #00aced;
  color:#fff;
  border: 3px solid rgba(255,255,255,.2);
  box-shadow: 0px 5px 0px 0px #929394;
  cursor: pointer;
  text-decoration: none;
  line-height: 1;
  margin: 0.5rem 0 0.5rem;
  position: relative;
  user-select: none;
  -moz-user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;transition: all 0ms;
  -moz-transition: all 0ms;
  -webkit-transition: all 0ms;
  -o-transition: all 0ms;
  position: relative;
}
.general-button:active {
  top:3px;
  background-image: linear-gradient(rgb(6, 140, 60) 100%, rgb(101,86,78) 0%);
  box-shadow: 0px 2px 0px 0px #92C242;
}
.general-button:active::before {
  top:50%;
}
.button-content {
  display: block;
  /*width: 80%;*/
  border-radius: 0px 0px 6px 6px;
  padding: 11px 8.5px;
  color: #fff;
  text-shadow: 0 1px 1px rgba(0,0,0, 0.3);
  position: relative;
}
.button-content:after{
    display: block;
    position: absolute;
    content: "";
    top: 30%;
    right: 1rem;
    width: 0px;
    border-color: #FFF;
    border-style: solid;
    border-width: 7px;
    border-top-color: transparent;
    border-bottom-color: transparent;
    border-right-color: transparent;
}
.button-text  {
  padding: 0 2rem 0 1rem;
  line-height: 1;
  font-size: 1rem;
  font-weight: 300;
  /*display: table-cell;*/
  /*vertical-align: middle;*/
  text-decoration: none;
  text-align: center;
}
/*  上へ  */
.to_top {
    position: fixed;
    bottom: 10px;
    right: 10px;
}
.to_top img {
    width: 50px;
}

.small {
    text-align: center;
    font-size: 0.4rem;
    padding: 30px 0 10px;
    background: #FFF;
}
.foot_logo{
  display: block;
  margin: 20px auto 0;
  text-align: center;
}
.foot_logo img{
  height: auto;
  width: auto;
}
.short_time{
  clear:both;
}


/* ============================
*   *tablet
*   contants
=============================*/
@media screen and (min-width: 768px) {
  .inner_head {
      font-size: 1.5rem;
      line-height: 1;
  }
  .inner_body {
      font-size: 1.2rem;
      line-height: 1.3;
 }

  section .inner img{
  width: 70%;
  }
}

section.diagnosis{
  display: block;
  height: auto;
}
section#more{
  display: none;
  opacity: 0;
  padding:20px 0;
  border-top:1px solid #ccc; 
  transition-duration:2s;
  transition-timing-function:liner;
}
.more{
  display: none;
  opacity: 0;

}

p.dia_ballon{
  position: relative;
  width: auto;
  max-width: 90%;
  color: #000;
  font-weight: 500;
  font-size: 0.8rem;
  line-height: 1.3;
  padding: 0.8rem;
  margin: 10px auto 15px;
  border-radius: 20px;
  background: #f0f0f0;
}

p.dia_ballon:after{
  content: "";
  position: absolute;
  bottom: -6px;
  right: -100%;
  left: -100%;
  width: 0;
  height: 0px;
  margin: auto;
  border-top: 10px solid #f0f0f0;
  border-right: 20px solid transparent;
  border-left: 20px solid transparent;
}
p.bal_pt{
  font-weight: bold;
  font-size: 2rem;
  text-align: center;
  color: #ff7b33;
  margin: 20px 0 10px;
}

p.bal_pt span{
  display: block;
  font-weight: normal;
  font-size: 1rem; 
  margin-top: 5px;
}
/* ==========================
*
*   check
============================*/

#diagnosis{
  background: #FFF;
}

{
  margin: 0 auto;
  width: 100%;
  min-height: 350px;
  /*background: #fff;*/
  text-align: center;
  position: relative;
  overflow: hidden;
}
ul.answers {
  margin-top:0px;
  width: 100%;
  box-sizing: border-box;
}
ul.answers li a{
  /* padding: 1.5rem; */
  font-size: 1.4rem;
  cursor: pointer;
  padding: 1rem 0;
  color: #FFF;
  text-shadow: 0 1px 1px rgba(0,0,0, 0.3);
  box-shadow: 0px 5px 0px 0px #929394;
  position: relative;
  font-family: 'FontAwesome';
}
ul.answers li a:hover,
ul.answers li a:active {
  box-shadow:none;
}
ul.answers li a:before{
    /* transform: rotate(-15deg); */
    position: absolute;
    left: 0;
    top: 3%;
    left: 4px;
    display: inline-block;
    width: 34px; 
    height: 30px; 
    content: "";
    background-size: contain;
    vertical-align: middle;
    color: #e7ffbf;
    font-size: 2.5rem;
}
ul.answers li a[id="1_1"]:before{
  content: "\f10c";
}
ul.answers li a[id="1_2"]:before{
  content: "\f00d";
}
ul.answers li a[id="2_3"]:before{
  content: "\f0d6";
}
ul.answers li a[id="2_4"]:before{
  content: "\f07a";
}
ul.answers li a[id="2_1"]:before{
  content: "\f015";
    font-size: 2.8rem;
}
ul.answers li a[id="2_2"]:before{
  content: "\f1b9";
}

.qNum{
  height:30px;
  width: 30px;
}
.qNum img{
  vertical-align: middle;
  height:23px;
  width: 30px;
  margin-right: 0.5rem;
}

.q {
  padding: 15% 5% 10%;
  width: 100%;
  border-bottom: 3px solid #ff7b33;
  box-sizing: border-box;
  background: rgb(255, 250, 191);
  background-image: -webkit-gradient(linear,0 0,100% 100%,color-stop(.25,hsla(0,0%,100%,.2)),color-stop(.25,transparent),color-stop(.2,transparent),color-stop(.2,hsla(0,0%,100%,.2)),color-stop(.75,hsla(0,0%,100%,.2)),color-stop(.75,transparent),to(transparent)); 
  background-image: -webkit-linear-gradient(-45deg,hsla(0,0%,100%,.2) 25%,transparent 0,transparent 50%,hsla(0,0%,100%,.2) 0,hsla(0,0%,100%,.2) 75%,transparent 0,transparent); 
  background-image: -webkit-linear-gradient(135deg,hsla(0,0%,100%,.2) 25%,transparent 0,transparent 50%,hsla(0,0%,100%,.2) 0,hsla(0,0%,100%,.2) 75%,transparent 0,transparent);
  background-image: linear-gradient(-45deg,hsla(0,0%,100%,.7) 25%,transparent 0,transparent 50%,hsla(0,0%,100%,.7) 0,hsla(0,0%,100%,.7) 75%,transparent 0,transparent); 
  -webkit-background-size: 10px 10px;
  background-size: 10px 10px; 
}
.q dt {
  margin-bottom: 20px;
  font-size: 0.8rem;
}

div.for{
  position:relative;
  width: 98%;
  background: #FFF;
  text-align: center;
  font-size: 0.9rem;
  margin: 15px 0 10px;
  padding: 1rem 0;
  border: 3px solid #fbc600;
  border-radius:10px 10px 0 0;
}
.service_title{
  position: absolute;
  top: -10px;
  left: 10px;
  padding: 10px 15px;
  background: #fbc600;
}
.service_name{
  width: 100%;
  margin-top: 20px;
  text-align: center;
  font-weight: bold;
  font-size: 1.1rem;
}


img.voice_card{
  width:70%;
}
img.macth_card{
    width: 20%;
    position: absolute;
    right: -5px;
    bottom: -25px;
    z-index: 10;
}
.ribbon{
    line-height: 45px;
    padding: 0 1em;
    margin: -27px 0 20px -10%;
    width: 120%;
    background-color: #ff7b33;
    z-index: 9;
    color: #FFF;
    -webkit-transform: rotate(-2deg);
    transform: rotate(-2deg);

}

.q dl{
    width: 98%;
    border: 3px solid #fbc600;
    border-radius:0 0 10px 10px;
    background: #FFF;
    padding-bottom: 20px;
}
.q dl dd.service_bnr{
    margin: 0 0 0 3%;
    max-height: 100px;
    line-height: 0;
    position: relative;
    text-align: center;
    float: left;
    background: rgb(255, 250, 191);
    width: 47%;
  }

.q dl dd.service_bnr a{
  display: block;
}

.q dl dd.service_bnr span {
    display: table-cell;
    vertical-align: middle;
    height: 68px;
}
.q dl dd.service_bnr img {
    margin: 0 auto;
    width: auto;
    height: auto;
    max-height: 180px;
    max-width: 100%;
}
.q dl dd.service_bnr,
.q dl dd.service_bnr img {
    display: table;
    vertical-align: middle;
}

.q dl dd.service_info {
    position: relative;
    float: right;
    line-height: 1.5rem;
    width: 40%;
    min-height: 107px;
    margin: 0 3% 0 0;
    text-align: center;
    border: 1px solid #000;
    border-radius: 10px;
    padding: 0.5rem;
}

.q dl dd.service_info :before,
.q dl dd.service_info :after{
  position: absolute;
  content:"";
  display:block;
  border-left: solid 10px transparent;
  border-right: solid 10px transparent;
  border-bottom: solid 15px #222;
  top: -15px;
  left:80%;
  height:0;
  margin-left:-5px;
  width:0;
}
.q dl dd.service_info :after{
  border-bottom-color: #FFF;
  top:-13px;
}


.q dl dd.service_tit {
    font-size: 0.8rem;
    color: #000;
    font-weight: 700;
    padding: 1% 3%;
    margin-bottom: 5px;
    letter-spacing: normal;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.service_condition{
    font-size: 0.8rem;
    margin: 0;
    color: #000;
    padding: 2%;
    text-align: left;
    letter-spacing: inherit;
    line-height: normal;
}

.q dd.fximg,
.q dd.point{
  float:left;
}

.Qimg{
  display: block;
  width:100%;
  text-align: center;
  color: #999;
}
.Qimg img{
  width:27%;
  text-align: center;
}
.Qimg span.or{
  color: orange;
}

.fximg{
  width: 55%;
  margin-right: 3%;
  background: #f0f0f0;
}
.fximg img{
  width: auto;
  max-width: 100%;
  max-height: 150px;
}
.point{
  width: 42%;
}

.point ul{
  width: 100%;
}
.point ul li{
  display: block;
  width: 100%;
  padding: 0.5rem 0;
  font-size: 0.8rem;
  line-height: 1.2rem;
  margin-bottom: 5px;
  background: #FBC600;
  border-radius: 5px;
}

.desc{
  padding-top: 10px;
  content: "";
  clear: both;
  display: block;
}
.desc p{
  width: 100%;
  line-height: 1.2rem;
  font-size: 0.9rem;
  text-align: left;
}

.xday-after {
  display: none;
}

.main_wrap_in {
    width: 100%;
    margin: 0 auto 10px;
    padding: 0 0 30px;
}
.main_area.main_wrap_in:before {
    content: "";
    background: none;
    width: 0;
    height: 0;
    position: absolute;
}

.student {
  position: absolute;
  top: 150px;
    right: -90px;
}

.contents .main_area {
  width: 100%;
  margin: 30px auto 0;
  padding: 40px 0 40px;
  position: relative;
  background-size: contain;
}

.question {
  font-size: 1.2em;
  line-height: 1.5em;
  margin: 20px 0 5px;
  position: relative;
}

.answer_btn_area {
  width: 90vw;
  margin: 0 auto;
}
.answer_btn_area img {
    width: 100%;
}
.answer_btn_area ul {
  margin: 0 0 10px 0
}


.btn_reset{
  width: 90%;
  display: block;
  margin: 50px auto;
}

.btn_reset2{
  width: 90%;
  display: block;
  margin: 50px auto;
}

.btn_tweet{
  width: 90%;
  display: block;
  margin: 0 auto;
}

.btn_tweet2{
  width: 90%;
  display: block;
  margin: 0 auto;
}

.btn_reset{
  display: block;
  float: left;
  width: 39.5%;
  padding: 1rem 1rem 1rem 0;
  margin: 20px auto 10px;
  color: #FFF;
  font-size: 0.7rem;
  text-shadow: 0 1px 1px rgba(0,0,0, 0.3);
  border-radius: 6px;
  border: 3px solid rgba(255,255,255,.2);
  font-family: 'FontAwesome';
}

.btn_reset2{
  display: block;
  float: left;
  width: 39.5%;
  padding: 1rem 1rem 1rem 0;
  margin: 20px auto 10px;
  color: #FFF;
  font-size: 0.7rem;
  text-shadow: 0 1px 1px rgba(0,0,0, 0.3);
  border-radius: 6px;
  border: 3px solid rgba(255,255,255,.2);
  font-family: 'FontAwesome';
}

.btn_tweet{
  display: block;
  float: left;
  width: 39.5%;
  padding: 1rem 1rem 1rem 0;
  margin: 10px auto;
  color: #FFF;
  font-size: 0.7rem;
  text-shadow: 0 1px 1px rgba(0,0,0, 0.3);
  border-radius: 6px;
  border: 3px solid rgba(255,255,255,.2);
  font-family: 'FontAwesome';
}

.btn_tweet2{
  display: block;
  float: left;
  width: 39.5%;
  padding: 1rem 1rem 1rem 0;
  margin: 10px auto;
  color: #FFF;
  font-size: 0.7rem;
  text-shadow: 0 1px 1px rgba(0,0,0, 0.3);
  border-radius: 6px;
  border: 3px solid rgba(255,255,255,.2);
  font-family: 'FontAwesome';
}

.btn_reset{
  width: 80%;
  float: none;
  padding: 1rem 1rem 1rem 0;
  margin: 0 auto;
  color: #FFF;
  font-size: 0.7rem;
  text-shadow: 0 1px 1px rgba(0,0,0, 0.3);
  border-radius: 6px;
  border: 3px solid rgba(255,255,255,.2);
  position: relative;
  background: #efbc00;
  box-shadow: 0px 5px 0px 0px #e4b502;
}

.btn_reset2{
  width: 80%;
  float: none;
  padding: 1rem 1rem 1rem 0;
  margin: 0 auto;
  color: #FFF;
  font-size: 0.7rem;
  text-shadow: 0 1px 1px rgba(0,0,0, 0.3);
  border-radius: 6px;
  border: 3px solid rgba(255,255,255,.2);
  position: relative;
  background: #a1a0a0;
  box-shadow: 0px 5px 0px 0px #e4b502;
}

.btn_tweet{
  width: 80%;
  float: none;
  padding: 1rem 1rem 1rem 0;
  margin: 0 auto 30px;
  color: #FFF;
  font-size: 0.7rem;
  text-shadow: 0 1px 1px rgba(0,0,0, 0.3);
  border-radius: 6px;
  border: 3px solid rgba(255,255,255,.2);
  position: relative;
  background: #1da1f2;
  box-shadow: 0px 5px 0px 0px #e4b502;
}

.btn_tweet2{
  width: 80%;
  float: none;
  padding: 1rem 1rem 1rem 0;
  margin: 0 auto 30px;
  color: #FFF;
  font-size: 0.7rem;
  text-shadow: 0 1px 1px rgba(0,0,0, 0.3);
  border-radius: 6px;
  border: 3px solid rgba(255,255,255,.2);
  position: relative;
  background: #a1a0a0;
  box-shadow: 0px 5px 0px 0px #e4b502;
}


/* TimeLine
=====================*/

.time_head{
    font-weight: normal;
    padding:1rem 0;
    background: #f26328;
    color: #FFF;
    /* background-image: -webkit-gradient(linear,0 0,100% 100%,color-stop(.25,hsla(0,0%,100%,.2)),color-stop(.25,transparent),color-stop(.2,transparent),color-stop(.2,hsla(0,0%,100%,.2)),color-stop(.75,hsla(0,0%,100%,.2)),color-stop(.75,transparent),to(transparent)); */
    /* background-image: -webkit-linear-gradient(-45deg,hsla(0,0%,100%,.2) 25%,transparent 0,transparent 50%,hsla(0,0%,100%,.2) 0,hsla(0,0%,100%,.2) 75%,transparent 0,transparent); */
    /* background-image: -webkit-linear-gradient(135deg,hsla(0,0%,100%,.2) 25%,transparent 0,transparent 50%,hsla(0,0%,100%,.2) 0,hsla(0,0%,100%,.2) 75%,transparent 0,transparent); */
    background-image: linear-gradient(-45deg,hsla(0, 0%, 100%, 0.1) 25%,transparent 0,transparent 50%,hsla(0, 0%, 100%, 0.1) 0,hsla(0, 0%, 100%, 0.1) 75%,transparent 0,transparent);
    -webkit-background-size: 10px 10px;
    background-size: 10px 10px;
  }

.timeline {
  position: relative;
  list-style-type: none;
  padding: 30px 0;
}

.timeline:before {
  content: '';
  position: absolute;
  width: 5px;
  height: 100%;
  top: 0;
  left: 165px;
  background:#CCC;
}

.event {
  position: relative;
  margin-bottom: 80px;
  padding-right: 40px;
}

.thumb {
  position: absolute;
  width: 100px;
  height: 100px;
  box-shadow: 
    0 0 0 8px rgba(65,131,142,1), 
    0 1px 1px rgba(255,255,255,0.5);
  background-repeat: no-repeat;
  border-radius: 50%;
  -webkit-transform: scale(0.8) translateX(24px);
  -moz-transform: scale(0.8) translateX(24px);
  -o-transform: scale(0.8) translateX(24px);
  -ms-transform: scale(0.8) translateX(24px);
  transform: scale(0.8) translateX(24px);
}

.timeline:before {
  content: '';
  position: absolute;
  width: 5px;
  height: 100%;
  top: 0;
  left: 165px;
  background:rgba(255, 123, 51, 0.4);
}

.event {
  position: relative;
  margin-bottom: 80px;
  padding-right: 40px;
}

.thumb {
  position: absolute;
  width: 100px;
  height: 100px;
  background: rgba(255,255,255,1);
  box-shadow: 
    0 0 0 8px #fbc600, 
    0 1px 1px #fbc600;
  background-repeat: no-repeat;
  border-radius: 50%;
  -webkit-transform: scale(0.8) translateX(24px);
  -moz-transform: scale(0.8) translateX(24px);
  -o-transform: scale(0.8) translateX(24px);
  -ms-transform: scale(0.8) translateX(24px);
  transform: scale(0.8) translateX(24px);
}

.thumb:before {
  content: '';
  position: absolute;
  height: 8px;
  z-index: -1;
  background: transparent url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAICAYAAADA+m62AAAAPElEQVQYV2NkQAP/gYARCNDFUQRgirAphitEl0TngxXisg5ZnBGXIpgbYfIYjkb3BNxGbBLYxIgyEaQRAA8KKAWYsZtjAAAAAElFTkSuQmCC);
  width: 51px;
  top: 42px;
  left: 100%;
  margin-left: 8px;
}

.thumb span {
  color: #fbc600; 
  width: 100%;
  text-align: center;
  font-weight: 700;
  font-size: 15px;
  text-transform: uppercase;
  position: absolute;
  top: 40px;
  left: 0px;
}


.event input[type="radio"]:checked ~ .flow01 span:before{
  background: url(img/rideonstar.png)0 0 no-repeat;
}
.event input[type="radio"]:checked ~ .flow02 span:before{
  background: url(img/q1_2.png)0 0 no-repeat;
}
.event input[type="radio"]:checked ~ .flow03 span:before{
  background: url(img/q2_1.png)0 0 no-repeat;
}
.event input[type="radio"]:checked ~ .thumb span:before{
  position: absolute;
  display: block;
  width: 52px;
  height: 50px;
  margin: 0.5rem auto 0.8rem;
  content: "";
  background-size: contain;
  vertical-align: middle;
  top: 10px;
  left: 27px;
}

/* Transparent Checkbox/radio hack: leave the checkbox on top, hide it with opacity 0 */

.event label,
.event input[type="radio"] {
  width: 24px;
  height: 24px;
  left: 158px;
  top: 36px;
  position: absolute;
  display: block;
-webkit-tap-highlight-color:rgba(0,0,0,0);

}

.event input[type="radio"] {
  opacity: 0;
  z-index: 10;
  cursor: pointer;
}

.event label:after {
  font-family: 'fontawesome-selected';
  content: '\e702';
  background: #fff;
  border-radius: 50%;
  color: #fbc600;
  font-size: 26px;
  height: 100%;
  width: 100%;
  left: -2px;
  top: -3px;
  line-height: 24px;
  position: absolute;
  text-align: center;
}

.content-perspective {
  margin-left: 230px;
  position: relative;

  -webkit-perspective: 600px;
  -moz-perspective: 600px;
  -o-perspective: 600px;
  -ms-perspective: 600px;
  perspective: 600px;
}

.content-perspective:before {
  content: '';
  width: 37px;
  left: -51px;
  top: 45px;
  position: absolute;
  height: 1px;
  z-index: -1;
  background: #fff;
}

.content {

}

.content-inner {
  position: relative;
  padding: 0.7rem;
  color: #333;
  border: none;
  border-left: 5px solid #fbc600;
  box-shadow: 0 1px 0px 1px rgba(0,0,0,0.1);
  background: #fff;
}

.content-inner h3 {
  font-size: 26px;
  padding: 5px 0 5px 0;
  color: #404040;
  text-align: left;
}

.content-inner p {
  font-size: 18px;
  max-height: 0px;
  overflow: hidden;
  color: transparent;
  color: rgba(0,0,0,0);
  text-align: left;
}

.content-inner:before {
  font-family: 'fontawesome-selected';
  content: '\25c2';
  font-weight: normal;
  font-size: 54px;
  line-height: 54px;
  position: absolute;
  width: 30px;
  height: 30px;
  color: #fbc600;
  left: -22px;
  top: 19px;
  z-index: -1;
}


/* Checked */

.event input[type="radio"]:checked + label:after {
  content: '\2714';
  color: #F26328;
  box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.8);
}

.event input[type="radio"]:checked ~ .content-perspective:before {
  background: #F26328;
}

.event input[type="radio"]:checked ~ .content-perspective .content-inner h3 {
  color: #F26328;
}



.event input[type="radio"]:checked ~ .content-perspective .content-inner {
  border-color: #F26328;
  }

.event input[type="radio"] ~ .content-perspective .content-inner p {
  max-height: 260px; /* Add media queries */
  color: rgba(0,0,0,0.6);
  -webkit-transition-delay: 0s, 0.6s;
  -moz-transition-delay: 0s, 0.6s;
  -o-transition-delay: 0s, 0.6s;
  -ms-transition-delay: 0s, 0.6s;
  transition-delay: 0s, 0.6s;
  line-height: 1.1rem;
}

.event input[type="radio"]:checked ~ .content-perspective .content-inner:before {
  color: #F26328;
}

.event input[type="radio"]:checked ~ .thumb {
  -webkit-transform: scale(1);
  -moz-transform: scale(1);
  -o-transform: scale(1);
  -ms-transform: scale(1);
  transform: scale(1);
  box-shadow: 
    0 0 0 8px rgba(242,99,40,1), 
    0 1px 1px rgba(255,255,255,0.5);
}

.event input[type="radio"]:checked ~ .thumb span {
  color: #F26328;
}

.event input[type="radio"]:checked ~ .thumb:before {
  background: transparent url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAICAYAAADA+m62AAAAPUlEQVQYV2NkQAOfUjX+882+wYgujiIAU4RNMVwhuiQ6H6wQl3XI4oy4FMHcCJPHcDS6J2A2EqUQpJhohQBbNyaHFmzEqgAAAABJRU5ErkJggg==);
}

.content-inner p,
.thumb span,
.event label {
  -webkit-backface-visibility: hidden;
}

@media screen and (max-width: 850px) { 
  .content-inner h3 {
    font-size: 1.15rem;
  }

  .content-inner p {
    font-size: 0.8rem;
    text-align: justify;
  }

  .event input[type="radio"]:checked ~ .content-perspective .content-inner p {
    max-height: 500px; 
  }
}

@media screen and (max-width: 540px) {
  .timeline::before {
    left: 50px;
  }

  .event { 
    padding-right: 0px;
    margin-bottom: 40px;
  }
  ul.timeline li:last-child{ 
    margin-bottom: 0;
  }


  .thumb {
    -webkit-transform: scale(0.8);
    -moz-transform: scale(0.8);
    -o-transform: scale(0.8);
    -ms-transform: scale(0.8);
    transform: scale(0.8);
  }

  .event input[type="radio"] {
    width: 100%;
    height: 90px;
    left: 0px;
    top: 10px;
    -webkit-tap-highlight-color:rgba(0,0,0,0);

  }


  .thumb:before,
  .event input[type="radio"]:checked ~ .thumb:before {
    background: none;
    width: 0;
  }

  .event label {
    display: none;
  }

  .content-perspective {
    margin-left: 90px; 
    top: 0px;
  }

  .content-perspective:before {
    height: 0px; 
  }

  .content-inner {
    border-left: none;
    border-top: none;
    box-shadow: 0px 0px 0px 4px #fbc600;
    border-radius: 10px;
  }

  .event input[type="radio"]:checked ~ .content-perspective .content-inner {
    border: none;
    box-shadow: 0px 0px 0px 4px #f26328;
    border-radius: 10px;
    }

  .content-inner:before {
    content: '\25b4';
    left: -9px;
    top: 30px;
    transform: rotate(30deg);
  }

  .event input[type="radio"]:checked ~ .content-perspective .content-inner p {
    max-height: 300px; 
  line-height: 1.1rem !important;

  }
}

span.green{
  color: #8fc523;
  }

