.recamp-page {
  margin: 0;
  padding: 0;
  height: 100%;
  background-color: #F6F2E3;
  color: #13683A;
  line-height: 1.6;
  font-family: 'Hiragino Kaku Gothic ProN','ヒラギノ角ゴ ProN W3',YuGothic,'Yu Gothic','メイリオ', Meiryo,sans-serif;
}

.recamp-page header {
  background: #13683A;
  position: relative;
  z-index: 100;
}

.recamp-page header .inner {
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 60px;
}

.recamp-page header .inner img {
  margin: 0 auto;
  display: block;
}

.recamp-page main {
  overflow: hidden;
}

.recamp-page .contents {
  max-width: 960px;
  margin: 8px auto 64px;
}

.recamp-page .slider-container {
  width: 100%;
  overflow: hidden;
  margin: 0;
  padding: 20px 0;
  position: relative;
  background: #F6F2E3;
}

.recamp-page .slider-wrapper {
  width: 100%;
  margin: 0 auto;
  overflow: hidden;
  position: relative;
}

.recamp-page .slider-content {
  display: flex;
  gap: 16px;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  animation: seamlessSlide 55s linear infinite;
}

.recamp-page .slide {
  flex: 0 0 326px;
  height: 216px;
}

.recamp-page .slide-inner {
  width: 100%;
  height: 100%;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.recamp-page .slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@keyframes seamlessSlide {
  0% {
      transform: translateX(-50%);
  }
  100% {
      transform: translateX(calc(-50% - ((326px + 16px) * 5))); /* 5枚分スライド */
  }
}

.recamp-page .headline-container {
  text-align: center;
  padding-top: 16px;
  position: relative;
  z-index: 10;
}

.recamp-page .headline {
  font-size: 16px;
  border-bottom: 1px solid currentColor;
  padding: 0 0 2px;
}

.recamp-page .headline-container .ttl {
  font-size: 32px;
  margin-top: 8px;
  font-weight: bold;
}

.recamp-page #section {
  text-align: center;
  border-top: 1px dotted #13683A;
  max-width: 576px;
  margin: 0 auto;
}

.recamp-page #section .sub_txt {
  background: #13683A;
  color: #F6F2E3;
  font-size: 12px;
  padding: 2px 6px;
  width: fit-content;
  margin: 0 auto 16px;
  border-radius: 0 0 8px 8px;
}

.recamp-page #section p {
  margin: 16px auto;
  font-size: 14px;
  line-height: 1.8;
  border-bottom: 1px dotted #13683A;
  padding-bottom: 16px;
}

.recamp-page #section h1 {
  font-size: 24px;
  margin: 16px 0 16px;
  font-weight: bold;
}

.recamp-page select {
  padding: 12px 24px;
  font-size: 16px;
  width: 100%;
  max-width: 400px;
  border-radius: 32px;
  border: 2px solid #13683A;
  color: #13683A;
  margin: 8px auto 24px;
  display: block;
  appearance: none;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2313683A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") no-repeat right 16px center;
  cursor: pointer;
}

.recamp-page .campground-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 960px;
  margin: 24px auto 0;
  padding: 0 24px 0;
}

.recamp-page .campground-item {
  position: relative;
  display: flex;
  gap: 32px;
  align-items: center;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  transition: opacity 0.3s ease;
  opacity: 0;
}

.recamp-page .campground-item.show {
  opacity: 1;
}

.recamp-page .region-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background: #64472A;
  color: #ffffff;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 13px;
  z-index: 1;
}

.recamp-page .campground-item img {
  width: 358px;
  height: 218px;
  object-fit: cover;
  border-radius: 8px 0 0 8px;
}

.recamp-page .campground-item-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 24px 32px 24px 0;
  min-height: 170px;
  justify-content: center;
}

.recamp-page .campground-item h2 {
  font-size: 18px;
  margin: 0;
  line-height: 1.4;
}

.recamp-page .campground-item p {
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
  flex: 1;
  border-bottom: 1px solid;
  padding-bottom: 8px;
  margin-bottom: 8px;
}

.recamp-page .campground-item a {
  display: inline-block;
  padding: 8px 40px;
  background: #FFDB3F;
  color: #000;
  text-decoration: none;
  border-radius: 6px;
  font-size: 14px;
  transition: opacity 0.3s;
  width: fit-content;
  position: relative;
  font-weight: bold;
}

.recamp-page .campground-item a::after {
	content: '';
	position: absolute;
	top: 50%;
	right: 24px;
	transform: translateY(-50%) rotate(45deg);
	border-top: solid 1.5px #000;
	border-right: solid 1.5px #000;
	display: inline-block;
	width: 8px;
	height: 8px;
}

.recamp-page .campground-item a:hover {
  opacity: 0.8;
}

.recamp-page footer {
	background: #13683A;
	display: flex;
	justify-content: center;
	align-items: center;
	height: 56px;
}
.recamp-page footer p {
	margin: 0;
	font-size: 13px;
  color: #F6F2E3;
}

.recamp-page .sp{
  display: none;
}

.recamp-page .footer_sns {
  display: flex;
  gap: 16px;
  justify-content: center;
  align-items: center;
  margin-bottom: 24px;
}

.recamp-page .sns-item a {
  display: inline-block;
}

.recamp-page .sns-item svg {
  width: 32px;
  height: 32px;
  fill: #13683A;
}

.recamp-page .view-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0px auto;
  padding: 16px;
  max-width: 912px;
  background-color: #E5DDCD;
}

.recamp-page .facility-count {
  font-size: 16px;
  margin: 0;
  color: #64472A;
}

.recamp-page .view-buttons {
  display: flex;
  gap: 8px;
}

.recamp-page .view-button {
  background: none;
  border: 1px solid #64472A;
  border-radius: 4px;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
  padding: 5px;
  cursor: pointer;
  color: #64472A;
  transition: all 0.3s ease;
}

.recamp-page .view-button:hover {
  background: rgba(100, 71, 42, 0.1);
}

.recamp-page .view-button.active {
  background: #64472A;
  color: #E5DDCD;
}

.recamp-page .campground-list.grid-view {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.recamp-page .campground-list.grid-view .campground-item {
  flex-direction: column;
  gap: 0;
}

.recamp-page .campground-list.grid-view .campground-item img {
  width: 100%;
  height: auto;
  aspect-ratio: 3/2;
  border-radius: 8px 8px 0 0;
}

.recamp-page .campground-list.grid-view .campground-item a{
  width: 100%;
  box-sizing: border-box;
  text-align: center;
}

.recamp-page .campground-list.grid-view .campground-item-content {
  padding: 16px;
  min-height: auto;
}

.recamp-page .facility-count {
  font-size: 14px;
  margin: 0;
  color: #64472A;
}

.recamp-page .facility-count .count-number {
  font-size: 20px;
  font-weight: bold;
  margin-right:3px;
}

@media (max-width: 768px) {
  .recamp-page header{
    padding: 0;
  }

  .recamp-page header .inner{
    padding: 0;
    height: 48px;
  }

  .recamp-page .headline {
    font-size: 18px;
  }

  .recamp-page .headline-container{
    padding-top: 0;
  }

  .recamp-page .headline-container .ttl {
    font-size: 32px;
    margin-bottom: 0;
  }

  .recamp-page .contents {
    padding: 16px 16px;
    margin-bottom:24px;
    margin-top: 0;;
  }

  .recamp-page #section .sub_txt{
    font-size: 14px;
  }
  .recamp-page #section h1{
    font-size: 24px;
    margin: 16px 0 8px;
    line-height: 32px;
  }

  .recamp-page #section p{
    font-size: 16px;
    line-height: 28px;    
  }

  .recamp-page .campground-item {
    flex-direction: column;
    gap: 20px;
  }

  .recamp-page .campground-item h2{
    line-height: 24px;
  }

  .recamp-page .campground-item p{
    line-height: 24px;
  }

  .recamp-page .campground-item a{
    padding: 12px 40px;
    border-radius: 6px;
    font-size: 16px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
    text-align: center;
  }

  .recamp-page .campground-list{
    margin: 24px auto 0;
    padding: 0;
  }
  
  .recamp-page .campground-item img {
    width: 100%;
    height: auto;
    aspect-ratio: 3/2;
    border-radius: 8px 8px 0 0;
  }
  
  .recamp-page .campground-item-content {
    text-align: left;
    padding: 0px 16px 20px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
  }

  .recamp-page select {
    font-size: 14px;
    padding: 10px 20px;
    margin: 16px auto 24px;
  }

  .recamp-page .slide {
    flex: 0 0 166px;
    height: 110px;
  }

.recamp-page .slider-content {
    width: calc((166px + 16px) * 6);
    transform: translateX(calc(-1 * (166px + 16px)));
    padding: 0 calc((100vw - 166px) / 2);
  }

@keyframes infiniteSlide {
    from {
        transform: translateX(calc(-1 * (166px + 16px)));
    }
    to {
        transform: translateX(calc(-5 * (166px + 16px)));
    }
  }

  .recamp-page .sp{
    display: block;
  }

  .recamp-page .campground-list.grid-view {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

.recamp-page .view-controls {
    padding: 12px;
  }

.recamp-page .facility-count {
    font-size: 14px;
  }

.recamp-page .view-button {
    padding: 6px;
  }

.recamp-page .view-button svg {
    width: 20px;
    height: 20px;
  }

 .recamp-page .campground-list.grid-view .region-badge {
    font-size: 10px;
  }

 .recamp-page .campground-list.grid-view .campground-item-content{
    padding: 10px;
  }

 .recamp-page .campground-list.grid-view .campground-item h2{
    font-size: 14px;
    line-height: 20px;
  }

 .recamp-page .campground-list.grid-view .campground-item p{
    font-size: 12px;
    line-height: 16px;
  }

  .recamp-page .campground-list.grid-view .campground-item a{
    padding: 8px 12px;
    font-size: 12px;
  }

  .recamp-page .campground-list.grid-view .campground-item a::after{
    right: 12px;
  }

  .recamp-page .campground-list.grid-view .campground-item-content{
    gap:4px;
  }

  .recamp-page .campground-list.grid-view .region-badge{
    top: 6px;
    left: 6px;
    padding: 4px 6px;
  }

  .recamp-page .campground-list.grid-view .campground-item {
    transition: opacity 0.3s ease;
    opacity: 0;
  }

  .recamp-page .campground-list.grid-view .campground-item.show {
    opacity: 1;
  }

  .recamp-page .facility-count {
    font-size: 12px;
  }

  .recamp-page .facility-count .count-number {
    font-size: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .recamp-page .slider-content {
    animation: none;
  }
}