@charset "utf-8";

/* ----------------------------------------------------
 h1-midasi
---------------------------------------------------- */
.h1-midasi{
  padding: 40px 0 0 0;    
  }
.h1-box{
	background:#fff;
	padding:40px 0 20px 0;
  border-radius: 20px 20px 0 0;
  text-align: center;
  transition-duration: 300ms;
}
.h1-box p{
	font-size: 35px;
	line-height: 25px;
	margin-bottom: 3px;
	}
.h1-box h1{
	font-size:20px;
	line-height: 40px;
	letter-spacing:1px;	
}

@media print, screen and (min-width: 768px) {
.h1-midasi{
  padding: 100px 0 0 0;
  }
.h1-box{
	padding:50px 20px 20px 0;
	}
.h1-box p{
	font-size: 60px;
	line-height: 60px;
	}
.h1-box h1{
	font-size: 25px;
	line-height: 35px;
	letter-spacing:3px;	
	}
}

@media print, screen and (min-width: 992px) {
.h1-midasi{
  padding: 130px 0 0 0;
  }
.h1-box{
	padding:50px 20px 20px 0;
  border-radius: 0 20px 0 0;
	}
.h1-box p{
	font-size: 70px;
	line-height: 80px;
	}
.h1-box h1{
	font-size: 30px;
	line-height: 45px;
	}
}

@media print, screen and (min-width: 1200px) {
.h1-midasi{
  padding: 130px 0 0 0;
  }
.h1-box{
	padding:70px 20px 50px 0;
  border-radius: 0 20px 0 0;
	}
.h1-box p{
	font-size: 70px;
	line-height: 80px;
	}
.h1-box h1{
	font-size: 30px;
	line-height: 45px;
	}
}

.h1-02{background:url("../images/h1_02.jpg") no-repeat scroll 50% 20% / cover;}
.h1-03{background:url("../images/h1_03.jpg") no-repeat scroll 50% 0% / cover;}
.h1-04{background:url("../images/h1_04.jpg") no-repeat scroll 50% 15% / cover;}
.h1-05{background:url("../images/h1_05.jpg") no-repeat scroll 50% 20% / cover;}

/* ----------------------------------------------------
  バナー共通スタイル
---------------------------------------------------- */
.banner_item {
  position: relative;
  overflow: hidden;
  display: block;
  z-index: 1;
  border-radius: 20px;
}

.banner_item::after {
  position: absolute;
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-repeat: no-repeat;
  background-position: 50% 0%;
  background-size: cover;
  transition: transform .3s ease-out;
  z-index: 1;
}

.banner_item::before {
  position: absolute;
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.2); /* 暗さ調整 */
  z-index: 2;
  pointer-events: none;
}

.banner_item .inner {
  position: relative;
  z-index: 3;
}

.banner_item:hover::after {
  transform: scale(1.2);
}

/* banner_item
-------------------------- */
.banner_item a {
  display: block;
  padding: 50px;
  text-align: center;
  color: #fff;
  text-decoration: none;
  position: relative;
  z-index: 3;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
}

@media print, screen and (min-width: 768px) {
  .banner_item a {
    padding: 100px 40px;
  }
}
@media print, screen and (min-width: 992px) {
  .banner_item a {
    padding: 130px 40px;
  }
}
@media print, screen and (min-width: 1200px) {
  .banner_item a {
    padding: 150px 40px;
  }
}
@media print, screen and (min-width: 1600px) {
  .banner_item a {
    padding: 200px 40px;
  }
}

/* 文字
-------------------------- */
.banner_item p {
    font-size: 70px;
    line-height: 90px;
}
.banner_item h3 {
    font-size: 25px;
    line-height: 35px;
  letter-spacing: 2px;
}

@media print, screen and (min-width: 768px) {
  .banner_item p {
    font-size: 70px;
    line-height: 90px;
  }  
  .banner_item h3 {
    font-size: 25px;
    line-height: 35px;
  }
}

@media print, screen and (min-width: 992px) {
  .banner_item p {
    font-size: 75px;
    line-height: 75px;
  }    
  .banner_item h3 {
    font-size: 30px;
    line-height:40px;
  }
}

@media print, screen and (min-width: 1200px) {
  .banner_item p {
    font-size: 80px;
    line-height: 80px;
  }   
  .banner_item h3 {
    font-size: 35px;
    line-height:45px;
  }
}

@media print, screen and (min-width: 1400px) {
  .banner_item p {
    font-size: 100px;
    line-height: 100px;
  }
}

/* 画像ごとの上余白
-------------------------- */
@media print, screen and (min-width: 768px) {
.type01{margin-top: 100px;}
.type02{margin-top: 200px;}
}

/* 個別の画像切り替え
-------------------------- */
.banner_1::after {
  background-image: url("../images/link01.png");
}

.banner_2::after {
  background-image: url("../images/link02.png");
}

.banner_3::after {
  background-image: url("../images/link03.png");
}