﻿@charset "UTF-8";

/* ========== MENU ========== */

.boxMenu {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  gap: 16px 24px;
  grid-template-areas:
    "ttl ttl"
    "icon desc";
  padding: 26px 20px;
  align-items: center;
  color: var(--clr-textlink);
  border: 1px solid #DFE6E9;

  img {
    grid-area: icon;
    aspect-ratio: 1;
    width: 80px;
    height: auto;
    margin-left: 8px;
  }

  @media screen and (max-width:750px) {
    gap: 10px 22px;
    grid-template-areas:
    "icon ttl"
    "icon desc";
    padding: 24px 20px;
  }

  @media screen and (hover: hover) {
    &:hover {
      color: #b33f3f;
    }
}
}

.boxMenu_ttl {
  grid-area: ttl;
  font-weight: bold;
  font-size: 1.6rem;
  text-align: center;
  text-decoration: underline;
  text-underline-offset: 0.1em;
  text-decoration-thickness: 1px;

  @media screen and (max-width:750px) {
    text-align: start;
  }

  &::before {
    content: "";
    display: inline-block;
    width: 7px;
    aspect-ratio: 1;
    margin-right: 0.6em;
    background: currentColor;
    clip-path: polygon(0 0, 0% 100%, 100% 50%);
    vertical-align: 0.2em;
  }
}

.boxMenu_desc {
  grid-area: desc;
  color: #7C8292;
  font-size: 1.2rem;
  line-height: 1.5;
}

.boxMenuGroup {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.7rem;

  li {
    list-style: none;
  }

  @media screen and (max-width:750px) {
    gap: 2rem;
  }
}

.boxMenuGroup2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;

  li {
    list-style: none;
  }

  @media screen and (min-width:751px) {
    .boxMenu {
      display: flex;
      flex-direction: column;

      img {
        width: 120px;
        margin-inline: auto;
      }
    }
  }

  @media screen and (max-width:750px) {
    display: flex;
    flex-direction: column;
  }
}

/* ========== OTHER ========== */

.wrapFacility {
  @media screen and (max-width:750px) {
    padding: 0 var(--space-spSide) var(--space-spVertical);
    background: linear-gradient(0deg, #F7F9FA 0%, #fff 100%);
  }
}

/* ========== バナー ========== */

.kvBnr {
  display: grid;
  place-items: center;

  &:hover {
    opacity: 0.8;
  }
}

.portmesseBnr {
  display: grid;
  place-items: center;

  &:hover {
    opacity: 0.8;
  }
}

.importantBnr {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  width: 100%;
  min-height: 100px;
  padding: 1rem;
  color: #fff;
  text-align: start;
  background: #CE2A2A;

  &:hover {
    opacity: 0.9;
  }

  @media screen and (max-width:750px) {
    flex-direction: column;
    align-items: start;
    gap: 1rem;
    padding: 1.8rem 1.6rem;
    text-align: start;
  }
}

.importantBnr_icon {
  flex: none;
  display: flex;
  align-items: center;
  gap: 0.5em;
  padding: 0.3em 0.9em;
  color: #CE2A2A;
  font-size: 1.4rem;
  font-weight: bold;
  line-height: 1;
  letter-spacing: 0.2em;
  text-align: center;
  background: #fff;
  border-radius: 99em;

  &::before {
    box-sizing: border-box;
    content: "!";
    display: grid;
    place-items: center;
    width: 1.5rem;
    height: 1.5rem;
    padding-bottom: 0.1rem;
    color: #fff;
    font-size: 1.1rem;
    letter-spacing: 0;
    line-height: 1;
    background: #CE2A2A;
    border-radius: 50%;
  }

}

.importantBnr_ttl {
  font-size: 2rem;
  font-weight: bold;
  line-height: 150%;

  @media screen and (max-width:750px) {
    font-size: 1.7rem;
  }
}


/* ========== 施設案内 （主催者向け情報）ページ用 ========== */

.page-facility {
  padding-bottom: 100px;

  @media screen and (max-width:750px) {
    padding-bottom: 50px;
    /* padding-inline: var(--space-spSide); */
  }

  :where(.wrapFacility) {
    margin-top: 30px;
  }

  :where(.boxMenuGroup2) {
    margin-top: 40px;
    @media screen and (max-width:750px) {
      margin-top: var(--space-spVertical);
      padding-inline: var(--space-spSide);
    }
  }

  :where(.wrapBnr-important) {
    @media screen and (max-width:750px) {
      padding-inline: var(--space-spSide);
    }
  }

  :where(.wrapBnr-portmesse) {
    margin-top: 60px;
    @media screen and (max-width:750px) {
      margin-top: var(--space-spVertical);
      padding-inline: var(--space-spSide);
    }
  }
}

.facilityBnr .wrapBnr {
  width: min(100%, var(--contentWidth));
  margin: 0 auto 30px;
  @media screen and (max-width:750px) {
    margin-bottom: 0;
    padding-inline: var(--space-spSide);
  }
}

/* ========== お知らせページ用 ========== */

.page-archive {
  @media screen and (max-width:750px) {
    padding: 0 var(--space-spSide) var(--space-spSide);
  }
}