@charset "UTF-8";

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: #fff;
  color: #000;
  font-family: "Noto Serif JP", serif;
  -webkit-text-size-adjust: 100%;
}

img { display: block; max-width: 100%; height: auto; }

/* ===== LP column（デザイン幅 520px） ===== */
.lp {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  background: #fff;
}

.sec { position: relative; margin: 0; }
.sec > img { width: 100%; }

/* 画像内の黒帯（元画像で80px）を、拡大可能な見出しに置き換える。 */
.lp { container-type: inline-size; }

.section-title {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 2.5cqw 3cqw;
  background: #1b1b1b;
  color: #fff;
  /* 520px幅で33.5px。全見出しの文字サイズを統一する。 */
  font-size: 6.4423cqw;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
}

.section-title span {
  display: block;
  max-width: 100%;
  white-space: nowrap;
  font-size: inherit;
}

.section-artwork {
  position: relative;
  overflow: hidden;
}

.section-artwork > img {
  width: 100%;
  margin-top: -7.6923076923%; /* 80 / 1040 */
}

/* 画像の先頭40px（520px基準）を除いた後もCTAの位置を合わせる。 */
.sec--titled .cta {
  top: calc((var(--y) - 40) / (var(--H) - 40) * 100%);
  height: calc(var(--h) / (var(--H) - 40) * 100%);
}

/* CTAボタン：画像上に重ねるリンク
   --x/--y/--w/--h：デザイン(520px幅)上の座標、--H：セクションの高さ */
.cta {
  position: absolute;
  left: calc(var(--x) / 520 * 100%);
  top: calc(var(--y) / var(--H) * 100%);
  width: calc(var(--w) / 520 * 100%);
  height: calc(var(--h) / var(--H) * 100%);
  border-radius: 999px;
  transition: background-color .2s;
}
.cta:hover { background-color: rgba(255, 255, 255, .18); }
.cta:focus-visible { outline: 3px solid #b78837; outline-offset: 2px; }

/* ===== FAQ（アコーディオン） ===== */
.faq { background: #f6f6f6; }
.faq > img { width: 100%; }

.faq__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 10px 20px 48px;
}

.faq__item {
  background: #fff;
  border-radius: 5px;
  box-shadow: 0 0 9px rgba(0, 0, 0, .13);
}

.faq__q {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 62px;
  padding: 16px 52px 16px 58px;
  font-size: 17px;
  font-weight: 700;
  line-height: 26px;
  list-style: none;
  cursor: pointer;
}
.faq__q::-webkit-details-marker { display: none; }

/* Qアイコン */
.faq__q::before {
  content: "Q";
  position: absolute;
  top: 16px;
  left: 16px;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #b78837;
  color: #fff;
  font-size: 17px;
  line-height: 1;
}

/* ＋／－アイコン */
.faq__q::after {
  content: "";
  position: absolute;
  top: 19px;
  right: 16px;
  width: 24px;
  height: 24px;
  border: 1px solid #b78837;
  border-radius: 50%;
  background:
    linear-gradient(#b78837, #b78837) center / 12px 1px no-repeat,
    linear-gradient(#b78837, #b78837) center / 1px 12px no-repeat;
}
.faq__item[open] .faq__q::after {
  background: linear-gradient(#b78837, #b78837) center / 12px 1px no-repeat;
}

.faq__a {
  position: relative;
  margin: 0 16px;
  padding: 18px 0 20px 42px;
  border-top: 1px solid #e3e3e3;
}
.faq__a::before {
  content: "A";
  position: absolute;
  top: 16px;
  left: 0;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid #b78837;
  border-radius: 50%;
  background: #fffffb;
  color: #b78837;
  font-size: 17px;
  font-weight: 700;
  line-height: 1;
}
.faq__a p {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  line-height: 27px;
}

@media (max-width: 420px) {
  .faq__q { font-size: 15px; }
  .faq__a p { font-size: 14px; line-height: 25px; }
  .faq__a p br { display: none; }
}

/* ===== SP：ハンバーガーメニュー（1179px以下） ===== */
/* 中央カラム（最大520px）の右上に固定。デザイン上は x450〜500 / y19〜41 の3本線 */
.sp-menu-btn {
  position: fixed;
  top: 0;
  right: max(0px, calc((100% - 520px) / 2));
  z-index: 20;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: min(8px, 1.54vw);
  width: min(70px, 13.5vw);
  height: min(60px, 11.5vw);
  padding: 0 min(10px, 1.92vw);
  border: 0;
  border-radius: 0 0 0 8px;
  background: transparent;
  cursor: pointer;
  transition: background-color .3s;
}
.sp-menu-btn span {
  display: block;
  width: 100%;
  height: 3px;
  background: #333;
  transition: transform .3s, opacity .3s;
}
/* スクロール後は背景を付けて、暗いセクション上でも見えるように */
.sp-menu-btn.is-scrolled { background: rgba(255, 255, 255, .9); }

.is-menu-open .sp-menu-btn { background: transparent; }
.is-menu-open .sp-menu-btn span:nth-child(1) { transform: translateY(calc(3px + min(8px, 1.54vw))) rotate(45deg); }
.is-menu-open .sp-menu-btn span:nth-child(2) { opacity: 0; }
.is-menu-open .sp-menu-btn span:nth-child(3) { transform: translateY(calc(-3px - min(8px, 1.54vw))) rotate(-45deg); }

.sp-menu {
  position: fixed;
  inset: 0;
  z-index: 15;
  background: rgba(0, 0, 0, .4);
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s, visibility .3s;
}
.is-menu-open .sp-menu { opacity: 1; visibility: visible; }

.sp-menu__inner {
  position: absolute;
  top: 0;
  right: max(0px, calc((100% - 520px) / 2));
  width: min(100%, 520px);
  height: 100%;
  overflow-y: auto;
  padding: 40px 40px 48px;
  background: #e5edee;
  transform: translateX(16px);
  transition: transform .3s;
}
.is-menu-open .sp-menu__inner { transform: none; }

.sp-menu__logo {
  width: 150px;
  margin: 0 auto 28px;
}

.sp-menu__list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(183, 136, 55, .5);
}
.sp-menu__list li { border-bottom: 1px solid rgba(183, 136, 55, .5); }
.sp-menu__list a {
  position: relative;
  display: block;
  padding: 16px 28px 16px 4px;
  color: #115270;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: .1em;
  text-decoration: none;
}
.sp-menu__list a::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 8px;
  width: 7px;
  height: 7px;
  border-top: 1px solid #b78837;
  border-right: 1px solid #b78837;
  transform: translateY(-50%) rotate(45deg);
}

.sp-menu__cta {
  display: block;
  margin-top: 32px;
  padding: 18px 16px;
  border-radius: 999px;
  background: linear-gradient(#3bb54a, #138a2d);
  box-shadow: 0 3px 0 #0d6b22;
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
}

/* ===== PC（1180px以上）：背景＋左右固定パネル ===== */
.pc-bg,
.pc-side { display: none; }

@media (min-width: 1180px) {
  .sp-menu-btn,
  .sp-menu { display: none; }

  .pc-bg {
    display: block;
    position: fixed;
    top: 211px;
    left: 0;
    z-index: 0;
    width: 100%;
    height: 853px;
    background: url("../images/pc_bg_water.jpg") center top / cover no-repeat;
  }

  .pc-side {
    display: block;
    position: fixed;
    top: 41px;
    z-index: 2;
  }

  /* 左：ロゴ・コピー・製品（中央カラム左端から46px外側） */
  .pc-side--left {
    right: calc(50% + 260px + 46px);
    width: 261px;
  }

  /* 右：ページ内メニュー（中央カラム右端から77px外側） */
  .pc-side--nav {
    left: calc(50% + 260px + 77px);
  }
  .pc-side--nav ul {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin: 0;
    padding: 0;
    list-style: none;
  }
  .pc-side--nav a {
    color: #115270;
    font-size: 16px;
    font-weight: 600;
    line-height: 16px;
    letter-spacing: .1em;
    text-decoration: none;
    transition: opacity .2s;
  }
  .pc-side--nav a:hover { opacity: .6; }
}

/* Figma 325:2 の書き出し画像には黒帯見出しを含む。
   見出しの意味と既存リンクを保ち、画像は全体を表示する。 */
.lp--figma-export .section-title {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.lp--figma-export .section-artwork > img { margin-top: 0; }
.lp--figma-export .sec--titled .cta {
  top: calc(var(--y) / var(--H) * 100%);
  height: calc(var(--h) / var(--H) * 100%);
}

/* ===== 発売元・プロフィール／コピーライト（katsina.jp のスタイルに合わせる） ===== */
.publisher {
  padding: 40px 20px;
  background: #fff;
  color: #0d1e2e;
  font-weight: 500;
}

.publisher__title {
  margin-bottom: 40px;
  text-align: center;
  letter-spacing: 1px;
}
.publisher__title-en {
  display: block;
  font-size: 30px;
  font-weight: 400;
  line-height: 32px;
}
.publisher__title-ja {
  margin: 12px 0 0;
  font-size: 16px;
  font-weight: 400;
  line-height: 16px;
}

.publisher__logo {
  width: min(302px, 100%);
  margin: 0 auto 30px;
}

.publisher__table { margin-bottom: 50px; }
.publisher__table table { width: 100%; }
.publisher__table tr {
  display: table;
  width: 100%;
  padding: 20px 0;
  border-bottom: 2px dotted #0d1e2e;
}
.publisher__table th,
.publisher__table td {
  padding: 0;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  text-align: left;
  vertical-align: top;
}
.publisher__table th {
  width: 100px;
  padding-right: 8px;
  white-space: nowrap;
}

.profile__name {
  margin: 0 0 20px;
  font-size: 16px;
  line-height: 25px;
  text-align: center;
}
.profile__img {
  width: 210px;
  margin: 0 auto 20px;
}
.profile__text,
.profile__caption {
  margin: 0;
  font-size: 13px;
  line-height: 25px;
}
.profile__caption {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px dotted #000;
}

.footer {
  background: #0d1e2e;
  color: #fff;
}
.footer__copy {
  display: block;
  padding: 40px 0;
  font-size: 14px;
  font-weight: 500;
  line-height: 14px;
  text-align: center;
}
