/* CSS Document */

:root {
	--black: #121212;
	--light-black: #5b5b5b;
	--main-green: #8abfc3;
	--light-blue: #3F86E3;
	--hover-blue: #EBF3FF;
	--list__border: 1px solid #D1D1D1;
	--Small__bottom: 24px;
	--semi-Small__bottom: 28px;
	--Medium__bottom: min(7.692vw, 50px);
	--Large__bottom: 80px;
}
 

.contents__area img {
	width: 100%;
	height: auto;
}

.contents__area a,
.contents__area p,
.contents__area h2,
.contents__area h3,
.contents__area h4,
.contents__area figcaption {
	line-height: 1.9;
	font-family: "Noto Sans JP", sans-serif;
}
.contents__area p {
	font-size: min(4.102vw, 18px);
}
.contents__area a:hover {
	opacity: 1;
}
.contents__inner {
	max-width: 1170px;
	margin: 0 auto;
}
.main-visual {
	margin-bottom: var(--Medium__bottom);
}

.contents__message p {
	font-size: min(3.6vw, 16px);
	letter-spacing: .5px;
	text-align: justify;
}
.contents__message p:not(.contents__message p:last-child) {
	margin-bottom: 10px;
}
.contents__message {
	margin-bottom: var(--Medium__bottom);
}
.tb_display,
.pc_display,
.no-sp__display {
	display: none;
}

.slider__wrap {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 20px min(3.846vw, 60px);
	border: 1px solid var(--black);
	padding: 20px 15px;
	margin: 50px auto;
	position: relative;
}
.slider__wrap h2 {
	font-size: min(4.615vw, 18px);
	color: var(--main-green);
	font-weight: 800;
	position: absolute;
	top: -1em;
	left: 50%;
	transform: translateX(-50%);
	padding: 0 1em;
	background: #fff;
}
.slider li {
	width: auto!important;
}
.slider a{
    display: flex;
	justify-content: center;
    flex-direction: column;
	color: var(--black);
    /*gap: 5px;*/
    font-size: min(3.6vw, 16px);
}
.slider__bold {
	font-weight: 700;
	margin-right: 5px;
}
.bx-wrapper {
	background: none;
	border: none;
	box-shadow: none;
	padding: none;
	margin-bottom: 0;
}

.link__wrap ul {
	display: flex;
    flex-direction: column;
	gap: 3em;
}

@media(min-width: 600px) {
	.link__wrap ul {
		display: grid;
		grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
		grid-row-gap: min(3vw, 40px);
		grid-column-gap: min(3vw, 40px);
	}
}

@media (min-width: 1000px) {
	.link__wrap ul {
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	grid-row-gap: min(3vw, 40px);
	grid-column-gap: min(3vw, 40px);
	}
}


.link__inner {
	padding: 10px;
	box-shadow: 1px 1px 8px #d5d5d5;
	background: #f5f5f5;
	position: relative;
	overflow: hidden;
}

.link__inner.new::before {
	content: "NEW";
	width: 4em;
	height: 4em;
	background: var(--main-green);
	color: #FFF;
	font-size: 14px;
	font-weight: 600;
	position: absolute;
	top: -1em;
	left: -.5em;
	display: grid;
	place-items: center;
	letter-spacing: 2px;
	border-radius: 50%;
	font-family: 'Noto Sans JP';
	z-index: 999;
}

.link__inner figure figcaption {
	text-align: center;
	margin-top: 10px;
	color: var(--light-black);
	letter-spacing: 1px;
	font-weight: 700;
	transition: .5s all;
	font-size: min(4.102555vw, 16px);
	word-break: keep-all;
}
.link__inner div {
	overflow: hidden;
	position: relative;
}

.movie {
	position: absolute;
	bottom: 3%;
	right: 3%;
	/* transform: translate(-50%, -50%); */
	width: min(10.256vw, 50px);
	height: min(10.256vw, 50px);
	display: block;
	z-index: 999;
	border-radius: 50%;
	box-shadow: 0px 0px 15px #7d797975;
}
.movie::before,
.movie::after {
	content:"";
}
.movie::before {
	content:"";
	width: 100%;
	height: 100%;
	border-radius: 50%;
	background: #8abfc3;
	/* backdrop-filter: blur(10px); */
	position: absolute;
	top: 0;
	left: 0;
	border: 1px solid #fff;
}
.movie::after {
	content:"";
	width: 40%;
	height: 35%;
	background: #ffffffdb;
	clip-path: polygon(0 0, 0% 100%, 100% 50%);
	position: absolute;
	top: 50%;
	left: 36%;
	transform: translateY(-50%);
}

.link__inner img {
	transition: .5s all;
}
.link-banner__box {
	max-width: 715px;
	margin: 0 auto;
	margin-top: 60px;
}
.link-banner__box img {
	transition: .5s all;
}
.link-banner__box a:not(.link-banner__box:last-child) {
	margin-bottom: 30px;
}



/*=========================
newspaper
=========================*/

.contents__title {
	font-size: min(4.6154vw, 24px);
    letter-spacing: 2px;
    font-weight: 700;
    padding-left: 1em;
	position: relative;
	margin-bottom: 15px;
}
.contents__title::before {
	content: "";
	width: 10px;
	height: 1em;
	background: var(--main-green);
	position: absolute;
	top: 50%;
	left: 0;
	transform: translateY(-50%);
}
.pdf__list__wrap {
	margin: 30px auto;
}
.pdf__list__inner:not(.pdf__list__inner:last-child) {
	margin-bottom: 130px;
}
.pdf__list {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 60px;
	justify-content: space-evenly;
	margin-top: 30px;
}
.pdf__list li {
	max-width: 450px;
	width: 89%;
	margin: 0 auto;
}
.contents__titile-date {
	text-align: center;
    padding-bottom: .5em;
    border-bottom: 3px solid var(--main-green);
    color: var(--main-green);
    font-weight: 700;
	font-size: min(4.61538vw, 24px);
    letter-spacing: 1.5px;
}
.pdf__list h4 {
	text-align: center;
    padding: 5px 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    font-weight: 700;
    font-size: min(4.102555vw, 18px);
    margin: 0 auto 15px;
    border-radius: 5px;
    letter-spacing: 1.5px;
}
.pdf__list h4 svg {
	height: 1.2em;
}

.pdf__list .modal {
	display: none;
}

.pdf__list h4.morning {
	color: #FFF;
    background: var(--main-green);
}
.pdf__list h4.morning svg {
	fill: #FFF;
	font-weight: 700;
}
.pdf__list h4.evening svg {
	fill: var(--main-green);
	font-weight: 700;
}
.pdf__list h4.evening {
	color: var(--main-green);
    background: #FFF;
	border: 1px solid var(--main-green);
}
.pdf__list .modal-open figure div {
	overflow: hidden;
	position: relative;
}
.pdf__list .modal-open figure div svg{
	position: absolute;
    bottom: 1em;
    right: 1em;
    background: #FFF;
    padding: 0rem;
    width: 3em;
    height: 3em;
    fill: var(--main-green);
    padding: .5em;
    border-radius: 50%;
}

.pdf__list .modal-open figure div img {
	transition: .5s all;
}
.pdf__list .modal-open figcaption {
	padding: 1em 1.5em;
    font-size: min(4.102555vw, 18px);
	color: var(--light-black);
    background: #F3F3F3;
    border-radius: 10px;
    margin-top: 15px;
    position: relative;
    margin: 15px auto 0;
	transition: .5s all;
	font-weight: 700;
    letter-spacing: 1px;
}
.pdf__list .modal-open figcaption:before,
.pdf__list .modal-open figcaption:after {
	transition: .5s all;
}
.modal-open{
	cursor: pointer;
}
.modal-container{
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	text-align: center;
	background: rgba(0,0,0,50%);
	padding: 40px 20px;
	overflow: auto;
	opacity: 0;
	visibility: hidden;
	transition: .3s;
    box-sizing: border-box;
}
.modal-container:before{
	content: "";
	display: inline-block;
	vertical-align: middle;
	height: 100%;
}
.modal-container.active{
	opacity: 1;
	visibility: visible;
}
.modal-body{
	position: relative;
	display: inline-block;
	vertical-align: middle;
	width: min(90%, 700px);
}
.modal-close{
	position: absolute;
	display: flex;
	align-items: center;
	justify-content: center;
	top: -1em;
	right: -1em;
	width: 1em;
	height: 1em;
	font-size: 2em;
	color: #fff;
	cursor: pointer;
}
.modal-content{
	padding: min(2.564vw, 15px);
}

.back__toppage {
	display: flex;
    text-align: center;
    color: var(--main-green);
    font-size: min(3.6vw, 16px);
    font-weight: 600;
    letter-spacing: 1px;
    border-bottom: 2px solid var(--main-green);
    margin: 20px auto;
    width: fit-content;
    padding-bottom: .3em;
    align-items: center;
    gap: 5px;
}
.back__toppage svg {
	fill: var(--main-green);
	height: 1.3em;
	transition: .3s all;
}


/* Modal Base */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100%;
  z-index: 100;
}
.modal-bg {
  position: absolute;
  height: 100vh;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 101;
}

/* Modal Content */
.modal-content {
  position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 102;
    width: min(90%, 1170px);
	
}
		
.modal-inner {
	overflow: scroll;
    margin: 0 auto;
    height: calc(100vh - 30vh);
	display: grid;
    place-items: center;
}

/* Close Button */
.btn_close {
	position: absolute;
    top: max(-3vw, -40px);
    right: max(-3vw, -40px);
    background-color: var(--main-green);
    border-radius: 50%;
    width: min(8vw, 40px);
    height: min(8vw, 40px);
    color: #FFF;
    font-size: min(4vw, 16px);
    text-decoration: none;
    line-height: 35px;
    z-index: 105;
    display: grid;
    place-items: center;
}

/*=========================
hover-animation for pc
=========================*/

@media (hover: hover) and (pointer: fine) {
	
.slider__bold::before {
  background: var(--main-green);
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  bottom: 0;
  margin: auto;
  transform: scale(0, 1);
  transform-origin: right top;
  transition: transform .5s;
  z-index: -1;
}
.slider a:hover .slider__bold {
  color: #fff;
}
.slider a:hover .slider__bold::before {
  transform-origin: left top;
  transform: scale(1, 1);
}
	.link__inner {
		cursor: pointer;
	}
	.link__inner:hover figcaption {
		color: var(--main-green);
	}
	.link__inner:hover img {
		transform: scale(1.05);
	}
	.link-banner__box a:hover img {
		transform: scale(1.05);
	}
	.pdf__list li:hover figcaption::before {
		background: #FFF;
		border: 1px solid var(--main-green);
		transform: scale(1.1);
		color: var(--main-green);
	}
	.pdf__list li:hover figcaption::after {
		background: var(--main-green);
		transform: scale(1.1);
	}
	.pdf__list li:hover figure div img {
		transform: scale(1.05);
	}
	.pdf__list li:hover figcaption {
		color: var(--main-green);
	}
	.back__toppage:hover svg {
	transform: translateX(-5px);
	}
}
	
@media (min-width: 768px) {
	.tb_display,
	.no-sp__display {
		display: block;
	}
	.sp_display {
		display: none;
	}
	.slider__wrap {
		flex-direction: row;
		align-items: center;
	}
	.slider__wrap:before {
		content: "";
		background: var(--main-green);
		position: absolute;
		top: 0;
		left: 0;
		width: 1em;
		height: 1em;
		clip-path: polygon(0 0, 100% 0, 0 100%);
	}
	.slider__wrap h2 {
		position: static;
		top: 0;
		left: 0;
		padding: 0;
		transform: translateX(0);
	}
	
	.slider a {
		column-gap: 20px;
		flex-direction: row;
		align-items: center;
	}
	.slider__bold {
		position: relative;
		z-index: 1;
		padding: 0 10px;
	}
	.movie {
		width: min(5vw, 50px);
		height: min(5vw, 50px);
	}
	.link__inner figure figcaption {
		font-size: min(1.7vw, 16px);
	}
	.link-banner__box {
		margin-top: 80px;
	}
	
	.pdf__list__wrap {
		margin: 60px auto;
	}
	.pdf__list {
		flex-direction: row;
		gap: min(6vw, 30px);
		margin-top: 60px;
	}
	.pdf__list h4 {
		margin: 0 auto 20px;
		padding: 5px 13px;
		border-radius: 10px;
}
	.pdf__list li {
		width: 100%;
	}	
}

@media (min-width: 1000px) {
	.link__inner {
		padding: 15px;
	}
	.link__inner figure figcaption  {
		margin-top: 15px;
	}
	.contents__wrap {
		padding-left: min(3vw, 30px);
		padding-right: min(3vw, 30px);
	}

}

@media (min-width: 1281px) {
	.column-wrap .main {
		width: 1280px;
	}
	.pc_display {
		display: block;
	}
	.tb_display {
		display: none;
	}
	.contents__message {
		font-size: 18px;
	}
}
