@charset "utf-8";

/* ============================================================
   講座一覧ページ改修(2026/08/31)
   対象: archive-course.php / loop-course.php (#COURSE)
   デザイン: doc/ページ修正0831/HP-Re/03_講座一覧
   画像: assets/images/course/renewal/
   ============================================================ */

/* 色: 青 #519bd5 / 青緑(ボタン・見出し) #74c6b5 / 青緑(フロー枠) #00b6bd / 帯背景 #82aed8 */

#COURSE {
	color: #666;
}

/* パンくず */
#COURSE #bread {
	padding: 20px 0 15px;
}
#COURSE #bread li,
#COURSE #bread li a {
	font-size: 13px;
	letter-spacing: 0.15em;
	color: #333;
	text-decoration: none;
}
#COURSE #bread li {
	padding-left: 28px;
}
#COURSE #bread li:first-child {
	padding-left: 0;
}
#COURSE #bread li::before {
	content: "＞";
	left: 4px;
	top: 0;
	font-size: 13px;
}
#COURSE #bread li:first-child::before {
	content: "";
}

/* ヒーロー */
#COURSE #topban img {
	display: block;
	width: 100%;
	height: auto;
}

/* ------------------------------------------------------------
   リード文
   ------------------------------------------------------------ */
#COURSE #sec1 {
	margin: 40px 0 55px;
}
#COURSE #sec1 .lead {
	font-size: 20px;
	font-weight: bold;
	line-height: 2.1;
	letter-spacing: 0.02em;
	color: #666;
}
#COURSE #sec1 .lead .cb {
	color: #519bd5;
}
#COURSE #sec1 .lead .ct {
	color: #74c6b5;
}

/* ------------------------------------------------------------
   講座概要(青帯)
   ------------------------------------------------------------ */
#COURSE #sec2 {
	margin-top: 0; /* 旧style.cssの margin-top を打ち消し */
	padding: 60px 0 75px;
	background: #82aed8;
	overflow: hidden; /* 横はみ出し防止 */
}
/* 旧style.css(#COURSE #sec2 span)の左バー装飾を打ち消し */
#COURSE #sec2 span {
	display: inline;
	padding: 0;
	border: 0;
	font-size: inherit;
}
#COURSE #sec2 .midashi2 {
	margin: 0;
	padding: 0 0 0 12px;
	border-left: 6px solid #fff;
	font-size: 27px;
	font-weight: bold;
	line-height: 1.1;
	letter-spacing: 0.05em;
	color: #fff;
}
#COURSE #sec2 .sub {
	margin: 40px 0 38px;
	text-align: center;
	font-size: 25px;
	font-weight: bold;
	line-height: 1.3;
	letter-spacing: 0.2em;
	color: #fff;
}
#COURSE #sec2 .rows + .sub {
	margin-top: 70px;
}
#COURSE #sec2 .rows {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 52px 20px;
}
#COURSE #sec2 .list {
	position: relative;
	min-width: 0;
	height: 270px;
	padding: 19px 20px 0;
	box-sizing: border-box;
	background: #fff;
	text-align: center;
}
#COURSE #sec2 .list .title {
	height: 93px;
	line-height: 0;
}
#COURSE #sec2 .list .title img {
	width: auto;
	height: 93px;
}
#COURSE #sec2 .list .price {
	display: flex;
	display: -webkit-flex;
	flex-wrap: wrap;
	-webkit-flex-wrap: wrap;
	justify-content: center;
	-webkit-justify-content: center;
	flex-wrap: nowrap; /* 2026/09/04: 受講料+試験料が折返してボタンに隠れる不具合を修正 */
	-webkit-flex-wrap: nowrap;
	margin: 26px -10px 0;
	gap: 6px 30px;
}
#COURSE #sec2 .list .price dl {
	margin: 0;
	white-space: nowrap;
}
#COURSE #sec2 .list .price dt {
	font-size: 20px;
	font-weight: bold;
	line-height: 1.2;
	letter-spacing: 0.3em;
	color: #000;
}
/* 【 】のみ色付き */
#COURSE #sec2 .list .price dt.cb .br {
	color: #519bd5;
}
#COURSE #sec2 .list .price dt.ct .br {
	color: #74c6b5;
}
#COURSE #sec2 .list .price dd {
	margin: 4px 0 0;
	line-height: 1;
	color: #000;
}
#COURSE #sec2 .list .price dd b {
	display: inline;
	font-family: "Hiragino Sans", "ヒラギノ角ゴ ProN W6", "Hiragino Kaku Gothic ProN", "Noto Sans JP", Arial, sans-serif;
	font-size: 34px;
	font-weight: 800;
	letter-spacing: 0.02em;
}
#COURSE #sec2 .list .price dd .yen {
	margin-left: 2px;
	font-size: 18px;
	font-weight: bold;
}
#COURSE #sec2 .list .price dd .tax {
	margin-left: 2px;
	font-size: 11px;
	font-weight: bold;
}

/* 立体ボタン(トップページ入口カードと同じ作り) */
#COURSE #sec2 .list .btn {
	position: absolute;
	left: 50%;
	bottom: -10px;
	display: block;
	width: 220px;
	height: 41px;
	margin-left: -110px;
	padding: 0 30px 0 0;
	box-sizing: border-box;
	background: #519bd5;
	text-align: center;
	font-size: 19px;
	font-weight: bold;
	line-height: 41px;
	letter-spacing: 0.12em;
	color: #fff;
	text-decoration: none;
	transition: opacity 0.2s;
}
#COURSE #sec2 .list .btn.ct {
	background: #74c6b5;
}
#COURSE #sec2 .list .btn:hover {
	opacity: 0.8;
}
/* 右面(白い厚み・右下方向に押し出し) */
#COURSE #sec2 .list .btn::before {
	content: "";
	position: absolute;
	top: 0;
	left: 100%;
	width: 6px;
	height: 100%;
	background: #fff;
	border: 1px solid #519bd5;
	box-sizing: border-box;
	transform: skewY(45deg);
	transform-origin: left top;
}
/* 下面(白い厚み) */
#COURSE #sec2 .list .btn::after {
	content: "";
	position: absolute;
	top: 100%;
	left: 0;
	width: 100%;
	height: 6px;
	background: #fff;
	border: 1px solid #519bd5;
	box-sizing: border-box;
	transform: skewX(45deg);
	transform-origin: left top;
}
#COURSE #sec2 .list .btn.ct::before,
#COURSE #sec2 .list .btn.ct::after {
	border-color: #74c6b5;
}
/* 矢印(白丸+シェブロン) */
#COURSE #sec2 .list .btn .arrow {
	position: absolute;
	right: 10px;
	top: 50%;
	margin-top: -11px;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: #fff;
}
#COURSE #sec2 .list .btn .arrow::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 6px;
	height: 6px;
	margin: -4px 0 0 -5px;
	border-top: 2px solid #519bd5;
	border-right: 2px solid #519bd5;
	transform: rotate(45deg);
}
#COURSE #sec2 .list .btn.ct .arrow::before {
	border-color: #74c6b5;
}

/* ------------------------------------------------------------
   共通見出し(グレー左バー)
   ------------------------------------------------------------ */
#COURSE .midashi3 {
	margin: 0;
	padding: 0 0 0 12px;
	border-left: 6px solid #666;
	font-size: 27px;
	font-weight: bold;
	line-height: 1.1;
	letter-spacing: 0.02em;
	color: #666;
}

/* 資格取得・ステップアップの流れ → 2026/09/04 共通化: assets/css/course_flow.css に移動 */

/* ------------------------------------------------------------
   資格取得で身につく力
   ------------------------------------------------------------ */
#COURSE #sec4 {
	margin: 60px 0 0;
}
#COURSE #sec4 .rows {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 20px;
	margin-top: 38px;
}
#COURSE #sec4 .list {
	line-height: 0;
}
#COURSE #sec4 .list img {
	width: 100%;
	height: auto;
}

/* お問合せブロック(共通 inc-contact.php)の色をデザインに合わせる */
#COURSE .contact_blk {
	margin-top: 60px;
	padding: 30px 0;
	background-color: #7aaed7;
}

/* ============================================================
   SP
   ============================================================ */
@media screen and (max-width: 767px) {
	#COURSE #bread {
		padding: 12px 0 10px;
	}
	#COURSE #bread .inner {
		padding: 0 15px;
	}
	#COURSE #bread li,
	#COURSE #bread li a {
		font-size: 12px;
	}
	#COURSE #bread li {
		padding-left: 24px;
	}
	#COURSE #bread li:first-child {
		padding-left: 0;
	}
	#COURSE #bread li::before {
		font-size: 12px;
	}

	#COURSE #topban .inner {
		padding: 0 15px;
	}

	#COURSE #sec1 {
		margin: 35px 0 40px;
	}
	#COURSE #sec1 .lead {
		font-size: 15px;
		line-height: 2;
	}

	/* 講座概要 */
	#COURSE #sec2 {
		margin-top: 0;
		padding: 50px 0 70px;
	}
	#COURSE #sec2 .midashi2 {
		padding-left: 10px;
		border-left-width: 5px;
		font-size: 22px;
	}
	#COURSE #sec2 .sub {
		margin: 35px 0 30px;
		font-size: 18px;
		letter-spacing: 0.15em;
	}
	#COURSE #sec2 .rows + .sub {
		margin-top: 60px;
	}
	#COURSE #sec2 .rows {
		grid-template-columns: minmax(0, 1fr);
		gap: 32px;
	}
	#COURSE #sec2 .list {
		height: 190px;
		padding: 14px 10px 0;
	}
	#COURSE #sec2 .list .title {
		height: 66px;
	}
	#COURSE #sec2 .list .title img {
		height: 66px;
	}
	#COURSE #sec2 .list .price {
		margin: 16px -5px 0;
		gap: 4px 16px;
	}
	#COURSE #sec2 .list .price dt {
		font-size: 15px;
		letter-spacing: 0.2em;
	}
	#COURSE #sec2 .list .price dd {
		margin-top: 3px;
	}
	#COURSE #sec2 .list .price dd b {
		font-size: 24px;
		letter-spacing: 0;
	}
	#COURSE #sec2 .list .price dd .yen {
		font-size: 13px;
	}
	#COURSE #sec2 .list .price dd .tax {
		font-size: 9px;
	}
	#COURSE #sec2 .list .btn {
		bottom: -8px;
		width: 156px;
		height: 30px;
		margin-left: -78px;
		padding-right: 20px;
		font-size: 14px;
		line-height: 30px;
	}
	#COURSE #sec2 .list .btn::before {
		width: 4px;
	}
	#COURSE #sec2 .list .btn::after {
		height: 4px;
	}
	#COURSE #sec2 .list .btn .arrow {
		right: 8px;
		width: 16px;
		height: 16px;
		margin-top: -8px;
	}
	#COURSE #sec2 .list .btn .arrow::before {
		width: 4px;
		height: 4px;
		margin: -3px 0 0 -3px;
	}

	#COURSE .midashi3 {
		padding-left: 10px;
		border-left-width: 5px;
		font-size: 20px;
		letter-spacing: 0;
	}

	/* 流れ → course_flow.css に移動 */

	/* 身につく力 */
	#COURSE #sec4 {
		margin-top: 45px;
	}
	#COURSE #sec4 .rows {
		grid-template-columns: 1fr;
		gap: 30px;
		margin-top: 30px;
	}

	#COURSE .contact_blk {
		margin-top: 50px;
		padding: 30px 0;
		background-color: #7aaed7;
	}
}
