﻿

/*
Theme Name: common
*/

#tinymce ol,
#tinymce ul {
	list-style: none;
	padding: 0;
	margin: 0;
}
main.news_detail {
	color: #333;
	padding: 80px 0 0;
	text-align: left;
}
main.news_detail .date {
	font-size: 20px;
	margin: 0 0 65px;
}
main.news_detail h2 {
	font-weight: bold;
	line-height: 1.6;
	font-size: 32px;
	margin: 0 0 65px;
	text-align:center;
}
main.news_detail .writer {
	font-size: 20px;
	text-align: right;
	margin: 0 0 90px;
	line-height: 1.4;
}
.editor_content {
	font-size: 16px;
	line-height: 1.5;
}
.editor_content h3 {
	line-height: 1.6;
	font-size: 26px;
	font-weight: bold;
	margin: 0 0 20px;
}
.editor_content h4,
.editor_content p.mbs {
	line-height: 1.6;
	font-size: 20px;
	font-weight: bold;
	margin: 0 0 18px;
}
.editor_content p {
	font-size: 16px;
	line-height: 1.75;
	margin: 0 0 25px;
}
.editor_content img {
	margin-top: 20px;
	margin-bottom: 20px;
}
.editor_content img.aligncenter {
	display: block;
	margin: 20px auto;
}
.editor_content a {
	color: #005bac;
}
.editor_content dl:before,
.editor_content dl:after {
	content:"";
	display:table;}
.editor_content dl:after {clear:both;}
.editor_content dl dt {
	float: left;
	clear: left;
	width: 120px;
	margin-bottom: 10px;
}
.editor_content dl dd {
	float: left;
	width: calc(100% - 120px);
	margin-inline-start: 0;
}
.editor_content table {
	border-collapse: collapse;
}
.editor_content table th,
.editor_content table td {
	padding: 5px;
	border: 1px solid #ccc;
}
.editor_content .video iframe {
	max-width: 100%;
}
@media ( min-width: 897px ){
	.editor_content a:hover {
		text-decoration: none;
	}
}
@media ( max-width: 896px ){
	.editor_content h2 {
		font-size: 28px;
	}
}
@media ( max-width: 479px ){
	main.news_detail {
		padding: 8.59vw 0 0;
	}
	main.news_detail .date {
		font-size: 3.13vw;
		margin: 0 0 9.38vw;
	}
	main.news_detail h2 {
		line-height: 1.5;
		font-size: 4.45vw;
		margin: 0 0 9.38vw;
	}
	main.news_detail .writer {
		font-size: 3.13vw;
		margin: 0 0 13.13vw;
	}
	.editor_content h3 {
		line-height: 1.5;
		font-size: 4.2vw;
		margin: 0 0 3.8vw;
	}
	.editor_content h4,
	.editor_content p.mbs {
		font-size: 3.75vw;
		margin: 0 0 3vw;
	}
	.editor_content p {
		font-size: 3.13vw;
		margin: 0 0 6.25vw;
	}
	.editor_content dl dt,
	.editor_content dl dd {
		width: auto;
		float: none;
	}
	.editor_content dl dt {
		margin: 0 0 0.5vw;
		font-size: 3.8vw;
	}
	.editor_content dl dd {
		font-size: 3.45vw;
		margin: 0 0 3.2vw;
	}
	.editor_content table {
		width: 100%;
	}
	.editor_content table th,
	.editor_content table td {
		padding: 1.8vw;
		font-size: 3.45vw;
	}
	.editor_content .video iframe {
		max-width: 100%;
		height: 54vw;
	}
}
main.news nav.navigation {
	margin: 50px 0 0;
}
main.news nav.navigation .nav-links {
	text-align: center;
}
main.news nav.navigation .nav-links span,
main.news nav.navigation .nav-links a {
	border: 1px solid #005bac;
	padding: 6px;
	text-decoration: none;
	color: #005bac;
	display: inline-block;
	margin: 2px 4px;
	font-size: 14px;
}
main.news nav.navigation .nav-links span,
main.news nav.navigation .nav-links a:hover {
	background: #005bac;
	color: #fff;
}
main.news nav.navigation .nav-links span.dots {
	background: none;
	border: 0;
	color: #005bac;
	padding: 0;
}
main.news .postyear select {
	border: 1px solid #ccc;
	font-size: 14px;
	padding: 0 5px;
	outline: none;
}
main.news .postyear select option {

}
@media ( max-width: 479px ){
	main.news nav.navigation {
		margin: 6vw 0 0;
	}
	main.news .postyear select {
		font-size: 3.45vw;
		padding: 0 1.3vw;
	}
	main.news nav.navigation .nav-links span,
	main.news nav.navigation .nav-links a {
		padding: 1.8vw;
		margin: 1.2vw 0.6vw;
		font-size: 3.64vw;
	}
}

.sns_btn_area ul li a {
	display: block;
}
.sns_btn_area ul li a img {
	width: 100%;
}
@media ( min-width: 1551px ){
	main.news_detail {
		position: relative;
	}
	.sns_btn_area ul {
		position: absolute;
		width: 50px;
		bottom: 0;
		left: 20px;
	}
	.sns_btn_area ul li:not(:last-child) {
		margin: 0 0 20px;
	}
}
@media ( max-width: 1550px ){
	.sns_btn_area ul {
		float: left;
	}
	.sns_btn_area ul li {
		float: left;
	}
}
@media ( min-width: 480px ) and ( max-width: 1550px ){
	.sns_btn_area {
		min-height: 50px;
		margin-top: 50px;
	}
	.sns_btn_area ul li:not(:last-child) {
		margin: 0 20px 0 0;
	}
}
@media ( min-width: 480px ){
	.sns_btn_area ul li a {
		width: 50px;
		height: 50px;
	}
}
@media ( max-width: 479px ){
	.sns_btn_area {
		min-height: 10vw;
		margin-top: 13.2813vw;
	}
	.writer_box + .sns_btn_area {
		margin-top: 5.3333vw;
	}
	.sns_btn_area ul li:not(:last-child) {
		margin: 0 3.125vw 0 0;
	}
	.sns_btn_area ul li a {
		width: 10vw;
		height: 10vw;
	}
}
@media ( min-width: 1551px ){
	.sns_btn_area.fixed ul {
		position: fixed;
		bottom: 30px;
	}
}
@media ( max-width: 1550px ){
	.sns_btn_area.fixed > div.cf {
		position: fixed;
		width: 100%;
		max-width: 960px;
	}
}
@media ( min-width: 480px ) and ( max-width: 1550px ){
	.sns_btn_area.fixed > div.cf {
		width: calc(100% - 40px);
		bottom: 30px;
	}
}
@media ( max-width: 479px ){
	.sns_btn_area.fixed > div.cf {
		width: calc(100% - 10vw);
		bottom: 7.0313vw;
	}
}

.blogcard {
    position: relative;
    margin: 2em 0;
    padding: 1.4em 1.5em;
    border-radius: 8px;
    background-image: radial-gradient(currentColor 1px, transparent 1px);
    background-size: calc(10 * 1px) calc(10 * 1px);
    color: #eee;
	box-sizing: border-box;
}
.blogcard span.blogcard_thumbright {
    position: absolute;
    display: inline-block;
    top: -15px;
    left: 24px;
    padding: 6px 32px;
    line-height: 1;
    font-size: 14px;
    background: #3a3a3a;
    color: #FFF;
    font-weight: 400;
    border-radius: 50px;
}
span.blogcard_thumbright:after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border: 5px solid transparent;
    border-top: 5px solid #3a3a3a;
}
.blogcard a {
    display: flex;
    justify-content: flex-start;
    align-content: center;
    flex-wrap: wrap;
    text-decoration: none;
    box-shadow: 0 0 3px 0 rgb(0 0 0 / 12%), 0 2px 3px 0 rgb(0 0 0 / 22%);
    cursor: pointer;
    transition: 0.2s ease-in-out;
    padding: 12px 15px;
    border-radius: 2px;
    background: #ffff;
}
.blogcard a:hover {
    box-shadow: 0 15px 30px -5px rgb(0 0 0 / 15%), 0 0 5px rgb(0 0 0 / 10%);
    transform: translateY(-4px);
}
.blogcard_thumbnail {
    width: 32%;
    margin-right: 4%;
    display: inline-block;
    height: 180px;
}
.blogcard_thumbnail img {
    width: 100%;
    object-fit: cover;
    height: inherit;
	margin: 0;
}
.blogcard_content {
    width: 64%;
    display: flex;
    flex-direction: column;
    justify-content: center;
	box-sizing: border-box;
}
.blogcard_title p {
    font-size: 1.1rem;
    color: #313131;
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1.6;
}
.blogcard_description p {
    font-size: 0.8rem;
    color: #313131;
    font-weight: 400;
    margin-bottom: 5px;
}
.blogcard_link span {
    position: relative;
    left: 0;
    top: 0;
    padding: 2px 10px;
    font-size: 0.6rem;
    background: #005bac;
    color: #fff;
    font-weight: 600;
    vertical-align: middle;
    margin-right: 7px;
    border-radius: 3px;
}
.blogcard_link {
    font-size: 0.7rem;
    text-decoration: none;
    color: #999;
}
@media screen and (max-width: 767px) {
/* （ここにモバイル用スタイルを記述） */
.blogcard {
    padding: 35px 10px 15px;
}
.blogcard span.blogcard_thumbright {
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    text-align: center;
    padding-top: 8px;
    padding-bottom: 8px;
    font-size: 0.9rem;
}
.blogcard a {
    flex-direction: column;
    padding: 0;
    overflow: hidden;
    border-radius: 3px;
}
.blogcard_thumbnail {
    width: 100%;
    margin: 0 0 15px;
    height: auto;
}
.blogcard_thumbnail img {
    object-fit: cover;
    height: 50vw;
    width: 100%;
    object-position: center;
}
.blogcard_content {
    width: 100%;
    padding: 0 1.2rem 1.2rem;
}
}
.grecaptcha-badge {
	bottom: 100px!important;
}
