/*
Theme Name: MUROIKAZUMA Theme
Theme URI: https://muroikazuma.com
Author: MUROIKAZUMA
Author URI: https://muroikazuma.com
Description: 室井一真氏のオリジナルWordPressテーマ
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: muroikazuma-theme
*/

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

:root {
    --primary-color: #ff6e01;
    --secondary-color: #000000;
    --text-color: #333333;
    --bg-color: #ffffff;
}

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

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

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

/* Header Styles */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    padding: 15px 0;
}

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

.site-logo {
    font-size: 18px;
    font-weight: bold;
    color: var(--primary-color);
    letter-spacing: 2px;
}

/* Navigation */
.main-navigation {
    display: flex;
    gap: 30px;
}

.main-navigation a {
    color: #ffffff;
    font-size: 14px;
    font-weight: 500;
    padding: 5px 10px;
    position: relative;
}

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

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

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 24px;
    cursor: pointer;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Hero Section - 画像レスポンシブ対応 */
.hero-section picture {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

/* スマホでの最適化 */
@media (max-width: 768px) {
    .hero-image {
        object-position: center;
    }
}
/* Hero Catchphrase - スマホ表示時の位置調整 */
@media (max-width: 768px) {
    .hero-content {
        transform: translateY(150px);
    }
    
    /* または、より細かく調整したい場合 */
    .hero-catchphrase {
        margin-top: 150px;
    }
}


.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: #ffffff;
    padding: 20px;
}

.hero-catchphrase {
    font-size: 48px;
    font-weight: bold;
    line-height: 1.4;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Section Common Styles */
.content-section {
    padding: 100px 20px;
    max-width: 1400px;
    margin: 0 auto;
}

.section-title {
    font-size: 36px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    padding-bottom: 20px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--primary-color);
}

/* Profile Section */
.profile-section {
    background: #f9f9f9;
}

.profile-items {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.profile-item {
    display: flex;
    gap: 40px;
    align-items: center;
}

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

.profile-image {
    flex: 0 0 400px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.profile-image img {
    width: 100%;
    height: auto;
    display: block;
}

.profile-text {
    flex: 1;
}

.profile-text h3 {
    font-size: 28px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.profile-text p {
    font-size: 16px;
    line-height: 1.8;
}

/* Policy Section */
.policy-section {
    background: #ffffff;
}

.policy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.policy-item {
    background: #f9f9f9;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.policy-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.policy-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

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

.policy-content {
    padding: 30px;
}

.policy-content h3 {
    font-size: 22px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.policy-content p {
    font-size: 15px;
    line-height: 1.8;
}

/* Schedule Section */
.schedule-section {
    background: #f9f9f9;
}

.schedule-list {
    max-width: 900px;
    margin: 0 auto;
}

.schedule-item {
    background: #ffffff;
    border-left: 4px solid var(--primary-color);
    padding: 20px 30px;
    margin-bottom: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.schedule-item:hover {
    transform: translateX(10px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.schedule-header {
    display: flex;
    align-items: center;
    gap: 20px;
}

.schedule-date {
    font-size: 18px;
    font-weight: bold;
    color: var(--primary-color);
    min-width: 120px;
}

.schedule-title {
    font-size: 18px;
    font-weight: 500;
}

/* Album Section */
.album-section {
    background: #ffffff;
}

.album-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.album-item {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 10px;
    cursor: pointer;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.album-item:hover {
    transform: scale(1.05);
}

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

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 10000;
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    background: #ffffff;
    border-radius: 10px;
    overflow: hidden;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 30px;
    color: #ffffff;
    background: rgba(0, 0, 0, 0.5);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1;
}

.modal-image {
    max-width: 100%;
    max-height: 80vh;
    display: block;
}

.modal-caption {
    padding: 20px;
    text-align: center;
    background: #ffffff;
}

.schedule-modal-content {
    background: #ffffff;
    padding: 40px;
    border-radius: 10px;
    max-width: 700px;
    max-height: 80vh;
    overflow-y: auto;
}

.schedule-modal-image {
    width: 100%;
    margin-bottom: 20px;
    border-radius: 5px;
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: #ffffff;
    border: none;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    background: var(--secondary-color);
}

/* Footer */
.site-footer {
    background: var(--secondary-color);
    color: #ffffff;
    padding: 50px 20px 30px;
    text-align: center;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 30px;
}

.social-link {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #333333;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--primary-color);
    transform: translateY(-5px);
}

.social-link img {
    width: 25px;
    height: 25px;
    filter: brightness(0) invert(1);
}

.footer-copyright {
    font-size: 14px;
    color: #888888;
    margin-top: 20px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    .main-navigation {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(0, 0, 0, 0.95);
        flex-direction: column;
        padding: 20px;
        gap: 10px;
    }
    
    .main-navigation.active {
        display: flex;
    }
    
    .hero-catchphrase {
        font-size: 28px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .profile-item,
    .profile-item:nth-child(even) {
        flex-direction: column;
    }
    
    .profile-image {
        flex: 1;
        width: 100%;
    }
    
    .policy-grid {
        grid-template-columns: 1fr;
    }
    
    .album-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
    
    .scroll-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}
