@charset "UTF-8";
/*-----------------------------------------------
	全体
---------------------------------------------- */
html {
  scroll-behavior: smooth;
}

body {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;

  background-image: url(../images/bg.webp);
  background-position: top center;
  background-repeat: repeat;/*繰り返さない場合は no-repeat*/
  background-attachment: fixed;/*背景を固定しない場合は消す*/
  background-size: auto;/*背景を画面いっぱいに広げる場合はcover*/

  font-size: 16px;
  font-family: 'Helvetica','Arial','Hiragino Kaku Gothic ProN','ヒラギノ角ゴ ProN W3','メイリオ', Meiryo,'ＭＳ Ｐゴシック','MS PGothic',sans-serif;
  color: #333;
  line-height: 1.6;
  text-align: center;
}

/* 画像 */
img {
  display: block;
  margin: 0 auto;
  width: 100%;
  height: auto; 
  max-width: none;
}

/*-----------------------------------------------
	ボタンとフォーム
---------------------------------------------- */
.cta {
  position: relative;
  margin: 0 auto;
}

.youtube_cta {
	 position: relative;
  margin: 0 auto;
}






/* ボタン */
.btn {
  position: absolute;
  width: 32%;/* PC版のボタンの大きさ */
  bottom: 6%;/* ボタンの位置 */
  left: 0%;
  right: 0%;
  margin: 0 auto;
  animation-name: pulse;/* アニメーション名 */
  animation-duration: 1s;/* アニメーションの間隔(秒) */
  animation-iteration-count: infinite;
}


.btnyoutube {
  position: absolute;
  width: 35%;
  bottom: 6%;
  left: 50%;
  transform: translateX(-50%);
}

@media screen and (max-width:750px){

  .btnyoutube{
    width: 90%;
    bottom: 10%;
  }

}

/* PC: 右下に固定 */
.fixed-btn {
	position: fixed;
	bottom: 24px;
	right: 24px;
	width: 360px;
	z-index: 999;
	animation: float 2s ease-in-out infinite;
}

.fixed-btn img {
	width: 100%;
	display: block;
}

.fixed-btn a {
	display: block;
	transition: filter 0.2s ease;
}

.fixed-btn a:hover,
.fixed-btn a:active {
	filter: brightness(1.4);
}

/* スマホ: 画面下部いっぱいに固定 */
@media (max-width: 750px) {
	.fixed-btn {
		bottom: 0;
		left: 10%;
		width: 80%;
	}
}

/* CTA1 */
.btn01 {
	width: 36%;/* SP版のボタンの大きさ */
	bottom:14%;/* ボタンの位置 */
}

.btn02 {
	width: 36%;/* SP版のボタンの大きさ */
	bottom: 17% !important;/* ボタンの位置 */
}




@media (min-width: 751px) {
  .btn01 {
    width: 30%;/* PC版のボタンの大きさ */
    bottom: 8%;/* PC版のボタンの位置 */
  }
  .btn02 {
    width: 30%;/* PC版のボタンの大きさ */
    bottom: 13%;/* PC版のボタンの位置 */
  }
  .btn03 {
    width: 30%;/* PC版のボタンの大きさ */
    bottom: 13%;/* PC版のボタンの位置 */
  }
}

.btn:hover,.form_btn:hover{
  filter: brightness(1.2);
}

/* フォームタグ */
form {
  position: absolute;
  width: 100%;
  bottom: 10%;/* フォームの位置 */
  left: 0%;
  right: 0%;
  margin: 0 auto;
}

/* フォーム入力欄 */
.mail {
  width: 36%;/* PC版の入力欄の大きさ */
  aspect-ratio: 8 / 1;
  font-size: 20px;
  border-radius: 6px;
  margin-bottom: 1.5%;/* ボタンまでの余白 */
  text-align: center;
  border: solid 3px #fcc786;
}
/* フォームボタン */
button {
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  width: 100%;
}
.form_btn {
  width:36%;/* PC版のボタンの大きさ */
  animation-name: pulse;/* アニメーション名 */
  animation-duration: 1s;/* アニメーションの間隔(秒) */
  animation-iteration-count: infinite;
}

/*-----------------------------------------------
	container（テキストコーディング用）
---------------------------------------------- */
.container {
  max-width: 930px;/* コンテンツ幅 */
  width: 96%;
  margin: 0 auto;
}

/* ------------ 文章・文字装飾 ------------ */
.text {
  padding: 0 3%;
  text-align: left;
}
p {
  padding-bottom: 1.6em;
}
p:last-of-type {
  padding-bottom: 1em;
}
.red {
  color: #E30003;
}
.marker {
  background: linear-gradient(transparent 55%, #fffc79 55%);
}

/* ------------ 枠 ------------ */
.box-top {
  background: url("") no-repeat center bottom / 100% 100%;
  aspect-ratio: 0 / 0; /* 画像の実寸比率（横/縦） */
}
.box-body {
  background: url("") repeat-y center top / contain; /* 背景画像を入れる */
}
.box-bottom {
  background: url("") no-repeat center top / 100% 100%;
  aspect-ratio: 0 / 0; /* 画像の実寸比率（横/縦） */
}

/*-----------------------------------------------
	フッター
---------------------------------------------- */
.footer {
  background-color: #333;
  padding: 20px 10px;
	color: #fff;
	line-height: 2;
  font-size: 14px;
}
.footer a,.copyright {
  color: #fff;
}
.footer a {
  display: inline-block;
  text-decoration: underline;
}
.footer p {
  padding: 0;
}
.copyright {
  text-align: center;
}

<style>
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }

  body {
    font-family: "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif;
    background: #f7f7f5;
  }

  .news-section {
    max-width: 1920px;
    margin: 0 auto;
    padding: 80px 160px;
  }

  .news-list {
    list-style: none;
  }

  .news-item {
    border-bottom: 1px solid #ddd;
  }

  .news-link {
    display: flex;
    align-items: center;
    gap: 40px;
    padding: 32px 16px;
    text-decoration: none;
    color: inherit;
    transition: background 0.2s ease;
  }

  .news-link:hover {
    background: rgba(0, 0, 0, 0.03);
  }

  .news-category {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 120px;
    padding: 8px 20px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: #fff;
    background: #d8839a;
    border-radius: 4px;
  }

  .news-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
  }

  .news-date {
    font-size: 14px;
    color: #999;
    letter-spacing: 0.05em;
  }

  .news-title {
    font-size: 20px;
    font-weight: 700;
    color: #333;
  }

  .news-text {
    font-size: 15px;
    color: #666;
    line-height: 1.6;
  }

  .news-arrow {
    flex-shrink: 0;
    font-size: 28px;
    color: #ccc;
    transition: transform 0.2s ease, color 0.2s ease;
  }

  .news-link:hover .news-arrow {
    transform: translateX(6px);
    color: #d8839a;
  }

  /* ---------- タブレット ---------- */
  @media (max-width: 1024px) {
    .news-section {
      padding: 60px 40px;
    }

    .news-link {
      gap: 24px;
      padding: 24px 12px;
    }

    .news-category {
      min-width: 100px;
      font-size: 13px;
      padding: 6px 16px;
    }

    .news-title {
      font-size: 18px;
    }

    .news-text {
      font-size: 14px;
    }
  }

  /* ---------- スマートフォン ---------- */
  @media (max-width: 600px) {
    .news-section {
      padding: 40px 20px;
    }

    .news-link {
      flex-wrap: wrap;
      gap: 12px;
      padding: 20px 8px;
      position: relative;
    }

    .news-category {
      min-width: auto;
      font-size: 12px;
      padding: 4px 14px;
    }

    .news-body {
      width: 100%;
      order: 3;
    }

    .news-date {
      font-size: 12px;
    }

    .news-title {
      font-size: 16px;
    }

    .news-text {
      font-size: 13px;
    }

    .news-arrow {
      position: absolute;
      top: 20px;
      right: 8px;
      font-size: 24px;
    }
  }
</style>


.content-block {
  max-width: 1920px;
  margin: 0 auto;
  padding: 0 160px 80px; /* 上の余白を0に */
}

.body-image {
  display: block;
  width: 100%;
  max-width: 750px;
  height: auto;
  margin: 0 auto;
}

.youtube-cta {
  margin-top: 0px;
  text-align: center;
}

.youtube-cta a {
  display: inline-block;
  width: 100%;
  max-width: 320px; /* PC版でのCTAボタンの最大サイズ。お好みで調整 */
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.youtube-cta a:hover {
  transform: scale(1.02);
  opacity: 0.9;
}

.youtube-cta img {
  display: block;
  width: 100%;
  height: auto;
}

/* ---------- スマートフォン（750px基準） ---------- */
@media (max-width: 750px) {
  .content-block {
    padding: 40px 20px;
  }

  .body-image {
    max-width: 100%;
  }

  .youtube-cta {
    margin-top: 24px;
  }

  .youtube-cta a {
    max-width: 100%;
  }
}




/*-----------------------------------------------
	PC・タブレット
---------------------------------------------- */
@media screen and (min-width: 751px) {
	.sp_only { 
    display: none;
  }
}
/*-----------------------------------------------
	スマホ
---------------------------------------------- */
@media screen and (max-width: 750px) {
	.pc_only {
    display: none;
  }
  .space_sp {
    display: block;
    height: 1.6em;
  }

	/* フォーム入力欄 */
	.mail {
		width: 90%;/* SP版の入力欄の大きさ */
		font-size: 16px;
		border-radius: 2px;
    margin-bottom: 4%;/* ボタンまでの余白の大きさ */
		border-width: 2px;/* 枠線の太さ */
	}  
  /* ボタンとフォームボタン */
  .btn,
  .form_btn {
    width:90%;/* SP版のボタンの大きさ */
  }
}
