/* お知らせエリアの基本スタイル */
.below-global-menu-widget {
    background-color: #666; /* 背景色 */
	display:flex;
}
/* 親要素に flexbox を使用して並べる */
.below-global-menu-widget-inner, .widget-content {
	display: flex;                     /* フレックスボックスで並べる */
	align-items: center;               /* 垂直中央揃え */
	justify-content: center; 
	max-width:100%;
}
.below-global-menu-widget-inner{
 /* 最大幅を1140pxに設定 */
    max-width: 1140px;          /* 最大幅 */
    margin: 0 auto;             /* 横方向に中央寄せ */
}
.below-global-menu-widget-inner p{
	color:#fff;
	margin-bottom:0;
}
/* h3 タイトルのスタイル */
.below-global-menu-widget-inner h3 {
    font-size: 16px;              /* フォントサイズ */
    color: #fff;                  /* 文字色 */
    margin-right: 10px;           /* 右側のマージン */
    margin-bottom: 0;             /* 下のマージンを削除 */
    vertical-align: middle;       /* 垂直方向に中央揃え */
    border: none;                 /* 枠線なし */
    padding: 5px;                 /* パディング */
    font-weight: normal;          /* フォントの太さ */
    
    /* テキストの1行表示と省略処理 */
    white-space: nowrap;          /* テキストを1行に収める */
    overflow: hidden;             /* 収めきれないテキストを隠す */
    text-overflow: ellipsis;      /* 省略記号「...」を表示 */
    display: block;  
	width:100%;
}
.below-global-menu-widget-inner h3:after {
    display: none;
}
/* 詳細を見るボタン */
.view-details-btn {
	font-weight:bold;
    display: inline-block;        /* ボタンもインラインブロックに設定 */
    background-color: #fff;    /* ボタンの背景色 */
    color: #555;                  /* ボタンの文字色 */
    padding: 3px 15px;            /* ボタン内の余白 */
    border-radius: 5px;            /* ボタンの角を丸くする */
    text-transform: uppercase;     /* ボタン文字を大文字に */
    font-size: 14px;               /* フォントサイズ */
    vertical-align: middle;       /* タイトルとボタンを垂直中央に揃える */
    transition: opacity 0.3s ease;; /* ホバー時の背景色がスムーズに変化 */
	text-align:center;
	white-space: nowrap;  
}


/* ホバー時のボタンの背景色 */
.view-details-btn:hover {
	opacity:0.7;
	color: #555;
}

.view-details-btn i{
	margin:0;
}

.shc-heading{
    display:flex;
    align-items:center;
	gap:8px;
	max-width:100%;
}
.shc-icon-megaphone{
    width:40px;
    height:40px;
	transform: scaleX(-1);
}

/* タブレット用レスポンシブ設定 */
@media screen and (max-width: 1024px) {
	.below-global-menu-widget-inner h3{
	max-width:750px;
	}
}
/* スマホ用レスポンシブ設定 */
@media screen and (max-width: 768px) {

    /* お知らせエリアの基本スタイル */
    .below-global-menu-widget {
        background-color: #666;
        display: flex;
        flex-direction: column; /* 縦並びに変更 */
        padding: 10px;
    }

    /* 親要素に flexbox を使用して並べる */
    .below-global-menu-widget-inner, .widget-content {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        max-width: 100%;
        width: 100%; /* 幅を100%に調整 */
        flex-direction: column; /* 縦並びに変更 */
    }

    /* メガホンアイコンとタイトルの横並び */
    .shc-heading {
        display: flex;
        align-items: center; /* 垂直方向の中央揃え */
        gap: 10px;
        flex-direction: row; /* 横並び */
    }

    .shc-icon-megaphone {
        width: 30px; /* アイコンを少し小さく */
        height: 30px;
        transform: scaleX(-1); /* 左右反転 */
    }

    /* h3 タイトルのスタイル */
    .below-global-menu-widget-inner h3 {
        font-size: 14px;  /* フォントサイズを少し小さく */
        margin-right: 0;  /* 右マージンを削除 */
        margin-bottom: 0px;  /* 下のマージンを追加 */
        padding: 0; /* 上下パディング調整 */
        white-space: normal; /* 改行を許可 */
        overflow: hidden; /* 省略なし */
        text-overflow: clip; /* 省略記号なし */
        display: block;
        width: 100%; /* 横幅100% */
    }

    /* h3 タイトルの2行目以降を省略する */
    .shc-title {
        font-size: 14px;
        line-height: 1.5em; /* 1行の高さを設定 */
        max-height: 3em; /* 2行分の最大高さ */
        overflow: hidden; /* 3行目以降を隠す */
        text-overflow: ellipsis; /* 省略記号「...」を表示 */
        width: 100%; /* 横幅100% */
    }

    /* 詳細ボタンのスタイル */
    .view-details-btn {
        font-size: 12px; /* ボタン文字を小さく */
        padding: 3px 10px; /* パディング調整 */
        margin-top: 10px; /* ボタンとタイトルの間隔を広げる */
        width: 100%; /* ボタンを横幅100%に */
        text-align: center;
    }

    /* ホバー時のボタンの背景色 */
    .view-details-btn:hover {
        opacity: 0.7;
    }

    /* お知らせエリアの余白調整 */
    .below-global-menu-widget {
        padding: 10px 15px;
    }
}