@charset "utf-8";

/*全体の設定
---------------------------------------------------------------------------*/
body {
  background: #f5f5f5;
  color: #313131;
  /*全体の文字色*/
  margin: 0px;
  padding: 0px;
}


p {
  font-size: 22px;
  font-family: "Yu Gothic", "ヒラギノ角ゴシック", "Arial";
  text-align: justify;
  line-height: 24px;
  line-height: 1.8;
}

.txt{
  margin: 0 28px 0px;
}

table {
  border-spacing: 0;
  font-size: 100%;
}

/*リンク（全般）設定
---------------------------------------------------------------------------*/
a {
  color: #555;
  /*リンクテキストの色*/
  text-decoration: none;
}

a:hover {
  color: #006ddc;
  /*マウスオン時の文字色（全体）*/
}

a:hover .btn {
  position: relative;
  top: 3pt;
  left: 3pt;
}

a:hover .btn2{
  position: relative;
  top: 3pt;
  left: 3pt;
}

a:hover .btn3{
  position: relative;
  top: 3pt;
  left: 3pt;
}


/*コンテナー（HPを囲むブロック）
---------------------------------------------------------------------------*/
#container {
  width: 750px;
  /*コンテナー幅*/
  background-color: #fff;
  border-left: 1px solid #ccc;
  border-right: 1px solid #ccc;
  text-align: center;
  margin: 0 auto;
  overflow: hidden;
}

.company {
  font-size: 20px;
  text-align: left;
  color: #555;
  line-height: 1.6;
  margin: 0 25px;
}

/*CTA
---------------------------------------------------------------------------*/

.cta_back {
  display: block;
  background-color: #f55d56;
  padding: 50px 25px 40px;
}

.cta_back_yellow {
  display: block;
  background-color: #fffce4;
  padding: 30px 10px;
  border-radius: 10px;
  margin-top: 30px;
}



/*特典
---------------------------------------------------------------------------*/
.tokuten_back {
  display: block;
  background-color: #efe1e3;
  padding: 50px 25px 40px;
  z-index: 1;
}


.img_margin50 {
  margin-bottom: 50px;
}


.note_white {
  background-color: #fff;
  padding: 20px 25px 50px;
  box-shadow: 0px 0px 12px 0px #b3b3b3;
  position: relative;
  margin-bottom: 20px;
}


.tag {
  margin: -38px 0 50px;
}

.shadow {
  display: block; /* shadow 画像がブロック要素として扱われるように設定 */
    width: 100%; /* 必要に応じて幅を調整 */
    height: auto; /* 画像のアスペクト比を維持 */
    margin-top: -110px; 
}


.yellow_ilne{
  background: linear-gradient(transparent 70%, #ffff00 0%);
  font-weight: bold;
}




/*事例
---------------------------------------------------------------------------*/
.note_yellow {
  background-color: #fffef5;
  padding: 20px 25px 30px;
  margin: 0 28px;
  box-shadow: 0px 0px 12px 0px #b3b3b3;
  position: relative;
  margin-bottom: 20px;
}

.tag2 {
  margin: -80px 0 20px;
}

.red{
  color: #ed4848;
  font-weight: bold;
}

.mg50{
  margin: 50px;
}

.mg80{
  margin: 50px;
}


/*講師紹介
---------------------------------------------------------------------------*/
.teacher_img{
  margin: 50px 0;
}

.flex {
  display: flex;
  width: 100%;
  margin: 0 auto 50px;
  justify-content: space-between;
  gap: 20px;
  padding: 0 30px;
  align-items: flex-start;
}


/*経歴
---------------------------------------------------------------------------*/
.biography_back{
  background-color: #f0f0f0;
  margin: 0 28px 50px;
  padding: 30px ;
  text-align: left;
}

.gray{
  color: #b4b4b4;
}

.biography_ttl{
font-weight: bold;
margin-top: 20px;
}

.biography{
  font-size: 18px;
  line-height: 1.4;
}


/*ラストメッセージ
---------------------------------------------------------------------------*/
.last_img{
  margin: 20px 0;
}

.mg20{
  margin: 20px;
}

/*オファー
---------------------------------------------------------------------------*/
.offer{
  background-image: url(../img/offers_back.png);
background-repeat: repeat-y;
background-position:center;
background-size: 100% auto;
padding-bottom: 30px;

}

.offers_img{
margin: 50px 0 80px;
}

.tag3 {
  margin: -50px 0 20px;
}

/*ボタン設定
---------------------------------------------------------------------------*/
.btn {
  width: 80%;
  margin: 30px auto 0;
}

.btn2 {
  width: 80%;
  margin: -30px auto 0;
}

.btn-container {
  position: fixed;
  bottom: 20px;
  right: 20px; /* ← スマホ対応で位置修正 */
  z-index: 9999; /* ← 最前面に表示させる */
  opacity: 1; /* ← 非表示にしない */
}

.btn-container.visible {
  opacity: 1;
  bottom: 20px;
}

.btn-container.hidden {
  opacity: 0;
  bottom: -50px;
}

/*フッター設定
---------------------------------------------------------------------------*/
footer {
  width: 100%;
  margin: 0 auto;
  font-size: 85%;
  text-align: center;
  padding-top: 20px;
  padding-bottom: 15px;
  color: #fff;
  position: relative;
  background: #2f5b76;
  font-size: 90%;
}

footer a {
  color: #fff;
  margin: 10px 0;
}

.copy {
  color: #fff;
  text-align: center;
  margin: 10px 0;
}


/*その他
---------------------------------------------------------------------------*/
.clear {
  clear: both;
}



/* パソコンで見たときは"pc"のclassがついた画像が表示される */
.pc {
  display: block !important;
}

.sp {
  display: none !important;
}

/* スマートフォンで見たときは"sp"のclassがついた画像が表示される */
@media only screen and (max-width: 768px) {
  .pc {
    display: none !important;
  }

  .sp {
    display: block !important;
  }

p{
  font-size: 180%;
}

.btn-container {
  position: fixed;
  bottom: 20px;
  right: 20px;
  opacity: 0;
  transition: opacity 0.5s ease, bottom 0.5s ease;
}

@media only screen and (max-width: 768px) {
  .btn-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    opacity: 1; /* ← これを忘れず */
  }
}


}