@charset "utf-8";

/* ===== 基本レイアウト ===== */
.feature-points {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 40px auto;
    width: 70%;
    max-width: 1200px;
}

.feature-points a {
    width: 30%;
}

.feature-points img {
    width: 100%;
    height: auto;
    transition: opacity 0.3s;
}

.feature-points a:hover img {
    opacity: 0.8;
}

/* ===== 特徴ポイント ===== */
.feature-points-1,
.feature-points-2,
.feature-points-3 {
    text-align: center;
    font-size: 24px;
    color:#004A78;
}

.feature-points-1 p,
.feature-points-2 p,
.feature-points-3 p {
  font-size: 16px;
  line-height: 1.8;
  color: #333;
  text-align: center; /* 本文だけ左寄せ */
}

.feature-points-1 h2,
.feature-points-2 h2,
.feature-points-3 h2 {
    width: 70%;
    margin: 0 auto;
    padding-bottom: 10px;
    text-align: left;
    font-size: 24px;
    color:#004A78;
}

.feature-points-1 img,
.feature-points-2 img,
.feature-points-3 img {
    width: 70%;
    display: block;
    margin: 0 auto;
    object-fit: cover;
}

.question {
    width: 70%;
    margin: 0 auto;
    padding-bottom: 10px;
    text-align: center;
    font-size: 18px;
    color:#004A78;
}

.question p {
    color: #333 !important;
}

.question img {
    width: 100%;
}

.i {
  display: flex;
  justify-content: center; /* 全体を中央揃え */
  gap: 40px; /* アイテム間の余白 */
}

.i-items {
  display: flex;
  flex-direction: column; /* 子要素を縦並びにする */
  align-items: flex-start; /* 左寄せ */
  max-width: 300px;        /* 必要なら横幅制限 */
  text-align: left;        /* テキストを左揃え */
  font-size: 12px;
  padding: 3px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15); /* ドロップシャドウを追加 */
  border-radius: 6px; /* 任意：角を少し丸めると自然 */
  background: #fff;   /* 背景色を白にして影を見やすく */
  padding: 16px;      /* 内側に余白をつけるとバランス良い */
}

.i-items img {
  max-width: 100%;
  height: auto;
}

.i-items p {
  text-align: left;   /* 明示的に左寄せ */
  margin-top: 10px;   /* 画像との間に余白を追加（任意） */
  line-height: 1.6;   /* 読みやすく */
}

#academy-lessons {
    background-color: #F6F6F6;
    padding: 30px 0;
}

.kufu {
    text-align: left !important;
}

.calender {
    margin-bottom: 20px;
    padding: 0 20%;
}

.academy-p {
    font-size: 10px;
    margin: 0;
}

#academy-lessons .question h2 {
    margin: 0;
}

.prev-button ,
.next-button {
    display: none;
}

/* 特徴ポイント2の特別なスタイル */
.feature3-points-2 {
    background-color: #F6F6F6;
    padding: 40px 0;
}

.academy-lessons-responsive {
    display: none;
}

/* ===== レスポンシブデザイン ===== */

/* モバイル: 767px以下 */
/* モバイル: 767px以下 */
@media screen and (max-width: 768px) {
    .feature-points {
        width: 100% !important;
    }

    .feature-points-1 {
        font-size: 20px !important;
    }

    .feature-points-1 p {
        width: 90%;
         margin: 5% auto;
    }

    .feature-points-3 {
        font-size: 20px !important;
    }

    .feature-points-3 P {
        width: 90%;
         margin: 5% auto;
    }

    .feature-top img {
        content: url("../img/Group 1981.webp");
    }

    .feature-points-1 img[src="img/Group 138.webp"] {
        content: url("../img/Group 254.webp");
        width: 90%;
    }

    .feature-points-2 img {
        width: 80%;
    }

    .feature-points-3 img[src="img/Group 140.webp"] {
        display: none;
    }

    .i {
        width: 90%;
        margin: 0 auto;
        gap: 10px;
    }

    .i-items {
        width: 33%;
    }

    .i-items p {
        font-size: 12px;
    }

    .question {
        width: 90%;
    }

    .calender {
        padding: 0;
    }

    #academy-lessons .question h2 {
        font-size: 20px;
    }
}

@media screen and (max-width: 470px) {
    .feature-points {
        flex-direction: column;
        gap: 0px;
        margin: 20px auto;
    }

    .feature-points a {
        width: 60%;
        margin: 0 auto;
    }

    .feature-points-1 p {
        font-size: 12px
    }

    .feature-points-1 p br {
        display: none;
    }

    .feature-points-1 h1 {
        font-size: 24px;
    }

    .question h2 {
        font-size: 20px;
    }
    
    .feature2-points-1 h1 {
        font-size: 24px;
    }

    .feature2-points-1 h2 {
        font-size: 20px;
    }

    .feature-points-2 img {
        content: url("../img/Group 504.webp");
        width: 90%;
    }

    .feature-points-3 h1 {
        font-size: 24px;
    }

    .i {
        flex-direction: column;
    }

    .i-items {
        max-width: none;
        width: 100%;
        align-items: center;
    }

    .i-items p {
        margin: 2.5%;
    }

    .calender {
        content: url("../img/Group 506.webp");
    }

    .academy-lessons-responsive {
        display: block;
    }

    .academy-lessons-responsive img {
        width: 90%;
        margin: 0 5%;
    }

    .academy-example {
        display: none;
    }

    .academy-example .question h2 {
        font-size: 12px;
    }

    .feature3-points-3 h2 {
        font-size: 18px;
    }

    .academy-example-mini {
        font-size: 14px;
    }

.question img[src="img/Group 491.webp"] {
        content: url("../img/Group 529.webp");
    }

    .question img[src="img/Group 492.webp"] {
        content: url("../img/Group 530.webp");
    }

    .question img[src="img/Group 493.webp"] {
        content: url("../img/Group 531.webp");
    }

    .question p {
        font-size: 12px;
    }

}