@charset "utf-8";

/*
/*
Theme Name: FABRI Wordpressテーマ
Version: 1.0
Author: Artizan.LLC
*/

@import url("https://fonts.googleapis.com/css?family=Material+Icons|Material+Icons+Outlined|Material+Icons+Round|Material+Icons+Sharp|Material+Icons+Two+Tone");
@import url("https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@20..48,100..700,0..1,-50..200");
@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Zen+Kaku+Gothic+New:wght@300;400;500;700;900&display=swap");

* {
  line-height: 1.75;
}

html {
  font-size: 18px;
}

body {
  font-family: "Zen Kaku Gothic New", sans-serif !important;
  width: 100vw;
  overflow-x: hidden;
  min-height: 100vh;
  background-color: var(--color-main-cream);
}

a {
  cursor: pointer;
  opacity: 1;
  transition: 0.3s opacity ease-in-out;
}

a:hover {
  opacity: 0.5;
}

.font-mon {
  font-family: "Montserrat", sans-serif;
}

.aligncenter {
  margin-left: auto;
  margin-right: auto;
}

.alignright {
  margin-left: auto;
  margin-right: 0;
}

/* - - - - - - - - - - - - - - - - - - - - - 
 ヘッダー 
 - - - - - - - - - - - - - - - - - - - - - */
#header_content {
  box-shadow: 0 0 10px 0 rgba(0, 0, 4, 0.25);
}

#header {
  top: 0;
  transition: 0.5s top ease;
}

#header.hide {
  top: -100%;
}

/* - - - - - - - - - - - - - - - - - - - - - 
 ヘッダー周り
- - - - - - - - - - - - - - - - - - - - - */
#sp_header_content_wrapper {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgb(0, 0, 0);
  opacity: 0;
  animation: fadeIn 0.2s ease-in-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 0.65;
  }
}

#sp_header_content_wrapper.active {
  display: block;
  opacity: 0.65;
}

#sp_header.active #sp_header_logo {
  display: none;
}

#sp_header #sp_header_content {
  display: none;
}

#sp_header.active #sp_header_content {
  display: block;
}

/* - - - - - - - - - - - - - - - - - - - - - 
 ハンバーガーメニュー 
- - - - - - - - - - - - - - - - - - - - - */
#sp_header {
  top: 0;
  transition: 0.5s top ease;
}

#ham_btn {
  cursor: pointer;
  text-align: center;
  width: 40px;
  top: 0.75rem;
  right: 1rem;
  position: absolute;
  transition: 0.3s top ease;
}

#ham_btn #ham_icon {
  width: 28px;
  height: 13px;
  position: relative;
}

#ham_btn #ham_icon {
  margin: 0 auto;
}

#ham_btn #ham_icon span {
  display: block;
  width: 100%;
  height: 5px;
  background-color: var(--color-main-blue);
  position: absolute;
  left: 0;
  transition: 0.3s all ease;
}

#ham_btn #ham_icon span:nth-child(1) {
  top: 0;
}

#ham_btn #ham_icon span:nth-child(2) {
  bottom: 0;
}

#ham_btn.active {
  top: 1rem;
}

#ham_btn.active #ham_icon span:nth-child(1) {
  transform: rotate(45deg);
  top: 4px;
}

#ham_btn.active #ham_icon span:nth-child(2) {
  transform: rotate(-45deg);
  bottom: 4px;
}

/* テキスト */
/* MENU */
#ham_btn #ham_btn_text_menu {
  display: block;
}
#ham_btn.active #ham_btn_text_menu {
  display: none;
}
/* CLOSE */
#ham_btn #ham_btn_text_close {
  display: none;
}
#ham_btn.active #ham_btn_text_close {
  display: block;
}
