body {
font-family: '游明朝','Yu Mincho',YuMincho,'Hiragino Mincho Pro',serif!important;
}
div {display: block;}
img {max-width:100%;
height: auto;
vertical-align:bottom;
margin: 0 auto;}


.wrapper {  
display: flex;
flex-direction: column;
width: 100%;  
min-height: 100vh; 
background-color:#ffffff;}  

.header-rap{
background-color:#222222;
}
.header {
display: flex;	
flex-direction: row;
align-items: center;
justify-content:space-between;
height: 80px;
max-width:1024px;
margin:0 auto;
color:#ffffff;}  

.gnav{
    display: flex;
	}
.gnav a{
    display: block;
    padding: 10px;
	font-weight:bold;}

.main{  
display: flex;
flex-direction: column;
height:100%;
width: 100%;}  

.wrap-b {  
background-color:#ffffff;
padding-top: 3em;
padding-bottom: 5em;
} 

.wrap-a {  
background-color:#f5f5f5;
padding-top: 3em;
padding-bottom: 5em;
} 

.container{
max-width:1024px;
margin:0 auto;
text-align:center;
}

.wrap1 {
  height: 400px;
  width: 100%;
  background-image:url("img/topbnr.png"), url("img/bg1.png"), linear-gradient(180deg, rgba(250, 0, 0, 1), rgba(10, 0, 0, 1));
  background-repeat: no-repeat, repeat, no-repeat;
  background-position:center,left,bottom;	
} 

.grid-info{
  display: grid;
  grid-template-columns:1fr 1fr 1fr 1fr;
  margin-bottom:2em;
  row-gap:2em;
  }


.old a {
	margin:0 auto;
	display: flex;
	justify-content: center;
	align-items: center;
	position: relative;
	width: 200px;
	height: 50px;
	color: #ffffff;
	background-color: #5E2020;
	  border-radius:5px;
}

.grid-member{
  display: grid;
  grid-template-columns:1fr 1fr 1fr 1fr;
  margin-bottom:2em;
  row-gap:2em;
  }
.name{
font-weight:bold;
}
.rabel-r{
    display: inline-block;
	padding:0 .5em;
    margin:5px;
    border: none;
    border-radius: 5px;
    background-color: #aa1313;
    color: #fff;
}
.rabel-b{
    display: inline-block;
	padding:0 .5em;
    margin:5px;
    border: none;
    border-radius: 5px;
    background-color: #004475;
    color: #fff;
}
.rabel-g{
    display: inline-block;
	padding:0 .5em;
    margin:5px;
    border: none;
    border-radius: 5px;
    background-color: #686868;
    color: #fff;
}

.grid-member2{
  display: grid;
  grid-template-columns:1fr 1fr 1fr 1fr 1fr;
  margin-bottom:2em;
  row-gap:2em;
  }

.readmore {
  position: relative;
  margin: 50px auto 0;
  padding: 0 0 75px;
}
.readmore label {
  position: absolute;
  display: table;
  left: 50%;
  bottom: 0;
  margin: 0 auto;
  width: 200px;
  padding: 10px 0;
  color: #fff;
  text-align: center;
  border-radius:5px;
  background-color: #5E2020;
  transform: translateX(-50%);
  cursor: pointer;
  z-index: 1;
}
.readmore label::before{
  content: '続きを見る';
}
.readmore input[type="checkbox"]:checked ~ label::before {
  content: '元に戻す';
}
.readmore input[type="checkbox"]{
  display: none;
}
.readmore-content {
  position: relative;
  height: 70px;
  overflow: hidden;
}
.readmore input[type="checkbox"]:checked ~ .readmore-content {
  height: auto;
}

.map-wrap {
  max-width: 50%; 
  margin:0 auto;
}
.map {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    height: 0;
}

.map iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}


.footer { 
background-color:#222222;
color:#ffffff;
width: 100%;
text-align: center;  
height:120px;
padding-top:1em;}  
.fnav{
display: flex;
flex-direction: row;
justify-content: center;}
.fnav a{
color:#ffffff;
display: block;
padding: 10px;
}



h1{font-weight:bold;}

h2 {
font-size:1.5em;
font-weight:bold;
position: relative;
padding: 1rem .5rem;
margin-bottom:1em;
}

h2:after {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 5px;
  content: '';
  background-image: -webkit-gradient(linear, left top, right top, from(#222222), to(#fa4141));
  background-image: -webkit-linear-gradient(left, #222222 0%, #fa4141 100%);
  background-image: linear-gradient(to right, #222222 0%, #fa4141 100%);
}

h3 {
font-size:1.5em;
font-weight:bold;
padding: .5rem;
margin-bottom: 1em;
border-bottom: 1px solid #222222;
display: inline-block;
}


/**スマホ用配置変更**/
@media screen and (max-width : 768px) {
body{font-size:14px;
}
img {max-width:70%;
}
.header-rap{
padding-top:1em;
}
.header {
flex-direction:column;
justify-content:center;
height: 100px;}	
.gnav{
}
.wrap-a,.wrap-b{
padding-left: 1em;
padding-right: 1em;
} 

.wrap1 {
  height: 250px;
  width: 100%;
  background-image:url("img/topbnr-sp.png"), url("img/bg1.png"), linear-gradient(180deg, rgba(170, 0, 0, 1), rgba(10, 0, 0, 1));
} 

.mb-left{text-align:left;}

.grid-info{
  display: grid;
  grid-template-columns:1fr 1fr;
  gap:1em;
  }
.grid-member{
  display: grid;
  grid-template-columns:1fr 1fr;
  }
.grid-member2{
  grid-template-columns:1fr 1fr 1fr;
  row-gap:1em;
  }
  
 .map-wrap {
  max-width: 90%; 
}
 
.footer { 
height:120px;
padding-top:1em;}  




}
	
