@charset "UTF-8";

.main_image img{
  display:block;
  width:100%;
}

.section01{
  font-family: "Noto Serif JP", serif;
  font-weight: bold;
  margin-top: 50px;
  margin-bottom: 60px;

}

h2 img{
  width: 50%;
  margin: auto;
  max-width: 550px;
}


.right-area{
  position:relative;
  margin-left:10%;
  width:90%;
  background:#fff;
  padding:80px 0;
}



/* 白いカード */
.card{
   margin-left:10%;

  border-left:1px solid #333;
  border-top:1px solid #333;
  border-bottom:1px solid #333;

  border-radius:20px 0 0 20px;

  background:#fff;
  position:relative;
}

/* 内側：テキスト中央 */
.card_inner{
  width: 80%;
  margin:0 auto;
  padding:50px 0;
  max-width: 800px;
}

/* ドット背景 */
.card::after{
  content:"";

  position: absolute;
  right: 20px;
  top: 20px;
  width: 100%;
  height: 100%;
  z-index: -1;

  background-image: radial-gradient(#c36049 2px, transparent 2px);
  background-size: 8px 8px;
  border-radius: 20px;
}
.text-block{
  padding: 0;
}


/*news*/
.section02 h2{
  width: 200px;
}

.section02 .section-title {
  text-align: left!important;  
  margin: 0 0 20px var(--left-offset); 
}

.section02 {
  margin-top: 100px;
  margin-bottom: 30px;
    --left-offset: 10%; /* 必要 */
}

.news-card h2 {
  text-align: left;
  margin: 0 0 10px 10%;
}

.card_02{
  position: relative;
  background-color: #e4e4e5;
  width: calc(100% - 10%);  /* 右側10%空白を残す */
  margin-left: 0;            /* 左端から開始 */
  margin-right: 0;           /* 右側は空白分 width で調整 */
  padding: 50px 0;           /* 上下余白 */
  box-sizing: border-box;
  border-radius:0 20px 20px 0;
}
.news-list {
  list-style: none;
  padding: 0 30px;            /* 左右の文字余白 */
  margin: 0 auto;
  max-width: 700px;            /* 文字幅制限 */
  font-family: "Noto Sans JP", sans-serif;
  box-sizing: border-box;
}
.news-list .date {
  font-size: 1.4rem;
  margin-bottom: 3px;
  color: #555;
  text-align: left;
  margin-left: var(--left-offset); /* h2 と揃える */
}

.news-list .content {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-left: var(--left-offset); /* h2 と揃える */
}

.news-list .category {
  display: inline-block;
  padding: 1px 15px;
  border: 1px solid #333;
  border-radius: 15px;
  font-size: 1.3rem;
}

.news-list .title {
  font-size: 1.6rem;
  text-decoration: none;
  color: #333;
}

.news-list hr {
  border: none;
  border-top: 1px solid #ccc;
  margin: 10px 0 0 var(--left-offset); /* h2 と揃える */
}







/*案内*/
.section03{
  margin: auto;
  margin-top: 100px;
  margin-bottom: 50px;
  max-width: 1100px;
}

.content03{
  display: flex;
  gap: 20px;
  margin: 0 5%;
  align-items: flex-start;
}

.content03 picture{
  flex-basis:30%;
  max-width: 300px;
}

.content03 .text03{
  flex-basis:70%;
  padding-top: 20px;
  padding-left: 2%;
}

/*course*/


.content04{
  display: flex;
  justify-content: center;
  margin: 0 5%;
  gap:20px;
}

.course_area{
  width: 30%;
  border: #333 1px solid;
  border-radius: 15vw;
  text-align: center;
  padding: 50px 20px;
  max-width: 300px;
  font-size: 14px;

  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #fff;
}

.course_icon{
  height:50px;
}

.course_logo{
  height:150px;
  margin: 20px 0;
}

.course_recommend{
  height:15px;
}

.course_area img{
  display: block;
  margin: 0 auto;
}
.course_area hr{
  width: 70%;
  margin-top: 10px;
  margin-bottom: 40px;
}
h3{
  font-size: 20px;
  margin: 10px 0 15px;
}

.course_text01{
  min-height: 70px;
}

.course_text02{
  text-align: left;
  /*min-height: 100px;*/
  margin: 10px 0 20px;
}

.basic h3{
  color: #b14546;
}
.advance h3{
  color: #9fa0a0;
}
.pro h3{
  color: #d3a24e;
}

.course_btn{
  padding: 10px 30px;
  color: #fff;
  margin-top: auto;
  font-family: "Noto Serif JP", serif;
}
.basic .course_btn{
  background-color: #b14546;
}
.advance .course_btn{
  background-color: #9fa0a0;
}
.pro .course_btn{
  background-color: #d3a24e;
}


.recommend_line{
  display: flex;
  align-items: center;
  width: 100%;
  margin: 15px 0;
}

.recommend_line::before,
.recommend_line::after{
  content: "";
  flex: 1;
  border-top: 1px solid #333;
}

.recommend_line img{
  margin: 0 10px;
}

.section04{
  margin-top: 100px;
  background: linear-gradient(
  transparent 28%,
  #f6dbc9 28% 78%,
  transparent 75%
);
}

.course_area a:hover{
  opacity: 0.7;
}





@media screen and (max-width: 700px) {
  
  .section02{
    --left-offset:0%;
    margin-bottom: 50px;
  }

  h2 img{
    width: 80%;
  }
  .card_inner{
    width: 100%;
    padding-left: 6%;
    padding-right: 10%;
  }

  
  .section02 h2 img{
    width: 50%;
  }
  .card_02{
    width: 100%;
    padding: 30px 0;
  }
  
  .section02 .section-title{
    margin-bottom: 10px;
  }
  .news-list .date{
    font-size: 1.2rem;
  }
  .news-list .category,.news-list .title{
    font-size: 1.3rem;
  }
    .news_area{
    width: 98%;
  }
  .news-list .content{
    gap: 15px;
  }

  .section03{
    margin-bottom: 50px;
  }

   .content03{
    display:flex;
    flex-direction:column;
    align-items:center;
  }

  .content03 .text03{
    order:1;
    padding-left: 0;
  }

  .content03 picture{
    order:2;
    max-width: none;
  }

  .section04{
    background: none;
  }
  .section04 img{
    margin-bottom: 10px;
  }

   .content04{
    flex-direction: column;
    align-items: center;
  }

  .course_area{
    width:100%;
    max-width:350px;
    border-radius: 175px;
  }

.recommend_line{
  margin: 0;
}
.course_area hr{
  margin-bottom: 20px;
}
.course_text01{
  min-height: auto;
  margin-bottom: 20px;
}
.course_btn{
  width: 60%;
}

.course_area{
  position:relative;
  padding: 50px 30px
}

.course_area::before{
  content:"";
  position:absolute;
  left:50%;
  transform:translateX(-50%);
  width:100%;
  height:100%;
  z-index:-1;

  background: linear-gradient(
    transparent 20%,
    #f6dbc9 20% 70%,
    transparent 70%
  );
}

}



  
