:root {
    --primary: #2B5BA1;
    --primary-light: #4C8BF0;
    --primary-dark: #1A4580;
    --text-dark: #333333;
    --text-light: #666666;
    --white: #ffffff;
    --bg-light: #f8f9fa;
    --bg-dark: #f0f2f5;
    --success: #28a745;
    --warning: #eeff07;
    --danger: #dc3545;
    --info: #17a2b8;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans JP', 'Helvetica Neue', Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-feature-settings: "palt";
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px; /* ヘッダーの高さに応じて調整 */
}


/* ローダー */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--white);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.loader.hidden {
    opacity: 0;
    pointer-events: none;
}

/* 印刷用のスタイル */
@media print {
    .nav-links,
    .scroll-top,
    .loader {
        display: none;
    }

    section {
        page-break-inside: avoid;
    }

    a {
        text-decoration: none;
        color: var(--text-dark);
    }
}

/* アクセシビリティ改善 */
:focus {
    outline: 3px solid var(--primary);
    outline-offset: 2px;
}

.focus-visible:focus {
    outline: none;
    box-shadow: 0 0 0 3px var(--primary);
}

/* アニメーション最適化 */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/************** Header Styles *****************/
header {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    padding: 10px 0;
}

.logo-image {
    height: 40px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    position: relative;
    padding: 0.5rem 0;
    font-weight: 500;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
    transform-origin: right;
}

.nav-links a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.menu-toggle {
    display: none;
    cursor: pointer;
}

/*************** Hero Section *****************/
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 60px;
    overflow: hidden;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%;  /* パララックス効果用 */
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    transform: translateY(0);
    will-change: transform;
}

.slide.active {
    opacity: 1;
}

.slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.5));
}

.hero-content {
    position: relative;
    color: var(--white);
    text-align: center;
    max-width: 1000px;
    padding: 2rem;
    z-index: 2;
}

.hero-content h1 {
    font-size: 4.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    text-shadow: 2px 4px 8px rgba(0,0,0,0.3);
    transform: translateY(50px);
    opacity: 0;
    animation: fadeInUp 1s ease forwards;
}

.hero-content p {
    font-size: 1.8rem;
    transform: translateY(30px);
    opacity: 0;
    animation: fadeInUp 1s ease 0.3s forwards;
    text-shadow: 1px 2px 4px rgba(0,0,0,0.3);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.8rem;
    }
    
    .hero-content p {
        font-size: 1.4rem;
    }
}

/* モバイル対応 */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.8rem;
    }
    
    .hero-content p {
        font-size: 1.4rem;
    }
}


/******************** Section Styles *****************/
section {
    padding: 10rem 2rem;  /* 上下の余白を増やす */
}

.section-content {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    color: var(--primary);
}

/* 装飾的な背景要素 */
.section-background {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    overflow: hidden;
    pointer-events: none;
}

.section-background::before,
.section-background::after {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: var(--primary);
    opacity: 0.03;
    z-index: 0;
}

.section-background::before {
    top: -250px;
    left: -250px;
}

.section-background::after {
    bottom: -250px;
    right: -250px;
}



/************** Message Section **************/
.message {
    /* background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%); */
    padding: 8rem 2rem;
    position: relative;
    overflow: hidden;
}

.message-content {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
    background: rgba(255, 255, 255, 0.95);
    padding: 4rem;
    border-radius: 15px;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.08);
    position: relative;
}

.message .section-title {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary);
    position: relative;
}

.message .section-title:after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--primary);
}

/* メッセージ本文のスタイリング */
.message-text {
    font-size: 1.1rem;
    line-height: 2.2;
    color: var(--text-dark);
    margin-bottom: 4rem;
    text-align: left;
    position: relative;
    padding: 2rem;
}

.message-text::before,
.message-text::after {
    content: '"';
    font-size: 4rem;
    color: var(--primary);
    opacity: 0.1;
    position: absolute;
    font-family: serif;
}

.message-text::before {
    top: -20px;
    left: -20px;
}

.message-text::after {
    bottom: -60px;
    right: -20px;
}

/* 署名部分のスタイリング */
.message-signature {
    text-align: right;
    margin-top: 3rem;
    padding: 2rem;
    position: relative;
}

.message-signature::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 200px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary));
    opacity: 0.2;
}

.message-signature p {
    margin: 0;
    line-height: 1.8;
}

.message-signature p:first-child {
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.message-signature p:last-child {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary);
}

/* アニメーション */
.message-content {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 装飾要素 */
/* .message::after */
.message::before
 {
    content: '';
    position: absolute;
    width: 500px;
    height: 200px;
    /* border-radius: 10%; */
    background: var(--warning);
    opacity: 0.503;
    z-index: 0;
}

.message::before {
    top: -150px;
    left: -150px;
}

/* .message::after {
    bottom: -150px;
    right: -150px;
} */

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .message {
        padding: 6rem 1rem;
    }

    .message-content {
        padding: 2rem 1.5rem;
    }

    .message .section-title {
        font-size: 2.5rem;
        margin-bottom: 2.5rem;
    }

    .message-text {
        font-size: 1rem;
        line-height: 2;
        padding: 1.5rem;
    }

    .message-signature {
        padding: 1.5rem;
    }

    .message-text::before {
        font-size: 3rem;
        top: -10px;
        left: -10px;
    }

    .message-text::after {
        font-size: 3rem;
        bottom: -40px;
        right: -10px;
    }

    .message-signature p:last-child {
        font-size: 1.2rem;
    }
}

/* プリント用スタイル */
@media print {
    .message {
        background: none;
        padding: 2rem;
    }

    .message-content {
        box-shadow: none;
    }

    .message::before,
    .message::after {
        display: none;
    }
}

/************** Philosophy Section **************/
.philosophy {
    background: linear-gradient(-135deg, #ffffff 0%, #f0f2f5 100%);
    position: relative;
    padding: 8rem 2rem;
    overflow: hidden;
}

.philosophy-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    padding: 3rem;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.08);
}

.philosophy .section-title {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary);
    position: relative;
}

.philosophy .section-title:after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--primary);
}

.philosophy-content p {
    font-size: 1.1rem;
    line-height: 2;
    color: var(--text-dark);
    margin: 2rem 0;
}

/************** Policy Section **************/
.policy {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
    padding: 8rem 2rem;
}

.policy .section-title {
    text-align: center;
    margin-bottom: 4rem;
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary);
    position: relative;
}

.policy .section-title:after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--primary);
}

.policy-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem 0;
}

.policy-card {
    background: var(--white);
    padding: 3rem 2rem;
    border-radius: 15px;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.policy-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--primary-light) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.policy-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

.policy-card:hover::before {
    opacity: 1;
}

.policy-card svg {
    width: 70px;
    height: 70px;
    fill: var(--primary);
    margin-bottom: 2rem;
    transition: all 0.4s ease;
}

.policy-card:hover svg {
    transform: scale(1.1) rotate(5deg);
    fill: var(--primary-light);
}

.policy-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1.5rem;
    position: relative;
}

.policy-card p {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

/* アニメーション */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.policy-card {
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

/* カードごとにアニメーション遅延を設定 */
.policy-card:nth-child(1) { animation-delay: 0.1s; }
.policy-card:nth-child(2) { animation-delay: 0.2s; }
.policy-card:nth-child(3) { animation-delay: 0.3s; }
.policy-card:nth-child(4) { animation-delay: 0.4s; }
.policy-card:nth-child(5) { animation-delay: 0.5s; }

/* ホバー時のアイコンアニメーション */
@keyframes iconFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.policy-card:hover svg {
    animation: iconFloat 1.5s ease infinite;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .philosophy,
    .policy {
        padding: 6rem 1rem;
    }

    .philosophy-content {
        padding: 2rem 1.5rem;
    }

    .philosophy .section-title,
    .policy .section-title {
        font-size: 2.5rem;
        margin-bottom: 2.5rem;
    }

    .philosophy-content p {
        font-size: 1rem;
        line-height: 1.8;
    }

    .policy-cards {
        gap: 1.5rem;
    }

    .policy-card {
        padding: 2rem 1.5rem;
    }

    .policy-card h3 {
        font-size: 1.3rem;
    }

    .policy-card p {
        font-size: 1rem;
    }
}

/* 背景グラフィカル要素 */
.section-dots {
    position: absolute;
    width: 200px;
    height: 200px;
    background-image: radial-gradient(circle, var(--primary) 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0.1;
    z-index: 1;
}

.dots-top-right {
    top: 50px;
    right: 50px;
    transform: rotate(15deg);
}

.dots-bottom-left {
    bottom: 50px;
    left: 50px;
    transform: rotate(-15deg);
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .policy-cards {
        gap: 1.5rem;
    }

    .policy-card {
        padding: 2rem 1.5rem;
    }
}

/*************** Works Section ****************/
.works-section {
    padding: 8rem 2rem;
    max-width: 1400px;  /* 表示幅を広げてよりダイナミックに */
    margin: 0 auto;
    position: relative;
}

/* セクションタイトルをよりリッチに */
.works-section .section-title {
    text-align: center;
    margin-bottom: 4rem;
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary);
    position: relative;
}

.works-section .section-title:after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--primary);
}

/* グリッドレイアウトの改善 */
.works-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 3rem;
    margin-bottom: 4rem;
}

/* カードデザインの改善 */
.work-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.1);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    transform: translateY(30px);
}

.work-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.work-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 55px rgba(0, 0, 0, 0.15);
}

/* 画像表示の改善 */
.work-card-image-wrapper {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
}

.work-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.work-card:hover img {
    transform: scale(1.1);
}

/* コンテンツ部分の改善 */
.work-card-content {
    padding: 2rem;
    background: var(--white);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.work-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1rem;
    line-height: 1.4;
}

.work-card p {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.8;
}

/* もっと見るボタンの改善 */
.button-container {
    text-align: center;
    margin-top: 2rem;
}

.load-more-button {
    display: inline-block;
    padding: 1.2rem 4rem;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
}

.load-more-button:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.load-more-button::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: rgba(255, 255, 255, 0.1);
    transform: rotate(45deg);
    transition: all 0.3s ease;
    opacity: 0;
}

.load-more-button:hover::after {
    opacity: 1;
    transform: rotate(45deg) translate(50%, 50%);
}

/* 非表示セクション */
.hidden {
    display: none;
}

/* レスポンシブ対応 */
@media (max-width: 1200px) {
    .works-grid {
        grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .works-section {
        padding: 6rem 1rem;
    }

    .works-section .section-title {
        font-size: 2.5rem;
    }

    .works-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 2rem;
    }

    .work-card-image-wrapper {
        height: 250px;
    }

    .work-card h3 {
        font-size: 1.2rem;
    }
}

/**************** Company Info Section ****************/
.company-info {
    padding: 3rem 2rem;
    background: linear-gradient(to bottom, #f8f9fa, #ffffff);
    position: relative;
}

.company-info .section-title {
    text-align: center;
    margin-bottom: 4rem;
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary);
    position: relative;
}

.company-info .section-title:after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--primary);
}

/* テーブルコンテナ */
.info-table-container {
    max-width: 1000px;
    margin: 0 auto;
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.info-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: var(--white);
}

.info-table th,
.info-table td {
    padding: 1.5rem 2rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.info-table th {
    text-align: left;
    width: 25%;
    font-weight: 700;
    color: var(--primary);
    background: rgba(43, 91, 161, 0.03);
    position: relative;
}

.info-table th::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 70%;
    background: rgba(0, 0, 0, 0.05);
}

.info-table td {
    line-height: 1.8;
    color: var(--text-dark);
}

/* 複数行の項目用 */
.info-table td ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.info-table td ul li {
    position: relative;
    padding-left: 1.2rem;
    margin-bottom: 0.5rem;
}

.info-table td ul li:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.7rem;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--primary);
}

/* 許可業種などの長いテキスト用 */
.info-table td.multi-line {
    padding: 2rem;
}

/* ホバーエフェクト */
.info-table tr {
    transition: background-color 0.3s ease;
}

.info-table tr:hover {
    background-color: rgba(43, 91, 161, 0.02);
}

/* アニメーション */
.info-table tr {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.5s ease forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 行ごとに遅延をつける */
.info-table tr:nth-child(1) { animation-delay: 0.1s; }
.info-table tr:nth-child(2) { animation-delay: 0.2s; }
.info-table tr:nth-child(3) { animation-delay: 0.3s; }
.info-table tr:nth-child(4) { animation-delay: 0.4s; }
.info-table tr:nth-child(5) { animation-delay: 0.5s; }
.info-table tr:nth-child(6) { animation-delay: 0.6s; }
.info-table tr:nth-child(7) { animation-delay: 0.7s; }
.info-table tr:nth-child(8) { animation-delay: 0.8s; }
.info-table tr:nth-child(9) { animation-delay: 0.9s; }

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .company-info {
        padding: 6rem 1rem;
    }

    .company-info .section-title {
        font-size: 2.5rem;
        margin-bottom: 3rem;
    }

    .info-table th,
    .info-table td {
        display: block;
        width: 100%;
        padding: 1rem 1.5rem;
    }

    .info-table th {
        background: rgba(43, 91, 161, 0.05);
        border-bottom: none;
        padding-bottom: 0.5rem;
    }

    .info-table th::after {
        display: none;
    }

    .info-table td {
        padding-top: 0.5rem;
    }
}

/*********** Art Project Section *************/
.art-project {
    background: linear-gradient(-135deg, #ffffff 0%, #f0f2f5 100%);
    padding: 8rem 2rem;
    position: relative;
    text-align: center;  /* セクション全体を中央寄せに */
}

.art-project .section-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 2rem;
    color: var(--primary);
    text-align: center;
}

.art-project p {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;  /* 上下の余白を調整 */
    font-size: 1.1rem;
    line-height: 1.8;
}

.art-project-content {
    max-width: 1400px;
    margin: 0 auto;
}

.art-project-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    margin-bottom: 4rem;  /* グリッドの下に余白を追加 */
}

.art-project-card {
    position: relative;
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.1);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.art-project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 55px rgba(0, 0, 0, 0.15);
}

.art-project-image-wrapper {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
}

.art-project-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.art-project-card:hover img {
    transform: scale(1.1);
}

.art-project-card-content {
    padding: 2rem;
    background: rgba(255, 255, 255, 0.95);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.art-project-card h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1rem;
}

.art-project-card p {
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.8;
    margin: 0;  /* カード内のpタグのマージンをリセット */
    text-align: left;  /* カード内のテキストは左寄せ */
}

.button-container {
    text-align: center;
    padding-bottom: 2rem;
}

.cta-button {
    display: inline-block;
    padding: 1.2rem 3rem;
    background: var(--primary);
    color: var(--white);
    text-decoration: none;
    border-radius: 5px;
    font-size: 1.1rem;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.cta-button:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* レスポンシブ対応 */
@media (max-width: 1200px) {
    .art-project-grid {
        gap: 2rem;
    }
    
    .art-project-image-wrapper {
        height: 350px;
    }
}

@media (max-width: 768px) {
    .art-project {
        padding: 6rem 1rem;
    }

    .art-project-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .art-project .section-title {
        font-size: 2.5rem;
    }

    .art-project-card h3 {
        font-size: 1.6rem;
    }
}
/******************** Footer ****************************/
footer {
    background: var(--primary);
    color: var(--white);
    padding: 3rem 2rem;
    text-align: center;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 1rem;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    }

    .nav-links.active {
        display: flex;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .message {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 2rem;
    }

    section {
        padding: 3rem 1rem;
    }

    .info-table th,
    .info-table td {
        padding: 0.75rem;
    }
}

/**************** 背景テキストのスタイル ****************/
.background-text {
    position: fixed;
    right: 0;
    top: 45%;
    transform: rotate(90deg);
    font-size: 180px;
    font-family: "BIZ UDゴシック", "ヒラギノ角ゴ Pro W8", "Hiragino Kaku Gothic Pro", sans-serif;
    font-weight: 900;
    color: #f2f2f2;  /* 透明度なしの薄いグレー */
    z-index: -1;
    pointer-events: none;
    line-height: 0.95;
    text-align: left;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .background-text {
        font-size: 140px;
        right: -10%;
    }
}

@media (min-width: 1920px) {
    .background-text {
        font-size: 240px;
    }
}

.background-svg {
    position: fixed;
    right: 0;
    top: 20;
    /* height: 100vh; */
    z-index: -1;
    pointer-events: none;
}

.background-svg svg {
    height: 100%;
    width: auto;
}

/**************** ページトップスクロールボタン ****************/
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--primary);
    color: var(--white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    background: var(--primary-light);
    transform: translateY(-5px);
}

.scroll-top svg {
    width: 24px;
    height: 24px;
    fill: var(--white);
}


/************ スクロールアニメーションの統一 **************/
[data-aos] {
    transform: translateY(50px);
    opacity: 0;
    transition: all 1s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-aos].aos-animate {
    transform: translateY(0);
    opacity: 1;
}

/* 要素が画面に入る時のアニメーション調整 */
.policy-card[data-aos],
.work-card[data-aos],
.art-project-card[data-aos] {
    transition-duration: 0.8s;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}


/* カードのデザイン強化 */
.policy-card, .work-card, .art-project-card {
    box-shadow: 
        0 15px 35px rgba(43, 91, 161, 0.1),
        0 5px 15px rgba(0, 0, 0, 0.07);
    backdrop-filter: blur(5px);
}

/* ホバー時の効果も強化 */
.policy-card:hover, .work-card:hover, .art-project-card:hover {
    transform: translateY(-10px);
    box-shadow: 
        0 25px 45px rgba(43, 91, 161, 0.15),
        0 10px 25px rgba(0, 0, 0, 0.1);
}