/* ==========================================================================
   Notivo Information Box - Frontend Styles
   ========================================================================== */

/* Base (shared) */
.notivo {
	max-width: 100%;
	margin: 1.5em auto;
	font-family: inherit;
	box-sizing: border-box;
}

.notivo * {
	box-sizing: border-box;
}

.notivo__icon-svg {
	display: block;
}

/* Content rendered via CSS custom properties */
.notivo__label::before {
	content: var(--notivo-band-text, 'お知らせ');
}

.notivo__band-text::before {
	content: var(--notivo-band-text, 'INFORMATION');
}

.notivo__text-content::before {
	content: var(--notivo-text-content, '');
	white-space: pre-wrap;
}

.notivo__phone-link::before {
	content: var(--notivo-phone, '');
}

.notivo__button-top-text-content::before {
	content: var(--notivo-button-top-text, '');
}

.notivo__button-text::before {
	content: var(--notivo-button-text, '');
}

.notivo__button {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	text-decoration: none;
	border-radius: 6px;
	font-weight: 500;
	transition: opacity 0.2s ease;
}

.notivo__button:hover {
	opacity: 0.85;
}

/* ==========================================================================
   Pattern: 控えめ (subtle) - fixed, small & faded
   ========================================================================== */
.notivo--subtle {
	background: transparent;
	border: 1px solid #ebe9e3;
	border-radius: 8px;
	padding: 14px 16px;
}

.notivo--subtle .notivo__head {
	display: flex;
	align-items: center;
	gap: 5px;
	margin: 0 0 6px;
}

.notivo--subtle .notivo__icon-svg {
	width: 14px;
	height: 14px;
}

.notivo--subtle .notivo__label {
	font-size: 11px;
	letter-spacing: 0.06em;
	color: #a8a39a;
}

.notivo--subtle .notivo__text-content::before {
	color: #8a857c;
	font-size: 13px;
	line-height: 1.7;
}

.notivo--subtle .notivo__phone {
	margin-top: 10px;
}

.notivo--subtle .notivo__phone-link {
	color: #6b675f;
	font-size: 17px;
	font-weight: 500;
	text-decoration: none;
	line-height: 1;
}

.notivo--subtle .notivo__button-section {
	margin-top: 12px;
}

.notivo--subtle .notivo__button-top-text {
	margin-bottom: 4px;
}

.notivo--subtle .notivo__button-top-text-content::before {
	color: #a8a39a;
	font-size: 11px;
}

.notivo--subtle .notivo__button {
	background: transparent;
	border: 1px solid #d8d4cc;
	color: #7a766e;
	padding: 6px 14px;
	font-size: 12px;
}

.notivo--subtle .notivo__button:hover {
	opacity: 1;
	background: #f3f1ec;
}

/* ==========================================================================
   Pattern: 調整可能 (adjustable) - field-driven colours & sizes
   ========================================================================== */
.notivo--adjustable {
	background: #fff;
	border: 1px solid #e7e4dd;
	border-radius: 8px;
	padding: 16px 18px;
}

.notivo--adjustable .notivo__head {
	display: flex;
	align-items: center;
	gap: 6px;
	margin: 0 0 8px;
}

.notivo--adjustable .notivo__icon-svg {
	width: 18px;
	height: 18px;
}

.notivo--adjustable .notivo__label {
	font-size: 13px;
	letter-spacing: 0.05em;
	color: var(--notivo-band-color, #9a958c);
}

.notivo--adjustable .notivo__text-content::before {
	color: var(--notivo-text-color, #555049);
	font-size: var(--notivo-text-size, 16px);
	line-height: 1.8;
}

.notivo--adjustable .notivo__phone {
	margin-top: 12px;
}

.notivo--adjustable .notivo__phone-link {
	color: #2f2f2c;
	font-size: 22px;
	font-weight: 500;
	text-decoration: none;
	line-height: 1;
}

.notivo--adjustable .notivo__button-section {
	margin-top: 14px;
}

.notivo--adjustable .notivo__button-top-text {
	margin-bottom: 4px;
}

.notivo--adjustable .notivo__button-top-text-content::before {
	color: var(--notivo-btn-top-text-color, #8a857c);
	font-size: 13px;
}

.notivo--adjustable .notivo__button {
	background-color: var(--notivo-btn-bg, #8a8f96);
	color: var(--notivo-btn-color, #fff);
	padding: 8px 18px;
	font-size: 14px;
}

.notivo--adjustable .notivo__button:hover {
	color: var(--notivo-btn-color, #fff);
}

/* ==========================================================================
   Pattern: 目立つ (prominent) - fixed, banded (legacy look)
   ========================================================================== */
.notivo--prominent {
	background: #f6f5f2;
}

.notivo--prominent .notivo__band-top {
	background-color: #e24937;
	color: #fff;
	text-align: center;
	padding: 6px 16px;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.1em;
	box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16);
	position: relative;
	z-index: 1;
}

.notivo--prominent .notivo__band-bottom {
	background-color: #e24937;
	color: #fff;
	text-align: center;
	padding: 4px 16px;
	font-size: 9px;
	font-weight: 700;
	letter-spacing: 0.1em;
	box-shadow: 0 -2px 4px rgba(0, 0, 0, 0.1);
}

.notivo--prominent .notivo__body {
	padding: 10px 12px;
	text-align: center;
}

.notivo--prominent .notivo__icon-area {
	position: relative;
	min-height: 48px;
	padding: 10px 0;
	margin-bottom: 6px;
}

.notivo--prominent .notivo__stripe {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 40%;
	height: 7px;
	background: repeating-linear-gradient(
		-45deg,
		transparent,
		transparent 2px,
		#e24937 2px,
		#e24937 4px
	);
}

.notivo--prominent .notivo__icon-wrap {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	z-index: 1;
	display: flex;
	justify-content: center;
	align-items: center;
	background-color: #f6f5f2;
	padding: 0 24px;
	border-radius: 4px;
}

.notivo--prominent .notivo__icon-svg {
	width: 36px;
	height: 36px;
}

.notivo--prominent .notivo__text {
	margin-bottom: 6px;
}

.notivo--prominent .notivo__text-content::before {
	color: #e24937;
	font-size: 20px;
	font-weight: 700;
	line-height: 1.6;
}

.notivo--prominent .notivo__phone {
	margin-bottom: 6px;
}

.notivo--prominent .notivo__phone-link {
	color: #000;
	font-size: 60px;
	font-weight: 700;
	letter-spacing: 0.05em;
	line-height: 1;
	text-decoration: none;
}

.notivo--prominent .notivo__button-section {
	margin-top: 16px;
	margin-bottom: 8px;
}

.notivo--prominent .notivo__button-top-text {
	margin-bottom: 4px;
}

.notivo--prominent .notivo__button-top-text-content::before {
	color: #e24937;
	font-size: 14px;
	font-weight: 500;
}

.notivo--prominent .notivo__button {
	background-color: #e24937;
	color: #fff;
	padding: 8px 24px;
	font-size: 16px;
	font-weight: 700;
	min-width: 250px;
	justify-content: center;
}

/* ==========================================================================
   Mobile
   ========================================================================== */
@media (max-width: 600px) {
	.notivo--subtle .notivo__text-content::before {
		font-size: 12px;
	}

	.notivo--adjustable .notivo__text-content::before {
		font-size: var(--notivo-text-size-mobile, 14px);
	}

	.notivo--prominent .notivo__stripe {
		width: 70%;
	}

	.notivo--prominent .notivo__text-content::before {
		font-size: 14px;
	}

	.notivo--prominent .notivo__phone-link {
		font-size: 40px;
	}
}
