/*インデックス*/
.index_wrp {
  margin: 0 auto;
  letter-spacing: 0.05em;
}
h1 {
  font-size: 30px;
  text-align: center;
  margin: 60px 0 30px;
}
.lead {
  text-align: center;
  line-height: 1.6em;
}
.lead a {
  border-bottom: 1px #3463FD solid;
  color: #3463FD;
  padding-bottom: 3px;
}
.link_box a {
  padding: 10px 20px;
  width: 500px;
  border: 1px solid #000;
  margin-bottom: 30px;
  text-align: center;
  margin: 30px auto;
  display: block;
  color: #000;
}
.link_box a:hover {
  background-color: #000;
  color: #fff;
}
.caution{
	text-align: center;
}
/*インデックスここまで*/
html{
background-color: #504E4E;
}

.wrp{
width: 1200px;
height: auto;
margin: 0 auto;
}

.wrp img{
/*display: block;*/
width: 100%;
height: auto;
margin: 0 auto;
}

.top_box{
width: 100%;
background-color: #504E4E;
position: sticky;/*固定する*/
position: -webkit-sticky;/*Safari用ベンダープレフィックス*/
top: 0;/*ブラウザの上からの距離はゼロ*/
}

.top_box p{
box-sizing: border-box;
width: 1200px;
font-size: 16px;
color: #fff;
padding: 10px 20px;
margin: 0 auto;
background-color: #504E4E;
	text-align: center;
}

.top_box p a{
font-size: 16px;
color: #fff; 
}


.bottom_box{
width: 100%;
height: 177px;
background-color: #d1d1d1;
position: sticky;/*固定する*/
position: -webkit-sticky;/*Safari用ベンダープレフィックス*/
bottom: 0;
box-sizing: border-box;
}

.upper_box{
width: 1200px;
margin: 0 auto;
text-align: center;
font-size: 16px;
background-color: #E5E4E5;
padding: 15px 0;
}

.next_prev_wrp{
/*position: relative;*/
box-sizing: border-box;
width: 1200px;
height: 126px;
color: #fff;
margin: 0 auto;
}

.in_bottom_box{
width: 1200px;
height: 126px;
color: #fff;
margin: 0 auto;
}

.in_bottom_box p{
box-sizing: border-box;
width: 1200px;
font-size: 16px;
color: #fff;
/*margin: 0 auto;*/
text-align: center;
line-height: 1.8;
}

.in_bottom_box p a{
color: #fff;
border-bottom: solid 1px #fff;
text-underline-offset: 2px;
cursor: pointer;
}

.out_scroll_all_box{
width: 1200px;
overflow: hidden;
}

.in_scroll_all_box{
transition: all 0.5s;
margin-left: 0px;
height: 126px;
display: table;
vertical-align: middle;
table-layout: fixed;
}

.s_in_box{
width: 1200px!important;
display: table-cell;
table-layout: fixed;
vertical-align: middle;
background-color: #504E4E;
}

.seni_wrp{
text-align: center;
width: 1200px;
}

.seni_wrp p{
display: inline;
border-bottom: solid 1px #fff;
text-underline-offset:2px;
cursor: pointer;
}

.seni_wrp p:last-of-type{
margin-left: 20px;
}

.seni_wrp p:first-of-type{
margin-left: 0px;
}

.seni_wrp p a{
color: #fff;
}

/*インデックス　レスポンシブ設定*/
@media screen and (max-width: 600px) {

.top_box p {
    width: 100%;
}

.index_wrp{
width: 90%;
}

h1{
margin-top: 40px;
font-size: 24px;
}

.link_box a{
display: block;
width: 90%;
}

.lead{
font-size: 12px;
}

.link_box a{
font-size: 13px;
}

}
/*インデックス　レスポンシブ設定*/