/*---------------------------------------
   Modern informational pages
---------------------------------------*/

#header > .logo {
	position: relative;
}

#header > .logo::after {
	position: absolute;
	z-index: 2;
	top: 0;
	left: 29px;
	width: 540px;
	height: 24px;
	padding-left: 12px;
	background: #fff;
	color: #a46f21;
	content: "1950年創業";
	font-family: "BIZ UDPGothic", "Yu Gothic UI", "Yu Gothic", Meiryo, sans-serif;
	font-size: 15px;
	font-weight: 500;
	line-height: 24px;
	letter-spacing: 0;
	pointer-events: none;
}

.howto-modern,
.howto-modern *,
.company-modern,
.company-modern * {
	box-sizing: border-box;
}

.howto-modern,
.company-modern {
	--info-primary: #008f83;
	--info-primary-dark: #006f67;
	--info-ink: #102f46;
	--info-muted: #557083;
	--info-border: #cfdee5;
	--info-soft: #f3f8fa;
	--info-accent: #f57919;
	width: 100%;
	padding: 0 20px 56px;
	color: var(--info-ink);
	font-family: "BIZ UDPGothic", "Yu Gothic UI", "Yu Gothic", Meiryo, sans-serif;
	font-size: 15px;
	line-height: 1.75;
	letter-spacing: 0;
}

.howto-modern h1,
.howto-modern h2,
.howto-modern h3,
.company-modern h1,
.company-modern h2,
.company-modern h3,
.how_to_contents .content_wrap .howto-modern p,
.company_contents .content_wrap .company-modern p {
	margin: 0;
	letter-spacing: 0;
}

/* 入稿方法 */

.howto-hero {
	display: grid;
	grid-template-columns: minmax(0, 1.45fr) minmax(250px, 0.75fr);
	gap: 32px;
	align-items: center;
	padding: 36px;
	border-top: 5px solid var(--info-primary);
	background: var(--info-soft);
}

.howto-kicker,
.company-kicker {
	margin-bottom: 7px !important;
	color: var(--info-primary-dark);
	font-size: 13px;
	font-weight: 700;
}

.howto-hero h1,
.company-hero h1 {
	color: var(--info-ink);
	font-size: 34px;
	font-weight: 700;
	line-height: 1.25;
}

.howto-hero__lead {
	max-width: 590px;
	margin-top: 14px !important;
	color: #28495e;
	font-size: 16px;
	line-height: 1.8;
}

.howto-primary-button {
	display: inline-flex;
	min-height: 48px;
	align-items: center;
	justify-content: center;
	margin-top: 22px;
	padding: 10px 24px;
	border: 1px solid var(--info-accent);
	border-radius: 4px;
	background: var(--info-accent);
	color: #fff !important;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.35;
	text-align: center;
	text-decoration: none !important;
}

.howto-primary-button:hover,
.howto-primary-button:focus-visible {
	border-color: #d96108;
	background: #d96108;
}

.howto-primary-button:focus-visible,
.company-line-button:focus-visible {
	outline: 3px solid rgba(0, 143, 131, 0.25);
	outline-offset: 3px;
}

.howto-format-panel {
	padding: 22px;
	border: 1px solid var(--info-border);
	border-radius: 6px;
	background: #fff;
}

.howto-format-panel__title {
	margin-bottom: 12px !important;
	font-size: 14px;
	font-weight: 700;
}

.howto-format-list {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 7px;
}

.howto-format-list span {
	display: flex;
	min-height: 34px;
	align-items: center;
	justify-content: center;
	border: 1px solid #b9cdd6;
	border-radius: 3px;
	color: #24475c;
	font-size: 12px;
	font-weight: 700;
}

.howto-format-panel__note {
	margin-top: 13px !important;
	color: var(--info-muted);
	font-size: 12px;
}

.howto-section,
.company-section {
	padding-top: 44px;
}

.howto-section--soft,
.company-section--soft {
	margin-top: 44px;
	padding: 34px;
	background: var(--info-soft);
}

.howto-section__heading,
.company-section__heading {
	display: flex;
	gap: 13px;
	align-items: flex-start;
	margin-bottom: 22px;
	padding-bottom: 14px;
	border-bottom: 1px solid var(--info-border);
}

.howto-section__number,
.company-section__number {
	flex: 0 0 auto;
	padding-top: 3px;
	color: var(--info-primary);
	font-size: 13px;
	font-weight: 700;
}

.howto-section__heading h2,
.company-section__heading h2 {
	color: var(--info-ink);
	font-size: 23px;
	font-weight: 700;
	line-height: 1.4;
}

.howto-section__heading p:not(.howto-section__number) {
	margin-top: 5px !important;
	color: var(--info-muted);
	font-size: 14px;
}

.howto-grid {
	display: grid;
	gap: 18px;
}

.howto-grid--two {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.howto-grid--three {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.howto-card,
.howto-mini-card {
	padding: 22px;
	border: 1px solid var(--info-border);
	border-radius: 6px;
	background: #fff;
}

.howto-mini-card {
	border-top: 3px solid var(--info-primary);
}

.howto-card__label {
	margin-bottom: 5px !important;
	color: var(--info-primary-dark);
	font-size: 11px;
	font-weight: 700;
}

.howto-card h3,
.howto-mini-card h3,
.howto-note-card h3 {
	font-size: 17px;
	font-weight: 700;
	line-height: 1.5;
}

.howto-card > p:not(.howto-card__label),
.howto-mini-card p,
.howto-note-card p {
	margin-top: 9px !important;
	color: #365468;
}

.howto-check-list {
	margin: 16px 0 0 !important;
	padding: 0 !important;
	list-style: none;
}

.howto-check-list li {
	position: relative;
	margin: 0;
	padding: 8px 0 8px 25px;
	border-top: 1px solid #e4ecef;
	color: #29495d;
}

.howto-check-list li:first-child {
	border-top: 0;
}

.howto-check-list li::before {
	position: absolute;
	top: 10px;
	left: 2px;
	width: 15px;
	height: 15px;
	border-radius: 50%;
	background: var(--info-primary);
	color: #fff;
	content: "✓";
	font-size: 10px;
	font-weight: 700;
	line-height: 15px;
	text-align: center;
}

.howto-info-note {
	margin-top: 18px !important;
	padding: 11px 14px;
	border-left: 3px solid var(--info-primary);
	background: #fff;
	color: #3f5c6e;
	font-size: 13px;
}

.howto-section--notes {
	padding-bottom: 44px;
}

.howto-note-list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
}

.howto-note-card {
	padding: 20px 22px;
	border-left: 4px solid var(--info-primary);
	background: #f6f9fa;
}

.howto-bottom-cta {
	display: flex;
	gap: 24px;
	align-items: center;
	justify-content: space-between;
	padding: 28px 30px;
	border-top: 1px solid var(--info-border);
	border-bottom: 1px solid var(--info-border);
}

.howto-bottom-cta h2 {
	font-size: 21px;
	font-weight: 700;
}

.howto-bottom-cta p {
	margin-top: 5px !important;
	color: var(--info-muted);
	font-size: 13px;
}

.howto-bottom-cta .howto-primary-button {
	flex: 0 0 auto;
	margin-top: 0;
}

/* 会社案内 */

.company-hero {
	padding: 38px 40px;
	border-top: 5px solid var(--info-primary);
	background: var(--info-soft);
}

.company-hero__lead {
	max-width: 690px;
	margin-top: 16px !important;
	color: #24475c;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.7;
}

.company-hero__text {
	max-width: 720px;
	margin-top: 18px;
	color: #365468;
}

.company-hero__text p + p {
	margin-top: 8px !important;
}

.company-section__heading {
	align-items: center;
}

.company-profile {
	margin: 0;
	border-top: 1px solid var(--info-border);
}

.company-profile > div {
	display: grid;
	grid-template-columns: 170px minmax(0, 1fr);
	border-bottom: 1px solid var(--info-border);
}

.company-profile dt,
.company-profile dd {
	margin: 0;
	padding: 14px 18px;
}

.company-profile dt {
	background: #edf4f6;
	color: #29495d;
	font-weight: 700;
}

.company-profile dd {
	color: #18394e;
}

.company-profile a,
.company-contact a {
	color: var(--info-primary-dark);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.company-guide-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
}

.company-guide-card {
	min-height: 190px;
	padding: 22px;
	border: 1px solid var(--info-border);
	border-top: 3px solid var(--info-primary);
	border-radius: 6px;
	background: #fff;
}

.company-guide-card h3,
.company-policy h3,
.company-contact h3 {
	font-size: 17px;
	font-weight: 700;
	line-height: 1.45;
}

.company-guide-card p {
	margin-top: 10px !important;
	color: #365468;
}

.company-guide-card p + p {
	margin-top: 7px !important;
}

.company-text-link {
	display: inline-flex;
	align-items: center;
	margin-top: 14px;
	color: var(--info-primary-dark) !important;
	font-weight: 700;
	text-decoration: underline !important;
	text-underline-offset: 4px;
}

.company-text-link::after {
	margin-left: 7px;
	content: "›";
	font-size: 20px;
	line-height: 1;
}

.company-policy {
	padding: 25px 28px;
	border-left: 4px solid var(--info-primary);
	background: #f6f9fa;
}

.company-policy > p {
	color: #29495d;
}

.company-policy ul {
	margin: 16px 0 0 !important;
	padding: 0 !important;
	list-style: none;
}

.company-policy li {
	position: relative;
	margin: 0;
	padding: 8px 0 8px 24px;
	border-top: 1px solid #dce7eb;
	color: #365468;
}

.company-policy li:first-child {
	border-top: 0;
}

.company-policy li::before {
	position: absolute;
	top: 14px;
	left: 4px;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--info-primary);
	content: "";
}

.company-policy h3 {
	margin-top: 25px;
}

.company-access {
	display: grid;
	grid-template-columns: minmax(0, 1.35fr) minmax(250px, 0.65fr);
	gap: 22px;
	align-items: stretch;
}

.company-map {
	min-height: 350px;
	overflow: hidden;
	border: 1px solid var(--info-border);
	background: #edf2f4;
}

.company-map iframe {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 350px;
	border: 0;
}

.company-contact {
	padding: 24px;
	border: 1px solid var(--info-border);
	border-radius: 6px;
	background: #fff;
}

.company-contact address {
	margin-top: 12px;
	color: #365468;
	font-style: normal;
}

.company-contact dl {
	margin: 18px 0 0;
}

.company-contact dl > div {
	padding: 9px 0;
	border-top: 1px solid #e1eaee;
}

.company-contact dt {
	color: var(--info-muted);
	font-size: 12px;
	font-weight: 700;
}

.company-contact dd {
	margin: 2px 0 0;
	overflow-wrap: anywhere;
	color: #18394e;
}

.company-line-button {
	display: flex;
	min-height: 46px;
	align-items: center;
	justify-content: center;
	margin-top: 18px;
	padding: 9px 16px;
	border: 1px solid var(--info-primary);
	border-radius: 4px;
	background: var(--info-primary);
	color: #fff !important;
	font-weight: 700;
	text-align: center;
	text-decoration: none !important;
}

.company-line-button:hover,
.company-line-button:focus-visible {
	border-color: var(--info-primary-dark);
	background: var(--info-primary-dark);
}

@media screen and (max-width: 750px) {
	.howto-modern,
	.company-modern {
		padding: 0 14px 42px;
		font-size: 14px;
	}

	.howto-hero {
		grid-template-columns: minmax(0, 1fr);
		gap: 22px;
		padding: 26px 20px;
	}

	.howto-hero h1,
	.company-hero h1 {
		font-size: 28px;
	}

	.howto-hero__lead {
		font-size: 14px;
	}

	.howto-primary-button {
		width: 100%;
	}

	.howto-section,
	.company-section {
		padding-top: 34px;
	}

	.howto-section--soft,
	.company-section--soft {
		margin-top: 34px;
		padding: 26px 18px;
	}

	.howto-section__heading,
	.company-section__heading {
		gap: 10px;
		margin-bottom: 18px;
	}

	.howto-section__heading h2,
	.company-section__heading h2 {
		font-size: 20px;
	}

	.howto-grid--two,
	.howto-grid--three,
	.howto-note-list,
	.company-guide-grid,
	.company-access {
		grid-template-columns: minmax(0, 1fr);
	}

	.howto-section--notes {
		padding-bottom: 34px;
	}

	.howto-bottom-cta {
		display: block;
		padding: 24px 20px;
	}

	.howto-bottom-cta .howto-primary-button {
		margin-top: 18px;
	}

	.company-hero {
		padding: 27px 20px;
	}

	.company-hero__lead {
		margin-top: 13px !important;
		font-size: 16px;
	}

	.company-profile > div {
		grid-template-columns: 100px minmax(0, 1fr);
	}

	.company-profile dt,
	.company-profile dd {
		padding: 12px;
	}

	.company-guide-card {
		min-height: 0;
		padding: 19px;
	}

	.company-policy {
		padding: 21px 18px;
	}

	.company-map,
	.company-map iframe {
		min-height: 280px;
	}

	.company-contact {
		padding: 20px;
	}
}
