@charset "utf-8";

/* CSS Document */
:root {
  --color-main: #E56C21;
  --color-sub: #231815;
  --color-accent: #3584bb;
  --color-bg-light: #E7C297;
  --color-bg-gray: #CCCCCC;
  --color-white: #ffffff;
  --color-black: #333333;
  --sub-color: #231815;
  /* Fonts */
  --font-main: "Noto Sans JP", sans-serif;
  --font-heading: 'Oswald', sans-serif;
  --font-deco: 'Cinzel', serif;
  /* Sizes */
  --header-height: 60px;
  --container-max: 1024px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  font-family: var(--font-main);
}

a {
  text-decoration: none;
  color: var(--color-sub);
  background: transparent;
}

.pc {
  display: block;
}
.pc.tb {
  display: block;
}
.tb {
  display: none;
}
.sp {
  display: none;
}

/* ヘッダー */

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  z-index: 1000;
   }

.header-logo {
  padding: 10px 15px;
}

.header-logo img {
  max-width: 57px;
  height: auto;
}

.header-right {
  display: flex;
  align-items: center;
  background: var(--color-white);
  border-radius: 0 0 0 27px;
  padding: 0 20px 0 15px;
  top: 0px;
  right: 0px;
}

.contact-btn {
  margin-right: 40px;
  font-family: var(--font-main);
  font-weight: 900;
  font-size: 14px;
  text-decoration: none;
  box-sizing: border-box;
  padding: 0px 15px;
}

.contact-btn img {
  width: 17px;
  height: auto;
  margin-left: 5px;
  vertical-align: -1px;
}

@media(max-width: 1023px) {
  .pc {
    display: none;
  }
  .pc.tb {
    display: block;
  }
  .tb {
    display: block;
  }
  .tb.sp {
    display: block;
  }
  .sp {
    display: none;
  }
}


@media(max-width: 768px) {
  .desktop-only {
    display: none;
  }

  .header {
    background: var(--color-white);
  }

 .menu-btn {
    right: 16px;
  }
  .menu-btn span {
  
  height: 1px;
 
}
}

/* ハンバーガーボタン */
.menu-btn {
  width: 30px;
  height: 13px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
}

.menu-btn span {
  display: block;
  height: 4px;
  background: var(--color-sub);
  border-radius: 1px;
  transition: 0.3s;
  transform-origin: center center;
}

/* メニューオープン時のアニメ */
.menu-btn.active {
  right: 20px;
}
.menu-btn.active span:nth-child(1) {
  transform: translateY(4.5px) rotate(45deg);
}

.menu-btn.active span:nth-child(2) {
  transform: translateY(-4.5px) rotate(-45deg);
}

/* × の時だけ細く */
/* .menu-btn.active span {
  height: 3px;
} */

/* ------------------------------
   MENU PANEL
------------------------------ */
.menu-panel {
  position: fixed;
  top: 0;
  right: 0;
  width: 0;
  height: 100vh;
  overflow: hidden;
  background: #e6e6e6;
  transition: 0.4s ease;
  z-index: 999;
  display: flex;
  flex-direction: column;
  padding: 73px 0 0 0px;
  visibility: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.menu-panel.open {
  width: 242px;
  visibility: visible;
}

.menu-panel.open {
  width: 242px;
}

.main-menu {
  padding: 70px 0px 150px 30px;
}

.main-menu ul {
  list-style: none;
}

.main-menu a {
  text-decoration: none;
  font-family: var(--font-main);
  font-size: 14px;
  font-weight: 600;
  line-height: 3.5;
}

.sub-menu {
  padding: 0 30px;
  padding-bottom: 100px;
}

.sub-menu ul {
  list-style: none;
}

.sub-menu ul li img {
  max-width: 18px;
  height: auto;
}

.sub-menu a {
  text-decoration: none;
  line-height: 2.5;
}


.menu-panel.open {
  background: #e6e6e6;
}

.contact-menu-btn {
  display: block;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  padding: 18px 0;
  background-color: var(--color-white);
  text-align: center;
  font-family: var(--font-main);
  border-radius: 0;
  transition: background 0.3s ease;
  z-index: 2000;
}

.contact-menu-btn a {
  font-family: var(--font-main);
  font-size: 14px;
  font-weight: 700;
  color: var(--color-sub);
}

.header-white {
  background: var(--color-white) !important;
  /* 背景を白に */
}
/* メニューOPEN */
.menu-open {
  overflow: hidden;
}

/* nav 表示 */
.menu-open .header .nav {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/*
.home .header {
  visibility: hidden;
}

.home .header.is-show {
  visibility: visible;
}*/

/* メニューOPEN中は header を強制表示 */
.home.menu-open .header {
  visibility: visible;
}

/* メニューOPEN中はハンバーガー非表示 */
body.menu-open .open-menu {
  opacity: 0;
  pointer-events: none;
}

@media (max-width: 559px) {
  .pc {
    display: none;
  }
  .pc.tb {
    display: none;
  }
  .tb {
    display: none;
  }
  .tb.sp {
    display: block;
  }
  .sp {
    display: block;
  }
  .contact-btn.desktop-only {
    display: none !important;
  }
  .menu-btn {
    right: 20px;
  }
}