/* レイアウト構造 */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    padding: 10rem 0;
    position: relative;
}

/* ヘッダー */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.97);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    height: var(--header-height);
    display: flex;
    align-items: center;
    transition: var(--transition);
}

.header.scrolled {
    box-shadow: var(--shadow);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 0.8rem;
}

.logo-image {
    width: 160px;
    height: 90px;
}

.logo-sub {
    font-size: clamp(1.2rem, 1.8vw, 1.5rem);
    color: var(--text-light);
    font-weight: 500;
    white-space: nowrap;
}

.nav {
    display: flex;
    align-items: center;
}

.nav-menu {
    display: flex;
}

.nav-menu li {
    margin: 0 clamp(1rem, 1.5vw, 1.5rem);
}

.nav-link {
    position: relative;
    font-size: clamp(1.2rem, 1.8vw, 1.5rem);
    font-weight: 500;
    color: var(--text);
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--primary);
}

.nav-link:hover::after {
    width: 100%;
}

/* モバイルメニュー */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.mobile-menu-btn span {
    width: 100%;
    height: 2px;
    background-color: var(--primary);
    transition: all 0.3s ease;
}

/* フッター */
.footer {
    background-color: var(--bg-dark);
    color: white;
    padding: 6rem 0 3rem;
}

.footer-top {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 4rem;
    padding-bottom: 4rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
    flex: 1;
    min-width: 250px;
    margin-bottom: 3rem;
}

.footer-logo .logo-text {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    display: block;
    color: white;
}

.company-name {
    font-size: 1.6rem;
    opacity: 0.7;
}

.footer-links {
    flex: 1;
    min-width: 250px;
    margin-bottom: 3rem;
}

.footer-links ul {
    display: flex;
    flex-wrap: wrap;
}

.footer-links li {
    width: 50%;
    margin-bottom: 1.5rem;
}

.footer-links a {
    color: white;
    opacity: 0.7;
    transition: var(--transition);
    font-size: 1.5rem;
}

.footer-links a:hover {
    opacity: 1;
    color: var(--secondary);
}

.footer-social {
    display: flex;
    gap: 1.5rem;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    transition: var(--transition);
}

.footer-social a:hover {
    background-color: var(--secondary);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    font-size: 1.4rem;
    opacity: 0.7;
}

.footer-bottom p {
    margin-bottom: 1rem;
}

.footer-bottom a {
    color: white;
}

.footer-bottom a:hover {
    color: var(--secondary);
}
