@charset "UTF-8";

main {
	padding: 0.1rem 0;
}
.top_main {
	background-image: url("images/main_bg.gif");
	background-size: 96%;
	background-position: right;
	background-repeat: repeat-y;
	width: 98%;
	float: right;
	overflow: hidden;
	padding-bottom: 2rem;
}

.top_main_img {
	background-image: url("images/top_img/main01.jpg");
	background-size: 100%;
	background-position: center;
	background-repeat: no-repeat;
	position: relative;
	height: 700px;
	margin-top: 2rem;
}

h3 {
	border: 0 solid;
	background-color: #fff;
	border-radius: 0;
	font-size: 2rem;
	color: #000;
}

.top_main_img h3 {
	position: absolute;
	bottom: 3rem;
	padding: 2rem 4rem;
	font-size: 3rem;
	line-height: 5rem;
}

.top_sub {
	background-image: url("images/top_img/sub_bg.jpg");
	background-position: center;
	background-size: 100%;
	background-repeat: no-repeat;
	clear: both;
}
.top_sub .col-lg-6:hover {
	cursor: pointer;
}

.top_sub_img {
	position: relative;
	width: 100%;
	overflow: hidden;
}


.anim-box.fadein.is-animated {
  animation: fadeIn 0.7s cubic-bezier(0.33, 1, 0.68, 1) 1 forwards;
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}


@media (min-width:768px) {
.top_sub_img img {
	transition: .3s;
}
.top_sub_img:hover  img {
	transform: scale(1.05);
}
.top_sub_img h3 {
	position: absolute;
	top: -1.5rem;
	right: 2rem;
	padding: 2rem 2rem;
	font-size: 2.4rem;
	line-height: 3.4rem;
  -ms-writing-mode: tb-rl;
  writing-mode: vertical-rl;
	z-index: 9999;
	
}
}

_::-webkit-full-page-media, _:future, :root .top_sub_img h3 {
	right: 6rem;
}
.top_main .arrow, 
.top_sub .arrow {
    position: relative;
	display: inline-block;
	float: right;
	padding-right: 2rem;
}
.top_main .arrow a,
.top_sub .arrow a {
	color: #000;
}
.top_main .arrow::after,
.top_sub .arrow::after {
  content: "";
  position: absolute;
	right: 0;
	bottom: 0;
  width: 120px;
  height: 10px;
  border-right: solid 1px #000;
  border-bottom: solid 1px #000;
  transform: skew(45deg);
}
.btn-light.arrow::after {
  content: "";
  position: absolute;
	right: 10%;
	bottom: 45%;
  width: 30px;
  height: 10px;
  border-right: solid 1px #000;
  border-bottom: solid 1px #000;
  transform: skew(45deg);
}

.news_area {
	background-color: #f1f0ed;
}
.news_area h2 {
	color: #000;
	font-size: 2.6rem;
	margin: 2rem 0 3rem 0;
}

.other_area .btn {
	padding: 3rem;
	font-size: 1.4rem;
}
.other_area {
	background-image: url("images/top_img/other_bg.jpg");
	background-position: center;
	background-repeat: no-repeat;
	background-size: 100%;
	padding: 5rem 0;
}

/* 最大幅の制限 */
@media (min-width:1200px) {
  .container-fluid {
    width: 1200px;
  }
}

@media (max-width:992px) {
.top_main {
	width: 99%;
}

.top_main_img {
	height: 500px;
	margin-top: 1rem;
	background-size: cover;
}

.top_main_img h3 {
	position: absolute;
	bottom: 0rem;
	padding: 1.5rem 2.5rem;
	font-size: 2.6rem;
	line-height: 4.5rem;
}
.other_area {
	background-size: cover;
	padding: 1rem 0;
}
.top_sub {
	background-size: 280%;
	background-repeat: repeat;
}
}

@media (max-width:768px) {

.top_main_img {
	height: 300px;
	margin-top: 1rem;
	background-size: cover;
}
.top_main_img h3 {
	padding: 1.1rem 1.6rem;
	font-size: 1.8rem;
	line-height: 2.5rem;
}
.top_sub_img h3 {
	background-color: transparent;
	padding: 0;
	margin: 2rem 0 0.5rem 0;
	font-size: 1.6rem;
	line-height: 2rem;
}
_::-webkit-full-page-media, _:future, :root .top_sub_img h3 {
	right: 3rem;
}
.other_area .btn {
	padding: 1.4rem 1rem;
	font-size: 1.1rem;
}
	
}


@media (max-width:320px) {
.top_main_img h3 {
	font-size: 1.3rem;
}
.other_area .btn {
	font-size: 0.8rem;
}
	
}