/* オープニング
--------------------------------------------------- */
#mainView {
  height: 100vh;
  transition: height 1s ease;
  overflow: hidden;
}
#mainView .mv-ttl h2,
#mainView .mv-ttl p {
  opacity: 0;
  transition: opacity 0.8s ease;
}

/* 他の要素は最初非表示 */
.gap,
#sec01,
#sec02,
#sec03,
footer {
  opacity: 0;
  overflow: hidden;
  transition: opacity 1s ease, height 0.5s ease;
}

/* 表示状態 */
.show-element {
  opacity: 1;
  overflow: visible;
}

#mainView.shrink {
  height: 70vh;
}
#sec01.show-element {
  margin-top: 90vh;
}
#sec02.show-element,
#sec03.show-element {
  margin-top: 70vh;
}
/* --------------------------------------------------- */
.bg-slider {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -999;
    overflow: hidden;
	background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
}
/* --------------------------------------------------- */
.gap {
    height: 70vh;
}
/* --------------------------------------------------- */
#mainView {
    width: 100%;
	background-color: #fff;
    position: relative;
    z-index: 0;
}
#mainView .mv-ttl {
	width: 80%;
	max-width: 650px;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}
#mainView .mv-ttl h2 {
	text-align: center;
	font-size: 1.6em;
	font-weight: 300;
	letter-spacing: 15px;
}
#mainView .mv-ttl h2 span {
	display: inline-block;
	margin: 0 3px;
}
#mainView .mv-ttl p {
	text-align: center;
	letter-spacing: 6px;
}
#mainView .mv-ttl p span {
	color: #C30D23;
}
@media screen and (max-width: 900px) {
}
@media screen and (max-width: 680px) {
	#mainView .mv-ttl {
		top: 55%;
	}
	#mainView .mv-ttl h2 {
		font-size: 1.3em;
		line-height: 1.3;
		margin-bottom: 20px;
	}
	#mainView .mv-ttl h2 span {
		display: block;
		text-align: center;
	}
}
/* --------------------------------------------------- */
#sec01 {
	position: relative;
	background-color: #fff;
	padding: 10% 8%;
}
#sec01 .ttl-style01 {
	margin-bottom: 100px;
}
#sec01 .block {
	max-width: 950px;
	width: 100%;
	margin: 0 auto;
	display: flex;
	flex-wrap: wrap;
}
#sec01 .block dl {
	width: 26%;
	margin: 3.6% 11% 3.6% 0;
}
#sec01 .block dl:nth-child(3n) {
	margin-right: 0;
}
#sec01 .block dd {
	margin-bottom: 10px;
}
#sec01 .block dd a {
	display: block;
	 position: relative;
	padding-top: 90%;
	transition: all 0.3s;
}
#sec01 .block dd a img {
	position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    object-fit: cover;
}
#sec01 .block dd a:hover {
  transform: translateY(-5px);
  box-shadow: 0 2px 4px rgb(0 0 0 / .2);
}
#sec01 .block dt {
	transform: rotate(0.03deg);
}
#sec01 .block dt p {
	display: flex;
	justify-content: space-between;
	border-bottom: #ccc 1px solid;
	padding: 4px 0;
	line-height: 150%;
	margin-bottom: 8px;
}
#sec01 .block dt p span {
	display: inline-block;
	font-size: 9px;
}
#sec01 .block dt h4 {
	font-weight: 300;
	line-height: 150%;
}
#sec01 .btn {
	max-width: 950px;
	width: 100%;
	margin: 0 auto;
}
@media screen and (max-width: 900px) {
	#sec01 .ttl-style01 {
        margin-bottom: 60px;
    }
	#sec01 .block dl {
        width: 27%;
        margin: 3% 9.5% 3% 0;
    }
	#sec01 .block dt h4 {
		font-size: .9em;
	}
}
@media screen and (max-width: 680px) {
	#sec01 .ttl-style01 {
        margin-bottom: 40px;
    }
	#sec01 .block {
		justify-content: space-between;
	}
	#sec01 .block dl {
        width: 45%;
        margin: 3% 0;
    }
	#sec01 .block dd {
        margin-bottom: 5px;
    }
	#sec01 .block dt p {
        padding: 2px 0;
    }
	#sec01 .block dt p span {
        font-size: 8px;
    }
}
/* --------------------------------------------------- */
#sec02 {
	height: auto;
	position: relative;
	background-color: #fff;
}
#sec02 .box-bg {
    background: url(../images/top/images-ph01.jpg) no-repeat center;
	position: relative;
    background-size:cover;
    background-attachment:fixed;
    width:100%;
    height:70vh;
	align-content: 1;
}
#sec02 .block1 {
	padding: 8% 0 8% 8%;
	display: flex;
	justify-content: space-between;
}
#sec02 .block1 .left {
	width: 50%;
}
#sec02 .block1 .left .ttl-style01 {
	margin-bottom: 40px;
}
#sec02 .block1 .left .ttl {
	font-size: 1.2em;
	letter-spacing: 5px;
	margin-bottom: 25px;
	font-weight: 300;
}
#sec02 .block1 .left p {
	margin-bottom: 30px;
}
#sec02 .block1 .ph {
	width: 45%;
	background: url("../images/top/ph01.png") no-repeat center;
	background-size: cover;
	padding-top: 25%;
}
#sec02 .block2 {
	padding: 4% 8%;
}
#sec02 .block2 .ttl-style01 {
	margin-bottom: 40px;
}
#sec02 .block2 .box {
	max-width: 750px;
	width: 100%;
	margin: 0 0 0 auto;
}
#sec02 .block2 .box .ttl {
	font-size: 1.2em;
	letter-spacing: 5px;
	margin-bottom: 25px;
	font-weight: 300;
}
#sec02 .block2 .box p {
	margin-bottom: 30px;
}
#sec02 .block2 .box .btn-style01 {
}
#sec02 .block3 {
	width: 100%;
	display: flex;
	justify-content: space-between;
}
#sec02 .block3 .box {
	width: 50%;
	position: relative;
	color: #fff;
	padding: 5% 8% 3%;
}
#sec02 .block3 .box .ami {
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 0;
	background-color: rgba(0,0,0,.4);
}
#sec02 .block3 .ph1 {
	background: url("../images/top/ph02.png") no-repeat center;
	background-size: cover;
}
#sec02 .block3 .ph2 {
	background: url("../images/top/ph03.png") no-repeat center;
	background-size: cover;
}
#sec02 .block3 .ttl-style02 {
	position: relative;
	z-index: 1;
}
#sec02 .block3 p {
	position: relative;
	z-index: 1;
	margin-bottom: 30px;
}
#sec02 .block3 .ttl-style08 {
	font-size: 1.2em;
	margin-bottom: 60px;
}
#sec02 .block3 .ttl-style08 span {
	margin-top: 5px;
}
#sec02 .block3 .btn-style02 {
	position: relative;
	z-index: 1;
}
#sec02 .block3 .btn-style05 {
}
@media screen and (max-width: 900px) {
	#sec02 .block1 {
        padding: 8%;
        display: block;
    }
    #sec02 .block1 .left {
        width: 100%;
		margin-bottom: 30px;
    }
    #sec02 .block1 .ph {
        width: 100%;
		padding-top: 50%;
    }
	#sec02 .block3 {
        display: block;
    }
    #sec02 .block3 .box {
        width: 100%;
    }
}
@media screen and (max-width: 680px) {
	#sec02 .box-bg {
		background-image: url(../images/top/images-ph01sp.jpg) !important;
		background-position: center center !important;
        background-size: cover !important;
	}
	#sec02 .block3 .box {
		padding: 10% 8% 8%;
    }
	#sec02 .block2 .box .ttl {
        font-size: .9em;
        letter-spacing: 1px;
        margin-bottom: 15px;
    }
}
/* --------------------------------------------------- */
#sec03 {
	height: auto;
	position: relative;
	background-color: #fff;
}
#sec03 .box-bg {
    background: url(../images/top/images-ph02.jpg) no-repeat center;
	position: relative;
    background-size:cover;
    background-attachment:fixed;
    width:100%;
    height:70vh;
	align-content: 1;
}
#sec03 .block {
	padding: 8% 8% 8% 0;
	display: flex;
	justify-content: space-between;
}
#sec03 .block .right {
	width: 50%;
}
#sec03 .block .right .ttl-style01 {
	margin-bottom: 40px;
}
#sec03 .block .right .ttl {
	font-size: 1.2em;
	letter-spacing: 5px;
	margin-bottom: 25px;
	font-weight: 300;
}
#sec03 .block .right p {
	margin-bottom: 30px;
}
#sec03 .block .ph {
	width: 45%;
	background: url("../images/top/ph04.png") no-repeat center;
	background-size: cover;
	padding-top: 25%;
}
@media screen and (max-width: 900px) {
	#sec03 .block {
        padding: 8%;
        display: block;
    }
    #sec03 .block .right {
        width: 100%;
    }
    #sec03 .block .ph {
        width: 100%;
		padding-top: 50%;
		margin-bottom: 30px;
    }
}
@media screen and (max-width: 680px) {
	#sec03 .box-bg {
		background-image: url(../images/top/images-ph02sp.jpg) !important;
		background-position: center center !important;
        background-size: cover !important;
	}
}
/* --------------------------------------------------- */
@media screen and (max-width: 680px) {
  #sec02 .box-bg {
    background-image: url(../images/top/images-ph01sp.jpg) !important;
    background-attachment: scroll;        /* ← fixed やめる */
    background-size: cover;               /* 画面にきれいにフィット */
    background-position: center center;
  }

  #sec03 .box-bg {
    background-image: url(../images/top/images-ph02sp.jpg) !important;
    background-attachment: scroll;        /* ← fixed やめる */
    background-size: cover;
    background-position: center center;
  }
	
	
    #sec02 .box-bg,
    #sec03 .box-bg {
        opacity: 0;
        transform: scale(1.17);
        transition: opacity 1.0s ease-out, transform 1.0s ease-out;
    }
    #sec02 .box-bg.show,
    #sec03 .box-bg.show {
        opacity: 1;
        transform: scale(1);
    }
}
/* --------------------------------------------------- */


