@charset "UTF-8";

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital@1&display=swap');


#sub {
  background-image: url(../images/bg_frow.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}


/*=========================================
flow
=========================================*/
#flow .ttl_01 {
  margin-top: 100px;
  color: #111;
}

#flow .txt {
  text-align: center;
  margin-bottom: 100px;
  font-size: 16px;
}

#flow dl {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

#flow dl dt {
  font-size: 3rem;
  font-family: 'Tangerine', cursive;
  color: #675546;
  width: 17%;
  position: relative;
}

#flow dl dt::before {
  position: absolute;
  content: "";
  width: 2px;
  height: 100%;
  background: #675546;
  top: 25px;
  right: 70px;
}

#flow dl dd {
  width: 83%;
}

#flow dl dt::after {
  position: absolute;
  content: "";
  width: 15px;
  height: 15px;
  border-radius: 50%;
  top: 23px;
  right: 64px;
  background: #675546;
}

#flow dl dd .ttl_02 {
  font-weight: bold;
  text-align: inherit;
  color: #ec7a7a;
  font-size: 20px;
  padding-top: 15px;
}

#flow .btn {
  margin-top: 170px;
  text-align: center;
  top: 100px;
}

.wrap .flax {
  display: flex;
  justify-content: space-between;
  flex-direction: row-reverse;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.step_txt {
  width: 48%;
}

.txt_02 li {
  font-size: 1.2rem;
} 

.wrap p.img {
  width: 40%;
}

.wrap p.img img {
  height: 200px;
  border-radius: 5px;
}

@media screen and (max-width:1024px) {
  section#flow {
    padding-left: 30px;
    padding-right: 30px;
  }
}


@media screen and (max-width:768px) {
  #sub span {
    font-size: 50px;
  }

  #sub {
    background-position: left;
  }

  section#flow {
    padding-left: 18px;
    padding-right: 18px;
  }

  #flow dl dd {
    width: 100%;
  }

  #flow dl dd .step_txt {
    padding-left: 20px;
  }

  #flow dl dt {
    width: 100%;
    left: 21px;
  }

  #flow .txt {
    margin: 0 20px 30px;
    font-size: 14px;
    text-align: left;
  }
  .txt_02 li {
  font-size: 1rem;
}


  #flow dl dd .ttl_02 {
    text-align: center;
    font-size: 16px;
  }

  #flow dl dt::after {
    left: -20px;
  }

  #flow dl dt::before {
    width: 1px;
    height: 603px;
    left: -14px;
  }

  .step_txt {
    width: 100%;
  }

  p.step_txt01 {
    padding-left: 20px;
  }

  .wrap p.img {
    width: 100%;
    margin-left: 20px;
  }
}

/*=========================================
question
=========================================*/
#question .ttl_01 {
  color: #555;
}

#question dl {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  margin-top: 80px;
}

.ac-parent {
  position: relative;
  /* 追加 */
  height: 50px;
  border-bottom: 1px solid #fff;
  background-color: #211f1f;
  color: #fff;
  text-align: center;
  line-height: 50px;
  cursor: pointer;
}

/* 擬似要素で下三角形を作成 */
.ac-parent:after {
  content: "";
  display: inline-block;
  position: absolute;
  top: 45%;
  right: 30px;
  width: 10px;
  height: 10px;
  border-right: 3px solid #111;
  border-bottom: 3px solid #111;
  transform: translateY(-50%) rotate(45deg);
  transition: .3s;
}

/* オープン時にopenクラスを付与 */
.ac-parent.open:after {
  transform: rotate(225deg);
}

/* クリック領域 */
.ac-parent {
  margin-bottom: 18px;
  height: 60px;
  background-color: #f9f9f9;
  color: #0a0a0a;
  text-align: left;
  padding-left: 20px;
  line-height: 60px;
  cursor: pointer;
}

/* クリックしたら表示される領域 */
.ac-child {
  display: none;
  padding: 2em 1em;
  background-color: #fff;
  text-align: left;
  padding-left: 20px;
}



#question a {
  color: rgb(9, 9, 219);
}

.simulation-link {
  color: rgb(9, 9, 219);
  text-decoration: underline; 
  margin-left: 7ch;
}

.note {
  color: #555; 
  font-size: 0.9em; 
  margin-left: 7ch;
}


@media screen and (max-width:768px) {
  #question dl {
    margin-top: 0;
  }

  .ac-parent {
    padding-right: 46px;
    margin: 15px;
    line-height: 24px;
  }

  .ac-child {
    text-align: left;
    padding: 0 35px;
  }

}

/* question/ */

.step_txt {
  display: flex;




}

/* リスト */
.txt_02 {
  width: 100;
  font-size: 12px;
  padding-left: 40px;
  padding-bottom: 10px;
}