@font-face {
	font-family: "1";
	src: url(../font/1.woff);
}
@font-face {
  font-family: "2";
  src: url(../font/2.woff);
}
@font-face {
  font-family: "menu";
  src: url(../font/menu.woff);
}
@font-face {
  font-family: "guanzhu";
  src: url(../font/guanzhu.woff);
}
@font-face {
  font-family: "fade";
  src: url(../font/fade.woff);
}
@font-face {
  font-family: "chong";
  src: url(../font/chong.woff);
}
@font-face {
  font-family: "hong";
  src: url(../font/hong.woff);
}
/* .grid-containertopimg {
  text-align: center;
}

.grid-containertopimg img {
  width: 100%; /* 将宽度设置为100%以水平拉伸至两边 */
/*   height: auto; /* 自适应高度 */
/*   display: block; /* 将图片转换为块级元素，以消除行内元素间隙 */
/* } */

.grid-containertopimg {
  display: flex;
  align-items: center;
  /*flex-direction: column; /* 在小屏幕上切换为纵向布局 */  
}

.grid-containertopimg img {
  width: 20%;
  height: auto;
  display: block;
  border-radius: 20px; /* 圆角设置，根据需要调整值 */

}

.grid-containertopimg .overlay-text {
  flex: 1;
  font-family:'1',"fade","chong";
	letter-spacing:0.15em;
  color: #281a14;
  margin: 15px 15px 35px;
  font-size: 18px;
  max-width: 70%;
  line-height: 1.4;
}

@media only screen and (max-width: 768px) {
  .grid-containertopimg {
    flex-direction: column; /* 在小屏幕上切换为纵向布局 */
  }

  .grid-containertopimg img {
    width: 100%;
    margin-bottom: 0px; /* 调整图片和文字的间距 */
  }

  .grid-containertopimg .overlay-text {
    max-width: 100%;
  }
}


/*HXD*/
/* HXD */
/* HXD */
.logo-container {
  text-align: center;
  padding: 10px 30px 0px; /* 调整你想要的 padding 大小 */
  /*font-family:'NaiYou3ade26918e257af';*/
  font-size: 58px;
  color: #281a14;/*棕色*/
}

.logo-container img {
  width: 100%; /* 使图片占据整个容器的宽度 */
  height: 100%;
  object-fit: contain; /* 或者 object-fit: cover; */
  border-radius: 0px; /* 调整圆角的大小 */
  display: inline-block; /* 使图像表现为内联块级元素，以便居中 */
}


/* 在小屏幕上调整图片大小 */
@media only screen and (max-width: 768px) {
  .logo-container img {
    max-width: 50%; /* 根据需要调整图片的最大宽度 */
  }
}


body {
  background: url('../pic/bgpp.jpg') repeat;
  /*background-size: cover;*/ /* 添加分号 */
  display: flex;
  margin: 0;
  padding: 0;
  width: 100%;
}

/*

body {
  /* background: linear-gradient(to bottom, #ccc, #999);*/
  /* background: #f0f0f0; /* 淡灰色背景 */
  /*background: url('../pic/bgpp.jpg') no-repeat;
  /* background-size: cover; 使用cover值，确保背景图覆盖整个容器 */
  /*background-size: 100% 100%;
  margin: 0;
  min-height: 100vh; /* 使用min-height，确保body至少与视口一样高 */
  /*display: flex;
  flex-direction: column;
}
*/
#maxwidth {
  flex: 1; /* 子元素占据剩余空间 */
  display: flex;
  flex-wrap: wrap;
}


.pet-farewell {
  text-align: left; /* 将 "宠物告别" 部分左对齐 */
  margin-left: 30px; /* 设置左侧外边距 */
  margin-right: 30px; /* 设置左侧外边距 */
  margin-top: 10px; /* 调整 "宠物告别" 下方的间距，根据需要调整值 */
  margin-bottom: 10px; /* 调整 "宠物告别" 下方的间距，根据需要调整值 */
  display: flex; /* 使用 Flex 布局 */
  color: ##281a14;
  /*background-color: #a2d7dd;*/
  width: fit-content; /* 让宽度适应内容长度 */
  border-radius: 0px;
  align-items: center; /* 让元素内文本垂直居中 */
  justify-content: center; /* 让文本水平居中 */
  padding: 0px 0px 1px ;
}
.pet-farewell p {
  margin-top: 5; /* 清除 <p> 元素的默认上边距 */
  margin-bottom: 5; /* 清除 <p> 元素的默认上边距 */
}

.pet-farewell + p {
  margin-top: 5; /* 清除段落的上边距 */
}

.pet-content p {
  margin-top: 0;
}


@media only screen and (max-width: 768px) {
  #pet-farewell {
    font-size: 30px; /* 根据需要调整字体大小 */
  }
  #pet-farewell p {
    font-size: 10px; /* 根据需要调整段落字体大小 */
    margin: 0px 0; /* 根据需要调整段落的上下外边距 */
  }
}


.grid-containertopimg {
  flex: 0 0 100%;
}

.pet-section {
  flex: 0 0 calc(100% - 20px); /* 一行2列，间距为20px */
  margin-right: 20px;

}

.pet-content {
  display: flex;
  flex-direction: row; /* 设置为横向布局 */
  align-items: center; /* 在纵向方向上居中对齐 */
}

.pet-content p {
  flex: 1; /* 让 <p> 占据剩余的空间 */
}

.side-image {
  width: 20%; /* 根据需要调整图片宽度 */
  margin-left: 20px; /* 添加左侧间距，根据需要调整值 */
  border-radius: 20px; /* 圆角设置，根据需要调整值 */
}

@media only screen and (max-width: 768px) {
  .pet-section {
    flex: 0 0 100%; /* 在小屏幕上，一列占满整行 */
    margin-right: 0;
  }
  h3 {
    font-family:'TsukuARdGothic-Regular',sans-serif;
    font-family:cursive, Noto Sans CJK, PingFang SC, Lantinghei SC, Microsoft YaHei, sans-serifcursive;
    letter-spacing:0.1em;
    color: black;
    font-size: 16px;
    margin-bottom: 5px; /* 下边距仍保持30px */
  }
}

/*icons*/
.social-icons-parent-container {
  /* 设置父容器的宽度 */
  max-width: 800px; /* 根据需要调整值 */
  margin: 60px auto; /* 左右居中 */

}

.social-icons {
  font-family: "guanzhu";
  font-size: 30px;
  text-align: center;
  /*background-color: #fdeff2;*/
  border-radius: 16px; /* 圆角设置，根据需要调整值 */
  width: 100%; /* 添加这行以使容器横向占满一行 */
}

.social-icons img {
  display: inline-block;
  margin: 5px;
  width: 40px; /* 设置图标的宽度 */
  height: 40px; /* 设置图标的高度 */
}


/* 移动设备样式 */
@media only screen and (max-width: 767px) {
  .social-icons-parent-container {
    max-width: 320px;
  }
}

/*hana*/
.petals {
  position: relative;
  pointer-events: none;
  animation: fall 10s linear infinite;
}

.petal {
  position: absolute;
  width: 12px;
  height: 24px;
  background: linear-gradient(to bottom, #f4b3c2, rgba(255, 204, 220, 0.3));
  border-radius: 50%;
  box-shadow: 0 0 5px rgba(255, 204, 220, 1);
}

@keyframes fall {
  from {
    transform: translateY(-80vh) rotate(10deg);
    opacity: 1; /* 初始透明度为 1 */
  }
  to {
    transform: translateY(100vh) rotate(60deg);
    opacity: 0.7; /* 初始透明度为 1 */
  }
}

/*hana*/

/*topbtn*/
#backToTopBtn {
    position: fixed;
    top: 84%;
    right: 30px;
    background-color: #d3a243;/*黄色*/
    color: #fff;
    border: none;
    border-radius: 10px; /* 更大的圆角 */
    padding: 10px; /* 更大的内边距 */
    font-size: 20px; /* 更大的字体大小 */
    cursor: pointer;
    width: 50px; /* 等宽 */
    height: 60px; /* 等高 */
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1; /* 提高堆叠顺序 */
    box-shadow: 3px 3px 4px rgba(0, 0, 0, 0.3); /* 阴影属性 */
}
#backToTopBtn b {
    color: white; /* 设置表情符号的颜色为红色 */
  }

#backToTopBtn:hover {
    background-color: #d3a243; /* 鼠标悬停时更深的蓝色 */
}

/* 当用户滚动距离超过20px时显示按钮 */
body {
    scroll-behavior: smooth; /* 平滑滚动效果 */
}

/* 滚动时添加类以显示按钮 */
.show-btn {
    display: block !important;
}

/* 移动端样式调整 */
@media screen and (max-width: 767px) {
    #backToTopBtn {
        display: block !important;
    }
}


.center b {
	font-size: 30px; /* 更大的字体大小 */
	margin: 30px 10px 0px;
  display: block; /* 使 <b> 元素变成块级元素 */
}


/*menu-pet*/

/* styles.css */

.toggle-btn {
  display: block;
  position: fixed;
  top: 72%;
  right: 30px;
  cursor: pointer;
  z-index: 1; /* 提高堆叠顺序 */
  background-color: #769164;/*绿色*/
  border-radius: 10px;
  padding: 10px;
  width: 30px; /* 等宽 */
  height: 40px; /* 等高 */
  box-shadow: 3px 3px 4px rgba(0, 0, 0, 0.3); /* 阴影属性 */
}

.toggle-btn span {
  display: block;
  width: 100%; /* 使 span 宽度为按钮宽度的 70% */
  height: 5px;
  background-color: white;
  margin: 6px 0;
  transition: background-color 0.3s ease-in-out;
  border-radius: 20px;

}

.toggle-btn:hover span {
  background-color: #fff;
}

.navbar {
  position: fixed;
  top: 0%; /* 设置顶端在视窗高度的10% */
  bottom: 0%; /* 设置底端在视窗高度的90% */
  height: 100%; /* 设置高度为视窗高度的80% */
  right: -200px;
  width: auto; /* 设置为 auto，以便根据内容调整宽度 */
  min-width: 120px; /* 设置最小宽度，确保至少能容纳一个链接元素 */
  background-color:  #769164;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: right 0.3s ease-in-out;
  z-index: 1;
  border-radius: 20px;

}

.navbar a {
  display: block;
  padding: 8px;
  text-decoration: none;
  color: #fff;
  transition: background-color 0.3s ease-in-out;
  box-sizing: border-box;
  border-radius: 10px;
  position: relative;
  top: -7%; /* 调整相对位置，根据需要修改值 */
  font-family: 'menu';
  font-size: 24px;
}

.navbar a:hover {
  background-color: ##3f312b;
}


.close-btn {
  position: absolute;
  bottom: 5%;
  right: 50%;
  transform: translateX(50%);
  background-color: #e74c3c;
  color: #fff;
  padding: 10px 12px;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease-in-out;
  border-radius: 10px;
  font-size: 25px;
}

.close-btn:hover {
  background-color: #c0392b;
}


/*map*/
#map {
  height: 350px;
  width: auto;
  display: block;
  margin: 30px 40px;
}


/*map maker*/
.custom-content-marker {
  position: relative;
  width: 118px;
  height: 40px;
  top: 35px;
  right: 42px;
  z-index: 2; /* 提高堆叠顺序 */
}

.custom-content-marker img {
  width: 98%;
  height: 98%;
}


.all-pet-contents {
  background-color: rgba(63, 49, 43, 0); /* 使用 rgba 设置透明度为 0.8 */
  border-radius: 20px;
}


.about {
  flex: 1;
  font-family: '2';
  letter-spacing: 0.15em;
  color: #281a14;
  margin: 40px auto 5px; /* 设置左右 margin 为 auto */
  font-size: 18px;
  max-width: 70%;
  line-height: 1.4;
  display: flex; /* 使用 flex 布局 */
  align-items: center; /* 让元素内文本垂直居中 */
  justify-content: center; /* 让文本水平居中 */
  text-align: left;
  width: auto;
  flex-direction: row; /* 水平排列 */
}

.about img {
  width: 20%; /* 设置图片宽度为父容器宽度的40% */
  height: auto; /* 保持纵横比 */
  border-radius: 20px; /* 设置圆角边框 */
  margin: 10px 20px 30px;
}
/* 媒体查询，屏幕宽度小于某个值时应用不同的样式 */
@media (max-width: 768px) {
  .about img {
    width: 50%; /* 在移动端适度调整图片大小 */
    border-radius: 40px; /* 设置圆角边框 */
    flex-direction: column; /* 垂直排列 */
  }
}
@media (max-width: 768px) {
  .about {
    flex-direction: column; /* 垂直排列 */
  }
}


table {
      width: 100%;
      border-collapse: collapse;
      margin-top: 20px;
      font-size: 18px;
    }

    th, td {
      border: 1px solid #ddd;
      padding: 8px;
      text-align: left;
      text-align: center; /* 居中文本 */
    }

    th {
      background-color: #769164;
    }


search-mark {
  background-color: yellow;
  color: black;
}

.search-box {
  width: 100%; /* 或者设置一个具体的宽度，根据设计需求 */
  margin: 0px;
  text-align: center;
  padding: 0px; /* 调整左右边距 */
  box-sizing: border-box;
  display: flex; /* 使用 Flex 布局 */
  align-items: center; /* 垂直居中 */
}

input[type="text"] {
  flex: 1; /* 让输入框占据剩余空间 */
  padding: 10px;
  box-sizing: border-box;
  font-size: 16px;
  margin: 20px;
}

button {
  padding: 12px 15px;
  background-color: #281a14;
  color: #fff;
  border: none;
  font-size: 18px;
  cursor: pointer;
  border-radius: 15px;
  margin: 0px;
}

button:hover {
  background-color: #281a14;
}


/*slide*/
.carousel-container {
  position: relative;
  overflow: hidden;
  max-width: 400px; /* Adjust the max-width as needed */
  margin: 0 auto; /* Center the container horizontally */
}

.carousel-slide {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.carousel-slide a {
  flex: 0 0 100%;
  box-sizing: border-box;
  text-decoration: none;
}

.carousel-slide img {
  width: 100%;
  height: auto;
  display: block;
}

.prev-btn,
.next-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  line-height: 1; /* 垂直居中 */
  font-size: 60px;
  padding: 0px 0px 10px;
  cursor: pointer;
  outline: none;
  text-align: center;
}

.prev-btn {
  left: 10px;
}

.next-btn {
  right: 10px;
}

/*slide*/

/*fade*/
#fadeContainer {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column; /* 新增：垂直方向排列子元素 */
}

#fadeinputText {
  padding: 10px;
  font-size: 16px;
  margin: 20px;
  text-align: left;
  width: 60%; /* 设置宽度 */
  height: 200px; /* 设置高度 */
  border-radius: 10px;
}

/* 移动端样式 */
@media only screen and (max-width: 600px) {
  #fadeinputText {
    width: 80%;
    height: 150px;
  }
}

#fadeButton {
  padding: 10px;
  font-size: 18px;
  cursor: pointer;
  background: linear-gradient(to right, #d3a243 50%, #769164 50%); /* 左边米黄色，右边棕色 */
  background-size: 100% 50%;
  transition: background-position 0.5s;
}


/*宠物告别*/
.containerchong {
      display: flex;
      flex-wrap: wrap;
      justify-content: space-between;
      padding: 20px;
    }

    .columnchong {
      width: 48%; /* 控制列的宽度 */
      margin-bottom: 10px;
      box-sizing: border-box;
      padding: 0px 20px 20px;
      border-radius: 8px;
      background-image: url('../pic/ctbg.jpeg'); /* 替换 'path/to/your/image.jpg' 为你的图片路径 */
      background-size: cover; /* 控制背景图片的尺寸，cover表示尽量覆盖整个元素 */
      background-position: center; /* 控制背景图片的位置，center表示居中 */
      background-repeat: no-repeat; /* 禁止背景图片重复 */
      font-family: "chong","hong";
      font-size: 18px;
    }

    @media only screen and (max-width: 600px) {
      .columnchong {
        width: 100%; /* 在小屏幕上将列宽度设置为100% */
      }
    }

















/*font*/
p {
    font-family:KaiTi, STKaiti, KaiTi SC, FangSong, STFangsong, FangSong SC,SimSun, sans-serif,cursive, Noto Sans CJK, PingFang SC, Lantinghei SC, Microsoft YaHei, sans-serifcursive;
    letter-spacing:0.1em;
    background-color:rgba(255,255,255,0.2);
    color: #203744;
    margin: 30px;
    margin-top: 15px; /* 只调整上边距 */
    margin-bottom: 15px; /* 只调整上边距 */
    font-size: 20px;
}
h2 {
    color:black;
    font-size: 30px;
	font-family:cursive, Noto Sans CJK, PingFang SC, Lantinghei SC, Microsoft YaHei, sans-serifcursive;
}
h1 {
    font-family:LiSu,SimSun,cursive, Noto Sans CJK, PingFang SC, Lantinghei SC, Microsoft YaHei, sans-serifcursive;
    letter-spacing:0.2em;
    font-size: 52px;
}
h3 {
    font-family:'TsukuARdGothic-Regular',sans-serif;
	font-family:cursive, Noto Sans CJK, PingFang SC, Lantinghei SC, Microsoft YaHei, sans-serifcursive;
    letter-spacing:0.1em;
    color: black;
    font-size: 28px;
    margin-bottom: 10px; /* 下边距仍保持30px */
}


.slidecont > p {
    background-color:rgba(255,255,255,0.5);
}
.slideitem > h2 {
    font-family: 'klee',sans-serif;
    color:#1f3134;
}
.cp_pagination > a {
    font-family: 'klee','Hiragino Mincho ProN',sans-serif;
    /* font-family: 'Snell Roundhand',sans-serif; */
}
/*center*/
.center {
    text-align: center;
}

/*header*/
header {
    width:100%;
    height:262px;
    padding:5px 0;
    background-image:url('../pic/unnamed1.jpg');
    background-position:center bottom;
    background-size:cover;
}

#textnavi {
    position: relative;
    top:20px;
    width:100%;
    height:660px;
    padding:5px 0;
    background-image:url('../pic/yu.PNG');
    opacity:0.85;
    background-position:center bottom;
    background-size:cover;
    line-height:2;
}
#textnavitext {
    position: relative;
    top: 45px;
    left: 35px;
	display: inline-block;
}

#othersnavi {
    position: relative;
    top:20px;
    width:100%;
    height:660px;
    padding:5px 0;
    background-image:url('../pic/xia.PNG');
    opacity:0.85;
    background-position:center bottom;
    background-size:cover;
    line-height:2;
}
#othersnavitext {
    position: relative;
    top: 45px;
    left: 35px;
}
.maxwidth {
    max-width:920px;margin:0 auto;
    min-width :400px;margin:0 auto;
}
#videos {
    max-width:400px;margin:0 auto;
}
/*background*/

#mydiv {
	cursor: url('../pic/bang2.png') 5 5, auto;
}
#mydiv:active {
	cursor: url('../pic/bang3.png') 5 5, auto;
}
.jisi {
	cursor: pointer;
}
.btn {
	cursor: pointer;

}
/*bgm*/
audio {
       width:300px;
       height:20px;
       margin:10px;
       float:right;
}

#footer {
    padding:10px 30px 120px;
    text-align:center;
}

/*works*/
.cp_accordionslide08 {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
background-color: rgba(255,255, 255, 0.15);
}
.cp_accordionslide08:hover .slideitem {
width: 20%;
}
.cp_accordionslide08 .slideitem {
position: relative;
overflow: hidden;
width: 25%;
height: 60vh;
-webkit-transition: width 0.5s ease;
transition: width 0.5s ease;
-webkit-transform: translate3d(0, 0, 0);
transform: translate3d(0, 0, 0);
color: #ffffff;
background-repeat: no-repeat;
background-position: center;
background-size: cover;
}
.cp_accordionslide08 .slideitem:nth-child(1) {
background-image: url('../pic/shu.PNG');
}
.cp_accordionslide08 .slideitem:nth-child(2) {
background-image: url('../pic/he.PNG');
}
.cp_accordionslide08 .slideitem:nth-child(3) {
background-image: url('../pic/guo.PNG');
}
.cp_accordionslide08 .slideitem:nth-child(4) {
background-image: url('../pic/mei.PNG');
}

.cp_accordionslide08 .slideitem:before,
.cp_accordionslide08 .slideitem:after {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
content: '';
-webkit-transform: translate3d(0, 0, 0);
transform: translate3d(0, 0, 0);
}
.cp_accordionslide08 .slideitem:after {
-webkit-transition: opacity 0.5s ease;
transition: opacity 0.5s ease;
opacity: 1;
background: rgba(0, 0, 0 ,0.2);
}
.cp_accordionslide08 .slideitem:before {
z-index: 1;
-webkit-transition: opacity 0.5s ease, -webkit-transform 0.5s ease;
transition: opacity 0.5s ease, -webkit-transform 0.5s ease;
transition: opacity 0.5s ease, transform 0.5s ease;
transition: opacity 0.5s ease, transform 0.5s ease, -webkit-transform 0.5s ease;
-webkit-transform: translate3d(0, 0, 0) translateY(50%);
transform: translate3d(0, 0, 0) translateY(50%);
opacity: 0;
background: -webkit-gradient(linear, left top, left bottom, from(rgba(0, 0, 0, 0)), color-stop(75%, #000000));
background: -webkit-linear-gradient(top, rgba(0, 0, 0, 0) 0%, #000000 660%);
background:         linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, #000000 660%);
}
.cp_accordionslide08 .slideitem:hover {
width: 60% !important;
}
.cp_accordionslide08 .slideitem:hover:after {
opacity: 0;
}
.cp_accordionslide08 .slideitem:hover:before {
-webkit-transition: opacity 1s ease, -webkit-transform 1s ease 0.25s;
transition: opacity 1s ease, -webkit-transform 1s ease 0.25s;
transition: opacity 1s ease, transform 1s ease 0.25s;
transition: opacity 1s ease, transform 1s ease 0.25s, -webkit-transform 1s ease 0.25s;
-webkit-transform: translate3d(0, 0, 0) translateY(0);
transform: translate3d(0, 0, 0) translateY(0);
opacity: 1;
}
.cp_accordionslide08 .slideitem:hover .slidecont {
-webkit-transition: all 0.75s ease 0.5s;
transition: all 0.75s ease 0.5s;
-webkit-transform: translateY(0);
transform: translateY(0);
opacity: 1;
}
.cp_accordionslide08 .slideitem h2 {
font-size: 1.4em;
position: absolute;
z-index: 1;
top: 50%;
left: 50%;
-webkit-transition: all 0.75s ease;
transition: all 0.75s ease;
-webkit-transform: translateX(-50%) translateY(-50%);
transform: translateX(-50%) translateY(-50%);
white-space: nowrap;
}
.cp_accordionslide08 .slideitem h2::before {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
content: '';
}
.cp_accordionslide08 .slideitem:hover h2 {
top: 2%;
}
.cp_accordionslide08 .slidecont {
position: relative;
z-index: 1;
top: 10%;
margin: 0 1.618em;
-webkit-transform: translate3d(0, 0, 0) translateY(25px);
transform: translate3d(0, 0, 0) translateY(25px);
text-align: center;
opacity: 0;
}
@media only screen and (max-width:768px) {
.cp_accordionslide08 {
display: block;
}
.cp_accordionslide08:hover .slideitem {
width: 100%;
height: 20vh;
}
.cp_accordionslide08 .slideitem {
width: 100%;
height: 20vh;
}
.cp_accordionslide08 .slideitem:hover {
width: 100% !important;
height: 100vh !important;
}
.cp_accordionslide08 .slideitem h2 {
top: 35%;
}
}

/*pagenavi*/
nav.cp_navi *, nav.cp_navi *:after, nav.cp_navi *:before {
	-webkit-box-sizing: border-box;
	        box-sizing: border-box;
}
nav.cp_navi a {
	text-decoration: none;
}
nav.cp_navi {
	margin: 2em 0;
	text-align: center;
}
.cp_navi .cp_pagination {
	display: inline-block;
	height: 30px;
	margin-top: 2em;
	padding: 0 25px;
	border-radius: 35px;
	background-color: rgba(255,255,245,0.25);
}
.cp_navi .cp_pagenum {
	font-size: 1.2em;
	line-height: 30px;
	display: block;
	float: left;
	padding: 0 25px;
	transition: 400ms ease;
	letter-spacing: 0.1em;
	color: #595959;
}
.cp_navi .cp_pagenum:hover,
.cp_navi .cp_pagenum.current {
	color: #ffffff;
	background-color: #1f3134;
}
.cp_navi .cp_pagenum.prev:hover,
.cp_navi .cp_pagenum.next:hover {
	color: #1f3134;
	background-color: transparent;
}
@media only screen and (max-width: 960px) {
	.cp_navi .cp_pagination {
		height: 30px;
		margin-top: 50px;
		padding: 0 10px;
		border-radius: 25px;
	}
	.cp_navi .cp_pagenum {
	font-size: 0.8em;
	line-height: 30px;
	padding: 0 15px;
	}
	.cp_navi .cp_pagenum.prev,
	.cp_navi .cp_pagenum.next {
		padding: 0 10px;
	}
}
@media only screen and (min-width: 120px) and (max-width: 767px) {
	.cp_navi .cp_pagenum {
	display: none;
	padding: 0 14px;
	}
	.cp_navi .cp_pagenum:nth-of-type(2) {
	position: relative;
	padding-right: 50px;
	}
	.cp_navi .cp_pagenum:nth-of-type(2)::after {
	font-size: 1.2em;
	position: absolute;
	top: 0;
	left: 45px;
	content: '...';
	}
	.cp_navi .cp_pagenum:nth-child(-n+3),
	.cp_navi .cp_pagenum:nth-last-child(-n+3) {
		display: block;
	}
	.cp_navi .cp_pagenum:nth-last-child(-n+4) {
		padding-right: 14px;
	}
	.cp_navi .cp_pagenum:nth-last-child(-n+4)::after {
		content: none;
	}
	.cp_navi .cp_pagenum.prev,
	.cp_navi .cp_pagenum.next {
		padding: 0 5px;
	}
}

/*textnavi*/

.grid-containertop {
			display: grid;
			grid-template-columns: repeat(3, 1fr);
			grid-gap: 10px;
			
		}

		.grid-containertop div {
			text-align: center;
			
		}

		.grid-containertop img {
			max-width: 120%;
			max-height: 120%;
			height: auto;
		}

.grid-container {
			display: grid;
			grid-template-columns: repeat(3, 1fr);
			grid-gap: 30px;
			justify-content: center;
			align-content: center;
			justify-items: center; /* 新添加的 */
			align-items: center; /* 新添加的 */
			
		}

		.grid-container div {
			text-align: center;
			
		}

		.grid-container img {
			max-width: 100%;
			max-height: 100%;
			height: auto;
		}
		.grid-container p {
			font-family:cursive, Noto Sans CJK, PingFang SC, Lantinghei SC, Microsoft YaHei, sans-serifcursive;
    letter-spacing:0.1em;
    background-color:rgba(255,255,255,0.2);
    color: black;
    margin: 30px;
	font-size: 20px;
		}
.grid-container1 {
			display: grid;
			grid-template-columns: repeat(1, 1fr);
			grid-gap: 0px;
			justify-content: center;
			align-content: center;
			justify-items: center; /* 新添加的 */
			align-items: center; /* 新添加的 */
			margin-bottom: 60px;
			margin-top: 10px;
			
			
		}

.grid-container2 {
			display: grid;
			grid-template-columns: repeat(2, 1fr);
			grid-gap: 30px;
			justify-content: center;
			align-content: center;
			justify-items: center; /* 新添加的 */
			align-items: center; /* 新添加的 */
			
		}
.grid-container3 {
			display: grid;
			grid-template-columns: repeat(3, 1fr);
			grid-gap: 30px;
			justify-content: center;
			align-content: center;
			justify-items: center; /* 新添加的 */
			align-items: center; /* 新添加的 */
			
		}				
.bordered {
  border: 2px;
  border-radius: 15px;
}
@media (max-width: 768px) {
  .bordered {
    border-width: 1px;
    border-radius: 5px;
  }
}
/**/
figure {
    display: flex;
    flex-direction: column;
    align-items: center;
	margin-top:25%;

  }
.yiban {
	display: flex;
    flex-direction: column;
    align-items: center;
	margin-top:0%;
}
  figcaption {
    text-align: center;
	font-family:cursive, Noto Sans CJK, PingFang SC, Lantinghei SC, Microsoft YaHei, sans-serifcursive;
    /*font-family: 'ヒラギノ明朝 ProN','Hiragino Mincho ProN',sans-serif;*/
    font-size: 25px;
    color: #1f3134;
  }		
		

.puti {
	background-image: url(../pic/jinputi5.png);
	background-size: 64%;
	background-repeat: no-repeat;
	background-position: center center;
	display: flex;
	justify-content: center;
	align-items: center;
	margin-top:20px;
	margin-bottom:20px;

	}	
.puti img {
  border-radius: 30% 30%;    
}
/*下面是搜索框*/


form {
  display: flex;
  justify-content: center; /* 水平居中 */
  align-items: center; /* 垂直居中 */
}

input[type="text"] {
  border: 1px solid #ccc;
  background-color: #f8f8f8;
  border-radius: 15px;
  font-family: cursive, Noto Sans CJK, PingFang SC, Lantinghei SC, Microsoft YaHei, sans-serifcursive;
  font-size: 22px;
  width: 20%;
  height: 50px;
  outline: none;
  padding: 0 10px;
}

button[type="submit"] {
  background-color: #1b2538;
  border: none;
  border-radius: 5px;
  font-family: cursive, Noto Sans CJK, PingFang SC, Lantinghei SC, Microsoft YaHei, sans-serifcursive;
  color: #fff;
  font-size: 24px;
  padding: 0 20px;
  height: 50px;
  margin-left: 10px;
  cursor: pointer;
}
  
.highlight {
    background-color: #FFF064;
	border-radius: 10px;
}
.jisi {
  transition: opacity 1s ease-in-out; /* 添加过渡效果，1秒钟内逐渐改变透明度，缓入缓出 */
}
