/* 共通のスタイル設定 */
h3{
  font-size: 20px;
  font-weight: bold;
  text-align: center;
  padding-top: 20px;
  padding-bottom: 5px;
  position: relative;																									
  margin-bottom: 2rem;
  letter-spacing: 0.5rem;
  margin: 20px;
  }

/* h3の下に葉っぱのライン装飾を追加 */																					
h3::after{																									
  content: '';																									
  width: 250px;																									
  height: 20px;																									
  display: inline-block;																									
  background-image: url(../img/line.png);																									
  background-size: 60%;																									
  background-repeat: no-repeat;																									
  position: absolute;																									
  bottom: -20px;																									
  left: calc(50% - 70px);													
  }

.inner{
  margin-bottom: 30px;
}

/* トップ画像 */
.ay_mv{
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  background-image: url(../img/ay_1re.jpg);
  background-position: center;
  background-size: cover;
  width: 100%;
  height: 80vh;
}

.ay_mv h2{
  text-shadow: 0px 0px 10px #000;
}

/* 丸画像 */
.ay_container img{
  width: 200px;
  line-height: 200px;
  border-radius: 50%;
}
.ay_container figure{
  text-align: center;
  margin-top: 10px;
  margin-bottom: 10px;
}

/* h3の「アーユルヴェーダ式ヘッドスパ」を改行 */
h3 span{
  display: block;
  line-height: 0.8;
  letter-spacing: 0.5rem;
}

/* 480px〜900px： Mobile横置き、タブレット縦*/
@media screen and (min-width:480px) and (max-width:900px) {
  main{
    width: 100%;
    margin: 0 auto;
  }
  .ay_mv{
    height: 70vh;
  }
  .text_ju br{
    display: none;
  }
  h3 span{
    display: inline;
  }

  h3::after{
    width: 350px;
    height: 30px;
    bottom: -30px;
    left: calc(50% - 100px);
  }
  .ay_container{
    display: flex;
    max-width: 90%;
    margin: 0 auto;
    justify-content: space-between;
  }
  .ay_container img{
    width: 300px;
    line-height: 300px;
  }
  .text_ju{
    width: 48%;
    line-height: 2rem;
  }
  .ay_mv h2{
    font-size: 45px;
  }
}


/*PCでの表示についてのメディアクエリ記述*/
@media (min-width:901px){
  main{
    max-width: 1180px;
    margin: 0 auto;
  }
  .ay_mv{
    height: 100vh;
  }
  .text_ju br{
    display: none;
  }
  h3 span{
    display: inline;
  }

  h3::after{
    width: 350px;
    height: 30px;
    bottom: -30px;
    left: calc(50% - 100px);
  }
  .ay_container{
    display: flex;
    max-width: 90%;
    margin: 0 auto;
    justify-content: space-around;
  }
  .ay_container img{
    width: 300px;
    line-height: 300px;
  }
  .text_ju{
    width: 50%;
    line-height: 2.5rem;
  }
  .ay_mv h2{
    font-size: 45px;
  }
}

