@charset "UTF-8";
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  overflow-x: hidden;
  font-family: "Noto Serif JP", serif;
}
body.top {
  color: #BFB1A3;
}
@media screen and (max-width: 1280px) {
	body {
		font-size: clamp(10px, 2.3vw, 12px);
	}
}
@media screen and (min-width: 620px) and (max-width: 1024px) {
	body {
		font-size: clamp(8px, 1.8vw, 16px);
	}
}
main {
  margin: 0;
  background: #BFB1A3;
}
.top main {
  background: initial;
}
a:hover {
  opacity: 0.7;
}
.top main > div {
  display: flex;
}
.top article {
  width: 40%;
  max-width: calc(765px - 100px);
  height: calc(81.56vh - 40px);
  background: #081A01;
  padding: 20px 50px;
}

.content {
  width: calc(80% - 74px);
  margin: 0 auto;
  padding-left: 74px;
  display: flex;
  align-items: flex-start;
}
.content .page-content {
  width: 100%;
  margin: 2em 0 50px;
}
.content-area .page-content {
  background: #081a01;
  padding: 15px;
}
.content-area .page-content > div {
  background: #fff;
  padding: 30px;
}
@media screen and (max-width: 768px) {
  .content {
    width: 90%;
    padding: 0;
    height: auto;
  }
  .content .page-content {
    margin: 0 0 50px;
  }
  .content-area .page-content {
    padding: 10px;
  }
  .content-area .page-content > div {
    padding: 15px;
  }
}

.top h1 {
  font-size: 2.4vw;
  margin: 30px 0;
  white-space: nowrap;
}
.top h2 {
  font-size: 1.45em;
}
.top h2 span {
  font-size: 0.6em;
  margin-left: 15px;
}

.top .fixed-right {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 99;
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  gap: 5px;
}
.top .fixed-right a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 20px;
  font-weight: bold;
  text-decoration: none;
  background: #000;
  color: #BFB1A3;
  padding: 10px 20px;
}

.top form {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px 25px;
  padding: 10px;
  background: #000;
  border-radius: 10px;
}
.top form > div {
  display: flex;
  align-items: center;
}
.top form input {
  width: calc(100% - 30px);
  padding: 5px 15px;
  background: #BFB1A3;
  border-radius: 5px;
  border: none;
}
.top form button {
  border: none;
  background: none;
  margin-left: 10px;
  cursor: pointer;
  transition: 0.3s;
}
.top form button:hover {
  opacity: 0.7;
}
.top form button i {
  color: #BFB1A3;
}
.top form p {
  margin: 0;
  font-size: 1.6em;
}
.top form p span {
  font-size: 0.6em;
}

.top nav {
  margin: 30px 0 50px;
}
.top .menu {
  padding: 0;
  list-style: none;
}
.top .menu li a {
  color: #BFB1A3;
  font-size: 2em;
  text-decoration: none;
  margin-bottom: 25px;
  border-bottom: 1px solid #BFB1A3;
  padding-bottom: 10px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  transition: transform 0.3s ease;
  position: relative;
}
.top .menu li a::after {
  content: "";
  position: absolute;
  transform: rotate(45deg);
  width: 10px;
  height: 1px;
  background: #BFB1A3;
  right: 0;
  bottom: 3px;
}
.top .menu li a:hover {
  transform: translateX(10px);
}
.top .menu li a span {
  font-size: 0.6em;
  margin-right: 20px;
}

.top .slider-container {
  width: 60%;
  position: relative;
}
.top .slider-content .slider-title {
  position: absolute;
  bottom: 20px;
  left: 20px;
  color: #fff;
  text-shadow: 2px 2px 2px #000;
  font-size: 1.7em;
  width: calc(100% - 220px);
  opacity: 0;
}
.top .slider-content.slick-active .slider-title {
  animation: fadeIn 2s ease forwards;
  animation-delay: 1s;
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.top .slick-slide img {
  width: 100%;
  height: 81.56vh;
  object-fit: cover;
}
.top .news-list {
  padding: 0;
  list-style: none;
}
.top .news-list li {
  border-top: 1px solid #BFB1A3;
}
.top .news-list li:last-child {
  border-bottom: 1px solid #BFB1A3;
}
.top .news-list a {
  color: #BFB1A3;
  font-size: 0.8em;
  display: flex;
  gap: 20px;
  text-decoration: none;
  padding: 8px 10px;
}
.top .news-list p {
  margin: 0;
}

.firm {
  width: 100%;
  background: #111;
  position: fixed;
  bottom: 0;
  z-index: 99;
}
.firm .slick-track {
  height: 18.44vh;
}
.firm .slick-track::before,
.firm .slick-track::after {
  content: "";
  background-image: repeating-linear-gradient(90deg, white, white 8px, transparent 8px, transparent 15px);
  position: absolute;
  background-color: #111;
  width: 100%;
  height: 5px;
  z-index: 1;
}
.firm .slick-track::before {
  top: 5px;
}
.firm .slick-track::after {
  bottom: 5px;
}
.firm .slick-slide {
  height: auto;
}
.frame {
  position: relative;
  padding: 15px 5px;
  background: #111;
}
.firm .frame img {
  width: 100%;
  height: calc(18.44vh - 30px);
  object-fit: cover;
  vertical-align: top;
}

#guideModal.modal {
  width: min(410px, 60%);
  height: auto;
  top: 3.2em;
  left: initial;
  right: 9.5em;
  background: #000;
}
.modal-content {
  width: 80%;
  margin: 70px auto 0;
}
.modal-content .close {
  position: absolute;
  right: 10px;
  top: 10px;
  font-size: 3em;
  line-height: 1em;
  cursor: pointer;
}
.modal-content ul {
  padding: 0;
  list-style: none;
  text-align: center;
}
.modal-content ul li a {
  color: #000;
  font-size: 1.5em;
  text-decoration: none;
  padding: 5px 15px;
  display: block;
  border-radius: 6px;
  margin-bottom: 10px;
  background: #BFB1A3;
}

.valuable-pictures-btn {
  position: fixed;
  z-index: 99;
  bottom: 20vh;
  right: 30px;
  width: 9em;
  height: 9em;
  border-radius: 50%;
  background: #000;
  box-shadow: 0 0 20px 4px #fff;
  animation: scale1 3s ease-in-out infinite;
}
.valuable-pictures-btn a {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  color: #BFB1A3;
  text-decoration: none;
  font-size: 2.2em;
  line-height: 1.1em;
  font-weight: bold;
  text-align: center;
}
.valuable-pictures-btn a span {
  font-size: 1.7em;
  letter-spacing: 0;
}
.catch-column {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 7px;
  margin: 30px 0;
}
.catch-column h2 {
  margin: 0;
}
.catch-column h2 a {
  display: block;
  background: #000;
  color: #BFB1A3;
  border-radius: 5px;
  text-align: center;
  text-decoration: none;
}
.catch-column h2 a i {
  margin-right: 10px;
}
@keyframes scale1 {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.02);
  }
  100% {
    transform: scale(1);
  }
}
@media screen and (max-width: 1700px) and (min-width: 1025px) {
  .catch-column {
    grid-template-columns: 1fr;
  }
}
@media screen and (max-width: 1280px) {
  .top h1 {
    font-size: 2.3vw;
  }
  #guideModal.modal {
    top: 4.3em;
    right: 12.7em;
  }
  .modal-content {
    margin-top: 50px;
  }
  .top .slider-content .slider-title {
    width: calc(100% - 180px);
  }
}
@media screen and (min-width: 1025px) {
  .top article {
    overflow-y: scroll;
    scrollbar-color: #bfb1a361 #081A01;
    scrollbar-width: thin;
  }
}
@media screen and (max-width: 1024px) {
  body.top {
    color: #f9f9f9;
  }
  .top main {
    position: initial;
    margin: 14vh 0 150px;
  }
  .top main > div {
    display: block;
  }
  .top article {
    width: 100%;
    max-width: min(850px, 80%);
    position: initial;
    transform: initial;
    height: auto;
    background: none;
    padding: 0;
    margin: 0 auto;
  }
  .top nav {
    margin: 30px 0;
  }
  .top .news {
    width: calc(100% - 20px);
    padding: 10px;
    border-radius: 10px;
    position: initial;
    transform: initial;
    margin: 50px auto 0;
    background: #000000a6;
    display: flex;
    align-items: center;
    gap: 1vw 4vw;
    flex-wrap: wrap;
  }
  .top .slider-container {
    width: 100%;
    filter: brightness(0.5);
    position: fixed;
    top: 0;
    left: 0;
    z-index: -1;
  }
  .top .slider-content .slider-title {
    text-align: center;
    width: 90%;
    bottom: 20vh;
    left: 50%;
    transform: translate(-50%, 0);
  }
  @keyframes fadeIn {
    from {
      opacity: 0;
      transform: translate(-50%, 20px);
    }
    to {
      opacity: 1;
      transform: translate(-50%, 0);
    }
  }
  /* .top .slider-container::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    width: 100%;
    height: 100%;
    background-color: rgb(4 56 4 / 54%);
    mix-blend-mode: multiply;
  } */
  .top .slick-slide img {
    height: calc(100vh - 50px);
  }
  .top .language a,
  .top .guide a,
  .top .fx-about a {
    font-size: 1em;
    padding: 5px 10px;
  }
  .top h1 {
    font-size: 5.6vw;
    margin: 0;
    text-align: center;
  }
  .top h2 {
    font-size: 2em;
    margin: 0;
  }
  .top form {
    padding: 10px;
  }
  .top form input {
    height: 1.7em;
    font-size: 1.5em;
    padding: 2px 10px;
  }
  .top form button i {
    font-size: 1.2em;
  }
  .top form > div {
    width: max(300px, 60%);
  }
  .top form p {
    font-size: 2em;
    margin: 0;
  }
  .top form p span {
    display: none;
  }
  .top .menu li a {
    color: #f9f9f9;
    border-color: #f9f9f9;
    font-size: 3em;
    margin-bottom: 15px;
  }
  .top .news h2 {
    padding-bottom: 5px;
    border-bottom: 1px solid #555;
    width: 100%;
  }
  .top .news-list {
    margin: 0;
  }
  .top .news-list li,
  .top .news-list li:last-child {
    border: none;
  }
  .top .news-list a {
    color: #f9f9f9;
    font-size: 1.2em;
    gap: 2px 20px;
    align-items: center;
    padding: 0;
    margin-top: 3px;
    flex-wrap: wrap;
  }
  .top .fixed-right a {
    font-size: 1.5em;
    font-weight: bold;
    text-decoration: none;
    background: #000;
    color: #fff;
    padding: 8px 15px;
  }

  .firm .slick-track {
    height: calc(100px + 24px);
  }
  .firm .slick-track::before,
  .firm .slick-track::after {
    background-image: repeating-linear-gradient(90deg, white, white 7px, transparent 7px, transparent 14px);
    height: 4px;
  }
  .firm .slick-track::before {
    top: 4px;
  }
  .firm .slick-track::after {
    bottom: 4px;
  }
  .frame {
    padding: 12px 3px;
  }
  .firm .frame img {
    height: 100px;
  }
  #guideModal.modal {
    top: 3.7em;
    right: 10.1em;
  }
  .modal-content ul li a {
    font-size: 1.4em;
  }
  .valuable-pictures-btn {
    bottom: 5px;
    right: 5px;
    z-index: 999;
    box-shadow: 0 0 10px 1px #fff;
  }
  .valuable-pictures-btn a {
    color: #f9f9f9;
  }
  .catch-column {
    margin: 4vh 0;
  }
  .catch-column h2 a {
    color: #f9f9f9;
  }
  .catch-column h2 a i {
    margin-right: 5px;
  }
}
@media screen and (max-width: 980px) and (min-width: 769px) {
  .catch-column {
    grid-template-columns: 1fr;
  }
}
@media screen and (max-width: 768px) {
  .top h2 {
    font-size: 1.6em;
  }
  .top form p {
    font-size: 1.7em;
  }
  .top form input {
    height: 1.5em;
    font-size: 1.3em;
  }
  .top .menu li a {
    font-size: 2.4em;
  }
  .top .language a,
  .top .guide a,
  .top .fx-about a {
    font-size: 1.2em;
  }
  #guideModal.modal {
    right: 8em;
  }
  .modal-content {
    margin-top: 3.5em;
  }
  .modal-content ul li a {
    border-radius: 3px;
    margin-bottom: 7px;
  }
  .modal-content .close {
    font-size: 2em;
  }
}
@media screen and (max-width: 600px) {
  .catch-column {
    grid-template-columns: 1fr;
  }
}
@media screen and (max-width: 414px) {
  .firm .slick-track {
    height: calc(70px + 24px);
  }
  .firm .frame img {
    height: 70px;
  }
  #guideModal.modal {
    width: max(250px, 70%);
    right: 50%;
    transform: translateX(50%);
  }
}
@media screen and (max-width: 360px) {
  .top .catch-column h2 {
    font-size: clamp(1.2em, 4vw, 1.5em);
  }
  .top form p {
    font-size: clamp(1.2em, 5vw, 1.7em);
  }
  .top .menu li a {
    font-size: clamp(1.2em, 6vw, 2.4em);
  }
}

/* ロード画面 */
#loading-screen {
  position: fixed;
  width: 100%;
  height: 100vh;
  top: 0;
  left: 0;
  z-index: 999999;
  background: #BFB1A3;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}
.loading-title {
  text-align: center;
  font-size: min(50px, 7.5vw);
  color: #081A01;
  font-weight: bold;
}
.clock {
  width: 50px;
  height: 50px;
  clear: both;
  margin: 10px auto;
  border: 1px #081A01 solid;
  border-radius: 50%;
  position: relative;
}
.clock:before {
  content: "";
  border-left: 1px #081A01 solid;
  position: absolute;
  top: 4px;
  left: 50%;
  width: 1px;
  height: calc(50% - 4px);
  -webkit-transform: rotate(0deg);
  transform: rotate(0deg);
  -ms-transform-origin: 0% 100%;
  -webkit-transform-origin: 0% 100%;
  transform-origin: 0% 100%;
  -webkit-animation: Clock 1s infinite linear;
  animation: Clock 1s infinite linear;
}
.year-display {
  font-size: min(50px, 10vw);
  color: #081A01;
  line-height: 1em;
  height: 1em;
}
.loading-text {
  color: #081A01;
  font-size: min(16px, 4vw);
  margin: 0;
  -webkit-animation: Opacity 1s infinite ease;
  animation: Opacity 1s infinite ease;
}
@keyframes Clock {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(359deg);
  }
}
@keyframes Opacity {
  0% {
    opacity: 0.3;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0.3;
  }
}


/* ==========================================
          共通パーツ（固定ページ）
==========================================*/
.page h2, .page h3, .page h4, .page h5,
.page p, .page li, .page td {
  color: #222;
}
.page td {
  border: 1px solid #222;
}
.content-area ul {
  padding-left: 20px;
}
@media screen and (min-width: 1025px) {
  .page ruby rt {
    font-size: 0.3em;
  }
}
@media screen and (max-width: 1024px) {
  .page-content h2 {
    font-size: 1.8em;
  }
  .page-content p,
  .page-content li,
  .page-content td {
    font-size: 1.2em;
  }
}
@media screen and (max-width: 768px) {
  .page-content h2 {
    font-size: 1.5em;
  }
}
@media screen and (max-width: 440px) {
  .page #page_header h1 {
    font-size: 6.2vw;
    line-height: 38px;
  }
  .p-what-is-kenrokuen-garden #page_header h1 {
    font-size: 5.2vw;
  }
}


/* ==========================================
      map.php（新バージョン leaflet.js） 
==========================================*/
#page_header {
  width: 74px;
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 99999;
}
#page_header h1 {
  position: fixed;
  top: 5px;
  left: 88px;
  margin: 0;
  background: #081a01e8;
  color: #BFB1A3;
  padding: 10px 20px;
}
.hamburger-menu {
  position: absolute;
  z-index: 999;
}
.sp-menu-container {
  position: absolute;
  top: 0;
  width: 74px;
  height: calc(100vh - 100px);
  padding-top: 100px;
  background: #081a01e8;
  box-shadow: 0 0 10px #555;
}
.sp-menu-container > div {
  visibility: hidden;
}
.sp-menu-container > div > .menu-menu-1-container > .menu {
  display: block;
  width: 100%;
  padding: 0;
  list-style: none;
}
.sp-menu-container > div > .menu-menu-1-container > .menu > .menu-item {
  text-align: left;
}
.sp-menu-container a {
  color: #BFB1A3;
  text-decoration: none;
}
.sp-menu-container > div > .menu-menu-1-container > .menu > .menu-item > a {
  display: block;
  padding: 3px 0 3px 20px;
  font-size: 18px;
  text-decoration: none;
}
.hamburger {
  position: relative;
  z-index: 1;
  margin-top: -66px;
  margin-left: 7px;
  width: 28px;
  height: 44px;
  padding: 8px 16px;
  border-radius: 0 0.12em 0.12em 0;
  cursor: pointer;
  transition: box-shadow 0.4s ease;
  backface-visibility: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: initial;
}
.hamburger > div {
  position: relative;
  flex: none;
  width: 100%;
  height: 2px;
  background: #BFB1A3;
  transition: all 0.4s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hamburger > div::before, .hamburger > div::after {
  content: "";
  position: absolute;
  z-index: 1;
  top: -10px;
  left: 0;
  width: 100%;
  height: 2px;
  background: inherit;
  transition: all 0.4s ease;
}
.hamburger > div::after {
  top: 10px;
}
.checkbox-toggle {
  position: relative;
  z-index: 2;
  cursor: pointer;
  width: 60px;
  height: 60px;
  margin: 7px;
  opacity: 0;
}
.checkbox-toggle:checked + .hamburger > div {
  transform: rotate(-45deg);
}
.checkbox-toggle:checked + .hamburger > div:before, .checkbox-toggle:checked + .hamburger > div:after {
  top: 0;
  transform: rotate(90deg);
}
.checkbox-toggle:checked + .hamburger > div:after {
  opacity: 0;
}
.checkbox-toggle:checked ~ .sp-menu-container {
  width: 240px;
}
.checkbox-toggle:checked ~ .sp-menu-container > div {
  visibility: visible;
}

#map .leaflet-top {
  top: inherit;
  left: inherit;
  position: fixed;
  bottom: 80px;
  right: 20px;
}
#map.leaflet-container {
  width:100%;
  height:100vh;
  background: #BFB1A3;
}
#map .leaflet-popup {
  margin: 0;
}
@media screen and (max-width: 768px) {
  #page_header {
    width: 95%;
    height: 55px;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    background: initial;
  }
  #page_header h1 {
    top: 0;
    left: 10px;
    font-size: 24px;
    z-index: 99999;
    padding-left: 10px;
    padding-right: 0;
    background: initial;
  }
  .sp-menu-container {
    width: 100%;
    height: 55px;
    padding-top: 0px;
    border-radius: 12px;
  }
  .hamburger-menu {
    width: 100%;
  }
  .hamburger {
    position: absolute;
    right: 0;
    margin: 0;
    width: 23px;
    height: 39px;
  }
  .checkbox-toggle {
    position: absolute;
    right: 0;
    margin: 0px;
    width: 55px;
    height: 55px;
  }
  .checkbox-toggle:checked ~ .sp-menu-container {
    padding-top: 70px;
    width: 100%;
    height: auto;
  }
  .checkbox-toggle:checked ~ .sp-menu-container::after {
    content: none;
  }
  .sp-menu-container > div > .menu-menu-1-container > .menu {
    margin: 5px 0 10px;
  }
}
#page_header > div {
  display: none;
}
.current-location-pin {
  width: 2em;
  height: 2em;
  background-color: rgba(35, 64, 161, 0.15);
  border: 1px solid rgba(35, 64, 161, 0.05);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  animation: fadeInOut 2s infinite;
  transition: width 0.2s ease, height 0.2s ease; /* サイズ変更をスムーズに */
}
.current-location-pin2 {
  width: 2em;
  height: 2em;
  background-color: rgba(126, 15, 15, 0.15);
  border: 1px solid rgba(126, 15, 15, 0.15);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  z-index: 99 !important;
  animation: fadeInOut 2s infinite;
  transition: width 0.2s ease, height 0.2s ease;
}
.current-location-pin::before {
  content: "";
  width: 12px;
  height: 12px;
  background-color: rgb(35, 64, 161);
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: -1;
  transform: translate(-50%, -50%);
}
.current-location-pin2::before {
  content: "";
  width: 1.8em;
  height: 1.8em;
  background-color: rgb(126, 15, 15);
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: -1;
  transform: translate(-50%, -50%);
}
.current-location-pin::after {
  content: "";
  width: 16px;
  height: 16px;
  background-color: #fff;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: -2;
  transform: translate(-50%, -50%);
}
.current-location-pin2::after {
  content: "";
  width: 2.4em;
  height: 2.4em;
  background-color: #fff;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: -2;
  transform: translate(-50%, -50%);
}
@keyframes fadeInOut {
  0%, 100% {
    opacity: 1; /* 透過率100% */
  }
  50% {
    opacity: 0.8; /* 透過率80% */
  }
}
/* 右下のボタンのスタイル */
#update-location-btn {
  position: fixed;
  bottom: 30px;
  right: 20px;
  z-index: 1000;
  padding: 10px 20px;
  background-color: #007BFF;
  color: white;
  border: none;
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  font-size: 14px;
}
#update-location-btn:hover {
  background-color: #0056b3;
}
/* モーダル背景 */
.modal {
  display: none; /* 初期状態は非表示 */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  justify-content: center;
  align-items: center;
  z-index: 99999;
}

/* モーダル内の画像 */
.modal img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 5px;
}

/* モーダルを閉じるボタン */
.modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  color: white;
  font-size: 40px;
  line-height: 40px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: rgba(255, 255, 255, 0.3);
  padding: 4.5px 14px;
}
.modal-close span {
  font-size: 0.35em;
  line-height: 1.5em;
}


/* ==========================================
                分類から検索 
==========================================*/
.search-by-classification {
  width: calc(90% - 74px);
}
.category-list {
  margin: 0;
  width: min(1200px, 100%);
  margin: 0 auto;
}
.category-list .wp-block-column.is-layout-flow.wp-block-column-is-layout-flow {
  position: relative;
}
@media screen and (max-width: 1280px) {
  .category-list .wp-block-column.is-layout-flow.wp-block-column-is-layout-flow {
    flex-grow: 1;
  }
}
@media screen and (max-width: 768px) {
  .search-by-classification {
    width: 95%;
  }
  .category-list .wp-block-column.is-layout-flow.wp-block-column-is-layout-flow {
    width: 100%;
    max-width: 400px;
  }
}
.category-list .wp-block-column.is-layout-flow.wp-block-column-is-layout-flow figure {
  overflow: hidden;
  margin: 0;
}
.category-list .wp-block-column.is-layout-flow.wp-block-column-is-layout-flow figure img {
  transition: 0.3s ease;
  width: 100%;
  max-width: 400px;
  filter: brightness(0.3);
}
.category-list .wp-block-column.is-layout-flow.wp-block-column-is-layout-flow:hover figure img {
  transform: scale(1.1);
  filter: brightness(0.8);
}
.category-list h3 {
  margin: 0;
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
}
.category-list h3 a {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  color: #f9f9f9;
  font-size: 2em;
}

@media screen and (max-width: 768px) {
  .category-list h3 a {
    font-size: 4.5vw;
  }
}
@media screen and (max-width: 525px) {
  .search-by-classification .wp-container-core-group-is-layout-1 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .category-list h3 a {
    font-size: 6.5vw;
  }
}


/* ==========================================
                兼六園とは
==========================================*/
.p-what-is-kenrokuen-garden h2 {
  font-size: clamp(24px, 3vw, 55px);
  margin-bottom: clamp(30px, 7vw, 100px);
}
.about-slider > div {
  margin-bottom: clamp(30px, 7vw, 100px);
}
.about-slider .about-img {
  z-index: 1;
}
.about-content {
  position: relative;
}
.about-content::before {
  content: "";
  display: block;
  width: clamp(250px, 35vw, 500px);
  height: clamp(250px, 35vw, 500px);
  background: rgba(255,255,255,0.05);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  z-index: 0;
}
.about-content h3 {
  font-size: clamp(18px, 1.8vw, 32px);
  position: relative;
  z-index: 1;
}
.about-content p {
  font-size: clamp(14px, 1.5vw, 24px);
  position: relative;
  z-index: 1;
}
#chu1 {
  border: 4px double #222;
  padding: 15px 30px;
}
#chu1 p {
  font-size: clamp(14px, 1.5vw, 24px);
}
.chu-1-more-btn {
  margin-top: 20px;
}
.chu-1-more-btn a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  background: #222;
  border: 1px solid #222;
  color: #fff;
  padding: 10px 20px;
  text-decoration: none;
  transition: 0.3s ease;
}
.chu-1-more-btn a::after {
  content: "\f08e";
  font-family: "Font Awesome 5 Free";
  font-weight: 600;
  font-size: 0.7em;
}
.chu-1-more-btn a:hover {
  opacity: 1;
  background: transparent;
  color: #222;
}
.chu-1-more-btn span {
  font-size: 0.8em;
}
@media screen and (max-width: 768px) {
  .about-slider > div:nth-child(2n) {
    flex-direction: column-reverse;
  }
  #chu1 {
    padding: 10px;
  }
  .chu-1-more-btn {
    text-align: center;
  }
}


/* ==========================================
            当ウェブサイトについて
==========================================*/
.p-about-our-website .contact {
  border-top: 1px solid #222;
  margin-top: 80px;
  padding-top: 10px;
}


/* ==========================================
                  お知らせ 
==========================================*/
.archive-news .news-list {
  padding: 0;
  list-style: none;
}
.archive-news .news-list li a {
  padding: 10px;
  margin-bottom: 10px;
  background: #f9f9f9;
  display: flex;
  align-items: center;
  gap: 25px;
  text-decoration: none;
  color: #333;
}
.archive-news .news-list li a p {
  margin: 0;
}
.archive-news .news-list li a .date {
  background: #081a01;
  color: #BFB1A3;
  padding: 3px 8px 5px;
}
.single-news .single-title {
  margin-bottom: 50px;
}
.single-news .date {
  margin: 5px 0;
}
.single-news h2 {
  margin: 0;
}
.single-news .prev_next_post {
  display: flex;
  gap: 30px;
  justify-content: center;
  align-items: center;
  margin-top: 50px;
}
.single-news .prev_next_post a {
  color: #081a01;
  text-decoration: none;
}

.pagination {
  margin-top: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}
.pagination > * {
  padding: 3px 14px;
  display: inline-block;
}
.pagination > span {
  background: #081a01;
  color: #fff;
}
.pagination > a {
  background: #f5f5f5;
  text-decoration: none;
  transition: 0.3s ease;
}
.pagination > a:hover {
  background: #081a01;
  color: #fff;
}


/* ==========================================
                404ページ
==========================================*/
.content.error404 {
  padding-left: 100px;
  width: calc(100% - 100px);
}
.error404 .page-content {
  margin-top: 6em;
}
@media screen and (max-width: 768px) {
  .content.error404 {
    padding-left: 0;
    width: 90%;
  }
  .error404 .page-content {
    margin-top: 80px;
  }
}


/* ==========================================
                パンくずリスト
==========================================*/
.aioseo-breadcrumbs {
  padding: 6em 0 0 100px;
}
.aioseo-breadcrumbs span {
  margin-right: 8px;
  color: #333;
}
.aioseo-breadcrumbs a {
  color: #333;
  text-decoration: none;
}
.single .aioseo-breadcrumbs span:nth-child(4),
.single .aioseo-breadcrumbs span:nth-child(5) {
  display: none;
}
@media screen and (max-width: 768px) {
  main .aioseo-breadcrumbs {
    width: 90%;
    margin: 0px auto 20px;
    padding: 85px 0 0 0;
  }
  .aioseo-breadcrumbs span {
    font-size: 12px;
  }
}


.pc-menu {
  display: block;
}
.sp-menu {
  display: none;
}
@media screen and (max-width: 768px) {
  .pc-menu {
    display: none;
  }
  .sp-menu {
    display: block;
  }
}

