@charset "utf-8";

/*========================================================================*\

$目次

\*========================================================================*/

/*$root
/*$common
/*$header
/*$navi （PC）
/*$contactArea（ボタン）
/*$navi （SP）
/*$hamburger

/*========================================================================*\

$root

\*========================================================================*/

:root {
  --headerL: 20%;
}

/*========================================================================*\

$common

\*========================================================================*/

.hamburger {
  display: none;
}

.tablet {
  display: none;
}

@media screen and (max-width: 1024px) {
  .navi > ul > li a.title::after {
    content: none;
  }
  .tablet {
    display: block !important;
  }
}

/*========================================================================*\

$header

\*========================================================================*/

header {
  background-color: #ffffff;
  margin: 0 auto;
  width: 100%;
  z-index: 1000;
}

header #headerInner {
  align-items: center;
  display: flex;
  position: relative;
  transition: all 0.5s;
  width: 100%;
  margin: 0 auto;
  max-width: 1200px;
}

header #headerInner #headerL {
  margin: 0;
  padding: 0;
  line-height: 1;
  z-index: 100;
  flex: 0 0 auto;
}

header #headerInner h1 {
  max-width: 250px;
}

header #headerInner #headerR {
  margin: 0;
  flex: 1 0 0;
}

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

  header #headerInner {
    max-width: 100%;
  }
}

@media screen and (max-width: 1024px) {
  header {
    padding: 2.5rem 2rem;
  }

  header #headerInner {
    display: block;
  }

  header #headerInner #headerL {
    margin-right: 0;
    width: 100%;
  }

  header #headerInner #headerL .logo {
    width: 50%;
  }
}

/*========================================================================*\

$navi （PC）

\*========================================================================*/

.navi {
  margin: 0 auto;
  width: 100%;
}

.navi .logo {
  width: 50%;
}

.navi .logo a {
  display: block;
  padding: 2.5rem 0 2.5rem 2rem;
}

.navi .logo img {
  max-width: 100%;
}

.navi > ul {
  align-items: center;
  display: flex;
  justify-content: flex-end;
  margin: 0 auto;
  width: 100%;
}

.navi > ul > li {
  display: flex;
  flex-wrap: wrap;
  font-weight: 700;
  line-height: 1;
  margin: 0;
  padding: 0;
  border-left: 1px solid #bfc8c2;
}

.navi > ul > li:last-child {
  border-right: 1px solid #bfc8c2;
}

.navi > ul > li a {
  align-items: center;
  color: #6a6a6a;
  display: flex;
  font-size: var(--font-size);
  justify-content: center;
  line-height: 1;
  margin: 0;
  padding: 2rem 0rem;
  text-decoration: none;
  text-align: center;
  transition: all 0.3s ease-out;
  width: 160px;
}

.navi > ul > li a:before {
  content: "";
  display: block;
  width: 19px;
  height: 28px;
  background-image: url(../images/ico_greeting.png);
  background-size: contain;
  text-align: center;
  margin: 0 auto 1.5rem auto;
}

.navi > ul > li:nth-child(2) a:before {
  width: 30px;
  height: 28px;
  background-image: url(../images/ico_reports.png);
  background-size: contain;
}

.navi > ul > li:nth-child(3) a:before {
  width: 29px;
  height: 28px;
  background-image: url(../images/ico_news.png);
  background-size: contain;
}

.navi > ul > li:nth-child(4) a:before {
  width: 26px;
  height: 28px;
  background-image: url(../images/ico_overview.png);
  background-size: contain;
}

.navi > ul > li a.title {
  display: block;
  position: relative;
}

.navi > ul > li a.title .en {
  color: #93937f;
  font-size: 1.2rem;
  margin-top: 0.5rem;
  font-weight: 600;
  display: block;
}

.navi > ul > li a.title:hover {
  color: var(--primary-color);
  background: #ecf5ee;
}

/*========================================================================*\

$header_max-width: 1024px

\*========================================================================*/

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

/*========================================================================*\

$spスタイル

\*========================================================================*/

@media screen and (max-width: 1024px) {
  .navi {
    background: #ffffff;
    box-sizing: border-box;
    color: var(--font-color);
    display: none;
    height: 100%;
    left: 0;
    opacity: 0;
    overflow: auto;
    padding: 0;
    position: fixed;
    text-align: left;
    top: 0;
    transition: opacity 0.6s ease, visibility 0.6s ease;
    width: 100%;
    z-index: -1;
  }

  .navi.active {
    display: block;
    opacity: 1;
    z-index: 30000;
  }

  .navi > ul {
    display: block;
    padding: 2rem;
  }

  .navi ul li {
    border: none;
    position: relative;
    border-left: none;
  }

  .navi ul li:nth-child(n + 2) {
    margin-top: 1.5rem;
  }

  .navi > ul > li:last-child {
    border-right: none;
  }

  .navi > ul > li a:before {
    margin: 0;
    display: inline-block;
    margin-right: 1rem;
  }

  .navi ul li a.title {
    color: var(--font-color);
    font-size: 1.5rem;
    height: auto;
    line-height: 1;
    padding: 2rem;
    position: relative;
    text-decoration: none;
    width: 100%;
    display: flex;
    text-align: left;
    justify-content: flex-start;
    border: 1px solid var(--primary-color);
    border-radius: 0.6rem;
  }

  .navi ul li a.title::after {
    background: transparent;
    border-right: solid 2px var(--primary-color);
    border-top: solid 2px var(--primary-color);
    content: "";
    height: 8px;
    left: auto;
    position: absolute;
    right: 21px;
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
    transition: 0.2s;
    width: 8px;
  }

  .navi > ul .menu {
    border-radius: 0;
    display: none;
    max-height: none;
    opacity: 1;
    overflow: visible;
    padding: 0;
    position: static;
    text-align: left;
    transform: none;
    width: 100%;
  }

  .navi ul li .menu .menu_inner ul {
    display: block;
    margin: 0;
    width: 100%;
  }

  .navi ul ul {
    margin-bottom: 0;
  }

  .navi ul ul li {
    border-bottom: 1px solid #ffffff;
  }

  .navi ul ul li:last-child {
    border: none;
  }

  .navi ul ul li:before {
    content: none !important;
  }

  .navi > ul .menu .menu_inner .child a {
    border: none;
    display: block;
    font-size: 1.4rem;
    padding: 2rem;
    position: relative;
    text-align: left;
    text-decoration: none;
    width: 100%;
  }

  .navi > ul .menu .menu_inner .child a:before {
    right: 2.1rem;
  }
}

/*========================================================================*\

$hamburger

\*========================================================================*/

@media screen and (max-width: 1024px) {
  .hamburger {
    background: var(--primary-color);
    border-radius: 10px;
    display: block;
    height: 60px;
    overflow: hidden;
    position: fixed;
    right: 10px;
    top: 7px;
    width: 60px;
    z-index: 99999;
  }

  .hamburger__line {
    background-color: #ffffff;
    display: block;
    height: 2px;
    left: 50%;
    position: absolute;
    top: 26px;
    transform: translateX(-50%);
    transition: 0.4s;
    width: 24px;
  }

  .hamburger__line:before,
  .hamburger__line:after {
    background-color: #ffffff;
    content: "";
    display: block;
    height: 100%;
    position: absolute;
    transition: inherit;
    width: 100%;
  }

  .hamburger__line:before {
    top: -6px;
  }

  .hamburger__line:after {
    top: 6px;
  }

  .hamburger__text {
    bottom: 8px;
    left: 50%;
    margin: auto;
    position: absolute;
    transform: translateX(-50%);
  }

  .hamburger__text::before {
    color: #ffffff;
    content: "MENU";
    font-size: 10px;
    font-weight: 900;
    text-align: center;
  }

  .hamburger.active .hamburger__line {
    background-color: transparent;
  }

  .hamburger.active .hamburger__line::before {
    top: 0;
    transform: rotate(45deg);
  }

  .hamburger.active .hamburger__line::after {
    top: 0;
    transform: rotate(-45deg);
  }

  .hamburger.active .hamburger__text::before {
    content: "Close";
  }
}
