@charset "UTF-8";
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  /*border: 1px solid #000;*/
}

body {
  /*min-width: 1180px;*/
	font-family: YuGothic, "Yu Gothic medium", "Hiragino Sans", Meiryo, "sans-serif";
}

.container {
  width: 80%;
  margin: 0 auto;
}

@media(max-width:767px){
	.container{
		width: 85%;
	}
}

/*中に入っている要素の幅を調整してくれる！*/
img {
  max-width: 100%;
  height: auto;
  /*h1に入れていた背景色が消えた！縦方向の要素を指定する-verticai-align
インライン要素、テーブルセル内の要素で使える！
ブロックレベル要素などには効かない
初期値はbaseline
top,middle,bottomなど*/
  vertical-align: bottom;
}


/*インライン要素や表セルの垂直方向の位置を指定するCSSプロパティ
「縦方向の揃え方」を決める*/
iframe {
  vertical-align: bottom;
}


/*ここにflexを入れても横並びにならない！遠い親戚だから！*/
header {
  height: 80px;
  /*header .containerを制御できる！*/
  display: flex;
  /*align-items: center;*/
  vertical-align: baseline;
}

@media(max-width:767px){
	header{
		top: 0;
		z-index: 1003;
		background: #fff;
		box-shadow: 2px 2px 10px rgba(0,0,0,.06);
		/*position: fixed;*/
	}
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

h1 {
  width: 280px;
  /*background-color: #687;*/
}

@media(max-width:767px){
	h1{
		width: 210px;
	}
}


h1 img {
  /* background-color: #FD9F39;*/
}


.header__nav ul{
	display: flex;
	flex-wrap: wrap;
	list-style: none;
	right: 100%;
}

@media(max-width:767px){
	.header__nav ul{
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;
		background: #fff;
		position: fixed;
		left: 0;
		bottom: 100%;
		width: 100%;
		height: 100%;
		padding: 5%;
		transition: 1.5s;
		z-index: 999;
		/*color: #056b6d;*/
	}
}


.header__nav.is-open ul{
	bottom: 0;
}


.header__nav a{
	font-size: 18px;
	display: block;
	text-align: center;
	text-decoration: none;
	color: #056b6d;
	/*background-color: #99f;*/
	padding: 8px 24px;
	/*font-weight: 600;*/
}


@media(max-width:767px){
	.header__nav a{
		padding: 20px;
		margin-bottom: 8px;
	}
}


.header__nav a:hover{
	/*background-color: #F2EFEF;*/
	transition: .3s;
	color: #C3C3C3;
}


.header__btn{
	background-color: #fff;
	width: 48px;
	height: 48px;
	border: none;
	position: sticky;
	right: 20px;
	top: 24px;
	flex-direction: column;
	justify-content: space-between;
	padding: 12px;
	display: none;
	z-index: 1000;
}


@media(max-width:767px){
	.header__btn{
		display: flex;
	}
}


.header__btn span,
.header__btn::before,
.header__btn::after{
	width: 100%;
	height: 2px;
	background-color: #056b6d;
	display: block;
	content: "";
	transition: .5s;
	border-radius: 9999px;
}



.header__btn::before{
	background-color: #056b6d;
	position: relative;
	top: 0;
}


.header__btn::after{
	background-color: #056b6d;
	position: relative;
	bottom: 0;
}



.header__btn:hover span{
	width: 0;
	opacity: 0;
}


/*.header__btn.is-open span{
	top: 50%;
	transform: translate(-50%, -50%);
}*/

.header__btn.is-open::before{
	transform: rotate(45deg);
	top: calc(50% - 1px);
}

.header__btn.is-open::after{
	transform: rotate(-45deg);
	bottom: calc(50%);
}


.header__btn.is-open span{
	width: 0;
	opacity: 0;
}


main {
  /*background-color: #98D5D7;*/
}


section h2 {
  font-size: 32px;
  margin-bottom: 80px;
  text-align: center;
}


section p {
  margin-bottom: 16px;
}


.main-visual {
  background-color: #C56626;
  background-image: url("../images/main-visual.jpg");
  /*height: 720px;*/
  /*vh＝viewport heightの略 ブラウザ(ビューポート)で見えている範囲(ビューポート＝デスクトップで見えている範囲) vwは幅！*/
  height: calc(100vh - 80px);
  /*calc関数は、単位がバラバラでも計算して値を出してくれる！*/
  /*width: 30vw;
  /*ブラウザを伸び縮みさせた時に、指定された数値より小さくならない！*/
  /*min-height: 540px;*/
  /*一枚の画像全体が表示される*/
  background-repeat: no-repeat;
  background-size: 120%;
  background-position: bottom center;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media(max-width:767px){
  .main-visual{
	  /*height: calc(100vh - 20%);*/
	  height: calc(100vh - 80px);
	  background-size: 200vh;
	  background-position: top -302px center;
  }
}


/* スライド用のレイヤー（テキストより下に配置） */
.main-visual .slide2,
.main-visual .slide3{
  position: absolute;
  inset: 0; /* top:0; right:0; bottom:0; left:0; の短縮 */
  background-size: cover;
  background-position: center;
  z-index: 0;             /* ← テキストより下 */
  pointer-events: none;   /* ← クリックをブロックしない */
  opacity: 0;             /* 初期は非表示 */
  transition: opacity 1.5s ease; /* フェード時間 */
}

/* 背景画像を割り当て */
.main-visual .slide2{ background-image: url("../images/main-img02.jpg"); }
.main-visual .slide3{ background-image: url("../images/main-img03.jpg"); }

/* スライド背景用レイヤー */
.main-visual::before,
.main-visual::after,
.main-visual .slide2,
.main-visual .slide3{
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  opacity: 0;
  animation: fadeSlide 16s infinite, zoomSlide 16s infinite;
}




/* 各画像指定 */
.main-visual::before {
  background-image: url("../images/main-img02.jpg");
  animation-delay: 4s;
}
.main-visual::after {
  background-image: url("../images/main-img03.jpg");
  animation-delay: 8s;
}
.main-visual .slide2 {
  background-image: url("../images/main-img04.jpg");
  animation-delay: 12s;
}

@media(max-width:767px){
	.main-visual::after{
		background-position: right -20px center;
	}
	.main-visual .slide2{
		background-position: right -30px center;
	}
	.main-visual::before{
		background-position: left center;
	}	
}


/* クロスフェード */
@keyframes fadeSlide {
  0%   { opacity: 0; }
  5%   { opacity: 1; }
  25%  { opacity: 1; }
  30%  { opacity: 0; }
  100% { opacity: 0; }
}

/* ゆっくり拡大 */
@keyframes zoomSlide {
  0%   { transform: scale(1); }
  100% { transform: scale(1.1); }
}


/* 「ロード完了→2秒後」につけるクラスが付与されたら表示 */
.main-visual.show-cats .cat01,
.main-visual.show-cats .cat02{
  opacity: 1;
  transform: translateY(0);
}

/* ユーザーが簡易表示を希望する場合はアニメ短縮 */
@media (prefers-reduced-motion: reduce) {
  .cat01, .cat02 { transition-duration: .2s; transform: none; }
}

/* 出現後にふわふわするアニメーション */
@keyframes floatY {
  0%   { transform: translateY(0); }
  50%  { transform: translateY(-2px); }
  100% { transform: translateY(0); }
}

/* 初期状態（非表示＋少し下に） */
.cat01, .cat02 {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .8s ease, transform .8s ease;
  will-change: opacity, transform;
}

/* 表示されるとき */
.main-visual.show-cats .cat01,
.main-visual.show-cats .cat02{
  opacity: 1;
  transform: translateY(0);
}

/* 表示されて1秒後に「ふわふわ」を開始 */
.main-visual.show-cats .cat01 {
  animation: floatY 4s ease-in-out infinite;
  animation-delay: 1s;   /* ← 出現後さらに1秒待って開始 */
}

.main-visual.show-cats .cat02 {
  animation: floatY 4s ease-in-out infinite;
  animation-delay: 1.5s; /* ← ちょっとずらすと自然 */
}



.hina-mincho-regular {
  font-family: "Hina Mincho", serif;
  font-weight: 400;
  font-style: normal;
}


.main-visual h2 {
  font-size: 32px;
  color: #fff;
  margin-bottom: 16px;
  writing-mode: vertical-rl;
  /**/
  line-height: 1.7;
  letter-spacing: 0.3em;
  font-family: "Hina Mincho", serif ,"Yu Mincho", "Hiragino Mincho ProN", "serif";
　position: relative;
  z-index: 10;
}

@media(max-width:767px){
	.main-visual h2{
		font-size: 28px;
		margin-bottom: 0;
		margin-top: 56px;
	}
}


.cat01 img,
.cat02 img{
	width: 100%;
	height: auto;
}

/* 初期は見えない＆少しだけ下げておく（ふわっと感） */
.cat01, .cat02{
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .8s ease, transform .8s ease;
  will-change: opacity, transform;
}


.cat01{
	position: absolute;
	top: 80px;
	left: 160px;
	z-index: 899;
	width: 260px;
	height: auto;
}

@media(max-width:767px){
	.cat01{
		width: 172px;
		left: 24px;
		top: 32px;
	}
}

.cat02{
	position: absolute;
	bottom: 80px;
	right: 160px;
	z-index: 898;
	width: 220px;
	height: auto;
}

@media(max-width:767px){
	.cat02{
		width: 140px;
		right: 40px;
		bottom: 88px;
	}
}


.btn a {
  background-color: #056e71;
  padding: 10px 40px;
  color: #fff;
  text-decoration: none;
  /*並び方はインライン要素、中身はブロックレベル要素なので、いいとこ取り！
*/
  /*display: inline-block;*/
  border-radius: 9999px;
}

.bnr li a img {
  transition: opacity .1s ease; /* ←変化をなめらかにする */
}

.bnr li a:hover img {
  opacity: .7;
}


.bnr {
  background-color: #fff;
  padding: 80px 0;
}

@media(max-width:767px){
	.bnr{
		padding: 60px 0 24px;
	}
}

.bnr ul {
  display: flex;
  list-style: none;
  justify-content: space-between;
}

@media(max-width:767px){
	.bnr ul{
		flex-direction: column;
		justify-content: center;
		align-items: center;
	}
}


.bnr li {
	width: 320px;
	margin: 16px;
}


.media {
  background-color: #fff;
  padding: 64px 0;
}


/*secition h2で宣言しているが、さらに上書きできる！*/
.media h2 {
  text-align: left;
  margin-bottom: 16px;
}


.mediaCard {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

@media(max-width:1024px){
	.mediaCard{
		flex-direction: column;
	}
}


.mediaCard__video {
  background-color: #f99;
  min-width: 640px;
}

@media(max-width:767px){
	.mediaCard__video{
		min-width: 440px;
	}
}


.mediaCard__video iframe {
	width: 640px;
	height: 360px;
}


@media(max-width:767px){
	.mediaCard__video iframe{
		width: 440px;
		height: 260px;
	}
}

.mediaCard__text{
  /*background-color: #99f;*/
	min-width: 400px;
	padding-left: 32px;
}

@media(max-width:767px){
	.mediaCard__text {
		padding-left: 4px;
	}
}

@media(max-width:1024px){
	.mediaCard__text p{
		text-align: justify;
	}
}

.mediaCard__text img{
    width: 200px;
}

@media(max-width:1024px){
	.mediaCard__text img{
		margin-top: 24px;
	}
}

.point {
  background-color: #056e71;
  padding: 120px 0;
}

@media(max-width:767px){
	.point{
		padding: 80px;
	}
}

.point h2,.point h3,.point p{
    color: #fff;
}


.pointList{
  display: flex;
  list-style: none;
  justify-content: space-between;
}

@media(max-width:767px){
	.pointList{
		flex-direction: column;
		justify-content: center;
		align-items: center;
	}
}


.pointList li {
  width: 300px;
}


.pointList__image {
  width: 240px;
  border-radius: 50%;
  /*要素の中身がはみ出したときに、はみ出した部分を非表示にするCSSプロパティ
これをする前にborder-radiusではみ出す値を指定する*/
  overflow: hidden;
  /*3つの場合：上 左右　下 の順番になる*/
  margin: 0 auto 30px;
}


.pointList h3 {
  font-size: 20px;
  text-align: center;
  margin-bottom: 16px;
}


.gallery {
  background-color: #FCE0E1;
  padding: 120px 0;
}

@media(max-width:767px){
	.gallery{
		padding: 80px 0;
	}
}

.gallery__slider .slick-slide{
  width: 560px;
  margin: 0 30px;
  border-radius: 20px;
  overflow: hidden;
}

@media(max-width:767px){
	.gallery__slider .slick-slide{
		width: 400px;
		margin: 0 16px;
	}
}

.gallery p{
    font-size: 16px;
    text-align: center;
    padding: 10px 0 0;
}


.form-btn{
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 64px 0;
}

@media(max-width:767px){
	.form-btn{
		padding: 40px 0;
	}
}


button[type="submit"]{
	background-color: #242220;
	border-radius: 10px;
	border: none;
	color: #fff;
	width: 180px;
	height: 48px;
	
}

button[type="submit"]:disabled{
	background-color: #ccc;
	cursor: not-allowed;
}

#toTopBtn {
  position: fixed;       /* 常に画面に固定 */
  right: 20px;           /* 右端から20px */
  bottom: 20px;          /* 下端から20px */
  padding: 10px 16px;
  background-color: #E2D29A;
  /*border: solid 1px #232220;*/
  border: none;
  color: #232220;
  /*border: none;*/
  border-radius: 9999px;
  font-size: 14px;
  cursor: pointer;
  display: none;         /* 初期状態は非表示 */
  z-index: 9999;         /* 他要素の上に出す */
  width: 64px;
  height: 64px;
  box-shadow: 2px 2px 5px rgba(0,0,0,0.09);
}


#toTopBtn:hover {
  opacity: 0.8;
}


#toTopBtn.scrolling{
	opacity: .2;
	transition: opacity 0.3s;
}

footer {
  background-color: #056e71;
  padding: 32px 0 60px;
}


.footer__logo{
    height: 220px;
    display: flex;
    justify-content: center;
    align-items: center;
}


.footer__logo img{
    width: 400px;
}

@media(max-width:767px){
	.footer__logo img{
		width: 320px;
	}
}


footer ul{
    display: flex;
    list-style: none;
    justify-content: center;
}

footer a{
    padding: 0 20px;
    text-decoration: none;
    color: #fff;
    font-size: 16px;
    border-left: 1px solid #fff;
    border-right: 1px solid #fff;
    margin-left: -1px;
}


footer a:hover{
    text-decoration: underline;
    color: aliceblue;
}


footer p{
    text-align: center;
    color: #E2E2E2;
    /*background-color: antiquewhite;*/
    margin-top: 16px;
}

.map{
	width: 700px;
	height: auto;
	margin: 0 auto;
	padding: 72px 0;
}

@media(max-width:767px){
	.map{
		width: 400px;
	}
}

.map img{
	width: 100%;
}









