@charset "UTF-8";

/*
デザイントークン
------------------------------------- */
/* フォント */
@font-face {
  font-family: "Local Noto Sans JP"; /* ローカルフォント優先 */
  src: 
    local("Noto Sans JP"), /* Windows用 */
    local("Noto Sans CJK JP Regular") /* Android用 */;
}

:root {
  /* テキストカラー */
  --color-text: #333333;
  --color-text-strong: #111111;
  --color-text-mute: #666;
  --color-text-light: #fff;
  --color-white: #fff;

  /* アクセントカラー */
  --color-accent: #026a03;
  --color-accent-light: #0f8910;
  --color-accent-secondary: #edded0;
  --color-link: #bd000d;
  --color-link-text: #bd000d;
  --color-link-text-hover: #bd000d;

  /* 背景・ボーダー */
  --color-bg-app: #f7f3ec;
  --color-border: #d4c7b1;
  --color-separator: #d4c7b1;
  --color-inquiry-border: #e8ddcb;
  --color-inquiry-border-strong: #e8ddcb;

  /* グラデーション */
  --gradient-accent: radial-gradient(circle at 50% 0%, var(--color-accent-light), var(--color-accent));

  /* フォント */
  --font-body: YakuHanJP, "Local Noto Sans JP", "Noto Sans JP", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", sans-serif;

  /* フォントサイズ (16pxベース) */
  /* 8px */
  --fs-8: 0.5rem;
  /* 10px ⇒ 9px */
  --fs-10: clamp(0.563rem, 0.522rem + 0.171vw, 0.625rem);
  /* 12px ⇒ 11px */
  --fs-12: clamp(0.688rem, 0.647rem + 0.171vw, 0.75rem);
  /* 14px ⇒ 12px */
  --fs-14: clamp(0.75rem, 0.670rem + 0.342vw, 0.875rem);
  /* 16px ⇒ 14px */
  --fs-16: clamp(0.875rem, 0.795rem + 0.342vw, 1rem);
  /* 18px ⇒ 16px */
  --fs-18: clamp(1rem, 0.920rem + 0.342vw, 1.125rem);
  --fs-20: clamp(1.125rem, 1.045rem + 0.342vw, 1.25rem);
  --fs-24: clamp(1.25rem, 1.090rem + 0.684vw, 1.5rem);
  --fs-28: clamp(1.5rem, 1.340rem + 0.684vw, 1.75rem);
  --fs-32: clamp(1.75rem, 1.590rem + 0.684vw, 2rem);
  --fs-36: clamp(1.85rem, 1.594rem + 1.094vw, 2.25rem);
  --fs-40: clamp(2rem, 1.679rem + 1.368vw, 2.5rem);
  --fs-48: clamp(2.25rem, 1.769rem + 2.051vw, 3rem);

  /* マージン */
  /* Space 3xs: 4px → 5px */
  --space-3xs: clamp(0.25rem, 0.2244rem + 0.1136vw, 0.3125rem);
  /* Space 2xs: 8px → 10px */
  --space-2xs: clamp(0.5rem, 0.4489rem + 0.2273vw, 0.625rem);
  /* Space xs: 12px → 15px */
  --space-xs: clamp(0.75rem, 0.6733rem + 0.3409vw, 0.9375rem);
  /* Space s: 16px → 20px */
  --space-s: clamp(1rem, 0.8977rem + 0.4545vw, 1.25rem);
  /* Space m: 24px → 30px */
  --space-m: clamp(1.5rem, 1.3466rem + 0.6818vw, 1.875rem);
  /* Space l: 32px → 40px */
  --space-l: clamp(2rem, 1.7955rem + 0.9091vw, 2.5rem);
  /* Space xl: 40px → 50px */
  --space-xl: clamp(2.5rem, 2.2443rem + 1.1364vw, 3.125rem);
  /* Space 2xl: 48px → 60px */
  --space-2xl: clamp(3rem, 2.6932rem + 1.3636vw, 3.75rem);
  /* Space 3xl: 64px → 80px */
  --space-3xl: clamp(4rem, 3.5909rem + 1.8182vw, 5rem);
  /* Space 4xl: 80px → 100px */
  --space-4xl: clamp(5rem, 4.4886rem + 2.2727vw, 6.25rem);

  /* One-up pairs */
  /* Space 3xs-2xs: 4px → 10px */
  --space-3xs-2xs: clamp(0.25rem, 0.0966rem + 0.6818vw, 0.625rem);
  /* Space 2xs-xs: 8px → 15px */
  --space-2xs-xs: clamp(0.5rem, 0.321rem + 0.7955vw, 0.9375rem);
  /* Space xs-s: 12px → 20px */
  --space-xs-s: clamp(0.75rem, 0.5455rem + 0.9091vw, 1.25rem);
  /* Space s-m: 16px → 30px */
  --space-s-m: clamp(1rem, 0.642rem + 1.5909vw, 1.875rem);
  /* Space m-l: 24px → 40px */
  --space-m-l: clamp(1.5rem, 1.0909rem + 1.8182vw, 2.5rem);
  /* Space l-xl: 32px → 50px */
  --space-l-xl: clamp(2rem, 1.5398rem + 2.0455vw, 3.125rem);
  /* Space xl-2xl: 40px → 60px */
  --space-xl-2xl: clamp(2.5rem, 1.9886rem + 2.2727vw, 3.75rem);
  /* Space 2xl-3xl: 48px → 80px */
  --space-2xl-3xl: clamp(3rem, 2.1818rem + 3.6364vw, 5rem);
  /* Space 3xl-4xl: 64px → 100px */
  --space-3xl-4xl: clamp(4rem, 3.0795rem + 4.0909vw, 6.25rem);
}


/*
共通要素
------------------------------------- */
body {
  margin: 0 auto;
  background: var(--color-white);
  font-family: var(--font-body);
  color: var(--color-text);
}
.inner {
  max-width: 960px;
  margin: 0 auto;
}
.fade {
  opacity: 1;
  transition: opacity .4s ease-in-out;
  -moz-transition: opacity .4s ease-in-out;
  -webkit-transition: opacity .4s ease-in-out;
}
.fade:hover {
  opacity: 0.5;
}
h2 {
  letter-spacing: clamp(0rem, -0.120rem + 0.513vw, 0.188rem);
  line-height: 1;
  font-size: clamp(1.75rem, 1.269rem + 2.051vw, 2.5rem);
  font-weight: 300;
  color: var(--color-text-strong);
}
h3, h4, h5 {
  font-weight: 700;
}
a {
  color: var(--color-link-text);
}
a:hover {
  text-decoration: none;
  color: var(--color-link);
}

.u-bold {
  font-weight: 700;
}
/* スクリーンリーダー向けテキスト（視覚的に非表示） */
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
/* ページ内リンク移動時にフォーカスを受けるセクション（枠線は不要） */
[tabindex="-1"]:focus {
  outline: none;
}
.u-left {
  text-align: left !important;
}
.u-center {
  text-align: center !important;
}

/*
人名・団体名の外部リンク
・人名を赤にしない（クライアント配慮）ため、文字色は本文と同じ
・末尾の矢印（↗）で外部リンクであることを示し、ホバーで少し薄くする
------------------------------------- */
#ambassador .profile-sns a,
#application .judge-name a {
  text-decoration: none;
  color: var(--color-text);
  transition: opacity 0.3s ease;
}
#ambassador .profile-sns a::after,
#application .judge-name a::after {
  content: "";
  display: inline-block;
  flex: 0 0 auto;
  width: 0.75em;
  height: 0.75em;
  margin-left: 0.3em;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 9 9 3M4.5 3H9v4.5'/%3E%3C/svg%3E") no-repeat center / contain;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 9 9 3M4.5 3H9v4.5'/%3E%3C/svg%3E") no-repeat center / contain;
  transition: transform 0.3s ease;
}
/* タッチ端末ではホバー状態が残るため、ホバーできる環境に限定 */
@media (hover: hover) {
  #ambassador .profile-sns a:hover,
  #application .judge-name a:hover {
    color: var(--color-text);
    opacity: 0.6;
  }
  #ambassador .profile-sns a:hover::after,
  #application .judge-name a:hover::after {
    transform: translate(2px, -2px);
  }
}
@media (prefers-reduced-motion: reduce) {
  #ambassador .profile-sns a::after,
  #application .judge-name a::after {
    transition: none;
  }
}

@media (max-width:980px) {
  .inner {
    margin: 0 1.5em;
  }
}

.sp {
  display: none;
}
@media (max-width:640px) {
  .pc {
    display: none;
  }
  .sp {
    display: block;
  }
}


/*
ヘッダー
------------------------------------- */
header {
  background: var(--color-white);
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
}
header img {
  max-height: 100px;
}

@media (max-width:960px) {
  header {
    width: 100%;
    height: auto;
  }
  header img {
    width: 100%;
    margin: 0;
  }
}


/*
ハンバーガーメニュー
------------------------------------- */
:root {
  --menu-ease: cubic-bezier(0.22, 1, 0.36, 1); /* ease-out（ふんわり止まる） */
  --menu-duration: 0.5s;
  --menu-toggle-size: 56px;
}

/* メニュー展開中は背面のスクロールを止める */
html {
  scrollbar-gutter: stable;
}
html.is-menu-open {
  overflow: hidden;
}

/* トグルボタン */
.menu-toggle {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1001;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  width: var(--menu-toggle-size);
  height: var(--menu-toggle-size);
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--color-accent);
  box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  transition: background-color 0.3s ease;
}
.menu-toggle:hover {
  background: var(--color-accent-light);
}
.menu-toggle:focus-visible {
  outline: 3px solid var(--color-text-strong);
  outline-offset: 3px;
}
.menu-toggle__bar {
  display: block;
  width: 24px;
  height: 2px;
  border-radius: 2px;
  background: var(--color-white);
  transition: transform 0.4s var(--menu-ease), opacity 0.2s ease;
}
/* 展開時：白地に緑の×印 */
.menu-toggle[aria-expanded="true"] {
  background: var(--color-white);
}
.menu-toggle[aria-expanded="true"]:focus-visible {
  outline-color: var(--color-white);
}
.menu-toggle[aria-expanded="true"] .menu-toggle__bar {
  background: var(--color-accent);
}
.menu-toggle[aria-expanded="true"] .menu-toggle__bar:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.menu-toggle[aria-expanded="true"] .menu-toggle__bar:nth-child(2) {
  opacity: 0;
}
.menu-toggle[aria-expanded="true"] .menu-toggle__bar:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* オーバーレイ */
.contest-menu {
  position: fixed;
  inset: 0;
  z-index: 1000;
  overflow-y: auto;
  overscroll-behavior: contain;
  background: var(--color-accent);
  color: var(--color-text-light);
  opacity: 0;
  visibility: hidden;
  /* 閉じる時：フェードアウト後に visibility を切り替え、フォーカス・読み上げ対象から外す */
  transition:
    opacity var(--menu-duration) var(--menu-ease),
    visibility 0s linear var(--menu-duration);
}
.contest-menu.is-open {
  opacity: 1;
  visibility: visible;
  transition:
    opacity var(--menu-duration) var(--menu-ease),
    visibility 0s linear 0s;
}
.contest-menu__inner {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100%;
  padding: calc(var(--menu-toggle-size) + 40px) 1.5em var(--space-2xl);
}
.contest-menu__list {
  width: 100%;
  max-width: 560px;
  text-align: center;
}
.contest-menu__list li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity 0.4s var(--menu-ease),
    transform 0.6s var(--menu-ease);
}
.contest-menu.is-open .contest-menu__list li {
  opacity: 1;
  transform: none;
  /* 開く時だけ項目を順番に表示 */
  transition-delay: calc(0.1s + var(--i, 0) * 0.04s);
}
.contest-menu__list a {
  display: block;
  padding: var(--space-xs) 0;
  text-decoration: none;
  letter-spacing: 0.08em;
  line-height: 1.4;
  font-size: var(--fs-20);
  font-weight: 300;
  color: var(--color-text-light);
  transition: opacity 0.3s ease;
}
.contest-menu__list a:hover {
  opacity: 0.7;
  color: var(--color-text-light);
}
.contest-menu__list a:focus-visible {
  outline: 2px solid var(--color-white);
  outline-offset: 2px;
  border-radius: 3px;
}
/* お問い合わせ（応募要項内の h3）はボタン型で区別 */
.contest-menu__list .contest-menu__inquiry {
  border-bottom: 0;
  margin-top: var(--space-l);
}
.contest-menu__list .contest-menu__inquiry a {
  display: inline-block;
  min-width: 240px;
  border: 1px solid var(--color-white);
  border-radius: 100vw;
  padding: 12px 32px;
  font-size: var(--fs-16);
  font-weight: 700;
}
.contest-menu__list .contest-menu__inquiry a:hover {
  opacity: 1;
  background: var(--color-white);
  color: var(--color-accent);
}

@media (max-width:640px) {
  :root {
    --menu-toggle-size: 48px;
  }
  .menu-toggle {
    top: 12px;
    right: 12px;
    gap: 5px;
  }
  .menu-toggle__bar {
    width: 20px;
  }
  .menu-toggle[aria-expanded="true"] .menu-toggle__bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .menu-toggle[aria-expanded="true"] .menu-toggle__bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
  .contest-menu__list a {
    font-size: var(--fs-18);
  }
}


/*
メインビジュアル
------------------------------------- */
#mainvisual {
	box-sizing:border-box;
	height: 720px;
	width: 100%;
	margin: 0 auto;
	-webkit-animation: bgscroll 120s linear infinite;
	animation: bgscroll 120s linear infinite;
	text-align: center;
}
@-webkit-keyframes bgscroll {
	0% {background-position: 0 0;}
	100% {background-position: 2880px 0 ;}
}
@keyframes bgscroll {
	0% {background-position: 0 0;}
	100% {background-position: 2880px 0 ;}
}
#mainvisual h1 {
	height: 720px;
	display: flex;
	justify-content: center;
	align-items: center;
	align-content: center;
}
#mainvisual h1 img {
	width: 100%;
	max-width: 1020px;
}

@media screen and (min-width:640.98px) {
	#mainvisual {
		background: url(../img/bg-header.webp);
		background-position: center;
		-webkit-background-size: 2880px 720px;
		background-size: 2880px 720px;
	}
	@-webkit-keyframes bgscroll {
		0% {background-position: 0 0;}
		100% {background-position: 2880px 0 ;}
	}
	@keyframes bgscroll {
		0% {background-position: 0 0;}
		100% {background-position: 2880px 0 ;}
	}
}

@media screen and (max-width:640px) {
	#mainvisual {
		width: 100%;
		height: 80vh;
		background: #eee url(../img/bg-header-sp.webp);
		background-position: center top;
		background-size: cover;
		-webkit-animation: bgscroll 80s linear infinite;
		animation: bgscroll 80s linear infinite;
	}
	@-webkit-keyframes bgscroll {
		0% {background-position: center calc(2 * 100vh);}
		100% {background-position: center 0;}
	}
	@keyframes bgscroll {
		0% {background-position: center calc(2 * 100vh);}
		100% {background-position: center 0;}
	}
	#mainvisual .inner {
		position: relative;
		bottom: 0;
		height: 100%;
		background-size: 160px 140px, 160px 140px;
    margin-inline: auto;
	}	
	#mainvisual h1 {
		height: 100%;
    align-items: center;
	} 
	#mainvisual h1 img {
		position: relative;
		height: auto;
		width: 100%;
		margin: 0% auto 0;
	}
}


#visualcredits {
  padding-top: 10px;
  text-align: center;
  font-size: var(--fs-12);
  line-height: 1.6;
  letter-spacing: 0.02em;
  color: var(--color-text-mute);
}
#visualcredits span {
  display: inline-block;
}
@media (max-width:640px) {
  #visualcredits {
    margin-inline: 1.5em;
    line-height: 1.4;
  }
}


/*
募集概要
------------------------------------- */
#overview {
  margin: 0;
  padding: var(--space-2xl-3xl) 0;
  background: var(--color-white);
  color: var(--color-text);
}
#overview h2 {
  margin-bottom: var(--space-l);
  text-align: center;
  color: var(--color-text-strong);
}
#overview p {
  max-width: 960px;
  margin: 0 auto var(--space-2xl) auto;
  text-align: justify;
  line-height: 1.6;
  font-size: var(--fs-18);
}
#overview p .larger {
  font-size: var(--fs-20);
}
#overview h3 {
  margin: 30px auto;
  text-align: center;
  font-size: var(--fs-24);
  line-height: 1.6;
}
#overview h3 span {
  font-weight: normal;
}
#overview .aC {
  margin: -30px auto 30px auto;
  text-align: center;
}
#overview .note {
  margin: 50px auto 0 auto;
  line-height: 1.6;
  font-size: var(--fs-14);
}

@media (max-width:640px) {
  #overview .aC {
    margin: 0 auto 0 auto;
    text-align: justify;
  }
}


/*
イベント概要（FUN MORE TIME SHINJUKU 2026のお知らせ）
------------------------------------- */
#event {
  margin: 0;
  padding: var(--space-2xl-3xl) 0;
  background: var(--color-bg-app);
  color: var(--color-text);
}
#event h2 {
  margin-bottom: var(--space-xl);
  text-align: center;
  line-height: 1.4;
  color: var(--color-text-strong);
}
#event .event-kv {
  margin: 0 auto var(--space-xl);
  overflow: hidden;
  border-radius: 3px;
  box-shadow: 0px 10px 15px rgba(205, 175, 120, 0.5);
}
#event .event-kv img {
  display: block;
  width: 100%;
  height: auto;
}
#event p {
  margin: 0 auto;
  text-align: justify;
  text-justify: inter-ideograph;
  line-height: 1.8;
  font-size: var(--fs-18);
}
#event .btn,
#eventmap .btn {
  margin-top: var(--space-xl);
  text-align: center;
}
/* 「ハッシュタグをコピー」ボタン（#hashtagGenerator #generate）と同じデザイン */
#event .btn a,
#eventmap .btn a {
  display: inline-block;
  width: 256px;
  max-width: 100%;
  border-radius: 100px;
  padding: 16px 0;
  background: var(--color-link);
  text-decoration: none;
  text-align: center;
  font-family: var(--font-body);
  font-size: var(--fs-18);
  font-weight: bold;
  color: var(--color-white);
  transition: opacity .4s ease-in-out;
}
#event .btn a:hover,
#eventmap .btn a:hover {
  opacity: 0.5;
  color: var(--color-white);
}


/*
特別審査員・アンバサダー
------------------------------------- */
#ambassador {
  margin: 0;
  padding: var(--space-2xl-3xl) 0;
  background: var(--color-white);
  color: var(--color-text);
}
#ambassador h2 {
  margin-bottom: var(--space-xl);
  text-align: center;
  line-height: 1.4;
  color: var(--color-text-strong);
}
#ambassador .ambassador-group + .ambassador-group {
  margin-top: var(--space-2xl);
}
#ambassador .ambassador-label {
  border-radius: 3px;
  margin: 0 auto var(--space-l);
  padding: 12px 12px 13px;
  text-align: center;
  background: var(--color-accent-secondary);
  line-height: 1.2;
  letter-spacing: 0.1em;
  font-size: var(--fs-24);
  color: var(--color-text);
}

/* 共通：プロフィール */
#ambassador .profile-title {
  margin-bottom: 4px;
  line-height: 1.4;
  font-size: var(--fs-14);
  font-weight: 700;
  color: var(--color-text);
}
#ambassador .profile-name {
  margin-bottom: var(--space-s);
  padding-bottom: var(--space-2xs);
  border-bottom: 1px solid var(--color-border);
  line-height: 1.4;
  font-size: var(--fs-24);
  color: var(--color-text-strong);
}
#ambassador .profile-text {
  text-align: justify;
  text-justify: inter-ideograph;
  line-height: 1.8;
  font-size: var(--fs-16);
}
#ambassador .profile-sns {
  margin-top: var(--space-s);
  line-height: 1.4;
  font-size: var(--fs-16);
}
#ambassador .profile-sns a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  overflow-wrap: anywhere;
}
/* アイコンとの間隔は gap で取るので矢印の余白は不要 */
#ambassador .profile-sns a::after {
  margin-left: 0;
}
#ambassador .profile-sns img {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
}

/* 特別審査員：画像の右隣にプロフィール */
#ambassador .judge-card {
  display: flex;
  align-items: flex-start;
  gap: var(--space-xl);
}
#ambassador .judge-photo {
  flex: 0 0 300px;
}
#ambassador .judge-photo img,
#ambassador .ambassador-photo img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 3px;
}
#ambassador .judge-profile {
  flex: 1 1 auto;
  min-width: 0;
}

/* アンバサダー：画像の下にプロフィール */
#ambassador .ambassador-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-xl);
}
#ambassador .ambassador-photo {
  max-width: 300px;
  margin: 0 auto var(--space-m);
}
#ambassador .ambassador-card .profile-title,
#ambassador .ambassador-card .profile-name,
#ambassador .ambassador-card .profile-sns {
  text-align: center;
}

@media (max-width:768px) {
  #ambassador .judge-card {
    display: block;
  }
  #ambassador .judge-photo {
    max-width: 300px;
    margin: 0 auto var(--space-m);
  }
  #ambassador .judge-profile .profile-title,
  #ambassador .judge-profile .profile-name,
  #ambassador .judge-profile .profile-sns {
    text-align: center;
  }
}
@media (max-width:640px) {
  #ambassador .ambassador-label {
    font-size: var(--fs-20);
  }
  #ambassador .ambassador-list {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-2xl);
  }
  #ambassador .judge-photo,
  #ambassador .ambassador-photo {
    max-width: 60%;
  }
}


/*
イベント会場マップ
------------------------------------- */
#eventmap {
  margin: 0;
  padding: var(--space-2xl-3xl) 0;
  background: var(--color-bg-app);
  color: var(--color-text);
}
#eventmap h2 {
  margin-bottom: var(--space-xl);
  text-align: center;
  line-height: 1.4;
  color: var(--color-text-strong);
}
#eventmap .eventmap-image {
  max-width: 720px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 3px;
  background: var(--color-white);
  box-shadow: 0px 10px 15px rgba(205, 175, 120, 0.5);
}
#eventmap .eventmap-image img {
  display: block;
  width: 100%;
  height: auto;
}
#eventmap p {
  margin: var(--space-xl) auto 0;
  text-align: justify;
  text-justify: inter-ideograph;
  line-height: 1.8;
  font-size: var(--fs-18);
}


/*
募集期間
------------------------------------- */
#contest-period {
  margin: 0;
  padding: var(--space-2xl-3xl) 0;
  text-align: center;
  background: var(--gradient-accent);
  color: var(--color-text-light);
}
#contest-period h2 {
  margin: 0 auto var(--space-xl) auto;
  color: var(--color-text-light);
}
#contest-period h3 {
  margin: 0 auto 0 auto;
  font-size: var(--fs-32);
  color: var(--color-text-light);
  line-height: 1.4;
}
#contest-period h3 span {
  font-size: 1.3125rem;
}
#contest-period .note {
  margin-top: 32px;
  text-align: justify;
  line-height: 1.6;
  font-size: var(--fs-14);
}


/*
部門とハッシュタグ
------------------------------------- */
#hashtag-block {
  margin: 0;
  padding: var(--space-2xl-3xl) 0 0;
  background: var(--color-white);
  text-align: center;
}
#hashtag-block h2 {
  margin: 0 auto var(--space-xl) auto;
}
#hashtag-block h3 {
  margin-bottom: var(--space-l);
  line-height: 1.2;
  font-size: var(--fs-24);
}
#hashtag-block p.intro {
  margin: 0 auto var(--space-xl) auto;
  text-align: center;
  line-height: 1.6;
  font-size: var(--fs-18);
}
[data-hashtag-type="single"] {
  #hashtag-container h3 {
    display: inline-block;
    width: auto;
    margin: 0 auto;
    padding: var(--space-s) var(--space-2xl);
    border-radius: 6px;
    border: 2px solid var(--color-link);
    text-align: center;
    font-size: var(--fs-32);
    color: var(--color-text-strong);
  }
  #hashtag-container h3 span {
    display: inline-block;
  }
}
#hashtag-container .smaller {
  font-size: 0.8em;
}
#hashtag-block .note {
  margin: var(--space-m) auto var(--space-2xl-3xl) auto;
  font-size: var(--fs-14);
  text-align: justify;
  text-justify: inter-word;
  line-height: 1.6;
}

@media (max-width:960px) {
  #hashtag-block p.intro {
    text-align: justify;
  }
}
@media (max-width:768px) {
  [data-hashtag-type="single"] {
    #hashtag-container h3 {
      font-size: var(--fs-28);
    }
  }
}


/* ハッシュタグ機能
------------------------------------- */
#hashtagGenerator {
  margin: var(--space-xl) auto;
}

.generateMsg {
  display: none;
}
#hashtagGenerator h4 {
  margin-bottom: var(--space-m);
  text-align: center;
  line-height: 2;
  font-size: var(--fs-28);
}
#hashtagGenerator p {
  margin: 0 auto var(--space-m) auto;
  text-align: justify;
  text-justify: inter-word;
  line-height: 1.6;
  font-size: var(--fs-18);
}
#hashtagGenerator #generate {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  width: 256px;
  border: 0;
  border-radius: 100px;
  padding: 12px 0px;
  background: var(--color-link);
  font-family: var(--font-body);
  font-size: var(--fs-18);
  font-weight: bold;
  color: var(--color-white);
  cursor: pointer;
}
#hashtagGenerator #generate .generate-btn-label {
  transition: opacity 0.2s ease-in-out;
}
#hashtagGenerator #generate.is-feedback {
  pointer-events: none;
}
#hashtagGenerator #generate.is-feedback:hover {
  opacity: 1;
}
#hashtagGenerator .btnArea {
  height: 50px;
  text-align: center;
}
#hashtagGenerator #generateMsg {
  text-align: center;
  font-size: var(--fs-16);
  margin: 0 auto 0px auto;
  padding-top: 10px;
}
#hashtagGenerator #selectMsg {
  text-align: center;
  font-size: var(--fs-16);
  margin: 0 auto 0px auto;
  padding-top: 10px;
}

@media (max-width:960px) {
  #hashtagGenerator h4 {
    line-height: 1;
    letter-spacing: -1px;
    font-size: var(--fs-24);
  }
  #hashtagGenerator p {
    font-size: var(--fs-16);
    line-height: 1.5;
  }
  #hashtagGenerator .btnArea {
    height: 70px;
    margin-bottom: 20px;
  }
}


/*
応募方法
------------------------------------- */
#howtoenter {
  margin: 0;
  padding: var(--space-2xl-3xl) 0 1px;
  text-align: center;
  background: var(--color-accent);
  background: var(--gradient-accent);
  color: var(--color-text-light);
}
#howtoenter h2 {
  margin: 0 0 var(--space-xl);
  color: var(--color-text-light);
}
#howtoenter .figures {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  max-width: 960px;
  margin: 0 auto;
}
#howtoenter .figure1 img,
#howtoenter .figure2 img,
#howtoenter .figure3 img {
  width: 100%;
  border-radius: 3px;
}
#howtoenter .figure1,
#howtoenter .figure2,
#howtoenter .figure3 {
  width: 32%;
  max-width: 300px;
  overflow: hidden;
  background: var(--color-white);
  border-radius: 3px;
  box-shadow: 0px 10px 15px rgba(0, 75, 112, 0.3);
}
#howtoenter p {
  margin: var(--space-m) auto 0 auto;
  text-align: justify;
  text-justify: inter-word;
  line-height: 1.6;
  font-size: var(--fs-16);
}
#howtoenter .note {
  font-size: var(--fs-14);
}

@media (max-width:640px) {
  #howtoenter .figures {
    display: block;
    width: 100%;
  }
  #howtoenter .figure1,
  #howtoenter .figure2,
  #howtoenter .figure3 {
    width: 100%;
    max-width: none;
    height: auto;
    margin: 0 auto var(--space-l) auto;
  }
}


/*
賞品
------------------------------------- */
#award {
  margin: 0;
  padding: var(--space-2xl-3xl) 0;
  text-align: center;
  background: var(--color-white);
  color: var(--color-text);
}
#award h3 {
  border-radius: 3px;
  margin: var(--space-2xl) auto 0;
  padding: 12px 12px 13px;
  text-align: center;
  background: var(--color-accent-secondary);
  line-height: 1.2;
  font-size: var(--fs-24);
  color: var(--color-text);
}
#award h3 span {
  font-size: 0.8em;
}
#award p {
  text-align: center;
  line-height: 1.6;
  font-size: var(--fs-18);
}
#award p.intro {
  margin: 0 auto var(--space-xl);
  text-align: center;
}
#award p.prize {
  padding-top: var(--space-m);
  text-align: center;
}
#award .note {
  margin-top: var(--space-m);
  font-size: var(--fs-14);
  text-align: center;
  line-height: 1.6;
}

#award h3.about {
  background: #54a2b5;
}
#award a.button {
  display: block;
  max-width: 240px;
	border-radius: 100vw;
  margin-inline: auto;
	padding: 12px 20px;
	background: var(--color-link);
  text-decoration: none;
  text-align: center;
	font-size: var(--fs-18);
	font-weight: 700;
	color: var(--color-white);
}

@media (max-width:960px) {
  #award h3 {
    line-height: 1.4;
  }
  #award p.intro {
    text-align: justify;
  }
  #award p.text {
    text-align: justify;
  }
}

@media (max-width:640px) {
  #award {
    background: var(--color-white);
    background: linear-gradient(var(--color-white) 70%, var(--color-bg-app) 100%);
  }
  #award h2 {
    text-indent: 1px;
    font-weight: 300;
    line-height: 1.4;
    color: var(--color-text-strong);
  }
  #award h3 {
    font-size: var(--fs-20);
  }
  #award h3 span {
    font-size: 0.9em;
  }
}


/*
募集要項
------------------------------------- */
#application {
  margin: 0;
  padding: var(--space-2xl-3xl) 0;
  text-align: center;
  background: var(--color-bg-app);
  color: var(--color-text);
}
#application h2 {
  margin: 0 0 var(--space-xl);
  color: var(--color-text-strong);
}
#application .application-container {
  box-shadow: 0px 10px 15px rgba(205, 175, 120, 0.5);
  text-align: left;
  background: var(--color-white);
  padding: 1px var(--space-xl) var(--space-xl);
  margin: 0 0 var(--space-xl);
  border-radius: 3px;
  line-height: 1.8;
}
#application .application-container h3 {
  border-radius: 3px;
  margin: var(--space-2xl) 0 var(--space-s-m);
  padding: 12px 12px 13px;
  text-align: center;
  background: var(--color-accent);
  line-height: 1.2;
  letter-spacing: 0.1em;
  font-size: var(--fs-24);
  color: var(--color-text-light);
}
#application .application-container .note {
  font-size: var(--fs-14);
}
#application .application-container .note.aC {
  text-align: center;
}
#application .application-container p {
  margin: 0 0 var(--space-s-m);
  padding: 0;
  text-align: justify;
  text-justify: inter-ideograph;
  font-size: var(--fs-16);
}
#application .application-container p.nomargin {
  margin: 0;
}
#application .application-container p.subhead {
  margin: 0 0 var(--space-s-m) 0;
  padding: 0;
  text-align: center;
  line-height: 1.6;
  font-size: var(--fs-24);
  font-weight: bold;
}
#application .application-container .step {
  margin: 0 0 var(--space-xl);
}
#application .application-container h4 {
  font-size: var(--fs-20);
  margin-bottom: 10px;
}
#application .application-container .step h4 {
  font-size: var(--fs-18);
  margin: 0px;
}
#application .application-container .step p {
  margin: 0 0 var(--space-s-m);
}
#application .application-container .step p.note-tight {
  margin-bottom: 0;
}
#application .application-container .step p.note-mail {
  margin-bottom: 8px;
  text-align: left;
  word-break: break-all;
  overflow-wrap: break-word;
}
#application .application-container .step .note-domain {
  margin: 0 0 var(--space-s-m) 1rem;
}
#application .application-container .step .note-domain > div {
  margin-left: 8px;
}
#application .application-container ul {
  list-style-type: disc;
  margin-bottom: 0;
  margin-left: 1rem;
}
#application .application-container ol {
  margin-left: clamp(0em, -0.641em + 2.735vw, 1em);
}
#application .application-container ol li {
  margin-left: 1rem;
  font-size: var(--fs-16);
}
#application .application-container ul li {
  margin-bottom: 8px;
}
#application .application-container li {
  text-align: justify;
  text-justify: inter-ideograph;
  font-size: var(--fs-16);
}
#application .application-container ul li ul li {
  margin-bottom: 2px;
  margin-left: 0px;
  list-style-type: disc;
}

#application .judge {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-direction: row-reverse;
}
#application .judgePhoto {
	width: 240px;
	margin: 0 0 40px 40px;
	border-radius: 3px;
}

@media (max-width:960px) {
  #application .inner {
    margin: 0;
  }
}

@media (max-width:640px) {
  #application {
    background: var(--color-white);
    background: linear-gradient(var(--color-white), var(--color-bg-app));
  }
  #application h2 {
    height: auto;
    text-align: center;
    font-weight: 300;
    line-height: 1.4;
  }
  #application .application-container {
    margin-top: 0;
    padding: 0 1.5rem var(--space-l);
  }
  #application .application-container h3 {
    font-size: var(--fs-20);
  }
  #application .application-container .note.aC {
    text-align: justify;
  }
  
	#application .judge {
		display: block;
		text-align: center;
	}
	#application .judgePhoto {
		width: 60%;
		margin: 0 auto 3%;
	}
	#application .judge .judgeInfo {
		text-align: left;
	}
}


/*
お問い合わせ
------------------------------------- */
#application .inquiry {
  border: 1px solid var(--color-inquiry-border);
  border-radius: 3px;
  margin: 0 auto;
  background: var(--color-white);
  text-align: left;
  color: var(--color-text);
}
#application .inquiry h3 {
  font-size: var(--fs-18);
  margin: var(--space-m) var(--space-m) 10px;
}
#application .inquiry p {
  margin: 0 var(--space-m) var(--space-m);
  padding: 0;
  line-height: 1.6;
  font-size: var(--fs-14);
}
@media (max-width:960px) {
  #application .inquiry {
    margin: 0 1.5em;
  }
  #application .inquiry p {
    padding-right: 0;
  }
}


/* フッター
----------------------------------------*/
footer,
footer .footer_pageTop {
  background: var(--color-accent);
  color: var(--color-text-light);
}
footer {
  text-align: center;
}
footer .footer-pagetop {
  padding: var(--space-s) 0 var(--space-2xs) 0;
}
footer .footer-link {
  margin: 0 auto 10px auto;
}
footer .footer-link p {
  line-height: 1.8;
}
footer .footer-link a {
  padding: 0 1em;
  text-decoration: none;
  font-size: var(--fs-12);
  color: var(--color-text-light);
}
footer .footer-link a:hover {
  text-decoration: underline;
}
footer .footer-link-extra {
  margin-top: 8px;
}
footer .footer-copyright {
  padding: var(--space-2xs) var(--space-m) var(--space-m);
  font-size: var(--fs-12);
  line-height: 1.8;
}
footer .footer-copyright .copyright {
  font-size: var(--fs-12);
}
span.linklike {
  font-weight: bold;
}

@media (max-width:640px) {
  footer .footer-link p {
    line-height: 1.4;
  }
  footer .footer-link a {
    display: inline-block;
  }
  footer .footer-copyright {
    font-size: var(--fs-10);
    text-align: left;
  }
  footer .footer-copyright .copyright {
    font-size: var(--fs-8);
    text-align: left;
  }
}


/*
アクセシビリティ：視差効果を減らす設定（prefers-reduced-motion）
------------------------------------- */
/* 動きを許可している環境のみ、ページ内リンクをスムーズスクロール */
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  /* メインビジュアルの背景ループアニメーションを停止 */
  #mainvisual {
    -webkit-animation: none;
    animation: none;
  }

  /* メニュー：移動・変形をなくし、短いフェードのみにする */
  .contest-menu,
  .contest-menu.is-open {
    --menu-duration: 0.15s;
    transition:
      opacity var(--menu-duration) linear,
      visibility 0s linear var(--menu-duration);
  }
  .contest-menu.is-open {
    transition:
      opacity var(--menu-duration) linear,
      visibility 0s linear 0s;
  }
  .contest-menu__list li,
  .contest-menu.is-open .contest-menu__list li {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .menu-toggle,
  .menu-toggle__bar {
    transition: none;
  }
}
