/* ===== 商品ごとの色設定：ここ3行だけ差し替える ===== */
:root{
  --c-main:   #00A0E9; /* h2・h3の文字色／h3の左線 */
  --c-sub:    #8FC31F; /* h4・サブ見出し・リスト */
  --c-accent: #F8B62D; /* strong（強調文字） */
}
/* h3のアイコン画像は img/mark_h3.png を差し替える */

/* base  css ver2.0 ttm */
@import url('https://fonts.googleapis.com/css?family=Noto+Sans+JP:500,700&display=swap&subset=japanese');

#catalog {
	text-align: center;
	font-size: 14px;
	line-height: 1.6;
	font-family: 'Noto Sans JP', sans-serif;
}

#catalog h1,
#catalog h2,
#catalog h3,
#catalog h4,
#catalog h5,
#catalog p,
#catalog ul,
#catalog ol,
#catalog li,
#catalog dl,
#catalog dd,
#catalog dt {
	margin: 0;
	padding: 0px;
}

div#layout * {
	box-sizing: border-box;
}

div#layout img {
	border: 0;
	vertical-align: middle;
	max-width: 100%;
}

div#layout p {
	text-align: left;
}

div#layout a {
	text-decoration: none;
}

div#layout a:hover {
	text-decoration: underline;
}

div#layout a:hover img {
	opacity: 0.7;
	filter: alpha(opacity=70);
}

#catalog .phr {
	float: right;
	margin-left: 1.5em;
}

#catalog .phl {
	float: left;
	margin-right: 1.5em;
}

#catalog .phc {
	margin: auto;
	text-align: center;
}

#catalog .clear:after {
	content: "";
	display: block;
	clear: both;
}

#catalog .youtube {
	position: relative;
	width: 100%;
	padding-top: 56.25%;
}

#catalog .youtube iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100% !important;
	height: 100% !important;
}

/*/// responsible /*/
.visible640,
.visible480,
.visible768,
.visible950 {
	display: none;
}

/*------------ common ---------------------------*/

#catalog #keyvisual {
	margin-bottom: 5%;
}

#catalog p {
	margin: 1.5em auto 0;
	text-align: left;
}

#catalog h2 {
	text-align: left;
	font-size: clamp(23px, calc(33 / 768 * 100vw), 33px);
	font-weight: bold;
	margin: 6% 0 4%;
	line-height: 1.3;
	color: var(--c-main);
}

#catalog h2 .mini {
	font-size: .6em;
}

#catalog h2+h3 {
	margin-top: 3%;
}

#catalog h3 {
	border-left: 5px solid var(--c-main);
	color: var(--c-main);
	font-size: clamp(20px, calc(25 / 768 * 100vw), 25px);
	text-align: left;
	margin: 3em 0 1em;
	padding-left: 10px;
	line-height: 1.4;
	font-weight: bold;
}

#catalog h3.ti {
	padding-left: calc(clamp(43px, calc(50 / 768 * 100vw), 50px) + 8px);
	border: 0;
	padding-left: 55px;
	position: relative;
}

#catalog h3.ti:before {
	content: "";
	display: block;
	width: clamp(43px, calc(50 / 768 * 100vw), 50px);
	aspect-ratio: 1;
	background: url(../img/mark_h3.png) no-repeat center center;
	background-size: contain;
	position: absolute;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
}

#catalog h3.ti.new:before {
	background: url(../img/mark_h3_new.png) no-repeat center center;
	background-size: contain;
}

#catalog .red {
	color: red;
}

#catalog .mini {
	font-size: .8em !important;
}

#catalog .large {
	font-size: 1.5em;
}

#catalog .cut {
	margin: 2em auto;
	text-align: center;
}

#catalog h3.ti+.cut {
	margin-top: 0;
}

#catalog h4 {
	font-size: clamp(16px, 2vw, 20px);
	text-align: left;
	color: var(--c-sub);
	font-weight: bold;
	margin: 1.5em 0 0 0;
}

#catalog h4+p {
	margin-top: 0.5em;
}

#catalog .arrow+.cut {
	margin-top: 0;
}

#catalog .flex {
	display: flex;
}

#catalog .flex .row {
	width: 50%;
}

#catalog .flex .row:nth-child(1) {
	padding: 0 20px 0 0;
}

#catalog .flex .row p:nth-child(1) {
	margin-top: 0;
}

#catalog .intro {
	margin-bottom: 20px;
	align-items: flex-start;
}

#catalog .intro .image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

#catalog .intro .flex {
	flex-wrap: wrap;
}

#catalog .intro .row.odr03 {
	width: 100%;
	margin-top: 1em;
	order: 3;
}

/*------- org ------*/
#catalog strong {
	color: var(--c-accent);
}

#catalog p.red strong {
	color: inherit;
	text-decoration: underline;
}

#catalog p+p.red {
	margin-top: 0;
}

#catalog ul.list {
	font-size: 15px;
	font-weight: bold;
	color: var(--c-sub);
	text-align: left;
	margin: .5em 0 0 1.8em;
	list-style: none;
}

#catalog ul.list li {
	text-indent: -1em;
}

#catalog .subtitle {
	position: relative;
	margin: 2em auto 0;
}

#catalog .subtitle span {
	display: inline-block;
	background: white;
	padding: .3em 1.5em;
	font-size: 18px;
	font-weight: 700;
	color: var(--c-sub);
	border: 3px solid #b5b6b6;
	position: relative;
	z-index: 10;
}

#catalog .subtitle:after {
	content: "";
	display: block;
	width: 100%;
	height: 4px;
	background-color: #b5b6b6;
	position: absolute;
	top: 50%;
	left: 0;
	translate: 0 -50%;
}


#catalog .tab {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px;
	list-style: none;
	margin: 1em;
}

#catalog .tab li {
	flex: 0 0 calc(25% - 10px);
}

#catalog .tab li a {
	display: block;
	background: linear-gradient(#07cedc 0%, #008197 100%);
	border: 3px solid var(--c-sub);
	font-weight: bold;
	font-size: 15px;
	line-height: 30px;
	text-align: center;
	color: white;
	padding: .2em 0 .3em;
}

#catalog .tab li a:hover,
#catalog .tab li a.current {
	;
	color: var(--c-sub);
	background: #fff;
	border: 3px solid var(--c-sub);
	text-decoration: none;
}


#catalog .tab-content {
	display: none;
	padding: 15px;
}

#catalog .tab-content.current {
	display: block;
}

/*----------------------------*/

/*number*/
#catalog .no {
	position: relative;
	width: 30px;
	height: 14px;
	display: inline-block;
}

#catalog .no:before {
	background: #FC0000;
	border-radius: 20px;
	color: white;
	font-size: 1.1em;
	font-weight: bold;
	text-align: center;
	display: inline-block;
	font-style: normal;
	line-height: 1.3;
	position: absolute;
	top: 50%;
	left: 50%;
	width: 20px;
	height: 20px;
	transform: translate(-50%, -40%);
	vertical-align: middle;
}

#catalog .no.no01:before {
	content: "1";
}

#catalog .no.no02:before {
	content: "2";
}

#catalog .no.no03:before {
	content: "3";
}

#catalog .no.no04:before {
	content: "4";
}

#catalog .no.no05:before {
	content: "5";
}

#catalog .number {
	counter-reset: sono;
}

#catalog .number h4 {
	counter-increment: sono;
	position: relative;
	padding-left: 4em;
}

#catalog .number h4:before {
	content: "その" counter(sono);
	color: white;
	background: #90C75A;
	border-radius: 100px;
	padding: .3em 1em;
	font-size: .8em;
	position: absolute;
	left: 0;
	top: 0;
}

#catalog .caution {
	font-size: 11px;
	color: #FF0000;
	text-align: left;
}

#catalog .btnarea {
	margin: 40px auto;
}

#catalog .spec {
	display: block;
}

#catalog .spec .row {
	padding: 0 20px 0 0;
}

#catalog .spec p {
	margin: 5px 0;
	font-size: 13px;
}

#catalog .spec dl {
	text-align: left;
	margin: 0px 0 20px;
}

#catalog .spec dl dt {
	font-size: 18px;
	color: #C20E23;
	font-weight: bold;
	margin-bottom: 5px;
}

#catalog .spec dl dd {
	font-size: 13px;
}

#catalog .spec .row {
	padding: 0 20px 0 0;
}

#catalog .waku.red {
	border: 3px solid red;
	padding: .5em 1em;
}
/* ===== 画像キャプション（原稿の注記を受ける器） ===== */
#catalog .cut .cap{
	text-align: center;
	font-size: clamp(12px, 1.8vw, 14px);
	font-weight: bold;
	color: var(--c-sub);
	margin: .6em auto 0;
}
#catalog .cut .imgrow{
	display: flex;
	justify-content: center;
	align-items: flex-start;
	gap: 10px;
	flex-wrap: wrap;
}

#catalog .cut .imgrow img{
	width: calc(50% - 5px);
}
@media screen and (max-width: 641px){
	#catalog .cut .imgrow img{ width: 100%; }
}

/* ===== オトモジ2で追加（2026-11-09） ===== */
/* 文節で折り返す（brpcが消えるスマホ幅で、語の途中で切れないように） */
#catalog p,
#catalog h3,
#catalog h4 {
	word-break: auto-phrase;
}

#catalog p.mt0,
#catalog p.red+p.mt0,
#catalog .cut+p.mt0 {
	margin-top: 0;
}

/* イントロ：画像を右に浮かせ、テキストは左と画像の下に回り込む（画像45%）※APRS4から流用 */
#catalog .intro-float {
	margin-bottom: 20px;
}

#catalog .intro-float::after {
	content: "";
	display: block;
	clear: both;
}

#catalog .intro-float .intro-image {
	float: right;
	width: 45%;
	margin: 0 0 1em 20px;
}

#catalog .intro-float .intro-image img {
	display: block;
	width: 100%;
	height: auto;
}

#catalog .intro-float p:first-of-type {
	margin-top: 0;
}

@media screen and (max-width: 641px) {
	#catalog .intro-float {
		display: flex;
		flex-direction: column;
	}
	#catalog .intro-float .intro-image {
		float: none;
		width: 100%;
		margin: 1.5em 0 0;
		order: 3;
	}
}

/* ダウンロードボタン ※APRS4から流用 */
#catalog .btnarea {
	text-align: center;
}

#catalog .btnarea .btn-link {
	display: inline-block;
	min-width: 50%;
	padding: 12px 32px;
	background-color: var(--c-main);
	color: #fff;
	border-radius: 8px;
	font-weight: 600;
	font-size: 18px;
	line-height: 1.5;
	text-decoration: none;
	box-shadow: 0 2px 0 rgba(0, 0, 0, .25);
	box-sizing: border-box;
}

#catalog .btnarea .btn-link:hover {
	color: #fff;
	text-decoration: none;
	opacity: .85;
}

#catalog .btnarea .btn-link:active {
	transform: translateY(1px);
	box-shadow: 0 1px 0 rgba(0, 0, 0, .25);
}

/* ===== 2026-11-10 修正 ===== */
/* 箇条書きを①②の見出しと同じ大きさに */
#catalog ul.list {
	font-size: clamp(16px, 2vw, 20px);
}

/* 丸数字の見出し（ベタ面に白抜きの数字） */
#catalog h4.num {
	display: flex;
	align-items: center;
	gap: .5em;
}

#catalog h4.num .no-c {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 1.6em;
	height: 1.6em;
	border-radius: 50%;
	background-color: var(--c-sub);
	color: #fff;
	font-size: .9em;
	line-height: 1;
}

/* テスト結果：1回ずつ箱に入れる（PC＝横3列／スマホ＝縦） */
#catalog .tests {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 12px;
	margin: 1.5em 0 0;
}

#catalog .tests .test {
	background-color: #F3F5F7;
	border-radius: 10px;
	padding: 1em;
	text-align: left;
}

#catalog .tests .test p {
	margin: .3em 0 0;
	font-size: 13px;
}

#catalog .tests .test p.test-ttl {
	margin: 0 0 .4em;
	padding-bottom: .4em;
	border-bottom: 1px solid #D5DBE0;
	font-size: 16px;
	font-weight: bold;
	color: var(--c-main);
}

#catalog .tests .test p.test-rate span {
	font-size: 1.8em;
	font-weight: bold;
	color: var(--c-main);
	line-height: 1.2;
}

@media screen and (max-width: 641px) {
	#catalog .tests {
		grid-template-columns: 1fr;
	}
}

/* 注意点の囲み（赤の罫線・角丸） */
#catalog .chuui {
	margin: 1.5em 0 0;
	padding: 1em 1.2em;
	border: 2px solid #FF0000;
	border-radius: 10px;
}

#catalog .chuui h4 {
	margin: 0;
	color: #FF0000;
}

#catalog .chuui p {
	margin-top: .5em;
}

/* 冒頭の見出し：PCで2行に収めるため、少しだけ小さくする（2026-11-10） */
#catalog h3.ti.lead {
	font-size: clamp(20px, calc(24 / 768 * 100vw), 24px);
}

/* こんなお悩み → 解決の一文を目立たせる（2026-11-10・左揃え＋セキュリティのアイコン） */
#catalog .pitch {
	display: flex;
	align-items: center;
	gap: .7em;
	margin: 1.5em 0 0;
	padding: .8em 1.2em;
	background-color: #FFF1F1;
	border-radius: 10px;
	font-size: clamp(18px, calc(24 / 768 * 100vw), 24px);
}

#catalog .pitch .pitch-icon {
	flex: 0 0 auto;
	width: 2.4em;
	height: 2.4em;
	color: #00A0E9; /* ロゴの青 */
}

#catalog .pitch p {
	margin: 0;
	text-align: left;
	font-size: inherit;
	line-height: 1.5;
	text-spacing-trim: trim-start; /* 行頭の「の空きを詰めて、左端をそろえる */
}

/* ②の下の注意事項（2026-11-11 FREECS様の修正依頼で追加） */
#catalog p+p.note-trial {
	margin-top: .8em;
	padding-left: 1em;
	text-indent: -1em;
}

/* 動作環境：項目名と内容を2列にそろえる（2026-11-11） */
#catalog .spec .spec-table {
	border-collapse: collapse;
	width: 100%;
	font-size: 13px;
	line-height: 1.6;
	text-align: left;
	border-top: 1px solid #E3E6EA; /* 一番上の行にも線を引いて、表の始まりを示す */
}

#catalog .spec .spec-table th,
#catalog .spec .spec-table td {
	padding: .45em .6em;
	border-bottom: 1px solid #E3E6EA;
	vertical-align: top;
}

#catalog .spec .spec-table th {
	width: 7.5em;
	white-space: nowrap;
	font-weight: bold;
	background-color: #F3F5F7;
}

#catalog .spec .spec-table .spec-note {
	font-size: 12px;
	color: #555;
}

/* ※の2行目以降を、※の後ろの文字にそろえる（2026-11-11） */
#catalog .kome {
	display: block;
	padding-left: 1em;
	text-indent: -1em;
}

#catalog p.kome-p {
	padding-left: 1em;
	text-indent: -1em;
}
