/* 共通 */
*:focus-visible {
  outline: 0;
}

.all {
  padding-top: 122px; /* 固定したヘッダー分ずらす */
  font-family: "游明朝", YuMincho, "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
}

@media (max-width: 1023px) {
  .all {
    padding-top: 100px;
  }
}

@media (max-width: 767px) {
  .all {
    padding-top: 65px;
  }
}

/* liの点を消去 */
.all ul {
  padding-left: 0;
}

.all li {
  list-style: none;
}

/* リンクの下線は基本的に無し */
a {
  text-decoration: none;
}

a:focus {
  outline: none;
}

/* PC/タブレット/SPで画像などを出し分ける時などに利用 */
.pc {
  display: block;
}

.tablet {
  display: none;
}

.sp {
  display: none;
}

.pc.tablet {
  display: block;
}

@media (max-width: 1023px) {
  .pc {
    display: none;
  }

  .tablet {
    display: block;
  }

  .sp {
    display: none;
  }

  .sp.tablet {
    display: block;
  }
}

@media (max-width: 767px) {
  .pc {
    display: none;
  }

  .tablet {
    display: none;
  }

  .sp {
    display: block;
  }

  .pc.tablet {
    display: none;
  }
}


/* ヘッダー */
.header {
  width: 100%;
  height: 120px;
  background: #ffffff;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10;
}

.header-wrapper {
  max-width: 1370px;
  margin: 0 auto;
  border-bottom: 10px solid rgb(7, 49, 85);
}

.header-main {
  margin: auto;
  max-width: 1200px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header .header-menu {
  display: flex;
}

.header-list {
  position: relative;
  padding: 0.5rem 0;
  border-bottom: 3px solid;
  color: rgb(182, 182, 182);
  font-size: 0.85rem;
  text-align: center;
  width: 8.0rem;
  margin-left: 20px;
}

.header-list.active {
  color: rgb(151, 138, 91);
}

.header-list:before {
  position: absolute;
  bottom: 0;
  left: 50%;
  content: " ";
  border: 5px solid transparent;
  border-bottom-color: rgb(182, 182, 182);
  margin-left: -5px;
}

.header-list.active:before {
  border-bottom-color: rgb(151, 138, 91);
}

.header-link {
  color: rgb(182, 182, 182);
  display: block;
  width: 100%;
  height: 100%;
}

.header-list.active .header-link {
  color: rgb(0, 0, 0);
  font-weight: bold;
}

/* タブレット */
@media (max-width: 1023px) {
  .header {
    height: 99px;
  }

  .header-main {
    padding: 11px 16px 10px;
  }

  .header-logo {
    margin: 0;
  }


  /* ハンバーガーメニュー */
  .header-hamburger {
    position: absolute;
    top: 20px;
    right: 24px;
    width: 36px;
    height: 28px;
    cursor: pointer;
    z-index: 9999;
  }

  .header-hamburger-text {
    position: absolute;
    font-size: 12px;
    bottom: -34px;
    left: 0;
    width: 40px;
  }

  .header-hamburger,
  .header-hamburger i {
    transition: all .5s;
  }

  .header-hamburger i {
    position: absolute;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: #333333;
  }

  .header-hamburger i:nth-of-type(1) {
    top: 0;
  }

  .header-hamburger i:nth-of-type(2) {
    top: 12px;
  }

  .header-hamburger i:nth-of-type(3) {
    bottom: 0;
  }

  .header-hamburger {
    color: #000000;
  }

  /* active時はハンバーガーメニューが×ボタンに変化する */
  .header-hamburger.active {
    color: #ffffff;
  }

  .header-hamburger.active i {
    background-color: #ffffff;
  }

  .header-hamburger.active i:nth-of-type(1) {
    transform: translateY(11.5px) rotate(-45deg);
  }

  .header-hamburger.active i:nth-of-type(2) {
    opacity: 0;
  }

  .header-hamburger.active i:nth-of-type(3) {
    transform: translateY(-11.5px) rotate(45deg);
  }

  .header-sp-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    z-index: 98;
  }

  .header-sp-nav .header-sp-menu {
    opacity: 0;
    pointer-events: none;
    transition: 0.5s;
    transform: translateY(-200px); /* splideの領域に被ってフリックができないので移動させる */
  }

  .header-sp-nav.active .header-sp-menu {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0px);
  }

  .header-sp-menu {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    max-width: 800px;
    margin: 0 auto;
    flex-direction: column;
    width: 100%;
    padding-top: 80px;
  }

  .header-sp-menu:after {
    content: '';
    position: absolute;
    width: 100vw;
    height: 2000px;
    background-color: rgba(17, 17, 17, 0.9);
    z-index: -1;
  }

  .header-sp-link {
    padding: 20px 0;
    line-height: 1;
    letter-spacing: .1em;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    border-top: 1px solid #4f5152;
  }

  .header-sp-menu li:last-of-type .header-sp-link {
    border-bottom: 1px solid #4f5152;
  }
}

/* SP */
@media (max-width: 767px) {
  .header {
    height: 65px;
  }

  .header-main {
    padding: 20px 16px 10px;
  }

  .header-logo img {
    max-width: 50%;
  }


  /* ハンバーガーメニュー */
  .header-hamburger {
    top: 10px;
    right: 20px;
    width: 24px;
    height: 19px;
  }

  .header-hamburger-text {
    font-size: 10px;
    bottom: -28px;
    left: -4px;
  }

  .header-hamburger i:nth-of-type(2) {
    top: 8px;
  }

  .header-hamburger.active i:nth-of-type(1) {
    transform: translateY(7.5px) rotate(-45deg);
  }

  .header-hamburger.active i:nth-of-type(3) {
    transform: translateY(-7.5px) rotate(45deg);
  }

  .header-sp-menu {
    padding-top: 50px;
  }

  .header-sp-link {
    padding: 15px 0;
  }
}

/* メイン */
.main {
  margin: auto;
  max-width: 1370px;
  background-color: rgb(213, 221, 224);
  padding-bottom: 40px;
}

/* キービジュアル */
.main-key-visual img {
  width: 100%;
}

.main-key-visual-caption {
  font-size: 0.7rem;
  font-feature-settings: "palt";
  position: absolute;
  bottom: 10px;
  color: #ffffff;
  right: 10px;
}

@media (max-width: 1023px) {
  .main-key-visual-caption {
    font-size: 0.6rem;
  }
}

@media (max-width: 767px) {
  .main-key-visual-caption {
    font-size: 0.5rem;
  }
}

/* 乗算ブレンドモードをCSSで */
.main-key-visual-blend {
  background-color: #a7aeaf;
}

.main-key-visual-blend img {
  mix-blend-mode: multiply;
}


/* フッター */
.footer-upper {
  max-width: 1370px;
  width: 100%;
  background-color: rgb(7, 49, 85);
  text-align: center;
  margin: 0 auto;
}

.footer-upper-link {
  color: #ffffff;
  letter-spacing: 0.4rem;
  font-size: 0.7rem;
}

.footer-upper-link-text {
  padding: 5px 0;
}

.footer-wrapper {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 0 24px;
}

.footer-row {
  max-width: 1045px;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  margin: 0 auto;
  padding: 24px 0;
}

.footer-banner {
  margin-bottom: 0;
  flex-basis: 60%;
}

.footer-banner-row {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.footer-banner-item {
  max-width: 50%;
  flex: 0 0 50%;
  margin-right: 16px;
}

.footer-banner-item:first-child {
  max-width: 314px;
}

.footer-banner-item:last-child {
  max-width: 231px;
}

.footer-banner-item a {
  display: block;
}

.footer-address {
  font-family: sans-serif;
  flex-basis: 37%;
}

.footer-address-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0;
}

.footer-address-item:last-child {
  padding-right: 0;
}

.footer-address-item a {
  font-weight: bold;
  font-size: 0.75rem;
  font-style: normal;
  text-decoration: underline;
  color: #000000;
}

.footer-address-copyright {
  font-weight: bold;
  font-size: 0.75rem;
  font-style: normal;
  text-decoration: underline;
  margin: 8px 0;
  color: #000000;
}

@media (max-width: 1023px) {
  .footer-wrapper {
    padding: 0 8px;
  }

  .footer-banner-item {
    max-width: 50%;
    flex: 0 0 50%;
    text-align: center;
    padding: 20px 0;
    margin: 0;
  }

  .footer-item {
    max-width: 100%;
    flex: 0 0 100%;
  }

  .footer-banner-row {
    justify-content: space-evenly;
  }

  .footer-address-row {
    justify-content: center;
  }

  .footer-address-item {
    padding: 0;
  }

  .footer-address-item a {
    padding: 8px;
    display: block;
  }

  .footer-address-copyright {
    text-align: center;
    padding: 8px;
  }
}

@media (max-width: 767px) {
  .footer-banner-item {
    max-width: 100%;
    flex: 0 0 100%;
  }

  .footer-banner-row {
    justify-content: center;
  }

  .footer-address-row {
    display: block;
    text-align: center;
  }
}
