@charset "UTF-8";

main {
  font-size: 24px;
  line-height: 1.4;
  font-family: "Zen Kaku Gothic New", sans-serif;
}

@media screen and (max-width: 800px) {
  main {
    font-size: 15px;
    line-height: 1.6;
  }
}

img {
  max-width: 100%;
  height: auto;
}

/*  共通パーツ */
.inner {
  max-width: 1440px;
  margin-left: auto;
  margin-right: auto;
}

h1 {
  width: clamp(100px, 20vw, 160px);
  height: auto;
  justify-content: left;
}

.header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10;
  font-size: 24px;
  background: transparent;

  /* topはアニメーションさせない */
  transition: background-color 0.3s ease;
}

/* 下から上にスクロールした時（半透明） */
.header--bg-white {
  background: rgba(242, 253, 255, 0.9);
}

/* 非表示状態（上に隠す） */
.header--hidden {
  transform: translateY(-100%);
}

/* ハンバーガー基本 */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.hamburger span {
  width: 28px;
  height: 2px;
  background: #d9d9d9;
  display: block;
  transition: all 0.3s ease;
}

/* SP表示 */
@media screen and (max-width: 800px) {
  .hamburger {
    display: flex;
    position: absolute;
    top: 12px; /* ← 上へ */
    right: 16px; /* ← 右へ */
    margin-left: 0; /* ← autoを解除 */
  }
}

/* メニューOPEN時 */
.hamburger.is-open span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.hamburger.is-open span:nth-child(2) {
  opacity: 0;
}

.hamburger.is-open span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

.header__txt {
  display: flex;
  flex-direction: row;
  justify-content: flex-end; /* ← ここを flex-end に変更 */
  align-items: center;
  gap: 20px;
  margin-top: -90px;
  margin-right: 20px;
  color: white;
  position: relative;
  z-index: 10;
}

@media screen and (max-width: 800px) {
  .header__txt {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    color: #d9d9d9;
    background: #fff;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 24px;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 1000;
  }

  /* ================================
   ヘッダー hover 演出
================================ */

  /* 各メニュー文字 */
  .header__txt p {
    position: relative;
    cursor: pointer;
    color: white;
    transition: color 0.3s ease;
  }

  /* 上に表示する横線（初期は非表示） */
  .header__txt p::before {
    content: "";
    position: absolute;
    top: -6px; /* ← 文字の少し上 */
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #53ceff; /* 水色 */
    opacity: 0;
    transform: scaleX(0);
    transition: all 0.3s ease;
  }

  /* hover時 */
  .header__txt p:hover {
    color: #000;
  }

  .header__txt p:hover::before {
    opacity: 1;
    transform: scaleX(1);
  }

  .header__txt.is-open {
    transform: translateX(0);
  }

  /* waveを消す */
  .header__wave {
    display: none;
  }
}

.js-scroll {
  cursor: pointer;
}

.header__wave {
  text-align: right;
  position: relative;
  z-index: -100;
}

.main__item {
  position: relative; /* ← これ重要！（absoluteの基準になる） */
  background-image: url("../img/backgroundcolor__main.png");
  background-size: cover; /* 背景を全体にフィット */
  background-position: center; /* 画像の中央を基準に */
  background-repeat: no-repeat;
}

.main__photo {
  display: flex;
  justify-content: left;
  position: relative;
  z-index: 2; /* 数字が大きいほど上に表示される */
}

.main__catchcopy {
  position: relative;
  z-index: 3; /* 数字が大きいほど上に表示される */
  display: flex;
  flex-direction: column;
  align-items: center;
  width: fit-content;
  font-size: 50px;
  position: absolute;
  top: 350px;
  right: 20px;
}

.main__item p {
  display: flex;
  justify-content: center;
  color: white;
}

.main__catchcopy__sup {
  display: flex;
}

.main__hiroshima {
  position: absolute;
  left: 450px;
}

@media screen and (max-width: 800px) {
  .main__hiroshima {
    font-size: 30px;
    position: absolute;
    left: 50px;
  }
}

.main__windsup {
  font-family: "Island Moments", cursive;
  font-size: 200px;
}

@media screen and (max-width: 800px) {
  .main__windsup {
    font-size: 100px;
  }
}

.main__sup {
  position: absolute;
  top: 150px;
  left: 200px;
}

@media screen and (max-width: 800px) {
  .main__sup {
    position: absolute;
    top: 70px;
    left: 50px;
  }
}

.main__sup2 {
  position: absolute;
  top: 250px;
  left: 500px;
}

@media screen and (max-width: 800px) {
  .main__sup2 {
    font-size: 30px;
    position: absolute;
    top: 120px;
    left: 180px;
  }
}

.scroll {
  position: absolute;
  top: 55%;
  left: 50%;
  transform: translate(-50%, -50%); /* 完全に中央 */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100px;
  height: 100px;
}

.scroll-img {
  position: absolute;
  bottom: 0; /* 下から開始 */
  left: 50%;
  transform: translateX(-50%) translateY(50px); /* 初期は下に少しずらす */
  transition: transform 0.2s linear;
}

.scroll-img.top {
  z-index: 10; /* 一番上 */
}

/* スマホ版 */
@media screen and (max-width: 800px) {
  .scroll__item {
    margin-top: 200px;
  }
}

.main__photo__all {
  position: relative;
  width: 100%; /* 親要素の幅（画面いっぱい） */
  height: 1000px; /* 親要素の高さ（pxで指定） */
  object-fit: cover;
}

.hole {
  position: absolute;
  left: 200px;
  animation: floating-hole 2s ease-in-out infinite alternate;
}

@keyframes floating-hole {
  0% {
    transform: translateY(-10%);
  }
  100% {
    transform: translateY(10%);
  }
}

/* ---------- */

.sup__two {
  position: absolute;
  right: 200px;
  animation: floating-two 1.6s ease-in-out infinite alternate-reverse;
}

@keyframes floating-two {
  0% {
    transform: translateY(-5%);
  }
  100% {
    transform: translateY(5%);
  }
}

/* ---------- */

.sup__three {
  position: absolute;
  left: 50px;
  top: 400px;
  animation: floating-three 2.2s ease-in-out infinite alternate;
}

@keyframes floating-three {
  0% {
    transform: translateY(-12%);
  }
  100% {
    transform: translateY(12%);
  }
}

/* ---------- */

.sup__one {
  position: absolute;
  left: 350px;
  top: 400px;
  animation: floating-one 1.4s ease-in-out infinite alternate-reverse;
}

@keyframes floating-one {
  0% {
    transform: translateY(-3%);
  }
  100% {
    transform: translateY(3%);
  }
}

/* ---------- */

.wind {
  position: absolute;
  right: 100px;
  top: 400px;
  animation: floating-wind 2.6s ease-in-out infinite alternate;
}

@keyframes floating-wind {
  0% {
    transform: translateY(-15%);
  }
  100% {
    transform: translateY(15%);
  }
}

@media screen and (max-width: 800px) {
  .main__photo__all {
    height: 500px; /* 親の高さを少し下げる */
  }

  .main__photo__all img {
    max-width: 25vw; /* 画面幅に対して小さくする（ここで縮小可能） */
    height: auto;
  }

  .hole {
    left: 10%;
    top: 5%;
  }

  .sup__two {
    right: 10%;
    top: 8%;
  }

  .sup__three {
    left: 2%;
    top: 55%;
  }

  .sup__one {
    left: 30%;
    top: 55%;
  }

  .wind {
    right: 1%;
    top: 55%;
  }
}

h2 {
  display: flex;
  justify-content: center;
  font-family: "Island Moments", cursive;
  font-size: 100px;
  color: #0bc6e2;
  line-height: 0.7;
}

.about__item {
  position: relative;
  width: 100%; /* 親要素の幅（画面いっぱい） */
  height: 600px; /* 親要素の高さ（pxで指定） */
  margin-bottom: 200px;
}

.about__txt {
  margin-top: 200px;
  margin-bottom: 200px;
}

.about__item p {
  display: flex;
  justify-content: center;
  line-height: 3;
}

/* 初期状態：下に下がって透明 */
.fade-up {
  opacity: 0;
  transform: translateY(5px); /* 下からの距離は控えめに */
  transition: opacity 2s cubic-bezier(0.6, 0, 0.1, 1),
    transform 2s cubic-bezier(0.6, 0, 0.1, 1); /* 表示時間を2秒に延長 */
}

.fade-up.show {
  opacity: 1;
  transform: translateY(0);
}

.color-sup {
  color: #5361ff;
}

.color-wind {
  color: #53ceff;
}

.menu__item {
  position: relative; /* ← これ重要！（absoluteの基準になる） */
  width: 100%;
  height: 100%;
  background-image: url("../img/backgroundcolor__wave.png");
  background-size: cover; /* 背景を全体にフィット */
  background-position: center; /* 画像の中央を基準に */
  background-repeat: no-repeat;
}

.menu {
  position: relative;
  width: 100%; /* 親要素の幅（画面いっぱい） */
  height: 1100px; /* 親要素の高さ（pxで指定） */
  padding: 100px;
}

.menu__txt {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.sup-wind__items {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 150px;
}

@media screen and (max-width: 800px) {
  .sup-wind__items {
    display: flex;
    flex-direction: column;
    gap: 100px;
  }
}

.sup-wind__img {
  width: 100%;
  aspect-ratio: 680 /280;
  object-fit: cover;
  object-position: top center;
}

.menu__sup__txt {
  color: white;
  background-color: #5361ff;
  padding: 100px;
  max-width: 600px;
}

@media screen and (max-width: 800px) {
  .menu__sup__txt {
    padding: 30px;
  }
}

.sup-wind__menu {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  line-height: 1.1;
}

.sup-wind__menu p {
  color: black;
}

.menu__windsurfing__txt {
  max-width: 600px;
  background-color: #53ceff;
  padding: 100px;
  color: white;
}

@media screen and (max-width: 800px) {
  .menu__windsurfing__txt {
    padding: 30px;
  }
}

.container {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  overflow: hidden;
}
.wrapper {
  display: flex;
  animation: loop-text 10s linear infinite;
}
.double-content {
  display: inline-block;
  font-size: 6rem;
  white-space: nowrap;
}
@keyframes loop-text {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-50%);
  }
}

.sup-wind__design {
  font-family: "Island Moments", cursive;
  font-size: 50px;
  color: black;
}

.sup__wind__txt {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  font-size: 180px;
  color: #0bc6e2;
  margin-top: 100px;
  font-weight: bold;
}

.menu__photo {
  position: relative;
  width: 100%; /* 親要素の幅（画面いっぱい） */
  height: 2400px; /* 親要素の高さ（pxで指定） */
}

@media screen and (max-width: 800px) {
  .menu__photo {
    display: flex;
    flex-direction: column;
    padding: 10px 0; /* 上下に余白追加 */
  }
}

.menu__photo__sup {
  position: absolute;
  left: 150px;
  top: 600px;
}

@media screen and (max-width: 800px) {
  .menu__photo__sup {
    position: absolute;
    top: 630px;
  }
}

.menu__photo__wind {
  position: absolute;
  right: 200px;
  top: 200px;
}

.menu__photo__wind__one {
  position: absolute;
  right: 150px;
  top: 1000px;
}

.menu__photo__hole {
  position: absolute;
  left: 100px;
  top: 1300px;
}

.menu__photo__sup__all {
  position: absolute;
  right: 100px;
  top: 1800px;
}

@media screen and (max-width: 800px) {
  .menu__photo__sup__all {
    position: absolute;
    top: 1900px;
  }
}

/* 基本アニメーション設定（スクロール前） */
.menu__photo .img {
  opacity: 0;
  transform: translateY(35px);
  transition: opacity 1.6s ease, transform 1.6s ease;
}

/* スクロールで見えた時 */
.menu__photo .img.show {
  opacity: 1;
  transform: translateY(0);
}

.course {
  position: relative;
  width: 100%; /* 親要素の幅（画面いっぱい） */
  height: 3000px; /* 親要素の高さ（pxで指定） */
  padding-top: 150px;
}

@media screen and (max-width: 800px) {
  .course {
    height: 2000px; /* 親要素の高さ（pxで指定） */
  }
}

.course__wind {
  position: absolute;
  top: 500px;
}

.course__item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.backgroundcolor__purple {
  position: absolute;
  top: 500px;
  left: 100px;
}

.backgroundcolor__blue {
  position: absolute;
  right: 0px;
}

.course__wind2 {
  position: absolute;
  top: 700px;
  right: 100px;
}

.course__wind3 {
  position: absolute;
  top: 800px;
  right: 400px;
}

.course__wind__txt {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: absolute;
  top: 400px;
  right: 100px;
}

.course__illust1 {
  position: absolute;
  top: 1280px;
  left: 200px;
}

.course__illust2 {
  position: absolute;
  top: 1280px;
  left: 300px;
}

.course__illust3 {
  position: absolute;
  top: 1250px;
  left: 430px;
}

.backgroundcolor__blue2 {
  position: absolute;
  top: 1500px;
}

.course__sup__txt {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: absolute;
  top: 1800px;
  left: 150px;
}

.backgroundcolor__purple2 {
  position: absolute;
  top: 1800px;
  right: 120px;
}

.course__sup {
  position: absolute;
  top: 2000px;
  right: 0px;
}

.course__sup2 {
  position: absolute;
  top: 2000px;
  left: 20px;
}

.course__sup3 {
  position: absolute;
  top: 2200px;
  left: 300px;
}

@media screen and (max-width: 800px) {
  /* 画像サイズを全体的に縮める */
  .backgroundcolor__purple img,
  .backgroundcolor__blue img,
  .backgroundcolor__blue2 img,
  .course__wind img,
  .course__sup img,
  .backgroundcolor__purple2 img {
    max-width: 60vw;
    height: auto;
  }

  .course__wind2 img,
  .course__wind3 img,
  .course__sup2 img,
  .course__sup3 img {
    max-width: 20vw;
    height: auto;
  }

  .course a {
    max-width: 40vw;
    height: auto;
  }

  .course__illust1,
  .course__illust2,
  .course__illust3 {
    max-width: 80vw;
    height: auto;
  }

  /* 各要素の位置調整（PCの位置は変えない） */
  .backgroundcolor__purple {
    top: 13%;
    left: 10%;
  }

  .backgroundcolor__blue {
    right: 0%;
    top: 25%;
  }

  .course__wind {
    top: 15%;
    left: 0%;
  }

  .course__wind2 {
    top: 16%;
    right: 5%;
  }

  .course__wind3 {
    top: 20%;
    right: 20%;
  }

  .course__wind__txt {
    top: 30%;
    left: 25%;
    width: 90%;
  }

  .course__illust1 {
    top: 90%;
    left: 10%;
  }

  .course__illust2 {
    top: 90%;
    left: 35%;
  }

  .course__illust3 {
    top: 90%;
    left: 60%;
  }

  .backgroundcolor__blue2 {
    top: 70%;
    left: 0;
  }

  .backgroundcolor__purple2 {
    top: 60%;
    right: 0%;
  }

  .course__sup__txt {
    top: 75%;
    left: 0%;
  }

  .course__sup {
    top: 50%;
    right: 0%;
  }

  .course__sup2 {
    top: 75%;
    left: 50%;
  }

  .course__sup3 {
    top: 75%;
    left: 75%;
  }
}

.reason {
  width: 100%;
  height: auto; /* 必要に応じて調整 */
  background-image: url("../img/backgroundcolor__wave__short.png");
  background-repeat: no-repeat;
  background-position: top center; /* ← 波の上部を優先して表示 */
  background-size: 100% 100%; /* ← 横100%、縦は自動 */
  padding-top: 150px;
  padding-bottom: 150px;
  padding-left: 50px;
  padding-right: 50px;
}

.reason__ttl {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 150px;
}

.reason__item {
  display: flex;
  justify-content: center;
}

@media screen and (max-width: 800px) {
  .reason__item {
    display: flex;
    flex-direction: column;
    gap: 100px;
  }
}

.reason__txt2 {
  background-color: white;
  height: 400px;
  position: relative;
}

@media screen and (max-width: 800px) {
  .reason__txt2 {
    height: 350px;
  }
}

.reason__txt2 img {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translate(-50%, -50%);
}

.reason__txt3 {
  padding-top: 80px;
}

.reason__txt3 p {
  margin-top: 20px;
}

.reason__txt {
  flex: 1; /* ← 横幅を均等にする */
  padding: 8px; /* ボックス内部の余白 */
  text-align: center;
  border-radius: 10px;
}

.reason__fish {
  text-align: right;
}

h3 {
  color: #0bc6e2;
  font-weight: bold;
}

.news {
  padding: 100px;
}

.news__ttl {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.news__item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.news__txt {
  margin-top: 100px;
  text-align: center;
}

.news__button {
  text-align: center;
  margin-top: 100px;
}

.access {
  width: 100%;
  background-image: url("../img/backgroundcolor__wave.png");
  background-repeat: no-repeat;
  background-position: top center; /* ← 波の上部を優先して表示 */
  background-size: 100% auto; /* ← 横100%、縦は自動 */
}

.access__fish {
  display: flex;
  justify-content: left;
}

.access__ttl {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0;
}

.access__item {
  display: flex;
  justify-content: center;
  padding: 200px;
  position: relative;
  gap: 20px;
}

@media screen and (max-width: 800px) {
  .access__item {
    display: flex;
    flex-direction: column;
    padding: 50px 30px;
  }
}

@media screen and (max-width: 800px) {
  .access__item iframe {
    width: 200px;
    height: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
  }
}

.access p {
  text-align: center;
}

.access img {
  margin-top: 10px;
}

.access iframe {
  margin-top: 100px;
}

.tel {
  position: absolute;
  transform: translate(0%, -5%);
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  height: 400px; /* 必要に応じて調整 */
  background-image: url("../img/backgroundcolor__tel.png");
  background-repeat: no-repeat;
  background-position: top center; /* ← 波の上部を優先して表示 */
  background-size: 100% 100%; /* ← 横100%、縦は自動 */
  position: relative;
  padding-bottom: 100px;
}

.tel__fish {
  width: 100%;
  text-align: right;
}

.tel h2 {
  font-family: "Noto Sans", sans-serif;
  font-size: 36px;
  color: black;
  line-height: 1.2;
  margin-bottom: 30px;
}

.tel__item {
  display: flex;
  justify-content: center;
  gap: 100px;
}

/* スマホ */
@media screen and (max-width: 800px) {
  /* 電話・メールを縦並び */
  .tel__item {
    gap: 20px;
  }

  .tel__item a {
    max-width: 40vw;
    height: auto;
  }

  .tel__item img {
    width: clamp(180px, 70vw, 320px); /* 横幅だけ可変 */
    height: auto; /* 縦は比率維持 */
  }

  .tel {
    height: clamp(250px, 50vw, 400px);
    margin-bottom: 25px;
  }

  .tel h2 {
    font-size: 20px;
  }
}

.SNS {
  padding-top: 90px;
  padding-bottom: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  background-image: url("../img/backgroundcolor__SNS.png");
  background-repeat: no-repeat;
  background-position: top center; /* ← 波の上部を優先して表示 */
  background-size: 100% 80%; /* ← 横100%、縦は自動 */
  position: absolute;
  transform: translate(0%, -10%);
}

.SNS__item {
  display: flex;
  justify-content: center;
  gap: 100px;
  margin-top: 20px;
}

.SNS__txt {
  text-align: center;
  margin-top: 30px;
}

/* サメ */
.tel__fish img,
.access__fish {
  width: clamp(100px, 20vw, 160px);
  height: auto;
}

.SNS__fish,
.about__fish,
.access__fish {
  margin-right: auto;
  width: clamp(100px, 20vw, 160px);
  height: auto;
}

/*ここからcourse sup*/

.header__background {
  min-height: 119px; /* index.html に合わせる */
}

.course__header__txt {
  color: #d9d9d9;
}

/* ================================
   ヘッダー hover 演出
================================ */

/* 各メニュー文字 */
.header__txt p {
  position: relative;
  cursor: pointer;
  color: #d9d9d9;
  transition: color 0.3s ease;
}

/* 上に表示する横線（初期は非表示） */
.header__txt p::before {
  content: "";
  position: absolute;
  top: -6px; /* ← 文字の少し上 */
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #53ceff; /* 水色 */
  opacity: 0;
  transform: scaleX(0);
  transition: all 0.3s ease;
}

/* hover時 */
.header__txt p:hover {
  color: #000;
}

.header__txt p:hover::before {
  opacity: 1;
  transform: scaleX(1);
}

.blue {
  background-color: #f2fdff;
  border-radius: 80px;
  padding-top: 1px;
  padding-bottom: 100px;
}

.white {
  padding-bottom: 100px;
}

.topcourse__item {
  display: flex;
  justify-content: left;
  padding-top: 150px;
  padding-left: 50px;
  gap: 20px;
}

.topcourse__item a {
  color: #d9d9d9;
  text-decoration: none; /* 通常時は下線なし */
}

.topcourse__item a:hover {
  color: #53ceff;
  text-decoration: underline; /* ホバー時に下線 */
}

.gray {
  color: #d9d9d9;
}

.course__sup__2 {
  display: flex;
  justify-content: center;
  text-align: center;
  gap: 20px;
}

@media screen and (max-width: 800px) {
  .course__sup__2 {
    display: flex;
    flex-direction: column;
    padding: 50px;
    gap: 100px;
  }

  .course__sup__2 img {
    max-width: 40vw;
    height: auto;
  }

  .course__sup__2 p {
    font-size: 15px;
  }
}

.course__sup__background {
  background-image: url(../img/backgroundcolor__course.png);
  background-repeat: no-repeat; /* 繰り返さない */
  background-position: center top; /* 画像を中央上に配置 */
  background-size: contain; /* 要素内に収まるよう縮小 */
  width: 100%; /* 親幅に合わせる */
  max-width: 100%; /* はみ出し防止 */
  height: 100%;
  padding-bottom: 50px; /* 高さはお好みで調整 */
  box-sizing: border-box; /* パディングを含めて幅計算 */
  overflow: hidden; /* 万が一はみ出しても隠す */
}

.course__wind__background {
  background-image: url(../img/backgroundcolor__course2.png);
  background-repeat: no-repeat;
  background-position: center top;
  background-size: contain; /* 画像全体を表示 */
  width: 100%;
  padding-bottom: 50px;
  box-sizing: border-box;
  overflow: hidden;
}

.course__windsup__background {
  background-image: url(../img/backgroundcolor__course2.png);
  background-repeat: no-repeat;
  background-position: center top;
  background-size: contain; /* 画像全体を表示 */
  width: 100%;
  padding-bottom: 50px;
  box-sizing: border-box;
  overflow: hidden;
}

/* スマホなど小さい画面用 */
@media screen and (max-width: 768px) {
  .course__sup__background,
  .course__wind__background,
  .course__windsup__background {
    padding-bottom: 10%; /* 縦長に調整、元は30%や50%でもOK */
    background-size: cover; /* 縦横比を無視して要素全体を覆う */
  }
}

.course__sup__background img,
.course__wind__background img {
  width: 100%; /* 親要素に合わせて横幅を縮小 */
  height: auto; /* 縦横比を維持 */
  display: block; /* 下の余白を消す */
  max-width: 100%; /* はみ出し防止 */
}

.course__sup__txt2 {
  font-size: 20px;
  margin-top: 20px;
}

.course__sup__txt3 {
  font-size: 20px;
  margin-top: 20px;
}

.course__windsup__2 {
  display: flex;
  justify-content: center;
  text-align: center;
  gap: 20px;
}

.course__bold {
  font-weight: bold;
}

@media screen and (max-width: 800px) {
  .course__windsup__2 {
    padding: 100px;
  }

  .course__windsup__2 p {
    font-size: 15px;
  }
}

.course__last {
  padding-bottom: 100px;
}

.ttl {
  margin-top: 100px;
}

.course__ttl {
  margin-bottom: 100px;
}

.black__txt h2 {
  color: black;
}

.course__design {
  display: flex;
  justify-content: center;
}

.course__button {
  width: auto; /* 必要に応じて親の幅を調整 */
  max-width: 300px; /* 例えば画像に合わせる */
  margin: 0 auto;
  padding-top: 10px;
}

@media screen and (max-width: 800px) {
  .course__button {
    max-width: 40vw;
    height: auto;
  }
}

/*ここからがニュース*/

/* 1ニュース分のセット */
.news__row {
  padding: 20px 0;
  border-bottom: 1px solid #e0e0e0;
}

/* タイトル */

.news__txt2 {
  margin-bottom: 200px;
}

.news__title {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.6;
}

/* 日付 */
.news__date {
  font-size: 14px;
  color: #666;
  margin-top: 6px;
}

/* ===== スマホ対応 ===== */
@media screen and (max-width: 800px) {
  .news__item {
    padding: 0 20px;
  }

  .news__row {
    padding: 16px 0;
  }

  .news__title {
    font-size: 16px;
  }

  .news__date {
    font-size: 13px;
  }
}

/*ここからQ&A*/

.qa {
  font-size: 24px;
  line-height: 1.4;
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: bold;
  color: #666;
}

@media screen and (max-width: 800px) {
  .qa {
    font-size: 15px;
    line-height: 1.6;
  }
}

.qa__items {
  display: flex;
  flex-direction: column;
  gap: 50px;
  margin-bottom: 200px;
  align-items: center;
}

.qa__item {
  background-color: #f2fdff;
  border-radius: 30px;
  padding: 20px 50px 20px 20px;
  max-width: 950px; /* ← 最大幅だけ指定 */
  width: 90%; /* ← 画面に合わせて縮む */
  position: relative;
  cursor: pointer;
}

.qa__ttl {
  color: #53ceff;
  margin-bottom: 20px;
}

.qa__txt {
  display: none;
  margin-top: 15px;
  line-height: 1.6;
}

.qa__item.is-open .qa__txt {
  display: block;
}

/* 横線（−） */
.qa__item::before {
  content: "";
  position: absolute;
  top: 50%;
  right: 25px;
  width: 18px;
  height: 2px;
  background-color: #00aacc;
  transform: translateY(-50%);
}

/* 縦線（｜） */
.qa__item::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 34px;
  width: 2px;
  height: 18px;
  background-color: #00aacc;
  transform: translateY(-50%);
}

.qa__item.is-open::after {
  opacity: 0;
}
