@charset "utf-8";

header {
    background-color: #E1F6FF;
}
/* -------------------パンくずリスト------------------- */
/* パンくず全体 */
.breadcrumb {
  font-size: 14px;
  margin: 20px 0;
  color: #555;
  padding-left: 40px;
}

/* ol（リスト）を横並びにする */
.breadcrumb ol {
  display: flex;
  flex-wrap: wrap; /* 折り返しもOK */
  list-style: none;
  margin: 0;
  padding: 0;
}

/* 各 li */
.breadcrumb li {
  display: flex;
  align-items: center;
  color: #555;
}

/* 区切り記号（›） */
.breadcrumb li:not(:last-child)::after {
  content: "›"; /* ▶ や / に変更可 */
  margin: 0 8px;
  color: #aaa;
  font-weight: bold;
}

/* リンク部分のスタイル */
.breadcrumb a {
  color: #007acc;
  text-decoration: none;
  transition: color 0.3s;
}

.breadcrumb a:hover {
  text-decoration: underline;
  color: #005b99;
}

/* 最後の要素（現在ページ） */
.breadcrumb li:last-child {
  color: #333;
  font-weight: bold;
  pointer-events: none; /* 現在地はクリック不可に */
}


/*------------------- メニュー -------------------*/
/* 最初は通常の位置に */

.nav-under {
    width: 100%;
    background: #fff;
    /* box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); */
    padding: 10px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    position: static;
    transition: all 0.3s ease-in-out;
    margin-top: 100px;
    z-index: 10;
}

/* 固定されるときのスタイル */
.nav-under.fixed {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    /* box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15); */
    background: #ffffff;
    transition: all 0.3s ease-in-out;
    z-index: 15;
}


/* メニューリスト */
.nav-underlist {
    display: flex;
    justify-content: space-around;
    width: 100%;
    max-width: 1200px;
    list-style: none;
    padding: 0;
    margin-top: 30px;
}

/* メニュー項目 */
.nav-underitem {
	position: relative;
    font-size: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #666;
    font-weight: bold;

}

/* メニューリンク */
.nav-underitem a {
    text-decoration: none;
    color: #666;
    font-size: 16px;
    font-weight: bold;
    padding: 15px 20px;
    display: block;
    position: relative;
    transition: color 0.3s ease;
}

/* ホバー時のエフェクト（下線アニメーション） */
.nav-underitem a::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 5px;
    width: 0;
    height: 2px;
    background: #4A90E2;
    transition: all 0.3s ease-out;
    transform: translateX(-50%);
}

.nav-underitem a:hover::after {
    width: 100%;
}

.nav-underitem a:hover {
    color: #4A90E2;
}

/* プルダウンメニュー */
.has-dropdown .dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    background: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    list-style: none;
    padding: 10px 0;
    margin: 0;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, 10px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

/* プルダウンメニュー項目 */
.dropdown li {
    padding: 12px 20px;
}

.dropdown li a {
    text-decoration: none;
    color: #666;
    display: block;
    font-size: 14px;
    transition: background 0.3s ease, padding-left 0.3s ease;
}

.dropdown li a:hover {
    background: #f4f4f4;
    padding-left: 25px;
}

/* ホバー時にプルダウンを表示 */
.has-dropdown:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
    z-index: 5;
}

/* ハンバーガーメニュー（スマホ対応） */
.menu-toggle {
    display: none;
    font-size: 24px;
    background: none;
    border: none;
    cursor: pointer;
}

.nav-underitem a.active {
    color: #333333;
    /* テキスト色 */
    background-color: rgba(74, 144, 226, 0.1);
    /* 薄いブルーの背景色 */
    border-radius: 50%;
    /* 円形にする */
    padding: 10px;
    /* 上下左右に均等なパディング */
    display: inline-flex;
    /* flexを使用して中央揃えを容易に */
    justify-content: center;
    /* 横軸中央揃え */
    align-items: center;
    /* 縦軸中央揃え */
    min-width: 30px;
    /* 最小幅を指定 */
    height: 30px;
    /* 高さを指定 */
    transition: background-color 0.3s ease;
    /* 背景色の変化にトランジションを適用 */
    text-align: center;
    /* テキストを中央揃えに */
    white-space: nowrap;
    /* テキストを折り返さない */
}

.nav-underitem a.active:hover {
    background-color: rgba(74, 144, 226, 0.2);
    /* ホバー時に背景色を少し濃くする */
}
.h_webcom_web {
    margin: auto;
}
/* ----------------------------------------------------
タブレット用（768px〜1024px）
---------------------------------------------------- */
@media screen and (min-width: 768px) and (max-width: 1024px) {
    .nav-underitem a {
        font-size: 10px;
    }
}

/* ----------------------------------------------------
スマホ用（〜767px）
---------------------------------------------------- */
@media screen and (max-width: 768px) {
    .nav-under {
        padding: 0;
        background: #E1F6FF;
        margin-top: 0px;
    }

    .nav-underlist {
        display: none;
        flex-direction: column;
        position: fixed;
        top: 0;
        /* ← 上部に固定 */
        left: 0;
        width: 100%;
        height: 100vh;
        /* ← 全画面に広がる */
        overflow-y: auto;
        /* ← スクロール可 */
        background: rgba(255, 255, 255, 0.95);
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        z-index: 9998;
        justify-content: center;
		margin-top:0px;
    }

    .nav-underlist.active {
        display: flex;
		
    }

    .nav-underitem {
        text-align: center;
		display:block;
    }

    .nav-underitem a {
        display: block;
        padding: 15px;
        width: 100%;
    }

    /* ▼ スマホ用プルダウンメニュー：最初は非表示 */
    .has-dropdown .dropdown {
        display: none;
        background: #fff;
        padding: 0;
        margin: 0;
    }

    /* ▼ JSで.open付与時に表示 */
    .has-dropdown.open .dropdown {
        display: block;
        opacity: 1;
        visibility: visible;
        transform: none;
        position: static;
        /* ← 画面の幅に対して自然に展開 */
        box-shadow: none;
        border-radius: 0;
        padding: 0;
        margin: 0;
        background: #e5f2f5;
    }

    /* ハンバーガーボタン左上固定 */
    .menu-toggle {
        display: block;
        position: fixed;
        top: 10px;
        right: 15px;
        z-index: 9999;
        background-color: #fff;
        padding: 8px 12px;
        border-radius: 4px;
    }

    .has-dropdown:hover .dropdown {
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
    }

    .dropdown li {
        padding: 0px 20px;
    }

    /* .dropdown li a {
  color: #2D5A8E;
} */
}

/*------------------- メイン画像 -------------------*/
.lowerlayer-fv {
    background-color: #E1F6FF;
    padding: 39px 2.9% 83px;
    position: relative;
}

.lowerlayer-fvsp {
    display: none;
}

.lowerlayer-fvpc {
    margin: 0 auto;
    position: relative;
}

.titleunit {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, 45%);
}

.lowerlayer-title {
    color: #4A90E2;
    text-align: center;
    font-size: 48px;
    font-style: normal;
    line-height: normal;
	font-family: 'Kiwi Maru', serif;
}


.title-icon {
    margin: 0 auto;
    width: 48px;
}

.titlesp {
    display: none;
}

.title-back {
    position: absolute;
    bottom: 2%;
    left: 50%;
    transform: translateX(-50%)translateY(-10%);
    width: 300px;
    height: 150px;
    background-color: #E1F6FF;
    border-top-left-radius: 150px;
    border-top-right-radius: 150px;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
}

.lowerlayer-titleunit {
    position: absolute;
    bottom: 15%;
    left: 50%;
    transform: translateX(-50%) translateY(55%);
    text-align: center;
    z-index: 3;
}

.title-iconpc,
.title-iconsp {
    width: 30px;
    display: block;
    margin: 0 auto 8px;
}

.title-iconsp {
    display: none;
}

/* ----------------------------------------------------
メイン画像　スマホ用（〜767px）
---------------------------------------------------- */
@media screen and (max-width: 768px) {
    .lowerlayer-fv {
        background-color: #E1F6FF;
        padding: 39px 2.9% 50px;
        position: relative;
        border-radius: 0px 0px 40px 40px;
    }

    .lowerlayer-fvsp {
        display: block;
        margin: 25px auto 0;
        position: relative;
        width: 100%;
    }

    .lowerlayer-fvpc {
        display: none;
    }

    .lowerlayer-titleunit {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, 45%);
    }

    .lowerlayer-title {
        color: #4A90E2;
        text-align: center;
        font-size: 24px;
        font-style: normal;
        line-height: normal;
    }

    .title-back {
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%)translateY(-30%);
        width: 220px;
        height: 100px;
        background-color: #E1F6FF;
        border-top-left-radius: 150px;
        border-top-right-radius: 150px;
        z-index: 2;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .lowerlayer-titleunit {
        position: absolute;
        bottom: 15%;
        left: 50%;
        transform: translateX(-50%) translateY(80%);
        text-align: center;
        z-index: 3;
    }

    .title-icon {
        width: 19px;
        display: block;
        margin: 0 auto;
    }

 

}

/* ----------------------------------------------------
メイン画像　426-768用
---------------------------------------------------- */
@media screen and (min-width: 426px) and (max-width: 768px) {
    .lowerlayer-titleunit {
        transform: translateX(-50%) translateY(100%);
    }
}
/* ----------------お知らせ一覧------------------ */
#lower-layer-news {
    padding: 60px 9.6%;
}

h2 {
    color: #4A90E2;
    font-family: "Kiwi Maru";
    font-size: 36px;
    font-style: normal;
    font-weight: bold;
    line-height: normal;
    text-decoration-line: underline;
    text-decoration-style: solid;
    text-decoration-skip-ink: none;
    text-decoration-color: #E1F6FF;
    text-decoration-thickness: 10%;
    text-underline-offset: 25%;
    text-underline-position: from-font;
}

.lower-layer-news-summary {
    padding: 40px;
    align-items: center;
    align-self: stretch;
    margin-top: 40px;
}

.lower-layer-news-unit {
    display: flex;
    align-items: center;
    justify-content: start;
    gap: 100px;
    margin: 40px 0 44px 0;
}

.lower-layer-news-date {
    color: var(--primary-black);
    text-align: center;
    font-family: "Noto Sans JP";
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.lower-layer-news-text {
    color: var(--primary-black);
    font-family: "Kiwi Maru";
    font-size: 16px;
    font-style: normal;
    font-weight: bold;
    line-height: normal;
}

/* ----------------------------------------------------
お知らせスマホ用（〜767px）
---------------------------------------------------- */
@media screen and (max-width: 768px) {
    #lower-layer-news {
        padding: 30px 7.2%;
    }

    h2 {
        font-size: 2.0rem;
    }

    .lower-layer-news-summary {
        padding: 20px;
        margin-top: 24px;
    }

    .lower-layer-news-unit {
        display: block;
        margin: 0 0 23px 0;
    }

    .lower-layer-news-date {
        text-align: start;
    }

    .lower-layer-news-text {
        text-align: start;
        margin-top: 11px;
    }

}

/* ----------------ページネーション------------------ */
.Pagination {
  display: flex;
  flex-wrap: wrap;                    /* 幅が足りなければ折り返し */
  justify-content: center;
  align-items: center;
  gap: clamp(6px, 1.2vw, 12px);       /* 余白も画面幅で可変 */
  list-style: none;
  padding: 0;
  margin: 32px 0 0;
  cursor: pointer;
}

.Pagination-Item-Link {
  display: flex;
  justify-content: center;
  align-items: center;
  width:  clamp(32px, 6.5vw, 45px);   /* ボタン幅を可変 */
  height: clamp(32px, 6.5vw, 45px);   /* ボタン高さを可変 */
  background: #E1F6FF;
  border: solid 2px var(--primary-green);
  border-radius: 4px;
  font-size: clamp(12px, 2.8vw, 14px);/* 文字サイズも可変 */
  color: black;
  font-weight: 700;
  transition: background .15s linear, color .15s linear;
}

.Pagination-Item-Link-Icon {
  width: 1.2em;                       /* テキストサイズに追従して縮小 */
  height: 1.2em;
}

.Pagination-Item-Link.isActive {
  background: var(--primary-green);
  color: gray;
  pointer-events: none;
}

.Pagination-Item-Link:not(.isActive):hover {
  background: var(--primary-green);
  color: gray;
}
