body {
  background-color: #fff;
  font-family: "Helvetica Neue Light", "Helvetica Neue", Arial, sans-serif;
  padding-top: 0px;
}

.index-sx {
 margin: 60px 0 0 0;
 background: #fff; /*背景色*/
 width:100%;
 height:100%;
 
}

.douguten-index {
 padding: 10px 5px 10px 5px;
 margin: 20px 0;
 color: #2c2c2f;
}

.index-sx h2 {
font-size: 20px;
width: 90%;
position: relative;
color: #333333;
text-shadow: 0 0 2px white;
}
.index-sx h2:before {
content: "";
position: absolute;
background: #ffa7a1;
width: 30px;
height: 30px;
border-radius: 50%;
top: 50%;
/* border: dashed 1px white; */
left: -5px;
-moz-transform: translateY(-50%);
-webkit-transform: translateY(-50%);
-ms-transform: translateY(-50%);
transform: translateY(-50%);
z-index: -1;
}

.douguten-index h3{
 color: #505050;/*文字色*/
 padding: 0.5em;/*文字周りの余白*/
 display: inline-block;/*おまじない*/
 line-height: 1.3;/*行高*/
 background: #dbebf8;/*背景色*/
 vertical-align: middle;/*上下中央*/
 border-radius: 0px 25px 25px 0px;/*左側の角を丸く*/
 font-size: 14px;
 margin: 5px 0;
 width: 100%;
}

.douguten-index h3:after {
content: '●';
color: white;
margin-left: 8px;
}

.img-on {
  position: relative;
  box-shadow: -1px 1px 1px rgba(0, 0, 0, 0.15);
    -webkit-border-top-right-radius: 8px;  
    -webkit-border-top-left-radius: 8px;  
    -webkit-border-bottom-right-radius: 8px;  
    -webkit-border-bottom-left-radius: 8px;  
    -moz-border-radius-topright: 8px;  
    -moz-border-radius-topleft: 8px;  
    -moz-border-radius-bottomright: 8px;  
    -moz-border-radius-bottomleft: 8px;  
  }

.img-on h3 {
  position: absolute;
  bottom: 0;/*画像の左上に配置*/
  left: 0;
  width: 100%;
  margin: 0; /*余計な隙間を除く*/
  color: rgba(277,277,277,1);/*文字を白に*/
  background: rgba(0,0,0,0.3);/*背景色*/
  text-shadow: 1px 1px 1px #333;
  font-size: 12px;
  line-height: 1.4;/*行高は1に*/
  padding: 10px 10px 10px 10px;/*文字周りの余白*/
    -webkit-border-bottom-right-radius: 8px;  
    -webkit-border-bottom-left-radius: 8px;  
    -moz-border-radius-bottomright: 8px;  
    -moz-border-radius-bottomleft: 8px;  
  }

.img-on p {
  position: absolute;
  top: 0;/*画像の左上に配置*/
  left: 0;
  color: white;/*文字を白に*/
  background: rgba(255,127,127,0.9);/*背景色*/
  font-size: 10px;
  line-height: 1;/*行高は1に*/
  padding: 5px 10px;/*文字周りの余白*/  
    -webkit-border-top-left-radius: 8px;
    -moz-border-radius-topleft: 8px;  
  }

.img-on img {
  width: 100%;
  height: 160px;
  margin: 10px 0 10px 0; /*余計な隙間を除く*/
  object-fit: cover; /* この一行を追加するだけ！ */
    -webkit-border-top-right-radius: 8px;  
    -webkit-border-top-left-radius: 8px;  
    -webkit-border-bottom-right-radius: 8px;  
    -webkit-border-bottom-left-radius: 8px;  
    -moz-border-radius-topright: 8px;  
    -moz-border-radius-topleft: 8px;  
    -moz-border-radius-bottomright: 8px;  
    -moz-border-radius-bottomleft: 8px;  
  }

.video-on {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  padding: 10px 0 10px 0;
  height: 150px;
  background: #add6ff;/*背景色*/
  box-shadow: -1px 1px 1px rgba(0, 0, 0, 0.15);
    -webkit-border-top-right-radius: 8px;  
    -webkit-border-top-left-radius: 8px;  
    -webkit-border-bottom-right-radius: 8px;  
    -webkit-border-bottom-left-radius: 8px;  
    -moz-border-radius-topright: 8px;  
    -moz-border-radius-topleft: 8px;  
    -moz-border-radius-bottomright: 8px;  
    -moz-border-radius-bottomleft: 8px;  
}
  
.video-on-left {
position: absolute;
width: 45%;
height: 100%;
left: 0px;
}  
.video-on h3 {
position: relative;
color: white;/*文字を白に*/
font-size: 12px;
margin: 50px 0 10px 0;
}
.video-on p {
position: relative;
color: #fff;/*文字色*/
border: solid 3px #fff;/*線色*/
padding: 5px 30px 5px 30px;/*文字周りの余白*/
border-radius: 0.5em;/*角丸*/
font-size: 14px;
margin: 10px 0 10px 0;
width: 80%;
}
.video-on img {
position: absolute;
right: 20px;
width: 50%;
height: auto;
}


.index-top {
width: 350px;
height: auto;
margin-top: 20px;
margin-bottom: 30px;
}

.index-top-shoshinsha {
position: absolute;
right: 25px;
top: 225px;
width: 60px;
height: auto;
}

.index-logo {
width: 150px;
height: auto;
margin-top: 10px;
margin-bottom: 0px;
}

.books-unit-top {
width: 80%;
height: auto;
margin-top: 30px;
margin-bottom: 10px;
}

.books-unit-day {
font-size: 12px;
color: gray;
margin-bottom: 30px;
}

.books-unit-btn{
    display: inline-block;
    margin: 0px 10px 10px 10px;
    padding: 10px 25px;
    font-size: 16px;
	border-radius: 25px;
    text-decoration: none;
    color: #FFF;
    background-image: -webkit-linear-gradient(45deg, #FFC107 0%, #ff8b5f 100%);
    background-image: linear-gradient(45deg, #FFC107 0%, #ff8b5f 100%);
    transition: .4s;
}

.books-unit-btn:hover {
    background-image: -webkit-linear-gradient(45deg, #FFC107 0%, #f76a35 100%);
    background-image: linear-gradient(45deg, #FFC107 0%, #f76a35 100%);
}

.books-unit-btn-back{
    display: inline-block;
    margin: 0px 10px 50px 10px;
    padding: 10px 25px;
	border-radius: 25px;
    text-decoration: none;
    color: gray;
    background-color: #dcdddd;
    transition: .4s;
}

.books-unit-review {
background: #fff0cd;
}

.books-unit-other {
margin-top: 30px;
margin-bottom: 50px;
}









.kigo-box{
position: relative;
background: #fff0cd;
box-shadow: 0px 0px 0px 5px #fff0cd;
border: dashed 2px white;
padding: 10px 15px 30px 15px;
color: #333;
width: 85%;
margin: 10px 0px 20px 0px;
}
.kigo-box:after{
position: absolute;
content: '';
right: -7px;
top: -7px;
border-width: 0 15px 15px 0;
border-style: solid;
border-color: #ffdb88 #fff #ffdb88;
box-shadow: -1px 1px 1px rgba(0, 0, 0, 0.15);
}
.kigo-box h3 {
font-size: 14px;
font-weight: 600;
color: orange;
margin: 0px 0px 10px 0px;
} 
.kigo-box h4 {
line-height: 1.0;/*行高は1に*/
font-size: 10px;
text-align: left;
} 
.kigo-box h4:before {
content: '●';
color: orange;
font-size: 20px;
margin-right: 5px;
}
.kigo-next {
position: absolute;
right: 10px;
bottom: 5px;
margin: 0px 0px 0px 0px;
font-size: 10px;
font-weight: 600;
padding: 5px 10px 5px 10px;
color: #FFF;
background-color: #F7D185;
}
.okiniiri_hukidashi {
position: relative;
display: inline-block;
margin: 1.5em 0;
padding: 7px 10px;
min-width: 120px;
max-width: 70%;
color: #555;
font-size: 12px;
font-weight: 600;
background: #e0edff;
}
.okiniiri_hukidashi:before{
content: "";
position: absolute;
top: 100%;
left: 50%;
margin-left: -15px;
border: 15px solid transparent;
border-top: 15px solid #e0edff;
}
.okiniiri_hukidashi p {
margin: 0;
padding: 0;
} 
.okiniiri_hukidashi img {
margin: 10px 5px 5px 5px;
text-align: center;
width: 20%;
} 

.index-button{
text-shadow: 0.1px 0.1px 0.1px rgba(0, 0, 0, 0.15);
box-shadow: -1px 1px 1px rgba(0, 0, 0, 0.15);
display: inline-block;
text-decoration: none;
background: #ffff89;
margin-top: 10px;
margin-bottom: 30px;
color: #FFF;
width: 90px;
height: 100%;
line-height: 90px;
border-radius: 50%;
text-align: center;
vertical-align: middle;
overflow: hidden;
box-shadow: 0px 0px 0px 5px #ffff89;
border: dashed 2px #FFF;
transition: .4s;
}.index-button:hover{
background: #ffff89;
box-shadow: 0px 0px 0px 5px #ffff89;
} 
