/*=======================================
  基本設定
=========================================*/
html,
body {
    /* 画面幅を超える要素による横スクロールを防止 */
    overflow-x: hidden;
}

#subsite_menu_wrap {
    scroll-margin-top: 80px;
}

.icon_new {
    width: 34px;
    vertical-align: text-top;
    margin-left: 6px;
}

.linkBtn {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.linkBtn a {
    display: block;
    position: relative;
    padding: 10px 50px 9px;
    margin-bottom: 10px;
    color: #fff;
    text-decoration: none;
    /* font-weight: bold; */
    font-family: "MFW-UDShinGoNTPr6N-DeBold";
    text-align: center;
    background-color: #0C446E;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.linkBtn a:hover {
    background-color: #1A5B8E;
}

.linkBtn a::after {
    content: '';
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 14px;
    background-image: url('/img/top/btn-arrow.png');
    background-size: contain;
    background-repeat: no-repeat;
}

.linkBox {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    column-gap: 15px;
}

.second_important .linkBox {
    justify-content: center;
    margin-bottom: 10px;
}

.linkBox .linkBtn a {
    margin-bottom: 0px;
    background-color: #95D4F9;
    color: #333;
}

.linkBox .linkBtn a::after {
    background-image: url('/img/top/btn-arrow-kuro.png');
}

.linkBox .link_rss a {
    display: flex;
    width: 42px;
    height: 42px;
    padding: 10px;
    background-color: #95D4F9;
    box-sizing: border-box;
    border-radius: 6px;
}

.linkBox .link_rss img {
    width: 100%;
    height: auto;
}

.linkBox .link_rss a:hover,
.linkBox .linkBtn a:hover {
    background-color: #BFE4FC;
}

.linkBox.kinkyu .linkBtn a {
    background-color: #E53742;
    color: #FFF;
    padding: 10px 40px 9px 15px;
}

.linkBox.kinkyu .link_rss a {
    background-color: #E53742;
}

.linkBox.kinkyu .linkBtn a::after {
    background-image: url('/img/top/btn-arrow.png');
    right: 9px;
}

.linkBox.kinkyu .link_rss a:hover,
.linkBox.kinkyu .linkBtn a:hover {
    background-color: #CC303A;
}

/* コンテンツ幅を制御するインナーラッパー */
.container {
    width: 90%;
    /* スマホなど幅が狭い場合のマージン確保 */
    max-width: 1080px;
    margin: 0 auto;
    /* 左右中央揃え */
}

/* メインコンテンツ */
.site-main {
    height: auto;
    overflow-x: hidden;
    /* コンテンツ量に応じて高さを自動調整（はみ出し解消） */
}

/*=======================================
  セクション全体の設定
=========================================*/
.haikeiYellow {
    background-color: #f8f8ea;
    background-image: url('/img/top/bg-nashi.svg');
    background-repeat: no-repeat;
    background-position: left 20px center;
    background-size: 240px;
    transition: background-position 0.4s ease, background-size 0.4s ease;
}

.infoSection {
    max-width: 1080px;
    margin: 0 auto;
    padding: 60px 20px;
    box-sizing: border-box;
    display: flex;
    align-items: stretch;
    gap: 60px;
}

.sectionHeader {
    flex: 0 1 auto;
    background-image: url('/img/top/bg-nashi.png');
    background-repeat: no-repeat;
    background-position: top 105px right;
    background-size: 110px;
}

.haikeiGreen .sectionHeader {
    background-image: url('/img/top/bg-kite.png');
}

.sectionHeader h2 {
    font-size: 3.2rem;
    /* font-weight: 500; */
    position: relative;
    padding-left: 20px;
    white-space: nowrap;
}

.sectionHeader h2::before {
    content: '';
    position: absolute;
    height: 1px;
    background-color: #333;
    top: 50%;
    right: 100%;
    width: 100vw;
}

.sectionBody {
    flex: 1 1 auto;
    min-width: 0;
}

/*=======================================
  2カラムレイアウト設定
=========================================*/
.infoCards2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.infoCard {
    display: flex;
    flex-direction: column;
}

.infoCard h3 {
    font-size: 2.8rem;
    /* font-weight: 500; */
    text-align: center;
    padding-bottom: 21px;
    background-image: url('/img/top/shasen.png');
    background-repeat: repeat-x;
    background-position: bottom center;
    background-size: auto 10px;
    margin: 0 20% 40px;
}

.infoCard.bnr img {
    width: 100%;
}

/*=======================================
  緊急情報
=========================================*/

.importantSection {
    width: 90%;
    max-width: 1080px;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 40px auto;
    background-color: #E53742;
    border-radius: 6px;
}

#top_important_list {
    background-color: #FFF;
    padding: 14px;
    border-radius: 5px;
    width: calc(100% - 20px);
    box-sizing: border-box;
    margin-bottom: 10px;
}

#top_important_ttl h2 {
    color: #FFF;
    margin: 14px 0px;
    font-size: 2.8rem;
}

#top_important_list ul {
    list-style-type: none;
    padding-left: 0;
}

#top_important_list li {
    display: flex;
    align-items: baseline;
    padding: 12px 0;
    border-bottom: 1px dashed #707070;
}

#top_important_list li:first-child {
    padding-top: 0px;
}

#top_important_list .article_date {
    flex-shrink: 0;
    width: 10em;
    margin-right: 1em;
}

#top_important_list .article_title a {
    text-decoration: none;
}

#top_important_list .article_title a:hover {
    text-decoration: underline;
}


/*=======================================
  「広報おおくま」カード内のスタイル
=========================================*/
.kouhou {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background-color: #FFF;
    padding: 15px;
    border-radius: 6px;
}

.kouhou p {
    margin-top: 0px;
}

.kouhou img {
    width: 150px;
    height: auto;
    flex-shrink: 0;
    border: 1px solid #ccc;
    border-radius: 6px;
}

.kouhou a {
    display: block;
    /* font-weight: bold; */
    font-family: "MFW-UDShinGoNTPr6N-DeBold";
    margin-top: 12px;
    color: #007bff;
    text-decoration: none;
}

.kouhou a:hover {
    text-decoration: underline;
}

.linkBtn.kouhouLinks {
    flex-direction: column;
    row-gap: 10px;
}

.linkBtn.kouhouLinks a {
    color: #333333;
    background-color: #F7F066;
    padding: 10px 35px 9px 10px;
    margin: 0px;
}

.linkBtn.kouhouLinks a::after {
    background-image: url('/img/top/btn-arrow-kuro.png');
}

.linkBtn.kouhouLinks a:hover {
    background-color: #E8DD5A;
    text-decoration: none;
}

/*=======================================
  「大熊町公式SNS」カード内のスタイル
=========================================*/
.snsLinks {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 15px;
    flex-grow: 1;
}

.snsLinks a {
    display: flex;
    align-content: center;
    padding: 8px;
    background-color: #FFF;
    border-radius: 6px;
    text-align: left;
    color: #333;
    text-decoration: none;
    gap: 10px;
    overflow: hidden;
    flex-wrap: wrap;
    justify-content: center;
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
    /* box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05); */
    border: 3px solid transparent;
}

.snsLinks a span {
    font-size: 2rem;
}

.snsLinks a:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    border-color: #ffe523;
}

.snsLinks a::before {
    content: '';
    display: block;
    width: 28px;
    height: 28px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    flex-shrink: 0;
}

.snsLinks a.insta::before {
    background-image: url('/img/top/sns-insta.png');
}

.snsLinks a.fb::before {
    background-image: url('/img/top/sns-fb.png');
}

.snsLinks a.yt::before {
    background-image: url('/img/top/sns-yt.png');
}

.snsLinks a.line::before {
    background-image: url('/img/top/sns-line.png');
}

/*=======================================
  4カラムレイアウト設定
=========================================*/
.infoCards4col {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 40px;
    padding: 15px;
    background-color: #FFF;
    border-radius: 6px;
}

.infoCards4col a {
    display: block;
    position: relative;
    padding-top: 150px;
    padding-bottom: 10px;
    padding-left: 10px;
    padding-right: 10px;
    text-decoration: none;
    font-family: "MFW-UDShinGoNTPr6N-DeBold";
    text-align: center;
    color: #0C446E;
    background-color: #FFF;
    border-radius: 6px;
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
	border: 3px solid transparent;
}

.infoCards4col a:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    border-color: #ffe523;
}

.infoCards4col a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 140px;
    background-size: cover;
    background-position: center;
}

.infoCards4col a.machi::before {
    background-image: url('/img/top/info4-machi.jpg');
}

.infoCards4col a.mayor::before {
    background-image: url('/img/top/info4-mayor.jpg');
}

.infoCards4col a.gikai::before {
    background-image: url('/img/top/info4-gikai.jpg');
}

.infoCards4col a.yumenomori::before {
    background-image: url('/img/top/info4-yumenomori.jpg');
}

/*=======================================
  6カラムレイアウト設定
=========================================*/
.infoCards6col {
    display: grid;
    grid-template-columns: repeat(6, minmax(max-content, 1fr));
    gap: 20px;
    margin-top: 40px;
}


.infoCards6col a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100px;
    text-decoration: none;
    font-family: "MFW-UDShinGoNTPr6N-DeBold";
    text-align: center;
    color: #333;
    background-color: #FFF;
    border-radius: 8px;
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
	border: 3px solid transparent;
    padding: 0 5px;
}

.infoCards6col a:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    border-color: #ffe523;
}

.infoCards6col a::before {
    content: '';
    display: block;
    width: 48px;
    height: 48px;
    margin-bottom: 12px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.infoCards6col a.reiki::before {
    background-image: url('/img/top/info6-reiki.svg');
}

.infoCards6col a.hazardmap::before {
    background-image: url('/img/top/info6-hazardmap.svg');
}

.infoCards6col a.nyusatsu::before {
    background-image: url('/img/top/info6-nyusatsu.svg');
}

.infoCards6col a.shisetsu::before {
    background-image: url('/img/top/info6-shisetsu.svg');
}

.infoCards6col a.fukko::before {
    background-image: url('/img/top/info6-fukko.svg');
}

.infoCards6col a.photo::before {
    background-image: url('/img/top/info6-photo.svg');
}

/*=======================================
  lifeEventLinkItems（2行4列）
=========================================*/
.haikeiGreen {
    background-color: #e4f1ee;
    background-image: url('/img/top/bg-kite.svg');
    background-repeat: no-repeat;
    background-position: left 20px center;
    background-size: 240px;
    transition: background-position 0.4s ease, background-size 0.4s ease;
}

#kurashi {
    display: flex;
    flex-direction: column;
    row-gap: 40px;
}

#kurashi .infoCard h3 {
    background-image: url('/img/top/shasen-green.png');
}

.lifeEventLinks {
    overflow: hidden;
}

.lifeEventLinks h3 {
    font-size: 2.8rem;
    /* font-weight: 500; */
    text-align: center;
    padding-bottom: 21px;
    background-image: url('/img/top/shasen-green.png');
    background-repeat: repeat-x;
    background-position: bottom center;
    background-size: auto 10px;
    margin: 0px 20% 40px;
}

.lifeEventLinkItems {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.lifeEventLinkItems a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100px;
    text-decoration: none;
    text-align: center;
    color: #333;
    background-color: #FFF;
    border-radius: 8px;
    padding: 10px;
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border: 3px solid transparent;
}

.lifeEventLinkItems a:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    border-color: #48d1b0;
}

.lifeEventLinkItems a::before {
    content: '';
    display: block;
    width: 70px;
    height: 60px;
    margin-bottom: 12px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.lifeEventLinkItems a.ninshin::before {
    background-image: url('/img/top/k-ninshin.svg');
}

.lifeEventLinkItems a.kosodate::before {
    background-image: url('/img/top/k-kosodate.svg');
}

.lifeEventLinkItems a.nyugaku::before {
    background-image: url('/img/top/k-nyugaku.svg');
}

.lifeEventLinkItems a.syushoku::before {
    background-image: url('/img/top/k-syushoku.svg');
}

.lifeEventLinkItems a.kekkon::before {
    background-image: url('/img/top/k-kekkon.svg');
}

.lifeEventLinkItems a.okuyami::before {
    background-image: url('/img/top/k-okuyami.svg');
}

.lifeEventLinkItems a.kourei::before {
    background-image: url('/img/top/k-kourei.svg');
}

.lifeEventLinkItems a.sumai::before {
    background-image: url('/img/top/k-sumai.svg');
}

/*=======================================
  oyakudachiLinks（2行2列）
=========================================*/
.oyakudachiLinks {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    width: 80%;
    margin: 0 auto;
    padding: 0;
    box-sizing: border-box;
}

.oyakudachiLinks a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100px;
    text-decoration: none;
    text-align: center;
    color: #333;
    background-image: url('/img/top/bg-kuma.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    border-radius: 8px;
    padding: 10px;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.05));
    transition: transform 0.2s, filter 0.2s;
}

.oyakudachiLinks a:hover {
    transform: translateY(-3px);
    /* クマのシルエット（透過PNGの形状）に沿って2pxの枠線を表示 */
    filter: drop-shadow(2px 0 0 #48d1b0) drop-shadow(-2px 0 0 #48d1b0) drop-shadow(0 2px 0 #48d1b0) drop-shadow(0 -2px 0 #48d1b0) drop-shadow(0 4px 10px rgba(0, 0, 0, 0.1));
}

.oyakudachiLinks a::before {
    content: '';
    display: block;
    width: 55px;
    height: 55px;
    margin-bottom: 2px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.oyakudachiLinks a.gomi::before {
    background-image: url('/img/top/k-gomi.svg');
}

.oyakudachiLinks a.hoshasen::before {
    background-image: url('/img/top/k-hoshasen.svg');
}

.oyakudachiLinks a.bus::before {
    background-image: url('/img/top/k-bus.svg');
}

.oyakudachiLinks a.kotsukisei::before {
    background-image: url('/img/top/k-kotsukisei.svg');
}

/*=======================================
  kesakuLinks（3行2列）
=========================================*/
.kesakuLinks {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-top: 20px;
}

.kesakuLinks a {
    display: flex;
    align-items: center;
    padding: 12px;
    background-color: #FFF;
    border-radius: 6px;
    color: #333;
    text-decoration: none;
    gap: 10px;
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border: 3px solid transparent;
}

.kesakuLinks a:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    border-color: #48d1b0;
}

.kesakuLinks a::before {
    content: '';
    display: block;
    width: 46px;
    height: 46px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    flex-shrink: 0;
}

.kesakuLinks a.bunrui::before {
    background-image: url('/img/top/k-bunrui.svg');
}

.kesakuLinks a.soshiki::before {
    background-image: url('/img/top/k-soshiki.svg');
}

.kesakuLinks a.map::before {
    background-image: url('/img/top/k-map.svg');
}

.kesakuLinks a.shinsei::before {
    background-image: url('/img/top/k-shinsei.svg');
}

.kesakuLinks a.life::before {
    background-image: url('/img/top/k-life.svg');
}

/*=======================================
  キーワードでさがす
=========================================*/
.search_ttl {
    display: block;
    font-size: 2.8rem;
    font-weight: bold;
    text-align: center;
    padding-bottom: 21px;
    background-image: url('/img/top/shasen-green.png');
    background-repeat: repeat-x;
    background-position: bottom center;
    background-size: auto 10px;
    margin: 0 10% 40px;
}

.search_ipt {
    display: flex;
    border: 8px solid #FFF;
    border-radius: 6px;
    overflow: hidden;
    max-width: 600px;
    margin: 0 auto;
    background-color: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.search_ipt #tmp_query {
    flex-grow: 1;
    border: none;
    outline: none;
    padding: 8px;
    font-size: 1.6rem;
    width: 100%;
}

.search_ipt #submit {
    border: none;
    background-color: #3BCEAC;
    color: #333;
    cursor: pointer;
    transition: background-color 0.3s ease;
    background-image: url('/img/top/search.png');
    background-repeat: no-repeat;
    background-size: 20px 20px;
    background-position: right 12px center;
    padding: 0 40px 0 20px;
    border-radius: 6px;
}

.search_ipt #submit:hover {
    background-color: #48d6b8;
}

/*=======================================
  #newsInfoセクションの2カラムレイアウト調整
=========================================*/
.haikeiBlue {
    background-color: #EAF8F9;
    background-image: url('/img/top/bg-salmon.svg');
    background-repeat: no-repeat;
    background-position: left center;
    background-size: 240px;
    transition: background-position 0.4s ease, background-size 0.4s ease;
}

.haikeiBlue .sectionHeader {
    background-image: url('/img/top/bg-salmon.png');
}

.infoPickup h3 {
    display: block;
    font-size: 2.8rem;
    /* font-weight: 500; */
    text-align: center;
    padding-bottom: 21px;
    background-image: url('/img/top/shasen-blue.png');
    background-repeat: repeat-x;
    background-position: bottom center;
    background-size: auto 10px;
    margin: 0 10% 40px;
}

.infoPickupCard {
    background-color: #FFF;
    padding: 22px;
    border-radius: 6px;
    margin-bottom: 40px;
}

.infoPickupCard .swiper-unit {
    width: 100%;
}

.infoPickupCard .swiper-wrapper .swiper-slide {
    display: flex;
    flex-direction: column;
    background-color: transparent;
    align-items: flex-start;
    justify-content: flex-start;
    font-size: 1.6rem;
    row-gap: 8px;
    position: relative;
}

.infoPickupCard .swiper-wrapper .swiper-slide .article_date {
    font-weight: normal;
}

.infoPickupCard .swiper-wrapper .article_title a {
    position: static;
    justify-content: flex-start;
    /* font-weight: 600; */
    text-decoration: underline;
}

.infoPickupCard .swiper-wrapper .article_title a::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.infoPickupCard .swiper-wrapper .swiper-slide .letteringImg img {
    border-radius: 6px;
}


#newsInfo .infoCards2col {
    display: flex;
    gap: 40px;
}

#newsInfo .infoCard.left {
    flex: 1;
    min-width: 0;
}

#newsInfo .infoCard.right {
    width: 400px;
    flex-shrink: 0;
}

div#newsInfo.sectionBody div.infoCards2col div.infoCard.right h3.hide,
div#events.tab-panel.active h3.hide,
div#important.tab-panel.active h3.hide,
div#news.tab-panel.active h3.hide {
    margin: 0;
    padding: 0;
}


.topTabList ul {
    list-style: none;
    /* デフォルトの黒丸を削除 */
    padding-left: 0;
    /* 左側の余白を削除 */
    margin: 0;
}

.topTabList li {
    padding: 1em 0;
    /* 上下の余白を追加 */
    border-bottom: 1px dotted #ccc;
    /* liの下に点線を追加 */
}

.topTabList li:first-child {
    padding-top: 0;
}

.topTabList li:last-child {
    border-bottom: none;
    /* 最後のliの線は削除 */
    padding-bottom: 2em;
}

.topTabList .article_date,
.topTabList .article_title {
    display: block;
    /* ブロック要素にして改行させる */
}

div#newsInfo.sectionBody div.infoCards2col div.infoCard.right div#top_calendar_detail {
    padding: 1.5rem;
    background-color: #ffffff;
    border-radius: 0.75rem;
    margin: 0;
    flex: unset;
}


/*=======================================
  .bnrSectionセクションのレイアウト調整
=========================================*/
section.bnrSection {
    background-color: #FFEDE6;
    overflow: hidden;
    padding: 80px 0px;
}

section.bnrSection .swiper-unit {
    background-color: #FFF;
    padding: 22px 33px;
    box-sizing: border-box;
    border-radius: 6px;
}

section.bnrSectionA {
    margin-bottom: 60px;
    margin-top: 40px;
}

/*=======================================
  .セクション間に入る見出し
=========================================*/
.midasiBox {
    position: relative;
    padding-top: 70px;
}

.midasiBox::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: 70px;
    background-position: top center;
    background-repeat: no-repeat;
    background-size: cover;
    pointer-events: none;
    filter: drop-shadow(0 -3px 4px rgba(0, 0, 0, 0.15));
}

.midasiBox.linkT {
    background-color: #f8f8ea;
}

.midasiBox.linkT::before {
    background-image: url('/img/top/w-pink.svg');
}

.midasiBox.infoT {
    background-color: #e4f1ee;
}

.midasiBox.infoT::before {
    background-image: url('/img/top/w-yellow.svg');
}

.midasiBox.lifenaviT {
    background-color: #eaf8f9;
}

.midasiBox.lifenaviT::before {
    background-image: url('/img/top/w-green.svg');
}

.midasiBox.newsT {
    background-color: #FFF;
}

.midasiBox.newsT::before {
    background-image: url('/img/top/w-blue.svg');
}

.bgPhoto {
    height: 230px;
    background-position: center;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
}

.midasiBox.linkT .bgPhoto {
    background-image: url('/img/top/ph-link.webp');
}

.midasiBox.infoT .bgPhoto {
    background-image: url('/img/top/ph-information.webp');
}

.midasiBox.lifenaviT .bgPhoto {
    background-image: url('/img/top/ph-life-navi.webp');
}

.midasiBox.newsT .bgPhoto {
    background-image: url('/img/top/ph-news.webp');
}

.bgPhoto .text-with-bg {
    color: #ffffff;
    background-color: rgba(0, 0, 0, 0.4);
    width: 100%;
    text-align: center;
    padding: 8px 0;
    font-size: 5.2rem;
}


/* 注目ワード */
#search_trend_word p {
    margin: 0px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
}

#search_trend_word p a {
    display: inline-block;
    vertical-align: top;
    margin: 10px 10px 0px 0px;
    padding: 5px 20px;
    background: #e6e6e6;
    color: var(--textlink-link, #0d59b7);
    text-decoration: underline;
    cursor: pointer;
}

#search_trend_word p a:hover,
#search_trend_word p a:focus {
    text-decoration: none;
}


/*=======================================
  レスポンシブ調整
=========================================*/

/*--- 中間サイズ（901px〜1319px）での背景画像微調整 ---*/
@media (min-width: 901px) and (max-width: 1319px) {

    .haikeiYellow,
    .haikeiGreen,
    .haikeiBlue {
        background-size: clamp(180px, 18vw, 240px);
    }
}

/* ① より大きなモニター向けの調整 (min-width: 1320px以上)
-----------------------------------------*/
@media (min-width: 1320px) {

    .haikeiYellow,
    .haikeiGreen,
    .haikeiBlue {
        background-size: clamp(290px, 18vw, 300px);
    }

    .haikeiYellow {
        background-position: calc(50% - 500px) center;
    }

    .haikeiGreen {
        background-position: calc(50% - 500px) center;
    }

    .haikeiBlue {
        background-position: calc(50% - 560px) calc(50% + 60px);
    }

    /* 既存の padding 設定などは残しておきます */
    .infoSection {
        max-width: 1300px;
        padding-left: 80px;
        padding-right: 80px;
    }
}

/* 画面幅が1600px以上の場合 */
@media (min-width: 1600px) {
    .container {
        max-width: 1600px;
    }
}

/* 画面幅が1620px以上の場合 */
@media (min-width: 1620px) {
    .infoSection {
        max-width: 1600px;
    }

    .haikeiYellow,
    .haikeiGreen,
    .haikeiBlue {
        background-size: clamp(300px, 20vw, 350px);
    }

    .haikeiYellow {
        background-position: calc(50% - 700px) calc(50% + 100px);
    }

    .haikeiGreen {
        background-position: calc(50% - 700px) center;
    }

    .haikeiBlue {
        background-position: calc(50% - 700px) calc(50% + 135px);
    }

    .kesakuLinks a::before {
        width: 60px;
        height: 60px;
    }

    .oyakudachiLinks a::before {
        width: 60px;
        height: 60px;
        margin-bottom: 0px;
    }

    .lifeEventLinkItems a::before {
        width: 85px;
        height: 68px;
        margin-bottom: 4px;
    }

    .infoCards6col a::before {
        width: 60px;
        height: 60px;
        margin-bottom: 0px;
    }
}


/* ② PC・タブレット・スマホ向けの調整 (max-width)
-----------------------------------------*/
/* 1024px以下の画面幅で適用 */
@media (max-width: 1024px) {
    .snsLinks a {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        gap: 8px;
        align-items: center;
    }

    .snsLinks a::before {
        width: 40px;
        height: 40px;
    }

    .infoSection {
        flex-direction: column;
        align-items: stretch;
    }

    .infoCards4col {
        grid-template-columns: repeat(3, 1fr);
    }

    .infoCards6col {
        grid-template-columns: repeat(3, 1fr);
    }

    .midasiBox {
        padding-top: 55px;
    }

    .midasiBox::before {
        background-size: 1400px 60px;
        background-position: center top;
    }

    .bgPhoto {
        height: 140px;
    }

    .bgPhoto .text-with-bg {
        font-size: 3.2rem;
    }

    .linkBtn a {
        padding: 10px 30px 9px 10px;
    }

    .linkBtn a::after {
        right: 6px;
        width: 17px;
        height: 12px;
    }
}

/* 900px以下の画面幅で適用 */
@media (max-width: 900px) {
    .infoCards2col {
        display: block;
    }

    .infoCards2col .infoCard {
        margin-bottom: 30px;
    }

    .infoCards2col .infoCard:last-child {
        margin-bottom: 0;
    }

    .infoCards4col {
        grid-template-columns: repeat(2, 1fr);
    }

    #newsInfo .infoCards2col {
        flex-direction: column;
    }

    #newsInfo .infoCard.right {
        width: 100%;
    }

    .lifeEventLinkItems {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* 600px以下の画面幅で適用 (スマートフォン向け) */
@media (max-width: 600px) {
    .importantSection {
        margin: 40px auto;
    }

    #top_important_list li {
        flex-direction: column;
    }

    .kouhou {
        flex-direction: column;
        align-items: center;
    }

    .snsLinks {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .infoCards4col {
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }

    .infoCards6col {
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }

    .oyakudachiLinks {
        grid-template-columns: 1fr 1fr;
        width: 100%;
    }

    .kesakuLinks {
        grid-template-columns: 1fr 1fr;
    }

    .kesakuLinks a {
        flex-direction: column;
        text-align: center;
        word-break: keep-all;
        gap: 0;
    }

    .kesakuLinks a::before {
        width: 74px;
        height: 74px;
    }

    .search_ttl,
    .lifeEventLinks h3,
    .infoCard h3,
    .infoPickup h3 {
        font-size: 2.6rem;
    }

    .lifeEventLinks h3 {
        margin-left: 3%;
        margin-right: 3%;
    }

    .lifeEventLinkItems {
        grid-template-columns: 1fr 1fr;
    }

    .linkBtn a,
    .linkBtn.kouhouLinks a {
        padding: 10px 30px 9px;
    }

    section.bnrSectionA {
        margin-bottom: 20px;
    }

    .sectionHeader h2 {
        margin: 0;
    }

    section.bnrSection {
        padding: 30px 0px;
    }

    .oyakudachiLinks a::before {
        width: 64px;
        height: 64px;
        margin-bottom: 0px;
    }

    .lifeEventLinkItems a::before {
        width: 88px;
        height: 70px;
        margin-bottom: 2px;
    }

    .infoCards6col a::before {
        width: 60px;
        height: 60px;
        margin-bottom: 0px;
    }

    .haikeiYellow,
    .haikeiGreen,
    .haikeiBlue {
        background-image: none;
    }
}

@media (max-width: 320px) {
    .infoSection {
        padding: 60px 10px;
    }

    .oyakudachiLinks {
        width: 270px;
    }
}


/* ===============================================
アコーディオン全体 (.mokutekiSection)
=============================================== */
.mokutekiSection {
    /* border: 1px solid #e0e0e0; */
    border-radius: 6px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    background-color: #fff;
}

/* ===============================================
見出しエリア (h2)
=============================================== */
.mokutekiSection h2 {
    margin: 0;
    padding: 15px 20px;
    background-color: #F7F066;
    position: relative;
    transition: background-color 0.2s ease-in-out;
    font-size: 1.8rem;
    /* font-weight: 600; */
    cursor: pointer;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
    text-align: left;
    display: flex;
    justify-content: center;
    align-items: center;
    column-gap: 8px;
}

.mokutekiSection h2 span {
    transition: background-color 0.2s ease-in-out;
    display: flex;
    justify-content: center;
    align-items: center;
    column-gap: 8px;
}

.mokutekiSection h2 span::before {
    content: "";
    display: block;
    width: 30px;
    height: 30px;
    background-image: url(/img/top/i-moshimo.svg);
    background-size: contain;
    background-repeat: no-repeat;
}

.mokutekiSection h2 span:hover {
    background-color: #FAF599;
}

.mokutekiSection h2 span:focus {
    outline: 2px solid #999;
    outline-offset: 2px;
}

.mokutekiSection h2 span::after {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    content: '';
    width: 16px;
    height: 16px;
    background-image:
        linear-gradient(#333, #333),
        linear-gradient(#333, #333);
    background-size: 12px 2px, 2px 12px;
    background-repeat: no-repeat;
    background-position: center center;
    transition: background-size 0.2s ease-in-out;
}

.mokutekiSection h2.active span::after {
    background-size: 12px 2px, 0 0;
}

/* ===============================================
コンテンツエリア (ul)
=============================================== */
.mokutekiSection ul {
    display: none;
    list-style: none;
    padding: 0;
    margin: 0;
    background-color: #fff;
    border-top: 1px solid #e0e0e0;
    padding: 5px 10px 10px;
}

.mokutekiSection li a {
    display: block;
    padding: 12px;
    transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out;
    font-size: 1.6rem;
    background-image: linear-gradient(to right, #707070 1px, transparent 1px);
    background-size: 4px 1px;
    background-repeat: repeat-x;
    background-position: left bottom;
}

.mokutekiSection li a:hover {
    background-color: #f5f5f5;
}

.mokutekiSection ul li:last-child a {
    border-bottom: none;
}

.mokutekiSection.lifeSection ul li a,
.mokutekiSection.kurashiSection ul li a {
    background-image: none;
    padding-left: 25px;
}


/* スクロールフェードインアニメーション */
.js-fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.js-fade-up.is-show {
    opacity: 1;
    transform: translateY(0);
}

/* 左からフェードイン */
.js-fade-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.js-fade-left.is-show {
    opacity: 1;
    transform: translateX(0);
}

/* 右からフェードイン */
.js-fade-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.js-fade-right.is-show {
    opacity: 1;
    transform: translateX(0);
}

/* セクションヘッダーの背景アニメーション */
.sectionHeader.js-bg-animate {
    /* 初期位置: 背景画像を少し右外側(110%)にずらす */
    background-position: 110% 105px;
    transition: opacity 0.8s ease-out, transform 0.8s ease-out, background-position 1.2s ease-out;
}
.sectionHeader.js-bg-animate.is-show {
    /* 表示時: 定位置(右端=100%)に戻す */
    background-position: 100% 105px;
}