/*
 * ブロックエディターで作り直した固定ページと社員紹介の CSS（HYD-7116）
 *
 * 2026-10 まで、固定ページと社員紹介の本文は WPBakery Page Builder 5.0.1 で作られていた。WPBakery を削除し、
 * 標準のブロックで作り直したので、WPBakery の CSS が受け持っていた見た目と、テーマの WPBakery 向けの指定をここに移した。
 * functions.php で wp-block-library の後に読み込む（WPBakery の CSS と同じく、テーマの CSS より後）。
 *
 * ブロックとクラスの対応（WPBakery の要素 → ブロック）
 *   vc_row / vc_row_inner        → グループ .rs-row（.rs-row-inner）> カラム .rs-cols
 *   vc_column / vc_column_inner  → カラム .rs-col .rs-col-<12 分割の幅>（WPBakery の .vc_column-inner と同じ要素として扱う）
 *   vc_column_text               → グループ .rs-text
 *   vc_custom_heading            → 見出し .rs-heading
 *   vc_separator                 → 区切り .rs-sep .rs-sep-w<幅 %> .rs-sep-b<太さ px> .rs-sep-<色>
 *   vc_single_image              → 画像 .rs-image（.rs-shadow、スクロールで出るものは .rs-anim）
 *   vc_btn                       → ボタン .rs-btns > .rs-btn
 *   vc_empty_space / vc_video / vc_raw_html → スペーサー .rs-space / 埋め込み .rs-video / カスタム HTML .rs-raw
 *   el_class はそのまま引き継いだ。WPBakery の「デザイン設定」（.vc_custom_<数字>）は .rs-<ページ>-<番号> にした（3. ページごとの指定）
 */

/* ============================================================
   1. WPBakery の基本の見た目の代わり
   ============================================================ */

/* 行と列。グループブロックは、theme.json のないテーマでは中身を .wp-block-group__inner-container で包む（行 > 入れ物 > カラム > 列）。
   WPBakery と同じく、768px 以上で横に並べ、列の左右に 15px の余白を取る（行は左右に -15px。769px 以上は 0） */
/* 769px 以上の 0 !important は、テーマの指定（.container-content の margin: auto !important など）が勝つように詳細度を 0 にする */
.rs-row {
	margin-left: -15px;
	margin-right: -15px;
}
@media only screen and (min-width: 769px) {
	:where(.rs-row) {
		margin-left: 0 !important;
		margin-right: 0 !important;
	}
}
.rs-cols {
	gap: 0 !important;
	margin: 0 !important;
	flex-wrap: wrap !important;
	align-items: flex-start !important;
}
.rs-row.rs-equal-height > .wp-block-group__inner-container > .rs-cols {
	align-items: stretch !important;
}
/* 幅は flex-basis ではなく width で決める（テーマの width の指定がそのまま効くように）。
   余白: WPBakery の列は、外側（.vc_column_container。列の間隔）と内側（.vc_column-inner。左右 15px、背景があれば上 35px、
   デザイン設定の余白）の 2 つの要素で、余白が足し合わされていた。列は 1 つの要素なので、外側（--rs-o*）と内側（--rs-i*）を
   変数で分けて持ち、足したものを padding にする */
.rs-cols > .rs-col {
	flex: 0 0 auto !important;
	width: 100%;
	min-width: 0;
	min-height: 1px;
	position: relative;
	box-sizing: border-box;
	--rs-ot: 0px;
	--rs-or: 0px;
	--rs-ob: 0px;
	--rs-ol: 0px;
	--rs-it: 0px;
	--rs-ir: 15px;
	--rs-ib: 0px;
	--rs-il: 15px;
	padding: calc(var(--rs-ot) + var(--rs-it)) calc(var(--rs-or) + var(--rs-ir)) calc(var(--rs-ob) + var(--rs-ib)) calc(var(--rs-ol) + var(--rs-il));
}
/* ブロックの CSS の、781px 以下で flex-basis: 100% !important にする指定（.wp-block-columns:not(.is-not-stacked-on-mobile) > .wp-block-column）より強くする */
.wp-block-columns.rs-cols > .wp-block-column.rs-col {
	flex-basis: auto !important;
}
@media (min-width: 768px) {
	.rs-cols { flex-wrap: nowrap !important; }
	.rs-cols > .rs-col-2 { width: 16.66666667%; }
	.rs-cols > .rs-col-3 { width: 25%; }
	.rs-cols > .rs-col-4 { width: 33.33333333%; }
	.rs-cols > .rs-col-6 { width: 50%; }
	.rs-cols > .rs-col-8 { width: 66.66666667%; }
	.rs-cols > .rs-col-9 { width: 75%; }
	.rs-cols > .rs-col-12 { width: 100%; }
	.rs-hidden-pc { display: none !important; }
}
/* 列の間隔（WPBakery の「列の間隔」。外側の列の四方の余白） */
.rs-row.rs-gap-15 { margin-left: -22.5px; margin-right: -22.5px; }
.rs-row.rs-gap-15 > .wp-block-group__inner-container > .rs-cols > .rs-col { --rs-ot: 7.5px; --rs-or: 7.5px; --rs-ob: 7.5px; --rs-ol: 7.5px; }
.rs-row.rs-gap-30 { margin-left: -30px; margin-right: -30px; }
.rs-row.rs-gap-30 > .wp-block-group__inner-container > .rs-cols > .rs-col { --rs-ot: 15px; --rs-or: 15px; --rs-ob: 15px; --rs-ol: 15px; }
.rs-row.rs-gap-35 { margin-left: -32.5px; margin-right: -32.5px; }
.rs-row.rs-gap-35 > .wp-block-group__inner-container > .rs-cols > .rs-col { --rs-ot: 17.5px; --rs-or: 17.5px; --rs-ob: 17.5px; --rs-ol: 17.5px; }
/* 背景や枠のある行・列は、内側の列の上に 35px の余白（WPBakery の *-has-fill） */
.rs-row.rs-has-fill > .wp-block-group__inner-container > .rs-cols > .rs-col,
.rs-row.rs-has-fill + .rs-row > .wp-block-group__inner-container > .rs-cols > .rs-col,
.rs-cols > .rs-col.rs-has-fill {
	--rs-it: 35px;
}

/* 文章の最後の要素は下の余白を取らない */
.rs-text :last-child {
	margin-bottom: 0;
}

/* div の見出しを段落にしたもの。テーマの p { line-height: 1.8 !important } を div のときの 1.5 に戻す */
p.rs-heading {
	line-height: 1.5 !important;
}

/* 見出しのリンク */
.rs-heading a {
	color: inherit;
	text-decoration: inherit;
	border: none;
	transition: all .2s ease-in-out;
	opacity: 1;
}
.rs-heading a:hover {
	opacity: .85;
}

/* 区切り。WPBakery と同じく高さ 1px の箱の 1px 下から線を引く */
/* 元は div だったので、reset.css の hr の指定（margin: 1em 0 など）を打ち消す。テーマの .title-separator などの指定が効くように、詳細度は低くする */
.rs-sep {
	margin-top: 0;
	margin-bottom: 0;
}
hr.rs-sep {
	margin-left: auto;
	margin-right: auto;
	position: relative;
	box-sizing: content-box;
	height: 1px;
	border: 0 !important;
	background: none !important;
	opacity: 1;
	overflow: visible;
	color: #ebebeb;
}
hr.rs-sep::after {
	content: "";
	position: absolute;
	top: 1px;
	left: 0;
	right: 0;
	border-top: 1px solid currentColor;
}
hr.rs-sep-b2::after { border-top-width: 2px; }
hr.rs-sep-b3::after { border-top-width: 3px; }
hr.rs-sep-b4::after { border-top-width: 4px; }
hr.rs-sep-dotted::after { border-top-style: dotted; }
.rs-sep-w10 { width: 10%; }
.rs-sep-w20 { width: 20%; }
.rs-sep-w100 { width: 100%; }
hr.rs-sep-red { color: #c70025; }
hr.rs-sep-white { color: #fff; }
hr.rs-sep-lightgrey { color: #dbdbdb; }
hr.rs-sep-gold { color: #d2a84e; }

/* 画像 */
:where(.rs-image).wp-block-image {
	margin: 0;
}
.wp-block-image.rs-image img {
	vertical-align: top;
}
.rs-image.rs-shadow img {
	box-shadow: 0 0 5px rgba(0, 0, 0, .1);
}

/* スクロールで出るアニメーション（js/blocks.js が .rs-anim-start を付ける） */
.rs-anim {
	opacity: 0;
}
.rs-anim.rs-anim-start {
	opacity: 1;
}
.rs-anim-left-to-right.rs-anim-start {
	animation: rs-ltr .7s 1 cubic-bezier(.175, .885, .32, 1.275);
}
.rs-anim-right-to-left.rs-anim-start {
	animation: rs-rtl .7s 1 cubic-bezier(.175, .885, .32, 1.275);
}
@keyframes rs-ltr {
	0% { transform: translate(-10%, 0); opacity: 0; }
	100% { transform: translate(0, 0); opacity: 1; }
}
@keyframes rs-rtl {
	0% { transform: translate(10%, 0); opacity: 0; }
	100% { transform: translate(0, 0); opacity: 1; }
}

/* ボタン（WPBakery の「アウトライン（カスタム）」「大」「四角」） */
.rs-btns {
	margin-bottom: 21.74px;
}
.rs-btns .rs-btn .wp-block-button__link {
	display: inline-block;
	box-sizing: border-box;
	border: 2px solid currentColor;
	border-radius: 0;
	background-color: transparent;
	font-size: 16px;
	line-height: normal;
	padding: 17px 24px;
	text-align: center;
	text-decoration: none;
	transition: all .2s ease-in-out;
}
.rs-btn-outline-red .wp-block-button__link { color: #c70025; border-color: #c70025; }
.rs-btn-outline-white .wp-block-button__link { color: #fff; border-color: #fff; }
.rs-btns .rs-btn .wp-block-button__link:hover,
.rs-btns .rs-btn .wp-block-button__link:focus {
	color: #fff;
	border-color: #c70025;
	background-color: #c70025;
}

/* 動画（幅いっぱい、16:9） */
.wp-block-embed.rs-video {
	margin: 0;
}
.rs-video .wp-block-embed__wrapper {
	position: relative;
	padding-top: 56.25%;
}
.rs-video .wp-block-embed__wrapper iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

/* 表（ブロックの表の既定の枠線・余白・幅を、テーマの reset.css の状態に戻す） */
.wp-block-table {
	margin: 0;
	overflow-x: visible;
}
.wp-block-table table {
	width: auto;
}
.wp-block-table td,
.wp-block-table th {
	border: 0;
	padding: 0;
}

/* ============================================================
   2. テーマの指定（main.scss・header.php にあった WPBakery 向けの指定を移した）
   ============================================================ */

/* header.php: 背景画像の上に黒い半透明を重ねる箱 */
.box-opacity.rs-col::before {
	z-index: 1;
	content: "";
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: rgba(0, 0, 0, .3);
}
.box-opacity.rs-col {
	--rs-it: 100px !important;
	--rs-ir: 0px !important;
	--rs-ib: 100px !important;
	--rs-il: 0px !important;
}
.box-opacity h4 {
	z-index: 2;
	position: relative;
	font-weight: 400;
}

/* 列の余白。テーマが el_class の付いた外側の列に当てていた padding は、内側の列の余白（--rs-i*）と足す */
#privacy-policy .privacy-policy-wrap {
	padding: var(--rs-it) calc(5vw + var(--rs-ir)) calc(150px + var(--rs-ib)) calc(5vw + var(--rs-il));
}
#contact .contact-wrap {
	padding: calc(80px + var(--rs-it)) calc(5vw + var(--rs-ir)) calc(80px + var(--rs-ib)) calc(5vw + var(--rs-il));
}
@media only screen and (max-width: 768px) {
	#contact .contact-wrap {
		padding: calc(50px + var(--rs-it)) calc(5vw + var(--rs-ir)) calc(50px + var(--rs-ib)) calc(5vw + var(--rs-il));
	}
}
@media only screen and (max-width: 640px) {
	#business .btn-to-cat {
		padding: var(--rs-it) calc(20px + var(--rs-ir)) var(--rs-ib) calc(20px + var(--rs-il));
	}
}
#system .btn-to-cat {
	padding: var(--rs-it) calc(40 / 640 * 100vw + var(--rs-ir)) var(--rs-ib) calc(40 / 640 * 100vw + var(--rs-il));
}

/* 列の margin。ブロックの CSS の .is-layout-flex > :is(*, div) { margin: 0 }（詳細度 0,1,1）に負けないように、テーマの指定を詳細度を上げて書き直す */
.rs-col.btn-black {
	margin: 100px 0 150px;
}

/* エントリー・お問い合わせのフォーム（見出しの列の左右は、テーマの padding: 80px 6.25% 0 だけ。内側の余白は 0 だった） */
#form .entry-title-wrap h2,
#confirm .entry-title-wrap h2 {
	font-size: 1.5em;
	color: #c70025;
	text-align: left !important;
	margin-bottom: 10px;
}
@media only screen and (max-width: 640px) {
	#form .entry-title-wrap h2,
	#confirm .entry-title-wrap h2 {
		text-align: center !important;
	}
}
#form .entry-title-wrap .rs-sep,
#confirm .entry-title-wrap .rs-sep {
	margin-bottom: 50px;
}
.rs-col .title-form {
	margin-top: 30px;
	background: #f0f0ee;
	padding: 15px;
	border: 1px solid #c7c7c7;
	font-weight: 900;
	color: #444;
}
.rs-col .content-form {
	border-right: 1px solid #c7c7c7;
	border-left: 1px solid #c7c7c7;
	border-bottom: 1px solid #c7c7c7;
	padding: 1px 15px 20px;
}
.rs-col .content-form select {
	font-size: 15px;
	background: #fff;
	margin-right: 10px;
}
.rs-col .content-form .form-note {
	font-size: 14px;
	margin-left: 10px;
}
@media only screen and (max-width: 640px) {
	.rs-col .content-form .form-note {
		display: block;
		margin-top: 8px;
	}
}
.rs-col .content-form .table-row {
	margin-top: 20px;
	width: 100%;
	color: #4d4d4d;
}
.rs-col .content-form .label-form {
	width: 20%;
	vertical-align: middle;
}
@media only screen and (max-width: 640px) {
	.rs-col .content-form .label-form {
		width: 100%;
	}
}
.rs-col .content-form .column-2-first {
	width: 40%;
}
@media only screen and (max-width: 640px) {
	.rs-col .content-form .column-2-first {
		width: 100%;
		margin: 10px 0;
	}
}
@media only screen and (min-width: 641px) and (max-width: 768px) {
	.rs-col .content-form .column-2-first {
		width: 50%;
		float: left;
	}
}
.rs-col .content-form .column-2-second {
	width: 40%;
}
@media only screen and (max-width: 640px) {
	.rs-col .content-form .column-2-second {
		width: 100%;
	}
}
@media only screen and (min-width: 641px) and (max-width: 768px) {
	.rs-col .content-form .column-2-second {
		width: 50%;
		float: left;
	}
}
.rs-col .content-form .column-3-first span:nth-child(n+2) {
	margin-left: 10px;
}
@media only screen and (max-width: 640px) {
	.rs-col .content-form .column-3-first,
	.rs-col .content-form .column-3-second,
	.rs-col .content-form .column-3-third {
		float: none;
	}
}
.rs-col input[type="text"],
.rs-col input[type="email"] {
	padding: 15px;
	border: 1px solid #c7c7c7;
	width: 100%;
}
/* MW WP Form の電話番号・郵便番号は欄を横に並べる（MW WP Form の style.css と同じ指定）。
   3.0.1 は style.css をこのファイルより後に読み込んでいたが、5.x は先に読み込むので、上の width: 100% が勝ってしまう（HYD-7067） */
.rs-col .mwform-tel-field input[type="text"],
.rs-col .mwform-zip-field input[type="text"] {
	display: inline-block;
	width: auto;
}
.rs-col input[type="radio"] {
	margin-bottom: 7px;
}
.rs-col input[type="text"].post_number,
.rs-col input[type="text"].mobile_phone_number,
.rs-col input[type="text"].phone_number {
	padding: 15px;
}
.rs-col .entry-msg-note {
	margin-top: 30px;
	margin-bottom: 20px;
}
.rs-col textarea.entry_msg,
.rs-col textarea.contact-content {
	width: 100%;
	padding: 15px;
}
.rs-col .btn-confirm-area {
	background: #f7f7f7;
	padding: 50px;
	text-align: center;
	margin-bottom: 0;
	margin-top: 150px;
}
.rs-col .btn-confirm-area input {
	background: #fff;
	border: 1px solid #c70025;
	color: #c70025;
	width: 190px;
	height: 54px;
	font-size: 1.1em;
}
.rs-col .btn-confirm-area input:hover {
	background: #c70025;
	color: #fff;
	transition: 1s;
	cursor: pointer;
}

/* トップ */
@media only screen and (min-width: 641px) and (max-width: 768px) {
	#home #business-home .content-home-business .rs-col-6 {
		width: 100%;
	}
	#home #business-home .content-home-business .rs-col-6:nth-child(2) {
		margin-top: 30px;
	}
}
@media only screen and (max-width: 640px) {
	#home #business-home .content-home-business .rs-col:first-child {
		margin-bottom: 35px;
	}
}
#home #system-home .rs-col-3:first-child,
#home #system-home .rs-col-3:last-child {
	width: 15% !important;
}
@media only screen and (max-width: 768px) {
	#home #system-home .rs-col-3:first-child,
	#home #system-home .rs-col-3:last-child {
		width: 0 !important;
	}
}
#home #system-home .rs-col-3:nth-child(2),
#home #system-home .rs-col-3:nth-child(3) {
	width: 35% !important;
}
@media only screen and (min-width: 641px) and (max-width: 768px) {
	#home #system-home .rs-col-3:nth-child(2),
	#home #system-home .rs-col-3:nth-child(3) {
		width: 50% !important;
	}
}
@media only screen and (max-width: 640px) {
	#home #system-home .rs-col-3:nth-child(2),
	#home #system-home .rs-col-3:nth-child(3) {
		width: 100% !important;
	}
}

/* 会社を知る */
#company .rs-row.rs-gap-35 > .wp-block-group__inner-container > .rs-cols > .rs-col {
	--rs-ot: 0px;
	--rs-or: 0px;
	--rs-ob: 0px;
	--rs-ol: 0px;
}
@media only screen and (min-width: 641px) and (max-width: 768px) {
	#company #organization .rs-col-6 {
		width: 100%;
	}
	#company #athlete-management .athlete-list .rs-col-3 {
		width: 50%;
		margin-bottom: 30px;
	}
}
@media only screen and (max-width: 640px) {
	#company .organization-chart .rs-col.rs-col-3 {
		width: 50%;
	}
}

/* 仕事を知る */
@media only screen and (min-width: 641px) and (max-width: 768px) {
	#business .box-contents .box-contents-item.rs-col {
		display: table;
		width: 100%;
	}
}
#business .box-contents .box-contents-item h4 {
	border: 4px solid #eee;
	width: calc(370 / 1230 * 100vw);
	height: calc(220 / 1230 * 100vw);
	display: table-cell;
	vertical-align: middle;
	font-size: 1.2em;
	line-height: 1.2;
	font-weight: 400;
}
@media only screen and (min-width: 641px) and (max-width: 768px) {
	#business .box-contents .box-contents-item h4 {
		display: table-cell;
		width: 50%;
	}
}
@media only screen and (max-width: 640px) {
	#business .box-contents .box-contents-item h4 {
		width: 100vw;
		height: calc(220 / 370 * 100vw);
	}
}
#business .box-contents .box-contents-item h4.soltilo-box-wrap:hover,
#business .box-contents .box-contents-item h4.zozopark-box-wrap:hover {
	cursor: pointer;
}
#business .box-contents .box-contents-item .rs-text {
	margin-top: 15px;
}
@media only screen and (min-width: 641px) and (max-width: 768px) {
	#business .box-contents .box-contents-item .rs-text {
		display: table-cell;
		width: 50%;
		vertical-align: top;
		padding-left: 20px;
	}
}
#business .box-subcontent-soltilo-wrap .rs-col-8 {
	--rs-ol: 20px;
}
#business .box-subcontent-soltilo-wrap .rs-col-8 h4 {
	margin-bottom: 15px;
}
/* 元は内側の列の margin-left: 20px（内側の列は width: 100% なので、縮まずに右にずれていた） */
@media only screen and (min-width: 641px) {
	#business .sub-contents-wrap .sub-contents-item.rs-col:last-child {
		left: 20px;
	}
}

/* 沿革 */
#history .history-timeline-first .rs-col,
#history .history-timeline-second .rs-col {
	--rs-it: 0px !important;
}

/* 制度を知る */
@media only screen and (min-width: 641px) and (max-width: 768px) {
	#system .btns-under-title .container-content .rs-col-3:first-child,
	#system .btns-under-title .container-content .rs-col-3:last-child {
		width: 10%;
	}
	#system .btns-under-title .container-content .rs-col-3:nth-child(2),
	#system .btns-under-title .container-content .rs-col-3:nth-child(3) {
		width: 40%;
	}
	#system .box-welfare .rs-col-4 {
		width: 100%;
		display: table;
	}
	#system .box-welfare .rs-col-4 > .rs-row {
		display: table-cell;
		width: 50%;
	}
	#system .box-welfare .rs-col-4 > .rs-space {
		display: none;
	}
	#system .box-welfare .rs-col-4 > .rs-text {
		display: table-cell;
		padding-left: 20px;
		vertical-align: top;
	}
	#system .csr-wrapper .rs-col-4,
	#system .csr-wrapper .rs-col-8 {
		width: 50%;
	}
}
@media only screen and (max-width: 640px) {
	#system .csr-wrapper .rs-col-4 {
		margin-top: 20px;
		margin-bottom: 15px;
	}
}

/* お知らせの本文（今の投稿には使われていないが、ブロックで行と列を作ったとき用に残す） */
@media only screen and (max-width: 640px) {
	.news-detail-wrap .news-content-wrap .rs-col {
		margin-bottom: 25px;
	}
}
.news-detail-wrap .rs-row {
	margin-bottom: 35px;
}
@media only screen and (max-width: 640px) {
	.news-detail-wrap .rs-row {
		margin-bottom: 0;
	}
}

/* 社員紹介（single-person.php の本文） */
.interview-contents .rs-row:nth-child(odd) .rs-col-8 {
	--rs-or: calc(51 / 1230 * 100vw);
}
.interview-contents .rs-row:nth-child(even) .rs-col-8 {
	--rs-ol: calc(51 / 1230 * 100vw);
}
@media only screen and (max-width: 768px) {
	.interview-contents .rs-row:nth-child(even) .rs-col-8 {
		--rs-ol: 0px;
	}
}
.interview-contents .rs-row:nth-child(n+2) {
	margin-top: 70px;
}
@media only screen and (max-width: 768px) {
	.interview-contents .rs-row:nth-child(n+2) {
		margin-top: 0;
	}
}
.interview-contents .rs-row:last-child {
	margin-bottom: 63px;
}
.interview-contents .rs-cols > .rs-col-8 {
	width: 55%;
}
.interview-contents .rs-col-8 ul {
	margin-left: 1em;
}
.interview-contents .rs-cols > .rs-col-4 {
	width: 45%;
}
@media only screen and (max-width: 768px) {
	.interview-contents .rs-cols > .rs-col-8,
	.interview-contents .rs-cols > .rs-col-4 {
		width: 100%;
	}
}

/* 下のボタン（COMPANY / BUSINESS など） */
@media only screen and (min-width: 641px) and (max-width: 768px) {
	.section-btn-footer .rs-col-3:first-child,
	.section-btn-footer .rs-col-3:last-child {
		display: none;
	}
	.section-btn-footer .rs-col-3:nth-child(2),
	.section-btn-footer .rs-col-3:nth-child(3) {
		width: 50%;
	}
}

/* ============================================================
   3. ページごとの指定。列のデザイン設定の余白は内側の列のもの（--rs-i*）（WPBakery のデザイン設定 _wpb_shortcodes_custom_css と、ページの CSS _wpb_post_custom_css）
   ============================================================ */
/* home（ID 7） */
.rs-home-1{background-image: url(/wp-content/uploads/2017/02/bg-philosophy.png) !important;background-position: center !important;background-repeat: no-repeat !important;background-size: contain !important;}
.rs-home-2{background-image: url(/wp-content/uploads/2017/02/bg-members.jpg) !important;background-position: center !important;background-repeat: no-repeat !important;background-size: cover !important;}
.rs-home-3{background-position: center !important;background-repeat: no-repeat !important;background-size: cover !important;}
.rs-home-4{background-color: #eeeeee !important;background-position: center !important;background-repeat: no-repeat !important;background-size: cover !important;}

/* business（ID 30） */
.rs-business-2{background-image: url(/wp-content/uploads/2017/02/title-business.jpg) !important;background-position: center !important;background-repeat: no-repeat !important;background-size: cover !important;}
.rs-business-3{background-image: url(/wp-content/uploads/2017/02/subtitle-soltilo.jpg) !important;background-position: center !important;background-repeat: no-repeat !important;background-size: cover !important;}
.rs-business-8{margin-top: 50px !important;margin-bottom: 10px !important;background-position: center !important;background-repeat: no-repeat !important;background-size: cover !important;}
.rs-business-12{background-image: url(/wp-content/uploads/2017/02/bg-business-sv-horn.jpg) !important;background-position: center !important;background-repeat: no-repeat !important;background-size: cover !important;}
.rs-business-17{margin-top: 50px !important;margin-bottom: 10px !important;background-position: center !important;background-repeat: no-repeat !important;background-size: cover !important;}
.rs-business-19{background-color: #ffffff !important;}
.rs-business-20{margin-bottom: 56px !important;background-image: url(/wp-content/uploads/2017/02/bg-management-division.jpg) !important;background-position: center !important;background-repeat: no-repeat !important;background-size: cover !important;}
.rs-business-24{margin-top: 83px !important;background-color: #eeeeee !important;}
.rs-business-1{margin-bottom: 8px !important;}
.rs-business-4{background-position: center !important;background-repeat: no-repeat !important;background-size: cover !important;}
.rs-business-5{background-image: url(/wp-content/uploads/2017/02/bg-soltilo01.jpg) !important;background-position: center !important;background-repeat: no-repeat !important;background-size: cover !important;}
.rs-business-6{background-image: url(/wp-content/uploads/2017/02/bg-soltilo02.jpg) !important;background-position: center !important;background-repeat: no-repeat !important;background-size: cover !important;}
.rs-business-7{background-image: url(/wp-content/uploads/2017/02/bg-soltilo03.jpg) !important;background-position: center !important;background-repeat: no-repeat !important;background-size: cover !important;}
.rs-business-11{padding-top: 15px !important;padding-bottom: 15px !important;padding-left: 12.5px !important;}
.rs-business-9{--rs-it: 0px !important;}
.rs-business-10{--rs-it: 0px !important;}
.rs-business-13{background-position: center !important;background-repeat: no-repeat !important;background-size: cover !important;}
.rs-business-14{background-image: url(/wp-content/uploads/2017/02/13920809_10154437682524083_551613196235426605_n.jpg) !important;background-position: center !important;background-repeat: no-repeat !important;background-size: cover !important;}
.rs-business-15{background-image: url(/wp-content/uploads/2017/02/svhorn02.jpg) !important;background-position: center !important;background-repeat: no-repeat !important;background-size: cover !important;}
.rs-business-16{background-image: url(/wp-content/uploads/2017/02/svhorn03.jpg) !important;background-position: center !important;background-repeat: no-repeat !important;background-size: cover !important;}
.rs-business-18{background-image: url(/wp-content/uploads/2017/02/bnr-svhorn.jpg) !important;background-position: center !important;background-repeat: no-repeat !important;background-size: cover !important;}
.rs-business-21{margin-bottom: 46px !important;}
.rs-business-22{margin-bottom: 46px !important;}
.rs-business-23{background-image: url(/wp-content/uploads/2017/02/management-division_03.jpg) !important;}

/* company（ID 55） */
.rs-company-1{background-image: url(/wp-content/uploads/2017/02/title-company.png) !important;background-position: center !important;background-repeat: no-repeat !important;background-size: cover !important;}
.rs-company-2{background-image: url(/wp-content/uploads/2017/02/bg-hondaism.jpg) !important;background-position: center !important;background-repeat: no-repeat !important;background-size: cover !important;}
.rs-company-3{background-image: url(/wp-content/uploads/2017/02/bg-vision.jpg) !important;background-position: center !important;background-repeat: no-repeat !important;background-size: cover !important;}
.rs-company-9{background-color: #000000 !important;}
.rs-company-10{background-color: #121212 !important;}
.rs-company-8{padding-right: 6.25% !important;padding-left: 6.25% !important;}
.rs-company-4{margin-bottom: 20px !important;}
.rs-company-5{margin-bottom: 50px !important;}
.rs-company-6{--rs-ib: 50px !important;}
.rs-company-7{margin-bottom: 15px !important;}

/* company-history（ID 87） */
.rs-company-history-1{background-image: url(/wp-content/uploads/2017/02/title-history.jpg) !important;background-position: center !important;background-repeat: no-repeat !important;background-size: cover !important;}
.rs-company-history-3{background-image: url(/wp-content/uploads/2017/02/bg-odd.png) !important;background-position: center !important;background-repeat: no-repeat !important;background-size: cover !important;}
.rs-company-history-4{background-image: url(/wp-content/uploads/2017/02/bg-even.png) !important;background-position: center !important;background-repeat: no-repeat !important;background-size: cover !important;}
.rs-company-history-5{background-image: url(/wp-content/uploads/2017/02/bg-odd.png) !important;background-position: center !important;background-repeat: no-repeat !important;background-size: cover !important;}
.rs-company-history-6{background-image: url(/wp-content/uploads/2017/02/bg-even.png) !important;background-position: center !important;background-repeat: no-repeat !important;background-size: cover !important;}
.rs-company-history-2{background-position: center !important;background-repeat: no-repeat !important;background-size: contain !important;}

/* faq（ID 107） */
.rs-faq-1{background-image: url(/wp-content/uploads/2017/02/bg-members.jpg) !important;background-position: center !important;background-repeat: no-repeat !important;background-size: cover !important;}

/* entry-complete（ID 148） */
.rs-entry-complete-1{background-image: url(/wp-content/uploads/2017/02/bg-members.jpg) !important;background-position: center !important;background-repeat: no-repeat !important;background-size: cover !important;}

/* member（ID 212） */
.rs-member-1{background-image: url(/wp-content/uploads/2017/02/title-members.jpg) !important;background-position: center !important;background-repeat: no-repeat !important;background-size: cover !important;}

/* system（ID 221） */
.rs-system-1{background-image: url(/wp-content/uploads/2017/02/title-system.jpg) !important;background-position: center !important;background-repeat: no-repeat !important;background-size: cover !important;}
.rs-system-2{padding-top: 50px !important;padding-bottom: 50px !important;background-color: #f7f7f7 !important;}
.rs-system-5{background-image: url(/wp-content/uploads/2017/02/subtitle-hr.jpg) !important;background-position: center !important;background-repeat: no-repeat !important;background-size: cover !important;}
.rs-system-13{margin-top: 50px !important;margin-bottom: 10px !important;background-position: center !important;background-repeat: no-repeat !important;background-size: cover !important;}
.rs-system-15{background-image: url(/wp-content/uploads/2017/02/subtitle-csr.jpg) !important;background-position: center !important;background-repeat: no-repeat !important;background-size: cover !important;}
.rs-system-17{margin-top: 67px !important;background-color: #ffffff !important;}
.rs-system-3{margin-bottom: 20px !important;}
.rs-system-4{margin-bottom: 50px !important;}
.rs-system-6{background-position: center !important;background-repeat: no-repeat !important;background-size: cover !important;}
.rs-system-7{background-image: url(/wp-content/uploads/2017/02/bg-box-welfare.jpg) !important;background-position: center !important;background-repeat: no-repeat !important;background-size: cover !important;}
.rs-system-8{background-position: center !important;background-repeat: no-repeat !important;background-size: cover !important;}
.rs-system-9{background-image: url(/wp-content/uploads/2017/02/bg-event.jpg) !important;background-position: center !important;background-repeat: no-repeat !important;background-size: cover !important;}
.rs-system-10{background-position: center !important;background-repeat: no-repeat !important;background-size: cover !important;}
.rs-system-11{background-image: url(/wp-content/uploads/2017/02/bg-hr.jpg) !important;background-position: center !important;background-repeat: no-repeat !important;background-size: cover !important;}
.rs-system-12{background-position: center !important;background-repeat: no-repeat !important;background-size: cover !important;}
.rs-system-14{margin-bottom: 50px !important;}
.rs-system-16{--rs-ir: 40px !important;}

/* p1053（ID 1053） */
.rs-p1053-1{background-image: url(/wp-content/uploads/2017/02/bg-philosophy.png) !important;background-position: center !important;background-repeat: no-repeat !important;background-size: contain !important;}
.rs-p1053-2{background-image: url(/wp-content/uploads/2017/02/bg-members.jpg) !important;background-position: center !important;background-repeat: no-repeat !important;background-size: cover !important;}
.rs-p1053-3{background-position: center !important;background-repeat: no-repeat !important;background-size: cover !important;}
.rs-p1053-4{background-color: #eeeeee !important;background-position: center !important;background-repeat: no-repeat !important;background-size: cover !important;}

/* new-graduate-entry-complete（ID 1247） */
.rs-new-graduate-entry-complete-1{background-image: url(/wp-content/uploads/2017/02/bg-members.jpg) !important;background-position: center !important;background-repeat: no-repeat !important;background-size: cover !important;}

/* business（ID 30）のページの CSS */
:where(#business) .table-holiday td {
	vertical-align: middle;
	padding: 15px 0 15px 15px;
}
:where(#business) .adjust-bg-subtitle {
	background-position: center center;
	background-size: cover;
	background-repeat: no-repeat;
}

/* company（ID 55）のページの CSS（WPBakery の要素向けで、今の本文にない指定 .company-msg・.ceo-msg-wrap などは除いた） */
:where(#company) .box-vision.rs-col {
	background-color: rgba(255, 255, 255, .6);
}
:where(#company) h4 {
	font-weight: 400;
}
:where(#company) .table-vision td {
	vertical-align: middle;
	color: #fff;
}
:where(#company) .table-vision tr {
	margin-bottom: 15px;
}
:where(#company) .table-vision tr td {
	padding-right: 15px;
	padding-top: 10px;
	padding-bottom: 10px;
}
:where(#company) .table-vision .icon-vision {
	text-align: center;
}
:where(#company) .name-athlete {
	margin: 0 auto;
	z-index: 100;
	background-color: #fff;
	display: table;
	margin-top: -20px;
	position: relative;
}
/* WPBakery（書き換えられたテンプレート）は、どの画像の下にも div.name-athlete を出していて、このページでは空のものにも
   margin-top: -20px が効き、画像の下が 20px 詰まっていた。タイトルのない画像も同じにする */
:where(#company) .rs-image:not(:has(+ .name-athlete)) {
	margin-bottom: -20px;
}
:where(#company) .se-slope-black:nth-child(odd):after {
	border-right: 100px solid #fff;
}
:where(#company) .se-slope-pink {
	background: #fff;
}

/* company-history（ID 87）のページの CSS: 内側の列の左右の余白をなくす */
:where(#history) .rs-cols > .rs-col {
	--rs-ir: 0px !important;
	--rs-il: 0px !important;
}
