/*-------------------------------------------------------
  Grobalmenu
-------------------------------------------------------*/

/* ===== SP ===== */
header {
  height: 60px;
  display: block;
  position: relative;
  border: none;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
  background-color: #FFF;
  z-index: 11;
}

.header__img {
  margin-left: 20px;
  padding-top: 20px;
  width: 140px;
  height: 60px;
  display: inline-block;
  background-color: #FFF;
}

.header__logo-img {
  width: 140px;
  height: 40px;
}

.header__logo {
  margin-left: 20px;
  padding-top: 10px;
  width: 140px;
  height: 60px;
  display: inline-block;
  background-color: #FFF;
}

a.header__img-a:hover {
  text-decoration: none;
}

a.header__logo-a:hover {
  text-decoration: none;
}

.header__contactContact-a:hover,
.header__nav-a:hover,
.header__megamenu-a:hover {
  text-decoration: none;
}

.header__logo-wrapper {
  display: flex;
  align-items: center;
}

.catchcopy {
  font-size: 10px;
  line-height: 1.2;
  letter-spacing: 0.1em;
  color: #2a3046;
  width: 176px;
  margin-left: 16px;
}

.header__contactContact-a {
  font-weight: bold;
  font-size: 13px;
  letter-spacing: 0.02em;
  display: flex;
  position: relative;
  align-items: center;
  justify-content: space-evenly;
  width: 160px;
  padding: 8px 0;
  text-align: center;
  text-decoration: none;
  margin: 0 auto;
  color: #fff;
  background: #ff6600;
  border-radius: 40px;
  box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.2);
}

.header__contactContact-a::before {
  content: "";
  background-image: url(/image/common/icon_mail.svg);
  vertical-align: middle;
  background-size: contain;
  background-repeat: no-repeat;
  width: 24px;
  height: 24px;
  margin: 0 4px 0 8px;
  display: inline-block;
}

.header__contactContact-a::after {
  content: "";
  background-image: url(/image/common/icon_window_white.svg);
  vertical-align: middle;
  background-size: contain;
  background-repeat: no-repeat;
  width: 24px;
  height: 24px;
  margin: 0 8px 0 4px;
  display: inline-block;
}

/* ===== naviSP ===== */
@media screen and (max-width:767px) {

  .header__nav-a {
    display: flex;
    position: relative;
    text-decoration: none;
    color: #000;
    font-weight: bold;
    letter-spacing: 0.2em;
    font-size: 14px;
    padding: 24px;
  }

  .header__nav-a::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    margin-top: auto;
    margin-bottom: auto;
    display: block;
    width: 16px;
    background-image: url(/image/common/icon_nav_arrow.svg);
    background-size: contain;
    background-repeat: no-repeat;
    transform: rotate(-90deg);
  }

  .header__megamenu {
    margin-bottom: 16px;
  }

  .header__megamenu-a {
    display: flex;
    position: relative;
    font-size: 13px;
    font-weight: bold;
    padding: 16px 40px;
    text-decoration: none;
    color: #000;
  }

  .header__megamenu-a::after {
    content: "";
    position: absolute;
    top: -2px;
    bottom: 0;
    right: 26px;
    margin-top: auto;
    margin-bottom: auto;
    display: block;
    width: 12px;
    height: 12px;
    background-image: url(/image/common/icon_nav_arrow.svg);
    background-size: contain;
    background-repeat: no-repeat;
    transform: rotate(-90deg);
  }

  .burgerBtn {
    display: block;
    width: 40px;
    height: 40px;
    position: absolute;
    z-index: 3;
    right: 10px;
    top: 10px;
    border: none;
    background-color: transparent;
  }

  .bar {
    width: 20px;
    height: 2px;
    display: block;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    background-color: #686f86;
    border-radius: 6px;
  }

  .bar__top {
    top: 12px;
  }

  .bar__mid {
    top: 50%;
    transform: translate(-50%, -50%);
  }

  .bar__bottom {
    bottom: 12px;
  }

  .burgerBtn.close .bar__top {
    transform: translate(-50%, 6px) rotate(45deg);
    transition: transform .3s;
  }

  .burgerBtn.close .bar__bottom {
    transform: translate(-50%, -8px) rotate(-45deg);
    transition: transform .3s;
  }

  .burgerBtn.close .bar__mid {
    opacity: 0;
    transition: opacity .3s;
  }

  .header__nav-outer {
    height: 100vh;
    left: 0;
    position: fixed;
    overflow-y: scroll;
    overflow-x: hidden;
    top: 60px;
    transform: translateX(100%);
    transition: transform .3s;
    width: 100vw;
    z-index: 2;
    border-top: 1px solid #e4e6eb;
    background-color: #fff;
  }

  .header__nav-container {
    width: 100%;
    height: 100%;
    background-color: #fff;
  }

  .header__nav-wrapper {
    display: block;
    position: absolute;
    width: 100%;
    text-align: left;
    padding-bottom: 200px;
  }

  .header__nav-item {
    margin-right: 0;
    border-bottom: 1px solid #e4e6eb;
    font-size: 18px;
  }

  .header__nav-outer.slide-in {
    transform: translateX(0);
  }

  .noscroll {
    height: 100%;
    overflow: hidden;
  }

}

/* ===== tablet ===== */
@media screen and (min-width:768px) {

  .header__nav-a {
    position: relative;
    display: inline-block;
    text-decoration: none;
    color: #000;
    font-weight: bold;
    letter-spacing: 0.2em;
    font-size: 14px;
    height: 16px;
    margin: 22px 0;
  }

  .header__wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .catchcopy {
    margin-left: 8px;
    width: auto;
  }

  .header__logo-wrapper {
    margin-left: 24px;
  }

  .header__logo {
    margin-left: 0;
  }

  .header__nav-wrapper {
    display: flex;
    align-items: center;
  }

  .header__menu {
    margin-right: 24px;
  }

  .header__nav-item {
    font-size: 13px;
    margin-right: 10px;
  }

  /*.header__nav-a::after {
    content: "";
    position: absolute;
    top: -2px;
    bottom: 0;
    right: -16px;
    margin-top: auto;
    margin-bottom: auto;
    display: block;
    width: 14px;
    height: 8px;
    background-image: url(/image/common/icon_nav_arrow.svg);
    background-size: contain;
    background-repeat: no-repeat;
    transform: rotate(-90deg);
  }*/

  .header__nav-item:last-child {
    margin-right: 0px;
  }

  .current::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: -22px;
    background-color: #2a3046;
  }

  .header__megamenu {
    /* 下層メニューのスタイル */
    width: 100%;
    position: absolute;
    z-index: 10;
    top: 100%;
    /* 親項目の直下に配置 */
    left: 0;
    padding: 40px 0;
    margin: 0 auto;
    color: #333;
    /* 文字色 */
    background-color: rgba(255, 255, 255, 1);
    box-shadow: 0px 10px 10px -5px rgba(0, 0, 0, 0.2);
    /* 背景色 */
    visibility: hidden;
    /* 下層メニューを非表示 */
    opacity: 0;
    /* 不透明度を最小に */
    transition: 0.5s opacity;
    /* アニメーション設定 */

    border-top: #eee 1px solid;
  }

  .header__megamenu-outer {
    display: flex;
    margin: 0 auto;
    align-items: center;
    width: 768px;
  }

  .header__megamenu-titleWrapper {
    padding: 0 20px;
  }

  .header__megamenu-title {
    font-size: 20px;
    font-weight: bold;
    letter-spacing: 0.05em;
    margin-bottom: 24px;
  }

  .header__megamenu-titleSub {
    font-size: 11px;
    font-weight: bold;
    letter-spacing: 0.1em;
    color: #26b7bc;
  }

  .header__megamenu-wrapper {
    padding-left: 24px;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    border-left: #eee 1px solid;
  }

  .header__nav-item:hover .header__megamenu {
    /* 下層メニューのスタイル（親項目ホバー時） */
    opacity: 1;
    /* 不透明度を最大に */
    visibility: visible;
    /* 下層メニューを表示 */
  }

  .header__megamenu-item {
    margin: 12px 10px;
    width: 230px;
  }

  .header__megamenu-a {
    font-size: 13px;
    color: #000;
    text-decoration: none;
    display: flex;
    position: relative;
    font-weight: bold;
    letter-spacing: 0.05em;
  }

  .header__megamenu-a:hover {
    text-decoration: none;
  }

  .header__megamenu-a::before {
    content: "";
    position: absolute;
    top: 1px;
    left: -14px;
    margin-top: auto;
    margin-bottom: auto;
    display: block;
    width: 12px;
    height: 12px;
    background-image: url(/image/common/icon_nav_arrow.svg);
    background-size: contain;
    background-repeat: no-repeat;
    transform: rotate(-90deg);
  }

  .header__megamenu-btnMore {
    display: block;
    width: 180px;
    height: 48px;
    line-height: 48px;
    background-color: #fff;
    border-radius: 24px;
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.2);
    font-size: 14px;
    letter-spacing: 0.1em;
    color: #000;
    font-weight: bold;
    margin: 0 auto;
    background-image: url(/image/common/icon_arrow.svg);
    background-repeat: no-repeat;
    background-size: 48px 48px;
    background-position: right 20px top 50%;
  }

  a.header__megamenu-btnMore {
    text-decoration: none;
  }

  .header__megamenu-btnMoreText {
    margin-left: 36px;
  }

  .header__nav-container {
    display: flex;
    align-items: center;
  }
}

@media screen and (min-width:860px) {
  .header__nav-item {
    margin-right: 24px;
  }
}

/* ===== PC ===== */
@media screen and (min-width:1024px) {
  .u-only_tablet {
    display: none !important;
  }

  header {
    height: 80px;
    margin-bottom: 20px;
  }

  .header__nav-item {
    margin-right: 32px;
  }

  .header__logo-wrapper {
    margin-left: 7%;
    flex-direction: column;
    align-items: flex-start;
  }

  .header__img {
    padding-top: 22px;
    margin-left: 7%;
    width: 228px;
    height: 80px;
  }

  .header__logo {
    padding-top: 0;
    width: auto;
    height: auto;
    margin: 0 0 2px 0;
  }

  .catchcopy {
    font-size: 11px;
    width: auto;
    margin: 0 auto;
  }

  .header__logo-img {
    width: 228px;
    height: 50px;
  }

  .header__menu {
    padding-right: 7%;
  }

  .header__nav-a {
    margin: 32px 0;
  }

  .current::before {
    bottom: -32px;
  }

  .header__megamenu-outer {
    width: 1024px;
  }

  .header__megamenu-title {
    font-size: 22px;
    letter-spacing: 0.1em;
  }

  .header__megamenu-btnMore {
    width: 200px;
  }

}

@media screen and (min-width:1240px) {
  .header__megamenu-outer {
    width: 1160px;
  }

  .header__megamenu-titleWrapper {
    padding: 0 40px 0 0;
  }

  .header__megamenu-wrapper {
    padding-left: 40px;
  }

  .header__megamenu-a::before {
    left: -16px
  }

  .header__megamenu-item {
    margin: 12px 20px;
    width: 248px;
  }

  .header__megamenu-a {
    font-size: 14px;
  }

}

/*-------------------------------------------------------
  Footer
-------------------------------------------------------*/
/* ===== SP ===== */
footer {
  display: block;
  width: 100%;

  background-color: #f9f9fa;
}

.footer__wrapper {
  margin: 0 auto;
}

.footer__logo {
  width: 170px;
  margin: 0 auto;
  padding: 32px 0;
}

.footer__logo-img {
  width: 170px;
  height: 25px;
}

a.footer__logo-a:hover {
  text-decoration: none;
}

.footerLink {
  width: 280px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin: 0 auto 20px;
}

.footerLink__item {
  margin-bottom: 20px;
}

a.footerLink__item-a {
  color: #000;
  text-decoration: none;
}

a.footerLink__item-a:hover {
  opacity: 0.7;
  text-decoration: none;
}

.footerBnr {
  display: flex;
  gap: 24px;
  justify-content: center;
  background: #2a3046;
  padding: 24px 24px 0;
}

.footerBnr__a {
  max-width: 230px;
}

.footerCopyright {
  font-size: 11px;
  line-height: 40px;
  height: 40px;
  display: block;

  color: #f1f2f5;
  background: #2a3046;
  text-align: center;
  width: 100%;
}


/* ===== tablet ===== */
@media screen and (min-width:768px) {
  .footerLink {
    width: 740px;
    justify-content: center;
  }

  .footerLink__item {
    margin-right: 16px;
  }

  .footerLink__item:last-child {
    margin-right: 0;
  }

  .footerBnr {
    gap: 40px;
  }
}

/* ===== PC ===== */
@media screen and (min-width:1024px) {
  footer {}

  .footer__wrapper {
    margin: 0 auto;
    height: 152px;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .footer__logo {
    width: 228px;
    margin: 60px 0;
    margin-left: 7%;
    padding: 0;
  }

  .footer__logo-img {
    width: 228px;
    height: 33px;
  }

  .footerLink {
    width: auto;
    flex-wrap: wrap;
    margin: 0;
    padding-right: 7%;
    height: 50px;
    align-content: center;
    justify-content: flex-start;
  }

  .footerLink__item {
    height: auto;
    font-size: 12px;
    color: #000;
    margin: 0 16px 0 0;
  }

  .footerLink__item:last-child {
    margin-right: 0;
  }

  .footerCopyright {
    line-height: 60px;
    height: 60px;
  }

  .footerLink {
    margin-left: 24px;
  }

  .footerLink__item {
    margin: 8px 24px 8px 0;
  }
}

@media screen and (min-width:1100px) {
  .footerLink {
    margin-left: 24px;
  }

  .footerLink__item {
    margin: 8px 24px 8px 0;
  }
}