@charset "UTF-8";

a {
	color: #0c3158;
	/* text-decoration: none; */
}

a:hover {
	opacity: 0.85;
	filter: alpha(opacity=85);
	-ms-filter: "alpha(opacity=85)";
}

a:hover img {
	opacity: 0.85;
	filter: alpha(opacity=85);
	-ms-filter: "alpha(opacity=85)";
}

html {
	overflow-y: scroll;
}

p {
	margin: 0 auto 20px;
	text-align: left;
	padding: 0;
}

#service_list p {
	display: inline-block;
	margin: 4px;
	background: #fff;
}

#service_list p a {
	padding: 15px 15px 10px;
	display: block;
	line-height: 20px;
	border: 1px solid #ccc;
}

.tac {
	text-align: center;
}
.tal {
	text-align: left;
}
.tar {
	text-align: right;
}

@media screen and (max-width: 740px) {
	.br-sp {
		display: none;
	}
}

.slick-dots {
	position: relative;
	bottom: -9px;
	margin: 0 0 -28px;
	width: 1050px;
	margin: 0 auto;
	text-align: left;
}
.slick-dots li {
	width: 85px;
	opacity: 0.5;
}
.slick-dots li.slick-active {
	opacity: 1;
}
.slick-dots li img {
	width: 100%;
	border: 1px solid #bbb;
}

.home header p:first {
	width: 670px;
	margin: 0 auto 25px;
	/* text-align:center; */
}

.home header p {
	width: 660px;
	/* margin: 0 auto 30px; */
	/* text-align:center; */
}

body {
	font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ",
		Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
	color: #333;
	font-size: 15px;
	line-height: 1.7;
	font-weight: 400;
	background: #f9f5ec;
	min-width: 1000px;
	margin-top: 0px;
	letter-spacing: 0.01em;
	-webkit-text-size-adjust: 100%;
}

#wrap {
	background-image: url(../images/bg_wrap.png);
	background-color: #f9f5ec;
	background-repeat: repeat-x;
	background-position-y: -4px;
}

.home #wrap {
	/* background-image: url(../images/bg_wrap-front_page.png); */
}

#description {
	background-color: #1a1a1a;
}

#description h1 {
	color: #fff;
	font-size: 75%;
	font-weight: normal;
	padding: 7px 0;
	line-height: 1;
}

.home h1.page-title {
	margin-top: 10px;
	margin-bottom: 40px;
	font-size: 26px;
	line-height: 1.5;
	text-align: center;
	background: none;
	color: #333;
	padding: 0 0 0 0;
	box-shadow: none;
	letter-spacing: 0;
}

#site-id a {
	color: #1a1a1a;
	font-size: x-large;
}

span.slide {
	font-size: 12px;
	line-height: 21px;
	display: block;
	text-align: left;
	margin-top: 16px;
}

#utility-nav ul {
	margin: 0;
}

#utility-nav li {
	float: left;
	padding: 0 15px 6px 0;
}

#utility-nav li:last-child {
	padding-right: 0px;
}
#utility-nav li a {
	font-size: 11px;
	line-height: 1;
	background: url(../images/ico_link.png) no-repeat;
	padding-left: 15px;
}

#utility-nav li a:hover {
	background-position: 0 -17px;
}

.screen-reader-text {
	display: none;
}

.widget_search {
	width: 180px;
}

#searchform {
	font-size: 0;
	position: relative;
}

#s {
	font-size: small;
	background: url(../images/bg_search_form.png);
	width: 133px;
	height: 21px;
	border: none;
	padding: 0px 0 0 8px;
}

#searchsubmit {
	background: url(../images/btn_search.png) no-repeat scroll 0 0 transparent;
	border: none;
	cursor: pointer;
	height: 21px;
	position: absolute;
	position: relative\9;
	right: 0;
	width: 39px;
	text-indent: -9999px;
}

#searchsubmit:hover {
	background-position: left bottom;
}

#branding {
	clear: both;
	text-align: center;
	padding: 5px 0 5px;
	/* background: #ddd; */
	/* box-shadow: inset 0px 0px 15px 0px #CCC; */
	background: rgba(255, 255, 255, 0.2);
	overflow-x: hidden;
}

#jisseki {
	text-align: center;
	/* padding: 30px 0 5px; */
	/* background: #ddd; */
	/* box-shadow: inset 0px 0px 15px 0px #CCC; */
	background: rgba(255, 255, 255, 0.2);
	width: 1300px;
	margin: 0 auto;
}

.slider {
	display: none;
}

.slick-slide {
	opacity: 0.6;
	position: relative;
}
.slick-slide:hover {
	opacity: 1;
}
.slick-slide.slick-current {
	opacity: 1;
}
.slider .slick-slide::before {
	content: "";
	display: block;
	position: absolute;
	z-index: 1;
	width: 99%;
	height: 100%;
	margin-left: 0.5%;
	opacity: 0;
	background-color: rgba(0, 0, 0, 0.6);
	transition: all 0.25s;
}
.slider .slick-slide:hover::before {
	opacity: 1;
}

.slider .slick-slide a {
	position: absolute;
	z-index: 2;
	top: 31%;
	left: 0;
	right: 0;
	letter-spacing: 2px;
	font-weight: bold;
	font-size: 16px;
	text-decoration: none;
	/* display:block; */
	/* overflow:hidden; */
	color: #fff;
	width: 600px;
	margin: 0 auto;
	line-height: 1.8;
	opacity: 0;
	text-align: center;
	transition: width 2s;
	border: 1px solid #ccc;
	padding: 18px;
}

#jisseki a {
	position: absolute;
	top: 36%;
	left: 0;
	right: 0;
	z-index: 1;
	line-height: 1.8;
	display: block;
	width: 600px;
	margin: 0 auto 56px;
	text-decoration: none;
	background: rgba(255, 255, 255, 0.15);
	border: 1px solid #ccc;
	padding: 20px;
	color: #fff;
	opacity: 0;
}
#jisseki > div:hover a {
	opacity: 1;
}

.slider .slick-slide:hover a {
	background: rgba(255, 255, 255, 0.15);
	opacity: 1;
}

.slider .slick-slide img,
#jisseki img {
	width: 99%;
	height: auto;
	margin: 0 auto;
	box-shadow: 0px 1px 10px 0px #999;
}

#jisseki > div {
	position: relative;
	min-width: 1100px;
	display: block;
	margin: 0px auto 70px;
	width: 80%;
}
#jisseki > div::before {
	content: "";
	background: rgba(0, 0, 0, 0.6);
	position: absolute;
	width: 100%;
	height: calc(100% - 7px);
	z-index: 1;
	opacity: 0;
	transition: all 0.25s;
}
#jisseki > div:hover::before {
	opacity: 1;
}
#jisseki img {
	width: 100%;
	min-width: 1100px;
}
.slider-nav-wrapper {
	width: 400px;
	margin: 0 auto;
}

.slider-nav {
	display: none;
}

.slider-nav .slick-slide img {
	width: 98%;
	height: auto;
	margin: 0 auto;
}

#bread-crumb {
	font-size: 95%;
	padding: 1px 0 10px;
}

#bread-crumb ul {
	margin: 0;
}

#bread-crumb ul:after {
	clear: both;
	content: " ";
	display: block;
	font-size: 0;
	height: 0;
	visibility: hidden;
}

#bread-crumb li {
	float: left;
}

#bread-crumb li.sub {
	padding-left: 10px;
}

#bread-crumb li.sub:before {
	letter-spacing: 10px;
	content: ">";
}

#contents {
	/* clear: both; */
}

#contents article {
	margin-top: 10px;
	margin-bottom: 10px;
}

#contents article:after {
	clear: both;
	content: " ";
	display: block;
	font-size: 0;
	height: 0;
	visibility: hidden;
}

.adjacent_post_links {
	margin: 20px 0 0;
}

.adjacent_post_links ul {
	margin: 0;
}

.adjacent_post_links ul:after {
	clear: both;
	content: ".";
	display: block;
	font-size: 0;
	height: 0;
	visibility: hidden;
}

.adjacent_post_links li {
	max-width: 325px;
	height: 50px;
}

.adjacent_post_links li a {
	display: block;
	vertical-align: middle;
}

.adjacent_post_links li.previous {
	float: left;
}

.adjacent_post_links li.previous a {
	background: url(../images/bg_previous_link.png) no-repeat left center;
	padding-left: 20px;
}

.adjacent_post_links li.next {
	float: right;
}

.adjacent_post_links li.next a {
	background: url(../images/bg_next_link.png) no-repeat right center;
	padding-right: 20px;
}

#back_to_top {
	margin: 50px 0px 0 0;
	text-align: right;
	position: fixed;
	right: 20px;
	bottom: 0;
}

#back_to_top a {
	position: relative;
}

#sidebar h2 {
	font-size: 100%;
	background: none;
	padding: 0;
	margin: 0;
}

.rss_link {
	padding-left: 3px;
}

#primary div ul,
#primary ul {
	margin: 0;
	padding: 0;
}

#primary li {
	list-style: none;
	border-top: dotted 1px #b9b4ab;
	padding: 5px 0;
}

#primary li a {
	display: block;
	padding: 5px;
	border-radius: 3px;
}

.sub_navi .current_page_item a,
.sub_navi .current-cat a,
.sub_navi li a:hover {
	color: #333;
	background-color: rgba(0, 0, 0, 0.2);
	background-color: rgb(195, 188, 172) \9;
}

.sub_navi .current_page_item li a {
	background: none;
}

#primary ul li:first-child {
	border-top: none;
}

#primary ul ul.children li:first-child {
	border-top: dotted 1px #b9b4ab;
}

#primary aside {
	background: url(../images/bg_sidebar_primary_column_shadow.png) no-repeat
		left bottom;
	padding: 0 3px 3px;
	margin-bottom: 27px;
}

#primary aside h1 {
	color: #fff;
	line-height: 1;
	background: url(../images/bg_sidebar_title_blue.png) no-repeat;
	padding: 12px 10px 0 24px;
	height: 38px;
	margin-bottom: -12px;
	position: relative;
	z-index: 10;
}

#primary ul,
#primary div {
	padding: 17px 10px 10px;
	background: url(../images/bg_primary_sidebar.png);
}

#primary div ul {
	background: none;
}

#primary ul ul.children {
	background: none;
	padding: 5px 0 0 15px;
}

aside#event-info h1 {
	background: url(../images/bg_sidebar_title_green.png) no-repeat;
}
aside#malls-info h1 {
	background: url(../images/bg_sidebar_title_mint.png) no-repeat;
}

aside#information-info h1 {
	background: url(../images/bg_sidebar_title_orange.png) no-repeat;
}

#event-info time,
#malls-info time,
#information-info time {
	color: #0c3158;
	font-size: 85%;
	line-height: 1;
}

#event-info h2,
#malls-info h2,
#information-info h2 {
	line-height: 1.4;
	margin-bottom: 3px;
}

#event-info img,
#malls-info img,
#information-info img {
	background-color: #fff;
	padding: 4px;
	border: solid 1px #ddd;
	float: right;
}

#event-info p,
#malls-info p,
#information-info p {
	line-height: 1.3;
	margin-right: 80px;
}

#event-info li a,
#malls-info li a,
#information-info li a {
	display: inline;
	padding: 0;
}

#event-info li a:hover,
#malls-info li a:hover,
#information-info li a:hover {
	background: none;
}

#event-info li p a,
#malls-info li p a,
#information-info li p a {
	color: #333;
	margin-top: 0;
}

#secondary {
	padding: 3px;
}

#secondary aside {
	margin-bottom: 15px;
}

#footer-container {
	background: url(../images/bg_footer-container.png) repeat-x bottom left;
}

#footer {
	background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.7)),
		url(/wp-content/themes/mediaimpact/images/1500x500.jpg);
	background-size: cover;
	background-position: center;
}

#copyright {
	color: #fff;
	text-align: center;
	font-size: 65%;
}
#copyright a {
	color: #695f49;
}

#footer table,
#footer p {
	width: 100%;
	margin: 30px auto 0px;
	color: #fff;
	text-align: center;
	max-width: 1262px;
	min-width: 1000px;
}
#footer table {
	margin-top: 10px;
}
#footer td,
#footer table,
#footer tr {
	background: none;
	border: none;
	font-size: 11px;
	color: #fff;
	padding: 6px;
	text-align: left;
	line-height: 15px;
}
#footer td {
	width: 20%;
}
#footer a {
	color: #fff;
}

.continue-button {
	background: url(../images/bg_continue-button-shadow.png) no-repeat left
		bottom;
	float: right;
	padding: 0 0 3px 3px;
	margin-bottom: 13px;
}

.continue-button a {
	line-height: 1;
	background: #f2e8d2 url(../images/bg_continue-button.png) no-repeat;
	display: block;
	padding: 9px 12px 7px 32px;
	box-shadow: 0 0 1px rgba(211, 194, 157, 0.8);
}

.link-text {
	display: block;
	text-align: right;
	margin-top: 15px;
	line-height: 1;
}

.link-text a:before {
	content: "> ";
}

/* ================================================================================
	#page-nav
================================================================================ */
.page-nav {
	text-align: center;
}
.page-nav li {
	display: inline;
	list-style: none outside none;
}
.page-nav li a {
	border: 1px solid rgb(230, 230, 230);
	color: rgb(102, 102, 102);
	text-decoration: none;
	border-radius: 3px;
}

.page-nav li a:hover {
	border: 1px solid rgb(230, 230, 230);
}
.page-nav li a:active {
	box-shadow: 0 0 3px rgba(0, 0, 0, 0.2) inset;
	top: 1px;
}

.page-nav li.current span {
	border: 1px solid rgb(186, 166, 132);
	color: rgb(121, 81, 15);
	font-weight: bold;
	border-radius: 3px;
}
.page-nav li.first span,
.page-nav li.previous span,
.page-nav li.next span,
.page-nav li.last span {
	background: rgb(248, 248, 248);
	border: 1px solid rgb(230, 230, 230);
	color: rgb(180, 180, 180);
	text-decoration: none;
	border-radius: 3px;
}

.page-nav li.page_nums span {
	background: rgb(102, 102, 102);
	border: 1px solid rgb(51, 51, 51);
	color: rgb(255, 255, 255);
}
.page-nav li a,
.page-nav li.current span,
.page-nav li.first span,
.page-nav li.previous span,
.page-nav li.next span,
.page-nav li.last span,
.page-nav li.page_nums span {
	padding: 0.25em 0.8em;
	display: inline-block;
	position: relative;
}

.pages-link {
	text-align: center;
}
.pages-link a span {
	border: 1px solid rgb(230, 230, 230);
	color: rgb(102, 102, 102);
	text-decoration: none;
	font-weight: normal;
}
.pages-link span {
	border: 1px solid rgb(186, 166, 132);
	color: rgb(121, 81, 15);
	font-weight: bold;
	border-radius: 3px;
	padding: 0.25em 0.8em;
	display: inline-block;
	position: relative;
}
.pages-link a:hover span {
	border: 1px solid rgb(230, 230, 230);
}
.pages-link a:active span {
	box-shadow: 0 0 3px rgba(0, 0, 0, 0.2) inset;
	top: 1px;
}

/* comment */

#comments {
	margin-top: 50px;
}

.commentlist {
	background: #f4f4f4;
	border: solid 1px #ccc;
	margin: 0;
	padding: 25px 25px 0;
	list-style: none;
}

.commentlist .avatar {
	background: #fff;
	float: left;
	padding: 2px;
	border: solid 1px #ccc;
	margin-right: 10px;
}

.commentlist .children {
	background: #eee;
	margin: 1.2em 0 25px;
	padding: 25px 25px 0;
	list-style: none;
	border: solid 1px #ccc;
}

.comment-author {
	font-weight: bold;
}

.comment-meta {
	font-size: 85%;
}

.comment-meta a {
	color: #666;
}

.comment-meta a.comment-edit-link {
	color: #1b3e61;
	background: #fff;
	padding: 1px 5px 0;
	border: solid 1px #1b3e61;
}

.comment-body {
	clear: both;
}

.comment-notes {
	text-align: right;
	margin: 0;
	font-size: 85%;
}

#respond label {
	display: block;
	background: #eee;
	padding: 3px 10px 2px 25px;
	margin: 0;
	border-top-left-radius: 5px;
	border-top-right-radius: 5px;
}

.comment-notes .required {
	float: none;
	padding-left: 0;
}

.required {
	color: #c00;
	font-weight: bold;
	float: left;
	margin-top: -1.7em;
	padding-left: 10px;
}

input#author,
input#email,
input#url,
textarea#comment {
	margin: 0;
	font-size: small;
	padding: 10px;
	width: 650px;
	border: none;
	border-bottom-left-radius: 5px;
	border-bottom-right-radius: 5px;
}

input#author,
input#email,
input#url {
	font-size: medium;
}

.comment-form-author,
.comment-form-email,
.comment-form-url,
.comment-form-comment {
	margin: 0 0 10px;
}

.form-allowed-tags {
	color: #999;
	font-size: 85%;
}
.form-submit #submit {
	background: #e8e8e8;
	padding: 10px 30px;
	border: solid 1px #a9a9a9;
	border-radius: 3px;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
	text-shadow: 1px 1px 0 #fff;
}

.form-submit #submit:hover {
	background: #ddd;
}

/* WordPress default styles */

/* Alignment */
.alignleft {
	float: left;
	margin-right: 1.6em;
}
.alignright {
	float: right;
	margin-left: 1.6em;
	text-align: right;
}
.aligncenter {
	clear: both;
	display: block;
	margin: 0 auto;
}
img.alignleft,
img.alignright,
img.aligncenter {
	margin-top: 5px;
	margin-bottom: 10px;
}
ul.alignleft {
	margin-left: 1em;
}

.entry-content img,
.comment-content img,
.widget img {
	margin-bottom: 10px;
}
.btn_link {
	display: block;
	margin: 0 auto 50px;
	width: 220px;
	text-align: center;
	background: #fff;
	border: solid 1px #ccc;
	padding: 15px;
	border-radius: 10px;
	text-decoration: none;
}

.counter {
	margin-top: 30px;
	color: #fff;
	font-size: 10px;
	display: flex;
	justify-content: center;
	align-items: center;
}

/**/

/* online-estimate */
.online_estimate_wrap.online_estimate_wrap {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
}
.online_estimate_wrap .online_estimate_banner {
	display: flex;
}

.online_estimate_wrap .online_estimate_banner img {
	width: 100%;
	max-width: 950px;
	height: 100%;
}

/* 本文領域の読みやすさ調整（2026-11） */
body.page:not(.home) #contents .entry-content .theContentWrap-ccc,
body.single #contents .entry-content .theContentWrap-ccc {
	max-width: 700px;
	margin-left: auto;
	margin-right: auto;
	font-size: 18px;
	line-height: 2;
	letter-spacing: 0.04em;
	color: #08131a;
}
body.page:not(.home) #contents .entry-content .theContentWrap-ccc p,
body.page:not(.home) #contents .entry-content .theContentWrap-ccc li,
body.single #contents .entry-content .theContentWrap-ccc p,
body.single #contents .entry-content .theContentWrap-ccc li {
	font-size: 18px;
	line-height: 2;
	letter-spacing: 0.04em;
	color: #08131a;
}
body.page:not(.home) #contents .entry-content .theContentWrap-ccc > p,
body.single #contents .entry-content .theContentWrap-ccc > p {
	margin-bottom: 32px;
}
body.page:not(.home) #contents .entry-content .theContentWrap-ccc h3,
body.single #contents .entry-content .theContentWrap-ccc h3 {
	font-size: 26px;
	line-height: 1.5;
	font-weight: 600;
	margin-top: 64px;
	margin-bottom: 28px;
}
body.page:not(.home) #contents .entry-content .theContentWrap-ccc h4,
body.single #contents .entry-content .theContentWrap-ccc h4 {
	font-size: 21px;
	line-height: 1.6;
	font-weight: 600;
	margin-top: 48px;
	margin-bottom: 20px;
}
body.page:not(.home) #contents .entry-content .theContentWrap-ccc img,
body.single #contents .entry-content .theContentWrap-ccc img {
	max-width: 100%;
	height: auto;
}
body.page:not(.home) #contents .entry-content .theContentWrap-ccc td,
body.page:not(.home) #contents .entry-content .theContentWrap-ccc th {
	font-size: 16px;
	line-height: 1.8;
}
body.page:not(.home) #contents .entry-content .theContentWrap-ccc #service_list p {
	font-size: 15px;
	line-height: 1.7;
	letter-spacing: normal;
}
body.page:not(.home) #contents .entry-content .theContentWrap-ccc #service_list {
	margin-bottom: 40px;
}

/* 見出しの飾り線を文字の高さに合わせる（2026-11） */
body.page:not(.home) #contents .entry-content .theContentWrap-ccc h3,
body.single #contents .entry-content .theContentWrap-ccc h3 {
	background-image: none;
	border-left: 4px solid #087ab3;
	padding: 4px 10px 6px 14px;
}
body.page:not(.home) #contents .entry-content .theContentWrap-ccc h4,
body.single #contents .entry-content .theContentWrap-ccc h4 {
	background-image: none;
	border-left: 4px solid #baae96;
	padding: 2px 10px 2px 14px;
}

/* 本文領域をCMEXの記事に合わせる（2026-11） */
body.page:not(.home) #contents .entry-content .theContentWrap-ccc,
body.single #contents .entry-content .theContentWrap-ccc {
	max-width: 620px;
	padding: 40px;
	background-color: #fff;
	font-family: "Helvetica Neue", "Hiragino Sans", "Hiragino Kaku Gothic ProN", Arial, "Noto Sans JP", Meiryo, sans-serif;
	letter-spacing: normal;
	-webkit-font-smoothing: antialiased;
}
body.page:not(.home) #contents .entry-content .theContentWrap-ccc p,
body.page:not(.home) #contents .entry-content .theContentWrap-ccc li,
body.single #contents .entry-content .theContentWrap-ccc p,
body.single #contents .entry-content .theContentWrap-ccc li {
	font-family: "Helvetica Neue", "Hiragino Sans", "Hiragino Kaku Gothic ProN", Arial, "Noto Sans JP", Meiryo, sans-serif;
	letter-spacing: normal;
}
body.page:not(.home) #contents .entry-content .theContentWrap-ccc > p,
body.single #contents .entry-content .theContentWrap-ccc > p {
	margin-bottom: 36px;
}
body.page:not(.home) #contents .entry-content .theContentWrap-ccc h3,
body.page:not(.home) #contents .entry-content .theContentWrap-ccc h4,
body.single #contents .entry-content .theContentWrap-ccc h3,
body.single #contents .entry-content .theContentWrap-ccc h4 {
	font-family: "Helvetica Neue", "Hiragino Sans", "Hiragino Kaku Gothic ProN", Arial, "Noto Sans JP", Meiryo, sans-serif;
	letter-spacing: normal;
}

/* 関連実績のカード表示（2026-11） */
#contents .entry-content .theContentWrap-ccc ul.relation_cards {
	display: flex;
	flex-wrap: wrap;
	gap: 32px 20px;
	list-style: none;
	margin: 0 0 40px;
	padding: 0;
}
#contents .entry-content .theContentWrap-ccc ul.relation_cards li.relation_card {
	width: calc(50% - 10px);
	margin: 0;
	padding: 0;
	list-style: none;
	background: none;
}
#contents .entry-content .theContentWrap-ccc ul.relation_cards li.relation_card_lead {
	width: 100%;
}
#contents .entry-content .theContentWrap-ccc ul.relation_cards li.relation_card a {
	display: block;
	text-decoration: none;
	color: #08131a;
}
#contents .entry-content .theContentWrap-ccc ul.relation_cards .relation_card_img {
	display: block;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	border: 1px solid #e3e3e3;
	background-color: #f4f4f4;
}
#contents .entry-content .theContentWrap-ccc ul.relation_cards .relation_card_img img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: top;
}
#contents .entry-content .theContentWrap-ccc ul.relation_cards .relation_card_title {
	display: block;
	margin-top: 10px;
	font-size: 15px;
	line-height: 1.6;
	font-weight: 600;
	letter-spacing: normal;
}
#contents .entry-content .theContentWrap-ccc ul.relation_cards li.relation_card_lead .relation_card_title {
	font-size: 20px;
}
#contents .entry-content .theContentWrap-ccc ul.relation_cards .relation_card_date {
	display: block;
	margin-top: 4px;
	font-size: 12px;
	line-height: 1.4;
	color: #777;
}

/* 見出しを小さめにして折り返しを減らす（2026-11） */
body.page:not(.home) #contents .entry-content .theContentWrap-ccc h3,
body.single #contents .entry-content .theContentWrap-ccc h3 {
	font-size: 22px;
	line-height: 1.5;
}
body.page:not(.home) #contents .entry-content .theContentWrap-ccc h4,
body.single #contents .entry-content .theContentWrap-ccc h4 {
	font-size: 19px;
	line-height: 1.5;
}

/* フッター上のサイトマップ（2026-11） */
.footer_sitemap {
	background-color: #fff;
	padding: 56px 20px 40px;
}
.footer_sitemap_inner {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 40px 32px;
	max-width: 1000px;
	margin: 0 auto;
}
.footer_sitemap_ttl {
	margin-bottom: 12px;
	padding-bottom: 8px;
	border-bottom: 2px solid #087ab3;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.5;
}
.footer_sitemap_ttl a {
	color: #087ab3;
	text-decoration: none;
}
.footer_sitemap ul {
	list-style: none;
	margin: 0;
	padding: 0;
}
.footer_sitemap li {
	margin: 0 0 8px;
	padding: 0;
	list-style: none;
	background: none;
	font-size: 14px;
	line-height: 1.6;
}
.footer_sitemap li a {
	color: #222;
	text-decoration: none;
}
.footer_sitemap li a:hover,
.footer_sitemap_ttl a:hover {
	text-decoration: underline;
}

/* 関連実績は本文幅より広く並べる（2026-11） */
#contents .entry-content .theContentWrap-ccc ul.relation_cards {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 32px 24px;
	width: 1000px;
	margin: 0 0 40px -190px;
	padding: 40px;
	box-sizing: border-box;
	background-color: #fff;
}
#contents .entry-content .theContentWrap-ccc ul.relation_cards li.relation_card {
	width: auto;
}
#contents .entry-content .theContentWrap-ccc ul.relation_cards li.relation_card_lead {
	width: auto;
	grid-column: span 2;
	grid-row: span 2;
}

/* 本文幅より広く見せる図（2026-11） */
#contents .entry-content .theContentWrap-ccc p.wide_figure {
	width: 900px;
	margin-left: -140px;
	text-align: center;
}
#contents .entry-content .theContentWrap-ccc p.wide_figure img {
	width: 100%;
	height: auto;
	border: 1px solid #e3e3e3;
}

/* サイトマップを会社情報の下・暗い背景に合わせる（2026-11） */
#footer .footer_sitemap {
	background-color: transparent;
	padding: 40px 20px 10px;
}
#footer .footer_sitemap_inner {
	max-width: 1000px;
}
#footer .footer_sitemap_ttl {
	border-bottom: 1px solid rgba(255, 255, 255, 0.5);
	text-align: left;
}
#footer .footer_sitemap_ttl a,
#footer .footer_sitemap li a {
	color: #fff;
}
#footer .footer_sitemap ul,
#footer .footer_sitemap li {
	text-align: left;
}
#footer .footer_sitemap li a {
	opacity: 0.9;
}
#footer p#footer_links_ttl {
	margin-top: 30px;
}

/* サイト全体の文字を下層ページの本文に揃える（2026-11） */
body,
#container,
#footer {
	font-family: "Helvetica Neue", "Hiragino Sans", "Hiragino Kaku Gothic ProN", Arial, "Noto Sans JP", Meiryo, sans-serif;
	letter-spacing: normal;
}
#container p,
#container li,
#container a,
#container span,
#container td,
#container th {
	letter-spacing: normal;
}
#header {
	width: 1100px;
	max-width: 100%;
}
#header .right_msg {
	width: 700px;
}
#header .right_msg p {
	font-size: 17px;
	line-height: 1.7;
}
#global-nav a,
nav#global-nav a {
	font-size: 17px;
}
body.home .page-header p {
	font-size: 18px;
	line-height: 2;
	color: #08131a;
}
body.home .update-title,
body.home .update-title a {
	font-size: 17px;
	line-height: 1.7;
}
body.home .entry-date {
	font-size: 14px;
	line-height: 1.6;
}
body.home .slick-slide a {
	font-size: 17px;
	line-height: 1.7;
}
body.home .slick-slide span {
	font-size: 14px;
	line-height: 1.7;
}
body.home #latest-columns-title {
	font-size: 22px;
	line-height: 1.5;
}
#contents .entry-content .theContentWrap-ccc p[style*="font-size:15px"] {
	font-size: 17px !important;
}
#contents .entry-content .theContentWrap-ccc ul.relation_cards .relation_card_title {
	font-size: 17px;
}
#contents .entry-content .theContentWrap-ccc ul.relation_cards li.relation_card_lead .relation_card_title {
	font-size: 22px;
}
#contents .entry-content .theContentWrap-ccc ul.relation_cards .relation_card_date {
	font-size: 14px;
}
#online-estimate p {
	font-size: 17px !important;
}
#footer #footer_link span[style*="font-size:11px"] {
	font-size: 15px !important;
	line-height: 1.9;
}
#footer #footer_link span[style*="font-size:17px"] {
	font-size: 20px !important;
}
#footer .footer_sitemap_ttl {
	font-size: 17px;
}
#footer .footer_sitemap li {
	font-size: 16px;
	line-height: 1.6;
}
#footer p#footer_links_ttl {
	font-size: 17px;
}
#footer table,
#footer table tbody {
	display: block;
	min-width: 0;
}
#footer table tbody {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	grid-auto-flow: row dense;
	max-width: 1262px;
	margin: 0 auto;
}
#footer table tr {
	display: contents;
}
#footer table td {
	width: auto;
	font-size: 14px;
	line-height: 1.6;
	padding: 6px 8px;
}
#footer table td[colspan="2"] {
	grid-column: span 2;
}
#copyright {
	font-size: 13px;
}

/* オンライン見積バナーとキャプションの間を詰める（2026-11） */
#online-estimate .online_estimate_banner,
#online-estimate .online_estimate_banner a {
	line-height: 0;
}
#online-estimate .online_estimate_banner img {
	display: block;
	height: auto !important;
}

/* ヘッダーをCMEXと同様の整列に（2026-11） */
#header {
	width: 1100px;
	min-width: 0;
	height: auto;
	min-height: 96px;
	margin: 0 auto;
	padding: 14px 0;
	box-sizing: border-box;
	overflow: visible;
	display: flex;
	align-items: center;
	justify-content: space-between;
}
#site-id {
	float: none;
	height: auto;
	padding: 0;
	margin: 0;
}
#site-id img {
	display: block;
}
#header .right_msg {
	width: 700px;
	margin: 0;
}
#global-nav {
	border-top: 1px solid #087ab3;
}
#global-nav > ul {
	width: 1100px;
	margin: 0 auto;
	justify-content: space-between;
}
#global-nav > ul > li {
	flex: 1 1 0;
	border-left: 1px solid #c8c8c8;
}
#global-nav > ul > li:last-child {
	border-right: 1px solid #c8c8c8;
}
#global-nav > ul > li > a {
	width: auto;
	padding: 12px 0 10px;
	line-height: 1.3;
}
#global-nav .nav_en {
	display: block;
	margin-top: 3px;
	font-size: 11px;
	font-weight: 400;
	letter-spacing: 0.06em;
	color: #888;
}

/* 下層ページ下部のオンライン見積で横スクロールが出ないように（2026-11） */
#online-estimate.online_estimate_wrap {
	box-sizing: border-box;
}

/* ページ内目次を左側に表示し、スクロールについてくる形に（2026-11） */
@media (min-width: 1240px) {
	#contents .entry-content .theContentWrap-ccc p.page_toc {
		position: sticky;
		top: 40px;
		z-index: 5;
		width: 220px;
		height: 0;
		margin: 0 0 0 -290px !important;
		padding: 0;
		overflow: visible;
		font-size: 0 !important;
		line-height: 0 !important;
		text-align: left !important;
	}
	#contents .entry-content .theContentWrap-ccc p.page_toc a {
		display: block;
		padding: 8px 12px;
		border-left: 3px solid #e3e3e3;
		background-color: #fff;
		font-size: 15px;
		line-height: 1.5;
		color: #08131a;
		text-decoration: none;
	}
	#contents .entry-content .theContentWrap-ccc p.page_toc a:hover {
		border-left-color: #087ab3;
		color: #087ab3;
	}
}

/* メニューの幅をヘッダーに揃える（nav.cssより優先させる）（2026-11） */
nav#global-nav > ul#menu-global {
	width: 1100px;
	margin: 0 auto;
	justify-content: space-between;
}

/* 目次の文字を本文・メニューに揃え、見出しを付ける（2026-11） */
@media (min-width: 1240px) {
	#contents .entry-content .theContentWrap-ccc p.page_toc {
		width: 240px;
		margin: 0 0 0 -300px !important;
	}
	#contents .entry-content .theContentWrap-ccc p.page_toc::before {
		content: "このページの目次";
		display: block;
		padding: 14px 14px 10px;
		border-bottom: 2px solid #087ab3;
		background-color: #fff;
		font-size: 17px;
		line-height: 1.5;
		font-weight: 600;
		color: #087ab3;
	}
	#contents .entry-content .theContentWrap-ccc p.page_toc a {
		padding: 9px 14px;
		border-left: 0;
		border-bottom: 1px solid #eee;
		font-size: 17px;
		line-height: 1.6;
	}
	#contents .entry-content .theContentWrap-ccc p.page_toc a:last-child {
		border-bottom: 0;
		padding-bottom: 14px;
	}
	#contents .entry-content .theContentWrap-ccc p.page_toc a:hover {
		background-color: #f4f8fb;
	}
}

/* サイト全体を1100pxの共通グリッドに揃える（2026-11） */
body:not(.home) #contents-body {
	width: 1100px;
	padding: 10px 0 0;
	box-sizing: border-box;
}
body:not(.home) #contents,
body:not(.home) #contents article,
body:not(.home) #contents .entry-content {
	width: 100%;
	padding: 0;
	box-sizing: border-box;
}
body.page:not(.home) #contents .entry-content .theContentWrap-ccc,
body.single #contents .entry-content .theContentWrap-ccc {
	max-width: 800px;
	padding: 56px 60px;
	box-sizing: border-box;
	margin-left: auto;
	margin-right: auto;
}
#contents .entry-content .theContentWrap-ccc ul.relation_cards {
	width: 1100px;
	margin-left: -150px;
}
#contents .entry-content .theContentWrap-ccc p.wide_figure {
	width: 800px;
	margin-left: -60px;
}
#contents .entry-content .theContentWrap-ccc p.wide_figure img {
	border-left: 0;
	border-right: 0;
}
#footer .footer_sitemap_inner {
	max-width: 1100px;
}
@media (min-width: 1240px) {
	body.page:not(.home) #contents .entry-content .theContentWrap-ccc:has(p.page_toc) {
		margin-left: 300px;
		margin-right: 0;
	}
	#contents .entry-content .theContentWrap-ccc:has(p.page_toc) ul.relation_cards {
		margin-left: -360px;
	}
	#contents .entry-content .theContentWrap-ccc p.page_toc {
		width: 260px;
		margin: 0 0 0 -360px !important;
	}
}
#online-estimate.online_estimate_wrap {
	width: 1100px;
	margin: 0 auto;
	padding: 40px 0 50px !important;
}
#online-estimate .online_estimate_banner img {
	max-width: 800px !important;
	width: 800px !important;
}
body:has(p.page_toc) #online-estimate.online_estimate_wrap {
	align-items: flex-end;
}
#footer p#footer_link,
#footer p#footer_links_ttl {
	max-width: 1100px;
	min-width: 0;
	text-align: left;
}
#footer table tbody {
	max-width: 1100px;
}
#footer table td {
	padding: 6px 12px 6px 0;
}
#online-estimate p {
	width: 800px;
}
#footer table tbody {
	grid-template-columns: repeat(3, 1fr);
}
#wrap {
	background-image: none;
}
#global-nav {
	border-bottom: 1px solid #ddd;
}
#global-nav > ul > li > a {
	color: #08131a;
}
#global-nav > ul > li > a:hover,
#global-nav > ul > li.current-menu-item > a,
#global-nav > ul > li.current-menu-ancestor > a,
#global-nav > ul > li.current-page-ancestor > a {
	color: #087ab3;
	background-color: #f4f8fb;
}

/* 見出し帯をロゴの左端から右端に収め、上下の余白を詰める（2026-11） */
body:not(.home) #contents-body {
	padding-top: 24px;
}
body:not(.home) #contents article {
	margin: 0;
}
body.page:not(.home) #contents .entry-content .theContentWrap-ccc,
body.single #contents .entry-content .theContentWrap-ccc {
	padding-top: 40px;
	padding-bottom: 48px;
}
#contents .entry-content .theContentWrap-ccc > :first-child {
	margin-top: 0;
}
#contents .entry-content .theContentWrap-ccc > :last-child {
	margin-bottom: 0;
}
#online-estimate.online_estimate_wrap {
	padding: 32px 0 40px !important;
}
#footer-container {
	padding-top: 0;
}
#footer {
	margin-top: 0;
	padding-top: 32px;
}
#footer p#footer_link {
	margin-top: 0;
}
#footer .footer_sitemap {
	padding: 24px 0 0;
}
#footer p#footer_links_ttl {
	margin-top: 32px;
}

/* このページの目次：今読んでいる見出しを示す（2026-11） */
@media (min-width: 1240px) {
	#contents .entry-content .theContentWrap-ccc p.page_toc {
		margin: -40px 0 0 -360px !important;
	}
	#contents .entry-content .theContentWrap-ccc p.page_toc a.is-current {
		position: relative;
		padding-left: 28px;
		background-color: #f4f8fb;
		color: #087ab3;
		font-weight: 600;
	}
	#contents .entry-content .theContentWrap-ccc p.page_toc a.is-current::before {
		content: "▶";
		position: absolute;
		left: 10px;
		top: 50%;
		transform: translateY(-50%);
		font-size: 11px;
		line-height: 1;
		color: #087ab3;
	}
}

/* トップページもロゴの左端から右端の1100pxに収める（2026-11） */
body.home #contents-body {
	width: 1100px;
	padding: 0;
	box-sizing: border-box;
}

/* トップの紹介文：文字を大きくしても手動の改行位置が崩れない幅に（2026-11） */
body.home .page-header p {
	width: 820px;
	max-width: 100%;
	margin-left: auto;
	margin-right: auto;
}

/* このページの目次：関連実績まで来たら隠す（2026-11） */
@media (min-width: 1240px) {
	#contents .entry-content .theContentWrap-ccc p.page_toc {
		transition: opacity 0.2s;
	}
	#contents .entry-content .theContentWrap-ccc p.page_toc.is-hidden {
		opacity: 0;
		visibility: hidden;
	}
}

/* メニューの枠線を1色に統一し、1100pxの枠内だけに引く（2026-11） */
#global-nav {
	border-top: 0;
	border-bottom: 0;
}
nav#global-nav > ul#menu-global {
	border-top: 1px solid #d4cdbf;
	border-bottom: 1px solid #d4cdbf;
}
#global-nav > ul > li {
	border-left: 1px solid #d4cdbf;
}
#global-nav > ul > li:last-child {
	border-right: 1px solid #d4cdbf;
}

/* メニューの現在地・マウスオンの背景をベージュ系に揃える（2026-11） */
#global-nav > ul > li > a:hover,
#global-nav > ul > li.current-menu-item > a,
#global-nav > ul > li.current-menu-ancestor > a,
#global-nav > ul > li.current-page-ancestor > a {
	background-color: #f1ebdf;
}

/* 見出し帯の文字を読みやすく（2026-11） */
body:not(.home) h1.page-title {
	background-image: linear-gradient(rgba(20, 20, 20, 0.45), rgba(20, 20, 20, 0.45)), url("/wp-content/themes/mediaimpact/images/1500x500.jpg");
	font-size: 34px;
	font-weight: 600;
	letter-spacing: 0.06em;
	color: #fff;
	text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

/* 上部メニューと見出し帯の間を空ける（2026-11） */
body:not(.home) .page-header {
	margin-top: 24px;
}

/* ロゴの下端とキャッチコピーの下端を揃える（2026-11） */
#header {
	align-items: flex-end;
}
#site-id {
	padding-left: 8px;
	margin-bottom: 5px;
}

/* トップのスライドショーと上部メニューの間を下層ページと同じ24pxに（2026-11） */
body.home #branding {
	margin-top: 19px;
}

/* Web制作のポップアップをメニューの真下から出す（2026-11） */
#global-nav > ul > li > ul.sub-menu {
	top: 100%;
	left: -1px;
	transform: none;
	width: calc(100% + 2px);
	box-sizing: border-box;
	border: 1px solid #d4cdbf;
	border-top: 0;
	border-radius: 0;
}

/* このページの目次：行間を広げる（2026-11） */
@media (min-width: 1240px) {
	#contents .entry-content .theContentWrap-ccc p.page_toc a {
		padding-top: 12px;
		padding-bottom: 12px;
		line-height: 1.7;
	}
	#contents .entry-content .theContentWrap-ccc p.page_toc a:last-child {
		padding-bottom: 16px;
	}
}

/* 目次の直後の要素は上の余白を取らない（2026-11） */
#contents .entry-content .theContentWrap-ccc > p.page_toc + * {
	margin-top: 0;
}

/* 本文の最初の要素は上の余白を取らない（見出しの余白より優先）（2026-11） */
#contents .entry-content .theContentWrap-ccc > p.page_toc + *,
#contents .entry-content .theContentWrap-ccc > :first-child:not(.page_toc) {
	margin-top: 0 !important;
}

/* 上部メニュー：システム開発・ブラウザゲームのページではWeb制作を現在地にしない（2026-11） */
#global-nav > ul > li#menu-item-5203.current-menu-ancestor:not(.current-menu-item) > a,
#global-nav > ul > li#menu-item-5203.current-page-ancestor:not(.current-menu-item) > a {
	background-color: transparent;
	color: #08131a;
}
body.page-id-3118 #global-nav > ul > li#menu-item-5203 > a,
body.page-id-2313 #global-nav > ul > li#menu-item-5203 > a {
	background-color: transparent;
	color: #08131a;
}

/* 目次は白地の上端に揃え、本文は白地の余白40pxから始める（2026-11） */
@media (min-width: 1240px) {
	#contents .entry-content .theContentWrap-ccc p.page_toc {
		margin: 0 0 0 -360px !important;
		top: 80px;
		transform: translateY(-40px);
	}
}

/* 会社概要に統合したメディア掲載・CSR活動の小見出し（2026-11） */
body.page:not(.home) #contents .entry-content .theContentWrap-ccc h5 {
	margin: 32px 0 12px;
	font-size: 18px;
	line-height: 1.6;
	font-weight: 600;
	color: #08131a;
}

/* 白地の上の余白を56pxに戻し、目次は白地の上端に揃える（2026-11） */
body.page:not(.home) #contents .entry-content .theContentWrap-ccc,
body.single #contents .entry-content .theContentWrap-ccc {
	padding-top: 56px;
}
@media (min-width: 1240px) {
	#contents .entry-content .theContentWrap-ccc p.page_toc {
		top: 96px;
		transform: translateY(-56px);
	}
}

/* メールフォームの入力欄を現代的な見た目に（2026-11） */
#contents .entry-content .theContentWrap-ccc .wpcf7 form p {
	margin: 0 0 8px;
	font-weight: 600;
	font-size: 17px;
	line-height: 1.6;
}
#contents .entry-content .theContentWrap-ccc .wpcf7 form p:has(.wpcf7-form-control-wrap) {
	margin-bottom: 28px;
	font-weight: 400;
}
#contents .entry-content .theContentWrap-ccc .wpcf7 form p:has([data-name="last-name"]) {
	display: flex;
	gap: 12px;
}
#contents .entry-content .theContentWrap-ccc .wpcf7 form p:has([data-name="last-name"]) .wpcf7-form-control-wrap {
	flex: 1 1 0;
}
#contents .entry-content .theContentWrap-ccc .wpcf7 form .wpcf7-form-control-wrap {
	display: block;
}
#contents .entry-content .theContentWrap-ccc .wpcf7 form input[type="text"],
#contents .entry-content .theContentWrap-ccc .wpcf7 form input[type="email"],
#contents .entry-content .theContentWrap-ccc .wpcf7 form input[type="tel"],
#contents .entry-content .theContentWrap-ccc .wpcf7 form input[type="url"],
#contents .entry-content .theContentWrap-ccc .wpcf7 form textarea {
	display: block;
	width: 100%;
	box-sizing: border-box;
	padding: 12px 14px;
	border: 1px solid #cfc8b8;
	border-radius: 6px;
	background-color: #fff;
	font-family: inherit;
	font-size: 17px;
	line-height: 1.6;
	color: #08131a;
	transition: border-color 0.15s, box-shadow 0.15s;
}
#contents .entry-content .theContentWrap-ccc .wpcf7 form textarea {
	min-height: 220px;
	resize: vertical;
}
#contents .entry-content .theContentWrap-ccc .wpcf7 form input:focus,
#contents .entry-content .theContentWrap-ccc .wpcf7 form textarea:focus {
	outline: none;
	border-color: #087ab3;
	box-shadow: 0 0 0 3px rgba(8, 122, 179, 0.18);
}
#contents .entry-content .theContentWrap-ccc .wpcf7 form input[type="submit"] {
	display: block;
	margin: 8px auto 0;
	padding: 14px 56px;
	border: 0;
	border-radius: 999px;
	background-color: #087ab3;
	color: #fff;
	font-family: inherit;
	font-size: 17px;
	font-weight: 600;
	letter-spacing: 0.1em;
	cursor: pointer;
	transition: background-color 0.15s;
}
#contents .entry-content .theContentWrap-ccc .wpcf7 form input[type="submit"]:hover {
	background-color: #06618f;
}
#contents .entry-content .theContentWrap-ccc .wpcf7 form .wpcf7-not-valid-tip {
	margin-top: 6px;
	font-size: 15px;
}
/* メールフォームを詰めて、入力欄は必要な幅と高さだけにする（2026-11） */
#contents .entry-content .theContentWrap-ccc .wpcf7 form p {
	margin: 0 0 4px;
	line-height: 1.4;
}
#contents .entry-content .theContentWrap-ccc .wpcf7 form p:has(.wpcf7-form-control-wrap) {
	margin-bottom: 12px;
	font-weight: 600;
}
#contents .entry-content .theContentWrap-ccc .wpcf7 form p:has([data-name="last-name"]) {
	display: block;
}
#contents .entry-content .theContentWrap-ccc .wpcf7 form .wpcf7-form-control-wrap {
	display: block;
	margin-top: 4px;
	font-weight: 400;
}
#contents .entry-content .theContentWrap-ccc .wpcf7 form p:has([data-name="last-name"]) .wpcf7-form-control-wrap {
	display: inline-block;
	margin-right: 8px;
}
#contents .entry-content .theContentWrap-ccc .wpcf7 form input[type="text"],
#contents .entry-content .theContentWrap-ccc .wpcf7 form input[type="email"],
#contents .entry-content .theContentWrap-ccc .wpcf7 form input[type="tel"],
#contents .entry-content .theContentWrap-ccc .wpcf7 form input[type="url"],
#contents .entry-content .theContentWrap-ccc .wpcf7 form textarea {
	width: 26em;
	max-width: 100%;
	padding: 5px 10px;
	font-size: 16px;
	line-height: 1.5;
}
#contents .entry-content .theContentWrap-ccc .wpcf7 form input.form-name {
	width: 9em;
}
#contents .entry-content .theContentWrap-ccc .wpcf7 form input[type="tel"] {
	width: 14em;
}
#contents .entry-content .theContentWrap-ccc .wpcf7 form textarea {
	width: 100%;
	min-height: 0;
	height: calc(1.5em * 6 + 12px);
}
#contents .entry-content .theContentWrap-ccc .wpcf7 form ::placeholder {
	color: #9a9a9a;
	opacity: 1;
}
#contents .entry-content .theContentWrap-ccc .wpcf7 form input[type="submit"] {
	margin-top: 4px;
	padding: 10px 56px;
}

/* フッターの会社情報を中央寄せで読みやすく（2026-11） */
#footer .footer_company {
	max-width: 1100px;
	margin: 0 auto;
	text-align: center;
	color: #fff;
}
#footer .footer_company p {
	width: auto;
	min-width: 0;
	max-width: none;
	margin: 0 auto;
	text-align: center;
	color: #fff;
	font-size: 15px;
	line-height: 1.9;
}
#footer .footer_company p.footer_catch {
	margin-bottom: 28px;
	font-size: 16px;
}
#footer .footer_company p.footer_name {
	margin-bottom: 10px;
	font-size: 20px;
	font-weight: 600;
}
#footer .footer_company p.footer_addr {
	margin-bottom: 6px;
}
#footer .footer_company p.footer_tel {
	margin-bottom: 18px;
}
#footer .footer_company p.footer_sns a {
	display: inline-block;
	margin: 0 10px;
}

/* 上部メニュー：囲み線をやめ、短い区切り線と現在地の下線だけにする（2026-11） */
nav#global-nav > ul#menu-global {
	border-top: 0;
	border-bottom: 0;
}
#global-nav > ul > li,
#global-nav > ul > li:last-child {
	border-left: 0;
	border-right: 0;
}
#global-nav > ul > li > a {
	position: relative;
}
#global-nav > ul > li + li > a::before {
	content: "";
	position: absolute;
	left: 0;
	top: 30%;
	width: 1px;
	height: 40%;
	background-color: #cfc6b4;
}
#global-nav > ul > li > a:hover,
#global-nav > ul > li.current-menu-item > a,
#global-nav > ul > li.current-menu-ancestor > a,
#global-nav > ul > li.current-page-ancestor > a {
	background-color: transparent;
	color: #087ab3;
	box-shadow: inset 0 -3px 0 #087ab3;
}
#global-nav > ul > li#menu-item-5203.current-menu-ancestor:not(.current-menu-item) > a,
#global-nav > ul > li#menu-item-5203.current-page-ancestor:not(.current-menu-item) > a,
body.page-id-3118 #global-nav > ul > li#menu-item-5203 > a,
body.page-id-2313 #global-nav > ul > li#menu-item-5203 > a {
	color: #08131a;
	box-shadow: none;
}
#global-nav > ul > li#menu-item-5203 > a:hover {
	color: #087ab3;
	box-shadow: inset 0 -3px 0 #087ab3;
}

/* トップページではオンライン見積のバナーを出さない（2026-11） */
body.home #online-estimate {
	display: none;
}

/* トップの新着制作実績とお知らせを1100pxの枠いっぱいに並べる（2026-11） */
body.home section[style*="width: 450px"] {
	width: 530px !important;
}

/* 取引先・関連リンク集を4段組みに（2026-11） */
#footer table tbody {
	grid-template-columns: repeat(4, 1fr);
}
#footer table td {
	padding: 5px 4px 5px 0;
	font-size: 13px;
	letter-spacing: -0.02em;
}

/* 取引先・関連リンク集：列の間に余白を入れる（2026-11） */
#footer table tbody {
	column-gap: 20px;
}
#footer table td {
	padding-right: 0;
}

/* 取引先・関連リンク集はコンテンツ幅に縛らず広く4段組みに（2026-11） */
#footer table,
#footer table tbody {
	max-width: 1400px;
}
#footer table tbody {
	column-gap: 24px;
}
#footer table td {
	font-size: 14px;
	letter-spacing: normal;
}

/* 上部メニュー：両端にも区切り線を入れる（2026-11） */
#global-nav > ul > li:first-child > a::before,
#global-nav > ul > li:last-child > a::after {
	content: "";
	position: absolute;
	top: 30%;
	width: 1px;
	height: 40%;
	background-color: #cfc6b4;
}
#global-nav > ul > li:first-child > a::before {
	left: 0;
}
#global-nav > ul > li:last-child > a::after {
	right: 0;
}

/* 上部メニューの区切り線を少し太く（2026-11） */
#global-nav > ul > li + li > a::before,
#global-nav > ul > li:first-child > a::before,
#global-nav > ul > li:last-child > a::after {
	width: 2px;
	background-color: #c4b9a3;
}
#global-nav > ul > li + li > a::before,
#global-nav > ul > li:first-child > a::before {
	left: -1px;
}
#global-nav > ul > li:last-child > a::after {
	right: -1px;
}

/* 上部メニューの区切り線を少し高く（2026-11） */
#global-nav > ul > li + li > a::before,
#global-nav > ul > li:first-child > a::before,
#global-nav > ul > li:last-child > a::after {
	top: 20%;
	height: 60%;
}

/* Web制作のポップアップを4列の整った一覧に（2026-11） */
#global-nav #menu-item-5203:hover > ul.sub-menu {
	display: grid;
}
#global-nav #menu-item-5203 > ul.sub-menu {
	grid-template-columns: repeat(4, 1fr);
	gap: 0 32px;
	padding: 28px 32px 32px;
	background-color: #fff;
	box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
	font-size: 15px;
}
#global-nav #menu-item-5203 > ul.sub-menu > li,
#global-nav #menu-item-5203 ul li,
#global-nav #menu-item-5203 ul ul li:first-child {
	float: none;
	width: auto;
	max-width: none;
	margin: 0;
	padding: 0;
}
#global-nav #menu-item-5203 > ul.sub-menu > li > a {
	display: block;
	width: auto;
	margin: 0 0 8px;
	padding: 0 0 10px;
	border-bottom: 2px solid #087ab3;
	color: #087ab3;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.5;
	text-indent: 0;
	text-decoration: none;
	text-align: left;
}
#global-nav #menu-item-5203 > ul.sub-menu > li > a::before,
#global-nav #menu-item-5203 ul ul a::before {
	content: none !important;
}
#global-nav #menu-item-5203 ul ul {
	display: block;
	position: static;
	width: auto;
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
	transform: none;
	box-shadow: none;
}
#global-nav #menu-item-5203 ul ul a,
#global-nav #menu-item-5203 ul li:not(#menu-item-5324) ul a {
	position: relative;
	display: block;
	width: auto;
	height: auto;
	margin: 0;
	padding: 7px 0 7px 14px;
	border-bottom: 1px solid #eee5d6;
	color: #08131a;
	font-size: 15px;
	font-weight: 400;
	line-height: 1.5;
	text-indent: 0;
	text-decoration: none;
	text-align: left;
}
#global-nav #menu-item-5203 ul ul a::after {
	content: "›";
	position: absolute;
	left: 2px;
	top: 7px;
	color: #087ab3;
}
#global-nav #menu-item-5203 ul ul a:hover {
	color: #087ab3;
	background-color: #f7f3ea;
}
#global-nav #menu-item-5203 ul li:not(#menu-item-5324) ul a::before,
#global-nav #menu-item-5203 ul li ul a::before {
	content: none !important;
	display: none !important;
}
#global-nav #menu-item-5203 > ul.sub-menu {
	width: 1280px;
	left: 50%;
	transform: translateX(-50%);
	gap: 0 40px;
	padding: 32px 40px 36px;
}
#global-nav #menu-item-5203 > ul.sub-menu > li > a,
#global-nav #menu-item-5203 > ul.sub-menu > li#menu-item-5324 > a {
	display: block;
	height: auto;
	box-sizing: content-box;
}
#global-nav #menu-item-5203 ul ul,
#global-nav #menu-item-5203 #menu-item-5324 ul.sub-menu {
	margin-top: 0;
}
#global-nav #menu-item-5203 ul ul a {
	white-space: nowrap;
}
#global-nav #menu-item-5203 ul li:not(#menu-item-5324) ul li:first-child {
	margin-top: 0;
}

/* ヘッダーのキャッチコピー：1行目を太く、文字色を濃く（2026-11） */
#header .right_msg p {
	color: #08131a;
	line-height: 1.8;
}

/* 取引先・関連リンク集の見出しは中央寄せ（2026-11） */
#footer p#footer_links_ttl {
	text-align: center;
}

/* 取引先・関連リンク集の上はサイトマップと区別できるよう広めに空ける（2026-11） */
#footer p#footer_links_ttl {
	margin-top: 72px;
}


/* お知らせ記事の日付はタイトルの下に中央寄せ（2026-11） */
body.single #contents p.post_date {
	margin: -8px 0 24px;
	text-align: center;
	font-size: 15px;
	color: #777;
}

/* トップの見出しを下層ページの見出しと同じ形に（2026-11） */
body.home #latest-columns-title {
	margin: 0 0 20px;
	padding: 4px 10px 6px 14px;
	background-image: none;
	border-left: 4px solid #087ab3;
	border-bottom: 1px solid #454036;
	font-size: 22px;
	font-weight: 600;
	line-height: 1.5;
	color: #08131a;
}

/* 上部メニュー：Web制作にドロップダウンがあることを▼で示す（2026-11） */
#global-nav > ul > li#menu-item-5203 > a::after {
	content: "▼";
	position: static;
	display: inline-block;
	margin-left: 6px;
	font-size: 10px;
	vertical-align: 2px;
	color: #087ab3;
}

/* ボタン型リンクは文字数に合わせて幅を広げ、途中で改行しない（2026-11） */
#contents .entry-content .theContentWrap-ccc a.btn_link {
	display: table;
	width: auto;
	min-width: 220px;
	max-width: 100%;
	box-sizing: border-box;
	margin-left: auto;
	margin-right: auto;
	padding: 12px 32px;
	white-space: nowrap;
	text-align: center;
}

/* 枠線なしの図（2026-11） */
#contents .entry-content .theContentWrap-ccc p.wide_figure.wide_figure_plain img {
	border: 0;
}

body.page-id-97 #contents .theContentWrap-ccc td:first-child {
	white-space: nowrap;
	padding-right: 16px;
}

/* 本文内の制作事例カード（2列・キャプチャ付き）（2026-11） */
#contents .entry-content .theContentWrap-ccc ul.case_cards {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 28px 20px;
	list-style: none;
	margin: 8px 0 36px;
	padding: 0;
}
#contents .entry-content .theContentWrap-ccc ul.case_cards li {
	margin: 0;
	padding: 0;
	list-style: none;
	background: none;
}
#contents .entry-content .theContentWrap-ccc ul.case_cards a {
	display: block;
	text-decoration: none;
	color: #08131a;
}
#contents .entry-content .theContentWrap-ccc ul.case_cards .case_card_img {
	display: block;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	border: 1px solid #e3e3e3;
	background-color: #f4f4f4;
}
#contents .entry-content .theContentWrap-ccc ul.case_cards .case_card_img img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: top;
}
#contents .entry-content .theContentWrap-ccc ul.case_cards .case_card_title {
	display: block;
	margin-top: 8px;
	font-size: 15px;
	line-height: 1.6;
	font-weight: 600;
}
#contents .entry-content .theContentWrap-ccc ul.case_cards .case_card_date {
	display: block;
	margin-top: 2px;
	font-size: 13px;
	color: #777;
}
#contents .entry-content .theContentWrap-ccc ul.case_cards a:hover .case_card_title {
	color: #087ab3;
	text-decoration: underline;
}
#contents .entry-content .theContentWrap-ccc p.case_list {
	font-size: 16px;
	line-height: 1.9;
}

/* Web制作のドロップダウンの文字を大きく（2026-11） */
#global-nav #menu-item-5203 > ul.sub-menu {
	width: min(1440px, 96vw);
}
#global-nav #menu-item-5203 > ul.sub-menu > li > a {
	font-size: 18px;
}
#global-nav #menu-item-5203 ul ul a,
#global-nav #menu-item-5203 ul li:not(#menu-item-5324) ul a {
	font-size: 17px;
	padding-top: 8px;
	padding-bottom: 8px;
}
#global-nav #menu-item-5203 ul ul a::after {
	top: 8px;
}

/* 目次：▶の入る場所をあらかじめ空けて、文字位置を動かさない（2026-11） */
@media (min-width: 1240px) {
	#contents .entry-content .theContentWrap-ccc p.page_toc a,
	#contents .entry-content .theContentWrap-ccc p.page_toc a.is-current {
		position: relative;
		padding-left: 28px;
	}
}

/* ページ内リンクはスムーズにスクロールし、見出しの上に余白を残す（2026-11） */
html {
	scroll-behavior: smooth;
}
#contents [id] {
	scroll-margin-top: 40px;
}

/* 制作の流れの図も本文の幅に収める（2026-11） */
#contents .entry-content .theContentWrap-ccc p.wide_figure {
	width: auto;
	margin-left: 0;
}

/* 図のキャプション：図のすぐ下に短く（2026-11） */
#contents .entry-content .theContentWrap-ccc p.wide_figure {
	margin-bottom: 6px;
}
#contents .entry-content .theContentWrap-ccc p.figure_caption {
	margin: 0 0 32px;
	text-align: center;
	font-size: 15px;
	line-height: 1.7;
	color: #555;
}

/* 本文内のシンプルな表（2026-11） */
#contents .entry-content .theContentWrap-ccc table.simple_table {
	width: 100%;
	margin: 8px 0 32px;
	border-collapse: collapse;
	border-top: 2px solid #087ab3;
}
#contents .entry-content .theContentWrap-ccc table.simple_table th,
#contents .entry-content .theContentWrap-ccc table.simple_table td {
	padding: 12px 14px;
	border: 0;
	border-bottom: 1px solid #e3dccd;
	font-size: 16px;
	line-height: 1.7;
	text-align: left;
	vertical-align: top;
	background: none;
}
#contents .entry-content .theContentWrap-ccc table.simple_table thead th {
	background-color: #f4f8fb;
	color: #087ab3;
	font-weight: 600;
}
#contents .entry-content .theContentWrap-ccc table.simple_table tbody th {
	width: 34%;
	background-color: #faf7f1;
	font-weight: 600;
	white-space: nowrap;
}

/* 目次：今読んでいる章の小見出しを開いて表示する（2026-11） */
@media (min-width: 1240px) {
	#contents .entry-content .theContentWrap-ccc p.page_toc span.toc_sub {
		display: none;
		padding: 4px 0 8px;
		border-bottom: 1px solid #eee;
		background-color: #fbfdfe;
	}
	#contents .entry-content .theContentWrap-ccc p.page_toc span.toc_sub.is-open {
		display: block;
		max-height: 40vh;
		overflow-y: auto;
	}
	#contents .entry-content .theContentWrap-ccc p.page_toc span.toc_sub a,
	#contents .entry-content .theContentWrap-ccc p.page_toc span.toc_sub a.is-current {
		padding: 5px 12px 5px 40px;
		border: 0;
		background-color: transparent;
		font-size: 15px;
		line-height: 1.5;
		font-weight: 400;
		color: #555;
	}
	#contents .entry-content .theContentWrap-ccc p.page_toc span.toc_sub a:last-child {
		padding-bottom: 5px;
	}
	#contents .entry-content .theContentWrap-ccc p.page_toc span.toc_sub a::before {
		content: "";
		position: absolute;
		left: 28px;
		top: 50%;
		width: 5px;
		height: 5px;
		margin-top: -2px;
		border-radius: 50%;
		background-color: #c4b9a3;
	}
	#contents .entry-content .theContentWrap-ccc p.page_toc span.toc_sub a.is-current {
		color: #087ab3;
		font-weight: 600;
	}
	#contents .entry-content .theContentWrap-ccc p.page_toc span.toc_sub a.is-current::before {
		content: "";
		background-color: #087ab3;
		transform: none;
	}
	#contents .entry-content .theContentWrap-ccc p.page_toc span.toc_sub a:hover {
		color: #087ab3;
	}
}

/* 会社概要・メディア掲載・CSR活動の表（2026-11） */
#contents .entry-content .theContentWrap-ccc table.company_table tbody th,
#contents .entry-content .theContentWrap-ccc table.media_table tbody th,
#contents .entry-content .theContentWrap-ccc table.csr_table tbody th {
	width: 32%;
	white-space: normal;
}
#contents .entry-content .theContentWrap-ccc table.csr_table thead th {
	white-space: nowrap;
}
#contents .entry-content .theContentWrap-ccc table.history_table tbody th {
	width: 7.5em;
	white-space: nowrap;
}
#contents .entry-content .theContentWrap-ccc table.simple_table td p,
#contents .entry-content .theContentWrap-ccc table.simple_table th p {
	margin: 0;
	font-size: inherit;
	line-height: inherit;
}
#contents .entry-content .theContentWrap-ccc table.simple_table .cell_note {
	display: block;
	margin-top: 6px;
	font-size: 14px;
	line-height: 1.7;
	color: #555;
}
#contents .entry-content .theContentWrap-ccc table.simple_table .cell_map iframe {
	display: block;
	width: 100%;
	height: 240px;
	margin-top: 10px;
	border: 0;
}
#contents .entry-content .theContentWrap-ccc table.simple_table ul.cell_list {
	margin: 0;
	padding: 0 0 0 1.2em;
	list-style: disc;
}
#contents .entry-content .theContentWrap-ccc table.simple_table ul.cell_list li {
	margin: 0 0 2px;
	padding: 0;
	font-size: 16px;
	line-height: 1.7;
	list-style: disc;
	background: none;
}
#contents .entry-content .theContentWrap-ccc table.simple_table ul.cell_list.cols2 {
	columns: 2;
	column-gap: 28px;
}
#contents .entry-content .theContentWrap-ccc table.simple_table ul.cell_list.cols2 li {
	break-inside: avoid;
}

/* 本文中の列挙を箇条書きに（2026-11） */
#contents .entry-content .theContentWrap-ccc ul.bullet_list {
	margin: 4px 0 24px 1.4em;
	padding: 0;
	list-style: disc;
}
#contents .entry-content .theContentWrap-ccc ul.bullet_list li {
	margin: 0 0 4px;
	padding: 0;
	line-height: 1.8;
	list-style: disc;
}
#contents .entry-content .theContentWrap-ccc ul.bullet_list.cols2 {
	columns: 2;
	column-gap: 32px;
}
#contents .entry-content .theContentWrap-ccc ul.bullet_list.cols2 li {
	break-inside: avoid;
}

/* 外部パートナーの表（2026-11） */
#contents .entry-content .theContentWrap-ccc table.partner_table tbody th {
	width: 32%;
	white-space: normal;
}
#contents .entry-content .theContentWrap-ccc table.partner_table .cell_note {
	margin: 0 0 8px;
}

/* 表の体裁を統一：見出し列の幅をそろえ、色を控える（2026-11） */
#contents .entry-content .theContentWrap-ccc table.simple_table {
	table-layout: fixed;
	border-top: 1px solid #b9b2a5;
}
#contents .entry-content .theContentWrap-ccc table.simple_table th,
#contents .entry-content .theContentWrap-ccc table.simple_table td {
	border-bottom: 1px solid #e3dccd;
	background: none;
	color: #08131a;
}
#contents .entry-content .theContentWrap-ccc table.simple_table thead th {
	border-bottom: 1px solid #b9b2a5;
	background: none;
	color: #08131a;
	font-weight: 600;
}
#contents .entry-content .theContentWrap-ccc table.simple_table tbody th,
#contents .entry-content .theContentWrap-ccc table.simple_table thead th:first-child,
#contents .entry-content .theContentWrap-ccc table.company_table tbody th,
#contents .entry-content .theContentWrap-ccc table.media_table tbody th,
#contents .entry-content .theContentWrap-ccc table.csr_table tbody th,
#contents .entry-content .theContentWrap-ccc table.partner_table tbody th,
#contents .entry-content .theContentWrap-ccc table.history_table tbody th {
	width: 30%;
	white-space: normal;
	background: none;
	font-weight: 600;
}
#contents .entry-content .theContentWrap-ccc table.simple_table .cell_note {
	display: block;
	margin: 6px 0 0;
	color: #555;
}
#contents .entry-content .theContentWrap-ccc table.simple_table .cell_rel {
	margin-top: 14px;
}

/* 表の本文は文節で折り返さず、行末まで詰めて流す（2026-11） */
#contents .entry-content .theContentWrap-ccc table.simple_table td,
#contents .entry-content .theContentWrap-ccc table.simple_table td .cell_note {
	word-break: normal;
	text-wrap: wrap;
}

/* 3列の表（広告の関連実績）の列幅（2026-11） */
#contents .entry-content .theContentWrap-ccc table.ads_table thead th:first-child,
#contents .entry-content .theContentWrap-ccc table.ads_table tbody th {
	width: 18%;
}
#contents .entry-content .theContentWrap-ccc table.ads_table thead th:nth-child(2) {
	width: 24%;
}

/* トップページ：実績・お知らせの下とフッターの間をあける（2026-11） */
body.home #container::after {
	content: "";
	display: block;
	clear: both;
	height: 50px;
}

/* 目次：小目次を最初から開き、目次全体は画面の高さに収めてスクロール（2026-11） */
@media (min-width: 1240px) {
	#contents .entry-content .theContentWrap-ccc p.page_toc span.toc_scroll {
		display: block;
		max-height: calc(100vh - 150px);
		overflow-y: auto;
		background-color: #fff;
	}
	#contents .entry-content .theContentWrap-ccc p.page_toc.toc_all_open span.toc_sub,
	#contents .entry-content .theContentWrap-ccc p.page_toc.toc_all_open span.toc_sub.is-open {
		display: block;
		max-height: none;
		overflow: visible;
	}
}

/* 図とキャプションの間をあけない（2026-11） */
#contents .entry-content .theContentWrap-ccc p.wide_figure {
	margin-bottom: 0 !important;
	line-height: 0;
}
#contents .entry-content .theContentWrap-ccc p.wide_figure img {
	display: block;
	margin: 0 auto;
}
#contents .entry-content .theContentWrap-ccc p.wide_figure + p.figure_caption {
	margin-top: 4px !important;
}

/* 関連実績：本文の白地から独立した1100pxのセクション、等幅3列（2026-11） */
#contents .relation_section {
	width: 1100px;
	max-width: 100%;
	margin: 48px auto 0;
	box-sizing: border-box;
}
#contents .relation_section > h3 {
	margin: 0 0 20px;
	padding: 4px 10px 6px 14px;
	border-left: 4px solid #087ab3;
	background: none;
	font-size: 22px;
	line-height: 1.5;
	font-weight: 600;
	color: #08131a;
}
#contents .relation_section ul.relation_cards {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 32px 24px;
	width: auto;
	margin: 0;
	padding: 40px;
	box-sizing: border-box;
	background-color: #fff;
	list-style: none;
}
#contents .relation_section ul.relation_cards li.relation_card,
#contents .relation_section ul.relation_cards li.relation_card_lead {
	width: auto;
	margin: 0;
	padding: 0;
	grid-column: auto;
	grid-row: auto;
	list-style: none;
	background: none;
}
#contents .relation_section ul.relation_cards li.relation_card a {
	display: block;
	text-decoration: none;
	color: #08131a;
}
#contents .relation_section ul.relation_cards .relation_card_img {
	display: block;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	border: 1px solid #e3e3e3;
	background-color: #f4f4f4;
}
#contents .relation_section ul.relation_cards .relation_card_img img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: top;
}
#contents .relation_section ul.relation_cards .relation_card_title,
#contents .relation_section ul.relation_cards li.relation_card_lead .relation_card_title {
	display: block;
	margin-top: 10px;
	font-size: 17px;
	line-height: 1.6;
	font-weight: 600;
	letter-spacing: normal;
}
#contents .relation_section ul.relation_cards .relation_card_date {
	display: block;
	margin-top: 4px;
	font-size: 14px;
	line-height: 1.4;
	color: #777;
}
#contents .relation_section ul.relation_cards a:hover .relation_card_title {
	color: #087ab3;
}

/* 関連実績の画像枠を必ず16:9にそろえる（2026-11） */
#contents .relation_section ul.relation_cards .relation_card_img {
	position: relative;
	height: 0;
	padding-top: 56.25%;
	aspect-ratio: auto;
}
#contents .relation_section ul.relation_cards .relation_card_img img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

/* 関連実績の3列を等幅に（長い社名でも列が広がらない）（2026-11） */
#contents .relation_section ul.relation_cards {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* 本文内の制作事例カード：画像の高さを16:9でそろえる（2026-11） */
#contents .entry-content .theContentWrap-ccc ul.case_cards .case_card_img {
	display: block;
	position: relative;
	height: 0;
	padding-top: 56.25%;
	aspect-ratio: auto;
	overflow: hidden;
}
#contents .entry-content .theContentWrap-ccc ul.case_cards .case_card_img img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: top;
}
#contents .entry-content .theContentWrap-ccc ul.case_cards .case_card_noimage img {
	object-position: center;
}

/* 投稿ページ・一覧ページ：本文とフッターの間をあける（2026-11） */
body.single #container,
body.archive #container {
	padding-bottom: 64px;
}

/* 日付を本文に近い大きさに（2026-11） */
#contents .entry-content .theContentWrap-ccc p.post_date {
	font-size: 18px;
	line-height: 1.6;
}
#contents .entry-content .theContentWrap-ccc ul.case_cards .case_card_date,
#contents .relation_section ul.relation_cards .relation_card_date {
	font-size: 16px;
}

/* 制作事例カードの2列を等幅に・投稿日の文字を本文並みに（2026-11） */
#contents .entry-content .theContentWrap-ccc ul.case_cards {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}
body.single #contents p.post_date {
	font-size: 18px;
	line-height: 1.6;
}

/* 会社案内パンフレットの画像に枠線（2026-11） */
#contents img[src*="mediaimpact-company-profile-2026-"] {
	border: 1px solid #999;
	box-sizing: border-box;
}

/* 登壇歴・各種メディアの表：見出しを上に、年の列は狭く（2026-11） */
#contents .entry-content .theContentWrap-ccc table.talk_table thead th:first-child,
#contents .entry-content .theContentWrap-ccc table.talk_table tbody td.yr {
	width: 3.5em;
	white-space: nowrap;
}
#contents .entry-content .theContentWrap-ccc table.talk_table thead th:last-child {
	width: 30%;
}
#contents .entry-content .theContentWrap-ccc table.talk_table td {
	font-size: 15px;
	padding-top: 8px;
	padding-bottom: 8px;
}

/* 上付き文字（べき乗など）を上付きで表示（2026-11） */
#contents sup {
	vertical-align: super;
	font-size: 0.7em;
	line-height: 0;
}

/* 登壇歴の写真：表の下に中央寄せ（2026-11） */
#contents .entry-content .theContentWrap-ccc p.talk_photo_wrap {
	margin: 16px 0 32px;
	text-align: center;
}
#contents .entry-content .theContentWrap-ccc p.talk_photo_wrap img {
	display: block;
	width: 280px;
	max-width: 100%;
	height: auto;
	margin: 0 auto;
	float: none;
}

/* 登壇歴・各種メディア：同じ年はまとめて1回だけ表示（2026-11） */
#contents .entry-content .theContentWrap-ccc table.talk_table tbody td.yr {
	vertical-align: top;
	font-weight: 600;
	border-right: 1px solid #e3dccd;
}

/* 表の中の文章も本文並みの大きさで段落分け（2026-11） */
#contents .entry-content .theContentWrap-ccc table.simple_table td p.cell_para {
	margin: 0 0 12px;
	font-size: 16px;
	line-height: 1.8;
	color: #08131a;
}
#contents .entry-content .theContentWrap-ccc table.simple_table td p.cell_para + ul.cell_list {
	margin-top: 4px;
}

/* 経歴の表：写真の左に収め、年の列は必要な幅だけに（2026-11） */
#contents .entry-content .theContentWrap-ccc table.history_table {
	width: auto;
	table-layout: auto;
}
#contents .entry-content .theContentWrap-ccc table.history_table tbody th {
	width: 1%;
	white-space: nowrap;
	padding-right: 20px;
}

/* 表の中の文字を小さくしない（2026-11） */
#contents .entry-content .theContentWrap-ccc table.simple_table .cell_note,
#contents .entry-content .theContentWrap-ccc table.talk_table td,
#contents .entry-content .theContentWrap-ccc table.simple_table th,
#contents .entry-content .theContentWrap-ccc table.simple_table td,
#contents .entry-content .theContentWrap-ccc table.simple_table ul.cell_list li,
#contents .entry-content .theContentWrap-ccc table.simple_table td p.cell_para {
	font-size: 16px;
}

/* 表の中の補足も本文と同じ色に（2026-11） */
#contents .entry-content .theContentWrap-ccc table.simple_table .cell_note,
#contents .entry-content .theContentWrap-ccc table.simple_table td p.cell_para {
	color: #08131a;
	margin-top: 8px;
}

/* 小見出しだけの段落と、直後の箇条書き・表の間を詰める（2026-11） */
#contents .entry-content .theContentWrap-ccc p:has(> strong:only-child):has(+ ul),
#contents .entry-content .theContentWrap-ccc p:has(> strong:only-child):has(+ table) {
	margin-bottom: 6px;
}
#contents .entry-content .theContentWrap-ccc p:has(> strong:only-child) + table.simple_table {
	margin-top: 0;
}

/* 箇条書きの直前の段落との間を詰める（2026-11） */
#contents .entry-content .theContentWrap-ccc p:has(+ ul.bullet_list) {
	margin-bottom: 6px;
}

/* 目次：小目次は今読んでいる章だけ開く（2026-11） */
@media (min-width: 1240px) {
	#contents .entry-content .theContentWrap-ccc p.page_toc.toc_all_open span.toc_sub {
		display: none;
	}
	#contents .entry-content .theContentWrap-ccc p.page_toc.toc_all_open span.toc_sub.is-open {
		display: block;
	}
}

/* 技術委員長の行に添える京都情報化セミナーの表（小さめ）（2026-11） */
#contents .entry-content .theContentWrap-ccc table.seminar_table {
	margin: 6px 0 16px;
}
#contents .entry-content .theContentWrap-ccc table.seminar_table caption {
	caption-side: top;
	text-align: left;
	padding: 0 0 4px;
	font-size: 15px;
	font-weight: 600;
	color: #08131a;
}
#contents .entry-content .theContentWrap-ccc table.seminar_table th,
#contents .entry-content .theContentWrap-ccc table.seminar_table td {
	padding: 5px 8px;
	font-size: 16px;
	line-height: 1.6;
}

/* 見積バナーのないページは、本文の下とフッターの間をあける（2026-11） */
body.page:not(.home):not(:has(#online-estimate)) #contents-body,
body.page-id-79 #contents-body {
	padding-bottom: 50px;
}

/* 同じゲームのキャプチャを2列に並べ、キャプションは小さめに（2026-11） */
#contents .entry-content .theContentWrap-ccc div.shot_grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 24px 20px;
	margin: 8px 0 36px;
}
#contents .entry-content .theContentWrap-ccc figure.shot {
	margin: 0;
}
#contents .entry-content .theContentWrap-ccc figure.shot img {
	display: block;
	width: 100%;
	height: auto;
	margin: 0;
	border: 1px solid #e3e3e3;
	box-sizing: border-box;
}
#contents .entry-content .theContentWrap-ccc figure.shot figcaption {
	margin-top: 6px;
	font-size: 15px;
	line-height: 1.6;
	color: #08131a;
}

/* 目次：章にマウスを乗せたときも小見出しを開く（2026-11） */
@media (min-width: 1240px) {
	#contents .entry-content .theContentWrap-ccc p.page_toc.toc_all_open a:hover + span.toc_sub,
	#contents .entry-content .theContentWrap-ccc p.page_toc.toc_all_open span.toc_sub:hover {
		display: block;
	}
}

/* 下部のオンライン見積：1100pxの中央に、大きめに（2026-11） */
body #online-estimate.online_estimate_wrap,
body:has(p.page_toc) #online-estimate.online_estimate_wrap {
	align-items: center;
}
#online-estimate .online_estimate_banner img {
	width: 960px !important;
	max-width: 100% !important;
}
#online-estimate p {
	width: 960px;
	max-width: 100%;
	text-align: center;
}


/* 経歴：年の列をそろえ、2行目以降も本文の位置から始める（2026-11） */
#contents .entry-content .theContentWrap-ccc ul.career_list {
	margin: 0 0 24px;
	padding: 0;
	list-style: none;
}
#contents .entry-content .theContentWrap-ccc ul.career_list li {
	display: grid;
	grid-template-columns: 5.5em minmax(0, 1fr);
	column-gap: 12px;
	margin: 0 0 10px;
	padding: 0;
	list-style: none;
	background: none;
	line-height: 1.8;
}
#contents .entry-content .theContentWrap-ccc ul.career_list .career_yr {
	font-weight: 600;
	white-space: nowrap;
}
/* 技術委員長の行に添えるセミナーの表は、本文の位置まで字下げ */
#contents .entry-content .theContentWrap-ccc ul.career_list + table.seminar_table {
	width: calc(100% - 5.5em - 12px);
	margin: -4px 0 18px calc(5.5em + 12px);
}

/* メンバー紹介：パンフレットの写真を右に置き、文章と表はその左に収める（2026-11） */
#contents .entry-content .theContentWrap-ccc p.member_photo {
	float: right;
	width: 240px;
	margin: 0 0 16px 28px;
	line-height: 0;
}
#contents .entry-content .theContentWrap-ccc p.member_photo img {
	display: block;
	width: 100%;
	height: auto;
	margin: 0;
}
#contents .entry-content .theContentWrap-ccc h4:has(+ p.member_photo),
#contents .entry-content .theContentWrap-ccc p.member_photo ~ h3 {
	clear: both;
}
@media (max-width: 767px) {
	#contents .entry-content .theContentWrap-ccc p.member_photo {
		float: none;
		width: 100%;
		max-width: 360px;
		margin: 0 0 12px;
	}
}

/* トップページの新着制作実績：画像入りの2段組み（2026-11） */
#top-jisseki .jisseki_grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	column-gap: 16px;
	row-gap: 20px;
}
#top-jisseki .jisseki_grid article.column-article {
	float: none;
	width: auto;
	margin: 0;
	padding: 0;
	border: 0;
}
#top-jisseki .jisseki_grid a.jisseki_thumb {
	display: block;
	position: relative;
	padding-top: 56.25%;
	margin: 0 0 6px;
	overflow: hidden;
	border: 1px solid #ddd;
	background: #fff;
}
#top-jisseki .jisseki_grid a.jisseki_thumb img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: top center;
	margin: 0;
}
#top-jisseki .jisseki_grid time.entry-date {
	display: block;
	margin: 0;
}
#top-jisseki .jisseki_grid h1.update-title {
	margin: 2px 0 0;
	line-height: 1.5;
}
/* 新着制作実績と新着情報の幅を3：2に（2026-11） */
@media (min-width: 1100px) {
	#contents > #top-jisseki {
		width: 636px !important;
	}
	#contents > #top-news {
		width: 424px !important;
	}
}

/* ブラウザゲームのサンプル集：2列のカードでさらっと紹介（2026-11） */
#contents .entry-content .theContentWrap-ccc ul.sample_cards {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 32px 24px;
	margin: 8px 0 40px;
	padding: 0;
	list-style: none;
}
#contents .entry-content .theContentWrap-ccc ul.sample_cards li {
	margin: 0;
	padding: 0;
	list-style: none;
	background: none;
}
#contents .entry-content .theContentWrap-ccc ul.sample_cards .sample_card_img {
	display: block;
	position: relative;
	padding-top: 56.25%;
	overflow: hidden;
	border: 1px solid #e3e3e3;
	background-color: #f4f4f4;
}
#contents .entry-content .theContentWrap-ccc ul.sample_cards .sample_card_img img,
#contents .entry-content .theContentWrap-ccc ul.sample_cards .sample_card_img video {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	margin: 0;
	object-fit: contain;
}
#contents .entry-content .theContentWrap-ccc ul.sample_cards .sample_card_title {
	display: block;
	margin-top: 10px;
	font-weight: 600;
	line-height: 1.6;
}
#contents .entry-content .theContentWrap-ccc ul.sample_cards .sample_card_text {
	display: block;
	margin-top: 4px;
	line-height: 1.8;
}
#contents .entry-content .theContentWrap-ccc ul.sample_cards .sample_card_links {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 16px;
	margin-top: 6px;
}
#contents .entry-content .theContentWrap-ccc ul.sample_cards .sample_card_links a::before {
	content: "▶ ";
	font-size: 0.8em;
}
@media (max-width: 767px) {
	#contents .entry-content .theContentWrap-ccc ul.sample_cards {
		grid-template-columns: minmax(0, 1fr);
	}
}
/* 新着制作実績のキャプチャは切らずに、同じ高さの枠の中で上下左右中央にそろえる（2026-11） */
#top-jisseki .jisseki_grid a.jisseki_thumb {
	position: relative;
	padding-top: 0;
	aspect-ratio: 16 / 9;
	background: #fff;
}
#top-jisseki .jisseki_grid a.jisseki_thumb img {
	position: absolute;
	top: 0;
	left: 0;
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
	object-position: center center;
}
/* トップページの日付を読みやすい大きさに（2026-11） */
body.home #top-jisseki .entry-date,
body.home #top-news .entry-date {
	font-size: 16px;
	line-height: 1.6;
}
/* 新着情報の行間と記事どうしの間隔をゆったりと（2026-11） */
body.home #top-news article.column-article {
	margin: 0 0 24px;
}
body.home #top-news .update-title,
body.home #top-news .update-title a {
	line-height: 1.9;
}
body.home #top-jisseki .jisseki_grid h1.update-title,
body.home #top-jisseki .jisseki_grid h1.update-title a {
	line-height: 1.7;
}
/* 新着制作実績：最新10件と代表的な事例は2列ぶち抜きで大きく（2026-11） */
#top-jisseki .jisseki_grid {
	grid-auto-flow: row dense;
}
#top-jisseki .jisseki_grid article.is-big {
	grid-column: 1 / -1;
}
#top-jisseki .jisseki_grid article.is-big h1.update-title,
#top-jisseki .jisseki_grid article.is-big h1.update-title a {
	font-size: 18px;
}

/* ゲームのサンプル：くわしい説明は開いて読めるように（2026-11） */
#contents .entry-content .theContentWrap-ccc ul.sample_cards details.sample_card_more {
	margin-top: 8px;
}
#contents .entry-content .theContentWrap-ccc ul.sample_cards details.sample_card_more summary {
	cursor: pointer;
	color: #087ab3;
	font-weight: 600;
}
#contents .entry-content .theContentWrap-ccc ul.sample_cards details.sample_card_more[open] summary {
	margin-bottom: 8px;
}
#contents .entry-content .theContentWrap-ccc ul.sample_cards details.sample_card_more p {
	margin: 0 0 10px;
	line-height: 1.8;
}
#contents .entry-content .theContentWrap-ccc ul.sample_cards details.sample_card_more img {
	max-width: 100%;
	height: auto;
}
#contents .entry-content .theContentWrap-ccc ul.sample_cards details.sample_card_more div.shot_grid {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
}
/* 最近の制作実績：4列にして、代表的な実績はときどき2×2マスで大きく（2026-11） */
#contents .relation_section ul.relation_cards {
	grid-template-columns: repeat(4, minmax(0, 1fr));
	grid-auto-flow: row dense;
	gap: 28px 20px;
}
#contents .relation_section ul.relation_cards li.relation_card.is-big {
	grid-column: span 2;
	grid-row: span 2;
}
#contents .relation_section ul.relation_cards li.relation_card .relation_card_title {
	font-size: 16px;
}
#contents .relation_section ul.relation_cards li.relation_card.is-big .relation_card_title {
	margin-top: 14px;
	font-size: 20px;
	line-height: 1.6;
}
@media (max-width: 1099px) {
	#contents .relation_section ul.relation_cards {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}
/* 新着制作実績：2列に戻し、大きく出す実績は横長のカード（左に画像、右に日付とタイトル）にする（2026-11） */
#top-jisseki .jisseki_grid {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	column-gap: 16px;
	row-gap: 22px;
}
#top-jisseki .jisseki_grid article.is-big {
	grid-column: 1 / -1;
	grid-row: auto;
	display: grid;
	grid-template-columns: 62% minmax(0, 1fr);
	grid-template-rows: auto 1fr;
	column-gap: 18px;
	align-items: start;
}
#top-jisseki .jisseki_grid article.is-big a.jisseki_thumb {
	grid-column: 1;
	grid-row: 1 / 3;
	margin: 0;
	aspect-ratio: 16 / 9;
}
#top-jisseki .jisseki_grid article.is-big time.entry-date {
	grid-column: 2;
	grid-row: 1;
	margin-top: 2px;
}
#top-jisseki .jisseki_grid article.is-big h1.update-title {
	grid-column: 2;
	grid-row: 2;
}
body.home #top-jisseki .jisseki_grid article.column-article h1.update-title,
body.home #top-jisseki .jisseki_grid article.column-article h1.update-title a {
	font-size: 16px;
	line-height: 1.7;
}
body.home #top-jisseki .jisseki_grid article.is-big h1.update-title,
body.home #top-jisseki .jisseki_grid article.is-big h1.update-title a {
	font-size: 18px;
	line-height: 1.7;
}
body.home #top-jisseki .jisseki_grid article.column-article h1.update-title {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	overflow: hidden;
}
body.home #top-jisseki .jisseki_grid article.is-big h1.update-title {
	-webkit-line-clamp: 5;
}
/* 大きいカード：文字を画像に対して上下中央にそろえ、文字の列を少し広げる（2026-11） */
#top-jisseki .jisseki_grid article.is-big {
	grid-template-columns: 56% minmax(0, 1fr);
	grid-template-rows: 1fr auto auto 1fr;
	column-gap: 20px;
	align-items: start;
}
#top-jisseki .jisseki_grid article.is-big a.jisseki_thumb {
	grid-row: 1 / 5;
}
#top-jisseki .jisseki_grid article.is-big time.entry-date {
	grid-row: 2;
	margin: 0 0 4px;
}
#top-jisseki .jisseki_grid article.is-big h1.update-title {
	grid-row: 3;
	margin: 0;
}
/* 新着制作実績と新着情報のあいだに区切り線を入れ、隣り合う文字どうしが混ざって見えないようにする（2026-11） */
@media (min-width: 1100px) {
	#contents > #top-jisseki {
		width: 590px !important;
		margin-right: 30px !important;
	}
	#contents > #top-news {
		width: 480px !important;
		box-sizing: border-box;
		padding-left: 30px;
		margin-left: 0;
		border-left: 1px solid #d8d2c4;
	}
	#contents > #top-news > h1 {
		margin-left: 0;
	}
}
/* 新着制作実績と新着情報を、それぞれ白い背景の箱に入れて読みやすく（区切り線はやめる）（2026-11） */
@media (min-width: 1100px) {
	#contents > #top-jisseki,
	#contents > #top-news {
		box-sizing: border-box;
		padding: 28px 28px 32px;
		background-color: #fff;
		border-left: 0;
	}
	#contents > #top-jisseki {
		width: 620px !important;
		margin-right: 24px !important;
	}
	#contents > #top-news {
		width: 456px !important;
	}
}
/* 新着制作実績：すべて1段組みの横長カードに統一（左に画像、右に日付とタイトル）。代表的な実績は画像を大きく（2026-11） */
#top-jisseki .jisseki_grid {
	grid-template-columns: minmax(0, 1fr);
	row-gap: 18px;
}
#top-jisseki .jisseki_grid article.column-article,
#top-jisseki .jisseki_grid article.is-big {
	grid-column: auto;
	grid-row: auto;
	display: grid;
	grid-template-columns: 40% minmax(0, 1fr);
	grid-template-rows: 1fr auto auto 1fr;
	column-gap: 18px;
	align-items: start;
}
#top-jisseki .jisseki_grid article.is-big {
	grid-template-columns: 56% minmax(0, 1fr);
}
#top-jisseki .jisseki_grid article.column-article a.jisseki_thumb {
	grid-column: 1;
	grid-row: 1 / 5;
	margin: 0;
	aspect-ratio: 16 / 9;
	flex: none;
	min-height: 0;
}
#top-jisseki .jisseki_grid article.column-article time.entry-date {
	grid-column: 2;
	grid-row: 2;
	margin: 0 0 4px;
}
#top-jisseki .jisseki_grid article.column-article h1.update-title {
	grid-column: 2;
	grid-row: 3;
	margin: 0;
}
/* 新着制作実績：小さい実績は2段組み（上に画像、下に日付とタイトル）、代表的な実績は1段の横長カードで併用（2026-11） */
#top-jisseki .jisseki_grid {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	grid-auto-flow: row dense;
	column-gap: 18px;
	row-gap: 22px;
}
#top-jisseki .jisseki_grid article.column-article:not(.is-big) {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	grid-column: auto;
}
#top-jisseki .jisseki_grid article.column-article:not(.is-big) a.jisseki_thumb {
	margin: 0 0 8px;
}
#top-jisseki .jisseki_grid article.column-article:not(.is-big) time.entry-date {
	margin: 0 0 2px;
}
#top-jisseki .jisseki_grid article.is-big {
	grid-column: 1 / -1;
}
/* 代表的な実績（1段）は、画像を横いっぱいに広げ、日付とタイトルは画像の下に（2026-11） */
#top-jisseki .jisseki_grid article.is-big {
	display: flex;
	flex-direction: column;
	align-items: stretch;
}
#top-jisseki .jisseki_grid article.is-big a.jisseki_thumb {
	margin: 0 0 10px;
}
#top-jisseki .jisseki_grid article.is-big time.entry-date {
	margin: 0 0 2px;
}
/* 新着情報：写真のある記事は画像も出す（2026-11） */
#top-news article.has-image a.news_thumb {
	display: block;
	position: relative;
	aspect-ratio: 16 / 9;
	margin: 0 0 8px;
	overflow: hidden;
	border: 1px solid #e3e3e3;
	background: #fff;
}
#top-news article.has-image a.news_thumb img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	margin: 0;
	object-fit: contain;
	object-position: center;
}
/* 新着制作実績と新着情報の画像の枠線の色をそろえる（2026-11） */
#top-jisseki .jisseki_grid a.jisseki_thumb,
#top-news article.has-image a.news_thumb {
	border: 1px solid #ddd;
}
/* 下層ページ下部の大きい実績は左右交互に置く（2026-11） */
#contents .relation_section ul.relation_cards li.relation_card.is-big.is-right {
	grid-column: 3 / span 2;
}
/* トップの画像枠の中では、画像そのものに付けた枠線（会社案内パンフレットの #999 など）を消して枠線をそろえる（2026-11） */
#top-jisseki a.jisseki_thumb img,
#top-news a.news_thumb img {
	border: 0 !important;
}
/* 大きい実績の左側は1〜2列目に固定（左右交互を確実にする）（2026-11） */
#contents .relation_section ul.relation_cards li.relation_card.is-big:not(.is-right) {
	grid-column: 1 / span 2;
}
/* 下層ページ下部の実績のサムネイルは切らずに全体を見せ、余白は白で上下左右中央に（2026-11） */
#contents .relation_section ul.relation_cards .relation_card_img {
	background-color: #fff;
	border-color: #ddd;
}
#contents .relation_section ul.relation_cards .relation_card_img img {
	object-fit: contain !important;
	object-position: center center !important;
	border: 0 !important;
}
/* 新着情報は画像をタイトルの下に。記事どうし・実績どうしの上下の間隔を広げる（2026-11） */
body.home #top-news article.column-article {
	margin: 0 0 36px;
}
#top-news article.has-image a.news_thumb {
	margin: 10px 0 0;
}
#top-jisseki .jisseki_grid {
	row-gap: 34px;
}
/* タイトルの行間を詰める（記事どうしの間隔は広げたので、1件の中はまとまって見えるように）（2026-11） */
body.home #top-news .update-title,
body.home #top-news .update-title a {
	line-height: 1.6;
}
body.home #top-jisseki .jisseki_grid article.column-article h1.update-title,
body.home #top-jisseki .jisseki_grid article.column-article h1.update-title a,
body.home #top-jisseki .jisseki_grid article.is-big h1.update-title,
body.home #top-jisseki .jisseki_grid article.is-big h1.update-title a {
	line-height: 1.55;
}
/* 制作実績一覧の最下部：トップページと同じ日付順の一覧（4列、代表的な実績は2×2マスで左右交互）（2026-11） */
#jisseki-all {
	clear: both;
	width: 1100px;
	max-width: 100%;
	margin: 56px auto 64px;
	box-sizing: border-box;
}
#jisseki-all .jisseki_all_title {
	margin: 0 0 20px;
	padding: 4px 10px 6px 14px;
	border-left: 4px solid #087ab3;
	font-size: 22px;
	line-height: 1.5;
	font-weight: 600;
	color: #08131a;
}
#jisseki-all .jisseki_all_grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	grid-auto-flow: row dense;
	gap: 34px 20px;
	padding: 40px;
	background-color: #fff;
}
#jisseki-all .jisseki_all_item {
	margin: 0;
	min-width: 0;
}
#jisseki-all .jisseki_all_item.is-big {
	grid-column: 1 / span 2;
	grid-row: span 2;
}
#jisseki-all .jisseki_all_item.is-big.is-right {
	grid-column: 3 / span 2;
}
#jisseki-all .jisseki_all_thumb {
	display: block;
	position: relative;
	aspect-ratio: 16 / 9;
	margin: 0 0 10px;
	overflow: hidden;
	border: 1px solid #ddd;
	background: #fff;
}
#jisseki-all .jisseki_all_thumb img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	margin: 0;
	border: 0 !important;
	object-fit: contain;
	object-position: center;
}
#jisseki-all .jisseki_all_date {
	display: block;
	margin: 0 0 2px;
	font-size: 15px;
	color: #555;
}
#jisseki-all .jisseki_all_name {
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
	font-size: 16px;
	line-height: 1.55;
	font-weight: 600;
}
#jisseki-all .jisseki_all_item.is-big .jisseki_all_name {
	font-size: 20px;
}
#jisseki-all .jisseki_all_name a {
	color: #08131a;
	text-decoration: none;
}
#jisseki-all .jisseki_all_name a:hover {
	color: #087ab3;
	text-decoration: underline;
}
@media (max-width: 1099px) {
	#jisseki-all .jisseki_all_grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		padding: 20px;
	}
	#jisseki-all .jisseki_all_item.is-big,
	#jisseki-all .jisseki_all_item.is-big.is-right {
		grid-column: 1 / -1;
		grid-row: auto;
	}
}
/* 制作実績一覧の最下部：3段組みで全部同じ大きさに。見出しは左寄せ（2026-11） */
#jisseki-all .jisseki_all_title {
	text-align: left;
}
#jisseki-all .jisseki_all_grid {
	grid-template-columns: repeat(3, minmax(0, 1fr));
	grid-auto-flow: row;
	gap: 34px 24px;
}
#jisseki-all .jisseki_all_item.is-big,
#jisseki-all .jisseki_all_item.is-big.is-right {
	grid-column: auto;
	grid-row: auto;
}
#jisseki-all .jisseki_all_item.is-big .jisseki_all_name {
	font-size: 16px;
}
/* 下層ページ下部の実績は3段組みで大きさをそろえる（2026-11） */
#contents .relation_section ul.relation_cards {
	grid-template-columns: repeat(3, minmax(0, 1fr));
	grid-auto-flow: row;
	gap: 34px 24px;
}
#contents .relation_section ul.relation_cards li.relation_card.is-big,
#contents .relation_section ul.relation_cards li.relation_card.is-big.is-right,
#contents .relation_section ul.relation_cards li.relation_card.is-big:not(.is-right) {
	grid-column: auto;
	grid-row: auto;
}
#contents .relation_section ul.relation_cards li.relation_card .relation_card_title,
#contents .relation_section ul.relation_cards li.relation_card.is-big .relation_card_title {
	margin-top: 10px;
	font-size: 16px;
	line-height: 1.55;
}
/* メンバー紹介：経歴の年は太字にしない。登壇歴・各種メディアは年をまとめた表で、文字はやや小さめに（2026-11） */
#contents .entry-content .theContentWrap-ccc ul.career_list .career_yr {
	font-weight: 400;
}
#contents .entry-content .theContentWrap-ccc p.career_label {
	margin: 28px 0 8px;
	font-weight: 600;
}
#contents .entry-content .theContentWrap-ccc table.talk_table {
	width: 100%;
	table-layout: auto;
	margin: 0 0 24px;
	font-size: 15px;
	line-height: 1.7;
}
#contents .entry-content .theContentWrap-ccc table.talk_table td {
	padding: 6px 10px;
	font-size: 15px;
	font-weight: 400;
	vertical-align: top;
}
#contents .entry-content .theContentWrap-ccc table.talk_table td.yr {
	width: 4.5em;
	white-space: nowrap;
	font-weight: 400;
	background: none;
}
/* 本文の行間を少し詰めて読みやすく（2.0 → 1.8）（2026-11） */
body.page:not(.home) #contents .entry-content .theContentWrap-ccc,
body.single #contents .entry-content .theContentWrap-ccc,
body.page:not(.home) #contents .entry-content .theContentWrap-ccc p,
body.page:not(.home) #contents .entry-content .theContentWrap-ccc li,
body.single #contents .entry-content .theContentWrap-ccc p,
body.single #contents .entry-content .theContentWrap-ccc li {
	line-height: 1.8;
}
body.page:not(.home) #contents .entry-content .theContentWrap-ccc > p,
body.single #contents .entry-content .theContentWrap-ccc > p {
	margin-bottom: 28px;
}
/* 本文の文字サイズを表の中と同じ16pxにそろえ、見出しも一回り小さく（2026-11） */
body.page:not(.home) #contents .entry-content .theContentWrap-ccc,
body.single #contents .entry-content .theContentWrap-ccc,
body.page:not(.home) #contents .entry-content .theContentWrap-ccc p,
body.page:not(.home) #contents .entry-content .theContentWrap-ccc li,
body.single #contents .entry-content .theContentWrap-ccc p,
body.single #contents .entry-content .theContentWrap-ccc li {
	font-size: 16px;
	line-height: 1.85;
}
body.page:not(.home) #contents .entry-content .theContentWrap-ccc > p,
body.single #contents .entry-content .theContentWrap-ccc > p {
	margin-bottom: 24px;
}
body.page:not(.home) #contents .entry-content .theContentWrap-ccc td,
body.page:not(.home) #contents .entry-content .theContentWrap-ccc th,
body.single #contents .entry-content .theContentWrap-ccc td,
body.single #contents .entry-content .theContentWrap-ccc th {
	font-size: 16px;
	line-height: 1.8;
}
#contents .entry-content .theContentWrap-ccc table.talk_table td {
	font-size: 15px;
}
body.page:not(.home) #contents .entry-content .theContentWrap-ccc h3,
body.single #contents .entry-content .theContentWrap-ccc h3 {
	font-size: 22px;
	margin-top: 56px;
	margin-bottom: 24px;
}
body.page:not(.home) #contents .entry-content .theContentWrap-ccc h4,
body.single #contents .entry-content .theContentWrap-ccc h4 {
	font-size: 18px;
	margin-top: 40px;
	margin-bottom: 16px;
}
/* 本文と表の文字を17pxに（16pxだと少し小さいため）。見出しも合わせて少し上げる（2026-11） */
body.page:not(.home) #contents .entry-content .theContentWrap-ccc,
body.single #contents .entry-content .theContentWrap-ccc,
body.page:not(.home) #contents .entry-content .theContentWrap-ccc p,
body.page:not(.home) #contents .entry-content .theContentWrap-ccc li,
body.single #contents .entry-content .theContentWrap-ccc p,
body.single #contents .entry-content .theContentWrap-ccc li,
body.page:not(.home) #contents .entry-content .theContentWrap-ccc td,
body.page:not(.home) #contents .entry-content .theContentWrap-ccc th,
body.single #contents .entry-content .theContentWrap-ccc td,
body.single #contents .entry-content .theContentWrap-ccc th {
	font-size: 17px;
}
#contents .entry-content .theContentWrap-ccc table.talk_table td {
	font-size: 16px;
}
body.page:not(.home) #contents .entry-content .theContentWrap-ccc h3,
body.single #contents .entry-content .theContentWrap-ccc h3 {
	font-size: 23px;
}
body.page:not(.home) #contents .entry-content .theContentWrap-ccc h4,
body.single #contents .entry-content .theContentWrap-ccc h4 {
	font-size: 19px;
}
/* 文字が詰まって目が滑らないよう、行間・字間・段落間を少しゆったりに（2026-11） */
body.page:not(.home) #contents .entry-content .theContentWrap-ccc,
body.single #contents .entry-content .theContentWrap-ccc,
body.page:not(.home) #contents .entry-content .theContentWrap-ccc p,
body.page:not(.home) #contents .entry-content .theContentWrap-ccc li,
body.single #contents .entry-content .theContentWrap-ccc p,
body.single #contents .entry-content .theContentWrap-ccc li {
	line-height: 1.95;
	letter-spacing: 0.03em;
}
body.page:not(.home) #contents .entry-content .theContentWrap-ccc > p,
body.single #contents .entry-content .theContentWrap-ccc > p {
	margin-bottom: 30px;
}
/* 本文の文字はnote・CMEXの記事と同じ18pxに戻し、行間は少し詰める（両サイトは行間2.0）。字間は標準に（2026-11） */
body.page:not(.home) #contents .entry-content .theContentWrap-ccc,
body.single #contents .entry-content .theContentWrap-ccc,
body.page:not(.home) #contents .entry-content .theContentWrap-ccc p,
body.page:not(.home) #contents .entry-content .theContentWrap-ccc li,
body.single #contents .entry-content .theContentWrap-ccc p,
body.single #contents .entry-content .theContentWrap-ccc li {
	font-size: 18px;
	line-height: 1.8;
	letter-spacing: normal;
}
body.page:not(.home) #contents .entry-content .theContentWrap-ccc > p,
body.single #contents .entry-content .theContentWrap-ccc > p {
	margin-bottom: 28px;
}
body.page:not(.home) #contents .entry-content .theContentWrap-ccc td,
body.page:not(.home) #contents .entry-content .theContentWrap-ccc th,
body.single #contents .entry-content .theContentWrap-ccc td,
body.single #contents .entry-content .theContentWrap-ccc th {
	font-size: 16px;
	line-height: 1.8;
}
#contents .entry-content .theContentWrap-ccc table.talk_table td {
	font-size: 15px;
}
body.page:not(.home) #contents .entry-content .theContentWrap-ccc h3,
body.single #contents .entry-content .theContentWrap-ccc h3 {
	font-size: 26px;
}
body.page:not(.home) #contents .entry-content .theContentWrap-ccc h4,
body.single #contents .entry-content .theContentWrap-ccc h4 {
	font-size: 21px;
}
/* 表の中の文字（太字の項目名を含む）を17pxにして、本文18pxとの差を小さく。登壇歴の年は太字にしない（2026-11） */
body.page:not(.home) #contents .entry-content .theContentWrap-ccc td,
body.page:not(.home) #contents .entry-content .theContentWrap-ccc th,
body.page:not(.home) #contents .entry-content .theContentWrap-ccc td p,
body.page:not(.home) #contents .entry-content .theContentWrap-ccc td li,
body.single #contents .entry-content .theContentWrap-ccc td,
body.single #contents .entry-content .theContentWrap-ccc th {
	font-size: 17px;
}
#contents .entry-content .theContentWrap-ccc table.talk_table td,
#contents .entry-content .theContentWrap-ccc table.talk_table td.yr {
	font-size: 16px;
	font-weight: 400;
}
/* 左上のロゴを高解像度版に差し替え（会社ロゴのデータから作成）（2026-11） */
#site-id img {
	content: url(/wp-content/uploads/2026/11/mediaimpact-logo-hd2.png);
	width: 245px;
	height: 43px;
}
/* reCAPTCHAのバッジは、フォームのあるページ以外では隠す。フォームのページでは「トップへ戻る」と重ならない位置へ（2026-11） */
.grecaptcha-badge {
	visibility: hidden !important;
}
body.page-id-79 .grecaptcha-badge,
body.page-id-5732 .grecaptcha-badge {
	visibility: visible !important;
	bottom: 96px !important;
}
/* フッターのSNSアイコン（X）（2026-11） */
.footer_sns a svg {
	display: inline-block;
	width: 40px;
	height: 40px;
	vertical-align: middle;
}
/* 会社概要ページの表：左に見出し・右に本文の形をやめ、上に見出し・下に本文の形にする（年表は横並びのまま）（2026-11） */
body.page-id-66 #contents .entry-content .theContentWrap-ccc table.company_table,
body.page-id-66 #contents .entry-content .theContentWrap-ccc table.partner_table,
body.page-id-66 #contents .entry-content .theContentWrap-ccc table.media_table,
body.page-id-66 #contents .entry-content .theContentWrap-ccc table.csr_table {
	display: block;
	width: 100%;
	table-layout: auto;
	border: 0;
}
body.page-id-66 #contents .entry-content .theContentWrap-ccc table.company_table tbody,
body.page-id-66 #contents .entry-content .theContentWrap-ccc table.partner_table tbody,
body.page-id-66 #contents .entry-content .theContentWrap-ccc table.media_table tbody,
body.page-id-66 #contents .entry-content .theContentWrap-ccc table.csr_table tbody {
	display: block;
}
body.page-id-66 #contents .entry-content .theContentWrap-ccc table.csr_table thead {
	display: none;
}
body.page-id-66 #contents .entry-content .theContentWrap-ccc table.company_table tr,
body.page-id-66 #contents .entry-content .theContentWrap-ccc table.partner_table tr,
body.page-id-66 #contents .entry-content .theContentWrap-ccc table.media_table tr,
body.page-id-66 #contents .entry-content .theContentWrap-ccc table.csr_table tr {
	display: block;
	margin: 0 0 14px;
	border: 1px solid #ddd;
}
body.page-id-66 #contents .entry-content .theContentWrap-ccc table.company_table th,
body.page-id-66 #contents .entry-content .theContentWrap-ccc table.partner_table th,
body.page-id-66 #contents .entry-content .theContentWrap-ccc table.media_table th,
body.page-id-66 #contents .entry-content .theContentWrap-ccc table.csr_table th {
	display: block;
	width: auto !important;
	padding: 8px 14px;
	border: 0;
	border-bottom: 1px solid #ddd;
	background-color: #f4f1ea;
	text-align: left;
	font-size: 17px;
	font-weight: 600;
}
body.page-id-66 #contents .entry-content .theContentWrap-ccc table.company_table td,
body.page-id-66 #contents .entry-content .theContentWrap-ccc table.partner_table td,
body.page-id-66 #contents .entry-content .theContentWrap-ccc table.media_table td,
body.page-id-66 #contents .entry-content .theContentWrap-ccc table.csr_table td {
	display: block;
	width: auto !important;
	padding: 10px 14px;
	border: 0;
	font-size: 17px;
}
/* フッターのFacebookとXのアイコンの高さをそろえる（2026-11） */
.footer_sns a {
	vertical-align: middle;
}
.footer_sns a img,
.footer_sns a svg {
	display: block;
	width: 40px;
	height: 40px;
}
/* 新着制作実績の1段（大きい実績）は、画像の縦横比のまま表示して上下の白い余白をなくす（2026-11） */
#top-jisseki .jisseki_grid article.is-big a.jisseki_thumb {
	aspect-ratio: auto;
	padding-top: 0;
	height: auto;
}
#top-jisseki .jisseki_grid article.is-big a.jisseki_thumb img {
	position: static;
	display: block;
	width: 100%;
	height: auto;
}
/* ヘッダーのキャッチコピーの行間を詰める（2026-11） */
#header .right_msg p {
	line-height: 1.45;
}
/* ヘッダーのキャッチコピーの行間を少しだけ戻す（2026-11） */
#header .right_msg p {
	line-height: 1.55;
}
/* スライドショーのオンマウス時の文字の枠を、画像の上下中央に（2026-11） */
.slider .slick-slide a {
	top: 50%;
	transform: translateY(-50%);
}
/* スライドショーの画像の高さをそろえる（大半の画像と同じ1300:609に。はみ出す下側を切る）（2026-11） */
#slider .slick-slide img {
	aspect-ratio: 1300 / 609;
	height: auto;
	object-fit: cover;
	object-position: top center;
}
/* キャッチコピーを3px上へ（ロゴとの下ぞろえの微調整）（2026-11） */
#header .right_msg {
	position: relative;
	top: -3px;
}
/* 沿革の年は太字にしない。同じ年はまとめて1回だけ表示（2026-11） */
#contents .entry-content .theContentWrap-ccc table.history_table th {
	font-weight: 400 !important;
	width: 5em;
	white-space: nowrap;
	vertical-align: top;
}
/* 2019年版の会社案内の画像にも、2026年版と同じ枠線を付ける（2026-11） */
img.pamphlet_old {
	border: 1px solid #999;
}
/* 宮嶋健人のプロフィール表：経歴・登壇歴・各種メディア・論文・テニス・好きなもの等を1つの表に。区切りの行だけ見出しとして目立たせる（2026-11） */
#contents .entry-content .theContentWrap-ccc table.profile_table tr.sec th {
	font-weight: 600 !important;
	text-align: left;
	background-color: #f4f1ea;
	padding-top: 10px;
	padding-bottom: 10px;
}
#contents .entry-content .theContentWrap-ccc table.profile_table td {
	font-size: 16px;
	vertical-align: top;
}
/* プロフィール表は文節単位の改行をやめ、行末まで詰めて流す（「などが早めに次の行へ送られて行がガタガタになるのを防ぐ）（2026-11） */
#contents .entry-content .theContentWrap-ccc table.profile_table td,
#contents .entry-content .theContentWrap-ccc table.profile_table th {
	word-break: normal !important;
	line-break: strict;
	text-wrap: wrap !important;
}
/* 会社概要ページの表の見た目をそろえる：枠線は#ddd、見出しの地色は#f4f1ea、文字は17px、余白は10px 14px（2026-11） */
body.page-id-66 #contents .entry-content .theContentWrap-ccc table.history_table,
body.page-id-66 #contents .entry-content .theContentWrap-ccc table.profile_table {
	width: 100%;
	border-collapse: collapse;
	border: 1px solid #ddd;
	margin: 0 0 24px;
}
body.page-id-66 #contents .entry-content .theContentWrap-ccc table.history_table th,
body.page-id-66 #contents .entry-content .theContentWrap-ccc table.history_table td,
body.page-id-66 #contents .entry-content .theContentWrap-ccc table.profile_table th,
body.page-id-66 #contents .entry-content .theContentWrap-ccc table.profile_table td {
	padding: 10px 14px;
	border: 1px solid #ddd;
	font-size: 17px;
	line-height: 1.75;
	vertical-align: top;
	text-align: left;
}
body.page-id-66 #contents .entry-content .theContentWrap-ccc table.history_table th,
body.page-id-66 #contents .entry-content .theContentWrap-ccc table.profile_table th {
	width: 6.5em;
	background-color: #faf8f3;
	font-weight: 400 !important;
	white-space: nowrap;
}
body.page-id-66 #contents .entry-content .theContentWrap-ccc table.profile_table tr.sec th {
	width: auto;
	background-color: #f4f1ea;
	font-weight: 600 !important;
}
body.page-id-66 #contents .entry-content .theContentWrap-ccc table.simple_table ul.cell_list li {
	font-size: 17px;
	line-height: 1.75;
}

/* ゲームのキャプチャを3列で並べる（3D神経衰弱など、高さを取りすぎないように）（2026-11） */
#contents .entry-content .theContentWrap-ccc div.shot_grid.cols3 {
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px 14px;
}
@media (max-width: 767px) {
	#contents .entry-content .theContentWrap-ccc div.shot_grid.cols3 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}
/* 長い説明は数行だけ薄く見せて折りたたみ、「ゲームの内容をくわしく見る」で全文を開く（2026-11） */
#contents .entry-content .theContentWrap-ccc div.read_fold > input.read_fold_toggle {
	display: none;
}
#contents .entry-content .theContentWrap-ccc div.read_fold > .read_fold_body {
	max-height: 6.2em;
	overflow: hidden;
	-webkit-mask-image: linear-gradient(to bottom, #000 25%, transparent 100%);
	mask-image: linear-gradient(to bottom, #000 25%, transparent 100%);
}
#contents .entry-content .theContentWrap-ccc div.read_fold > input.read_fold_toggle:checked ~ .read_fold_body {
	max-height: none;
	-webkit-mask-image: none;
	mask-image: none;
}
#contents .entry-content .theContentWrap-ccc div.read_fold > label.read_fold_btn {
	display: inline-block;
	margin: 6px 0 20px;
	cursor: pointer;
	color: #087ab3;
	font-weight: 600;
}
#contents .entry-content .theContentWrap-ccc div.read_fold > label.read_fold_btn::before {
	content: "▼ ";
	font-size: 0.8em;
}
#contents .entry-content .theContentWrap-ccc div.read_fold > input.read_fold_toggle:checked ~ label.read_fold_btn {
	display: none;
}

/* サンプル集：力を入れて作ったサンプルは1段組みで大きく見せる（2026-11） */
#contents .entry-content .theContentWrap-ccc ul.sample_cards li.is-wide {
	grid-column: 1 / -1;
}
#contents .entry-content .theContentWrap-ccc ul.sample_cards li.is-wide details.sample_card_more div.shot_grid {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* 本文の中に残る関連記事は本文幅の中に収める。関連実績はscroll.jsで本文の外へ出す（2026-11） */
#contents .entry-content .theContentWrap-ccc ul.relation_cards,
#contents .entry-content .theContentWrap-ccc:has(p.page_toc) ul.relation_cards {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 28px 20px;
	width: auto;
	margin: 0 0 40px;
	padding: 0;
	background: none;
}
#contents .entry-content .theContentWrap-ccc ul.relation_cards li.relation_card_lead {
	grid-column: 1 / -1;
	grid-row: auto;
}
#contents ul.relation_cards .relation_card_img.relation_card_noimg,
#contents .entry-content .theContentWrap-ccc ul.relation_cards .relation_card_img.relation_card_noimg {
	display: none;
}
#contents .entry-content .theContentWrap-ccc ul.relation_cards li.relation_card:has(.relation_card_noimg) {
	padding-left: 14px;
	border-left: 3px solid #087ab3;
}
#contents .entry-content .theContentWrap-ccc ul.relation_cards li.relation_card:has(.relation_card_noimg) .relation_card_title {
	margin-top: 0;
}

/* ヘッダーの創業日と最終更新日。右上に濃い色で（2026-11） */
#header .right_msg p.site_since {
	position: absolute;
	top: -30px;
	right: 0;
	margin: 0;
	font-size: 13px;
	line-height: 1.4;
	letter-spacing: 0.02em;
	color: #08131a;
	text-align: right;
	white-space: nowrap;
}
/* メンバー紹介の仕事実績（制作実績へのリンク一覧。2026-11） */
#contents .entry-content .theContentWrap-ccc details.member_works {
	margin: 4px 0 36px;
	border-top: 1px solid #ddd;
	border-bottom: 1px solid #ddd;
}
#contents .entry-content .theContentWrap-ccc details.member_works summary {
	padding: 10px 0;
	font-size: 15px;
	font-weight: 600;
	color: #087ab3;
	cursor: pointer;
}
#contents .entry-content .theContentWrap-ccc details.member_works ul {
	margin: 0 0 12px;
	padding: 0;
	list-style: none;
}
#contents .entry-content .theContentWrap-ccc details.member_works li {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	margin: 0;
	padding: 7px 0;
	border-top: 1px dotted #ddd;
	list-style: none;
	background: none;
	font-size: 14px;
	line-height: 1.6;
}
#contents .entry-content .theContentWrap-ccc details.member_works li .member_works_date {
	flex-shrink: 0;
	color: #777;
	font-size: 13px;
}

/* ヘッダーをコンパクトに。Sinceの下に余白を確保し、メニューの上下を詰める（2026-11） */
#header {
	min-height: 0;
	padding-top: 36px;
	padding-bottom: 6px;
}
#global-nav > ul > li > a {
	padding-top: 7px;
	padding-bottom: 6px;
}
body:not(.home) .page-header {
	margin-top: 10px;
}
body.home #branding {
	margin-top: 8px;
}

/* ヘッダーのキャッチコピーを少し小さく（17px→15px。2026-11） */
#header .right_msg p:not(.site_since) {
	font-size: 15px;
}

/* 下層ページの見出し帯：会社案内2026の表紙と同じ、会社案内2026の表紙の画像を、文字に重ならないよう右寄せで。日本列島が収まる引きの画角（2026-11） */
body:not(.home) h1.page-title {
	padding-top: 116px;
	padding-bottom: 110px;
	background-image: url("/wp-content/uploads/2026/11/page-header-cover.jpg");
	background-size: cover;
	background-position: center 45%;
	background-repeat: no-repeat;
	background-color: #060d1f;
}

/* ヘッダーの各要素に余裕を持たせる。Since・Last Updateはヘッダー最上段に細い線で区切った1行として置く（2026-11） */
#header {
	position: relative;
	padding-top: 54px;
	padding-bottom: 16px;
}
#header .right_msg {
	position: static;
}
#header .right_msg p.site_since {
	top: 12px;
	left: 0;
	right: 0;
	font-size: 12.5px;
	color: #4a5560;
}
#global-nav > ul > li > a {
	padding-top: 9px;
	padding-bottom: 8px;
}

/* ロゴを大きく。Mの高さをキャッチコピー2行の高さにそろえる。高解像度のロゴ画像を背景で表示し、imgは代替テキスト用に透明で残す（2026-11） */
#header h1#site-id {
	margin: 0;
	position: relative;
	top: 5px;
}
#header h1#site-id a {
	display: block;
	width: 351px;
	height: 59px;
	background: url("/wp-content/uploads/2026/11/site_id_2026.png") no-repeat 0 0 / 351px 59px;
}
#header h1#site-id a img {
	opacity: 0;
	width: 351px !important;
	height: 59px !important;
	max-width: none;
}

/* Since・Last Updateはヘッダーから外し、最終更新日は固定ページごとに本文の下へ。ロゴは大きすぎない大きさに（2026-11） */
#header .right_msg p.site_since {
	display: none;
}
#header {
	padding-top: 26px;
	padding-bottom: 16px;
}
#header h1#site-id {
	top: 0;
}
#header h1#site-id a {
	width: 273px;
	height: 46px;
	background-size: 273px 46px;
}
#header h1#site-id a img {
	width: 273px !important;
	height: 46px !important;
}
#contents .page_last_update {
	max-width: 800px;
	margin: 12px auto 0;
	text-align: right;
	font-size: 13px;
	color: #5a646b;
}

/* 見出し帯：表紙の画像を右寄りに（前回の版。やや中央寄り・背景の紺を明るく調整）。高さも前回の約270px（2026-11） */
body:not(.home) h1.page-title {
	padding-top: 116px;
	padding-bottom: 110px;
	background-image: url("/wp-content/uploads/2026/11/page-header-cover.jpg");
	background-size: cover;
	background-position: center 45%;
	background-color: #153566;
}
/* キャッチコピーは小さくしすぎたので16pxに（2026-11） */
#header .right_msg p:not(.site_since) {
	font-size: 16px;
}
/* 最終更新日は本文の白い枠の右上に（2026-11） */
#contents .entry-content {
	position: relative;
}
#contents .entry-content > p.page_last_update {
	position: absolute;
	top: 18px;
	left: 0;
	right: 0;
	margin: 0 auto;
	max-width: 800px;
	padding: 0 24px;
	box-sizing: border-box;
	text-align: right;
	font-size: 13px;
	color: #5a646b;
	z-index: 2;
	pointer-events: none;
}
@media (min-width: 1240px) {
	#contents .entry-content:has(p.page_toc) > p.page_last_update {
		margin-left: 300px;
		margin-right: 0;
	}
}

/* キャプション・日付などを薄い色にしない。本文と同じ色で読ませる（2026-11） */
#contents .entry-content .theContentWrap-ccc p.figure_caption,
#contents .entry-content .theContentWrap-ccc table.simple_table .cell_note,
#contents .entry-content .theContentWrap-ccc ul.relation_cards .relation_card_date,
#contents .relation_section ul.relation_cards .relation_card_date,
#contents .entry-content .theContentWrap-ccc ul.case_cards .case_card_date,
#contents .entry-content .theContentWrap-ccc details.member_works li .member_works_date,
body.single #contents p.post_date,
#jisseki-all .jisseki_all_date,
#contents .page_last_update,
#contents .entry-content > p.page_last_update {
	color: #08131a;
}

/* ミッション・経営理念などの表：段落の間に余白を入れて読みやすく（2026-11） */
#contents .entry-content .theContentWrap-ccc table.philosophy_table td p {
	margin: 0 0 0.8em;
}
#contents .entry-content .theContentWrap-ccc table.philosophy_table td p:last-child,
#contents .entry-content .theContentWrap-ccc table.philosophy_table td ul:last-child {
	margin-bottom: 0;
}
#contents .entry-content .theContentWrap-ccc table.philosophy_table td ul {
	margin-top: 0;
	margin-bottom: 0.8em;
}

/* ミッション・経営理念・経営目的の本文（一文目）は太字で大きめにし、説明の地の文と分ける（2026-11） */
#contents .entry-content .theContentWrap-ccc table.philosophy_table td p.philosophy_lead {
	margin: 0.2em 0 1em;
	font-size: 1.12em;
	font-weight: 700;
	line-height: 1.7;
}
#contents .entry-content .theContentWrap-ccc table.philosophy_table td p.philosophy_lead:last-child {
	margin-bottom: 0.2em;
}

/* CSR活動（協賛・寄付など）の表は、行ごとに横並びのコンパクトな表に（2026-11） */
#contents .entry-content .theContentWrap-ccc table.csr_table {
	display: table !important;
	width: 100% !important;
	table-layout: fixed;
	border-collapse: collapse !important;
	border: 0 !important;
	border-top: 1px solid #b9b2a5 !important;
	margin: 6px 0 28px !important;
}
#contents .entry-content .theContentWrap-ccc table.csr_table thead {
	display: table-header-group !important;
}
#contents .entry-content .theContentWrap-ccc table.csr_table tbody {
	display: table-row-group !important;
}
#contents .entry-content .theContentWrap-ccc table.csr_table tr {
	display: table-row !important;
	margin: 0 !important;
	border: 0 !important;
	box-shadow: none !important;
	background: none !important;
}
#contents .entry-content .theContentWrap-ccc table.csr_table th,
#contents .entry-content .theContentWrap-ccc table.csr_table td {
	display: table-cell !important;
	padding: 7px 10px !important;
	border: 0 !important;
	border-bottom: 1px solid #e3dccd !important;
	background: none !important;
	font-size: 15px !important;
	line-height: 1.6 !important;
	vertical-align: top !important;
}
#contents .entry-content .theContentWrap-ccc table.csr_table th {
	width: 62% !important;
	font-weight: 600;
}
#contents .entry-content .theContentWrap-ccc table.csr_table thead th {
	border-bottom: 1px solid #b9b2a5 !important;
}

/* 実績一覧の絞り込みボタン（2026-11） */
#jisseki-all .jisseki_filter {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
	margin: 0 0 24px;
}
#jisseki-all .jisseki_filter button {
	padding: 9px 18px;
	border: 2px solid #087ab3;
	border-radius: 999px;
	background: #fff;
	color: #087ab3;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.4;
	cursor: pointer;
}
#jisseki-all .jisseki_filter button span {
	margin-left: 6px;
	font-size: 14px;
}
#jisseki-all .jisseki_filter button:hover {
	background: #e6f6fd;
}
#jisseki-all .jisseki_filter button.is-active {
	background: #087ab3;
	color: #fff;
}
#jisseki-all .jisseki_all_item[hidden] {
	display: none;
}
#jisseki-all {
	margin-top: 32px;
}

/* 実績一覧：表の形。エリアと内容のボタンで絞り込む（2026-11） */
#jisseki-all.jisseki_list {
	width: 1100px;
	max-width: 100%;
	margin: 36px auto 64px;
}
#jisseki-all .jisseki_search {
	margin: 0 0 18px;
	text-align: right;
}
#jisseki-all .jisseki_search label {
	font-size: 15px;
	font-weight: 600;
	color: #08131a;
}
#jisseki-all .jisseki_search input {
	width: 240px;
	margin-left: 10px;
	padding: 8px 10px;
	border: 1px solid #c8c8c8;
	background: #fff;
	font-size: 15px;
}
#jisseki-all .jisseki_filter {
	justify-content: flex-start;
	gap: 8px;
	margin: 0 0 10px;
}
#jisseki-all .jisseki_filter button {
	padding: 7px 16px;
	border: 1px solid #d4cdbf;
	background: #fff;
	color: #08131a;
	font-size: 15px;
}
#jisseki-all .jisseki_filter.is-kind button {
	border-color: #b9dcee;
	background: #f2f9fd;
}
#jisseki-all .jisseki_filter button:hover {
	border-color: #087ab3;
	background: #e6f6fd;
}
#jisseki-all .jisseki_filter button.is-active {
	border-color: #087ab3;
	background: #087ab3;
	color: #fff;
}
#jisseki-all .jisseki_count {
	margin: 18px 0 8px;
	font-size: 15px;
	color: #08131a;
}
#jisseki-all .jisseki_table {
	width: 100%;
	border-collapse: collapse;
	background: #fff;
	font-size: 15px;
	line-height: 1.6;
}
#jisseki-all .jisseki_table th {
	padding: 12px 14px;
	background: #08131a;
	color: #fff;
	font-weight: 600;
	text-align: center;
}
#jisseki-all .jisseki_table td {
	padding: 12px 14px;
	border-bottom: 1px solid #e3ddd2;
	color: #08131a;
	vertical-align: middle;
}
#jisseki-all .jisseki_table td.c_area,
#jisseki-all .jisseki_table td.c_date {
	white-space: nowrap;
	text-align: center;
}
#jisseki-all .jisseki_table th.c_area { width: 90px; }
#jisseki-all .jisseki_table th.c_kind { width: 210px; }
#jisseki-all .jisseki_table th.c_date { width: 80px; }
#jisseki-all .jisseki_table td.c_name a {
	color: #087ab3;
	text-decoration: none;
}
#jisseki-all .jisseki_table td.c_name a:hover {
	text-decoration: underline;
}
#jisseki-all .jisseki_table tr[hidden] {
	display: none;
}

/* 上部メニューは文字の長さに合わせた幅にする。スマホアプリのページではWeb制作を現在地にしない（2026-11） */
#global-nav > ul > li {
	flex: 1 1 auto;
}
body.page-id-2334 #global-nav > ul > li#menu-item-5203 > a {
	color: #08131a;
	box-shadow: none;
}

/* 実績一覧は3段組みのカードに戻す。カードの下にエリアと内容を出す（2026-11） */
#jisseki-all .jisseki_search,
#jisseki-all .jisseki_filter,
#jisseki-all .jisseki_count {
	padding: 0 4px;
}
#jisseki-all .jisseki_all_tags {
	margin: 4px 0 0;
	font-size: 15px;
	line-height: 1.5;
	color: #08131a;
}
#jisseki-all .jisseki_all_item[hidden] {
	display: none;
}

/* 実績一覧のボタン：角は四角に。エリアはコンパクトに。件数の数字は少し小さく（2026-11） */
#jisseki-all .jisseki_filter button {
	border-radius: 0;
}
#jisseki-all .jisseki_filter button span {
	font-size: 13px;
	margin-left: 5px;
}
#jisseki-all .jisseki_filter.is-area {
	gap: 6px;
}
#jisseki-all .jisseki_filter.is-area button {
	padding: 4px 10px;
	font-size: 14px;
}
#jisseki-all .jisseki_count {
	font-size: 14px;
}

/* ボタンを2つ並べるときは横並びにして、間を詰める（2026-11） */
#contents .btn_row {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 16px;
	margin: 24px 0 40px;
}
#contents .entry-content .theContentWrap-ccc .btn_row a.btn_link,
#contents .btn_row a.btn_link {
	margin: 0;
}

/* 実績一覧：ボタンは中央寄せ。上の余白を詰め、件数の行は出さない（2026-11） */
#jisseki-all.jisseki_list {
	margin-top: 12px;
}
#jisseki-all .jisseki_filter,
#jisseki-all .jisseki_filter.is-area {
	justify-content: center;
}
#jisseki-all .jisseki_filter.is-area {
	margin-bottom: 20px;
}
#jisseki-all .jisseki_count {
	display: none;
}

/* スマホアプリ開発ページ：Webアプリ・ハイブリッドアプリ・ネイティブアプリの比較表（2026-11） */
#contents table.app_compare_table {
	width: 100%;
	margin: 16px 0 8px;
	border-collapse: collapse;
	table-layout: fixed;
	font-size: 16px;
	line-height: 1.6;
	color: #08131a;
}
#contents table.app_compare_table th,
#contents table.app_compare_table td {
	padding: 12px 10px;
	border: 1px solid #d4cdbf;
	vertical-align: middle;
	background: #fff;
	color: #08131a;
}
#contents table.app_compare_table thead th {
	background: #08131a;
	color: #fff;
	font-weight: 600;
	text-align: center;
}
#contents table.app_compare_table thead th:first-child {
	background: #fff;
	border-top-color: #fff;
	border-left-color: #fff;
}
#contents table.app_compare_table thead th.is-hybrid {
	background: #00a1e9;
}
#contents table.app_compare_table thead th span {
	display: block;
	font-size: 14px;
}
#contents table.app_compare_table tbody th {
	width: 22%;
	font-weight: 600;
	text-align: left;
	background: #f6f3ee;
}
#contents table.app_compare_table td.is-hybrid {
	background: #e6f6fd;
}
#contents table.app_compare_table td .mk {
	display: block;
	font-size: 22px;
	line-height: 1.3;
	color: #00a1e9;
	text-align: center;
}
#contents table.app_compare_table td .mk.is-low {
	color: #929a9f;
}
#contents table.app_compare_table td {
	text-align: center;
}
#contents p.app_compare_note {
	margin: 0 0 24px;
	text-align: right;
}
#contents table.app_compare_table thead th {
	font-size: 15px;
	white-space: nowrap;
	padding-left: 4px;
	padding-right: 4px;
}
#contents table.app_compare_table tbody th {
	width: 19%;
}

/* フッター：サイトマップは5列。認証・認定のバナー（2026-11） */
#footer .footer_sitemap_inner {
	grid-template-columns: repeat(5, 1fr);
	max-width: 1100px;
}
#footer .footer_badges {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin: 16px 0 0;
}
#footer .footer_badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	height: 64px;
	padding: 4px 12px;
	border-radius: 4px;
	background: #fff;
	color: #08131a;
	font-size: 14px;
	line-height: 1.4;
	text-decoration: none;
}
#footer .footer_badge img {
	display: block;
	height: auto;
	margin: 0;
}
#footer .footer_badge:hover {
	opacity: 0.85;
}
#footer .footer_badges {
	justify-content: center;
}

/* 会社概要の基本情報は、ふつうの会社概要表（左に見出し、右に内容）にする（2026-11） */
body.page-id-66 #contents .entry-content .theContentWrap-ccc table.company_table:not(.philosophy_table) {
	display: table;
	width: 100%;
	border-collapse: collapse;
	border: 1px solid #ddd;
}
body.page-id-66 #contents .entry-content .theContentWrap-ccc table.company_table:not(.philosophy_table) tbody {
	display: table-row-group;
}
body.page-id-66 #contents .entry-content .theContentWrap-ccc table.company_table:not(.philosophy_table) tr {
	display: table-row;
	margin: 0;
	border: 0;
}
body.page-id-66 #contents .entry-content .theContentWrap-ccc table.company_table:not(.philosophy_table) th,
body.page-id-66 #contents .entry-content .theContentWrap-ccc table.company_table:not(.philosophy_table) td {
	display: table-cell;
	padding: 12px 14px;
	border: 1px solid #ddd;
	vertical-align: top;
	font-size: 16px;
}
body.page-id-66 #contents .entry-content .theContentWrap-ccc table.company_table:not(.philosophy_table) th {
	width: 140px !important;
	background-color: #f4f1ea;
	font-weight: 600;
	text-align: left;
	white-space: nowrap;
	line-height: 1.6;
}

/* 認証・認定のバナーは公式ロゴをそのまま使い、周りに余白をとる（S認証のガイドライン：最小15mm、周囲に0.1aの余白）（2026-11） */
#footer .footer_badge {
	height: auto;
	padding: 10px 14px;
}

/* フッターのサイトマップ：字を大きく、すべて太字。子項目は「・」付きの箇条書き（2026-11） */
#footer .footer_sitemap_ttl a {
	font-size: 19px;
	font-weight: 700;
}
#footer .footer_sitemap li {
	position: relative;
	padding-left: 1em;
}
#footer .footer_sitemap li::before {
	content: "・";
	position: absolute;
	left: 0;
	top: 0;
	color: #fff;
	font-weight: 700;
}
#footer .footer_sitemap li a {
	font-size: 17px;
	font-weight: 700;
	line-height: 1.6;
}

/* フッター：パンフレット表紙の画像を濃い紺で覆った背景に、左寄せのレイアウト（cmex.kyoto のフッターにならう）（2026-11） */
#footer {
	background: linear-gradient(rgba(9, 25, 54, 0.55), rgba(9, 25, 54, 0.8) 700px, rgba(9, 25, 54, 0.8)), url("/wp-content/uploads/2026/11/page-header-cover.jpg") center top / 100% auto no-repeat, #0f2a5c;
}
#footer .footer_company {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 32px;
	max-width: 1100px;
	margin: 0 auto;
	padding: 0 0 8px;
	text-align: left;
}
#footer .footer_company p {
	margin: 0;
	text-align: left;
}
#footer .footer_company p.footer_logo {
	margin: 0 0 14px;
}
#footer .footer_company p.footer_logo a {
	display: inline-block;
	padding: 8px 14px;
	border-radius: 4px;
	background: #fff;
}
#footer .footer_company p.footer_logo img {
	display: block;
	width: 220px;
	height: auto;
	margin: 0;
}
#footer .footer_company p.footer_catch {
	margin: 0 0 16px;
}
#footer .footer_company p.footer_name {
	margin: 0 0 4px;
}
#footer .footer_company p.footer_addr,
#footer .footer_company p.footer_tel {
	margin: 0;
}
#footer .footer_company_side {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 14px;
}
#footer .footer_company p.footer_sns {
	text-align: right;
}
#footer .footer_company p.footer_sns a {
	margin: 0 0 0 12px;
}
#footer .footer_badges {
	flex-direction: column;
	align-items: flex-end;
	justify-content: flex-start;
	margin: 0;
}
#footer .footer_sitemap {
	margin-top: 28px;
	border-top: 1px solid rgba(255, 255, 255, 0.35);
	padding-top: 28px;
}
#footer .footer_sitemap_inner {
	max-width: 1100px;
}

/* 認証・認定のバナーは縦型のロゴを同じ大きさの白い枠に並べる（2026-11） */
#footer .footer_badges {
	flex-direction: row;
	align-items: stretch;
	justify-content: flex-end;
	gap: 12px;
}
#footer .footer_badge {
	justify-content: center;
	width: 120px;
	height: 134px;
	padding: 12px;
	box-sizing: border-box;
}
#footer .footer_badge img {
	width: auto;
	height: 110px;
}

/* フッター：右半分にパンフレット表紙を引き延ばして敷く。会社名を大きく先頭に、バナーはサイトマップの下（2026-11） */
#footer {
	background: linear-gradient(to right, #0f2a5c 0, #0f2a5c 46%, rgba(15, 42, 92, 0.15) 58%, rgba(15, 42, 92, 0.15) 100%), url("/wp-content/uploads/2026/11/page-header-cover.jpg") right top / 54% 100% no-repeat, #0f2a5c;
}
#footer .footer_company p.footer_name {
	margin: 0 0 10px;
	font-size: 30px;
	font-weight: 700;
	line-height: 1.4;
	letter-spacing: 0.04em;
}
#footer .footer_company p.footer_catch {
	margin: 0 0 16px;
}
#footer .footer_badges.footer_badges_bottom {
	display: flex;
	flex-direction: row;
	justify-content: flex-start;
	gap: 12px;
	max-width: 1100px;
	margin: 28px auto 0;
	padding-top: 24px;
	border-top: 1px solid rgba(255, 255, 255, 0.35);
}

/* 認証・認定のバナーはいちばん読みやすい横型ロゴを使う。S認証（ロゴセット2）はガイドラインどおり縦横比を変えず、最小サイズ（高さ15mm）以上、周囲に高さの10%以上の余白をとる（2026-11） */
#footer .footer_badges.footer_badges_bottom {
	align-items: center;
	flex-wrap: wrap;
	gap: 16px;
}
#footer .footer_badges.footer_badges_bottom .footer_badge {
	display: flex;
	align-items: center;
	justify-content: center;
	width: auto;
	height: auto;
	padding: 16px 20px;
	box-sizing: border-box;
	background: #fff;
}
#footer .footer_badges.footer_badges_bottom .footer_badge img {
	display: block;
	width: auto;
	max-width: none;
	height: 72px;
}
#footer .footer_badges.footer_badges_bottom .footer_badge + .footer_badge img {
	height: 96px;
}

/* フッター背景：パンフレット表紙の写真を縦横比のまま右半分に置き、左と下は紺へなじませる（2026-11） */
#footer {
	position: relative;
	overflow: hidden;
	background: #0b1d3f;
}
#footer::before {
	content: "";
	position: absolute;
	top: 0;
	right: 0;
	z-index: 0;
	width: 50%;
	aspect-ratio: 2400 / 3591;
	background: url("/wp-content/uploads/2026/11/footer-cover-tate.jpg") center top / 100% auto no-repeat;
	-webkit-mask-image: linear-gradient(to right, transparent 0, #000 30%), linear-gradient(to bottom, #000 75%, transparent 100%);
	-webkit-mask-composite: source-in;
	mask-image: linear-gradient(to right, transparent 0, #000 30%), linear-gradient(to bottom, #000 75%, transparent 100%);
	mask-composite: intersect;
	pointer-events: none;
}
#footer > * {
	position: relative;
	z-index: 1;
}

/* フッター：表紙写真を一番上から出し、地平線の光が社名の右側にくる位置にずらす。住所と電話は改行で並べ、SNSアイコンは最下部に中央寄せ（2026-11） */
#footer::before {
	top: -36vw;
}
#footer .footer_company p.footer_addr {
	margin: 0 0 14px;
	line-height: 1.8;
}
#footer .footer_company p.footer_tel {
	margin: 0;
	line-height: 1.8;
}
#footer p.footer_sns.footer_sns_bottom {
	display: flex;
	justify-content: center;
	gap: 16px;
	margin: 28px auto 8px;
	text-align: center;
}
#footer p.footer_sns.footer_sns_bottom a {
	display: inline-block;
	margin: 0;
}

/* フッター冒頭：キャッチコピーを小さめに、その下に社名を大きく（2026-11） */
#footer .footer_company p.footer_catch {
	margin: 0 0 4px;
	font-size: 16px;
	font-weight: 700;
	letter-spacing: 0.08em;
}
#footer .footer_company p.footer_name {
	margin: 0 0 18px;
}

/* 認証・認定のバナー：白い枠の高さを2つでそろえ、余白を少し広めにとる（2026-11） */
#footer .footer_badges.footer_badges_bottom {
	align-items: stretch;
}
#footer .footer_badges.footer_badges_bottom .footer_badge {
	height: 144px;
	padding: 24px 32px;
}

/* フッター背景：表紙写真を中央より左まで広げ、パンフのように空を多めに見せる（2026-11） */
#footer::before {
	top: -8vw;
	width: 66%;
	-webkit-mask-image: linear-gradient(to right, transparent 0, #000 35%), linear-gradient(to bottom, #000 80%, transparent 100%);
	mask-image: linear-gradient(to right, transparent 0, #000 35%), linear-gradient(to bottom, #000 80%, transparent 100%);
}

/* フッター背景：写真を少し縮め、社名の右側に地球が来る位置に上げる（2026-11） */
#footer::before {
	top: -24vw;
	width: 48%;
}

/* フッター：FAX番号の下に事業内容の一文（2026-11） */
#footer .footer_company p.footer_lead {
	margin: 14px 0 0;
	line-height: 1.8;
}

/* フッター背景：写真は社名・住所の段だけに収め、サイトマップには日本列島がかからないようにする（縦横比は維持して切り抜き）（2026-11） */
#footer::before {
	top: 0;
	width: 55%;
	height: 380px;
	aspect-ratio: auto;
	background: url("/wp-content/uploads/2026/11/footer-cover-tate.jpg") center 74% / cover no-repeat;
	-webkit-mask-image: linear-gradient(to right, transparent 0, #000 35%), linear-gradient(to bottom, #000 70%, transparent 100%);
	mask-image: linear-gradient(to right, transparent 0, #000 35%), linear-gradient(to bottom, #000 70%, transparent 100%);
}

/* フッター：社名の下に設立日（会社概要の会社設立日 2011年7月1日）（2026-11） */
#footer .footer_company p.footer_name {
	margin: 0 0 2px;
}
#footer .footer_company p.footer_est {
	margin: 0 0 18px;
	font-size: 15px;
	letter-spacing: 0.08em;
	line-height: 1.6;
}

/* フッター冒頭の会社情報：高さをゆったり使い、右側の写真をしっかり見せる（2026-11） */
#footer .footer_company {
	padding: 80px 0 88px;
}
#footer .footer_company p.footer_catch {
	margin: 0 0 12px;
	font-size: 17px;
}
#footer .footer_company p.footer_name {
	margin: 0 0 8px;
	font-size: 34px;
}
#footer .footer_company p.footer_est {
	margin: 0 0 40px;
}
#footer .footer_company p.footer_addr {
	margin: 0 0 28px;
	line-height: 2;
}
#footer .footer_company p.footer_tel {
	line-height: 2;
}
#footer .footer_company p.footer_lead {
	margin: 40px 0 0;
	line-height: 2;
}
#footer .footer_sitemap {
	margin-top: 0;
}
#footer::before {
	height: 642px;
	background-position: center 76%;
	-webkit-mask-image: linear-gradient(to right, transparent 0, #000 35%), linear-gradient(to bottom, #000 78%, transparent 100%);
	mask-image: linear-gradient(to right, transparent 0, #000 35%), linear-gradient(to bottom, #000 78%, transparent 100%);
}

/* 設立表記：創業（個人事業 2007年11月1日）と法人設立（2011年7月1日）を並べる（2026-11） */
#footer .footer_company p.footer_est .footer_est_sep {
	display: inline-block;
	width: 1px;
	height: 0.9em;
	margin: 0 14px;
	background: rgba(255, 255, 255, 0.6);
	vertical-align: -0.1em;
}

/* フッター背景：写真をもう少し拡大し、右端もぼかして紺になじませる（2026-11） */
#footer::before {
	width: 60%;
	background-size: 125% auto;
	background-position: 55% 74%;
	-webkit-mask-image: linear-gradient(to right, transparent 0, #000 32%, #000 80%, transparent 100%), linear-gradient(to bottom, #000 78%, transparent 100%);
	mask-image: linear-gradient(to right, transparent 0, #000 32%, #000 80%, transparent 100%), linear-gradient(to bottom, #000 78%, transparent 100%);
}

/* フッター背景：日本列島がまるごと見える大きさに戻し、右端だけ軽くぼかす（2026-11） */
#footer::before {
	width: 58%;
	background-size: cover;
	background-position: center 76%;
	-webkit-mask-image: linear-gradient(to right, transparent 0, #000 32%, #000 88%, transparent 100%), linear-gradient(to bottom, #000 78%, transparent 100%);
	mask-image: linear-gradient(to right, transparent 0, #000 32%, #000 88%, transparent 100%), linear-gradient(to bottom, #000 78%, transparent 100%);
}

/* フッターのサイトマップ：上下の余白を広めに（2026-11） */
#footer .footer_sitemap {
	padding-top: 60px;
	padding-bottom: 40px;
}
#footer .footer_badges.footer_badges_bottom {
	margin-top: 20px;
	padding-top: 48px;
}

/* フッター背景：写真を気持ち上へ寄せ、下端のぼかしはなし（2026-11） */
#footer::before {
	background-position: center 84%;
	-webkit-mask-image: linear-gradient(to right, transparent 0, #000 32%, #000 88%, transparent 100%);
	mask-image: linear-gradient(to right, transparent 0, #000 32%, #000 88%, transparent 100%);
}

/* フッターのサイトマップ：文字を気持ち小さく（2026-11） */
#footer .footer_sitemap_ttl a {
	font-size: 18px;
}
#footer .footer_sitemap li,
#footer .footer_sitemap li a {
	font-size: 15px;
}

/* フッター背景：今の位置のまま50px左へ、下端もぼかす（2026-11） */
#footer::before {
	right: 50px;
	-webkit-mask-image: linear-gradient(to right, transparent 0, #000 32%, #000 88%, transparent 100%), linear-gradient(to bottom, #000 78%, transparent 100%);
	-webkit-mask-composite: source-in;
	mask-image: linear-gradient(to right, transparent 0, #000 32%, #000 88%, transparent 100%), linear-gradient(to bottom, #000 78%, transparent 100%);
	mask-composite: intersect;
}

/* 上へ戻るボタンがフッターの下に隠れないよう前面に出す（2026-11） */
#back_to_top {
	z-index: 1000;
}

/* フッター背景：大きさは前のまま、段の上の余白を広げて写真の上側（空）に余裕を持たせる。上端もうっすらぼかす（2026-11） */
#footer .footer_company {
	padding-top: 140px;
}
#footer::before {
	height: 702px;
	background-size: cover;
	background-position: center 83%;
	-webkit-mask-image: linear-gradient(to right, transparent 0, #000 32%, #000 88%, transparent 100%), linear-gradient(to bottom, transparent 0, #000 12%, #000 78%, transparent 100%);
	-webkit-mask-composite: source-in;
	mask-image: linear-gradient(to right, transparent 0, #000 32%, #000 88%, transparent 100%), linear-gradient(to bottom, transparent 0, #000 12%, #000 78%, transparent 100%);
	mask-composite: intersect;
}
/* フッター背景：大きさはそのまま、左下へ少しずらす（2026-11） */
#footer::before {
	right: 110px;
	background-position: center 77%;
}
/* フッター背景：画面の幅にかかわらず、社名の段（幅1100px）との位置関係と大きさを一定に保つ（2026-11） */
#footer::before {
	left: calc(50% - 250px);
	right: auto;
	width: 1014px;
	background-size: 1014px auto;
}
/* フッター背景：右端のぼかしを広く、なだらかに（2026-11） */
#footer::before {
	-webkit-mask-image: linear-gradient(to right, transparent 0, #000 32%, #000 68%, rgba(0, 0, 0, 0.55) 84%, rgba(0, 0, 0, 0.15) 94%, transparent 100%), linear-gradient(to bottom, transparent 0, #000 12%, #000 78%, transparent 100%);
	-webkit-mask-composite: source-in;
	mask-image: linear-gradient(to right, transparent 0, #000 32%, #000 68%, rgba(0, 0, 0, 0.55) 84%, rgba(0, 0, 0, 0.15) 94%, transparent 100%), linear-gradient(to bottom, transparent 0, #000 12%, #000 78%, transparent 100%);
	mask-composite: intersect;
}
/* フッター背景：日本列島が下端のぼかしにかからないよう、写真を上へ（2026-11） */
#footer::before {
	background-position: center 85%;
	-webkit-mask-image: linear-gradient(to right, transparent 0, #000 32%, #000 68%, rgba(0, 0, 0, 0.55) 84%, rgba(0, 0, 0, 0.15) 94%, transparent 100%), linear-gradient(to bottom, transparent 0, #000 12%, #000 84%, transparent 100%);
	mask-image: linear-gradient(to right, transparent 0, #000 32%, #000 68%, rgba(0, 0, 0, 0.55) 84%, rgba(0, 0, 0, 0.15) 94%, transparent 100%), linear-gradient(to bottom, transparent 0, #000 12%, #000 84%, transparent 100%);
}

/* フッターのバナー：.kyoto MAP はサイトのロゴ画像をそのまま、ほかのバナーと同じ高さで（2026-11） */
#footer .footer_badges.footer_badges_bottom .footer_badge.footer_badge_map {
	padding: 0;
	background: #2a1d33;
	overflow: hidden;
}
#footer .footer_badges.footer_badges_bottom .footer_badge.footer_badge_map img {
	height: 144px;
	width: auto;
}
/* 3つのバナーが1行に収まるよう、白い枠の左右の余白を少し詰める（2026-11） */
#footer .footer_badges.footer_badges_bottom .footer_badge:not(.footer_badge_map) {
	padding-left: 24px;
	padding-right: 24px;
}
/* 3つのバナー：.kyoto MAP の原寸（298×115）に合わせて高さを低めにそろえ、灰色の枠線を付ける（2026-11） */
#footer .footer_badges.footer_badges_bottom .footer_badge {
	height: 117px;
	border: 1px solid #bbb;
	box-sizing: border-box;
}
#footer .footer_badges.footer_badges_bottom .footer_badge:not(.footer_badge_map) {
	padding: 16px 24px;
}
#footer .footer_badges.footer_badges_bottom .footer_badge img {
	height: 64px;
}
#footer .footer_badges.footer_badges_bottom .footer_badge + .footer_badge img {
	height: 80px;
}
#footer .footer_badges.footer_badges_bottom .footer_badge.footer_badge_map img {
	width: 298px;
	height: 115px;
}

/* 本文の長い項目は途中まで見せて「もっと見る」で開く（Web制作の技術の応用など）（2026-11） */
#contents .more_wrap .more_box {
	position: relative;
	max-height: 300px;
	overflow: hidden;
}
#contents .more_wrap .more_box::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 140px;
	background: linear-gradient(rgba(255, 255, 255, 0), #fff);
	pointer-events: none;
}
#contents .more_wrap.is-open .more_box {
	max-height: none;
}
#contents .more_wrap.is-open .more_box::after,
#contents .more_wrap.is-open .more_btn_wrap {
	display: none;
}
#contents .more_wrap .more_btn_wrap {
	margin: 8px 0 0;
	text-align: center;
}
#contents .more_wrap .more_btn {
	display: inline-block;
	padding: 10px 40px;
	border: 1px solid #0f2a5c;
	border-radius: 0;
	background: #fff;
	color: #0f2a5c;
	font-size: 15px;
	font-weight: 700;
	cursor: pointer;
}
#contents .more_wrap .more_btn:hover {
	background: #0f2a5c;
	color: #fff;
}

/* フッターのサイトマップ：下層の項目は細字に（見出しは太字のまま）（2026-11） */
#footer .footer_sitemap li,
#footer .footer_sitemap li a {
	font-weight: 400;
}

/* 上部メニュー：Web制作のドロップダウンをやめたので▼も出さない（2026-11） */
#global-nav > ul > li#menu-item-5203 > a::after {
	content: none;
	display: none;
}

/* Web制作のページの本文の制作事例は1段組みに（2026-11） */
body.page-id-86 #contents .entry-content .theContentWrap-ccc ul.case_cards {
	grid-template-columns: minmax(0, 1fr);
	gap: 32px;
}

/* サービスページの序盤に事例の画像を並べて見せる（Webサイト制作・Webシステム・スマホアプリ）（2026-11） */
#contents .entry-content .visual_works {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
	margin: 20px 0 32px;
}
#contents .entry-content .visual_works a.visual_work {
	display: block;
	color: #08131a;
	text-decoration: none;
}
#contents .entry-content .visual_works a.visual_work img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 10;
	object-fit: cover;
	object-position: center top;
	margin: 0;
	border: 1px solid #ddd;
	box-sizing: border-box;
	transition: opacity 0.2s;
}
#contents .entry-content .visual_works a.visual_work:hover img {
	opacity: 0.8;
}
#contents .entry-content .visual_works a.visual_work span {
	display: block;
	margin-top: 6px;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.5;
}
#contents .entry-content .visual_phones {
	display: flex;
	justify-content: center;
	align-items: flex-end;
	gap: 14px;
	margin: 20px 0 32px;
}
#contents .entry-content .visual_phones a.visual_phone {
	display: block;
}
#contents .entry-content .visual_phones a.visual_phone img {
	display: block;
	width: auto;
	height: 260px;
	margin: 0;
	border: 5px solid #222;
	border-radius: 18px;
	box-shadow: 0 6px 14px rgba(0, 0, 0, 0.18);
	background: #fff;
}
@media (max-width: 767px) {
	#contents .entry-content .visual_works {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	#contents .entry-content .visual_phones {
		flex-wrap: wrap;
	}
	#contents .entry-content .visual_phones a.visual_phone img {
		height: 200px;
	}
}

/* サービスページ序盤の代表例は4件を2列で。画像は切り取らず全体を見せる（2026-11） */
#contents .entry-content .visual_works {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 28px 24px;
	margin: 24px 0 36px;
	align-items: start;
}
#contents .entry-content .visual_works a.visual_work img {
	aspect-ratio: auto;
	object-fit: initial;
	height: auto;
}
#contents .entry-content .visual_works a.visual_work span {
	margin-top: 0;
}
#contents .entry-content .visual_works a.visual_work .vw_title {
	margin-top: 8px;
	font-size: 16px;
	font-weight: 700;
}
#contents .entry-content .visual_works a.visual_work .vw_desc {
	font-size: 14px;
	font-weight: 400;
	color: #333;
}
#contents .entry-content .visual_works.visual_apps a.visual_work .vw_frame {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 300px;
	padding: 16px;
	background: #eef2f6;
	box-sizing: border-box;
}
#contents .entry-content .visual_works.visual_apps a.visual_work .vw_frame img {
	width: auto;
	max-width: 100%;
	height: auto;
	max-height: 100%;
	border: 1px solid #ccc;
}

/* Webサイト制作のページ冒頭の代表例は1段組み、キャプションは1行で（2026-11） */
body.page-id-86 #contents .entry-content .visual_works {
	grid-template-columns: minmax(0, 1fr);
	gap: 24px;
}
body.page-id-86 #contents .entry-content .visual_works a.visual_work .vw_title,
body.page-id-86 #contents .entry-content .visual_works a.visual_work .vw_desc {
	display: inline;
}
body.page-id-86 #contents .entry-content .visual_works a.visual_work .vw_title {
	display: inline-block;
	margin-right: 1em;
}

/* システムの処理の流れを縦の手順図で見せる（Webシステムのページの事例など）（2026-11） */
#contents .entry-content ol.flow_steps {
	list-style: none;
	margin: 20px 0 28px;
	padding: 0;
	counter-reset: flow;
}
#contents .entry-content ol.flow_steps li {
	position: relative;
	display: grid;
	grid-template-columns: 76px 1fr;
	grid-template-rows: auto auto;
	column-gap: 14px;
	align-items: center;
	margin: 0 0 22px;
	padding: 12px 16px;
	border: 1px solid #c9d6e3;
	border-radius: 6px;
	background: #f5f9fc;
	list-style: none;
	counter-increment: flow;
}
#contents .entry-content ol.flow_steps li:not(:last-child)::after {
	content: "";
	position: absolute;
	left: 50%;
	bottom: -17px;
	border: 8px solid transparent;
	border-top: 9px solid #087ab3;
	transform: translateX(-50%);
}
#contents .entry-content ol.flow_steps .flow_who {
	grid-row: 1 / 3;
	display: block;
	padding: 6px 0;
	border-radius: 4px;
	background: #087ab3;
	color: #fff;
	font-size: 13px;
	font-weight: 700;
	text-align: center;
}
#contents .entry-content ol.flow_steps .flow_who.is-auto {
	background: #5d7a93;
}
#contents .entry-content ol.flow_steps .flow_who.is-admin {
	background: #0f2a5c;
}
#contents .entry-content ol.flow_steps b {
	font-size: 16px;
	line-height: 1.5;
}
#contents .entry-content ol.flow_steps b::before {
	content: counter(flow) ". ";
}
#contents .entry-content ol.flow_steps .flow_desc {
	font-size: 14px;
	line-height: 1.6;
	color: #333;
}

/* 画像を公開できない事例（京都府警察本部様の教材など）は、画面の構成をタブレット風の図で見せる（2026-11） */
#contents .entry-content .mock_tablet {
	max-width: 520px;
	margin: 20px auto 6px;
	padding: 18px;
	border-radius: 22px;
	background: #222;
	box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
}
#contents .entry-content .mock_tablet .mock_screen {
	padding: 18px 18px 22px;
	border-radius: 6px;
	background: linear-gradient(#eaf4fb, #fff);
}
#contents .entry-content .mock_tablet p.mock_ttl {
	margin: 0 0 14px;
	color: #0f2a5c;
	font-size: 17px;
	font-weight: 700;
	text-align: center;
}
#contents .entry-content .mock_tablet ul.mock_tiles {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}
#contents .entry-content .mock_tablet ul.mock_tiles li {
	margin: 0;
	padding: 16px 6px;
	border-radius: 6px;
	background: #087ab3;
	color: #fff;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.4;
	text-align: center;
	list-style: none;
}
#contents .entry-content .mock_tablet ul.mock_tiles li:nth-child(even) {
	background: #0f2a5c;
}
#contents .entry-content p.mock_note {
	margin: 0 0 24px;
	color: #555;
	font-size: 13px;
	text-align: center;
}
#contents .entry-content .mock_tablet ul.mock_tiles li,
#contents .entry-content .theContentWrap-ccc .mock_tablet ul.mock_tiles li {
	color: #fff !important;
	font-size: 13px;
	white-space: nowrap;
	padding: 18px 4px;
}

/* サービスページ冒頭の代表例は、どのページも1段組み・キャプション1行に（2026-11） */
#contents .entry-content .visual_works {
	grid-template-columns: minmax(0, 1fr);
	gap: 24px;
}
#contents .entry-content .visual_works a.visual_work .vw_title {
	display: inline-block;
	margin-right: 1em;
}
#contents .entry-content .visual_works a.visual_work .vw_desc {
	display: inline;
}
#contents .entry-content .visual_works.visual_apps a.visual_work .vw_frame {
	height: 440px;
}

/* 本文の段落は意味の区切りで改行（br.lb）。画面の狭いスマホでは自動の折り返しに任せる（2026-11） */
@media (max-width: 767px) {
	#contents .entry-content br.lb {
		display: none;
	}
}

/* フッターのバナー4つ（S認証・1000年・.kyoto MAP・やさしいデザイン）を1行に。高さは104pxでそろえる（2026-11） */
#footer .footer_badges.footer_badges_bottom {
	gap: 12px;
	flex-wrap: nowrap;
}
#footer .footer_badges.footer_badges_bottom .footer_badge {
	height: 104px;
}
#footer .footer_badges.footer_badges_bottom .footer_badge:not(.footer_badge_map) {
	padding: 12px 16px;
}
#footer .footer_badges.footer_badges_bottom .footer_badge img {
	height: 60px;
}
#footer .footer_badges.footer_badges_bottom .footer_badge + .footer_badge img {
	height: 72px;
}
#footer .footer_badges.footer_badges_bottom .footer_badge.footer_badge_map img {
	width: auto;
	height: 102px;
}
#footer .footer_badges.footer_badges_bottom .footer_badge.footer_badge_yasashii img {
	height: 56px;
}

/* 社名の下の創業・設立の表記は、おまけ程度に小さく（2026-11） */
#footer .footer_company p.footer_est {
	font-size: 12px;
	letter-spacing: 0.06em;
	opacity: 0.85;
}

/* Webサイト制作のページの制作事例：1段組みなので画像は切り取らず全体を見せる（2026-11） */
body.page-id-86 #contents .entry-content .theContentWrap-ccc ul.case_cards .case_card_img {
	height: auto;
	padding-top: 0;
	aspect-ratio: auto;
}
body.page-id-86 #contents .entry-content .theContentWrap-ccc ul.case_cards .case_card_img img {
	position: static;
	height: auto;
	object-fit: initial;
}

/* 会社概要表：セル先頭の段落の上余白をなくす */
#contents .entry-content .theContentWrap-ccc table.simple_table td > p:first-child { margin-top: 0 !important; }

/* CSR関連の表：4つの表の列幅をそろえ、内容列の改行位置を保つ */
body.page-id-66 #contents .entry-content .theContentWrap-ccc table.csr_table { table-layout: fixed !important; }
body.page-id-66 #contents .entry-content .theContentWrap-ccc table.csr_table th { width: 55% !important; }

/* 宮嶋健人のプロフィール表は写真の回り込みを解除して幅いっぱいに */
body.page-id-66 #contents .more_wrap:has(.profile_table) { clear: both; }

/* 登壇歴の各行に講座の様子の写真を添える（2026-11） */
#contents .entry-content table.profile_table td img.talk_inline_photo { display: block; width: 260px; max-width: 100%; height: auto; margin: 10px 0 4px; border-radius: 4px; }

/* メンバー紹介：肩書きの行と本文の段落を分けて読みやすく（2026-11） */
body.page-id-66 #contents p.member_role { margin: 0 0 10px; font-weight: 600; }

/* 宮嶋健人のプロフィール表をCSR活動の表と同じくコンパクトに（2026-11） */
#contents .entry-content .theContentWrap-ccc table.profile_table th,
#contents .entry-content .theContentWrap-ccc table.profile_table td { padding: 7px 10px !important; font-size: 15px !important; line-height: 1.6 !important; }
#contents .entry-content .theContentWrap-ccc table.profile_table ul.cell_list { margin-top: 2px; margin-bottom: 0; }
#contents .entry-content .theContentWrap-ccc table.profile_table td p { margin: 0; }
#contents .entry-content .theContentWrap-ccc table.profile_table td p + p,
#contents .entry-content .theContentWrap-ccc table.profile_table td ul + p { margin-top: 1.6em; }
#contents .entry-content .theContentWrap-ccc table.profile_table td p,
#contents .entry-content .theContentWrap-ccc table.profile_table td li { font-size: 15px !important; line-height: 1.6 !important; }

/* 「もっと見る」の直後のリンクやボタンと重ならないよう間をあける（2026-11） */
#contents .more_wrap + a.btn_link,
#contents .more_wrap + p,
#contents .more_wrap + .sample_card_links { margin-top: 20px; }

/* 「もっと見る」はページ内で開くだけなので、リンクのボタンと見分けがつくよう文字だけの体裁にする（2026-11） */
#contents .more_wrap .more_btn { padding: 6px 14px; border: 0; border-radius: 0; background: none; color: #0c3158; font-size: 15px; font-weight: 600; }
#contents .more_wrap .more_btn::after { content: " ▼"; font-size: 12px; }
#contents .more_wrap .more_btn:hover { background: none; color: #0c3158; text-decoration: underline; }
/* サンプルへのリンクは、ほかのリンクボタンと同じボタンの体裁にする（2026-11） */
#contents .sample_card_links { display: block; margin: 14px 0 6px; }
#contents .sample_card_links a { display: inline-block; margin: 0 8px 8px 0; padding: 10px 28px; border: 1px solid #ccc; border-radius: 10px; background: #fff; color: #0c3158; font-size: 16px; text-decoration: none; }
#contents .sample_card_links a:hover { background: #f4f1ea; }

/* 会社情報の表の中の「沿革」（年と出来事の小さな表）（2026-11） */
body.page-id-66 #contents .entry-content .theContentWrap-ccc table.company_table table.mini_history { display: table !important; width: 100% !important; margin: 0 !important; border: 0 !important; table-layout: auto !important; }
body.page-id-66 #contents .entry-content .theContentWrap-ccc table.company_table table.mini_history tbody { display: table-row-group !important; }
body.page-id-66 #contents .entry-content .theContentWrap-ccc table.company_table table.mini_history tr { display: table-row !important; }
body.page-id-66 #contents .entry-content .theContentWrap-ccc table.company_table table.mini_history th,
body.page-id-66 #contents .entry-content .theContentWrap-ccc table.company_table table.mini_history td { display: table-cell !important; padding: 2px 0 6px !important; border: 0 !important; background: none !important; font-size: 15px !important; line-height: 1.6 !important; vertical-align: top !important; }
body.page-id-66 #contents .entry-content .theContentWrap-ccc table.company_table table.mini_history th { width: 1% !important; padding-right: 10px !important; white-space: nowrap !important; font-weight: 600; }
body.page-id-66 #contents .entry-content .theContentWrap-ccc table.company_table table.mini_history td { width: auto !important; }

/* 会社情報の表の「沿革」：年を頭にそろえ、折り返しは本文の位置から（2026-11） */
#contents .entry-content table.company_table ul.history_list { margin: 0; padding: 0; list-style: none; }
#contents .entry-content table.company_table ul.history_list li { margin: 0 0 4px; padding-left: 4.3em; text-indent: -4.3em; list-style: none; }
#contents .entry-content table.company_table ul.history_list li::before { content: none; display: none; }
/* 2019年版パンフレットは2段組みで小さく（2026-11） */
#contents .entry-content .pamphlet_old_grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 12px 0 24px; }
#contents .entry-content .pamphlet_old_grid p { margin: 0; }
#contents .entry-content .pamphlet_old_grid img { display: block; width: 100%; height: auto; margin: 0; }
@media (max-width: 767px) { #contents .entry-content .pamphlet_old_grid { gap: 8px; } }

/* トップのスライドショー：表示が始まったら、読み込み中のために確保していた高さを外し、サムネイルの下に余白を残さない（2026-11） */
@media (min-width: 768px) { #branding:has(#slider.slick-initialized) { min-height: 0 !important; } }
@media (min-width: 768px) {
	#branding #slider.slick-initialized { margin-bottom: 0; }
	#branding #slider .slick-dots { bottom: 0; }
	#branding { padding-bottom: 0; }
}
/* スライドショーとサムネイルの間を15pxあける（2026-11） */
#branding #slider .slick-dots { margin-top: 15px; }
/* トップページ（PC）の京都新聞の記事画像は2段組みで横に並べ、列の幅を画像の縦横比に合わせて高さをそろえる（2026-11） */
@media (min-width: 768px) {
	.home .np_clips { display: grid; grid-template-columns: 1.4804fr 0.9497fr; gap: 30px; align-items: start; max-width: 940px !important; }
	.home .np_clips figure { margin: 0 !important; }
}
