/* リセットCSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 基本設定 */
:root {
    --primary-color: #FF6B35;
    --primary-dark: #E55A2B;
    --primary-light: #FF8C5A;
    --secondary-color: #2C3E50;
    --accent-color: #F39C12;
    --text-dark: #2C3E50;
    --text-light: #7F8C8D;
    --background-light: #F8F9FA;
    --background-white: #FFFFFF;
    --border-color: #E9ECEF;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 5px 20px rgba(0, 0, 0, 0.15);
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--background-white);
}

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

/* ヘッダー */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo a {
    display: block;
    text-decoration: none;
    margin-left: 0;
}

.logo-img {
    height: 55px;
    width: auto;
    transition: all 0.3s ease;
}

.logo-img:hover {
    transform: scale(1.05);
    opacity: 0.9;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    margin: 0;
    padding: 0;
}

.nav-contact-btn {
    background: linear-gradient(135deg, #ff6b35 0%, #ff8c42 100%);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
    white-space: nowrap;
}

.nav-contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
    background: linear-gradient(135deg, #ff8c42 0%, #ff6b35 100%);
}

.nav-contact-btn i {
    font-size: 1rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    padding: 0.8rem 0.5rem;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-width: 80px;
}

.nav-link:hover {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

.nav-en {
    font-size: 0.85rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 0.2rem;
}

.nav-ja {
    font-size: 0.75rem;
    font-weight: 400;
    line-height: 1;
    opacity: 0.8;
}

/* ハンバーガーメニュー */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 3px 0;
    transition: 0.3s;
}

/* ヒーローセクション */
.hero {
    position: relative;
    color: white;
    padding: 120px 0 80px;
    height: 80vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    margin: 0;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
}

.hero-carousel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100%;
    z-index: 1;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.carousel-slide.active {
    opacity: 1;
}

.slide-bg {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: brightness(0.7);
}

/* 円形リングオーバーレイ */
.hero-ring-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
    pointer-events: none;
}

.ring-image {
    width: 40vw;
    height: 40vw;
    max-width: 600px;
    max-height: 600px;
    min-width: 300px;
    min-height: 400px;
    object-fit: contain;
    opacity: 0.9;
    animation: ringRotate 10s linear infinite;
}

@keyframes ringRotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* オレンジバナーオーバーレイ */
.hero-banners-overlay {
    position: absolute;
    bottom: 5%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 4;
    pointer-events: none;
}

.banners-image {
    width: 50vw;
    height: auto;
    max-width: 900px;
    min-width: 300px;
    opacity: 0.95;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.8) 0%, rgba(229, 90, 43, 0.8) 100%);
    z-index: 2;
}

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

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.ceo-image {
    position: relative;
}

.ceo-photo {
    width: 400px;
    height: 600px;
    object-fit: cover;
    object-position: center;
    border-radius: 20px;
    box-shadow: var(--shadow-hover);
}

.hero-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 450px;
    height: 650px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    z-index: -1;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-banner {
    background: var(--primary-color);
    padding: 3rem;
    border-radius: 15px;
    text-align: center;
    position: relative;
    box-shadow: var(--shadow-hover);
}

.hero-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
}

.hero-subtitle {
    font-size: 1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.8;
}

.play-button {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: white;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 0 auto;
}

.play-button:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow);
}

.play-button i {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-left: 3px;
}

/* カルーセルインジケーター */
.carousel-indicators {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1rem;
    z-index: 4;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 107, 53, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: var(--primary-color);
    transform: scale(1.2);
}

.indicator:hover {
    background: var(--primary-light);
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
}

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

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

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

.btn-outline:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

/* セクション共通 */
section {
    padding: 80px 0;
}


.section-title {
    font-family: 'Noto Serif JP', serif;
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    text-align: left;
}

.section-subtitle {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    text-align: left;
}

/* About Hero Text */
.about-hero-text {
    text-align: center;
    margin-bottom: 3rem;
}

.about-hero-text h3 {
    font-family: 'Noto Serif JP', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.3;
    margin: 0;
}

@media (max-width: 768px) {
    .about-hero-text h3 {
        font-size: 1.6rem;
    }
}


.section-header {
    text-align: left;
    margin-bottom: 3rem;
    position: relative;
}

.section-header::after {
    content: '';
    position: absolute;
    bottom: -1rem;
    left: 0;
    width: 25%;
    height: 3px;
    background-color: var(--primary-color);
}

.section-header::before {
    content: '';
    position: absolute;
    bottom: -1rem;
    left: 25%;
    width: 75%;
    height: 3px;
    background-color: #E0E0E0;
}

/* 会社概要セクション */
.about {
    background-color: var(--background-light);
}

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

.about-card {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.about-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

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

.card-icon i {
    font-size: 1.8rem;
    color: white;
}

.about-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.about-card p {
    color: var(--text-light);
    line-height: 1.7;
}

/* サービスセクション */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.service-card {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border-top: 4px solid var(--primary-color);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.service-icon i {
    font-size: 1.6rem;
    color: white;
}

.service-card h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.service-card p {
    color: var(--text-light);
    line-height: 1.7;
}

/* 採用情報セクション */
.careers {
    background-color: var(--background-light);
}

.careers-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.careers-text h3 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.careers-text p {
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.careers-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.feature {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.feature i {
    color: var(--primary-color);
    font-size: 1rem;
}

.feature span {
    font-weight: 500;
    color: var(--text-dark);
}

.careers-cta {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* お問い合わせセクション */
.contact-intro {
    max-width: 600px;
    margin: 0 auto 3rem auto;
    text-align: center;
}

.contact-intro p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.required-note {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 500;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-note {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
    font-style: italic;
}

.checkbox-group {
    margin: 2rem 0;
}

.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 1rem;
    color: var(--text-light);
}

.checkbox-label input[type="checkbox"] {
    margin-right: 0.5rem;
    transform: scale(1.2);
}

select {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    background-color: white;
    cursor: pointer;
    transition: border-color 0.3s ease;
}

select:focus {
    outline: none;
    border-color: var(--primary-color);
}

select:hover {
    border-color: var(--primary-light);
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-dark);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

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

/* フッター */
.footer {
    background-color: var(--primary-color);
    color: white;
    padding: 4rem 0 2rem;
    position: relative;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-nav {
    margin-bottom: 3rem;
}

.footer-nav-row {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    margin-bottom: 1.5rem;
}

.footer-nav-row-second {
    justify-content: center;
    gap: 4rem;
}

.footer-nav-row a {
    color: white;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: opacity 0.3s ease;
}

.footer-nav-row a:hover {
    opacity: 0.8;
}

.footer-company-social {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
}

.footer-company {
    text-align: left;
}

.footer-company h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    color: white;
}

.footer-company p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
}

.footer-social {
    display: flex;
    gap: 1.5rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background-color: white;
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-link:hover {
    background-color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.3);
}

.social-link i {
    font-size: 1.3rem;
    color: var(--primary-color);
}

.social-link:hover i {
    color: var(--primary-dark);
}

.footer-copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-copyright p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

.scroll-top-btn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 55px;
    height: 55px;
    background-color: var(--primary-color);
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
}

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

.scroll-top-btn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.scroll-top-btn i {
    font-size: 1.3rem;
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .logo-img {
        height: 40px;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background-color: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 5px 30px rgba(0, 0, 0, 0.1);
        padding: 2rem 0;
        gap: 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu .nav-item {
        margin-bottom: 1rem;
    }
    
    .nav-menu .nav-link {
        padding: 1rem 0;
        border-bottom: none;
        flex-direction: row;
        gap: 0.5rem;
        justify-content: center;
        min-width: auto;
    }
    
    .nav-menu .nav-en {
        font-size: 1rem;
        margin-bottom: 0;
    }
    
    .nav-menu .nav-ja {
        font-size: 0.9rem;
    }
    
    .nav-contact-btn {
        position: fixed;
        bottom: 20px;
        right: 20px;
        z-index: 999;
        padding: 1rem 1.5rem;
        font-size: 1rem;
        box-shadow: 0 6px 25px rgba(255, 107, 53, 0.4);
    }
    
    .nav-contact-btn:hover {
        transform: scale(1.05);
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .ceo-photo {
        width: 300px;
        height: 450px;
        object-fit: cover;
        object-position: center;
    }
    
    .hero-circle {
        width: 350px;
        height: 500px;
    }
    
    .hero-banner {
        padding: 2rem;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .message-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    
    .services-diagram {
        display: none;
    }
    
    .services-cards {
        grid-template-columns: 1fr;
    }
    
    .news-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .news-date,
    .news-category {
        min-width: auto;
    }
    
    .info-row {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    
    .info-value {
        font-size: 0.9rem;
    }
    
    .dna-helix {
        flex-direction: column;
        height: auto;
    }
    
    .helix {
        position: relative;
        width: 100%;
        height: auto;
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
        margin-bottom: 2rem;
    }
    
    .orange-helix,
    .yellow-helix,
    .blue-helix {
        position: relative;
        left: auto;
        right: auto;
        transform: none;
        z-index: auto;
    }
    
    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-form {
        padding: 2rem;
    }
    
    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .nav-container {
        padding: 0 1rem;
    }
    
    .logo-img {
        height: 45px;
    }
    
    .hero {
        padding: 100px 0 60px;
        height: 80vh;
    }
    
    .ring-image {
        width: 50vw;
        height: 50vw;
        max-width: 350px;
        max-height: 350px;
        min-width: 200px;
        min-height: 300px;
    }
    
    .banners-image {
        width: 60vw;
        height: auto;
        max-width: 550px;
        min-width: 250px;
    }
    
    .ceo-photo {
        width: 250px;
        height: 375px;
        object-fit: cover;
        object-position: center;
    }
    
    .hero-circle {
        width: 300px;
        height: 425px;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .section-header::after,
    .section-header::before {
        width: 100%;
        left: 0;
    }
    
    section {
        padding: 60px 0;
    }
    
    .footer-container {
        padding: 0 1rem;
    }
    
    .footer-nav-row {
        flex-wrap: wrap;
        gap: 1.5rem;
    }
    
    .footer-nav-row a {
        font-size: 0.9rem;
    }
    
    .footer-company-social {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-company {
        text-align: center;
    }
    
    .scroll-top-btn {
        bottom: 1rem;
        right: 1rem;
        width: 50px;
        height: 50px;
    }
    
    .about-card,
    .service-card,
    .contact-form {
        padding: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

/* Message詳細ページ */
.page-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 100px 0 60px;
    text-align: center;
}

.message-detail {
    padding: 80px 0;
    background: var(--background-white);
}

.message-main-title {
    text-align: center;
    margin-bottom: 4rem;
}

.message-main-title h2 {
    font-family: 'Noto Serif JP', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.3;
}

/* Message Detail Page Styles */
.message-detail {
    padding: 4rem 0;
    background: var(--background-white);
}

.message-detail .page-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 100px 0 60px;
    text-align: center;
    margin-top: 80px;
}

.message-detail .page-title {
    font-family: 'Noto Serif JP', serif;
    font-size: 3rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
}

.message-detail .page-subtitle {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 400;
}

.message-main-title {
    text-align: center;
    margin-bottom: 3rem;
}

.message-main-title h2 {
    font-size: 2.5rem;
    color: var(--text-dark);
    font-weight: 600;
    margin-bottom: 1rem;
}

.message-text {
    max-width: 1000px;
    margin: 0 auto 4rem auto;
}

.message-text p {
    font-size: 1rem;
    line-height: 1.9;
    color: var(--text-dark);
    margin-bottom: 2rem;
}

.message-section-title {
    font-family: 'Noto Serif JP', serif;
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--primary-color);
    margin: 3rem 0 2rem 0;
    border-left: 4px solid var(--primary-color);
    padding-left: 1rem;
}

.message-signature {
    text-align: center;
    margin-bottom: 3rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.signature-image {
    margin-bottom: 1rem;
    position: relative;
    text-align: center;
}

.signature-image img {
    width: 3200px;
    height: 1600px;
    border-radius: 12px;
    object-fit: cover;
    max-width: 100%;
    display: block;
    margin: 0 auto;
}

.signature-image::before {
    display: none;
}

.signature-info {
    text-align: center;
}

.signature-info-left {
    text-align: left !important;
    margin-top: 1.5rem;
}

.company-name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.signature-title {
    font-size: 1rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.signature-name {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.3rem;
}

.signature-name-en {
    font-size: 1rem;
    color: var(--text-light);
    font-style: italic;
}

.message-cta {
    text-align: center;
}

/* Responsive adjustments for message detail page */
@media (max-width: 768px) {
    .message-text {
        max-width: 100%;
        padding: 0 1rem;
    }
    
    .message-text p {
        font-size: 1rem;
        line-height: 1.8;
        margin-bottom: 1.5rem;
    }
    
    .message-main-title h2 {
        font-size: 1.8rem;
    }
    
    .signature-image img {
        width: 2600px;
        height: 1300px;
    }
    
    .signature-image::before {
        display: none;
    }
    
    .message-section-title {
        font-size: 1.3rem;
        margin: 2rem 0 1.5rem 0;
    }
    
    .message-detail .page-header {
        padding: 80px 0 40px;
        margin-top: 60px;
    }
    
    .message-detail .page-title {
        font-size: 2.5rem;
    }
}

.message-intro {
    margin-bottom: 3rem;
    padding: 2rem;
    background: #fff5f0;
    border-left: 4px solid var(--primary-color);
    border-radius: 0 8px 8px 0;
}

.message-intro .lead {
    font-family: 'Noto Serif JP', serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-style: italic;
}

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

.message-body {
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 4rem;
}

.message-body p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    text-align: justify;
}

.message-highlight {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 2rem;
    border-radius: 12px;
    margin: 3rem 0;
    text-align: center;
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.3);
}

.message-highlight h3 {
    font-family: 'Noto Serif JP', serif;
    font-size: 1.3rem;
    font-weight: 600;
    margin: 0;
}

.message-signature {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-top: 4rem;
    padding: 2rem;
}

.signature-image {
    margin-bottom: 2rem;
}

.signature-image img {
    width: 1200px;
    height: 600px;
    border-radius: 15px;
    object-fit: cover;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.signature-info {
    text-align: center;
}

.company-name {
    font-family: 'Noto Serif JP', serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.signature-title {
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.signature-name {
    font-family: 'Noto Serif JP', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.signature-name-en {
    font-size: 1rem;
    color: var(--text-light);
    font-style: italic;
    font-weight: 400;
}

.message-cta {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 80px 0;
    text-align: center;
}

.cta-content h3 {
    font-family: 'Noto Serif JP', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    line-height: 1.4;
}

.cta-content p {
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    
    .message-main-title h2 {
        font-size: 1.6rem;
    }
    
    .section-title {
        font-size: 1.3rem;
    }
    
    .message-intro {
        padding: 1.5rem;
    }
    
    .message-intro .lead {
        font-size: 1rem;
    }
    
    .message-body p {
        font-size: 1rem;
        text-align: left;
    }
    
    .message-highlight {
        padding: 1.5rem;
    }
    
    .message-highlight h3 {
        font-size: 1.3rem;
    }
    
    .signature-image img {
        width: 800px;
        height: 400px;
    }
    
    .signature-name {
        font-size: 1.3rem;
    }
    
    .company-name {
        font-size: 1rem;
    }
    
    .cta-content h3 {
        font-size: 1.3rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

/* アニメーション */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.about-card,
.service-card,
.contact-item {
    animation: fadeInUp 0.6s ease-out;
}

/* スクロール時のヘッダー効果 */
.header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
}

/* About Us セクション */
.about-content {
    display: block;
}

.about-text {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.about-text p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.about-text ul {
    text-align: center;
    margin: 2rem 0;
    padding: 0;
    list-style: none;
}

.about-text ul li {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 1rem;
    color: var(--text-light);
    font-weight: normal;
}

@media (max-width: 768px) {
    .about-text ul li {
        font-size: 1rem;
    }
}

.about-logo {
    text-align: center;
    margin: 3rem 0 2rem 0;
}

.about-logo-img {
    height: 80px;
    width: auto;
}

@media (max-width: 768px) {
    .about-logo-img {
        height: 70px;
    }
}



.about-icon-item h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.about-icon-item p {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Services セクション */
.services-list {
    max-width: 900px;
    margin: 0 auto;
}

.service-item {
    display: flex;
    flex-direction: column;
    margin-bottom: 4.5rem;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    background: #fefefe;
    transition: all 0.3s ease;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.service-image {
    width: 100%;
    height: 0;
    padding-bottom: 28.125%; /* 1536:432 ratio */
    background: var(--background-light);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--border-color);
}

.service-image a {
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.service-image a:hover {
    opacity: 0.9;
}

.service-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 0.9rem;
    font-weight: 500;
}

.service-content-wrapper {
    display: flex;
    padding: 2rem;
    gap: 2rem;
    border-top: 1px solid var(--border-color);
}

.service-img:before {
    content: "画像準備中";
}

.service-item:hover {
    background: #fdfdfd;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    transform: translateY(-3px);
    border-color: var(--primary-light);
}

.service-number {
    font-family: 'Noto Serif JP', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-right: 2rem;
    min-width: 80px;
    text-align: center;
}

.service-content {
    flex: 1;
}

.service-target {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.service-title {
    font-family: 'Noto Serif JP', serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.service-description {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.service-cta {
    display: inline-block;
    padding: 1rem 2rem;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.service-cta:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

.service-cta-container {
    margin-top: 1.5rem;
}

@media (max-width: 768px) {
    .service-item {
        margin-bottom: 3.5rem;
    }
    
    .service-image {
        padding-bottom: 28.125%; /* 1536:432 ratio maintained on mobile */
    }
    
    .service-content-wrapper {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
        gap: 1rem;
    }
    
    .service-number {
        margin-right: 0;
        margin-bottom: 1rem;
        font-size: 1.8rem;
        min-width: auto;
    }
    
    .service-title {
        font-size: 1.3rem;
    }
}


/* News セクション */
.news {
    background-color: var(--background-light);
}

.news-list {
    margin-bottom: 3rem;
}

.news-item {
    display: flex;
    align-items: center;
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--border-color);
    gap: 2rem;
}

.news-item:last-child {
    border-bottom: none;
}

.news-date {
    font-size: 0.9rem;
    color: var(--text-light);
    min-width: 100px;
}

.news-category {
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    min-width: 80px;
    text-align: center;
}

.news-category.announcement {
    background: var(--primary-color);
    color: white;
}

.news-category.event {
    background: var(--accent-color);
    color: white;
}

.news-title {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-dark);
    flex: 1;
}

.news-link {
    margin-top: 0.5rem;
}

.news-link a {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    transition: color 0.3s ease;
}

.news-link a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.news-more {
    text-align: center;
}

/* Message セクション */
.message-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    margin-bottom: 1rem;
}

.message-intro {
    margin-bottom: 2rem;
}

.message-intro h3 {
    font-family: 'Noto Serif JP', serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.message-lead {
    font-family: 'Noto Serif JP', serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.message-text p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.message-highlight {
    background: #fff5f0;
    border-left: 4px solid var(--primary-color);
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 0 8px 8px 0;
}

.message-highlight p {
    margin-bottom: 0.5rem;
    font-size: 1rem;
    line-height: 1.6;
}

.message-highlight p:last-child {
    margin-bottom: 0;
}

.message-image {
    display: flex;
    flex-direction: column;
}

.message-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: var(--shadow);
    margin-bottom: 1rem;
}

.ceo-info {
    text-align: center;
    padding: 1rem;
    background: transparent;
    border-radius: 12px;
    border: none;
}

.message-image img[src*="team/"] {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dark);
    font-size: 1rem;
    font-weight: 500;
}

.message-image img[src*="team/"]:before {
    content: "代表者画像準備中";
}

.ceo-info {
    text-align: center;
}

.ceo-title {
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.ceo-name {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.ceo-name-en {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-light);
    margin-bottom: 1rem;
    font-style: italic;
}

/* Company Info セクション */
.company-info {
    background-color: var(--background-white);
    padding: 80px 0;
}

.company-table {
    max-width: 800px;
    margin: 0 auto;
}

.info-row {
    display: grid;
    grid-template-columns: 200px 1fr;
    padding: 1.2rem 0;
    gap: 2rem;
    align-items: start;
}

.info-label {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 1rem;
}

.info-value {
    color: var(--text-dark);
    line-height: 1.6;
    font-size: 1rem;
}

/* Members セクション */
.members-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 400px;
}

.dna-helix {
    position: relative;
    width: 100%;
    max-width: 600px;
    height: 400px;
}

.helix {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
}

.orange-helix {
    left: 20%;
    z-index: 3;
}

.yellow-helix {
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.blue-helix {
    right: 20%;
    z-index: 1;
}

.member-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: white;
    padding: 1rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    min-width: 200px;
}

.member-item img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.member-name {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.2rem;
}

.member-role {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Partners セクション */
.partners {
    background-color: var(--background-light);
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    align-items: center;
}

.partner-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.partner-logo:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.partner-logo img {
    max-width: 100%;
    height: auto;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.partner-logo:hover img {
    filter: grayscale(0%);
}

/* 特定商取引法ページ専用スタイル - シンプル版 */
.legal-section {
    font-family: 'Noto Serif JP', serif;
}
.page-header {
    background: white;
    color: var(--text-dark);
    padding: 80px 0 40px;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
    font-family: 'Noto Serif JP', serif;
}

.legal-section {
    padding: 60px 0;
    background: white;
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
}

.legal-table {
    background: white;
    border: none;
    border-radius: 0;
    box-shadow: none;
    overflow: visible;
}

.legal-row {
    display: block;
    border-bottom: 1px solid #f0f0f0;
    padding: 20px 0;
    transition: none;
}

.legal-row:last-child {
    border-bottom: none;
}

.legal-row:hover {
    background-color: transparent;
}

.legal-label {
    background: transparent;
    color: var(--text-dark);
    padding: 0;
    display: block;
    font-weight: 500;
    font-size: 1rem;
    margin-bottom: 8px;
    letter-spacing: 0.05em;
}

.legal-label i {
    display: none;
}

.legal-value {
    padding: 0;
    color: var(--text-dark);
    line-height: 1.7;
    display: block;
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: 0.02em;
}

.legal-value small {
    color: var(--text-light);
    font-size: 0.9rem;
    display: block;
    margin-top: 4px;
}

.legal-value strong {
    color: var(--text-dark);
    font-weight: 600;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .page-header {
        padding: 60px 0 30px;
    }
    
    .legal-section {
        padding: 40px 0;
    }
    
    .legal-content {
        padding: 0 20px;
    }
}

@media (max-width: 480px) {
    .page-header {
        padding: 40px 0 20px;
    }
    
    .legal-section {
        padding: 30px 0;
    }
    
    .legal-content {
        padding: 0 15px;
    }
    
    .legal-row {
        padding: 15px 0;
    }
}

/* プライバシーポリシーページ専用スタイル */
.privacy-section {
    font-family: 'Noto Serif JP', serif;
}

.privacy-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.policy-title {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--primary-color);
}

.policy-title h2 {
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--text-dark);
    letter-spacing: 0.1em;
    margin: 0;
}

.service-subtitle {
    text-align: center;
    margin-bottom: 2rem;
}

.service-subtitle h3 {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-dark);
    letter-spacing: 0.05em;
    margin: 0;
}

.privacy-intro {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 8px;
    margin-bottom: 3rem;
    border-left: 4px solid var(--primary-color);
}

.privacy-intro p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-dark);
    margin: 0;
}

.privacy-section-item {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #f0f0f0;
}

.privacy-section-item:nth-last-child(2) {
    border-bottom: none;
}

.privacy-section-item h2 {
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-color);
    letter-spacing: 0.05em;
}

.privacy-section-item p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-dark);
    margin-bottom: 1rem;
    letter-spacing: 0.02em;
}

.privacy-section-item ul {
    margin: 1rem 0;
    padding-left: 0;
    list-style: none;
}

.privacy-section-item li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-dark);
    letter-spacing: 0.02em;
}

.privacy-section-item li:before {
    content: "・";
    color: var(--primary-color);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.sub-list {
    margin-top: 1rem;
    padding-left: 1.5rem;
}

.sub-list li:before {
    content: "※";
}

.contact-info {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 1rem;
}

.contact-info p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.6;
}

.contact-info strong {
    color: var(--primary-color);
    font-weight: 500;
}

.privacy-footer {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #f0f0f0;
    text-align: center;
}

.last-updated {
    font-size: 0.9rem;
    color: var(--text-light);
    margin: 0;
    letter-spacing: 0.02em;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .privacy-content {
        padding: 0 15px;
    }
    
    .policy-title h2 {
        font-size: 1.3rem;
    }
    
    .service-subtitle h3 {
        font-size: 1rem;
    }
    
    .privacy-intro {
        padding: 1.5rem;
    }
    
    .privacy-section-item {
        margin-bottom: 2rem;
        padding-bottom: 1.5rem;
    }
    
    .privacy-section-item h2 {
        font-size: 1rem;
    }
    
    .contact-info {
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .privacy-intro {
        padding: 1rem;
        margin-bottom: 2rem;
    }
    
    .privacy-section-item {
        margin-bottom: 1.5rem;
        padding-bottom: 1rem;
    }
    
    .privacy-section-item h2 {
        font-size: 1rem;
    }
    
    .privacy-section-item p,
    .privacy-section-item li {
        font-size: 0.95rem;
    }
}

/* セクションCTA */
.section-cta {
    margin-top: 1rem;
    text-align: center;
}

.section-cta .btn {
    padding: 1rem 2rem;
    font-size: 1rem;
}



/* Service Features */
.service-features {
    list-style: none;
    padding: 0;
    margin-top: 1rem;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-light);
}

.service-features li i {
    color: var(--primary-color);
    font-size: 0.8rem;
}

/* News Excerpt */
.news-excerpt {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-top: 0.5rem;
    line-height: 1.5;
}

/* CEO Highlight */
.ceo-highlight {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #e0e0e0;
}

.highlight-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.highlight-icon {
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.highlight-text h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.highlight-text p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.5;
    margin: 0;
}

/* 初回訪問時ポップアップバナー */
.popup-banner {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.popup-banner.show {
    opacity: 1;
    visibility: visible;
}

.popup-banner-content {
    position: relative;
    max-width: 95%;
    max-height: 95%;
    background: white;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

.popup-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1rem;
    z-index: 10001;
    transition: all 0.3s ease;
}

.popup-close:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: scale(1.1);
}

.popup-banner-link {
    display: block;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.popup-banner-link:hover {
    transform: scale(1.02);
}

.popup-banner-img {
    width: 100%;
    height: auto;
    max-width: 800px;
    display: block;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .popup-banner-content {
        max-width: 98%;
        margin: 10px;
    }
    
    .popup-banner-img {
        max-width: 100%;
    }
    
    .popup-close {
        width: 35px;
        height: 35px;
        font-size: 1rem;
        top: 8px;
        right: 8px;
    }
}

/* Xロゴ画像用スタイル */
.social-icon-img {
    width: 24px;
    height: 24px;
    object-fit: contain;
    transition: all 0.3s ease;
    filter: brightness(0) saturate(100%) invert(50%) sepia(94%) saturate(2476%) hue-rotate(346deg) brightness(101%) contrast(101%);
}

/* メンバー写真用スタイル */
.member-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
    margin: 0 auto 1.5rem;
    display: block;
    transition: transform 0.3s ease;
}

.member-photo:hover {
    transform: scale(1.05);
}

.footer-social .social-link:hover .social-icon-img {
    transform: scale(1.1);
    filter: brightness(0) saturate(100%) invert(29%) sepia(90%) saturate(2200%) hue-rotate(346deg) brightness(95%) contrast(95%);
}

/* Valuesカード用スタイル */
.values-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    margin-top: 2rem;
}

.value-card {
    background: white;
    border-radius: 8px;
    padding: 2.5rem 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    position: relative;
}

.value-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    border-color: var(--primary-color);
}

.value-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem auto;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    color: white;
    font-size: 1.3rem;
    transition: all 0.3s ease;
}

.value-card:hover .value-icon {
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(255, 107, 53, 0.3);
}

.value-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    font-family: 'Noto Serif JP', serif;
    line-height: 1.4;
    text-align: center;
}

.value-description {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.7;
    margin: 0;
    font-family: 'Noto Sans JP', sans-serif;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .values-cards {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .value-card {
        padding: 2rem 1.5rem;
    }
    
    .value-icon {
        width: 50px;
        height: 50px;
        font-size: 1rem;
        margin-bottom: 1rem;
    }
    
    .value-title {
        font-size: 1.3rem;
    }
    
    .value-description {
        font-size: 0.95rem;
    }
}

/* IKIGAImandala画像用スタイル */
.about-mandara-image {
    text-align: center;
    margin: 2rem 0 3rem 0;
}

.mandara-img {
    max-width: 400px;
    width: 100%;
    height: auto;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.mandara-img:hover {
    transform: scale(1.02);
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .about-mandara-image {
        margin: 1.5rem 0 2rem 0;
    }
    
    .mandara-img {
        max-width: 300px;
        border-radius: 8px;
    }
}

/* ========================================
   リファクタリング：汎用テキストスタイル
   ======================================== */

/* メイン本文テキスト */
.text-main {
    font-size: 1.1rem;
    line-height: 1.9;
}

/* 補足テキスト */
.text-secondary {
    font-size: 1rem;
    line-height: 1.8;
}

/* セクション内大見出し（オレンジ） */
.section-heading {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--primary-color);
    margin: 2rem 0 1.5rem 0;
    font-family: 'Noto Sans JP', sans-serif;
}

/* セクション内小見出し（黒） */
.subsection-heading {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 1.5rem 0 1rem 0;
    font-family: 'Noto Sans JP', sans-serif;
}

/* オレンジボタン（汎用） */
.btn-orange {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-orange:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

/* サービスバナー画像 */
.service-image-banner {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* リストスタイル */
.styled-list {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.styled-list li {
    margin-bottom: 0.5rem;
}

/* 中央寄せコンテナ */
.centered-content {
    text-align: center;
    margin-top: 2rem;
}

/* 代表メッセージ用テキストブロック */
.message-text-block {
    max-width: 900px;
    margin: 0 auto;
    text-align: left;
}

/* メッセージセクションタイトル */
.message-section-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-color);
    margin: 2rem 0 1rem 0;
    font-family: 'Noto Sans JP', sans-serif;
}
