/*
Theme Name: Panasonic Accelerator by Electric Works Company
Author: Panasonic Accelerator by Electric Works Company
Description: 2024年度
Version: 1.6
*/

html {
	scroll-behavior: smooth;
}
:target {
	scroll-margin-top: 120px;
}
img {
  height: auto;
}

/* home > NEWS */
.news-wrap {
	flex-wrap: wrap;
}
.news-wrap .news-li .news-text a:link,
.news-wrap .news-li .news-text a:visited{
	color:#fff;
	text-decoration: underline;
	text-decoration-color: #5F96FF;
	text-underline-position: under;
}

.news-wrap .news-li .news-text a:hover{
	color:#5F96FF;
	text-decoration: none;
}
.news-wrap .news-li .news-text a[target="_blank"]:after {
	content:"";
	display: inline-block;
	width: 0.875em;
	height: 0.875em;
	vertical-align: bottom;
	background:url(assets/img/icon-link-blue.svg) no-repeat 0 0;
	background-size: 100% auto;
	margin: 0 0 0.1em 0.25em;
}

/* READ MORE */
.news-ul li.news-li {
	opacity: 0;
	max-height: 0;
	padding-top: 0;
	padding-bottom: 0;
	transition: opacity .3s, max-height .3s, padding .3s;
	border-top-width: 0;
	overflow: hidden;
}
.news-wrap .news-li .news-day {
	margin: 0.2rem 0 0;
}

.report-inner > a {
	opacity: 0;
	max-height: 0;
	margin-top: 0;
	margin-bottom: 0;
	transition: opacity 0.3s, max-height 0.3s, margin 0.3s;
	overflow: hidden;
}
.news-wrap .read-more-btn,
.report-wrap .read-more-btn {
	display: none;
}
.news-ul li.news-li.visible {
	display: flex;
	opacity: 1;
	max-height: 100vh;
	padding-top: 1em;
	padding-bottom: 1em;
}
.news-ul li.news-li.visible:first-of-type {
	padding-top: 0.5em;
}
.report-inner > a.visible {
	display: block;
	opacity: 1;
	max-height: 100vh;
	pointer-events: all;
	margin-top: 0;
	margin-bottom: 1em;
}

.read-more-btn-wrap {
	width: 100%;
	max-width: 800px;
	margin-right: auto;
	margin-left: auto;
}

.news-read-more-btn {
	appearance: none;
	display: block;
	width: 67%;
	min-width: 400px;
	margin: 1em auto 2em;
	padding: 1em 0;
	border: 1px solid #fff;
	border-radius: 50px;
	background-color: #001D51;
	color: #fff;
	font-weight: 700;
	font-size: 1em;
	line-height: 1.35;
	text-decoration: none;
	font-family: 'Barlow', 'Noto Sans JP', sans-serif;
	cursor: pointer;
}

.report-read-more-btn {
	appearance: none;
	display: block;
	width: 67%;
	min-width: 400px;
	margin: 1em auto 2em;
	padding: 1em 0;
	border: 0 transparent;
	border-radius: 50px;
	background-color: #fff;
	color: #001D51;
	font-weight: 700;
	font-size: 1em;
	line-height: 1.35;
	text-decoration: none;
	font-family: 'Barlow', 'Noto Sans JP', sans-serif;
	cursor: pointer;
}

@media screen and (max-width: 599px) {
	.news-wrap .news-li .news-day {
		margin: 0;
	}
	.news-read-more-btn,
	.report-read-more-btn {
		min-width:200px;
		font-size:1em;
	}
	.news-read-more-btn   { width: 65.2173913%; }
	.report-read-more-btn { width: 75%; }
}


/**/
.index-ul {
	text-align: left;
	max-width: 30em;
	margin-right: auto;
	margin-left: auto;
}

.index-li {
	color: #fff;
}

.index-li + .index-li {
	margin-top: 1em;
}

.navybox .index-li a {
	color: #fff;
	text-decoration: underline;
	text-underline-position: under;
}

/* admin-bar-inline-css */
@media screen { html.panasonic { margin-top: 0 !important; } }
@media screen and ( max-width: 782px ) { html.panasonic { margin-top: 0 !important; } }
html.panasonic #wpadminbar {
	background: #1d232788;
}



/* shutto翻訳 hide default bar */
.stt-lang-select {
  display: none !important;
}
