@charset "UTF-8";

:root {
  --black-color:#222222;
  --gray-color:#888888;
  --white-color:#fff;
}

html {
  scroll-behavior: smooth;
}

body {
  width: 100%;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
  color: var(--black-color);
  font-size: 16px;
  line-height: 1.8;
  letter-spacing: 0.1em;
  font-family: "BIZ UDPGothic", sans-serif;
  background-color: var(--white-color);
}

body.js_body.is-active {
  overflow: hidden;
}

a:hover {
  opacity: 0.7;
}

.fadein-section {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1s ease, transform 1s ease;
}

.fadein-section.show {
  opacity: 1;
  transform: translateY(0);
}

header {
  font-family: "Oswald", sans-serif;
  position: fixed;
  height: 80px;
  width: 100%;
  padding: 0 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  top: 0;
  left: 0;
  z-index: 100;
}

.h_left{
  position: fixed;
  top: 0;
  left: 0;
  width: 160px;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 100;
  margin-left: 2.0rem;
}

.h_menu{
  font-weight: 500;
  font-size: 0.75rem;
}

.h_menu {
  list-style: none;
  padding: 0;
  margin: 0;
  width: 100%;
}

.h_menu-item {
  position: relative;
  width: 100%;
  color: #93A5A7;
}

.h_menu-item a {
  display: inline-block;
  transition: transform 0.3s ease, color 0.3s ease;
}

.h_menu-item.active a {
  color: #2E3C3D;
}

.h_menu-item a:hover {
  transform: translateX(5px);
}

.h_menu-item:not(:last-child)::after {
  content: "";
  display: block;
  width: 2.0rem;
  height: 1px;
  background-color: #93A5A7;
  margin: 0.25rem;
  margin-left: 0;
}

.h_menu-item.active:not(:last-child)::after {
  background-color: #2E3C3D;
}


.l_header-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(255, 255, 255, 0.9);
  display: none;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.l_header-nav.is-active {
  display: flex;
  opacity: 1;
}

.l_header-nav_item {
  text-align: center;
  font-size: 18px;
  font-weight: 600;
  font-style: normal;
  letter-spacing: normal;
  margin-bottom: 32px
}

.l_header_links_list{
  display: flex;
  gap: 24px;
}

.m_hamburger {
  display: none;
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #fff;
  cursor: pointer;
}

.m_hamburger-bar {
  position: absolute;
  left: 50%;
  width: 60%;
  height: 2px;
  background-color: #2E3C3D;
  border-radius: 1px;
  transform: translateX(-50%);
  transition: all 0.3s ease;
}

.m_hamburger-bar:first-child {
  top: 35%;
  transform: translate(-50%, -50%);
}

.m_hamburger-bar:nth-child(2) {
  top: 50%;
  transform: translate(-50%, -50%);
}

.m_hamburger-bar:last-child {
  top: 65%;
  transform: translate(-50%, -50%);
}

.m_hamburger.is-active .m_hamburger-bar:first-child {
  transform: translate(-50%, 5px) rotate(45deg);
}

.m_hamburger.is-active .m_hamburger-bar:nth-child(2) {
  opacity: 0;
}

.m_hamburger.is-active .m_hamburger-bar:last-child {
  transform: translate(-50%, -7px) rotate(-45deg);
}

.js_navigation {
  display: none;
}

.js_navigation.is-active {
  display: block;
}


@media screen and (max-width: 900px) {
  header{
    padding: 0 1rem;
  }

  .h_left{
    display: none;
  }

  .h_menu{
    display: none;
  }
  .m_hamburger {
    display: block;
  }

  .js_navigation {
    display: none;
    position: absolute;
    top: 50px;
    right: 16px;
    background-color: #fff;
    border-radius: 8px;
    padding: 1rem;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  }
  .js_navigation.is-active {
    display: block;
  }
}


/*footer*/

footer{
  width: 100vw;
  margin: 0;
  padding: 4rem 0 1rem;
  background: url("img/f_bg.svg") no-repeat top center;
  background-size: cover;
  margin-top: 120px;
}

.f_logo{
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

.f_logo img{
  max-width: 320px;
}

.f_bottom{
  padding-top: 80px;
}

.f_bottom-text{
  text-align: center;
  font-size: 0.5rem;
  font-weight: 500;
  letter-spacing: 0.05em;
}

@media screen and (max-width: 768px) {

  .f_logo img{
    max-width: 240px;
    transition: opacity 0.3s;
  }

}

.wp-block-paragraph {
  white-space: normal !important;
}