@charset "UTF-8";

/* 一橋祭とは (ikkyosai.php) 専用。community.css と一緒に読む。 */

/* --- 旧 common_general.css より（ikkyosai.php だけが使う） --- */

.event-confirmed-PV {
  width: 100%;
  aspect-ratio: 16/9;
}

iframe.youtube-embed {
  width: 100%;
  height: 100%;
}

.about_picture {
  display: flex;
  flex-direction: column;
  align-items: end;
  text-align: center;
}


/* --- 旧 page-guide.css より ---
   裸の img はヘッダー・フッターのアイコン画像にも効いている（意図どおり。見た目を保つため裸のまま）。 */

img {
  pointer-events: none;
  width: 100%;
}

main li {
  list-style: none;
}

/* ページ見出し画像（.pageTitle h1 は common_general.css） */

.pageTitle {
  position: relative;
  text-align: center;
}

.pageTitle img {
  width: 100%;
  height: 100px;
  object-fit: cover;
}

.li-round {
  color: var(--themeocean);
  margin-right: 5px;
}

/* ページ内リンク（目次） */

.mokuji {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  column-gap: 3%;
  row-gap: 1em;
}

.mokuji a:hover {
  background-color: var(--themeocean);
}

.mokuji a:hover p {
  color: #fff;
}

.mokuji a {
  position: relative;
  padding: 0.7em 2em 0.7em 0.5em;
  width: calc(97% / 2);
  display: inline-block;
  border-bottom: 1px solid var(--themeocean);
  transition: 0.2s;
}

.mokuji a p {
  line-height: 1.5;
}

.mokuji a span {
  display: inline-block;
  position: absolute;
  vertical-align: middle;
  line-height: 1;
  width: 0.7em;
  height: 0.7em;
  border: 0.1em solid var(--themeocean);
  border-left: 0;
  border-bottom: 0;
  box-sizing: border-box;
  transform: translateY(-50%) rotate(135deg);
  right: 1em;
  top: 45%;
  transition: 0.2s;
}

.mokuji a:hover span {
  border: 0.1em solid #fff;
  border-left: 0;
  border-bottom: 0;
  transition: 0.2s;
}

@media screen and (min-width: 768px) {
  .mokuji a {
    width: calc(94% / 3);
  }
}

/* PC 版 */

@media screen and (min-width: 1024px) {
  .pageTitle img {
    height: 174px;
  }

  .forpc {
    display: flex;
    width: 100%;
    gap: 5%;
  }

  .komidashi {
    font-size: 16px;
  }
}
