@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700;800;900&family=Noto+Serif+JP:wght@300;500;700&display=swap');

/* 全体に適用する */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* カラーの定義 */
:root {
    --primary-color: #0ea5e9;
    --secondary-color: #06b6d4;
    --accent-color: #fbbf24;
    --dark-color: #0c4a6e;
    --light-color: #f0f9ff;
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
}

/* bodyに適用する */
/* 背景黒、文字白、横スクロールバー非表示、スクロール動作を追加 */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: #0a0a0a;
    color: #ffffff;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* Smooth Scroll */
/* html全体に適用する */
html {
    scroll-behavior: smooth;
}

/* Custom Scrollbar */
/* 上下スクロールバーの設定 */
/* スクロールバーのサイズ、背景色、バーの設定 */

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 5px;
}

/* Animated Background */
/* 背景　波打ちの上部分 */
/* animated-bgクラスに適用、画面の特定の場所に固定し、スクロールしても動かない、画面の左上隅から画面全体100%、グラデショーン（135度の角度で黒から始まり、50%で#0c4a6e、100%で065f8e、z-indexは要素の重なり順序（今回は一番下） */
.animated-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0a0a0a 0%, #0c4a6e 50%, #065f8e 100%);
    z-index: -2;
}

/* wave containerクラスに適応。今回は枠範囲のみ指定。画面下部に固定し、幅を100%、高さを200ピクセル、透明度を50%*/
.wave-container {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 200px;
    z-index: -1;
    opacity: 0.5;
}

/* waveはwave comtainerの中にある個々の要素３つ。absouluteは指定の場所に配置（親要素の左下を基準に親要素の２倍の幅で波が途切れないように、高さは親要素と同じ（常に画面下部から100pxに波が表示）、波の画像の読み込み、waveというアニメーションを20秒かけて、一定速度で無限に繰り返す*/
/* SVG構造（viewBox="0 0 1200 200": SVGの描画領域（横1200、高さ200） path d="...": 波の形を表現するベジェ曲線 fill="%230ea5e9": 塗りつぶしの色（#0ea5e9：Tailwindのsky-500に近い青） opacity="0.3": 30%の透明度で塗り） */
.wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 200%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 200"><path d="M0,100 C200,50 400,150 600,100 C800,50 1000,150 1200,100 L1200,200 L0,200 Z" fill="%230ea5e9" opacity="0.3"/></svg>');
    animation: wave 20s linear infinite;
}

/*  wave comtainerの中にある2番目のwave 1番目の波より少し上に配置し、アニメーション速度を少し早く設定*/
.wave:nth-child(2) {
    bottom: 10px;
    opacity: 0.5;
    animation: wave 15s linear infinite reverse;
}

/*  wave comtainerの中にある3番目のwave 1番目の波より少し上に配置し、アニメーション速度を少しは遅くし、透明度も30%に設定*/
.wave:nth-child(3) {
    bottom: 20px;
    opacity: 0.3;
    animation: wave 25s linear infinite;
}

/* waveという名前のアニメーションを定義。アニメーションの開始時（0%）に要素のX軸方向の移動を0に設定します。 アニメーションの終了時（100%）に要素を左に50%（自身の幅の半分）移動させます。これにより、波が無限にスクロールしているように見えます。*/
@keyframes wave {
    0% {transform: translateX(0);}
    100% {transform: translateX(-50%);}
}

/* Enhanced Header */
/* ヘッダーのスタイル */
/* ヘッダーは画面上部に固定し、幅を100%。最初にrootで定義したglass-bgカラーを使用 */
/* backdrop-filter: blur(20px);-webkit-backdrop-filter: blur(20px);は、ヘッダーの背後にあるコンテンツをぼかす効果を適用します（SafariなどWebkit系ブラウザ用に-webkit-プレフィックスも指定）。 
border-bottom: 1px solid var(--glass-border);は、ヘッダーの下部にガラスのようなボーダーを適用します。 
z-index: 1000;は、ヘッダーを他のすべてのコンテンツやアニメーションの上に表示されるように設定します。 
transition: all 0.3s ease;は、すべてのCSSプロパティの変化に0.3秒かけて滑らかにアニメーションするように設定します。これらは「動画上部の「海と共に生きる」にのみ適用されています */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    z-index: 1000;
    transition: all 0.3s ease;
}

/* header-contentクラスに適用。 */
/* flexは横方向にボックス配置。justify-content: space-between;は、子要素をコンテナの両端に配置し、間に等しいスペースを設けます（ロゴとナビゲーションを左右に配置）。 */
/* align-items: center;は、子要素を垂直方向の中央に配置します。 
padding: 1rem 5%;は、上下に1rem、左右に5%の内部余白を設定します。
max-width: 1400px;は、コンテンツの最大幅を1400ピクセルに制限します。
margin: 0 auto;は、コンテナを水平方向の中央に配置します。 */
.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    max-width: 1400px;
    margin: 0 auto;
}

/* .logo は、ロゴ部分のスタイルです。 display: flex;　align-items: center;　gap: 12px;は、ロゴアイコンとテキストを横並びにし、垂直方向の中央に揃え、間に12ピクセルのスペースを設けます。 
cursor: pointer;は、マウスカーソルをポインターに変更し、クリック可能であることを示します。
 transition: all 0.3s ease;は、すべてのプロパティの変化に0.3秒かけて滑らかにアニメーションするように設定します。 */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

/* .logo:hover は、ロゴにマウスが乗ったときに適用されるスタイルです。 
transform: scale(1.05);は、ロゴを1.05倍に拡大します。 */
.logo:hover {
    transform: scale(1.05);
}

/* @keyframes float は、floatという名前のアニメーションを定義します。 0%,
100%: 開始時と終了時にY軸方向の移動を0に設定します。 50%: 中間点でY軸方向に-5ピクセル（上に5ピクセル）移動させます。これにより、アイコンが上下にふわりと浮いているように見えます。 */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

/* .logo-text は、ロゴのテキスト部分のスタイルです。 font-size: 24px;　font-weight: 700;は、フォントサイズと太さを設定します。 
背景グラデーションをテキストに適用し、テキストの色を透明にすることで、グラデーション文字を作成します。 
letter-spacing: 1px;は、文字間隔を1ピクセル開けます。 */
.logo-text {
    font-size: 24px;
    font-weight: 700;
    background: linear-gradient(135deg, #ffffff, #e0e0e0);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 1px;
}

/* Enhanced Navigation */
/* .nav は、ナビゲーションメニューのスタイルです。 display: flex;　gap: 2rem;　align-items: center;は、メニュー項目を横並びにし、間に3remのスペースを設け、垂直方向の中央に揃えます。 */
.nav {
    display: flex;
    gap: 3rem;
    align-items: center;
}

/*.nav-item は、個々のナビゲーションメニュー項目のスタイルです。 position: relative;
は、擬似要素（::before）を配置するための基準点を設定します。 color: rgba(255, 255, 255, 0.8);
は、テキストの色を半透明の白に設定します。 text-decoration: none;
は、リンクの下線を非表示にします。 font-weight: 500;
font-size: 16pxは、フォントの太さとサイズを設定します。 padding: 0.5rem 1rem;
は、内部余白を設定します。 transition: all 0.3s ease;
は、すべてのプロパティの変化に0.3秒かけて滑らかにアニメーションするように設定します。 overflow: hidden;は、後述の::before要素がはみ出さないように設定します。  */
.nav-item {
    position: relative;
    color: rgba(255, 255, 255, 1);
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
    overflow: hidden;
    cursor: pointer;
}

/*::before は、nav-item要素の直前に仮想の要素を挿入します。これは主に装飾のために使用されます。 content: '';
は、擬似要素にコンテンツがないことを示します。 position: absolute;は起点を指定
bottom: 0;left: 0;は、nav-itemの下部に配置します。 
width: 0;height: 2px;は、初期状態では幅0の細い線として設定します。 background: linear-gradient(...);
は、線にグラデーションを適用します。 transition: width 0.3s ease;は、widthプロパティの変化に0.3秒かけてアニメーションするように設定します。  */
.nav-item::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: rgba(255, 255, 255, 1);
    transition: width 0.3s ease;
}

/* .nav-item:hover は、メニュー項目にマウスが乗ったときにテキスト色を完全に白に変更します。 */
.nav-item:hover {
    font-weight: 800;
}

/* .nav-item:hover::before は、メニュー項目にマウスが乗ったときに、下線の幅を100%に拡大します。これにより、マウスホバー時に下線が左から右に伸びるアニメーション効果が生まれます。 */
.nav-item:hover::before {
    width: 100%;
}

/* Dropdown Menu Enhanced */
/* .dropdown は、ドロップダウンメニューの親要素のスタイルです。 position: relative;
は、子要素であるドロップダウンメニュー（dropdown-menu）がここを基準に絶対配置できる。この時、子要素はここを基準に絶対配置できる */
.dropdown {
    position: relative;
}

/* .dropdown-menu は、ドロップダウンメニュー本体のスタイルです。 position: absolute;　top: 100%;　left: 0;は、親要素の直下（垂直方向）に配置します。
min-width: 200px;は、メニューの最小幅を設定します。 
background: var(--glass-bg);
backdrop-filter: blur(20px);
は、ガラスのような半透明の背景とぼかし効果を適用します。 border: 1px solid var(--glass-border);
border-radius: 12px;
は、ボーダーと角丸を設定します。 opacity: 0;
visibility: hidden;
は、初期状態では完全に透明で非表示にします。 transform: translateY(-10px);
は、初期状態では少し上に移動させます。 transition: all 0.3s ease;
は、すべてのプロパティの変化に0.3秒かけて滑らかにアニメーションするように設定します。 margin-top: 10px;
は、親要素との間に少し隙間を設けます。 box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
は、ドロップダウンメニューに影を適用します。 */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: #8cb2d3;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 0, 0, 0.1);
    /* 黒いボーダー */
    border-radius: 12px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    margin-top: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    z-index: 2000;
}

/* .dropdown:hover .dropdown-menu は、親要素である.dropdownにマウスが乗ったときに、ドロップダウンメニューを表示させるスタイルです。 opacity: 1;
visibility: visible;
は、メニューを完全に表示します。 transform: translateY(0);
は、メニューを元の位置に戻します。これにより、上から下にスライドしながらフェードインするアニメーション効果が生まれます。 */
.dropdown:hover .dropdown-menu,
.dropdown:focus-within .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* .dropdown-item は、ドロップダウンメニュー内の個々の項目のスタイルです。 display: block;
は、項目をブロック要素として表示し、幅全体を占めるようにします。 padding: 12px 20px;
は、内部余白を設定します。 color: rgba(255, 255, 255, 0.8);
text-decoration: none;
は、テキストの色と下線を設定します。 transition: all 0.3s ease;
は、すべてのプロパティの変化に0.3秒かけて滑らかにアニメーションするように設定します。 border-radius: 8px;
margin: 4px;
は、角丸とマージンを設定します。 */
.dropdown-item {
    display: block;
    padding: 12px 20px;
    color: rgba(0, 0, 0, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    border-radius: 8px;
    margin: 4px;
    cursor: pointer;
}

/* .dropdown-item:hover は、ドロップダウンメニュー項目にマウスが乗ったときに適用されるスタイルです。 background: rgba(255, 255, 255, 0.1);
は、背景を薄い半透明の白に変更します。 color: var(--primary-color);
は、テキストの色をプライマリカラーに変更します。 transform: translateX(5px);
は、項目を右に5ピクセル移動させます。これにより、ホバー時に少しスライドする効果が生まれます。 */
.dropdown-item:hover {
    background: rgba(0, 0, 0, 0.1);
    transform: translateX(5px)scale(1.05);
    font-weight: 700;
}

/* Social Icons Enhanced */
.social-icons {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    gap: 10px;
}

.social-icon {
    width: 24px;
    height: 24px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 14px;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.social-icon:hover {
    opacity: 0.8;
    transform: scale(1.1);
}

.twitter {
    background: #1da1f2 !important;
    /* 明るい水色（公式カラー） */
}

.instagram {
    background: #e1306c !important;
    /* 明るいピンク（公式カラー） */
}

/* Enhanced Hero Section */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: 0; /* 60px から 0 に変更 */
    margin-bottom: 0; /* 追加 */
}

/* 動画背景用のスタイル（新規追加） */
.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: 0;
    transform: translateX(-50%) translateY(-50%);
    object-fit: cover;
}

/* 動画の上に重ねるオーバーレイ（新規追加） */
.hero-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    animation: pulse 4s ease-in-out infinite;
    z-index: 1;
}

.hero-content {
    text-align: center;
    z-index: 2; /* 動画と背景の上に表示 */
    animation: fadeInUp 1s ease-out;
}

/* モバイル対応（新規追加） */
@media (max-width: 768px) {
    /* .hero-video {
        モバイルでは動画を非表示にしてパフォーマンス向上（オプション）
        display: none;
    } */
}

.hero-title {
    font-size: 6rem;
    font-weight: 900;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #ffffff 0%, var(--primary-color) 50%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 40px rgba(14, 165, 233, 0.5);
    animation: glow 3s ease-in-out infinite alternate;
}

@keyframes glow {
    from { text-shadow: 0 0 20px rgba(14, 165, 233, 0.5); }
    to { text-shadow: 0 0 30px rgba(14, 165, 233, 0.8), 0 0 40px rgba(6, 182, 212, 0.6); }
}

.hero-subtitle {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
    font-weight: 300;
    letter-spacing: 2px;
}

.hero-cta {
    display: inline-block;
    padding: 1rem 3rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(14, 165, 233, 0.3);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.hero-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.hero-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(14, 165, 233, 0.4);
}

.hero-cta:hover::before {
    left: 100%;
}

/* Enhanced Content Sections */
.content {
    position: relative;
    z-index: 10;
    padding: 5rem 2%;
    max-width: 1400px;
    margin: 0 auto;
}

/* 既存のインスタ風スタイルを以下に置き換え */
.instagram-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px; /* インスタ風の最小限の隙間 */
    margin-bottom: 2rem;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(14, 165, 233, 0.2);
}

.instagram-card {
    position: relative;
    aspect-ratio: 1 / 1; /* 完全な正方形 */
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
}

.instagram-card:hover {
    transform: scale(1.02);
    z-index: 10;
    box-shadow: 0 8px 25px rgba(14, 165, 233, 0.4);
    border-color: rgba(14, 165, 233, 0.6);
}

.instagram-image {
    position: relative;
    width: 100%;
    height: 85%; /* カードの65%を画像エリアに */
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.image-emoji {
    font-size: 2.5rem;
    z-index: 2;
    position: relative;
    animation: float 3s ease-in-out infinite;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg, 
        rgba(0, 0, 0, 0.1) 0%, 
        rgba(14, 165, 233, 0.2) 100%
    );
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    padding: 0.5rem;
}

.date-badge {
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    color: white;
    padding: 0.2rem 0.5rem;
    border-radius: 10px;
    font-size: 0.6rem;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.card-info {
    height: 50%; /* カードの50%を情報エリアに */
    padding: 0.1rem;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.card-title {
    font-size: 0.25rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.3rem;
    line-height: 1.3;
    /* 改行を有効にして複数行表示 */
    white-space: pre-line;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.card-tags {
    display: flex;
    gap: 0.3rem;
    flex-wrap: wrap;
}

.tag {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.9);
    padding: 0.1rem 0.4rem;
    border-radius: 8px;
    font-size: 0.55rem;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.1);
    white-space: nowrap;
}

/* グリッドの特定位置のカードに個別の背景色 */
.instagram-card:nth-child(1) .instagram-image { background: linear-gradient(135deg, #ff6b6b, #ee5a24); }
.instagram-card:nth-child(2) .instagram-image { background: linear-gradient(135deg, #74b9ff, #0984e3); }
.instagram-card:nth-child(3) .instagram-image { background: linear-gradient(135deg, #a29bfe, #6c5ce7); }ダイヤル形式の
.instagram-card:nth-child(4) .instagram-image { background: linear-gradient(135deg, #fd79a8, #e84393); }
.instagram-card:nth-child(5) .instagram-image { background: linear-gradient(135deg, #fdcb6e, #e17055); }
.instagram-card:nth-child(6) .instagram-image { background: linear-gradient(135deg, #55a3ff, #003d82); }
.instagram-card:nth-child(7) .instagram-image { background: linear-gradient(135deg, #ff7675, #d63031); }
.instagram-card:nth-child(8) .instagram-image { background: linear-gradient(135deg, var(--primary-color), var(--secondary-color)); }
.instagram-card:nth-child(9) .instagram-image { background: linear-gradient(135deg, #00b894, #00a085); }

/* ホバー効果の強化 */
.instagram-card:hover .instagram-image {
    filter: brightness(1.1) saturate(1.2);
}

.instagram-card:hover .image-emoji {
    transform: scale(1.15) translateY(-3px);
}

.instagram-card:hover .date-badge {
    background: rgba(14, 165, 233, 0.9);
    transform: scale(1.08);
}

.instagram-card:hover .card-title {
    color: var(--primary-color);
}

/* ビデオインジケーター */
.video-indicator {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: bold;
    backdrop-filter: blur(5px);
}


/* すべて見るボタン - 既存のスタイルを維持 */
.view-more-section {
    text-align: center;
    margin-top: 2rem;
}

.view-more-btn {
    padding: 0.8rem 2rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border: none;
    border-radius: 25px;
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(14, 165, 233, 0.3);
    position: relative;
    overflow: hidden;
}

.view-more-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.view-more-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(14, 165, 233, 0.4);
}

.view-more-btn:hover::before {
    left: 100%;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .instagram-grid {
        grid-template-columns: repeat(2, 1fr); /* タブレットは2×2表示（最初の4つ） */
        gap: 1px;
    }
    
    /* 5個目以降は非表示にしてモバイルではコンパクトに */
    .instagram-card:nth-child(n+5) {
        display: none;
    }
    
    .image-emoji {
        font-size: 2rem;
    }
    
    .card-title {
        font-size: 0.5rem;
    }

    .tag {
        font-size: 0.5rem;
        padding: 0.05rem 0.3rem;
    }
}

@media (max-width: 480px) {
    .instagram-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1px;
        max-width: 300px;
        margin: 0 auto 2rem;
    }
    
    .card-info {
        padding: 0.4rem;
    }
    
    .image-emoji {
        font-size: 1.8rem;
    }
    
    .card-title {
        font-size: 0.6rem;
        margin-bottom: 0.2rem;
    }

    .card-tags {
        gap: 0.2rem;
    }

    .tag {
        font-size: 0.45rem;
        padding: 0.05rem 0.25rem;
    }
}

/* グリッド全体のコンテナアニメーション */
.instagram-grid {
    animation: fadeInGrid 0.8s ease-out;
}

@keyframes fadeInGrid {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* 各カードの段階的なアニメーション */
.instagram-card:nth-child(1) { animation-delay: 0s; }
.instagram-card:nth-child(2) { animation-delay: 0.1s; }
.instagram-card:nth-child(3) { animation-delay: 0.2s; }
.instagram-card:nth-child(4) { animation-delay: 0.3s; }
.instagram-card:nth-child(5) { animation-delay: 0.4s; }
.instagram-card:nth-child(6) { animation-delay: 0.5s; }
.instagram-card:nth-child(7) { animation-delay: 0.6s; }
.instagram-card:nth-child(8) { animation-delay: 0.7s; }
.instagram-card:nth-child(9) { animation-delay: 0.8s; }



/* ギャラリーセクション - フルスクリーン画像カード */
.gallery-cards-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

/* フルスクリーンカード */
.gallery-fullscreen-card {
    position: relative;
    min-height: 70vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #1a1a1a;
    border-radius: 0;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 画像オーバーレイ（グラデーション） */
.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.2) 0%,
        rgba(0, 0, 0, 0.5) 50%,
        rgba(0, 0, 0, 0.8) 100%
    );
    transition: all 0.6s ease;
    z-index: 1;
}

.gallery-fullscreen-card:hover .card-overlay {
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.3) 0%,
        rgba(0, 0, 0, 0.6) 50%,
        rgba(0, 0, 0, 0.85) 100%
    );
}

/* ホバー時の画像ズーム */
.gallery-fullscreen-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: inherit;
    background-size: cover;
    background-position: center;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 0;
}

.gallery-fullscreen-card:hover::before {
    transform: scale(1.05);
}

/* メモリアルフィッシュカード - 画像位置を左下寄りに */
.gallery-fullscreen-card[data-card="memorial"] {
    background-position: left 85%;
}

.gallery-fullscreen-card[data-card="memorial"]::before {
    background-position: left 85%;
}

/* コンテンツエリア */
.card-content-fullscreen {
    position: relative;
    z-index: 2;
    height: 100%;
    min-height: 70vh;
    padding: 4rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    color: white;
}

/* メタ情報（番号とカテゴリー） */
.card-meta {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.card-number-large {
    font-size: 6rem;
    font-weight: 900;
    line-height: 1;
    background: linear-gradient(135deg, rgba(255,255,255,0.9), rgba(255,255,255,0.5));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.4s ease;
}

.gallery-fullscreen-card:hover .card-number-large {
    transform: translateY(-5px);
}

.card-category {
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 0.5rem 1.5rem;
    border-radius: 30px;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.1);
}

/* タイトル */
.card-content-fullscreen h2 {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    letter-spacing: -0.03em;
    color: #ffffff;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    transition: all 0.4s ease;
}

.gallery-fullscreen-card:hover .card-content-fullscreen h2 {
    transform: translateX(10px);
}

/* 説明文 */
.card-content-fullscreen p {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 2.5rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 700px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* リンク */
.card-link {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: #ffffff;
    padding: 1rem 2rem;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    width: fit-content;
}

.card-link svg {
    transition: transform 0.3s ease;
}

.gallery-fullscreen-card:hover .card-link {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateX(10px);
}

.gallery-fullscreen-card:hover .card-link svg {
    transform: translateX(5px);
}

/* カード別アクセントカラー */
.gallery-fullscreen-card[data-card="memorial"]:hover .card-link {
    border-color: #667eea;
    box-shadow: 0 0 20px rgba(102, 126, 234, 0.5);
}

.gallery-fullscreen-card[data-card="zukan"]:hover .card-link {
    border-color: #f093fb;
    box-shadow: 0 0 20px rgba(240, 147, 251, 0.5);
}

.gallery-fullscreen-card[data-card="tools"]:hover .card-link {
    border-color: #4facfe;
    box-shadow: 0 0 20px rgba(79, 172, 254, 0.5);
}

/* レスポンシブ対応 */
@media (max-width: 968px) {
    .gallery-fullscreen-card {
        min-height: 60vh;
    }

    .card-content-fullscreen {
        min-height: 60vh;
        padding: 3rem 2rem;
    }

    .card-number-large {
        font-size: 4rem;
    }

    .card-content-fullscreen h2 {
        font-size: 2.5rem;
    }

    .card-content-fullscreen p {
        font-size: 1.05rem;
    }

    .card-meta {
        gap: 1.5rem;
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 480px) {
    .gallery-fullscreen-card {
        min-height: 80vh;
    }

    .card-content-fullscreen {
        min-height: 80vh;
        padding: 2.5rem 1.5rem;
    }

    .card-number-large {
        font-size: 3rem;
    }

    .card-category {
        font-size: 0.7rem;
        padding: 0.4rem 1rem;
    }

    .card-content-fullscreen h2 {
        font-size: 2rem;
    }

    .card-content-fullscreen p {
        font-size: 0.95rem;
        margin-bottom: 2rem;
    }

    .card-link {
        font-size: 1rem;
        padding: 0.8rem 1.5rem;
    }
}

.section-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 5rem;
}

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(14, 165, 233, 0.2);
    border-color: rgba(14, 165, 233, 0.3);
}

.glass-card:hover::before {
    opacity: 1;
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: block;
    animation: float 3s ease-in-out infinite;
}

.card-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #ffffff, var(--primary-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.card-description {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    font-size: 1.1rem;
}

/* その他セクション - 画像付き3列カード */
.other-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 5rem;
}

.other-image-card {
    position: relative;
    min-height: 450px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.other-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.3) 0%,
        rgba(0, 0, 0, 0.6) 50%,
        rgba(0, 0, 0, 0.85) 100%
    );
    transition: all 0.5s ease;
    z-index: 1;
}

.other-image-card:hover .other-card-overlay {
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.4) 0%,
        rgba(0, 0, 0, 0.7) 50%,
        rgba(0, 0, 0, 0.9) 100%
    );
}

.other-image-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: inherit;
    background-size: cover;
    background-position: center;
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 0;
}

.other-image-card:hover::before {
    transform: scale(1.08);
}

.other-image-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.other-card-content {
    position: relative;
    z-index: 2;
    height: 100%;
    min-height: 450px;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    color: white;
}

.other-card-category {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.4);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.15);
    width: fit-content;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.other-image-card:hover .other-card-category {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.6);
}

.other-card-content h3 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.2;
    color: #ffffff;
    text-shadow: 0 3px 15px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
}

.other-image-card:hover .other-card-content h3 {
    transform: translateX(5px);
}

.other-card-content p {
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1.8rem;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.other-card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: #ffffff;
    padding: 0.8rem 1.5rem;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    width: fit-content;
}

.other-card-link svg {
    transition: transform 0.3s ease;
}

.other-image-card:hover .other-card-link {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.7);
    transform: translateX(5px);
}

.other-image-card:hover .other-card-link svg {
    transform: translateX(3px);
}

/* レスポンシブ対応 */
@media (max-width: 968px) {
    .other-cards-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .other-image-card {
        min-height: 400px;
    }

    .other-card-content {
        min-height: 400px;
        padding: 2rem;
    }

    .other-card-content h3 {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .other-image-card {
        min-height: 350px;
    }

    .other-card-content {
        min-height: 350px;
        padding: 1.5rem;
    }

    .other-card-content h3 {
        font-size: 1.5rem;
    }

    .other-card-content p {
        font-size: 0.9rem;
    }

    .other-card-category {
        font-size: 0.65rem;
        padding: 0.3rem 0.8rem;
    }
}

/* Info Section */
.info-section {
    margin-bottom: 5rem;
}

/* News Section - 新しいデザイン */
.news-section-container {
    background: transparent;
}

.news-main-title {
    font-size: 3rem;
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #ffffff 0%, var(--primary-color) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.news-subtitle {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.news-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.news-item-modern {
    display: block;
    padding: 1.0rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    position: relative;
}

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

.news-item-modern:hover {
    padding-left: 1rem;
}

.news-item-modern::before {
    content: '';
    position: absolute;
    left: -10px;
    top: 0;
    height: 100%;
    width: 3px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.news-item-modern:hover::before {
    opacity: 1;
}

.news-date-modern {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 0.5rem;
    font-family: 'Courier New', monospace;
}

.news-category-modern {
    display: inline-block;
    padding: 0.2rem 0.8rem;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.news-category-modern.press {
    background: rgba(168, 85, 247, 0.2);
    color: #a855f7;
    border: 1px solid rgba(168, 85, 247, 0.3);
}

.news-category-modern.announcement {
    background: rgba(34, 197, 94, 0.2);
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.news-title-modern {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    line-height: 1.5;
    margin: 0;
    transition: color 0.3s ease;
}

.news-item-modern:hover .news-title-modern {
    color: #ffffff;
}

/* About Section - 新しいデザイン */
.about-section-container {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0px;
    padding: 2.5rem;
    height: 100%;
    transition: all 0.3s ease;
}

.about-section-container:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(14, 165, 233, 0.3);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(14, 165, 233, 0.15);
}

.about-section-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 1rem;
}

.about-section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.about-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.about-description {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    font-size: 1rem;
    margin: 0;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .info-section>div {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .news-main-title {
        font-size: 2.5rem;
    }

    .news-item-modern {
        padding: 1rem 0;
    }

    .about-section-container {
        padding: 2rem;
    }
}

/* Glass Cards - 他のセクション用 */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 0;
    padding: 2.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(14, 165, 233, 0.2);
    border-color: rgba(14, 165, 233, 0.3);
}

.glass-card:hover::before {
    opacity: 1;
}


/* Fishing Log Preview */
.fishing-log-preview {
    margin: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 3rem;
    font-weight: 900;
    background: linear-gradient(135deg, #ffffff 0%, var(--primary-color) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
}

.section-header p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.2rem;
}

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

.log-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

.log-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(14, 165, 233, 0.3);
}

.log-image {
    height: 200px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    position: relative;
    overflow: hidden;
}

.log-image::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: rotate 10s linear infinite;
}

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

.log-content {
    padding: 1.5rem;
}

.log-date {
    font-size: 0.9rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.log-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem;
}

.log-excerpt {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.log-info {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.log-info span {
    padding: 0.3rem 0.8rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
}

/* Footer Enhanced */
.footer {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border-top: 1px solid var(--glass-border);
    padding: 3rem 5%;
    margin-top: 5rem;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.footer-section h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.footer-section p,
.footer-section a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    line-height: 1.8;
    transition: color 0.3s ease;
    cursor: pointer;
}

.footer-section a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--glass-border);
    color: rgba(255, 255, 255, 0.5);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-content {
        padding: 1rem 2%;
    }

    .nav {
        display: none;
    }

    .mobile-menu {
        display: block;
    }

    .hero-title {
        font-size: 3rem;
    }

    .section-grid {
        grid-template-columns: 1fr;
    }

    .content {
        padding: 3rem 2%;
    }
}

/* Mobile Menu Button */
.mobile-menu {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu span {
    width: 25px;
    height: 3px;
    background: white;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Page Transition */
.page-transition {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    transform: translateY(-100%);
    transition: transform 0.5s ease;
    z-index: 9998;
}

.page-transition.active {
    transform: translateY(0);
}

/* ===== Mobile Navigation (サブページ共通) ===== */
/* body に .mobile-nav-open が付くとナビをパネル表示する。
   トップページ(home.css)と同じ挙動をサブページにも適用する。 */
@media (max-width: 768px) {
    body.mobile-nav-open {
        overflow: hidden;
    }

    /* 非表示の .nav を、ヘッダー直下のパネルとして展開 */
    body.mobile-nav-open .nav {
        display: flex;
        position: fixed;
        top: 66px;
        left: 16px;
        right: 16px;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.4rem;
        max-height: calc(100vh - 84px);
        padding: 1.2rem;
        border: 1px solid rgba(14, 165, 233, 0.25);
        border-radius: 16px;
        background: rgba(4, 28, 48, 0.97);
        box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
        overflow-y: auto;
        z-index: 1500;
        animation: navPanelIn 0.28s ease;
    }

    @keyframes navPanelIn {
        from { opacity: 0; transform: translateY(-12px); }
        to   { opacity: 1; transform: translateY(0); }
    }

    body.mobile-nav-open .nav-item {
        width: 100%;
        padding: 0.6rem 0.3rem;
        font-size: 1.02rem;
    }

    /* ドロップダウンはホバー不要なので常時展開して表示 */
    body.mobile-nav-open .dropdown {
        width: 100%;
    }

    body.mobile-nav-open .dropdown-menu {
        position: static;
        display: block;
        opacity: 1;
        visibility: visible;
        transform: none;
        min-width: 0;
        width: 100%;
        margin: 0.1rem 0 0.4rem 0.8rem;
        padding: 0.2rem 0;
        background: transparent;
        border: 0;
        box-shadow: none;
    }

    body.mobile-nav-open .dropdown-item {
        color: rgba(255, 255, 255, 0.85);
        padding: 0.5rem 0.6rem;
    }

    body.mobile-nav-open .dropdown-item:hover {
        transform: none;
    }

    /* ハンバーガー → ✕ 印アニメーション */
    body.mobile-nav-open .mobile-menu span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    body.mobile-nav-open .mobile-menu span:nth-child(2) {
        opacity: 0;
    }

    body.mobile-nav-open .mobile-menu span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }
}

/* =====================================================================
   メイン画面（index.html / home.css）と統一する共通クローム
   ヘッダー / ナビ / ロゴ / フッター / 背景 / フォントをトップページに合わせる。
   common.css の末尾に置き、先行する旧クロームを上書きする。
   ※ index.html は home.css を後から読み込むため、ここの変更の影響を受けない。
   ===================================================================== */
:root {
    --ocean: #010712;
    --cyan: #00d7ff;
    --blue: #1677ff;
    --line: rgba(89, 210, 255, 0.22);
}

/* フォント・背景 */
body {
    font-family: 'Noto Sans JP', 'Yu Gothic', 'Hiragino Kaku Gothic ProN', sans-serif;
    background-color: #010712;
}

.animated-bg {
    background: radial-gradient(circle at 72% 16%, rgba(0, 139, 255, 0.18), transparent 34%),
                radial-gradient(circle at 50% 72%, rgba(0, 215, 255, 0.10), transparent 38%),
                linear-gradient(135deg, #00040b 0%, #02101e 48%, #00040b 100%) !important;
}

/* 波アニメーションはメイン画面に合わせて非表示 */
.wave-container { display: none !important; }

/* ヘッダー右端の SNS アイコン（Twitter / Instagram） */
.header .social-icons {
    position: static;
    top: auto;
    transform: none;
    align-self: center;
    display: flex;
    align-items: center;
    gap: 10px;
    /* 左にナビとの間隔、右はヘッダー余白へ引き出して右端に寄せる */
    margin: 0 -16px 0 14px;
}

.header .social-icon {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.header .social-icon:hover {
    transform: translateY(-2px) scale(1.08);
    opacity: 0.9;
}

/* ヘッダー */
.header {
    background: linear-gradient(to bottom, rgba(0, 5, 14, 0.88), rgba(0, 5, 14, 0.42));
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.header.is-scrolled {
    background: rgba(0, 5, 14, 0.94);
    border-bottom-color: rgba(0, 215, 255, 0.18);
}

.header-content {
    width: min(100% - 64px, 1450px);
    max-width: none;
    height: 78px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    padding: 0;
}

/* ロゴ（ソナーマーク） */
.logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--text, #f8fbff);
    background: transparent;
    border: 0;
    cursor: pointer;
}

.logo:hover { transform: none; }

.logo-mark {
    position: relative;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: inline-grid;
    place-items: center;
    background: radial-gradient(circle, rgba(0, 215, 255, 0.26), transparent 56%);
}

.logo-mark::before,
.logo-mark::after,
.logo-mark span {
    content: '';
    position: absolute;
    border: 2px solid transparent;
    border-top-color: var(--cyan);
    border-bottom-color: rgba(22, 119, 255, 0.86);
    border-radius: 50%;
    animation: sonarPulse 3.2s ease-in-out infinite;
}

.logo-mark::before { inset: 5px; }
.logo-mark::after { inset: 10px; animation-delay: -0.8s; }

.logo-mark span:first-child {
    inset: 15px;
    background: var(--cyan);
    border: 0;
    box-shadow: 0 0 14px var(--cyan);
}

.logo-mark span:nth-child(2),
.logo-mark span:nth-child(3) { display: none; }

.logo-text {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #fff;
    background: none;
    -webkit-text-fill-color: currentColor;
}

@keyframes sonarPulse {
    0%, 100% { transform: rotate(0deg) scale(1); opacity: 0.95; }
    50% { transform: rotate(16deg) scale(1.08); opacity: 0.55; }
}

/* ナビ */
.nav {
    display: flex;
    align-items: center;
    gap: clamp(18px, 3vw, 42px);
    margin-left: auto;
}

.nav-item {
    position: relative;
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 0 0 4px;
    color: rgba(255, 255, 255, 0.88);
    text-decoration: none;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.04em;
    overflow: visible;
    cursor: pointer;
}

.nav-item::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    border-radius: 99px;
    background: var(--cyan);
    box-shadow: 0 0 12px rgba(0, 215, 255, 0.8);
    transition: width 0.25s ease;
}

.nav-item:hover,
.nav-item.active { color: #fff; font-weight: 800; }

.nav-item:hover::before,
.nav-item.active::before { width: 100%; }

/* ドロップダウン */
.dropdown { position: relative; }

.dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    left: -18px;
    min-width: 220px;
    padding: 10px;
    margin-top: 0;
    border: 1px solid var(--line);
    border-radius: 0;
    background: rgba(2, 14, 30, 0.92);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.42);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: 0.22s ease;
}

.dropdown:hover .dropdown-menu,
.dropdown:focus-within .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: block;
    padding: 11px 12px;
    margin: 0;
    border-radius: 0;
    color: rgba(255, 255, 255, 0.78);
    text-decoration: none;
    font-size: 13px;
}

.dropdown-item:hover {
    color: #fff;
    background: rgba(0, 215, 255, 0.10);
    transform: none;
    font-weight: 400;
}

/* フッターをメイン画面に合わせる（ダーク） */
.footer {
    background: rgba(0, 5, 14, 0.96);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-section h3 { color: #fff; }
.footer-section a:hover { color: var(--cyan); }

/* モバイル：1120px 以下でナビを折りたたむ（メイン画面と同じ挙動） */
.mobile-menu { display: none; }

@media (max-width: 1120px) {
    body.mobile-nav-open { overflow: hidden; }

    .header-content { width: min(100% - 36px, 1450px); }

    .nav { display: none; }
    .header .social-icons { display: none; }

    .mobile-menu {
        display: inline-flex;
        width: 44px;
        height: 44px;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 5px;
        border: 1px solid rgba(255, 255, 255, 0.14);
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.04);
        cursor: pointer;
    }

    .mobile-menu span {
        width: 18px;
        height: 2px;
        margin: 0 auto;
        border-radius: 2px;
        background: #fff;
        transition: all 0.3s ease;
    }

    body.mobile-nav-open .nav {
        display: flex;
        position: fixed;
        top: 78px;
        left: 18px;
        right: 18px;
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        max-height: calc(100vh - 96px);
        overflow-y: auto;
        padding: 18px;
        border: 1px solid rgba(0, 215, 255, 0.18);
        border-radius: 18px;
        background: rgba(1, 10, 25, 0.96);
        box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
        z-index: 1500;
        animation: none;
    }

    body.mobile-nav-open .nav-item {
        width: 100%;
        min-height: 0;
        padding: 8px 4px;
        font-size: 1rem;
    }

    body.mobile-nav-open .dropdown { width: 100%; }

    body.mobile-nav-open .dropdown-menu {
        position: static;
        display: block;
        min-width: 0;
        width: 100%;
        margin-top: 4px;
        padding: 4px 0 4px 14px;
        border: 0;
        background: transparent;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    body.mobile-nav-open .mobile-menu span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    body.mobile-nav-open .mobile-menu span:nth-child(2) { opacity: 0; }
    body.mobile-nav-open .mobile-menu span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* 写真未登録カードの「未写真」プレースホルダ（道具・リール一覧で共有） */
.image-placeholder.no-photo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: #4b5563;
    color: #d1d5db;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 1px;
}