/*
 * プロジェクト『（その他の）』
 * style.css - 最終調整版
 * 2025/07/10
 */

/* =================================== */
/* 1. 基本設定 (Reset & Body)
/* =================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; width: 100%; }
body {
    background-color: #FFFFFF;
    color: #000000;
    font-family: 'Noto Sans JP', 'Noto Sans', sans-serif;
    font-size: 16px;
    line-height: 1.8;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
a { color: inherit; text-decoration: none; }

/* =================================== */
/* 2. レイアウト (Layout)
/* =================================== */
.container { width: 100%; padding: 6rem 2rem; }
.content { max-width: 800px; margin: 0 auto; }

/* =================================== */
/* 3. ヘッダーとフッター (Header & Footer)
/* =================================== */
.site-logo-link {
    position: fixed;
    top: 1.5rem;
    left: 2rem;
    width: 160px;
    height: auto;
    z-index: 100;
    transition: opacity 0.3s ease;
}
.site-logo-link:hover { opacity: 0.6; }
.site-logo-link img { width: 100%; height: auto; }

.site-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1rem 2rem;
    text-align: center;
    background-color: #FFFFFF;
}
.navigation a {
    margin: 0 1rem;
    font-size: 1rem;
    letter-spacing: 0.1em;
    transition: opacity 0.3s ease;
    position: relative;
    padding-top: 1em;
}
.navigation a:hover { opacity: 0.6; }
.navigation a.is-active::before {
    content: '・';
    position: absolute;
    top: -0.1em;
    left: 50%;
    transform: translateX(-50%);
}

/* =================================== */
/* 4. 主要な要素 (Main Elements)
/* =================================== */
.container.is-home {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    padding: 2rem;
}

.logo { max-width: 90%; width: 600px; }
.logo img { display: block; width: 100%; height: auto; }

.content h1 {
    font-size: 2.5rem;
    margin-bottom: 2.5rem;
    font-weight: 400;
    display: flex;
    align-items: baseline;
}
.h1-subtitle {
    font-size: 1.2rem;
    font-family: 'Noto Sans', sans-serif;
    margin-left: 1rem;
    font-weight: 400;
    color: #888888;
}
.content h2 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    font-weight: 400;
    letter-spacing: 0.02em;
}
.content p { margin-bottom: 1.8rem; }

.content a {
    transition: opacity 0.3s ease;
}
.content a:hover { opacity: 0.6; }

.section-divider {
    border: none;
    height: 1px;
    background-color: #EAEAEA;
    margin: 4rem auto;
    width: 25%;
}

.contact-address {
    margin-top: 3rem;
    font-size: 1.1rem;
    letter-spacing: 0.05em;
}

/* =================================== */
/* 5. レスポンシブ対応 (Media Query)
/* =================================== */
@media (max-width: 768px) {

    .site-logo-link {
        width: 140px;
        top: 1.2rem;
        left: 1.5rem;
    }

    .navigation a {
        font-size: 0.9rem;
        margin: 0 0.8rem;
    }
    
    .container {
        padding: 5rem 1.5rem 7rem; 
    }

    .container.is-home {
        padding: 1rem;
    }

    .content h1 {
        font-size: 1.8rem;
    }
}
