body {
    margin: 0 auto;
    padding: 0;
    font-family: 'Noto Sans Hans', sans-serif;
    src: url('font/Notosanshans.ttf');
    max-width: 1200px;
    background-color: #fff;
    color: #555;
}

header {
    background-color: #fff;
    border-bottom: 2px solid #2399E1;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.header-content img {
    max-height: 100px;
}

.nav-container {
    position: relative;
}

.hamburger-menu {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.hamburger-menu span {
    width: 25px;
    height: 3px;
    background-color: #444;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

.hamburger-menu.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger-menu.active span:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

.header-content nav ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 30px;
}

.header-content nav ul li {
    position: relative;
}

.header-content nav ul li::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 0;
    height: 3px;
    background-color: #2399E1;
    transition: width 0.3s ease;
}

.header-content nav ul li:hover::after,
.header-content nav ul li.active::after {
    width: 100%;
}

nav ul li a {
    color: #444;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: #2399E1;
}

footer {
    background-color: #555;
    color: #fff;
    text-align: center;
    width: 100%;
    padding: 20px 0;
    margin-top: 50px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    position: relative;
}

.footer-nav {
    margin-bottom: 15px;
    align-self: flex-end;
    width: 100%;
}

.footer-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: flex-end;
}

.footer-nav ul li {
    display: inline-block;
    margin: 0 0 0 20px;
}

.footer-nav ul li:first-child {
    margin-left: 0;
}

.footer-nav ul li a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 14px;
}

.footer-nav ul li a:hover {
    color: #6bafff;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .footer-content {
        text-align: center;
    }
    
    .footer-nav {
        align-self: center;
        margin-bottom: 15px;
    }
    
    .footer-nav ul {
        justify-content: center;
    }
    
    .footer-nav ul li {
        margin: 0 10px;
    }
}

/* レスポンシブデザイン - スマホ対応 */
@media (max-width: 768px) {
    .header-content {
        flex-direction: row;
        padding: 10px 15px;
        gap: 0;
    }
    
    .header-content img {
        max-height: 80px;
    }
    
    .hamburger-menu {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 250px;
        height: 100vh;
        background-color: #fff;
        box-shadow: -2px 0 5px rgba(0,0,0,0.1);
        transition: right 0.3s ease;
        z-index: 1000;
        padding-top: 80px;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .header-content nav ul {
        flex-direction: column;
        gap: 0;
        text-align: left;
        padding: 0 20px;
    }
    
    .header-content nav ul li {
        padding: 0;
        border-bottom: 1px solid #eee;
    }
    
    .header-content nav ul li:last-child {
        border-bottom: none;
    }
    
    .header-content nav ul li::after {
        display: none;
    }
    
    nav ul li a {
        font-size: 16px;
        padding: 15px 0;
        display: block;
        color: #444;
    }
    
    nav ul li a:hover {
        color: #2399E1;
        background: none;
    }
    
    /* メインコンテンツの調整 */
    body {
        max-width: 100%;
        padding: 0 10px;
    }
    
    /* オーバーレイ */
    .nav-menu::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background-color: rgba(0,0,0,0.5);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: -1;
    }
    
    .nav-menu.active::before {
        opacity: 1;
        visibility: visible;
    }
}

/* タブレット対応 */
@media (min-width: 769px) and (max-width: 1024px) {
    .header-content {
        padding: 0 15px;
    }
    
    .header-content nav ul {
        gap: 20px;
    }
    
    nav ul li a {
        font-size: 15px;
    }
}