@charset "utf-8";
/*-------------------------------------------
SNS Follow Area (ニュースリリース下) 20260915
  - 器: section.sns-follow-01 > .inner はテンプレート側（静的領域）
  - .inner の直下に「見出しブロック」「SNS項目ブロック」がCMSで並ぶ
  - 編集画面ではブロックごとに <div class="vcms_pageBlock_*"> が1枚挟まる
    ため、.inner > * に対して flex 設定を行い、実体クラスには幅だけを持たせる
  - JS 不使用
-------------------------------------------*/
#wrap.topPage section.sns-follow-01 {
	background: #f4f4f4;
	padding: 50px 0;
	padding: clamp(36px, 3.5vw, 50px) 0; /* 1000px→36px … 1440px→50px */
	margin-top: 40px;
	margin-bottom: -40px; /* #topFooter の padding-top:40px を打ち消し、下の緑帯と密着させる */
}
#wrap.topPage section.sns-follow-01 .inner {
	/* デザインはニュース枠(980px)より広い 1336px。画面が狭い場合は縮む */
	width: auto;
	min-width: 980px; /* サイト本体の固定幅に合わせる（これ未満は横スクロール） */
	max-width: 1336px;
	margin: 0 auto;
	padding: 0 20px;
	box-sizing: border-box;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-ms-flex-wrap: nowrap;
	flex-wrap: nowrap; /* PCは折り返さず、項目数に応じて等分で横幅いっぱいに広げる */
	-webkit-box-align: stretch;
	-ms-flex-align: stretch;
	align-items: stretch;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	justify-content: center;
}
/* 直下が実体(.sns-follow-head/.sns-follow-item)でも編集画面のラッパdivでも同じ挙動にする
   → 直下要素はすべて「等分」。見出しだけ固定幅に上書きする */
#wrap.topPage section.sns-follow-01 .inner > * {
	-webkit-box-flex: 1;
	-ms-flex: 1 1 0px;
	flex: 1 1 0px;
	min-width: 0;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	min-height: 140px;
	min-height: clamp(110px, 9.7vw, 140px);
}
/* 見出しは固定幅（公開HTML：見出しが .inner 直下） */
#wrap.topPage section.sns-follow-01 .inner > .sns-follow-head {
	-webkit-box-flex: 0;
	-ms-flex: 0 0 296px;
	flex: 0 0 296px;
	flex: 0 0 clamp(212px, 20.5vw, 296px); /* 1000px→212px … 1440px→296px */
}
/* 見出しは固定幅（編集画面：ラッパdivの中に見出しがある場合。:has 対応ブラウザのみ） */
#wrap.topPage section.sns-follow-01 .inner > :has(> .sns-follow-head) {
	-webkit-box-flex: 0;
	-ms-flex: 0 0 296px;
	flex: 0 0 296px;
	flex: 0 0 clamp(212px, 20.5vw, 296px);
}

/*-------------------------------------------
CMS編集画面用（公開HTMLには存在しないクラス。実機で確認した構造）
  .inner
    > .vcms_editTemp                （挿入カーソルの線）
    > .vcms_pageBlockParts          （挿入点全体を包む1枚）
        > .vcms_blockPartsButtonClass（右上ボタン。absolute）
        > .vcms_pageBlock_*          （ブロックごとのラッパ）
            > vccontents             （インライン要素）
                > .sns-follow-head / .sns-follow-item
-------------------------------------------*/
#wrap.topPage section.sns-follow-01 .inner > .vcms_editTemp {
	-ms-flex: 0 0 100%;
	flex: 0 0 100%;
	min-height: 0;
	display: block;
}
#wrap.topPage section.sns-follow-01 .inner > .vcms_pageBlockParts {
	-ms-flex: 0 0 100%;
	flex: 0 0 100%;
	min-height: 0;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-ms-flex-wrap: nowrap;
	flex-wrap: nowrap;
	-webkit-box-align: stretch;
	-ms-flex-align: stretch;
	align-items: stretch;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	justify-content: center;
}
/* 編集画面は .inner に .vcms_editTemp と .vcms_pageBlockParts の2つが並ぶので折り返す */
#wrap.topPage section.sns-follow-01 .inner:has(> .vcms_pageBlockParts) {
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
}
#wrap.topPage section.sns-follow-01 .vcms_pageBlockParts > [class*="vcms_pageBlock_"] {
	-webkit-box-flex: 1;
	-ms-flex: 1 1 0px;
	flex: 1 1 0px;
	min-width: 0;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	min-height: 140px;
	min-height: clamp(110px, 9.7vw, 140px);
}
#wrap.topPage section.sns-follow-01 .vcms_pageBlockParts > [class*="vcms_pageBlock_"]:has(.sns-follow-head) {
	-webkit-box-flex: 0;
	-ms-flex: 0 0 296px;
	flex: 0 0 296px;
	flex: 0 0 clamp(212px, 20.5vw, 296px);
}
#wrap.topPage section.sns-follow-01 vccontents {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	width: 100%;
}

/* 見出しブロック */
.sns-follow-head {
	width: 296px;
	width: clamp(212px, 20.5vw, 296px);
	padding: 0 20px 0 0;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	-ms-flex-direction: column;
	flex-direction: column;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	justify-content: center;
	box-sizing: border-box;
}
.sns-follow-head .sns-follow-head__title {
	font-size: 2.6rem;
	font-size: clamp(2.0rem, 1.8vw, 2.6rem); /* 1000px→20px … 1440px→26px */
	font-weight: bold;
	line-height: 1.5;
	color: #333;
	margin: 0;
}
.sns-follow-head .sns-follow-head__sub {
	font-size: 1.3rem;
	font-size: clamp(1.1rem, 0.9vw, 1.3rem);
	font-weight: bold;
	letter-spacing: 0.05em;
	color: #666;
	margin: 18px 0 0;
	margin-top: clamp(12px, 1.25vw, 18px);
	padding-top: 12px;
	position: relative;
	line-height: 1.4;
}
.sns-follow-head .sns-follow-head__sub:before {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	width: 60px;
	height: 3px;
	background: #6eb92b;
}

/* SNS項目ブロック：幅は持たず、親（.inner 直下）の等分に従う */
.sns-follow-item {
	width: 100%;
	padding: 4px 6px;
	border-left: 1px solid #ddd;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	-ms-flex-direction: column;
	flex-direction: column;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	justify-content: center;
	text-align: center;
	box-sizing: border-box;
}
.sns-follow-item .sns-follow-item__icon {
	line-height: 0;
	margin: 0 0 18px;
	margin-bottom: clamp(12px, 1.25vw, 18px);
	min-height: 64px; /* 画像未設定(A-15)でもラベル位置が揃うように */
	min-height: clamp(48px, 4.45vw, 64px);
}
.sns-follow-item .sns-follow-item__icon img {
	width: 64px;
	height: 64px;
	width: clamp(48px, 4.45vw, 64px); /* 1000px→48px … 1440px→64px */
	height: clamp(48px, 4.45vw, 64px);
	vertical-align: top;
	-webkit-transition: opacity .2s;
	transition: opacity .2s;
}
.sns-follow-item .sns-follow-item__icon a:hover img {
	opacity: .7;
}
.sns-follow-item .sns-follow-item__label {
	font-size: 1.3rem;
	font-size: clamp(1.2rem, 0.9vw, 1.3rem);
	line-height: 1.7;
	color: #333;
	margin: 0;
}
.sns-follow-item .sns-follow-item__label a {
	color: #333;
	text-decoration: none;
}
.sns-follow-item .sns-follow-item__label a:hover {
	text-decoration: underline;
}

/*-------------------------------------------
SP
-------------------------------------------*/
@media screen and (max-width: 767px) {
	#wrap.topPage section.sns-follow-01 {
		padding: 24px 0 8px;
		margin-top: 25px;
		margin-bottom: 0; /* SPは #topFooter の padding-top が 0 のため打ち消し不要 */
	}
	#wrap.topPage section.sns-follow-01 .inner {
		width: 100%;
		min-width: 0;
		max-width: none;
		padding: 0 10px;
		box-sizing: border-box;
		-webkit-box-sizing: border-box;
		-moz-box-sizing: border-box;
		-ms-flex-wrap: wrap;
		flex-wrap: wrap; /* SPは折り返して3列 */
	}
	/* SPは等分をやめ、実体側の vw 幅に従う */
	#wrap.topPage section.sns-follow-01 .inner > *,
	#wrap.topPage section.sns-follow-01 .inner > .sns-follow-head,
	#wrap.topPage section.sns-follow-01 .inner > :has(> .sns-follow-head) {
		-webkit-box-flex: 0;
		-ms-flex: 0 0 auto;
		flex: 0 0 auto;
		min-height: 0;
	}
	/* 幅は % ではなく vw 基準にする。
	   % だと編集画面のラッパdiv（内容幅で決まる）の中で解決されて潰れるため（A-6）。
	   40px = .inner 左右padding 20px + スクロールバー等の余裕 */
	.sns-follow-head {
		width: calc(100vw - 40px);
		-ms-flex: 0 0 auto;
		flex: 0 0 auto;
		padding: 0 0 16px;
		-webkit-box-align: center;
		-ms-flex-align: center;
		align-items: center;
		text-align: center;
	}
	.sns-follow-head .sns-follow-head__title {
		font-size: 1.7rem;
	}
	.sns-follow-head .sns-follow-head__sub:before {
		left: 50%;
		margin-left: -22px;
	}
	/* 3列。幅は実体側に持たせ、編集画面のラッパdivが挟まっても同じ列数になる */
	.sns-follow-item {
		width: calc((100vw - 40px) / 3);
		padding: 12px 4px 16px;
		border-left: 0;
		border-top: 1px solid #ddd;
	}
	.sns-follow-item .sns-follow-item__icon {
		margin-bottom: 8px;
		min-height: 40px;
	}
	.sns-follow-item .sns-follow-item__icon img {
		width: 40px;
		height: 40px;
	}
	.sns-follow-item .sns-follow-item__label {
		font-size: 1.1rem;
	}
}


/*=============================================================
CMS編集画面専用 追記（2026-09-17）ニュースリリース／フッターバナー
  公開HTMLには vcms_* クラス・<vccontents> が存在しないため公開側には一切影響しない。
  編集画面はJSが動かず、各ブロックが幅100%の div.vcms_pageBlock_* > vccontents で包まれるため
  「float の3列」「bx-slider のカルーセル」がどちらも縦積みになる。ラッパ側に列の幅を持たせて解消する。
=============================================================*/
/* --- ニュースリリース 3列（.Clm3News div.newsClm { float:left; width:30.5% } を包むラッパに移す） --- */
.news-block-01 .Clm3News > [class*="vcms_pageBlock_"] {
	float: left;
	width: 30.5%;
	margin: 0;
	box-sizing: border-box;
	border-right: 1px solid #dedede;
	border-bottom: 1px solid #dedede;
	padding: 0 20px 20px;
}
.news-block-01 .Clm3News > [class*="vcms_pageBlock_"]:nth-child(3n+1) { padding-left: 0; }
.news-block-01 .Clm3News > [class*="vcms_pageBlock_"]:nth-child(3n)   { padding-right: 0; border-right: 0; }
.news-block-01 .Clm3News > [class*="vcms_pageBlock_"]:nth-child(n+4)  { padding-top: 20px; }
.news-block-01 .Clm3News > [class*="vcms_pageBlock_"] > vccontents { display: block; }
/* ラッパに移したぶん、実体側の幅・余白・罫線は打ち消す（元CSSが !important のため同じく !important） */
.news-block-01 .Clm3News > [class*="vcms_pageBlock_"] div.newsClm {
	float: none;
	width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
}

/* --- フッターバナー（bx-slider 非動作時に li を5列で横並び） --- */
#topFooter .carousel-block-01 .bx-slider > [class*="vcms_pageBlock_"] {
	float: left;
	width: 20%;
	box-sizing: border-box;
	padding: 0 8px;
}
#topFooter .carousel-block-01 .bx-slider > [class*="vcms_pageBlock_"] > vccontents { display: block; }
#topFooter .carousel-block-01 .bx-slider > [class*="vcms_pageBlock_"] li {
	list-style: none;
	width: auto;
}
#topFooter .carousel-block-01 .bx-slider > [class*="vcms_pageBlock_"] li img {
	max-width: 100%;
	height: auto;
}
