/* 基本設定 */
body {
    font-family: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* PC版全体の最大幅制限 - 1440px */
@media (min-width: 1441px) {
    body {
        max-width: 1440px;
        margin: 0 auto;
        background-color: #ffffff;
        box-shadow: 0 0 20px rgba(0,0,0,0.1);
    }
    
    html {
        background-color: #f8f9fa;
    }
}

/* メインコンテンツ */
.main-content {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ヘッダー */
.header {
    background: white;
    padding: 15px 0;
    position: relative;
    z-index: 1000;
}

.header-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    /* color: white; */
    padding: 8px 20px;
    text-decoration: none;
}

.header-title {
    color: #401312;
    /* font-family: YuGothic; */
    font-weight: 500;
    font-size: 12px;
    line-height: 13.8px;
    letter-spacing: 1px;
    vertical-align: middle;

}

.header-nav {
    display: flex;
    align-items: center;
    gap: 15px;
}

.header-illustration {
    height: 50px;
    display: flex;
    align-items: center;
}

.header-svg {
    height: 50px;
    width: auto;
    max-width: 100px;
}

.logo {
    text-decoration: none;
    display: flex;
    align-items: flex-start;
    flex-direction: column;
}

/* ヒーローセクション - 画面幅いっぱい */
.hero-section-fullwidth {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    margin-bottom: 40px;
    overflow: hidden;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

/* デスクトップ版（1024px以上） */
@media (min-width: 1024px) {
    .hero-section-fullwidth {
        aspect-ratio: 1359 / 682;
        background-image: url('./images/hero-complete.svg');
        max-height: 80vh;
        border-radius: 0 0 20px 20px;
    }
}

/* タブレット版（768px〜1023px） */
@media (min-width: 768px) and (max-width: 1023px) {
    .hero-section-fullwidth {
        aspect-ratio: 1359 / 682;
        background-image: url('./images/hero-complete.svg');
        max-height: 70vh;
        border-radius: 0 0 20px 20px;
    }
}

/* モバイル版（767px以下） */
@media (max-width: 767px) {
    .hero-section-fullwidth {
        aspect-ratio: 4 / 3;
        background-image: url('./images/sp_mv.svg');
        min-height: 250px;
        max-height: 60vh;
        border-radius: 0 0 15px 15px;
        margin-bottom: 30px;
    }
}

/* スマートフォン（480px以下）でさらに調整 */
@media (max-width: 480px) {
    .hero-section-fullwidth {
        min-height: 200px;
        max-height: 50vh;
        border-radius: 0 0 10px 10px;
    }
}

/* セクションタイトル - SVG背景対応 */
.section-title-wrapper {
    position: relative;
    text-align: center;
    margin: 30px auto 40px auto;
    background-image: url('./images/section-title-bg.svg');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    padding: 20px 0;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-page .page-title::before {
    content:"";
    position:absolute;
    inset:0;
    margin:auto;
    width:clamp(300px, 60vw, 598px);
    aspect-ratio:598/136;
    background:url('./images/section-title-bg.svg') center/contain no-repeat;
    transform:translate(-10%,-15%) rotate(-2deg);
    border-radius:50px;
    top:50%;
    left:50%;
    bottom:auto;
    right:auto;
    transform:translate(-50%, -50%);
}

.section-title {
    position: relative;
    z-index: 2;
    background: transparent;
    color: #401312;
    padding: 0;
    border-radius: 0;
    margin: 0;
    font-size: 1.2rem;
    font-weight: 700;
    box-shadow: none;
    border: none;
}

/* カードグリッド */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 50px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
    align-items: stretch;
}

.card {
    background: white;
    border-radius: 16px;
    overflow: visible;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    height: 100%;
    border: 2px solid #8AC75A;
    position: relative;
    padding: 16px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    min-height: 400px;
}

.card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

/* カテゴリタグ */
.card-categories {
    width: 100%;
    margin-bottom: 12px;
    display: flex;
    justify-content: flex-start;
    box-sizing: border-box;
    gap: 8px;
}

.card-category {
    background: #F1A5A8;
    color: white;
    padding: 6px 16px;
    border-radius: 16px;
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 16px;
    height: auto;
    min-height: 28px;
    width: auto;
    max-width: 150px;
    min-width: auto;
    flex: none;
    flex-grow: 0;
    flex-shrink: 0;
    flex-basis: auto;
    white-space: nowrap;
    text-align: center;
    vertical-align: top;
    overflow: hidden;
    text-overflow: ellipsis;
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    vertical-align: middle;
}

.card-category.shop {
    background: #F1A5A8;
}

.card-category.event {
    background: #a5d4a6;
}

.card-category.news {
    background: #b299d4;
}

.card-category.other {
    background: #ffc674;
}

.card-category.tag-style {
    background: #898376;
}

.card-image-container {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 16px;
    flex-shrink: 0;
    height: 200px;
}

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

.card-image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #aaa;
    font-size: 0.85rem;
}

.card-content {
    padding: 0;
    width: 100%;
    flex: 1;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    min-height: 0;
}

/* カードタイトル */
.card-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 12px;
    margin-top: 0;
    color: #ff6b35;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-break: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    height: 2.6em;
    flex-shrink: 0;
}

.card-title a {
    text-decoration: none;
    color: inherit;
}

.card-title a:hover {
    color: #e55a2b;
}

/* カード説明文 */
.card-description {
    color: #444;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-break: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    flex: 1;
    min-height: 4.8em;
}

.card-description p {
    margin: 0;
    padding: 0;
    line-height: inherit;
    font-size: inherit;
    color: inherit;
}

.card-description br {
    display: none;
}

.card-description img,
.card-description iframe,
.card-description video {
    display: none;
}

/* カードメタ情報 */
.card-meta {
    margin-top: 10px;
    padding-top: 8px;
    border-top: 1px solid #f0f0f0;
    font-size: 0.75rem;
    color: #999;
}

/* ページネーション */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
    margin: 40px 0;
    font-family: inherit;
}

.pagination ul {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.pagination li {
    margin: 0;
}

.pagination a,
.pagination span {
    all: unset;
    cursor: pointer;
    font-size: 18px;
    font-weight: 600;
    line-height: 1;
    color: #351714;
}

.pagination a:hover {
    color: #23100f;
}

.pagination .current {
    color: #ff8a65;
    pointer-events: none;
}

.pagination .dots {
    color: #bbaaa5;
    pointer-events: none;
}

.pagination a.prev,
.pagination a.next,
.pagination span.prev,
.pagination span.next {
    width: 35px;
    height: 35px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    font-size: 22px;
    transition: background .2s;
    color: #351714;
}

.pagination a.prev:hover,
.pagination a.next:hover {
    background: rgba(0,0,0,.04);
    color: #23100f;
}

.pagination span.prev,
.pagination span.next,
.pagination .prev.disabled,
.pagination .next.disabled {
    color: #c7bab4;
    border-color: #c7bab4;
    cursor: default;
    pointer-events: none;
}

.pagination .disabled {
    color: #c7bab4;
    border-color: #c7bab4;
    pointer-events: none;
}

.pagination .prev svg,
.pagination .next svg {
    width: 35px;
    height: 35px;
}

/* フッター */
.footer {
    background: #FFF2EC;
    color: #333;
    text-align: center;
    padding: 40px 0;
    padding-top: 60px;
}

.footer-illustration {
    margin-bottom: 20px;
}

.footer-svg {
    height: 60px;
    width: auto;
    max-width: 120px;
}

.footer-text {
    margin-bottom: 20px;
    font-size: 1.0rem;
    color: #707070;
}

.footer-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
}

.footer-logo {
    color: white;
    padding: 8px 20px;
    border-radius: 6px;
    display: inline-block;
    margin-bottom: 15px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
}

.footer-copyright {
    font-size: 0.85rem;
    color: #999;
}

/* ボタンスタイル */
.btn-search,
.btn-contact {
    width: 260px;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    line-height: 1;
    box-sizing: border-box;
}

.btn-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.btn-search {
    background: linear-gradient(135deg, #ff9a66, #ff6b47);
    color: white;
}

.btn-search:hover {
    background: linear-gradient(135deg, #ff6b47, #e55b3c);
    transform: translateY(-1px);
}

.btn-contact {
    background: linear-gradient(135deg, #4a90a4, #357a8a);
    color: white;
}

.btn-contact:hover {
    background: linear-gradient(135deg, #357a8a, #2c6b7a);
    transform: translateY(-1px);
}

/* モーダル共通スタイル */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 0;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    position: relative;
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-header {
    padding: 20px 20px 15px 20px;
}

.modal-title {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
}

.close {
    position: absolute;
    right: 15px;
    top: 15px;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    color: #999;
    background: none;
    border: none;
    padding: 5px;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.close:hover {
    color: #333;
    background: #f5f5f5;
}

.modal-body {
    padding: 20px;
}

.modal-footer {
    padding: 15px 20px 20px 20px;
    text-align: right;
}

body.modal-open {
    overflow: hidden;
}

/* 検索フォーム */
.search-form {
    max-width: 100%;
}

.form-row {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.form-group {
    flex: 1;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: #333;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 0.9rem;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #ff6b47;
    box-shadow: 0 0 0 3px rgba(255, 107, 71, 0.1);
}

/* 検索モーダル用CSS */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.search-modal {
    background: white;
    border-radius: 20px;
    width: 90%;
    max-width: 786px;
    max-height: calc(100vh - 40px);
    position: relative;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    animation: modalSlideIn 0.3s ease-out;
    display: flex;
    flex-direction: column;
    overflow: scroll;
}

.modal-header {
    padding: 32px 32px 0 32px;
    position: relative;
}

.modal-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2c3e50;
    margin: 0;
    text-align: left;
}

.modal-close {
    position: absolute;
    top: 28px;
    right: 28px;
    background: none;
    border: none;
    width: 36px;
    height: 36px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ff8566;
    font-size: 28px;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.modal-close img {
    width: 48px;
    height: 48px;
}

.modal-body {
    padding: 24px 32px 32px 32px;
}

.area-section {
    margin-bottom: 32px;
}

.area-title {
    font-size: 1rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 16px;
}

.area-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.select-wrapper {
    position: relative;
}

.area-select {
    width: 100%;
    padding: 14px 40px 14px 16px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 15px;
    background: white;
    color: #374151;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
    appearance: none;
}

.area-select:focus {
    outline: none;
    border-color: #ff8566;
    box-shadow: 0 0 0 3px rgba(255, 133, 102, 0.1);
}

.area-select:disabled {
    background: #f9fafb;
    color: #9ca3af;
    cursor: not-allowed;
}

.select-wrapper::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 16px;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid #9ca3af;
    pointer-events: none;
}

.category-section {
    margin-bottom: 32px;
}

.category-title {
    font-size: 1rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 16px;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px 24px;
}

.category-item {
    display: flex;
    align-items: center;
    padding: 4px 0;
}

.category-checkbox {
    width: 20px;
    height: 20px;
    margin-right: 12px;
    accent-color: #ff8566;
    cursor: pointer;
}

.category-label {
    font-size: 15px;
    color: #374151;
    cursor: pointer;
    user-select: none;
    flex: 1;
    line-height: 1.4;
}

.category-label:hover {
    color: #1f2937;
}

.keyword-section {
    margin-bottom: 32px;
}

.keyword-input {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 15px;
    background: white;
    color: #374151;
    font-family: inherit;
    box-sizing: border-box;
}

.keyword-input:focus {
    outline: none;
    border-color: #ff8566;
    box-shadow: 0 0 0 3px rgba(255, 133, 102, 0.1);
}

.keyword-input::placeholder {
    color: #9ca3af;
}

.button-section {
    display: flex;
    gap: 16px;
    justify-content: center;
    padding-top: 16px;
}

.reset-button {
    background: white;
    border: 1px solid #d1d5db;
    color: #6b7280;
    padding: 14px 40px;
    border-radius: 25px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
    min-width: 120px;
}

.reset-button:hover {
    background: #f9fafb;
    border-color: #9ca3af;
}

.search-button {
    background: linear-gradient(135deg, #ff8566, #ff6b47);
    color: white;
    border: none;
    padding: 14px 40px;
    border-radius: 25px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    box-shadow: 0 2px 8px rgba(255, 107, 71, 0.3);
    min-width: 120px;
}

.search-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 107, 71, 0.4);
}

.search-button:active {
    transform: translateY(0);
}

/* picture要素を使ったヒーローセクション */
.hero-section-picture {
    margin-bottom: 40px;
    overflow: hidden;
    border-radius: 0 0 20px 20px;
}

@media (max-width: 1440px) {
    .hero-section-picture {
        width: 100vw;
        position: relative;
        left: 50%;
        right: 50%;
        margin-left: -50vw;
        margin-right: -50vw;
    }
}

@media (min-width: 1441px) {
    .hero-section-picture {
        width: 100%;
        position: relative;
        left: 0;
        right: 0;
        margin-left: 0;
        margin-right: 0;
    }
}

.hero-picture {
    width: 100%;
    display: block;
}

.hero-image-responsive {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    object-position: center;
}

.card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}

.card-link:hover .card-title {
    color: #e55a2b;
}
.company-name {
    font-size: 18px;
    font-weight: 400;
    color: #666;
    text-decoration: none;
    font-family: 'Noto Sans JP', sans-serif;
    letter-spacing: 0.5px;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.logo:hover .company-name {
    opacity: 1;
    color: #555;
}
    
/* レスポンシブ対応 */
@media (max-width: 1024px) {
    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
        max-width: 800px;
        align-items: stretch;
    }
    
    .card {
        min-height: 380px;
    }
}

@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px;
    }
    
    .main-content {
        padding: 0 16px;
    }
    
    .section-title-wrapper {
        margin: 25px auto 30px auto;
        min-height: 50px;
    }
    
    .section-title {
        font-size: 1.1rem;
    }
    
    .cards-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 12px;
        padding: 0 16px;
        max-width: 100%;
        margin: 0 auto;
        align-items: stretch;
    }

    .card {
        border: 1px solid #8AC75A;
        border-radius: 12px;
        background: white;
        box-shadow: 0 2px 8px rgba(0,0,0,0.06);
        overflow: hidden;
        position: relative;
        height: 100%;
        padding: 12px;
        display: flex;
        flex-direction: column;
        box-sizing: border-box;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        min-height: 320px;
    }

    .card-categories {
        width: 100%;
        margin-bottom: 8px;
        display: flex;
        justify-content: flex-start;
        box-sizing: border-box;
        gap: 4px;
        flex-wrap: wrap;
        max-width: 100%;
    }

    .card-category {
        box-sizing: border-box;
        background: #F1A5A8;
        color: white;
        padding: 4px 12px;
        border-radius: 10px;
        font-size: 13px;
        font-weight: 600;
        line-height: 20px;
        min-height: 28px;
        position: static;
        z-index: auto;
        width: auto;
        max-width: 120px;
        min-width: auto;
        flex: none;
        flex-grow: 0;
        flex-shrink: 0;
        flex-basis: auto;
        white-space: nowrap;
        text-align: center;
        vertical-align: top;
        overflow: hidden;
        text-overflow: ellipsis;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        line-height: 1;
        vertical-align: middle;
    }

    .card-image-container {
        width: 100%;
        height: 120px;
        border-radius: 8px;
        overflow: hidden;
        flex-shrink: 0;
        position: relative;
        background: #f8f9fa;
        margin-bottom: 12px;
        margin-top: 0;
    }

    .card-image,
    .card-image-placeholder {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 8px;
    }

    .card-image-placeholder {
        background: linear-gradient(135deg, #f8f8f8 0%, #e8e8e8 100%);
        display: flex;
        align-items: center;
        justify-content: center;
        color: #aaa;
        font-size: 11px;
    }

    .card-content {
        flex: 1;
        display: flex;
        flex-direction: column;
        min-height: 0;
        padding: 0;
        width: 100%;
        box-sizing: border-box;
    }

    .card-title {
        font-size: 16px;
        font-weight: 600;
        margin-bottom: 8px;
        line-height: 1.3;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        min-height: auto;
        flex-shrink: 0;
        word-break: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        height: 2.6em;
    }

    .card-title a {
        text-decoration: none;
        color: inherit;
    }

    .card-title a:hover {
        color: #ff6b35;
    }

    .card-description {
        font-size: 15px;
        color: #666;
        line-height: 1.4;
        display: -webkit-box;
        -webkit-line-clamp: 4;
        -webkit-box-orient: vertical;
        overflow: hidden;
        margin: 0;
        flex: 1;
        word-break: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        min-height: 5.6em;
    }

    .card-description p {
        margin: 0;
        padding: 0;
        line-height: inherit;
        font-size: inherit;
        color: inherit;
    }

    .card-description br {
        display: none;
    }

    .card-description img,
    .card-description iframe,
    .card-description video {
        display: none;
    }

    .card:hover {
        transform: translateY(-4px);
        box-shadow: 0 8px 25px rgba(0,0,0,0.12);
        border-color: #FFBFAc;
    }
    
    .footer-buttons {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    
    .btn-search, .btn-contact {
        padding: 8px 16px;
        font-size: 0.9rem;
        gap: 5px;
    }
    
    .btn-icon {
        width: 14px;
        height: 14px;
    }
    
    .modal-content {
        width: 95%;
        margin: 10% auto;
    }
    
    .form-row {
        flex-direction: column;
        gap: 10px;
    }
    
    .pagination {
        margin: 32px 0;
    }
    
    .pagination a,
    .pagination span {
        width: 32px;
        height: 32px;
        font-size: 0.8rem;
    }

    /* モバイル検索モーダル */
    .header {
        display: none;
    }

    .footer {
        display: none;
    }

    .mobile-header {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        background: white;
        z-index: 1000;
        box-shadow: 0 1px 3px rgba(0,0,0,0.08);
        transition: transform 0.3s ease;
    }

    .mobile-header-content {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 8px 15px;
        height: auto;
        min-height: 56px;
        position: relative;
    }

    .mobile-header-left {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 2px;
        flex-shrink: 0;
        z-index: 2;
    }

    .mobile-header-title {
        color: #666;
        font-size: 12px;
        font-weight: 400;
        white-space: nowrap;
        margin: 0;
        line-height: 1.2;
    }

    .mobile-logo {
        position: static;
        left: auto;
        transform: none;
        display: flex;
        align-items: center;
        text-decoration: none;
        z-index: auto;
        margin: 0;
    }

    .mobile-company-name {
        font-size: 14px;
        font-weight: 400;
        color: #666;
        text-decoration: none;
        font-family: 'Noto Sans JP', sans-serif;
        letter-spacing: 0.2px;
        opacity: 0.7;
        white-space: nowrap;
        line-height: 1.2;
    }

    .mobile-logo:hover .mobile-company-name {
        opacity: 0.9;
        color: #555;
    }

    .mobile-header-right {
        display: flex;
        align-items: center;
        gap: 10px;
        flex-shrink: 0;
    }

    .mobile-header-illustration {
        position: absolute;
        right: 60px;
        top: 50%;
        transform: translateY(-50%);
        height: 40px;
        z-index: 0;
    }

    .mobile-header-svg {
        height: 100%;
        width: auto;
    }

    .mobile-menu-toggle {
        position: absolute;
        top: 0;
        right: 10px;
        width: 48px;
        height: 60px;
        cursor: pointer;
        background: #FF8A65;
        border: none;
        border-radius: 0 0 8px 8px;
        padding: 0;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 4px;
        z-index: 2;
        flex-shrink: 0;
        transition: all 0.3s ease;
    }

    .mobile-menu-toggle span {
        display: block;
        width: 24px;
        height: 3px;
        background: white;
        margin: 0;
        transition: all 0.3s ease;
        border-radius: 1px;
    }

    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(4px, -4px);
    }

    .mobile-menu-toggle.active {
        position: fixed;
        top: 12px;
        right: 15px;
        z-index: 9999;
    }

    .mobile-menu {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: #FF8A65;
        display: none;
        z-index: 9998;
        overflow-y: auto;
    }

    .mobile-menu.active {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .mobile-menu-close {
        position: absolute;
        top: 15px;
        right: 15px;
        background: none;
        border: none;
        cursor: pointer;
        padding: 10px;
        width: 50px;
        height: 50px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .mobile-menu-close svg {
        width: 24px;
        height: 24px;
        stroke: white;
        stroke-width: 2;
    }

    .mobile-menu-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 20px;
        width: 100%;
        max-width: 300px;
        padding: 0 20px;
    }

    .mobile-menu-button {
        width: 100%;
        max-width: 200px;
        padding: 12px 20px;
        background: white;
        border: none;
        border-radius: 25px;
        text-decoration: none;
        color: #FF8A65;
        font-size: 14px;
        font-weight: 600;
        text-align: center;
        cursor: pointer;
        transition: all 0.3s ease;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    }

    .mobile-menu-button:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    }

    .mobile-menu-button svg {
        width: 18px;
        height: 18px;
        fill: #FF8A65;
    }

    .modal-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 9999;
        padding: 20px;
        box-sizing: border-box;
    }

    .search-modal {
        background: white;
        border-radius: 20px;
        width: 100%;
        max-width: 400px;
        max-height: 90vh;
        position: relative;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
        animation: modalSlideIn 0.3s ease-out;
        overflow: hidden;
        display: flex;
        flex-direction: column;
        box-sizing: border-box;
    }

    .modal-header {
        padding: 20px 20px 15px 20px;
        border-bottom: 1px solid #f0f0f0;
        position: relative;
        background: white;
        z-index: 10;
        flex-shrink: 0;
    }

    .modal-title {
        font-size: 18px;
        text-align: center;
        color: #333;
        margin: 0;
        font-weight: 600;
    }

    .modal-close {
        display: none;
    }

    .modal-body {
        flex: 1;
        padding: 20px;
        overflow-y: auto;
        overflow-x: hidden;
        -webkit-overflow-scrolling: touch;
        box-sizing: border-box;
    }

    .area-section {
        margin-bottom: 30px;
    }

    .area-title {
        font-size: 16px;
        font-weight: 600;
        color: #333;
        margin-bottom: 15px;
    }

    .area-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }

    .select-wrapper {
        position: relative;
    }

    .area-select {
        width: 100%;
        padding: 12px 35px 12px 12px;
        border: 1px solid #e0e0e0;
        border-radius: 8px;
        font-size: 16px;
        background: white;
        color: #333;
        appearance: none;
        cursor: pointer;
        font-family: inherit;
        box-sizing: border-box;
    }

    .area-select:focus {
        outline: none;
        border-color: #FF8A65;
        box-shadow: 0 0 0 3px rgba(255, 138, 101, 0.1);
    }

    .area-select:disabled {
        background: #f9f9f9;
        color: #999;
        cursor: not-allowed;
    }

    .select-wrapper::after {
        content: '';
        position: absolute;
        top: 50%;
        right: 12px;
        transform: translateY(-50%);
        width: 0;
        height: 0;
        border-left: 5px solid transparent;
        border-right: 5px solid transparent;
        border-top: 5px solid #9ca3af;
        pointer-events: none;
    }

    .category-section {
        margin-bottom: 30px;
    }

    .category-title {
        font-size: 16px;
        font-weight: 600;
        color: #333;
        margin-bottom: 15px;
    }

    .category-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .category-item {
        display: flex;
        align-items: center;
        padding: 8px 0;
    }

    .category-checkbox {
        width: 20px;
        height: 20px;
        margin-right: 12px;
        accent-color: #FF8A65;
        cursor: pointer;
    }

    .category-label {
        font-size: 16px;
        color: #333;
        cursor: pointer;
        line-height: 1.4;
        user-select: none;
    }

    .keyword-section {
        margin-bottom: 30px;
    }

    .keyword-input {
        width: 100%;
        padding: 12px 15px;
        border: 1px solid #e0e0e0;
        border-radius: 8px;
        font-size: 16px;
        color: #333;
        font-family: inherit;
        box-sizing: border-box;
    }

    .keyword-input:focus {
        outline: none;
        border-color: #FF8A65;
        box-shadow: 0 0 0 3px rgba(255, 138, 101, 0.1);
    }

    .keyword-input::placeholder {
        color: #999;
    }

    .button-section {
        padding-bottom: 20px;
        background: white;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 12px;
        flex-shrink: 0;
        box-sizing: border-box;
        flex-direction: row;
    }

    .reset-button {
        width: 88px;
        margin-right: auto;
        background: #F5F0E5;
        border: none;
        color: #401312;
        padding: 12px 16px;
        border-radius: 20px;
        font-size: 14px;
        font-weight: 500;
        cursor: pointer;
        transition: all 0.2s ease;
        font-family: inherit;
        box-sizing: border-box;
        text-align: center;
    }

    .reset-button:hover {
        background: #f9f9f9;
        border-color: #ccc;
    }

    .mobile-close-button {
        margin: auto;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        background: white;
        border: 2px solid #e0e0e0;
        border-radius: 50%;
        cursor: pointer;
        transition: all 0.2s ease;
        flex-shrink: 0;
        box-sizing: border-box;
    }

    .mobile-close-button img {
        width: 40px;
        height: 40px;
    }

    .search-button {
        width: 88px;
        margin-left: auto;
        background: linear-gradient(135deg, #FF8A65, #ff6b47);
        color: white;
        border: none;
        padding: 12px 16px;
        border-radius: 20px;
        font-size: 14px;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s ease;
        font-family: inherit;
        box-shadow: 0 2px 8px rgba(255, 107, 71, 0.3);
        box-sizing: border-box;
        text-align: center;
    }

    .search-button:hover {
        transform: translateY(-1px);
        box-shadow: 0 4px 12px rgba(255, 107, 71, 0.4);
    }

    .search-button:active {
        transform: translateY(0);
    }

    .section-title-wrapper {
        margin: 20px auto 25px auto;
        min-height: 50px;
    }

    .section-title {
        font-size: 18px;
        font-weight: 700;
        color: #333;
    }

    .mobile-footer {
        display: block;
        background: #FFF2EC;
        text-align: center;
        padding: 40px 15px 30px;
        padding-top: 40px;
    }

    .mobile-footer-illustration {
        margin-bottom: 20px;
        display: flex;
        justify-content: center;
    }

    .mobile-footer-svg {
        height: 60px;
        width: auto;
    }

    .mobile-footer-text {
        font-size: 14px;
        color: #707070;
        margin-bottom: 25px;
        font-weight: 500;
    }

    .mobile-footer-buttons {
        display: flex;
        justify-content: center;
        gap: 15px;
        margin-bottom: 30px;
    }

    .mobile-btn-search,
    .mobile-btn-contact {
        padding: 10px 20px;
        font-size: 14px;
        font-weight: 600;
        border-radius: 25px;
        display: inline-flex;
        align-items: center;
        gap: 6px;
        text-decoration: none;
        transition: all 0.3s ease;
        border: none;
    }

    .mobile-btn-search {
        background: #FF8A65;
        color: white;
    }

    .mobile-btn-contact {
        background: linear-gradient(135deg, #4a90a4, #357a8a);
        color: white;
    }

    .mobile-btn-search:hover,
    .mobile-btn-contact:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    }

    .mobile-btn-icon {
        width: 16px;
        height: 16px;
        filter: brightness(0) invert(1);
    }

    .mobile-footer-logo {
        margin-bottom: 20px;
        text-decoration: none;
    }

    .mobile-footer-logo-img {
        height: 36px;
        width: auto;
    }

    .mobile-footer-copyright {
        font-size: 12px;
        color: #999;
        margin: 0;
    }

    body.modal-open {
        overflow: hidden;
        position: fixed;
        width: 100%;
        height: 100%;
    }
}

@media (max-width: 767px) {
    .hero-section-picture {
        margin-top: 80px;
        border-radius: 0 0 15px 15px;
    }
    
    .hero-image-responsive {
        min-height: 250px;
    }
}

@media (max-width: 480px) {
    .hero-section-picture {
        border-radius: 0 0 10px 10px;
    }
    
    .hero-image-responsive {
        min-height: 200px;
    }
}

/* デスクトップ版（768px以上） */
@media (min-width: 768px) {
    .mobile-menu-toggle,
    .mobile-menu,
    .mobile-header,
    .mobile-footer,
    .mobile-close-button {
        display: none;
    }

    .modal-close {
        display: flex;
        position: absolute;
        top: 24px;
        right: 24px;
        width: 40px;
        height: 40px;
        background: #f5f5f5;
        border: 1px solid #e0e0e0;
        border-radius: 50%;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: all 0.2s ease;
    }

    .modal-close:hover {
        background: #e9ecef;
    }

    .button-section {
        padding: 16px 0 0 0;
        background: transparent;
        border-top: none;
        box-shadow: none;
        justify-content: center;
        gap: 16px;
        display: flex;
    }

    .reset-button,
    .search-button {
        flex: none;
        min-width: 120px;
    }

    body.modal-open {
        overflow: hidden;
        position: static;
        width: auto;
        height: auto;
    }
}

@media (max-width: 767px) {
    .pagination {
        gap: 16px;
        margin: 32px 0;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .pagination a,
    .pagination span,
    .pagination .page-numbers {
        font-size: 16px;
        min-width: 32px;
        height: 32px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
    
    .pagination a.prev,
    .pagination a.next,
    .pagination span.prev,
    .pagination span.next {
        width: 32px;
        height: 32px;
        font-size: 16px;
        flex-shrink: 0;
    }
    
    .pagination .prev svg,
    .pagination .next svg {
        width: 32px;
        height: 32px;
    }
    
    .pagination .dots {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        min-width: 32px;
    }
    
    .pagination > * {
        display: inline-flex !important;
        visibility: visible !important;
    }
}

/* SNSアイコン個別サイズ調整 */
.footer-sns {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 25px;
    margin-top: 25px;
    margin-bottom: 25px;
}

.sns-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px !important;
    height: 50px !important;
    border-radius: 50%;
    cursor: pointer;
    text-decoration: none;
    background: transparent !important;
    flex-shrink: 0;
}

.sns-svg-icon {
    object-fit: contain;
    display: block;
    filter: none !important;
}

.sns-instagram .sns-svg-icon {
    width: 36px !important;
    height: 36px !important;
}

.sns-tiktok .sns-svg-icon {
    width: 42px !important;
    height: 42px !important;
}

.sns-line .sns-svg-icon {
    width: 36px !important;
    height: 36px !important;
}

.mobile-footer-sns {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 20px;
    margin-bottom: 20px;
}

.mobile-sns-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px !important;
    height: 45px !important;
    border-radius: 50%;
    cursor: pointer;
    text-decoration: none;
    background: transparent !important;
    flex-shrink: 0;
}

.mobile-sns-svg-icon {
    object-fit: contain;
    display: block;
    filter: none !important;
}

.mobile-sns-instagram .mobile-sns-svg-icon {
    width: 32px !important;
    height: 32px !important;
}

.mobile-sns-tiktok .mobile-sns-svg-icon {
    width: 38px !important;
    height: 38px !important;
}

.mobile-sns-line .mobile-sns-svg-icon {
    width: 32px !important;
    height: 32px !important;
}

@media (max-width: 480px) {
    .footer-sns {
        gap: 18px;
    }
    
    .sns-tiktok .sns-svg-icon {
        width: 38px !important;
        height: 38px !important;
    }
    
    .mobile-sns-tiktok .mobile-sns-svg-icon {
        width: 34px !important;
        height: 34px !important;
    }
}