/* ==========================================
   リセット & 基本スタイル
========================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* カラーパレット */
    --primary-color: #c9302c;
    --primary-dark: #a02622;
    --primary-light: #e74c3c;
    --secondary-color: #2c3e50;
    --accent-color: #f39c12;
    --text-color: #333;
    --text-light: #666;
    --text-lighter: #999;
    --bg-color: #ffffff;
    --bg-light: #f8f9fa;
    --bg-dark: #1a1a1a;
    --border-color: #e0e0e0;
    --success-color: #27ae60;
    
    /* タイポグラフィ */
    --font-main: 'Noto Sans JP', sans-serif;
    --font-title: 'Bebas Neue', cursive;
    
    /* スペーシング */
    --section-padding: 80px 0;
    --container-padding: 0 20px;
    
    /* トランジション */
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--container-padding);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

/* ==========================================
   ヘッダー & ナビゲーション
========================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.nav-brand .logo {
    font-family: var(--font-title);
    font-size: 1.8rem;
    color: var(--primary-color);
    letter-spacing: 2px;
    margin-bottom: 0;
}

.nav-brand .logo-sub {
    font-size: 0.75rem;
    color: #fff;
    margin-top: 2px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-link {
    color: #fff;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 4px;
    transition: var(--transition);
}

.nav-link:hover {
    background: rgba(255, 255, 255, 0.1);
}

.nav-link-cta {
    background: var(--primary-color);
    color: #fff;
}

.nav-link-cta:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    background: transparent;
    border: none;
    cursor: pointer;
    gap: 5px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: #fff;
    border-radius: 2px;
    transition: var(--transition);
}

/* ==========================================
   ヒーローセクション
========================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1a1a1a 0%, #2c3e50 100%);
    background-image: 
        url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><rect fill="rgba(255,255,255,0.02)" width="100" height="100"/><path d="M0 0L100 100M100 0L0 100" stroke="rgba(255,255,255,0.03)" stroke-width="1"/></svg>'),
        linear-gradient(135deg, #1a1a1a 0%, #2c3e50 100%);
    background-size: 50px 50px, cover;
    padding-top: 80px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent 0%, rgba(0, 0, 0, 0.5) 100%);
}

.hero-container {
    position: relative;
    z-index: 2;
}

.hero-content {
    text-align: center;
    color: #fff;
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px;
}

.hero-subtitle {
    font-size: 1rem;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
    font-weight: 500;
}

.hero-title {
    font-family: var(--font-title);
    font-size: 4.5rem;
    line-height: 1.2;
    margin-bottom: 30px;
    letter-spacing: 3px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-description {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 40px;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.hero-scroll a {
    color: #fff;
    font-size: 2rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* ==========================================
   ボタンスタイル
========================================== */
.btn {
    display: inline-block;
    padding: 14px 32px;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    font-size: 1rem;
    text-align: center;
}

.btn-primary {
    background: var(--primary-color);
    color: #fff;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(201, 48, 44, 0.3);
}

.btn-secondary {
    background: transparent;
    color: #fff;
    border-color: #fff;
}

.btn-secondary:hover {
    background: #fff;
    color: var(--secondary-color);
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: #fff;
}

.btn-large {
    padding: 18px 40px;
    font-size: 1.1rem;
}

/* ==========================================
   セクション共通スタイル
========================================== */
section {
    padding: var(--section-padding);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-subtitle {
    display: inline-block;
    color: var(--primary-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

/* ==========================================
   ニュースセクション
========================================== */
section {
    padding: 20px;
}

.section-header {
    text-align: center;
    margin-bottom: 0px;
}

.news a {
    text-decoration: underline;
    color: blue;
}

div.news {
border-bottom: 1px solid gray;
padding-bottom: 20px;
}

/* ==========================================
   プロフィールセクション
========================================== */
.profile {
    background: var(--bg-light);
}

.profile-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 30px;
    align-items: start;
}

/*
.profile-image-placeholder {
    aspect-ratio: 1;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));*/
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.3);
    font-size: 8rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}
*/

.profile-name {
    font-size: 2rem;
    font-weight: 900;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.profile-name-en {
    display: block;
    font-size: 1.2rem;
    color: var(--text-light);
    font-weight: 400;
    margin-top: 5px;
}

.profile-details {
    display: grid;
    gap: 15px;
    margin: 30px 0;
}

.profile-detail-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.profile-detail-item i {
    color: var(--primary-color);
    font-size: 1.3rem;
    width: 25px;
    text-align: center;
}

.profile-description {
    margin-top: 30px;
    line-height: 1.8;
}

.profile-description p {
    margin-bottom: 15px;
}

/* ==========================================
   タイトルセクション
========================================== */
.titles {
    background: #fff;
}

.timeline {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 100px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, var(--primary-color), var(--accent-color));
}

.timeline-item {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 40px;
    margin-bottom: 40px;
    position: relative;
}

.timeline-year {
    font-family: var(--font-title);
    font-size: 2rem;
    color: var(--primary-color);
    text-align: right;
    padding-right: 20px;
    font-weight: bold;
}

.timeline-item::after {
    content: '';
    position: absolute;
    left: 92px;
    top: 8px;
    width: 18px;
    height: 18px;
    background: #fff;
    border: 3px solid var(--primary-color);
    border-radius: 50%;
    z-index: 1;
}

.timeline-item.highlight::after {
    background: var(--primary-color);
    box-shadow: 0 0 0 8px rgba(201, 48, 44, 0.2);
}

.timeline-content {
    background: #fff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border-left: 4px solid var(--primary-color);
}

.timeline-content h4 {
    font-size: 1.2rem;
    color: var(--secondary-color);
    margin-bottom: 8px;
    font-weight: 700;
}

.timeline-content p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* ==========================================
   メッセージセクション
========================================== */
.message {
    background: var(--bg-light);
}

.message-intro {
    max-width: 900px;
    margin: 0 auto 60px;
    text-align: center;
    line-height: 1.9;
    font-size: 1.05rem;
}

.message-intro p {
    margin-bottom: 20px;
}

.message-points {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.message-point {
    background: #fff;
    padding: 35px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
}

.message-point:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.message-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 2rem;
}

.message-point h3 {
    font-size: 1.3rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-weight: 700;
}

.message-point p {
    color: var(--text-light);
    line-height: 1.7;
    font-size: 0.95rem;
}

/* ==========================================
   サービスセクション
========================================== */
.services {
    background: #fff;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.service-card {
    background: #fff;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    border: 2px solid transparent;
    position: relative;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
    border-color: var(--primary-color);
}

.service-card.featured {
    border-color: var(--primary-color);
    background: linear-gradient(to bottom, #fff 0%, rgba(201, 48, 44, 0.03) 100%);
}

.service-badge {
    position: absolute;
    top: -15px;
    right: 20px;
    background: var(--primary-color);
    color: #fff;
    padding: 5px 20px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 2rem;
}

.service-title {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
    text-align: center;
    font-weight: 700;
}

.service-target {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 10px 20px;
    background: var(--bg-light);
    border-radius: 25px;
    margin-bottom: 25px;
    font-size: 0.9rem;
    color: var(--text-light);
}

.service-target i {
    color: var(--primary-color);
}

.service-description {
    margin-bottom: 25px;
}

.service-description > p {
    margin-bottom: 20px;
    line-height: 1.7;
    color: var(--text-color);
}

.service-features {
    list-style: none;
    margin-bottom: 25px;
}

.service-features li {
    padding: 8px 0;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 10px;
}

.service-features i {
    color: var(--success-color);
    font-size: 0.9rem;
}

.service-duration {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px;
    background: var(--bg-light);
    border-radius: 10px;
    margin-bottom: 25px;
    font-weight: 600;
    color: var(--secondary-color);
}

.service-duration i {
    color: var(--primary-color);
}

.service-card .btn {
    width: 100%;
}

.services-note {
    max-width: 800px;
    margin: 0 auto;
    padding: 30px;
    background: var(--bg-light);
    border-radius: 15px;
    border-left: 4px solid var(--primary-color);
}

.services-note p {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 10px;
    line-height: 1.7;
}

.services-note i {
    color: var(--primary-color);
    margin-top: 3px;
}

/* ==========================================
   活動実績セクション
========================================== */
.achievements {
    background: var(--bg-light);
}

.achievements-content {
    max-width: 900px;
    margin: 0 auto 80px;
}

.achievement-item {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 30px;
    padding: 30px;
    background: #fff;
    border-radius: 15px;
    margin-bottom: 25px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
}

.achievement-item:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.achievement-image {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 3rem;
}

.achievement-info h3 {
    font-size: 1.4rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-weight: 700;
}

.achievement-info p {
    line-height: 1.8;
    color: var(--text-light);
}


/* ==========================================
   お客様の声セクション
========================================== */
.testimonials {
    max-width: 1000px;
    margin: 20px auto;
}

.testimonials-title {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 0px;
    color: var(--secondary-color);
    font-weight: 700;
}

.testimonials-intro{
	padding: 20px;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: #fff;
    padding: 35px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.testimonial-rating {
    color: var(--accent-color);
    margin-bottom: 20px;
    font-size: 1rem;
}

.testimonial-text {
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 25px;
    font-style: italic;
}

.testimonial-author strong {
    display: block;
    color: var(--secondary-color);
    font-weight: 700;
    margin-bottom: 5px;
}

.testimonial-author span {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* ==========================================
   お申し込みフォームセクション
========================================== */
.contact {
    background: #fff;
}

.contact-intro {
    max-width: 800px;
    margin: 0 auto 50px;
    text-align: left;
    line-height: 1.8;
}

.contact-content {
    max-width: 900px;
    margin: 0 auto;
}

.contact-form {
    background: var(--bg-light);
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-bottom: 25px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--secondary-color);
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-group label i {
    color: var(--primary-color);
}

.required {
    color: var(--primary-color);
    font-weight: bold;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-family: var(--font-main);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(201, 48, 44, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-privacy {
    margin: 30px 0;
    padding: 25px;
    background: #fff;
    border-radius: 10px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    margin-top: 3px;
    cursor: pointer;
    width: 18px;
    height: 18px;
}

.privacy-note {
    margin-top: 15px;
    font-size: 0.85rem;
    color: var(--text-light);
    line-height: 1.6;
    padding-left: 28px;
}

.form-submit {
    text-align: center;
    margin-top: 35px;
}

.form-submit .btn {
    min-width: 300px;
}

/* 送信完了メッセージ */
.form-success {
    display: none;
    text-align: center;
    padding: 60px 40px;
    background: var(--bg-light);
    border-radius: 20px;
}

.form-success.show {
    display: block;
}

.success-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 30px;
    background: var(--success-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 3rem;
}

.form-success h3 {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.form-success p {
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 30px;
}

/* ==========================================
   フッター
========================================== */
.footer {
    background: var(--bg-dark);
    color: #fff;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-title {
    font-family: var(--font-title);
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    letter-spacing: 2px;
}

.footer-description {
    line-height: 1.6;
    opacity: 0.8;
    font-size: 0.95rem;
}

.footer-section h4 {
    font-size: 1.1rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    opacity: 0.8;
    font-size: 0.95rem;
}

.footer-links a:hover {
    opacity: 1;
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-contact-link {
    color: var(--primary-color);
    font-weight: 600;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.6;
    font-size: 0.9rem;
}

/* ==========================================
   トップへ戻るボタン
========================================== */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-5px);
}

/* ==========================================
   レスポンシブデザイン
========================================== */

/* タブレット */
@media (max-width: 768px) {
    :root {
        --section-padding: 60px 0;
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: rgba(26, 26, 26, 0.98);
        flex-direction: column;
        justify-content: flex-start;
        padding: 40px;
        transition: left 0.3s ease;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(7px, 7px);
    }
    
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .profile-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .timeline::before {
        left: 20px;
    }
    
    .timeline-item {
        grid-template-columns: 1fr;
        padding-left: 60px;
    }
    
    .timeline-year {
        text-align: left;
        padding-right: 0;
        position: absolute;
        left: -4px;
        top: 0;
		font-size: 1.8rem;
    }
    
    .timeline-item::after {
        left: 10px;
		top: 38px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .achievement-item {
        grid-template-columns: 1fr;
    }
    
    .achievement-image {
        margin: 0 auto;
    }
    
    .contact-form {
        padding: 30px 20px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
}

/* スマートフォン */
@media (max-width: 480px) {
    .nav-brand .logo {
        font-size: 1.4rem;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
    }
    
    .section-title {
        font-size: 1.7rem;
    }
    
    .message-points {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .scroll-to-top {
        width: 45px;
        height: 45px;
        bottom: 20px;
        right: 20px;
    }
}

/* ============================================
   活動実績カルーセル用CSS
   ============================================ */

/* メインカルーセル(活動実績セクション冒頭) */
.achievements-main-carousel {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 40px auto 60px;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.main-carousel-container {
    position: relative;
    width: 100%;
    padding-top: 50%; /* 2:1のアスペクト比 */
    background-color: #f5f5f5;
}

.main-carousel-slides {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    transition: transform 0.6s ease-in-out;
}

.main-carousel-slide {
    min-width: 100%;
    height: 100%;
    position: relative;
}

.main-carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: white;
    padding: 30px;
    text-align: left;
}

.slide-caption h3 {
    font-size: 24px;
    margin: 0 0 10px 0;
    font-weight: bold;
}

.slide-caption p {
    font-size: 16px;
    margin: 0;
    opacity: 0.9;
}

.main-carousel-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.1);
    color: #333;
    border: none;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 28px;
    z-index: 10;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-carousel-button:hover {
    background-color: rgba(255, 255, 255, 1);
    transform: translateY(-50%) scale(1.1);
}

.main-carousel-button.prev {
    left: 30px;
}

.main-carousel-button.next {
    right: 30px;
}

.main-carousel-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.main-carousel-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.main-carousel-dot.active {
    background-color: rgba(255, 255, 255, 1);
    border-color: rgba(255, 255, 255, 0.8);
    transform: scale(1.2);
}

/* 各実績項目 - 左右レイアウト */
.achievement-item {
    margin-bottom: 40px;
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

/* 左側: 画像エリア */
.achievement-image-area {
    flex-shrink: 0;
    width: 280px;
}

/* 右側: コンテンツエリア */
.achievement-content-area {
    flex: 1;
    min-width: 0;
}

.achievement-content-area h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: #1a1a1a;
    border-left: 4px solid #667eea;
    padding-left: 15px;
}

.achievement-content-area p {
    font-size: 15px;
    line-height: 1.8;
    color: #555;
}

/* 1枚画像の表示 */
.achievement-single-image {
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.achievement-single-image-container {
    position: relative;
    width: 100%;
    padding-top: 66.67%; /* ← 3:2の固定比率 */
}

.achievement-single-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* ← 画像をトリミングして枠に収める */
}

/* 各実績の簡易スライドショー */
.achievement-slideshow {
    position: relative;
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.achievement-slideshow-container {
    position: relative;
    width: 100%;
    padding-top: 66.67%; /* 3:2のアスペクト比 */
    background-color: #f5f5f5;
}

.achievement-slideshow-slides {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.achievement-slideshow-slide {
    min-width: 100%;
    height: 100%;
    position: relative;
}

.achievement-slideshow-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.achievement-slideshow-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.1);
    color: white;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 16px;
    z-index: 10;
    transition: background-color 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.achievement-slideshow-button:hover {
    background-color: rgba(0, 0, 0, 0.3);
}

.achievement-slideshow-button.prev {
    left: 8px;
}

.achievement-slideshow-button.next {
    right: 8px;
}

.achievement-slideshow-dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 10;
}

.achievement-slideshow-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: background-color 0.3s;
}

.achievement-slideshow-dot.active {
    background-color: rgba(255, 255, 255, 1);
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .main-carousel-container {
        padding-top: 75%; /* モバイルでは縦長に */
    }

    .main-carousel-button {
        width: 45px;
        height: 45px;
        font-size: 22px;
    }

    .main-carousel-button.prev {
        left: 15px;
    }

    .main-carousel-button.next {
        right: 15px;
    }

    .slide-caption {
        padding: 20px;
    }

    .slide-caption h3 {
        font-size: 18px;
    }

    .slide-caption p {
        font-size: 14px;
    }

    .main-carousel-dots {
        bottom: 15px;
        gap: 8px;
    }

    .main-carousel-dot {
        width: 10px;
        height: 10px;
    }

    /* スマホでも左右レイアウトを維持 */
    .achievement-item {
        padding: 20px;
        gap: 15px;
        flex-direction: row;
    }

    .achievement-image-area {
        width: 200px;
        flex-shrink: 0;
    }

    .achievement-content-area h3 {
        font-size: 16px;
        margin-bottom: 10px;
        padding-left: 10px;
        border-left-width: 3px;
    }

    .achievement-content-area p {
        font-size: 13px;
        line-height: 1.7;
    }

    .achievement-slideshow-button {
        width: 28px;
        height: 28px;
        font-size: 14px;
    }

    .achievement-slideshow-button.prev {
        left: 5px;
    }

    .achievement-slideshow-button.next {
        right: 5px;
    }

    .achievement-slideshow-dots {
        bottom: 8px;
        gap: 5px;
    }

    .achievement-slideshow-dot {
        width: 6px;
        height: 6px;
    }
}
