/*
Theme Name: SAKENOVA BREWERY
Theme URI:  https://sakenova.com/
Author:      株式会社サケアイ
Author URI:  https://sakeai.co.jp/
Description: 静的LPをもとにした SAKE ブランド向けオリジナルテーマ
Version:     1.0.0
License:     GNU General Public License v2 or later
Text Domain: sakenova
Tags: custom-logo, responsive-layout, accessibility-ready
*/

/* ここからは既存のスタイルを適用 */
:root {
    /* カラーパレット - index.htmlと完全一致 */
    --color-black: #000000;
    --color-dark: #1a1a1a;
    --color-gold: #c9a063;
    --color-light-gold: #e6d2b5;
    --color-white: #ffffff;
    --color-off-white: #f9f8f6;
    --color-gray: #707070;
    --color-light-gray: #e5e5e5;
    
    /* フォント */
    --font-sans: 'Noto Sans JP', sans-serif;
    --font-serif: 'Noto Serif JP', serif;
}

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

html {
    font-size: 62.5%;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    font-size: 1.6rem;
    line-height: 1.7;
    color: var(--color-dark);
    background-color: var(--color-white);
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--color-gold);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul, ol {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-title {
    font-family: var(--font-serif);
    font-size: 3.6rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    margin-bottom: 5rem;
    text-align: center;
    position: relative;
}

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

.btn {
    display: inline-block;
    background-color: var(--color-dark);
    color: var(--color-white);
    padding: 1.2rem 3rem;
    font-size: 1.4rem;
    letter-spacing: 0.1em;
    border: 1px solid var(--color-dark);
    transition: all 0.3s ease;
}

.btn:hover {
    background-color: transparent;
    color: var(--color-dark);
}

/* ヘッダー */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(0, 0, 0, 0.95);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

/* ヘッダーのロゴスタイルを強制的に適用（アニメーションより優先） */
.site-header .logo {
    display: block !important;
    visibility: visible !important;
    transform: none !important;
    opacity: 1 !important;
    z-index: 100;
    transition: none !important;
    animation: none !important;
    position: relative !important;
    width: auto !important;
    height: auto !important;
}

.site-header .logo a,
.site-header .logo a img {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    transition: none !important;
    animation: none !important;
    position: relative !important;
    max-width: 180px !important;
    width: 100% !important;
}

.logo a {
    display: block;
}

.main-nav ul {
    display: flex;
    gap: 4rem;
}

.main-nav a {
    font-size: 1.4rem;
    letter-spacing: 0.1em;
    position: relative;
    color: var(--color-white);
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--color-gold);
    transition: width 0.3s ease;
}

.main-nav a:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--color-white);
    transition: all 0.3s ease;
}

/* コンセプトセクション */
.concept {
    padding: 10rem 0;
    background-color: var(--color-off-white);
}

.concept-content {
    display: flex;
    gap: 6rem;
    align-items: center;
}

.concept-text {
    flex: 1;
}

.concept-text h3 {
    font-family: var(--font-serif);
    font-size: 3rem;
    font-weight: 500;
    line-height: 1.4;
    margin-bottom: 3rem;
}

.concept-text h3 .en-title {
    display: block;
    font-size: 2rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    margin-top: 0.5rem;
    color: var(--color-gold);
}

.concept-text p {
    margin-bottom: 2rem;
    font-size: 1.6rem;
    line-height: 1.8;
}

.concept-image {
    flex: 1;
    overflow: hidden;
}

.concept-image img {
    transition: all 0.8s ease;
}

.concept-image img:hover {
    transform: scale(1.05);
}

.concept-motto-container {
    margin-top: 8rem;
    padding: 0 2rem;
}

.concept-motto {
    max-width: 800px;
    margin: 0 auto;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding: 4rem 2rem;
    text-align: center;
}

.concept-motto .motto-text {
    display: block;
    font-family: var(--font-serif);
    font-size: 2.8rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    letter-spacing: 0.1em;
}

.concept-motto p {
    font-size: 1.6rem;
    line-height: 1.8;
    margin-bottom: 0;
    color: var(--color-gray);
}

/* ブランドセクション */
.products {
    padding: 10rem 0;
    background-color: var(--color-off-white);
}

.brand-container {
    display: flex;
    flex-direction: column;
    gap: 10rem;
}

.brand-item {
    display: flex;
    gap: 6rem;
    align-items: center;
}

.brand-item.reverse {
    flex-direction: row-reverse;
}

.brand-image {
    flex: 1;
    overflow: hidden;
    border-radius: 5px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.brand-image img {
    width: 100%;
    height: auto;
    transition: all 0.8s ease;
}

.brand-image img:hover {
    transform: scale(1.05);
}

.brand-content {
    flex: 1;
}

.brand-content h3 {
    font-family: var(--font-serif);
    font-size: 3.2rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    letter-spacing: 0.05em;
}

.brand-concept {
    font-size: 1.8rem;
    color: var(--color-gold);
    margin-bottom: 2rem;
    font-family: var(--font-serif);
    line-height: 1.6;
}

.brand-description {
    font-size: 1.5rem;
    line-height: 1.8;
    color: var(--color-gray);
    margin-bottom: 3rem;
}

.brand-content .btn {
    margin-top: 1rem;
}

/* ストーリーセクション */
.story {
    padding: 10rem 0;
    background-color: var(--color-off-white);
}

.story-timeline {
    position: relative;
    padding: 0 2rem;
}

.story-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 100%;
    background-color: var(--color-gold);
}

.story-item {
    display: flex;
    margin-bottom: 8rem;
    position: relative;
}

.story-item:nth-child(even) {
    flex-direction: row-reverse;
}

.story-year {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--color-gold);
    color: var(--color-white);
    padding: 1rem 2rem;
    font-family: var(--font-serif);
    font-size: 2rem;
    letter-spacing: 0.1em;
    z-index: 1;
}

.story-content {
    width: 45%;
    padding: 6rem 0 0;
}

.story-content h3 {
    font-family: var(--font-serif);
    font-size: 2.4rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.story-content p {
    font-size: 1.5rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.story-content img {
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* コンタクトセクション */
.contact {
    padding: 10rem 0;
}

.contact-content {
    display: flex;
    gap: 6rem;
}

.contact-info {
    flex: 1;
}

.contact-info h3 {
    font-family: var(--font-serif);
    font-size: 2.4rem;
    font-weight: 500;
    margin-bottom: 2.5rem;
}

.contact-info address {
    font-style: normal;
    font-size: 1.6rem;
    line-height: 1.8;
    margin-bottom: 3rem;
}

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

.social-links a {
    font-size: 1.4rem;
    letter-spacing: 0.05em;
    padding-bottom: 5px;
    border-bottom: 1px solid transparent;
}

.social-links a:hover {
    border-bottom-color: var(--color-gold);
}

.contact-form {
    flex: 1;
}

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

.form-group label {
    display: block;
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1.2rem;
    font-family: var(--font-sans);
    font-size: 1.5rem;
    border: 1px solid var(--color-light-gray);
    background-color: var(--color-white);
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-gold);
}

/* フッター */
.site-footer {
    background-color: var(--color-dark);
    color: var(--color-white);
    padding: 6rem 0 2rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 4rem;
}

.footer-logo {
    margin-bottom: 2rem;
}

.footer-nav ul {
    display: flex;
    gap: 3rem;
}

.footer-nav a {
    font-size: 1.4rem;
    letter-spacing: 0.05em;
    transition: color 0.3s ease;
}

.footer-nav a:hover {
    color: var(--color-gold);
}

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

.footer-bottom p {
    font-size: 1.2rem;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.7);
}

/* レスポンシブ対応 */
@media (max-width: 1024px) {
    .concept-content,
    .brewery-content,
    .contact-content {
        flex-direction: column;
        gap: 4rem;
    }
    
    .concept-image,
    .brewery-image {
        margin: 0 auto;
        max-width: 500px;
    }
    
    .story-content {
        width: 42%;
    }
    
    .brand-item,
    .brand-item.reverse {
        flex-direction: column;
        gap: 4rem;
    }
    
    .brand-image {
        width: 100%;
        max-width: 600px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 56.25%;
    }
    
    .main-nav {
        display: none;
        position: fixed;
        top: 60px;
        left: 0;
        width: 100%;
        background-color: rgba(0, 0, 0, 0.9);
        padding: 2rem;
    }
    
    .main-nav.active {
        display: flex;
        flex-direction: column;
    }
    
    .main-nav ul {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-toggle.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .story-timeline::before {
        left: 2rem;
    }
    
    .story-item {
        flex-direction: column;
    }
    
    .story-item:nth-child(even) {
        flex-direction: column;
    }
    
    .story-year {
        left: 2rem;
        transform: translateX(0);
    }
    
    .story-content {
        width: 100%;
        padding-left: 5rem;
    }
    
    .motto-text {
        font-size: 2.4rem;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 3.6rem;
    }
    
    .section-title {
        font-size: 3rem;
    }
    
    .philosophy-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .footer-nav ul {
        flex-direction: column;
        gap: 1.5rem;
        align-items: center;
    }
} 