*:where(:not(iframe, canvas, img, svg, video):not(svg*)) {
  all: unset;
  display: revert;
}
*, *::before, *::after {
  box-sizing: border-box;
}
html {
  font-family: ヒラギノ角ゴ Pro, Hiragino Kaku Gothic Pro, メイリオ, Meiryo, Osaka, ＭＳ Ｐゴシック, MS PGothic, sans-serif;
  font-size: 62.5%;
  min-height: 100vh;
}
body {
  min-height: 100vh;
  margin: 0;
  padding: 0;
}
/*Remove list styles(bullets/numbers)*/
ol, ul {
  list-style: none;
}
img {
  max-width: 100%;
  height:auto;
}
table {
  border-collapse: collapse;
}
body {
  background: #5ABED9;
  margin: 0;
  padding: 0;
}
.loading {
  display: grid;
  justify-content: center;
  align-content: center;
  width: 100vw;
  height: 100vh;
  padding: 0;
  margin: 0;
  position: fixed;
  z-index: 10;
  background: #fff;
}
#container {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
}
#headimg, .headbg img {
  position: relative;
  z-index: 1;
  width: 100%;
  height:auto;
}
.logo {
  position: absolute;
  z-index: 2;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  width: 25%;
  display: flex;
}
.eventheader {
    width: 100%;
    max-width: 1200px;
    height: 500px;
    max-height: 500px;
    overflow: hidden;
    background: url(https://www.fukuishimbun.co.jp/common/usr/castle/images/events.jpg) no-repeat;
    background-position-y: center;
    margin-bottom: 3rem;
}
section, .sectionbox {
  padding: 4rem 4rem 2rem 4rem;
  ;
}
.catchcopy{
    font-weight: bold;
    font-size: 2.5rem;
    color: #FFFFFF;
    text-align: center;
}
.toplead {
  font-size: 2rem;
  color: #fff;
}
.newsboxtitle {
  font-size: 2rem;
  font-weight: bold;
  color: #fff;
  display: block;
  text-align: center;
  padding: 0 0 2rem 0;
}
.news {
  border-bottom: 1px solid #e3e3e3;
}
.newsbox {
  background: #fff;
  padding: 2rem;
  font-size: 1.5rem;
  line-height: 3.5rem;
  border: 2px dashed #ccc;
  border-radius: 1rem;
}
.newsdate {
  font-weight: bold;
}
.buttongroup {
  padding: 10rem 2rem;
}
.buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 5rem;
  align-content: center;
  justify-content: center;
}
.btn {
  text-align: center;
  background: #fff;
  width: 80%;
  margin: auto;
  padding: 1rem;
  border-radius: 1rem;
  grid-template-rows: 1fr .2fr .3fr;
  display: grid;
}
.btn a {
  display: block;
  text-align: center;
  font-weight: bold;
  background: #fff;
  border-radius: 1rem;
  font-size: 1.5rem;
  padding: 1rem;
  margin: 1rem auto;
  border: 5px double #2aa2bd;
  color: #057c88;
  text-decoration: none;
  width: 80%;
}
.btn a:hover {
  background: #5ABED9;
  color: #fff;
  border-color: #fff;
}
.btn img {
  border-radius: 1rem;
}
a.piclink{
  display: block;
  text-align: center;
  font-weight: bold;
  background: #fff;
  border-radius: 1.2rem;
  font-size: 1.5rem;
  padding: 0;
  margin: 0 auto;
  border: none;
  color: #057c88;
  text-decoration: none;
  width: auto;
  border: 2px solid #fff;
  line-height: 0;
}
a.piclink:hover {
  background: #fff;
  border: 2px solid #2aa2bd;
}
.cardtxt {
  font-size: 1.5rem;
  color: #4C4B4B;
  margin: 0 auto;
  text-align: left;
  padding: 1rem;
  width: 100%;
}
.scrollToTop:hover {
  text-decoration: none;
}
.scrollToTop {
  width: 60px;
  height: 60px;
  padding: 10px;
  text-align: center;
  background: #fdec05;
  font-weight: bold;
  color: #444;
  text-decoration: none;
  position: fixed;
  right: 15px;
  bottom: 0;
  display: grid;
  align-content: center;
  border-radius: 13px 13px 0 0;
  justify-content: center;
  z-index: 9;
}
#page-top a {
  text-decoration: none;
  font-weight: bold;
  display: grid;
  width: 60px;
  height: 60px;
  color: #0cbbff;
  justify-content: center;
  align-content: center;
}
#page-top a img {
  height: 35px;
}
.copyinmenu {
  color: #000000;
}
.smbr {
  display: none;
}
footer {
  text-align: center;
  margin: 4rem 0 0 0;
  padding: 4rem 0;
  background: #fff;
}
.footergrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  justify-content: center;
  align-content: center;
}
.footerlogo {
  width: 250px;
  margin: 0 auto;
}
.otoiawase {
  font-size: 1.4rem !important;
  font-weight: bold;
  padding-bottom: 0 !important;
}
.footerlogolink {
  text-align: center;
  max-width: 200px;
  display: block;
  width: 100%;
  margin: auto;
}
.footertxt {
  font-size: 1.2rem;
  padding: 1rem;
}
@media screen and (max-width: 550px) {
  .toplead {
    font-size: 1.7rem;
  }
  .buttons {
    grid-template-columns: 1fr;
    grid-gap: 4rem 0;
  }
  .footerlogo {
    width: 225px;
    margin: 1rem auto;
  }
  .footergrid {
    grid-template-columns: 1fr;
    grid-gap: 1rem;
    padding: 1rem 0;
  }
  .buttongroup {
    padding: 10rem 0rem;
  }
  section {
    padding: 4rem 2rem 2rem 2rem;
  }
  .btn {
    width: 88%;
  }
}