/*
Theme Name: ASAP 2026 Migration
Description: Minimal Starter Theme for Migration
Version: 1.0
Author: Antigravity
*/
@charset "UTF-8";

/* =========================================
   1. GLOBAL & RESET
   ========================================= */
:root {
    --primary-color: #FE222C;
    --secondary-color: #2c5e4f;
    --accent-color: #eab308;
    --text-color: #333333;
    --bg-color: #ffffff;
    --gray-light: #f4f5f7;
    --gray-border: #ddd;
    --transition: all 0.3s ease;
    --max-width: 1200px;
    --font-serif: 'Noto Serif JP', serif;
    --font-sans: 'Inter', 'Noto Sans JP', sans-serif;
}
:target {
  scroll-margin-top: 80px;
}

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

body {
    font-family: var(--font-sans);
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

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

ul {
    list-style: none;
}

/* =========================================
   2. HEADER & NAVIGATION
   ========================================= */
header {
    position: fixed;
    top: 0;
    width: 100%;
    height: 80px;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

header.scrolled {
    height: 60px;
    padding: 0 40px;
    background-color: rgba(255, 255, 255, 0.95);
}

/* Page headers might have different padding but same structure being enforced here */
/* Overriding specific headers that used padding instead of height/flex for layout */
/* For consistency, we'll try to standardize, or keep specific overrides below if crucial */

.logo {
    display: flex;
    align-items: center;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: #000;
}

.logo img {
    height: 40px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 0px;
    height: 100%;
    align-items: center;
}

.nav-links a {
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.05em;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -4px;
    left: 0;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--primary-color);
}

.nav-links a:hover::after {
    width: 100%;
}

/* =========================================
   14. BREADCRUMBS
   ========================================= */
.asap-breadcrumbs {
    margin: 20px auto;
    max-width: var(--max-width);
    padding: 0 20px;
    font-size: 14px;
    color: #666;
}

.asap-breadcrumbs ol {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.asap-breadcrumbs li {
    display: inline-block;
}

.asap-breadcrumbs a {
    color: #888;
    text-decoration: none;
    transition: color 0.3s;
}

.asap-breadcrumbs a:hover {
    color: var(--primary-color);
}

.asap-breadcrumbs .separator {
    margin: 0 10px;
    color: #ccc;
    font-size: 12px;
}

/* Mega Menu Styles (index.html) */
.nav-item {
    position: static;
    height: 100%;
    display: flex;
    align-items: center;
}

/* If .nav-item isn't used in other pages, this block won't affect them. */
.mega-menu {
    position: absolute;
    top: 100%;
    right: 0;
    left: auto;
    transform: translateY(10px);
    width: 80vw;
    max-width: 1000px;
    /* background-color: rgba(86, 116, 140, 0.95); default blue*/
    /* background-color: rgba(58, 125, 104, 0.95); green*/
    background-color: rgba(51, 51, 51, 0.95);
    /*modern dark*/
    /* background-color: rgba(153, 27, 27, 0.95); red */
    /* background-color: rgba(255, 255, 255, 0.95);white */
    padding: 20px 40px;
    color: #fff;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 100;
    display: flex;
    gap: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.nav-item:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mega-menu-left {
    width: 25%;
    border-right: 1px solid rgba(255, 255, 255, 0.3);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.mega-menu-title-en {
    font-size: 32px;
    font-weight: 300;
    margin-bottom: 5px;
    letter-spacing: 0.05em;
}

.mega-menu-title-ja {
    font-size: 14px;
    font-weight: 500;
    opacity: 0.8;
}

.mega-menu-right {
    width: 75%;
    display: flex;
    flex-wrap: wrap;
    padding-left: 20px;
}

.mega-col {
    width: 50%;
    margin-bottom: 15px;
}

.mega-col h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #fff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    padding-bottom: 10px;
    display: inline-block;
    min-width: 150px;
}

.mega-col ul {
    list-style: none;
}

.mega-col li {
    margin-bottom: 0px;
}

.mega-col li a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    transition: opacity 0.2s;
}

.mega-col li a:hover {
    opacity: 0.7;
    color: #fff;
}

.mega-col li a::after {
    display: none;
}

@media (min-width: 768px) {
	main{
		padding: 0px 45px;
	}
}

/* =========================================
   3. COMMON LAYOUT & TYPOGRAPHY
   ========================================= */
section {
    padding: 0px 50px 50px 50px;
    position: relative;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
}

.section-title {
    font-size: 50px;
    font-weight: 300;
    margin-bottom: 0px;
    text-align: center;
    letter-spacing: 0.05em;
}

.section-title span {
    display: block;
    font-size: 14px;
    /* color: var(--primary-color); */
    color: #FE222C;
    margin-bottom: 10px;
    font-weight: 600;
    letter-spacing: 0.2em;
}

.section-label {
    font-size: 14px;
    /* color: var(--primary-color); */
    color: #FE222C;
    margin-bottom: 20px;
    font-weight: 700;
    letter-spacing: 0.2em;
    position: relative;
    z-index: 1;
    text-align: center;
}

/* Animation Classes */
.reveal-item {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal-item.active {
    opacity: 1;
    transform: translateY(0);
}

.delay-100 {
    transition-delay: 0.1s;
}

.delay-200 {
    transition-delay: 0.2s;
}

.delay-300 {
    transition-delay: 0.3s;
}

/* =========================================
   4. HOME PAGE (index.html)
   ========================================= */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero-bg-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%;
    z-index: -1;
    will-change: transform;
}

.layer-1 {
    /* background: linear-gradient(135deg, rgba(240, 253, 244, 0.7) 0%, rgba(224, 242, 241, 0.7) 100%); */
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.7) 0%, rgba(245, 247, 248, 0.7) 100%);
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -5;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

.layer-2 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(58, 125, 104, 0.15) 0%, rgba(255, 255, 255, 0) 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    pointer-events: none;
}

.layer-3 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(6, 95, 70, 0.05) 0%, rgba(255, 255, 255, 0) 70%);
    top: 20%;
    right: 15%;
    border-radius: 50%;
    pointer-events: none;
}

.hero-content {
    text-align: center;
    z-index: 1;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s ease, transform 1s ease;
}

.hero-content.visible {
    opacity: 1;
    /* transform: translateY(0); */
}

.hero h1 {
    font-size: 80px;
    font-weight: 300;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
    /* color: var(--primary-color); */
    color: #666;
    position: relative;
}

.hero p {
    font-size: 18px;
    color: #666;
    letter-spacing: 0.1em;
}

/* News List */
.news-list {
    list-style: none;
    max-width: 800px;
    margin: 0 auto;
}

.news-item {
    border-bottom: 1px solid #eee;
}

.news-link {
    display: flex;
    align-items: baseline;
    padding: 15px 0;
    gap: 40px;
}

.news-link:hover {
    opacity: 0.7;
    transform: translateX(10px);
}

.news-date {
    font-size: 14px;
    color: #888;
    min-width: 100px;
}

.news-title {
    font-size: 16px;
    font-weight: 500;
}

/* Brand Grid */
.brand-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.brand-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    /* box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03); */
    /* box-shadow: 0 30px 60px rgba(254, 34, 44, 0.15);
    border-color: rgba(254, 34, 44, 0.1); */
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.08);
    border-color: rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    cursor: pointer;
    border: 1px solid transparent;
}

.brand-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 30px 60px rgba(254, 34, 44, 0.15);
    border-color: rgba(254, 34, 44, 0.1);
}


.brand-img {
    height: 250px;
    background-color: var(--gray-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ccc;
    font-weight: 600;
    font-size: 24px;
    position: relative;
    overflow: hidden;
}

.brand-info {
	padding: 15px;
}

.brand-name {
    font-size: 20px;
    margin-bottom: 10px;
    font-weight: 700;
}

.brand-desc {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
}

.btn-arrow {
    font-size: 14px;
    font-weight: 600;
    /* color: var(--primary-color); */
    color: #FE222C;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: transform 0.3s ease;
}

.brand-card:hover .btn-arrow {
    transform: translateX(5px);
}

/* Business Section (Home) */
.business-section {
    background-color: var(--gray-light);
    background-image: radial-gradient(#e0f2f1 1px, transparent 1px);
    background-size: 40px 40px;
    background-attachment: fixed;
}

.business-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px;
    background-color: rgba(221, 221, 221, 0.5);
    border: 1px solid rgba(221, 221, 221, 0.5);
}

.business-item {
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(5px);
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 200px;
    transition: var(--transition);
}

.business-item:hover {
    background-color: #fff;
}

.business-item h3 {
    font-size: 22px;
    margin-bottom: 15px;
}

.business-item p {
    font-size: 14px;
    color: #666;
}

/* Sticky C2A Sidebar */
.c2a-sidebar {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.c2a-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 60px;
    padding: 20px 5px;
    background-color: #FE222C;
    color: #fff;
    border-radius: 8px 0 0 8px;
    box-shadow: -2px 4px 10px rgba(0, 0, 0, 0.15);
    transition: var(--transition);
}

.c2a-second {
    background-color: #333;
}

.c2a-btn:hover {
    transform: translateX(-5px);
    background-color: #FE222C;
}

.c2a-second:hover {
    background-color: #333;
}

.c2a-icon {
    margin-bottom: 15px;
}

.c2a-text {
    writing-mode: vertical-rl;
    text-orientation: upright;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.2em;
}

/* =========================================
   6. MOBILE C2A OVERRIDE
   ========================================= */
@media (max-width: 900px) {
    .c2a-sidebar {
        display: flex !important;
        position: fixed;
        top: auto;
        bottom: 0;
        right: 0;
        left: 0;
        transform: none;
        width: 100%;
        flex-direction: row;
        gap: 0;
        z-index: 9999;
        box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    }

    .c2a-btn {
        width: 50%;
        height: 70px;
        border-radius: 0;
        margin: 0;
        flex-direction: row;
        gap: 10px;
        box-shadow: none;
        justify-content: center;
        align-items: center;
		background-color:#FE222C!important;
		color:white!important;
    }

    .c2a-text {
        writing-mode: horizontal-tb;
        text-orientation: mixed;
        font-size: 16px;
        letter-spacing: 0.05em;
    }

    .c2a-icon {
        margin-bottom: 0;
        display: flex;
        align-items: center;
    }

    /* White theme for buttons as requested in wireframe */
    .c2a-btn {
        background-color: #fff;
        color: #333;
        border-top: 1px solid #eee;
    }

    /* Add borders or separation if needed, currently just white */
    .c2a-btn:first-child {
        border-right: 1px solid #eee;
    }

    .c2a-second {
        background-color: #333!important;
        color: white;
    }

    .c2a-btn:hover,
    .c2a-second:hover {
        background-color: #f9f9f9;
        color: #333;
        transform: none;
    }
}

/* =========================================
   6. MOBILE C2A OVERRIDE
   ========================================= */
@media (max-width: 900px) {
    .c2a-sidebar {
        display: flex !important;
        position: fixed;
        top: auto;
        bottom: 0;
        right: 0;
        left: 0;
        transform: none;
        width: 100%;
        flex-direction: row;
        gap: 0;
        z-index: 9999;
        box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    }

    .c2a-btn {
        width: 50%;
        height: 70px;
        border-radius: 0;
        margin: 0;
        flex-direction: row;
        gap: 10px;
        box-shadow: none;
        justify-content: center;
        align-items: center;
    }

    .c2a-text {
        writing-mode: horizontal-tb;
        text-orientation: mixed;
        font-size: 16px;
        letter-spacing: 0.05em;
    }

    .c2a-icon {
        margin-bottom: 0;
        display: flex;
        align-items: center;
    }

    /* White theme for buttons as requested in wireframe */
    .c2a-btn {
        background-color: #fff;
        color: #333;
        border-top: 1px solid #eee;
    }

    /* Add borders or separation if needed, currently just white */
    .c2a-btn:first-child {
        border-right: 1px solid #eee;
    }

    .c2a-second {
        background-color: #fff;
        color: #333;
    }

    .c2a-btn:hover,
    .c2a-second:hover {
        background-color: #f9f9f9;
        color: #333;
        transform: none;
    }
}

/* =========================================
   6. MOBILE MENU
   ========================================= */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    color: #333;
    z-index: 1001;
}

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-inner {
    text-align: center;
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.mobile-menu-close {
    position: absolute;
    top: 30px;
    right: 40px;
    background: none;
    border: none;
    cursor: pointer;
    color: #333;
}

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

.mobile-nav-link {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: #333;
}

.mobile-nav-link:hover {
    color: var(--primary-color);
}

@media (max-width: 900px) {
    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    header {
        padding: 0 20px;
        height: 60px;
    }

    .hero h1 {
        font-size: 48px;
    }

    .section-title {
        font-size: 32px;
    }

    .brand-grid,
    .member-grid,
    .business-list {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        gap: 30px;
    }

    .c2a-sidebar {
        display: flex;
        position: fixed;
        top: auto;
        bottom: 0;
        right: 0;
        left: 0;
        transform: none;
        width: 100%;
        flex-direction: row;
        gap: 0;
        z-index: 9999;
        box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    }

    .c2a-btn {
        width: 50%;
        height: 70px;
        /* Taller touch target */
        border-radius: 0;
        margin: 0;
        flex-direction: row;
        gap: 10px;
        box-shadow: none;
    }

    .c2a-text {
        writing-mode: horizontal-tb;
        font-size: 16px;
        letter-spacing: 0.05em;
    }

    .c2a-icon {
        margin-bottom: 0;
        display: flex;
        /* Ensure icon is centered vertically with text */
    }
}

/* =========================================
   5. PAGE HERO SECTION (Subpages)
   ========================================= */
.page-hero {
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #fdfbf7 0%, #eefcf5 100%);
    position: relative;
    overflow: hidden;
    text-align: center;
}

/* Specific Hero Variants */
.service-hero {
    height: 60vh;
    background: none;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    text-align: center;
    overflow: hidden;
}

.service-hero::before {
    content: "";
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    background: url('images/code-1076536_1920.jpg') center/cover no-repeat;
    filter: blur(8px);
    z-index: -2;
}

.service-hero::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.6);
    z-index: -1;
}

.marketing-hero {
    padding: 180px 20px 80px;
    text-align: center;
    background: radial-gradient(circle at 50% 50%, #f1f8f6 0%, #fff 70%);
    height: auto;
}

.recruit-hero {
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    text-align: center;
    overflow: hidden;
}

.recruit-hero::before {
    content: "";
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    background: url('images/recuruite.png') center/cover no-repeat;
    filter: blur(8px);
    z-index: -2;
}

.recruit-hero::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.6);
    z-index: -1;
}

.about-hero {
    height: 60vh;
    background: none;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    text-align: center;
    overflow: hidden;
}

.about-hero::before {
    content: "";
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    background: url('images/aboutus.jpg') center/cover no-repeat;
    filter: blur(8px);
    z-index: -2;
}

.about-hero::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.6);
    z-index: -1;
}

.recruit-message-box {
    background-color: var(--gray-light) !important;
}

.contact-hero {
    height: 40vh;
    background: #fdfbf7;
}

.page-hero h1,
.recruit-hero h1,
.marketing-hero h1,
.service-hero h1 {
    font-size: 56px;
    font-weight: 300;
    /* color: var(--primary-color); */
    color: #333;
    z-index: 1;
    letter-spacing: 0.05em;
    position: relative;
    margin-bottom: 0px;
}

.marketing-hero h1 {
    font-size: 48px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.page-hero p,
.recruit-hero p,
.marketing-hero p,
.service-hero p {
    font-size: 18px;
    color: #FE222C;
    letter-spacing: 0.1em;
    z-index: 1;
}


/* Parallax Shapes */
.parallax-shape,
.hero-circle,
.tech-shape {
    position: absolute;
    z-index: 0;
    pointer-events: none;
    will-change: transform;
}

.parallax-shape {
    border-radius: 50%;
}

.shape-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(58, 125, 104, 0.08) 0%, rgba(255, 255, 255, 0) 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.shape-2 {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(200, 200, 200, 0.1) 0%, rgba(255, 255, 255, 0) 70%);
    top: 20%;
    right: 10%;
}

.hc-1 {
    width: 400px;
    height: 400px;
    background: rgba(58, 125, 104, 0.05);
    top: -100px;
    left: -100px;
    border-radius: 50%;
    opacity: 0.5;
}

.hc-2 {
    width: 300px;
    height: 300px;
    background: rgba(58, 125, 104, 0.08);
    bottom: 50px;
    right: -50px;
    border-radius: 50%;
    opacity: 0.5;
}

.tech-shape {
    border-radius: 50%;
    background: linear-gradient(45deg, rgba(254, 34, 44, 0.05), rgba(44, 94, 79, 0.05));
}

/* Member Section */
.member-section {
    background-color: #fff;
}
.member-section .container{
	padding:0px 30px;
}
.member-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 60px;
    margin-top: 60px;
}

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

.member-img-placeholder {
    width: 180px;
    height: 180px;
    background-color: #eee;
    border-radius: 50%;
    margin: 0 auto 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #bbb;
    font-weight: 700;
    overflow: hidden;
	border: 2px solid transparent;
}

.member-role {
    font-size: 14px;
    color: #FE222C;
    margin-bottom: 5px;
    letter-spacing: 0.05em;
    font-weight: 700;
}

.member-name {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
}

.member-desc {
    text-align: left;
    font-size: 15px;
    color: #666;
    line-height: 1.8;
}


/* Footer */
footer {
    background-color: #1a1a1a;
    color: #fff;
    padding: 80px 20px 20px;
    margin-top: auto;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 60px;
	padding-right:45px;
}

.footer-logo {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 20px;
    display: block;
}

.footer-links {
    display: flex;
    gap: 60px;
    flex-wrap: wrap;
}

.footer-col h4 {
    font-size: 14px;
    margin-bottom: 10px;
    color: #888;
    letter-spacing: 0.1em;
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 0px;
}

.footer-col li a {
    font-size: 14px;
    color: #ccc;
}

.footer-col li a:hover {
    color: #fff;
}

.copyright {
    border-top: 1px solid #333;
    padding-top: 20px;
    text-align: center;
    font-size: 12px;
    color: #666;
}

.gradation-text {
	background: linear-gradient(to right, #666666 0%, #cccccc 50%, #aaaaaa 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
}

.heading-14 {
    display: inline-block;
    position: relative;
    padding: .5em 1.4em .5em 1em;
    background-color: #abc1d3;
    color: #ffffff;
}

.heading-14::before {
    position: absolute;
    bottom: -1px;
    right: 9px;
    z-index: -1;
    transform: rotate(5deg);
    width: 70%;
    height: 50%;
    background-color: #d0d0d0;
    content: "";
    filter: blur(4px);
}


a.contact_btn, input.wpcf7-submit {
	display: block;
	text-align: center;
	vertical-align: middle;
	text-decoration: none;
	width: 320px;
	margin: auto;
	padding: 1rem 4rem;
	font-weight: bold;
	border: 2px solid #ff2e2e;
	color: #ff2e2e;
	cursor: pointer;
	position: relative;
 	overflow: hidden;
 	z-index: 1;
}
a.contact_btn::before, input.wpcf7-submit:before {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background-color: rgb(255, 46, 46);
	transform: translateX(-100%);
	transition: all .3s;
	z-index: -1;
}
a.contact_btn:hover::before, input.wpcf7-submit:hover::before {
	transform: translateX(0);
}
a.contact_btn:hover, input.wpcf7-submit:hover {
	color: #fff;
}


/* --- お問い合わせフォーム --- */
/* デザインカスタマイズ */
div.wpcf7 { background:#fff; padding:0px; -moz-border-radius:10px; -khtml-border-radius:10px; -webkit-border-radius:10px; border-radius:10px; margin:0 0 30px 0; }
div.wpcf7 p { padding:20px 20px 0; margin:0; font-size:16px; }
div.wpcf7 input, .wpcf7 textarea { border:1px solid #ccc; padding:8px; font-size:16px; }
div.wpcf7 textarea { width:97.5%; height:300px; }
div.wpcf7 input.wpcf7-submit {
   cursor:pointer; color:#fff; font-weight:bold; font-size:14px; width:200px; height:45px; margin:0 auto; display:block;
   -moz-border-radius:5px; -khtml-border-radius:5px; -webkit-border-radius:5px; border-radius:5px;
   background:#333; box-shadow: 0px 0px 3px 0px rgba(0, 0, 0, 0.5), inset 0px 32px 0px -12px #808080; border:1px solid #666;
}
div.wpcf7 input.wpcf7-submit:hover { background:#006080; box-shadow: 0px 0px 3px 0px rgba(0, 0, 0, 0.5), inset 0px 32px 0px -12px #007ea8; border:1px solid #006080; }
.wpcf7 input.wpcf7-submit:active { box-shadow:none; bottom:-2px; position:relative; }
.wpcf7 input:focus, .wpcf7 textarea:focus { border:1px solid #009de1; }
.wpcf7-captchac { border:1px solid #ccc; }
 
 
/* エラー個所をわかりやすく表示 */
.wpcf7 .wpcf7-not-valid { background: #ffb6c1; }
.wpcf7 span.wpcf7-not-valid-tip {font-size: 80%;}
.wpcf7 .wpcf7-response-output {margin: 10px 0 0; padding: 8px 35px 8px 14px; text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
    -webkit-border-radius: 4px; -moz-border-radius: 4px; border-radius: 4px; }
.wpcf7 .wpcf7-validation-errors {color: #B94A48; background-color: #F2DEDE; border: 1px solid #EED3D7;}
.wpcf7 .wpcf7-mail-sent-ok {color: #3A87AD; background-color: #D9EDF7; border: 1px solid #BCE8F1;}
 
/* 必須赤色表示 */
.wpcf7 .required { color: #f00;}
/* 任意緑色表示 */
.wpcf7 .any{ color: #080;}

@media(max-width:768px){div.container{width:100%}}@media(max-width:480px){div.container{width:100%}}


/* box装飾 */
.box {
    --x-gradient: linear-gradient(90deg, #6be5ec 0 25px, transparent 0 calc(100% - 25px), #6be5ec calc(100% - 25px));
    --y-gradient: linear-gradient(#6be5ec 0 25px, transparent 0 calc(100% - 25px), #6be5ec calc(100% - 25px));
    margin: 0.5rem;
    padding: 1rem;
    outline: 2px solid;
    outline-offset: -5px;
    background-image:
        var(--x-gradient),
        var(--y-gradient),
        var(--x-gradient),
        var(--y-gradient);
    background-repeat: no-repeat;
    background-size: 100% 3px, 3px 100%, 100% 3px, 3px 100%;
    background-position: top, right, bottom, left;
}

.box p {
    line-height: 1.5;
    color: #222;
}


.box2 {
    position: relative;
    padding: 0.5rem;
    background-color: #c8dde2;
    box-shadow: 0 0 0 0.5rem #c8dde2;
    border-left: 10px dotted white;
}

.box2::before {
    position: absolute;
    top: 2.5rem;
    left: 0.5rem;
    width: calc(100% - 1rem);
    height: calc(100% - 2rem);
    background-image: repeating-linear-gradient(#bcbcbc 0 1px, transparent 1px 37px);
    content: '';
}

.box2::after {
    position: absolute;
    bottom: 0.5rem;
    right: 0;
    width: 50%;
    height: 20%;
    box-shadow: 0 10px 15px #333;
    transform: rotate(4deg);
    content: '';
    z-index: -1;
}


.box2 p {
    color: #333;
    line-height: 2.3;
}

h5.description {
    color: #333;
	  font-size:1.1em;
    line-height:1.8em;
}

.hestia-about p {
    color: #FFF;
	  font-size:1.1em;
    line-height:1.5em;
}
.posted-by.vcard.author, .posted-by.vcard.author a{
	color:white!important;
}



/* --- お問い合わせフォーム --- */
/* デザインカスタマイズ */
input{
	width:100%;
	border-bottom:1px solid #eee!important;
	border-top:0px!important;
	border-left:0px!important;
	border-right:0px!important;
	color:#ccc!important;
}
input[type="checkbox"]{
	width:auto;
}
div.wpcf7 { background:#fff;  padding:0px; -moz-border-radius:10px; -khtml-border-radius:10px; -webkit-border-radius:10px; border-radius:10px; margin:0 0 30px 0; }
div.wpcf7 p { padding:20px 20px 0; margin:0; font-size:16px; }
div.wpcf7 input, .wpcf7 textarea { border:1px solid #ccc; padding:8px; font-size:16px; }
div.wpcf7 textarea { width:97.5%; height:300px; }
div.wpcf7 input.wpcf7-submit {
   cursor:pointer; color:#fff!important; font-weight:bold; font-size:14px; width:200px; height:45px; margin:0 auto; display:block;
   -moz-border-radius:5px; -khtml-border-radius:5px; -webkit-border-radius:5px; border-radius:5px;
   background:#333; box-shadow: 0px 0px 3px 0px rgba(0, 0, 0, 0.5), inset 0px 32px 0px -12px #808080; border:1px solid #666;    border: 2px solid #ff2e2e!important;
    color: #ff2e2e!important;
}
div.wpcf7 input.wpcf7-submit:hover { background:#006080; box-shadow: 0px 0px 3px 0px rgba(0, 0, 0, 0.5), inset 0px 32px 0px -12px #007ea8; border:1px solid #006080; }
.wpcf7 input.wpcf7-submit:active { box-shadow:none; bottom:-2px; position:relative; }
.wpcf7 input:focus, .wpcf7 textarea:focus { border:1px solid #009de1; }
.wpcf7-captchac { border:1px solid #ccc; }
 
 
/* エラー個所をわかりやすく表示 */
.wpcf7 .wpcf7-not-valid { background: #ffb6c1; }
.wpcf7 span.wpcf7-not-valid-tip {font-size: 80%;}
.wpcf7 .wpcf7-response-output {margin: 10px 0 0; padding: 8px 35px 8px 14px; text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
    -webkit-border-radius: 4px; -moz-border-radius: 4px; border-radius: 4px; }
.wpcf7 .wpcf7-validation-errors {color: #B94A48; background-color: #F2DEDE; border: 1px solid #EED3D7;}
.wpcf7 .wpcf7-mail-sent-ok {color: #3A87AD; background-color: #D9EDF7; border: 1px solid #BCE8F1;}
 
/* 必須赤色表示 */
.wpcf7 .required { color: #f00;}
/* 任意緑色表示 */
.wpcf7 .any{ color: #080;}

@media(max-width:768px){div.container{width:100%;padding-top:20px;}}


/* box装飾 */
.box {
    --x-gradient: linear-gradient(90deg, #6be5ec 0 25px, transparent 0 calc(100% - 25px), #6be5ec calc(100% - 25px));
    --y-gradient: linear-gradient(#6be5ec 0 25px, transparent 0 calc(100% - 25px), #6be5ec calc(100% - 25px));
    margin: 0.5rem;
    padding: 1rem;
    outline: 2px solid;
    outline-offset: -5px;
    background-image:
        var(--x-gradient),
        var(--y-gradient),
        var(--x-gradient),
        var(--y-gradient);
    background-repeat: no-repeat;
    background-size: 100% 3px, 3px 100%, 100% 3px, 3px 100%;
    background-position: top, right, bottom, left;
}

.box p {
    line-height: 1.5;
    color: #222;
}


.box2 {
    position: relative;
    padding: 0.5rem;
    background-color: #c8dde2;
    box-shadow: 0 0 0 0.5rem #c8dde2;
    border-left: 10px dotted white;
}

.box2::before {
    position: absolute;
    top: 2.5rem;
    left: 0.5rem;
    width: calc(100% - 1rem);
    height: calc(100% - 2rem);
    background-image: repeating-linear-gradient(#bcbcbc 0 1px, transparent 1px 37px);
    content: '';
}

.box2::after {
    position: absolute;
    bottom: 0.5rem;
    right: 0;
    width: 50%;
    height: 20%;
    box-shadow: 0 10px 15px #333;
    transform: rotate(4deg);
    content: '';
    z-index: -1;
}


.box2 p {
    color: #333;
    line-height: 2.3;
}

h5.description {
    color: #333;
	  font-size:1.1em;
    line-height:1.8em;
}

.hestia-about p {
    color: #FFF;
	  font-size:1.1em;
    line-height:1.5em;
}
.posted-by.vcard.author, .posted-by.vcard.author a{
	color:white!important;
}

div.wpcf7 input.wpcf7-submit {
	display: block;
	text-align: center;
	vertical-align: middle;
	text-decoration: none;
	width: 320px;
	margin: auto;
/* 	padding: 1rem 4rem; */
	font-weight: bold;
	border: 2px solid #ff2e2e;
	color: #ff2e2e;
	cursor: pointer;
	position: relative;
	overflow: hidden;
	background-color:white;
	box-shadow: none;
	z-index: 1;
	border-radius:0px;
	padding-bottom:1.1em;
	font-size:16.2px;
	line-height:1.5em;
}
div.wpcf7 input.wpcf7-submit::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background-color: rgb(39, 172, 217);
	transform: translateX(-100%);
	transition: all .3s;
	z-index: -1;
}
div.wpcf7 input.wpcf7-submit:hover {
	background: red;
	box-shadow: none;
	border: none;
	opacity:0.75;
	transition: .3s ease;
}
div.wpcf7 input.wpcf7-submit:hover {
	color: #fff!important;
}
div.wpcf7 input.wpcf7-submit:hover::before {
	transform: translateX(0);
}

a.contact_btn {
    display: block;
    text-align: center;
    vertical-align: middle;
    text-decoration: none;
    width: 400px;
    margin: auto;
    padding: 1rem 4rem;
    font-weight: bold;
    border: 2px solid #ff2e2e;
    color: #ff2e2e;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    z-index: 1;
}
.pcOnly{
	display:block;
}
.spOnly{
	display:none;
}
/* モバイル対応CSS (768px以下) */
@media screen and (max-width: 768px) {
	.pcOnly{
		display:none;
	}
	.spOnly{
		display:block;
	}
	.member-section .container{
		padding:0;
	}
	.member-grid{
		grid-template-columns:auto;
	}
    .container.service-item, .service-list.service-item {
        display: flex;
        flex-direction: column;
        gap: 20px;
        padding: 20px 15px;
    }
    
    .mockup-container {
        width: 100% !important;
        max-width: 100%;
        margin: 0 auto;
        display: flex;
        justify-content: center;
		height:auto;
		min-height:auto;
    }
    
    .mockup-container img {
        width: 95%;
        height: auto;
        display: block;
    }
    
    .service-content {
        width: 100% !important;
        max-width: 100%;
        padding: 0;
    }
    
    .service-content h2 {
        font-size: 18px;
        line-height: 1.5;
        margin-bottom: 15px;
        display: flex;
        align-items: flex-start;
        gap: 8px;
    }
    
    .service-content h2 svg {
        flex-shrink: 0;
        width: 20px;
        height: 20px;
        margin-top: 2px;
    }
    
    .service-content p {
        font-size: 14px;
        line-height: 1.8;
        margin-bottom: 15px;
    }
    
    .feature-tags {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
    }
    
    .feature-tags .tag {
        font-size: 12px;
        padding: 6px 12px;
        white-space: nowrap;
    }
}
@media(max-width:480px){div.container{width:100%;padding-top:20px;}.member-section>.container{padding-top:20px;}}
/* より小さい画面 (480px以下) */
@media screen and (max-width: 480px) {
	.page-hero h1, .hero-text h1{
		font-size:44px;
	}
	.section-title{
		font-size:36px!important;
	}
	.gradation-text{
		font-size:30px!important;
	}
	.brand-info{
		padding:5px;
	}
	.brand-info h3.brand-name{
		font-size:18px;
	}
    .container.service-item, .service-list .service-item {
        padding: 15px 10px;
    }
    
    .service-content h2 {
        font-size: 16px;
    }
    
    .service-content p {
        font-size: 16px;
    }
    
    .feature-tags .tag {
        font-size: 11px;
        padding: 5px 10px;
    }
	.info-table{
		padding:10px;
	}
	
	section{
		padding: 0 20px 20px 20px;
	}
	.entry-area{
		padding:10px;
	}
	
	.req-card{
		padding:20px;
	}
	.req-desc{
		font-size:16px;
	}
	
	.ideal-persona{
		padding:20px;
	}
	.message-text{
		line-height:2;
	}
	main{
		padding:20px;
	}
}
/* コンテンツライティングページ用のモバイル対応CSS */
@media screen and (max-width: 768px) {
    /* service-itemの基本レイアウト */
    .service-item {
        display: flex !important;
        flex-direction: column !important;
        gap: 20px;
        padding: 20px 15px;
        align-items: center;
    }
    
    /* モックアップコンテナ */
    .mockup-container {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 auto !important;
        display: flex;
        justify-content: center;
        flex: none !important;
    }
    
    /* ui-window（モックアップウィンドウ）の調整 */
    .ui-window {
        width: 100% !important;
        max-width: 350px !important;
        margin: 0 auto;
    }
    
    .ui-header {
        padding: 8px !important;
    }
    
    .ui-body {
        padding: 15px !important;
        min-height: 150px !important;
    }
    
    /* CRMレイアウトの調整 */
    .crm-layout {
        display: flex !important;
        flex-direction: column !important;
    }
    
    .crm-layout .sidebar {
        width: 100% !important;
        height: 30px !important;
        margin-bottom: 10px !important;
    }
    
    .crm-layout .main-panel {
        width: 100% !important;
    }
    
    /* サービスコンテンツ */
    .service-content {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
        flex: none !important;
    }
    
    .service-content h2 {
        font-size: 18px !important;
        line-height: 1.5 !important;
        margin-bottom: 15px !important;
        display: flex;
        align-items: flex-start;
        gap: 8px;
    }
    
    .service-content h2 svg {
        flex-shrink: 0;
        width: 20px;
        height: 20px;
        margin-top: 2px;
    }
    
    .service-content p {
        font-size: 14px !important;
        line-height: 1.8 !important;
        margin-bottom: 15px !important;
    }
    
    /* タグの調整 */
    .feature-tags {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 8px !important;
        justify-content: flex-start !important;
    }
    
    .feature-tags .tag {
        font-size: 12px !important;
        padding: 6px 12px !important;
        white-space: nowrap;
        display: inline-block;
    }
    
    /* カレンダーグリッドの調整 */
    .calendar-grid {
        display: grid !important;
        grid-template-columns: repeat(7, 1fr) !important;
        gap: 5px !important;
    }
    
    .cal-day {
        aspect-ratio: 1 !important;
        font-size: 10px !important;
    }
    
    /* 在庫グリッドの調整 */
    .inv-grid {
        display: flex !important;
        gap: 10px !important;
        justify-content: space-around !important;
    }
    
    /* 天気マップの調整 */
    .weather-map {
        position: relative;
        min-height: 150px !important;
    }
}

/* より小さい画面用（480px以下） */
@media screen and (max-width: 480px) {
    .service-item {
        padding: 15px 10px !important;
    }
    
    .ui-window {
        max-width: 300px !important;
    }
    
    .service-content h2 {
        font-size: 16px !important;
    }
    
    .service-content p {
		font-size: 16px !important;
    }
    
    .feature-tags .tag {
        font-size: 11px !important;
        padding: 5px 10px !important;
    }
    
    .ui-body {
        padding: 10px !important;
        min-height: 120px !important;
    }
}
.nav-links a:hover{
	color:white;
}