@charset "utf-8";
/* CSS Document */
/*
Theme Name:kasane
*/
/*--------------------------ナビゲーション-------------------------------*/
#h-nav {
  /*position:fixed;にし、z-indexの数値を大きくして前面へ*/
  position: fixed;
  z-index: 999;
  /*ナビのスタート位置と形状*/
  top: 0;
  right: -120%;
  width: 100%;
  height: 100vh; /*ナビの高さ*/
  background: #1C1C1C;
  /*動き*/
  transition: all 0.6s;
}
/*アクティブクラスがついたら位置を0に*/
#h-nav.panelactive {
  right: 0;
}
/*ナビゲーション*/
#h-nav ul {
  /*ナビゲーション天地中央揃え*/
  position: absolute;
  z-index: 999;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
/*リストのレイアウト設定*/
#h-nav li {
  list-style: none;
  text-align: center;
}
#h-nav li a {
  color: #FFFFFB;
  text-decoration: none;
  padding: 10px;
  display: block;
  font-size: 1.3rem;
  maegin: 15px 0;
}
#h-nav li a:hover, #h-nav li a:active {
  color: #B78E36;
}
/*シグネチャ*/
#top nav li:nth-child(1) {
  border-bottom: 1px solid #B78E36;
}
#about nav li:nth-child(2) {
  border-bottom: 1px solid #B78E36;
}
#room nav li:nth-child(3) {
  border-bottom: 1px solid #B78E36;
}
#form nav li:nth-child(4) {
  border-bottom: 1px solid #B78E36;
}
/*========= ボタンのためのCSS ===============*/
.openbtn {
  position: fixed;
  z-index: 9999; /*ボタンを最前面に*/
  top: 10px;
  right: 10px;
  cursor: pointer;
  width: 50px;
  height: 50px;
}
/*×に変化*/
.openbtn span {
  display: inline-block;
  transition: all .4s;
  position: absolute;
  left: 14px;
  height: 3px;
  border-radius: 2px;
  background-color: #FFFFFB;
  width: 45%;
}
.openbtn span:nth-of-type(1) {
  top: 15px;
}
.openbtn span:nth-of-type(2) {
  top: 23px;
}
.openbtn span:nth-of-type(3) {
  top: 31px;
}
.openbtn.active span:nth-of-type(1) {
  top: 18px;
  left: 18px;
  transform: translateY(6px) rotate(-45deg);
  width: 30%;
}
.openbtn.active span:nth-of-type(2) {
  opacity: 0;
}
.openbtn.active span:nth-of-type(3) {
  top: 30px;
  left: 18px;
  transform: translateY(-6px) rotate(45deg);
  width: 30%;
}
/*---------------------------------------------------------*/
#global-nav {
  display: none;
}
#humberger-nav{
	height: 0;
}
/*--------------------------コンテンツ-------------------------------*/
body {
  background: #1C1C1C;
  color: #FFFFFB;
  font-family: "Hannari", serif;
  line-height: 1.5;
}
body main p {
  text-indent: 1em;
}
/*--------------------------index-------------------------------*/
#main-catch {
  background-image: radial-gradient(rgba(0, 0, 0, .3) 0%, rgba(0, 0, 0, .3) 100%), url(img/kasane-top-image.jpg);
  background-size: cover;
  display: block;
  position: relative;
  top: 30%;
  height: 100vh;
}
#main-catch img {
  display: block;
  width: 65%;
  max-width: 500px;
  height: auto;
  margin: 0 auto 20px;
}
#main-catch h1 {
  text-align: center;
  font-size: 1.2rem;
}
#main-catch .catch {
  position: relative;
  top: 20%;
}
/*----------------------------------------------*/
.scrolldown {
  /*描画位置※位置は適宜調整してください*/
  position: absolute;
  bottom: 6%;
  left: 50%;
}
/*Scrollテキストの描写*/
.scrolldown span {
  /*描画位置*/
  position: absolute;
  left: 10px;
  bottom: 10px;
  /*テキストの形状*/
  color: #eee;
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  /*縦書き設定*/
  -ms-writing-mode: tb-rl;
  -webkit-writing-mode: vertical-rl;
  writing-mode: vertical-rl;
}
/* 丸の描写 */
.scrolldown:before {
  content: "";
  /*描画位置*/
  position: absolute;
  bottom: 0;
  left: -4px;
  /*丸の形状*/
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #eee;
  /*丸の動き1.6秒かけて透過し、永遠にループ*/
  animation:
    circlemove 1.6s ease-in-out infinite, cirlemovehide 1.6s ease-out infinite;
}
/*下からの距離が変化して丸の全体が上から下に動く*/
@keyframes circlemove {
  0% {
    bottom: 45px;
  }
  100% {
    bottom: -5px;
  }
}
/*上から下にかけて丸が透過→不透明→透過する*/
@keyframes cirlemovehide {
  0% {
    opacity: 0
  }
  50% {
    opacity: 1;
  }
  80% {
    opacity: 0.9;
  }
  100% {
    opacity: 0;
  }
}
/* 線の描写 */
.scrolldown:after {
  content: "";
  /*描画位置*/
  position: absolute;
  bottom: 0;
  left: 0;
  /*線の形状*/
  width: 2px;
  height: 50px;
  background: #eee;
}
/*----------------------------------------------*/
.main_text {
  text-align: center;
}
.main_text h2 {
  font-size: 1.3rem;
  border-bottom: 1px solid #B78E36;
  display: inline-block;
  padding: 10px;
  margin-bottom: 20px;
}
.main_text p {
  margin-bottom: 30px;
  padding: 10px;
}
#main-about img {
  display: block;
  margin: 50px auto;
  width: 10%;
}
#main-room img {
  width: 100%;
  height: auto;
}
#main-room .main_text p {
  margin-top: 30px;
}
/*--------------------------地図-------------------------------*/
.map {
  filter: grayscale(100%);
  text-align: center;
  width: 100%;
}
iframe {
  width: 80%;
  height: 350px;
}
/*--------------------------フッター-------------------------------*/
#footer-contents {
  display: flex;
  align-items: center;
  justify-content: space-around;
  margin-bottom: 20px;
}
#footer-contents img {
  max-width: 200px;
  height: auto;
}
#footer-contents ul li {
  margin-bottom: 10px;
}
footer p {
  text-align: center;
  font-size: 0.9rem;
}
#footer-contents a:hover {
  color: #B78E36;
}
.footer_img {
  width: 100%;
  height: auto;
  margin: 50px auto 10px;
}
.footer_attention small {
  color: #B78E36;
  font-size: 1rem;
}
/*--------------------------リンクボタン-------------------------------*/
.main_button {
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  text-decoration: none;
  color: #FFFFFB;
  font-size: 18px;
  width: 250px;
  height: 40px;
  position: relative;
  transition: 0.3s;
  background-color: #6c3082;
  margin: 0 auto 70px;
}
.main_button::before, .main_button::after {
  content: "";
  display: block;
  position: absolute;
  border: 1px solid #FFFFFC;
  width: 100%;
  height: 100%;
  transition: .3s;
}
.main_button::before {
  top: -2px;
  left: -2px;
}
.main_button::after {
  top: 2px;
  left: 2px;
}
.main_button:hover::before, .main_button:hover::after, .main_button:active::before, .main_button:active::after {
  top: 0;
  left: 0;
}
/*--------------------------下層ページ共通-------------------------------*/
.wrap {
  padding: 0 5%;
}
#title {
  font-size: 2rem;
  border-bottom: 2px solid #B78E36;
  display: inline-block;
  margin: 20px 0 50px;
}
#title::before {
  content: "";
  display: inline-block;
  width: 50px;
  height: auto;
}
.delimiter {
  background: url("img/logo.svg") no-repeat center;
  height: 50px;
  margin: 0 auto 50px;
}
/*--------------------------aboutページ-------------------------------*/
.about_content_img {
  width: 80%;
  max-width: 500px;
  height: auto;
  display: block;
  margin: 20px auto;
}
#about-content p:last-of-type {
  margin-bottom: 70px;
}
/*--------------------------roomページ-------------------------------*/
#room h2 {
  text-align: center;
  margin-bottom: 50px;
}
.main_room_img img {
  width: 80%;
  height: auto;
  display: block;
  margin: 0 auto;
}
.main_room_img h2 {
  text-align: center;
  font-size: 1.5rem;
  margin: 30px auto;
  padding-bottom: 10px;
  border-bottom: 1px solid #B78E36;
  max-width: 300px;
}
.main_room_text table th {
  width: 35%;
  padding-bottom: 10px;
}
.main_room_text p {
  margin-bottom: 20px;
}
.main_room_text_price {
  text-indent: 0;
}
.main_room_text_price {
  font-size: 1.5rem;
  margin-bottom: 30px;
  text-align: center;
}
.main_room_text_price span {
  font-size: 1.2rem;
}
/*--------------------------formページ-------------------------------*/
.main_form {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
}
label {
  display: block;
  margin-bottom: 5px;
  font-size: 1.2rem;
}
input[type=text], input[type=email], input[type=tel], textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #B78E36;
  resize: vertical;
  background-color: #1C1C1C;
  margin-bottom: 15px;
}
input[type=submit] {
  -webkit-appearance: none;
  border-radius: 0;
  background-color: #B78E36;
  color: #1C1C1C;
  padding: 15px 30px;
  border: none;
  cursor: pointer;
  margin: 30px auto 0;
  display: block;
}
input[type=submit]:hover, input[type=submit]:active {
  background-color: #6C3082;
  color: #FFFFFB;
}
.main_form form p {
  font-size: 1.1rem;
  line-height: 2rem;
  text-indent: 0;
}
.main_form form p span {
  border-bottom: 1px solid #B78E36;
}
.form_attention {
  color: #B78E36;
  text-align: center;
  font-size: 15px;
}
.form_attention p {
  text-indent: 0;
}
/*--------------------------769px以上の設定-------------------------------*/
@media screen and (min-width:769px) {
  /*------------共通-------------*/
  body {
    font-size: 1.3rem;
  }
  body footer #footer-contents {
    justify-content: center;
  }
  /*------------ナビゲーション-------------*/
  #humberger-nav {
    display: none;
  }
  #global-nav {
    display: block;
  }
	#g-nav{
		position: fixed; 
		top: 0;
		left: 0;
		right: 0;
		z-index: 9999;
		background: #1C1C1C;
	}
  #g-nav ul {
    display: flex;
    justify-content: space-around;
  }
  body header #g-nav ul li a {
	  color: #FFFFFB;
    font-size: 1.5rem;
	  display: block;
    padding: 15px 0;
  }
  /*------------index-------------*/
  #content #main-contents {
    padding: 0 5%;
    text-align: center;
  }
  #content #main-catch .catch {
    position: relative;
    top: 7%;
  }
  #top #main-about img {
    margin: 100px auto;
  }
  #top #main-room .main_text p {
    margin-top: 40px;
  }
  #content .main_text {
    margin: 0 auto;
  }
  #content .main_text h2 {
    font-size: 2rem;
    margin-bottom: 70px;
  }
  #content .main_text p {
    max-width: 600px;
    margin: 0 auto 50px;
  }
  #top .main_button {
    margin-bottom: 100px;
  }
  /*------------下層共通-------------*/
  body .delimiter {
    margin: 50px 0 100px;
  }
	body #title{
		margin-top: 8%;
	}
  /*------------about-------------*/
  #about-content .about_content_text {
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    margin-bottom: 80px;
  }
  #about-content .about_content_img {
    width: 40%;
    max-width: 600px;
    margin: 0;
  }
  #about-content .about_content_text:nth-of-type(even) {
    flex-direction: row-reverse;
  }
  #about-content .about_content_text p {
    width: 55%;
    max-width: 800px;
  }
  /*------------room-------------*/
  #room main h2 {
    margin-bottom: 100px;
  }
  #room .main_room {
    display: flex;
    justify-content: space-between;
  }
  #room .main_room:first-of-type {
    margin-bottom: 70px;
  }
  #room .main_room_text p {
    margin-bottom: 30px;
  }
  #room .main_room_text_price {
    font-size: 1.8rem;
    margin-bottom: 40px;
  }
  .main_room_text_price span {
    font-size: 1.5rem;
  }
  #room .main_room_img {
    width: 40%;
  }
  #room .main_room_text {
    width: 55%;
  }
  /*------------form-------------*/
  .main_form input[type=submit] {
    margin: 50px auto;
  }
}