/* Myいぬやまガス案内ページ専用CSS
   Scope: /gas-fee/portal/
   既存共通CSSとの衝突を避けるため portal- 接頭辞で限定する。 */

.portal-page {
	--portal-blue: #0070bf;
	--portal-blue-dark: #004f89;
	--portal-blue-deep: #003c6b;
	--portal-blue-soft: #edf7fe;
	--portal-blue-pale: #f6fbff;
	--portal-text: #252525;
	--portal-muted: #5d6a72;
	--portal-line: #d5e0e7;
	--portal-bg: #f6f8fa;
	color: var(--portal-text);
	line-height: 1.8;
}

.portal-page * { box-sizing: border-box; }
.portal-page img { max-width: 100%; height: auto; }
.portal-page a { word-break: break-word; }

.portal-hero {
	display: grid;
	grid-template-columns: 1.15fr .85fr;
	gap: 36px;
	align-items: center;
	margin: 24px 0 30px;
	padding: 30px;
	border: 1px solid #cfe0eb;
	border-radius: 10px;
	background: linear-gradient(135deg, #eef8ff 0%, #fff 72%);
}
.portal-eyebrow {
	margin: 0 0 6px;
	color: var(--portal-blue);
	font-weight: 700;
	font-size: 14px;
}
.portal-hero h4 {
	margin: 0 0 12px;
	padding: 0;
	border: 0;
	color: var(--portal-blue-deep);
	font-size: 25px;
	line-height: 1.5;
}
.portal-hero p { margin: 8px 0 0; }
.portal-small { color: var(--portal-muted); font-size: 13px; }
.portal-hero-logo {
	padding: 24px 18px;
	border: 1px solid #cfe0eb;
	border-radius: 9px;
	background: #fff;
	text-align: center;
}
.portal-hero-logo img { width: 360px; max-width: 90%; }

.portal-choice {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 18px;
	margin: 28px 0 50px;
}
.portal-choice-card {
	padding: 24px;
	border: 1px solid var(--portal-line);
	border-radius: 9px;
	background: #fff;
	box-shadow: 0 5px 18px rgba(0, 74, 127, .06);
}
.portal-choice-card h4 {
	margin: 0 0 7px;
	padding: 0;
	border: 0;
	color: var(--portal-blue-deep);
	font-size: 20px;
}
.portal-choice-card p { margin: 0 0 16px; }

.portal-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 46px;
	padding: 10px 22px;
	border: 2px solid var(--portal-blue);
	border-radius: 5px;
	background: var(--portal-blue);
	color: #fff !important;
	font-weight: 700;
	text-decoration: none !important;
	text-align: center;
}
.portal-button:hover { background: var(--portal-blue-dark); border-color: var(--portal-blue-dark); }
.portal-button-secondary { background: #fff; color: var(--portal-blue-dark) !important; }
.portal-button-secondary:hover { background: var(--portal-blue-soft); }
.portal-button-white { background: #fff; color: var(--portal-blue-dark) !important; border-color: #fff; }
.portal-button-white:hover { background: #eef8ff; border-color: #eef8ff; }

.portal-section { margin-top: 52px; }
.portal-section-title {
	margin: 0 0 18px;
	padding: 6px 0 9px 14px;
	border: 0;
	border-left: 5px solid var(--portal-blue);
	border-bottom: 1px solid #cfdce5;
	color: #222;
	font-size: 23px;
	line-height: 1.5;
}

.portal-prepare-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 18px;
	margin-top: 20px;
}
.portal-prepare-card {
	padding: 22px;
	border: 1px solid #cfe0eb;
	border-radius: 9px;
	background: #fff;
	box-shadow: 0 4px 14px rgba(0, 74, 127, .05);
}
.portal-prepare-card h5 {
	margin: 0 0 7px;
	padding: 0;
	color: var(--portal-blue-deep);
	font-size: 18px;
}
.portal-prepare-card p { margin: 0 0 12px; }
.portal-notice-figure { margin: 16px 0 0; text-align: center; }
.portal-notice-figure img {
	max-height: 520px;
	width: auto;
	border: 1px solid #ccd7de;
	background: #fff;
}
.portal-notice-figure figcaption,
.portal-caption {
	margin-top: 8px !important;
	color: var(--portal-muted);
	font-size: 12px;
	line-height: 1.6;
}

.portal-meter-sample {
	margin-top: 18px;
	padding: 18px;
	border: 2px solid #94a5af;
	background: #fff;
	font-family: "Yu Gothic", Meiryo, sans-serif;
}
.portal-meter-title {
	padding-bottom: 8px;
	border-bottom: 2px solid #4a5962;
	font-weight: 700;
	font-size: 17px;
	text-align: center;
}
.portal-meter-line {
	display: flex;
	justify-content: space-between;
	gap: 10px;
	padding: 10px 2px;
	border-bottom: 1px solid #cbd4d9;
	font-size: 13px;
}
.portal-meter-customer {
	margin: 13px 0;
	padding: 13px;
	border: 3px solid #e59a23;
	background: #fffaf1;
}
.portal-meter-label { display: block; font-size: 13px; }
.portal-meter-customer strong {
	display: block;
	margin: 3px 0;
	letter-spacing: .08em;
	font-size: 24px;
}
.portal-meter-point { color: #8a5600; font-size: 12px; font-weight: 700; }

.portal-guide { display: grid; gap: 16px; margin-top: 22px; }
.portal-step {
	display: grid;
	grid-template-columns: 62px 1.08fr .92fr;
	gap: 18px;
	align-items: center;
	padding: 21px;
	border: 1px solid var(--portal-line);
	border-radius: 10px;
	background: #fff;
}
.portal-step:nth-child(even) { background: #fbfdff; }
.portal-step-no {
	width: 50px;
	height: 50px;
	display: grid;
	place-items: center;
	border-radius: 50%;
	background: var(--portal-blue);
	color: #fff;
	font-weight: 700;
	font-size: 20px;
}
.portal-step-copy h5 {
	margin: 0 0 5px;
	padding: 0;
	color: #1e4f72;
	font-size: 18px;
}
.portal-step-copy p { margin: 0; }
.portal-hint {
	margin-top: 8px !important;
	color: var(--portal-muted);
	font-size: 12px;
}
.portal-step-visual {
	min-height: 155px;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 13px;
	border: 1px solid #cce3f2;
	border-radius: 9px;
	background: var(--portal-blue-pale);
}
.portal-key-visual { display: grid; gap: 8px; }
.portal-key-visual div {
	padding: 8px 10px;
	border: 1px solid #bdd7e7;
	border-radius: 5px;
	background: #fff;
}
.portal-key-visual span { display: block; color: var(--portal-muted); font-size: 10px; }
.portal-key-visual strong { font-size: 14px; letter-spacing: .07em; }

.portal-phone {
	width: 190px;
	max-width: 100%;
	padding: 10px;
	border: 5px solid #27343d;
	border-radius: 20px;
	background: #fff;
	box-shadow: 0 4px 12px rgba(0,0,0,.11);
}
.portal-phone-bar { width: 48px; height: 5px; margin: 0 auto 8px; border-radius: 5px; background: #c8d1d7; }
.portal-phone img { display: block; width: 130px; max-width: 90%; margin: 0 auto 8px; }
.portal-mock-head { margin-bottom: 6px; padding: 5px; border-radius: 4px; background: var(--portal-blue); color: #fff; font-size: 10px; font-weight: 700; text-align: center; }
.portal-mock-label { margin: 4px 0 2px; color: #65727b; font-size: 9px; }
.portal-mock-input { height: 23px; padding: 3px 5px; border: 1px solid #bad4e4; border-radius: 3px; font-size: 9px; }
.portal-mock-button { margin-top: 7px; padding: 5px 8px; border-radius: 12px; background: var(--portal-blue-deep); color: #fff; font-size: 9px; font-weight: 700; text-align: center; }
.portal-complete { padding: 12px 2px; text-align: center; font-size: 10px; }
.portal-complete span { width: 20px; height: 20px; display: grid; place-items: center; margin: 0 auto 5px; border-radius: 50%; background: var(--portal-blue); color: #fff; font-weight: 700; }
.portal-complete strong, .portal-complete small { display: block; }
.portal-complete small { margin-top: 4px; color: var(--portal-muted); font-size: 8px; }

.portal-mail-card {
	width: 235px;
	max-width: 100%;
	padding: 10px;
	border: 1px solid #c6dce9;
	border-radius: 7px;
	background: #fff;
	box-shadow: 0 3px 8px rgba(0,0,0,.06);
	font-size: 10px;
}
.portal-mail-card p { margin: 5px 0; }
.portal-mail-title { padding-bottom: 5px; border-bottom: 1px solid #dce8ef; color: var(--portal-blue-deep); font-weight: 700; }
.portal-mail-link { margin-top: 7px; padding: 5px; border: 1px solid #8fbdd9; border-radius: 3px; background: #eef8ff; color: var(--portal-blue-deep); word-break: break-all; }
.portal-important-note {
	margin-top: 13px;
	padding: 12px 14px;
	border-left: 5px solid #e59a23;
	border-radius: 5px;
	background: #fff8e8;
	color: #684400;
	font-size: 13px;
}

.portal-service-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
	margin-top: 20px;
}
.portal-service {
	padding: 21px 19px;
	border: 1px solid #c8e2f3;
	border-radius: 9px;
	background: var(--portal-blue-soft);
}
.portal-service-icon {
	width: 44px;
	height: 44px;
	display: grid;
	place-items: center;
	margin-bottom: 10px;
	border: 1px solid #bdd8e9;
	border-radius: 7px;
	background: #fff;
	color: var(--portal-blue-dark);
	font-size: 13px;
	font-weight: 700;
}
.portal-service h5 { margin: 0 0 5px; padding: 0; color: var(--portal-blue-dark); font-size: 17px; }
.portal-service p { margin: 0; font-size: 13px; }

.portal-faq { margin-top: 20px; border-top: 1px solid var(--portal-line); }
.portal-faq details { padding: 0 4px; border-bottom: 1px solid var(--portal-line); }
.portal-faq summary {
	position: relative;
	padding: 16px 34px 16px 0;
	cursor: pointer;
	font-weight: 700;
	list-style: none;
}
.portal-faq summary::-webkit-details-marker { display: none; }
.portal-faq summary::after { content: "+"; position: absolute; right: 4px; top: 8px; color: var(--portal-blue); font-size: 25px; font-weight: 400; }
.portal-faq details[open] summary::after { content: "−"; }
.portal-faq details > p,
.portal-faq-answer { margin: 0; padding: 0 0 16px; color: #4a555b; }
.portal-faq-answer p { margin: 0 0 7px; }
.portal-faq-answer ul { margin: 0; padding-left: 1.5em; }
.portal-faq-more { margin-top: 14px; text-align: right; }

.portal-cta {
	margin-top: 54px;
	padding: 30px 26px;
	border-radius: 10px;
	background: linear-gradient(135deg, var(--portal-blue-dark), var(--portal-blue));
	color: #fff;
	text-align: center;
}
.portal-cta img { width: 310px; max-width: 90%; margin: 0 auto 8px; padding: 8px 13px; border-radius: 7px; background: #fff; }
.portal-cta h4 { margin: 5px 0 6px; padding: 0; border: 0; color: #fff; font-size: 24px; }
.portal-cta p { margin: 0 0 16px; }

.portal-contact {
	margin-top: 24px;
	padding: 20px;
	border: 1px solid var(--portal-line);
	border-radius: 9px;
	background: var(--portal-bg);
}
.portal-contact h4 { margin: 0 0 7px; padding: 0; border: 0; color: var(--portal-blue-deep); font-size: 18px; }
.portal-contact p { margin: 3px 0; }
.portal-contact-tel a { color: var(--portal-blue-deep); font-size: 20px; font-weight: 700; text-decoration: none; }

@media screen and (max-width: 767px) {
	.portal-hero,
	.portal-choice,
	.portal-prepare-grid,
	.portal-service-grid { grid-template-columns: 1fr; }
	.portal-hero { gap: 20px; padding: 22px 18px; }
	.portal-hero h4 { font-size: 21px; }
	.portal-choice { margin-bottom: 40px; }
	.portal-section { margin-top: 42px; }
	.portal-section-title { font-size: 20px; }
	.portal-step {
		grid-template-columns: 50px 1fr;
		gap: 13px;
		padding: 17px 14px;
	}
	.portal-step-no { width: 44px; height: 44px; font-size: 18px; align-self: start; }
	.portal-step-visual { grid-column: 1 / -1; min-height: auto; margin-top: 3px; }
	.portal-notice-figure img { max-height: none; width: 100%; }
	.portal-meter-customer strong { font-size: 21px; }
	.portal-button { width: 100%; }
	.portal-faq-more { text-align: left; }
}
