/**
 * 剣道未来プロジェクト特設 — 共通（本ファイルは特設ヘッダー経由でのみ読込）
 */

/* ----- Global ----- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

:is(h1, h2, h3, h4, h5, h6, p, figure) {
  margin: 0;
}

main {
  display: block;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}

a,
a:visited {
  color: inherit;
  text-decoration: none;
}

a:hover,
a:active {
  color: inherit;
  text-decoration: inherit;
}

.mp-Header_Nav ul,
.mp-Footer_Nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

body {
  color: #333;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 2.2;
  -webkit-font-smoothing: antialiased;
}

/* ----- Header ----- */
.mp-Header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  padding: 0 24px 0 25px;
  z-index: 10;
  background: rgba(0, 57, 69, 0.80);
  backdrop-filter: blur(10px);
  transition: background 0.3s ease;
}
@media only screen and (max-width: 1023px) {
  .mp-Header {
    padding: 0 17px 0;
  }
}
.mp-Header.is-scrolled {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
}

.mp-Header_Inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 107px;
}

@media only screen and (max-width: 1023px) {
  .mp-Header_Inner {
    height: 67px;
  }
}

.mp-Header_Logo {
  display: flex;
  align-items: center;
  gap: 27px;
}
.mp-Header_Logo > a {
  display: block;
  width: 246px;
  height: 75px;
  cursor: pointer;
}
.mp-Header.is-scrolled .mp-Header_Logo > a {
  width: 209px;
  height: 69px;
}
.mp-Header_Logo > span {
  display: none;
  width: 235px;
  height: 56px;
}
.mp-Header_Logo > span > a {
  cursor: pointer;
}
.mp-Header_Logo_White {
  display: block;
}
.mp-Header_Logo_Black {
  display: none;
}
.mp-Header.is-scrolled .mp-Header_Logo > span {
  display: block;
}
.mp-Header.is-scrolled .mp-Header_Logo_White {
  display: none;
}
.mp-Header.is-scrolled .mp-Header_Logo_Black {
  display: block;
}

@media only screen and (max-width: 1023px) {
  .mp-Header_Logo > a {
    width: 152px;
    height: 45px;
  }
  .mp-Header_Logo > span {
    width: 136px;
    height: 32px;
  }
  .mp-Header.is-scrolled .mp-Header_Logo > a {
    width: 121px;
    height: 39px;
  }
}

.mp-Header_Menu {
  display: flex;
  align-items: center;
  gap: 27px;
  margin-left: 24px;
}

.mp-SpMenu_icon_gray {
  display: none;
}

.mp-Header.is-scrolled .mp-SpMenu_icon_white {
  display: none;
}

.mp-Header.is-scrolled .mp-SpMenu_icon_gray {
  display: block;
}

@media only screen and (max-width: 1023px) {
  .mp-Header_Menu {
    display: none;
  }
}

.mp-Header_Brand {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.mp-Header_Nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-end;
}

.mp-Header_Nav a {
  display: inline-flex;
  padding: 20px 25px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  border-radius: 10px;
  box-sizing: border-box;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  line-height: 100%;
}

.mp-Header_Nav a:hover,
.mp-Header_Nav a:focus {
  background: rgba(255, 253, 253, 0.30);
}

.mp-Header.is-scrolled .mp-Header_Nav a {
  border: none;
  border-radius: 0;
  padding: 0;
  color: #209CB5;
  font-size: 16px;
  line-height: 33px;
  background: transparent;
}

.mp-Header.is-scrolled .mp-Header_Nav a:hover,
.mp-Header.is-scrolled .mp-Header_Nav a:focus {
  color: #A0D2DC;
  background: transparent;
}

.mp-Header_Contact {
  flex-shrink: 0;
}

a.mp-Header_ContactBtn {
  display: inline-flex;
  padding: 20px 50px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  border-radius: 10px;
  background: #fff;
  box-sizing: border-box;
  color: #209CB5;
  font-size: 20px;
  font-weight: 700;
  line-height: 100%;
}

a.mp-Header_ContactBtn:hover,
a.mp-Header_ContactBtn:focus {
  background: #CAF6FF;
}

.mp-Header.is-scrolled a.mp-Header_ContactBtn {
  padding: 10px 18px 13px;
  border-radius: 6px;
  background: #209CB5;
  box-sizing: border-box;
  color: #fff;
  font-size: 16px;
  line-height: 100%;
}

.mp-Header.is-scrolled a.mp-Header_ContactBtn:hover,
.mp-Header.is-scrolled a.mp-Header_ContactBtn:focus {
  background: #A0D2DC;
}

.mp-BackToTop {
  display: none;
}

.mp-Footer.is-scrolled .mp-BackToTop {
  position: fixed;
  z-index: 11;
  right: 23px;
  bottom: 27px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: 70px;
  border-radius: 70px;
  background: #00677C;
}

.mp-Footer.is-scrolled .mp-BackToTop img {
  width: 32px;
  height: 16px;
}

@media only screen and (max-width: 1023px) {
  .mp-Footer.is-scrolled .mp-BackToTop {
    right: 12px;
    width: 50px;
    height: 50px;
    border-radius: 50px;
  }

  .mp-Footer.is-scrolled .mp-BackToTop img {
    width: 22.857px;
    height: 11.429px;
  }
}

body.is-locked {
  overflow: hidden;
}

/* ----- SP menu ----- */
.mp-SpMenu {
  position: fixed;
  inset: 0;
  height: 100dvh;
  background: rgba(0, 0, 0, 0.7);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mp-SpMenu.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.mp-SpMenu.is-wpbar {
  top: 32px;
  height: calc(100dvh - 32px);
}

.mp-SpMenu__panel {
  position: relative;
  padding: 102px 0;
  width: 100%;
  height: 100%;
  color: #fff;
  font-size: 20px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  letter-spacing: normal;
}

.mp-SpMenu__panel ul {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 200px;
  margin: 0 auto;
  padding: 0;
}

.mp-SpMenu__panel ul li {
  list-style: none;
}

.mp-SpMenu__panel ul li a {
  color: #fff;
  text-decoration: none;
}

.mp-SpMenu_open,
.mp-SpMenu_close {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.mp-SpMenu_open {
  display: none;
}

.mp-SpMenu_close {
  position: absolute;
  top: 30px;
  right: 17px;
}

@media only screen and (max-width: 1023px) {
  .mp-SpMenu_open {
    display: block;
  }

  .mp-SpMenu.is-wpbar {
    top: 46px;
    height: calc(100dvh - 46px);
  }
}

/* ----- Footer ----- */
.mp-Footer {
  position: relative;
  background-color: #161a38;
  color: #fff;
}

.mp-Footer_Inner {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto auto;
  column-gap: 80px;
  row-gap: 20px;
  padding: 48px 60px 40px;
  max-width: 1440px;
  margin: 0 auto;
}

.mp-Footer_Nav {
  grid-column: 2;
  grid-row: 1;
  justify-self: end;
  align-self: start;
  margin-top: 28px;
  margin-right: 50px;
}

.mp-Footer_Nav ul {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}

.mp-Footer_Nav a {
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  line-height: 33px;
  text-decoration: none;
}

.mp-Footer_Nav a:hover {
  opacity: 0.5;
}

a.mp-Footer_Logo {
  grid-column: 1;
  grid-row: 1;
  width: 344px;
  height: 105px;
}

a.mp-Footer_Logo img {
  display: block;
  max-width: 100%;
  height: auto;
}

a.mp-Footer_Official {
  grid-column: 1;
  grid-row: 2;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  line-height: 31px;
  text-decoration: underline;
}

a.mp-Footer_Official:hover {
  opacity: 0.5;
}

.mp-Footer_Copy {
  grid-column: 2;
  grid-row: 3;
  justify-self: end;
  margin: 0;
  color: #a2a2a2;
  font-size: 13px;
  line-height: 25px;
}

@media only screen and (max-width: 768px) {
  .mp-Footer_Inner {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(4, auto);
    column-gap: 0;
    row-gap: 14px;
    padding: 28px;
  }

  a.mp-Footer_Logo {
    width: 320px;
    height: 97px;
  }

  .mp-Footer_Nav {
    grid-column: 1;
    grid-row: 3;
    margin: 32px 0 74px;
    justify-self: start;
  }

  .mp-Footer_Nav ul {
    flex-direction: column;
    gap: 24px;
  }

  .mp-Footer_Copy {
    grid-column: 1;
    grid-row: 4;
  }
}
