.cs-wrapper {
font-family: 'Noto Sans JP', "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
color: #333333;
line-height: 1.6;
-webkit-font-smoothing: antialiased;
box-sizing: border-box;
background-color: #ffffff;
width: 100%;
overflow-x: hidden;
}
.cs-wrapper {
    font-family: 'Noto Sans JP', "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    color: #333333;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    box-sizing: border-box;
    background-color: #ffffff;
    width: 100%;
    overflow-x: hidden;
}

.cs-wrapper *, .cs-wrapper *::before, .cs-wrapper *::after {
    box-sizing: border-box;
}

.cs-wrapper a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

.cs-wrapper ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.cs-wrapper img {
    max-width: 100%;
    height: auto;
    vertical-align: bottom;
}

/* アイコンのフォント設定を強制（表示崩れ防止） */
.cs-wrapper i.fa, .cs-wrapper i.fas, .cs-wrapper i.far, .cs-wrapper i.fab, .cs-wrapper i.fa-solid, .cs-wrapper i.fa-regular, .cs-wrapper i.fa-brands {
    font-family: "Font Awesome 6 Free", "Font Awesome 6 Brands", monospace !important;
}

/* =========================================
   Variables & Utilities
   ========================================= */
:root {
    --cs-primary: #00A3E0;    /* 清潔感のあるブルー */
    --cs-secondary: #FF9F1C;  /* 元気なオレンジ */
    --cs-accent: #F4F9FC;     /* 薄い背景色 */
    --cs-text: #333333;
    --cs-text-light: #666666;
    --cs-white: #ffffff;
    --cs-border: #e5e7eb;
}

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

.cs-section {
    padding: 80px 0;
}

.cs-text-center { text-align: center; }
.cs-text-primary { color: var(--cs-primary); }
.cs-text-secondary { color: var(--cs-secondary); }
.cs-font-bold { font-weight: 700; }

/* Buttons */
.cs-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    line-height: 1; /* アイコン位置調整 */
}

.cs-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

.cs-btn-primary {
    background-color: var(--cs-secondary);
    color: var(--cs-white);
    border: none;
    box-shadow: 0 10px 15px -3px rgba(255, 159, 28, 0.3);
}
.cs-btn-primary:hover {
    background-color: #e68a00;
}

.cs-btn-outline {
    background-color: var(--cs-white);
    color: var(--cs-primary);
    border: 2px solid var(--cs-primary);
}
.cs-btn-outline:hover {
    background-color: #f0f9ff;
}

/* Section Title */
.cs-section-header {
    text-align: center;
    margin-bottom: 60px;
}
.cs-section-subtitle {
    display: block;
    color: var(--cs-secondary);
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-size: 14px;
}
.cs-section-title {
    font-size: 32px;
    font-weight: 900;
    margin: 10px 0 20px;
    color: var(--cs-text);
}
.cs-section-bar {
    width: 60px;
    height: 4px;
    background-color: var(--cs-primary);
    margin: 0 auto;
    border-radius: 2px;
}
.cs-section-desc {
    color: var(--cs-text-light);
    margin-top: 15px;
}

/* Animation Classes */
.cs-fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.cs-fade-in.cs-visible {
    opacity: 1;
    transform: translateY(0);
}

/* =========================================
   Hero Section
   ========================================= */
.cs-hero {
    position: relative;
    background-color: var(--cs-accent);
    padding: 80px 0;
    overflow: hidden;
}
.cs-hero::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: radial-gradient(var(--cs-primary) 0.8px, transparent 0.8px), radial-gradient(var(--cs-primary) 0.8px, var(--cs-accent) 0.8px);
    background-size: 32px 32px;
    background-position: 0 0, 16px 16px;
    opacity: 0.1;
    pointer-events: none;
}
.cs-hero-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 1;
    gap: 40px;
}
@media (min-width: 992px) {
    .cs-hero-inner {
flex-direction: row;
text-align: left;
gap: 60px;
    }
}
.cs-hero-content {
    flex: 1;
    text-align: center;
}
@media (min-width: 992px) {
    .cs-hero-content {
text-align: left;
    }
}
.cs-hero-badge {
    display: inline-block;
    background: #fff;
    border: 1px solid var(--cs-primary);
    color: var(--cs-primary);
    padding: 6px 16px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    animation: cs-bounce 2s infinite;
}
.cs-hero-title {
    font-size: 28px;
    font-weight: 900;
    line-height: 1.3;
    margin-bottom: 24px;
    color: #222;
}
@media (min-width: 768px) {
    .cs-hero-title { font-size: 42px; }
}

.cs-highlight {
    color: var(--cs-primary);
    position: relative;
    display: inline-block;
    font-size: 0.8em;
    white-space: nowrap;
}
@media (min-width: 400px) { .cs-highlight { font-size: 0.9em; } }
@media (min-width: 768px) { .cs-highlight { font-size: 1em; } }

.cs-highlight::after {
    content: "";
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 12px;
    background-color: rgba(255, 255, 0, 0.4);
    z-index: -1;
    transform: skewX(-12deg);
}
.cs-hero-text {
    font-size: 16px;
    color: var(--cs-text-light);
    margin-bottom: 32px;
    line-height: 1.8;
    font-weight: 500;
}
.cs-hero-btns {
    display: flex;
    flex-direction: column;
    gap: 16px;
    justify-content: center;
}
@media (min-width: 600px) {
    .cs-hero-btns { flex-direction: row; }
}
@media (min-width: 992px) {
    .cs-hero-btns { justify-content: flex-start; }
}
.cs-hero-achievements {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    gap: 20px;
    font-size: 14px;
    font-weight: 700;
    color: var(--cs-text-light);
}
@media (min-width: 992px) {
    .cs-hero-achievements { justify-content: flex-start; }
}

/* === FV画像の修正 === */
.cs-hero-image {
    flex: 1;
    width: 100%;
    max-width: 600px;
    position: relative;
}
.cs-hero-img-box {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    
    background-color: #fff;
    padding: 6px;
    
    transform: rotate(2deg);
    transition: transform 0.5s;
    height: auto;
    min-height: 300px;
}
.cs-hero-img-box:hover {
    transform: rotate(0);
}

.cs-hero-bg-img-el {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 4/3;
    border-radius: 2px;
}

.cs-hero-img-overlay {
    position: absolute;
    bottom: 6px;
    left: 6px;
    right: 6px;
    padding: 15px;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: #fff;
    z-index: 1;
    border-bottom-left-radius: 2px;
    border-bottom-right-radius: 2px;
}

@keyframes cs-bounce {
    0%, 100% { transform: translateY(-5%); }
    50% { transform: translateY(5%); }
}

/* =========================================
   Popular Articles Section
   ========================================= */
.cs-news {
    border-bottom: 1px solid var(--cs-border);
    background-color: #fff;
    padding: 20px 0;
}
.cs-news-inner {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}
.cs-news-label {
    background-color: var(--cs-secondary);
    color: #fff;
    font-size: 12px;
    font-weight: 900;
    padding: 6px 14px;
    border-radius: 4px;
    white-space: nowrap;
    letter-spacing: 0.05em;
}
.cs-news-list {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
@media (min-width: 768px) {
    .cs-news-list {
flex-direction: row;
align-items: center;
gap: 20px;
    }
}
.cs-news-item {
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.cs-news-date {
    color: #999;
    font-size: 12px;
    font-family: monospace;
}
.cs-news-link:hover {
    color: var(--cs-primary);
    text-decoration: underline;
}

/* =========================================
   Info List Section
   ========================================= */
.cs-info-section {
    background-color: #fff;
    padding: 60px 0;
    border-bottom: 1px solid var(--cs-border);
}
.cs-info-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--cs-primary);
}
.cs-info-title {
    font-size: 22px;
    font-weight: 900;
    color: var(--cs-text);
}
.cs-info-more {
    font-size: 14px;
    color: var(--cs-primary);
    font-weight: 700;
}
.cs-info-more:hover { text-decoration: underline; }

.cs-info-list-container {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.cs-info-row {
    display: flex;
    align-items: baseline;
    gap: 20px;
    padding: 15px 0;
    border-bottom: 1px solid #f3f4f6;
    transition: background-color 0.2s;
}
@media (max-width: 767px) {
    .cs-info-row {
flex-direction: column;
align-items: flex-start;
gap: 8px;
    }
    .cs-info-title {
font-size: 18px;
    }
}
.cs-info-row:hover {
    background-color: #f9fafb;
}
.cs-info-row:last-child { border-bottom: none; }

.cs-info-row-date {
    font-family: monospace;
    color: #666;
    font-size: 14px;
    min-width: 90px;
    flex-shrink: 0;
}

.cs-info-row-cat {
    background-color: #e0f2fe;
    color: var(--cs-primary);
    font-size: 11px;
    padding: 3px 10px;
    border-radius: 4px;
    font-weight: 700;
    white-space: nowrap;
    flex-shrink: 0;
}

.cs-info-row-title {
    font-size: 15px;
    flex: 1;
    line-height: 1.5;
}

/* =========================================
   Concept Section
   ========================================= */
.cs-concept {
    background-color: var(--cs-accent);
}
.cs-grid-3 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}
@media (min-width: 768px) {
    .cs-grid-3 { grid-template-columns: repeat(3, 1fr); }
}
.cs-card-feature {
    background-color: #fff;
    padding: 30px;
    border-radius: 16px;
    text-align: center;
    transition: all 0.3s;
    border: 1px solid transparent;
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
}
.cs-card-feature:hover {
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    border-color: rgba(0, 163, 224, 0.2);
}
.cs-feature-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
}
.cs-feature-img {
    max-width: 100%;
    height: auto;
    margin-bottom: 15px;
    border-radius: 8px;
}
.cs-feature-text {
    font-size: 14px;
    color: var(--cs-text-light);
}

/* =========================================
   Cases Section
   ========================================= */
.cs-cases {
    background-color: #fff;
}
.cs-card-case {
    background-color: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    border: 1px solid var(--cs-border);
    transition: all 0.3s;
}
.cs-card-case:hover {
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    transform: translateY(-5px);
}
.cs-case-thumb {
    height: 200px;
    position: relative;
    overflow: hidden;
}
.cs-case-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}
.cs-card-case:hover .cs-case-img {
    transform: scale(1.05);
}
.cs-case-tag {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: var(--cs-secondary);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
}
.cs-case-tag.cs-tag-red { background-color: #ef4444; }
.cs-case-tag.cs-tag-blue { background-color: #3b82f6; }

.cs-case-body { padding: 25px; }
.cs-case-title {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 10px;
}
.cs-case-desc {
    font-size: 14px;
    color: var(--cs-text-light);
    margin-bottom: 15px;
}
.cs-case-footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    border-top: 1px solid var(--cs-border);
    padding-top: 15px;
}
.cs-case-price {
    font-size: 20px;
    font-weight: 900;
    color: var(--cs-primary);
}
.cs-case-price span {
    font-size: 12px;
    font-weight: 400;
    color: #999;
}

/* =========================================
   Plans Section
   ========================================= */
.cs-plans { background-color: #f9fafb; }
.cs-plans-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    align-items: flex-end;
    max-width: 1000px;
    margin: 0 auto;
}
@media (min-width: 768px) {
    .cs-plans-grid { grid-template-columns: repeat(3, 1fr); }
}
.cs-card-plan {
    background: #fff;
    border: 1px solid var(--cs-border);
    border-radius: 16px;
    padding: 30px 20px;
    text-align: center;
    transition: 0.3s;
    position: relative;
}
.cs-card-plan:hover {
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}
.cs-plan-rec {
    border: 2px solid var(--cs-secondary);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    transform: scale(1.0);
    z-index: 2;
}
@media (min-width: 768px) {
    .cs-plan-rec { transform: scale(1.05); }
}
.cs-plan-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--cs-secondary);
    color: #fff;
    padding: 5px 20px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.cs-plan-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--cs-text-light);
    margin-bottom: 10px;
}
.cs-plan-rec .cs-plan-title { color: var(--cs-secondary); }

.cs-plan-price {
    color: var(--cs-primary);
    margin-bottom: 5px;
}
.cs-plan-rec .cs-plan-price { color: var(--cs-secondary); }

.cs-plan-amount {
    font-size: 40px;
    font-weight: 900;
}
.cs-plan-tax {
    font-size: 12px;
    color: #999;
    margin-bottom: 20px;
}
/* プラン画像用スタイル */
.cs-plan-img-container {
    width: 100%;
    margin-bottom: 25px;
    display: flex;
    justify-content: center;
}
.cs-plan-img {
    max-width: 100%;
    height: auto;
    max-height: 150px; /* 画像の高さ制限 */
    object-fit: contain;
}

.cs-plan-features {
    text-align: left;
    margin-bottom: 30px;
    font-size: 14px;
    color: var(--cs-text-light);
}
.cs-plan-features li {
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
}
.cs-plan-features i {
    color: #22c55e;
    margin-right: 8px;
    margin-top: 4px;
}
.cs-plan-rec .cs-plan-features i { color: var(--cs-secondary); }

.cs-btn-plan {
    width: 100%;
    padding: 12px;
    border-radius: 50px;
    font-weight: 700;
    display: block;
    border: 2px solid var(--cs-primary);
    color: var(--cs-primary);
    text-align: center;
}
.cs-btn-plan:hover {
    background-color: var(--cs-primary);
    color: #fff;
}
.cs-btn-plan-rec {
    background-color: var(--cs-secondary);
    border-color: var(--cs-secondary);
    color: #fff;
}
.cs-btn-plan-rec:hover {
    background-color: #e68a00;
}

/* =========================================
   Area Section
   ========================================= */
.cs-area {
    background-color: #fff;
    /* 修正：余白削減 */
    padding-top: 40px;
}
.cs-area-flex {
    display: flex;
    flex-direction: column;
    gap: 40px;
    align-items: center;
}
@media (min-width: 768px) {
    .cs-area-flex {
flex-direction: row;
text-align: left;
    }
}
.cs-area-content { flex: 1; }
.cs-area-map {
    flex: 1;
    display: flex;
    justify-content: center;
    width: 100%;
}
.cs-area-box {
    background-color: var(--cs-accent);
    /* 修正：上部パディングを削減（文字上の余白削除） */
    padding: 15px 25px 25px;
    border-radius: 12px;
    box-shadow: none;
}
.cs-area-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    font-size: 14px;
    font-weight: 500;
}
.cs-map-placeholder {
    width: 100%;
    max-width: 450px;
    aspect-ratio: 16/9;
    background-color: #fff;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
    background-image: url('https://www.minamiizu.or.jp/wp-content/uploads/2025/12/shizuoka-chizu.png');
    /* 修正：地図が全て見えるように contain を設定 */
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}
.cs-map-icon {
    display: none; 
}
.cs-map-badge {
    position: absolute;
    background-color: var(--cs-secondary);
    color: #fff;
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 700;
    box-shadow: 0 4px 6px rgba(0,0,0,0.2);
    animation: cs-bounce 2s infinite;
}

/* =========================================
   Staff Section
   ========================================= */
.cs-staff { background-color: var(--cs-accent); }
.cs-staff-card {
    text-align: center;
}
.cs-staff-img-box {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 20px;
    border: 4px solid #fff;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    transition: border-color 0.3s;
}
.cs-staff-card:hover .cs-staff-img-box {
    border-color: var(--cs-primary);
}
.cs-staff-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.cs-staff-name {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 5px;
}
.cs-staff-role {
    font-size: 14px;
    color: var(--cs-secondary);
    font-weight: 700;
    margin-bottom: 10px;
}
.cs-staff-comment {
    font-size: 14px;
    color: var(--cs-text-light);
    padding: 0 10px;
}

/* =========================================
   Contact Section
   ========================================= */
.cs-contact {
    background-color: var(--cs-primary);
    color: #fff;
    padding: 80px 0;
}
.cs-contact-flex {
    display: flex;
    flex-direction: column;
    gap: 50px;
}
@media (min-width: 992px) {
    .cs-contact-flex {
flex-direction: row;
align-items: center;
    }
}
.cs-contact-info { flex: 1; }
.cs-contact-form-wrapper {
    flex: 1;
    background-color: #fff;
    color: #333;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.2);
}
.cs-contact-tel-box {
    background-color: rgba(255,255,255,0.1);
    backdrop-filter: blur(5px);
    padding: 25px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.2);
    margin-bottom: 25px;
}
.cs-contact-tel {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 32px;
    font-family: monospace;
    font-weight: 900;
    color: #fff;
}
@media (min-width: 768px) {
    .cs-contact-tel { font-size: 42px; }
}
.cs-btn-line {
    width: 100%;
    background-color: #06C755;
    color: #fff;
    padding: 18px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
.cs-btn-line:hover { background-color: #05b54d; }

/* Form */
.cs-form-group { margin-bottom: 20px; }
.cs-form-row {
    display: grid;
    gap: 20px;
}
@media (min-width: 768px) {
    .cs-form-row { grid-template-columns: 1fr 1fr; }
}
.cs-form-label {
    display: block;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 8px;
}
.cs-req { color: #ef4444; margin-left: 4px; }
.cs-form-input, .cs-form-select, .cs-form-textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #f9fafb;
    font-size: 16px;
    outline: none;
    transition: border-color 0.3s;
}
.cs-form-input:focus, .cs-form-select:focus, .cs-form-textarea:focus {
    border-color: var(--cs-primary);
    background-color: #fff;
}
.cs-form-textarea { height: 120px; resize: vertical; }
.cs-btn-submit {
    width: 100%;
    background-color: var(--cs-secondary);
    color: #fff;
    font-size: 18px;
    padding: 16px;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}
.cs-btn-submit:hover {
    background-color: #e68a00;
    transform: translateY(-2px);
}