@charset "UTF-8";

/*----------リセットCSS-------------------------------------------*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  box-sizing:border-box;
  margin: 0;
  padding: 0;
  border: none;
  vertical-align: baseline;
}
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section, main {
  display: block;
}
ol, ul {
  list-style: none;
}
address{
  font-style:normal;
}
a{
  text-decoration:none;
}
blockquote, q {
  quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
  content: '';content: none;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}
img,canvas,svg,iframe{
  max-width:100%;
  height:auto;
  vertical-align:top;
}
input{
  background-color:transparent;
}
/*----------初期設定CSS-------------------------------------------*/
:root{
  color:#3C3C3C;
  font:400 10px sans-serif, "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", Arial, メイリオ, Meiryo;
  line-height:1.5;
  letter-spacing:.1em;
}
body {
  overflow-y: scroll;
}
/*----------ヘッダー----------------------------------------*/
.d_logo{
  max-width:107.2px;
  min-width:80px;
  padding:10px 0;
  transition: all 0.2s ease-out;
}
.d_logo:hover{
  opacity:.6;
}
/*----------フッター----------------------------------------*/
.d_copyright{
  font-weight: bold;
  text-align: center;
  font-size: 1.2rem;/*14px*/
  padding:15px 0;
}
footer{
  position: relative;
}
.d_f_btn{
	position:fixed;
	top:80%;
	left:90%;
	text-align: center;
}
.d_f_logo{
	width:80%;
}
.d_f_txt{
	font-size:1.4rem;/*12px*/
	line-height: 1em;
	margin-top:5px;
  font-weight: bold;
  color:#1FB587;
}
/*----------共通-------------------------------------------*/
.d_wrap{
  margin:0 auto;
  width:95%;
  max-width:900px;
  min-width:320px;
}
.d_container{
  border:4px solid #E6002D;
  background: #fff;
  border-radius: 50px;
  padding:50px 30px;
  box-sizing: border-box;
}
.d_content{
  text-align: center;
}
img{
  max-width:100%;
  height:auto;
	vertical-align:bottom;
}
/*背景色*/
.d_bg_yellow{
  background: #fffce1;
}
.t_bg{
  background: url(../img/middle/diagnosis/top/bg1.jpg) no-repeat;
  background-size: cover;
}
.d_note20{
  font-size: 1.8rem;
  text-align:center;
  font-weight: bold;
}
.d_note18{
  font-size: 1.8rem;
  text-align:center;
  font-weight: bold;
}
.d_note14{
  font-size: 1.4rem;/*14px*/
  text-align:center;
  font-weight: bold;
}
.d_note18_lng{
  padding:0 50px;
  text-align: left;
}
.mb30{
  margin-bottom:30px;
}
.mt50{
  margin-top:50px;
}
.mb50{
  margin-bottom:50px;
}
.mb80{
  margin-bottom:80px;
}
.mb100{
  margin-bottom:100px;
}
.pd50{
  padding:50px 0;
}
.pd80{
  padding:80px 0;
}
.red{
  color:#E6002D;
}
.gray{
  color:#787878;
}
.br_tb{
  display: none;
}
.br_sp{
  display: none;
}
/*----------診断トップ画面-------------------------------------------*/
.t_container{
  position:relative;
}
.d_ttl{
  font-size: 4rem;/*40px*/
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
}
.t_ttl{
  font-size: 4rem;/*40px*/
  position: relative;
  margin-bottom:15px;
  text-align: center;
}
.t_ballon{
  display: inline-block;
  color:#fff;
  background-color:#F697A0;
  padding:0.2em 2em;
  border-radius:50px;
  position:relative;
}
.t_ballon:after{
  content:"";
  position:absolute;
  top:99%;
  left:50%;
  transform: translateX(-50%);
  width:0;
  height:0;
  border:15px solid transparent;
  border-top:10px solid #F697A0;
}
.t_l1{
  position:absolute;
  max-width:190px;
  top:30px;
  left:55px;
}
.t_l2{
  position:absolute;
  max-width:160px;
  top:60%;
  left:-65px;
  transform: translateY(-60%)
}
.t_l3{
  position:absolute;
  max-width:150px;
  bottom:-110px;
  left:40px;
}
.t_r1{
  position:absolute;
  max-width:200px;
  top:-60px;
  right:35px;
}
.t_r2{
  position:absolute;
  max-width:180px;
  top:40%;
  right:-45px;
  transform: translateY(-40%)
}
.t_r3{
  position:absolute;
  max-width:210px;
  bottom:-85px;
  right:-20px;
}
.r_txt{
  font-size: 2rem;/*20px*/
  font-weight: bold;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
}
/*----------ボタン----------------*/
.btn {
  display: inline-block;
  line-height:3em;
  background-color: #E6002D;
  color:#fff;
  border-radius: 50px;
  border:none;
  width:420px;
  font-size:2.4rem;
  font-weight: bold;
  box-shadow:0 4px 0px 0px #7B292F;
  cursor: pointer;
  transition: all 0.2s ease-out;
  box-sizing: border-box;
  position: relative;
}
.btn:hover {
  transform:translateY(4px);
  box-shadow:none;
}
/*----------質問選択画面-------------------------------------------*/
.q_ttl{
  font-size: 2.8rem;/*28px*/
  margin-bottom:30px;
}
.q_ttl::after{
  content:"";
  width:1.5em;
  height:4px;
  background-color:#E6002D;
  border-radius: 80px;
}
.q_question{
  display:flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 30px;
}
.q_txt{
  font-size: 3.6rem;/*40px*/
  font-weight: bold;
  text-align: left;
}
.q_skip{
  text-decoration: underline;
  transition: all 0.2s ease-out;
  display: inline-block;
}
.q_skip:hover{
  transform: scale(1.5);
}
.q_options{
  display:flex;
  gap:30px;
  justify-content: center;
  align-items: center;
  flex-wrap:wrap;
}
.q_option{
  display: inline-block;
  font-size: 1.8rem;/*18px*/
  color:#3C3C3C;
  font-weight: bold;
  background-color: #F2F2F2;
  border-radius: 50px;
  width: calc(33.33333333% - 30px);
  min-width:313px;
  line-height:3.5em;
  transition: all 0.2s ease-out;
}
.q_option:hover{
  color:#fff;
  background-color: #E6002D;
}
/*----------Q5の選択肢（変則）-------------------------------------------*/
.q5_options{
  display:flex;
  gap:30px;
  justify-content: center;
  align-items: center;
  flex-wrap:wrap;
}
.q5_option{
  display: flex;
  align-items: center;
  gap:15px;
  background-color: #F2F2F2;
  color:#3C3C3C;
  font-weight: bold;
  text-align: left;
  border-radius: 25px;
  padding:10px;
  font-size: 1.8rem;
  width: calc(50% - 30px);
  min-width:400px;
  transition: all 0.2s ease-out;
}
.q5_option dt{
  background-color: #fff;
  border-radius: 50%;
  max-width:60px;
}
.q5_option dd {
  text-align: left;
}
.q5_option span{
  font-size: 1.4rem;/*14px*/
}
.q5_option:hover{
  color:#fff;
  background-color: #E6002D;
}
/*************************************
レスポンシブ_TB
*************************************/
@media screen and (max-width: 1024px){
  /*-------------section共通-----------------------------------*/
  .br_pc{
    display: none;
  }
  .br_tb{
    display: block;
  }
  /*----------ヘッダー----------------*/
  .d_logo{
    width:100px;
  }
  /*----------フッター----------------*/
  .d_copyright{
    font-size: 1rem;/*10px*/
    padding:15px 0;
  }
  .d_f_btn{
    top:80%;
    left:85%;
  }
  .d_f_txt{
    font-size:1.2rem;/*12px*/
  }
  /*----------共通-------------------*/
  .d_container{
    border:4px solid #E6002D;
    border-radius: 30px;
    padding:40px 25px;
    box-sizing: border-box;
  }
  .d_note20{
    font-size: 1.6rem;/*16px*/
  }
  .d_note14{
    font-size: 1.2rem;/*12px*/
  }
  .d_note18_lng{
    padding:15px 0 0 0;
    font-size: 1.6rem;/*16px*/
  }
  .mb30{
    margin-bottom:15px;
  }
  .mt50{
    margin-top:25px;
  }
  .mb50{
    margin-bottom:25px;
  }
  .mb80{
    margin-bottom:40px;
  }
  .mb100{
    margin-bottom:50px;
  }
  /*-------診断トップ画面-----------*/
  .t_container{
    padding-bottom:50px;
  }
  .d_ttl{
    font-size: 4rem;/*40px*/
  }
  .t_ttl{
    font-size: 3.6rem;/*36px*/
    margin-bottom:10px;
    position: relative;
  }
  .t_ballon{
    border-radius:50px;
    margin-bottom:20px;
  }
  .t_ballon:after{
    border:10px solid transparent;
    border-top:10px solid #F697A0;
  }
  .t_l1{
    max-width:100px;
    top:-40px;
    left:40px;
  }
  .t_l2{
    max-width:80px;
    top:-40px;
    left:50%;
    transform: translateX(-50%);
  }
  .t_l3{
    max-width:80px;
    bottom:-70px;
    left:20px;
  }
  .t_r1{
    max-width:120px;
    top:-50px;
    right:30px;
  }
  .t_r2{
    max-width:110px;
    top:initial;
    bottom:-70px;
    left:50%;
    transform: translateX(-50%);
  }
  .t_r3{
    max-width:110px;
    bottom:-70px;
    right:20px;
  }
  .r_txt{
    font-size: 1.8rem;/*18px*/
  }
  /*---------ボタン----------------*/
  .btn {
    line-height:2.5;
    border-radius: 50px;
    max-width:60%;
    font-size:2.2rem;
    box-shadow:0 4px 0px 0px #7B292F;
  }
  .btn:hover {
    transform:translateY(4px);
    box-shadow:none;
  }
/*-----質問選択画面----------------*/
  .q_ttl{
    font-size: 2.6rem;
    margin-bottom:15px;
  }
  .q_ttl::after{
    height:4px;
  }
  .q_question{
    flex-direction: column;
    gap:15px;
    margin-bottom: 15px;
  }
  .q_txt{
    font-size: 3.2rem;/*32px*/
    text-align: center;
  }
  .q_options{
    display:block;
  }
  .q_options{
    display:flex;
    flex-wrap: wrap;
    gap:15px;
  }
  .q_option{
    font-size: 1.8rem;/*18px*/
    min-width:auto;
    width: 100%;
    height:3.5em;
  }
/*----Q5の選択肢（変則）---------*/
  .q5_options{
    display:block;
    width:calc(100%-15px);
  }
  .q5_option{
    font-size: 1.8rem;/*18px*/
    min-width:auto;
    width: 100%;
    margin-bottom:15px;
  }
  .q5_option span{
    font-size: 1.4rem;/*12px*/
  }
/*************************************
レスポンシブ_SP
*************************************/
@media screen and (max-width: 428px){
  .br_sp{
    display: block;
  }
  .br_tb{
    display: none;
  }
  /*----------共通-----------------*/
    .d_container{
      border:3px solid #F697A0;
      padding:30px 15px;
    }
  .pd50{
    padding:40px 0;
  }
  .d_note20{
    font-size: 1.4rem;/*14px*/
  }
  .d_note18{
    font-size: 1.6rem;/*16px*/
  }
  .d_note18_lng{
    padding:10px 0 0 0;
    font-size: 1.4rem;/*14px*/
  }
  /*----------ヘッダー-------------*/
 .d_logo{
  width:80px;
  padding:10px 0;
  }
  /*----------フッター-------------*/
  .d_f_btn{
    top:85%;
    left:80%;
  }
  .d_f_txt{
    font-size:1.2rem;/*12px*/
  }
  /*-----診断トップ画面------------*/
  .t_container{
    padding-bottom:50px;
  }
  .t_bg{
    background-size: contain;
  }
  .t_ttl{
    font-size: 3.2rem;/*32px*/
    margin-bottom:5px;
    position: relative;
  }
  .t_ballon{
    margin-bottom:15px;
  }
  .t_l1{
    max-width:90px;
    top:-35px;
    left:30px;
  }
  .t_l2{
    max-width:70px;
    top:-35px;
    left:55%;
    transform: translateX(-55%);
  }
  .t_l3{
    max-width:65px;
    bottom:-50px;
    left:20px;
  }
  .t_r1{
    max-width:100px;
    top:-40px;
    right:10px;
  }
  .t_r2{
    max-width:90px;
    top:initial;
    bottom:-50px;
    left:50%;
    transform: translateX(-50%);
  }
  .t_r3{
    max-width:100px;
    bottom:-50px;
    right:0;
  }
  /*---------ボタン----------------*/
  .btn {
    line-height:2.6em;
    font-size:2rem;
    max-width:95%;
  }
  /*-----質問選択画面-------------*/
  .q_ttl{
    font-size: 2.4rem;
  }
  .q_txt{
    font-size: 2.8rem;
  }
  .q_option{
    font-size: 1.6rem;/*16px*/
  }
  .q_skip:hover{
    transform: scale(1.4);
  }
  .q_img{
    max-width:200px;
  }
  /*---Q5の選択肢（変則）---------*/
  .q5_option{
    font-size: 1.6rem;/*16px*/
  }
  .q5_option span{
   font-size: 1.2rem;/*12px*/
  }
  .q5_option dt{
    max-width:50px;
  }
}