@charset "utf-8";

/*----------
ADJUSTMENT
----------*/
/* SPのみ表示用 */
@media only screen and (max-width: 767px) {
  .sp {
    display: block;
  }
  .pc {
    display: none;
  }
}

/* PCのみ表示用 */
@media only screen and (min-width: 768px) {
  .sp {
    display: none;
  }
  .pc {
    display: block;
  }
}

/* イメージサイズ調整 */
img {
  width: 100%;
}

html { scroll-behavior: smooth;}


/*----------
FONT
----------*/
:root {
  --leading-trim: calc((1em - 1lh) / 2);
}

@supports not (top: 1lh) {
  :root {
    --leading-trim: 0px;
  }
}

.fontJp400NotoSansJp {
  font-family: "Noto Sans JP", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

.fontJp700NotoSansJp {
  font-family: "Noto Sans JP", sans-serif;
  font-optical-sizing: auto;
  font-weight: 700;
  font-style: normal;
}

.fontJp300Ryumin {
  font-family: "a-otf-ryumin-pr6n", serif;
  font-weight: 300;
  font-style: normal;
}

.fontEn400EbGaramond {
  font-family: "eb-garamond", serif;
  font-weight: 400;
  font-style: normal;
}

.fontEn700EbGaramond {
  font-family: "eb-garamond", serif;
  font-weight: 700;
  font-style: normal;
}


/*----------
HEADER
----------*/
.header {
  background-color: #fff;
  width: 100%;
  height: 80px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 99;
}

/* ロゴ */
.logo {
  position: fixed;
  top: 20px;
  left: 20px;
  width: 50px;
  z-index: 999;
}

/* ハンバーガーアイコン */
.menu-btn {
  position: fixed;
  top: 20px;
  right: 20px;
  width: 28px;
  height: 36.5px;
  padding: 7px 0 0 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  z-index: 1001;
  background-image: url('/campaign/2025/50th/1010/images/icon_menu.png');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

.menu-btn span {
  display: block;
  width: 12px;
  height: 1px;
  background: white;
  margin: 2px 0;
  transition: 0.3s;
}

/* クローズアイコン */
.menu-btn.open span:nth-child(1) {
  transform: translateY(5px) rotate(45deg);
}

.menu-btn.open span:nth-child(2) {
  display: none;
}

.menu-btn.open span:nth-child(3) {
  transform: translateY(0) rotate(-45deg);
}

/* メニュー */
.menu {
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  width: 50vw;
  background-color: #fff;
  box-shadow: 0 0 10px rgba(0,0,0,0.16);
  transform: translateX(100%);
  transition: transform 0.3s ease-in-out;
  padding: 18.60vw 6.97vw;
  z-index: 1000;
  overflow: scroll;
}

.menu.open {
  transform: translateX(0);
}

.menu h2 {
  font-size: min(2.7906976744186047vw, 12px);
  line-height: 1.5;
  color: #B4C2EA;
  text-align: left;
  margin-block: var(--leading-trim);
}

.menu h2:nth-of-type(2) {
  margin: 40px 0 0;
}

.menu a {
  display: block;
  margin: 20px 0 0;
}

.menu a:nth-of-type(1), 
.menu a:nth-of-type(7) {
  margin: 10px 0 0;
}

.menu a span {
  font-size: min(3.7209302325581395vw, 16px);
  line-height: 1.5;
  color: #002F51;
  text-align: left;
  text-decoration: none;
  margin-block: var(--leading-trim);
}

.menu a span:last-child {
  font-size: min(2.3255813953488373vw, 10px);
}

.menu a:hover {
  text-decoration: underline;
}

@media only screen and (max-width: 767px) {
  .menu a span.hide {
    display: none;
  }
}

@media only screen and (min-width: 768px) {
  .menu {
    padding: 100px 58.5px;
  }
}