@charset "UTF-8";
/*
Theme Name: 全国大人のピアノコンクール
Theme URI: https://example.com/
Description: Cocoon Child Theme
Author: Your Name
Template: cocoon-master
Version: 1.0.0
*/

/* ========================================
   基本設定
======================================== */
:root {
    --primary-color: #113d6b;
    --secondary-color: #ddeef8;
    --accent-color: #049f23;
    --white: #ffffff;
    --black: #161717;
    --shadow: 0 2px 8px rgba(0,0,0,0.1);
    --shadow-hover: 0 4px 16px rgba(0,0,0,0.15);

    --age-color: #113d6b;
    --trial-color: #8e672f;
    --amateur-color: #717171;
    --master-color: #a69647;
}

* {
    box-sizing: border-box;
}

.content {
    margin-top: 0;
}

.wrap {
  width: 100%;
}

.main {
  padding: 0 !important;
  border: none;
}

.main-content {
  flex: 1;
  min-width: 0;
  padding: 0;
  margin: 0;
}

body {
  font-family: 'Hiragino Sans', 'Yu Gothic', 'Meiryo', sans-serif;
  line-height: 1.8;
  color: var(--text-color);
}

.container {
  margin-left: 300px;
}
.main-content .container {
  padding: 40px;
  max-width: 1200px;
  margin: 0 auto;
}
/*
.arrow-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: 1px solid #fff;
  border-radius: 50%;
  margin-left: 10px;
  font-size: 15px;
  font-weight: bold;
  line-height: 1;
}
*/
.arrow-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: 1px solid #fff;
  border-radius: 50%;
  margin-left: 10px;
  background-image: url(img/icon-arrow.png);
  background-size: 60% auto;
  background-repeat: no-repeat;
  background-position: center;
}
.arrow-circle-blue {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: 1px solid var(--primary-color);;
  border-radius: 50%;
  margin-left: 10px;
  background-image: url(img/icon-arrow-blue.png);
  background-size: 60% auto;
  background-repeat: no-repeat;
  background-position: center;
}
.arrow-no-circle {
  display: inline-block;
  width: 15px;
  height: 15px;
  background-image: url(img/icon-arrow.png);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

.main-content h1 {
  font-size: 32px;
  font-weight: 700;
  color: var(--primary-color, #113d6b);
  margin-bottom: 50px;
  padding-bottom: 15px;
  border-bottom: 2px solid #e0e0e0;
  position: relative;
  letter-spacing: 0.05em;
}
.main-content h1::before {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 200px;
  height: 2px;
  background: linear-gradient(90deg, #d4a574 0%, #c9985a 70%, transparent 100%);
  box-shadow: 0 2px 8px rgba(212, 165, 116, 0.3);
}
#menu-mb_footer {
  background: var(--secondary-color);
}
.home .main-content h1 {
  display: block;
}
.mobile-menu-buttons .menu-icon {
  color: var(--primary-color) !important;
}
@media (max-width: 768px) {
  .main-content h1 {
    font-size: 26px;
    margin-top: 60px;
    margin-bottom: 30px;
    padding-bottom: 10px;
  }
  
  .main-content h1::before {
    width: 100px;
    height: 4px;
  }
}

/* ========================================
   セクション共通
======================================== */
section {
    padding: 40px 0;
}

/* ========================================
   ヘッダー
======================================== */
.header-container, .otn-header-container {
  display: none;
}

@media screen and (max-width: 768px) {
  #wpadminbar {
    display: none;
  }

  .otn-header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: var(--secondary-color);
    color: var(--primary-color);
    padding: 10px 20px;
    position: fixed;
    top: 0;
    left: 0;
    height: 50px;
    width: 100%;
    z-index: 1001;
  }

  .otn-header-container {
    display: flex;
  }

  .hero img.pc {
    display: none !important;
  }
  .hero img.sp {
    display: block !important;
  }

}

/* ========================================
   レイアウト
======================================== */
.wrapper {
  display: flex;
  min-height: 100vh;
  width: 100%;
  max-width: 100%;
}

/* サイドバー（PC表示） */
.otn-sidebar {
  width: 300px;
  background-color: var(--secondary-color);
  color: var(--primary-color);
  padding: 40px 20px;
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  z-index: 1000;
  flex-shrink: 0;
}

.otn-sidebar nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.otn-sidebar nav ul li {
  position: relative;
  font-weight: 500;
  line-height: 1.6;
  color: var(--primary-color);
  margin-bottom: 5px;
}

.otn-sidebar nav ul li::before {
  content: "－";
  left: 0;
  margin-right: 3px;
}

.otn-sidebar nav ul li a {
  margin-left: 15px;
  color: var(--primary-color);
  text-decoration: none;
  transition: opacity 0.3s;
}

.otn-sidebar nav ul li a:hover {
  opacity: 0.7;
  color: var(--accent-color);
}

.site-logo {
  text-align: center;
  margin-bottom: 30px;
}

.site-logo img {
  max-width: 100%;
  height: auto;
}

.logo-sp {
  display: none;
}

.entry-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--accent-color);
  color: #fff;
  border: 3px solid var(--primary-color);
  padding: 8px 20px;
  text-decoration: none;
  transition: background 0.3s, transform 0.2s;
  margin: 50px auto 0;
  display: flex;
  width: fit-content;
}
.entry-btn:hover {
  color: #fff;
  background-color: var(--primary-color);
  transform: translateY(-2px);
}
@media screen and (max-width: 768px) {
  .entry-btn {
    margin-top: 10px;
    margin-bottom: 10px;
    width: 80%;
    padding: 10px 0;
  }
}

/* メインコンテンツ */
.otn-main {
/*  margin-left: 300px;*/
  flex: 1;
  padding: 0;
}

.otn-main a {
  color: var(--white);
  transition: color 0.3s;
}

.otn-main a:hover {
  color: var(--accent-color);
}

.hero {
  width: 100%;
  height: auto;
  position: relative;
}

/* top画像 */
.hero img.pc {
  display: block;
  width: 100%;
  height: auto;
}

.hero img.sp {
  display: none;
  width: 100%;
  height: auto;
  margin: 60px 0 20px;
}

/* top sections */
.gradient-section {
  background: linear-gradient(#113d6b, #161717);
  color: #fff;
  padding: 40px 0 0;
}
.dark-section {
  background: #161717;
  color: #fff;
  padding: 0 0 40px;
}

.white-section {
  background: #fff;
  color: #161717;
  padding: 40px 0;
}

.otn-main section {
  max-width: 1000px;
  margin: 0 auto 60px;
  padding: 0 10px;
}

.otn-main section h2 {
  text-align: center;
  margin-bottom: 40px;
}
.otn-main section h2 img {
  display: inline-block;
  height: auto;
  transform: scale(0.8);
  transform-origin: center center;
}

/* top news */
#news h2, #judge h2 {
  text-align: left;
}
#news h2 img, #judge h2 img {
  transform-origin: left center;
}
@media screen and (max-width: 768px) {
  .otn-main section h2 img {
    transform: scale(0.8);
  }
  #news h2 {
    margin-bottom: 0;
  }
  .gradient-section {
    padding: 20px 0;
  }
}

#news {
  display: flex;
  align-items: flex-start;
  padding-bottom: 10px;
}
.news-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 20px;
}
#news h2 {
  margin-bottom: 0;
}
#news h2 img {
  height: auto;
  margin-bottom: 5px;
}
.news-list {
  width: 500px;
  margin-left: auto;

}
.news-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #ccc;
  padding: 8px 0;
}
.news-date {
  margin-right: 8px;
  font-size: 0.9em;
}
.news-title {
  flex: 1;
  text-decoration: none;
}
.news-link {
  display: flex;
  align-items: center;
  gap: 8px;
}
.link-list {
  font-size: 0.8em;
  text-decoration: none;
  border-bottom: 1px dotted;
  line-height: 1.2;
  transition: color 0.3s;
}
@media screen and (max-width: 768px) {
  #news {
    flex-direction: column;
    align-items: flex-start;
  }
  .news-list {
    width: 95%;
    margin: auto;
  }
}

/* top message */
.gradient-section {
  position: relative;
  width: 100%;
  overflow: hidden;
}
#message {
  padding: 80px 0 0;
  text-align: center;
  overflow: hidden;
}
#message h2 {
  margin-bottom: 0;
}
#message .top_border {
  display: block;
  width: 80%;
  margin: auto;
  margin-bottom: 40px;
}
#message p {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
  line-height: 2;
  z-index: 100;
}
#message img[class^="top_photo"] {
  position: absolute;
  transform: scale(0.7);
  line-height: 0;
  z-index: 0;
}
@media screen and (min-width: 768px) and (max-width: 1200px) {
  #message .top_photo5 {
    position: absolute;
    left: 0px !important;
  }
}
@media screen and (min-width: 768px) {
  #message {
    min-height: 600px;
  }
  #message .top_photo5 {
    position: absolute;
    left: 100px;
    top: 320px;
  }
  #message .top_photo6 {
    position: absolute;
    left: -50px;
    top: 600px;
  }
  #message .top_photo3 {
    position: absolute;
    right: -50px;
    top: 450px;
  }
  #message .top_photo4 {
    position: absolute;
    right: -50px;
    bottom: 30px;
  }
}
@media screen and (max-width: 768px) {
  #message {
    padding: 0 10px;
    text-align: left !important;
  }
  #message p {
    line-height: 1.1;
    display: inline;
    white-space: normal;
    word-break: break-word;
    overflow-wrap: break-word;
    margin: 0;
  }
  #message img[class^="top_photo"] {
    position: static;
    margin: 0;
  }
  .photo-row12 {
    display: flex;
    justify-content: center;
    margin: auto;
  }
  .top_photo1, .top_photo6 {
    width: 50%;
  }
  .photo-row34 {
    display: flex;
    flex-direction: column;
    width: 100%;
  }
  .photo-row34 img:first-child {
    align-self: flex-start;
  }
  .photo-row34 img:last-child {
    align-self: flex-end;
  }
  .top_photo3 {
    width: 50%;
  }
}

/* top piano photo */
.top_piano {
  mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(0, 0, 0, 0.3) 15%,
    rgba(0, 0, 0, 0.7) 30%,
    rgba(0, 0, 0, 1) 40%,
    rgba(0, 0, 0, 1) 60%,
    rgba(0, 0, 0, 0.7) 70%,
    rgba(0, 0, 0, 0.3) 85%,
    transparent 100%
  );
}
.top_piano {
  filter: brightness(1.2);
}

/* top schedule */
.schedule-section {
  background: var(--black);
  padding: 60px 20px;
  text-align: center;
  color: var(--white);
}

.schedule-section h2 {
  margin-bottom: 50px;
}

/* 横並び（PC） */
.schedule-list {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  list-style: none;
  padding: 0;
  margin: 0;
  position: relative;
}

.schedule-card {
  flex: 1;
  position: relative;
  text-align: center;
}

.box {
  border: 1px solid var(--white);
  padding: 5px 20px;
  background: transparent;
  font-weight: 700;
  font-size: 0.9rem;
  position: relative;
  min-height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  z-index: 1;
}
.date {
  font-size: 0.95rem;
  color: var(--white);
  margin-bottom: 0;
}
.schedule-card:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 22%;
  left: 100%;
  width: 40px;
  height: 1px;
  background: var(--white);
  transform: translateY(-50%);
  z-index: 0;
}
.date-num {
  font-size: 1.1rem;
  display: inline-block;
  margin: 0 0.1em; 
}
@media screen and (min-width: 769px) and (max-width: 1200px) {
  .box {
    font-size: 0.7em;
    padding: 5px 10px;
  }
  .date {
    font-size: 0.7rem;
  }
}
@media screen and (max-width: 768px) {
  .schedule-list {
    flex-direction: column;
    align-items: center;
    gap: 0;
  }
  .schedule-card {
    width: 70%;
    margin: 0 auto;
    position: relative;
    padding-bottom: 40px;
  }
  .schedule-card:last-child {
    padding-bottom: 0;
  }
  .box {
    padding: 10px 20px;
    min-height: 40px;
    position: relative;
    z-index: 2;
    background: var(--black);
  }
  .date {
    margin-top: 15px;
    font-size: 0.9rem;
    text-align: center;
    position: relative;
    z-index: 3;
    background: var(--black);
    display: inline-block;
    padding: 0 8px;
  }
  /* 縦線：箱の下から次の箱の上まで */
  .schedule-card:not(:last-child)::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 100%; /* 箱の下から */
    width: 1px;
    height: calc(100% + 40px); /* 次のカードまで伸ばす */
    background: var(--white);
    transform: translateX(-50%) translateY(-100%);
    z-index: 1;
  }
  .schedule-card:first-child::after {
    height: 40px; /* 短くする */
    transform: translateX(-50%) translateY(0); /* 上に伸ばさない */
  }
  /* 縦線：箱の直下の短い部分 */
  .schedule-card::before {
    content: "";
    position: absolute;
    left: 50%;
    top: calc(100% - 40px);
    width: 1px;
    height: 15px; /* 短い線 */
    background: var(--white);
    transform: translateX(-50%);
    z-index: 2;
  }
  .schedule-card:last-child::before {
    display: none;
  }
  .schedule-card:first-child .box::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 100%; /* 箱の下から */
    width: 1px;
    height: 40px; /* 短く伸ばす */
    background: var(--white);
    transform: translateX(-50%);
    z-index: 1;
  }
}

/* 会場 */
.venue-section {
  background: var(--black);
  padding: 40px 20px 60px;
  color: var(--white);
}

.venue-block {
  margin-bottom: 50px;
}

.venue-block:last-child {
  margin-bottom: 0;
}

.venue-title {
  text-align: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 30px;
  position: relative;
  padding-bottom: 15px;
  color: var(--white);
}

.venue-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 1px;
  background: var(--secondary-color);
}

.table-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 0 auto;
  max-width: 1200px;
}

.venue-table {
  width: 100%;
  min-width: 650px;
  border-collapse: collapse;
  background: transparent;
}

.venue-table thead th {
  background: var(--primary-color);
  color: var(--white);
  font-weight: 700;
  padding: 10px 12px;
  text-align: left;
  font-size: 0.9rem;
  border: none;
}

/* 日程 */
.venue-table thead th:nth-child(1),
.venue-table tbody td:nth-child(1) {
  width: 130px;
  min-width: 130px;
  white-space: nowrap;
}

/* 都道府県 */
.venue-table thead th:nth-child(2),
.venue-table tbody td:nth-child(2) {
  width: 70px;
  min-width: 70px;
  white-space: nowrap;
}

/* 申込締切 */
.venue-table thead th:nth-child(4),
.venue-table tbody td:nth-child(4) {
  width: 120px;
  min-width: 120px;
  white-space: nowrap;
}

.venue-table tbody tr {
  background: transparent;
  border-bottom: 1px solid rgba(17, 61, 107, 0.3);
  transition: background 0.3s ease;
}

.venue-table tbody tr:nth-child(even) {
  background: rgba(17, 61, 107, 0.1);
}

.venue-table tbody tr:hover {
  background: rgba(17, 61, 107, 0.25);
}

.venue-table tbody tr:last-child {
  border-bottom: 2px solid var(--secondary-color);
}

.venue-table tbody td {
  padding: 12px 12px;
  color: var(--white);
  font-size: 0.9rem;
  border: none;
  text-align: left;
}

.venue-table .date-num {
  font-size: 1.2em;
  font-weight: 700;
  display: inline-block;
  margin: 0 0.1em;
  color: var(--accent-color);
}

@media screen and (max-width: 768px) {
  .venue-title {
    font-size: 1.2rem;
    margin-bottom: 20px;
  }
  
  .venue-table {
    min-width: 700px;
  }
  
  .venue-table thead th {
    font-size: 0.8rem;
    padding: 12px 8px;
  }
  
  .venue-table tbody td {
    font-size: 0.85rem;
    padding: 12px 8px;
  }
}

@media screen and (min-width: 769px) {
  .venue-table thead th {
    font-size: 1rem;
  }
  
  .venue-table tbody td {
    font-size: 0.95rem;
  }
}

/* top category */
.circle-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  margin-bottom: 28px;
}
.kakeru {
  font-size: 60px;
  color: var(--white);
  text-align: center;
}
.circle {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: 0px 8px 18px rgba(0,0,0,0.08);
  font-weight: 700;
  font-size: 0.9em;
}
.circle-content {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.circle-age {
  background:
    /* 斜めグラデーション1 */
    linear-gradient(
      135deg,
      #f0f5fa 0%,
      transparent 40%
    ),
    /* 斜めグラデーション2（反対方向） */
    linear-gradient(
      -45deg,
      #dce7f5 0%,
      transparent 50%
    ),
    /* 円形グラデーション（中央右） */
    radial-gradient(
      circle at 60% 40%,
      #b8d4ea 0%,
      transparent 60%
    ),
    /* 左下を青く強調 */
    radial-gradient(
      circle at 20% 80%,
      #4a7ba8 0%,
      #7391ad 30%,
      transparent 60%
    ),
    /* 左下の青を補強 */
    linear-gradient(
      45deg,
      #113d6b 0%,
      #5a8ab5 25%,
      transparent 50%
    ),
    /* ベースグラデーション */
    linear-gradient(
      180deg,
      #e8f1f8 0%,
      #c8ddf0 30%,
      #a8c5e0 60%,
      #7ba3c9 100%
    );
  background-blend-mode: overlay, screen, multiply, darken, overlay, normal;
  color: var(--black);
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.5);
}
.circle-level {
  background:
    linear-gradient(
      90deg,
      #a0784a 0%,
      #8e672f 20%,
      transparent 50%
    ),
    /* 左上から茶色 */
    linear-gradient(
      135deg,
      #b8936a 0%,
      transparent 40%
    ),
    /* 右側からグレー */
    linear-gradient(
      -90deg,
      #9d9a97 0%,
      transparent 50%
    ),
    /* 円形グラデーション（左上の光） */
    radial-gradient(
      circle at 25% 25%,
      rgba(255,255,255,0.25) 0%,
      transparent 40%
    ),
    /* 円形グラデーション（中央やや右） */
    radial-gradient(
      circle at 60% 50%,
      #8e7d65 0%,
      transparent 60%
    ),
    /* 左側の茶色を補強 */
    radial-gradient(
      circle at 15% 50%,
      #9d7447 0%,
      transparent 50%
    ),
    /* ベースグラデーション */
    linear-gradient(
      180deg,
      #9d8160 0%,
      #8e672f 30%,
      #7a6955 60%,
      #6a6a6a 100%
    );
  background-blend-mode: overlay, lighten, screen, lighten, multiply, darken, normal;
  color: var(--white);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
}
.circle-title {
  font-size: 22px; 
  font-weight: 700;
  position: relative;
  display: inline-block;
  margin-bottom: 12px;
  color: inherit;
}
.circle-title::after {
  content: '';
  display: block;
  width: 25%;
  height: 3px;
  background-color: currentColor;
  margin: -5px auto 0;
}
.circle-list {
  padding: 0;
  margin: 0;
  list-style: none;
  line-height: 1.3;
}
.table-wrapper {
  overflow-x: auto;
}
.category-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  background: #fff;
  color: var(--black);
}
.category-table td:last-child,
.category-table th:last-child {
  border-right: none;
}
.category-table td:first-child,
.category-table th:first-child {
  border-left: none;
}
.category-table th {
  font-weight: bold;
  color: #fff;
  border: none;
  height: 36px;
  padding: 5px 12px;
  text-align: center;
  position: relative;
}
.category-table th:nth-child(1) { background-color: var(--age-color); }
.category-table th:nth-child(2) { background-color: var(--trial-color); }
.category-table th:nth-child(3) { background-color: var(--amateur-color); }
.category-table th:nth-child(4) { background-color: var(--master-color); }
.category-table th .note {
  font-size: 0.7em;
  vertical-align: super;
}
.category-table td {
  font-weight: bold;
  text-align: center;
  padding: 8px 12px;
  border-bottom: 1px solid #eee;
}
.alph-age {
  color: var(--age-color);
  font-weight: bold;
  font-size: 1.1em;
}
.category-table td:nth-child(2) span {
  border-bottom: 4px solid var(--trial-color);
}
.category-table td:nth-child(3) span {
  border-bottom: 4px solid var(--amateur-color);
}
.category-table td:nth-child(4) span {
  border-bottom: 4px solid var(--master-color);
}
.table-note {
  margin-top: 3px;
  font-size: 0.85em;
  line-height: 1.4;
}
@media screen and (max-width: 768px) {
  .circle {
    font-size: 0.8em;
  }
  .circle-title {
    font-size: 15px;
  }
  .circle-row {
    flex-direction: row;
    gap: 14px;
  }
  .circle {
    width: 130px;
    height: 130px;
    padding: 10px;
  }
  .kakeru {
    font-size: 24px;
  }
}

/* top pecie */
#piece p {
  text-align: center;
  font-size: 1.2em;
  font-weight: 500;
  margin-top: 12px;
}
@media screen and (max-width: 768px) {
  #piece p {
    font-size: 1em;
  }
}

/* top price */
.price-table-wrap {
  overflow-x: auto;
}
.price-title {
  text-align: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 30px;
  color: var(--white);
  position: relative;
  padding-bottom: 15px;
}

.price-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 1px;
  background: var(--secondary-color);
}
table.price-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  background: #fff;
  color: var(--black);
}
.price-table td:last-child,
.price-table th:last-child {
  border-right: none;
}
.price-table td:first-child,
.price-table th:first-child {
  border-left: none !important;
}
table.price-table thead th {
  background: var(--primary-color);
  color: var(--white);
  text-align: center;
  font-weight: 700;
  vertical-align: middle;
  padding: 2px 12px;
  border: 0.5px solid #eee;
  border-top: none;
}
table.price-table td {
  padding: var(--cell-padding);
  border-top: 1px solid #eee;
  text-align: center;
  vertical-align: middle;
  font-size: 15px;
  padding: 4px 12px;
  font-weight: 600;
}
table.price-table tbody tr:nth-child(odd){
  background: #ffffff;
}
table.price-table tbody tr:nth-child(even){
  background: var(--secondary-color);
}
.price-table td span {
  font-size: 0.85em;
  color: #555;
  font-weight; 500;
}

/* top judge */
#judge {
  display: block;
  padding-bottom: 10px;
}
.judge-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 40px;
  gap: 60px;
}
.judge-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex-shrink: 0;
}
#judge h2 {
  margin-bottom: 5px;
}
#judge h2 img {
  height: auto;
}

.judge-link {
  display: flex;
  align-items: center;
  gap: 8px;
}
.judge-description {
  display: flex;
  align-items: center;
  text-align: left;
  flex: 1;
}
.judge-description p {
  font-size: 1em;
  line-height: 1.8;
  color: #fff;
  margin: 0;
  font-weight: 500;
}
.judge-container {
  display: flex;
  align-items: center;
  gap: 20px;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
}
.judge-arrow {
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 2;
  transition: opacity 0.3s;
  flex-shrink: 0;
}
.judge-arrow:hover {
  opacity: 0.7;
}
.judge-arrow:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}
.arrow-left {
  transform: rotate(180deg);
}
.judge-list-wrapper {
  overflow: hidden;
  width: 100%;
}
.judge-list {
  display: flex;
  gap: 10px;
  transition: transform 0.4s ease;
}
.judge-item {
  flex: 0 0 calc((100% - 40px) / 5);
  min-width: 0;
  position: relative;
  transition: transform 0.3s ease;
}
.judge-item:hover {
  transform: translateY(-4px);
}
.judge-photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  margin-bottom: 8px;
}
.judge-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.judge-photo-default {
  background: #666;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.8em;
}
.judge-name {
  display: block;
  font-size: 0.85em;
  font-weight: 700;
  color: #fff;
  text-align: left;
  text-decoration: none;
  margin: 0;
  padding: 0;
  line-height: 1.4;
  transition: opacity 0.3s;
}
.judge-name:hover {
  opacity: 0.7;
  text-decoration: none;
}
@media screen and (max-width: 768px) {
  #judge  {
    padding-bottom: 0;
    margin-bottom: 0;
  }
  .judge-top {
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
  }
  .judge-header {
    width: 100%;
  }
  .judge-link {
    margin-top: 5px;
  }
  .judge-description {
    width: 95%;
  }
  .judge-description p {
    font-size: 0.9em;
    line-height: 1.7;
    margin: auto;
  }
  .judge-container {
    width: 95%;
    margin: 0 auto;
    gap: 10px;
  }
  .judge-item {
    flex: 0 0 100%;
    max-width: 280px;
    margin: 0 auto;
  }
  .judge-photo {
    max-width: 280px;
  }
  .judge-name {
    font-size: 1em;
    bottom: 10px;
    left: 10px;
    padding: 8px 14px;
  }
}
@media screen and (min-width: 769px) and (max-width: 1024px) {
  .judge-top {
    gap: 30px;
  }
  .judge-description p {
    font-size: 0.95em;
  }
  .judge-item {
    flex: 0 0 calc((100% - 40px) / 3);
  }
}

/* top support other */
.white-section section {
  max-width: none;
  width: 100% ;
}
.support-other {
  display: flex;
  gap: 60px;
  justify-content: center;
  align-items: flex-start;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
}
.support, .other {
  padding: 30px;
  max-width: 600px;
  width: 100%;
}
.support-banners {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 20px;
}
.support-banners .item {
  display: flex;
  align-items: center;
  gap: 6px;
}
.support-banners > * {
  display: flex;
  align-items: center;
  width: 100%;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--primary-color);
}
.support-banners > *:first-child,
.support-banners > *:nth-child(2) {
  font-weight: 600;
  font-size: 0.8em;
  width: 100%;
}
.support-banners a {
  margin-left: auto;
  margin-right: auto;
}
.support-banners img {
  max-width: 200px;
  height: auto;
}
@media screen and (max-width: 768px) {
  .support-other {
    flex-direction: column;
    gap: 0;
  }
  #support-other > img {
    display: none;
  }
  .support, .other {
    margin: auto;
  }
}
.other-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 20px;
}
.other-links .item {
  display: flex;
  align-items: center;
  width: 100%;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--primary-color);
  text-decoration: none;
  color: inherit;
}
.other-links .item span {
  font-weight: 600;
  font-size: 0.8em;
}
.other-links .arrow-circle-blue {
  margin-left: auto;
}
.other-links .item:hover {
  color: var(--black);
}

/* footer */
#footer {
  padding: 5px 10px;
}
#footer a {
  color: #fff;
}
.footer {
  margin: 0;
  padding: 0;
}
#navi-footer ul li,
#navi-footer ul li a {
  background: none !important;
}
#navi-footer ul li:hover,
#navi-footer ul li a:hover {
  background: none !important;
}
#navi-footer ul li a:hover {
  color: var(--accent-color);
}
.navi-footer-in > .menu-footer li {
    width: 100px;
    border: none;
}
.navi-footer-in > .menu-footer li:last-child {
    border: none;
} 
.footer-top {
  display: flex;
  padding: 10px 0 0 10px;
}
.footer-bottom {
  margin-top: 0;
}
.footer-logo .footer_onkyo_logo {
  height: auto;
  max-width: 200px;
}
.footer-social {
    margin-top: 5px;
    margin-left: 20px;
}
.footer-social a {
  color: #fff;
  transition: opacity 0.3s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.footer-social a {
  width: 35px;
  height: 35px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}
.footer-social a:hover {
  opacity: 0.8;
}
.footer-social svg {
  fill: #113d6b;
  width: 22px;
  height: 22px;
}

/* ========================================
   スマホ対応
======================================== */
@media screen and (max-width: 768px) {
  .wrapper {
    flex-direction: column;
  }

  .otn-sidebar {
    position: fixed;
    left: -100%;
    width: 100%;
    top: 0;
    bottom: 0;
    transition: left 0.3s ease;
    z-index: 1000;
  }

  .otn-sidebar.active {
    left: 0;
  }

  .hamburger {
    position: relative;
    width: 40px;
    height: 40px;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s, transform 0.3s;
    z-index: 1000;
    background-image: url(img/sp_menu.png);
    background-size: 100%;
    background-repeat: no-repeat;
    background-position: center;
  }
  .hamburger.active {
    background-image: url(img/close.png);
  }

  .header-inner {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .otn-main {
    margin-left: 0;
  }
  .main-content .container {
    padding: 8px;
  }
  .container {
    margin-left: 0;
    margin: auto;
  }
  .footer-logo .footer_onkyo_logo {
    max-width: 120px;
  }
  .footer-social a {
    width: 25px;
    height: 25px;
  }
  .footer-social svg {
    width: 18px;
    height: 18px;
  }
  .footer-social {
    margin-top: 0;
  }
}
