@charset 'utf-8';

/*----------------------------------------
    このCSSファイルにはindex.html（top）ページで使用されるCSSを記述する
----------------------------------------*/

.kv-area {
    margin-bottom: 30px;
}

.kv-area img {
    border-radius: 20px;
}


/* ▼ タブレット / 小型ノートPC向け （768px以上） */
@media (min-width: 768px) {
    .kv-area {
        margin-bottom: 45px;
    }
}

/* ▼ デスクトップPC向け (992px以上) */
@media (min-width: 992px) {
    .kv-area {
        margin-bottom: 70px;
    }
}

/*----------------------------------------
    news-section
----------------------------------------*/

.news-section {
    margin-bottom: 50px;
}

.news-inner {
    font-size: 1.5rem;
    padding-left: 12px;
    padding-right: 12px;
}

/* .news-item 直下の a のみ対象 */
.news-item > a {
    padding-top: 17px;
    padding-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    transition: color 0.3s ease;
}

/* リンク先が無い記事は hover 無効 */
.news-item .news-no-link {
    cursor: default;
    padding-top: 17px;
    padding-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.text-area {
    flex: 1; /* 左側が残りの幅を占める */
}

.news-date {
    font-weight: 700;
    margin-bottom: 5px;
    display: block;
}

/* news-item に点線 */
.news-item {
    position: relative;
    border-bottom: 2px dotted #bebebe;
}

/* 最後だけ点線を消して、実線にする */
.news-item:last-child {
    border-bottom: none;
}

/* news-item の最終行には実線 */
.news-item:last-child::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    border-radius: 1px;
    background-color: #bebebe;
}


/*========= 「>」アイコン（news-item用） =========*/

.news-item .arrow-icon {
    background: #5aa5bd;
}


/*========= お知らせ一覧（news-button）ボタン =========*/

.news-button-wrap {
    display: flex;
    justify-content: flex-end; /* 右寄せ */
    margin-top: 20px;
}

.news-button {
    position: relative;
    font-weight: 600;
    font-size: 1.35rem;
    color: #fefdfc;
    background-color: #5aa5bd;
    border-radius: 50px;
    padding-top: 6px;
    padding-bottom: 9px;
    padding-left: 20px;
    padding-right: 34px;
}

.news-text {
    margin-right: 10px;
}


/*========= 「>」アイコン（news-button用） =========*/

.news-button-wrap .arrow-icon {
    background: #fefdfc;
    position: absolute;
    top: 46%; /* 中央に見えるよう微調整（50%だと少し下に見えるため） */
    width: 18px;
    height: 18px;
    margin-left: 0px;
    transform: translateY(-50%);
}

/* 矢印1 */
.news-button-wrap .arrow-icon::before {
    width: 6.5px;
    background-color: #5aa5bd;
}

/* 矢印2 */
.news-button-wrap .arrow-icon::after {
    width: 6.5px;
    background-color: #5aa5bd;
}

/* ホバーアクション */
.news-content,
.request-content {
    transition: color 0.2s ease;
}

.news-item:hover .news-content,
.request-item:hover .request-content {
    color: #669e31;
}

/* リンク先が無い記事は色を変えない */
.news-item:hover .news-no-link .news-content {
    color: inherit; /* #505050 のままにするため */
}

.arrow-icon,
.news-button {
    transition: background-color 0.2s ease;
}

.news-item:hover .arrow-icon,
.request-item:hover .arrow-icon,
.news-button:hover,
.news-button:hover .arrow-icon::before,
.news-button:hover .arrow-icon::after {
    background-color: #669e31;
}


/*========= リンク用下線（news-content内で使うため） =========*/

.decoration-link {
    font-weight: 700;
    color: #499db9;
    border-bottom: 2px dotted #499db9;
    padding-bottom: 1.5px;
    transition: color 0.2s ease, border-bottom-color 0.2s ease;
}

.decoration-link:hover {
    color: #669e31;
    border-bottom: 2px dotted #669e31;
}


/*========= 強調させたい文字の装飾（news-content内で使うため）=========*/

.red {
    color: #e22f4d;
}


/* ▼ タブレット / 小型ノートPC向け （768px以上） */
@media (min-width: 768px) {
    .news-inner {
        font-size: 1.6rem;
        padding-left: 20px;
        padding-right: 20px;
    }

    .news-item > a,
    .news-item .news-no-link {
        padding-left: 15px;
        padding-right: 15px;
    }

    .news-button {
        font-size: 1.5rem;
        padding-left: 23px;
        padding-right: 37px;
    }

    .news-text {
        margin-right: 12px;
    }

    /* 「>」アイコン（news-button用） */
    .news-button-wrap .arrow-icon {
        width: 20px;
        height: 20px;
    }
}

/* ▼ デスクトップPC向け (992px以上) */
@media (min-width: 992px) {
    .news-section {
        margin-bottom: 90px;
    }

    .news-inner {
        padding-left: 25px;
        padding-right: 25px;
    }

    .news-item > a,
    .news-item .news-no-link {
        padding-top: 30px;
        padding-bottom: 32px;
        padding-left: 20px;
        padding-right: 20px;
    }

    /* 横並びにする */
    .text-area {
        display: flex;
    }

    .news-date {
        flex-shrink: 0; /* news-dateの領域が縮まないように */
        margin-bottom: 0px;
    }

    .news-content {
        padding-left: 35px;
        padding-right: 15px;
    }

    .news-button-wrap {
        margin-top: 25px;
    }

    .news-button {
        font-size: 1.6rem;
        padding-top: 7px;
        padding-bottom: 10px;
        padding-left: 26px;
        padding-right: 39px;
    }
}

/*----------------------------------------
    request-section
----------------------------------------*/

.request-section {
    margin-bottom: 60px;
}

.request-inner {
    font-size: 1.5rem;
    padding-left: 12px;
    padding-right: 12px;
}

.request-item a {
    padding-top: 22px;
    padding-bottom: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.request-item .text-area {
    display: flex;
    align-items: center;
}

/* request-item に点線 */
.request-item {
    position: relative;
    border-bottom: 2px dotted #bebebe;
}

/* 最後だけ点線を消して、実線にする */
.request-item:last-child {
    border-bottom: none;
}

/* request-item の最終行には実線 */
.request-item:last-child::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    border-radius: 1px;
    background-color: #bebebe;
}

/* ● 装飾 */
.round-deco {
    display: inline-block;
    flex-shrink: 0; /* ●が潰れないように */
    width: 8px;
    height: 8px;
    background-color: #868686;
    border-radius: 50%;
    margin-right: 8px; /* テキストとの余白調整 */
}


/*========= 「>」アイコン（request-item用） =========*/

.request-item .arrow-icon {
    background: #868686;
}


/* ▼ タブレット / 小型ノートPC向け （768px以上） */
@media (min-width: 768px) {
    .request-inner {
        font-size: 1.6rem;
        padding-left: 20px;
        padding-right: 20px;
    }

    .request-item a {
        padding-left: 15px;
        padding-right: 15px;
    }
}

/* ▼ デスクトップPC向け (992px以上) */
@media (min-width: 992px) {
    .request-section {
        margin-bottom: 120px;
    }

    .request-inner {
        padding-left: 25px;
        padding-right: 25px;
    }

    .request-item a {
        padding-top: 30px;
        padding-bottom: 32px;
        padding-left: 20px;
        padding-right: 20px;
    }

    /* ● 装飾 */
    .round-deco {
        margin-right: 10px; /* テキストとの余白調整 */
    }
}

/*----------------------------------------
    movie-section / link-section
----------------------------------------*/

/* h3の装飾 */
h3.section-title {
    position: relative;
    text-align: center;
    font-size: 1.4rem;
    font-weight: 600;
    color: #5aa5bd;
    letter-spacing: 0.1em;
}

h3.section-title::before {
    content: '';
    position: absolute;
    top: 50%;
    width: 100%;
    left: 0;
    right: 0;
    height: 2px; /* 線幅 */
    border-radius: 1px; /* 線幅の半分を設定する */
    background-color: #5aa5bd;
    transform: translateY(-50%);
    z-index: 0; /* 線を背面に */
}

h3.section-title span {
    position: relative;
    background-color: #fefdfc; /* 背景色に合わせる*/
    padding-left: 1em;
    padding-right: 1em;
    z-index: 1; /* 線の前面に */
}

.movie-section {
    margin-bottom: 60px;
    padding-left: 12px;
    padding-right: 12px;
}

.movie-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 25px;
}

.movie-inner iframe {
    aspect-ratio: 16 / 9; /* 16:9の比率 */
    width: 100%;
    max-width: 560px;
    flex-grow: 1; /* 余白があれば広がる */
    flex-shrink: 1; /* 画面が狭ければ縮む */
    flex-basis: 300px; /* 最初は幅300pxを目安に配置 */
    border: 0; /* iframeの枠線を削除 */
}

.link-section {
    padding-left: 12px;
    padding-right: 12px;
}

.link-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-top: 25px;
}

.link-inner a {
    max-width: 350px;
    flex-grow: 1; /* 余白があれば広がる */
    flex-shrink: 1; /* 画面が狭ければ縮む */
    flex-basis: 200px; /* 最初は幅200pxを目安に配置 */
    transition: opacity 0.2s;
}

.link-inner a:hover {
    opacity: 0.6;
}

.link-inner img {
    border: 1.5px solid #c4c4c4;
}


/* ▼ タブレット / 小型ノートPC向け （768px以上） */
@media (min-width: 768px) {
    h3.section-title {
        font-size: 1.5rem;
        letter-spacing: 0.2em;
    }

    .movie-inner {
        padding-left: 10px;
        padding-right: 10px;
    }

    .link-inner {
        padding-left: 10px;
        padding-right: 10px;
    }
}

/* ▼ デスクトップPC向け (992px以上) */
@media (min-width: 992px) {
    h3.section-title {
        font-size: 1.7rem;
    }

    .movie-section {
        margin-bottom: 90px;
    }

    .movie-inner {
        gap: 30px;
        margin-top: 40px;
        padding-left: 25px;
        padding-right: 25px;
    }

    .link-inner {
        gap: 30px;
        margin-top: 40px;
        padding-left: 25px;
        padding-right: 25px;
    }
}


/* 確認OK（2025.8.9_12:15） */
