/* ヘッダースタイル */
.header {
    background: #6e2229;
    color: white;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header.scrolled {
    background: rgba(110, 34, 41, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
    position: relative;
}

/* ロゴ部分 */
.logo-section {
    flex-shrink: 0;
}

.logo-link {
    text-decoration: none;
    color: white;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.logo-placeholder {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #fff, #f0f0f0);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.logo-placeholder i {
    font-size: 1.5rem;
    color: #6e2229;
}

.logo-text {
    font-size: 1.2rem;
    font-weight: 600;
}

/* メインナビゲーション */
.main-nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

.nav-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 1.5rem;
}

.nav-item {
    position: relative;
}

/* ナビゲーションリンク */
.nav-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.2rem;
    text-decoration: none;
    color: white;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.nav-link:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.nav-link.active {
    background: rgba(255, 255, 255, 0.2);
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.nav-link.active:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40%;
    height: 3px;
    background: #ff9800;
    border-radius: 2px;
}

.nav-icon {
    font-size: 1.2rem;
}

.nav-text {
    font-size: 0.95rem;
    font-weight: 500;
}

/* ドロップダウン */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    cursor: pointer;
}

.dropdown-arrow {
    font-size: 0.7rem;
    margin-left: 0.3rem;
    transition: transform 0.3s;
}

.dropdown.open .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 0.5rem;
    min-width: 240px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    z-index: 1001;
    display: none;
}

.dropdown-menu.show {
    display: block;
}

.dropdown-content {
    display: flex;
    flex-direction: column;
    padding: 0.5rem 0;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem 1.5rem;
    text-decoration: none;
    color: #333;
    transition: all 0.2s;
}

.dropdown-item:hover {
    background: #f5f5f5;
    color: #6e2229;
}

.dropdown-item.active {
    background: #f0f0f0;
    color: #6e2229;
    font-weight: 600;
}

.dropdown-icon {
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
}

/* 認証セクション */
.auth-section {
    flex-shrink: 0;
}

.login-button {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    background: rgba(255, 255, 255, 0.15);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.login-button:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.5);
}

.button-icon {
    font-size: 1.1rem;
}

.button-text {
    font-size: 0.9rem;
}

/* モバイルメニューボタン */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    margin-left: 1rem;
}

.menu-icon {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 20px;
    position: relative;
}

.bar {
    width: 100%;
    height: 3px;
    background: white;
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.menu-icon.open .bar:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.menu-icon.open .bar:nth-child(2) {
    opacity: 0;
}

.menu-icon.open .bar:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* モバイルメニュー */
.mobile-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    display: none;
}

.mobile-menu.show {
    display: block;
}

.mobile-menu-content {
    padding: 1rem;
    background: #6e2229;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.mobile-logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: white;
}

.mobile-logo-icon {
    font-size: 1.8rem;
}

.mobile-logo-text {
    font-size: 1.1rem;
    font-weight: 600;
}

.mobile-close-btn {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: background-color 0.3s;
}

.mobile-close-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* モバイルナビゲーション */
.mobile-nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-nav-item {
    margin: 0;
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    text-decoration: none;
    color: white;
    border-radius: 8px;
    transition: background-color 0.3s;
    margin-bottom: 0.5rem;
}

.mobile-nav-link:hover {
    background: rgba(255, 255, 255, 0.1);
}

.mobile-nav-link.active {
    background: rgba(255, 255, 255, 0.15);
    font-weight: 600;
}

.mobile-nav-icon {
    font-size: 1.2rem;
    margin-right: 1rem;
    width: 24px;
    text-align: center;
}

.mobile-nav-arrow {
    font-size: 1.2rem;
    opacity: 0.7;
    transition: transform 0.3s;
}

.mobile-nav-arrow.open {
    transform: rotate(180deg);
}

/* モバイルドロップダウン */
.mobile-dropdown-menu {
    background: rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    margin: 0.5rem 0;
    padding: 0.5rem;
    display: none;
}

.mobile-dropdown-menu.show {
    display: block;
}

.mobile-dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem 1rem;
    text-decoration: none;
    color: white;
    border-radius: 6px;
    transition: background-color 0.3s;
}

.mobile-dropdown-item:hover {
    background: rgba(255, 255, 255, 0.1);
}

.mobile-dropdown-item.active {
    background: rgba(255, 255, 255, 0.15);
    font-weight: 600;
}

.mobile-dropdown-icon {
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
}

.mobile-nav-separator {
    height: 1px;
    background: rgba(255, 255, 255, 0.2);
    margin: 1rem 0;
}

/* モバイルログインボタン */
.mobile-login-button {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.15);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    margin-top: 0.5rem;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.mobile-login-button:hover {
    background: rgba(255, 255, 255, 0.25);
}

.mobile-login-icon {
    font-size: 1.2rem;
}

/* フッタースタイル */
.footer {
    background: #2c3e50;
    /*color: #ecf0f1;*/
    padding: 3rem 0 1rem;
    margin-top: auto;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* フッターリンク */
.footer-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-section {
    display: flex;
    flex-direction: column;
}

.footer-title {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.footer-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-list a,
.footer-list span {
    color: #bdc3c7;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.footer-list a:hover {
    color: #fff;
    text-decoration: underline;
}

/* フッター下部 */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copyright {
    color: #95a5a6;
    font-size: 0.9rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.social-link {
    color: #bdc3c7;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.social-link:hover {
    color: #fff;
}

/* 会社情報コンポーネント */
.company-info {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid #e9ecef;
}

/* コンプライアンスセクション */
.compliance-section {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid #f0f2ff;
}

.company-info .section-title {
    color: #1a237e;
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-align: left;
}

.company-info .section-title::after {
    display: none;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.info-item {
    background: #f8f9fa;
    padding: 1.2rem;
    border-radius: 8px;
    border-left: 4px solid #1a237e;
    transition: transform 0.3s, box-shadow 0.3s;
}

.info-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.info-label {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.info-value {
    color: #333;
    font-weight: 600;
    font-size: 1.1rem;
    line-height: 1.4;
}

.badge {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    background: #1a237e;
    color: white;
    border-radius: 20px;
    font-size: 0.85rem;
    margin-right: 0.5rem;
    margin-bottom: 0.3rem;
}