
#wrap{width: 100%;}

.sec_gnavi {
  width: 100%;
  max-width: 500px;
  margin:0 auto;
  padding:30px;
  font-size: 1.5rem;
}

.sec_gnavi_box {
  display: flex; /*子要素を横並びにするには、親要素に display: flex; を指定*/
/*display: inline-flex; インライン要素に使うのであれば、親要素に display: inline-flex; を指定*/
  flex-direction: row; /*子要素をどの方向に配置していくかを指定row-reverse column column-reverse*/
  flex-wrap: wrap; /*子要素が親要素の幅を超えてしまった場合、折り返して複数行に配置*/
  justify-content: space-around;/*親要素に空きスペースがあった場合、子要素を水平方向のどの位置に配置するかを指定*/
  align-items: center;/*親要素に空きスペースがあった場合、子要素を垂直方向のどの位置に配置するかを指定*/
  align-content: space-around;/*子要素が複数行に渡った場合の垂直方向の揃えを指定*/

}


#item_area{
  width: 100%;
  max-width: 1220px;
  margin: 10px auto;
  display: flex; /* flexbox */
	flex-wrap: wrap; /* 折返し指定 */
}

.sample1 {
	width:			280px;
	height:			188px;
	overflow:		hidden;
	margin:			10px 8px 10px 16px;
	position:		relative;	/* 相対位置指定 */
  display: flex;
}
.sample1 .caption {
	font-size:2rem;
    width: 100%;
    max-width: 150px;
    line-height: 2rem;
	text-align: center;
	padding:10px;
    margin:10px auto;
    border-bottom:1px solid #fff;
    background-color: none;
	color:#fff;
}
.sample1 p.con_txt {
	font-size:150%;
    line-height: 2rem;
	text-align: center;
	color:#fff;
}

.sample1 p.con_txt {
	font-size:150%;
    line-height: 2rem;
	text-align: center;
	color:#fff;
}
.sample1 .mask {
	width:			100%;
	height:			100%;
	position:		absolute;	/* 絶対位置指定 */
	top:			0;
	left:			0;
	opacity:		0;	/* マスクを表示しない */
	background-color:	rgba(0,0,0,0.4);	/* マスクは半透明 */
	-webkit-transition:	all 0.2s ease;
	transition:		all 0.2s ease;
}
.sample1:hover .mask {
	opacity:		1;	/* マスクを表示する */
}

.button {
    position: relative;
    width: 100%;
    max-width:150px;
    padding: .9em 1em;
    background-color: none;
    border: 1px solid #fff;
    color: #fff;
    margin: 10px auto;
    text-align: center;
    text-decoration: none;
  }
  .button a{color:#fff;}
  
  .button::after {
    position: absolute;
    top: 50%;
    right: .2em;
    content: '';
    margin-top: -5px;
    border: 7px solid transparent;
    border-top-width: 5px;
    border-bottom-width: 5px;
    border-left-color: #fff;
    transition: all .2s;
  }
  .button:hover::after {
    right: -.05em;
  }


  .slide_area{
    margin:10px auto 50px ;
  }



  #faci_amenities .faci {
    width: 90%;
    max-width: 750px;
    margin:30px auto;
    }
    
    .faci th,
    .faci td {
    border: 1px solid #ccc;
    padding: 20px;
    letter-spacing: 0.13rem;
    line-height: 2.6rem;
    
    }
    
    .faci th {
    font-weight: bold;
    background-color: #dedede; 
    width: 200px;

    }
    
    .faci td {
font-size: 1.6rem;

      }

    @media screen and (max-width: 640px) {
      tbody {
        width: 100%; margin:0 auto;}
  
        .faci th {width:30%;}
    }

    @media screen and (max-width: 480px) {



      tbody {
        width: 100%; margin:0 auto;}
   
        .faci th {
          width: 30%;
        }
    }
  #faci_amenities .caption{	width: 100%;
    max-width: 950px;
    margin:30px auto;font-size: 2rem; font-weight: bold; padding:15px; text-align: center;}



/* section_name */
#section_name{

    padding-top: 80px;
    margin-top: -80px;
}



.sec_tit{
    margin: 0 auto 50px;
    text-align:center;
	}




  .col2 {
    display: flex;
  }
  
  .col2 .item_box {
    width: calc(100% / 2);
 
  }
  .txt_area{
    padding:30px;
  }

  .item_tit{
font-size: 1.8rem;
letter-spacing: 0.1rem;

  }
  .txt{
    padding:30px 0;
  }

.gradient{
width: 100%;

}

.sec_gnavi {
  width: 100%;
  max-width: 700px;
  margin:0 auto;
  padding:30px;
  font-size: 1.5rem;
}

.sec_gnavi_box {
  display: flex; /*子要素を横並びにするには、親要素に display: flex; を指定*/
/*display: inline-flex; インライン要素に使うのであれば、親要素に display: inline-flex; を指定*/
  flex-direction: row; /*子要素をどの方向に配置していくかを指定row-reverse column column-reverse*/
  flex-wrap: wrap; /*子要素が親要素の幅を超えてしまった場合、折り返して複数行に配置*/
  justify-content: space-around;/*親要素に空きスペースがあった場合、子要素を水平方向のどの位置に配置するかを指定*/
  align-items: center;/*親要素に空きスペースがあった場合、子要素を垂直方向のどの位置に配置するかを指定*/
  align-content: space-around;/*子要素が複数行に渡った場合の垂直方向の揃えを指定*/

}



/**/
.item


.item1 { order: 2; }/*order任意の順で並べ替え*/
.item2 { order: 3; }
.item3 { order: 1; }

/*親要素に余ったスペースがあった場合、指定のある子要素が他の子要素に対してどれくらい伸びるかを指定*/
/*
.item2 { flex-grow: 3; }
.item1 { flex-grow: 2; }
.item3 { flex-grow: 1; }
*/
/*flex-grow と逆で、親要素に余ったスペースがなくすべての子要素が入り切らない場合、指定のある子要素が他の子要素に対してどれくらい縮むかを指定*/
/*
.item1 { flex-shrink: 2; }
.item2 { flex-shrink: 3; }
.item3 { flex-shrink: 1; }
*/

/*子要素に対し width と同じように幅の値を指定*/
.item1 { flex-basis: auto; }
.item2 { flex-basis: 200px; }
.item3 { flex-basis: 30%; }


/*親要素に空きスペースがあった場合、子要素を垂直方向のどの位置に配置するかを指定*/
/*
.item1 {
  align-self: flex-end;
}
*/



.card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin: 0 auto ;
}


.card_item{
  width:50%;
}
.madri_txt{
  width: 100%;
  font-size: 14px;
  line-height: 1.5;
  margin:0 0 30px 0;
  text-align: center;
}
.card-thumbnail {
  width: 100%;
}

.card-img {
    display: block;
    width: 100%;
    object-fit: cover;

}

.card-caption {

  width: 100%;
  font-size: 2.5rem;
  line-height: 1.5;
}

.card_tit{
  font-size: 2.5rem;
  padding:30px 30px 30px 30px;
  text-align: center;
}

.card_txt{
  font-size: 1.5rem;
  padding:0px 30px 50px 30px;
  text-align: left;
}


/* 偶数番目に登場する.cardは右から左に要素が配置されるようにする */

.card:nth-child(even) {
  flex-direction: row-reverse;
}


/*btn基本*/

.btn,
a.btn,
button.btn {
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.5;
  position: relative;
  display: inline-block;
  padding: 1rem 4rem;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
  text-align: center;
  vertical-align: middle;
  text-decoration: none;
  letter-spacing: 0.1em;
  color: #212529;
  border-radius: 0.5rem;
}
/*////////btn基本*/

/*btn基本*/

.btn_area{
  width: 100%;
  margin:0 auto;

}

a.btn-border {
  border: 2px solid #000;
  border-radius: 0;
  background: #fff;
  display: inline-flex;
align-items: center;
}

a.btn-border:hover {
  color: #fff;
  background: #000;
}

@media screen and (max-width:480px) {
  .card {
    display:block;
  }

  .card_item{
    width:100%;
  }
}

table.table02 {
	width:90%;
	max-width: 900px;
	margin:10px auto 0px;
	border-right:#dedede solid 1px;
	border-collapse: collapse;
  border-top:#dedede solid 1px;
}
table.table02 thead th {
	background:#dedede;
	color:#000;;
	padding:10px 15px;
	border-right:#FFF solid 1px;
	border-bottom:#FFF solid 1px;
  border-top:#FFF solid 1px;
}
table.table02 thead th:last-child {
	border-right:#dedede solid 1px;
}
table.table02 tbody th {
	background:#dedede;
	color:#000;
	padding:10px 15px;
	border-bottom:#FFF solid 1px;
  font-size: 16px;
    line-height: 2.5rem;
    margin: 0 auto;
    text-align: center;
    padding: 20px;
    letter-spacing: 0.1rem;
}
table.table02 tbody tr:last-child th {
	border-bottom:#dedede solid 1px;
}
table.table02 tbody td {
	background:#FFF;
	border-left:#dedede solid 1px;
	border-bottom:#dedede solid 1px;
  font-size: 16px;
  line-height: 2.5rem;
  margin: 0 auto;
  text-align: left;
  padding: 20px;
  letter-spacing: 0.1rem;
}

table.table02 tbody td p{
	text-align: left;
}
 
@media screen and (max-width: 640px) {
table.table02 thead {
	display:none;
}
table.table02 tbody th {
	display:block;
}
table.table02 tbody td {
	display:block;
}
table.table02 tbody td::before {
	content: attr(label);
	float: left;
	clear:both;
	font-weight:bold;
}

}


/* Media Queries */
/* Card sizing */
/* Colors */
/* Calculations */
/* Placeholders */
@media (min-width: 1000px) {
  #timeline .demo-card:nth-child(even) .head::after, #timeline .demo-card:nth-child(odd) .head::after {
    position: absolute;
    content: "";
    width: 0;
    height: 0;
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
  }

  #timeline .demo-card:nth-child(even) .head::before, #timeline .demo-card:nth-child(odd) .head::before {
    position: absolute;
    content: "";
    width: 9px;
    height: 9px;
    background-color: #a14545;
    border-radius: 9px;
    box-shadow: 0px 0px 2px 8px #f7f7f7;
  }
}
/* Some Cool Stuff */
.demo-card:nth-child(1) {
  order: 1;
}

.demo-card:nth-child(2) {
  order: 5;
}

.demo-card:nth-child(3) {
  order: 2;
}

.demo-card:nth-child(4) {
  order: 6;
}

.demo-card:nth-child(5) {
  order: 3;
}

.demo-card:nth-child(6) {
  order: 7;
}

.demo-card:nth-child(7) {
  order: 4;
}

.demo-card:nth-child(8) {
  order: 8;
}
#timeline {
  box-sizing: border-box;
  padding: 100px 0;
  background: none;
 /* border-top: 1px solid rgb(153, 21, 21);
  border-bottom: 1px solid rgba(191, 191, 191, 0.4);*/
}
#timeline h1 {
  text-align: center;
  font-size: 3rem;
  font-weight: 200;
  margin-bottom: 20px;
}
#timeline p.leader {
  text-align: center;
  max-width: 90%;
  margin: auto;
  margin-bottom: 45px;
}
#timeline .demo-card-wrapper {
  position: relative;
  margin: auto;
}
@media (min-width: 1000px) {
  #timeline .demo-card-wrapper {
    display: flex;
    flex-flow: column wrap;
    width: 1170px;
    height: 2700px;
    margin: 0 auto;
  }
}
#timeline .demo-card-wrapper::after {
  z-index: 1;
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  border-left: 2px solid #580101;
}
@media (min-width: 1000px) {
  #timeline .demo-card-wrapper::after {
    border-left: 2px solid #580101;
  }
}
#timeline .demo-card {
  position: relative;
  background-color:#fff;
  display: block;
  margin: 10px auto 80px;
  max-width: 94%;
  z-index: 2;
}
@media (min-width: 480px) {
  #timeline .demo-card {
    max-width: 80%;
  
}

#timeline .demo-card .body p{
  text-align: left;
}

#timeline .demo-card .body .flow_img{
  display: block;
  width: 300px;
  height: 300px;
  object-fit: cover;
  border-radius: 50% 50%;
  margin: 0 auto;
  text-align: center;
}
}
@media (min-width: 720px) {
  #timeline .demo-card {
    max-width: 60%;
  }
}
@media (min-width: 1000px) {
  #timeline .demo-card {
    max-width: 450px;
    height: 100%;
    max-height: 470px;
    margin: 90px;
    margin-top: 45px;
    margin-bottom: 100px;
  }
  #timeline .demo-card:nth-child(odd) {
    margin-right: 45px;
  }
  #timeline .demo-card:nth-child(odd) .head::after {
    border-left-width: 15px;
    border-left-style: solid;
    left: 100%;
  }
  #timeline .demo-card:nth-child(odd) .head::before {
    left: 491.5px;
  }
  #timeline .demo-card:nth-child(even) {
    margin-left: 45px;
  }
  #timeline .demo-card:nth-child(even) .head::after {
    border-right-width: 15px;
    border-right-style: solid;
    right: 100%;
  }
  #timeline .demo-card:nth-child(even) .head::before {
    right: 489.5px;
  }
  #timeline .demo-card:nth-child(2) {
    margin-top: 230px;
  }
}
#timeline .demo-card .head {
  position: relative;
  display: flex;
  align-items: center;
  color: rgb(153, 121, 32);
  font-weight: 400;
  padding:30px 0 0 0;

}
#timeline .demo-card .head .number-box {
  display: inline;
  float: left;
  margin: 15px;
  font-size: 2rem;
  font-weight: 600;
}
#timeline .demo-card .head h2 {
  text-transform: uppercase;
  font-size: 1.3rem;
  font-weight: inherit;
  letter-spacing: 2px;
  margin: 15px;

}
@media (min-width: 480px) {
  #timeline .demo-card .head h2 {
    font-size: 2.5rem;


  }
}

#timeline .demo-card .head h2 span {
  display: block;
  font-size: 0.6rem;
  margin: 0;
}


@media (min-width: 480px) {
  #timeline .demo-card .head h2 span {
    font-size: 0.8rem;
  }
}
#timeline .demo-card .body {

  border-top: 0;
  padding: 15px;
}
@media (min-width: 1000px) {
  #timeline .demo-card .body {
    height: 315px;
  }
}

#timeline .demo-card .body .flow_img{
  display: block;
  width: 280px;
  height: 280px;
  object-fit: cover;
  border-radius: 50% 50%;
  margin: 0 auto;
  text-align: center;
}
#timeline .demo-card--step1 {
  background-color: #fff;
}
#timeline .demo-card--step1 .head::after {
  border-color:#fff;
}
#timeline .demo-card--step2 {
  background-color:#fff;
}
#timeline .demo-card--step2 .head::after {
  border-color:#fff;
}
#timeline .demo-card--step3 {
  background-color:#fff;
}
#timeline .demo-card--step3 .head::after {
  border-color:#fff;
}
#timeline .demo-card--step4 {
  background-color:#fff;
}
#timeline .demo-card--step4 .head::after {
  border-color:#fff;
}
#timeline .demo-card--step5 {
  background-color:#fff;
}
#timeline .demo-card--step5 .head::after {
  border-color:#fff;
}