@charset "utf-8";

/* コンテナ: 下端に余白を取ってボタン用のスペースを確保 */
.weathermap-overview {
	position: relative;
}

/* テキスト部分: 高さを決めて下端をグラデーションでフェード */
.weathermap-overview__text {
	max-height: 4.5em; /* 行数に応じて調整 */
	overflow: hidden;
	position: relative;
}
.weathermap-overview__text::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	height: 2.5em;
	background: linear-gradient(to bottom, rgba(255,255,255,0), #fff);
	pointer-events: none;
}
/* 背景が白でない親の場合は、.weathermap-overview の背景色に合わせる */
.weathermap-overview__text p {
	margin: 0;
	color: #333; /* 既存の暗いグレー */
}

/* 「続きを読む」ボタン */
.weathermap-overview__readmore {
	display: block;
	width: fit-content;
	margin: 12px auto 0;
	padding: 10px 20px;
	text-align: center;
	color: #1EBFBB;
	background: #fff;
	border: 1px solid #1EBFBB;
	border-radius: 4px;
	text-decoration: none;
	font-size: 0.9375rem;
}
.weathermap-overview__readmore::after {
	content: ' ›';
	margin-left: 4px;
}
.weathermap-overview .weathermap-overview__btn {
	position: relative;
	z-index: 1;
	text-align: center;
	width: 129px;
	height: 31px;
	margin: -20px auto 0;
	background: #fff;
}

@media (max-width: 768px) {
	.top_app_link {
		left: 0;
		right: 0;
		bottom: 20px;
		margin: 0 auto 3.125%;
		z-index: 9000;
		width: fit-content;
	}

	.top_app_link a {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		padding: 7px 10px;
		background: #f35f84;
		color: #fff;
		text-decoration: none;
		font-weight: 700;
		transition: background 0.2s ease;
		line-height: 130%;
		white-space: nowrap;
		font-size: 17px;
		width: 280px;
		height: 50;
		border-radius: 92.37px;
		opacity: 1;
		gap: 8px;
		padding-top: 8px;
		padding-right: 24px;
		padding-bottom: 8px;
		padding-left: 24px;
		box-shadow: 0px 2.33px 4.65px 0px #00000033;
	}

	.top_app_link img {
		max-width: 42px;
		flex-shrink: 0;
	}
}

.painnote_modalbox.tokyo_tap_modalbox {
	display: none;
	position: fixed;
	align-items: center;
	z-index: 10000;
}

/* オーバーレイのみ透過（imgは透過されないように::beforeで分離） */
.painnote_modalbox.tokyo_tap_modalbox::before {
	content: '';
	position: absolute;
	inset: 0;
	opacity: 0.8;
	background: #4c4c4c;
	mix-blend-mode: multiply;
	z-index: 0;
}

.painnote_modalbox .tokyo_tap_modalbox_contents .app-download-banner {
	position: absolute;
	bottom: 0.5%;
	left: 0;
	right: 0;
	margin: 2px 2px 0;
	padding: 5px 12px 8px;
}

.painnote_modalbox .app-recommend__screenshot {
	border-radius: 0;
}

.painnote_modalbox .tokyo_tap_modalbox_contents {
	position: relative;
	z-index: 1;
	background: #1EBFBB;
	margin: 0 auto;
	padding: 0px;
	max-width: 320px;
}

.tokyo_tap_modalbox_contents .painnote_modalbox_close_btn01 {
	top: -35px;
	right: 0px;
	background: url(../../img/column-single/iconamoon_close.png) no-repeat 50% 50%;
	border: unset;
}

.tokyo_tap_modalbox_contents .app-download-banner__link {
	gap: 8px;
	box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.20);
	font-size: 17px;
	padding: 7px 16px;
	width: 100%;
}

.tokyo_tap_modalbox_contents .app-download-banner__icon {
	box-shadow: unset;
}

.tokyo_tap_modalbox_contents .app-download-banner__text01 {
	font-size: 13px;
	font-family: 'M PLUS Rounded 1c', sans-serif;
}

.tokyo_tap_modalbox_contents .app-download-banner__text02 {
	font-size: 24px;
	font-family: 'M PLUS Rounded 1c', sans-serif;
}

.tokyo_tap_modalbox_contents .app-download-banner__text03 {
	font-size: 19px;
	font-family: 'M PLUS Rounded 1c', sans-serif;
}

.tokyo_tap_modalbox_contents .app-download-banner__text04 {
	font-size: 13px;
	font-family: 'M PLUS Rounded 1c', sans-serif;
}

.tokyo_tap_modalbox_contents .app-download-banner__text05 {
	font-size: 18px;
	font-family: 'M PLUS Rounded 1c', sans-serif;
}

/* 640px以上ではモーダルを表示させない（PCでの表示崩れ防止のため） */
@media screen and (min-width: 640px) {
	.painnote_modalbox.tokyo_tap_modalbox {
		display: none !important;
	}
}

@media screen and (max-width: 380px) {
	.painnote_modalbox .tokyo_tap_modalbox_contents {
		width: 260px;
	}

	.tokyo_tap_modalbox_contents .app-download-banner__text01 {
		font-size: 12px;

	}

	.tokyo_tap_modalbox_contents .app-download-banner__text02 {
		font-size: 17px;

	}

	.tokyo_tap_modalbox_contents .app-download-banner__text03 {
		font-size: 14px;

	}

	.tokyo_tap_modalbox_contents .app-download-banner__text04 {
		font-size: 12px;

	}

	.tokyo_tap_modalbox_contents .app-download-banner__text05 {
		font-size: 13px;

	}

	.tokyo_tap_modalbox_contents .app-download-banner__icon {
		width: 55px;
		height: 55px;
	}

	.tokyo_tap_modalbox_contents .app-download-banner__link {
		font-size: 13px;
	}
}
