@charset "utf-8";

/* ****************************************************************************************************
   * アニメーション設定
**************************************************************************************************** */
#question div.question .title{
  transition: opacity 0.4s ease-in-out 0.2s;
}
#question div.question .content {
  transition: opacity 0.4s ease-in-out 0.9s;
}
#question div.question ul.answer{
  transition: opacity 0.4s ease-in-out 0.9s;
}
#question div.question ul.pager{
  transition: opacity 0.4s ease-in-out 1.2s;
}
#question .logo{
  transition: opacity 0.4s ease-in-out 1.2s;
}
#question div.question .title,
#question div.question .content,
#question div.question ul.answer,
#question div.question ul.pager,
#question .logo{
  opacity: 0;
}
#question.loaded div.question .title,
#question.loaded div.question .content,
#question.loaded div.question ul.answer,
#question.loaded div.question ul.pager,
#question.loaded .logo{
  opacity: 1;
}

#question div.question ul.answer li img {
  max-width: 110px; /* スマホ時の大きさ */
  transition: ease 0.3s;
}
@media screen and (min-width:658px) {
#question div.question ul.answer li a:hover img {
  -webkit-transform: scale(1.05);
          transform: scale(1.05);
}
}

/* ****************************************************************************************************
   * メイン
**************************************************************************************************** */
#main {
  padding: 70px 0 90px;
  background: url(../../images/common/dot_pink.jpg);
  display: block;
  margin: 0 auto;
}
#main > div.body {
  max-width: 960px;
  padding: 0 10px;
  margin: 0 auto;
}

#main > div.body > .bgline {
  text-align: center;
  border: 4px solid #e41a77;
  padding: 50px 50px 70px;
  border-radius: 30px;
  box-shadow: #e41a77 30px 30px;
  background: white;
}

/* :::::::: ブレイクポイント :::::::: */

@media screen and (max-width:657px) {

  #main {
    padding: 30px 0 20px;
  }
#main > div.body{
  padding: 0 4%;
}
#main > div.body > .bgline {
  border:2px solid #e41a77;
  padding: 30px 15px;
  box-shadow: #e41a77 15px 15px;
}
}

/* -------------------------------------------------------------------------------------------------
   * タイトル（ Q1 Q2 ... アイコン画像）
/* ---------------------------------------------------------------------------------------------- */
#question div.question .title {
  text-align: center;
}
#question div.question .title img {
  max-height: 210px;
}
/* :::::::: ブレイクポイント :::::::: */

@media screen and (max-width:657px) {

#question div.question .title {
  text-align: center;
  margin-top:10px;
}

#question div.question .title img {
  max-height:100%;
  width: 50%;
}

}

/* -------------------------------------------------------------------------------------------------
   * 質問
/* ---------------------------------------------------------------------------------------------- */

#question div.question .content {
  font-size: 25px;
  line-height: 1.8;
  font-weight: bold;
}

/* :::::::: ブレイクポイント :::::::: */

@media screen and (max-width:657px) {

#question div.question .content {
  font-size: 16px;
}

}

/* -------------------------------------------------------------------------------------------------
   * 回答（はい いいえ ボタン）
/* ---------------------------------------------------------------------------------------------- */

#question div.question ul.answer,
#question div.question ul.answer li {
  margin: 0;
  padding: 0;
  list-style: none;
}

#question div.question ul.answer {
  margin-top: 30px;
}

#question div.question ul.answer li {
  width: 48%;
  cursor: pointer;
  letter-spacing: normal;
  text-align: center;
  vertical-align: top;
  display: inline-block;
}
#question div.question ul.answer li a {
  vertical-align: top;
  display: inline-block;
}

#question div.question ul.answer li a img {
  width: 100%;
  max-width: 100%;
  border-radius: 4px;
}

/* :::::::: ブレイクポイント :::::::: */

@media screen and (max-width:657px) {

#question div.question ul.answer,
#question div.question ul.answer li {
  margin: 0;
  padding: 0;
  list-style: none;
}

#question div.question ul.answer {
  margin-top: 20px;
}

#question div.question ul.answer li {
  width: 100%;
  cursor: pointer;
  letter-spacing: normal;
  text-align: center;
  vertical-align: top;
  display: inline-block;
}

#question div.question ul.answer li {
  margin-bottom: 10px;
}

#question div.question ul.answer li a {
  vertical-align: top;
  display: inline-block;
}

#question div.question ul.answer li a img {
  transition: transform 0.2s ease-in-out 0.0s;
  width: 100%;
  max-width: 100%;
}

}

/* -------------------------------------------------------------------------------------------------
   * ページャー
/* ---------------------------------------------------------------------------------------------- */

#question div.question ul.pager {
  max-width: 520px;
  margin: 60px auto 30px;
  position: relative;
}

#question div.question ul.pager li {
  width: 20px;
  height: 20px;
  margin: 5px 15px;
  letter-spacing: normal;
  display: inline-block;
  border-radius: 50%;
  background: #bfbfbf;
  border: 4px solid #bfbfbf;
  vertical-align: middle;
  position: relative;
}

#question div.question ul.pager li::before {
  content: "";
  display: block;
  border-bottom: 5px solid #bfbfbf;
  position: absolute;
  top: 50%;
  left: 15px;
  width: 20px;
  margin-top: -2px;
  z-index: 1;
}
#question div.question ul.pager li:last-child::before {
  display: none;
}

#question div.question ul.pager li::after {
  content: "";
  display: block;
  border-bottom: 5px solid #bfbfbf;
  position: absolute;
  top: 50%;
  right: 15px;
  width: 20px;
  margin-top: -2px;
  z-index: 1;
}

#question div.question ul.pager li p {
  text-indent: 200%;
  overflow: hidden;
  display: none;
}

#question div.question ul.pager li.current {
  /*background-color: #ff8a00;*/
  background: url("../../images/common/page-current.png") no-repeat;
  background-size: 39px 39px;
  width: 39px;
  height: 39px;
  border:none;
  margin: 0;
  position: relative;
  z-index: 5;
}
#question div.question ul.pager li.current::before,
#question div.question ul.pager li.current::after {
  display: none;
}

#question div.question ul.pager li:first-child::after {
  display: none;
}

/* :::::::: ブレイクポイント :::::::: */

@media screen and (max-width:657px) {

#question div.question ul.pager,
#question div.question ul.pager li {
  margin: 0;
  padding: 0;
  list-style: none;
}

#question div.question ul.pager {
  max-width: 330px;
  margin: 30px auto 20px;
  letter-spacing: -0.4em;
  text-align: center;
}

#question div.question ul.pager {
  max-width: 100%;
  margin: 10px auto 20px;
}
#question div.question ul.pager::after {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  border-top: 2px solid #bfbfbf;
}

#question div.question ul.pager li {
  width: 10px;
  height: 10px;
  margin: 5px;
  letter-spacing: normal;
  display: inline-block;
  border-radius: 50%;
  background: #bfbfbf;
  border: 4px solid #bfbfbf;
  vertical-align: middle;
  position: relative;
}

#question div.question ul.pager li::before {
  border-bottom: 2px solid #bfbfbf;
  margin: auto;
  top: 0;
  bottom: 0;
  left: 5px;
  width: 10px;
}

#question div.question ul.pager li:nth-child(7)::before {
  content: "";
  display: block;
  border-bottom: 2px solid #bfbfbf;
  position: absolute;
  top: 50%;
  left: 0;
  width: 20px;
  margin-top: -2px;
  z-index:1;
}
#question div.question ul.pager li:last-child::before {
  display: none;
}

#question div.question ul.pager li::after {
  border-bottom: 2px solid #bfbfbf;
  margin: auto;
  top: 0;
  bottom: 0;
  right:5px;
  width: 10px;
}
#question div.question ul.pager li:last-child::after {
  display: none;
}

#question div.question ul.pager li p {
  text-indent: 200%;
  overflow: hidden;
  display: none;
}

#question div.question ul.pager li.current {
  /*background-color: #ff8a00;*/
  background: url("../../images/common/page-current-sp.png") no-repeat;
  background-size: 25px 25px;
  width: 25px;
  height: 25px;
  border:none;
  margin: 0;
}
#question div.logo img{
  width: 115px;
  height: auto
}
}

/* :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
   * 前に戻る ボタン
/* :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: */

#main div.button {
  text-align: center;
  position: relative;
  margin-top: 100px;
}

#main div.button .item {
  vertical-align: top;
  display: inline-block;
}

#main div.button .item a {
  background: #333;
  display: flex;
  width: 400px;
  height: 80px;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: white;
  font-weight: bold;
  border-radius: 4px;
  margin: 0 auto;
  transition: 0.3s ease;
  letter-spacing:1.5px;
}

@media screen and (min-width:658px) {
/* 前に戻る ボタン ホバー時の拡大 */
#main div.button .item a:hover {
  -webkit-transform: scale(1.05);
          transform: scale(1.05);
}
}

#main div.button .item a img {
  transition: transform 0.2s ease-in-out 0.0s;
  width: 100%;
}


/* :::::::: ブレイクポイント :::::::: */

@media screen and (max-width:657px) {
#main div.button .item a {
  font-size:15px;
  height: 70px;
}
#main div.button {
  margin-top: 20px;
  padding: 30px 15px;
}
}