/* KANNA Theme - Main Styles */

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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans JP", sans-serif;
    background-color: #f5f5f0;
    color: #1a1a1a;
    line-height: 1.8;
}

/* Craft Texture */
.craft-texture {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="200" height="200"><filter id="noise"><feTurbulence type="fractalNoise" baseFrequency="0.9" numOctaves="4" /></filter><rect width="200" height="200" filter="url(%23noise)" opacity="0.08"/></svg>');
    pointer-events: none;
    z-index: 1;
}

/* Header */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
    background-color: rgba(245, 245, 240, 0.95);
    border-bottom: 1px solid #d0d0d0;
    z-index: 100;
    backdrop-filter: blur(10px);
}

/* Menu Toggle */
.menu-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 30px;
    z-index: 101;
}

.hamburger-line {
    width: 100%;
    height: 2px;
    background-color: #1a1a1a;
    transition: all 0.3s ease;
}

.menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translateY(8px);
}

.menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translateY(-8px);
}

/* Site Branding */
.site-branding {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
}

.site-branding a {
    text-decoration: none;
    color: inherit;
}

.brand-furigana {
    font-size: 8px;
    font-weight: 400;
    letter-spacing: 4px;
    color: #666;
    margin-bottom: 2px;
}

.brand-name {
    font-size: 24px;
    font-weight: 900;
    letter-spacing: 6px;
    color: #1a1a1a;
    margin-bottom: 4px;
}

.brand-tagline {
    font-size: 8px;
    font-weight: 300;
    letter-spacing: 2px;
    color: #999;
}

.header-spacer {
    width: 30px;
}

/* Side Menu */
.side-menu {
    position: fixed;
    top: 80px;
    left: 0;
    bottom: 0;
    width: 280px;
    background-color: rgba(255, 255, 255, 0.98);
    border-right: 1px solid #d0d0d0;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    z-index: 99;
    padding: 40px 30px;
    overflow-y: auto;
}

.side-menu.open {
    transform: translateX(0);
}

.menu-item {
    display: block;
    padding: 15px 0;
    border-bottom: 1px solid #e0e0e0;
    text-decoration: none;
    color: inherit;
}

.menu-number {
    display: block;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 2px;
    color: #999;
    margin-bottom: 5px;
}

.menu-title {
    display: block;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 1px;
    color: #1a1a1a;
}

.menu-sns {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #e0e0e0;
}

.sns-label {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 2px;
    color: #999;
    margin-bottom: 15px;
}

.menu-sns a {
    display: block;
    font-size: 14px;
    font-weight: 300;
    color: #333;
    padding: 8px 0;
    text-decoration: none;
}

.menu-sns a:hover {
    color: #1a1a1a;
}

/* Main Content */
.site-main {
    position: relative;
    z-index: 2;
    padding-top: 80px;
}

/* Footer */
.site-footer {
    text-align: center;
    padding: 60px 40px;
    border-top: 1px solid #d0d0d0;
    background-color: rgba(255, 255, 255, 0.5);
    position: relative;
    z-index: 2;
}

.footer-content {
    font-size: 12px;
    font-weight: 300;
    letter-spacing: 3px;
    color: #666;
}

/* Page Title */
.page-title {
    margin-bottom: 80px;
    text-align: center;
}

.page-title .number {
    font-size: 11px;
    letter-spacing: 6px;
    color: #999;
    margin-bottom: 15px;
}

.page-title .title {
    font-size: 48px;
    font-weight: 900;
    letter-spacing: 4px;
    color: #1a1a1a;
    margin-bottom: 20px;
}

.page-title .line {
    width: 60px;
    height: 1px;
    background-color: #999;
    margin: 0 auto;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 40px;
    border: 1px solid #1a1a1a;
    background-color: transparent;
    color: #1a1a1a;
    font-size: 13px;
    letter-spacing: 2px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn:hover {
    background-color: #1a1a1a;
    color: #ffffff;
}

.btn-primary {
    background-color: #1a1a1a;
    color: #ffffff;
}

.btn-primary:hover {
    background-color: #333;
}

/* Cards */
.card {
    border: 1px solid #e0e0e0;
    background-color: rgba(255, 255, 255, 0.5);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Forms */
input[type="text"],
input[type="email"],
input[type="url"],
input[type="tel"],
input[type="number"],
input[type="date"],
textarea,
select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    background: white;
    font-size: 14px;
    font-family: inherit;
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: #1a1a1a;
}

/* Responsive */
@media (max-width: 768px) {
    .site-header {
        padding: 0 20px;
    }
    
    .page-title .title {
        font-size: 32px;
    }
    
    .side-menu {
        width: 100%;
    }
}
