/* ===============================
   メインテーマCSS
   =============================== */

/* カスタムプロパティの追加設定 */
:root {
    --card-shadow-hover: 0 10px 30px rgba(0, 0, 0, 0.15);
    --animation-duration: 0.3s;
    --animation-timing: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* font-face and base body font-family moved to theme's style.css */
button:hover,
input[type="submit"]:hover,
input[type="button"]:hover {
    transform: none;
    box-shadow: none;
}
button:focus {
    outline: none;
}
/* ===============================
   アニメーション
   =============================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

/* ===============================
   カスタム投稿タイプスタイル
   =============================== */

/* ストアアーカイブ */
.store-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.store-item {
    background: var(--bg-white);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    overflow: hidden;
    transition: all var(--animation-duration) var(--animation-timing);
    animation: fadeInUp 0.6s ease forwards;
}

.store-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--card-shadow-hover);
}

.store-thumbnail {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.store-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--animation-duration) ease;
}

.store-item:hover .store-thumbnail img {
    transform: scale(1.1);
}

.store-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.9), rgba(118, 75, 162, 0.9));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--animation-duration) ease;
}

.store-item:hover .store-overlay {
    opacity: 1;
}

.store-overlay-content {
    text-align: center;
    color: white;
}

.store-overlay-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.store-overlay-excerpt {
    font-size: 0.875rem;
    opacity: 0.9;
}

.store-content {
    padding: 1.5rem;
}

.store-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1rem;
    font-size: 0.875rem;
    color: var(--text-muted);
}

.store-client,
.store-date {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.store-client::before {
    content: "";
}

.store-date::before {
    content: "";
}

/* サービス */
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.service-item {
    background: var(--bg-white);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 2rem;
    text-align: center;
    transition: all var(--animation-duration) var(--animation-timing);
    position: relative;
    overflow: hidden;
}

.service-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transition: left var(--animation-duration) ease;
}

.service-item:hover::before {
    left: 0;
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--card-shadow-hover);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    transition: transform var(--animation-duration) ease;
}

.service-item:hover .service-icon {
    transform: rotate(360deg);
}

.service-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-color);
    margin: 1rem 0;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.service-features li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-color);
    position: relative;
    padding-left: 1.5rem;
}

.service-features li::before {
    content: "";
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: bold;
}

.service-features li:last-child {
    border-bottom: none;
}

/* ===============================
   ページテンプレート
   =============================== */

/* 単一投稿ページ */
.single-post .entry-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
}

.single-post .entry-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.single-post .entry-meta {
    justify-content: center;
    margin-bottom: 1.5rem;
}

.single-post .post-hero {
    margin: 2rem 0;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.single-post .post-hero img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.single-post .entry-content {
    font-size: 1.125rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.single-post .entry-content h2,
.single-post .entry-content h3,
.single-post .entry-content h4 {
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.single-post .entry-content blockquote {
    background: var(--bg-light);
    border-left: 4px solid var(--primary-color);
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: var(--border-radius);
    font-style: italic;
}

.single-post .entry-footer {
    padding-top: 2rem;
    border-top: 1px solid #4d4d4d;
}

.tags-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.tags-links a {
    background: var(--bg-light);
    color: var(--text-light);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    transition: var(--transition);
}

.tags-links a:hover {
    background: var(--primary-color);
    color: white;
}

/* ページナビゲーション */
.post-navigation {
    margin: 3rem 0;
    background: none;
    border-radius: unset;
    box-shadow: none;
    overflow: hidden;
}

.nav-links {
    display: flex;
    grid-template-columns: 1fr 1fr;
    flex-direction: inherit;
    gap: 0;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

.nav-previous,
.nav-next {
    padding: 7.5px;
    transition: background-color var(--animation-duration) ease;
}

.nav-previous {
    border-right: 1px solid #4d4d4d;
}

.nav-previous a,
.nav-next a {
    display: block;
    background: transparent;
    padding: 1rem 1.5rem;
    border-radius: unset;
    box-shadow: none;
    transition: var(--transition);
    border: 1px solid transparent;
}

.nav-previous a:hover,
.nav-next a:hover {
    transform: none;
    box-shadow: none;
    border: 1px solid #4d4d4d;
}

.nav-subtitle {
    display: block;
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.nav-title {
    display: block;
    font-weight: normal;
    color: var(--text-dark);
    line-height: 1.4em;
    font-size: 15px;
}

/* ===============================
   コメント
   =============================== */
.comments-area {
    margin-top: 3rem;
    background: var(--bg-white);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 2rem;
}

.comments-title {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--primary-color);
}

.comment-list {
    list-style: none;
    padding: 0;
}

.comment {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--bg-light);
    border-radius: var(--border-radius);
    border-left: 4px solid var(--primary-color);
}

.comment-author {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.comment-meta {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.comment-content {
    line-height: 1.7;
}

.comment-form {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.comment-form-author,
.comment-form-email,
.comment-form-url,
.comment-form-comment {
    margin-bottom: 1rem;
}

.comment-form label {
    display: block;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.required {
    color: var(--accent-color);
}

/* ===============================
   404ページ
   =============================== */
.error404 .site-main {
    text-align: center;
    padding: 4rem 0;
}

.error404 .page-header {
    margin-bottom: 3rem;
}

.error404 .page-title {
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.error404 .page-content {
    max-width: 600px;
    margin: 0 auto;
}

.error404 .search-form {
    margin-top: 2rem;
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* ===============================
   検索結果
   =============================== */
/* page-specific styles for store search are defined below where needed */

.search-results .page-header {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    margin-bottom: 2rem;
    text-align: center;
}

/* Search results summary above store list */
.search-results-summary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    padding: 6px 10px;
    font-weight: 700;
    font-size: 14px;
    margin: 0 0 16px 0;
}

.search-results-summary .search-results-label {
    margin-right: 6px;
    color: var(--text-dark);
}

.search-results-summary .search-results-count {
    background: var(--primary-color);
    /* brown -> use theme primary color */
    color: var(--bg-white);
    padding: 2px 8px;
    border-radius: 999px;
    font-weight: 700;
    margin-right: 6px;
    font-size: 13px;
}

.search-results-summary .search-results-pref {
    background: var(--bg-white);
    color: var(--text-dark);
    padding: 4px 10px;
    border-radius: 14px;
    font-weight: 600;
    font-size: 13px;
}


/* Tabs inside the search-results summary */
.search-results-tabs {
    display: flex;
    gap: 8px;
    align-items: center;
}

.search-results-tab {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: white;
    padding: 6px 10px;
    font-weight: 700;
    border: 0;
    cursor: pointer;
}

.search-results-summary .search-results-actions {
    margin-left: 12px;
}

/* static left label */
.search-results-label-static {
    font-weight: 700;
    color: var(--text-dark);
    margin-right: 12px;
}

/* wrapper around remove + tab */
.search-results-tab-wrap {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border-radius: 999px;
    background-color: var(--primary-color);
}

.search-results-tab-remove {
    background: transparent;
    border: 0;
    color: white;
    cursor: pointer;
    font-size: 14px;
    padding: 2px 6px;
    border-radius: 4px;
}

.search-results .page-title {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.search-results .search-form {
    margin-top: 1rem;
    display: flex;
    gap: 1rem;
    justify-content: center;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

/* ===============================
   アーカイブページ
   =============================== */
.archive .page-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 3rem 2rem;
    border-radius: var(--border-radius);
    margin-bottom: 2rem;
    text-align: center;
}

.archive .page-title {
    color: white;
    margin-bottom: 0.5rem;
}

.archive .archive-description {
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* ========== Store Search (PC) ========== */
.store-search-page .page-title {
    text-align: center;
    margin: 0 0 21px;
}

/* Store search: typography overrides */
.store-search-page .page-title {
    /* Use TrajanPro3Regular (declared via @font-face in theme style.css) */
    font-family: 'Trajan Pro 3', 'TrajanPro3Regular', serif;
    font-weight: 400;
    color: var(--primary-color);
    font-size: 80px;
    line-height: 1;
}

.store-search-page .tab-container {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
}

.store-search-page .tab-button {
    font-family: 'Trajan Pro 3', 'TrajanPro3Regular', serif;
    font-weight: 400;
    font-size: 11px;
    color: var(--text-dark);
    cursor: pointer;
    background: rgba(var(--text-muted-rgb), 0.3);
    border-radius: 5px;
    transition: background .2s ease, color .2s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border-radius: 999px;
    padding: 5px 37px;
}

.store-search-page .tab-button::before {
    content: '';
    display: inline-block;
    width: 12px;
    height: 12px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.store-search-page .tab-button[data-tab="map"]::before {
    background-image: url('../images/icon_map_gray.svg');
}

.store-search-page .tab-button[data-tab="list"]::before {
    background-image: url('../images/icon_list_gray.svg');
}

.store-search-page .tab-button.active {
    background: rgba(var(--primary-rgb), 0.3);
}

/* Remove hover visual changes for tab buttons */
.store-search-page .tab-button:hover {
    color: inherit;
    transform: translate(0);
    box-shadow: none;
}

.store-search-page .tab-button.active[data-tab="map"]::before {
    background-image: url('../images/icon_map_brown.svg');
}

.store-search-page .tab-button.active[data-tab="list"]::before {
    background-image: url('../images/icon_list_brown.svg');
}

.store-search-page .tab-content {
    display: none;
    overflow: hidden;
}

.store-search-page #list-tab.tab-content {
    background: white;
    border-top: 1px solid var(--primary-color);
    border-bottom: 1px solid var(--primary-color);
}

.store-search-page .tab-content.active {
    position: relative;
    display: block;
}

/* Map */
/* map-search-input removed; use #map-keyword within the map-search form for keyword searches */

.map-canvas {
    position: relative;
    width: 100%;
    min-height: 320px;
    height: 800px;
    border-radius: 20px;
    border: 2px solid var(--primary-color);
    overflow: hidden;
}

.map-filter-toggle {
    display: none;
}

/* Visually-hidden helper */
.visually-hidden {
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
    clip: rect(1px, 1px, 1px, 1px);
    white-space: nowrap;
    border: 0;
    padding: 0;
    margin: -1px;
}

#map-filter.map-filter--hidden {
    transform: translateX(-100%);
    background: rgba(255, 255, 255, 0);
}

/* Defensive: hide Google Maps fullscreen control if present */
.gm-fullscreen-control,
.gm-control-active .gm-fullscreen-control,
button[title="Toggle fullscreen view"] {
    display: none !important;
}

/* Map info window styles (moved from inline template) */
.gm-style-iw-ch {
    padding-top: 10px;
}

.gm-style-iw-chr {
    padding: 5px;
}

.gm-style .gm-style-iw-d {
    overflow: auto !important;
    overflow-y: scroll !important;
}

.gm-style .gm-style-iw-c {
    max-width: 400px;
    border: 1px solid var(--primary-color);
    border-radius: 20px;
    padding: 0;
}

.gm-style .gm-style-iw-c * {
    scrollbar-color: var(--primary-color) transparent;
}

.gm-ui-hover-effect {
    width: 20px !important;
    height: 20px !important;
}

.gm-ui-hover-effect span {
    width: 12px !important;
    height: 12px !important;
    margin: 0 !important;
    background-color: var(--primary-color);
}

.gm-custom-info {
    width: 100%;
    max-height: 220px;
    overflow: auto;
    background: var(--bg-white);
    border-radius: 12px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
    padding: 0 14px 14px;
    font-size: 14px;
    color: #222;
    position: relative;
    font-family: 'Zen kaku gothic antique', 'ZenKakuGothicAntique', sans-serif;
    font-weight: 400;
    color: var(--text-dark);
}

.gm-row {
    display: flex;
    column-gap: 3px;
    margin-bottom: 8px;
    min-width: 0;
    /* allow flex items to shrink instead of overflowing */
    text-align: left;
}

.gm-row .btn-map {
    margin-left: auto;
    /* push the MAP button to the far right */
    align-self: center;
    /* vertically center in the row */
    flex: 0 0 auto;
    /* don't grow/shrink to avoid unexpected width changes */
}

/* Ensure address/station text wraps instead of creating horizontal scroll */
.gm-addr,
.gm-station,
.gm-title {
    word-break: break-word;
    overflow-wrap: anywhere;
}

.gm-title {
    font-size: 17px;
    font-weight: 400;
    margin-bottom: 10px;
}

.gm-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 3px;
    margin-bottom: 16px;
}

.gm-badge {
    display: inline-block;
    font-size: 9px;
    background: var(--primary-color);
    color: white;
    border-radius: 999px;
    padding: 2px 6px;
}

.gm-custom-body {
    font-size: 15px;
}

.gm-custom-body a {
    color: var(--text-dark);
}

/* font-face and base body font-family moved to theme's style.css */

.gm-station {
    font-size: 13px;
    color: #666;
}

.gm-row--sns {
    display: flex;
    gap: 8px;
}

.gm-custom-info .sns {
    width: 18px;
    height: 18px;
    display: inline-block;
    background-size: contain;
    background-repeat: no-repeat;
}

/* Google Maps custom icon helpers */
.gm-icon {
    display: inline-block;
    width: 20px;
    height: 20px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    margin-right: 5px;
}

.gm-icon--tel {
    background-image: url('../images/icon_phone.svg');
}

.gm-icon--addr {
    background-image: url('../images/icon_marker.svg');
}

.gm-icon--station {
    background-image: url('../images/icon_bus.svg');
}

/* When the filter has been moved into Google Maps controls */
.map-control--moved {
    margin-left: 8px;
}

/* Advanced marker container (when using AdvancedMarkerView) */
.adv-marker {
    display: inline-block;
    line-height: 0;
    transform: translateY(-100%);
    /* align bottom tip */
    pointer-events: auto;
}

.adv-marker__img {
    display: block;
    width: 18px;
    height: 24px;
    object-fit: contain;
    pointer-events: auto;
}

/* Consolidated map filter used inside the #map element
   Unified selector: .list-filter.map-search.search-form-inline
   This replaces previous multiple .map-search and .list-filter rules. */
.list-filter.map-search.search-form-inline {
    /* position overlayed on the map */
    position: absolute;
    left: 2px;
    top: 50%;
    transform: translateY(-50%);
    margin: 0;
    z-index: 60;
    /* above map controls */

    /* sizing */
    width: 315px;
    min-width: 300px;
    max-width: 420px;
    max-width: calc(100% - 32px);

    /* visual */
    padding: 18px 33px 18px 18px;
    border-radius: 0 20px 20px 0;
    background: white;

    /* layout inside */
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

/* Responsive: on small screens keep the filter in normal document flow above the map */

.list-filter.map-search.search-form-inline .list-filter__row {
    display: flex;
    /* ensure vertical stacking inside the map search form */
    flex-direction: column;
    gap: 12px;
}

.list-filter.map-search.search-form-inline .list-filter__row--bottom {
    display: flex;
    gap: 12px;
    align-items: center;
}

.list-filter.map-search.search-form-inline .list-filter__field {
    width: 100%;
}

.list-filter.map-search.search-form-inline .searchbar__submit {
    width: 100%;
    height: 43px;
    border-radius: 6px;
}

.list-filter.map-search.search-form-inline .btn-clear {
    flex: 1;
    width: 100%;
    padding: 12px;
}

/* Visual tweaks to match provided screenshot */
.list-filter.map-search.search-form-inline .list-filter__label {
    margin-bottom: 6px;
}

.list-filter.map-search.search-form-inline .searchbar__input,
.list-filter.map-search.search-form-inline .select,
.list-filter.map-search.search-form-inline .input {
    font-family: 'Zen kaku gothic antique', 'ZenKakuGothicAntique', sans-serif;
    font-size: 13px;
    font-weight: 400;
    border: none;
    border-radius: 0;
    border-bottom: 1px solid var(--primary-color);
    padding: 10px 8px;
    color: var(--text-dark);
    background: transparent;
}

input::placeholder {
    color: var(--primary-color);
}

.list-filter.map-search.search-form-inline .searchbar__submit {
    color: var(--primary-color);
    background: rgba(var(--primary-rgb), 0.3);
    text-align: left;
    font-size: 15px;
    font-weight: 400;
    border: none;
    border-radius: 0;
    padding: 10px 16px;
}

.list-filter.map-search.search-form-inline .btn-clear {
    font-family: 'Zen kaku gothic antique', 'ZenKakuGothicAntique', sans-serif;
    font-size: 14px;
    font-weight: 400;
    border-radius: 0;
}

.list-filter.map-search.search-form-inline .tab-note {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 6px;
}



/* Search forms */
.search-form-inline {
    margin: 20px 0;
    display: flex;
    gap: 10px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.search-form-inline input[type="text"] {
    padding: 8px 10px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    min-width: 220px;
}

.search-form-inline .btn {
    padding: 9px 16px;
    border-radius: 4px;
    border: 1px solid var(--primary-color);
    background: var(--primary-color);
    color: var(--bg-white);
}

.store-card {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, .06);
    overflow: hidden;
}

.store-card__header {
    padding: 14px 16px;
    background: #fafafa;
}

.store-card__title {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
}

.store-card__body {
    padding: 16px;
}

.store-card__meta {
    margin: 0;
}

.store-card__row {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 12px;
    align-items: start;
    padding: 6px 0;
}

.store-card__row dt {
    margin: 0;
    color: #666;
    font-weight: 600;
}

.store-card__row dd {
    margin: 0;
    color: #222;
}

.store-card a {
    color: var(--primary-color);
    text-decoration: none;
}

.store-card a:hover {
    text-decoration: underline;
}

/* Optional hover */
.store-card:hover {
    box-shadow: 0 6px 14px rgba(0, 0, 0, .12);
    transform: translateY(-1px);
    transition: box-shadow .2s ease, transform .2s ease;
}

/* ==== Store Search: List Filter (PC) ==== */
.list-filter.list-search {
    max-width: 862px;
    margin: 21px auto 27px;
}

.container:has(.list-filter.list-search) {
    width: 100%;
    max-width: none;
    border-top: 2px solid var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
    background-color: white;
    background-color: transparent;
}

.list-filter__title {
    font-family: 'Trajan Pro 3', 'TrajanPro3Regular', serif;
    font-size: 18px;
    letter-spacing: .05em;
    color: var(--primary-color);
    margin: 0 0 13px;
    font-weight: 400;
    text-align: center;
}

.list-filter__row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    align-items: end;
    margin-bottom: 18px;
}

/* Icons inside filter fields */
.list-filter__field {
    position: relative;
}

.list-filter__field .select-wrap::before {
    content: '';
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 15px;
    height: 15px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    pointer-events: none;
}

/* Prefecture icon */
.list-filter__field:first-child .select-wrap::before {
    background-image: url('../images/icon_prefecture.svg');
}

/* Product icon (third column) */
.list-filter__row>.list-filter__field:nth-child(3) .select-wrap::before {
    background-image: url('../images/icon_product.svg');
}

/* Add left padding only for inputs that show left icons (prefecture and product fields) */
.list-filter__field:first-child .select,
.list-filter__row>.list-filter__field:first-child .select,
.list-filter__row>.list-filter__field:nth-child(3) .select,
.list-filter__field:first-child .input,
.list-filter__row>.list-filter__field:first-child .input,
.list-filter__row>.list-filter__field:nth-child(3) .input {
    padding-left: 44px;
}

/* Replace the default pulldown arrow with custom icon */
.select-wrap::after {
    content: '';
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 11px;
    height: 11px;
    background-image: url('../images/icon_arrow_pulldown.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    pointer-events: none;
}

/* Place lens icon on the right side of the submit button */
/* removed earlier ::after icon to use ::before for the icon and ::after for the text label */
.list-filter__row--middle,
.list-filter__row--bottom {
    grid-template-columns: 1fr auto;
    align-items: center;
    width: 100%;
    margin: 0 auto;
}

.list-filter__row--middle {
    margin-bottom: 18px;
}

.list-filter__row--bottom {
    max-width: 570px;
}

.list-filter__label {
    display: block;
    font-family: 'Zen Kaku Gothic Antique', sans-serif;
    font-size: 13px;
    font-weight: 400;
    color: var(--primary-color);
    margin-bottom: 6px;
    letter-spacing: .08em;
}

.select-wrap {
    position: relative;
}

.select,
.input,
.input[type="text"] {
    width: 100%;
    padding: 4px 14px;
    border: 1px solid var(--primary-color);
    border-radius: 0;
    background: #fff;
    color: var(--text-dark);
}

.select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

.list-filter.list-filter .searchbar__input {
    border: 1px solid var(--primary-color);
    border-radius: 0;
    padding: 5px 20px;
}

.searchbar {
    position: relative;
    width: 100%;
}

.searchbar__input {
    width: 100%;
    padding: 12px 48px 12px 16px;
    border: 1px solid #d7c7a0;
    border-radius: 6px;
    background: linear-gradient(180deg, #f8f3e6, #efe5cc);
    color: #6b5b39;
}

button#list-search-button {
    width: 100%;
    color: var(--primary-color);
    background: rgba(var(--primary-rgb), 0.3);
    font-size: 15px;
    text-align: left;
    border-radius: 0;
    padding: 7px 17px;
}

.searchbar__submit::before {
    /* show lens icon (no text) */
    content: '';
    display: inline-block;
    width: 18px;
    height: 18px;
    background-image: url('../images/icon_lens.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
}

.list-filter.map-search.search-form-inline .searchbar__submit:hover,
button#list-search-button:hover {
    background: var(--primary-color);
    color: white;
}

.searchbar__submit:hover::before {
    background-image: url('../images/icon_lens_white.svg');
}

.btn-clear {
    padding: 10px 16px;
    background: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    letter-spacing: .08em;
    cursor: pointer;
    font-size: 14px;
}

.btn-clear:hover {
    background: var(--primary-color);
    color: white;
    border: 1px solid var(--primary-color);
}

.list-filter.list-search .btn-clear {
    border-radius: 0;
    padding: 7px 20px;
}

/* spacing with list below */
#store-list {
    margin-top: 20px;
}

/* Ensure store-list grid still looks good */
.store-list {
    display: grid;
    gap: 24px;
}

.store-group__items {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

section h3.store-group__title {
    font-size: 15px;
    font-weight: 400;
    margin-left: 0.5em;
    display: flex;
    justify-content: space-between;
}

section h3.store-group__title:after {
    content: "";
    width: 90%;
    height: 1px;
    border-bottom: 1px solid #4d4d4d;
    display: block;
    padding: 5px;
    margin-left: 5px;
}

.store-card.store-card--rich {
    width: calc(50% - 15px);
}

/* Responsive media queries have been consolidated and moved to the end of this file. */
/* ==== Store Search: Rich List Card ==== */
.store-card--rich {
    border: 1px solid #e8d9b3;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 3px 10px rgba(0, 0, 0, .05);
    overflow: hidden;
    margin-bottom: 7.5px;
}

.store-card--rich .store-card__header {
    padding: 14px 18px 6px;
    border-radius: 14px 14px 0 0;
    background: #fff;
    position: relative;
    display: flex;
    flex-direction: column;
}

.badge--prefecture {
    display: inline-block;
    background: var(--primary-color);
    color: #fff;
    font-size: 15px;
    padding: 3px 8px;
    border-radius: 0;
    width: auto;
    max-width: 80px;
    text-align: center;
    font-weight: 200;
}

.store-card__title {
    display: inline-block;
    font-size: 17px;
    font-weight: 700;
    margin: 6px 0 10px;
    color: var(--text-dark);
}

.store-card__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 4px 0 8px;
}

.chip {
    display: inline-block;
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 9999px;
    background: var(--primary-color);
    color: var(--bg-white);
}

.store-card--rich .store-card__body {
    padding: 14px 18px 18px;
}

.store-info {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 10px;
}

.store-info__item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-dark);
    min-width: 0;
    /* allow the flex item to shrink instead of forcing the container wider */
}

.store-info__item--site a,
.store-info__item--addr .store-info__text,
.store-info__item--tel a {
    word-break: break-word;
    overflow-wrap: anywhere;
}

.store-info__item a {
    color: var(--text-dark);
    text-decoration: none;
}

.store-info__item a:hover {
    text-decoration: underline;
}

.store-info__item--tel a {
    font-size: 20px;
    font-family: 'Bahnshrift"';
}

.store-info__item::before {
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.store-info__item--tel::before {
    background-image: url('../images/icon_phone.svg');
}

.store-info__item--site::before {
    background-image: url('../images/icon_smartphone.svg');
}

.store-info__item--hpb::before {
    background-image: url('../images/icon_tiktok.svg');
}

.store-info__item--addr::before {
    background-image: url('../images/icon_marker.svg');
}

.store-info__item--station::before {
    background-image: url('../images/icon_bus.svg');
}

.store-info__item--sns::before {
    content: none;
}

.store-info__text {
    margin-right: 8px;
}

a.btn-map {
    display: inline-block;
    font-size: 12px;
    padding: 3px 8px;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: 4px;
    text-decoration: none;
    margin-left: 6px;
}

.store-card__body .sns-links {
    display: flex;
    gap: 8px;
}

.store-card__body .sns {
    display: inline-block;
    width: 26px;
    height: 26px;
    color: #fff;
    font-size: 12px;
    line-height: 26px;
    text-align: center;
    text-decoration: none;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    padding: 0;
}

/* Social icon images (use background SVGs) */
.store-card__footer {
    padding: 12px 18px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    background: var(--bg-white);
}

.store-card__divider {
    border: 0;
    border-top: 1px solid var(--primary-color);
    margin: 0 auto;
    width: calc(100% - 32px);
}

/* Social icons now live in footer */
.store-card__footer .sns-links {
    display: flex;
    gap: 8px;
}

.store-card__footer .sns {
    width: 22px;
    height: 22px;
    display: inline-block;
    background-size: contain;
    background-repeat: no-repeat;
}

.store-card__footer .sns--ig {
    background-image: url('../images/icon_instagram.svg');
}

.store-card__footer .sns--tt {
    background-image: url('../images/icon_tiktok.svg');
}

.store-card__footer .sns--hp {
    width: 84px;
    background-image: url('../images/icon_hpb.png');
}

/* Load more button */
.store-list-loadmore-wrap {
    text-align: center;
}

button#store-list-loadmore {
    font-family: 'Trajan Pro 3', 'TrajanPro3Regular', serif;
    font-weight: 400;
    font-size: 16px;
    background: rgba(var(--primary-rgb), 0.3);
    color: var(--text-dark);
    border-radius: 0;
    text-align: center;
    margin: 50px auto;
}
.store-card:hover {
    box-shadow: none;
    transform: none;
    transition: none;
}
.list-filter__row--bottom {
    max-width: unset!important;
    margin-top: 8px!important;
}
.list-filter__row--middle {
    margin-bottom: 18px;
    gap: 0!important;
}
/* ========== Consolidated responsive queries (moved to file end) ========== */

@media (max-width: 1024px) {
    .list-filter__row {
        grid-template-columns: 1fr 1fr;
    }

    .store-list {
        /* grid-template-columns: repeat(2, 1fr); */
    }
}

@media (max-width: 768px) {

    .single-post .entry-title {
        font-size: 2rem;
    }

    .single-post .post-hero img {
        height: 250px;
    }

    .nav-links {
        grid-template-columns: 1fr;
    }

    .nav-previous {
        border-right: none;
        border-bottom: 1px solid var(--border-color);
    }

    .comments-area {
        padding: 1.5rem;
    }

    .error404 .page-title {
        font-size: 3rem;
    }

    .archive .page-header {
        padding: 2rem 1rem;
    }

    .store-search-page .page-title {
        font-size: 35px;
    }

    #map-filter {
        position: relative;
        transition: transform 0.28s ease, opacity 0.2s ease;
        transform: translateX(0);
        opacity: 1;
        will-change: transform, opacity;
        position: absolute;
        background: rgba(255, 255, 255, 1);
    }

    .map-filter-toggle {
        position: absolute;
        right: -30px;
        top: 0;
        z-index: 80;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 30px;
        height: 60px;
        border-radius: 0 10px 10px 0;
        border: 1px solid rgba(0, 0, 0, 0.06);
        background: rgba(var(--bg-white-rgb, 255, 255, 255), 0.95);
        padding: 0;
        background: var(--primary-color);
        cursor: pointer;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    }

    .list-filter.list-search {
        padding: 0 15px;
    }

    .list-filter.map-search.search-form-inline {
        left: 2px;
        top: 20px;
        transform: translate(0, 0);
        width: calc(100% - 40px);
        min-width: 0;
        padding: 30px 20px;
        border-radius: 0 0 20px 0;
        margin: 18px auto 24px auto;
    }

    .store-grid,
    .service-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .list-filter__row,
    .list-filter__row--bottom {
        grid-template-columns: 1fr;
    }

    .store-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {

    .service-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .single-post .entry-content {
        font-size: 1rem;
    }

    .comment {
        padding: 1rem;
    }

    .error404 .search-form {
        flex-direction: column;
        align-items: center;
    }

    .store-content,
    .service-item {
        padding: 1rem;
    }
}

/* ========== loading ========== */
#loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #fff;
    z-index: 9999;
}

#loading-logo {
    width: 30VW;
    max-width: 80%;
    height: auto;
    opacity: 1;
    transform: scale(1);
    border-radius: 0;
}

img {
    border-radius: unset;
}
.flow_icon {
    position: absolute;
    left: -80px;
    bottom: 0;
    width: 200px;
    height: 30px;
    transform: rotate(90deg);
    display: block;
}
.arrow_text {
    display: flex;
}
.arrow_text:after {
    content: '';
    width: 70px;
    height: 16px;
    border-bottom: solid 1px;
    border-right: solid 1px;
    transform: skew(45deg);
}
a{
    -webkit-transition: all 500ms ease-out;
    -moz-transition: all 500ms ease-out;
    -o-transition: all 500ms ease-out;
    transition: all 500ms ease-out;
    text-decoration: none;
}
a:hover {
    color: #b79550;
    -webkit-transition: all 500ms ease-out;
    -moz-transition: all 500ms ease-out;
    -o-transition: all 500ms ease-out;
    transition: all 500ms ease-out;
     text-decoration: none;
}
/* ========== MAIN PAGE ========== */
#page {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s;
    overflow-x: hidden;
}
.page article {
    padding: 40px;
}
header#masthead {
    padding: 5px 20px;
}

header#masthead.scrolled {
    backdrop-filter: saturate(180%) blur(2px);
    background: rgba(255, 255, 255, 0.3);
}
.menu-toggle{
    z-index: 101;
}
.hamburger-line {
    width: 30px;
    height: 2px;
    background: #b79550;
    display: block;
    border-radius: 2px;
    transition: transform 0.18s ease, opacity 0.12s ease, background-color 0.12s ease;
}
.mobile-menu-active span.hamburger-line {
    background:#b79550;
}
button.menu-toggle:focus {
    outline: none;
    background: none;
    border: none;
    box-shadow: none;
}
nav.general_nav {
    background-color: #e4d7bd;
    color: #fff;
    height: 100vh;
    padding: 160px 48px 200px;
    overflow-y: auto;
    opacity: 0;
    position: fixed;
    top: 0;
    left: 0;
    -webkit-transform: translate(-100%, 0);
    transform: translate(-100%);
    width: 510px;
    z-index: -1;
    transition: all .5s ease-in-out;
}
.mobile-menu-active nav.general_nav {
    z-index: 100;
    opacity: 1 !important;
    transform: translate(0);
}
.main_nav ul li a {
    color: #b79550;
    font-size: 23px;
    font-weight: 100;
    line-height: 2em;
}
body {
    background: url(../images/main_bg.webp);
    background-repeat: no-repeat;
    background-size: cover;
}

section {
    position: relative;
}

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

.mainlogo h1 {
    font-family: 'Trajan Pro 3';
    font-weight: 400;
    font-size: 32px;
    line-height: 48px;
    margin: 0;
    margin-left: 0.2em;
    color: #b79550;
}

.mainlogo img {
    display: block;
    height: 25px;
    width: auto;
    border-radius: unset;
    margin-left: 5px;
}

.main_copy {
    display: flex;
    height: 60svh;
    padding-top: 15svh;
}

.main_copy h2 {
    color: #b79550;
    font-family: "Zen Old Mincho", serif;
    font-size: clamp(25px, 3.5vw, 70px);
    font-weight: 200;
}

.slide_products {
    position: absolute;
    top: 10vw;
}

.diagonal_001 {
    transform: rotate(-45deg);
    overflow: hidden+;
    margin-left: -40vw;
    width: 200vw;
}

.diagonal_001 .swiper {
    width: 100%;
    height: 120px;
    margin-bottom: -15px;
}

.diagonal_001 .swiper-slide {
    text-align: center;
    font-size: 18px;
    display: flex;
    width: auto;
    flex-shrink: 0;
}

.diagonal_001 .swiper-slide img {
    display: block;
    width: auto;
    height: auto;
    max-height: 120px;
}

section.intro {
    position: relative;
    min-height: 80svh;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    flex-direction: column;
    padding-right: 10%;
}

section.intro .section_header {
    position: relative;
}

.arc {
    position: absolute;
    top: -180px;
    width: 300px;
    right: -130px;
}

svg.arc-svg {
    transform: rotateZ(45deg);
    position: absolute;
    top: 100px;
    right: -40px;
    width: 300px;
    color: #b79550;
}

svg.arc-svg text {
    font-family: 'Trajan Pro 3';
    font-size: 16px;
    fill: #b79550;
}

.animation_text h2 {
    font-family: 'Trajan Pro 3';
    font-weight: 400;
    font-size: 60px;
    line-height: 1.2em;
    color: #b79550;
}

.animation_text h2 span {
    display: inline-block;
    /* ���օgλ��y�ƄӤ����뤿���� */
}

section.lineup {
    padding: 60px 0;
}

.product_list .swiper-slide {
    transition: transform 0.4s, opacity 0.4s;
    transform: translateY(30px) scale(1);
    opacity: 0.6;
    position: relative;
    overflow: visible;
}

.product_list .swiper-slide-active {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.product_list .swiper-slide-prev {
    transform: translateY(30px) rotateZ(-5deg);
}

.product_list .swiper-slide-next {
    transform: translateY(30px) rotateZ(5deg);
}

.product_list .swiper-slide.prev2 {
    transform: translateY(115px) rotateZ(-10deg);
}

.product_list .swiper-slide.next2 {
    transform: translateY(115px) rotateZ(10deg);
}
.detail_arrow_wrapper {
    width: 100%;
    max-width: 32vw;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
}
.detail_arrow_wrapper .swiper-button-next.detail-next,
.detail_arrow_wrapper .swiper-button-prev.detail-prev {
    height: 25px;
    color: #b79550;
    margin: 0 15px;
    font-size: 18px;
}
.detail_arrow_wrapper .swiper-button-next.detail-next:after,
.detail_arrow_wrapper .swiper-button-prev.detail-prev:after {
    font-size: 18px;
}
.product_list .product-detail {
    position: relative;
    opacity: 0;
    transition: opacity 0.6s;
    margin-top: 10px;
    margin: 0 -30px;
    width: 100vw;
    max-width: 480px;
    overflow: hidden;
}
.product-detail {
    background: #fff;
    padding: 120px 50px;
    border-radius: 50vw;
    border: 1px solid #b79550;
}

.product_list .swiper-slide-active .product-detail {
    opacity: 1;
}

.product-detail h2.en_name {
    position: relative;
    font-family: 'Bahnschrift';
    font-size: 20px;
    color: #b79550;
    letter-spacing: 0.5px;
    font-weight: normal;
    margin-bottom: 4px;
    z-index: 1;
}

.product-detail h3.fullname {
    position: relative;
    font-size: 20px;
    font-weight: bold;
    z-index: 1;
}

.product-detail p.description{
    position: relative;
    font-size: 20px;
    z-index: 1;
}

.product-detail p.detail {
    position: relative;
    font-size: 15px;
    z-index: 1;
}

.product-detail .gel-type {
    margin-bottom: 30px;
}

.product-detail span.label {
    color: #B7954F;
    font-family: "Bahnschrift";
}
.gel {
    background-repeat: no-repeat;
    background-position: bottom center;
    background-size: 100%;
    overflow: hidden;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    display: block;
    height: 250px;
}
span.label {
    font-family: 'Bahnschrift';
    font-size: 15px;
    color: #b79550;
}

.rating-item {
    display: flex;
    margin: 10px 0;
    justify-content: center;
}

span.rating-label {
    background: #b79550;
    min-width: 130px;
    display: block;
    padding: 2px 5px;
    text-align: center;
    color: #fff;
    font-size: 13px;
    margin-right: 1em;
}

.stars i {
    color: #b79550;
}

.store_link_banner {
    width: 100%;
    max-width: 600px;
    margin: 0 auto 60px;
    text-align: center;
}

.store_link_banner a {
    position: relative;
    padding: 15px 30px;
    display: block;
    color: #fff;
    background: rgba(183, 149, 80, 0.5);
    cursor: pointer;
}
.store_link_banner a:before {
    background-color: rgba(183, 149, 80, 1);
    content: "";
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    -webkit-transform: scale(0, 1);
    transform: scaleX(0);
    -webkit-transition: -webkit-transform .8s;
    transition: transform .8s;
    transition: transform .8s, -webkit-transform .8s;
    -webkit-transform-origin: right top;
    transform-origin: right top;
    width: 100%;
}
.store_link_banner a:hover {
    background: rgba(183, 149, 80, 0.5);
}
.store_link_banner a:hover:before {
    -webkit-transform: scale(1, 1);
    transform: scale(1);
    -webkit-transform-origin: left top;
    transform-origin: left top;
}
.store_link_banner a h3 {
    position: relative;
    font-family: 'Trajan Pro 3';
    color: #fff;
    font-size: 25px;
    margin-bottom: 0;
    font-weight: normal;
    -webkit-transition: all 500ms ease-out;
    -moz-transition: all 500ms ease-out;
    -o-transition: all 500ms ease-out;
    transition: all 500ms ease-out;
}
.store_link_banner a h3 span {
    display: block;
    font-size: 16px;
    font-weight: normal;
    margin-top: 5px;
}
/* フェード用 */
.product-detail-wrapper .product-detail-container {
  opacity: 1; /* 初期表示 */
}
.product-detail-wrapper .product-detail-container.show {
  opacity: 1;
}

/* レイアウト */
.product-detail-wrapper {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  margin-top: 30px;
  gap: 20px;
}

.product-detail-wrapper button {
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  color: #333;
}
section.news {
    background: #fff;
    padding: 60px 0px;
    margin: 0 -15px;
}

section.news .section_header {
    padding-left: 60px;
    padding-right: 60px;
    display: flex;
    position: relative;
    justify-content: space-between;
    align-items: center;
}

.news_panel {
    display: flex;
    position: relative;
}

.news .news_panel .swiper-button-prev,
.news .news_panel .swiper-button-next {
    position: relative;
    top: unset;
    left: unset;
    right: unset;
    height: 25px;
    color: #b79550;
    margin: 0 15px;
}

.news .news_panel .swiper-button-prev:after,
.news .news_panel .swiper-button-next:after {
    font-size: 22px;
}

.to_news_list a {
    background: rgba(187, 149, 80, 0.3);
    color: #4D4D4D;
    font-family: 'Trajan Pro 3';
    padding: 5px 25px;
    border-radius: 3em;
}

section.media {
    background: #fff;
    padding: 60px 60px;
    margin: 0 -15px;
    display: block;
}

.section_header h3 {
    font-size: clamp(50px, 7vw, 120px);
    font-family: 'Trajan Pro 3';
    color: #b79550;
    font-weight: 400;
}

.news-thumb {
    width: 100%;
    aspect-ratio: 1 / 1;
    /* �����Τˤ��� */
    overflow: hidden;
}

.news-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    -webkit-transition: all 500ms ease-out;
    -moz-transition: all 500ms ease-out;
    -o-transition: all 500ms ease-out;
    transition: all 500ms ease-out;
}
.news-thumb a:hover img {
    opacity: 0.5;
    -webkit-transition: all 500ms ease-out;
    -moz-transition: all 500ms ease-out;
    -o-transition: all 500ms ease-out;
    transition: all 500ms ease-out;
}
h3.news-title a {
    font-size: 17px;
    font-weight: normal;
    margin-top: 10px;
    color: #4D4D4D;
}

a.news-more {
    background: rgba(183, 149, 80, 0.3);
    padding: 2px 10px;
    width: 130px;
    display: block;
    color: #4d4d4d;
    font-family: 'Trajan Pro 3';
    font-size: 14px;
    margin-top: 40px;
    width: 180px;
    height: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

a.news-more:hover {
    background: rgba(183, 149, 80, 1);
    outline: none;
    border: none;
    text-decoration: none;
}

.media .section_header {
    display: flex;
    position: relative;
    justify-content: space-between;
    align-items: center;
}

.media-card {
    position: relative;
    cursor: pointer;
    margin: 10px 0;
}

.media-thumb {
    aspect-ratio: 3 / 4;
    overflow: hidden;
}

.media-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
}

.overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}

section.interlude {
    background: url(../images/interlude.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    margin: 0 -15px;
    padding: 60px;
    min-height: 50svh;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.interlude_text {
    font-family: "Zen Old Mincho", serif;
}
.interlude_text h3 {
    font-weight: 900;
    font-family: 'Zen Old Mincho';
    font-size: 35px;
    margin-bottom: 1em;
}
section.footer_image {
    background-color: #fff;
    background-image: url(../images/inter_bg.webp);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    display: block;
    height: 60svh;
    margin: 0 -15px;
}
.single article {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}
.stick_nav {
    z-index: 98;
    position: fixed;
    bottom: 0;
    background: #b79550;
    width: 100%;
    padding: 3px 20px;
    text-align: center;
    box-shadow: 0 0 8px gray;
}
.stick_storesearch {
    display: flex;
    align-items: center;
    width: 100%;
    justify-content: center;
}
.stick_storesearch h3 {
    font-size: 18px;
    color: #fff;
    font-family: 'Bahnschrift';
    letter-spacing: 0.5px;
    margin: 0;
}
.stick_storesearch h3 span {
    display: block;
    font-size: 15px;
    font-weight: 400;
    font-family: 'Zen Old Mincho';
}
/*-----------Contact -----------------*/
.page h1.entry-title {
    font-size: clamp(30px, 4vw, 70px);
    font-family: 'Trajan Pro 3';
    color: #b79550;
    font-weight: 400;
    text-align: center;
}
h3+.formbloc {
    padding: 30px 0 0;
}
.formbloc {
    margin-bottom: 11px;
}
.wpcf7-form h3 {
    font-weight: normal;
    margin: 0;
}
.wpcf7-form h3 {
    font-family: 'Rubik',sans-serif;
    font-size: 20px;
    letter-spacing: 1px;
    text-transform: uppercase;
}
.wpcf7-form .formbloc h3 {
    font-family: "Noto Sans JP", sans-serif;
    font-size: 15px;
    letter-spacing: 0px;
    line-height: 2em;
}
.wpcf7-form span.required {
    color: #E5632A;
}
.wpcf7-form-control-wrap {
    position: relative;
    width: 100%;
}
.wpcf7-form .wpcf7-not-valid {
    border: 1px solid #E5632A;
}
span.req {
    color: #E5632A;
    font-size: 12px;
    border: 1px solid #E5632A;
    padding: 3px 5px;
    margin-left: 1em;
}
.wpcf7-form p.form-row {
    position: relative;
}
.wpcf7-form label {
    color: #737373;
    font-size: 12px;
    font-weight: normal;
    position: absolute;
    top: 0;
    width: 100%;
    margin-top: 0.22857em;
    margin-left: 1px;
    padding: 0 0.91667em;
    z-index: 1;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    pointer-events: none;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    display: block;
    opacity: 1;
}
.wpcf7-form input {
    border: none;
    background-clip: padding-box;
    display: block;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    width: 100%;
    padding: 0.92857em 0.78571em;
    word-break: normal;
    background-color: #FFF;
    color: #000;
    padding-top: 1.5em;
    padding-bottom: 0.35714em;
}
.wpcf7-form textarea {
    border: none;
    background-clip: padding-box;
    display: block;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    width: 100%;
    padding: 0.92857em 0.78571em;
    word-break: normal;
    background-color: #FFF;
    color: #000;
    padding-top: 1.5em;
    padding-bottom: 0.35714em;
    height: 15em;
}
.wpcf7-form select{
    border: 1px #d9d9d9 solid;
    background-clip: padding-box;
    display: block;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    width: 100%;
    padding: 0.92857em 0.78571em;
    word-break: normal;
    background-color: white;
    color: #333333;
    padding-top: 1.5em;
    padding-bottom: 0.35714em;
}
.wpcf7-form input[type="submit"] {
    position: relative;
    margin: 0;
    line-height: 1.7;
    cursor: pointer;
    position: relative;
    text-decoration: none;
    overflow: visible;
    padding: 10px 20px;
    font-size: 13px;
    color: #4d4d4d;
    border: 0;
    display: inline-block;
    background-image: none;
    box-shadow: none;
    text-shadow: none;
    width: auto;
    background: rgba(183, 149, 80, 0.5);
    border-radius: 0;
}
.wpcf7-form input[type="submit"]:hover {
    background: rgba(183, 149, 80, 1);
}
div.wpcf7-response-output {
    border: none;
    padding: 0;
    font-size: 15px;
    margin: 0;
}
/*------------company------------------*/
h3.company_title {
    font-size: 20px;
    font-family: 'Zen Kaku Gothic Antique';
    font-weight: normal;
    text-align: center;
    margin: 60px 0 45px;
}
.company_profile tr td {
    border: none;
    border-bottom: 1px solid rgba(183, 149, 80, 0.5);
}
.company_profile tr td:first-child {
    width: 25%;
    font-size: 15px;
    color: rgba(183, 149, 80, 1);
    font-family: 'Zen Kaku Gothic Antique';
    vertical-align: baseline;
}

.site-footer {
    background-color: #fff;
    background-image: url(../images/footer_bg.webp);
    background-repeat: no-repeat;
    background-size: cover;
    z-index: 99;
}
.footer_logo {
    margin-bottom: 100px;
}
.footer_logo a img {
    width: 200px;
}
.footer_menu_wrap {
    display: flex;
}
.footer_menu,
.footer_sub_menu {
    list-style: none;
    font-family: 'Bahnschrift';
}
.footer_menu a,
.footer_sub_menu a {
    line-height: 31px;
    font-size: 15px;
}
.footer_menu a:hover,
.footer_sub_menu a:hover {
    border-color: #4D4D4D;
    color: #4D4D4D;
}
.sitepolicy ul {
    list-style: none;
    display: flex;
    font-family: 'Bahnschrift';
}
.sitepolicy ul li a {
    font-size: 13px;
    margin-right: 10px;
}
ul.footer_sns_menu {
    list-style: none;
    display: flex;
}
ul.footer_sns_menu a {
    font-size: 25px;
    margin-right: 10px;
}
ul.footer_sns_menu a:hover {
    color: #4D4D4D;
    border: none;
}
address {
    font-size: 12px;
}
a:hover i.fa-instagram {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    -webkit-transition: all 500ms ease-out;
    -moz-transition: all 500ms ease-out;
    -o-transition: all 500ms ease-out;
    transition: all 500ms ease-out;
}

a:hover i.fa-line {
    color: #06C755;
    -webkit-transition: all 500ms ease-out;
    -moz-transition: all 500ms ease-out;
    -o-transition: all 500ms ease-out;
    transition: all 500ms ease-out;
}

a:hover i.fa-youtube {
    color: #c4302b;
    -webkit-transition: all 500ms ease-out;
    -moz-transition: all 500ms ease-out;
    -o-transition: all 500ms ease-out;
    transition: all 500ms ease-out;
}
#loading-screen {
    position: fixed;
    inset: 0;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 1;
    transform: scale(1);
    transition: opacity 1s ease, transform 1s ease;
  }

  /* SVG本体の地図 */
  #japan-map {
    opacity: 0;
    transition: opacity 1s ease;
  }
  #japan-map.fadeIn {
    opacity: 1;
  }

  /* ピン */
 .pin {
    opacity: 0;
    transition: opacity 0.3s ease-out;
  }
 .pin.fadeIn {
    opacity: 1;
  }

  /* ズームイン＋フェードアウト */
  #loading-screen.fadeOut {
    opacity: 0;
    transform: scale(1.1);
    pointer-events: none;
  }
@media (hover: hover) {
    .media-card:hover .overlay {
        opacity: 1;
        pointer-events: auto;
    }
}
.media-card.active .overlay {
    opacity: 1;
    pointer-events: auto;
}

@media (max-width: 1280px) {
    section.hero {
        height: 80svh;
    }

    .slide_products {
        top: 30vh;
    }

    .diagonal_001 {
        width: 250VW;
        margin-left: -60vw;
    }

    .diagonal_001 .swiper {
        height: 100px;
    }

    .diagonal_001 .swiper-slide img {
        max-height: 100px;
    }

    .slide_products {
        position: absolute;
        top: 30vh;
    }
    .detail_arrow_wrapper {
        max-width: 60vw;
    }

}

@media (max-width: 768px) {
    section.hero {
        height: 150svh;
    }

    .mainlogo h1 {
        font-size: 25px;
    }

    .animation_text {
        margin-bottom: 45px;
    }

    .animation_text h2 {
        font-size: 36px;
    }

    .slide_products {
        position: absolute;
        top: 20vw;
    }

    .diagonal_001 .swiper {
        width: 100%;
        height: 80px;
        margin-bottom: -15px;
    }

    .diagonal_001 {
        transform: rotate(-45deg);
        overflow: hidden;
        margin-left: -80vw;
        width: 410vw;
    }

    section.intro {
        align-items: flex-start;
        padding-right: 5px;
        padding-left: 5px;
    }

    .product_list .product-detail {
        max-width: unset;
        margin-left: -50px;
        margin-right: -50px;
        padding: 80px 20px;
        width: 80vw;
    }

    .product-detail h3.fullname {
        font-size: 17px;
    }

    .product-detail p.description {
        font-size: 18px;
    }

    section.news .section_header {
        padding-left: 20px;
        padding-right: 20px;
        justify-content: center;
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 30px;
    }

    .to_news_list a {
        font-size: 13px;
    }

    a.news-more {
        font-size: 14px;
        margin-top: 20px;
        width: 100%;
    }

    section.media {
        padding: 60px 20px;
        margin: 0 -15px;
        display: block;
    }

    section.media .section_header {
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 30px;
    }

    .media-card {
        padding: 0 7.5px;
    }

    section.interlude {
        padding: 0;
    }

    .interlude_inner {
        backdrop-filter: blur(5px);
        padding: 60px 40px;
        color: #fff;
        width: 100%;
        height: 100%;
        display: flex;
        min-height: 50svh;
        background-color: rgb(0 0 0 / 30%);
        align-items: center;
    }

    .interlude_text h3 {
        color: #fff;
        font-size: 30px;
    }

    .interlude_text {
        line-height: 1.4em;
    }

    .nav-previous {
        border-right: 1px solid #4d4d4d;
        border-bottom: none;
    }

    .nav-previous a,
    .nav-next a {
        padding: 7.5px;
    }

    .store-card.store-card--rich {
        width: 100%;
    }
    p.detail.text-left br{
        display: none;
    }

    .page article {
        padding: 20px;
    }
    .detail_arrow_wrapper {
        max-width: 80vw;
    }
    .gel {
        height: 160px;
    }
    .footer_menu_wrap {
        padding: 0 20px;
    }
    .footer_mainlist {
        margin: 0;
        padding: 0;
    }
    .sitepolicy {
        padding: 0 5px;
    }
}

@media (max-width: 1280px),
(max-height: 1000px) {
    section.hero {
        height: 120svh;
    }
}
@media (max-width: 1280px),
(max-height: 750px) {
    section.hero {
        height: 150svh;
    }
    .flow_icon {
        left: -90px;
        bottom: 100svh;
    }
}