@charset "utf-8";

/* ****************************************************************************************************
   * アニメーション設定
**************************************************************************************************** */

/* イラスト */

#main div.image img {
  transition: opacity 0.4s ease-in-out 0.2s;
}
/* メッセージ */
#main div.detail p.text {
  transition: opacity 0.4s ease-in-out 0.9s;
}

/* 診断する ボタン */
#main div.button .item{
  transition: opacity 0.4s ease-in-out 1.2s;
  opacity: 0;
}
#main.loaded div.button .item{
  opacity: 1;
}
#main div.button .item a{
  background:linear-gradient(90deg, #e41a77,#fe7060);
  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: ease 0.3s;
  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);
}
}
@media screen and (max-width:657px) {
#main div.button .item a {
  font-size:15px;
  height: 70px;
}
}
/* ****************************************************************************************************
   * 全体
**************************************************************************************************** */

/* ****************************************************************************************************
   * メイン
**************************************************************************************************** */

#main {
  padding: 70px 0 140px;
  background: url(../../images/common/dot_pink.jpg);
  display: block;
}
#main > div.body {
  max-width: 960px;
  padding: 0;
  margin: 0 auto;
}
#main > div.body > .bgline {
  text-align: center;
  border: 4px solid #e41a77;
  padding: 50px;
  border-radius: 30px;
  box-shadow: #e41a77 30px 30px;
  background: white;
}

/* :::::::: ブレイクポイント :::::::: */

@media screen and (max-width:657px) {
#main div.button .item a{
  width: 100%;
}

#main{
  padding: 30px 0 60px;
}
#main > div.body {
  padding: 0 4%;
}
#main > div.body > .bgline {
  border:2px solid #e41a77;
  padding: 30px 15px;
  box-shadow: #e41a77 15px 15px;
}
}

/* :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
   * 内容
/* :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: */

#main div.image {
  margin-bottom: 30px;
}



/* :::::::: ブレイクポイント :::::::: */

@media screen and (max-width:657px) {
#main div.image {
  margin-bottom: 15px;
}
#main div.detail {
  width: 100%;
  display: block;
  margin-top: 10px;
  padding: 0;
}

}

/* -------------------------------------------------------------------------------------------------
   * イラスト
/* ---------------------------------------------------------------------------------------------- */
#main div.image img {
  opacity: 0;
}

#main.loaded div.image img {
  opacity: 1;
}
/* -------------------------------------------------------------------------------------------------
   * テキスト
/* ---------------------------------------------------------------------------------------------- */
#main div.detail p.text {
  font-size: 20px;
  opacity: 0;
  line-height: 1.8;
}
#main.loaded div.detail p.text {
  opacity: 1;
}
#main.loaded div.detail p.text .highlight{
  background: linear-gradient(transparent 50%, #fdecf2 0%);
  color: #e41a77;
  font-weight: bold;
}
/* :::::::: ブレイクポイント :::::::: */

@media screen and (max-width:657px) {
#main div.detail p.text {
  font-size: 15px;
}

}

/* :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
   * 診断する ボタン
/* :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: */

#main div.button {
  text-align: center;
  opacity: 0;
  margin-top: 30px;
}

#main.loaded div.button {
  opacity: 1;
}
#main div.button .item a img {
  transition: transform 0.2s ease-in-out 0.0s;
}

#main div.button .item a:hover img {
  opacity: 1;
}

/* :::::::: ブレイクポイント :::::::: */
@media screen and (max-width:657px) {
#main div.button .item {
  min-width: 100%;
}
#main div.button {
  margin-top: 15px;
}
}
