@charset "UTF-8";
/* ==========================================================================
   module.css : 繰り返し使う部品 (.m-)
   ========================================================================== */

/* ---- セクション見出し（英字タイトル＋日本語サブ） ---- */
.m-sectionHead {
  position: relative;
  padding: clamp(28px, 3.4vw, 44px) 0 clamp(26px, 3vw, 40px);
  text-align: center;
}
.m-sectionHead::before {                  /* 見出しの背面に敷く、ごく薄い帯 */
  content: "";
  position: absolute; left: 50%; top: 0; bottom: 0; width: min(100vw, 1040px);
  transform: translateX(-50%);
  background: radial-gradient(ellipse 50% 100% at 50% 50%, rgba(217, 184, 114, .09), rgba(217, 184, 114, 0) 72%);
  pointer-events: none;
}
.m-sectionHead_en {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  gap: clamp(14px, 2vw, 26px);
  font-family: var(--font-serif); font-weight: 500;
  font-size: clamp(34px, 4.1vw, 52px); line-height: 1.15; letter-spacing: .03em;
  color: var(--color-gold);
}
.m-sectionHead_en::before, .m-sectionHead_en::after {
  content: ""; flex: 0 1 clamp(40px, 11vw, 150px); height: 1px;
  background: linear-gradient(90deg, rgba(217, 184, 114, 0), rgba(217, 184, 114, .75));
}
.m-sectionHead_en::after { transform: scaleX(-1); }
.m-sectionHead_ja {
  position: relative;
  margin-top: .55em;
  font-size: clamp(16px, 1.5vw, 20px); font-weight: 700; line-height: 1.5; letter-spacing: .08em;
  color: var(--color-text-strong);
}

/* ---- 金属質の枠（ホバー／タップで輝きが180度回転） ---- */
@property --metal-angle {
  syntax: "<angle>";
  inherits: false;
  initial-value: 135deg;
}
.m-metalBox {
  --metal-angle: 135deg;
  position: relative;
  border: 2px solid transparent;
  border-radius: 6px;
  background:
    linear-gradient(var(--color-box), var(--color-box)) padding-box,
    /* 輝きは「左上」と「右下」の2か所（0%と50%が明るい点。ホバーで180度回転） */
    conic-gradient(from var(--metal-angle),
      #fff0c2 0%, #d9b567 6%, #8b6a2e 15%, #4f3d1e 28%, #4a391b 40%, #8b6a2e 45%,
      #d9b567 49%, #fff0c2 50%, #d9b567 51%, #8b6a2e 55%, #4a391b 60%, #4f3d1e 72%,
      #8b6a2e 85%, #d9b567 94%, #fff0c2 100%) border-box;
  transition: --metal-angle 1s cubic-bezier(.3, .6, .2, 1);
}
@media (hover: hover) {
  .m-metalBox:hover { --metal-angle: 315deg; }
}
.m-metalBox.is-tapped { --metal-angle: 315deg; }

/* ---- 金のライン（見出し帯・審査員ラベルなど） ---- */
.m-goldBar {
  display: block;
  background: linear-gradient(97deg, #a4824f 0%, #c8a264 10%, #d3aa6a 60%, #79592a 100%);   /* Pointのタグ・審査員ラベル共通 */
  color: #2a1d08; font-weight: 700; text-align: center; line-height: 1;
}

/* ---- ENTRYボタン（左→右のグラデーション。ホバーで明るいグラデーションへ） ---- */
.m-btnEntry {
  position: relative; isolation: isolate;
  display: inline-block;
  font-family: var(--font-serif); font-weight: 600;
  letter-spacing: .14em; text-indent: .14em; line-height: 1; color: #fff;
  background: linear-gradient(90deg, #1c5302 0%, #4f9109 30%, #66aa17 50%, #4f9109 70%, #1c5302 100%);
}
.m-btnEntry::before {                                  /* ホバー時の色（透明度で切り替えてなめらかに） */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, #29640d 0%, #72ba24 30%, #afce34 50%, #72ba24 70%, #29640d 100%);
  opacity: 0; transition: opacity .3s;
}
@media (hover: hover) { .m-btnEntry:hover::before { opacity: 1; } }
.m-btnEntry:focus-visible::before, .m-btnEntry.is-tapped::before { opacity: 1; }
.m-btnEntry-header {
  font-size: clamp(13px, 1.2vw, 21px);
  padding: .62em 2.2em .56em;
}
.m-btnEntry-lg {                                       /* ページ下部の大きいボタン */
  width: min(100%, 440px);
  font-size: clamp(24px, 2.6vw, 34px);
  padding: .72em 1em .66em;
  text-align: center;
}
@media (max-width: 480px) {
  .m-btnEntry-header { padding: .6em 1.4em .54em; }
}

/* ---- 矢印付きテキストリンク ---- */
.m-arrowLink {
  display: inline-flex; align-items: center; gap: .6em;
  color: #e9e1cc; font-size: clamp(12px, 1.05vw, 14px);
  transition: color .3s, opacity .3s;
}
.m-arrowLink::before {
  content: ""; width: .55em; height: .55em;
  border-top: 2px solid currentColor; border-right: 2px solid currentColor;
  transform: rotate(45deg) skew(-8deg, -8deg);
  margin-right: .1em;
}
@media (hover: hover) { .m-arrowLink:hover { color: #fff; filter: brightness(1.4); } }
.m-arrowLink.is-tapped { color: #fff; filter: brightness(1.4); }

/* ---- スクロール連動の表示（js-reveal が見えたら is-visible） ---- */
.m-fadeIn {
  opacity: 0; transform: translateY(24px);
  transition: opacity .9s ease, transform .9s cubic-bezier(.2, .6, .2, 1);
}
.m-fadeIn.is-visible { opacity: 1; transform: none; }

/* リニアワイプ */
.m-wipeDown {
  clip-path: inset(0 0 100% 0);
  transition: clip-path .55s cubic-bezier(.4, 0, .2, 1);
  transition-delay: var(--wipe-delay, 0s);
}
.is-visible .m-wipeDown, .m-wipeDown.is-visible { clip-path: inset(0 0 -2px 0); }
html:not(.js) .m-fadeIn { opacity: 1; transform: none; }
html:not(.js) .m-wipeDown { clip-path: none; }

/* ---- 光のポインタ（マウス操作の端末のみ。設定は light-cursor.js の CURSOR） ---- */
.m-lightCursor {
  position: fixed; left: 0; top: 0; z-index: 9999;
  pointer-events: none;
  opacity: 0; transition: opacity .3s;
  mix-blend-mode: screen;
}
.m-lightCursor.is-visible { opacity: 1; }
.m-lightCursor_light {
  position: absolute; left: 0; top: 0;
  width: var(--lc-size); height: var(--lc-size); border-radius: 50%;
  background: radial-gradient(circle closest-side,
    rgba(var(--lc-core-rgb), 1) 0%, rgba(var(--lc-core-rgb), .95) 7%,
    rgba(var(--lc-rgb), .85) 15%, rgba(var(--lc-rgb), .42) 34%,
    rgba(var(--lc-rgb), .14) 62%, rgba(var(--lc-rgb), 0) 100%);
  will-change: transform;
}
html.has-lightCursor.is-hideNativeCursor, html.has-lightCursor.is-hideNativeCursor * { cursor: none !important; }
