/* 既存スタイルのクリア */
body,#main {
background-color: #F0F1F5!important;
}

#main{
border:0px;
}




#content.content {
    margin-top: 0;
}
#content-in.content-in.wrap {
    width: auto;
    margin: 0 auto;
}
.no-sidebar .content .main {
    margin: 0;
    width: 100%;
    padding: 0;
}
.swiperWrap .mySwiper .swiper-wrapper {
    margin-top: 0;
    margin-left: 0;
}


.swiperWrap{
width: 100%;
margin: 0 auto;
padding: 20px 0px ;
background-color: #191a1d;
}

.swiper.mySwiper{
width: 1200px;
}

.swiper-button-next, .swiper-button-prev {
    color: #fff;
    opacity: 0.8;
}


.entry-content {
    width: 1000px;
    margin: 0 auto;

}

article{
padding: 16px;
}


/* フィルターフォームのスタイル */
.photo-spot-filter-section {
    background-color: #f9f9f9;
    border: 1px solid #eee;
    padding: 20px;
    margin-bottom: 30px;
    border-radius: 5px;
}

.photo-spot-filter-form h3 {
    font-size: 1.2em;
    margin-top: 15px;
    margin-bottom: 10px;
}

.photo-spot-filter-form .filter-group label {
    display: inline-block;
    margin-right: 15px;
    margin-bottom: 8px;
    font-size: 0.95em;
}

.photo-spot-filter-form select {
    padding: 8px 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    margin-right: 10px;
    min-width: 200px;
}

.filter-submit-button, .filter-reset-button {
    background-color: #007bff;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1em;
    margin-top: 15px;
    margin-right: 10px;
}

.filter-reset-button {
    background-color: #6c757d;
}

.filter-submit-button:hover, .filter-reset-button:hover {
    opacity: 0.9;
}

/* 検索結果のグリッドスタイル */
.photo-spot-results {
    margin-top: 40px;
}

.results-title {
    font-size: 1.5em;
    margin-bottom: 25px;
    text-align: center;
}

.photo-spot-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
}

.photo-spot-item {
    border: 1px solid #eee;
    border-radius: 5px;
    overflow: hidden;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    background-color: #fff;
    transition: transform 0.2s ease-in-out;
    padding-bottom: 20px;
}

.photo-spot-item:hover {
    transform: translateY(-5px);
}

.photo-spot-item a {
    text-decoration: none;
    color: #333;
    display: block;
}

.photo-spot-item img {
    width: 100%;
    height: 180px; /* 固定高さを設定 */
    object-fit: cover; /* 画像をトリミングして領域に収める */
    display: block;
    border-bottom: 1px solid #eee;
}

.photo-spot-item h3 {
    font-size: 1.1em;
    margin: 15px 10px 5px;
    line-height: 1.4;
    min-height: 40px; /* タイトルの高さを揃えるため */
}



.no-results {
    text-align: center;
    font-size: 1.1em;
    color: #888;
    padding: 30px;
    border: 1px dashed #ccc;
    border-radius: 5px;
}

.post-tags {
    margin-top: 30px;
    padding: 20px;
    background-color: #f9f9f9;
    border-top: 1px solid #eee;
}

.post-tags h3 {
    font-size: 1.1em;
    margin-bottom: 15px;
    color: #555;
}

.post-tags-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex; /* 横並びにする場合 */
    flex-wrap: wrap; /* 折り返しを許可 */
    gap: 10px; /* タグ間のスペース */
}

.post-tags-list li {
    margin: 0;
    padding: 0;
}

.post-tags-list li a {
    display: inline-block;
    background-color: #e0e0e0;
    color: #333;
    padding: 5px 12px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.9em;
    transition: background-color 0.3s ease;
}

.post-tags-list li a:hover {
    background-color: #c0c0c0;
    color: #000;
}
.photo-spot-item {
    text-align: left;

}

p.photoSpotsearch_tag {
font-size: 12px;
text-align: left;
    color: #666;
    margin: 0 10px 0;
}

@media screen and (max-width: 1023px)
	{
h2 {
    font-size: 1.2em;

}
.photo-spot-grid {
    padding: 0 20px;
}

.mobile-header-menu-buttons {
    box-shadow: none!important;
}

h1.entry-title{
padding: 0;
}

.swiper.mySwiper{
width: 100%;
}
.entry-content {
    width: 100%;
}
.swiper-button-next:after, .swiper-button-prev:after {
    font-size: 1.4rem;
}

		}


/* ------------------------------------------- */
/* 撮影地検索結果カードリスト
/* ------------------------------------------- */

/* カードリスト全体（グリッドコンテナ） */
.spot-card-list {
    display: grid;
    gap: 20px; /* カード間の余白 */
    grid-template-columns: repeat(4, 1fr); /* PCでは4列 */
    margin-top: 2em;
}

/* カード本体（全体がリンク） */
.spot-card {
    display: flex;
    flex-direction: column;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    text-decoration: none;
    color: #333;
    background-color: #fff;
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.spot-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}

/* サムネイル画像エリア */
.spot-card-thumbnail {
    width: 100%;
    aspect-ratio: 4 / 3; /* 画像のアスペクト比を4:3に固定 */
    background-color: #f0f0f0;
}

.spot-card-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* コンテナに合わせて画像をトリミング */
}

/* コンテンツエリア */
.spot-card-content {
    padding: 15px;
    flex-grow: 1; /* 高さがバラバラでもフッターを揃える */
}

/* カードタイトル */
.spot-card-title {
    font-size: 1rem;
    font-weight: bold;
    margin: 0 0 10px 0;
    line-height: 1.4;
    color: #111;
    
    /* タイトルが長い場合に2行で省略する設定 */
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

/* ACFメタ情報リスト */
.spot-card-meta {
    font-size: 0.8rem;
    list-style: none;
    padding: 0;
    margin: 0;
    color: #555;
}

.spot-card-meta li {
    margin-bottom: 5px;
}

.spot-card-meta .meta-label {
    font-weight: 600;
    margin-right: 0.5em;
}

/* ------------------------------------------- */
/* レスポンシブ設定 (スマートフォン)
/* ------------------------------------------- */
@media (max-width: 768px) {
    .spot-card-list {
        grid-template-columns: repeat(2, 1fr); /* SPでは2列 */
        gap: 15px;
    }

    .spot-card-title {
        font-size: 0.9rem;
    }

    .spot-card-content {
        padding: 10px;
    }
}

 .search-form > div.search-field-group , .search-form > div.search-submit{
    border: unset;
}

 .search-form > div.search-submit{
    position: relative;
}

button.search-submit-button {
    margin: 30px auto 0;
    display: block;
    width: 80%;
    padding: 8px 0px;
    border-radius: 5px;
    border: 1px solid #ccc;
    font-size: 1rem;
    font-weight: 600;
}