@charset "utf-8";
/* CSS Document */
body {
	background-color: #f5f5f5;
	overflow-y: auto;
}

.noscroll {
	overflow-y: hidden;
}

.yell-wrap {
	padding-top: 40px;
}

.yell-mv {
	background-size: cover;
	background-repeat: no-repeat;
	position: relative;
	width: 100%;
	height: 600px;
	background-position: center;
}

.yell-mv .ballon {
	position: absolute;
	margin: auto;
	right: 0;
	left: 0;
	bottom: 100px;
	animation-name: fuwafuwa;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
    animation-direction: alternate;
    animation-duration: 1.5s;
}

.yell-mv .ob {
	z-index: 3;
	position: absolute;
	bottom: 0;
	right: 0;
	left: 0;
	margin: auto;
}

.jhsyell-mv {
	background-image: url("../img/yell-mvbg.jpg");
}

.hsyell-mv {
	background-image: url("../img/yell-hsbg.jpg");
}


@keyframes fuwafuwa {
    0% {
        transform: translate(0,0px);
    }

    100% {
        transform: translate(0,-15px)
    }
}

.megaphone {
	vertical-align: middle;
	padding-right: 8px;
}

.yell-h2 {
	font-size: 20px;
	font-weight: bold;
	width: 1080px;
	margin: 0 auto 24px;
	text-align: center;
}

.yell-h2 img {
	width: 48px;
}

.yell-alltext {
	display: none;
	width: 100%;
	height: 100%;
	z-index: 11;
	background-color: rgba(255,255,255,0.7);
	margin: auto;
	position: fixed;
	margin: auto;
	top: 0;
	bottom: 0;
	right: 0;
	left: 0;
	font-size: 16px;
	}
	
.close-bt {
	position: fixed;
	content: url("../img/SVG/close-bt.svg");
	font-size: 50px;
	color: #fff;
	width: 44px;
	height: auto;
	top: 23px;
    right: 8.5vw;
	cursor: pointer;
	z-index: 20;
	}	
	
.yell-modal {
	background-color: #fff;
	color: #000;
	width: 80%;
	margin: auto;
	position: fixed;
	margin: auto;
	top: 40px;
	right: 0;
	left: 0;
	box-sizing: border-box;
	padding: 40px 20px;
	z-index: 3;
	max-height: calc(100vh - 100px); /* モーダルウィンドウが画面の縦（+余白）より大きくなった際の対処のため指定 */
  	overflow-y: scroll;              /* max-heightを超えたらスクロールになるよう指定 */
	border: 3px solid #333;
	border-radius: 20px;
	}

.yell-modal ::-webkit-scrollbar {
    width: 10px;
}
 
.yell-modal ::-webkit-scrollbar-track {
    background-color: darkgrey;
}
 
.yell-modal ::-webkit-scrollbar-thumb {
    box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
}

.yell-modal section {
	position: relative;
}

.yell-modal section div:first-child {
	display: flex;
	justify-content: space-between;
	align-items: center;
	border-bottom: 2px solid #333;
	padding-bottom: 12px;
	margin-bottom: 20px;
}

.yell-modal section div:first-child h3 {
	font-weight: bold;
	font-size: 16px;
	white-space: nowrap;
}

.yell-modal section div:first-child span {
	vertical-align: middle;
}

.yell-modal section div:first-child img {
	vertical-align: middle;
	padding-left: 4%;
}

.yell-section {
	width: 1080px;
	margin: 0 auto 80px;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: flex-start;
	letter-spacing: -0.1em;
	font-family: 'Kiwi Maru',"Yu Gothic", "游ゴシック", YuGothic, "游ゴシック体", "ヒラギノ角ゴ Pro W3", "メイリオ", sans-serif;
}

.yell-shorttext {
	margin: auto;
}

.yell-article {
	flex-basis: 340px;
	padding: 20px;
	position: relative;
  display: inline-block;
  margin: 1.5em 0;
  min-width: 120px;
  max-width: 100%;
  color: #333;
  font-size: 16px;
  background: #FFF;
  border: solid 3px #333;
  box-sizing: border-box;
	cursor: pointer;
	border-radius: 12px;
	transition : all 0.8s ease 0s;
	margin-bottom: 60px;
}

.yell-section > div:nth-child(n + 4) {
	/* 最初に隠しておく記事数 +1なので注意 */
	opacity: 0;
	margin-top: 100px;
	padding: 0px;
	/*transform : translate(0, 100px);
    transition : all 1000ms;*/
}

.yell-section > div:nth-child(3n + 2) {
transition-delay: 0.2s;
}

.yell-section > div:nth-child(3n + 3) {
transition-delay: 0.4s;
}

.yell-opacity {
	opacity: 1!important;
	margin-top: 0px!important;
	padding: 20px!important;
}


.yell-article-inlineblock {
	opacity: 1!important;
}

.yell-article:before {
  content: "";
  position: absolute;
  bottom: -24px;
  left: 50%;
  margin-left: -15px;
  border: 12px solid transparent;
  border-top: 12px solid #FFF;
  z-index: 2;
}

.yell-article:after {
  content: "";
  position: absolute;
  bottom: -30px;
  left: 50%;
  margin-left: -17px;
  border: 14px solid transparent;
  border-top: 14px solid #555;
  z-index: 1;
}

.bottom-closebt {
	text-align: center;
	margin: 40px auto 0px;
}

.yell-title {
	padding-bottom: 8px;
	margin-bottom: 12px;
	border-bottom: 3px solid #333;
	font-weight: bold;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.yell-title div:first-child {
	vertical-align: middle;
	padding-right: 4%;
	font-size: 18px;
}

.yell-title img {
	vertical-align: middle;
}

.yell-school {
	margin-top: 12px;
	text-align: right;
}

.yell-school span {
	vertical-align: middle;
}

.yell-contact {
	background: #1ca4e0;
}

.yell-contact .top-mail-bt a {
	color: #1ca4e0;
}

.yell-contact .top-mail-bt a:hover {
	color: #1ca4e0;
	background-color: #fedc5e;
}

.yell-banner {
	width: 1080px;
	margin: 0 auto 80px;
}

.yell-banner a {
	vertical-align: bottom;
}

.yell-banner img {
	vertical-align: bottom;
}

.yell-banner a:first-child {
	margin-right: 20px;
}
/* allcss */

@media only screen and (max-width: 1024px) {
/* タブレット対応 */
.yell-section > div:nth-child(3n + 2) {
	transition-delay: 0.2s;
}

.yell-section > div:nth-child(3n + 3) {
	transition-delay: 0.2s;
}	
	
.yell-section {
	width: 90%;
	margin: 0 auto 8%;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: flex-start;
}
	
.yell-h2 {
	width: 90%;
	font-size: 16px;
	display: block;
	text-align: left;
	align-items: center;
}
	
.yell-h2 span {
	display: block;
	}

.yell-h2 strong {
	display: block;
	text-align: center;
	margin-bottom: 2%;
	}	
	
.yell-h2 img {	
	height: auto;
	width: 48px;
}

.yell-article {
	flex-basis: 100%;
	padding: 16px;
	position: relative;
  display: inline-block;
  margin: 1.5em 0;
  min-width: 120px;
  max-width: 100%;
  color: #333;
  font-size: 16px;
  background: #FFF;
  border: solid 3px #333;
  box-sizing: border-box;
	cursor: pointer;
	border-radius: 12px;
	transition : all 0.8s ease 0s;
}

.yell-section > div:nth-child(n + 5) {
	/* 最初に隠しておく記事数 +1なので注意 */
	opacity: 0;
	/*transform : translate(0, 100px);
    transition : all 1000ms;*/
}

.yell-opacity {
	opacity: 1!important;
}
	
.close-bt {
	position: absolute;
	content: url("../img/SVG/close-bt.svg");
	font-size: 50px;
	color: #fff;
	width: 44px;
	height: auto;
	top: 4vw;
    right: 0;
	left: 0;
	margin: auto;
	z-index: 30;
	}
	
.yell-modal {
	background-color: #fff;
	color: #000;
	width: 90%;
	margin: auto;
	position: fixed;
	margin: auto;
	top: 40px;
	right: 0;
	left: 0;
	box-sizing: border-box;
	padding: 80px 20px 20px;
	z-index: 3;
	max-height: calc(100vh - 100px); /* モーダルウィンドウが画面の縦（+余白）より大きくなった際の対処のため指定 */
  	overflow-y: scroll;              /* max-heightを超えたらスクロールになるよう指定 */
	border: 3px solid #333;
	border-radius: 20px;
	}
	
.jhsyell-mv {
	background-image: url("../img/yell-mvbg.jpg");
}

.hsyell-mv {
	background-image: url("../img/yell-hsbg.jpg");
}
	
.yell-mv .ob {
	top: auto;
	width: 100%;
}
	
.yell-mv .ballon {	
	width: 70%;
	height: auto;
}
	
.yell-banner {
	width: 90%;
	margin: 0 auto 8%;
}

.yell-banner a {
	vertical-align: bottom;
}

.yell-banner img {
	vertical-align: bottom;
	width: 100%;	
}

.yell-banner a:first-child {
	margin-right: 0px;
	margin-bottom: 40px;
}
	
}

@media only screen and (max-width: 620px) {
.yell-mv {
	height: 360px;
}	
	
.yell-mv img {
	width: 90%;
	height: auto;
	top: 10vw;
    bottom: 0;
}
	
.yell-mv .ballon {	
	width: 80%;
	height: auto;
	bottom: 0vh;
}
	
}