@charset "UTF-8";
/* CSS Document */

#contents,
#main,
#gallop-book {
	width:960px;
}
#gallop-book {
	margin-top: 10px;
	height: 773px;
	background-image: url(../image/gallop/backimg.jpg);
	background-repeat: no-repeat;
	background-size: cover;
	position: relative;
	box-sizing: border-box;
}
#gallop-book .gallop-book-ttl {
	position:absolute;
	left:45px;
	top:22px;
}
#gallop-book .gallop-book-icon {
	position:absolute;
	left:438px;
	top:30px;
}
#gallop-book .gallop-book-spec {
	position:absolute;
	left:48px;
	top:177px;
	font-size:16px;
	color:#fff;
	text-shadow:0px 0px 5px #000;
	white-space: nowrap;
	font-family: "ヒラギノ角ゴ ProN W3",'ヒラギノ角ゴ Pro W3', arial, "Hiragino Kaku Gothic ProN", "BIZ UDGothic", "Meiryo", "メイリオ", sans-serif;
	font-weight: bold;
}
#gallop-book .gallop-book-txt {
	position:absolute;
	left:48px;
	top:286px;
	width:474px;
	min-height: 350px;
	box-sizing: border-box;
	background:rgba(255,255,255,0.5);
	border-radius: 10px;
	padding:20px;
	font-size:16px;
	line-height: 1.4em;
	color:#333;
	line-break:strict;
	font-family: "ヒラギノ角ゴ ProN W3",'ヒラギノ角ゴ Pro W3', arial, "Hiragino Kaku Gothic ProN", "BIZ UDGothic", "Meiryo", "メイリオ", sans-serif;
	font-weight: normal;
}
#gallop-book .gallop-book-cover {
	position:absolute;
	left:596px;
	top:58px;
	width: 294px;
	height: 415px;
}
#gallop-book .gallop-book-link {
	position:absolute;
	left:549px;
	top:554px;
	width:388px;
	height:79px;
	display: flex;
	justify-content:space-between;
}
#gallop-book .gallop-book-link li {
	width:185px;
	height:79px;
}
#gallop-book .gallop-book-link li a img {
	border-radius: 10px;
}
#gallop-book .gallop-book-link li a:hover img {
	box-shadow:2px 2px 2px 2px rgba(0,0,0,0.4);
	opacity: 0.8;
}

.gallopLeadOnline{
	background-color: #86B371;
	padding: 40px;
}

.gallopLeadOnline .gallopLeadOnlineInner{
	display: flex;
	background-color: #fff;
	border-radius: 30px;
    padding: 30px 50px 30px 60px;
}

.gallopLeadOnline .gallopLeadOnlineInner img{
    max-width: 100%;
}

.gallopLeadOnline .gallopLeadOnlineInner .gallopLeadOnlineImg{
    width: 270px;
    display: flex;
    align-items: center;
}
.gallopLeadOnline .gallopLeadOnlineInner .gallopLeadOnlineText{
    margin-left: 45px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-bottom: 20px;
}

.gallopLeadOnline .gallopLeadOnlineInner .gallopLeadOnlineText .balloon{
    border: 2px solid #444;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #444;
    position: relative;
    border-radius: 100px;
    font-size: 22px;
    width: 105px;
    height: 43px;
    font-weight: bold;
    line-height: 1;
    padding-top: 2px;
}

.gallopLeadOnline .gallopLeadOnlineInner .gallopLeadOnlineText .balloon:before,
.gallopLeadOnline .gallopLeadOnlineInner .gallopLeadOnlineText .balloon:after{
  content: "";
  display: block;
  position: absolute;
}

.gallopLeadOnline .gallopLeadOnlineInner .gallopLeadOnlineText .balloon:before{
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    border-style: solid;
    border-width: 8px 8px 0 8px;
    border-color: #444444 transparent transparent;
    translate: -50% 100%;
}

.gallopLeadOnline .gallopLeadOnlineInner .gallopLeadOnlineText .balloon:after {
  content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    border-style: solid;
    border-width: 5px 5px 0 5px;
    border-color: #fff transparent transparent;
    translate: -50% 100%;
}

.gallopLeadOnline .gallopLeadOnlineInner .gallopLeadOnlineText .text{
  margin-top: 15px;
  font-size: 20px;
  line-height: calc(41 / 25);
  width: calc(100% + 20px);
}

.gallopLeadOnline .gallopLeadOnlineInner .gallopLeadOnlineText .text .strong{
  font-size: 23px;
  font-weight: bold;
  color: #E50012;
}

.gallopLeadOnline .gallopLeadOnlineInner .gallopLeadOnlineText .text .link{
  display: block;
  margin-top: 33px;
  width: 294px;
}

.gallopLeadOnline .gallopLeadOnlineInner .gallopLeadOnlineText .text .link:hover img{
    box-shadow: 2px 2px 2px 2px rgba(0, 0, 0, 0.4);
    opacity: 0.8;
}