@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&display=swap");
html,
body {
  font-family: "Noto Sans JP", sans-serif;
  margin: 0;
  overflow-x: hidden;
  background: #fff;
  line-height: 1.8;
}
@media screen and (max-width: 1400px) {
  html,
  body {
    font-size: 0.0714285714vw;
  }
}
@media screen and (max-width: 768px) {
  html,
  body {
    font-size: 0.2666666667vw;
  }
}

*,
*:before,
*:after {
  -o-box-sizing: border-box;
  -ms-box-sizing: border-box;
  box-sizing: border-box;
}

.jp {
  font-family: "Kozuka Gothic";
}

.en {
  font-family: "DM Sans", serif;
}

.pc_only {
  display: block;
}

.sp_only {
  display: none;
}

.clearfix::after {
  content: "";
  clear: both;
  display: table;
}

img {
  width: 100%;
  height: auto;
  display: block;
}

a {
  color: #000;
  text-decoration: none;
  cursor: pointer;
  transition: 0.3s;
}
@media screen and (min-width: 768px) {
  a:hover {
    opacity: 0.8;
  }
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
ul {
  margin: 0%;
  padding: 0%;
}

ul li,
ol li {
  list-style: none;
}

figure,
table {
  margin: auto;
}

.container {
  max-width: 1200px;
  margin: auto !important;
}

ul,
ol {
  margin: auto;
  padding: 0;
}

@media screen and (max-width: 1400px) {
  .container {
    max-width: 1200rem;
    margin: auto;
  }
}
@media screen and (max-width: 768px) {
  .pc_only {
    display: none;
  }
  .sp_only {
    display: block;
  }
  .container {
    max-width: 100%;
    margin: auto;
  }
}
.nolink {
  pointer-events: none !important;
  opacity: 0.5 !important;
}

.header {
  position: relative;
  top: 0;
  left: 0;
  width: 100%;
  border-bottom: 1px solid #E7E7E7;
}
.header .container {
  padding: 15px;
}
@media screen and (max-width: 1400px) {
  .header .container {
    padding: 15rem;
  }
}
@media screen and (max-width: 768px) {
  .header .container {
    padding: 10rem 20rem;
  }
}
.header_logo {
  max-width: 100px;
  width: 100%;
}
@media screen and (max-width: 1400px) {
  .header_logo {
    max-width: 100rem;
  }
}
@media screen and (max-width: 768px) {
  .header_logo {
    max-width: 50rem;
    margin: 0 auto;
  }
}


.main {
  margin: 100px auto;
}
@media screen and (max-width: 1400px) {
  .main {
    margin: 100rem auto;
  }
}
@media screen and (max-width: 768px) {
  .main {
    margin: 20rem auto 20rem;
  }
}

.p-catslist {
  position: relative;
  padding: 0 20px;
}
.p-catslist_list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  flex-wrap: wrap;
  grid-gap: 90px 45px;
}
@media screen and (max-width: 1400px) {
  .p-catslist_list {
    gap: 90rem 45rem;
  }
}
@media screen and (max-width: 768px) {
  .p-catslist_list {
    max-width: 270rem;
    margin: auto;
    display: block;
  }
}
.p-catslist_item__img {
  position: relative;
  overflow: hidden;
}
.p-catslist_item__img img {
  width: 100%;
  aspect-ratio: 1/1;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: 6px;
}
@media screen and (max-width: 1400px) {
  .p-catslist_item__img img {
    border-radius: 6rem;
  }
}
.p-catslist_item__content {
  margin-top: 10px;
}
@media screen and (max-width: 1400px) {
  .p-catslist_item__content {
    margin-top: 10rem;
  }
}
.p-catslist_item_txt {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 10px;
  border-bottom: 1px dashed #070C4A;
}
@media screen and (max-width: 1400px) {
  .p-catslist_item_txt {
    gap: 20rem;
    padding: 10rem;
  }
}
.p-catslist_item_txt:last-child {
  border: none;
}
.p-catslist_item_txt .head {
  max-width: 70px;
  width: 100%;
  font-size: 16px;
  font-weight: bold;
  color: #333;
}
@media screen and (max-width: 1400px) {
  .p-catslist_item_txt .head {
    max-width: 70rem;
	  font-size: 12rem;
  }
}
.p-catslist_item_txt .txt {
  font-size: 14px;
  font-weight: 400px;
  color: #333;
line-height: 1 !important;
}
@media screen and (max-width: 1400px) {
  .p-catslist_item_txt .txt {
    font-size: 12rem;
line-height: 1 !important;
  }
}
.p-catslist_item .morelink {
  margin: auto;
  text-align: center;
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}
@media screen and (max-width: 1400px) {
  .p-catslist_item .morelink {
    margin-top: 10rem;
  }
}
.p-catslist_item .morelink_btn {
  background-color: #FFBABA;
  padding: 5px 20px;
  border-radius: 20px;
  font-size: 16px;
  color: #fff;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
@media screen and (max-width: 1400px) {
  .p-catslist_item .morelink_btn {
    padding: 5rem 20rem;
    font-size: 14rem;
    border-radius: 20rem;
  }
}
.p-catslist_item .morelink_btn img {
  max-width: 16px;
  width: 100%;
}
@media screen and (max-width: 1400px) {
  .p-catslist_item .morelink_btn img {
    max-width: 16rem;
  }
}
@media screen and (max-width: 768px) {
  .p-catslist .slick-dots {
    bottom: -50rem;
  }
}
.p-catslist .slick-dots li {
  margin: 0;
}
.p-catslist .slick-dots li.slick-active button::before {
  color: #95CF90;
}
@media screen and (max-width: 768px) {
  .p-catslist .slick-dots li button::before {
    opacity: 1;
    color: #D9D9D9;
    font-size: 10rem;
  }
}
@media screen and (max-width: 768px) {
  .p-catslist .slick-prev,
  .p-catslist .slick-next {
    top: unset;
	  bottom: -35rem;
    transform: translate(-50%, -50%);
    z-index: 2;
  }
  .p-catslist .slick-prev::before,
  .p-catslist .slick-next::before {
    position: absolute;
    content: "";
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 35rem;
    background-image: url(../image/icon-prev.png);
    background-repeat: no-repeat;
    background-size: contain;
    height: 35rem;
  }
}
@media screen and (max-width: 768px) {
  .p-catslist .slick-prev {
    left: 20rem;
  }
  .p-catslist .slick-prev::before {
    background-image: url(../image/icon-prev.png);
    background-repeat: no-repeat;
    background-size: contain;
  }
}
@media screen and (max-width: 768px) {
  .p-catslist .slick-next {
    right: 0rem;
  }
  .p-catslist .slick-next::before {
    background-image: url(../image/icon-next.png);
    background-repeat: no-repeat;
    background-size: contain;
  }
}

.p-catdetail {
  position: relative;
  padding: 0 20px;
}
.p-catdetail_title {
  display: none;
}
@media screen and (max-width: 768px) {
.p-catdetail_title {
    display: block;
    font-size: 22rem;
    text-align: center;
    font-weight: bold;
    color: #333;
    position: relative;
  }
  .p-catdetail_title::after {
    position: absolute;
    content: "";
    width: 100rem;
    height: 1px;
    left: 50%;
    transform: translateX(-50%);
    bottom: -10rem;
    background-color: #000;
  }
}
.p-catdetail_box {
  display: flex;
  align-items: flex-start;
  gap: 50px;
}
@media screen and (max-width: 1400px) {
  .p-catdetail_box {
    gap: 50rem;
  }
}
@media screen and (max-width: 768px) {
  .p-catdetail_box {
   flex-direction: column;
    align-items: center;
    gap: 25rem;
    margin-top: -20px !important;
    padding-top: 0;
  }
}
.p-catdetail__imgs {
  max-width: 590px;
  width: 100%;
}
@media screen and (max-width: 1400px) {
  .p-catdetail__imgs {
    max-width: 590rem;
  }
}
@media screen and (max-width: 768px) {
  .p-catdetail__imgs {
    max-width: 100%;
  }
}
.p-catdetail__imgs img {
  width: 100%;
  aspect-ratio: 1/1;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: 6px;
}
@media screen and (max-width: 1400px) {
  .p-catdetail__imgs img {
    border-radius: 6rem;
  }
}
.p-catdetail__imgs .slider-for .slick-prev,
.p-catdetail__imgs .slider-for .slick-next {
  z-index: 2;
}
.p-catdetail__imgs .slider-for .slick-prev::before,
.p-catdetail__imgs .slider-for .slick-next::before {
  position: absolute;
  content: "";
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 30px;
  height: 50px;
  background-image: url(../image/icon-prev02.png);
  background-repeat: no-repeat;
  background-size: contain;
}
@media screen and (max-width: 1400px) {
  .p-catdetail__imgs .slider-for .slick-prev::before,
  .p-catdetail__imgs .slider-for .slick-next::before {
    width: 30rem;
    height: 50rem;
  }
}
@media screen and (max-width: 768px) {
  .p-catdetail__imgs .slider-for .slick-prev::before,
  .p-catdetail__imgs .slider-for .slick-next::before {
    width: 18rem;
    height: 30rem;
  }
}
.p-catdetail__imgs .slider-for .slick-prev {
  left: 20px;
}
@media screen and (max-width: 1400px) {
  .p-catdetail__imgs .slider-for .slick-prev {
    left: 20rem;
  }
}
@media screen and (max-width: 768px) {
  .p-catdetail__imgs .slider-for .slick-prev {
    left: 10rem;
  }
}
.p-catdetail__imgs .slider-for .slick-next {
  right: 20px;
}
@media screen and (max-width: 1400px) {
  .p-catdetail__imgs .slider-for .slick-next {
    right: 20rem;
  }
}
@media screen and (max-width: 768px) {
  .p-catdetail__imgs .slider-for .slick-next {
    right: 10rem;
  }
}
.p-catdetail__imgs .slider-for .slick-next::before {
  background-image: url(../image/icon-next02.png);
  background-repeat: no-repeat;
  background-size: contain;
}
.p-catdetail__imgs .slider-nav {
  margin-top: 25px;
}
@media screen and (max-width: 1400px) {
  .p-catdetail__imgs .slider-nav {
    margin-top: 25rem;
  }
}
@media screen and (max-width: 768px) {
  .p-catdetail__imgs .slider-nav {
    margin-top: 10rem;
  }
}
.p-catdetail__imgs .slider-nav .slick-slide {
  margin: auto 12px;
}
@media screen and (max-width: 1400px) {
  .p-catdetail__imgs .slider-nav .slick-slide {
    margin: auto 12rem;
  }
}
@media screen and (max-width: 768px) {
  .p-catdetail__imgs .slider-nav .slick-slide {
    margin: auto 5rem;
  }
}
.p-catdetail_content {
  max-width: 570px;
  width: 100%;
}
.p-catdetail_content__item {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 10px;
  border-bottom: 1px dashed #070C4A;
}
@media screen and (max-width: 1400px) {
  .p-catdetail_content__item {
    gap: 20rem;
    padding: 10rem;
  }
}
.p-catdetail_content__item:last-child {
  align-items: flex-start;
}
.p-catdetail_content__item .head {
  max-width: 150px;
  width: 100%;
  font-size: 16px;
  line-height: 1.8;
  font-weight: bold;
  color: #333;
}
@media screen and (max-width: 1400px) {
  .p-catdetail_content__item .head {
    max-width: 150rem;
    font-size: 12rem;
  }
}
@media screen and (max-width: 768px) {
  .p-catdetail_content__item .head {
    max-width: 85rem;
  }
}
.p-catdetail_content__item .txt {
  font-size: 16px;
  line-height: 1.8;
  font-weight: 400px;
  color: #333;
}
@media screen and (max-width: 1400px) {
  .p-catdetail_content__item .txt {
    font-size: 12rem;
  }
}
.p-catdetail .listbtn {
  margin-top: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
}
@media screen and (max-width: 1400px) {
  .p-catdetail .listbtn {
    margin-top: 100rem;
    gap: 30rem;
  }
}
@media screen and (max-width: 768px) {
  .p-catdetail .listbtn {
    flex-direction: column;
    gap: 15rem;
    margin-top: 50rem;
  }
}
.p-catdetail .listbtn a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  border-radius: 30px;
  border: 1px solid #000;
  padding: 10px 50px;
  font-size: 16px;
  color: #000;
  transition: 0.3s;
}
.p-catdetail .listbtn a.getlink {
  background: #266AF6;
  border: 1px solid #266AF6;
  color: #fff;
}
.p-catdetail .listbtn a.getlink img {
  filter: invert(0);
}
@media screen and (min-width: 768px) {
  .p-catdetail .listbtn a.getlink:hover {
    border: 1px solid #000;
  }
  .p-catdetail .listbtn a.getlink:hover img {
    filter: invert(0);
  }
}
@media screen and (max-width: 1400px) {
  .p-catdetail .listbtn a {
    gap: 15rem;
    border-radius: 30rem;
    padding: 10rem 50rem;
    font-size: 16rem;
  }
}
@media screen and (min-width: 768px) {
  .p-catdetail .listbtn a:hover {
    background-color: #000;
    color: #fff;
    opacity: 1;
  }
  .p-catdetail .listbtn a:hover img {
    filter: invert(0);
  }
}
.p-catdetail .listbtn a img {
  max-width: 16px;
  width: 100%;
  filter: invert(1);
}

.pagination .wp-pagenavi {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 50px;
}
@media screen and (max-width: 1400px) {
  .pagination .wp-pagenavi {
    margin-top: 50rem;
    gap: 6rem;
  }
}
.pagination .wp-pagenavi .pages {
  display: none;
}
.pagination .wp-pagenavi span,
.pagination .wp-pagenavi a {
  color: #6B625D;
  text-align: center;
  font-size: 16px;
  font-weight: 500;
  border: none;
  padding: 1px 10px;
  margin: 0;
  border-radius: 8px;
  transition: 0.3s;
}
@media screen and (max-width: 1400px) {
  .pagination .wp-pagenavi span,
  .pagination .wp-pagenavi a {
    font-size: 16rem;
    padding: 1rem 10rem;
    border-radius: 8rem;
  }
}
@media screen and (min-width: 768px) {
  .pagination .wp-pagenavi span:hover,
  .pagination .wp-pagenavi a:hover {
    background-color: #6B625D;
    color: #fff;
  }
}
.pagination .wp-pagenavi span.current,
.pagination .wp-pagenavi a.current {
  background-color: #6B625D;
  color: #fff;
}

.footer {
  position: relative;
}
.footer_copyright {
  font-size: 12px;
  text-align: center;
  color: #000;
  border-top: 1px solid #E7E7E7;
  padding: 20px;
}

.cats-counter{ 
	text-align:center;
	font-size:14px; 
	color:#666; 
}

@media (min-width:768px){
	.cats-counter{ 
		display:none; 
	} 
}

@media (max-width:767px){
  .swiper-pagination, .swiper-pagination-bullets,
  .tns-nav, .tns-controls,
  .slick-dots, .owl-dots, .splide__pagination,
  .p-catslist .nav, .p-catslist .nav-btn, .p-catslist .arrow {
    display:none !important;
  }
}

@media (max-width: 768px) {
  .p-catslist {
    position: relative;
    padding-bottom: 40rem;
  }
  .cats-counter {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
	  bottom: 40rem;
    margin: 0;
  }
}


/* add */

.pagetitle {
  display: flex;
  align-items: center;
  justify-content: center;
}
.pagetitle h1 {
  font-size: 32px;
  line-height: 1.5;
  font-weight: bold;
  color: #333;
  text-align: center;
  position: relative;
}
.pagetitle h1::after {
  position: absolute;
  content: "";
  width: 230px;
  height: 1px;
  left: 50%;
  transform: translateX(-50%);
  bottom: -10px;
  background: #333;
}
@media screen and (max-width: 1400px) {
  .pagetitle h1::after {
    bottom: -10rem;
  }
}
@media screen and (max-width: 768px) {
  .pagetitle h1::after {
    bottom: -5rem;
  }
}
@media screen and (max-width: 1400px) {
  .pagetitle h1 {
    font-size: 32rem;
  }
}
@media screen and (max-width: 768px) {
  .pagetitle h1 {
    font-size: 20rem;
  }
}

.p-storylist .container {
  max-width: 1050px;
  width: 100%;
  margin: auto;
}
@media screen and (max-width: 1400px) {
  .p-storylist .container {
    max-width: 1050rem;
  }
}
@media screen and (max-width: 768px) {
  .p-storylist .container {
    max-width: 94%;
  }
}
.p-storylist_list {
  margin-top: 60px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-gap: 50px 70px;
}
@media screen and (max-width: 1400px) {
  .p-storylist_list {
    margin-top: 60rem;
    grid-gap: 50rem 70rem;
  }
}
@media screen and (max-width: 768px) {
  .p-storylist_list {
    grid-template-columns: 1fr 1fr;
    margin-top: 40rem;
    grid-gap: 30rem 20rem;
  }
}
.p-storylist_item {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 10px;
}
@media screen and (min-width: 768px) {
  .p-storylist_item:hover .p-storylist_item_title {
    text-decoration: underline;
  }
}
@media screen and (max-width: 1400px) {
  .p-storylist_item {
    gap: 10rem;
  }
}
.p-storylist_item_img img {
  width: 100%;
  aspect-ratio: 1/1;
  -o-object-fit: cover;
     object-fit: cover;
}
.p-storylist_item_title {
  transition: 0.3s;
  font-size: 18px;
  color: #333;
  text-align: center;
  font-weight: bold;
}
@media screen and (max-width: 1400px) {
  .p-storylist_item_title {
    font-size: 18rem;
  }
}
@media screen and (max-width: 768px) {
  .p-storylist_item_title {
    font-size: 14rem;
    line-height: 1.5;
  }
}

.p-storydetail {
  max-width: 94%;
  width: 100%;
  margin: auto;
}
.p-storydetail_content {
  margin-top: 60px;
  font-size: 18px;
  color: #333;
  text-align: left;
  font-weight: 400;
  line-height: 1.8;
}
@media screen and (max-width: 1400px) {
  .p-storydetail_content {
    margin-top: 60rem;
    font-size: 18rem;
  }
}
@media screen and (max-width: 768px) {
  .p-storydetail_content {
    margin-top: 40rem;
    font-size: 14rem;
  }
}
.p-storydetail_content p {
  margin-bottom: 10px;
  font-size: 18px;
  color: #333;
  text-align: left;
  font-weight: 400;
  line-height: 1.8;
}
.p-storydetail_content p:last-child {
  margin-bottom: 0;
}
@media screen and (max-width: 1400px) {
  .p-storydetail_content p {
    margin-bottom: 10rem;
    font-size: 18rem;
  }
}
@media screen and (max-width: 768px) {
  .p-storydetail_content p {
    margin-bottom: 20rem;
    font-size: 14rem;
  }
}
.p-storydetail_content .itembox {
  display: flex;
  align-items: flex-start;
  gap: 50px;
  margin-bottom: 70px;
}
.p-storydetail_content .itembox:last-child {
  margin-bottom: 0;
}
.p-storydetail_content .itembox:nth-of-type(2n) {
  flex-direction: row-reverse;
}
@media screen and (max-width: 768px) {
  .p-storydetail_content .itembox:nth-of-type(2n) {
    flex-direction: column;
  }
}
@media screen and (max-width: 1400px) {
  .p-storydetail_content .itembox {
    gap: 50rem;
  }
}
@media screen and (max-width: 768px) {
  .p-storydetail_content .itembox {
    flex-direction: column;
    gap: 20rem;
  }
}
.p-storydetail_content .itembox img {
  max-width: 500px;
  aspect-ratio: 3/2;
  -o-object-fit: cover;
     object-fit: cover;
  width: 100%;
}
@media screen and (max-width: 1400px) {
  .p-storydetail_content .itembox img {
    max-width: 500rem;
  }
}
@media screen and (max-width: 768px) {
  .p-storydetail_content .itembox img {
    max-width: 100%;
  }
}
.p-storydetail_content .itembox_txt {
  max-width: 680px;
  width: 100%;
  font-size: 18px;
  color: #333;
  text-align: left;
  font-weight: 400;
  line-height: 1.8;
}
@media screen and (max-width: 1400px) {
  .p-storydetail_content .itembox_txt {
    max-width: 680rem;
    font-size: 18rem;
  }
}
@media screen and (max-width: 768px) {
  .p-storydetail_content .itembox_txt {
    font-size: 14rem;
    max-width: 100%;
  }
}
.p-storydetail .listbtn {
  margin-top: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
}
@media screen and (max-width: 1400px) {
  .p-storydetail .listbtn {
    margin-top: 100rem;
  }
}
@media screen and (max-width: 768px) {
  .p-storydetail .listbtn {
    margin-top: 50rem;
  }
}
.p-storydetail .listbtn a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  border-radius: 30px;
  border: 1px solid #000;
  padding: 10px 50px;
  font-size: 16px;
  color: #000;
  transition: 0.3s;
}
@media screen and (max-width: 1400px) {
  .p-storydetail .listbtn a {
    gap: 15rem;
    border-radius: 30rem;
    padding: 10rem 50rem;
    font-size: 16rem;
  }
}
@media screen and (min-width: 768px) {
  .p-storydetail .listbtn a:hover {
    background-color: #000;
    color: #fff;
    opacity: 1;
  }
  .p-storydetail .listbtn a:hover img {
    filter: invert(0);
  }
}
.p-storydetail .listbtn a img {
  max-width: 16px;
  width: 100%;
  filter: invert(1);
}
