/* ==========================================================================
   変数定義 - プロジェクト全体で使用する設定
   ========================================================================== */
:root {
    --color-primary: #1A1A1A;
    --color-secondary: #333333;
    --color-accent: #666666;
    --color-accent-dark: #4a4a4a;
    --color-accent-light: #808080;
    --color-gold: #666666;
    --color-gold-light: #808080;

    --text-dark: #1A1A1A;
    --text-medium: #333333;
    --text-light: #666666;

    --bg-main: #ffffff;
    --bg-card: #ffffff;
    --bg-highlight: rgba(0, 0, 0, 0.03);

    --border-color: #e2e8f0;
    --border-light: rgba(0, 0, 0, 0.1);

    --shadow-card: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-card-hover: 0 4px 12px rgba(0, 0, 0, 0.12);
    --shadow-button: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-button-hover: 0 4px 12px rgba(0, 0, 0, 0.12);

    --container-max-width: 1200px;
    --grid-gap: 5rem;
    --grid-gap-mobile: 4rem;
    --card-padding: 2rem;
    --card-padding-mobile: 1.5rem;
    --border-radius-card: 10px;
    --border-radius-element: 6px;
    --border-radius-button: 30px;

    --font-primary: 'Noto Serif JP', 'Georgia', serif;
    --font-accent: 'Noto Serif JP', 'Georgia', serif;
    --font-elegant: 'Noto Serif JP', 'Georgia', serif;
    --line-height-normal: 1.7;
    --line-height-large: 1.8;
    --letter-spacing-normal: 0.03em;
    --letter-spacing-wide: 0.03em;
    --letter-spacing-wider: 0.03em;

    --transition-fast: all 0.3s ease;
    --transition-normal: all 0.4s cubic-bezier(0.215, 0.61, 0.355, 1);
    --transition-slow: all 0.6s cubic-bezier(0.215, 0.61, 0.355, 1);

    --hover-opacity: 0.8;
    --luxury-transition: 0.3s ease;
    --luxury-transition-slow: 0.5s ease;
    --luxury-glow: 0 0 8px rgba(0, 0, 0, 0.08);
    --luxury-gold-gradient: linear-gradient(135deg, #666666 0%, #808080 50%, #666666 100%);
}

/* ==========================================================================
   ベーススタイル - リセットとグローバルスタイル
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-main);
    color: var(--text-dark);
    font-family: var(--font-primary);
    line-height: var(--line-height-normal);
    overflow-x: hidden;
    cursor: none;
    font-weight: 400;
    letter-spacing: var(--letter-spacing-normal);
    top: 0 !important;
}

/* ==========================================================================
   プロジェクトカードシステム（コンパクト一覧表示）
   ========================================================================== */

.products-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 1.5rem;
    max-width: var(--container-max-width);
    margin: 0 auto;
}

.product-card {
    opacity: 1;
    visibility: visible;
    display: flex;
    flex-direction: column;
    background: var(--bg-card);
    border-radius: var(--border-radius-card);
    box-shadow: var(--shadow-card);
    border: 1px solid var(--border-light);
    transition: box-shadow var(--luxury-transition),
        transform var(--luxury-transition),
        border-color var(--luxury-transition);
    overflow: hidden;
    position: relative;
    width: 100%;
    box-sizing: border-box;
    cursor: pointer;
}

.product-card:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: var(--shadow-card-hover), var(--luxury-glow);
    border-color: rgba(201, 178, 125, 0.2);
}

/* サムネイル部分 */
.product-card__thumbnail {
    width: 100%;
    position: relative;
    height: 0;
    padding-bottom: 56.25%;
    /* 16:9 */
    overflow: hidden;
    background: var(--bg-highlight);
}

.product-card__thumb-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--luxury-transition-slow);
}

.product-card:hover .product-card__thumb-image {
    transform: scale(1.08);
}

/* サムネ上のジャンルバッジ */
.product-card__badge {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    background: var(--luxury-gold-gradient);
    background-size: 200% 200%;
    animation: luxuryGradient 6s linear infinite;
    color: white;
    padding: 0.2rem 0.6rem;
    border-radius: 12px;
    font-size: 0.6rem;
    font-weight: 500;
    letter-spacing: var(--letter-spacing-wide);
    box-shadow: var(--shadow-button);
    z-index: 2;
    text-transform: uppercase;
}

/* カード下部の情報エリア */
.product-card__info {
    padding: 0.8rem;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.product-card__title {
    color: var(--color-primary);
    font-size: 0.85rem;
    font-weight: 500;
    font-family: var(--font-accent);
    letter-spacing: var(--letter-spacing-normal);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0;
}

.product-card__year {
    font-size: 0.7rem;
    color: var(--text-light);
    font-family: var(--font-primary);
    font-weight: 300;
    line-height: 1;
}

/* ==========================================================================
   プロダクト詳細モーダル
   ========================================================================== */
.product-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}

.product-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.product-modal {
    background: var(--bg-card);
    border-radius: var(--border-radius-card);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
    max-width: 640px;
    width: 90%;
    max-height: 85vh;
    overflow-y: auto;
    position: relative;
    transform: translateY(30px) scale(0.95);
    transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}

.product-modal-overlay.active .product-modal {
    transform: translateY(0) scale(1);
}

.product-modal__close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(0, 0, 0, 0.08);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all var(--luxury-transition);
    color: var(--text-medium);
    font-size: 0.9rem;
}

.product-modal__close:hover {
    background: rgba(0, 0, 0, 0.15);
    transform: rotate(90deg);
}

.product-modal__content {
    padding: 2rem;
}

.product-modal__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.product-modal__year {
    font-size: 1.4rem;
    color: rgba(0, 0, 0, 0.15);
    font-family: var(--font-primary);
    font-weight: 300;
    line-height: 1;
}

.product-modal__badge {
    background: var(--luxury-gold-gradient);
    background-size: 200% 200%;
    animation: luxuryGradient 6s linear infinite;
    color: white;
    padding: 0.3rem 0.9rem;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: var(--letter-spacing-wide);
    text-transform: uppercase;
}

.product-modal__title {
    color: var(--color-primary);
    margin-bottom: 1.2rem;
    font-size: 1.5rem;
    font-weight: 500;
    font-family: var(--font-accent);
    letter-spacing: var(--letter-spacing-wide);
    padding-bottom: 10px;
    position: relative;
}

.product-modal__title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 1px;
    background: var(--luxury-gold-gradient);
    background-size: 200% 200%;
    animation: luxuryGradient 6s ease-in-out infinite;
}

.product-modal__image-container {
    width: 100%;
    position: relative;
    height: 0;
    padding-bottom: 56.25%;
    margin-bottom: 1.5rem;
    overflow: hidden;
    border-radius: var(--border-radius-element);
    background: var(--bg-main);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.04);
}

.product-modal__image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-modal__description {
    background: var(--bg-highlight);
    border-radius: var(--border-radius-element);
    padding: 1.5rem;
    color: var(--text-medium);
    line-height: var(--line-height-large);
    font-weight: 300;
    margin-bottom: 1.5rem;
}

.product-modal__text {
    margin-bottom: 1rem;
}

.product-modal__highlights {
    margin-top: 1rem;
    border-top: 1px solid var(--border-color);
    padding-top: 1rem;
}

.product-modal__highlight-title {
    display: flex;
    align-items: center;
    font-weight: 600;
    color: var(--color-primary);
    font-size: 1rem;
    letter-spacing: var(--letter-spacing-wide);
    font-family: var(--font-accent);
    margin-bottom: 0.5rem;
}

.product-modal__highlight-title i {
    display: inline-block;
    margin-right: 0.6rem;
    color: var(--color-gold);
    width: 1.2rem;
    text-align: center;
}

.product-modal__footer {
    display: flex;
    justify-content: flex-end;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.product-modal__button {
    background: linear-gradient(135deg, var(--color-accent-dark), var(--color-accent));
    color: white;
    text-decoration: none;
    padding: 0.7rem 1.5rem;
    border-radius: var(--border-radius-button);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: var(--letter-spacing-wide);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all var(--luxury-transition);
    box-shadow: var(--shadow-button);
    position: relative;
    overflow: hidden;
}

.product-modal__button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(255, 255, 255, 0.2) 50%,
            transparent 100%);
    transition: left 0.7s ease-in-out;
}

.product-modal__button:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-button-hover), 0 0 15px rgba(201, 178, 125, 0.3);
    background: linear-gradient(135deg, var(--color-accent), var(--color-accent-dark));
}

.product-modal__button:hover::before {
    left: 100%;
}

.product-modal__button i {
    transition: transform var(--luxury-transition);
}

.product-modal__button:hover i {
    transform: translateX(5px);
}

/* モーダル スクロールバー */
.product-modal::-webkit-scrollbar {
    width: 4px;
}

.product-modal::-webkit-scrollbar-track {
    background: transparent;
}

.product-modal::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.15);
    border-radius: 2px;
}

/* ==========================================================================
   プロダクトカード レスポンシブデザイン
   ========================================================================== */
@media (max-width: 992px) {
    .products-container {
        grid-template-columns: repeat(3, 1fr);
        grid-gap: 1.2rem;
    }
}

@media (max-width: 768px) {
    .products-container {
        grid-template-columns: repeat(2, 1fr);
        grid-gap: 1rem;
    }

    .product-card__badge {
        padding: 0.15rem 0.5rem;
        font-size: 0.55rem;
        top: 0.4rem;
        right: 0.4rem;
    }

    .product-card__info {
        padding: 0.6rem;
    }

    .product-card__title {
        font-size: 0.75rem;
    }

    .product-card__year {
        font-size: 0.6rem;
    }

    .product-modal__content {
        padding: 1.5rem;
    }

    .product-modal__title {
        font-size: 1.25rem;
    }

    .product-modal__button {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .products-container {
        grid-gap: 0.75rem;
    }

    .product-card__info {
        padding: 0.5rem;
    }

    .product-card__title {
        font-size: 0.7rem;
        -webkit-line-clamp: 2;
        line-clamp: 2;
    }

    .product-card__year {
        font-size: 0.55rem;
    }

    .product-card__badge {
        padding: 0.1rem 0.4rem;
        font-size: 0.5rem;
        border-radius: 8px;
    }

    .product-modal {
        width: 95%;
        max-height: 90vh;
    }

    .product-modal__content {
        padding: 1.2rem;
    }
}

/* ==========================================================================
   既存のスタイルは以下に残します（必要に応じて修正）
   ========================================================================== */
.hero {
    height: 100vh;
    min-height: 600px;
    background: linear-gradient(135deg, #16213e, #1a1a2e);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    display: none;
}

.hero::after {
    display: none;
}

@keyframes luxuryGlow {
    0% {
        opacity: 0.3;
    }

    50% {
        opacity: 0.7;
    }

    100% {
        opacity: 0.3;
    }
}

.hero-title {
    font-family: var(--font-primary) !important;
    font-size: 4.2rem;
    margin-bottom: 1.5rem;
    letter-spacing: var(--letter-spacing-normal);
    opacity: 1;
    font-weight: 400;
    text-transform: none;
    color: #ffffff;
    position: relative;
    display: inline-block;
}

.hero-title::before {
    content: '';
    position: absolute;
    width: 40px;
    height: 1px;
    background: var(--luxury-gold-gradient);
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    background-size: 200% 200%;
    animation: luxuryGradient 6s ease-in-out infinite;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    letter-spacing: var(--letter-spacing-normal);
    color: #f0f0f0;
    font-weight: 300;
    position: relative;
}

.hero-text {
    margin: 2rem 0;
    text-align: center;
}

.hero-text p {
    font-size: 1.1rem;
    margin: 0.8rem 0;
    opacity: 1;
    line-height: var(--line-height-large);
    font-weight: 300;
    color: rgba(255, 255, 255, 0.85);
}

.hero-text p:nth-child(1) {
    animation-delay: 1.2s;
}

.hero-text p:nth-child(2) {
    animation-delay: 1.5s;
}

.hero-skills {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.2rem;
    margin: 2rem 0;
    opacity: 0;
}

.skill-tag {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.6rem 1.5rem;
    border-radius: 30px;
    font-size: 0.95rem;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: var(--transition-normal);
    font-weight: 300;
    letter-spacing: 1px;
}

.skill-tag:hover {
    background: rgba(201, 178, 125, 0.15);
    transform: translateY(-3px);
    border-color: rgba(201, 178, 125, 0.3);
}

.hero-contact {
    position: absolute;
    bottom: 1.5rem;
    font-size: 1rem;
    opacity: 0;
    animation: fadeInUp 1.2s cubic-bezier(0.22, 0.61, 0.36, 1) 1.7s forwards;
}

.hero-contact a {
    color: var(--color-gold-light);
    text-decoration: none;
    border-bottom: 1px solid rgba(201, 178, 125, 0.3);
    padding-bottom: 2px;
    transition: var(--transition-normal);
    font-weight: 300;
    letter-spacing: 1px;
}

.hero-contact a:hover {
    border-bottom-color: var(--color-gold-light);
    color: white;
}

.scroll-indicator {
    margin-top: 2.5rem;
    color: white;
    text-align: center;
    opacity: 0;
    animation: fadeIn 1.2s cubic-bezier(0.22, 0.61, 0.36, 1) 1.9s forwards;
}

.scroll-indicator p {
    margin: 0.7rem 0;
    font-size: 0.85rem;
    letter-spacing: 2px;
    font-weight: 300;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
}

.mouse {
    width: 18px;
    height: 28px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 10px;
    margin: 0 auto;
    position: relative;
}

.wheel {
    width: 2px;
    height: 5px;
    background: rgba(255, 255, 255, 0.6);
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 5px;
    border-radius: 1px;
    animation: scrollWheel 2s infinite;
}

.scroll-arrows {
    width: 16px;
    height: 32px;
    margin: 0 auto;
    padding-top: 1rem;
}

.scroll-arrows span {
    width: 8px;
    height: 8px;
    margin: -4px auto;
}

main {
    margin: 0 auto;
    padding: 8rem 2rem;
    opacity: 1;
    visibility: visible;
}

/* ==========================================================================
   ごあいさつセクション
   ========================================================================== */
.greeting-section {
    max-width: var(--container-max-width);
    margin: 0 auto 8rem;
    text-align: center;
}

.greeting-content {
    max-width: 720px;
    margin: 0 auto;
    text-align: left;
}

.greeting-text {
    color: var(--text-dark);
    font-size: 1.1rem;
    line-height: var(--line-height-large);
    font-weight: 300;
    margin-bottom: 1.5rem;
    font-family: var(--font-primary);
    letter-spacing: var(--letter-spacing-normal);
}

.greeting-text:last-child {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .greeting-content {
        max-width: 100%;
        text-align: left;
    }

    .greeting-text {
        font-size: 1rem;
        margin-bottom: 1.2rem;
    }
}

.section-title {
    font-size: 2.4rem;
    margin-bottom: 6rem;
    color: var(--color-primary);
    text-align: center;
    position: relative;
    letter-spacing: var(--letter-spacing-normal);
    font-weight: 300;
    font-family: var(--font-primary);
}

.section-title::before {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 1px;
    background: var(--color-gold);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 1px;
    background: linear-gradient(90deg, rgba(201, 178, 125, 0), var(--color-gold), rgba(201, 178, 125, 0));
}

.filter-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin: 3rem 0;
    flex-wrap: wrap;
}

.filter-btn {
    background: var(--bg-main);
    border: 1px solid var(--border-color);
    padding: 0.7rem 1.8rem;
    border-radius: 30px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all var(--luxury-transition);
    color: var(--text-dark);
    font-weight: 400;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
    letter-spacing: 1px;
}

.filter-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(201, 178, 125, 0.1) 50%,
            transparent 100%);
    transition: left 0.7s ease-in-out;
}

.filter-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.05);
    border-color: rgba(201, 178, 125, 0.2);
    color: var(--color-primary);
}

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

.filter-btn.active {
    background: var(--luxury-gold-gradient);
    background-size: 200% 200%;
    animation: luxuryGradient 6s linear infinite;
    color: white;
    border-color: transparent;
    box-shadow: 0 6px 20px rgba(201, 178, 125, 0.2);
}

.filter-btn.active::before {
    display: none;
}

footer {
    text-align: center;
    margin-top: 6rem;
    padding: 3.5rem 2rem;
    background: var(--bg-main);
    color: var(--text-dark);
    opacity: 1;
    visibility: visible;
    display: block;
    position: relative;
    z-index: 1;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.social-links {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
}

.social-link {
    color: var(--text-dark);
    font-size: 1.5rem;
    opacity: 0.7;
    transition: var(--transition-normal);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: transparent;
    border: 1px solid var(--border-color);
}

.social-link:hover {
    opacity: 1;
    transform: translateY(-5px);
    background: var(--bg-highlight);
    border-color: var(--text-medium);
    color: var(--text-dark);
}

footer p {
    opacity: 0.7;
    font-size: 0.9rem;
    letter-spacing: 1.5px;
    font-weight: 300;
    margin-top: 1rem;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-25px);
    }

    50% {
        opacity: 0.85;
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(25px);
    }

    50% {
        opacity: 0.85;
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    50% {
        opacity: 0.7;
    }

    to {
        opacity: 1;
    }
}

@keyframes scrollWheel {
    0% {
        opacity: 0.8;
        transform: translateX(-50%) translateY(0);
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(25px);
    }
}

@keyframes scrollArrow {
    0% {
        opacity: 0;
        transform: rotate(45deg) translate(-8px, -8px);
    }

    50% {
        opacity: 1;
        transform: rotate(45deg) translate(-3px, -3px);
    }

    100% {
        opacity: 0;
        transform: rotate(45deg) translate(8px, 8px);
    }
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color-primary);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

body.loading {
    overflow: hidden;
}

body:not(.loading) #loading-screen {
    opacity: 0;
    pointer-events: none;
}

.loader {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.loader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.loader-circle {
    width: 60px;
    height: 60px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-top: 2px solid var(--color-gold);
    border-radius: 50%;
    animation: spin 1.5s linear infinite;
    margin-bottom: 20px;
}

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

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

@keyframes complete-spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(720deg);
        border-color: var(--color-gold);
        box-shadow: 0 0 15px rgba(201, 178, 125, 0.5);
    }
}

.loader-text {
    font-family: var(--font-primary);
    font-size: 1rem;
    letter-spacing: 3px;
    color: #ffffff;
    font-weight: 300;
    transition: color 0.5s ease, transform 0.5s ease;
}

.cursor-dot {
    width: 4px;
    height: 4px;
    background-color: var(--color-gold);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.15s ease, background-color 0.3s ease;
    mix-blend-mode: difference;
}

.cursor-outline {
    width: 30px;
    height: 30px;
    border: 1px solid var(--color-gold);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9998;
    transition: transform 0.4s ease, width 0.4s ease, height 0.4s ease, border-color 0.4s ease;
    opacity: 0.6;
}

a:hover~.cursor-dot,
button:hover~.cursor-dot,
.product-card:hover~.cursor-dot {
    transform: scale(3);
    background-color: var(--color-gold);
}

a:hover~.cursor-outline,
button:hover~.cursor-outline,
.product-card:hover~.cursor-outline {
    transform: scale(1.5);
    border-color: var(--color-gold);
    width: 45px;
    height: 45px;
}

.view-btn:hover~.cursor-dot {
    transform: scale(4);
    background-color: white;
}

.image-container:hover~.cursor-dot {
    transform: scale(3);
    background-color: white;
}

.product-card[data-aos] {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.5s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.product-card[data-aos].aos-animate {
    opacity: 1;
    transform: translateY(0);
}

.product-card img {
    opacity: 1;
    visibility: visible;
    display: block;
}

[data-aos="fade-up"] {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.22, 0.61, 0.36, 1);
}

[data-aos="fade-up"].aos-animate {
    opacity: 1;
    transform: translateY(0);
}

[data-aos="zoom-in"] {
    transform: scale(0.95);
    opacity: 0;
    transition: all 1.8s cubic-bezier(0.22, 0.61, 0.36, 1);
}

[data-aos="zoom-in"].aos-animate {
    transform: scale(1);
    opacity: 1;
}


[data-aos],
[data-aos] *,
[data-aos][data-aos-duration="1000"],
[data-aos^=fade][data-aos^=fade],
[data-aos][data-aos][data-aos-easing=ease-in-out],
.aos-animate {
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
}

.hero-text-item {
    font-size: 1.1rem;
    margin: 0.8rem 0;
    opacity: 1;
    line-height: 1.8;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.9);
}

@keyframes luxuryGradient {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

@keyframes subtleFloat {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }

    100% {
        transform: translateY(0);
    }
}

.visible {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

.hero {
    height: 100vh;
    min-height: 600px;
    background: linear-gradient(135deg, var(--color-secondary), var(--color-primary));
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    display: none;
}

.hero::after {
    display: none;
}

@keyframes luxuryGlow {
    0% {
        opacity: 0.3;
    }

    50% {
        opacity: 0.7;
    }

    100% {
        opacity: 0.3;
    }
}

.hero-title {
    font-family: var(--font-primary) !important;
    font-size: 4.2rem;
    margin-bottom: 1.5rem;
    letter-spacing: var(--letter-spacing-normal);
    opacity: 1;
    font-weight: 400;
    text-transform: none;
    color: #ffffff;
    position: relative;
    display: inline-block;
}

.hero-title::before {
    content: '';
    position: absolute;
    width: 40px;
    height: 1px;
    background: var(--luxury-gold-gradient);
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    background-size: 200% 200%;
    animation: luxuryGradient 6s ease-in-out infinite;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    letter-spacing: var(--letter-spacing-normal);
    color: #f0f0f0;
    font-weight: 300;
    position: relative;
}

/* .product-card__inner は新レイアウトで不使用 */

.section-title {
    font-size: 2.4rem;
    margin-bottom: 6rem;
    color: var(--color-primary);
    text-align: center;
    position: relative;
    letter-spacing: var(--letter-spacing-normal);
    font-weight: 300;
    font-family: var(--font-primary);
}

.section-title::before {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 1px;
    background: var(--color-gold);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 1px;
    background: linear-gradient(90deg, rgba(201, 178, 125, 0), var(--color-gold), rgba(201, 178, 125, 0));
}

.filter-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin: 3rem 0;
    flex-wrap: wrap;
}

.filter-btn {
    background: var(--bg-main);
    border: 1px solid var(--border-color);
    padding: 0.7rem 1.8rem;
    border-radius: 30px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all var(--luxury-transition);
    color: var(--text-dark);
    font-weight: 400;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
    letter-spacing: 1px;
}

.filter-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(201, 178, 125, 0.1) 50%,
            transparent 100%);
    transition: left 0.7s ease-in-out;
}

.filter-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.05);
    border-color: rgba(201, 178, 125, 0.2);
    color: var(--color-primary);
}

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

.filter-btn.active {
    background: var(--luxury-gold-gradient);
    background-size: 200% 200%;
    animation: luxuryGradient 6s linear infinite;
    color: white;
    border-color: transparent;
    box-shadow: 0 6px 20px rgba(201, 178, 125, 0.2);
}

.filter-btn.active::before {
    display: none;
}

#google_translate_element {
    display: none;
}

.goog-te-banner-frame {
    display: none !important;
}

body {
    top: 0 !important;
}

.goog-text-highlight {
    background-color: transparent !important;
    box-shadow: none !important;
}

.skiptranslate {
    display: none !important;
}

.goog-te-gadget {
    display: none !important;
}

.goog-te-gadget img {
    display: none !important;
}

.goog-te-menu-value span {
    display: none !important;
}

.goog-te-gadget-simple {
    display: none !important;
}


.notranslate {
    white-space: nowrap !important;
    display: inline-block;
    font-family: inherit;
}

#google_translate_element {
    display: none;
}

.news-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 2rem;
    max-width: var(--container-max-width);
    margin: 0 auto 3rem;
}

.news-card {
    background: var(--bg-card);
    border-radius: var(--border-radius-card);
    box-shadow: var(--shadow-card);
    border: 1px solid var(--border-light);
    transition: box-shadow var(--luxury-transition),
        transform var(--luxury-transition),
        border-color var(--luxury-transition);
    overflow: hidden;
    position: relative;
    padding: 1.5rem;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-card-hover), var(--luxury-glow);
    border-color: rgba(201, 178, 125, 0.2);
}

.news-card__date {
    color: var(--color-accent);
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 0.7rem;
    letter-spacing: var(--letter-spacing-wide);
}

.news-card__title {
    color: var(--color-primary);
    font-size: 1.25rem;
    font-weight: 500;
    margin-bottom: 0.7rem;
    font-family: var(--font-accent);
    letter-spacing: var(--letter-spacing-normal);
    line-height: 1.4;
}

.news-card__text {
    color: var(--text-medium);
    font-size: 0.95rem;
    line-height: var(--line-height-normal);
}

.news-card__link {
    display: inline-flex;
    align-items: center;
    margin-top: 0.8rem;
    color: var(--color-accent);
    text-decoration: underline;
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition-fast);
}

.news-card__link:hover {
    color: var(--color-accent-dark);
    text-decoration: underline;
}

.news-card__link i {
    margin-left: 0.4rem;
    font-size: 0.8rem;
    transition: transform var(--transition-fast);
}

.news-card__link:hover i {
    transform: translateX(3px);
}

.more-news {
    text-align: center;
    margin: 0 auto 5rem;
    max-width: var(--container-max-width);
}

.more-news__link {
    display: inline-flex;
    align-items: center;
    color: var(--color-accent);
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition-fast);
    position: relative;
    padding: 0.5rem 1rem;
}

.more-news__link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--luxury-gold-gradient);
    transition: width var(--luxury-transition);
}

.more-news__link:hover {
    color: var(--color-accent-dark);
}

.more-news__link:hover::after {
    width: 100%;
}

.more-news__link i {
    margin-left: 0.5rem;
    font-size: 0.85rem;
    transition: transform var(--transition-fast);
}

.more-news__link:hover i {
    transform: translateX(4px);
}

@media (max-width: 768px) {
    .news-container {
        grid-template-columns: 1fr;
    }
}

.google-translate-container {
    display: none;
    position: absolute;
    left: -9999px;
    top: -9999px;
}

body {
    top: 0 !important;
}

.goog-te-banner-frame {
    display: none !important;
}

.goog-te-menu-value:hover {
    text-decoration: none !important;
}

.goog-te-gadget-icon {
    display: none !important;
}

.goog-te-gadget-simple {
    background-color: transparent !important;
    border: none !important;
}

.contact-section {
    padding: 5rem 0;
    background: var(--color-bg);
    position: relative;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--luxury-gold-gradient);
    opacity: 0.3;
}

.contact-description {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    color: var(--color-text-light);
    font-size: 1.1rem;
    line-height: 1.6;
}

.contact-form {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    background: var(--color-card-bg);
    border-radius: 5px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.contact-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--luxury-gold-gradient);
    background-size: 200% 200%;
    animation: luxuryGradient 6s ease-in-out infinite;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--color-text);
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: var(--letter-spacing-wide);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid rgba(201, 178, 125, 0.2);
    border-radius: 3px;
    background-color: var(--color-input-bg);
    color: var(--color-text);
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 2px rgba(201, 178, 125, 0.1);
}

.form-submit {
    text-align: center;
    margin-top: 2rem;
}

.submit-btn {
    padding: 0.8rem 2.5rem;
    border: none;
    border-radius: 3px;
    background: var(--luxury-gold-gradient);
    background-size: 200% 200%;
    color: #ffffff;
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: var(--letter-spacing-wide);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    animation: luxuryGradient 6s ease-in-out infinite;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(201, 178, 125, 0.2);
}

.submit-btn:active {
    transform: translateY(0);
}

.form-status {
    margin-top: 2rem;
    text-align: center;
}

.success-message,
.error-message {
    display: none;
    padding: 1rem;
    border-radius: 3px;
    font-size: 0.9rem;
}

.success-message {
    background-color: rgba(76, 175, 80, 0.1);
    color: #4CAF50;
    border: 1px solid rgba(76, 175, 80, 0.2);
}

.error-message {
    background-color: rgba(244, 67, 54, 0.1);
    color: #F44336;
    border: 1px solid rgba(244, 67, 54, 0.2);
}

@media (max-width: 768px) {
    .contact-form {
        padding: 1.5rem;
    }

    .form-group input,
    .form-group textarea {
        padding: 0.8rem;
    }

    .submit-btn {
        width: 100%;
    }
}

.recaptcha-container {
    display: none;
}

.g-recaptcha {
    display: none;
}

.recaptcha-notice {
    display: none;
}

.news-archive-container {
    display: grid;
    grid-template-columns: 1fr;
    grid-gap: 2rem;
    max-width: var(--container-max-width);
    margin: 0 auto 5rem;
}

.back-to-home {
    text-align: center;
    margin: 3rem auto;
}

.back-to-home a {
    display: inline-flex;
    align-items: center;
    color: var(--color-accent);
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition-fast);
    position: relative;
    padding: 0.5rem 1rem;
}

.back-to-home a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--luxury-gold-gradient);
    transition: width var(--luxury-transition);
}

.back-to-home a:hover {
    color: var(--color-accent-dark);
}

.back-to-home a:hover::after {
    width: 100%;
}

.back-to-home a i {
    margin-right: 0.5rem;
    font-size: 0.85rem;
    transition: transform var(--transition-fast);
}

.back-to-home a:hover i {
    transform: translateX(-4px);
}

.news-year {
    margin: 3rem 0 1.5rem;
    font-size: 1.8rem;
    color: var(--color-primary);
    font-family: var(--font-accent);
    letter-spacing: var(--letter-spacing-wide);
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

.news-year::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 1px;
    background: var(--luxury-gold-gradient);
    background-size: 200% 200%;
    animation: luxuryGradient 6s ease-in-out infinite;
}

/* タッチデバイス向けスタイル調整 */
@media (hover: none) and (pointer: coarse) {
    body {
        cursor: auto !important;
        /* デフォルトカーソルを強制的に表示 */
    }

    .cursor-dot,
    .cursor-outline {
        display: none !important;
        /* カスタムカーソルを非表示 */
    }
}

/* コンテナの共通スタイル */
.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
    box-sizing: border-box;
}

/* レスポンシブデザイン調整 */
@media (max-width: 768px) {
    main {
        padding: 4rem 1.5rem;
    }

    .container {
        padding: 0 1.5rem;
    }

    .news-container,
    .news-archive-container,
    .products-container,
    .contact-form {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

@media (max-width: 480px) {
    main {
        padding: 3rem 1.25rem;
    }

    .container {
        padding: 0 1.25rem;
    }

    .news-container,
    .news-archive-container,
    .products-container,
    .contact-form {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }
}

.hero-content {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    text-align: center;
    position: relative;
    z-index: 10;
    max-width: 800px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .hero-content {
        padding: 2rem 3rem;
    }
}

@media (max-width: 480px) {
    .hero-content {
        padding: 1.5rem 2rem;
    }
}

.greeting-content hr {
    border: none;
    border-top: 1px solid var(--border-color);
    margin: 2rem 0;
}

.greeting-content ul {
    list-style: none;
    padding-left: 0;
}

.greeting-content ul li {
    position: relative;
    padding-left: 1.5em;
    margin-bottom: 1rem;
}

.greeting-content ul li::before {
    content: "・";
    position: absolute;
    left: 0;
    color: var(--color-accent);
}