:root {
--cs-primary: #00A3E0;
--cs-secondary: #FF9F1C;
--cs-accent: #F4F9FC;
--cs-text: #333333;
--cs-text-light: #666666;
--cs-border: #e5e7eb;
--cs-white: #ffffff;
}

.cs-wrapper {
font-family: 'Noto Sans JP', sans-serif;
color: var(--cs-text);
line-height: 1.6;
width: 100%;
background-color: var(--cs-white);
margin-bottom: 60px;
}

.cs-wrapper * { box-sizing: border-box; }
.cs-wrapper a { text-decoration: none; color: inherit; }

.cs-container {
width: 100%;
max-width: 1200px;
margin: 0 auto;
padding: 0 20px;
}

.cs-section {
padding: 60px 0 100px;
}

/* Hero */
.cs-hero {
background-color: var(--cs-accent);
padding: 60px 0;
margin-bottom: 40px;
}
.cs-hero-inner {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
text-align: center;
width: 100%;
}
.cs-hero-content {
width: 100%;
max-width: 800px;
}
.cs-hero-title {
font-size: 28px;
font-weight: 700;
color: var(--cs-primary);
margin: 0 auto 16px auto;
text-align: center;
display: block;
width: fit-content;
}
.cs-hero-text {
font-size: 16px;
color: var(--cs-text);
max-width: 800px;
margin: 0 auto;
text-align: center;
display: block;
}
@media (min-width: 768px) {
.cs-hero { padding: 80px 0; }
.cs-hero-title { font-size: 36px; }
}

/* Grid */
.cs-grid-3 {
display: grid;
grid-template-columns: 1fr;
gap: 30px;
margin-top: 40px;
}
@media (min-width: 600px) {
.cs-grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
.cs-grid-3 { grid-template-columns: repeat(3, 1fr); }
}

/* Card */
.cs-blog-card {
display: flex;
flex-direction: column;
background: #fff;
border-radius: 12px;
overflow: hidden;
box-shadow: 0 4px 15px rgba(0,0,0,0.05);
transition: transform 0.3s ease, box-shadow 0.3s ease;
height: 100%;
position: relative;
}
.cs-blog-card:hover {
transform: translateY(-5px);
box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}
.cs-case-thumb {
position: relative;
width: 100%;
padding-top: 66.6%;
overflow: hidden;
background-color: #f3f4f6;
}
.cs-case-img {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
object-fit: cover;
transition: transform 0.5s ease;
}
.cs-blog-card:hover .cs-case-img {
transform: scale(1.05);
}
.cs-blog-body {
padding: 20px;
display: flex;
flex-direction: column;
flex-grow: 1;
}
.cs-blog-title {
font-size: 16px;
font-weight: 700;
margin: 0 0 10px;
line-height: 1.5;
color: var(--cs-text);
}

/* Label & Meta */
.cs-photo-cat-label {
position: absolute;
top: 10px;
left: 10px;
background-color: var(--cs-secondary);
color: #fff;
font-size: 11px;
font-weight: 700;
padding: 4px 10px;
border-radius: 4px;
z-index: 2;
box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}
.cs-photo-meta-list {
margin-top: auto;
padding-top: 15px;
border-top: 1px solid #f3f4f6;
display: flex;
justify-content: space-between;
font-size: 12px;
color: var(--cs-text-light);
}
.cs-photo-meta-item i {
color: var(--cs-primary);
margin-right: 4px;
}

/* Filter Nav */
.cs-custom-filter-nav {
margin-bottom: 40px;
text-align: center;
}
.cs-custom-filter-list {
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 10px;
padding: 0;
margin: 0;
list-style: none;
}
.cs-custom-filter-btn {
background-color: #fff;
border: 1px solid var(--cs-border);
color: var(--cs-text);
padding: 10px 24px;
border-radius: 50px;
font-size: 14px;
font-weight: 700;
cursor: pointer;
transition: all 0.3s ease;
appearance: none;
}
.cs-custom-filter-btn:hover {
border-color: var(--cs-primary);
color: var(--cs-primary);
}
.cs-custom-filter-btn.is-active {
background-color: var(--cs-primary);
color: #fff;
border-color: var(--cs-primary);
box-shadow: 0 4px 10px rgba(0, 163, 224, 0.3);
}

/* Animation */
.cs-photo-card.is-hidden { display: none; }
.cs-photo-card.fade-in { animation: fadeIn 0.5s ease forwards; }
@keyframes fadeIn {
from { opacity: 0; transform: translateY(10px); }
to { opacity: 1; transform: translateY(0); }
}

/* Intro Box */
.cs-custom-intro-box {
background: #fff;
border-radius: 8px;
padding: 30px;
margin-bottom: 50px;
text-align: center;
border: 1px solid var(--cs-border);
}
.cs-custom-intro-text {
font-size: 15px;
color: var(--cs-text-light);
margin: 0;
}

/* Font Awesome Fallback */
.fa-solid, .fa-regular { font-family: "Font Awesome 6 Free"; }