/* 基本設定・共通UI */
:root {
  --red: #ed080d;
  --ink: #090909;
  --paper: #f2f0eb;
  --gray: #a3a3a3;
  --header: 80px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Noto Sans JP",sans-serif;
  font-size: 14px;
  line-height: 1.8;
}

h1,h2,h3,h4,p,figure,ul,dl,dd {
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  cursor: pointer;
}

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

button,a {
  -webkit-tap-highlight-color: transparent;
}

a:focus-visible,button:focus-visible,[tabindex]:focus-visible {
  outline: 3px solid #0576b9;
  outline-offset: 5px;
}

section[id] {
  scroll-margin-top: 100px;
}

.sr-only,.skip-link:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link:focus {
  position: fixed;
  z-index: 100;
  background: white;
  padding: 10px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--gray);
  color: white;
  font-weight: 700;
  border: 0;
  padding: 10px 20px;
  transition: background-color .25s;
}

.button:hover,.button:focus-visible {
  background: var(--red);
}

/* ヘッダーとメインメニュー */
.site-header {
  height: var(--header);
  border-bottom: 1px solid #999;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5.2%;
  position: relative;
  background: white;
  z-index: 30;
  gap: 30px;
}

/* PCは通常フローを保ったまま上端に追従する */
@media (min-width: 901px) {
  .site-header {
    position: sticky;
    top: 0;
  }
}

.header-logo {
  width: 260px;
  flex-shrink: 0;
}

.site-header nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex: 1;
}

.site-header ul {
  display: flex;
  list-style: none;
  padding: 0;
  flex: 1;
  justify-content: center;
  white-space: nowrap;
}

.site-header li {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
  padding: 0 22px;
  border-right: 1px solid #bbb;
}

.site-header li:last-child {
  border: 0;
}

.guide-link {
  font-size: 14px;
  border-radius: 30px;
  background: #383838;
  white-space: nowrap;
  padding: 12px 28px;
}

.menu-toggle {
  display: none;
}

/* Hero */
.hero {
  position: relative;
  max-width: 1920px;
  margin: auto;
  min-height: 930px;
  padding-top: 50px;
  padding-bottom: 80px;
  display: grid;
  grid-template-columns: 38.5% 61.5%;
  align-items: start;
}

.hero-photo {
  grid-column: 2;
  grid-row: 1;
  position: relative;
  border-radius: 100px 0 0 100px;
  overflow: hidden;
}

.hero-photo img {
  width: 100%;
  aspect-ratio: 1.475;
  object-fit: cover;
}

.hero-photo figcaption {
  position: absolute;
  bottom: 3%;
  right: 2%;
  font-size: 14px;
  font-weight: 500;
  color: #fff;
}

.hero-copy {
  grid-column: 1;
  grid-row: 1;
  z-index: 1;
  padding-top: 45px;
  margin-left: 32.5%;
  width: 450px;
}

.hero h1 {
  font-size: clamp(64px,5.75vw,110px);
  line-height: 1.42;
  font-weight: 900;
  letter-spacing: -.045em;
  white-space: nowrap;
  margin-bottom: 78px;
}

.hero-logo {
  width: 450px;
}

.hero-date {
  display: flex;
  align-items: baseline;
  justify-content: center;
  white-space: nowrap;
  font-family: "Noto Sans JP",sans-serif;
  font-weight: 900;
  letter-spacing: -.06em;
  gap: 5px;
  font-size: 36px;
  margin: 26px 0 28px;
}

.hero-date .year,.hero-date small {
  font-size: .62em;
}

.hero-date .slash {
  font-weight: 400;
}

.hero-date .dash {
  margin: 0 3px;
}

.hero-cta {
  display: flex;
  width: 230px;
  height: 60px;
  border-radius: 35px;
  margin: auto;
}

/* 本文の共通レイアウト */
.container {
  width: calc(100% - 80px);
  max-width: 1320px;
  margin: auto;
}

.section {
  padding: 90px 0 0;
}

.section h2,.contact h2 {
  font-size: 36px;
  line-height: 1.4;
  font-weight: 900;
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 55px;
}

.section h2 span,.contact h2 span {
  font-size: 24px;
  color: var(--red);
  font-weight: 900;
}

.light-sections {
  background: var(--paper);
  padding-bottom: 100px;
}

.panel {
  background: white;
  border-radius: 50px;
  padding: 60px 80px;
}

/* お知らせ */
.news-item {
  border-top: 1px solid #111;
  padding: 28px 20px;
}

.news-item:last-child {
  border-bottom: 1px solid #111;
}

.news-line {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 24px;
  align-items: baseline;
}

.news-line time {
  font-size: 16px;
  font-weight: 700;
}

.news-heading {
  font-size: 16px;
  font-weight: 700;
}

.news-heading h3 {
  display: inline;
  font-size: inherit;
}

.badge {
  background: var(--red);
  color: white;
  display: inline-block;
  font-size: 13px;
  line-height: 1.4;
  padding: 2px 8px;
  margin-right: 10px;
}

.news-heading>.badge {
  border-radius: 12px;
}

.news-toggle {
  border: 0;
  border-radius: 15px;
  background: #a3a3a3;
  color: white;
  font-weight: 700;
  font-size: 13px;
  padding: 1px 12px;
  transition: background .25s;
}

.news-toggle:hover,.news-toggle:focus-visible {
  background: var(--red);
}

.news-body {
  margin: 24px 0 0 134px;
  padding: 30px 40px;
  background: #f8f8f8;
  border-radius: 30px;
  font-size: 14px;
  line-height: 1.8;
}

.news-body h3 {
  font-size: inherit;
  margin-top: 20px;
}

.news-body p+p {
  margin-top: 14px;
}

.news-body[hidden] {
  display: none;
}

/* 日程表 */
.table-scroll {
  overflow-x: auto;
}

table {
  border-collapse: collapse;
  width: 100%;
  table-layout: fixed;
  font-size: 16px;
}

th,td {
  border: 1px solid #111;
  padding: 25px 20px;
}

thead th {
  background: #383838;
  color: white;
  padding: 20px;
  font-weight: 500;
}

thead th:nth-child(1) {
  width: 34.5%;
}

thead th:nth-child(2) {
  width: 41.5%;
}

thead th:nth-child(3) {
  width: 24%;
}

tbody th {
  text-align: left;
  font-size: 20px;
  line-height: 2.4;
  vertical-align: middle;
}

tbody td:last-child {
  text-align: center;
}

td p+p {
  margin-top: 20px;
}

.events {
  list-style: none;
  padding: 0;
}

.events li {
  padding-left: 10px;
  position: relative;
}

.events li:before {
  content: "▸";
  color: var(--red);
  position: absolute;
  left: 0;
}

.scroll-hint {
  display: none;
}

/* 会場案内 */
.venue-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.venue-card>img {
  width: 100%;
  aspect-ratio: 590/440;
  object-fit: cover;
}

.venue-info {
  margin-top: 30px;
  background: var(--paper);
  border-radius: 10px;
  padding: 30px 40px 40px;
}

.venue-info h3 {
  font-size: 21px;
  border-left: 3px solid var(--red);
  padding-left: 10px;
  margin-bottom: 30px;
}

.venue-info dl {
  font-size: 16px;
}

.venue-info dl>div {
  display: grid;
  grid-template-columns: 100px 1fr;
  padding: 12px 8px;
  border-top: 1px solid #111;
}

.venue-info dl>div:last-child {
  border-bottom: 1px solid #111;
}

.venue-info .button {
  display: flex;
  width: max-content;
  margin: 35px auto 0;
  font-size: 14px;
  border-radius: 4px;
}

/* ノミネート作品 */
.nomination {
  background: #1c1d1b;
  color: white;
  padding-bottom: 100px;
}

.film-grid {
  width: 90%;
  max-width: 1720px;
  display: grid;
  grid-template-columns: repeat(5,minmax(0,1fr));
  gap: 90px 38px;
  margin: auto;
}

.film h3 {
  font-size: 20px;
  font-weight: 400;
  margin-top: 24px;
  line-height: 1.5;
}

.film p {
  font-size: 16px;
  margin-top: 12px;
}

.film p span {
  font-size: 12px;
  background: var(--red);
  margin-right: 10px;
  padding: 0 5px;
}

.film img {
  width: 100%;
}

/* 受賞結果：発表前・発表後で共通 */
.award {
  background: var(--paper);
  padding-bottom: 100px;
}

.award-wait {
  background: white;
  text-align: center;
  font-size: 28px;
  font-weight: 900;
  border-radius: 10px;
  padding: 16px;
}

.award-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 60px;
}

.award-card h3 {
  border-left: 17px solid #ffdf00;
  padding-left: 16px;
  font-size: 26px;
  line-height: 1.4;
  margin-bottom: 25px;
}

.award-card h3 small {
  display: block;
  font-size: 12px;
  color: #666;
  font-weight: 400;
}

.award-card.u18 h3 {
  border-color: #2ac9ef;
}

.award-card.u22 h3 {
  border-color: #94cb38;
}

.award-card>img {
  background: #d2d2d2;
  filter: brightness(.85);
}

.award-card>div {
  margin-top: 15px;
  padding: 22px 30px;
  background: white;
  border-radius: 10px;
}

.award-card h4 {
  font-size: 18px;
}

.award-card p {
  font-size: 14px;
}

.draft-label {
  border: 1px dashed #777;
  padding: 10px;
  margin-bottom: 24px;
}

/* フッター */
.sponsors {
  padding: 145px 40px 150px;
}

.footer-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 70px;
}

.footer-brand p {
  font-weight: 900;
  font-size: 28px;
}

.footer-brand>img {
  width: 350px;
}

.sponsor-main {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 25px;
  margin-bottom: 65px;
}

.sponsor-label,.organizers dt {
  background: #1c1d1b;
  color: white;
  font-weight: 700;
  padding: 12px 20px;
  white-space: nowrap;
}

.sponsor-main img {
  width: 120px;
}

.organizers {
  display: flex;
  justify-content: center;
  gap: 60px;
  font-size: 16px;
  font-weight: 700;
}

.organizers>div {
  display: flex;
  align-items: center;
  gap: 15px;
}

.contact {
  border-top: 1px solid #888;
  padding: 85px 0 95px;
}

.contact-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 90px;
}

.contact-grid h3 {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 22px;
  white-space: nowrap;
}

.contact-grid h3 img {
  width: 95px;
}

.contact address {
  font-style: normal;
  font-size: 14px;
}

.contact .phone {
  font-size: 22px;
  font-weight: 700;
}

.copyright {
  border-top: 1px solid #888;
  background: #f8f8f8;
  text-align: center;
  font-size: 12px;
  padding: 18px;
}

.bottom-nav {
  display: none;
}

/* 画像出現：読み込みタイミングは変更しない */
.reveal.seen>img {
  animation: appear .9s both;
  animation-delay: calc(var(--order)*.2s);
}

@keyframes appear {
  from {
    opacity: .25;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media(max-width:1600px) and (min-width:901px) {
  .site-header {
    padding: 0 4%;
    gap: 20px;
  }
  .header-logo {
    width: 210px;
  }
  .site-header li {
    padding: 0 12px;
    font-size: 12px;
  }
  .guide-link {
    padding: 10px 18px;
  }
  .hero {
    min-height: 0;
    padding-bottom: 60px;
  }
  .hero-copy {
    padding-top: 30px;
    width: 340px;
  }
  .hero h1 {
    font-size: 82px;
    margin-bottom: 50px;
  }
  .hero-logo {
    width: 340px;
  }
  .hero-date {
    font-size: 27px;
  }
  .hero-photo {
    border-radius: 75px 0 0 75px;
  }
  .container {
    max-width: 1100px;
  }
  .section {
    padding-top: 75px;
  }
  .section h2,.contact h2 {
    font-size: 30px;
    margin-bottom: 45px;
  }
  .section h2 span,.contact h2 span {
    font-size: 20px;
  }
  .panel {
    padding: 45px 65px;
    border-radius: 40px;
  }
  .news-line {
    grid-template-columns: 90px 1fr;
    gap: 20px;
  }
  .news-body {
    margin-left: 110px;
    padding: 28px;
  }
  .news-item {
    padding: 22px 14px;
  }
  .venue-grid {
    gap: 45px;
  }
  .venue-info {
    padding: 25px;
  }
  .venue-info dl>div {
    grid-template-columns: 75px 1fr;
  }
  table {
  }
  tbody th {
    font-size: 17px;
  }
  th,td {
    padding: 22px 16px;
  }
  .film-grid {
    gap: 65px 28px;
  }
  .film h3 {
    font-size: 16px;
  }
  .film p {
    font-size: 13px;
  }
  .sponsors {
    padding: 100px 25px;
  }
  .organizers {
    gap: 30px;
  }
  .contact-grid {
    gap: 50px;
  }
  .contact-grid h3 {
    font-size: 19px;
  }
  .contact .phone {
    font-size: 19px;
  }
  .contact address {
    font-size: 12px;
  }
}

@media(max-width:1200px) and (min-width:901px) {
  .site-header {
    padding: 0 24px;
    gap: 18px;
  }
  .header-logo {
    width: 180px;
  }
  .site-header nav {
    gap: 15px;
  }
  .site-header li {
    padding: 0 7px;
    font-size: 11px;
  }
  .guide-link {
    padding: 10px;
  }
  .hero-copy {
    margin-left: 20%;
    width: 310px;
  }
  .hero h1 {
    font-size: 65px;
  }
  .hero-logo {
    width: 290px;
  }
  .hero-date {
    font-size: 24px;
  }
  .panel {
    padding: 35px;
  }
  .organizers {
    gap: 15px;
    flex-wrap: wrap;
  }
  .contact-grid {
    gap: 25px;
  }
  .contact-grid h3 {
    font-size: 16px;
  }
  .contact .phone {
    font-size: 16px;
  }
  .film h3 {
    font-size: 14px;
  }
  .film p {
    font-size: 12px;
  }
  .venue-info {
    padding: 20px 15px;
  }
}

.header-guide {
  display: none;
}

/* 既存SPメニューを中間幅でも共用する */
@media (max-width: 1600px) {
  .menu-toggle:not([hidden]) {
    display: flex;
    width: 50px;
    height: 50px;
    flex-shrink: 0;
    border: 0;
    background: var(--red);
    padding: 15px 14px;
    flex-direction: column;
    justify-content: space-between;
    z-index: 2;
  }
  .menu-toggle span {
    height: 2px;
    width: 22px;
    background: white;
    transition: transform .2s,opacity .2s;
  }
  .menu-toggle[aria-expanded=true] span:first-child {
    transform: translateY(9px) rotate(45deg);
  }
  .menu-toggle[aria-expanded=true] span:nth-child(2) {
    opacity: 0;
  }
  .menu-toggle[aria-expanded=true] span:last-child {
    transform: translateY(-9px) rotate(-45deg);
  }
  .site-header nav {
    position: absolute;
    top: 50px;
    left: 0;
    width: 100%;
    background: var(--paper);
    display: block;
    padding: 0 10px 50px;
    max-height: calc(100dvh - 50px);
    overflow: auto;
    border-bottom: 1px solid #ddd;
  }
  .js .site-header nav:not(.is-open) {
    display: none;
  }
  .site-header ul {
    display: block;
  }
  .site-header li {
    font-size: 16px;
    padding: 0;
    border: 0;
    border-bottom: 1px solid #ccc;
    line-height: 1.4;
  }
  .site-header li:last-child {
    border-bottom: 1px solid #ccc;
  }
  .site-header li a {
    display: block;
    padding: 17px 30px;
  }
  body.menu-open {
    overflow: hidden;
  }
}

/* 中間幅：ロゴ、募集要項、既存メニューボタン */
@media (min-width: 901px) and (max-width: 1600px) {
  .site-header .header-guide {
    display: inline-flex;
    margin-left: auto;
    font-size: 14px;
    order: 1;
  }
  .menu-toggle {
    order: 2;
  }
  .site-header nav {
    top: 80px;
    max-height: calc(100dvh - 80px);
  }
  .site-header nav li {
    padding: 0;
    border-right: 0;
  }
  .site-header nav .guide-link {
    display: flex;
    width: max-content;
    max-width: 100%;
    margin: 24px auto 0;
    font-size: 14px;
  }
}

/* SP表示 */
@media(max-width:900px) {
  :root {
    --header: 50px;
  }
  html {
    scroll-padding-top: 65px;
  }
  body {
    font-size: 14px;
    padding-bottom: 50px;
  }
  section[id] {
    scroll-margin-top: 65px;
  }
  .site-header {
    height: 50px;
    padding: 0 0 0 10px;
    position: sticky;
    top: 0;
    gap: 0;
  }
  .header-logo {
    width: 174px;
  }
  .site-header nav .guide-link {
    display: flex;
    width: 310px;
    max-width: 100%;
    margin: 49px auto 0;
    padding: 12px 10px;
    font-size: 13px;
    line-height: 1.5;
  }
  .hero {
    display: flex;
    flex-direction: column;
    padding: 15px 0 70px;
    min-height: 0;
    gap: 0;
  }
  .hero-photo {
    margin-left: 30px;
    border-radius: 30px 0 0 30px;
    width: calc(100% - 30px);
  }
  .hero-photo img {
    aspect-ratio: 360/245;
    object-fit: cover;
  }
  .hero-photo figcaption {
    font-size: 10px;
    line-height: 1.5;
    max-width: 94%;
    padding: 3px 5px;
    background: rgba(0, 0, 0, .72);
    overflow-wrap: anywhere;
    text-align: right;
  }
  .hero-copy {
    padding: 0;
    margin: 16px 30px 0;
    width: calc(100% - 60px);
  }
  .hero h1 {
    font-size: 46px;
    line-height: 1.4;
    letter-spacing: -.045em;
    margin: 0 0 30px;
    font-weight: 900;
  }
  .hero-logo {
    width: 296px;
    margin: 0 auto;
  }
  .hero-date {
    font-size: 28px;
    letter-spacing: -.07em;
    gap: 3px;
    margin: 18px -10px 34px;
  }
  .hero-date .year,.hero-date small {
    font-size: .64em;
  }
  .hero-date .dash {
    margin: 0;
  }
  .hero-cta {
    width: 230px;
    height: 60px;
    font-size: 16px;
  }
  .container {
    width: calc(100% - 40px);
  }
  .section {
    padding-top: 50px;
  }
  .section h2,.contact h2 {
    font-size: 23px;
    gap: 10px;
    margin-bottom: 25px;
    flex-wrap: wrap;
  }
  .section h2 span,.contact h2 span {
    font-size: 15px;
  }
  .panel {
    padding: 24px 18px;
    border-radius: 25px;
  }
  .news-item {
    padding: 18px 0;
  }
  .news-line {
    display: block;
  }
  .news-line time {
    font-size: 13px;
    display: block;
    margin-bottom: 8px;
  }
  .news-heading {
    font-size: 15px;
    line-height: 1.8;
  }
  .news-toggle {
    font-size: 11px;
    padding: 3px 12px;
  }
  .news-body {
    margin: 15px 0 0;
    padding: 20px 15px;
    font-size: 13px;
    border-radius: 15px;
  }
  .scroll-hint {
    display: block;
    font-size: 11px;
    color: #666;
    text-align: right;
    margin-bottom: 10px;
  }
  table {
    min-width: 730px;
    font-size: 12px;
  }
  tbody th {
    font-size: 15px;
    line-height: 2;
  }
  th,td {
    padding: 20px 12px;
  }
  .venue-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .venue-info {
    margin-top: 15px;
    padding: 20px 15px;
  }
  .venue-info h3 {
    margin-bottom: 20px;
  }
  .venue-info dl {
    font-size: 13px;
  }
  .venue-info dl>div {
    grid-template-columns: 65px 1fr;
    padding: 12px 0;
  }
  .venue-info .button {
    font-size: 13px;
    margin-top: 25px;
  }
  .light-sections {
    padding-bottom: 50px;
  }
  .nomination {
    padding-bottom: 50px;
  }
  .film-grid {
    grid-template-columns: 1fr;
    width: calc(100% - 60px);
    gap: 35px;
  }
  .film h3 {
    font-size: 17px;
    margin-top: 14px;
  }
  .film p {
    font-size: 14px;
    margin-top: 8px;
  }
  .award {
    padding-bottom: 50px;
  }
  .award-wait {
    font-size: 18px;
    padding: 20px 10px;
  }
  .award-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .award-card h3 {
    font-size: 24px;
  }
  .draft-label {
    font-size: 12px;
  }
  .sponsors {
    padding: 44px 20px 40px;
  }
  .footer-brand {
    display: block;
    margin-bottom: 48px;
  }
  .footer-brand p {
    font-size: 26px;
    text-align: center;
    white-space: nowrap;
    letter-spacing: -.04em;
    margin-bottom: 12px;
  }
  .footer-brand>img {
    width: 344px;
    margin: auto;
  }
  .sponsor-main {
    justify-content: flex-start;
    gap: 10px;
    margin-bottom: 24px;
  }
  .sponsor-label {
    font-size: 16px;
    padding: 9px 17px;
  }
  .sponsor-main img {
    width: 85px;
  }
  .sponsor-main strong {
    font-size: 12px;
    white-space: normal;
  }
  .organizers {
    display: block;
    font-size: 14px;
    line-height: 1.4;
  }
  .organizers>div {
    gap: 10px;
    margin-bottom: 20px;
  }
  .organizers>div:last-child {
    margin-bottom: 0;
  }
  .organizers dt {
    padding: 10px 14px;
    font-size: 16px;
  }
  .organizers dd {
    flex: 1;
  }
  .contact {
    padding: 35px 0 65px;
  }
  .contact .container {
    width: calc(100% - 60px);
  }
  .contact h2 {
    display: block;
    text-align: center;
    font-size: 23px;
    margin-bottom: 45px;
  }
  .contact h2 span {
    display: block;
    font-size: 18px;
  }
  .contact-grid {
    display: block;
  }
  .contact-grid h3 {
    font-size: 17px;
    gap: 8px;
    margin: 0 0 30px;
    letter-spacing: -.035em;
  }
  .contact-grid h3 img {
    width: 58px;
  }
  .contact address {
    font-size: 12px;
    line-height: 2.2;
    margin: 0 -5px;
    text-align: center;
    white-space: nowrap;
    letter-spacing: -.035em;
  }
  .contact .phone {
    font-size: 15px;
  }
  .copyright {
    font-size: 12px;
    padding: 17px 4px;
  }
  .bottom-nav {
    display: grid;
    grid-template-columns: 84px 1fr 48px;
    height: 50px;
    background: var(--red);
    color: white;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 25;
  }
  .bottom-nav a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    line-height: 1.2;
    font-size: 12px;
    font-weight: 700;
    border-right: 1px solid white;
  }
  .bottom-nav a:last-child {
    border: 0;
  }
  .bottom-nav svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
  }
  .bottom-nav a:nth-child(2) {
    font-size: 14px;
  }
  .bottom-nav a:last-child svg {
    width: 20px;
    height: 20px;
  }
  .menu-open .bottom-nav {
    visibility: hidden;
  }
  .no-scroll {
    overflow: hidden;
  }
}

@media(min-width:901px) {
  .container {
    width: 68.75%;
    max-width: 1320px;
  }
  .section h2,.contact h2 {
    font-size: clamp(27px,1.875vw,36px);
  }
  .section h2 span,.contact h2 span {
    font-size: clamp(18px,1.25vw,24px);
  }
}

@media(max-width:900px) {
  html:not(.js) .site-header {
    height: auto;
    position: relative;
    display: block;
    padding: 5px 10px;
  }
  html:not(.js) .site-header nav {
    position: static;
    max-height: none;
    margin-top: 8px;
  }
}

/* OSの動きを減らす設定 */
@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior: auto;
  }
  *,*:before,*:after {
    animation: none!important;
    transition: none!important;
  }
}

/* v04：クライアント指定の限定調整 */
/* 矢印だけを調整し、ボタン枠とテキストの配置は維持 */
.button > span[aria-hidden="true"] {
  display: inline-block;
  flex: none;
  font-size: 18px;
  line-height: 1;
}

.hero-cta > span[aria-hidden="true"] {
  font-size: 22px;
}

.competition-banner {
  background: var(--red);
  color: white;
  text-align: center;
  padding: 24px 20px;
  font-size: clamp(20px, 2vw, 30px);
  font-weight: 700;
  line-height: 1.6;
}

@media (max-width: 900px) {
  .competition-banner {
    padding: 20px 12px;
    font-size: 18px;
  }

  .competition-banner span {
    display: block;
  }

  #schedule thead th:nth-child(2),
  #schedule thead th:nth-child(3),
  #schedule tbody td {
    font-size: 13px;
  }
}

/* v04 Human Review R01：PDFの外部リンク図形と矢印中心を再現 */
.venue-info .button > .external-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
}

.external-icon svg {
  display: block;
  width: 14px;
  height: 14px;
}

.hero-cta > span.schedule-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: .4em;
  height: 1em;
}

.schedule-arrow svg {
  display: block;
  width: 8px;
  height: 12px;
}

/* v04 R03：v03のPC配置を維持し、指定文字サイズとホバーのみ適用 */
@media (min-width: 901px) {
  .site-header li {
    font-size: 16px;
  }

  .site-header li a {
    color: #000;
    border-radius: 3px;
    transition: color .2s, background-color .2s, box-shadow .2s;
  }

  .site-header li a:hover,
  .site-header li a:focus-visible {
    color: var(--red);
    background: #fff0f1;
    box-shadow: 0 0 0 6px #fff0f1;
  }

  .site-header li a:focus-visible {
    outline: 2px solid var(--red);
    outline-offset: 6px;
  }
}

/* 狭いPC幅だけ、16pxのまま重ならない最小限の余白調整 */
@media (min-width: 901px) and (max-width: 1100px) {
  .site-header {
    padding: 0 16px;
    gap: 14px;
  }

  .header-logo {
    width: 140px;
  }

  .site-header nav {
    gap: 12px;
  }

  .site-header li {
    padding: 0 6px;
  }
}
