@charset "utf-8";
/* =====================
   基本・リセット
===================== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}
body {
  font-family: "Noto Sans JP", sans-serif;
  color: #434343;
  line-height: 1.6;
  background:
    linear-gradient(rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.1)), url("../img/inaho.png"), url("../img/wasi.png");
  background-color: #ccccbe;
  background-size:
    auto, 480px, 480px;
  background-position:
    center, right 10px bottom -10px, center;
  background-repeat:
    no-repeat, no-repeat, repeat;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
ul {
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
  text-underline-offset: 4px;
}
p {
  line-height: 1.6;
  margin-top: 0.7rem;
}
/* =====================
   共通
===================== */
.container {
  max-width: 1000px;
  margin: 12px auto;
  padding: 0 24px;
}
.main-inner {
  width: 100%;
  margin: 0 auto;
  padding: 24px 8px;
}
.br_span {
  display: inline-block;
}
.attention {
  font-size: 1.1rem;
  color: red;
  font-weight: 600;
}
.notes {
  padding: 0.3rem 0.3rem 0.3rem 1rem;
  font-size: 0.9rem;
  font-style: italic;
}
/* =====================
   見出し
===================== */
h1 {
  font-family: "Noto Serif JP", serif;
  font-size: 24px;
  font-weight: 700;
}
h2 {
  font-family: "Noto Serif JP", serif;
  font-size: 23px;
  font-weight: bold;
  margin-bottom: 3px;
}
h3 {
  display: flex;
  align-items: center;
  margin-bottom: 8px;
  font-family: "Noto Serif JP", serif;
  font-size: 20px;
  font-weight: bold;
}
h3::before, h3::after {
  content: "";
  flex-grow: 1;
  height: 2px;
  background: #f08400;
}
h3::before {
  margin-right: 16px;
}
h3::after {
  margin-left: 16px;
}
/* =====================
   top以外の共通header
===================== */
.header-container {
  min-height: 100px;
  margin-bottom: 40px;
  background-color: #fff;
  text-align: center;
}
.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 16px;
}
.header-text {
  padding-top: 16px;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 24px;
  font-weight: 700;
}
/* =====================
   top28 レイアウト
===================== */
.layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  grid-template-rows: auto auto 1fr;
  grid-template-areas:
    "sidebar top"
    "sidebar info"
    "sidebar main";
  min-height: 100vh;
}
.sidebar {
  grid-area: sidebar;
}
.top {
  grid-area: top;
}
.info {
  grid-area: info;
}
.main {
  grid-area: main;
}
/* =====================
   top28 サイドバー
===================== */
.sidebar {
  min-height: 100vh;
  padding-top: 130px;
  background: #fff;
}
.side-menu li {
  border-bottom: 1px dashed #ded5ca;
}
.side-menu a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
  text-decoration: none;
  transition: background 0.3s;
}
.side-menu a:hover {
  background: #f08400;
  color: #fff;
}
/* サブメニュー */
.sub-menu {
  max-height: 0;
  overflow: hidden;
  background: #434343;
  color: #fff;
  opacity: 0;
  transform: translateY(-10px);
  transition:
    max-height 1s ease, opacity 0.6s ease, transform 0.6s ease;
}
.sub-menu li a {
  padding: 12px 16px 12px 32px;
}
.sub-menu li:hover {
  background: #f08400;
  color: #fff;
}
.sub-menu > li {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}
/* JS開閉 */
.has-sub.open .sub-menu {
  max-height: 300px;
  opacity: 1;
  transform: translateY(0);
}
/* =====================
   top28 タイトル
===================== */
.top {
  max-width: 1250px;
  margin: 0 auto;
  padding: 40px 24px 24px;
}
/* タイトル */
.title-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}
.logo {
  width: 100px;
  height: auto;
}
.catch {
  margin-top: 6px;
  font-family: "Noto Serif JP", serif;
  font-size: 20px;
  font-weight: 600;
  text-align: center;
}
/* =====================
   hero YouTube
===================== */
.hero-video {
  width: 100%;
  margin-top: 32px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #000;
}
.hero-video iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}
/* =====================
   日時・会場
===================== */
.info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.info-inner {
  padding: 16px 24px;
  background-color: #fff;
  box-shadow: 0 0 16px -5px #a1a1a1;
}
.inner-list {
  position: relative;
  z-index: 10;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 24px;
}
.inner-list li {
  position: relative;
  z-index: 10;
}
.inner-list li a {
  position: relative;
  z-index: 10;
  display: block;
}
.info-inner li {
  width: 280px;
  padding: 8px 16px;
  background-color: #434343;
  color: #fff;
  text-align: center;
}
.info-inner li:hover {
  background-color: #f08400;
  color: #fff;
}
.info-inner > small {
  font-size: 13px;
}
.date {
  margin-top: 11px;
  font-size: 18px;
  line-height: 1.3;
}
/* =====================
   新着情報
===================== */
.scroll-container {
  height: 100px;
  margin: 0 1.5rem;
  padding: 0.8rem 1rem 1rem;
  overflow-y: scroll;
  border: 2px solid #424242;
  background-color: #fff;
}
.scroll-item {
  display: flex;
  gap: 15px;
  padding: 10px 0;
  border-bottom: 2px dotted #a9a9a9;
}
.scroll-item:first-child {
  padding-top: 0;
}
.news-date {
  width: 88px;
  color: #687a5e;
  font-size: 15px;
  font-weight: bold;
}
.news-text {
  flex: 1;
  font-size: 15px;
  line-height: 1.1;
}
/* スクロールバー */
.scroll-container::-webkit-scrollbar {
  width: 10px;
}
.scroll-container::-webkit-scrollbar-track {
  background: #a9a9a9;
}
.scroll-container::-webkit-scrollbar-thumb {
  background: #424242;
  border-radius: 999px;
}
/* =====================
   ボタン
===================== */
.button-area {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.button {
  flex: 1 1 220px;
  padding: 10px 24px;
  background-color: #434343;
  color: #fff;
  font-size: 15px;
  text-align: center;
}
.button:hover {
  background-color: #f08400;
}
/* =====================
   協賛・主催・後援
===================== */
.main-inner > .info-inner {
  margin-bottom: 16px;
  text-align: center;
}
.caption {
  font-size: 15px;
  background-color: #e5e5e5;
}
/* =====================
   特別協賛企業
===================== */
.sponsor-list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  margin-top: 20px;
}
.sponsor-list a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 180px;
  height: 100px;
}
.sponsor-list img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
}
.sponsor-list img[alt="静岡製機株式会社"] {
  max-width: 120%;
  max-height: 120%;
}
/* =====================
   フッター
===================== */
.footer-container::before {
  content: "";
  display: block;
  height: 1px;
  background: #424242;
}
.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 800px;
  margin: 0 auto;
  font-family: "Noto Serif JP", serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
}
.footer-section {
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  flex: 1;
  margin: 1.6rem 0;
  font-size: 16px;
  text-align: center;
}
.footer-section > a:hover, .footer-bottom > a:hover {
  opacity: 0.7;
}
.footer-section > img {
  max-width: 75px;
  height: auto;
}
.footer-bottom {
  padding: 8px 0 24px;
  color: #434343;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 20px;
  font-weight: 500;
  text-align: center;
}
/* =====================
   スマホ
===================== */
@media (max-width: 800px) {
  /* レイアウト */
  .layout {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto 1fr;
    grid-template-areas:
      "top"
      "info"
      "sidebar"
      "main";
  }
  /* タイトル */
  .top {
    padding: 24px;
  }
  .logo {
    width: 70px;
  }
  .catch {
    font-size: 16px;
  }
  .hero-video {
    margin-top: 24px;
  }
  /* 日時・会場 */
  .info {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  /* サイドバー */
  .sidebar {
    display: flex;
    justify-content: center;
    min-height: auto;
    padding-top: 0;
    background: transparent;
  }
  .side-menu {
    width: 90%;
    max-width: 360px;
    overflow: hidden;
    background: #fff;
  }
  .side-menu li {
    border-bottom: 1px solid rgba(0, 0, 0, 0.15);
  }
  .side-menu a {
    display: flex;
    width: 100%;
    min-height: 48px;
    padding: 12px 20px;
    font-size: 18px;
    align-items: center;
    justify-content: flex-start;
    text-align: left;
  }
  /* サブメニューがある項目だけ、文字と矢印を左右に分ける */
  .has-sub > a {
    justify-content: space-between;
  }
  .sub-menu li a {
    padding: 10px 14px 10px 24px;
    font-size: 18px;
  }
  /* 特別協賛企業 */
  .sponsor-list {
    flex-direction: column;
    /*gap: 18px;*/
  }
  .sponsor-list a {
    width: 200px;
    height: 100px;
  }
  /* フッター */
  .footer-top {
    flex-direction: column;
    align-items: center;
  }
}
/* =====================
   小さい画面
===================== */
@media (max-width: 400px) {
  h1 {
    font-size: 20px;
  }
  .header-text {
    font-size: 18px;
  }
}
/* =====================
   320px以下
   極小画面でのはみ出し対策
===================== */
@media (max-width: 320px) {
  /* ---------------------
     全体の幅を安定させる
  --------------------- */
  .layout, .top, .info, .main, .container, .main-inner {
    min-width: 0;
    max-width: 100%;
  }
  /* ---------------------
     タイトル
  --------------------- */
  .title-wrap {
    min-width: 0;
    width: 100%;
    gap: 10px;
  }
  .title-text {
    min-width: 0;
    flex: 1 1 auto;
  }
  .logo {
    flex: 0 0 60px;
    width: 60px;
  }
  h1 {
    min-width: 0;
    font-size: 20px;
    overflow-wrap: break-word;
  }
  .catch {
    min-width: 0;
    font-size: 15px;
  }
  /* ---------------------
     会場・開催情報
  --------------------- */
  .info-inner {
    min-width: 0;
    width: 100%;
    max-width: 100%;
  }
  .info-inner p {
    min-width: 0;
    overflow-wrap: break-word;
  }
  /* ---------------------
     h3
     左右の線が押し出されないようにする
  --------------------- */
  h3 {
    min-width: 0;
    width: 100%;
    font-size: 18px;
  }
  h3::before, h3::after {
    flex: 1 1 0;
    min-width: 0;
  }
  h3::before {
    margin-right: 8px;
  }
  h3::after {
    margin-left: 8px;
  }
  /* ---------------------
     新着情報
  --------------------- */
  .scroll-container {
    width: 100%;
    min-width: 0;
    margin-left: 0;
    margin-right: 0;
    padding-left: 10px;
    padding-right: 10px;
  }
  .scroll-item {
    min-width: 0;
    gap: 8px;
  }
  .news-date {
    width: auto;
    flex: 0 0 auto;
    white-space: nowrap;
  }
  .news-text {
    min-width: 0;
    overflow-wrap: anywhere;
  }
  /* ---------------------
     ボタン
  --------------------- */
  .button-area {
    min-width: 0;
    width: 100%;
  }
  .button {
    flex: 1 1 100%;
    min-width: 0;
  }
  /* ---------------------
     特別協賛企業
  --------------------- */
  .sponsor-list {
    min-width: 0;
    width: 100%;
  }
  .sponsor-list a {
    width: 180px;
    max-width: 100%;
  }
  /* ---------------------
     フッター
  --------------------- */
  .footer-container, .footer-top, .footer-section, .footer-bottom {
    min-width: 0;
    max-width: 100%;
  }
  .footer-section a {
    overflow-wrap: anywhere;
  }
}