@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700&display=swap');

:root {
    --primary-color: #0056b3;
    /* Ice Blue/Deep Blue */
    --accent-color: #e6f7ff;
    /* Light Ice */
    --text-color: #333;
    --text-light: #666;
    --card-bg: rgba(255, 255, 255, 0.85);
    --bg-gradient: linear-gradient(135deg, #a1c4fd 0%, #c2e9fb 100%);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    background: var(--bg-gradient);
    color: var(--text-color);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
}

/* Background patterns or texture could go here if needed */

.container {
    max-width: 1000px;
    width: 100%;
    margin: 0 auto;
}

/* Header */
header {
    text-align: center;
    margin-bottom: 2rem;
    padding: 1rem;
}

header img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
}

/* Hero Section */
.hero {
    text-align: center;
    margin-bottom: 3rem;
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.15);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.hero img {
    max-width: 100%;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
}

/* Menu Grid */
.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.menu-card {
    display: flex;
    align-items: center;
    background: var(--card-bg);
    padding: 1.5rem;
    border-radius: 12px;
    text-decoration: none;
    color: var(--text-color);
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.menu-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    background: rgba(255, 255, 255, 0.95);
}

.menu-card .icon {
    margin-right: 1rem;
    flex-shrink: 0;
}

.menu-card .icon img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.menu-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.2rem;
    color: var(--primary-color);
}

.menu-card p {
    font-size: 0.85rem;
    color: var(--text-light);
    margin: 0;
}

/* News Section */
.news-section {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 16px;
    margin-bottom: 3rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.05);
}

.news-section p {
    margin-bottom: 0.8rem;
    border-bottom: 1px dashed rgba(0, 0, 0, 0.1);
    padding-bottom: 0.5rem;
}

.news-section p:last-child {
    border-bottom: none;
}

.news-section a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.news-section a:hover {
    text-decoration: underline;
}

/* Techniques Section */
.section-title {
    text-align: center;
    font-size: 1.8rem;
    color: #fff;
    /* Contrast against dark/blue heavy background or just dark on light */
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.8);
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.tech-card {
    background: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s;
    display: flex;
    flex-direction: column;
}

.tech-card:hover {
    transform: translateY(-5px);
}

.tech-card-image {
    width: 100%;
    /* height: 200px; */
    /* Let height scale naturally */
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    border-bottom: 1px solid #f0f0f0;
}

.tech-card-image img {
    max-width: 100%;
    height: auto;
    max-height: 250px;
}

.tech-card-content {
    padding: 1.5rem;
}

.tech-card-content h3 {
    margin-bottom: 0.5rem;
}

.tech-card-content h3 a {
    color: var(--primary-color);
    text-decoration: none;
}

.tech-card-content p {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Footer / Lists */
.info-footer {
    background: rgba(0, 0, 0, 0.05);
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

.ad-container {
    text-align: center;
    margin: 2rem 0;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 8px;
}

@media (max-width: 600px) {

    .menu-grid,
    .tech-grid {
        grid-template-columns: 1fr;
    }
}