@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;
}

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

.feature2-points-1 p,
.feature2-points-2 p,
.feature2-points-3 p {
  font-size: 16px;
  line-height: 1.8;
  color: #333;
  text-align: center; /* 本文だけ左寄せにするなら left に修正 */
}

.feature2-points-1 h2,
.feature2-points-2 h2,
.feature2-points-3 h2 {
    text-align: center;
    font-size: 24px;
    color:#004A78;
}

.feature-about {
    margin: 60px 0;
}

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

.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;   /* 読みやすく */
}

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

/* ===== モバイルカルーセル ===== */
.mobile-carousel,
.mobile-image {
    display: none;
}

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

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

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

    .feature2-points-1 P {
        width: 95%;
         margin: 2.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%;
    }
}

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

    .feature-points a {
        width: 60%;
        margin: 0 auto;
    }
    
    .feature2-points-1 h1 {
        font-size: 24px;
    }

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

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

    .feature2-points-1 p br {
        display: none;
    }
    
    .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;
    }

    .kufu-img {
        content: url("../img/Group 505.webp");
        width: 80% !important;
    }

    .schedule-img {
        content: url("../img/Group 460.webp");
    }
}