@charset "utf-8";

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

$目次

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

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

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

$root

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

/* -- ここはサイトごとに変更 -- */
:root {
  --logo: 299px;
}

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

$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: var(--white-color);
  left: 0;
  margin: 0 auto;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0px 3px 12px rgba(34, 34, 34, 0.12);
}

header #headerInner {
  align-items: center;
  display: flex;
  position: relative;
  transition: all 0.5s;
  width: 100%;
  padding: 0 !important;
}

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

header #headerInner #headerL .logo {
  max-width: var(--logo);
}

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

/* タブレット・スマホ：ヘッダーの高さをハンバーガーメニュー（60px）に揃える */
@media screen and (max-width: 1024px) {
  header {
    padding: 0 5rem 0 1.25rem;
    min-height: 60px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
  }

  header #headerInner {
    display: block;
  }

  header #headerInner #headerL {
    width: 60%;
    max-width: var(--logo);
    margin: 0 !important;
  }
}

/* スマホ：ロゴを大きく */
@media screen and (max-width: 767px) {
  header #headerInner #headerL {
    width: 100%;
    max-width: 280px;
  }
}

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

$navi （PC）

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

.navi {
  margin: 0 auto;
  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: var(--font-weight_bold);
  line-height: 1;
  margin: 0;
  padding: 0;
}

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

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

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

.navi > ul > li a.title::after {
  background: var(--primary-color);
  bottom: 20px;
  content: "";
  height: 2px;
  position: absolute;
  left: 25%;
  transform: translate(-50%, -50%);
  transform: scale(0, 1);
  transform-origin: center top;
  transition: all 0.3s ease-out;
  width: 50%;
}

.navi > ul > li a.title.noLink::after {
  content: none;
}

.navi > ul > li a.title:hover::after {
  transform: scale(1, 1);
}

.navi > ul > li.telArea {
  margin-left: 10px;
}

.navi > ul > li.telArea.sp {
  display: none !important;
}

.navi > ul > li.telArea a {
  padding: 0;
}

.navi > ul > li.telArea a .tel {
  font-size: 1.5625rem;
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-style: normal;
}

.navi > ul > li.telArea a .tel:before {
  content: "";
  display: inline-block;
  width: 14px;
  height: 19px;
  background-image: url(../images/ico_tel.png);
  background-size: contain;
  vertical-align: baseline;
  margin-right: 0.1875rem;
}

.navi > ul > li.telArea a .ss {
  display: block;
  font-size: 0.75rem;
  margin-top: 3px;
  font-weight: 400;
}

.navi .ssBox {
  display: none;
}

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

$contactArea（ボタン）

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

.navi > ul .contactArea {
  margin-left: 0.9375rem;
}

.navi > ul .contactArea a {
  align-items: center;
  background: var(--color-cta, #ea6c00);
  color: var(--white-color);
  text-align: center;
  text-decoration: none;
  font-size: 0.9375rem;
  line-height: 1.5;
  padding: 0.375rem 1.25rem 0.125rem 1.25rem;
  height: 90px;
  border: 1px solid var(--color-cta, #ea6c00);
  display: flex !important;
  justify-content: center;
  align-items: center;
}

.navi > ul .contactArea a:hover::after {
  content: none;
}

.navi > ul .contactArea a:hover {
  background: #ffffff;
  color: var(--color-cta, #ea6c00);
}

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

$タブレットサイズ以下スタイル

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

@media screen and (max-width: 1110px) {
  header #headerInner #headerL {
    margin: 0 1.25rem 0 3%;
  }

  .navi > ul > li a {
    padding: 2.3125rem 0.625rem;
  }

  .navi > ul > li.telArea a .tel {
    font-size: 1.375rem;
  }

  .navi > ul .contactArea a {
    padding: 0.375rem 0.9375rem 0.125rem 0.9375rem;
  }
}

/* PC幅が狭いとき（1025〜1240px）：ヘッダー項目の折り返し防止 */
@media screen and (min-width: 1025px) and (max-width: 1240px) {
  header #headerInner #headerL {
    margin: 0 0.75rem 0 2%;
  }

  header #headerInner #headerL .logo {
    max-width: 230px;
  }

  .navi > ul > li a {
    font-size: 0.875rem;
    padding: 2.3125rem 0.5rem;
    white-space: nowrap;
  }

  .navi > ul > li.telArea a .tel {
    font-size: 1.25rem;
  }

  .navi > ul .contactArea {
    margin-left: 0.5rem;
  }

  .navi > ul .contactArea a {
    font-size: 0.8125rem;
    padding: 0.375rem 0.75rem 0.125rem 0.75rem;
  }
}

@media screen and (max-width: 1024px) {
  .navi {
    background: var(--white-color);
    box-sizing: border-box;
    color: var(--font-color);
    display: block;
    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;
    visibility: hidden;
    width: 100%;
    z-index: -1;
  }

  .navi.active {
    opacity: 1;
    visibility: visible;
    z-index: 1000;
  }

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

  .navi .logo img {
    max-width: var(--logo);
  }

  .navi .logo a {
    display: block;
    padding: 0.9375rem 1.25rem;
    width: 64%;
  }

  .navi ul li {
    border-bottom: 1px solid #e0e0e0;
    display: block;
    position: relative;
  }

  .navi > ul > li a {
    font-size: 0.9375rem;
    padding: 2.3125rem 0.5rem;
  }

  .navi ul li a.title {
    color: var(--font-color);
    display: block;
    font-size: 0.9375rem;
    line-height: 1.4;
    padding: 1.25rem;
    position: relative;
    text-decoration: none;
    width: 100%;
  }

  .navi ul li a.title::before {
    border-right: solid 2px var(--primary-color);
    border-top: solid 2px var(--primary-color);
    content: "";
    height: 8px;
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
    transition: transform 0.3s ease, border-color 0.3s ease;
    width: 8px;
  }

  .navi > ul > li a.title::after {
    content: none;
  }

  .navi > ul .contactArea a {
    padding: 0.375rem 0.625rem 0.125rem 0.625rem;
  }

  .navi > ul > li.telArea {
    margin: 1.25rem 0 0.625rem 0;
    border: none;
    display: none !important;
  }

  .navi > ul > li.telArea.sp {
    display: block !important;
  }

  .navi > ul > li.telArea.sp a {
    font-size: 0.875rem;
    background: rgba(219, 225, 225, 1);
    width: 80%;
    padding: 1.25rem 0;
    margin: 0 auto;
    position: relative;
  }

  .navi > ul > li.telArea.sp a .tel {
    font-size: 0.875rem;
  }

  .navi ul li.contactArea {
    border: none;
    display: block;
    width: 100%;
    margin: 0 auto !important;
  }

  .navi > ul .contactArea a.title {
    font-size: 0.875rem;
    padding: 1.25rem 0;
    margin: 0 auto;
    width: 80%;
    height: auto;
    color: #ffffff;
  }

  .navi > ul > li.telArea.sp a .tel:before,
  .navi ul li.contactArea::after {
    content: none;
  }

  .navi ul li.telArea.sp a::before {
    border-right: solid 2px var(--primary-color);
    border-top: solid 2px var(--primary-color);
    content: "";
    height: 8px;
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
    transition: transform 0.3s ease, border-color 0.3s ease;
    width: 8px;
  }

  .navi ul li.contactArea a.title::before {
    border-right: solid 2px #ffffff;
    border-top: solid 2px #ffffff;
    right: 10px;
  }

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

  .navi .ssBox ul {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
  }

  .navi .ssBox ul li {
    margin-left: 10px;
    border: none;
  }

  .navi .ssBox ul li:first-child {
    margin-left: 0;
    margin-right: 10px;
  }

  .navi .ssBox a {
    font-size: 0.8125rem;
    color: #8b8b8b;
    padding-left: 13px;
  }

  .navi .ssBox a::before {
    border-right: solid 2px #8b8b8b;
    border-top: solid 2px #8b8b8b;
    content: "";
    height: 7px;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
    transition: transform 0.3s ease, border-color 0.3s ease;
    width: 7px;
  }
}

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

$hamburger

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

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

  .hamburger__line {
    background-color: var(--white-color);
    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: var(--white-color);
    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: var(--white-color);
    content: "MENU";
    font-size: 0.625rem;
    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";
  }
}
