@charset "UTF-8";
@import url(./news.css);

/* copy & rewrite from previous site */
@media all {

.article_body blockquote {
  border: max(1px, 1rem) solid var(--main-blue);
  border-radius: 10rem;
  margin: 32rem 0 40rem;
  padding: 24rem 25rem;
}
@media (max-width: 767px) {
  .article_body blockquote {
    padding: 20rem;
    margin: 32rem 0 50rem;
  }
}
.article_body blockquote h2,
.article_body blockquote h3,
.article_body blockquote h4,
.article_body blockquote h5,
.article_body blockquote h6 {
  color: var(--main-blue);
  background: transparent;
  margin: 0;
  padding: 0;
  font-size: 16rem;
  line-height: 20.8rem;
}
@media (max-width: 767px) {
  .article_body blockquote h2,
  .article_body blockquote h3,
  .article_body blockquote h4,
  .article_body blockquote h5,
  .article_body blockquote h6 {
    font-size: 14rem;
    line-height: 18.2rem;
  }
}
.article_body blockquote p {
  font-size: 14rem;
  line-height: 25.2rem;
}
.article_body blockquote p + p {margin-top: 1em;}
@media (max-width: 767px) {
  .article_body blockquote p {
    font-size: 13rem;
    line-height: 25rem;
  }
}
	
.article_body a {
  /* color: #7c9db2;
  margin-top: 16rem;
  font-size: 14rem;
  line-height: 25.2rem; */
	color: var(--main-blue);
}
@media (max-width: 767px) {
  .article_body a {
    font-size: 13rem;
    line-height: 13rem;
  }
}
.article_body a:hover {
  text-decoration: underline;
}
}

/* not the_content */
@media all {
	.breadcrumbs,
	.breadcrumbs a {
		color: var(--txt-gray);
	}
	.breadcrumbs-item:not(:last-child)::after {
		border-color: var(--txt-gray);
	}
	.is-article {background-color: #fff;}
	
	.article-header-ttl {
		position: relative;
		margin: 1.5em 0 1em;
		padding-bottom: 1em;
		font-family: var(--lineseed);
		font-weight: bold;
		letter-spacing: -.02em;
	}
	.article-header-ttl::after {
		content: '';
		position: absolute;
		bottom: 0;
		left: 0;
		display: block;
		width: 2em;
		height: 3rem;
		background: linear-gradient(to right, #f00, #b507de, #00a2e7);
	}

	.article-header-info-1 {
		display: flex;
		align-items: center;
	}
	.news_date {min-width: 6em;}
	.news_category {
		padding: 6rem 7rem;
		border: max(1px, 1rem) solid var(--txt-gray);
		border-radius: 3rem;
		font-size: 14rem;
	}
	.news_category.blue {
		border-color: var(--main-blue);
		color: var(--main-blue);
	}
	.news_category.red {
		border-color: var(--main-red);
		color: var(--main-red);
	}

	.js-index {
		margin-bottom: 4em;
		background-color: var(--bg-lightblue);
	}
	.js-index dt {
		font-family: var(--lineseed);
		font-weight: bold;
		color: var(--main-blue);
	}
	.js-index dt + .js-index dd {margin-top: .5em;}
	.js-index dd {padding-left: 1em;}
	.index dd {font-weight: 500;}
	.index dd.is-h3 {padding-left: 2em; font-weight: normal;}

	/* sp */
	@media only screen and (max-width: 767px) {
		.breadcrumbs {
			background-color: var(--bg-lightblue);
			padding: 120rem 25rem 30rem;
		}

		aside.main-section {padding: 0;}
		.article-header-ttl {
			margin: 30rem auto;
			width: 350rem;
			font-size: 22rem;
			line-height: 36rem;
		}
		.article-header-info {padding: 0 25rem;}

		.js-index,
		.the_content {line-height: 2;}

		.js-index {
			margin-top: 60rem;
			padding: 30rem 25rem;
		}
		.js-index dt {font-size: 16rem;}

		.the_content .exam-info-card {
			margin: 50rem auto;
			line-height: 1;
		}
	}

	/* pc & tab */
	@media print,
	(min-width: 768px) {
		.site-header {
			background: 
			linear-gradient(to bottom, rgba(255,255,255,1), rgba(255,255,255,1) 86rem, rgba(255,255,255,0) 100%);
		}

		.single-main {
			padding-top: 140rem;
			background: linear-gradient(to bottom, rgba(236,243,247,1), rgba(236,243,247,0) 1280rem);
		}
		.breadcrumbs {
			margin: 0 auto;
			width: 1000rem;
		}
		.is-article {
			margin: 10rem auto 0;
			padding: 50rem 0;
			width: 1000rem;
			border-radius: 10rem;
		}
		.article-header,
		.article_body {
			margin: 0 auto;
			width: 800rem;
		}
		.js-index,
		.the_content {line-height: 2.5;}

		.js-index {
			margin-top: 75rem;
			padding: 30rem;
		}
		.js-index dt {font-size: 18rem;}
		.js-index a {transition: .3s;}
		.js-index a:hover {
			color: var(--main-blue);
			text-decoration: underline;
		}

		.the_content .exam-info-card {
			margin: 75rem auto;
			line-height: 1;
		}

		.article-header-ttl {
			font-size: 28rem;
			line-height: 45rem;
		}

	}
}



/* the-content */
@media all {
	:root {
		--bg-rainbow: linear-gradient(to right, #f00, #b507de, #00a2e7);
	}

	.the_content :is(h1,h2,h3,h4,h5,div,p,table,iframe,video,picture) {max-width: 100%;}
	
	.the_content :where(h2, h3, h4) {
		font-family: var(--lineseed);
		font-weight: bold;
		color: var(--main-blue);
		line-height: 1.8;
	}
	.the_content h2 {
		margin: 3em 0 1em;
		font-weight: bold;
		line-height: 2;
	}
	.the_content strong {font-weight: bold;}
	.the_content h2::after {
		content: '';
		display: block;
		width: 100%;
		height: max(1px, 1rem);
		background: var(--bg-rainbow);
	}
	.the_content h3 {
		margin: 3em 0 1em;
		background-color: var(--bg-lightblue);
		border-radius: 7rem;
		padding: .5em .75em;
	}
	.the_content h4 {
		position: relative;
		margin: 2em 0 1em;
		padding-left: 1.5em;
	}
	.the_content h4::before {
		content: '●';
		position: absolute;
		left: 0;
		color: var(--main-red);
		transform-origin: center;
		transform: scale(.8);
	}
	.the_content h4 + h4 {margin: .5em 0;}
	.the_content a > span {transition: .3s;}
	.the_content a:hover > span {text-decoration: underline;}
	.the_content table {margin: 1em 0;}
	.the_content table :where(th, td) {
		border: max(1px, 1rem) solid var(--txt-gray);
		padding: 4rem;
	}
	

	/* sp */
	@media only screen and (max-width: 767px) {
		.the_content {
			margin-top: 70rem;
			padding: 0 25rem;
		}
		.the_content h2 {
			margin: 3em 0 1em;
			padding-bottom: 8rem;
			font-size: 18rem;
			line-height: 1.5;
		}
		.the_content h2::after {margin-top: 8rem;}
	}

	/* pc & tab */
	@media print,
	(min-width: 768px) {}
}

/* reset shortcorder style */
@media all {
	.single-main hr {
		display: block;
		margin: .75em 0;
		border: none;
		width: 100%;
		height: 1rem;
		background: var(--bg-rainbow);
	}
	.the_content img,
	.the_content .wp-block-image img {
		display: block;
		margin: 2em auto;
		max-width: 100%;
		width: auto;
	}

	/* sp */
	@media only screen and (max-width: 767px) {
		.the_content .exam-info-card {
			margin-left: -10rem;
			width: 370rem;
			max-width: none;
		}
		.shortcoder-acutecarespecialist_news-box {
			margin: 1.5em 0 5em!important;
		}
		.shortcoder-acutecarespecialist_news-box p {font-size: 16rem;}
		.article_body .shortcoder-acutecarespecialist_news-box img {
			margin: 20rem auto 0!important;
		}
	}

	/* pc & tab */
	@media print,
	(min-width: 768px) {
		.shortcoder-acutecarespecialist_news-box {
			font-feature-settings: normal;
			letter-spacing: 1.25rem;
		}
		.article_body .shortcoder-acutecarespecialist_news-box img {
			margin: 30rem auto 0;
		}
	}
}

/* banner_2026 additional style */
@media all {

	/* sp */
	@media only screen and (max-width: 767px) {}

	/* pc & tab */
	@media print,
	(min-width: 768px) {
		.the_content .banner_2026 {
			margin-top: 60rem;
			padding-top: 60rem;
		} 
		.the_content .banner_2026::before {
			top: 0;
			left: calc(50% - 500rem);
			width: 1000rem;
		}

		.the_content .sc-text_sns {
			margin-left: -100rem;
			max-width: none;
		}
	}
}

/* related-news */
@media all {
	.article_related {background-color: var(--bg-lightblue);}
	.article_related h2 {
		position: relative;
		padding-bottom: .75em;
		font-family: var(--lineseed);
		font-weight: bold;
	}
	.article_related h2::after {
		content: '';
		position: absolute;
		bottom: 0;
		left: 0;
		display: block;
		width: 100%;
		height: max(1px, 1rem);
		background: var(--bg-rainbow);
	}
	.news_item {background-color: #fff;}

	.site-footer {margin-top: 0;}

	/* sp */
	@media only screen and (max-width: 767px) {
		.article_related {
			margin-top: 80rem;
			padding: 50rem 25rem 140rem;
		}
		.article_related h2 {font-size: 16rem;}

		.article_related .news_item {
			overflow: hidden;
			padding: 0;
			height: 100rem;
		}
		.article_related .news_item a {
			display: flex;
			flex-direction: column;
			flex-wrap: wrap;
			width: 100%;
			height: 100%;
		}
		.article_related .news_img {
			width: 100rem;
			height: 100%;
		}
		.article_related .news_img img {
			height: 100%;
			width: 100%;
			object-fit: cover;
		}
		.article_related .news_info {width: calc(100% - 100rem);}
		.article_related .news_info {font-size: 12rem;}
		.article_related .news_info .news_category {
			padding: 3rem;
			font-size: 12rem;
		}
		.article_related .news_title {
			margin-top: 8rem;
			width: calc(100% - 100rem);
		}
	}

	/* pc & tab */
	@media print,
	(min-width: 768px) {
		.article_related {
			padding: 80rem 0 160rem;
		}
		.article_related .container {
			margin: 0 auto;
			width: 1000rem;
		}
		.article_related .news_list {margin-top: 40rem;}
	}
}

/* shortcodes */
@media all {

	/* sp */
	@media only screen and (max-width: 767px) {
		.aside-card-top {margin-top: 40rem;}
		.bottom-shortcodes {margin-top: 50rem;}
		.bottom-shortcodes hr {margin: 70rem 0 60rem;}
		.aside-sns-bottom {margin-top: 70rem;}
	}

	/* pc & tab */
	@media print,
	(min-width: 768px) {
		.aside-card-top {margin-top: 60rem;}

		.bottom-shortcodes {
			margin: 80rem auto 100rem;
			width: 1000rem;
		}
		.bottom-shortcodes hr {margin: 100rem 0 60rem;}
		.aside-sns-bottom {margin-top: 100rem;}
	}
}






/* template-section */
@media all {

	/* sp */
	@media only screen and (max-width: 767px) {}

	/* pc & tab */
	@media print,
	(min-width: 768px) {}
}
