@charset "UTF-8";
.menu-wrapper {
  display: none;
}
/* ===== 黒ワイプ（leaveだけ） ===== */
#pageWipe {
  position: fixed;
  inset: 0;
  z-index: 99999;
  pointer-events: none;
  background: #000;
  transform: translate3d(-101%, 0, 0);
  will-change: transform;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transition: transform 650ms cubic-bezier(0.22, 0.61, 0.36, 1);
}
#pageWipe.is-leave {
  transform: translate3d(0, 0, 0);
}
html.is-fade-enter body {
  opacity: 0;
}
html.is-fade-entered body {
  opacity: 1;
  transition: opacity 450ms ease;
}
html {
  font-size: 100%;
  scroll-behavior: smooth;
}
body {
  position: relative;
  font-family: "Noto Sans JP", sans-serif;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  background-color: #fecc34;
}
.header {
  position: relative;
  z-index: 100;
}
.header-wrap__nav {
  display: flex;
  justify-content: space-between;
  margin: 0 42px;
}
.header-wrap__nav__logo {
  position: relative;
  display: inline-block;
  z-index: 1;
}
.header-wrap__nav__logo img {
  position: relative;
  z-index: 999;
  display: block;
}
.header-wrap__nav__right {
  display: flex;
  width: 60%;
  justify-content: flex-end;
  gap: 100px;
}
.header-wrap__nav__right__menu {
  display: flex;
  justify-content: space-between;
  width: 35%;
  max-width: 200px;
}
.header-wrap__nav__right__menu a {
  text-decoration: none;
  color: #000000;
  font-weight: bold;
  font-size: 16px;
}
.header-wrap__nav__right__fmlogo {
  position: relative;
  z-index: 1;
}
.header-wrap__nav__right__fmlogo a img {
  position: relative;
  z-index: 1;
  display: block;
}
.header-wrap__nav__right__fmlogo .fmlogo-deco {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2; /* 必要に応じて */
}
.footer {
  background-color: black;
  position: relative;
}
.footer-wrap {
  max-width: 800px;
  margin: 0 auto;
  padding: 60px 0 80px 0;
  display: flex;
  flex-direction: column;
  gap: 40px;
  position: relative;
}
.footer-wrap__logo {
  margin: 0 auto;
  border-radius: 15px;
  padding: 2.5%;
  width: 340px;
  background-color: #fecc34;
}
.copylight {
  color: #fff;
  text-align: center;
  font-size: 12px;
  font-weight: bold;
}
#top {
  background-color: aquamarine;
}
.page_top {
  position: absolute;
  top: 20px;
  right: 20px;
  padding: 6px 14px;
  color: #ffffff;
  text-decoration: none;
  transition: opacity 0.3s;
  border: 1px solid #ffffff;
}
.dli-arrow-up {
  display: inline-block;
  vertical-align: middle;
  color: #ffffff;
  line-height: 1;
  position: relative;
  width: 0.12em;
  height: 1.16em;
  background: currentColor;
}

.dli-arrow-up::before {
  content: "";
  width: 0.9em;
  height: 0.9em;
  border: 0.15em solid currentColor;
  border-left: 0;
  border-bottom: 0;
  transform: rotate(-45deg);
  transform-origin: top right;
  position: absolute;
  top: -0.05em;
  right: 50%;
  box-sizing: border-box;
}
html.is-entering body {
  opacity: 0;
  transform: translateY(10px);
}

body {
  transition: opacity 520ms ease, transform 520ms ease;
}

/* enter開始後にON（ふわっ） */
html.is-entering.is-entered body {
  opacity: 1;
  transform: translateY(0);
}

.page-wipe {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  overflow: hidden;
  /* 何もしてない時は透明で存在だけ */
}

.page-wipe__panel {
  position: absolute;
  inset: 0;
  background: #111; /* ワイプ色（好きに） */
  transform: translateX(-110%); /* 初期：左外 */
}

/* 離脱（クリックした瞬間：左→右に覆う） */
.page-wipe.is-leave .page-wipe__panel {
  -webkit-animation: wipeIn 650ms cubic-bezier(0.7, 0, 0.2, 1) forwards;
  animation: wipeIn 650ms cubic-bezier(0.7, 0, 0.2, 1) forwards;
}

/* 入場（次ページで：右→右外へ抜ける） */
.page-wipe.is-enter .page-wipe__panel {
  transform: translateX(0%);
  -webkit-animation: wipeOut 650ms cubic-bezier(0.7, 0, 0.2, 1) forwards;
  animation: wipeOut 650ms cubic-bezier(0.7, 0, 0.2, 1) forwards;
}

@-webkit-keyframes wipeIn {
  0% {
    transform: translateX(-110%);
  }
  100% {
    transform: translateX(0%);
  }
}

@keyframes wipeIn {
  0% {
    transform: translateX(-110%);
  }
  100% {
    transform: translateX(0%);
  }
}

@-webkit-keyframes wipeOut {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(110%);
  }
}

@keyframes wipeOut {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(110%);
  }
}

/* 動き苦手な人向け */
@media (prefers-reduced-motion: reduce) {
  .page-wipe.is-leave .page-wipe__panel,
  .page-wipe.is-enter .page-wipe__panel {
    -webkit-animation: none;
    animation: none;
    transform: translateX(0%);
  }
}
@media screen and (max-width: 1280px) {
  .header-wrap__nav {
    display: flex;
    justify-content: space-between;
    margin: 0 20px;
  }
  .header-wrap__nav__right__menu {
    justify-content: center;
    gap: 40px;
  }
}
@media screen and (max-width: 1000px) {
  .header-wrap__nav__right {
    display: flex;
    width: 60%;
    justify-content: flex-end;
    gap: 60px;
  }
}
@media screen and (max-width: 764px) {
  .footer-wrap {
    max-width: 800px;
    margin: 0 auto;
    padding: 60px 0 80px 0;
    display: flex;
    flex-direction: column;
    gap: 30px;
    position: relative;
  }
  .footer-wrap__logo {
    margin: 0 auto;
    border-radius: 15px;
    width: 180px;
    background-color: #fecc34;
  }
  .footer-wrap__logo img {
    width: 100%;
  }
  .copylight {
    color: #fff;
    text-align: center;
    font-size: 10px;
    font-weight: bold;
  }
}
@media screen and (max-width: 540px) {
  .header-wrap__fixed {
    display: none;
  }
  /* 開いてる間スクロール停止（対応ブラウザならこれでOK） */
  body:has(#menu-toggle:checked) {
    overflow: hidden;
  }

  /* 位置 */
  .menu-wrapper {
    display: block;
    position: fixed;
    top: 10px;
    right: 10px;
    z-index: 1000;
  }

  /* checkboxは見えないだけにする（構造は保持） */
  .menu-toggle {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
  }

  /* -------------------------
  ハンバーガー（余白も黒背景）
-------------------------- */
  .menu-icon {
    /* 余白を増やして押しやすく（ここが黒背景になる） */
    padding: 12px;
    background: #000;
    display: inline-block;
    position: relative;
    cursor: pointer;
    z-index: 1100;
    width: 30px;
    height: 25px;
    box-sizing: content-box; /* ← paddingを外側に増やすため必須 */
  }

  /* 線（内側の30×25に収める） */
  .menu-icon span {
    position: absolute;
    left: 12px; /* padding分だけ内側に寄せる */
    width: 30px; /* 内側枠の幅 */
    height: 2px;
    background: #fff;
    transition: transform 0.5s, opacity 0.5s;
  }

  /* 上中下（padding 12px を足した座標） */
  .menu-icon span:nth-of-type(1) {
    top: 12px;
  }
  .menu-icon span:nth-of-type(2) {
    top: 23px;
  } /* 12 + 11 */
  .menu-icon span:nth-of-type(3) {
    top: 35px;
  } /* 12 + 23 */

  /* ×に変形 */
  #menu-toggle:checked + .menu-icon span:nth-child(1) {
    transform: translateY(11px) rotate(-315deg);
  }
  #menu-toggle:checked + .menu-icon span:nth-child(2) {
    opacity: 0;
  }
  #menu-toggle:checked + .menu-icon span:nth-child(3) {
    transform: translateY(-11px) rotate(315deg);
  }

  /* -------------------------
  メニュー本体
-------------------------- */
  .menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100%;
    background: #fecc34;
    transition: right 0.4s ease;
    z-index: 20;
  }

  #menu-toggle:checked ~ .menu {
    right: 0;
  }

  .menu ul {
    list-style: none;
    padding: 60px 20px;
  }

  .menu li {
    margin: 20px 0 30px 0;
  }

  .menu a {
    text-decoration: none;
    color: #333;
    font-size: 24px;
  }
  .overlay {
    position: fixed;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    z-index: 15;
  }

  #menu-toggle:checked ~ .overlay {
    opacity: 1;
    pointer-events: auto;
  }
  .footer-wrap {
    padding: 50px 0 60px 0;
  }
}
