/*--------------------------------
	全体
--------------------------------*/
.page-ads #main {
	background-color: #fff;
}

/*--------------------------------
	セクション背景（白）
--------------------------------*/
.p-ads-section {
	background-color: #fff;
}

/*--------------------------------
	デフォルトh2スタイルのリセット
--------------------------------*/
.p-ads-title {
	background-color: transparent !important;
	padding: 0 !important;
	border-radius: 0 !important;
	margin: 0 0 1.5rem !important;
}
@media screen and (min-width: 600px) {
	.p-ads-title {
		margin: 0 0 2rem !important;
	}
}

/*--------------------------------
	内側ラッパー
--------------------------------*/
.p-ads-inner {
	width: 100%;
	padding-right: 1.25rem;
	padding-left: 1.25rem;
	margin-right: auto;
	margin-left: auto;
	box-sizing: border-box;
}
@media screen and (min-width: 768px) {
	.p-ads-inner {
		max-width: 860px;
		padding-right: 1.5625rem;
		padding-left: 1.5625rem;
	}
}

/*--------------------------------
	MV（タイトル部）
--------------------------------*/
.p-ads-mv {
	background: url(../../images/page/about__group/organization-mv.jpg) no-repeat center / cover;
	height: 12rem;
	display: flex;
	align-items: center;
}
@media screen and (min-width: 600px) {
	.p-ads-mv {
		height: 16rem;
	}
}

.p-ads-mv__title {
	font-size: 1.75rem;
	font-weight: 700;
	color: #fff;
	line-height: 1.4;
	letter-spacing: 0.02em;
}
@media screen and (min-width: 600px) {
	.p-ads-mv__title {
		font-size: 2.5rem;
	}
}

.p-ads-mv__subtitle {
	font-size: 0.875rem;
	font-weight: 700;
	color: #fff;
	margin-top: 0.5rem;
	letter-spacing: 0.1em;
}
@media screen and (min-width: 600px) {
	.p-ads-mv__subtitle {
		font-size: 1rem;
		margin-top: 0.75rem;
	}
}

/*--------------------------------
	セクション共通
--------------------------------*/
.p-ads-section {
	padding-block: 3rem;
}
@media screen and (min-width: 600px) {
	.p-ads-section {
		padding-block: 4.5rem;
	}
}

.p-ads-section + .p-ads-section {
	border-top: 1px solid #eee;
}

/*--------------------------------
	セクション見出し
--------------------------------*/
.p-ads-title {
	font-size: 1.375rem;
	font-weight: 700;
	color: #ff8800;
	text-align: center;
	margin-bottom: 1.5rem;
	line-height: 1.5;
}
@media screen and (min-width: 600px) {
	.p-ads-title {
		font-size: 1.75rem;
		margin-bottom: 2rem;
	}
}

.p-ads-title::after {
	content: "";
	display: block;
	width: 1.875rem;
	height: 0.3125rem;
	background: linear-gradient(to right, #f4b518, #f4da18);
	margin-top: 0.5rem;
	margin-inline: auto;
}

.p-ads-title span {
	display: block;
	font-size: 0.875rem;
	font-weight: normal;
	color: #666;
	margin-top: 0.25rem;
}
@media screen and (min-width: 600px) {
	.p-ads-title span {
		font-size: 1rem;
	}
}

/*--------------------------------
	テーブル（table--type2）
--------------------------------*/
.table--type2 th,
.table--type2 td {
	border: none;
}
.table--type2 {
	width: 100%;
	border-collapse: collapse;
	border: none;
	margin-bottom: 1.5rem;
}
.table--type2 tr {
	border-bottom: solid 2px white;
}
.table--type2 tr:last-child {
	border-bottom: none;
}
.table--type2 th {
	vertical-align: middle;
	position: relative;
	width: 100px;
	box-sizing: border-box;
	background-color: #ff8800;
	color: #fff;
	text-align: center;
	padding: 15px 0;
	font-size: 13px;
	font-weight: bold;
}
.table--type2 th::after {
	display: block;
	content: "";
	width: 0;
	height: 0;
	position: absolute;
	top: calc(50% - 6px);
	right: -6px;
	border-left: 6px solid #ff8800;
	border-top: 6px solid transparent;
	border-bottom: 6px solid transparent;
}
.table--type2 td {
	border: none;
	text-align: left;
	width: calc(100% - 100px);
	box-sizing: border-box;
	background-color: #f6f6f6;
	padding: 15px 10px 15px 20px;
	font-size: 13px;
}
@media screen and (min-width: 641px) {
	.table--type2 th {
		width: 180px;
		font-size: 14px;
		padding: 15px 10px;
	}
	.table--type2 th::after {
		top: calc(50% - 8px);
		right: -8px;
		border-left-width: 8px;
		border-top-width: 8px;
		border-bottom-width: 8px;
	}
	.table--type2 td {
		width: calc(100% - 180px);
		padding: 15px 15px 15px 25px;
		font-size: 14px;
	}
}

/*--------------------------------
	テーブル（table-ads）
--------------------------------*/
.table-ads th,
.table-ads td {
	border: none;
	background-color: transparent;
}
.table-ads {
	width: 100%;
	line-height: 1.5;
	margin-bottom: 1.5rem;
}
.table-ads tr {
	border-bottom: solid 1px #ddd;
}
.table-ads th {
	padding: 15px 0;
	font-size: 11px;
	letter-spacing: 0;
	font-weight: bold;
	vertical-align: top;
	text-align: left;
}
.table-ads th:first-child {
	width: 70px;
	vertical-align: middle;
}
.table-ads .table-ads__heading-tr th {
	text-align: center;
	padding: 15px 5px;
}
.table-ads tr:not(.table-ads__price-tr) td {
	padding: 15px 5px;
	color: #ff8800;
	font-size: 20px;
	font-weight: bold;
	text-align: center;
	vertical-align: middle;
}
.table-ads tr:not(.table-ads__price-tr) .table-ads__td--glay {
	color: #999;
}
.table-ads .table-ads__price-tr td {
	padding: 15px 5px;
	font-size: 10px;
	letter-spacing: 0;
	text-align: center;
}
@media screen and (min-width: 641px) {
	.table-ads th {
		font-size: 16px;
		padding: 20px 0;
	}
	.table-ads th:first-child {
		width: 150px;
	}
	.table-ads .table-ads__heading-tr th {
		padding: 20px 10px;
	}
	.table-ads tr:not(.table-ads__price-tr) td {
		padding: 20px 10px;
		font-size: 24px;
	}
	.table-ads .table-ads__price-tr td {
		padding: 20px 10px;
		font-size: 14px;
	}
}

/*--------------------------------
	掲載基準 ol（丸数字）
--------------------------------*/
.p-ads-section ol {
	margin: 0 0 1.5rem 3em;
	padding: 0;
	list-style: none;
	counter-reset: number;
}
.p-ads-section ol > li {
	position: relative;
	margin-bottom: 0.5rem;
}
.p-ads-section ol > li:before {
	position: absolute;
	counter-increment: number;
	content: counter(number);
	background: #ff8800;
	border-radius: 50%;
	color: #fff;
	text-align: center;
	line-height: 1;
	letter-spacing: 0;
	padding: 4px 7px;
	font-size: 11px;
	top: 6px;
	left: -30px;
}

/*--------------------------------
	掲載基準
--------------------------------*/
.p-ads-criteria__intro {
	max-width: 760px;
	margin: 0 auto 2rem;
	text-align: center;
}
.p-ads-criteria__intro p {
	font-size: 1rem;
	line-height: 2;
}
.p-ads-criteria__toggle {
	border: 1px solid #eadfce;
	border-radius: 18px;
	background: linear-gradient(180deg, #fffdf9 0%, #ffffff 100%);
	box-shadow: 0 12px 30px rgba(214, 163, 83, 0.08);
	overflow: hidden;
	margin-bottom: 1rem;
}
.p-ads-criteria .toggle-btn {
	padding: 20px 20px 20px 68px;
	min-height: 82px;
	font-size: 1.125rem;
	font-weight: 700;
	line-height: 1.5;
	display: flex;
	align-items: center;
	border-radius: 18px;
}
.p-ads-criteria .toggle-btn:before {
	width: 28px;
	height: 28px;
	padding: 0;
	font-size: 20px;
	line-height: 28px;
	text-align: center;
	border-radius: 6px;
	left: 24px;
	top: calc(50% - 14px);
}
.p-ads-criteria .toggle-content {
	margin: 0;
	padding: 24px 24px 28px;
	background-color: #fffaf5;
	border-top: 1px solid #efe3d2;
}
.p-ads-criteria__notes {
	display: grid;
	gap: 18px;
	margin-top: 2rem;
}
.p-ads-criteria__note {
	position: relative;
	padding: 24px 24px 22px;
	border: 1px solid #f0dfc5;
	border-radius: 20px;
	background: linear-gradient(180deg, #fffaf2 0%, #ffffff 100%);
	box-shadow: 0 14px 36px rgba(214, 163, 83, 0.08);
}
.p-ads-criteria__note::before {
	content: "";
	display: block;
	width: 56px;
	height: 4px;
	border-radius: 999px;
	background: linear-gradient(to right, #ffb347, #f4da18);
	margin-bottom: 16px;
}
.p-ads-criteria__note-title {
	margin: 0 0 10px;
	font-size: 1.25rem;
	font-weight: 700;
	color: #333;
}
.p-ads-criteria__note-text {
	margin: 0;
	font-size: 14px;
	line-height: 1.9;
	color: #555;
}
@media screen and (min-width: 768px) {
	.p-ads-criteria__intro {
		margin-bottom: 2.5rem;
	}
	.p-ads-criteria__intro p {
		font-size: 1.125rem;
	}
	.p-ads-criteria .toggle-btn {
		padding: 24px 28px 24px 78px;
		min-height: 92px;
		font-size: 1.25rem;
	}
	.p-ads-criteria .toggle-btn:before {
		left: 28px;
	}
	.p-ads-criteria .toggle-content {
		padding: 28px 32px 32px;
	}
	.p-ads-criteria__notes {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 22px;
	}
	.p-ads-criteria__note {
		padding: 28px 28px 24px;
	}
}

/*--------------------------------
	広告掲載までの流れ（step-list）
--------------------------------*/
.p-ads-section .step-list {
	counter-reset: number;
	list-style: none;
	margin: 0 0 1.5rem;
	padding: 0;
}
.p-ads-section .step-list li {
	border: dashed 1px #ff8800;
	border-radius: 8px;
	padding: 30px;
	box-sizing: border-box;
	margin: 0 auto 50px;
	background-color: #fff;
	position: relative;
}
.p-ads-section .step-list li:before {
	counter-increment: number;
	content: counter(number);
	position: absolute;
	color: #fff;
	font-size: 18px;
	padding: 11px 15px 10px;
	border-radius: 50%;
	background-color: #ff8800;
	top: -15px;
	left: -15px;
}
.p-ads-section .step-list li .title {
	margin: 0 0 1rem;
	color: #ff8800;
}
.p-ads-section .step-list li p {
	margin-bottom: 0;
}

/*--------------------------------
	申込フォーム
--------------------------------*/
#form-entry-ads.p-ads-entry-form {
	max-width: 640px;
	margin: 0 auto;
	padding: 28px 22px 32px;
	border: 2px solid #c9a96e;
	border-radius: 12px;
	background: linear-gradient(135deg, #faf8f4, #f3ead8);
	box-shadow: 0 3px 16px rgba(160, 120, 60, 0.12);
	text-align: left;
}
#form-entry-ads .form-item {
	margin-bottom: 18px;
}
#form-entry-ads h3 {
	margin: 28px 0 16px;
	padding-top: 22px;
	border-top: 1px solid rgba(201, 169, 110, 0.45);
	color: #8b6914;
	font-size: 1.125rem;
	font-weight: 700;
	letter-spacing: 0;
}
#form-entry-ads label,
#form-entry-ads .label {
	display: block;
	margin-bottom: 6px;
	color: #4a4034;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.6;
}
#form-entry-ads input[type="text"],
#form-entry-ads textarea {
	box-sizing: border-box;
	width: 100%;
	max-width: 100%;
	padding: 11px 12px;
	border: 1px solid #ddd;
	border-radius: 6px;
	background: #fff;
	color: #333;
	font-size: 14px;
	line-height: 1.7;
	transition: border-color 0.15s, box-shadow 0.15s;
}
#form-entry-ads textarea {
	min-height: 150px;
	resize: vertical;
}
#form-entry-ads input[type="text"]:focus,
#form-entry-ads textarea:focus {
	border-color: #c9a96e;
	box-shadow: 0 0 0 3px rgba(201, 169, 110, 0.18);
	outline: none;
}
#form-entry-ads .form-item-description {
	margin: 0 0 8px;
	color: #666;
	font-size: 13px;
	line-height: 1.7;
}
#form-entry-ads .checkbox-item {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	margin-bottom: 10px;
	padding: 12px 14px;
	border: 1px solid #e5d8c6;
	border-radius: 8px;
	background: #fff;
}
#form-entry-ads .checkbox-item input {
	width: 18px;
	height: 18px;
	margin-right: 10px;
	accent-color: #8b6914;
}
#form-entry-ads .checkbox-item label {
	margin-bottom: 0;
	font-weight: 500;
	cursor: pointer;
}
@media screen and (min-width: 600px) {
	#form-entry-ads.p-ads-entry-form {
		padding: 36px 40px 40px;
	}
}
.p-ads-entry-modal {
	max-width: 560px;
	padding: 56px 32px 36px;
}
.p-ads-entry-modal__title {
	margin: 0 0 14px;
	font-size: 1.75rem;
	font-weight: 700;
	color: #ff8800;
}
.p-ads-entry-modal__text {
	margin: 0 0 24px;
	font-size: 1rem;
	line-height: 1.9;
	color: #555;
}
@media screen and (max-width: 599px) {
	.p-ads-entry-modal {
		padding: 50px 24px 28px;
	}
	.p-ads-entry-modal__title {
		font-size: 1.5rem;
	}
	.p-ads-entry-modal__text {
		font-size: 14px;
	}
}
