/* from flow-css */

#mainImg {
  background: url(../img/contents/pref-bil-bg-img-d.webp) no-repeat ;
  background-size: cover !important;
}
#mainImg h1 {
  margin-bottom: 0;
  font-size: 2.3rem;
  margin-top: 1rem;
}
h1 span {
  font-size: 3.4rem;
}
/* from block.css .outer.support */
.entry-content .outer {
  background-image: url(../img/bg/townscape.png);
  background-repeat: repeat-x, repeat;
  background-position: center bottom 10px;
  background-size: 20rem;
}
.bil-textbox p {
  font-size: clamp(1rem, 1.9vw, 1.2rem);
  line-height: 1.5rem;
}
.area-pref dl dt {
  display: inline-block;
  background: #F51100;
  border-radius: 5px;
  color: #fff;
  padding: .2rem 1rem 0;
}
.area-pref ul li {
  display: inline-block;
  margin: .5rem 1.5em .5em 0;
  white-space: nowrap;
}
.area-pref ul li a {
    text-decoration: underline;
}
.bil-textbox img {
  max-width: 100% !important;
}
.bil-textbox .col-1-2 li {
  list-style: none;
}
.bil-textbox ul {
  opacity: 0;
  transform: translateY(20px);
  animation-name: fadein;
  animation-duration: 1.5s;
  animation-timing-function: ease-out;
  animation-fill-mode: forwards;
  animation-delay: 2.8s;
}

@keyframes fadein {
  0% {
     opacity: 0;
     transform: translateY(20px);
  }
  100% {
     opacity: 1;
     transform: translateY(0);
  }
}
.bil-textbox p.bil-common {
  opacity: 0;
  transform: translateY(20px);
  animation-name: fadein;
  animation-duration: 1.5s;
  animation-timing-function: ease-out;
  animation-fill-mode: forwards;
  animation-delay: 1.8s;
}

@keyframes fadein {
  0% {
     opacity: 0;
     transform: translateY(20px);
  }
  100% {
     opacity: 1;
     transform: translateY(0);
  }
}

.bil-textbox p.accent {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 1rem;
  font-size: clamp(0.9rem, 1.9vw, 1.3rem);
  line-height: 1.6rem;
}
.bil-textbox p.accent span {
  display: inline;
  background-size: 0 40%; /* 初期状態のサイズ */
  position: relative;
  background-image: linear-gradient(1deg, #f55043, #f55043);
  background-repeat: no-repeat;
  background-position: bottom left;
  font-weight: bold;
  animation: backgroundGrow 2s ease-in-out forwards; /* forwardsで最終状態を保持 */
}

/* アニメーション定義 */
@keyframes backgroundGrow {
  from {
    background-size: 0 30%; /* 初期サイズ */
  }
  to {
    background-size: 100% 30%; /* 最終サイズ */
  }
}


.shiten-info .shop-pict {
  width: 100%;
  padding: 0rem;
  margin: 0;
}
.shiten-info .shop-text {
  width: 100%;
  font-size: clamp(10.8px, 1.4vw, 1rem);
}
.item-wrap.shop-wrap {
  height: 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  transition: 0.5s;
}
.item-wrap.shop-wrap:hover {
  transform: scale(1.03);
  transition: 0.5s;
}
.shiten-info .shop-pict img {
  object-fit: cover;
  aspect-ratio: 1.2;
  width: 100%;
  height: 10rem;
}
.shiten-info .results-withumb.swiper-container {
  padding-bottom: 3em;
}
@media screen and (min-width: 48em) {
    
  /* ビルボ */
  .bil-max {
    margin: auto;
    max-width: 1200px;
}
.bil-textbox {
  padding: 1rem;
}
.site-main #mainImg img {
  max-width: 50%;
}
  .entry-content .outer {
    background-position: center bottom 20px;
    background-size: auto;   
  }
  body:not(.has-sidebar) .site-main .outer {
    padding-bottom: 136px;
  }
}

@media screen and (min-width: 79em) {
  #mainImg {
    background-size: auto;
  }
  #mainImg:before {
    height: 200px;
    right: calc(50vw - 536px)
    ;
  }
}
