* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
html {
overflow-x: hidden;
width: 100%;
height: 100%;
}
body {
font-family: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
line-height: 1.6;
color: #333;
background: #f5f5f5;
overflow-x: hidden;
width: 100%;
max-width: 100vw;
position: relative;
min-height: 100vh;
} .site-header {
position: -webkit-sticky !important;
position: sticky !important;
top: 0 !important;
z-index: 1000 !important;
background: white !important;
width: 100% !important;
} .container {
width: 100%;
max-width: 1200px;
margin: 0 auto;
padding: 0 20px;
overflow-x: hidden;
} .site-header {
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
color: white;
padding: 20px 0;
box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.site-title {
font-size: 24px;
font-weight: 700;
margin: 0;
} .main-content {
padding: 40px 0;
min-height: calc(100vh - 200px);
} .ad-banner {
background: #fff;
padding: 20px;
margin: 20px 0;
border-radius: 8px;
text-align: center;
box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.ad-banner img {
max-width: 100%;
height: auto;
} .shop-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
gap: 24px;
margin: 30px 0;
}
.shop-card {
background: white;
border-radius: 12px;
overflow: hidden;
box-shadow: 0 4px 12px rgba(0,0,0,0.08);
transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.shop-card:hover {
transform: translateY(-4px);
box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}
.shop-image {
width: 100%;
height: 200px;
object-fit: cover;
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}
.shop-content {
padding: 20px;
}
.shop-logo {
width: 80px;
height: 80px;
margin: -50px auto 15px;
border-radius: 50%;
border: 4px solid white;
object-fit: cover;
display: block;
background: white;
}
.shop-title {
font-size: 20px;
font-weight: 700;
margin-bottom: 10px;
color: #333;
}
.shop-rating {
display: flex;
align-items: center;
gap: 8px;
margin-bottom: 12px;
}
.stars {
color: #ffc107;
font-size: 18px;
}
.rating-text {
color: #666;
font-size: 14px;
}
.shop-features {
display: flex;
flex-wrap: wrap;
gap: 8px;
margin: 15px 0;
}
.feature-tag {
background: #e3f2fd;
color: #1976d2;
padding: 4px 12px;
border-radius: 16px;
font-size: 12px;
font-weight: 500;
}
.shop-description {
color: #666;
font-size: 14px;
line-height: 1.6;
margin: 15px 0;
}
.shop-details {
border-top: 1px solid #eee;
padding-top: 15px;
margin-top: 15px;
}
.detail-item {
display: flex;
align-items: flex-start;
gap: 8px;
margin-bottom: 8px;
font-size: 14px;
color: #555;
}
.detail-label {
font-weight: 600;
min-width: 60px;
}
.btn-detail {
display: block;
width: 100%;
padding: 12px;
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
color: white;
text-align: center;
text-decoration: none;
border-radius: 8px;
font-weight: 600;
margin-top: 15px;
transition: opacity 0.3s ease;
}
.btn-detail:hover {
opacity: 0.9;
} .article-list {
background: white;
padding: 30px;
border-radius: 12px;
box-shadow: 0 2px 8px rgba(0,0,0,0.05);
margin: 30px 0;
}
.article-item {
padding: 20px 0;
border-bottom: 1px solid #eee;
}
.article-item:last-child {
border-bottom: none;
}
.article-title {
font-size: 18px;
font-weight: 600;
margin-bottom: 8px;
}
.article-title a {
color: #333;
text-decoration: none;
}
.article-title a:hover {
color: #667eea;
}
.article-meta {
color: #999;
font-size: 13px;
} .site-footer {
background: #2c3e50;
color: white;
padding: 30px 0;
text-align: center;
margin-top: 60px;
} @media (max-width: 768px) {
.shop-grid {
grid-template-columns: 1fr;
gap: 20px;
}
.site-title {
font-size: 20px;
}
.container {
padding: 0 15px;
}
.main-content {
padding: 20px 0;
}
}
@media (max-width: 480px) {
.shop-content {
padding: 15px;
}
.shop-title {
font-size: 18px;
}
} @media (min-width: 769px) { .shop-cards-mobile {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 24px;
}
.shop-card {
display: flex;
flex-direction: column;
} .container {
max-width: 1200px;
margin: 0 auto;
} .article-grid-section .grid-container {
grid-template-columns: repeat(4, 1fr) !important;
} .article-carousel-section {
padding: 0 !important;
}
}
@media (min-width: 1024px) { .shop-cards-mobile {
grid-template-columns: repeat(4, 1fr);
gap: 30px;
}
} @media (hover: hover) {
.shop-card {
transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.shop-card:hover {
transform: translateY(-8px);
box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}
}html {
scroll-behavior: smooth;
overflow-x: hidden;
width: 100%;
height: 100%;
}
body {
width: 100%;
max-width: 100vw;
overflow-x: hidden;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
margin: 0;
padding: 0;
position: relative;
} .site-header {
position: -webkit-sticky;
position: sticky;
top: 0;
z-index: 1000;
background: white;
border-bottom: 1px solid #e0e0e0;
width: 100%;
box-shadow: 0 2px 4px rgba(0,0,0,0.05);
} * {
max-width: 100%;
} .article-carousel-section {
width: 100%;
overflow: hidden;
margin-bottom: 30px;
padding: 0 15px;
}
.article-carousel-section > div {
overflow-x: auto;
overflow-y: hidden;
-webkit-overflow-scrolling: touch;
scrollbar-width: none;
-ms-overflow-style: none;
width: 100%;
margin: 0;
}
.article-carousel-section > div::-webkit-scrollbar {
display: none;
} .article-carousel-section > div > div {
display: flex;
gap: 12px;
padding-bottom: 10px;
width: max-content;
min-width: 100%;
} .main-content {
overflow-x: hidden;
width: 100%;
} .container {
overflow-x: hidden;
max-width: 100%;
} img {
max-width: 100%;
height: auto;
display: block;
} @media (hover: none) {
.shop-card:hover {
transform: none;
}
.btn-detail:hover {
opacity: 1;
}
} * {
transition: background-color 0.3s ease, color 0.3s ease;
} a:focus,
button:focus,
input:focus {
outline: 3px solid #667eea;
outline-offset: 2px;
} @media (max-width: 1024px) {
.shop-grid {
grid-template-columns: repeat(2, 1fr);
gap: 20px;
}
.container {
padding: 0 20px;
}
} @media (max-width: 768px) {
.site-header {
padding: 15px 0;
}
.site-title {
font-size: 20px;
}
.main-content {
padding: 20px 0;
}
.shop-grid {
grid-template-columns: 1fr;
gap: 20px;
}
.ad-banner {
padding: 15px;
} .shop-image {
height: 180px;
}
.shop-logo {
width: 70px;
height: 70px;
margin-top: -45px;
} .article-list {
padding: 20px;
}
.article-title {
font-size: 16px;
} .site-footer {
padding: 20px 0;
font-size: 14px;
}
} @media (max-width: 480px) {
.container {
padding: 0 15px;
}
.site-title {
font-size: 18px;
}
.shop-content {
padding: 15px;
}
.shop-title {
font-size: 18px;
}
.shop-image {
height: 160px;
}
.shop-logo {
width: 60px;
height: 60px;
margin-top: -40px;
}
.feature-tag {
font-size: 11px;
padding: 3px 10px;
}
.shop-description {
font-size: 13px;
}
.detail-item {
font-size: 13px;
}
.btn-detail {
padding: 10px;
font-size: 14px;
} .ad-banner {
padding: 10px;
margin: 15px 0;
} .article-list {
padding: 15px;
}
.article-item {
padding: 15px 0;
}
.article-title {
font-size: 15px;
}
.article-meta {
font-size: 12px;
}
} @media (max-width: 375px) {
.site-title {
font-size: 16px;
}
.shop-content {
padding: 12px;
}
.shop-title {
font-size: 16px;
}
.shop-image {
height: 140px;
}
.shop-logo {
width: 50px;
height: 50px;
margin-top: -35px;
border: 3px solid white;
}
.shop-features {
gap: 6px;
}
.feature-tag {
font-size: 10px;
padding: 2px 8px;
}
} @media print {
.site-header,
.site-footer,
.ad-banner,
.btn-detail {
display: none;
}
.shop-card {
page-break-inside: avoid;
box-shadow: none;
border: 1px solid #ddd;
}
} @media (prefers-color-scheme: dark) { } @keyframes fadeIn {
from {
opacity: 0;
transform: translateY(20px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
.shop-card {
animation: fadeIn 0.5s ease-out;
} .loading {
opacity: 0.5;
pointer-events: none;
} ::-webkit-scrollbar {
width: 10px;
}
::-webkit-scrollbar-track {
background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
background: #667eea;
border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
background: #764ba2;
} @supports (padding: max(0px)) {
body {
padding-left: max(0px, env(safe-area-inset-left));
padding-right: max(0px, env(safe-area-inset-right));
}
.site-header,
.site-footer {
padding-left: max(20px, env(safe-area-inset-left));
padding-right: max(20px, env(safe-area-inset-right));
}
} .shop-image,
.shop-logo {
will-change: transform;
} @media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) { }