@charset "utf-8";
@import url('https://fonts.googleapis.com/css2?family=https://fonts.googleapis.com/css2?family=BIZ+UDGothic:wght@400;700&family');
/*
Theme Name:甲斐市立図書館
*/
body {
  font-family: var(--bfont);
  background: #fff;
  color: #222;
  font-size: var(--base);
}
.stage {
  margin: 1em auto;
  max-width: var(--stage);
}
@media (max-width: 1099px) {
  body {
    font-size: var(--base16);
  }
  .stage {
    max-width: var(--stagesp);
  }
}
/* =============================
header
===============================*/
header {
  display: block;
}
header a {
  text-decoration: none;
}
.headerSet {
  position: relative;
  display: flex;
  margin: 0 auto;
  padding: 1.2rem 0;
  justify-content: space-between;
  align-items: center;
  max-width: var(--stage);
}
.h_logo {
  font-size: var(--base32);
  margin: 0;
  padding: 0.3em 0 0.3em;
  line-height: 1;
}
.hBtnSet {
  position: relative;
  display: flex;
  gap: 1.5rem;
}
.userBtn a, .loginBtn a {
  display: block;
  color: #fff;
  border-radius: 5px;
  padding: 0.5rem 1.5rem 0.5rem 4.3rem;
}
.userBtn a {
  background: var(--btn1) url("/wp-content/themes/kaishi/common/img/ui/icn_card.svg") no-repeat 1.2rem center/2rem;
}
.loginBtn a {
  background: var(--btn1) url("/wp-content/themes/kaishi/common/img/ui/icn1.svg") no-repeat 1.5rem center/2rem;
}
.loginBtn a:hover, .userBtn a:hover {
  color: #fff;
  text-decoration: underline;
}
.userBtnSp {
  display: none;
}
@media (max-width: 1099px) {
  .headerSet {
    margin-top: 0;
    padding: 0.8rem 0;
    max-width: var(--stagesp);
  }
  .h_logo img {
    width: 220px;
  }
  .userBtnSp {
    display: block;
    position: absolute;
    z-index: 2;
    right: 75px;
    top: 15px;
    width: 55px;
    height: 55px;
    cursor: pointer;
    text-align: center;
  }
  .userBtnSp img {
    display: block;
    width: 100%;
  }
}
/* =============================
gnavi
===============================*/
@media (min-width: 1100px) {
  .gnavi {
    position: static;
    display: block !important;
    visibility: visible;
  }
  .hamburger {
    display: none;
  }
}
.gnaviBg {
  background: var(--keycolor);
  padding: 0.5rem 0.5rem;
}
.gnavi {
  max-width: var(--stage);
  margin: 0 auto;
}
.gnavi ul {
  display: flex;
  text-align: center;
  justify-content: space-between;
}
.gnavi li a {
  display: block;
}
.gnavi li a:hover {
  text-decoration: underline;
}
/* gnavi-pulldown
------------------------------------------------*/
.gnavi ul li .submenu {
  display: none;
  position: absolute;
  padding: 10px 0;
  list-style: none;
  z-index: 999;
  text-align: left !important;
  background: #fff;
  padding: 6px 12px;
  border-radius: 4px;
  box-shadow: 0 5px 12px rgba(0, 0, 0, 0.15);
  font-size: var(--base18);
}
.gnavi ul li.has-sub.open > .submenu {
  display: block;
  border: 1px solid #ccc;
}
.gnavi .has-sub > a::before {
  content: "";
  display: inline-block;
  width: 12px;
  height: 12px;
  padding-left: 5px;
  background: url("/wp-content/themes/kaishi/common/img/ui/icn_pullon.svg") no-repeat left center/1.2rem;
  transition: transform .2s;
}
.gnavi .has-sub.open > a::before {
  background: url("/wp-content/themes/kaishi/common/img/ui/icn_pulloff.svg") no-repeat left center/1.2rem;
}
@media screen and (max-width: 1099px) {
  .gnavi ul li {
    position: static;
  }
  .gnavi ul li .submenu {
    position: static;
    padding: 0;
    border: none;
    box-shadow: none;
    font-size: inherit;
  }
  .gnavi ul li.has-sub.open, .gnavi ul li.has-sub.open > .submenu {
    border-bottom: 0 !important;
  }
  .gnavi ul li .submenu li {
    padding: 5px 20px;
  }
}
/*-----------*/
#toppege .num1 a, .annai .num3 > a, .yamagatadaini .num3 > a, .jourei .num3 > a, .lib_child .num5 a, .kids_news .num5 a, .kids_event .num5 a, .category-kids_news .num5 a, .category-kids_event .num5 a {
  text-decoration: underline;
}
@media (max-width: 1099px) {
  .gnaviBg {
    padding: 0;
  }
  .gnavi {
    margin: 0;
    background: #fff;
    position: fixed;
    z-index: 2;
    top: 0;
    right: -120%;
    width: 100%;
    height: 100vh;
    color: #333;
    transition: all 0.4s;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .gnavi.active {
    right: 0%;
    display: block;
  }
  .gnavi ul {
    font-size: var(--base16);
    flex-direction: column;
    margin: 0 auto;
    padding: 0;
    width: 100%;
  }
  .gnavi li:first-of-type {
    border-left: none;
    padding-left: 0;
  }
  .gnavi li {
    list-style-type: none;
    width: 100%;
    border-bottom: 1px solid #ccc;
    text-align: left;
  }
  .gnavi .closeBtn {
    text-align: center;
  }
  .gnavi li:hover {
    background: var(--keycolor)
  }
  .gnavi li a {
    padding: 1rem 0.5rem;
  }
  .overflowHidden {
    overflow: hidden;
  }
}
/*==================================
hamburger
==================================*/
.hamburger {
  display: none;
}
.spopen {
  background: url("/wp-content/themes/kaishi/common/img/ui/gmenu.svg") no-repeat center center/55px;
  height: 55px;
  text-indent: 100%;
  overflow: hidden;
  white-space: nowrap;
}
.hamburger.active .spopen {
  display: none;
}
.spclose {
  display: none;
}
.hamburger.active .spclose {
  display: block;
  background: url("/wp-content/themes/kaishi/common/img/ui/gmenu_close.svg") no-repeat center center/55px;
  height: 55px;
  text-indent: 100%;
  overflow: hidden;
  white-space: nowrap;
}
@media (max-width: 1099px) {
  .hamburger {
    display: block;
    position: absolute;
    z-index: 3;
    right: 10px;
    top: 15px;
    width: 70px;
    height: 70px;
    cursor: pointer;
    text-align: center;
  }
}
/*==================================
top
==================================*/
/* search
------------------------------------------------*/
.searchFun {
  display: flex;
  justify-content: center;
  margin: 2.5rem auto 4rem;
  background: #F4F1E6;
  padding: 1.4rem 0.5rem;
  align-items: center;
  border-radius: 6px;
}
.searchIcn {
  display: inline-block;
  background: url("/wp-content/themes/kaishi/common/img/ui/icn2.svg") no-repeat left center;
  padding: 0.5rem 0 0.5rem 3rem;
  margin-right: 0.8em;
}
.searchFun input {
  font-size: var(--base18);
  width: 700px;
  height: 2.6rem;
  padding: 0 1rem;
  line-height: 1;
}
.searchFun button {
  font-size: var(--base20);
  background: #fff;
  border: solid 1px;
  padding: 0.3rem 1.7rem;
  border-radius: 5px;
  margin: 0 1rem 0 1rem;
}
.searchFun button:hover {
  cursor: pointer;
  text-decoration: underline;
}
.btnsSet {
  display: flex;
  align-items: center;
}
@media (max-width: 1099px) {
  .searchFun {
    flex-direction: column;
    padding: 1em;
    align-items: stretch;
    margin: 1rem auto 2rem;
  }
  .searchIcn {
    background: url("/wp-content/themes/kaishi/common/img/ui/icn2.svg") no-repeat left 2px/25px;
    padding: 0.5rem 0 1rem 2rem;
    margin: auto;
  }
  .searchFun input {
    font-size: var(--base14);
    width: 100%;
    padding: 0.5rem;
  }
  .searchFun button {
    font-size: var(--base14);
    padding: 0.3rem 1.5rem;
    margin: auto;
  }
  .btnsSet {
    margin-top: 0.5rem;
  }
}
/*linkArrow1
------------------------------------------------*/
.linkArrow1 {
  padding: 0 0 0 1.4rem;
  background: url("/wp-content/themes/kaishi/common/img/ui/icn_arrow1.svg") no-repeat left center;
}
/* .navBtn
------------------------------------------------*/
.navBtnA {
  padding: 1rem 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
}
.navBtnA {
  margin-top: 2rem;
}
.navBtnA a {
  text-align: center;
  text-decoration: none;
  display: block;
  width: 100%;
  padding: 2rem 1.5rem;
  border-radius: 5px;
  border: solid 2px var(--btn2line);
  background: var(--btn2);
}
.navBtnA a:hover {
  text-decoration: underline;
}
@media (max-width: 1099px) {
  .navBtnA {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
  }
  .navBtnA a {
    padding: 0.8rem 1rem;
  }
}
/*==================================
libInfo news event
==================================*/
.newsTitle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2.5rem;
}
.libInfo dd a {
  text-decoration: none;
}
.libInfo dd a:hover {
  text-decoration: underline;
}
.libInfo > div {
  width: 100%;
}
.archive .libInfo {
  margin-top: 2rem;
}
.archive .libInfo > div {
  width: 100% !important;
}
.libInfo dt {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  padding: 0;
}
.libInfo dd {
  margin: 0.3rem 0 1rem 0;
  padding-bottom: 1rem;
  border-bottom: dashed 1px #bbb;
}
.archive .libInfo dd:last-child {
  border-bottom: none;
}
.libInfo span, .eventInfo span, .articleData span {
  display: inline-block;
  font-size: var(--base14);
  padding: 0.05rem 0;
  border-radius: 2px;
  margin-left: 0.5rem;
  text-align: center;
  color: #fff;
}
span.imp {
  background: #9F0000;
  width: 5em;
}
.lib_child span.imp, .kids_news span.imp, .kids_event span.imp, .category-kids_news span.imp, .category-kids_event span.imp { /*こどものページ投稿*/
  background: #9F0000;
  width: 7em;
}
span.lname {
  background: #2C1B00;
  width: 7em;
}
.lname.is-zenkan {
  width: 5em;
}
@media (max-width: 1099px) {
  .libInfo > div:last-of-type {
    margin-top: 1rem;
  }
  .libInfo span, .eventInfo span, .articleData span {
    font-size: var(--base12);
  }
  .inpNews {
    flex-direction: column;
  }
  .inpNews dt {
    width: 100%;
    justify-content: flex-start;
    margin-bottom: 0;
  }
  .inpNews dd {
    margin: 0 0 0.5em 0;
    width: calc(100% - 2rem);
  }
}
@media (max-width: 480px) {
  .newsTitle {
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 1rem;
  }
  .newsTitle a {
    text-align: right;
    margin-top: 0.5rem;
  }
  span.lname {
    width: auto;
  }
  .libInfo span, .eventInfo span, .articleData span {
    margin-left: 0.3rem;
    padding: 1px 3px;
  }
  .libInfo dt {
    font-size: var(--base12);
  }
}
/* .eventInfo
------------------------------------------------*/
.bgCol1 {
  background: var(--keycolor);
  padding: 2rem 0;
}
.eventInfo {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.imgtrm {
  overflow: hidden;
  height: 227px;
}
.textlabel {
  margin-top: 0.5rem;
  display: flex;
  align-items: center;
}
.eventDate span {
  margin-top: 0.8rem;
  margin-bottom: 0.4rem;
}
.eventDate p, p.eName {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}
.eventDate .lname:first-of-type {
  margin-left: 0;
}
.eventInfo li img {
  display: block;
  width: 100%;
  transition: 0.3s all;
  object-position: center;
  object-fit: cover;
}
.eventInfo li a {
  text-decoration: none;
}
.eventInfo li a:hover {
  text-decoration: underline;
}
.eventInfo li a:hover img {
  transform: scale(1.1);
}
@media (max-width: 1099px) {
  .eventInfo {
    grid-template-columns: 1fr;
  }
}
/* .tab-menu
------------------------------------------------*/
.tab-menu {
  padding: 0 1rem;
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  list-style: none;
}
hr.tabLine {
  border: none;
  border-top: solid 5px var(--btn1);
}
.tab-menu li {
  width: 100%;
}
.tab-menu a {
  display: block;
  width: 100%;
  text-align: center;
  padding: 10px 20px;
  cursor: pointer;
  border-radius: 8px 8px 0 0;
  background: #EBEBEB;
  transition: 0.3s;
  border: none;
  text-decoration: none;
  color: inherit;
}
.tab-menu a.active {
  background: var(--btn1);
  color: #fff;
}
.tab-menu a:hover {
  text-decoration: underline;
}
.tab-menu a:focus-visible {
  outline: 2px solid #333;
  outline-offset: 2px;
}
.tab-content {
  display: none;
  padding: 20px 0;
}
.tab-content.active {
  display: block;
}
.tab-content > h3 {
  text-align: center;
  background: #EFEFEF;
  border-radius: 4px;
  padding: 0.2rem 1rem;
  margin-bottom: 1.5rem;
}
.claNavi {
  text-align: center;
  align-items: center;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}
.claPre {
  text-align: left;
}
.claNex {
  text-align: right;
}
.claPre a, .claNex a {
  font-weight: bold;
  color: #fff;
  padding: 0.5rem 1.5rem;
  background: var(--btn1);
  border-radius: 4px;
  text-decoration: none;
}
.claPre a:hover, .claNex a:hover {
  color: #fff;
  text-decoration: underline;
}
.tab-content.active {
  display: block;
}
.indent-line {
  display: block;
  margin-top: 1.5rem;
  padding-left: 6rem;
  text-indent: -6rem;
}
span.closed {
  background: #F8D7E5;
  padding: 0.5rem 1rem;
  border-radius: 2px;
}
td.closed {
  background: #F8D7E5;
}
.tabs table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}
.tabs table th, .tabs table td {
  text-align: center;
  border: solid 1px #707070;
  padding: 0.7rem 1rem;
}
@media (max-width: 768px) {
  .tab-menu {
    padding: 0 0;
    margin-top: 1rem;
    gap: 0.3rem;
  }
  .tab-menu a {
    padding: 7px 10px;
    font-size: var(--base12);
  }
  .claNavi, .indent-line {
    font-size: var(--base12);
  }
  .claNavi h3 {
    font-size: var(--base17) !important;
  }
}
/* .libList
------------------------------------------------*/
.libList {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.libList li {
  background: #fff;
  border-radius: 6px;
  padding: 36px 50px;
}
.libList h3 {
  text-align: center;
  margin-bottom: 2.5rem;
}
.libList li img {
  display: block;
  width: 100%;
}
.libList li a:hover img {
  transform: scale(1.1);
}
.libList li > a {
  text-decoration: none;
}
.libList li > a:hover {
  text-decoration: underline;
}
a.mailBtn {
  text-decoration: none;
  text-align: center;
  display: block;
  background: var(--btn1);
  color: #fff;
  padding: 0.5rem 0.7rem;
  border-radius: 4px;
}
a.mailBtn:hover {
  text-decoration: underline !important;
  color: #fff;
}
@media (max-width: 1099px) {
  .libList {
    grid-template-columns: repeat(1, 1fr);
  }
  .libList li {
    padding: 25px 40px;
  }
  .libList h3 {
    margin-bottom: 1.5rem;
  }
}
/*==================================
.funNavi
==================================*/
.funNavi {
  margin: 3rem auto;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.2rem;
  font-size: var(--base17);
  text-align: center;
  align-items: stretch;
}
.funNavi a {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  background: var(--keycolor);
  padding: 0.8rem 0.8rem;
  border-radius: 2px;
  text-decoration: none;
}
.funNavi li ul a {
  text-align: left;
  justify-content: flex-start;
}
.funNavi a:hover {
  text-decoration: underline;
}
.funNavi li.has-sub > a::before {
  content: "";
  display: inline-block;
  width: 12px;
  height: 12px;
  padding-left: 10px;
  background: url("/wp-content/themes/kaishi/common/img/ui/icn_pullon.svg") no-repeat left center/1rem;
  transition: transform .2s;
}
.funNavi li.has-sub.open > a::before {
  background: url("/wp-content/themes/kaishi/common/img/ui/icn_pulloff.svg") no-repeat left center/1rem;
}
.funNavi li {
  position: relative;
}
.funNavi li ul {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  width: max-content;
  background: #fff;
  padding: 6px 0;
  list-style: none;
  border: 1px solid #ccc;
  border-radius: 4px;
  z-index: 999;
  box-shadow: 0 5px 12px rgba(0, 0, 0, 0.15);
}
/* 開いたときに表示 */
.funNavi li.open > ul {
  display: block;
  width: 100%;
}
.funNavi li ul li a {
  background: none;
  color: #333;
  white-space: nowrap;
  padding: 0.4rem 1rem;
}
/*.funNavi li ul li a:hover, .funNavi li ul li a:focus {
  background: #f5f5f5;
}*/
.over_words {
  font-size: 0.97rem;
}
@media (max-width: 1099px) {
  .funNavi {
    margin: 2rem auto;
    grid-template-columns: repeat(2, 1fr);
    font-size: var(--base16);
  }
}
@media (max-width: 768px) {
  .funNavi {
    grid-template-columns: repeat(1, 1fr);
  }
  .funNavi li.open > ul {
    display: block;
  }
}
/*==================================
footer
==================================*/
footer {
  border-top: solid 1px #c7c7c7;
  font-size: var(--base16);
}
footer > div {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
footer .linkList {
  display: flex;
}
footer .linkList li {
  margin-right: 1rem;
}
footer .linkList li:last-of-type {
  margin-right: 0;
}
@media (max-width: 1099px) {
  footer .logo {
    font-size: var(--base22);
  }
  footer {
    font-size: var(--base14);
  }
  footer > div, .linkList {
    flex-direction: column;
    align-items: flex-start;
  }
  footer .linkArrow1 {
    padding: 0 0 0 1.2rem;
    background: url("/wp-content/themes/kaishi/common/img/ui/icn_arrow1.svg") no-repeat left center/0.8rem;
  }
}
/* =============================
fonts
===============================*/
h2 {
  width: 100%;
  padding-left: 2.8rem !important;
  padding-bottom: 0.5rem !important;
  font-size: var(--base28);
  background: url("/wp-content/themes/kaishi/common/img/ui/icn_h2.svg") no-repeat left 0.3rem/var(--base28);
  border-bottom: solid 1px #999;
}
h3 {
  font-size: var(--base26) !important;
}
.singles h2 {
  margin-top: 0.5rem !important;
  margin-bottom: 2rem !important;
}
@media (max-width: 1099px) {
  h2 {
    padding-left: 2rem !important;
    font-size: var(--base20) !important;
    background: url("/wp-content/themes/kaishi/common/img/ui/icn_h2.svg") no-repeat left 0.25rem/var(--base20);
  }
  h3 {
    font-size: var(--base18) !important;
  }
  h4 {
    font-size: var(--base16) !important;
  }
  h5 {
    font-size: var(--base14) !important;
  }
  h6 {
    font-size: var(--base14) !important;
  }
}
/* =============================
pageTitle
===============================*/
.pageTitle {
  padding: 1.2rem 0;
  background: var(--keycolor) url("/wp-content/themes/kaishi/common/img/ui/titlebg.jpg") no-repeat center center/cover;
}
.hTitle {
  color: #222;
  text-shadow: var(--bl) 2px 0px 2px, var(--bl) -2px 0px 2px, var(--bl) 0px -2px 2px, var(--bl) -2px 0px 2px, var(--bl) 2px 2px 2px, var(--bl) -2px 2px 2px, var(--bl) 2px -2px 2px, var(--bl) -2px -2px 2px, var(--bl) 1px 2px 2px, var(--bl) -1px 2px 2px, var(--bl) 1px -2px 2px, var(--bl) -1px -2px 2px, var(--bl) 2px 1px 2px, var(--bl) -2px 1px 2px, var(--bl) 2px -1px 2px, var(--bl) -2px -1px 2px, var(--bl) 1px 1px 2px, var(--bl) -1px 1px 2px, var(--bl) 1px -1px 2px, var(--bl) -1px -1px 2px;
  margin: 0 auto;
  max-width: var(--stage);
  font-size: var(--base42);
  font-weight: bold;
}
@media (max-width: 1099px) {
  .hTitle {
    max-width: var(--stagesp);
    font-size: var(--base28);
  }
}
/* =============================
breadcrumbs
===============================*/
.breadSet {
  padding: 0.8rem 0;
  font-size: var(--base12);
}
.breadcrumbs {
  max-width: var(--stage);
  margin: 0 auto;
}
.breadcrumbs a {
  text-decoration: underline;
}
.breadcrumbs li:last-of-type:after {
  content: none;
  margin-left: 0;
}
@media (max-width: 1099px) {
  .breadcrumbs {
    max-width: var(--stagesp);
  }
}
/* =============================
pages
===============================*/
#pages .locNavi {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 2.5rem;
  margin-left: 0 !important;
  list-style: none !important;
}
#pages .locNavi li {
  margin-bottom: 0 !important;
}
#pages .locNavi a {
  text-align: center;
  display: block;
  background: var(--keycolor);
  padding: 0.5rem 0.5rem;
  text-decoration: none;
  border-radius: 4px;
}
#pages .locNavi a:hover {
  text-decoration: underline;
}
.locNavi a.current {
  color: #fff !important;
  background: var(--btn1) !important;
}
#pages #maincontents, .archive #maincontents {
  margin-top: 3rem;
  padding-bottom: 2rem;
}
#pages #maincontents h2 {
  margin-top: 2.5em;
}
#pages #maincontents > h2 {
  margin-top: 1.5em;
}
#pages h2 + ol {
  margin-top: 1rem;
}
#pages #maincontents h3 {
  font-size: var(--base24) !important;
  padding-left: 2.4rem !important;
  margin-top: 2rem;
  background: url("/wp-content/themes/kaishi/common/img/ui/icn_h3.svg") no-repeat left 5px/var(--base24);
}
#pages #maincontents h3 + p {
  margin-top: 0.5rem;
}
#pages #maincontents ul {
  list-style: disc;
  margin-left: 1.2em;
}
#pages #maincontents ol {
  list-style: decimal;
  margin-left: 2rem;
}
#pages #maincontents ol li > ul {
  margin-top: 1rem;
}
#pages #maincontents li {
  margin-bottom: 0.5em;
}
#pages #maincontents img {
  max-width: 100%;
}
@media (max-width: 1099px) {
  #pages .locNavi {
    margin-top: 1.5rem;
    grid-template-columns: repeat(2, 1fr);
  }
  #pages #maincontents {
    margin-top: 1.5rem;
  }
  #pages .locNavi {
    gap: 0.5rem 1rem;
    font-size: var(--base15);
  }
  #pages #maincontents h3, .singles h3 {
    font-size: var(--base18) !important;
    padding-left: 1.5rem !important;
    background: url("/wp-content/themes/kaishi/common/img/ui/icn_h3.svg") no-repeat left 5px/var(--base18);
  }
}
@media (max-width: 768px) {
  #pages .locNavi {
    font-size: var(--base13);
    gap: 0.5rem;
  }
}
/* .liblary-page
------------------------------------------------*/
.sepBlock {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(2, 1fr);
}
.sepBlock p:first-of-type {
  margin-top: 0 !important;
}
@media (max-width: 768px) {
  .sepBlock {
    gap: 1rem;
    grid-template-columns: repeat(1, 1fr);
  }
}
/* .kidsNav
------------------------------------------------*/
.kidsNav1, .kidsNav2 {
  display: grid;
  gap: 1rem;
  align-items: center;
}
.kidsNav1 {
  width: 88%;
  margin: 0 auto;
  grid-template-columns: repeat(3, 1fr);
}
.kidsNav2 {
  margin-top: 4rem;
  grid-template-columns: repeat(4, 1fr);
}
.kidsNav img {
  display: block;
}
@media (max-width: 1099px) {
  .kidsNav2 {
    margin-top: 2rem;
  }
}
/* .sitemap
------------------------------------------------*/
.sitemapNavi h2:first-of-type {
  margin-top: 0 !important;
}
.sitemapNavi h2 + ul {
  margin-top: 1rem;
}
.sitemapNavi ul {
  margin-left: 1.5rem !important;
}
.sitemapNavi li {
  list-style: none;
}
.sitemapNavi li a {
  display: inline-block;
  padding-left: 1.4rem;
  position: relative;
}
.sitemapNavi li a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.4em;
  width: 1rem;
  height: 1rem;
  background: url("/wp-content/themes/kaishi/common/img/ui/icn_arrow1.svg") no-repeat center center / contain;
}
.sitemapNavi li a:hover {
  text-decoration: underline;
}
@media (max-width: 1099px) {
  .sitemapNavi ul {
    margin-left: 0.7rem !important;
  }
}
/* =============================
shingles
===============================*/
.articleData {
  margin-bottom: 2rem;
}
.pageSend {
  margin-left: 0 !important;
  list-style: none !important;
  display: flex;
  justify-content: space-between;
}
@media (max-width: 1099px) {
  .articleData {
    margin-bottom: 0;
  }
}
/* =============================
archive
===============================*/
/* pagenav
------------------------------------------------*/
.pagenav {
  display: flex;
  flex-wrap: wrap;
  margin-top: 2em;
}
.pagenav span, .pagenav a {
  padding: 8px 18px;
  margin-right: 5px;
  margin-bottom: 5px;
}
.pagenav span {
  color: #222;
  border: solid 1px #aaa;
}
.pagenav a {
  color: #333;
  background: var(--keycolor);
  border: solid 1px #aaa;
  text-decoration: underline;
}
/* =============================
table
===============================*/
#pages table, #single table {
  margin: 2rem 0;
  width: 100%;
  border-collapse: collapse;
}
#pages th, #pages td, #single th, #single td {
  border: solid 1px #C6C6C6;
  padding: 1rem;
}
.tableA td:first-child {
  text-align: center;
  background: var(--table);
}
h3 + .tableA, h3 + .tableB {
  margin: 0.5rem 0 2rem !important;
}
.table_width20 {
  width: 20% !important;
}
.table_width25 {
  width: 25% !important;
}
.table_width30 {
  width: 30% !important;
}
.table_width50 {
  width: 50% !important;
}
.table_left {
  text-align: left !important;
}
.table_right {
  text-align: right !important;
}
.table_center {
  text-align: center !important;
}
@media (max-width: 768px) {
  table {
    font-size: var(--base15);
  }
  #pages th, #pages td, #single th, #single td {
    padding: 0.5rem;
  }
  .table_width20 {
    min-width: 140px;
  }
}
/* =============================
layout
===============================*/
.block2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.block3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
@media (max-width: 1099px) {
  .block2 {
    grid-template-columns: repeat(1, 1fr);
    gap: 0 1rem;
  }
  .block3 {
    grid-template-columns: repeat(1, 1fr);
    gap: 0 1rem;
  }
}
/* =============================
google map
===============================*/
.googlemaps {
  margin: 1.5rem 0 4rem;
}
.googlemaps:last-of-type {
  margin: 1.5rem 0 0;
}
.googlemaps iframe {
  border: none;
  width: 100%;
  height: 600px;
}
/* =============================
404
===============================*/
.set404 {
  margin: 3rem auto;
  max-width: var(--stage);
}
@media (max-width: 1099px) {
  .set404 {
    max-width: var(--stagesp);
  }
}
/*==================================
others
==================================*/
.margin_top0 {
  margin-top: 0 !important;
}
.margin_bottom0 {
  margin-bottom: 0 !important;
}
.margin_top1 {
  margin-top: 1rem !important;
}
.margin_top2 {
  margin-top: 2rem !important;
}
.margin_top3 {
  margin-top: 3rem !important;
}
.margin_top4 {
  margin-top: 4rem !important;
}
.margin_top5 {
  margin-top: 5rem !important;
}
.margin_top05 {
  margin-top: 0.5rem !important;
}
.margin_top15 {
  margin-top: 1.5em !important;
}
.padding_both0 {
  padding-top: 0em !important;
  padding-bottom: 0em !important;
}
.lineheight18 {
  line-height: 1.8
}
.lineheight20 {
  line-height: 2.0
}
.lineheight22 {
  line-height: 2.2
}
.sp_br, .sp_only {
  display: none !important;
}
img.img_l, .alignleft {
  float: left;
  margin: 0 1.5rem 1.5rem 0;
}
img.img_r, .alignright {
  float: right;
  margin: 0 0 1.5rem 1.5rem;
}
img.img_c, .aligncenter {
  display: table;
  margin: 1em auto;
}
.imgfull {
  width: 100%;
}
@media (max-width: 1099px) {
  img.img_l, img.img_r, .alignright, .alignleft {
    float: none;
    margin: 0;
    width: 100%;
  }
  .imgspfull {
    width: 100%;
  }
}
.txt_c {
  text-align: center;
}
.txt_l {
  text-align: left;
  margin-right: auto;
}
.txt_r {
  text-align: right;
  margin-right: auto;
}
@media (max-width: 1099px) {
  .sp_only {
    display: block !important;
  }
  .pc_only {
    display: none !important;
  }
  .sp_img {
    width: 100%;
  }
}
@media (max-width: 579px) {
  .sp_br {
    display: block !important;
  }
  .pc_br {
    display: none !important;
  }
}
/* =============================
:root 
===============================*/ :root {
  --bfont: 'BIZ UDGothic', 'ヒラギノ角ゴ Pro', 'Hiragino Kaku Gothic Pro', 'メイリオ', 'Meiryo', 'ＭＳ Ｐゴシック', 'MS PGothic', sans-serif;
  --stage: calc(1100px - 1.5rem);
  --stagesp: calc(100vw - 40px);
  --base12: 0.750rem;
  --base13: 0.813rem;
  --base14: 0.875rem;
  --base15: 0.938rem;
  --base16: 1rem;
  --base17: 1.063rem;
  --base18: 1.125rem;
  --base20: 1.250rem;
  --base21: 1.312rem;
  --base22: 1.375rem;
  --base23: 1.437rem;
  --base24: 1.500rem;
  --base26: 1.625rem;
  --base28: 1.750rem;
  --base30: 1.875rem;
  --base32: 2.000rem;
  --base35: 2.188rem;
  --base42: 2.625rem;
  --base46: 2.875rem;
  --base48: 3.000rem;
  --base: 1.250rem;
  --keycolor: #EFECE5;
  --keycolor2: #088076;
  --table: #FDF8F0;
  --bl: #fff;
  --red: #BF0202;
  --btn1: #312004;
  --btn2: #F8F6EF;
  --btn2line: #ACA7A1;
  --link: #00369B;
  --hover: #222;
  --hoverb: #573807;
  --hoverc: #FCFAFA;
}
/* gotoTop
------------------------------------------------*/
#gotoTop {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 99999;
}
#gotoTop a {
  display: block;
  z-index: 999;
  padding: 8px 0 0 8px;
  text-decoration: none;
  text-align: center;
}
#gotoTop a:hover {
  text-decoration: none;
  filter: brightness(120%);
}
#gotoTop img {
  width: 80px;
}
@media (max-width: 680px) {
  #gotoTop {
    right: 20px;
  }
  #gotoTop img {
    width: 70px;
  }
}
/* topslide
------------------------------------------------*/
.mainImg img {
  display: block;
  width: 100%;
  height: 188px;
  object-fit: cover;
  object-position: center;
}
@media (max-width: 1099px) {
  .mainImg img {
    /*height: 292px;*/
  }
}