* {
  color: #323c44;
  font-weight: normal;
  margin: 0;
  padding: 0;
  text-decoration: none;
  /* list-style: none; */
  box-sizing: border-box;
  font-family: "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic", sans-serif;
}

a {
  color: #323c44;
}
p {
  letter-spacing: 0.05em;
}
p a {
  text-decoration: underline;
  color: blue;
}

.menu-link-wrapper {
  margin: 40px auto;
  text-align: center;
  padding: 1rem;
  background-color: #e6f2fb; /* より明るく透明感のある水色背景 */
  border-top: 3px solid #88b2d1;
  border-bottom: 3px solid #88b2d1;
}

.menu-link {
  display: inline-block;
  background-color: #2196f2; /* 明るい爽やかな青 */
  color: #ffffff;
  font-size: 22px; /* 大きめの文字 */
  font-weight: bold;
  padding: 18px 36px; /* パディング増加で存在感UP */
  border-radius: 14px;
  text-decoration: none;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15); /* 影を強めに */
  transition:
    background-color 0.3s ease,
    transform 0.2s ease;
}

.menu-link-text {
  font-family: "Noto Sans JP", sans-serif;
  color: #ffffff;
}

.menu-link:hover,
.menu-link:focus {
  background-color: #64b5f6; /* ホバー時の色を明るく */
  transform: scale(1.04); /* ほんの少し拡大して注目度UP */
  outline: none;
}

.menu-link:focus {
  box-shadow: 0 0 0 4px rgba(100, 181, 246, 0.6);
}

.title {
  height: 100vh;
  width: 100%;
  /* display: flex; */
  /* justify-content: center; */
  /* align-items: center; */
}

.title_text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.title_text p {
  font-size: 24px;
  margin-left: 0;
  margin-top: 12px;
  padding-bottom: 0;
  text-align: center;
}
h1 {
  font-family:
    游明朝体, YuMincho, "Yu Mincho", "YuMincho Medium", "Yu Mincho Medium",
    serif;
  font-size: 96px;
}

/* ─── CSS Marquee（Slick 置き換え） ─────────────── */
.marquee-wrap {
  overflow: hidden;
  width: 100%;
}

.marquee-track {
  display: flex;
  width: max-content;
  will-change: transform;
  animation: marquee-scroll linear infinite;
}

.marquee-rtl .marquee-track {
  animation-direction: reverse;
}

@keyframes marquee-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track {
    animation-play-state: paused;
  }
}

.marquee-item {
  flex: 0 0 20vw;
  width: 20vw;
  margin-top: 6px;
  margin-bottom: 6px;
}

.marquee-frame {
  margin-left: 25px;
  margin-right: 25px;
}

.marquee-item img {
  height: 17vh;
  width: 100%;
  display: block;
  object-fit: cover;
}

.caption {
  font-size: 1em;
  text-align: center;
  color: #555;
  margin-top: 0.5em;
}

.naiyou:not(.center-venue) > p {
  font-size: 18px;
  line-height: 30px;
  width: min(800px, 92%);
  margin: 0 auto;
}

.naiyou:not(.center-venue) > p + p {
  margin-top: 1em;
}

.kikakuSection {
  width: 100%;
  /* display: inline-block; */
  /* padding-top: 200px; */
  /* padding-bottom: 100px; */
}

.title2 {
  display: flex;
  align-items: center;
  justify-content: start;

  width: 1120px;
  margin: 0 auto;

  padding-top: 150px;
}
.title_2 {
  background-image: url(../images/title1.png);
  width: 160px;
  height: 96px;
}

h3 {
  letter-spacing: 0.1em;
  font-size: 32px;
  font-weight: normal;
}

.naiyou > h2,
.kikakuSection > h2,
.center-venue > h2 {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
  width: min(100%, 1120px);
  margin: 0 auto;
  padding-top: 150px;
  color: #323c44;
  font-size: 32px;
  font-weight: normal;
  letter-spacing: 0.1em;
  border: none;
  text-align: left;
}

.naiyou > h2::before,
.kikakuSection > h2::before,
.center-venue > h2::before {
  content: "";
  flex: 0 0 160px;
  width: 160px;
  height: 96px;
  background-image: url(../images/title1.png);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.buttons {
  display: flex;
  width: 100%;
}
.buttons_top {
  margin-top: 50px;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
}
.buttons_bottom {
  justify-content: center;
  margin-top: 70px;
}
.kikaku_four {
  font-size: 24px;
  width: 200px;
  height: 200px;
  border: solid 6px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.center-venue {
  max-width: 900px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
  text-align: center;
}

.center-venue > p:not(.nokikaku) {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.venue-group {
  margin-bottom: 2em;
}

.venue-group h4 {
  font-size: 1.2em;
  font-weight: bold;
  margin-bottom: 0.8em;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #2c3e50;
}

.venue-group h4 span {
  font-size: 1.4em;
  margin-right: 0.5em;
}

.venue-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7em;
  justify-items: center;
}

.venue-card {
  background: #f7f9fc;
  border-left: 4px solid #3498db;
  padding: 0;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  font-size: 1em;
  color: #333;
  text-align: left;
  width: 100%;
  max-width: 350px;
  overflow: hidden;
}

.venue-card .room-name {
  background: #3498db;
  color: white;
  padding: 0.8em 1em;
  font-weight: bold;
  font-size: 1.05em;
  letter-spacing: 0.05em;
}

.venue-card .booth-name {
  padding: 0.8em 1em;
  line-height: 1.6;
}

/* モバイル対応 */
@media screen and (max-width: 768px) {
  .center-venue {
    padding-left: 16px;
    padding-right: 16px;
  }

  .venue-grid {
    grid-template-columns: 1fr;
  }

  .venue-card {
    font-size: 0.95em;
    padding: 0.7em 0.9em;
    max-width: 100%;
  }

  .venue-group h4 {
    font-size: 1.1em;
  }

  .naiyou > h2,
  .kikakuSection > h2,
  .center-venue > h2 {
    width: 92%;
    font-size: 26px;
    gap: 12px;
    padding-top: 90px;
  }

  .naiyou > h2::before,
  .kikakuSection > h2::before,
  .center-venue > h2::before {
    flex-basis: 96px;
    width: 96px;
    height: 58px;
  }
}

.labo {
  border-color: #7fff7f;
  color: #323c44;
  background-color: #fff;
  transition: 0.4s;
}
.labo:hover {
  color: #fff;
  background-color: #7fff7f;
  transition: 0.4s;
}
.com {
  border-color: #ffbf7f;
  color: #323c44;
  background-color: #fff;
  transition: 0.4s;
}
.com:hover {
  color: #fff;
  background-color: #ffbf7f;
  transition: 0.4s;
}
.exp {
  border-color: #7fbfff;
  color: #323c44;
  background-color: #fff;
  transition: 0.4s;
}
.exp:hover {
  color: #fff;
  background-color: #7fbfff;
  transition: 0.4s;
}
.lec {
  border-color: #ff7f7f;
  color: #323c44;
  background-color: #fff;
  transition: 0.4s;
}
.lec:hover {
  color: #fff;
  background-color: #ff7f7f;
  transition: 0.4s;
}
.stu {
  border-color: #bf7fff;
  color: #323c44;
  background-color: #fff;
  transition: 0.4s;
}
.stu:hover {
  color: #fff;
  background-color: #bf7fff;
  transition: 0.4s;
}

.naiyou img {
  padding-top: 50px;
  margin: 0 auto;
  display: flex;
  max-width: 100%;
  height: auto;
}

/* 本文画像の下マージンを消してキャプションと密着させる */
.noncaption {
  margin-bottom: 0 !important;
}

/* キャンパスマップ等のフロア画像 */
.floorImg {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 24px auto 0;
}

/* 要素が1件のみの venue-grid（中央揃え) */
.venue-grid.center {
  display: flex;
  justify-content: center;
}
/* footer */
footer {
  margin-top: 100px;
  background-color: #4a69a4;
  height: 500px;
  padding-top: 100px;
  width: 100%;
  position: relative;
}

.whole_footer {
  display: flex;
  justify-content: space-between;
}
footer a {
  color: #fff;
  font-size: 14px;
}
.prime {
  font-size: 20px;
}
footer ul {
  list-style: none;
  margin-top: 10px;
  margin-left: 20px;
}

footer p {
  color: #fff;
  text-align: center;
  position: absolute;
  bottom: 0;
  width: 100%;
  margin-bottom: 10px;
}
.logos {
  margin-left: 80px;
}
.logo {
  display: inline-block;
  background-image: url(../images/soraichi.jpg);
  height: 140px;

  width: 150px;
  background-size: cover;
  background-position: center;
}
.texts {
  display: flex;
}
.kikaku {
  width: 180px;
}

.sns {
  display: flex;
  justify-content: space-around;
  margin-top: 50px;
}
.insta {
  background-image: url(../images/insta.png);
  width: 60px;
  height: 60px;
  background-size: contain;
}
.twitter {
  background-image: url(../images/twitter.png);
  width: 60px;
  height: 60px;
  background-size: contain;
}

.texts a {
  position: relative;
  display: inline-block;
  text-decoration: none;
}
.texts a::after {
  position: absolute;
  bottom: -4px;
  left: 0;
  content: "";
  width: 100%;
  height: 1px;
  background: #fff;
  transform: scale(0, 1);
  transform-origin: center top;
  transition: transform 0.3s;
}
.texts a:hover::after {
  transform: scale(1, 1);
}

.nokikaku {
  font-size: 18px;
  width: 800px;
  margin: 0 auto;
  margin-top: 50px;
}

@media screen and (max-width: 480px) {
  footer {
    height: auto;
    min-height: 0;
    padding: 32px 16px 24px;
    overflow: hidden;
  }

  .whole_footer {
    display: block;
  }

  .logos {
    margin-left: 0;
    padding: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
  }

  #footer .logo {
    width: 120px !important;
    height: 48px !important;
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
  }

  #footer .logo img {
    width: 100%;
    height: 100%;
    transform: scale(1.25) !important;
    object-fit: contain;
  }

  .sns {
    margin-top: 0;
    gap: 12px;
    flex-shrink: 0;
  }

  .texts {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    width: 100%;
    padding: 0;
    margin-top: 0;
  }

  .kikaku {
    width: 100%;
    min-width: 0;
  }

  .prime {
    display: inline-block;
    margin-bottom: 6px;
  }

  footer ul {
    margin-top: 8px;
    margin-left: 0;
    padding-left: 16px;
  }

  .texts a,
  footer a {
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  footer p {
    width: 100%;
    position: static;
    margin-top: 16px;
    margin-bottom: 0;
    padding-bottom: 0;
    text-align: center;
  }

  .menu-link-wrapper,
  .naiyou,
  .kikakuSection,
  .center-venue {
    padding-left: 16px;
    padding-right: 16px;
  }

  .menu-link-wrapper {
    margin-left: 16px;
    margin-right: 16px;
    border-radius: 12px;
  }

  .nokikaku {
    font-size: 16px;
    width: 100%;
    max-width: 100%;
    margin-top: 20px;
  }

  h1 {
    font-size: 48px;
  }

  h2,
  h3,
  h4 {
    font-size: 18px;
  }
  h2 {
    width: 90vw;
    margin: 0 auto;
  }

  .menu-link {
    font-size: 17px;
    padding: 12px 20px;
    width: 100%;
    max-width: 100%;
  }

  .title1,
  .title2 {
    width: 100%;
    max-width: 100%;
  }

  .title3 {
    width: 100%;
    max-width: 100%;
  }

  .title_1 {
    width: 80px;
    height: 48px;
    background-size: contain;
  }

  .title_2 {
    width: 56px;
    height: 35px;
    background-size: contain;
  }
  .title_3 {
    width: 14px;
    height: 16px;
  }

  .center-venue > p:not(.nokikaku),
  .caption {
    font-size: 16px;
    line-height: 25px;
    width: 100%;
    max-width: 100%;
  }

  .title_text {
    width: 100%;
    display: flex;
    flex-direction: column;
    margin: 0 auto;
    margin-top: 20px;
    padding-left: 16px;
    padding-right: 16px;
    justify-content: center;
    align-items: center;
  }

  .title_text p {
    font-size: 16px;
    margin-left: 0;
    margin-top: 8px;
    padding-bottom: 0;
    text-align: center;
  }

  .naiyou img {
    width: 100%;
    max-width: 100%;
  }
  iframe {
    width: 280px;
    height: 158px;
  }

  ol {
    width: 100%;
    max-width: 100%;
  }

  .kikaku {
    flex-wrap: wrap;
  }

  .kikaku_four {
    font-size: 16px;
    width: 110px;
    height: 110px;
    border-width: 4px;
  }

  .marquee-item {
    flex: 0 0 33.33vw;
    width: 33.33vw;
    margin-top: 4px;
    margin-bottom: 4px;
  }

  .marquee-frame {
    margin-left: 5px;
    margin-right: 5px;
  }

  .marquee-item img {
    height: 20vh;
  }

  .slick2,
  .slick4 {
    margin-top: 10px;
  }
  .slick3 {
    margin-top: 20px;
  }

  /* header */
  .venue-list {
    font-size: 15px;
  }
  .buttons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    justify-items: center;
    gap: 20px;
    width: 100%;
    padding: 0;
  }

  .buttons_top {
    margin-top: 30px;
  }

  .buttons_bottom {
    margin-top: 50px;
  }

  .venue-grid {
    gap: 12px;
  }

  .venue-card {
    width: 100%;
    max-width: 100%;
  }
}

.visually-hidden {
  position: absolute;
  left: -9999px;
}
