/*
	Theme Name: ehpro
	Template: twentytwenty
	Version: 1.0
*/

/* Visibility */
.post-meta-wrapper.post-meta-edit-link-wrapper{
  display: none !important;
}

/* トップページ */
body.home{}

body.home .news-item{
	position: relative;
	display: flex;
	height: 40px;
	overflow: hidden;
}
@media (max-width: 767px) {
  body.home .news-item{
		height: 60px;
	}
}

body.home .news-date {
	width: 9em;
}

body.home .news-title {
	flex: 1;
	padding-right: 80px;
	line-height:2.0;
}

body.home  #news-ticker-container {
	position: absolute;
	bottom: 10vh;
	right: 10vw;
	width:80vw;
	max-width: 50em;
	height: 40px;
	overflow: hidden;
	display: flex;
	align-items: center;
	z-index: 100;
}
@media (max-width: 1024px) {
	body.home  #news-ticker-container {
		right: 6vw;
	}
}
@media (max-width: 767px) {
  body.home  #news-ticker-container {
		width: calc(100vw - 80px);
		height: 60px;
		right: 50px;
	}
}

body.home #news-ticker {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	padding: 0.2em 0;
	transition: transform 0.8s ease-in-out;
}

body.home #controls {
	position: absolute;
	right: 0;
	display: flex;
	gap: 10px;
	z-index: 110;
}

body.home #controls button {
	width: 24px;
	height: 24px;
  line-height: 1;
	border-radius: 4px;
	background: rgba(255, 255, 255, .5);
	text-align: center;
	color: #01123c;
	transition: 0.5s;
}

body.home #controls button:hover{
	background: rgba(255, 255, 255, .6);
	transition: 0.5s;
}

/* ニュースアーカイブ */
body.post-type-archive-news{}

body.post-type-archive-news .contWrap{
	width: 70vw;
	min-height: 70vh;
	margin: 3vh 0;
}
body.post-type-archive-news .news-inner{
	padding-left: 10vw;
}
@media (max-width: 767px) {
	body.post-type-archive-news .news-inner{
		padding-left: 0;
	}
}

#newsArchive .posts .year-heading{
	font-size: 2.0rem;
	font-weight: 600;
}
#newsArchive .posts .year-heading:not(:first-of-type){
	margin-top: 2.0em;
}

#newsArchive .newsItem{
	display: flex;
	margin-bottom: 1.0em;
}
@media (max-width: 767px) {
	#newsArchive .newsItem{
		display: block;
	}
}

#newsArchive .newsItem .date{
	width:6em;
	padding-left:1em;
}
@media (max-width: 767px) {
	#newsArchive .newsItem .date{
		padding-left:0;
	}
}
#newsArchive .newsItem .title{
	flex:1;
}

@media (max-width: 767px) {

  #newsArchive .concept p {
    font-size: 1.2rem;
    line-height: 30px;
    padding-bottom: 20px;
  }
}

/* ニュース詳細 */
body.single-news main section {
	padding: 10vw 17.3333333333vw 0 8.6666666667vw;
}

body.single-news main section .cont {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 6.6666666667vw;
}

body.single-news main section h2 {
    margin-bottom: 7.3333333333vw;
}

body.single-news article{
	width: 70vw;
	min-height: 70vh;
	background:#FFF;
	margin: 0 auto 6.6666666667vw;
	padding:3vw 4vw;
	color:#000;
}

@media (max-width: 767px) {
	body.single-news article{
		width: 80vw;
	}
}

body.single-news article .entry-header{
	margin-bottom: 3vw;
}

body.single-news article a{
	color:#000;
	text-decoration: underline;
}

body.single-news article p{
	margin-bottom: 2em;
	color: #747474;
}
body.single-news article p.entry-date{
	margin-bottom: 1px;
	color: #000;
}
body.single-news article .wp-block-image{
	margin:3vw;
}
body.single-news article .post-navigation{
	display: flex;
	justify-content: space-between;
	margin-top: 7vw;
}
body.single-news article .post-navigation > div{
	width:calc(100% / 3);
}
body.single-news article .post-navigation .nav-list{
	border-right:solid 1px #747474;
	border-left:solid 1px #747474;
	text-align: center;
}
body.single-news article .post-navigation .nav-next{
	text-align: right;
}

body.single-news article .post-navigation a{
	font-size: 1.6rem;
	color: #747474;
	text-decoration: none;
}

body.single-news article .entry-title{
  margin-bottom: 2.0em;
  font-size: 2.0em;
	font-weight: 600;
	line-height: 1.2;
  text-align: left;
}
@media (max-width: 767px) {
	body.single-news article .entry-title{
		margin-bottom: 1.5em;
		font-size: 1.5em;
	}
}

body.single-news article h2{
  margin-bottom: 1.5em;
  font-size: 1.5em;
	font-weight: 600;
	line-height: 1.2;
  text-align: left;
}

body.single-news article h3{
  margin-bottom: 1.2em;
  font-size: 1.2em;
	font-weight: 600;
	line-height: 1.2;
  text-align: left;
}


/* リクルート */

@media (max-width: 767px) {
	#recruit .concept{
		margin-bottom: 10vw !important;
	}
}
