/*
Theme Name: takatsukiberryfarm
Author URI: https://wordpress.org/
Version: 1.0
Author: Yuka Kimura

*/



/* ーーーーーーーーーーーーーーーーーーーーーーーーーーーーー
　　　共通部分
ーーーーーーーーーーーーーーーーーーーーーーーーーーーーーー*/
html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  font-family: "Noto Sans JP","Yu Gothic", YuGothic, Helvetica, Arial, "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W3", Meiryo, メイリオ, sans-serif;
  color: #3A4C5C;
  background-color: #ffffff;
  /* 以下コンテンツ少ないときでもフッター最下部固定のため */
  display: flex; /* フレックスボックスに有効に */
  flex-flow: column; /* 要素を縦に並べる */
  min-height: 100vh; /* 最小でも画面の高さ分のbodyの高さを担保する */
}

.wrapper {
  overflow-x: hidden;
  flex: 1;/* コンテンツ少ないときでもフッター最下部固定のため */
}

img {
	width: 100%;
	height: 100%;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}

h2 {
  color: #3A4C5C;
  font-size: 26px;
  letter-spacing: 0.1rem;
  font-family: "Noto Sans JP","Yu Gothic", YuGothic, sans-serif;
}

h3 {
  color: #3A4C5C;
  font-size: 500%;
  font-family: "Noto Sans JP","Yu Gothic", YuGothic, sans-serif;
  font-weight: 200;
  letter-spacing: 0.2rem;
  margin: 20px 0;
}

h4 {
  color: #3A4C5C;
  font-size: 30px;;
  font-family: "Noto Sans JP","Yu Gothic", YuGothic, sans-serif;
  margin: 20px 0 50px 0;
  font-weight: 600;
  letter-spacing: 0.36rem;
}

h6 {
  color: #3A4C5C;
  font-size: 1.5rem;
  font-family: "Noto Sans JP","Yu Gothic", YuGothic, sans-serif;
  font-weight: 600;
  letter-spacing: 0.36rem;
  margin-top: 30px;
  margin-bottom: 20px;
}

p {
  color: #3A4C5C;
  font-family: "Noto Sans JP","Yu Gothic", YuGothic, sans-serif;
  letter-spacing: 0.1rem;
  line-height: 2;
  margin: 0;
  font-size: 16px;
}

.pc-br {
  display: block;
}

.tb-br {
  display: none;
}

.sp-br {
  display: none;
}

li {
  list-style: none;
}

/* fonts */
@font-face {
  font-family: "Canela Trial";
  src: url('/wp-content/themes/pekomaul/fonts/Canela-Thin-Trial.otf') format('opentype');
}

@font-face {
  font-family: "ADAM.CG PRO";
  src: url('/wp-content/themes/pekomaul/fonts/ADAM.CG PRO.otf') format('opentype');
}

@font-face {
  font-family: "Euphemia UCAS Bold";
  src: url('/wp-content/themes/pekomaul/fonts/Euphemia UCAS Bold 2.6.6.ttf') format('truetype');
}


/* color */

.color_1 {
  color: #8b3b89; /* ロゴの色 */
}

.color_2 {
  color: #6667AB;
}


/* font-weight */
.bold {
  font-weight: bold;
}

/* marker */
.marker {
  background: linear-gradient(transparent 70%, #6667AB50 70%);
}

/* 各ページキービジュアル */

.page_kv {
  height: 50vh;
  margin-bottom: 100px;
}

/* 見出し（下線） */

.title_line {
  color: #54595F;
  font-family: "Noto Sans JP", Sans-serif;
  font-size: 36px;
  font-weight: 600;
  position: relative;
  display: block;
  margin-bottom: 1em;
  text-align: center;
  letter-spacing: 0.1rem;
}

.title_line:before {
    content: '';
    position: absolute;
    bottom: -24px;
    display: inline-block;
    width: 100px;
    height: 5px;
    left: 50%;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    background-color: #6667AB;
    border-radius: 2px;
}

/* ボタン */

.button {
  background-color: #6667AB;
  padding: 1em 2em;
  transition: 0.6s;
  border-radius: 8px;
  max-width: 240px;
}

.button:hover {
	background-color: #6667AB50;
  transition: 0.6s;
}

.button a {
  color: #fff;
  letter-spacing: 0.1rem;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}



/* ーーーータブレットーーーーーーーーーーーーーーーーーー */
@media screen and (max-width: 1024px){
  .tb-br {
    display: block;
  }

  h3 {
    font-size: 250%;
  }

  h4 {
    font-size: 26px;
  }
}

/* ーーーースマホーーーーーーーーーーーーーーーーーーーー */
@media screen and (max-width: 520px) {
  h2 {

  }

  h3 {

  }

  h4 {

  }

  h6 {

  }

  p {

  }

  .pc-br {
    display: none;
  }

  .tb-br {
    display: none;
  }

  .sp-br {
    display: block;
  }

  .title_line {
    font-size: 24px;
  }

  .title_line:before {
    bottom: -16px;
    width: 60px;
    height: 4px;
    left: 50%;
  }

  .button a {
    font-size: 14px;
  }

}


/* ーーーーーーーーーーアニメーションーーーーーーーーーー */
/* コンテンツをふわっと出現 （透明度変化）　*/
/* .fadein {
  opacity : 0;
  transition : all 900ms;
}

.fadein.scrollin {
  opacity : 1;
} */

/* スクロール時下からふわっと */
.scrollin {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1s ease, transform 1s ease;
}

.scrollin.is-show {
  opacity: 1;
  transform: translateY(0);
}

/* 画像が左からスライド＋ふわっと表示 */

.mask-slidein {
  overflow: hidden;
  display: inline-block;
  position: relative;
}

.mask-slidein img {
  display: block;
  clip-path: inset(0 100% 0 0); /* 初期状態：見えない（右側100%を隠す） */
  transition: clip-path 1.2s ease;
}

.mask-slidein.is-show img {
  clip-path: inset(0 0 0 0); /* 全面表示 */
}




/* ーーーーーーーーーーーーーーーーーーーーーーーーーーーーー
　　　
ーーーーーーーーーーーーーーーーーーーーーーーーーーーーーー*/


 /* ーーーータブレットーーーーーーーーーーーーーーーーーー */
 @media screen and (max-width: 1024px){

}

/* ーーーースマホーーーーーーーーーーーーーーーーーーーー */

@media screen and (max-width: 520px) {

}



/* スライダー全体 */
#main-visual-slider {
  width: 1232rem;
  max-width: 100%;
  margin: 0 auto;
}

/* アスペクト比 102:115 を維持（padding-topで実現） */
#main-visual-slider .splide__slide {
  position: relative;
}

.slide-img-wrap {
  width: 100%;
  height: 0;
  padding-top: calc(115 / 102 * 100%); /* アスペクト比 102 : 115 */
  overflow: hidden;
  position: relative;
}

/* 画像を包んでいる wrap 内で上へ動かす */
.slide-img-wrap img {
  position: absolute;
  width: 100%;
  height: auto;
  top: 0;                       /* 最初は上に配置 */
  animation: slideUp 10s linear infinite;  /* ゆっくり上に動かす */
}

.slide-img-wrap2 img {
  position: absolute;
  width: 100%;
  height: auto;
  bottom: 0;                       /* 最初は上に配置 */
  animation: slideDown 10s linear infinite;  /* ゆっくり下に動かす */
}

/* ▼ 画像を上方向へ動かすアニメーション ▼ */
@keyframes slideUp {
  0% {
    transform: translateY(0%);
  }
  100% {
    transform: translateY(-5%); /* 好きな移動距離に調整可能 */
  }
}

.col-2_items {
  width: 40%;
}





/* 並べるレイアウト */
.kv-wrapper {
  /* display: flex;
  justify-content: center; */
  width: 100%;
  /* max-width: 1400px; */
  margin: 0 auto;
}

/* 各スライド枠のサイズ（カワシマ種苗に近い比率） */
.kv-slide {
  width: 100%;
  /* max-width: 600px; */
}

/* アスペクト比 102:115 */
.kv-img-wrap {
  width: 100%;
  height: 0;
  padding-top: calc(115 / 102 * 100%);
  position: relative;
  overflow: hidden;
}

/* 画像は絶対配置で上から動かす */
.kv-img-wrap img {
  position: absolute;
  width: 100%;
  height: auto;
  top: 0;
}

.kv-img-wrap img {
  transform: translateY(-10%);
}

/* ▼ 左スライダー（上方向） ▼ */
.kv-img-wrap.kv-up img {
  animation: kvMoveUp 14s linear infinite;
}

@keyframes kvMoveUp {
  0%   { transform: translateY(0%); }
  100% { transform: translateY(-10%); }
}

/* ▼ 右スライダー（下方向） ▼ */
/* .kv-img-wrap.kv-down img {
  animation: kvMoveDown 12s linear infinite;
} */

/* .swiper-slide-active .kv-img-wrap img {
  animation: kvMoveDown 12s linear forwards;
} */

.kv-img-wrap img {
  animation: kvMoveDown 12s linear infinite;
}

/* @keyframes kvMoveDown {
  0%   { transform: translateY(-10%); }
  100% { transform: translateY(0%); }
} */

@keyframes kvMoveDown {
  from {
    transform: translateY(-10%);
  }
  to {
    transform: translateY(0);
  }
}

.splide__track--draggable {
  height: 50vh;
}






/* 1/24 */
.l-inner {
  position: relative;
  -webkit-box-sizing: content-box;
          box-sizing: content-box;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 10rem;
}

.l-section {
  border-top: 1px solid #eee;
}
.l-section .l-inner {
  padding-top: 8rem;
  padding-bottom: 8rem;
}

[class*=swiper]:focus {
  outline: none;
}

.slide-media,
.thumb-media {
  position: relative;
  overflow: hidden;
}
.slide-media img,
.thumb-media img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}


.swiper-button-prev, .swiper-button-next {
  display: grid;
  place-content: center;
  width: 6.4rem;
  height: 6.4rem;
  cursor: pointer;
  -webkit-transition: var(--transition);
  transition: var(--transition);
}
.swiper-button-prev::before, .swiper-button-next::before {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  content: "";
  border-radius: 50%;
  -webkit-box-shadow: var(--box-shadow);
          box-shadow: var(--box-shadow);
}
.swiper-button-prev::after, .swiper-button-next::after {
  width: 1.2rem;
  height: 1.2rem;
  content: "";
  border: solid var(--color-gray);
  border-width: 3px 3px 0 0;
}
.swiper-button-prev::after {
  margin-left: 0.4rem;
  -webkit-transform: rotate(-135deg);
          transform: rotate(-135deg);
}
.swiper-button-next::after {
  margin-right: 0.4rem;
  -webkit-transform: rotate(45deg);
          transform: rotate(45deg);
}
.swiper-button-disabled {
  pointer-events: none;
  opacity: 0;
}

.mv01 {
  margin-bottom: 8rem;
}
.mv01 .l-inner {
  padding-bottom: 0;
}
.mv01 .swiper-fade .swiper-slide {
  -webkit-transition-property: opacity, -webkit-transform !important;
  transition-property: opacity, -webkit-transform !important;
  transition-property: opacity, transform !important;
  transition-property: opacity, transform, -webkit-transform !important;
  pointer-events: none;
}
.mv01 .swiper-fade .swiper-slide-active {
  pointer-events: auto;
}
.mv01 .swiper-pagination {
  position: absolute;
  z-index: 1;
  top: 0;
  bottom: 0;
  left: 3.2rem;
  height: -webkit-max-content;
  height: -moz-max-content;
  height: max-content;
  margin: auto;
}
.mv01 .swiper-pagination-bullet {
  display: block;
  width: 3px;
  height: 4rem;
  cursor: pointer;
  -webkit-transition: var(--transition);
  transition: var(--transition);
  background-color: rgba(255, 255, 255, 0.4);
}
.mv01 .swiper-pagination-bullet:not(:first-child) {
  margin-top: 0.8rem;
}
.mv01 .swiper-pagination-bullet-active {
  background-color: var(--color-theme);
}
.mv01 .slide-media {
  height: 50vh;
}
/* .mv01 .slide-media img {
  -webkit-transition: 5s 1s ease-out;
  transition: 5s 1s ease-out;
} */
.mv01 .slide-title {
  font-size: 4rem;
  font-weight: normal;
  line-height: 1.6;
  position: absolute;
  right: 8rem;
  bottom: 15%;
  margin-left: 16rem;
  text-align: right;
  color: #fff;
}
/* .mv01 .swiper-slide[class*=-active] .slide-media img {
  -webkit-transition-delay: 0s;
          transition-delay: 0s;
  -webkit-transform: scale(1.05);
          transform: scale(1.05);
} */
.mv01 .swiper-slide[class*=-active] .slide-title {
  -webkit-animation: mv01-fadeIn 3s 0.5s var(--easing) both;
          animation: mv01-fadeIn 3s 0.5s var(--easing) both;
}

@keyframes mv01-zoom-loop {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.1);
  }
}

.mv01 .slide-media img {
  animation: mv01-zoom-loop 12s linear infinite;
}

@-webkit-keyframes mv01-fadeIn {
  0% {
    -webkit-transform: scale(0.5);
            transform: scale(0.5);
    opacity: 0;
    -webkit-filter: blur(300px);
            filter: blur(300px);
  }
  100% {
    -webkit-transform: scale(1);
            transform: scale(1);
    opacity: 1;
    -webkit-filter: blur(0);
            filter: blur(0);
  }
}

@keyframes mv01-fadeIn {
  0% {
    -webkit-transform: scale(0.5);
            transform: scale(0.5);
    opacity: 0;
    -webkit-filter: blur(300px);
            filter: blur(300px);
  }
  100% {
    -webkit-transform: scale(1);
            transform: scale(1);
    opacity: 1;
    -webkit-filter: blur(0);
            filter: blur(0);
  }
}

@media only screen and (max-width: 1024px) {
  html {
    -webkit-text-size-adjust: 100%;
  }
  .l-inner {
    padding: 0 4rem;
  }
  .pc {
    display: none !important;
  }
  .mv01 {
    margin-bottom: 6rem;
  }
  .mv01 .slide-media {
    /* height: max(70vh, 70vw); */
    height: max(30vh, 50vw);
  }

  /* .splide__track--draggable {
    height: 30vh;
  } */
}
@media only screen and (max-width: 599px) {
  html {
    font-size: 50%;
  }
  .pc-tab {
    display: none !important;
  }
  .mv01 .slide-title {
    font-size: 2.8rem;
    right: 4rem;
    margin-left: 6rem;
  }
}
@media only screen and (min-width: 1025px) {
  .tab-sp {
    display: none !important;
  }
  .swiper-button-prev::before, .swiper-button-next::before {
    -webkit-transition: var(--transition);
    transition: var(--transition);
  }
  .swiper-button-prev:hover::before, .swiper-button-next:hover::before {
    -webkit-transform: scale(1.2);
            transform: scale(1.2);
  }
}
@media only screen and (min-width: 600px) {
  .sp {
    display: none !important;
  }
}


/* 追っかけボタン（共通） */

.pFvRenewal_area {


}

.pFvRenewal {
    display: flex;
    position: fixed;
    /* top: 0; */
    /* right: 0; */
    bottom: 0;
    z-index: 5;
    align-items: center;
    /* width: -moz-fit-content; */
    width: 100%;
    /* height: -moz-fit-content; */
    height: 10%;
    /* padding: 40px; */
    /* border-radius: 0 0 0 50px; */
    background-color: #8b3b89;
    /* gap: 25rem; */
    justify-content: center;
}


.pFvRenewal__textarea {
  /* width: 192rem;
  margin-top: 12rem; */
  color: #fff;
}

.pFvRenewal__textarea p {
  color: #fff;
}


.pFvRenewal__date {
    display: block;
    /* font-family: var(--f-en); */
    font-size: 14px;
    font-weight: 700;
    line-height: 0.9;
    letter-spacing: 0.03em;
}

.pFvRenewal__text {
        /* margin-top: 9rem; */
        font-size: 14px;
        display: block;
        margin-top: 40px;
        font-weight: 700;
        line-height: 1.4;

}

.pFvRenewal__image {
    /* width: 80rem;
    height: 80rem; */
    overflow: hidden;
    border-radius: 50%;
}

.pFvRenewal__image img {
    /* width: 100%;
    height: 100%; */
}

.reservation-button a, .fa-location-dot {
  display: block;
  text-align: center;
  margin: 0 auto;
  padding: 1em 4em;
  /* max-width: 320px; */
  color: #fff;
  /* background-color: #444444; */
  font-size: 15px;
  text-decoration: none;
  transition: 0.8s;
  width: 100%;
}

.reservation-button a:hover {
  text-decoration: none;
  background-color: #fff;
  color: #444444;
  transition: 0.8s;
}

.access-button a {
  display: block;
  text-align: center;
  margin: 32px auto;
  padding: 1em 1em;
  max-width: 320px;
  color: #fff;
  background-color: #444444;
  font-size: 15px;
  text-decoration: none;
  transition: 0.8s;
}

.access-button a i {
    display: block;
    padding: 2px 0px 0px 0px;
    font-size: 18px;
    line-height: 18px;
    text-align: center;
}






/* ここからおっかけボタン */

/*FontAwesomeを使用しています。*/
.header-7 {
  box-sizing: border-box;
  width: 100%;
  /* height: 120px; */
  position: fixed;
  bottom: 0;
  z-index: 1000;
}

.box {
  box-sizing: border-box;
}

/* ========== header ========== */


/* ========== nav ========== */
.box-nav {
  width: 100%;
  /* height: 40px; */
  /* background: #3a3a3a; */
}

.inner-nav {
  display: flex;
  justify-content: center;
  /* max-width: 1024px; */
  padding: 0;
  margin: 0 auto;
  line-height: 40px;
  list-style: none;
  /* background: linear-gradient(90deg, #8b3b89 0%, #8b3b89 50%, #fff 50%, #fff 100%); */
  background: #fff;
}

.menu {
  /* padding: 0 4em; */
  color: #fff;
  border: solid 1px #8b3b89;
  display: flex;
  align-items: center;
}

.menu a {
  text-decoration: none;
}

.button_menu_1 {
  background-color: #8b3b89;
  width: 40%;
}

.button_menu_2 {
  background-color: #6667AB;
  width: 40%;
}

/* .menu:hover {
  background: #7a7a7a;
} */


/* .menu a i {
    display: block;
    padding: 2px 0px 0px 0px;
    font-size: 18px;
    line-height: 18px;
    text-align: center;
} */

/* .menu a {
    padding: 1em 1.5em;
    display: block;
    height: 100%;
    color: #fff !important;
    text-decoration: none;
    background-color: #b8d4d4;
    font-size: 12px;
    margin-left: 16px;
    margin-right: 32px;
    transition: 0.8s;
    border: solid 4px #FFFFFF;
} */

.fa-location-dot, .fa-map-marker-alt, .header-7 .fa-instagram, .header-7 .fa-line {
    color: #8b3b89;
    font-size: 24px;
    padding: 1em 1em;
}

.fa-location-dot:hover, .header-7 .fa-instagram:hover, .header-7 .fa-line:hover {
  text-decoration: none;
  background-color: #8b3b89;
  color: #fff;
  transition: 0.8s;
}

.scrolled .page_top_btn {
  display: none;
}

/* ーーーータブレットーーーーーーーーーーーーーーーーーー */
@media screen and (max-width: 1024px){
  .reservation-button a {
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 1em 0.4em;
      font-size: 12px;
      line-height: normal;
      height: 100%;
  }

  .fa-location-dot, .fa-map-marker-alt, .header-7 .fa-instagram, .header-7 .fa-line {
      /* font-size: 24px; */
      padding: 1em 0.4em;
  }


}

/* ーーーースマホーーーーーーーーーーーーーーーーーーーー */
@media screen and (max-width: 520px) {
  .reservation-button a {
      font-size: 11px;
  }
}


/* ここまで追っかけボタン */


/* ーーーーーーーーーーーーーーーーーーーーーーーーーーーーー
　　　投稿一覧ページ（home.php）
ーーーーーーーーーーーーーーーーーーーーーーーーーーーーーー*/
.topics_contents {
  width: 90%;
  max-width: 1140px;
  margin: 100px auto;
}

.topics_contents .col-2 {
  display: flex;
  justify-content: space-between;
}

.topics_box:first-child {
  border-top: 1px solid #e5e5e5;
}

.topics_box {
  padding: 1.8rem 0;
  border-bottom: 1px solid #e5e5e5;
}

.col-2_items_img {
  width: 35%!important;
}

.col-2_items_content {
  position: relative;
  width: 65%!important;
}

.topics_img {
  padding: 0 24px 0 0;
}

.topics_title {
  font-size: 18px;
  font-weight: bold;
}

.topics_txt p {
  font-size: 14px;
  color: #3b3b3c;
  letter-spacing: 0.04rem;
}

.topics_contents .button {
  position: absolute;
  bottom: 0;
  right: 0;
  font-size: 12px;
  padding-left: 1rem;
  padding-right: 1rem;
}

/* ーーーーーーーーーーーーーーーーーーーーーーーーーーーーー
　　　投稿ページ（single.php）
ーーーーーーーーーーーーーーーーーーーーーーーーーーーーーー*/
.single_wrapper {
  width: 90%;
  margin: 200px auto;
  max-width: 1140px;
}

.news-inner-flex {
  display: flex;
  align-items: center;
}

.news-inner-flex i {
  color: #6667AB;
}

.flex_items {
  padding: 0 0 0 8px;
}

.content {
  margin: 80px 0;
}

figure.wp-block-image.size-medium {
  width: 300px;
}

figure.wp-block-image.size-full {
  width: 400px;
}

.postLinks {
  display: flex;
  justify-content: space-between;
  margin: 40px 0;
}

.next-label {
  text-align: right;
}

.postLink a {
  color: #6667AB;
  letter-spacing: 0.1rem;
  text-decoration: none;
  font-weight: bold;
  transition: 0.6s;
}

.postLink a:hover, .return a:hover {
	background-color: #6667AB50;
  transition: 0.6s;
}

.btt {
  margin: 0 auto;
  text-align: center;
}

.btt a {
  color: #6667AB;
  letter-spacing: 0.1rem;
  font-weight: bold;
  transition: 0.6s;
}

 /* ーーーータブレットーーーーーーーーーーーーーーーーーー */
 @media screen and (max-width: 1024px){

}

/* ーーーースマホーーーーーーーーーーーーーーーーーーーー */
@media screen and (max-width: 520px) {
  .topics_img {
    padding: 0 12px 0 0;
  }

  .topics_title {
    font-size: 16px;
  }

  .topics_txt p {
    font-size: 12px;
    line-height: normal;
    padding: 16px 0 50px;
  }

}
