.ebbnnerflex{ display:flex;justify-content: center;
  align-items: center;}

.blur{
  -ms-filter: blur(6px);
  filter: blur(6px);
}
  
.ebhd{
    font-size:20px;
    margin-bottom:20px;
}

.ebbnnerimg{max-width:340px; box-shadow:inset 0 0 15px 15px gray;text-align:left;}
.ebcop{display:inline-block; font-weight:bold; font-size:28px; padding-top:20px;margin-left:20px;vertical-align:middle; }
.blur{
  -ms-filter: blur(6px);
  filter: blur(6px);}

.ebttl{
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp:2;
  height:40px;
  font-size: 1em;
  font-weight: bold;
  text-align:start;
  line-height:120%;
  margin-bottom:4px;}

@media screen and (max-width: 380px) {
.ebttl{
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp:2;
  height:36px;
  font-size: 0.9em;
  font-weight: bold;
  text-align:start;
  line-height:110%;
  margin-bottom:4px;}
}

.ebsubttl{
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  height:34px;
  text-align:start; line-height:120%; font-size: 0.9em;margin-top:0.5em;}

.ebgrad{
  font-size: 0.9em;
  text-align:start;
  line-height:120%;
  display: inline-block;
  position: relative;
  height: 3em;
  overflow: hidden;	}

.ebgrad:before{
 content: "";
  position: absolute;
  border-style: none;
  text-align:left;
  left: 0;
  bottom: 0;
  z-index: 2;
  width: 100%;
  height: 2.8em;
  background: linear-gradient(rgba(255,255,255,0) 0, #fff 2.9em);   
}
/*fade*/

.fadeUp{
animation-name:fadeUpAnime;
animation-duration:0.5s;
animation-fill-mode:forwards;
opacity:0;
}
@keyframes fadeUpAnime{
  from {
    opacity: 0;
  transform: translateX(20px);
  }

  to {
    opacity: 1;
  transform: translateY(0);
  }
}


/**box*****/

/*@media screen and (min-width: 769px) {*/
.blockcont{
    box-sizing:border-box;
	width:100%;
	display: flex;
	flex-wrap: wrap;
	gap:1%;
    align-items:stretch;
}
.ebblockitem{
  width: calc(100%/4 - 2%);
  text-decoration:none;
  align-items: flex-end;
  margin-top:1em;
  }
.ebblockitem > a {
  text-decoration:none;
  }

.ebimgbox{ 
    height: 251px;
    text-align:center;
    vertical-align:bottom;
    position: relative;
    box-sizing:border-box;}

.ebimg{
    text-align:center;
    width:auto;
    max-height:250px; 
    box-shadow: 0 2px 3px 0 rgba(0, 0, 0, .5);
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    margin: auto;
    }
.ebcate{
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp:2;
  height:2em;
  background-color: #000;
  display: block;
  vertical-align:middle;
  color: #fff;
  padding:0.6em;
  box-shadow: inset 0px 0px 3px 0px rgba(0, 0, 0, 0.5);
  font-family: 'Noto Sans JP', sans-serif;}

.ebcontbox{
   max-width:100%;
   box-sizing:border-box;
   box-shadow: inset 0px 0px 3px 0px rgba(0, 0, 0, 0.5);
   text-align:center;
   text-decoration:none;
   color: #000;
   padding:1em 0.4em 0.5em 0.4em;}
   
.ebdate{
	text-align:right;
	font-size:0.7em; 
	margin-top:0.8em;
	font-weight:200;}
.ebcont{  
   box-sizing:border-box;
   padding:1em 0em;}

.ebmain{  
   font-size:1rem;
   line-height:160%;
   color: #000;
   font-family: 'Noto Sans JP', sans-serif; }
/*}*/
.mgr20{margin-right:20px;}
.btnbox{text-align:center;}


button.eberbtn{padding:10px;width:40%; margin:0 auto;}
@media screen and (max-width: 768px) {
    button.ebbtn{padding:10px;width:80%;}
}

@media screen and (max-width: 768px) {
.blockcont{
    box-sizing:border-box;
	width:100%;
	display: flex;
	flex-wrap: wrap;
	gap:1%;}
    
.ebblockitem{
  width: calc(100%/2 - 2%);
  text-decoration:none;
  align-items: flex-end;
  align-self: center;
  justify-content: space-between;
  margin-top:1em; }

.ebimgbox{
    text-align:center;
    height:220px;
    vertical-align:bottom;
    position: relative;}
.ebimg{
    max-height:100%;}

.ebcate{
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp:2;
  height:2em;
  background-color: #000;
  font-size:0.9em;
  display: block;
  color: #fff;
  vertical-align:middle;
  padding:1em 0.5em;
  box-shadow: inset 0px 0px 3px 0px rgba(0, 0, 0, 0.5);
  font-family: 'Noto Sans JP', sans-serif;}

.ebcontbox{
   max-width:100% !important;
   box-sizing:border-box;
   box-shadow: inset 0px 0px 3px 0px rgba(0, 0, 0, 0.5);
   text-align:center;
   text-decoration:none;
   color: #000;
   padding:1em 0.4em 0.5em 0.4em;}
   
.ebdate{
	text-align:right;
	font-size:0.7em; 
	margin-top:0.8em;
	font-weight:200;}
.ebcont{  
   box-sizing:border-box;
   padding:1em 0em;}
   
}



@media screen and (max-width: 428px) {
.ebimg{
    max-height:100%;
    box-shadow: 0 2px 3px 0 rgba(0, 0, 0, .5);
    position:absolute;
    left:2%;
    bottom:0;}
}
@media screen and (max-width: 380px) {
.ebimg{
    max-height:100%;
    box-shadow: 0 2px 3px 0 rgba(0, 0, 0, .5);
    position:absolute;
    left:0;
    bottom:0;}
}
/*****  modal  ******/
.modal_wrap input {
  display: none;
}
.modal_overlay {
  display: flex;
  justify-content: center;
  overflow: auto;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  opacity: 0;
  transition: opacity 0.5s, transform 0s 0.5s;
  transform: scale(0);
}

.modal_trigger {
  position: absolute;
  width: 100%;
  height: 100%;
}

.modal_content {
/*  align-self: center;*/
    align-self:baseline;
    width: 40%;
    height:auto;
    margin-top:10px;
    padding: 30px 30px 15px;
    box-sizing: border-box;
    background: #fff;
    line-height: 1.4em;
    transition: 0.5s;
}
.modal_content p {
  padding-top: 0;
}

.md-btn{margin-bottom:-2em;}

@media screen and (max-width: 928px) {
.modal_content {
    align-self: center;
    width: 80%;
    height:auto;
    padding: 30px 30px 15px;
    box-sizing: border-box;
    background: #fff;
    line-height: 1.4em;
    transition: 0.5s;
    }
.modal_content p {
  padding-top: 0;
    }
}


.close_button {
  position: absolute;
  top: 14px;
  right: 16px;
  font-size: 24px;
  cursor: pointer;
}

.modal_wrap input:checked ~ .modal_overlay {
  opacity: 1;
  transform: scale(1);
  transition: opacity 0.5s;
}

.modal_wrap input:checked ~ .modal_overlay .modal_content {
  transform: translateY(20px);
}

.open_button {
    color: #000;
    background-color: #eeeeee;
    font-weight: bold;
    text-align: center;
    cursor :pointer;
    transition: all 0.3s;
    display: block;
    margin-top: 10px;
    margin-bottom: 1px;
    padding: 12px 2px;
    max-width:98%;
    text-decoration: none;
}

.ebimg:hover{
    opacity: 0.7;
}
.bkgc{
    background-color: #b8e6cc;
}
.bkgc:hover{
    opacity: 0.7;
}

.linkbtn{
    border-radius: 25px;
    background-color:  #add8e6;
}
.linkbtn:hover{
    opacity: 0.7;
}

.open-button:active {
  -webkit-transform: translateY(2px);
  transform: translateY(2px);/*下に動く*/
}
.open-button:after {
    font-family: "Font Awesome 5 Free";
    content: "\f2d0";
    padding-left: 8px;
}
.open-button:hover {
  color: #FFFFFF;
  background-color: #4f96f6;
  transition: .6s;
}
.ebttl2{
  font-size: 1em;
  font-weight:bold;
  padding-bottom: 10px;
  }
.ebsubttl2{
  font-size: 0.9em;
}  
.modal_title2 {
  font-size: 1.6em;
  position: relative;
  overflow: hidden;
  line-height:120%;
  padding-bottom: 10px;
  margin-top:16px;
  margin-bottom: 0;
}

.modal_title2::before,
.modal_title2::after{
	content: "";
	position: absolute;
	bottom: 0;
}

.modal_title2:before{
	border-bottom: 4px solid #0C6374;
	width: 100%;
}
.modal_title2:after{
	border-bottom: 4px solid #CDD1D0;
	width: 100%;
}

.ebimg-mo{width:80%;text-align:center; box-shadow: 1px 2px 3px 0 rgba(0, 0, 0, .5);}

