/* ========================================
   メイン画像
   ======================================== */
.mainImg {
  position: relative;
  margin: 0 auto 2.5em;
}

.mainImg__wrap {
  position: relative;
  width: 300%;
  margin: 0 -100%;
  padding: 0;
  overflow: hidden;
}

.mainImg__item {
  padding: 0 5vw;
  outline: none;
  transition: all 0.5s ease;
}

.mainImg__img {
  width: 100%;
  height: auto;
  display: block;
}

/* Slickスライダーの設定 */
.slick-dotted.slick-slider {
  margin-bottom: 40px !important;
}

.slick-dots {
  bottom: -40px !important;
}

.slick-dots li {
  margin: 0 !important;
}
@media screen and (min-width: 992px) {
  .mainImg__wrap {
    width: 200%;
    margin: 0 -50%;
  }
  .mainImg__item {
    padding: 0;
  }
  .slick-slide.slick-center {
    z-index: 2;
  }
  .slick-slide:not(.slick-center) {
    opacity: 0.2;
  }
}
@media screen and (min-width: 1200px) {
  .mainImg__wrap {
    width: 160%;
    margin: 0 -30%;
  }
}
/* ========================================
   天気表示
   ======================================== */
.weather {
  position: absolute;
  left: calc(100% - 150px);
  bottom: -30px;
  z-index: 10;
  width: 180px;
  aspect-ratio: 1/1;
  background: url(https://tatsumifarm.com/apps/note/wp-content/themes/theme_tatsumi/images/banners/top_weather.png) no-repeat center center;
  background-size: contain;
}

.weather__txt {
  padding-top: 72px;
  padding-right: 10px;
}
.weather__txt p {
  font-size: 0.7em;
  text-align: center;
  line-height: 1.5;
}

@media screen and (min-width: 768px) {
  .weather {
    left: calc(100% - 250px);
    width: 260px;
  }

  .weather__txt {
    padding-top: 105px;
    padding-right: 15px;
  }
  .weather__txt p {
    font-size: 1em;
  }
}

@media screen and (min-width: 992px) {
  .weather {
    left: calc(100% - 320px);
  }
}

@media screen and (min-width: 1200px) {
  .weather {
    left: 66vw;
  }
}
/* ========================================
   フルーツアイコン
   ======================================== */
.fruit {
  position: relative;
  margin-bottom: 2em;
}

.fruit__list {
  display: flex;
  justify-content: center;
  gap: 2%;
  max-width: 800px;
  margin: 0 auto;
}

.fruit__item {
  width: 12%;
  animation: pikopiko 1s steps(2, start) infinite;
}

/* 各フルーツアイテムに時間差を設定 */
.fruit__item:nth-child(1) {
  animation-delay: 0s;
}
.fruit__item:nth-child(2) {
  animation-delay: 0.3s;
}
.fruit__item:nth-child(3) {
  animation-delay: 0.6s;
}
.fruit__item:nth-child(4) {
  animation-delay: 0.9s;
}
.fruit__item:nth-child(5) {
  animation-delay: 1.2s;
}

/* ピコピコ回転アニメーション */
@keyframes pikopiko {
  0% {
    transform: rotate(20deg);
  }
  to {
    transform: rotate(-10deg);
  }
}

@-webkit-keyframes pikopiko {
  0% {
    -webkit-transform: rotate(20deg);
  }
  to {
    -webkit-transform: rotate(-10deg);
  }
}

@media screen and (min-width: 992px) {
  .fruit {
    margin-bottom: 6em;
  }
}

/* ========================================
   コンテンツ
   ======================================== */
.post h2 {
  max-width: 500px;
  margin: 0 auto 0.5em;
  padding: 0;
  border: none;
}

@media screen and (min-width: 768px) {
  .post h2 {
    font-size: 1.7em;
    text-align: center;
  }
}

@media screen and (min-width: 992px) {
  .post h2 {
    max-width: 800px;
    margin-bottom: 2em;
  }
}
/* ========================================
   笑顔が咲くりんご園
   ======================================== */
#topAbout {
  padding-bottom: 35vw;
}

#topAbout::before {
  content: "";
  position: absolute;
  bottom: -10vw;
  left: 0;
  z-index: -2;
  width: 100vw;
  height: calc((100vw / 4) * 3);
  background: url(https://tatsumifarm.com/apps/note/wp-content/themes/theme_tatsumi/images/contents/bg_square.png) no-repeat bottom center;
  background-size: contain;
}

.topAbout__txt {
  position: relative;
  padding-top: min(20%, 7em);
}

.topAbout__txt::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  width: 100vw;
  height: 500px;
  background: url(https://tatsumifarm.com/apps/note/wp-content/themes/theme_tatsumi/images/contents/bg_letter.png) no-repeat top center;
  background-size: 1000px auto;
}

.topAbout__txt .container {
  position: relative;
  max-width: 700px;
}

.topAbout__txt .container::before {
  content: "";
  position: absolute;
  top: -4.2em;
  right: -10%;
  z-index: -1;
  width: 38%;
  max-width: 210px;
  aspect-ratio: 1/1;
  background: url(https://tatsumifarm.com/apps/note/wp-content/themes/theme_tatsumi/images/contents/bg_stamp.png) no-repeat top center;
  background-size: 100%;
}

@media screen and (min-width: 768px) {
  .topAbout__txt {
    text-align: center;
  }
}
/* リンゴ画像 */
.topAbout__img {
  position: absolute;
  width: 30vw;
  max-width: 280px;
}

.topAbout__img01 {
  bottom: 100%;
  left: -5%;
  animation: float01 3s ease-in-out infinite;
}

.topAbout__img02 {
  top: 82%;
  right: -10%;
  animation: float02 3s ease-in-out infinite;
}

.topAbout__img03 {
  top: 102%;
  left: 2%;
  animation: float01 3s ease-in-out infinite;
}

/* フロートアニメーション */
@keyframes float01 {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0px);
  }
}

@keyframes float02 {
  0% {
    transform: translateY(-10px);
  }
  50% {
    transform: translateY(0px);
  }
  100% {
    transform: translateY(-10px);
  }
}
@media screen and (min-width: 700px) {
  .topAbout__img01 {
    left: calc(-5% + (100vw - 700px) / -2);
  }
  .topAbout__img02 {
    top: 44%;
    right: calc(-5% + (100vw - 700px) / -2);
  }
  .topAbout__img03 {
    top: 95%;
    left: calc(2% + (100vw - 700px) / -2);
  }
}
@media screen and (min-width: 930px) {
  .topAbout__img01 {
    bottom: 96%;
    left: -150px;
  }
  .topAbout__img02 {
    right: -150px;
  }
  .topAbout__img03 {
    left: -100px;
  }
}
/* ========================================
   バナー
   ======================================== */
#topBanner {
  background: url(https://tatsumifarm.com/apps/note/wp-content/themes/theme_tatsumi/images/contents/bg_suisai_left.png) no-repeat left center;
  background-size: contain;
}

.topBanner__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2.5em;
}

.topBanner__item {
  max-width: 400px;
}

.topBanner__item a {
  transition: opacity 0.3s ease;
}

.topBanner__item a:hover {
  opacity: 0.7;
}

.topBanner__img {
  position: relative;
  width: 100%;
  margin-bottom: 1.5em;
  aspect-ratio: 6 / 4;
  overflow: hidden;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.topBanner__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.topBanner__item a:hover .topBanner__img img {
  transform: scale(1.1);
}

.topBanner__img::before {
  content: "";
  position: absolute;
  z-index: 1;
  bottom: 10px;
  right: 10px;
  width: 40px;
  height: 40px;
  background: url(https://tatsumifarm.com/apps/note/wp-content/themes/theme_tatsumi/images/common/icon_bnr.png) no-repeat center center;
  background-size: contain;
}

.topBanner__txt {
  width: 90%;
  max-width: 260px;
  margin: 0 auto;
}
@media screen and (min-width: 768px) {
  .topBanner__list {
    gap: 1.5em;
  }
  .topBanner__item {
    width: calc((100% - 3em) / 3);
  }
}
/* ========================================
   お知らせ
   ======================================== */
#topNews {
  background-size: contain;
}

#topNews::before {
  content: "";
  position: absolute;
  bottom: -60vw;
  right: 0;
  z-index: -1;
  width: 100vw;
  aspect-ratio: 1/1;
  background: url(https://tatsumifarm.com/apps/note/wp-content/themes/theme_tatsumi/images/contents/bg_square_left_sp.png) no-repeat bottom center;
  background-size: contain;
}
.postList01__list {
  padding: 0;
  margin: 0;
}
.postList01__item {
  margin-bottom: 1em;
  list-style: none;
}

.postList01__link {
  display: block;
  padding: 1em 1.2em 1.3em;
  border-radius: 10px;
  border: solid 1px #eee;
  background: #fff;
  color: var(--color-text);
  text-decoration: none;
  transition: all 0.3s ease;
}

.postList01__link:hover {
  transform: translateY(-5px);
}

.postList01__date {
  font-size: 0.8em;
}

h3.postList01__ttl {
  margin: 0.3em 0 0;
  padding: 0;
  border: none;
  font-size: 1em;
  font-weight: normal;
  line-height: 1.5;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  display: -moz-box;
  -moz-box-orient: vertical;
  display: box;
  box-orient: vertical;
  line-clamp: 2;
}
@media screen and (min-width: 992px) {
  #topNews::before {
    bottom: -30vw;
    width: 70vw;
    aspect-ratio: 1/1;
    background: url(https://tatsumifarm.com/apps/note/wp-content/themes/theme_tatsumi/images/contents/bg_square_left_pc.png) no-repeat bottom right;
    background-size: contain;
  }
  .topNews__inner {
    display: flex;
  }
  .topNews__ttl {
    width: 40%;
  }
  .topNews__cts {
    padding-left: 3em;
    width: 60%;
  }
  .postList01__list {
    margin-top: 0;
  }
  h3.postList01__ttl {
    -webkit-line-clamp: 1;
    line-clamp: 1;
  }
}
/* ========================================
   マップ
   ======================================== */
#topMap {
  margin-bottom: 6em;
}

.topMap__ttl {
  position: relative;
}

.topMap__ttl::before {
  content: "";
  position: absolute;
  right: 0;
  bottom: -20px;
  z-index: -1;
  width: 50px;
  aspect-ratio: 1/1;
  background: url(https://tatsumifarm.com/apps/note/wp-content/themes/theme_tatsumi/images/contents/fruit_apple2.png) no-repeat center center;
  background-size: 50px;
  animation: pikopiko 1s steps(2, start) infinite;
}

.topMap__inner {
  position: relative;
  height: 450px;
  margin: 75px auto;
  padding: 1em 0 1.5em;
  background: url(https://tatsumifarm.com/apps/note/wp-content/themes/theme_tatsumi/images/contents/sketchbook_mid.png) repeat-y top center;
  background-size: 1000px auto;
}

.topMap__inner::before {
  content: "";
  position: absolute;
  top: -75px;
  left: 0;
  width: 100%;
  height: 75px;
  background: url(https://tatsumifarm.com/apps/note/wp-content/themes/theme_tatsumi/images/contents/sketchbook_top.png) no-repeat bottom center;
  background-size: 1000px auto;
}

.topMap__inner::after {
  content: "";
  position: absolute;
  bottom: -75px;
  left: 0;
  width: 100%;
  height: 75px;
  background: url(https://tatsumifarm.com/apps/note/wp-content/themes/theme_tatsumi/images/contents/sketchbook_bottom.png) no-repeat top center;
  background-size: 1000px auto;
}

.topMap__img {
  position: relative;
  width: 100%;
  max-width: 860px;
  height: 100%;
  margin: 0 auto;
  overflow: auto;
}

.topMap__img img {
  width: 1200px;
  max-width: none;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
}

.topMap__scroll-message {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, 0.8);
  color: #fff;
  padding: 1em 2em;
  border-radius: 5px;
  font-size: 0.8em;
  text-align: center;
  z-index: 10;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.topMap__scroll-message.hidden {
  opacity: 0;
  pointer-events: none;
}
@media screen and (min-width: 768px) {
  #topMap {
    margin-bottom: 10em;
  }
  .topMap__inner {
    height: 600px;
    margin: 90px auto;
    padding: 2em 0;
    background: url(https://tatsumifarm.com/apps/note/wp-content/themes/theme_tatsumi/images/contents/sketchbook_mid.png) repeat-y top center;
    background-size: 1200px auto;
  }
  .topMap__inner::before {
    top: -90px;
    height: 90px;
    background-size: 1200px auto;
  }
  .topMap__inner::after {
    bottom: -90px;
    height: 90px;
    background-size: 1200px auto;
  }
}
@media screen and (min-width: 992px) {
  #topMap {
    margin-bottom: 12em;
  }
  .topMap__ttl::before {
    right: 0px;
    bottom: 0px;
    width: 80px;
    background-size: 80px;
  }
}
@media screen and (min-width: 1200px) {
  .topMap__inner {
    height: auto;
    background-size: 1400px auto;
  }
  .topMap__inner::before {
    top: -105px;
    height: 105px;
    background-size: 1400px auto;
  }
  .topMap__inner::after {
    bottom: -105px;
    height: 105px;
    background-size: 1400px auto;
  }
  .topMap__img {
    max-width: 1000px;
    height: 600px;
    overflow: hidden;
  }
  .topMap__img img {
    width: 1000px;
  }
  .topMap__scroll-message {
    display: none;
  }
}
/* ========================================
   Instagram
   ======================================== */
#topInstagram {
  position: relative;
}

#topInstagram::before {
  content: "";
  position: absolute;
  top: -20%;
  left: 0;
  z-index: -1;
  width: 60%;
  max-width: 600px;
  aspect-ratio: 1/1;
  background: url(https://tatsumifarm.com/apps/note/wp-content/themes/theme_tatsumi/images/contents/bg_appletree.png) no-repeat top left;
  background-size: 100%;
}

.topInstagram__ttl {
  position: relative;
}

.topInstagram__ttl::before {
  content: "";
  position: absolute;
  right: -10vw;
  bottom: -4vw;
  z-index: -1;
  width: 30vw;
  max-width: 200px;
  aspect-ratio: 1/1;
  background: url(https://tatsumifarm.com/apps/note/wp-content/themes/theme_tatsumi/images/contents/bg_picnic.png) no-repeat center center;
  background-size: contain;
}
@media screen and (min-width: 992px) {
  .topInstagram__ttl::before {
    right: -10vw;
    bottom: -4vw;
    max-width: 260px;
  }
}
/* ========================================
   ページローディング
   ======================================== */
.page-loading {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #fff;
  z-index: 99999;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 1;
  transition: opacity 0.5s ease-out;
}

.page-loading.hidden {
  opacity: 0;
  pointer-events: none;
}

.loading-fruit {
  width: 80px;
  height: 80px;
  position: relative;
}

.loading-fruit img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  animation: fruitChange 2s linear infinite;
}

/* 各フルーツの表示タイミング */
.loading-fruit img:nth-child(1) {
  animation-delay: 0s;
}
.loading-fruit img:nth-child(2) {
  animation-delay: 0.5s;
}
.loading-fruit img:nth-child(3) {
  animation-delay: 1s;
}
.loading-fruit img:nth-child(4) {
  animation-delay: 1.5s;
}

/* フルーツ切り替えアニメーション */
@keyframes fruitChange {
  0%,
  24% {
    opacity: 1;
  }
  25% {
    opacity: 0;
  }
}

@-webkit-keyframes fruitChange {
  0%,
  24% {
    opacity: 1;
  }
  25% {
    opacity: 0;
  }
}

/* ========================================
   天気予報ウィジェット
   ======================================== */
.weather-widget {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 10px;
  padding: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  margin: 10px 0;
  text-align: center;
}

.weather-location {
  font-size: 0.9em;
  color: #666;
  margin-bottom: 8px;
  font-weight: bold;
}

.weather-description {
  font-size: 1.2em;
  color: #333;
  margin-bottom: 10px;
  font-weight: bold;
}

.weather-temp {
  font-size: 1.5em;
  color: #e74c3c;
  font-weight: bold;
  margin-bottom: 5px;
}

.weather-humidity,
.weather-wind {
  font-size: 0.8em;
  color: #666;
  margin-bottom: 3px;
}

/* レスポンシブ対応 */
@media screen and (max-width: 767px) {
  .weather-widget {
    padding: 10px;
    margin: 8px 0;
  }

  .weather-description {
    font-size: 1em;
  }

  .weather-temp {
    font-size: 1.3em;
  }
}
