注意: 保存後、変更を確認するにはブラウザーのキャッシュを消去する必要がある場合があります。
- Firefox / Safari: Shift を押しながら 再読み込み をクリックするか、Ctrl-F5 または Ctrl-R を押してください (Mac では ⌘-R)
- Google Chrome: Ctrl-Shift-R を押してください (Mac では ⌘-Shift-R)
- Microsoft Edge: Ctrl を押しながら 最新の情報に更新 をクリックするか、Ctrl-F5 を押してください。
/* ここに記述したCSSはすべての外装に反映されます */
.area-child-item {
display: inline-block;
margin: 0.25em 0.5em 0.25em 0;
padding: 0.35em 0.65em;
border: 1px solid #ddd;
border-radius: 4px;
}
.area-child-item small {
color: #666;
margin-left: 0.25em;
}
/* =====================================
Area 地域一覧
===================================== */
.area-child-item {
display: inline-block;
box-sizing: border-box;
width: calc(25% - 12px);
margin: 6px;
padding: 10px 12px;
border: 1px solid #ddd;
border-radius: 6px;
background: #fafafa;
vertical-align: top;
}
.area-child-item a {
font-weight: 600;
text-decoration: none;
}
.area-child-item a:hover {
text-decoration: underline;
}
/* タブレット */
@media screen and (max-width: 900px) {
.area-child-item {
width: calc(33.333% - 12px);
}
}
/* スマートフォン */
@media screen and (max-width: 600px) {
.area-child-item {
width: calc(50% - 12px);
}
}
/* 小型スマートフォン */
@media screen and (max-width: 400px) {
.area-child-item {
width: calc(100% - 12px);
}
}
/* =====================================
Festival 開催地域
===================================== */
.festival-areas {
margin: 1em 0;
}
.festival-area-item {
display: flex;
align-items: center;
gap: 0.6em;
margin: 0.4em 0;
padding: 0.65em 0.8em;
border: 1px solid #ddd;
border-radius: 6px;
background: #fafafa;
}
.festival-area-relation {
display: inline-block;
min-width: 5.5em;
padding: 0.15em 0.5em;
border: 1px solid #ccc;
border-radius: 4px;
font-size: 0.85em;
text-align: center;
}
.festival-area-item a {
font-weight: 600;
}
.festival-area-type {
color: #666;
font-size: 0.85em;
}
@media screen and (max-width: 600px) {
.festival-area-item {
flex-wrap: wrap;
}
}
/* =====================================
Festival パンくず
===================================== */
.festival-breadcrumb {
margin: 0 0 1.2em;
padding: 0.65em 0.8em;
font-size: 0.9em;
line-height: 1.7;
background: #fafafa;
border-radius: 6px;
}
.festival-breadcrumb a {
white-space: nowrap;
}
.festival-breadcrumb p {
display: inline;
margin: 0;
padding: 0;
}
.breadcrumb-separator {
margin: 0 0.15em;
color: #777;
}
/* ========================================
屋台比較
======================================== */
.stall-compare-control {
margin: 1em 0;
}
.stall-compare-button {
display: inline-block;
padding: 0.7em 1.2em;
border: 1px solid #777;
border-radius: 6px;
background: #fff;
cursor: pointer;
font-size: 1em;
font-weight: 600;
line-height: 1.4;
}
.stall-compare-button:hover {
background: #f5f5f5;
}
.stall-compare-button-selected {
border-width: 2px;
font-weight: 700;
}
.stall-compare-message {
display: inline-block;
margin-left: 0.8em;
font-size: 0.9em;
}
.stall-compare-message-error {
font-weight: 700;
}
@media (max-width: 600px) {
.stall-compare-button {
width: 100%;
box-sizing: border-box;
padding: 0.85em 1em;
}
.stall-compare-message {
display: block;
margin: 0.5em 0 0;
}
}
/* ========================================
固定屋台比較トレイ
======================================== */
.stall-compare-tray {
display: none;
position: fixed;
left: 50%;
bottom: 16px;
transform: translateX(-50%);
width: min(760px, calc(100% - 32px));
box-sizing: border-box;
padding: 12px 16px;
background: #fff;
border: 1px solid #aaa;
border-radius: 10px;
box-shadow:
0 4px 18px
rgba(0, 0, 0, 0.18);
z-index: 1000;
}
.stall-compare-tray-visible {
display: block;
}
.stall-compare-tray-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 8px;
}
.stall-compare-tray-title {
font-size: 1em;
}
.stall-compare-tray-count {
font-size: 0.9em;
}
.stall-compare-tray-items {
display: flex;
flex-wrap: wrap;
gap: 8px;
margin-bottom: 10px;
}
.stall-compare-tray-item {
display: inline-flex;
align-items: center;
gap: 6px;
padding: 5px 8px;
border: 1px solid #ccc;
border-radius: 6px;
background: #fafafa;
}
.stall-compare-tray-item-name {
font-weight: 600;
}
.stall-compare-tray-remove {
display: inline-flex;
align-items: center;
justify-content: center;
width: 24px;
height: 24px;
padding: 0;
border: 0;
background: transparent;
cursor: pointer;
font-size: 18px;
line-height: 1;
}
.stall-compare-tray-actions {
display: flex;
justify-content: flex-end;
align-items: center;
gap: 10px;
}
.stall-compare-clear {
padding: 7px 12px;
border: 1px solid #aaa;
border-radius: 6px;
background: #fff;
cursor: pointer;
}
.stall-compare-open {
display: inline-block;
padding: 8px 16px;
border-radius: 6px;
text-decoration: none;
font-weight: 700;
}
.stall-compare-open-disabled {
opacity: 0.45;
cursor: default;
pointer-events: none;
}
/* ========================================
スマートフォン
======================================== */
@media (max-width: 600px) {
.stall-compare-tray {
left: 8px;
right: 8px;
bottom: 8px;
width: auto;
transform: none;
padding: 10px;
}
.stall-compare-tray-items {
display: block;
}
.stall-compare-tray-item {
display: flex;
justify-content: space-between;
margin-bottom: 6px;
}
.stall-compare-tray-actions {
display: grid;
grid-template-columns:
1fr 1fr;
}
.stall-compare-clear,
.stall-compare-open {
box-sizing: border-box;
width: 100%;
text-align: center;
}
}
/* ========================================
屋台比較ページ
======================================== */
.stall-compare-page {
margin: 1em 0 5em;
}
.stall-compare-table-wrapper {
width: 100%;
overflow-x: auto;
margin: 1em 0;
}
.stall-compare-table {
width: 100%;
min-width: 760px;
border-collapse: collapse;
}
.stall-compare-table th,
.stall-compare-table td {
padding: 10px 12px;
border: 1px solid #ccc;
vertical-align: top;
}
.stall-compare-table thead th {
font-size: 1.05em;
text-align: left;
}
.stall-compare-table tbody th {
width: 130px;
white-space: nowrap;
text-align: left;
}
.stall-compare-table td {
min-width: 180px;
}
.stall-compare-menu-list {
display: grid;
gap: 10px;
}
.stall-compare-menu-item {
padding: 8px;
border: 1px solid #ddd;
border-radius: 6px;
}
.stall-compare-menu-name {
display: block;
margin-bottom: 4px;
}
.stall-compare-note {
margin-top: 1em;
font-size: 0.9em;
}
.stall-compare-page-message {
padding: 1em;
border: 1px solid #ccc;
border-radius: 6px;
}
@media (max-width: 600px) {
.stall-compare-page {
margin-bottom: 8em;
}
.stall-compare-table-wrapper {
-webkit-overflow-scrolling: touch;
}
.stall-compare-table {
min-width: 720px;
}
.stall-compare-table th,
.stall-compare-table td {
padding: 8px;
}
}
/* Placement比較:開催情報 */
.stall-compare-tray-item > div {
min-width: 0;
}
.stall-compare-tray-item-context {
margin-top: 2px;
font-size: 0.8em;
line-height: 1.3;
opacity: 0.75;
}
/* ========================================
地図popup 比較ボタン
======================================== */
.stall-map-compare-control {
display: block;
margin: 8px 0 5px;
}
.leaflet-popup-content
.stall-map-compare-control
.stall-compare-button {
margin: 0;
}
.leaflet-popup-content
.stall-map-compare-control
.stall-compare-message {
display: block;
margin: 4px 0 0;
font-size: 0.85em;
}
/* ========================================
地図popup 比較リンク
======================================== */
.leaflet-popup-content
.stall-map-compare-link {
display: inline-block;
margin: 8px 0 4px;
padding: 6px 10px;
border: 1px solid #777;
border-radius: 5px;
text-decoration: none;
font-weight: 600;
cursor: pointer;
}
.leaflet-popup-content
.stall-map-compare-link-selected {
border-width: 2px;
font-weight: 700;
}
/* ========================================
屋台比較:最安値
======================================== */
.stall-compare-best-badge {
display: inline-block;
margin-left: 4px;
padding: 2px 6px;
border: 1px solid currentColor;
border-radius: 999px;
font-size: 0.75em;
line-height: 1.4;
font-weight: 700;
white-space: nowrap;
}
.stall-compare-best-price {
font-weight: 700;
}
.stall-compare-best-unit-price {
font-weight: 700;
}
.stall-compare-menu-price {
font-weight: 600;
}
.stall-compare-menu-unit-price {
font-weight: 600;
}
/* ========================================
商品別比較サマリー
======================================== */
.stall-product-group-summary {
margin: 0 0 24px;
}
.stall-product-group-summary-title {
margin: 0 0 14px;
}
.stall-product-group-card {
margin: 0 0 12px;
padding: 14px 16px;
border: 1px solid #aaa;
border-radius: 8px;
}
.stall-product-group-name {
margin: 0 0 8px;
font-size: 1.1em;
}
.stall-product-group-count {
margin-bottom: 6px;
}
.stall-product-group-best {
margin-top: 6px;
font-size: 1.05em;
}
.stall-product-group-best-unit {
margin-top: 4px;
font-size: 1.05em;
}
.stall-product-group-label {
font-weight: 600;
}
.stall-product-group-shop {
margin-top: 3px;
}
.stall-product-group-notice {
margin-top: 6px;
font-size: 0.9em;
}
/* ========================================
商品別比較サマリー:屋台リンク
======================================== */
.stall-product-group-stalls {
margin-top: 4px;
}
.stall-product-group-stall-link {
font-weight: 600;
text-decoration: none;
}
.stall-product-group-stall-link:hover {
text-decoration: underline;
}
.stall-product-group-shop
.stall-product-group-stall-link {
font-weight: 700;
}
/* ========================================
祭りページ:屋台検索
======================================== */
.festival-stall-search {
margin: 0 0 18px;
padding: 14px 16px;
border: 1px solid #aaa;
border-radius: 8px;
}
.festival-stall-search-label {
display: block;
font-weight: 700;
}
.festival-stall-search-input {
display: block;
width: 100%;
max-width: 520px;
box-sizing: border-box;
margin-top: 8px;
padding: 9px 11px;
border: 1px solid #aaa;
border-radius: 6px;
font: inherit;
}
.festival-stall-search-count {
margin-top: 8px;
font-size: 0.9em;
}
.festival-stall-search-input:focus {
outline: 2px solid currentColor;
outline-offset: 2px;
}
/* ========================================
祭りページ:屋台検索フィルター
======================================== */
.festival-stall-search-filters {
display: flex;
flex-wrap: wrap;
gap: 12px;
margin-top: 12px;
}
.festival-stall-filter {
display: block;
min-width: 180px;
}
.festival-stall-filter-label {
display: block;
margin-bottom: 5px;
font-size: 0.9em;
font-weight: 700;
}
.festival-stall-filter-select {
width: 100%;
min-width: 180px;
box-sizing: border-box;
padding: 8px 10px;
border: 1px solid #aaa;
border-radius: 6px;
font: inherit;
background: inherit;
color: inherit;
}
.festival-stall-filter-select:focus {
outline: 2px solid currentColor;
outline-offset: 2px;
}
/* ========================================
検索結果0件
======================================== */
.festival-stall-search-empty {
margin-top: 12px;
padding: 12px 14px;
border: 1px solid #aaa;
border-radius: 6px;
font-weight: 600;
}
/* ========================================
地図で見る
======================================== */
.festival-stall-map-view {
margin-top: 8px;
}
.festival-stall-map-view-button {
display: inline-block;
padding: 7px 12px;
border: 1px solid #777;
border-radius: 6px;
font: inherit;
font-weight: 600;
cursor: pointer;
}
.festival-stall-map-view-button:disabled {
cursor: default;
opacity: 0.65;
}
/* ========================================
祭りページ:屋台エリア
======================================== */
.festival-stall-area-intro {
margin: 0 0 16px;
line-height: 1.7;
}
/* ========================================
検索エリア
======================================== */
#festival-stall-search-anchor {
margin: 18px 0 22px;
}
#festival-stall-search-anchor
.festival-stall-search {
margin-bottom: 0;
}
/* ========================================
共通パネル
======================================== */
.festival-stall-map-panel,
.festival-stall-list-panel {
margin: 24px 0;
padding: 18px;
border: 1px solid #aaa;
border-radius: 10px;
}
/* ========================================
パネル見出し
======================================== */
.festival-stall-panel-heading {
margin: 0 0 6px;
font-size: 1.25em;
font-weight: 700;
}
.festival-stall-panel-description {
margin: 0 0 16px;
line-height: 1.6;
}
/* ========================================
地図
======================================== */
.festival-stall-map-panel {
scroll-margin-top: 20px;
}
/* ========================================
屋台一覧
======================================== */
.festival-stall-list {
margin-top: 14px;
}
.festival-stall-search-card {
margin-bottom: 16px;
}
.festival-stall-search-card:last-child {
margin-bottom: 0;
}
/* ========================================
スマートフォン
======================================== */
@media screen and (max-width: 700px) {
.festival-stall-map-panel,
.festival-stall-list-panel {
padding: 12px;
border-radius: 8px;
}
.festival-stall-panel-heading {
font-size: 1.15em;
}
}
/* ========================================
Festival Stall Card
compact
======================================== */
.festival-stall-card {
margin: 0 0 14px;
padding: 14px 16px;
border: 1px solid #aaa;
border-radius: 9px;
}
/* ヘッダー */
.festival-stall-card-header {
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
margin: 0 0 10px;
}
.festival-stall-card-title {
margin: 0;
font-size: 1.2em;
line-height: 1.35;
font-weight: 700;
}
.festival-stall-card-title a {
text-decoration: none;
}
.festival-stall-card-category {
flex: 0 0 auto;
padding: 3px 8px;
border: 1px solid #888;
border-radius: 999px;
font-size: 0.82em;
line-height: 1.4;
font-weight: 600;
}
/* ========================================
基本情報
======================================== */
.festival-stall-card-details {
display: grid;
gap: 5px;
padding: 10px 0;
border-top: 1px solid #ddd;
}
.festival-stall-card-info-row {
display: grid;
grid-template-columns: 78px minmax(0, 1fr);
gap: 10px;
align-items: start;
margin: 0;
}
.festival-stall-card-label {
font-size: 0.88em;
line-height: 1.55;
font-weight: 700;
}
.festival-stall-card-value {
min-width: 0;
line-height: 1.55;
}
.festival-stall-card-product-row
.festival-stall-card-value {
font-weight: 600;
}
.festival-stall-card-note {
font-size: 0.9em;
font-weight: 400;
}
/* ========================================
情報状態
======================================== */
.festival-stall-card-meta {
display: flex;
flex-wrap: wrap;
gap: 4px 14px;
margin: 0;
padding: 8px 0;
border-top: 1px solid #ddd;
}
.festival-stall-card-status {
font-size: 0.82em;
line-height: 1.5;
}
/* ========================================
操作
======================================== */
.festival-stall-card-actions {
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 8px;
margin: 8px 0 0;
}
.festival-stall-card-actions
.stall-compare-control {
margin: 0;
}
.festival-stall-card-actions
.festival-stall-map-view {
margin: 0;
}
/* ========================================
詳細
======================================== */
.festival-stall-card-detail-link {
margin: 9px 0 0;
font-size: 0.9em;
}
.festival-stall-card-detail-link a {
text-decoration: none;
}
/* ========================================
スマートフォン
======================================== */
@media screen and (max-width: 700px) {
.festival-stall-card {
padding: 12px;
}
.festival-stall-card-header {
align-items: flex-start;
}
.festival-stall-card-info-row {
grid-template-columns: 66px minmax(0, 1fr);
gap: 7px;
}
.festival-stall-card-actions {
gap: 6px;
}
}
/* ========================================
屋台検索:リセット
======================================== */
.festival-stall-search-reset {
display: inline-block;
margin-top: 12px;
padding: 7px 12px;
border: 1px solid #777;
border-radius: 6px;
font: inherit;
font-size: 0.9em;
font-weight: 600;
cursor: pointer;
}
.festival-stall-search-reset:disabled {
opacity: 0.5;
cursor: default;
}
/* ========================================
屋台情報:確認状態
======================================== */
.festival-stall-card-meta {
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 6px 10px;
margin: 0;
padding: 8px 0;
border-top: 1px solid #ddd;
}
.festival-stall-status-badge {
display: inline-block;
padding: 3px 7px;
border: 1px solid currentColor;
border-radius: 999px;
font-size: 0.78em;
line-height: 1.4;
font-weight: 600;
}
.festival-stall-status-verified {
font-weight: 700;
}
.festival-stall-status-partial,
.festival-stall-status-unverified,
.festival-stall-status-outdated,
.festival-stall-status-unknown {
font-weight: 600;
}
.festival-stall-status-test,
.festival-stall-status-cancelled {
border-width: 2px;
font-weight: 700;
}
.festival-stall-position-text,
.festival-stall-position-accuracy {
font-size: 0.82em;
}
.festival-stall-position-test {
font-weight: 700;
}
/* ========================================
屋台情報:最終確認日
======================================== */
.festival-stall-last-confirmed {
font-size: 0.82em;
white-space: nowrap;
}
.stall-last-confirmed-error {
margin-top: 6px;
color: #b32424;
font-size: 0.875rem;
font-weight: 600;
}
input[aria-invalid="true"] {
border-color: #b32424;
}
/* FestivalStallPlacement - 既存データ警告 */
.stall-duplicate-warning {
display: block;
width: 100%;
box-sizing: border-box;
margin-top: 10px;
padding: 12px 14px;
border: 1px solid #a2a9b1;
border-left: 4px solid #ac6600;
border-radius: 3px;
background: #fff9ea;
line-height: 1.6;
}
.stall-duplicate-warning-title {
display: block;
margin-bottom: 6px;
font-weight: 700;
}
.stall-duplicate-warning-description {
margin: 4px 0 8px;
}
.stall-duplicate-warning-list {
margin: 6px 0 8px 1.5em;
}
.stall-duplicate-warning-list li {
margin: 4px 0;
}
.stall-duplicate-warning-list a {
font-weight: 600;
}
.stall-duplicate-warning-footer {
margin-top: 8px;
font-size: 0.9em;
}
.stall-duplicate-error a {
margin-left: 4px;
}
/* FestivalStallPlacement - 状態選択欄 */
#pfForm .stall-state-dropdown {
width: 320px;
max-width: 100%;
box-sizing: border-box;
}