

/*==============================
    header
==============================*/
.rd-app-header {
    position: sticky;
    top: 0;
    z-index: 9999;
    background: #fff;
    padding: 0 12px 12px;
    border-bottom: 1px solid #e5e5e5;
}

.rd-search-form {
    position: relative;
}

.rd-app-header .rd-search-form input {
    width: 100%;
    height: 48px;
    border: 1px solid #e5e5e5;
    border-radius: 50px !important;
    padding-left: 40px !important;
    padding-right: 16px;
    background: #f8f9fb;
    font-size: 14px;
}

.rd-search-form input:focus {
    outline: none;
    border-color: #ff6b35;
    background: #fff;
}

.rd-search-icon {
    position: absolute;
    left: 16px;
    top: 57%;
    transform: translateY(-50%);
    font-size: 16px;
    color: #888;
    pointer-events: none;
}

.rd-header-expandable {
    overflow: hidden;
    max-height: 1000px;
    opacity: 1;
    transition:
        max-height .35s ease,
        opacity .25s ease;
}
.rd-header-expandable.is-collapsed {
    max-height: 0;
    opacity: 0;
}
.rd-header-expandable.is-open {
    max-height: 600px;
    opacity: 1;
}

.rd-header-handle {
    position: relative;
    margin-top: 8px;
    margin-bottom: 8px;
    text-align: center;
}

.rd-header-handle::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: 1px;
    background: #e5e5e5;
    z-index: 1;
}

.rd-header-toggle {
    position: absolute;
    left: 50%;
    bottom: -32px;
    transform: translateX(-50%);
    width: 58px;
    height: 32px;
    border: none;
    background: #fff;
    border-radius: 0 0 40px 40px;
    box-shadow: 0 2px 2px rgba(0,0,0,.08);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}
.rd-header-toggle::before {
    content: '';
    position: absolute;
    inset: 0;
    background: #fff;
    border-radius: 0 0 999px 999px;
    box-shadow: 0 2px 4px rgba(0,0,0,.08);
    z-index: -1;
}

.rd-toggle-icon {
    width: 10px;
    height: 10px;
    border-right: 2px solid #666;
    border-bottom: 2px solid #666;
    transform: rotate(45deg);
    transition: .25s ease;
}

.rd-header-toggle.active .rd-toggle-icon {

    transform: rotate(-135deg);
}

.rd-toggle-chevron {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-right: 2px solid #888;
    border-bottom: 2px solid #888;
    transform: rotate(45deg);
    transition: .3s;
}

.rd-header-toggle.active .rd-toggle-chevron {

    transform: rotate(-135deg);
}

.rd-area-tabs{
    display: flex;
    gap: 8px;
    overflow-x: auto;
    margin-top: 12px;
    scrollbar-width: none;
}

.rd-category-tabs {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    overflow-y: hidden;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.rd-area-tabs::-webkit-scrollbar,
.rd-category-tabs::-webkit-scrollbar {
    display: none;
}

.rd-area-tabs a {
    white-space: nowrap;
    background: #f5f5f5;
    padding: 8px 14px;
    border-radius: 30px;
    text-decoration: none;
    color: #333;
    font-size: 14px;
}

.rd-category-section {
    margin-top: 20px;
}

.rd-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
}

.rd-section-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
}

.rd-view-all {
    font-size: 13px;
    color: #ff6b35;
    text-decoration: none;
}

.rd-category-wrapper {

    position: relative;
}

.rd-category-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 40px;
    height: 100%;
    background: linear-gradient(
        to right,
        rgba(255,255,255,0),
        rgba(255,255,255,1)
    );
    pointer-events: none;
}

.rd-category-tabs {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 6px;
    scrollbar-width: none;
}

.rd-category-tabs::-webkit-scrollbar {
    display: none;
}

.rd-category-card {
    flex: 0 0 auto;
    min-width: 88px;
    background: #ffffff;
    border-radius: 18px;
    padding: 14px 10px;
    text-decoration: none;
    color: #333;
    text-align: center;
    box-shadow: 0 4px 14px rgba(0,0,0,.06);
    flex-shrink: 0;
    transition: .2s;
}

.rd-category-card:hover {
    transform: translateY(-2px);
}

.rd-category-icon {
    width: 52px;
    height: 52px;
    margin: 0 auto 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rd-category-icon img {
    width: 42px;
    height: 42px;
    object-fit: contain;
}

.rd-category-card span {
    display: block;
    font-size: 13px;
    font-weight: 600;
}

/*==============================
    footer
==============================*/
.rd-footer-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 72px;
    background: #ffffff;
    display: flex;
    justify-content: space-around;
    align-items: center;
    box-shadow: 0 -2px 20px rgba(0,0,0,.08);
    z-index: 99999;
}

.rd-nav-item {
    flex: 1;
    text-align: center;
    color: #555;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 11px;
    gap: 4px;
}

.rd-nav-item .dashicons {
    font-size: 22px;
    width: 22px;
    height: 22px;
}

.rd-nav-center {
    width: 72px;
    height: 72px;
    flex: none;
    background: #ff6b35;
    color: #fff !important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: -24px;
    box-shadow: 0 8px 20px rgba(255,107,53,.35);
}

.rd-nav-center .dashicons {
    font-size: 28px;
    width: 28px;
    height: 28px;
}

.rd-nav-center span:last-child {
    display: none;
}

@media (min-width: 1025px) {
    .rd-footer-nav {
        max-width: 600px;
        left: 50%;
        transform: translateX(-50%);
        border-radius: 24px 24px 0 0;
    }
}


/*==============================
    frontpage
====================================*/
.rd-feature-section { margin: 20px 0; }

.rd-feature-swiper { padding: 0; }

.rd-feature-swiper img {
    width: 100%;
    aspect-ratio: 16 / 5;
    object-fit: cover;
    border-radius: 20px;
    display: block;
}

.rd-feature-overlay {

    position: absolute;

    left: 0;
    right: 0;
    bottom: 0;

    padding: 24px 16px;

    background: linear-gradient(
        transparent,
        rgba(0,0,0,.7)
    );

    border-radius: 0 0 20px 20px;
}

.rd-feature-overlay h2 {

    color: #fff;

    font-size: 18px;

    margin: 0;
}

/*===============================
    post
=================================*/
/* 共通 */
.info {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 8px 16px;
  margin: 16px 0;
  font-size: 14px;
}

.info dt {
  font-weight: bold;
  color: #555;
  border-bottom: 1px solid #eee;
  padding: 6px 0;
}

.info dd {
  margin: 0;
  padding: 6px 0;
  border-bottom: 1px solid #eee;
  word-break: break-word;
}

/* リンク整形 */
.info a {
  color: #0073aa;
  text-decoration: underline;
}

/* 画像 */
.info img {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
}

/* モバイル最適化 */
@media (max-width: 768px) {
  .info {
    grid-template-columns: 1fr;
  }

  .info dt {
    border-bottom: none;
    padding-bottom: 0;
    font-size: 13px;
    color: #888;
  }

  .info dd {
    padding-top: 4px;
    margin-bottom: 12px;
    border-bottom: 1px solid #eee;
  }
}

/*============================
    card
===============================*/
.rd-spot-grid {
    display: grid;
    grid-template-columns: repeat(
        2,
        minmax(0, 1fr)
    );
    gap: 16px;
}

.rd-spot-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow:
        0 4px 12px
        rgba(0,0,0,.06);
}

.rd-spot-card-link{
    display:block;
    color:inherit;
    text-decoration:none;
}

.rd-spot-card-image{
    aspect-ratio:1/0.6;
    overflow:hidden;
}

.rd-spot-card-image img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
}

.rd-spot-card-content{
    padding:12px;
}

.rd-card-category{
    display:inline-block;
    font-size:12px;
    padding:4px 8px;
    border-radius:999px;
    background:#f3f4f6;
    margin-bottom:8px;
}

.rd-card-title{
    font-size:15px;
    line-height:1.5;
    margin:0 0 6px;
}

.rd-card-address{
    font-size:12px;
    color:#777;
}

.rd-no-image{
    width:100%;
    height:100%;
    display:flex;
    align-items:center;
    justify-content:center;
    background:#f5f5f5;
}