:root {
    --primary: #00A0E9;
    --accent: #FFB300;
    --bg-light: #F4FAFD;
    --text-main: #333333;
    --text-sub: #666666;
    --white: #ffffff;
}

/* Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    color: var(--text-main);
    line-height: 1.8;
    background: #fff;
    overflow-x: hidden;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.site-header {
    height: 90px;
    background: #fff;
    border-bottom: 4px solid var(--primary);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-container {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 30px;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary);
    font-family: 'M PLUS Rounded 1c';
    line-height: 1;
}

.logo-sub {
    font-size: 0.6rem;
    color: var(--text-sub);
    display: block;
    margin-top: 5px;
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

.main-nav a {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 700;
    font-size: 0.9rem;
}

/* Search Form */
.search-form {
    display: flex;
    align-items: center;
    background: var(--bg-light);
    border: 2px solid var(--primary);
    border-radius: 50px;
    padding: 4px 12px;
}

.search-form input {
    border: none;
    background: transparent;
    outline: none;
    padding: 4px;
    font-size: 0.8rem;
    width: 150px;
}

.search-form button {
    background: transparent;
    border: none;
    cursor: pointer;
    color: var(--primary);
}

/* Hero */
.hero {
    height: 60vh;
    background: linear-gradient(135deg, #E1F5FE 0%, #B3E5FC 100%);
    position: relative;
    display: flex;
    align-items: center;
}

.hero-bg-decoration {
    position: absolute;
    width: 400px;
    height: 400px;
    background: #fff;
    border-radius: 50%;
    opacity: 0.3;
    right: 5%;
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 600px;
}

.hero-content h2 {
    font-size: 3.5rem;
    color: var(--primary);
    font-family: 'M PLUS Rounded 1c';
    line-height: 1.2;
    margin-bottom: 20px;
}

.highlight {
    color: #fff;
    text-shadow: 2px 2px 0 var(--primary);
}

.btn-primary {
    display: inline-block;
    padding: 15px 45px;
    background: var(--primary);
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 800;
    box-shadow: 0 4px 0 #007bb4;
    transition: 0.3s;
}

.wave-divider {
    position: absolute;
    bottom: -2px;
    width: 100%;
    fill: var(--bg-light);
    line-height: 0;
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.en-title {
    display: block;
    font-size: 0.85rem;
    color: var(--primary);
    font-weight: 800;
    letter-spacing: 0.4em;
    margin-bottom: 12px;
}

.jp-title {
    font-size: 2.2rem;
    font-family: 'M PLUS Rounded 1c', sans-serif;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 15px;
}

.header-line {
    width: 40px;
    height: 4px;
    background: var(--accent);
    margin: 0 auto 20px;
    border-radius: 2px;
}

.section-lead {
    font-size: 1rem;
    color: var(--text-sub);
    line-height: 1.8;
}

/* Lineup */
.lineup-section {
    padding: 100px 0;
    background: var(--bg-light);
}

.category-nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    /* 商品が増えるため折り返し可能に */
    gap: 12px;
    margin-bottom: 40px;
}

.cat-btn {
    padding: 8px 22px;
    border: 2px solid var(--primary);
    background: transparent;
    color: var(--primary);
    border-radius: 50px;
    font-weight: 800;
    cursor: pointer;
    transition: 0.3s;
}

.cat-btn.active,
.cat-btn:hover {
    background: var(--primary);
    color: #fff;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    /* 少し横幅を広げました */
    gap: 30px;
}

.p-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: 0.3s;
}

.p-card:hover {
    transform: translateY(-10px);
}

.p-img {
    height: 220px;
    /* 画像エリアを少し大きく調整 */
}

.p-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.p-info {
    padding: 25px;
}

.p-tag {
    font-size: 0.7rem;
    font-weight: 800;
    color: #fff;
    padding: 2px 10px;
    border-radius: 4px;
    margin-bottom: 10px;
    display: inline-block;
}

.tag-standard {
    background: var(--primary);
}

.tag-limited {
    background: var(--accent);
}

.p-card h5 {
    color: var(--primary);
    margin-bottom: 10px;
    font-family: 'M PLUS Rounded 1c';
    font-size: 1.2rem;
}

/* Quality & Footer */
.quality-section {
    padding: 100px 0 160px;
    background: #fff;
}

.quality-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    text-align: center;
}

.quality-item .icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 15px;
}

.quality-item h4 {
    color: var(--primary);
    margin-bottom: 10px;
    font-family: 'M PLUS Rounded 1c';
}

.site-footer {
    background: var(--primary);
    color: #fff;
    position: relative;
    padding: 60px 0 40px;
    margin-top: 100px;
}

.footer-wave {
    position: absolute;
    top: -99px;
    left: 0;
    width: 100%;
    height: 100px;
    fill: var(--primary);
    line-height: 0;
}

.footer-grid {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
}

.footer-logo {
    font-size: 2.2rem;
    font-family: 'M PLUS Rounded 1c';
    margin-bottom: 10px;
}

.footer-links-group {
    display: flex;
    gap: 40px;
}

.footer-col h5 {
    color: var(--accent);
    margin-bottom: 15px;
    font-size: 1rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col a {
    color: #fff;
    text-decoration: none;
    font-size: 0.85rem;
    opacity: 0.8;
    transition: 0.3s;
}

.footer-col a:hover {
    opacity: 1;
    text-decoration: underline;
}

.copyright {
    text-align: center;
    font-size: 0.75rem;
    opacity: 0.6;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

/* Responsive */
@media (max-width: 768px) {
    .header-right {
        display: none;
    }

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

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

    .footer-grid {
        flex-direction: column;
        gap: 30px;
    }
}

/* Legal & Profile Pages */
.legal-page {
    padding: 80px 0;
    background-color: #fff;
    line-height: 2;
}

.legal-content h4 {
    color: var(--primary);
    margin: 40px 0 15px;
    font-size: 1.2rem;
    border-left: 4px solid var(--accent);
    padding-left: 15px;
}

.legal-content p {
    margin-bottom: 20px;
    color: var(--text-sub);
}

/* 会社概要テーブルの装飾 */
.profile-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 40px;
    border-top: 2px solid var(--primary);
}

.profile-table th {
    width: 25%;
    background-color: var(--bg-light);
    color: var(--primary);
    padding: 20px;
    text-align: left;
    border-bottom: 1px solid #eee;
    font-weight: 700;
}

.profile-table td {
    padding: 20px;
    border-bottom: 1px solid #eee;
    color: var(--text-main);
}

@media (max-width: 768px) {

    .profile-table th,
    .profile-table td {
        display: block;
        width: 100%;
    }

    .profile-table th {
        padding-bottom: 5px;
    }
}

/* History Section */
.history-list {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 0;
    border-top: 1px solid #eee;
}

.history-item {
    display: flex;
    padding: 20px 0;
    border-bottom: 1px solid #f0f0f0;
    align-items: baseline;
}

.history-year {
    flex: 0 0 120px;
    font-weight: 800;
    color: var(--primary);
    font-family: 'M PLUS Rounded 1c';
}

.history-event {
    flex: 1;
    color: var(--text-main);
    font-size: 0.95rem;
}

@media (max-width: 600px) {
    .history-item {
        flex-direction: column;
    }

    .history-year {
        margin-bottom: 5px;
    }
}