@charset "UTF-8";
:root {
  --dark: #000;
  --black: #333;
  --light: #666;
  --white: #fff;
  --magenta:#DB03A8 ;
  --turquoise:#0BE1F7;
  --yellow:#FFE900;
  --blue: #4184F3;
  --shadow: 0 1px 5px rgba(104, 104, 104, 0.8);
  
}
/* index.html以外のページ共通項目 */
/* common.cssでフッターをbottom:0固定しているものを解除 */
footer {
  position: absolute;
  bottom: auto;
}

.main-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 50px 0 100px;
  font-family:"Hiragino Kaku Gothic ProN", Meiryo, sans-serif ;
  font-weight: 400;    
  font-style: normal;
}


/* 記事 */
/* 記事を囲む枠 */
.psychic-container,
.spiritual-container {
  max-width: 1000px;
  margin: 0 auto 100px;
  padding: 50px 15px 50px;
  display: flex;
  gap: 50px;
  
}

.spiritual-container {
  margin: 100px auto 150px;
}
.text-box {
 width: 50%;
}

/* 中間のライン */
.border {
  width: 90%;
  height: 2px;
  margin: 0 auto;
  background: #5d627b;
}
/* 画像 */
.img-box {
 width: 50%;
 background: url('../image/healingclass01@large.jpg') no-repeat ;
 background-size: cover;
 background-position: center;
 border-radius: 30px;
 padding: 20px;
}
.spiritual-container .img-box {
  background: url('../image/healingclass02@large.jpg') no-repeat ;
 background-size: cover;
 background-position: center;
}
.eg-large {
  font-size: 5rem;
  line-height: 1.5;
  margin-top: 50px;
  color: var(--white);
}
.eg-small {
  font-size: 2rem;
  margin-top: 20px;
  color: var(--white);
}

/* コンテンツ */
/* タイトル */
.eg-title {
font-weight: bold;
font-size: 2.4rem;
margin: 0 0 30px 20px;
position: relative;
display: inline-block;
}
.eg-title::before {
  content: "";
  width: 10px;
  height: 30px;
  background-color:  #DB03A8;
  left: -20px;
  bottom: 10px;
  position: absolute;
}
.eg-title::after {
  content: "";
  border-bottom: 1px solid #333;
  right: 0;
  left: 0;
  bottom: 0;
  position: absolute;
}
.article-title {
  font-size: 2rem;
  font-weight: normal;
  letter-spacing: 2px;
}
.article-title span {
  font-size: 1.6rem;
}
.sub-title {
  font-size: 1.4rem;
  font-weight: normal;
  padding: 10px 0 50px;
}
.article {
  letter-spacing: 1px;
  padding:35px 0 35px;
}

.caution {
  color: red;
  font-size: 1.4rem;
}
.caution-link {
 
}

/* リストボックス */
.price-box{
  padding: 15px;
  margin: 30px 5px;
  color: #5d627b;
  background: white;
  border-top: solid 5px #5d627b;
  box-shadow: 0 3px 5px rgba(0, 0, 0, 0.22);
}

/* リスト　料金表 */
.list-title {
  padding: 10px 0 0 10px;
  font-weight: bold;
}
.price-list {
  margin: 30px 0 30px;
  list-style: none;
  line-height: 1.5;
}
.price-list li {
  padding: 10px;
  letter-spacing: 1.5px;
}


/* ヒーリングクラスカード */
.card-grid {
 display: grid;
 gap: 30px;
 grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
 grid-template-rows: 1fr;
 margin: 0 15px;
}
.healing-class-card {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
max-height: 600px;
padding: 15px;
border-radius: 30px;
box-shadow: var(--shadow);
text-align: center;
position: relative;
}
.card-img-box {
 
  position: relative;
}

.card-img-box img {
  width: 25vw;
  height: 25vw;
  max-width: 250px;
  max-height: 250px;
  border-radius: 30px;
  border-radius: 30px;
  object-fit: cover;
}
.no {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-size: 3.5rem;
  color: #fff;
}

 

.eg-chapter {
 font-weight: bold;
 padding: 10px 0 0;
}
.chapter {
 font-weight: normal;
 font-size: 1.4rem;
 padding: 5px 0 30px;
}
.card-article span {
  font-weight: bold;
}
.card-article {
 height: 40%;
 font-size: 1.4rem;
 letter-spacing: 2px;
 line-height: 1.5;
 overflow-y: scroll;

}

.list {
  margin-top: 20px;
 list-style: none;
  font-size: 1.4rem;
  text-align: center;
}
.list li {
  padding: 5px;
  letter-spacing: 1.5px;
}



/*コンタクトカード  */
.contact-card {
  display: flex;
  background-color: #fff;;
  box-shadow: 0 0 8px gray;
  max-width: 50%;
  min-width: 320px;
  height: 80px;
  margin:  20px 0;
  text-decoration: none;
  transition: all .2s ease-out;
}
.contact-card:hover {
  box-shadow: none;
  transform: scale(0.99, 0.99) translateY(2px);
  color: var(--magenta);
}

.contact-card .img {
  background-image: url(../image/icon-mail02.svg) ;
  width: 20%;
  background-repeat: no-repeat;
  background-size: auto;
  background-position: center;
  margin-left: 20px;
  font-size: 1.3rem;
  position: relative;

}

.contact-card .text {
  display: grid;
  padding: 10px;
  width: 80%;
  text-align: center;
  line-height: 80px;
  font-size: 1.4rem;
 
}
.contact-card .text p {
  line-height: 1.5;
}

.contact-card .text-caution {
  width: 100%;
}



/* モバイル用メディアクエリ */

@media (max-width: 768px) {
  
  .main-container {
    padding-top: 0;
  }
  .psychic-container,
  .spiritual-container {
    width: 100%;
    padding: 50px 15px 100px;
    display: flex;
    flex-direction: column;
    gap: 30px;
   
  }
  .text-box {
   width: 100%;
   order: 2;
  }
  .img-box {
    width: 100%;
    order: 1;
    height: 50vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
  }
  .eg-large {
    font-size: 3.5rem;
    line-height: 1.5;
    margin-top: 0;

  }
  .eg-small {
    font-size: 1.7rem;  
    margin-top: 0;
  }
/* コンタクトカード */
  .contact-card {
    max-width: 80%;
    margin: 20px auto;
  }

  /* ヒーリングクラスカード */
  .healing-class-card img {
    width: 70vw;
    height: 70vw;
  }
  
}