* {
  line-height: 1.3;
}
.prism * {
  line-height: inherit;
}

:root {
  --base-color: #951e21;
  --em-color: #951e21;
}

.container {
  font-family: Arial, "A-OTF-ShinGoPro", Helvetica, sans-serif;
  margin-top: 60px;
  min-height: calc(100vh - 60px);
}

hr.redl {
  height: 30px;
  width: 100%;
  background-color: var(--base-color);
  border: none;
}
.gh {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 40px;
  width: 100vw;
  background-color: #951e21;
  color: #fff;
  z-index: 10000;
}
.gh .ghc {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.gh .air img {
  height: 40px;
  width: auto;
}

.gh .links {
  display: flex;
  align-items: center;
}
.gh .links .link {
  display: block;
  margin: 0 16px;
}

.gh .hm {
  display: none;
}

.gh .hm .bar {
  display: block;
  height: 5px;
  width: 30px;
  background-color: rgb(149, 30, 33);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.gh .hm .bar.t {
  top: 30%;
}

.gh .hm .bar.m {
  top: 50%;
}

.gh .hm .bar.b {
  top: 70%;
}

@media (max-width: 600px) {
  .gh .hm {
    display: block;
    position: fixed;
    background-color: #fff;
    top: 0;
    right: 0;
    width: 40px;
    height: 40px;
  }
  .gh .links {
    position: fixed;
    flex-direction: column;
    top: 40px;
    right: 0;
    height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.2s ease-in;
  }
  .gh .links .link {
    margin: 0;
    border-top: 1px solid #fff;
    background-color: #951e21;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100vw;
    height: 50px;
  }
  .gh .links.open {
    height: calc(50px * 5);
    opacity: 1;
  }
  .gh .ghr {
    width: 40px;
  }
}

.pankuzu {
  background-color: orange;
  color: #fff;
  height: 20px;
}
.pankuzuc {
  display: flex;
  max-width: 1000px;
  margin: auto;
  overflow: auto;
  font-size: 0.8em;
  height: 100%;
}
.pankuzu a {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border-right: 1px solid #fff;
  white-space: nowrap;
}

main {
  /* padding: 0 8px; */
}

.cw {
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

/* 共通部品 */

.sec {
  border: 1px solid var(--base-color);
}
.sec .sech {
  background-color: var(--base-color);
  color: #fff;
  padding-left: 32px;
  font-size: 1.4em;
  font-weight: bold;
}

.btn {
  display: inline-block;
  padding: 8px 24px;
  background-color: var(--base-color);
  color: #fff;
  border-radius: 4px;
  font-size: 1.2em;
  font-weight: bold;
}

/* AIR Contents リンクバナー */
.aconts {
  display: flex;
  position: relative;
  justify-content: center;
}

.aconts > div {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 50%;
  position: relative;
}

.aconts .acont {
  display: block;
  margin: 8px;
  position: relative;
  border-radius: 16px;
  overflow: hidden;
}

.aconts .acont .cap {
  position: absolute;
  display: flex;
  flex-direction: column;
  justify-content: center;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  font-size: calc(10px + 0.5vw);
  color: rgba(255, 255, 255, 0.9);
  padding: 8px;
}

.aconts .acont .cap .desc {
  line-height: 1;
}

.aconts .acont .cap .main {
  font-size: 3em;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  stroke: #555;
  white-space: nowrap;
  font-family: "Playfair Display", serif;
  line-height: 1;
}

.aconts .acontspacer {
  text-align: center;
  background-color: #99a;
  stroke: #fff 2px;
  color: #fff;
  margin: 8px;
}

@media (max-width: 750px) {
  .aconts {
    flex-direction: column;
  }
  .aconts > div {
    width: 100%;
  }
}

/* サイト説明文 */
.sitedesc {
  max-width: 600px;
  margin: 32px auto;
}

/* ZAREGOTO 新着 */

.zaregoto {
  min-width: 240px;
  max-width: 240px;
  display: block;
}
.zaregoto-img {
  width: 240px;
  height: 240px;
  display: block;
  object-fit: cover;
  object-position: center;
}

#zaregoto.recent .lower {
  border: 1px solid #951e21;
}

#zaregoto.recent .ttl {
  text-align: center;
  margin-bottom: 4px;
  /* white-space: nowrap; */
}

#zaregoto.recent .type {
  text-align: center;
  font-size: 0.8em;
  margin-top: 4px;
  background-color: #951e21;
  color: #fff;
  height: 3em;
  line-height: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* フッター */
.gf {
  background-color: #800;
}

.copyright {
  background-color: #800;
}

.bgcrecent {
  background-color: #fde9e5;
}
.bgcevent {
  background-color: #e9ffec;
}
.bgctabemasuta {
  background-color: #fff5e9;
}
.bgcblog {
  background-color: #ffffe3;
}

.recentpostimg {
  object-fit: cover;
  object-position: center;
}
@media (max-width: 750px) {
  .recentpostimg {
    width: calc((100vw - 48px) / 2);
    height: calc((100vw - 48px) / 2);
    max-width: calc((100vw - 48px) / 2);
    max-height: calc((100vw - 48px) / 2);
  }
}
@media (min-width: 750px) {
  .recentpostimg {
    width: calc((100vw - 80px) / 4);
    height: calc((100vw - 80px) / 4);
    max-width: calc((100vw - 80px) / 4);
    max-height: calc((100vw - 80px) / 4);
  }
}
@media (min-width: 1000px) {
  .recentpostimg {
    width: calc((1000px - 80px) / 4);
    height: calc((1000px - 80px) / 4);
    max-width: calc((1000px - 80px) / 4);
    max-height: calc((1000px - 80px) / 4);
  }
}

.recentpostttl {
  height: 5em;
  display: flex;
  align-items: center;
}
.recentpostcat {
  height: 3.5em;
  display: flex;
  align-items: center;
  /* align-items: flex-end; */
  border-top: 1px solid #000;
}

.txcgreen {
  color: #1fae90;
}
.bgcgreen {
  background-color: #1fae90;
}
.bdgreen {
  border: 1px solid #1fae90;
}
.txclink {
  color: blue;
}

.evimg {
  width: 150px;
  height: 150px;
  object-fit: cover;
  object-position: center;
}
@media (max-width: 750px) {
  .evimg {
    width: 120px;
    height: 120px;
  }
}

.evttl {
  height: 4em;
}

.evdate {
  height: 4em;
  display: flex;
  align-items: center;
}

.evstruct {
  display: grid;
  grid-template-columns: 1fr 200px;
  gap: 16px;
}
@media (max-width: 750px) {
  .evstruct {
    display: block;
  }
}

.shadowccc {
  box-shadow: #ccc 0px 0px 4px 4px;
}

.graystripe {
  background-image: url(/assets/stripe/gray.jpg);
  background-size: 10px;
}

.greenstripe {
  background-image: url(/assets/stripe/green.svg);
  background-size: 10px;
}

.hstripe {
  position: relative;
}
.hstripe::before {
  content: "";
  display: block;
  width: 100%;
  position: absolute;
  bottom: 0em;
  height: 0.3em;
  background-image: url(/assets/events/hstripe.svg);
  background-repeat: repeat-x;
  z-index: -1;
}

.evcal {
  border-left: 4px solid #1fae90;
  margin: 4px 12px;
  display: block;
  padding-left: 8px;
}

.drlgreen::after,
.drlgreen::before {
  border-top: 1px solid #1fae90;
}
.pagination {
  margin: 32px auto;
  display: flex;
  justify-content: center;
}
.page-numbers {
  border: 1px solid #951e21;
  padding: 4px;
  border-radius: 4px;
  margin: 0 8px;
  line-height: 1em;
}
.page-numbers.current {
  background-color: #951e21;
  color: #fff;
}
