/* =====================================================================
 * デザインのディテールの底上げ（2026-11 に追加。stylus（gulpfile.js が壊れている）を通さず直接書いている。functions.php で common.css のあとに読み込む）
 * 今のデザイン（青 #0082B3・紺 #003A82・グレーの地・六角形の背景）はそのままに、
 * 文字の整え・ホバーの反応・カードの影と角・ボタンの矢印・フォームの枠・カレントの印などを細かく整える
 * 元の CSS（common.css）の詳細度に負けないよう、元と同じ並びのセレクタに html を前に付けている
 * ===================================================================== */
:root {
	--oc-blue: #0082B3;
	--oc-navy: #003A82;
	--oc-ink: #2a2f36;
	--oc-sub: #6b7480;
	--oc-line: #e3e7ec;
	--oc-ease: cubic-bezier(.22, 1, .36, 1);
	--oc-shadow: 0 1px 2px rgba(16, 38, 66, .05), 0 6px 18px rgba(16, 38, 66, .06);
	--oc-shadow-hover: 0 2px 4px rgba(16, 38, 66, .06), 0 14px 32px rgba(16, 38, 66, .10);
}

/* ------------------------------------------------------------ 文字 */
html body {
	color: var(--oc-ink);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
	font-feature-settings: "palt" 0;
}
html a { transition: color .25s, opacity .25s, background-color .25s, border-color .25s; }
::selection { background: rgba(0, 130, 179, .18); }
/* キーボードで操作したときの枠（マウスでは出さない） */
html a:focus-visible,
html button:focus-visible,
html input:focus-visible,
html textarea:focus-visible {
	outline: 2px solid var(--oc-blue);
	outline-offset: 3px;
}

/* ------------------------------------------------------------ ヘッダーのメニュー（2026-11）
 * 日本語の下に英字の小見出し（header.php の oc_menu_en）。ホバーで文字の下に青い線が中央から伸び、カレントは引いたまま。
 * お問合せは青いボタン、SNS は細い区切り線のあとに */
html body > header > ul.menu > li:not(.sns) > a {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: .5em 0 .6em;
	color: #3d434b;
	text-decoration: none;
}
html body > header > ul.menu > li:not(.sns) > a .oc-ja {
	letter-spacing: .08em;
	line-height: 1.3;
	transition: color .25s;
}
html body > header > ul.menu > li:not(.sns) > a .oc-en {
	margin-top: .45em;
	font-size: .95rem;
	line-height: 1;
	letter-spacing: .2em;
	color: var(--oc-blue);
	opacity: .7;
	font-weight: 500;
	transition: opacity .25s;
}
html body > header > ul.menu > li:not(.sns):not(.oc-contact-item) > a::after {
	content: '';
	position: absolute;
	left: 50%;
	bottom: -.2em;
	width: 2.4em;
	height: 2px;
	margin-left: -1.2em;
	background: var(--oc-blue);
	transform: scaleX(0);
	transition: transform .45s var(--oc-ease);
}
html body > header > ul.menu > li:not(.sns) > a:hover { text-decoration: none; }
html body > header > ul.menu > li:not(.sns):not(.oc-contact-item) > a:hover .oc-ja,
html body > header > ul.menu > li.oc-current:not(.oc-contact-item) > a .oc-ja { color: var(--oc-blue); }
html body > header > ul.menu > li:not(.sns) > a:hover .oc-en,
html body > header > ul.menu > li.oc-current > a .oc-en { opacity: 1; }
html body > header > ul.menu > li:not(.sns):not(.oc-contact-item) > a:hover::after,
html body > header > ul.menu > li.oc-current:not(.oc-contact-item) > a::after { transform: scaleX(1); }
/* お問合せ：青いボタン */
html body > header > ul.menu > li.oc-contact-item { margin-left: 3.2rem; }
html body > header > ul.menu > li.oc-contact-item > a {
	padding: .85em 1.7em .8em;
	background: var(--oc-blue);
	color: #fff;
	border-radius: 2px;
	box-shadow: 0 6px 16px rgba(0, 130, 179, .22);
	transition: background-color .3s, box-shadow .3s, transform .3s var(--oc-ease);
}
html body > header > ul.menu > li.oc-contact-item > a .oc-en { color: #fff; opacity: .75; }
html body > header > ul.menu > li.oc-contact-item > a:hover {
	background: var(--oc-navy);
	box-shadow: 0 10px 22px rgba(0, 58, 130, .28);
	transform: translateY(-1px);
}
/* SNS：細い区切り線のあとに */
html body > header > ul.menu > li.oc-contact-item + li.sns {
	margin-left: 2.8rem;
	padding-left: 2.8rem;
	border-left: 1px solid var(--oc-line);
}
html body > header > ul.menu > li.sns a { display: block; transition: opacity .25s, transform .3s var(--oc-ease); }
html body > header > ul.menu > li.sns a:hover { opacity: .7; transform: translateY(-2px); }
html body > header > ul.menu > li.sns div.sns { width: 26px; height: 26px; }
html body > header #hLogo { transition: opacity .25s; }
html body > header #hLogo:hover { opacity: .8; }
@media only screen and (max-width: 1480px) {
	html body > header > ul.menu > li.oc-contact-item { margin-left: 2.4rem; }
	html body > header > ul.menu > li.oc-contact-item + li.sns { margin-left: 2rem; padding-left: 2rem; }
}

/* スマホのメニュー：行の矢印・カレント */
html div#mobileMenu ul.menu > li:not(.tel):not(.facebook):not(.instagram) > a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	color: var(--oc-ink);
	font-weight: 500;
	letter-spacing: .06em;
}
html div#mobileMenu ul.menu > li:not(.tel):not(.facebook):not(.instagram) > a::after {
	content: '';
	width: 7px;
	height: 7px;
	border-top: 2px solid #b6bfc9;
	border-right: 2px solid #b6bfc9;
	transform: rotate(45deg);
	margin-right: 4px;
}
html div#mobileMenu ul.menu > li { border-bottom-color: var(--oc-line); }
html div#mobileMenu ul.menu > li.oc-current > a { color: var(--oc-blue); }
html div#mobileMenu ul.menu > li > a .oc-en {
	margin-left: auto;
	margin-right: 1.4em;
	font-size: 1rem;
	letter-spacing: .2em;
	color: var(--oc-blue);
	opacity: .6;
	font-weight: 500;
}
html div#mobileMenu ul.menu > li.oc-current > a::after { border-color: var(--oc-blue); }

/* ------------------------------------------------------------ トップの写真 */
/* 写真の左側を少し暗くして、白い文字（株式会社 岡本組・明日に繋がるものづくり）を読みやすく */
html div#home-slider::before { display: none; }
html div#home-slider .swiper-slide div.image::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(0, 20, 45, .42) 0%, rgba(0, 20, 45, .16) 45%, rgba(0, 20, 45, 0) 70%);
	pointer-events: none;
}
/* スライドの印：丸から細い線に */
html div#home-slider div.swiper-container .swiper-pagination-bullet {
	width: 22px;
	height: 3px;
	border-radius: 0;
	background-color: #fff;
	opacity: .5;
	transition: opacity .3s, width .4s var(--oc-ease);
}
html div#home-slider div.swiper-container .swiper-pagination-bullet-active {
	width: 40px;
	opacity: 1;
}
/* 右の電話の帯 */
html div#frontFirstview .tel { transition: transform .4s var(--oc-ease), filter .3s; }
html div#frontFirstview .tel:hover { transform: translateY(-50%) translateX(-4px); filter: brightness(1.08); }
@media only screen and (max-width: 600px) {
	html div#frontFirstview .tel:hover { transform: translateY(-50%); }
}
/* SCROLL（以前は「SCROOL」と綴りの違う画像だった）：文字と、線の上を光が下りていく動き */
html div#frontFirstview .scroll {
	background: linear-gradient(rgba(0, 130, 179, .25), rgba(0, 130, 179, .25)) no-repeat center 4.2em / 1px calc(100% - 4.2em);
}
html div#frontFirstview .scroll::before {
	content: 'SCROLL';
	position: absolute;
	top: 0;
	left: 50%;
	transform: translateX(-50%);
	writing-mode: vertical-rl;
	font-size: 1.2rem;
	letter-spacing: .32em;
	color: var(--oc-blue);
	font-weight: 500;
}
html div#frontFirstview .scroll::after {
	background: linear-gradient(transparent, var(--oc-blue)) no-repeat;
	background-size: 1px 40px;
	background-position: center 4.2em;
	animation: oc-drop 2.2s cubic-bezier(.65, 0, .35, 1) infinite;
}
@keyframes oc-drop {
	0% { background-position: center 4.2em; opacity: 0; }
	15% { opacity: 1; }
	80% { opacity: 1; }
	100% { background-position: center 100%; opacity: 0; }
}

/* ------------------------------------------------------------ トップ：岡本組について・私たちの仕事 */
html div#frontAbout ul.abouts li.thumb div { box-shadow: var(--oc-shadow); }
html div#frontAbout ul.abouts li.text section { box-shadow: 0 18px 40px rgba(0, 32, 80, .18); }
html div#frontAbout ul.abouts li.text section a.link-pc,
html div#frontAbout ul.abouts li.text section a.link-mobile { transition: opacity .25s, transform .35s var(--oc-ease); }
html div#frontAbout ul.abouts li.text section a.link-pc:hover { opacity: .85; transform: translateY(4px); }
html div#frontAbout ul.abouts li.text section a.link-mobile:hover { opacity: .85; }

/* ------------------------------------------------------------ 一覧へのボタン（取扱商材一覧・施工事例一覧・過去の記事）：矢印が右へ・地がうっすら青に */
html div.linkright a {
	display: inline-block;
	letter-spacing: .08em;
	font-weight: 500;
	transition: background-color .3s, color .3s, box-shadow .3s;
}
html div.linkright a::after { transition: transform .4s var(--oc-ease); }
html div.linkright a:hover {
	background-color: var(--oc-blue);
	color: #fff;
	box-shadow: 0 8px 20px rgba(0, 130, 179, .22);
}
html div.linkright a:hover::after {
	transform: translateX(6px);
	filter: brightness(0) invert(1);
}

/* ------------------------------------------------------------ トップ：事業のカード（建築土木・土木工事…） */
html ul#frontWorks > li {
	box-shadow: var(--oc-shadow);
	border-radius: 3px;
	transition: box-shadow .4s, transform .4s var(--oc-ease);
	position: relative;
}
html ul#frontWorks > li::before {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	height: 3px;
	background: var(--oc-navy);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform .5s var(--oc-ease);
	border-radius: 3px 3px 0 0;
}
@media (hover: hover) {
	html ul#frontWorks > li:hover { box-shadow: var(--oc-shadow-hover); transform: translateY(-3px); }
	html ul#frontWorks > li:hover::before { transform: scaleX(1); }
}
html ul#frontWorks li h3 {
	font-weight: 500;
	letter-spacing: .08em;
	border-bottom-width: 1px;
	position: relative;
}
html ul#frontWorks li h3::after {
	content: '';
	position: absolute;
	left: 50%;
	bottom: -2px;
	width: 32px;
	height: 3px;
	margin-left: -16px;
	background: var(--oc-blue);
}
html ul#frontWorks li p { color: #4a4f57; }
html ul#frontWorks li a { border-width: 1px; border-radius: 2px; letter-spacing: .06em; }
html ul#frontWorks li a::after { transition: transform .35s var(--oc-ease), filter .3s; }
html ul#frontWorks li a:hover::after { transform: translateY(-50%) translateX(4px); filter: brightness(0) invert(1); }

/* ------------------------------------------------------------ 取扱商材のカード：写真は枠の中で少し寄る・名前を整える */
html div#archive-material div.inner,
html div#frontMaterial div.inner { box-shadow: var(--oc-shadow); }
html div#archive-material div.inner ul#archives li article div.thumb,
html div#frontMaterial div.inner ul#archives li article div.thumb {
	border-radius: 3px;
	transition: transform .7s var(--oc-ease), clip-path .7s var(--oc-ease);
	clip-path: inset(0 round 3px);
}
html div#archive-material div.inner ul#archives li article h3,
html div#frontMaterial div.inner ul#archives li article h3 {
	margin-top: .7em;
	font-weight: 500;
	letter-spacing: .04em;
	transition: color .25s;
}
html div#archive-material div.inner ul#archives li article span.term,
html div#frontMaterial div.inner ul#archives li article span.term {
	box-shadow: 0 2px 6px rgba(0, 0, 0, .15);
	letter-spacing: .04em;
}
@media (hover: hover) {
	html div#archive-material div.inner ul#archives li:hover article div.thumb,
	html div#frontMaterial div.inner ul#archives li:hover article div.thumb {
		transform: scale(1.06);
		clip-path: inset(2.83% round 3px);
	}
	html div#archive-material div.inner ul#archives li:hover article h3,
	html div#frontMaterial div.inner ul#archives li:hover article h3 { color: var(--oc-blue); }
}

/* ------------------------------------------------------------ 施工事例のカード：カード全体を押せる（js/common/motion.js）・影・写真が枠の中で寄る */
html div#works div.inner ul#worksList > li,
html div#frontWorksList div.inner ul#worksList > li {
	box-shadow: var(--oc-shadow);
	border-radius: 3px;
	overflow: hidden;
	transition: box-shadow .4s, transform .4s var(--oc-ease);
}
html div#works div.inner ul#worksList > li.post,
html div#frontWorksList div.inner ul#worksList > li.post { cursor: pointer; } /* カードのどこを押しても記事へ（js/common/motion.js） */
html div#works div.inner ul#worksList > li div.thumb,
html div#frontWorksList div.inner ul#worksList > li div.thumb {
	transition: transform .8s var(--oc-ease), clip-path .8s var(--oc-ease);
	clip-path: inset(0);
}
html div#works div.inner ul#worksList > li div.info h4,
html div#frontWorksList div.inner ul#worksList > li div.info h4 {
	font-weight: 500;
	letter-spacing: .04em;
	transition: color .25s;
}
html div#works div.inner ul#worksList > li div.info ul.info,
html div#frontWorksList div.inner ul#worksList > li div.info ul.info { border-top-color: var(--oc-line); }
html div#works div.inner ul#worksList > li div.info ul.category li,
html div#frontWorksList div.inner ul#worksList > li div.info ul.category li { letter-spacing: .04em; }
@media (hover: hover) {
	html div#works div.inner ul#worksList > li.post:hover,
	html div#frontWorksList div.inner ul#worksList > li.post:hover { box-shadow: var(--oc-shadow-hover); transform: translateY(-3px); }
	html div#works div.inner ul#worksList > li.post:hover div.thumb,
	html div#frontWorksList div.inner ul#worksList > li.post:hover div.thumb {
		transform: scale(1.06);
		clip-path: inset(2.83% 2.83% 0 2.83%);
	}
	html div#works div.inner ul#worksList > li.post:hover div.info h4,
	html div#frontWorksList div.inner ul#worksList > li.post:hover div.info h4 { color: var(--oc-blue); }
}
/* 絞り込み（カテゴリー検索）・取扱商材のカテゴリ：四角い印に角とチェック */
html div#worksHeader form#search-filter-form-325 li.sf-field-taxonomy-workscategory ul li input,
html div#archive-material form.searchandfilter ul li.sf-field-taxonomy-material_category ul li input[type="radio"] {
	border-radius: 3px;
	box-shadow: inset 0 0 0 1px #c8d0d8; /* 選んでいない印が地の色とほとんど同じで見えなかった */
	transition: background-color .2s, box-shadow .2s;
	position: relative;
}
html div#worksHeader form#search-filter-form-325 li.sf-field-taxonomy-workscategory ul li input:checked,
html div#archive-material form.searchandfilter ul li.sf-field-taxonomy-material_category ul li input[type="radio"]:checked {
	box-shadow: inset 0 0 0 3px #fff, 0 0 0 1px var(--oc-blue);
}
html div#worksHeader form#search-filter-form-325 li.sf-field-taxonomy-workscategory ul li label:hover,
html div#archive-material form.searchandfilter ul li.sf-field-taxonomy-material_category ul li label:hover { color: var(--oc-blue); }
/* もっと見る（LOAD MORE） */
html button.view-more-button {
	border-color: #c8d0d8;
	padding: 1.2rem 4rem;
	color: var(--oc-ink);
	transition: background-color .3s, color .3s, border-color .3s, box-shadow .3s;
}
html button.view-more-button:hover {
	border-color: var(--oc-blue);
	box-shadow: 0 8px 20px rgba(0, 130, 179, .2);
}

/* ------------------------------------------------------------ 施工事例・新着情報の記事 */
html div#worksSingle div.inner,
html div#newsSingle div.inner { box-shadow: var(--oc-shadow); }
html div#worksSingle img,
html div#newsSingle main img { border-radius: 2px; }

/* ------------------------------------------------------------ 新着情報の一覧：行全体にホバー（写真が寄る・見出しが青く） */
html div#archive-news div.inner,
html div#frontNews div.inner { box-shadow: var(--oc-shadow); }
html div#archive-news div.inner ul#archives li article div.thumb,
html div#frontNews div.inner ul#archives li article div.thumb {
	border-radius: 2px;
	background-color: #f3f5f7;
	transition: transform .7s var(--oc-ease), clip-path .7s var(--oc-ease);
	clip-path: inset(0 round 2px);
	box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .04);
}
html div#archive-news div.inner ul#archives li article div.text h3,
html div#frontNews div.inner ul#archives li article div.text h3 {
	color: var(--oc-ink);
	font-weight: 500;
	border-bottom-color: var(--oc-line);
	border-left-width: 4px;
	transition: color .25s;
}
html div#archive-news div.inner ul#archives li article div.text p.time,
html div#frontNews div.inner ul#archives li article div.text p.time {
	color: var(--oc-blue);
	letter-spacing: .08em;
	font-weight: 500;
}
html div#archive-news div.inner ul#archives li article div.text p.exc,
html div#frontNews div.inner ul#archives li article div.text p.exc { color: var(--oc-sub); }
@media (hover: hover) {
	html div#archive-news div.inner ul#archives li:hover article div.thumb,
	html div#frontNews div.inner ul#archives li:hover article div.thumb {
		transform: scale(1.06);
		clip-path: inset(2.83% round 2px);
	}
	html div#archive-news div.inner ul#archives li:hover article div.text h3,
	html div#frontNews div.inner ul#archives li:hover article div.text h3 { color: var(--oc-blue); }
}

/* ------------------------------------------------------------ 見出し（新着情報・取扱商材・お問い合わせ）：下線を細く、短い青い線を重ねる */
html h2.pageTitle {
	position: relative;
	border-bottom-color: #c9d0d8;
	letter-spacing: .06em;
	font-weight: 600;
}
html h2.pageTitle::after {
	content: '';
	position: absolute;
	left: 0;
	bottom: -1px;
	width: 56px;
	height: 3px;
	background: var(--oc-blue);
}
html h2.pageTitle span {
	color: var(--oc-blue);
	opacity: .7;
	letter-spacing: .2em;
	font-weight: 500;
}

/* ------------------------------------------------------------ ページ送り */
html ul.pager li .page-numbers:not(.next):not(.prev),
html ul.pager li a.next,
html ul.pager li a.prev {
	border-width: 1px;
	border-color: #c8d0d8;
	transition: background-color .25s, color .25s, border-color .25s;
}
html ul.pager li a:hover { border-color: var(--oc-blue); }
html ul.pager li span.current { border-color: var(--oc-blue); }

/* ------------------------------------------------------------ 会社概要 */
/* スマホで写真の上の縦書き「COMPANY」が画面の右端からはみ出して、ページが横に揺れていた */
html div#aboutFirstview { overflow: hidden; }
html div#pageAbout div.inner ul#aboutCompany {
	box-shadow: var(--oc-shadow);
	border-radius: 3px;
	overflow: hidden;
}
html div#pageAbout div.inner ul#aboutCompany li { border-bottom-color: var(--oc-line); align-items: stretch; }
html div#pageAbout div.inner ul#aboutCompany li:last-child { border-bottom: 0; }
html div#pageAbout div.inner ul#aboutCompany li p:first-child {
	background: #f7f9fb;
	border-right-color: var(--oc-line);
	color: var(--oc-navy);
	font-weight: 500;
	letter-spacing: .06em;
	display: flex;
	align-items: center;
}
html div#pageAbout div.inner ul#aboutCompany li p:last-child { display: flex; align-items: center; }
html h3.aboutTitle { letter-spacing: .12em; }
html h3.aboutTitle span { color: var(--oc-sub); letter-spacing: .2em; }

/* ------------------------------------------------------------ お問い合わせのフォーム */
html div#pageContact div.desc { color: #4a4f57; }
html div#pageContact div.inner form.wpcf7-form p {
	border-bottom-color: var(--oc-line);
}
html div#pageContact div.inner form.wpcf7-form p label { font-weight: 500; letter-spacing: .04em; }
html div#pageContact div.inner form.wpcf7-form p label > span {
	color: #d6453d;
	font-size: 1.4rem;
	margin-left: .3em;
}
html div#pageContact div.inner form.wpcf7-form p > span input,
html div#pageContact div.inner form.wpcf7-form p > span textarea {
	border: 1px solid #d5dbe2;
	border-radius: 3px;
	font-size: 1.6rem;
	padding: 1.3rem 1.6rem;
	transition: border-color .2s, box-shadow .2s, background-color .2s;
}
html div#pageContact div.inner form.wpcf7-form p > span input:hover,
html div#pageContact div.inner form.wpcf7-form p > span textarea:hover { border-color: #b4bfca; }
html div#pageContact div.inner form.wpcf7-form p > span input:focus,
html div#pageContact div.inner form.wpcf7-form p > span textarea:focus {
	background-color: #fff;
	border-color: var(--oc-blue);
	box-shadow: 0 0 0 3px rgba(0, 130, 179, .15);
}
html div#pageContact div.inner form.wpcf7-form p > span input::placeholder,
html div#pageContact div.inner form.wpcf7-form p > span textarea::placeholder { color: #aab3bd; }
html div#pageContact div.inner form.wpcf7-form p.send input {
	border: 0;
	border-radius: 3px;
	font-size: 1.5rem;
	font-weight: 500;
	letter-spacing: .2em;
	padding: 2.2rem 2rem;
	transition: background-color .3s, box-shadow .3s, transform .3s var(--oc-ease);
}
html div#pageContact div.inner form.wpcf7-form p.send input:hover {
	background-color: var(--oc-navy);
	box-shadow: 0 10px 24px rgba(0, 58, 130, .25);
}
html div#pageContact div.inner form.wpcf7-form p.send input[type="button"] {
	background-color: #fff;
	color: var(--oc-ink);
	box-shadow: inset 0 0 0 1px #c8d0d8;
}
html div#pageContact div.inner form.wpcf7-form p.send input[type="button"]:hover { background-color: #f3f5f7; }

/* ------------------------------------------------------------ プライバシーポリシー */
html div#pagePrivacyPolicy div.inner ul.pp { box-shadow: var(--oc-shadow); border-radius: 3px; }
html div#pagePrivacyPolicy div.inner ul.pp > li h3 { border-left-width: 4px; border-bottom-color: var(--oc-line); letter-spacing: .04em; }

/* ------------------------------------------------------------ 採用情報（今は「現在新規採用は行っておりません」の 1 行だけ） */
html div#pageRecruit p { letter-spacing: .06em; }

/* ------------------------------------------------------------ フッターの上のお問い合わせの帯（footer.php の .oc-contact。2026-11 に画像 1 枚から組み直し） */
html div.oc-contact-wrapper {
	padding: 0 2rem;
	margin: 0;
}
html section.oc-contact {
	position: relative;
	max-width: 1180px;
	margin: 8rem auto 9rem;
	padding: 5.6rem 6.4rem;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 4rem;
	color: #fff;
	background: linear-gradient(118deg, #0a8fc2 0%, var(--oc-blue) 45%, #006b98 100%);
	box-shadow: 0 24px 50px rgba(0, 82, 120, .22);
	isolation: isolate;
}
/* 六角形のロゴを白く、右に大きく薄く敷く */
html section.oc-contact::before {
	content: '';
	position: absolute;
	inset: 0;
	z-index: -1;
	background: url(../img/home/home-bg.svg) no-repeat 108% 50% / auto 190%;
	filter: brightness(0) invert(1);
	opacity: .07;
	pointer-events: none;
}
/* 上の細い光の線 */
html section.oc-contact::after {
	content: '';
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 3px;
	background: linear-gradient(90deg, rgba(255, 255, 255, .55), rgba(255, 255, 255, 0) 60%);
}
html section.oc-contact .oc-contact__side {
	position: absolute;
	left: calc(100% + 2.4rem);
	top: 0;
	writing-mode: vertical-rl;
	font-size: 3rem;
	font-weight: 300;
	letter-spacing: .3em;
	color: #8a929b;
	line-height: 1;
}
html section.oc-contact .oc-contact__en {
	font-size: 1.1rem;
	letter-spacing: .32em;
	font-weight: 500;
	opacity: .75;
	margin-bottom: 1rem;
	display: flex;
	align-items: center;
	gap: 1rem;
}
html section.oc-contact .oc-contact__en::before {
	content: '';
	width: 2.4rem;
	height: 1px;
	background: currentColor;
}
html section.oc-contact .oc-contact__title {
	color: #fff;
	font-size: 2.8rem;
	font-weight: 600;
	letter-spacing: .12em;
	line-height: 1.3;
}
html section.oc-contact .oc-contact__lead {
	margin-top: 1.2rem;
	font-size: 1.4rem;
	line-height: 1.9;
	letter-spacing: .06em;
	opacity: .9;
	white-space: nowrap;
}
html section.oc-contact .oc-sp { display: none; }
html section.oc-contact .oc-contact__actions {
	display: flex;
	align-items: center;
	gap: 3.2rem;
	flex-shrink: 0;
}
html section.oc-contact a { color: #fff; text-decoration: none; }
html section.oc-contact .oc-contact__tel {
	display: flex;
	align-items: center;
	gap: 1.6rem;
}
html section.oc-contact .oc-contact__tel-icon {
	width: 5.2rem;
	height: 5.2rem;
	border: 1px solid rgba(255, 255, 255, .55);
	border-radius: 50%;
	display: grid;
	place-items: center;
	transition: background-color .3s, color .3s, border-color .3s;
}
html section.oc-contact .oc-contact__tel-text { display: flex; flex-direction: column; }
html section.oc-contact .oc-contact__tel-num {
	font-size: 3.6rem;
	font-weight: 300;
	letter-spacing: .06em;
	line-height: 1.1;
	font-feature-settings: "tnum";
}
html section.oc-contact .oc-contact__tel-hours {
	margin-top: .6rem;
	font-size: 1.2rem;
	letter-spacing: .14em;
	opacity: .8;
}
html section.oc-contact .oc-contact__tel:hover .oc-contact__tel-icon {
	background: #fff;
	color: var(--oc-blue);
	border-color: #fff;
}
html section.oc-contact .oc-contact__form {
	display: flex;
	align-items: center;
	gap: 1.2rem;
	padding: 1.9rem 2.4rem;
	background: #fff;
	color: var(--oc-blue);
	font-size: 1.5rem;
	font-weight: 600;
	letter-spacing: .08em;
	border-radius: 2px;
	transition: background-color .3s, color .3s, box-shadow .3s;
}
html section.oc-contact .oc-contact__arrow {
	width: 2.4rem;
	height: 1px;
	background: currentColor;
	position: relative;
	transition: transform .4s var(--oc-ease);
}
html section.oc-contact .oc-contact__arrow::after {
	content: '';
	position: absolute;
	right: 0;
	top: -3px;
	width: 7px;
	height: 7px;
	border-top: 1px solid currentColor;
	border-right: 1px solid currentColor;
	transform: rotate(45deg);
}
html section.oc-contact .oc-contact__form:hover {
	background: var(--oc-navy);
	color: #fff;
	box-shadow: 0 10px 24px rgba(0, 30, 70, .3);
}
html section.oc-contact .oc-contact__form:hover .oc-contact__arrow { transform: translateX(5px); }
@media only screen and (max-width: 1480px) {
	html section.oc-contact .oc-contact__side { display: none; }
}
@media only screen and (max-width: 1025px) {
	html section.oc-contact {
		flex-direction: column;
		align-items: flex-start;
		padding: 4.8rem 4rem;
	}
	html section.oc-contact .oc-contact__actions { flex-wrap: wrap; gap: 2.4rem 3.2rem; }
}
@media only screen and (max-width: 600px) {
	html div.oc-contact-wrapper { padding: 0 1.6rem; }
	html section.oc-contact {
		margin: 5rem auto 6rem;
		padding: 4rem 2.4rem;
		gap: 2.8rem;
	}
	html section.oc-contact .oc-contact__title { font-size: 2.2rem; }
	html section.oc-contact .oc-sp { display: inline; }
	html section.oc-contact .oc-contact__lead { white-space: normal; }
	html section.oc-contact .oc-contact__actions { flex-direction: column; align-items: stretch; width: 100%; gap: 2rem; }
	html section.oc-contact .oc-contact__tel-icon { width: 4.4rem; height: 4.4rem; }
	html section.oc-contact .oc-contact__tel-num { font-size: 2.8rem; }
	html section.oc-contact .oc-contact__form { justify-content: center; }
}

/* ------------------------------------------------------------ フッター（footer.php の .oc-footer。2026-11 に組み直し） */
html footer.oc-footer {
	padding: 0;
	border-top: 6px solid var(--oc-blue);
	background: #fff;
	position: relative;
}
html footer.oc-footer::before {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	top: -6px;
	height: 6px;
	background: linear-gradient(90deg, var(--oc-navy) 0, var(--oc-navy) 22%, transparent 22%);
}
html footer.oc-footer .oc-footer__top {
	position: absolute;
	right: 4rem;
	top: -3.2rem;
	width: 6.4rem;
	height: 6.4rem;
	border: 0;
	padding: 0;
	background: #fff;
	box-shadow: inset 0 0 0 2px var(--oc-blue), 0 8px 20px rgba(0, 82, 120, .12);
	cursor: pointer;
	display: grid;
	place-items: center;
	transition: background-color .3s, transform .35s var(--oc-ease);
}
html footer.oc-footer .oc-footer__top span {
	width: 14px;
	height: 14px;
	border-top: 2px solid var(--oc-blue);
	border-left: 2px solid var(--oc-blue);
	transform: translateY(3px) rotate(45deg);
	transition: border-color .3s;
}
html footer.oc-footer .oc-footer__top:hover { background: var(--oc-blue); transform: translateY(-4px); }
html footer.oc-footer .oc-footer__top:hover span { border-color: #fff; }
html footer.oc-footer .oc-footer__main {
	max-width: 1180px;
	margin: 0 auto;
	padding: 8rem 2rem 6rem;
	display: grid;
	grid-template-columns: 1.25fr 1.35fr .7fr;
	gap: 6rem;
	align-items: start;
}
html footer.oc-footer .oc-footer__logo { display: inline-block; transition: opacity .25s; }
html footer.oc-footer .oc-footer__logo:hover { opacity: .75; }
html footer.oc-footer .oc-footer__logo svg,
html footer.oc-footer .oc-footer__logo img { width: 18rem; height: auto; display: block; color: var(--oc-blue); }
html footer.oc-footer .oc-footer__name {
	margin-top: 2.6rem;
	font-size: 2rem;
	font-weight: 500;
	letter-spacing: .12em;
}
html footer.oc-footer .oc-footer__name span { font-size: 1.3rem; margin-right: .3em; }
html footer.oc-footer .oc-footer__address,
html footer.oc-footer .oc-footer__tel {
	margin-top: 1.2rem;
	font-size: 1.3rem;
	line-height: 1.8;
	letter-spacing: .08em;
	color: #5a626c;
}
html footer.oc-footer .oc-footer__tel { margin-top: .4rem; }
html footer.oc-footer .oc-footer__tel span + span { margin-left: 2rem; }
html footer.oc-footer .oc-footer__tel a { color: inherit; }
html footer.oc-footer .oc-footer__tel a:hover { color: var(--oc-blue); }
html footer.oc-footer .oc-footer__nav ul {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 2.2rem 4rem;
	padding-left: 4rem;
	border-left: 1px solid var(--oc-line);
}
html footer.oc-footer .oc-footer__nav a {
	display: inline-flex;
	flex-direction: column;
	color: var(--oc-ink);
	text-decoration: none;
	transition: transform .35s var(--oc-ease);
}
html footer.oc-footer .oc-footer__nav .oc-ja {
	font-size: 1.4rem;
	font-weight: 500;
	letter-spacing: .1em;
	transition: color .25s;
}
html footer.oc-footer .oc-footer__nav .oc-en {
	margin-top: .5rem;
	font-size: .95rem;
	letter-spacing: .22em;
	color: var(--oc-blue);
	opacity: .7;
}
html footer.oc-footer .oc-footer__nav a:hover { transform: translateX(4px); }
html footer.oc-footer .oc-footer__nav a:hover .oc-ja { color: var(--oc-blue); }
html footer.oc-footer .oc-footer__sns-title {
	font-size: 1rem;
	letter-spacing: .3em;
	color: #8a929b;
	margin-bottom: 1.6rem;
}
html footer.oc-footer .oc-footer__sns a {
	display: flex;
	align-items: center;
	gap: 1.2rem;
	margin-bottom: 1.4rem;
	color: var(--oc-ink);
	font-size: 1.4rem;
	letter-spacing: .08em;
	text-decoration: none;
}
html footer.oc-footer .oc-footer__sns-icon {
	width: 3.8rem;
	height: 3.8rem;
	border-radius: 50%;
	border: 1px solid var(--oc-line);
	display: grid;
	place-items: center;
	color: var(--oc-navy);
	transition: background-color .3s, color .3s, border-color .3s;
}
html footer.oc-footer .oc-footer__sns a:hover { color: var(--oc-blue); }
html footer.oc-footer .oc-footer__sns a:hover .oc-footer__sns-icon {
	background: var(--oc-navy);
	border-color: var(--oc-navy);
	color: #fff;
}
html footer.oc-footer .oc-footer__bottom {
	max-width: 1180px;
	margin: 0 auto;
	padding: 2.4rem 2rem 3.2rem;
	border-top: 1px solid var(--oc-line);
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 1.6rem;
}
html footer.oc-footer .oc-footer__sub { display: flex; gap: 2.4rem; }
html footer.oc-footer .oc-footer__sub a {
	font-size: 1.2rem;
	letter-spacing: .08em;
	color: #6b7480;
	text-decoration: none;
}
html footer.oc-footer .oc-footer__sub a:hover { color: var(--oc-blue); }
html footer.oc-footer .oc-footer__copy {
	font-size: 1.1rem;
	letter-spacing: .12em;
	color: #9aa3ad;
}
@media only screen and (max-width: 1025px) {
	html footer.oc-footer .oc-footer__main { grid-template-columns: 1fr 1fr; gap: 5rem 4rem; }
	html footer.oc-footer .oc-footer__sns { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 1.2rem 3rem; }
	html footer.oc-footer .oc-footer__sns-title { width: 100%; margin-bottom: 0; }
	html footer.oc-footer .oc-footer__sns a { margin-bottom: 0; }
}
@media only screen and (max-width: 600px) {
	html footer.oc-footer .oc-footer__top { right: 1.6rem; width: 5.2rem; height: 5.2rem; top: -2.6rem; }
	html footer.oc-footer .oc-footer__main { grid-template-columns: 1fr; padding: 6rem 2.4rem 4rem; gap: 4rem; }
	html footer.oc-footer .oc-footer__nav ul { padding: 2.8rem 0 0; border-left: 0; border-top: 1px solid var(--oc-line); gap: 2rem 2rem; }
	html footer.oc-footer .oc-footer__bottom { flex-direction: column-reverse; padding: 2.4rem 2.4rem 3rem; }
}

/* ------------------------------------------------------------ モーダル（ベタ基礎一体打ち・草刈事業） */
html div#beta,
html div#kusakari { border-radius: 3px; box-shadow: 0 30px 60px rgba(0, 0, 0, .25); }

/* ------------------------------------------------------------ 採用情報：写真の上の縦書き「RECRUIT」の飾り
 * 高さを padding-top 400%（h2 の幅の 4 倍、PC で約 1,500px）で取っていて、見える文字（約 170px）の下に透明な部分がフッターの下まで伸び、
 * フッターの下に長い余白ができていた。高さを画像の縦横比（8.6 : 48.5）だけにする */
html div#pageRecruit div.firstview h2::after {
	padding-top: 0;
	aspect-ratio: 8.6 / 48.5;
	background-size: contain;
}

/* =====================================================================
 * その 2（2026-11-15）：トップの 6 枚のカード・取扱商材・施工事例のカード・一覧へのボタン・記事の下のナビ・取扱商材の一覧と記事
 * ===================================================================== */

/* ------------------------------------------------------------ 一覧へのボタン（取扱商材一覧・施工事例一覧・過去の記事）：少し角を丸く・線を細く・文字を締める */
html div.linkright a {
	min-width: 280px;
	padding: 1.7rem 6.4rem 1.7rem 4.8rem;
	border-width: 1px;
	border-radius: 6px;
	font-size: 1.5rem;
	letter-spacing: .14em;
	text-align: center;
	box-shadow: 0 1px 2px rgba(16, 38, 66, .04), 0 4px 12px rgba(16, 38, 66, .05);
}
html div.linkright a::after {
	width: 2.4rem;
	height: 2.4rem;
	right: 2rem;
	top: calc(50% - 1.2rem);
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
}
@media only screen and (max-width: 600px) {
	html div.linkright a { min-width: 0; width: 86%; padding: 1.6rem 5.6rem 1.6rem 4rem; }
}

/* ------------------------------------------------------------ トップ：事業の 6 枚のカード（以前は 2 列で幅 840px。PC では 3 列 × 2 段に・高さをそろえ・ボタンを下にそろえる） */
html ul#frontWorks {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 28px;
	max-width: 1120px;
	padding: 0 20px;
	margin: 4rem auto 6rem; /* 以前は上に 12rem */
}
html ul#frontWorks > li {
	width: auto;
	margin: 0;
	display: flex;
	border-radius: 6px;
}
html ul#frontWorks li section {
	margin: 0;
	padding: 4.4rem 3.2rem 3.2rem;
	width: 100%;
	display: flex;
	flex-direction: column;
}
html ul#frontWorks li div.pict {
	width: 6.4rem;
	margin: 0 auto 2.4rem;
}
html ul#frontWorks li h3 {
	font-size: 1.9rem;
	margin-bottom: 2rem;
	padding-bottom: 1.6rem;
	border-bottom-color: var(--oc-line);
}
html ul#frontWorks li p {
	font-size: 1.45rem;
	line-height: 1.95;
}
html ul#frontWorks li div.link {
	position: static;
	width: auto;
	margin-top: auto;
	padding-top: 2.4rem;
	display: flex;
	gap: 10px;
}
html ul#frontWorks li div.link a {
	flex: 1;
	margin-top: 0;
	padding: 12px 0;
	font-size: 1.4rem;
	border-radius: 4px;
	cursor: pointer;
}
@media only screen and (max-width: 1025px) {
	html ul#frontWorks { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; max-width: 760px; }
}
@media only screen and (max-width: 600px) {
	html ul#frontWorks { grid-template-columns: minmax(0, 1fr); gap: 16px; padding: 0 16px; margin-top: 3.2rem; }
	html ul#frontWorks li section { padding: 3.2rem 2.4rem 2.4rem; }
	html ul#frontWorks li div.pict { margin-bottom: 1.6rem; }
}

/* ------------------------------------------------------------ 取扱商材のカード（トップ・一覧）：件数に合わせて 1 段か 2 段に収める
 * 4 件・7〜8 件は 4 列（4 件なら 1 段）、それ以外は 3 列。タブレットより狭いと 2 列 */
html div#archive-material div.inner ul#archives,
html div#frontMaterial div.inner ul#archives {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 3.2rem 2.4rem;
}
html div#archive-material div.inner ul#archives:has(> li:nth-child(4):last-child),
html div#archive-material div.inner ul#archives:has(> li:nth-child(7):last-child),
html div#archive-material div.inner ul#archives:has(> li:nth-child(8):last-child),
html div#frontMaterial div.inner ul#archives:has(> li:nth-child(4):last-child) {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}
html div#archive-material div.inner ul#archives::after,
html div#frontMaterial div.inner ul#archives::after { display: none; }
html div#archive-material div.inner ul#archives > li,
html div#frontMaterial div.inner ul#archives > li {
	width: auto;
	margin: 0 !important;
}
html div#frontMaterial div.inner { padding: 4.8rem 5.6rem; border-radius: 6px; }
html div#archive-material div.inner ul#archives li article div.thumb,
html div#frontMaterial div.inner ul#archives li article div.thumb {
	border-radius: 4px;
	clip-path: inset(0 round 4px);
	background-position: center;
	box-shadow: inset 0 0 0 1px rgba(16, 38, 66, .06);
}
html div#archive-material div.inner ul#archives li article div.thumb::after,
html div#frontMaterial div.inner ul#archives li article div.thumb::after { padding-top: 66.6%; }
/* 名前の右に小さな矢印 */
html div#archive-material div.inner ul#archives li article div.text,
html div#frontMaterial div.inner ul#archives li article div.text {
	position: relative;
	padding-right: 2rem;
	margin-top: 1.2rem;
}
html div#archive-material div.inner ul#archives li article div.text::after,
html div#frontMaterial div.inner ul#archives li article div.text::after {
	content: '';
	position: absolute;
	right: .4rem;
	top: 50%;
	margin-top: -4px;
	width: 6px;
	height: 6px;
	border-top: 1.5px solid var(--oc-blue);
	border-right: 1.5px solid var(--oc-blue);
	transform: rotate(45deg);
	transition: transform .35s var(--oc-ease);
}
html div#archive-material div.inner ul#archives li article h3,
html div#frontMaterial div.inner ul#archives li article h3 { font-size: 1.5rem; line-height: 1.5; margin: 0; }
html div#archive-material div.inner ul#archives li article span.term,
html div#frontMaterial div.inner ul#archives li article span.term {
	top: .8em;
	right: auto;
	left: .8em;
	background: rgba(255, 255, 255, .94);
	color: var(--oc-blue);
	font-weight: 500;
	box-shadow: 0 1px 4px rgba(16, 38, 66, .14);
}
@media (hover: hover) {
	html div#archive-material div.inner ul#archives li:hover article div.text::after,
	html div#frontMaterial div.inner ul#archives li:hover article div.text::after { transform: translateX(3px) rotate(45deg); }
	html div#archive-material div.inner ul#archives li:hover article div.thumb,
	html div#frontMaterial div.inner ul#archives li:hover article div.thumb { clip-path: inset(2.83% round 4px); }
}
@media only screen and (max-width: 860px) {
	html div#archive-material div.inner ul#archives,
	html div#frontMaterial div.inner ul#archives,
	html div#archive-material div.inner ul#archives:has(> li:nth-child(4):last-child),
	html div#archive-material div.inner ul#archives:has(> li:nth-child(7):last-child),
	html div#archive-material div.inner ul#archives:has(> li:nth-child(8):last-child),
	html div#frontMaterial div.inner ul#archives:has(> li:nth-child(4):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.4rem 1.6rem; }
	html div#frontMaterial div.inner { padding: 3.2rem; }
}
@media only screen and (max-width: 600px) {
	html div#frontMaterial div.inner { padding: 2rem 1.6rem 2.4rem; }
	html div#archive-material div.inner ul#archives li article h3,
	html div#frontMaterial div.inner ul#archives li article h3 { font-size: 1.35rem; }
}

/* ------------------------------------------------------------ 取扱商材の一覧：見出しの下の白い板・カテゴリを札のボタンに */
html div#archive-material div.inner {
	max-width: 1080px;
	padding: 4rem 5.6rem 5.6rem;
	border-radius: 6px;
}
html div#archive-material h2.pageTitle { max-width: 1080px; }
html div#archive-material form.searchandfilter { margin-bottom: 3.2rem; padding-bottom: 2.4rem; border-bottom: 1px solid var(--oc-line); }
html div#archive-material form.searchandfilter h4 {
	font-size: 1.2rem;
	font-weight: 500;
	letter-spacing: .14em;
	color: var(--oc-sub);
	margin: 0 0 1.2rem;
}
html div#archive-material form.searchandfilter ul li.sf-field-taxonomy-material_category ul { gap: 8px; }
html div#archive-material form.searchandfilter ul li.sf-field-taxonomy-material_category ul li { margin: 0 !important; position: relative; }
html div#archive-material form.searchandfilter ul li.sf-field-taxonomy-material_category ul li input[type="radio"] {
	position: absolute;
	opacity: 0;
	width: 1px;
	height: 1px;
	pointer-events: none;
}
html div#archive-material form.searchandfilter ul li.sf-field-taxonomy-material_category ul li label {
	display: inline-block;
	padding: .7rem 1.8rem;
	border: 1px solid #cfd6de;
	border-radius: 999px;
	font-size: 1.35rem;
	letter-spacing: .06em;
	color: var(--oc-ink);
	background: #fff;
	transition: background-color .25s, color .25s, border-color .25s;
}
html div#archive-material form.searchandfilter ul li.sf-field-taxonomy-material_category ul li label:hover { border-color: var(--oc-blue); color: var(--oc-blue); }
html div#archive-material form.searchandfilter ul li.sf-field-taxonomy-material_category ul li input:checked + label,
html div#archive-material form.searchandfilter ul li.sf-field-taxonomy-material_category ul li.sf-option-active label {
	background: var(--oc-blue);
	border-color: var(--oc-blue);
	color: #fff;
}
html div#archive-material form.searchandfilter ul li.sf-field-taxonomy-material_category ul li input:focus-visible + label { outline: 2px solid var(--oc-blue); outline-offset: 2px; }
@media only screen and (max-width: 860px) {
	html div#archive-material div.inner { padding: 3.2rem; }
}
@media only screen and (max-width: 600px) {
	html div#archive-material div.inner { padding: 2.4rem 1.6rem 3.2rem; }
	html div#archive-material form.searchandfilter ul li.sf-field-taxonomy-material_category ul li label { padding: .6rem 1.4rem; font-size: 1.25rem; }
}

/* ------------------------------------------------------------ 施工事例のカード（トップ・一覧）：カテゴリを見出しの上に・竣工日などは下にそろえる・ないときは線も出さない */
html div#works div.inner ul#worksList > li,
html div#frontWorksList div.inner ul#worksList > li {
	display: flex;
	flex-direction: column;
	border-radius: 6px;
}
html div#works div.inner ul#worksList > li div.info,
html div#frontWorksList div.inner ul#worksList > li div.info {
	flex: 1;
	display: flex;
	flex-direction: column;
	padding: 2.4rem 2.8rem 2.6rem;
}
html div#works div.inner ul#worksList > li div.info ul.category,
html div#frontWorksList div.inner ul#worksList > li div.info ul.category {
	order: -1;
	justify-content: flex-start;
	flex-wrap: wrap;
	gap: 6px;
	margin: 0 0 1.2rem;
}
html div#works div.inner ul#worksList > li div.info ul.category li,
html div#frontWorksList div.inner ul#worksList > li div.info ul.category li {
	margin: 0;
	padding: .3rem 1.1rem;
	font-size: 1.1rem;
	line-height: 1.6;
	background: transparent;
	color: var(--oc-blue);
	border: 1px solid rgba(0, 130, 179, .45);
}
html div#works div.inner ul#worksList > li div.info h4,
html div#frontWorksList div.inner ul#worksList > li div.info h4 {
	font-size: 1.9rem;
	line-height: 1.5;
	margin-bottom: 0;
}
html div#works div.inner ul#worksList > li div.info ul.info,
html div#frontWorksList div.inner ul#worksList > li div.info ul.info {
	margin-top: auto;
	padding-top: 1.4rem;
	position: relative;
	top: 1.6rem;
	margin-bottom: 1.6rem;
}
html div#works div.inner ul#worksList > li div.info ul.info:not(:has(li)),
html div#frontWorksList div.inner ul#worksList > li div.info ul.info:not(:has(li)) { display: none; }
html div#works div.inner ul#worksList > li div.info ul.info li,
html div#frontWorksList div.inner ul#worksList > li div.info ul.info li { margin: 0; padding: .2rem 0; color: var(--oc-sub); }
html div#works div.inner ul#worksList > li div.info ul.info li p span:first-child,
html div#frontWorksList div.inner ul#worksList > li div.info ul.info li p span:first-child {
	width: 6.4em;
	flex-shrink: 0;
	letter-spacing: .08em;
	color: #8a929c;
}
html div#works div.inner ul#worksList > li div.info ul.info li p span:last-child,
html div#frontWorksList div.inner ul#worksList > li div.info ul.info li p span:last-child { margin-left: 0; width: auto; color: var(--oc-ink); }
@media only screen and (max-width: 600px) {
	html div#works div.inner ul#worksList > li div.info,
	html div#frontWorksList div.inner ul#worksList > li div.info { padding: 2rem 2rem 2.2rem; }
	html div#works div.inner ul#worksList > li div.info h4,
	html div#frontWorksList div.inner ul#worksList > li div.info h4 { font-size: 1.7rem; }
}

/* ------------------------------------------------------------ 記事の下のナビ（前の記事・一覧へ・次の記事。functions.php の oc_post_nav。以前は「BACK」のボタン） */
html .oc-postnav {
	position: relative;
	z-index: 2;
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
	align-items: stretch;
	max-width: 840px;
	margin: 5.6rem auto 0;
	background: #fff;
	border-radius: 6px;
	box-shadow: var(--oc-shadow);
}
html .oc-postnav__item { display: flex; min-width: 0; }
html .oc-postnav__item a {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: .6rem;
	width: 100%;
	padding: 2.2rem 2.8rem;
	color: var(--oc-ink);
	text-decoration: none;
	transition: background-color .3s, color .3s;
}
html .oc-postnav__item--prev a { border-radius: 6px 0 0 6px; }
html .oc-postnav__item--next a { text-align: right; align-items: flex-end; border-radius: 0 6px 6px 0; }
html .oc-postnav__dir {
	display: inline-flex;
	align-items: center;
	gap: .8rem;
	font-size: 1.1rem;
	font-weight: 500;
	letter-spacing: .18em;
	color: var(--oc-blue);
}
html .oc-postnav__ja { font-size: 1.1rem; letter-spacing: .08em; color: var(--oc-sub); font-weight: 400; }
html .oc-postnav__arrow {
	display: inline-block;
	width: 18px;
	height: 1px;
	background: currentColor;
	position: relative;
	transition: transform .35s var(--oc-ease);
}
html .oc-postnav__arrow::after {
	content: '';
	position: absolute;
	top: -3px;
	width: 7px;
	height: 7px;
	border-top: 1px solid currentColor;
}
html .oc-postnav__item--prev .oc-postnav__arrow::after { left: 0; border-left: 1px solid currentColor; transform: rotate(-45deg); transform-origin: 0 0; top: 0; }
html .oc-postnav__item--next .oc-postnav__arrow::after { right: 0; border-right: 1px solid currentColor; transform: rotate(45deg); transform-origin: 100% 0; top: 0; }
html .oc-postnav__title {
	display: block;
	max-width: 100%;
	font-size: 1.4rem;
	line-height: 1.6;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
html .oc-postnav__list {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: .8rem;
	min-width: 14rem;
	padding: 2rem 2.4rem;
	border-left: 1px solid var(--oc-line);
	border-right: 1px solid var(--oc-line);
	font-size: 1.2rem;
	font-weight: 500;
	letter-spacing: .1em;
	color: var(--oc-navy);
	text-decoration: none;
	transition: background-color .3s, color .3s;
}
html .oc-postnav__grid {
	display: grid;
	grid-template-columns: repeat(2, 6px);
	gap: 3px;
}
html .oc-postnav__grid i { display: block; width: 6px; height: 6px; background: currentColor; border-radius: 1px; }
@media (hover: hover) {
	html .oc-postnav__item a:hover { background: #f3f8fb; text-decoration: none; }
	html .oc-postnav__item a:hover .oc-postnav__title { color: var(--oc-blue); }
	html .oc-postnav__item--prev a:hover .oc-postnav__arrow { transform: translateX(-4px); }
	html .oc-postnav__item--next a:hover .oc-postnav__arrow { transform: translateX(4px); }
	html .oc-postnav__list:hover { background: var(--oc-navy); color: #fff; text-decoration: none; }
}
@media only screen and (max-width: 600px) {
	html .oc-postnav {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
		margin: 4rem 1.6rem 0;
	}
	html .oc-postnav__list {
		grid-column: 1 / -1;
		grid-row: 2;
		flex-direction: row;
		min-width: 0;
		padding: 1.6rem;
		border: none;
		border-top: 1px solid var(--oc-line);
	}
	html .oc-postnav__item--next { border-left: 1px solid var(--oc-line); }
	html .oc-postnav__item a { padding: 1.8rem 1.6rem; }
	html .oc-postnav__ja { display: none; }
	html .oc-postnav__title { font-size: 1.3rem; white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
}
/* 記事のページの下の余白（ナビのあと） */
html div#worksSingle div.pageWrapper,
html div#newsSingle div.pageWrapper,
html div#materialSingle div.pageWrapper { padding-bottom: 8rem; }

/* ------------------------------------------------------------ 取扱商材の記事：見出しのまわり・写真・本文 */
html div#materialSingle div.inner {
	max-width: 840px;
	padding: 5.6rem 6.4rem 6.4rem;
	background: #fff;
	border-radius: 6px;
	box-shadow: var(--oc-shadow);
}
html div#materialSingle .oc-mat-head { margin-bottom: 3.2rem; }
html div#materialSingle .oc-mat-head__en {
	font-size: 1.2rem;
	font-weight: 500;
	letter-spacing: .3em;
	color: var(--oc-blue);
	margin: 0 0 1rem;
	display: flex;
	align-items: center;
	gap: 1.2rem;
}
html div#materialSingle .oc-mat-head__en::before { content: ''; width: 24px; height: 1px; background: var(--oc-blue); }
html div#materialSingle .oc-mat-head h2.title {
	border-left: none;
	border-bottom: none;
	padding: 0;
	margin: 0 0 1.6rem;
	font-size: 2.8rem;
	font-weight: 600;
	letter-spacing: .06em;
	line-height: 1.4;
}
html div#materialSingle .oc-mat-head p.date { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; }
html div#materialSingle .oc-mat-head span.term,
html .oc-related__terms span.term {
	display: inline-block;
	padding: .3rem 1.2rem;
	border-radius: 999px;
	background: var(--oc-blue);
	color: #fff;
	font-size: 1.15rem;
	letter-spacing: .06em;
	line-height: 1.6;
}
html div#materialSingle figure.oc-mat-thumb { margin: 0 0 4rem; }
html div#materialSingle figure.oc-mat-thumb img { display: block; width: 100%; height: auto; border-radius: 4px; }
html div#materialSingle main { font-size: 1.5rem; line-height: 2; }
html div#materialSingle main p { font-size: 1em; margin: 0 0 1.6em; }
html div#materialSingle main a { color: var(--oc-blue); text-decoration: underline; text-underline-offset: .2em; text-decoration-color: rgba(0, 130, 179, .4); }
html div#materialSingle main a:hover { text-decoration-color: var(--oc-blue); }
html div#materialSingle main hr { border: none; border-top: 1px solid var(--oc-line); margin: 3.2rem 0; }
html div#materialSingle main img { border-radius: 4px; }
@media only screen and (max-width: 600px) {
	html div#materialSingle div.inner { padding: 3.2rem 2rem 4rem; margin: 0 1.6rem; }
	html div#materialSingle .oc-mat-head h2.title { font-size: 2.2rem; }
	html div#materialSingle main { font-size: 1.4rem; line-height: 1.9; }
}

/* その他の取扱商材 */
html .oc-related {
	position: relative;
	z-index: 2;
	max-width: 840px;
	margin: 6.4rem auto 0;
}
html .oc-related__title {
	display: flex;
	flex-direction: column;
	gap: .6rem;
	font-size: 2rem;
	font-weight: 600;
	letter-spacing: .08em;
	margin: 0 0 2.4rem;
}
html .oc-related__en { font-size: 1.1rem; font-weight: 500; letter-spacing: .3em; color: var(--oc-blue); }
html .oc-related ul {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 2rem;
	margin: 0;
	padding: 0;
	list-style: none;
}
html .oc-related ul:has(> li:nth-child(3):last-child) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
html .oc-related li a {
	display: flex;
	flex-direction: column;
	height: 100%;
	position: relative;
	background: #fff;
	border-radius: 6px;
	overflow: hidden;
	box-shadow: var(--oc-shadow);
	color: var(--oc-ink);
	text-decoration: none;
	transition: box-shadow .4s, transform .4s var(--oc-ease);
}
html .oc-related__thumb { display: block; aspect-ratio: 3 / 2; background-size: cover; background-position: center; }
html .oc-related__terms { position: absolute; top: .8rem; left: .8rem; display: flex; gap: 4px; }
html .oc-related__terms span.term { background: rgba(255, 255, 255, .94); color: var(--oc-blue); font-size: 1rem; padding: .2rem 1rem; box-shadow: 0 1px 4px rgba(16, 38, 66, .14); }
html .oc-related__name { display: block; padding: 1.4rem 1.6rem 1.6rem; font-size: 1.4rem; font-weight: 500; letter-spacing: .04em; line-height: 1.5; }
@media (hover: hover) {
	html .oc-related li a:hover { box-shadow: var(--oc-shadow-hover); transform: translateY(-3px); }
	html .oc-related li a:hover .oc-related__name { color: var(--oc-blue); }
}
@media only screen and (max-width: 860px) {
	html .oc-related ul, html .oc-related ul:has(> li:nth-child(3):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.6rem; }
}
@media only screen and (max-width: 600px) {
	html .oc-related { margin: 4.8rem 1.6rem 0; }
	html .oc-related__name { font-size: 1.3rem; padding: 1.2rem; }
}
