﻿
/*オリジナルデザイン__ヘッダーフッター共通*/

:root {

  --color-3: #333;
  --color-f: #fff;

  --bgColor: #f5f3ef;
  --ftBg:#4f6480;
}

#directin-s4-custom-header, #directin-s4-custom-footer {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
  font-family: "MFW-YuMinPr6N-Light", "游明朝", "YuMincho", "ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", serif;
  line-height: 2;
}
@media (min-width:767.1px) {
  #directin-s4-custom-header, #directin-s4-custom-footer {
      font-size: 1rem;
  }
}

#directin-s4-custom-header img,
#directin-s4-custom-footer img {
  max-width: 100%;
  width: 100%;
  height: auto;
  vertical-align: middle;
}

#directin-s4-custom-header .container,
#directin-s4-custom-footer .container {
  width: 100%;
  padding: initial;
  margin-right: auto;
  margin-left: auto;
}
@media (min-width: 576px) {
  #directin-s4-custom-header .container,
  #directin-s4-custom-footer .container { max-width: 540px;
    padding-right: 20px;
    padding-left: 20px;
  }
}
@media (min-width: 768px) {
  #directin-s4-custom-header .container,
  #directin-s4-custom-footer .container { max-width: 720px; }
}
@media (min-width: 992px) {
  #directin-s4-custom-header .container,
  #directin-s4-custom-footer .container { max-width: 960px; }
}
@media (min-width: 1200px) {
  #directin-s4-custom-header .container,
  #directin-s4-custom-footer .container { max-width: 1120px; }
}
@media (min-width: 1440px) {
  #directin-s4-custom-header .container,
  #directin-s4-custom-footer .container { max-width: 1200px; }
}

#directin-s4-custom-header nav a, #directin-s4-custom-footer a {
  display: block;
  text-decoration: none;
  transition: all .2s ease-in;
}
#directin-s4-custom-header nav ul, #directin-s4-custom-footer nav ul {
  display: flex;
  border-bottom: 0;
  margin: 0;
  padding: 0;
  list-style:none;
}
#directin-s4-custom-header nav ul li a, #directin-s4-custom-footer nav ul li a {
  display: block;
  color: inherit;
  text-decoration: none;
  line-height: 1.25;
}

/* ヘッダー */
#directin-s4-custom-header {
  background:var(--bgColor);
  color: var(--color-3);
  height: 70px;
  position: fixed;
  width: 100%;
  z-index: 990;
}
#directin-s4-custom-header .inner-header {
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
#directin-s4-custom-header .headerLogo {
  flex: 0 0 198px;
  margin: 0 0 0 3vw;
  z-index: 2;
  max-width: 150px;
}
#directin-s4-custom-header .headerLogo .logo__inner {
  display: block;
  color: inherit;
}
#directin-s4-custom-header .headerLogo .logo__inner img {
  display: inline-block;
  vertical-align: middle;
}

@media (min-width: 992px) {
  #directin-s4-custom-header {
    height: 87px;
  }
  #directin-s4-custom-header .inner-header {
    font-size: .923em;
  }
  #directin-s4-custom-header .headerLogo {
    max-width: 198px;
  }
}
@media (min-width: 1366px) {
  #directin-s4-custom-header .inner-header {
    font-size: 1em;
  }
}

#directin-s4-custom-header .gNav{
  flex: 1 1 100%;
  max-width: 100%;
  height: 100%;
}
#directin-s4-custom-header .gNav__inner {
  display: flex;
  width: 100%;
  height: 100%;
}
#directin-s4-custom-header .gNav nav {
  display: flex;
  width: 100%;
  justify-content: flex-start;
  margin-right: auto;
  margin-left: 2rem;
}
@media (min-width: 1100px) {
  #directin-s4-custom-header .gNav nav {
    justify-content: flex-end;
    margin-right: 2rem;
  }
}
@media (max-width: 600px) {
  #directin-s4-custom-header .gNav nav {
    margin-left: 1rem;
  }
}

#directin-s4-custom-header .gNav nav ul li a {
  line-height: 1.5em;
  position: relative;
  transition: none;
}

#directin-s4-custom-header .gNav .navBar_inner > ul > li > a {
  cursor: pointer;
  display: flex;
  align-items: center;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  white-space: nowrap;
  padding-right: 1.5vw;
  padding-left: 1.5vw;
}

#directin-s4-custom-header .gNav nav .sns-nav li a {
  line-height: 1.5em;
  position: relative;
  transition: none;
  display: flex;
  align-items: center;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  white-space: nowrap;
  font-family: sans-serif;
  font-size: 0.846em;
  letter-spacing: 0.08em;
  padding: 0.5em 0 !important;
}
#directin-s4-custom-header .gNav nav .sns-nav li a svg {
  fill: currentColor;
  margin-right: .5em;
}

  #directin-s4-custom-header .gNav .navBar_inner {
    display: flex;
    align-items: center;
  }
  #directin-s4-custom-header .gNav .navBar_inner > ul > li > a:before {
    display: none;
  }
  #directin-s4-custom-header .gNav .navBar_inner > ul > li > a > span {
    padding: .25em 0;
    position: relative;
  }
  #directin-s4-custom-header .gNav .navBar_inner > ul > li > a > span:before {
    content: '';
    display: block;
    width: 0;
    height: 1px;
    background: var(--bgColor);
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    margin: 0 auto;
    transition: width .2s;
  }
  #directin-s4-custom-header .gNav .navBar_inner > ul > li:hover > a > span:before {
    width: 100%;
  }
  #directin-s4-custom-header .gNav nav .sns-nav li {
    color: var(--white);
    padding: 0 0.75em;
  }
  #directin-s4-custom-header .gNav nav .sns-nav li a svg {
    margin: 0;
  }
  #directin-s4-custom-header .nav-btn {
    display: none;
  }


@media(min-width: 1200px){
  #directin-s4-custom-header .gNav .navBar_inner > ul > li > a {
    padding-right: 2vw;
    padding-left: 2vw;
  }
}

@media(max-width: 991px){
  #directin-s4-custom-header .gNav nav ul li a {
    padding: 1em 0 !important;
  }
}

@media (max-width:640px) {
  #directin-s4-custom-header .gNav nav .sns-nav li a svg {
    width: 18px;
  }  
}

/*フッタ－*/
#directin-s4-custom-footer {
  clear: both;
  overflow: hidden;
  background: var(--ftBg);
}
#directin-s4-custom-footer a:hover {
  opacity: .5;
}
#directin-s4-custom-footer .footerLogo {
  max-width: 190px;
  margin: 1em auto 2em;
}
#directin-s4-custom-footer .footer-bottom {
  text-align: center;
  color: var(--color-f);
}
#directin-s4-custom-footer .copyright {
  text-align: center;
  margin-top: .75em;
}
#directin-s4-custom-footer .footer-address {
  text-align: center;
  margin: 1.5em 0;
  color: var(--color-f);
}
@media (max-width: 991px) {
  #directin-s4-custom-footer .inner-footer {
    padding-top: 3.5em;
    padding-bottom: 0;
  }
  #directin-s4-custom-footer .copyright {
    margin-top: 3.25em;
    padding: 1em 0 3em;
  }
}
@media (min-width: 992px) {
  #directin-s4-custom-footer .inner-footer {
    padding-top: 5em;
  }
  #directin-s4-custom-footer .footerLogo {
    max-width: 204px;
    margin: 0 auto 1em;
  }
  #directin-s4-custom-footer .footer-bottom {
    padding: 1em 0;
  }
}

.mainContents {
  margin-top:28px;
}

/*FV image*/
.directin-s4-custom-fv {
  margin-top:70px;
  display:inline-block;
}
.directin-s4-custom-fv img {
  width:100%;
}

@media (min-width: 991.1px) {
  .directin-s4-custom-fv {
    margin-top:87px;
  }
}

/*DIデフォルト用*/
.header_wrap {
  box-shadow: none;
}
.headerMenu_wrap {
  display: block;
  position: fixed;
  width: 100%;
  z-index: 999;
}

.menu_btn {
  width: 85vw;
}
.menu_btn button {
  top:28px;
}
@media (max-width:991px) {
  .menu_btn button {
    top: 21px;
  }
}
/*--- Ξボタン ---*/
.menu_btn .menu_btn_line,
.menu_btn .menu_btn_line::before,
.menu_btn .menu_btn_line::after {
  background-color: var(--color-3);
}

/*--- ×ボタン ---*/
.side_menu .menu_btn_line::before,
.side_menu .menu_btn_line::after {
  background-color: var(--ftBg);
}

/*--- プラン表示順の選択中を示す下線 ---*/
.line_up_item.active a {
  border-color: var(--ftBg);
}

/*--- 黒背景ボタン ---*/
.primary_button,
.primary_button.disabledBtn {
  /* 背景色 */
  background-color: var(--ftBg);
  /* 文字色 */
  color: var(--color-f);
}

a,.chooseBox_ttl a,.chooseBox_list_more, .chooseBox_list_close {
  color: var(--ftBg);
}
