@charset "utf-8";
/*
Theme Name: NOEL child
Theme URI:https://tcd-theme.com/tcd072
Description:WordPressテーマ「NOEL」の子テーマ
Template:noel_tcd072
Author:TCD
Author URI:https://tcd-theme.com/
Version:1.0
*/

/*
  ここから下にCSSを追記してください。
*/


.title-orange {
  position: relative;
  padding: 0.6em;
  background: #4DB6AC;
  color: #ffffff;
  font-size: 30px;   /* PCサイズ */
  font-weight: bold;
}

.title-orange:after {
  position: absolute;
  content: '';
  top: 100%;
  left: 30px;
  border: 15px solid transparent;
  border-top: 15px solid #4DB6AC;
  width: 0;
  height: 0;
}

/* ▼ スマホ用 */
@media screen and (max-width: 768px) {
  .title-orange {
    font-size: 20px;
  }
}

/*
  タイトル1
*/
/* 念のため align-center も定義 */
.align-center { text-align: center; }

/* ブロック全体 */
.section-title{
  text-align: center;
  padding: 10px 20px 10px;
}

/* h2に確実に当てる（.h だけにしない） */
.section-title h2.h{
  position: relative;
  margin: 0;
  padding-bottom: 24px; /* 線のための余白 */
  font-size: 42px;
  font-weight: 500;
  line-height: 1.3;
  color: #111;
  display: inline-block; /* これがないとテーマ次第でズレることがある */
}

/* タイトル下の線（beforeを確実に表示） */
.section-title h2.h::before{
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 90px;
  height: 4px;
background: #f57c00;
}

/* CONTACT */
.section-title > p{
  margin: 28px 0 0;
  font-size: 22px;
  letter-spacing: 0.22em;
  font-family: "Times New Roman", Georgia, serif;
  color: #111;
	    margin: 0.5em 0 1em 0!important;
}

/* スマホ */
@media (max-width: 768px){
  .section-title{ padding: 30px 15px; }
  .section-title h2.h{ font-size: 24px; padding-bottom: 18px; }
  .section-title h2.h::before{ width: 60px; height: 3px; }
  .section-title > p{ margin-top: 18px; font-size: 16px; }
}




.course-title01 {
    font-weight: bold;
    color: #ffffff;
    font-size: 30px;
    text-align: left;
    line-height: 1.4;
    margin-bottom: 30px;
   background: linear-gradient(to right, #ff8c00, #ffb347);
    padding: 10px 10px 10px 10px;
}
@media only screen and (max-width: 767px) {
  .course-title01 {
        font-size: 22px;
        text-align: left;
    }
}


.btn {
  display: inline-block;
  padding: 12px 22px;
  background: #2e7d32;
  color: #fff;
  text-decoration: none;
  border-radius: 0;
  font-weight: bold;
  transition: 0.3s;
}

/* ←ここ重要 */
.btn:hover {
  background: #66bb6a;
  color: #fff; /* ← これ追加 */
}

/* 全状態で白固定 */
.btn:link,
.btn:visited,
.btn:active {
  color: #fff;
  text-decoration: none;
}

.btn:hover {
  color: #fff !important;
}

.btn {
  display: block;
  margin: 20px auto;
  width: fit-content;
}


.t-bg {
    background: #ffeb3b;
    color: #000;
    border-radius: 25px;
    padding: 0.35em 0.6em;
    font-size: 14pt;
    line-height: 1.4;
    display: inline-block;
}

@media (max-width: 640px) {
    .t-bg {
        font-size: 12px;
    }
}


.index_box_content.row1 .title {
  background: rgba(255, 122, 0, 0.85);
  font-size: 36px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.05em;
  padding: 14px 20px;
  display: inline-block;
}
