@charset "utf-8";


/* footer */
body:not(.dev-mb) .cms-public .layout .area5{
  position: relative;
}
body:not(.dev-mb) .cms-public .f-pagetop {
  right: 20px !important;
}
/* body:not(.dev-mb) .cms-public .f-pagetop ul li a{
  width: 40px !important;
  height: 40px;
  font-size: 1.2rem;
} */

/* top */
body:not(.dev-mb) .cms-public .layout .area1{
  position: relative;
  background-color: #ffffff;
  border-top: 4px solid #036EB8;
  z-index: 9999;
}

/* 共通 */
body:not(.dev-mb) .cms-public{
  border: none;
}
body:not(.dev-mb) .cms-public .layout .area3{
  width: 100% !important;
  margin: 0px;
}


/* top */
.bg-layer-1,
.bg-layer-2 {
  position: fixed;
  top: -50px;
  left: 0;
  width: 100vw;
  height: calc(100vh + 50px);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  z-index: -1;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.8s ease;
  will-change: transform;
  transform: translateZ(0);
}
.cms-public .area3.top-area3 .top-bg{
  position: fixed;
}
body:not(.dev-mb) .cms-public .top-area3 .div_tag .parts {
  display: flex;
  justify-content: center;
}
body:not(.dev-mb) .cms-public .top-area3 .div_tag .parts .note {
  width: calc(100vw - 30px);
  margin: 35vh 0px;
  padding: 50px 25px 50px 25px;
}

body:not(.dev-mb) .cms-public .top-title {
  height: 90vh !important;
}
body:not(.dev-mb) .cms-public .top-title .heading h2 {
  font-size: 3rem !important;
}
body:not(.dev-mb) .cms-public .top-title .top-scroll {
  display: none !important;
}
/* スマホ端末のみ */
@media screen and (max-width: 700px) and (pointer: coarse) {
  body:not(.dev-mb) .cms-public .top-title > div > .parts:not(.top-scroll) {
    margin-top: calc(50vh + 2.5rem);
  }
}


body:not(.dev-mb) .cms-public .top-area3 .parts .note .heading h2 {
  font-size: 1.5rem;
}
body:not(.dev-mb) .cms-public .top-area3 .parts .div_tag .parts .note .heading h2::after {
  width: 100%;
  left: 0px !important;
  background-size: 65px 60px;
}

body:not(.dev-mb) .cms-public .top-knowledge {
  padding: 30px 0px 0px !important;
}
body:not(.dev-mb) .cms-public .top-knowledge .image .image_listitem:nth-child(1){
  display: none;
}
body:not(.dev-mb) .cms-public .top-knowledge .image .image_listitem:nth-child(2){
  display: inline-table;
}

/* top配下 */
body:not(.dev-mb) .cms-public .layout .area3:not(.top-area3) {
  margin: 0px;
}
.cms-public .area3:not(.top-area3) > div {
  width: 100%;
  margin: 0px !important;
  transform: unset;
}
.main-title .note > div.title-en {
  height: 7rem;
}
.main-title .note > div.title-sentence {
  height: 13rem;
}

.main-title .note > div.title-sentence h2 {
  font-size: 3rem !important;
}

/* 1行表示 */
.g-menu > div{
  width: 100%;
}
.g-menu ul {
  width: 100%;
}
.g-menu ul li a {
  font-size: 0.9rem;
  height: 100%;
}

/* 3×2表示 */
.g-menu.sp-2row{
  transform: translateY(-50%);
}
.g-menu.sp-2row ul{
  display: flex;
  flex-wrap: wrap;
}
.g-menu.sp-2row ul li{
  flex: unset;
  width: calc(100% / 3);
}
.g-menu.sp-2row ul li{
  border-bottom: 1px solid #000000;
}
.g-menu.sp-2row ul li:nth-child(3n+1){
  border-left: none;
}

body:not(.dev-mb) .cms-public .block .heading h1 {
  text-align: center;
  font-size: 1.5rem !important;
}

.map_area > .div_tag {
  display: block;
}

.map-sentence,
.no-map-sentence {
  width: 100% !important;
  margin: 0px;
}
.shiga-map-area {
  width: 100% !important;
  margin: 10px 0px 30px;
}
body:not(.dev-mb) .cms-public .kita-head .heading,
body:not(.dev-mb) .cms-public .higashi-head .heading,
body:not(.dev-mb) .cms-public .minami-head .heading,
body:not(.dev-mb) .cms-public .nishi-head .heading {
  border-top: 1px solid #bfbfbf;
  border-bottom: 1px solid #bfbfbf;
}
body:not(.dev-mb) .cms-public .kita-head .heading h2,
body:not(.dev-mb) .cms-public .higashi-head .heading h2,
body:not(.dev-mb) .cms-public .minami-head .heading h2,
body:not(.dev-mb) .cms-public .nishi-head .heading h2 {
  font-size: 1.3rem;
  font-weight: bold;
  margin: 10px 0;
}
body:not(.dev-mb) .cms-public .kita-head .heading h2::before,
body:not(.dev-mb) .cms-public .higashi-head .heading h2::before,
body:not(.dev-mb) .cms-public .minami-head .heading h2::before,
body:not(.dev-mb) .cms-public .nishi-head .heading h2::before {
  transform: translate(-7rem, -50%);
  height: 60px;
}
#popupContent {
  max-width: 90%;
  padding: 15px 10px;
}
.popupClose {
  top: 15px;
}
#popupGrid {
  grid-template-columns: 1fr;
  grid-template-rows: unset;
}
.popup-image {
  grid-area: 2 / 1 / 3 / 2;
}
.popup-title {
  grid-area: 3 / 1 / 4 / 2;
}
.popup-description {
  grid-area: 4 / 1 / 5 / 2;
}
.popup-city {
  grid-area: 1 / 1 / 2 / 2;
}
.popup-links {
grid-area: 5 / 1 / 6 / 2;
}
#popupPrev,
#popupNext {
  top: 125px;
}
#popupPrev {

}
#popupNext {

}
#popupImage {
  max-width: 100%;
}
.popup-items > .div_tag {
  width: calc(100% - 20px);
  margin: 25px 10px;
}
.popup-items > .div_tag > div {
  width: calc((100% - 20px) / 2);
  margin: unset;
}
.popup-items > .div_tag figure a {
  display: flex;
  justify-content: center;
  box-sizing: border-box;
  width: calc(50vw - 20px);
  height: calc(50vw - 20px);
  overflow: hidden;
}
.popup-items > .div_tag figure a img{
  width: 100% !important;
  height: 100% !important;
}
.popup-links ul {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}
.popup-links ul li > a {
  text-align: center;
}

.side-contents > div > div:not(.side-bg-img) {
  width: calc(100% - 30px);
  margin: 0px 15px calc(-50px - 4rem + 40px);
  padding: 50px 25px 50px 25px !important;
  left: unset !important;
  right: unset !important;
  position: relative;
  top: calc(-50px - 4rem);
}
.side-contents .side-bg-img,
.side-contents .side-bg-img .image figure > div {
  position: relative;
  width: 100%;
  height: auto;
  min-height: 300px;
  max-height: 40vh;
}
body:not(.dev-mb) .cms-public .side-contents .heading h2{
  font-size: 1.5rem;
  text-align: center;
}
body:not(.dev-mb) .cms-public .side-contents .heading h2::after{
  width: 100%;
  left: 0px !important;
  background-size: 65px 60px;
}
.side-contents .list ul li{
  width: 100%;
}
.side-contents .list ul li a{
  width: 100%;
  word-break: break-all;
  text-align: center;
}
.side-contents .side-bg-img.img-rogo {
  width: 100%;
}
.side-contents > div > div.side-bg-img.img-rogo + div {
  position: unset;
  margin: 0px 15px;
}
.side-contents .side-bg-img.img-rogo,
.side-contents .side-bg-img.img-rogo .image figure > div {
  max-height: unset;
  min-height: unset;
}


/* 湖国の知恵袋 */
.area3.chiebukuro {
  background-size: auto 100%;
}
.cms-public .area3:not(.top-area3) > div.chiebukuro-title {
  display: flex;
}
body:not(.dev-mb) .cms-public .chiebukuro-title .image .image_listitem:nth-child(1) {
  display: none;
}
body:not(.dev-mb) .cms-public .chiebukuro-title .image .image_listitem:nth-child(2) {
  display: block;
}
.chiebukuro-contents .div_tag > div {
  width: 100%;
  min-height: unset;
}
.chiebukuro-contents {
  /* padding: 100px 10px; */
  padding: 10px;
}
