* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'Zen Kaku Gothic New', sans-serif;
  color: #333;
  background: #fff;
  line-height: 1.6;
}
a {
  text-decoration: none;
  color: inherit;
}
.site-header {
  position: fixed;
  top: 40px;
  left: 0;
  right: 0;
  background-color: #fff;
  z-index: 1000;
  padding: 16px 24px 40px;
  transition: box-shadow 0.3s ease;
}

.site-header.compact {
  background-color: transparent;
  padding: 8px 24px;
  border-bottom: none;
}

/* ヘッダーの高さぶんのダミー空間を hero の前に作る */
.header-spacer {
  height: 162px; /* ← 実際の .site-header の高さに合わせる */
}

/* コンテンツ幅は基本840pxに中央寄せ */
.container {
  width: 100%;
  max-width: 840px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  height: 60px;
  transition: height 0.3s ease;
}

.site-header.compact .logo img {
  height: 40px;
}

.hamburger {
  width: 60px;
  height: 60px;
  background-color: #202020;
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.site-header.compact .hamburger {
  width: 40px;
  height: 40px;
}

.hamburger span {
  display: block;
  width: 30px;
  height: 2px;
  background-color: #fff;
  border-radius: 2px;
}

.hero {
  margin-top: 0;
  margin-bottom:60px;
  display:flex;
  justify-content:center;
  align-items:center;
  padding:80px 0;
}

.hero-img {
  width: 100%;
  height: auto;
  display: block;
  max-width:840px;
}

.message {
  max-width: 840px;
  margin: 80px auto;
  padding: 0 16px;
  text-align: center;
}

.message h2 {
  font-size: 30px;
  font-weight: 200;
  letter-spacing: 0.2em;
  margin-bottom: 30px;
}

.message p {
  font-size: 16px;
  line-height: 2.4;
  letter-spacing: 0.03em; /* ← ほんの気持ちだけ文字間を空ける */
  margin-bottom: 32px;
}

.highlight {
  padding: 0.2em 0.4em;
  border-radius: 9999px; /* ← ピル型に */
}
.highlight.purple {
  background-color: #a078ac;
  color: #fff;
}
.highlight.blue {
  background-color: #54b7ca;
  color: #fff;
}
.highlight.yellow {
  background-color: #fde231;
}
.highlight.yellow.black-text {
  color: #000;
}
.highlight.pink {
  background-color: #dc77a3;
  color: #fff;
}

.sns-links {
  display: flex;
  justify-content: center;
  gap: 20px; /* ← アイコン同士の間隔を明確にコントロール */
  margin-top: 50px;
  margin-bottom:60px;
}

.sns-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  background: none;
  color: #000;
  text-decoration: none;
  transition: color 0.3s;
}

.sns-links a:hover {
  color: #888;
}

.sns-links i {
  font-size: 20px; /* ← アイコンのサイズを拡大 */
  max-width: 40px;
  max-height: 40px;
}

.news-section {
  background-color: #eeeeee;
  padding: 60px 0;
}

.news-inner {
  max-width: 840px;
  margin: 0 auto;
  display: flex;
  padding: 0 60px;
  align-items: center;
  justify-content: space-between;
}

.news-heading {
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 0 0 120px;
  text-align: left;
}

.news-subtitle {
  font-size: 11px;
  margin-bottom: 1px;
}

.news-title {
  font-size: 20px;
  font-weight: 300;
  margin: 0;
}

.news-content {
  flex: 1;
  padding-left: 0px;
}

.news-item {
  display: flex;
  justify-content: flex-start;
  gap: 20px;
  font-size: 16px;
  padding: 10px 0;
  border-bottom: 1px solid #000;
}

.news-item:last-child {
  border-bottom: none;
}

.news-date {
  flex-shrink: 0;
}

.outline {
  background-color: #f6f6f6;
  color: #202020;
  padding: 60px 0;
  position: relative;
}

.outline-inner {
  max-width: 840px;
  margin: 0 auto;
  padding: 0 60px;
  position: relative;
}

.outline h2 {
  font-size: 30px;
  font-weight: 200;
  letter-spacing: 0.1em;
  margin-bottom: 56px;
  margin-top: 0; /* ← 追加：上マージンを消す */
  padding: 0;     /* 念のため：パディングも消す */
  line-height: 1; /* ← デフォルトの行高が膨らまないように */
}

.outline-vertical-label {
  position: absolute;
  left: -100px;
  top: 12px; /* h2と揃える場合は後で微調整 */
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-size: 24px;
  letter-spacing: 0.2em;
  line-height: 1.2;
  color: #202020;
}

.outline dl {
  display: grid;
  grid-template-columns: 190px 1fr; /* 項目名:190px、本文:残り */
  row-gap: 0px;
  column-gap: 20px;
  font-size: 16px;
  line-height: 40px;
  letter-spacing: 0.05em;
}

.outline dl dt,
.outline dl dd {
  margin: 0;
}

.outline dt {
  font-weight: normal;
}

.outline dl dd {
  display: flex;
  align-items: center; /* 縦位置を揃えるために */
  flex-wrap: wrap;
}

.contest {
  padding: 60px 0;
  /* background: url("../img/bg_contest.webp") no-repeat center top;*/
  background-size: cover;
  position: relative;
}

.contest-inner {
  max-width: 840px;
  margin: 0 auto;
  padding: 0 60px;
  position: relative;
}

.contest h2 {
  font-size: 36px;
  letter-spacing: 0.2em;
  text-align: center;
  margin-bottom: 4px;
  font-weight: 300;
}

.contest .subtitle {
  display: inline-block;
  background-color: #202020;
  color: #fff;
  padding: 4px 16px;
  border-radius: 20px;
  font-size: 16px;
  margin: 0 auto 45px;
  display: block;
  text-align: center;
  width: fit-content;
  letter-spacing: 0.1em;
}

.contest p {
  font-size: 16px;
  line-height: 32px;
  text-align: center;
  margin-bottom: 45px;
  letter-spacing: 0.03em;
}

.contest-block {
  background: #fff;
  border-radius: 20px;
  padding: 40px;
  font-size: 14px;
  color: #202020;
  letter-spacing: 0.05em;
  line-height: 28px;
  position: relative;
  overflow: visible;
}

.contest-block .row {
  display: flex;
  padding: 8px 0;
  border-top: 1px solid rgba(32, 32, 32, 0.4);
}

.contest-block .row:first-child {
  border-top: none;
  padding-top: 0;
}

.contest-block .label {
  width: 140px;
  flex-shrink: 0;
  font-weight: normal;
  display: flex;
  align-items: center;
}

.contest-block .value {
  flex: 1;
  line-height: 36px;
}

.entry-button {
  position: absolute;
  right: -120px;
  top: -60px;
  width: 180px;
  height: 180px;
  background-color: #202020;
  color: #fff;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  text-decoration: none;
  font-family: 'Zen Kaku Gothic New', sans-serif;
  z-index: 10;
}

.entry-button .entry-label {
  font-size: 14px;
  margin-bottom: -6px;
}

.entry-button .entry-title {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 4px;
}

.entry-button .entry-line {
  width: 24px;
  margin-bottom: 16px;
}

.entry-button .entry-arrow {
  width: 15px;
  margin-bottom: 4px;
}

.entry-button .entry-click {
  font-size: 14px;
}

.contest-block .label,
.contest-block .value {
  letter-spacing: 0.1em;
}

.contest-block .note {
  font-size: 11px;
}
.global-nav {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  height: 100vh;
  background: rgba(32, 32, 32, 0.9); /* ← 透明度0.9に変更 */
  color: #fff;
  z-index: 999;
  transform: translateY(-100%);
  transition: transform 0.4s ease;
  display: flex;
  justify-content: center;
  align-items: center;
}

.global-nav ul {
  list-style: none;
  padding: 0;
  text-align: center;
}

.global-nav li {
  margin: 20px 0;
}

.global-nav a {
  color: #fff;
  font-size: 20px;
  text-decoration: none;
  letter-spacing: 0.1em;
}

.global-nav.open {
  transform: translateY(0);
}

@media (max-width: 768px) {
  .logo {
    flex-shrink: 0;
  }

  .logo img {
    height: 48px !important;   /* ← 確実に反映させる */
    width: auto !important;
  }

  .container {
    padding: 0 16px;
  }

  .hamburger {
    width: 48px;
    height: 48px;
  }

  .hamburger span {
    width: 24px;
  }
}

/* PCでは非表示 */
.br-sp {
  display: none;
}

/* SPでは表示 */
@media screen and (max-width: 768px) {
  .br-sp {
    display: inline;
  }
}

@media screen and (max-width: 768px) {
.contest-block .value {
    flex: 1;
    line-height: 28px;
}

  .entry-button {
    line-height: 26px;
  }
}

@media screen and (max-width: 768px) {
  .entry-button {
    width: 120px;
    height: 120px;
    top: -40px; /* はみ出し量も調整 */
    right: -120px; /* 必要に応じて調整 */
  }

  .entry-button .entry-label {
    font-size: 10px;
    margin-bottom: -10px;
  }

  .entry-button .entry-title {
    font-size: 12px;
    margin-bottom: 4px;
  }

  .entry-button .entry-line {
    width: 20px;
    margin-bottom: 10px;
  }

  .entry-button .entry-arrow {
    width: 12px;
    margin-bottom: 4px;
  }

  .entry-button .entry-click {
    font-size: 12px;
  }
}

.footer {
	position: relative;
	padding: 40px 0 60px;
	margin-top: 40px;
	background: #fff;
}

.footer::before {
	top: 0;
	bottom: auto;
}

.footer h2 { 
	font-weight: normal;
	font-size: 14px;
}

.footer .office-name {
	margin-top: 24px;
	font-size: 14px;
}

.footer address {
	display: block;
	margin-top: 4px;
	font-size: 14px;
	font-weight: 300;
	font-style: normal;
}

.footer-tel  {
	display: flex;
	align-items: center;
	font-size: 14px;
	margin-top: 16px;
	font-weight: normal;
}

.footer-contact {
	height: 32px;
	display: flex;
	align-items: center;
	justify-content: flex-end;
	border-radius: 8px;
	transition: opacity 0.3s;
	line-height: 1;
	text-align: left;
	margin-top: 24px;
	gap: 8px;
}

.footer-contact::after {
	content: "";
	background-image: url(https://streetdanceweek.jp/2024/wp/wp-content/themes/ssdw/images/arrow-blue.svg);
	width: 34px;
	height: 7px;
	display: block;
	background-size: 34px;
	margin-top: 4px;
}

.footer-contact:hover {
	opacity: 0.8;
}

.footer-tel span {
	font-size: 32px;
	font-family: var(--font-en);
	font-weight: 200;
	letter-spacing: 0.05em;
	margin-right: 8px;
  line-height: 1;
}

.footer .header-nav-sns-item-link {
	background: none;
	border: 0;
	transition: 0.3s;
	box-shadow: none;
}

.header-nav-sns-item-link:hover {
	opacity: 0.5;
}

.footer .header-nav-sns-item-link svg {
	width: 25px;
}


.footer-right {
	text-align: right;
}

.footer-items {
	display: flex;
	justify-content: space-between;
	max-width: var(--max-width-content);
	margin: 0 auto;
}

.footer-logo {
	width: 188px;
	margin-top: 17px;
}

.copyright {
	text-align: center;
	margin-top: 32px;
	font-size: 14px;
}

.header-nav-sns-items {
	display: flex;
	gap: 16px;
	align-items: center;
	justify-content: flex-end;
	margin-top: 16px;
	list-style: none;
	padding: 0;
	margin: 0;
}

.header-nav-sns-item {
	display: inline-block;
}

.sns-icon,
.header-nav-sns-item-link {
	display: grid;
	place-items: center;
	width: 32px;
	height: 32px;
	border-radius: 100px;
	transition: 0.3s;
}

.header-nav-sns-item-link svg,
.header-nav-sns-item-link img {
	width: 20px;
	height: 20px;
	filter: invert(1); /* アイコンが白系でない場合は外してOK */
}

.footer-items {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 840px;
  margin: 0 auto;
  padding: 0 16px;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-left,
.footer-right {
  flex: 1;
  min-width: 280px; /* モバイル対策（スマホで縦並び） */
}

.footer-privacy-link {
  margin-top: 24px;
}

.footer-left {
  flex: 1 1 auto; /* ←固定幅指定をやめる */
  min-width: 320px; /* 少し広めに */
}

.footer-right {
  flex: 0 1 240px; /* 幅縮小OKで右側は小さめ */
  min-width: 200px;
  text-align: right;
}

@media (max-width: 768px) {
  .footer-items {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-left,
  .footer-right {
    flex: none;
    width: 100%;
    max-width: 400px;
  }

  .footer-logo {
    margin: 0 auto 16px;
  }

  .footer-tel {
    justify-content: center;
  }

  .header-nav-sns-items {
    justify-content: center;
    margin-top: 16px;
  }

  .footer-contact {
    justify-content: center;
  }

  .footer-privacy-link {
    text-align: center;
  }
}

.archive-list {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.4s ease;
  padding-left: 1em;
  margin-top: 0.5em;
}

.archive-toggle.open .archive-list {
  max-height: 500px; /* 開くときの高さ。内容に応じて調整可能 */
  opacity: 1;
}

.archive-btn {
  background: none;
  border: none;
  color: inherit;
  font: inherit;
  cursor: pointer;
  padding: 0;
  text-align: left;
  font-size:20px;
  letter-spacing:0.1em;
}

.archive-list li {
  margin: 4px 0;
}

@media (max-width: 768px) {
  .archive-list {
    font-size: 14px;
  }
}

.archive-toggle ul {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.4s ease;
  opacity: 0;
}

.archive-toggle.open ul {
  max-height: 1000px; /* リストが全部表示される高さに合わせて調整可 */
  opacity: 1;
}

.archive-list a {
  font-size: 16px;
}

/* アクセシビリティ対応 */
.skip-link {
  position: absolute;
  top: -50px;
  left: 0;
  background: #000;
  color: #fff;
  padding: 8px;
  z-index: 1000;
}
.skip-link:focus {
  top: 0;
}

/* スマホ対応 */
@media (max-width: 767px) {
  .hero {
    display: block !important;
    text-align: center;
  }

  .hero-img {
    max-width: 60% !important;
    margin: 0 auto;
    display: block;
  }
}
@media (max-width: 767px) {
  .hero {
    width: 100% !important;
    padding: 20px 0 !important;
  }
}
@media (max-width: 767px) {
  /* inline style 上書き用 */
  .hero[style] {
    display: block !important;
    width: 100% !important;
    padding: 40px 0 !important;
    text-align: center !important;
    padding: 20px 0 !important;
  }

  .hero-img {
    max-width: 60% !important;
    margin: 0 auto !important;
    height: auto !important;
    display: block !important;
  }
}

@media (max-width: 767px) {
  .news-inner {
    flex-direction: column;
    padding: 0 16px;
  }

  .news-heading {
    flex: none;
    text-align: center;
    margin-bottom: 20px;
  }

  .news-content {
    width: 100%;
  }

  .news-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
  }

  .news-date {
    font-size: 14px;
  }
}

@media (max-width: 767px) {
  .contest h2 {
    font-size: 24px;
  }
  .contest-inner {
    max-width:100%;
    margin: 0 auto;
    padding: 0 16px;
    position: relative;
}
  .contest .subtitle {
    font-size: 12px;
  }
  .message {
    max-width: 100%;
    margin: 80px auto;
    padding: 0 16px;
    text-align: center;
  }
}
@media (max-width: 767px) {
  .entry-button {
    width: 120px;
    height: 120px;
    position: fixed !important;
    top: auto !important;
    right: auto !important;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
  }

  .entry-button.visible {
    opacity: 1;
    pointer-events: auto;
  }
}

@media (max-width: 767px) {
  .contest-block .row {
    flex-direction: column;
    align-items: flex-start;
  }

  .contest-block .label {
    width: 100%;
    margin-bottom: 4px;
  }

  .contest-block .value {
    width: 100%;
  }
}

@media (max-width: 767px) {
  .contest-block {
    max-width: 100%;
    padding: 24px 20px; 
    border-radius: 12px; 
  }
}

@media (max-width: 767px) {
  .outline-inner {
    max-width: 100% !important;
    padding: 0 20px !important;
  }

  .outline dl {
    display: block;
  }

  .outline dl dt {
    margin-top: 20px; /* 項目名と前の項目内容との間隔 */
    margin-bottom: 4px; /* 項目名と本文の間隔 */
  }

  .outline dl dd {
    margin-bottom: 0; /* 本文下の余白はdt側で調整するのでゼロ */
    font-size: 14px;
    line-height: 1.6;
  }

  .outline h2 {
    font-size: 24px;
    text-align: center;
  }
}

.outline-subtitle {
  display: none;
}

@media (max-width: 767px) {
  .outline-vertical-label {
    display: none;
  }

  .outline-subtitle {
    display: block;
    font-size: 14px;
    font-weight: normal;
    margin-top: 8px;
    letter-spacing: 0.1em;
    text-align: center;
  }
}