@charset "utf-8";

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&family=Zen+Kaku+Gothic+Antique:wght@300;400;500;700;900&display=swap');

/*--------------------------------------------------------*/
:root {
	--base-color-red: #a02525;
	--base-color-blue: #324b68;
	--base-color-orange: #ad4703;
	--base-color-green: #007367;
	--base-color-yellowgreen: #3d7d13;
	--tx_base-color-black: #4f4f51;
	--font_main_noto-sanserif:"Noto Sans JP", sans-serif;
	--font_main_zenkaku-sanserif: "Zen Kaku Gothic Antique", sans-serif;
	--font-weight-regular:400;
	--font-weight-bold:700;
	--font-weight-black:900;
	--font-size-18px:clamp(0.813rem, 0.708rem + 0.45vw, 1.125rem);/* 13px-18px */
	--font-size-24px:clamp(1rem, 0.833rem + 0.72vw, 1.5rem);/* 16px-24px */
	--font-size-28px:clamp(1.313rem, 1.167rem + 0.63vw, 1.75rem);/* 21px-28px */
	--font-size-40px:;
	--font-size-42px:clamp(1.75rem, 1.458rem + 1.26vw, 2.625rem);/* 24px-32px */
	--font-size-36px:clamp(1.25rem, 0.886rem + 1.82vw, 2.25rem);/* 20px-36px */
}

/*リセット*/
html{margin:0px;padding:0px;border:0px;}
*{margin:0px;padding:0px;border:0px;box-sizing: border-box;}
body{line-height:1;}
body,h1,h2,h3,h4,h5,h6,p,span,table,a,img,dl,dt,dd,ul,li,ol,iframe,nav{
	margin:0px;
	padding:0px;	
	word-break: break-word;
	vertical-align: baseline;
	text-decoration: none;
	list-style: none;
}
* {
	border: 0;
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}
ol, ul{list-style:none; list-style-type:none;}
.cleartext{
	text-indent:100%;
	white-space:nowrap;
	overflow:hidden;
}
.clearfix:after {
	visibility: hidden;
	display: block;
	content: " ";
	clear: both;
	height: 0;
}
img {
	vertical-align: bottom;
}
.mx_menu_all{margin-bottom:0px !important;min-width: initial !important;min-width: auto !important;}
.pc_ad_head{text-align:center;}
.banner_bg{margin-bottom:0px !important;}
/*--------------------------------------------------------*/
.span{
	display: inline-block;
}
small {
	line-height: 1.2em;
	font-size: min(2vw, 18px);
	display: block;
	margin-top: 3em;
	text-align: center;
}
body{
	background-color: #e6f6fc;
	text-align:center;
	font-family: var(--font_main_zenkaku-sanserif);
	font-weight: normal;
	color: #143c82;
	line-height: 1.6;
}

a:link{text-decoration:none; color: #3b82c4;}
/* a:visited{color:#039bdd; text-decoration:none;}
a:hover{color:#000; text-decoration:none;transition-duration: 0.2s;} */
#page_all {
	/* text-align: left; */
	word-wrap: break-word;
	/* border-bottom: solid 12vw #ffffff; */

}
#right_side {
	min-width: 300px;
	padding: 10px 0px 0px 30px;
	align-self: flex-start;
}
/*--------------------------------------------------------*/
/*--パンくず--*/
#pan_box {
	background-color: #000000;
	overflow-x: auto;
	overflow-y: hidden;
}

.panlist{
	padding: 8px;
	font-size: 80%;
	line-height: 120%;
	color: #fff;
	text-align:left;
	width: max-content;
}

#pan_box a {
	color: #fff;
}
.panlist a:link{color:#fff; text-decoration:underline;}
.panlist a:visited{color:#fff; text-decoration:underline;}
.panlist a:hover{color:#fff; text-decoration:underline;}
/* loader */
#loader {
    background: #e6f6fd;
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: 100;
}
.loader,
.loader:before,
.loader:after {
    background: #0174d9;
    -webkit-animation: load1 1s infinite ease-in-out;
    animation: load1 1s infinite ease-in-out;
    height: 4em;
    width: 1em;
    top: 50%;
}

.loader {
    color: #fff;
    text-indent: -9999em;
    margin: auto;
    position: relative;
    font-size: 11px;
    -webkit-transform: translateZ(0);
    -ms-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-animation-delay: -0.16s;
    animation-delay: -0.16s;
    position: absolute;
    top: 50%/* loader */
;
    left: 50%;
    transform: translate(-50%, -50%);
}

.loader:before,
.loader:after {
    position: absolute;
    top: 0;
    content: '';
}

.loader:before {
    left: -1.5em;
    -webkit-animation-delay: -0.32s;
    animation-delay: -0.32s;
}

.loader:after {
    left: 1.5em;
}

@-webkit-keyframes load1 {

    0%,
    80%,
    100% {
        box-shadow: 0 0;
        height: 4em;
    }

    40% {
        box-shadow: 0 -2em;
        height: 5em;
    }
}

@keyframes load1 {

    0%,
    80%,
    100% {
        box-shadow: 0 0;
        height: 4em;
    }

    40% {
        box-shadow: 0 -2em;
        height: 5em;
    }
}

/* loader */
/*--------------------------------------------------------*/
/*--SNS--*/
#sns_button_pc,
#sns_button_sp{
	text-align: center!important;
	margin: 5% 0 0 0;
    display: flex;
    gap: 1%;
    justify-content: center;
}
#sns_button img{
	width: 40px !important;
	height: 40px !important;
	margin: 0.5%;
}
#sns_button_pc img{
	height: 50px!important;
    width: 50px!important;
    margin: 0 5px!important;
}

#sns_button_sp img{
	height: 50px!important;
    width: 50px!important;
    margin: 0 5px!important;
}
#sns_button{
text-align: center;
padding: 30px auto;
}
/*--------------------------------------------------------*/
/*--フッター--*/
#footer{margin:0 auto;padding:1px 0 10px; padding:1%; line-height:200%;text-align:center;}
.mx_copyright{ color:#09397a; line-height:1.5; }
.mx_copyright a:link,
.mx_copyright a:visited{ color:#09397a; text-decoration:none; }
.mx_copyright a:hover{ color:#ffffff; text-decoration:underline; }
/*-----------------------------------*/
/*-- 緊急テキスト ----------------------*/
#rp_textbox .txt_text{
border: rgb(255 255 255 / 50%) solid 0.25em;
border-radius: 0.5em;
background: rgba(255,255,255,0.6);
margin: 20px auto;
padding: 8px;
line-height: 1.6em;
text-align: left;
max-width: 960px;
width: 90%;
}
#rp_textbox .pop_text{
-webkit-border-radius: 2px;-moz-border-radius: 2px;border-radius: 2px;
border: #c9c9c9 solid 1px;
font-size:0.9em;
line-height:1.5em;
margin:0 auto;
padding:20px;
text-align:left;
max-width: 900px;
word-break: break-all;
width:75%;
}
#rp_textbox .pop_text .popup_title{
border-bottom: #999 dotted 1px;
font-size:1.1em;
line-height:1.5em;
font-weight:bold;
margin:0 0 15px 0;
padding-bottom:5px;
text-align:center;
width:100%;
}
#rp_textbox .eme_img {
display: block;
text-align: center;
width: 100%;
}
#rp_textbox .eme_img img{
margin: 0 auto 10px;
max-width: 100%;
}
#rp_textbox a{
color:#d00;
text-decoration:underline;
}
.txt_title {
border-left: solid 0.5em #333333;
font-weight: bold;
font-size: 1.2em;
text-align: left;
padding: 0.3em;
margin-bottom: 0.5em;
}
/*-----------------------------------*/
/*google翻訳*/
.skiptranslate.goog-te-gadget,
a.goog-logo-link,.goog-logo-link:link{color:#09397a;text-align:center;}
/*-----------------
共通
------------------*/
.pcOnly {
	display: block;
}
.spOnly {
	display: contents;
}
.pconly {
	display: block;
}
.sponly {
	display: none;
}
@media screen and (max-width: 768px){
	.pcOnly {
		display: contents;
	}
	.spOnly {
		display: block;
	}
	.pconly {
		display: none;
	}
	.sponly {
		display: block;
	}
}

.wrap {
    width: min(95%, 1300px);
}
.wrap #right_side {
    padding-top: 0;
}
.wrap .left_side {
    width: min(calc(100% - 320px), 980px);
	background-color: #000000;
	height: 600px;
}

.wrap .left_side img {
	width: 100%;
}

@media screen and (max-width:980px) {
    /* #header {
        min-height: 80px;
    } */
    #page_all {
        overflow-x: hidden;
    }
    #pan_box {
        overflow-x: scroll;
    }
    .wrap {
        width: 95%;
    }
    .wrap .left_side {
        width: 100%;
    }
    .wrap #right_side {
        display: none;
    }
}


/* -----------------
main
---------------- */
main {
	background-image: url(../img/deco_bottom.png);
	background-position: bottom;
	background-repeat: no-repeat;
	background-size: contain;
}
.nav-links {
	display: flex;
	gap: 15px;
	font-size: 14px;
	color: #666;
}


.page-title {
	background-image:
        url(../img/title.png),
        linear-gradient(179deg, rgba(0, 81, 191, 1), rgba(0, 169, 255, 1));
    background-repeat: no-repeat;
    background-position: bottom;
    background-size: contain, cover;

	color: #fff;
	text-align: center;
	font-size: var(--font-size-36px);
	font-weight: var(--font-weight-bold);
}

.description {
	font-size: 12px;
    text-shadow: 0px 0px 4px rgb(0 26 141);
}

.wrap {
	max-width: 1200px;
	text-align: left;
	margin: auto;
	padding: 20px 15px 15px;
	text-shadow: 1px 2px 2px rgb(43 56 118 / 50%);
}
.container {
	display: flex;
	max-width: 1200px;
	margin: 30px auto;
	gap: 20px;
	padding: 0 15px;
}
.left-col {
	width: 50%;
	display: flex;
	flex-direction: column;
	gap: 20px;
}
.right-col {
	width: 50%;
	display: flex;
	flex-direction: column;
	gap: 15px;
}

/* -------------- */
.card {
	background: #fff;
	border-radius: 8px;
	padding: 14px 20px 20px 20px;
	box-shadow: 0 2px 4px rgba(0,0,0,0.05);
	/* border-top: 4px solid #ccc; */
}
.card-title {
	font-size: 18px;
	font-weight: bold;
	margin-bottom: 6px;
	display: flex;
	align-items: center;
	gap: 10px;
	text-align: left;
}

i img {
	width: 100%;
}

.card-red i {
    width: 20px;
}

.card-blue i {
    width: 20px;
}

.card-orange i {
    width: 24px;
}

.card-green i {
    width: 24px;
}

.card-yellowgreen i {
    width: 20px;
}


/* -----------------
気象ナビ・災害情報
---------------- */
.weather-tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 5px;
	margin-bottom: 15px;
}
.weather-tabs span {
	background: #f0f0f0;
	padding: 5px 10px;
	font-size: 12px;
	border-radius: 4px;
	cursor: pointer;
	transition: 0.2s;
	user-select: none;
	font-weight: var(--font-weight-bold);
}
.weather-tabs span:hover {
	background: #e0e0e0;
}
.weather-tabs span.active {
	background: #3b82c4;
	color: #fff;
}
/* ----------タブの中--------- */
.map-placeholder {
	min-height: 250px;
	border-radius: 8px;
	position: relative;
	max-width: 534px;
}

/* 各パネルの切り替え設定 */
.weather-panel {
	display: none;
	width: 100%;
	animation: fadeIn 0.3s ease-in-out;
	/* max-width: 540px; */
}
/* activeクラスがついたパネルだけ表示する */
.weather-panel.active {
	display: block;
}


.weather-panel img {
	width: 100%;
	height: auto;
	border-radius: 4px;
	
}



/* フェードインのアニメーション定義 */
@keyframes fadeIn {
	from { opacity: 0; transform: translateY(5px); }
	to { opacity: 1; transform: translateY(0); }
}

/* 詳細ページへボタンのデザイン */
.detail-link-btn {
	display: inline-block;
	padding: 8px 30px;
	border-radius: 20px;
	border: 1px solid #3b82c4;
	background: #fff;
	color: #3b82c4;
	font-size: 14px;
	font-weight: bold;
	transition: 0.2s;
	margin-top: 20px;
}
.detail-link-btn:hover {
	background: #3b82c4;
	color: #fff;
}

.updatetime {
	font-size: 12px;
	text-align: right;
	font-weight: var(--font-weight-bold);
	color: #587194;
}

/* -----------------
TOKYO MX 報道局 24時間配信
---------------- */
.video-placeholder {
	width: 100%;
	aspect-ratio: 16 / 9;
	background: #cafdff;
	border-radius: 8px;
	overflow: hidden;
}

.video-placeholder iframe {
	width: 100%;
	height: 100%;
	display: block;
	border: none;
}

.live {
	background-color:#f24646;
	color: #fff;
	font-weight: var(--font-weight-bold);
	padding: 0px 7px 1px;
	font-size: 12px;
	border-radius: 3px;
	white-space: nowrap;
}

/* ------------
右側 リンク集
-------------- */

.card-red {
	border: 2px solid var(--base-color-red);
    background-color: #f9eff2;
}
.card-red .card-title { color: var(--base-color-red); }

.card-red .link-btn {
	color: var(--base-color-red);
	font-weight: var(--font-weight-bold);
}


.card-blue {
	border: 2px solid var(--base-color-blue);
    background-color: #f5fbff;
}
.card-blue .card-title { color: var(--base-color-blue); }
.card-blue .link-btn {
	color: var(--base-color-blue);
	font-weight: var(--font-weight-bold);
}

.card-orange {
	border: 2px solid var(--base-color-orange);
    background-color: #fff2e6;
}
.card-orange .card-title { color: var(--base-color-orange); }
.card-orange .link-btn {
	color: var(--base-color-orange);
	font-weight: var(--font-weight-bold);
}


.card-green {
	border: 2px solid var(--base-color-green);
	background-color: #e8f9f7; }
.card-green .card-title { color: var(--base-color-green); }
.card-green .link-btn {
	color: var(--base-color-green);
	font-weight: var(--font-weight-bold);
}

.card-yellowgreen {
	border: 2px solid var(--base-color-yellowgreen);
	background-color: #f0fce6;}
.card-yellowgreen .card-title { color: var(--base-color-yellowgreen); }
.card-yellowgreen .link-btn {
	color: var(--base-color-yellowgreen);
	font-weight: var(--font-weight-bold);
}


.link-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
}

.link-grid .fr-1 {
	grid-template-columns: 1fr;
}


.link-btn {
	background: #fff;
	border: 1px solid #ddd;
	padding: 10px;
	text-align: center;
	border-radius: 4px;
	font-size: 14px;
	transition: 0.2s;
}
.link-btn:hover {
	background: #f9f9f9;
	border-color: #aaa;
}


.card-blue .accordion-content hr {
	display: block;
    border: .5px solid var(--base-color-blue);
	    margin: 0px 0 10px;
}

.sb-title {
	text-align: left;
	font-weight: var(--font-weight-bold);
	font-size: 14px;
	margin: 10px 0 0px;
}

/* ---------
アコーディオン
------------ */
.accordion-header {
	color: #fff;
	padding: 10px 15px;
	font-size: 14px;
	font-weight: bold;
	margin-top: 10px;
	border-radius: 4px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	cursor: pointer;
	user-select: none;
	transition: background-color 0.2s, border-radius 0.2s;
}

.card-blue .accordion-header {
	background-color: #456fad;
}

.card-orange .accordion-header {
	background-color: var(--base-color-orange);
}

.card-yellowgreen .accordion-header {
	background-color: var(--base-color-yellowgreen);
}
.accordion-header:hover {
	opacity: 0.9;
}

.accordion-header.active {
	border-bottom-left-radius: 0;
	border-bottom-right-radius: 0;
}

.accordion-icon {
	position: relative;
	width: 14px;
	height: 14px;
	display: inline-block;
	transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.accordion-icon::before,
.accordion-icon::after {
	content: "";
	position: absolute;
	background-color: #fff;
	border-radius: 2px;
	transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s;
}

.accordion-icon::before {
	top: 50%;
	left: 0;
	width: 100%;
	height: 2px;
	margin-top: -1px;
}

.accordion-icon::after {
	top: 0;
	left: 50%;
	width: 2px;
	height: 100%;
	margin-left: -1px;
}

.accordion-header.active .accordion-icon {
	transform: rotate(180deg);
}
.accordion-header.active .accordion-icon::after {
	transform: scaleY(0);
	opacity: 0;
}

.accordion-content {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease;
	background: rgba(255, 255, 255, 0.5);
	border-radius: 0 0 4px 4px;
	padding: 0 10px;
}
.accordion-content.open {
	padding: 10px;
}

/* ------緊急情報----- */
.em_container {
    max-width: 1200px;
    margin: 26px auto 0;
    padding: 0 15px;
}

.emergency_info {
	background-color: #fff;
	border: 2px solod #ff0000;
	text-align: left;
	display: block;
	font-size: 18px;
	font-weight: bold;
	padding: 10px;
}
.emergency_info a {
	text-decoration: underline;
}
.tsunami {
	color: black;
}
.tsunami_data,
.eq_data{
	border: 3px solid #ff0000;
	border-radius:6px;
	margin: 15px auto;
	width: 100%;
}
.tsunami_data .ttl,
.eq_data .ttl {
	background-color: #ff0000;
	display: inline-block;
	color: #fff;
	padding: 0 .5%;
	border-radius: 5px;
	margin-bottom: 6px;
}

.tsunami_data .ttl {
	background-color: #4b2cd6;
}

.eq_data .ttl {
	background-color: #ff0000;
}

.update-time {
	font-size: 16px;
}


/* ------------
レスポンシブ
--------------- */
@media (max-width: 768px) {
	.nav-links {
		width: 100%;
		overflow-x: auto;
		white-space: nowrap;
		padding-bottom: 5px;
	}
	
	.container {
		flex-direction: column;
		margin: 15px auto;
	}
	.left-col, .right-col {
		width: 100%;
	}
	
	.page-title-banner {
		font-size: 16px;
		padding: 12px 0;
		letter-spacing: 1px;
	}
	.page-title {
		background-size: inherit;
		background-position-x: 65%;
	}
	.wrap {
		padding: 10px 5px 15px;
		line-height: 2rem;
	}
	main {
    background-position: right 0% bottom;
    background-size: 280%;
	}
	#sns_button {
    margin-bottom: 60px;
	}
	.tsunami_data, .eq_data {
    
    border: 3px solid #ff0000;
    border-radius: 6px;
    margin: 15px auto;
    max-width: 1170px;
	}
	.tsunami_data .ttl, .eq_data .ttl {
	padding: 0 2%;
	}
	.em_container {
	margin: 0 auto 0;
	}
}

@media (max-width: 480px) {
	.link-grid {
		grid-template-columns: 1fr;
	}
}

/* ------スライダー----- */
.swiper--wrapper {
  /* wrapperのサイズを調整 */
  width: 100%;
  height: 300px;
}

.swiper-slide {
  /* スライドのサイズを調整、中身のテキスト配置調整、背景色 */
  color: #ffffff;
  width: 100%;
  height: 100%;
  text-align: center;
  /* line-height: 300px; */
}

.swiper-horizontal>.swiper-pagination-bullets, .swiper-pagination-bullets.swiper-pagination-horizontal, .swiper-pagination-custom, .swiper-pagination-fraction {
    bottom: var(--swiper-pagination-bottom, 17px)!important;
    left: 0;
    top: var(--swiper-pagination-top, auto);
    width: 100%;
}

.swiper-button-next, .swiper-button-prev {
    color: #fff!important;
    
}

.swiper-slide img {
	display: block;
	width: 100%;
	height: auto;
}

.youtube-button {
	text-align: right !important;
    margin: 6px 0px 0px 0px!important;
    display: block;
}
