:root {
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --accent-color: #e74c3c;
    --text-color: #333333;
    --text-light: #666666;
    --bg-color: #ffffff;
    --bg-light: #f8f9fa;
    --border-color: #e9ecef;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 10px 30px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    height: 100%;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    color: var(--text-color);
    line-height: 1.8;
    background-color: var(--bg-color);
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--secondary-color);
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 100px 0;
}

.section-title {
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    color: var(--primary-color);
    font-weight: 700;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--secondary-color);
    border-radius: 3px;
}

.bg-light {
    background-color: var(--bg-light);
}

.box-shadow {
    background: #fff;
    border-radius: 12px;
    box-shadow: var(--shadow);
    padding: 40px;
}

.hover-effect {
    transition: var(--transition);
}

.hover-effect:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

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

.mt-4 {
    margin-top: 3rem;
}

/* Header */
.header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo a {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 2px;
}

.nav-list {
    display: flex;
    gap: 40px;
}

.nav-list a {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text-color);
    position: relative;
    padding: 10px 0;
}

.nav-list a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: var(--transition);
}

.nav-list a:hover::after,
.nav-list a.active::after {
    width: 100%;
}

.nav-list a:hover,
.nav-list a.active {
    color: var(--secondary-color);
}

/* Hero Section */
.hero {
    position: relative;
    height: calc(100vh - 80px);
    margin-top: 80px;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transform-origin: center top;
    transform: scale(1.05);
    animation: zoomOut 25s infinite alternate ease-in-out;
}

@keyframes zoomOut {
    0% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1.15);
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.7) 100%);
    z-index: -1;
}

.hero-content {
    width: 100%;
    text-align: center;
    color: #fff;
    z-index: 1;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 700;
    letter-spacing: 3px;
    margin-bottom: 20px;
    text-shadow: 2px 4px 8px rgba(0, 0, 0, 0.4);
    opacity: 0;
    animation: fadeInUp 1s forwards 0.2s;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    letter-spacing: 1px;
    text-shadow: 1px 2px 4px rgba(0, 0, 0, 0.4);
    opacity: 0;
    animation: fadeInUp 1s forwards 0.6s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* About Section */
.about-content {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    color: var(--text-color);
    background: #fff;
}

.about-content p {
    margin-bottom: 25px;
}

.about-content .signature {
    text-align: right;
    margin-top: 50px;
    margin-bottom: 0;
    font-weight: 700;
    color: var(--text-light);
}

/* News Section */
.news-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 40px;
}

.news-item {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 30px;
}

.news-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.news-date {
    font-size: 0.95rem;
    color: var(--text-light);
    font-weight: 700;
}

.news-category {
    font-size: 0.8rem;
    background-color: var(--secondary-color);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-weight: 700;
}

.category-release {
    background-color: var(--secondary-color);
}

.news-title {
    font-size: 1.4rem;
    margin-bottom: 15px;
    line-height: 1.5;
}

.news-title a {
    color: var(--primary-color);
}

.news-title a:hover {
    color: var(--secondary-color);
}

.news-excerpt {
    color: var(--text-light);
    flex-grow: 1;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 35px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    transition: var(--transition);
}

.btn-outline {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: white;
    box-shadow: 0 5px 15px rgba(44, 62, 80, 0.2);
}

/* Footer */
.footer {
    background-color: var(--primary-color);
    color: #fff;
    padding: 30px 0;
}

.copyright {
    text-align: center;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
}

/* Responsive */
.sub-page-main {
    padding-top: 80px;
}

/* Tablet Responsive */
@media (max-width: 992px) {
    .hero-title {
        font-size: 3.5rem;
    }

    .hero-subtitle {
        font-size: 1.3rem;
    }

    .section {
        padding: 80px 0;
    }

    .news-list {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        height: auto;
        padding: 15px 0;
    }

    .nav-list {
        margin-top: 15px;
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .sub-page-main {
        padding-top: 140px;
    }

    .section {
        padding: 60px 0;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
        padding: 0 20px;
    }

    .section-title {
        font-size: 1.8rem;
        margin-bottom: 40px;
    }

    .about-content,
    .news-item {
        padding: 20px;
    }

    .news-list {
        grid-template-columns: 1fr;
    }
}

/* ヒーロー画像のトリミング対策（画面幅を縮めた際に顔が切れないように高さを調整、左側の男性寄りへシフト） */
@media (max-width: 1024px) {
    .hero {
        height: 60vh;
        margin-top: 80px;
        min-height: 400px;
    }

    .hero-image {
        object-position: 50% top;
        transform-origin: 30% top;
    }
}

@media (max-width: 768px) {
    .hero {
        height: 40vh;
        margin-top: 140px;
        min-height: 250px;
    }

    .hero-image {
        object-position: 48% top;
        transform-origin: 30% top;
    }
}