/* ReNova株式会社 - 先進的デザイン */

/* ==================== リセット ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #FF6B35;
    --primary-dark: #E85A2B;
    --primary-light: #FF8A5C;
    --secondary: #2C3E50;
    --text-dark: #1A1A1A;
    --text-gray: #5A6C7D;
    --text-light: #7F8C8D;
    --bg-white: #FFFFFF;
    --bg-light: #F8F9FA;
    --bg-dark: #0A0E27;
    --gradient-primary: linear-gradient(135deg, #FF6B35 0%, #FF8F6B 100%);
    --gradient-dark: linear-gradient(135deg, #0A0E27 0%, #1A1F3A 100%);
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.12);
    --shadow-lg: 0 8px 40px rgba(0,0,0,0.16);
}

body {
    font-family: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 16px;
    color: var(--text-dark);
    line-height: 1.7;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

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

/* ==================== SEOテキスト ==================== */
.seo-text {
    position: absolute;
    left: -9999px;
    font-size: 14px;
}

/* ==================== ヘッダー ==================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 20px 0;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.header__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header__logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header__logo-text {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark);
}

.header__nav {
    display: flex;
    align-items: center;
    gap: 40px;
}

.header__link {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-dark);
    text-decoration: none;
    position: relative;
    transition: color 0.3s;
}

.header__link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s;
}

.header__link:hover {
    color: var(--primary);
}

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

.header__cta {
    padding: 10px 24px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.3s, box-shadow 0.3s;
}

.header__cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
}

/* ==================== ヒーローセクション ==================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, #0A0E27 0%, #1A1F3A 25%, #2C1810 50%, #3D2314 75%, #0A0E27 100%);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.hero__background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero__gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse at 20% 30%, rgba(255, 107, 53, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 70%, rgba(255, 143, 107, 0.12) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(10, 14, 39, 0.8) 0%, rgba(10, 14, 39, 0.95) 70%);
    animation: pulseGradient 8s ease-in-out infinite;
}

@keyframes pulseGradient {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.85; }
}

.hero__network {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.4;
}

/* 幾何学パターン背景 */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        repeating-linear-gradient(45deg, transparent, transparent 100px, rgba(255, 107, 53, 0.03) 100px, rgba(255, 107, 53, 0.03) 101px),
        repeating-linear-gradient(-45deg, transparent, transparent 100px, rgba(255, 143, 107, 0.03) 100px, rgba(255, 143, 107, 0.03) 101px);
    z-index: 1;
}

.hero::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(255, 107, 53, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(80px);
    z-index: 1;
    animation: pulse 10s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.5;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0.8;
    }
}

.hero__content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 900px;
    padding: 0 30px;
    animation: fadeInUp 1s ease-out;
}

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

.hero__title {
    font-size: 56px;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 30px;
    color: white;
}

.hero__title-line {
    display: block;
}

.hero__title-line--accent {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero__subtitle {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
    font-weight: 300;
}

.hero__cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 16px 40px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn--primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.btn--primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.4);
}

.btn--outline {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn--outline:hover {
    background: white;
    color: var(--text-dark);
}

.hero__scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.hero__scroll-line {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.3);
    animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
    0%, 100% { height: 40px; opacity: 1; }
    50% { height: 20px; opacity: 0.5; }
}

/* ==================== セクション共通 ==================== */
.section__header {
    text-align: center;
    margin-bottom: 60px;
}

.section__label {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--primary);
    margin-bottom: 15px;
    text-transform: uppercase;
}

.section__title {
    font-size: 40px;
    font-weight: 900;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.section__description {
    font-size: 18px;
    color: var(--text-gray);
    max-width: 600px;
    margin: 0 auto;
}

.section__divider {
    position: relative;
    height: 100px;
    background: white;
}

.section__divider--skew {
    clip-path: polygon(0 0, 100% 50%, 100% 100%, 0 100%);
    background: var(--bg-light);
    margin-top: -50px;
}

.section__divider--skew-reverse {
    clip-path: polygon(0 50%, 100% 0, 100% 100%, 0 100%);
    background: white;
    margin-top: -50px;
}

/* ==================== Vision / Mission ==================== */
.vision {
    padding: 120px 0 80px;
    background: white;
}

.vision__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
}

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

.vision__card {
    padding: 60px 40px;
    border-radius: 20px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    overflow: hidden;
}

.vision__card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, transparent 0%, rgba(255,255,255,0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s;
}

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

.vision__card:hover::before {
    opacity: 1;
}

.vision__card--primary {
    background: var(--gradient-primary);
    color: white;
}

.vision__card--secondary {
    background: var(--gradient-dark);
    color: white;
}

.vision__icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
}

.vision__icon svg {
    width: 40px;
    height: 40px;
}

.vision__label {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 10px;
}

.vision__text {
    font-size: 18px;
    line-height: 1.8;
    font-weight: 300;
}

/* ==================== Story（課題） ==================== */
.story {
    padding: 120px 0 80px;
    background: var(--bg-light);
}

.story__container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 30px;
}

.story__intro {
    font-size: 18px;
    line-height: 1.9;
    color: var(--text-gray);
    text-align: center;
    margin-bottom: 80px;
}

.story__intro strong {
    color: var(--primary);
    font-weight: 700;
}

.challenges {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-bottom: 80px;
}

.challenge {
    display: flex;
    gap: 30px;
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.challenge::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 5px;
    height: 100%;
    background: var(--gradient-primary);
    transform: scaleY(0);
    transition: transform 0.3s;
}

.challenge:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-md);
}

.challenge:hover::before {
    transform: scaleY(1);
}

.challenge__number {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    color: white;
}

.challenge__title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.challenge__text {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-gray);
}

.solution {
    background: var(--gradient-primary);
    padding: 50px;
    border-radius: 20px;
    text-align: center;
    color: white;
}

.solution__title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 20px;
}

.solution__text {
    font-size: 18px;
    line-height: 1.9;
}

.solution__text strong {
    font-weight: 700;
    text-decoration: underline;
}

/* ==================== サービス ==================== */
.services {
    padding: 120px 0;
    background: white;
}

.services__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
}

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

.service-card {
    background: white;
    border: 2px solid #f0f0f0;
    border-radius: 20px;
    padding: 50px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.4s;
}

.service-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.service-card:hover::before {
    opacity: 0.05;
}

.service-card__number {
    position: absolute;
    top: 30px;
    right: 30px;
    font-size: 80px;
    font-weight: 900;
    color: rgba(255, 107, 53, 0.1);
    line-height: 1;
}

.service-card__icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
}

.service-card__icon svg {
    width: 35px;
    height: 35px;
    fill: white;
}

.service-card__title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.service-card__subtitle {
    font-size: 16px;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 20px;
}

.service-card__description {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-gray);
    margin-bottom: 25px;
}

.service-card__features {
    list-style: none;
    padding: 0;
}

.service-card__features li {
    font-size: 15px;
    color: var(--text-gray);
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
}

.service-card__features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 700;
}

/* ==================== Values（行動指針） ==================== */
.values {
    padding: 120px 0 80px;
    background: var(--bg-light);
}

.values__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
}

.values__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.value-step {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s;
    border-top: 5px solid transparent;
}

.value-step:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
    border-top-color: var(--primary);
}

.value-step__number {
    display: inline-block;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    color: white;
    font-size: 20px;
    font-weight: 700;
    line-height: 50px;
    margin-bottom: 20px;
}

.value-step__title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.value-step__subtitle {
    font-size: 14px;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 15px;
}

.value-step__text {
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-gray);
}

/* ==================== 代表挨拶 ==================== */
.message {
    padding: 120px 0;
    background: white;
}

.message__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
}

.message__content {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 60px;
    align-items: start;
}

.message__image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
}

.message__position {
    font-size: 14px;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 8px;
}

.message__name {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 30px;
    color: var(--text-dark);
}

.message__paragraph {
    font-size: 16px;
    line-height: 1.9;
    color: var(--text-gray);
    margin-bottom: 20px;
}

/* ==================== 会社情報 ==================== */
.company {
    padding: 80px 0;
    background: var(--bg-light);
}

.company__container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 30px;
}

.company__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.company__item {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
}

.company__label {
    font-size: 13px;
    color: var(--text-light);
    font-weight: 600;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.company__value {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-dark);
}

/* ==================== お問い合わせ ==================== */
.contact {
    padding: 120px 0;
    background: white;
}

.contact__container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 30px;
}

.contact__form {
    background: var(--bg-light);
    padding: 50px;
    border-radius: 20px;
}

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

.form__group {
    margin-bottom: 20px;
}

.form__label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.form__label span {
    color: var(--primary);
}

.form__input,
.form__textarea {
    width: 100%;
    padding: 15px;
    font-size: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-family: inherit;
    transition: border-color 0.3s;
}

.form__input:focus,
.form__textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.form__textarea {
    min-height: 150px;
    resize: vertical;
}

.form__submit {
    width: 100%;
    padding: 18px;
    background: var(--gradient-primary);
    color: white;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s;
}

.form__submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.4);
}

/* ==================== フッター ==================== */
.footer {
    background: var(--bg-dark);
    color: white;
    padding: 60px 0 30px;
    text-align: center;
}

.footer__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
}

.footer__brand h3 {
    font-size: 24px;
    margin-bottom: 15px;
}

.footer__brand p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 40px;
}

.footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
}

.footer__bottom p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
}

/* ==================== レスポンシブ ==================== */
@media (max-width: 968px) {
    .hero__title {
        font-size: 40px;
    }
    
    .vision__grid,
    .services__grid {
        grid-template-columns: 1fr;
    }
    
    .values__grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .message__content {
        grid-template-columns: 1fr;
    }
    
    .company__grid {
        grid-template-columns: 1fr;
    }
    
    .form__row {
        grid-template-columns: 1fr;
    }
    
    .header__nav {
        display: none;
    }
}

@media (max-width: 576px) {
    .hero__title {
        font-size: 32px;
    }
    
    .section__title {
        font-size: 32px;
    }
    
    .values__grid {
        grid-template-columns: 1fr;
    }
    
    .challenge {
        flex-direction: column;
    }
}
