/* ========================================

   共通スタイル - style.css

   ======================================== */



* {

    margin: 0;

    padding: 0;

    box-sizing: border-box;

}



body {

    font-family: 'Helvetica Neue', Arial, 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;

    line-height: 1.8;

    color: #1a1a1a;

    background: #ffffff;

}



/* ========================================

   Header

   ======================================== */

header {

    position: fixed;

    top: 0;

    width: 100%;

    background: rgba(255, 255, 255, 0.98);

    backdrop-filter: blur(10px);

    border-bottom: 1px solid #e0e0e0;

    z-index: 1000;

    transition: all 0.3s ease;

}



nav {

    max-width: 1200px;

    margin: 0 auto;

    display: flex;

    justify-content: space-between;

    align-items: center;

    padding: 1rem 2rem;

}



.logo {

    font-size: 1.5rem;

    font-weight: bold;

    color: #000;

    text-decoration: none;

    display: flex;

    align-items: center;

    gap: 0.5rem;

}


.header-logo {

    height: 55px;

    width: 55px;

    border-radius: 50%;

}


.nav-links {

    display: flex;

    gap: 2rem;

    list-style: none;

}



.nav-links a {

    color: #1a1a1a;

    text-decoration: none;

    font-weight: 500;

    transition: color 0.3s;

    position: relative;

}



.nav-links a::after {

    content: '';

    position: absolute;

    bottom: -5px;

    left: 0;

    width: 0;

    height: 2px;

    background: #000;

    transition: width 0.3s;

}



.nav-links a:hover::after {

    width: 100%;

}



/* ========================================

   Footer

   ======================================== */

footer {

    background: #1a1a1a;

    color: #fff;

    padding: 3rem 2rem 1rem;

    text-align: center;

    margin-top: 6rem;

}



.footer-content {

    max-width: 1200px;

    margin: 0 auto;

}



.footer-links {

    display: flex;

    justify-content: center;

    gap: 2rem;

    margin-bottom: 2rem;

    flex-wrap: wrap;

}



.footer-links a {

    color: #fff;

    text-decoration: none;

    transition: color 0.3s;

}



.footer-links a:hover {

    color: #999;

}



.copyright {

    padding-top: 2rem;

    border-top: 1px solid #333;

    color: #999;

    font-size: 0.9rem;

}



/* ========================================

   Page Header (共通ページヘッダー)

   ======================================== */

.page-header {

    padding: 8rem 2rem 4rem;

    background: linear-gradient(135deg, #000 0%, #333 100%);

    color: #fff;

    text-align: center;

}



.page-header h1 {

    font-size: 3rem;

    margin-bottom: 1rem;

}



.page-header p {

    font-size: 1.2rem;

    opacity: 0.9;

}



/* ========================================

   共通セクションスタイル

   ======================================== */

.section-title {

    text-align: center;

    font-size: 2.5rem;

    margin-bottom: 4rem;

    position: relative;

    padding-bottom: 1rem;

}



.section-title::after {

    content: '';

    position: absolute;

    bottom: 0;

    left: 50%;

    transform: translateX(-50%);

    width: 60px;

    height: 3px;

    background: #000;

}



/* ========================================

   ボタン

   ======================================== */

.cta-button {

    display: inline-block;

    padding: 1rem 3rem;

    background: #000;

    color: #fff;

    text-decoration: none;

    border-radius: 50px;

    font-weight: 600;

    transition: all 0.3s;

}



.cta-button:hover {

    transform: translateY(-3px);

    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);

}



/* ========================================

   カードスタイル

   ======================================== */

.card {

    background: #fff;

    border: 2px solid #000;

    border-radius: 10px;

    padding: 2rem;

    transition: all 0.3s;

}



.card:hover {

    transform: translateY(-10px);

    box-shadow: 10px 10px 0 #000;

}



/* ========================================

   アニメーション

   ======================================== */

@keyframes fadeInUp {

    from {

        opacity: 0;

        transform: translateY(30px);

    }

    to {

        opacity: 1;

        transform: translateY(0);

    }

}



/* ========================================

   ハンバーガーメニュー

   ======================================== */

.hamburger {

    display: none;

    flex-direction: column;

    gap: 5px;

    background: transparent;

    border: none;

    cursor: pointer;

    padding: 10px;

    z-index: 1001;

}



.hamburger span {

    width: 25px;

    height: 3px;

    background: #000;

    transition: all 0.3s;

    border-radius: 2px;

}



.hamburger.active span:nth-child(1) {

    transform: rotate(45deg) translate(7px, 7px);

}



.hamburger.active span:nth-child(2) {

    opacity: 0;

}



.hamburger.active span:nth-child(3) {

    transform: rotate(-45deg) translate(7px, -7px);

}



/* ========================================

   レスポンシブ

   ======================================== */

@media (max-width: 768px) {

    .hamburger {

        display: flex;

    }



    .nav-links {

        position: fixed;

        top: 0;

        right: -100%;

        width: 70%;

        max-width: 300px;

        height: 100vh;

        background: #fff;

        flex-direction: column;

        padding: 80px 0 20px;

        gap: 0;

        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);

        transition: right 0.3s ease;

        z-index: 1000;

    }



    .nav-links.active {

        right: 0;

    }



    .nav-links li {

        width: 100%;

    }



    .nav-links a {

        display: block;

        padding: 1.5rem 2rem;

        border-bottom: 1px solid #e0e0e0;

    }



    .nav-links a::after {

        display: none;

    }



    .nav-links a:hover,

    .nav-links a.active {

        background: #f5f5f5;

    }



    .page-header h1 {

        font-size: 2rem;

    }



    .section-title {

        font-size: 2rem;

    }

}