/*
Theme Name: 奏映（かなえ）
Description: 動画制作・映像制作会社「奏映（かなえ）」のWordPressテーマ
Version: 1.0
Author: Kanadel design
*/

/* リセットCSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 基本設定 */
body {
    font-family: 'Noto Serif JP', serif;
    line-height: 1.6;
    color: #2c3e50;
    background-color: #fefefe;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ヘッダー */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.logo h1 {
    font-size: 2rem;
    font-weight: 600;
    color: #8B4513;
    letter-spacing: 2px;
}

.logo-sub {
    font-size: 1rem;
    color: #A0522D;
    margin-left: 0.5rem;
    font-weight: 400;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: #2c3e50;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu a:hover {
    color: #8B4513;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #8B4513, #A0522D);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

/* メインビジュアル */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, #f5f5dc 0%, #f0e68c 50%, #daa520 100%);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(139, 69, 19, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(160, 82, 45, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(205, 133, 63, 0.05) 0%, transparent 50%);
}

.maple-leaves {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.leaf {
    position: absolute;
    width: 40px;
    height: 40px;
    background: linear-gradient(45deg, #8B4513, #A0522D, #CD853F);
    border-radius: 50% 0 50% 0;
    opacity: 0.6;
    animation: fall 10s infinite linear;
}

.leaf-1 {
    left: 10%;
    animation-delay: 0s;
    animation-duration: 12s;
}

.leaf-2 {
    left: 30%;
    animation-delay: 2s;
    animation-duration: 15s;
}

.leaf-3 {
    left: 50%;
    animation-delay: 4s;
    animation-duration: 10s;
}

.leaf-4 {
    left: 70%;
    animation-delay: 6s;
    animation-duration: 13s;
}

.leaf-5 {
    left: 90%;
    animation-delay: 8s;
    animation-duration: 11s;
}

@keyframes fall {
    0% {
        transform: translateY(-100px) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.6;
    }
    90% {
        opacity: 0.6;
    }
    100% {
        transform: translateY(100vh) rotate(360deg);
        opacity: 0;
    }
}

.hero-content {
    text-align: center;
    z-index: 2;
    color: #2c3e50;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #8B4513;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.hero-subtitle {
    font-size: 2rem;
    color: #A0522D;
    margin-left: 0.5rem;
}

.hero-description {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #2c3e50;
    font-weight: 500;
}

.hero-sub-description {
    font-size: 1.2rem;
    color: #7f8c8d;
}

/* セクション共通 */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 600;
    color: #8B4513;
    margin-bottom: 1rem;
}

.title-decoration {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.line {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #8B4513, transparent);
}

.circle {
    width: 8px;
    height: 8px;
    background: #A0522D;
    border-radius: 50%;
}

/* 会社概要 */
.about {
    padding: 6rem 0;
    background: linear-gradient(135deg, #fefefe 0%, #f8f8f8 100%);
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-description {
    font-size: 1.3rem;
    line-height: 1.8;
    margin-bottom: 3rem;
    color: #2c3e50;
}

.meaning-section {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin-top: 3rem;
}

.meaning-item {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(139, 69, 19, 0.1);
}

.meaning-item h3 {
    font-size: 2rem;
    color: #8B4513;
    margin-bottom: 1rem;
}

.meaning-item p {
    font-size: 1.1rem;
    color: #2c3e50;
}

/* サービス */
.services {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8f8f8 0%, #fefefe 100%);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: rgba(255, 255, 255, 0.9);
    padding: 2.5rem 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(139, 69, 19, 0.1);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, #8B4513, #A0522D);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
}

.service-card h3 {
    font-size: 1.5rem;
    color: #8B4513;
    margin-bottom: 1rem;
    font-weight: 600;
}

.service-card p {
    color: #2c3e50;
    line-height: 1.6;
}

/* 理念 */
.philosophy {
    padding: 6rem 0;
    background: linear-gradient(135deg, #fefefe 0%, #f8f8f8 100%);
}

.philosophy-content {
    max-width: 900px;
    margin: 0 auto;
}

.philosophy-text {
    background: rgba(255, 255, 255, 0.9);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(139, 69, 19, 0.1);
}

.philosophy-message {
    font-size: 1.2rem;
    line-height: 2;
    margin-bottom: 2rem;
    color: #2c3e50;
    text-align: justify;
}

.philosophy-message:last-child {
    margin-bottom: 0;
}

/* お問い合わせ */
.contact {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8f8f8 0%, #fefefe 100%);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
}

.contact-info h3 {
    font-size: 1.8rem;
    color: #8B4513;
    margin-bottom: 1rem;
}

.contact-info p {
    font-size: 1.1rem;
    color: #2c3e50;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 10px;
    border: 1px solid rgba(139, 69, 19, 0.1);
}

.contact-item i {
    color: #8B4513;
    font-size: 1.2rem;
    width: 20px;
}

/* Contact Form 7 スタイル調整 */
.wpcf7-form {
    background: rgba(255, 255, 255, 0.9);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(139, 69, 19, 0.1);
}

.wpcf7-form .wpcf7-form-control-wrap {
    margin-bottom: 1.5rem;
}

.wpcf7-form label {
    display: block;
    margin-bottom: 0.5rem;
    color: #2c3e50;
    font-weight: 500;
}

.wpcf7-form .wpcf7-text,
.wpcf7-form .wpcf7-email,
.wpcf7-form .wpcf7-select,
.wpcf7-form .wpcf7-textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid rgba(139, 69, 19, 0.2);
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
    background: rgba(255, 255, 255, 0.8);
}

.wpcf7-form .wpcf7-text:focus,
.wpcf7-form .wpcf7-email:focus,
.wpcf7-form .wpcf7-select:focus,
.wpcf7-form .wpcf7-textarea:focus {
    outline: none;
    border-color: #8B4513;
    box-shadow: 0 0 0 3px rgba(139, 69, 19, 0.1);
}

/* カスタムセレクトボタンのスタイル */
.custom-select {
    position: relative;
    width: 100%;
    font-family: inherit;
}

.custom-select .select-selected {
    background-color: rgba(255, 255, 255, 0.8);
    padding: 1rem;
    border: 2px solid rgba(139, 69, 19, 0.2);
    border-radius: 10px;
    cursor: pointer;
    user-select: none;
    position: relative;
    transition: border-color 0.3s ease;
    font-size: 1rem;
}

.custom-select .select-selected:after {
    position: absolute;
    content: "";
    top: 50%;
    right: 1rem;
    width: 0;
    height: 0;
    border: 6px solid transparent;
    border-color: #8B4513 transparent transparent transparent;
    transform: translateY(-50%);
    transition: transform 0.3s ease;
}

.custom-select .select-selected.select-arrow-active:after {
    transform: translateY(-50%) rotate(180deg);
}

.custom-select .select-selected:hover {
    border-color: #8B4513;
}

.custom-select .select-items {
    position: absolute;
    background-color: white;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 99;
    border: 2px solid rgba(139, 69, 19, 0.2);
    border-top: none;
    border-radius: 0 0 10px 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    max-height: 200px;
    overflow-y: auto;
}

.custom-select .select-hide {
    display: none;
}

.custom-select .select-option {
    color: #2c3e50;
    padding: 0.8rem 1rem;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.3s ease;
}

.custom-select .select-option:hover {
    background-color: rgba(139, 69, 19, 0.1);
}

.custom-select .select-option:first-child {
    border-radius: 0;
}

.custom-select .select-option:last-child {
    border-radius: 0 0 8px 8px;
}

.custom-select .select-option.selected {
    background-color: rgba(139, 69, 19, 0.2);
    color: #8B4513;
    font-weight: 600;
}

/* セレクトボタンのスクロールバーカスタマイズ */
.custom-select .select-items::-webkit-scrollbar {
    width: 6px;
}

.custom-select .select-items::-webkit-scrollbar-track {
    background: rgba(139, 69, 19, 0.1);
    border-radius: 3px;
}

.custom-select .select-items::-webkit-scrollbar-thumb {
    background: rgba(139, 69, 19, 0.3);
    border-radius: 3px;
}

.custom-select .select-items::-webkit-scrollbar-thumb:hover {
    background: rgba(139, 69, 19, 0.5);
}

.wpcf7-form .wpcf7-submit {
    width: 100%;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #8B4513, #A0522D);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.wpcf7-form .wpcf7-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(139, 69, 19, 0.3);
}

/* フッター */
.footer {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    padding: 3rem 0;
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.footer-logo h3 {
    font-size: 2rem;
    color: #f0e68c;
    margin-bottom: 0.5rem;
}

.footer-logo .logo-sub {
    color: #daa520;
}

.footer-logo p {
    color: #bdc3c7;
    font-size: 1rem;
}

.footer-info p {
    color: #95a5a6;
    margin-bottom: 0.5rem;
}

.footer-info a {
    color: #f0e68c;
    text-decoration: none;
    transition: color 0.3s ease;
    border-bottom: 1px solid transparent;
}

.footer-info a:hover {
    color: #daa520;
    border-bottom-color: #daa520;
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav-menu {
        gap: 1rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.5rem;
    }
    
    .meaning-section {
        flex-direction: column;
        gap: 2rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-description {
        font-size: 1.2rem;
    }
    
    .about-description {
        font-size: 1.1rem;
    }
    
    .philosophy-message {
        font-size: 1.1rem;
    }
    
    .wpcf7-form {
        padding: 1.5rem;
    }
}
