/* 統一レスポンシブCSS - サイト全体共通 */

/* 基本レイアウト */
.container {
    width: 100%;
    max-width: 100%;
    padding: 0 20px;
    margin: 0 auto;
}

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

.section-title {
    font-size: 2.5rem;
    color: white;
    text-align: center;
    margin-bottom: 40px;
    font-weight: 700;
    font-family: 'Noto Sans JP', sans-serif;
}

/* ボタンスタイル */
.button {
    display: inline-block;
    background: #DD6500;
    color: white;
    padding: 15px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 1.1rem;
}

.button:hover {
    background: #ff7700;
    transform: translateY(-3px);
}

/* カードレイアウト */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.card {
    background: rgba(20, 20, 30, 0.8);
    border: 1px solid rgba(79, 172, 254, 0.3);
    padding: 25px;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(79, 172, 254, 0.2);
}

/* レスポンシブ対応 */
@media (max-width: 1024px) {
    .container {
        padding: 0 30px;
    }
    
    .card-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 25px;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
    
    section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }
    
    .card-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .card {
        padding: 20px;
    }
    
    .button {
        padding: 12px 25px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    section {
        padding: 40px 0;
    }
    
    .section-title {
        font-size: 1.5rem;
        margin-bottom: 25px;
    }
    
    .card {
        padding: 15px;
    }
    
    .button {
        padding: 10px 20px;
        font-size: 0.9rem;
        width: 100%;
        text-align: center;
        box-sizing: border-box;
    }
}

/* 大画面対応 */
@media (min-width: 1440px) {
    .container {
        padding: 0 40px;
    }
    
    .card-grid {
        gap: 40px;
    }
}

@media (min-width: 1600px) {
    .container {
        padding: 0 60px;
    }
}

@media (min-width: 1920px) {
    .container {
        padding: 0 80px;
    }
    
    .card {
        padding: 30px;
    }
}

/* ユーティリティクラス */
.text-center {
    text-align: center;
}

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

.text-right {
    text-align: right;
}

.mb-20 {
    margin-bottom: 20px;
}

.mb-30 {
    margin-bottom: 30px;
}

.mb-40 {
    margin-bottom: 40px;
}

.mt-20 {
    margin-top: 20px;
}

.mt-30 {
    margin-top: 30px;
}

.mt-40 {
    margin-top: 40px;
}

/* フレックスボックスユーティリティ */
.flex {
    display: flex;
}

.flex-column {
    flex-direction: column;
}

.flex-wrap {
    flex-wrap: wrap;
}

.justify-center {
    justify-content: center;
}

.justify-between {
    justify-content: space-between;
}

.align-center {
    align-items: center;
}

.gap-10 {
    gap: 10px;
}

.gap-20 {
    gap: 20px;
}

.gap-30 {
    gap: 30px;
}

/* --- ここから index.html のスタイルを追加 --- */

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

/* 基本スタイル */
        body {
            font-family: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
            line-height: 1.6;
            color: white;
            background-color: #0a0a0f;
            margin: 0;
            padding: 0;
            min-height: 100vh;
            overflow-x: hidden;
            font-size: 16px;
        }
        
        /* アニメーション調整ボタンを非表示にする */
        #animation-reducer {
            display: none !important;
        }

/* ヒーローセクション */
.hero-section {
    padding: 120px 0 80px;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
    background: transparent;
}

.hero-section .container {
    max-width: 1200px;
    position: relative;
    z-index: 2;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.hero-character {
    margin-bottom: 60px;
    position: relative;
    z-index: 2;
}

.hero-character img {
    width: 100%;
    max-width: 500px;
    height: auto;
    position: relative;
    z-index: 2;
    filter: brightness(1.1) drop-shadow(0 0 15px rgba(255, 255, 255, 0.3));
}

.hero-logo {
    margin-bottom: 60px;
}

.hero-logo img {
    width: 100%;
    max-width: 400px;
    height: auto;
    filter: brightness(1.1) drop-shadow(0 0 15px rgba(255, 255, 255, 0.3));
}

.hero-text {
    max-width: 800px;
}

.hero-text h2 {
    color: white;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
    font-family: 'Noto Sans JP', sans-serif;
}

.hero-text .tagline {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.4rem;
    line-height: 1.8;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.1);
    font-weight: 400;
}

/* クリエイターメッセージ */
.creator-message {
    text-align: center;
    padding: 60px 0;
}

.creator-message h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    font-weight: 700;
    font-family: 'Noto Sans JP', sans-serif;
}

.creator-message p {
    margin-bottom: 20px;
    font-size: 1.3rem;
    font-weight: 400;
    line-height: 1.8;
}

/* アバウトセクション */
.about {
    text-align: center;
    padding: 60px 0;
}

.invitation-content {
    margin-top: 40px;
}

.invitation-content h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    font-weight: 600;
    font-family: 'Noto Sans JP', sans-serif;
}

.invitation-content p {
    margin-bottom: 20px;
    font-size: 1.3rem;
    font-weight: 400;
    line-height: 1.8;
}

.cta-button {
    margin-top: 30px;
}

/* 3つの価値観 - カードの幅を広げ、テキストが切れないようにする */
.values {
    text-align: center;
    padding: 60px 0;
    width: 100%;
}

.value-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px; /* 隙間を少し狭める */
    margin-top: 40px;
    width: 100%;
}

.value-card {
    background: rgba(20, 20, 30, 0.8);
    border: 1px solid rgba(79, 172, 254, 0.3);
    padding: 25px; /* パディングを少し減らす */
    border-radius: 10px;
    /* テキストが切れないように調整 */
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.value-card .icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #4facfe;
}

.value-card h3 {
    font-size: 1.7rem;
    margin-bottom: 15px;
    font-weight: 600;
    font-family: 'Noto Sans JP', sans-serif;
}

.value-card p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem; /* フォントサイズを少し小さく */
    line-height: 1.5; /* 行間を少し詰める */
    font-weight: 400;
}

/* マニフェスト */
.manifesto {
    padding: 60px 0;
}

.declaration {
    margin-top: 40px;
    max-width: 900px; /* 幅を広げる */
    margin-left: auto;
    margin-right: auto;
}

.declaration h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    font-weight: 600;
    font-family: 'Noto Sans JP', sans-serif;
}

.declaration p {
    margin-bottom: 20px;
    font-weight: 400;
    line-height: 1.8;
    font-size: 1.2rem;
}

.declaration ul {
    list-style: none;
    padding-left: 0;
    text-align: left;
    margin-bottom: 20px;
}

.declaration ul li {
    margin-bottom: 15px;
    padding-left: 25px;
    position: relative;
    font-weight: 400;
    line-height: 1.6;
    font-size: 1.1rem;
}

.declaration ul li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: #4facfe;
    font-size: 1.2rem;
}

.note {
    margin-top: 20px;
    font-size: 1rem;
    text-align: left;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 400;
    line-height: 1.6;
}

/* クリエイターの範囲 */
.creator-types {
    margin: 40px auto;
    max-width: 900px;
    text-align: center;
}

.creator-types h4 {
    font-size: 1.6rem;
    margin-bottom: 20px;
    color: #4facfe;
    font-weight: 600;
    font-family: 'Noto Sans JP', sans-serif;
}

.types-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.type-tag {
    background: rgba(79, 172, 254, 0.2);
    border: 1px solid rgba(79, 172, 254, 0.4);
    padding: 10px 18px;
    border-radius: 20px;
    font-size: 1rem;
    font-weight: 500;
}

/* 企業宣言 */
.company-declaration {
    margin-top: 60px;
}

/* 賛同者セクション */
.supporters {
    text-align: center;
    padding: 60px 0;
}

.creator-list, .company-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin: 40px 0;
}

.creator-item, .company-item {
    text-align: center;
}

.creator-avatar, .company-logo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
    border: 2px solid rgba(79, 172, 254, 0.4);
}

.creator-name, .company-name {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

/* ダウンロードセクション */
.download {
    text-align: center;
    padding: 60px 0;
}

.download-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-top: 40px;
}

.download-option {
    background: rgba(20, 20, 30, 0.8);
    border: 1px solid rgba(79, 172, 254, 0.3);
    padding: 35px;
    border-radius: 10px;
}

.download-option h3 {
    font-size: 1.7rem;
    margin-bottom: 20px;
    color: #4facfe;
    font-weight: 600;
    font-family: 'Noto Sans JP', sans-serif;
}

.download-option p {
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 400;
    line-height: 1.6;
    font-size: 1.1rem;
}

.logo-samples {
    margin: 30px 0;
}

.logo-sample {
    max-width: 200px;
    height: auto;
}

/* フッター */
.site-footer {
    background: rgba(10, 10, 15, 0.8);
    border-top: 1px solid rgba(79, 172, 254, 0.2);
    padding: 30px 0;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
}

.footer-logo {
    margin-bottom: 15px;
}

.footer-logo img {
    max-width: 150px;
    height: auto;
}

.copyright {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 400;
}

/* レスポンシブ対応 */
@media (max-width: 1024px) {
    .value-cards {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
    
    .download-options {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 100px 0 60px;
    }
    
    .hero-character img {
        max-width: 350px;
    }
    
    .hero-logo img {
        max-width: 300px;
    }
    
    .hero-text h2 {
        font-size: 2rem;
    }
    
    .hero-text .tagline {
        font-size: 1.1rem;
    }
    
    .value-cards {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .download-options {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding: 80px 0 40px;
    }
    
    .hero-character img {
        max-width: 280px;
    }
    
    .hero-logo img {
        max-width: 250px;
    }
    
    .hero-text h2 {
        font-size: 1.6rem;
    }
    
    .hero-text .tagline {
        font-size: 1rem;
    }
    
    .download-option {
        padding: 20px;
    }
    
    .logo-sample {
        max-width: 150px;
    }
}

/* 大画面対応 - 超広幅ディスプレイ向け */
@media (min-width: 1440px) {
    .value-cards {
        gap: 30px;
    }
    
    .download-options {
        gap: 50px;
    }
}

@media (min-width: 1600px) {
    /* No styles defined */
}

@media (min-width: 1920px) {
    .value-card {
        padding: 30px;
    }
    
    .download-option {
        padding: 40px;
    }
}

/* ロゴガイドラインセクション */
.logo-guidelines-section {
    background: #0a0a15;
    padding: 60px 0;
    position: relative;
}

.logo-guidelines-section::before {
    display: none !important;
}

.logo-guidelines-section::after {
    display: none !important;
}

.guideline-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 15px;
    width: 100%;
    box-sizing: border-box;
    position: relative;
    z-index: 2;
}

.guideline-block {
    background: rgba(20, 20, 30, 0.9);
    border: 1px solid rgba(79, 172, 254, 0.5);
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 25px;
    width: 100%;
    box-sizing: border-box;
    position: relative;
    z-index: 2;
}

.guideline-block h3 {
    color: #4facfe;
    font-size: 1.8rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-family: 'Noto Sans JP', sans-serif;
}

.guideline-block h4 {
    color: white;
    font-size: 1.4rem;
    margin: 25px 0 15px;
    font-weight: 600;
    font-family: 'Noto Sans JP', sans-serif;
}

.concept-content {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
}

.concept-content p {
    margin-bottom: 30px;
    font-weight: 400;
    font-size: 1.2rem;
}

.concept-details {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.concept-item {
    background: rgba(0, 0, 0, 0.3);
    padding: 25px;
    border-radius: 15px;
    border-left: 4px solid #4facfe;
}

.concept-item h4 {
    color: #4facfe;
    margin-top: 0;
    margin-bottom: 15px;
    font-weight: 600;
    font-family: 'Noto Sans JP', sans-serif;
}

.concept-item p {
    margin-bottom: 0;
    font-size: 1rem;
    font-weight: 400;
}

/* ロゴバリエーション */
.logo-variations {
    margin-top: 25px;
    width: 100%;
    box-sizing: border-box;
}

.logo-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
    width: 100%;
    box-sizing: border-box;
}

.logo-item {
    text-align: center;
    width: 100%;
    box-sizing: border-box;
}

.logo-image {
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 180px;
    width: 100%;
    box-sizing: border-box;
}

.logo-image img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

.logo-item p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    font-weight: 500;
}

/* カラーパレット */
.color-palette {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin-top: 25px;
    width: 100%;
    box-sizing: border-box;
}

.color-item {
    text-align: center;
    width: 100%;
    box-sizing: border-box;
    margin-bottom: 15px;
    background: rgba(0, 0, 0, 0.3);
    padding: 15px;
    border-radius: 10px;
}

.color-swatch {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 15px;
}

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

.color-name {
    font-weight: 600;
    margin-bottom: 5px;
    font-size: 1.1rem;
    font-family: 'Noto Sans JP', sans-serif;
}

.color-code {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin-bottom: 5px;
    font-weight: 400;
}

/* 最小サイズ */
.size-guide {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 30px;
    flex-wrap: wrap;
    width: 100%;
    box-sizing: border-box;
}

.size-item {
    text-align: center;
    margin-bottom: 15px;
    width: 150px;
    background: rgba(0, 0, 0, 0.3);
    padding: 15px;
    border-radius: 10px;
}

.size-image {
    width: 100px;
    height: 100px;
    background-color: #f8f8f8;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 15px;
    border-radius: 10px;
}

.size-label {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

.min-size-standard {
    width: 80%;
    height: 80%;
}

.min-size {
    font-weight: 600;
    font-family: 'Noto Sans JP', sans-serif;
}

.bg-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

/* クリアスペース */
.clearspace-section {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 30px;
    flex-wrap: wrap;
    width: 100%;
    box-sizing: border-box;
}

.clearspace-item {
    text-align: center;
    margin-bottom: 15px;
    width: 150px;
    background: rgba(0, 0, 0, 0.3);
    padding: 15px;
    border-radius: 10px;
}

.clearspace-box {
    position: relative;
    width: 100px;
    height: 100px;
    background-color: #f8f8f8;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 15px;
    border-radius: 10px;
}

.clearspace-margins {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 2px dashed #4facfe;
    border-radius: 10px;
}

.clearspace-logo {
    max-width: 60%;
    max-height: 60%;
    z-index: 1;
}

.circle {
    border-radius: 50%;
}

.clearspace-circle {
    width: 60%;
    height: 60%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.clearspace-circle img {
    max-width: 100%;
    max-height: 100%;
}

/* 背景色使用例の修正 */
.background-examples {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 15px;
    margin-top: 30px;
    width: 100%;
    box-sizing: border-box;
    position: relative;
    z-index: 2;
}

.bg-row {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    width: 100%;
}

.bg-example {
    width: 100px;
    height: 100px;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 10px;
    position: relative;
    z-index: 2;
}

.bg-logo {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
    position: relative;
    z-index: 2;
}

.guideline-note {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 10px;
    width: 100%;
    box-sizing: border-box;
}

/* ダウンロードボタン配置用コンテナ */
.download-section {
    margin-top: 30px;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
}

.download-buttons-container {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    width: 100%;
    box-sizing: border-box;
    margin-bottom: 20px;
}

.download-button {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    margin: 5px;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 1rem;
}

.download-button.primary {
    background: #4facfe;
    color: white;
}

.download-button.primary:hover {
    background: #007bff;
    transform: translateY(-3px);
}

.download-button.orange {
    background: #DD6500;
    color: white;
}

.download-button.orange:hover {
    background: #ff7700;
    transform: translateY(-3px);
}

@media (max-width: 480px) {
    .download-buttons-container {
        flex-direction: column;
        align-items: center;
    }
    
    .download-button {
        width: 100%;
        max-width: 280px;
        box-sizing: border-box;
    }
}

@media (max-width: 768px) {
    .logo-guidelines-section {
        padding: 60px 0;
    }
    
    .guideline-block h3 {
        font-size: 1.4rem;
    }
    
    .guideline-block h4 {
        font-size: 1.1rem;
    }
    
    .download-button {
        padding: 8px 20px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .logo-guidelines-section {
        padding: 40px 0;
    }
    
    .guideline-block {
        padding: 15px;
        border-radius: 10px;
    }
    
    .guideline-block h3 {
        font-size: 1.3rem;
    }
    
    .logo-row {
        grid-template-columns: 1fr;
    }
    
    .logo-image {
        height: 160px;
    }
    
    .download-button {
        padding: 8px 15px;
        font-size: 0.85rem;
        display: block;
        margin: 10px auto;
        max-width: 220px;
    }
}

@media (max-width: 1024px) {
    .concept-details {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

    .guideline-block {
        padding: 30px;
    }
}

@media (max-width: 768px) {
    .guideline-block {
        padding: 25px;
    }

    .color-palette {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .guideline-block {
        padding: 15px;
        border-radius: 10px;
    }

    .guideline-block h3 {
        font-size: 1.3rem;
    }

    .concept-details {
        grid-template-columns: 1fr;
    }

    .color-palette {
        grid-template-columns: 1fr;
    }
}

/* 禁止事項 */
.forbidden-examples {
    margin-top: 30px;
    width: 100%;
    box-sizing: border-box;
}

.forbidden-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.forbidden-item {
    background: rgba(255, 0, 0, 0.1);
    border: 1px solid rgba(255, 0, 0, 0.3);
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
}

.forbidden-image {
    background: #f8f8f8;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 15px;
    min-height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.forbidden-logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #000;
}

.forbidden-item h4 {
    color: #ff4444;
    font-size: 1.1rem;
    margin: 0;
    font-weight: 600;
    font-family: 'Noto Sans JP', sans-serif;
}

@media (max-width: 768px) {
    .forbidden-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .forbidden-item {
        padding: 15px;
    }
    
    .forbidden-image {
        padding: 15px;
        min-height: 60px;
    }
    
    .forbidden-logo {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .forbidden-grid {
        grid-template-columns: 1fr;
    }
}

/* --- ここから meishi-portfolio のスタイルを追加 --- */

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

.portfolio-item {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(5px);
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.portfolio-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.portfolio-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px 10px 0 0;
}

.portfolio-image img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain; /* 画像全体を表示 */
    transition: transform 0.3s ease;
}

/* 縦向き名刺専用スタイル */
.portfolio-image.vertical {
    height: 260px; /* 縦向きは少し高く */
}

.portfolio-item:hover .portfolio-image img {
    transform: scale(1.02); /* ホバー時の拡大を控えめに */
}

.portfolio-content {
    padding: 15px;
}

.portfolio-title {
    font-size: 1.1rem;
    font-weight: bold;
    margin-bottom: 8px;
    color: #fff;
}

.portfolio-description {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 12px;
    line-height: 1.5;
    font-size: 0.9rem;
}

.portfolio-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 12px;
}

.portfolio-tags .tag {
    background: linear-gradient(45deg, #00427B, #DD6500);
    color: white;
    padding: 3px 8px;
    border-radius: 10px;
    font-size: 0.75rem;
    font-weight: 500;
}

.portfolio-link {
    color: #DD6500;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.portfolio-link:hover {
    color: #00427B;
}

.preparing {
    opacity: 0.6;
}

.preparing-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: rgba(255, 255, 255, 0.5);
    font-size: 1rem;
    background: linear-gradient(45deg, rgba(0, 66, 123, 0.1), rgba(221, 101, 0, 0.1));
}

@media (max-width: 1024px) {
    .portfolio-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 15px;
    }
}

@media (max-width: 768px) {
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .portfolio-image {
        height: 180px;
    }

    .portfolio-content {
        padding: 12px;
    }
} 