/* ==========================================
   グローバル設定
   ========================================== */
:root {
    /* カラー */
    --color-black: #000000;
    --color-white: #ffffff;
    --color-gray-100: #f8f9fa;
    --color-gray-200: #e9ecef;
    --color-gray-300: #dee2e6;
    --color-gray-400: #ced4da;
    --color-gray-500: #adb5bd;
    --color-gray-600: #6c757d;
    --color-gray-700: #495057;
    --color-gray-800: #343a40;
    --color-gray-900: #212529;
    
    /* フォント */
    --font-primary: 'Noto Sans JP', sans-serif;
    --font-secondary: 'Inter', sans-serif;
    
    /* サイズ */
    --header-height: 80px;
    --section-spacing: 100px;
    --container-width: 1200px;
    
    /* トランジション */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* シャドウ */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.12);
}

/* ==========================================
   リセット & ベーススタイル
   ========================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    color: var(--color-gray-900);
    background-color: var(--color-white);
    line-height: 1.7;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

ul {
    list-style: none;
}

/* ==========================================
   ユーティリティクラス
   ========================================== */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: var(--section-spacing) 0;
}

.section-bg {
    background-color: var(--color-gray-100);
}

.section__header {
    text-align: center;
    margin-bottom: 60px;
}

.section__title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.section__divider {
    width: 80px;
    height: 4px;
    background-color: var(--color-black);
    margin: 0 auto;
}

/* ==========================================
   ボタン
   ========================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 35px;
    font-size: 1rem;
    font-weight: 600;
    border: 2px solid var(--color-black);
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition-normal);
    font-family: var(--font-primary);
}

.btn-primary {
    background-color: var(--color-black);
    color: var(--color-white);
}

.btn-primary:hover {
    background-color: var(--color-white);
    color: var(--color-black);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background-color: var(--color-white);
    color: var(--color-black);
}

.btn-secondary:hover {
    background-color: var(--color-black);
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-large {
    padding: 18px 45px;
    font-size: 1.1rem;
}

/* ==========================================
   ヘッダー & ナビゲーション
   ========================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: var(--transition-normal);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: var(--header-height);
}

.nav__logo .logo-img {
    height: 50px;
    width: auto;
}

.nav__list {
    display: flex;
    gap: 35px;
    align-items: center;
}

.nav__link {
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    padding: 5px 0;
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-black);
    transition: var(--transition-normal);
}

.nav__link:hover::after {
    width: 100%;
}

.nav__toggle,
.nav__close {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* ==========================================
   ヒーローセクション
   ========================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding-top: var(--header-height);
    overflow: hidden;
}

.hero__image-full {
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero__image-full img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: fadeIn 1.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.hero__scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.scroll-link {
    display: inline-block;
    font-size: 2rem;
    color: var(--color-black);
    animation: bounce 2s infinite;
}

/* ==========================================
   おおたくTVセクション
   ========================================== */
.otakutv__content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    align-items: center;
}

.otakutv__logo {
    display: flex;
    justify-content: center;
    align-items: center;
}

.otakutv__logo img {
    max-width: 300px;
    width: 100%;
    border-radius: 50%;
    box-shadow: var(--shadow-lg);
    transition: var(--transition-normal);
}

.otakutv__logo img:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.otakutv__text h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.otakutv__text p {
    font-size: 1.1rem;
    color: var(--color-gray-700);
    line-height: 1.8;
    margin-bottom: 20px;
}

.otakutv__cta {
    margin-top: 30px;
}

/* ==========================================
   会社紹介セクション
   ========================================== */
.about__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.about__company-name {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 40px;
}

.about__info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.about__info-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.about__info-item i {
    font-size: 1.5rem;
    color: var(--color-black);
    margin-top: 5px;
}

.about__info-item strong {
    display: block;
    font-weight: 600;
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.about__info-item p {
    color: var(--color-gray-700);
}

.mission-card {
    background-color: var(--color-black);
    color: var(--color-white);
    padding: 50px;
    border-radius: 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.mission-card h4 {
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.mission-card p {
    font-size: 1.1rem;
    line-height: 1.9;
}

/* ==========================================
   事業内容セクション
   ========================================== */
.business__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.business__card {
    background-color: var(--color-white);
    padding: 40px;
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
    text-align: center;
}

.business__card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.business__icon {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--color-black);
}

.business__card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.business__card p {
    color: var(--color-gray-700);
    line-height: 1.7;
}

/* ==========================================
   代表プロフィールセクション
   ========================================== */
.profile__header {
    text-align: center;
    margin-bottom: 60px;
}

.profile__header h3 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.profile__position {
    font-size: 1.2rem;
    color: var(--color-gray-600);
}

.profile__timeline {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.profile__timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: var(--color-gray-300);
    transform: translateX(-50%);
}

.timeline__item {
    display: flex;
    gap: 40px;
    margin-bottom: 50px;
    position: relative;
}

.timeline__item:nth-child(odd) {
    flex-direction: row-reverse;
}

.timeline__marker {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    background-color: var(--color-black);
    border: 4px solid var(--color-white);
    border-radius: 50%;
    box-shadow: 0 0 0 4px var(--color-gray-300);
}

.timeline__content {
    flex: 1;
    background-color: var(--color-white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
}

.timeline__item:nth-child(odd) .timeline__content {
    text-align: right;
}

.timeline__content h4 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.timeline__content p {
    color: var(--color-gray-700);
    line-height: 1.8;
}

.timeline__item.highlight .timeline__content {
    background-color: var(--color-black);
    color: var(--color-white);
}

.timeline__item.highlight .timeline__content p {
    color: var(--color-gray-200);
}

.timeline__item.highlight .timeline__marker {
    background-color: var(--color-black);
    width: 30px;
    height: 30px;
    box-shadow: 0 0 0 6px var(--color-gray-300), 0 0 0 12px rgba(0, 0, 0, 0.1);
}

/* ==========================================
   ブランドセクション
   ========================================== */
.brand__intro {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    margin-bottom: 80px;
    align-items: center;
}

.brand__logo-section {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--color-white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
}

.brand__logo {
    max-width: 300px;
}

.brand__concept h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.brand__concept > p {
    font-size: 1.2rem;
    color: var(--color-gray-700);
    margin-bottom: 30px;
    line-height: 1.8;
}

.brand__features {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.feature__item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.feature__item i {
    font-size: 1.3rem;
    color: var(--color-black);
    margin-top: 3px;
}

.feature__item p {
    color: var(--color-gray-700);
    line-height: 1.7;
}

/* 商品グリッド */
.products__title {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 50px;
}

.products__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.product__card {
    background-color: var(--color-white);
    padding: 40px;
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
}

.product__card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.product__image {
    width: 100%;
    height: 250px;
    margin-bottom: 25px;
    border-radius: 10px;
    overflow: hidden;
    background-color: var(--color-gray-100);
}

.product__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-normal);
}

.product__card:hover .product__image img {
    transform: scale(1.05);
}

.product__card h4 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.product__card > p {
    color: var(--color-gray-700);
    margin-bottom: 20px;
    line-height: 1.7;
}

.product__points {
    list-style: none;
    padding-left: 0;
}

.product__points li {
    padding-left: 25px;
    position: relative;
    margin-bottom: 10px;
    color: var(--color-gray-600);
    font-size: 0.95rem;
}

.product__points li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-black);
    font-weight: bold;
}

.products__cta {
    text-align: center;
}

/* ==========================================
   G-roundセクション
   ========================================== */
.ground__intro {
    margin-bottom: 60px;
}

.ground__slogan {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
}

.ground__slogan h3 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.ground__slogan p {
    font-size: 1.2rem;
    color: var(--color-gray-700);
    line-height: 1.9;
}

.ground__images {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.ground__image-item {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
}

.ground__image-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.ground__image-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
}

.ground__image-sepia img {
    filter: sepia(0.6) grayscale(0.3) contrast(1.1);
    transition: var(--transition-normal);
}

.ground__image-sepia:hover img {
    filter: sepia(0.3) grayscale(0.15) contrast(1.05);
}

.ground__features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-bottom: 60px;
}

.ground__feature {
    background-color: var(--color-white);
    padding: 40px;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    position: relative;
}

.feature__number {
    position: absolute;
    top: -20px;
    left: 40px;
    width: 60px;
    height: 60px;
    background-color: var(--color-black);
    color: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
}

.ground__feature h4 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 15px;
    margin-top: 20px;
}

.ground__feature p {
    color: var(--color-gray-700);
    line-height: 1.8;
}

.ground__vision {
    background-color: var(--color-black);
    color: var(--color-white);
    padding: 50px;
    border-radius: 20px;
    text-align: center;
    margin-bottom: 40px;
}

.ground__vision h4 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.ground__vision p {
    font-size: 1.2rem;
    line-height: 1.9;
}

.ground__cta {
    text-align: center;
}

/* ==========================================
   お問い合わせセクション
   ========================================== */
.contact__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact__info h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 40px;
}

.contact__items {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact__item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.contact__item i {
    font-size: 1.5rem;
    color: var(--color-black);
    margin-top: 5px;
}

.contact__item strong {
    display: block;
    font-weight: 600;
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.contact__item p {
    color: var(--color-gray-700);
}

.contact__item a {
    color: var(--color-black);
    text-decoration: underline;
}

.contact__item a:hover {
    color: var(--color-gray-600);
}

.contact__links h4 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 30px;
}

.social__links {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.social__link {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background-color: var(--color-white);
    border: 2px solid var(--color-gray-300);
    border-radius: 10px;
    transition: var(--transition-normal);
}

.social__link:hover {
    background-color: var(--color-black);
    color: var(--color-white);
    border-color: var(--color-black);
    transform: translateX(10px);
}

.social__link i {
    font-size: 1.5rem;
}

.social__link span {
    font-weight: 500;
}

/* ==========================================
   フッター
   ========================================== */
.footer {
    background-color: var(--color-gray-900);
    color: var(--color-white);
    padding: 60px 0 30px;
}

.footer__content {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer__logo {
    height: 50px;
    width: auto;
    margin-bottom: 20px;
}

.footer__tagline {
    color: var(--color-gray-400);
    font-size: 1.1rem;
}

.footer__links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer__column h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer__column ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer__column a {
    color: var(--color-gray-400);
    transition: var(--transition-fast);
}

.footer__column a:hover {
    color: var(--color-white);
    padding-left: 5px;
}

.footer__bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--color-gray-700);
    color: var(--color-gray-500);
}

/* ==========================================
   トップへ戻るボタン
   ========================================== */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--color-black);
    color: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-normal);
    z-index: 999;
}

.scroll-top.show {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    background-color: var(--color-gray-800);
    transform: translateY(-5px);
}

/* ==========================================
   アニメーション
   ========================================== */
@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* ==========================================
   レスポンシブデザイン
   ========================================== */

/* タブレット */
@media screen and (max-width: 968px) {
    :root {
        --section-spacing: 70px;
    }
    
    .section__title {
        font-size: 2rem;
    }
    
    .hero__container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero__title {
        font-size: 2.5rem;
    }
    
    .hero__subtitle {
        font-size: 1.1rem;
    }
    
    .brand-logo {
        max-width: 300px;
    }
    
    .otakutv__content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .otakutv__logo img {
        max-width: 250px;
    }
    
    .about__content {
        grid-template-columns: 1fr;
    }
    
    .business__grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .profile__timeline::before {
        left: 20px;
    }
    
    .timeline__item {
        flex-direction: row !important;
        padding-left: 60px;
    }
    
    .timeline__marker {
        left: 20px;
        transform: none;
    }
    
    .timeline__content {
        text-align: left !important;
    }
    
    .brand__intro {
        grid-template-columns: 1fr;
    }
    
    .ground__features {
        grid-template-columns: 1fr;
    }
    
    .ground__images {
        grid-template-columns: 1fr;
    }
    
    .contact__content {
        grid-template-columns: 1fr;
    }
    
    .footer__content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* モバイル */
@media screen and (max-width: 768px) {
    :root {
        --header-height: 60px;
        --section-spacing: 50px;
    }
    
    .nav__menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background-color: var(--color-white);
        box-shadow: var(--shadow-lg);
        padding: 100px 40px 40px;
        transition: var(--transition-normal);
    }
    
    .nav__menu.show {
        right: 0;
    }
    
    .nav__list {
        flex-direction: column;
        gap: 30px;
        align-items: flex-start;
    }
    
    .nav__link {
        font-size: 1.1rem;
    }
    
    .nav__toggle,
    .nav__close {
        display: block;
    }
    
    .nav__close {
        position: absolute;
        top: 30px;
        right: 30px;
    }
    

    
    .nav__logo .logo-img {
        height: 40px;
    }
    
    .hero {
        min-height: 70vh;
    }
    
    .hero__image-full {
        height: 70vh;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .section__title {
        font-size: 1.8rem;
    }
    
    .business__grid {
        grid-template-columns: 1fr;
    }
    
    .products__grid {
        grid-template-columns: 1fr;
    }
    
    .footer__links {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .scroll-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}

@media screen and (max-width: 480px) {
    .hero {
        min-height: 60vh;
    }
    
    .hero__image-full {
        height: 60vh;
    }
    
    .section__title {
        font-size: 1.5rem;
    }
    
    .mission-card {
        padding: 30px;
    }
    
    .business__card {
        padding: 30px;
    }
    
    .product__card {
        padding: 30px;
    }
    
    .ground__feature {
        padding: 30px;
    }
    
    .ground__vision {
        padding: 30px;
    }
}