:root {
    --primary-blue: #001f3f; /* より深みのあるネイビー */
    --secondary-blue: #003366;
    --accent-red: #cc2222;
    --accent-gold: #ffcc00;
    --bg-dark: #050510; /* ほぼ黒に近い紺 */
    --bg-light: #ffffff;
    --text-main: #333333;
    --text-white: #ffffff;
    --font-heading: 'Inter', 'Noto Sans JP', sans-serif;
    --font-body: 'Roboto', 'Noto Sans JP', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

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

/* 80s Retro Grid Effect - 繊細な質感へ修正 */
.hero-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(rgba(5, 5, 20, 0.3) 0%, rgba(5, 5, 20, 0.7) 100%),
        repeating-linear-gradient(0deg, rgba(0, 116, 217, 0.05) 0px, rgba(0, 116, 217, 0.05) 1px, transparent 1px, transparent 3px);
    z-index: 1;
}

header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 15px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(5, 5, 15, 0.7); /* ダークで透ける質感 */
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1000;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-container img {
    height: 45px;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 35px;
}

nav ul li a {
    text-decoration: none;
    color: var(--text-white);
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: all 0.3s;
    position: relative;
    opacity: 0.8;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-red);
    transition: width 0.3s;
}

nav ul li a:hover::after {
    width: 100%;
}

.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background-image: url('../images/hero_studio.jpg');
    background-size: cover;
    background-position: center;
    color: var(--text-white);
    text-align: center;
}

.hero-content {
    position: relative;
    z-index: 5;
    max-width: 1000px;
}

.hero-logo {
    margin-bottom: 40px;
    animation: floating 3s ease-in-out infinite;
}

.hero-logo img {
    max-width: 600px;
    width: 90%;
    height: auto;
    filter: drop-shadow(0 0 30px rgba(0, 31, 63, 0.6)); /* ブルー系のシャドウで馴染ませる */
}

@keyframes floating {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

.hero-content h1 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 25px;
    text-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.hero-content p {
    font-size: clamp(1rem, 2vw, 1.4rem);
    margin-bottom: 45px;
    font-weight: 400;
    opacity: 0.9;
    letter-spacing: 0.05em;
}

.btn-primary {
    display: inline-block;
    padding: 18px 45px;
    background: var(--primary-blue);
    color: white;
    text-decoration: none;
    font-weight: 800;
    border-radius: 2px; /* 80s風の少し硬い角 */
    box-shadow: 5px 5px 0 var(--accent-red); /* 80s風のオフセットシャドウ */
    transition: all 0.2s;
}

.btn-primary:hover {
    transform: translate(2px, 2px);
    box-shadow: 2px 2px 0 var(--accent-red);
}

section {
    padding: 120px 10%;
}

.section-title {
    margin-bottom: 80px;
    text-align: center;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--primary-blue);
    font-weight: 800;
    margin-bottom: 15px;
    display: inline-block;
    border-bottom: 5px solid var(--accent-red);
}

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

.card {
    background: #fff;
    padding: 50px;
    border: 1px solid #eee;
    transition: all 0.4s;
    position: relative;
}

.card:hover {
    border-color: var(--primary-blue);
    box-shadow: 20px 20px 60px #bebebe, -20px -20px 60px #ffffff;
}

.card h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--primary-blue);
}

/* Ladiroid Specific Card Styling */
.card.featured {
    border: 2px solid var(--primary-blue);
    background: linear-gradient(to bottom right, #ffffff, #f0f7ff);
}

.ladiroid-badge {
    position: absolute;
    top: -15px;
    right: 20px;
    background: var(--primary-blue);
    color: white;
    padding: 5px 15px;
    font-size: 0.8rem;
    font-weight: bold;
}

form {
    background: #fff;
    padding: 40px;
    border-radius: 2px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.05);
}

input, textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    outline: none;
    font-family: inherit;
}

footer {
    background: var(--bg-dark);
    color: white;
    padding: 80px 10% 30px;
}

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

.media-banner {
    background: linear-gradient(135deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0) 100%);
    padding: 60px;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 2px;
    position: relative;
    overflow: hidden;
}

.media-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 116, 217, 0.1) 0%, transparent 70%);
    z-index: 0;
}

@media (max-width: 768px) {
    header { padding: 15px 20px; }
    nav { display: none; }
    .media-banner { padding: 30px; }
}
