@charset "utf-8";
:root {
  --dark: #000;
  --black: #333;
  --light: #666;
  --white: #fff;
  --blue: #4184F3;
  --gray: #e6e6e6;
  --orange: #ffae00;
  --about: #5585B4;
  --menu: #7CD9A4;
  --staff: #F5C1F7;

  --shadow: 0 1px 5px rgba(104, 104, 104, 0.8);
}

html {
  font-size: 62.5%;
}
body{
  color:var(--dark);
  font-size: 1.6rem;
  font-family: "Hiragino Sans", Meiryo, sans-serif;
  font-weight: 200;    
  line-height: 1.5;
}

*, *::before, *::after {
  box-sizing: border-box;
}
a:link, a:visited, a:hover, a:active, a:focus {
  color:var(--black);
  text-decoration: none;
  outline: none;
}

h1 {
  font-size: 4.2rem;
  font-weight: normal;
}

h2{
  font-size: 2.4rem;
  font-weight: normal;
}
h3{
  font-size: 1.6rem;
  font-weight: normal;
}
h4 {
  font-size: 1.4rem;
  font-weight: 600;
}
p {
  font-size: 1.6rem;
  letter-spacing: 0.05em;
}


.hidden {
  display: none;
}
.pc {
  display: none;
}




/* ヘッダー・コンテンツ・フッターを囲む一番外側 */
.wrap {
  width: 100vw;
  margin: 0 auto;
}

/* ヘッダー */
header {
  width: 100vw;
  height: 120px;
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1;
  background-color: rgba(252, 250, 250, 0.4);
}

/* 予約/ロゴ/インスタ/メニューボタン */
.header-icons {
  width: 100%;
  max-width: 1200px;
  height: 120px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  padding: 0 15px;
  position: relative;
}

/* ご予約 */
.booking-btn {
  color:var(--white);
  font-size: 1.2rem;
  width: 90px;
  height: 30px;
  border-radius: 2px;
  box-shadow: var(--shadow);
  background-color: var(--black);
  text-align: center;
  line-height: 30px;
  /* アニメーション指定 */
  transition: all 0.4s ease-out;
}
.booking-btn:hover {
  color: var(--black);
  background-color:   rgb(255, 174, 0);
  /* アニメーション指定 */
  transition: all 0.4s ease-out;
}

/* ロゴ */
.header-logo {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
 
}
.header-logo img {
  width: 120px;
}

/* インスタ */
.icon-sns {
  font-size: 30px;
  color: var(--black);
  transition: .2s;
}
.icon-sns:hover {
  color: rgb(255, 174, 0);

}

/* ヘッダー右側　インスタとメニューボタン */
.header-icons-right {
  display: flex;
  align-items: center;
  /* ヘッダーの右側へ寄せる */
  margin-left: auto;
}

/* ハンバーガーメニューボタン */
/* ボタン外側 */
.nav-container {
  display: inline-block;
  padding: 10px 0 10px 15px
}
.open-btn {
  position: relative;
  cursor: pointer;
  width: 50px;
  height: 50px;
  border-radius: 5px;
  z-index: 9999;
}
/* ボタン内側 */
.open-btn span {
  display: inline-block;
  transition: all .4s ease-out;
  position: absolute;
  left: 14px;
  height: 3px;
  border-radius: 5px;
  background:var(--black);
  width: 55%;
  
}
.open-btn span:nth-of-type(1) {
 top: 13px;
}
.open-btn span:nth-of-type(2) {
 top: 19px;
}
.open-btn span:nth-of-type(3) {
 top: 25px;
 background-color: rgb(255, 174, 0);
}

.open-btn span:nth-of-type(3)::after {
  content: "MENU";
  position: absolute;
  top: 8px;
  left: 0px;
  font-size: 1rem;
  color:var(--black);
  font-family: canada-type-gibson, "Hiragino Kaku Gothic ProN", Meiryo, sans-serif ;
  font-weight: 200;    
  font-style: normal;
}

/* 線が回転してmenu=>closeになる */
.open-btn.active span:nth-of-type(1) {
  top: 14px;
  left: 18px;
  transform: translateY(6px) rotate(-45deg);
  width: 30%;
}
.open-btn.active span:nth-of-type(2) {
  opacity: 0;
}
.open-btn.active span:nth-of-type(3){
  top: 26px;
  left: 18px;
  transform: translateY(-6px) rotate(45deg);
  width: 30%;
}
.open-btn.active span:nth-of-type(3)::after {
  content:"close";
  transform: translateY(0) rotate(-45deg);
  top: 5px;
  left: 4px;
}

/* ナビゲーション縦スクロール */
 #side-nav.show .side-nav-list {
  position: absolute;
  top: 0;
  z-index: 999;
  width: 100%;
  height: 100%;
  overflow-y: scroll;
  -webkit-overflow-scrolling: touch;
} 


/* メイン・サイドナビ */
 #side-nav {
 position: fixed;
 z-index: 999;
 top: 0;
 right: -120%;
 width: 64%;
 height: 100%;
 background: rgba(252, 250, 250, 0.9);
 transition: all .8s ease-out;
}
#side-nav.show {
  right: 0;
}
/* top: 0に指定しないとナビゲーションの縦スクロールで上までいけない。 */
.main-nav {
  position: absolute;
  z-index: 999;
  display: inline-block;
  top: 8%;
  left: 0;
}
.nav {
  display: block;
  padding: 16px 16px 16px 24px;
  text-transform: uppercase;
}


/* スタイル項目＋サブナビ */
.nav-style {
  cursor: pointer;
  transition: .3s ;
}
.nav-style:hover {
  color: rgb(255, 174, 0);
}

.sub-nav li {
  display: block;
  padding: 12px 12px 12px 32px;
}

.main-nav li a,
.sub-nav li a {
  transition: .3s ;
}
.main-nav li a:hover,
.sub-nav li a:hover {
 color: rgb(255, 174, 0);
}

/* HOMEのスタイル指定 */
.main-nav li .nav-home {
  color: rgb(255, 174, 0);
  font-size: 2.2rem;
}
.main-nav li .nav-home:hover {
  color: var(--black);
}


/* フッター */
footer {
  width: 100vw;
  padding: 0 15px;
}

/* グリッド・フレックス混合エリア */
.variable-box-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  gap: 15px;
  padding: 100px 0 30px;
}
/* カンナロゴ */
.footer-logo img{
 width: 150px;
}
/* インスタ */
.footer-icons {
  text-align: center;
}

/* フッターインデックス */
.flex-box-footer {
 display: flex;
 flex-direction: column;
 gap: 15px;
 width: 100%;
 font-size: 1.4rem;
}

.footer-index {
  display: flex;
  justify-content: space-around;
  
}
.footer-index ul {
  list-style: none;
  
}
.footer-index-2 ul {
  display: flex;
  justify-content: center;
  list-style: none;
}


/* 著作権 */
.footer-copyright {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 10px;
}
/* カンナワークスロゴ */
.footer-copyright img {
  width: 50px;
  transition: transform 0.4s;
}
.footer-copyright img:hover {
  transform: rotate(360deg);
}
/* フッター終了 */



/* メディアクエリ */
/* 数値は後で変更 */
@media screen and (min-width: 835px) {
  p {
    font-size: 1.7rem;
  }
  .pc {
    display: block;
  }
  .sp {
    display: none;
  }
  /* ヘッダー */
  /* ご予約 */
.booking-btn {
  font-size: 1.4rem;
  width: 100px;
}
/* ロゴ */
.header-logo img {
  width: 150px;
}
/* ヘッダー終了 */

  /* フッター */
  .variable-box-footer {
    display: grid;
    grid-template-columns: 50% 50%;
    grid-template-rows: 1fr 1fr 1fr;
  }
  /* カンナロゴ */
.footer-logo {
  grid-column: 1/2;
  grid-row: 1/2;
  margin: 0 auto;
 }
 /* インスタ */
 .footer-icons {
  grid-column: 1/2;
  grid-row: 2/3;
 }
 /* インデックス */
 .flex-box-footer {
  grid-column: 2/3;
  grid-row: 1/4;
  justify-content: center;
 }
 /* 著作権 */
.footer-copyright {
  grid-column: 1/2;
  grid-row: 3/4;
}
}
