/* リセットCSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Helvetica Neue", Arial, sans-serif;
}

body {
    background-color: #ffffff;
    color: #fff;
    overflow-x: hidden;
}

/* ヘッダー */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 30px 0;
    z-index: 100;
    background: linear-gradient(135deg, rgba(43, 88, 118, 0.8), rgba(78, 67, 118, 0.8));
    backdrop-filter: blur(10px);
}

.header-container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 40px;
    width: auto;
    object-fit: contain;
}

/* .logo {
    font-size: 24px;
    font-weight: bold;
    letter-spacing: 1px;
} */

nav ul {
    display: flex;
    list-style: none;
}

nav li {
    margin-left: 40px;
}

nav a {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    letter-spacing: 1px;
    position: relative;
    transition: opacity 0.3s ease;
}

nav a:hover {
    opacity: 0.7;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: #fff;
    transition: width 0.3s ease;
}

nav a:hover::after {
    width: 100%;
}

nav a.active::after {
    width: 100%;
}

/* メインコンテンツ */
.main-content {
    padding-top: 80px;
    min-height: 100vh;
}

/* ヒーローセクション */
.hero-section {
    height: 30vh; /* 50vh → 70vh に変更 */
    min-height: 200px; /* 最小高さを追加 */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    background: linear-gradient(135deg, rgba(43, 88, 118, 0.8), rgba(78, 67, 118, 0.8));
    margin-bottom: 80px;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><rect width="1200" height="600" fill="transparent"/><polygon points="0,0 400,0 200,300" fill="rgba(255,255,255,0.05)"/><polygon points="800,600 1200,600 1000,300" fill="rgba(255,255,255,0.05)"/></svg>');
    background-size: cover;
    background-position: center;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.page-title {
    font-size: 64px;
    font-weight: bold;
    margin-bottom: 20px;
    letter-spacing: 4px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-subtitle {
    font-size: 18px;
    opacity: 0.9;
    letter-spacing: 2px;
}

/* 会社概要セクション */
.about-section {
    padding: 0 0 100px 0;
}

.section-container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.about-card {
    background: linear-gradient(135deg, rgba(43, 88, 118, 0.8), rgba(78, 67, 118, 0.8));
    border-radius: 30px;
    padding: 60px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.about-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -30%;
    width: 60%;
    height: 120%;
    background: linear-gradient(135deg, rgba(78, 67, 118, 0.1), rgba(43, 88, 118, 0.1));
    border-radius: 50%;
    z-index: 1;
}

.card-content {
    position: relative;
    z-index: 2;
}

.card-title {
    font-size: 48px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 50px;
    letter-spacing: 3px;
    background: linear-gradient(135deg, #ffffff, #cccccc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.info-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-bottom: 20px;
}

.info-item {
    text-align: center;
}

.info-label {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 10px;
    letter-spacing: 2px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.3);
    padding-bottom: 15px;
    display: inline-block;
}

.info-value {
    font-size: 18px;
    line-height: 1.8;
    opacity: 0.9;
    padding: 10px;
}

.business-section {
    grid-column: 1 / -1;
    text-align: center;
    padding-top: 0px;
}

.business-label {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 10px;
    letter-spacing: 2px;
}

.business-value {
    font-size: 18px;
    opacity: 0.9;
    letter-spacing: 1px;
    padding: 20px;
}

/* 戻るボタン */
.back-button {
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #4e4376, #2b5876);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: white;
    font-size: 24px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    z-index: 100;
}

.back-button:hover {
    transform: scale(1.1) rotate(-5deg);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.back-button::before {
    content: '←';
}

/* アニメーション */
@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeInUp 0.8s ease-out;
}

.fade-in-delay {
    animation: fadeInUp 0.8s ease-out 0.3s both;
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
    .page-title {
        font-size: 42px;
    }

    .about-card {
        padding: 40px 30px;
    }

    .card-title {
        font-size: 36px;
    }

    .info-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .info-label {
        font-size: 24px;
    }

    .business-label {
        font-size: 24px;
    }

    nav ul {
        display: none;
    }

    .back-button {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
}