/* ===========================================
   ONOTOSI - ITソリューション スタイルシート
   =========================================== */

/* ===== Google Fonts ===== */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;600;700&family=Inter:wght@400;500;600;700&display=swap');

/* ===== リセット・基本設定 ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: 'Noto Sans JP', 'Inter', 'Hiragino Sans', sans-serif;
    line-height: 1.7;
    color: #1a1a2e;
    background-color: #f8fafc;
    min-height: 100vh;
}

a {
    color: #2563eb;
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: #1d4ed8;
}

ul {
    list-style: none;
}

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

/* ===== コンテナ ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== ボタン ===== */
.btn {
    display: inline-block;
    padding: 14px 28px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.btn-primary {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: #fff;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.35);
}

.btn-secondary {
    background-color: #fff;
    color: #2563eb;
    border: 2px solid #e2e8f0;
}

.btn-secondary:hover {
    background-color: #f1f5f9;
    border-color: #2563eb;
}

.btn-outline {
    background-color: transparent;
    border: 2px solid #2563eb;
    color: #2563eb;
}

.btn-outline:hover {
    background-color: #2563eb;
    color: #fff;
}

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

.btn-full {
    width: 100%;
}

/* ===== ヘッダー ===== */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
}

.logo a {
    font-size: 1.6rem;
    font-weight: 700;
    color: #1a1a2e;
    letter-spacing: 1px;
}

.nav ul {
    display: flex;
    gap: 36px;
}

.nav a {
    color: #475569;
    font-weight: 500;
    position: relative;
    padding: 8px 0;
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #2563eb, #7c3aed);
    transition: width 0.3s ease;
}

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

.nav a:hover,
.nav a.active {
    color: #2563eb;
}

/* ===== ヒーローセクション ===== */
.hero {
    background: linear-gradient(135deg, #1e3a5f 0%, #0f172a 50%, #1a1a2e 100%);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.hero::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 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.03)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    background-size: 50px 50px;
}

.hero::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 200%;
    background: radial-gradient(ellipse, rgba(37, 99, 235, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero h2 {
    font-size: 3rem;
    color: #fff;
    margin-bottom: 20px;
    font-weight: 700;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: 1.3rem;
    color: #94a3b8;
    margin-bottom: 40px;
}

/* ===== 特徴セクション ===== */
.features {
    padding: 100px 0;
    background: #fff;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 60px;
    color: #1a1a2e;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #2563eb, #7c3aed);
    margin: 16px auto 0;
    border-radius: 2px;
}

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

.feature-item {
    text-align: center;
    padding: 40px 24px;
    background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: #2563eb;
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: inline-block;
}

.feature-item h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
    color: #1a1a2e;
}

.feature-item p {
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ===== サービスグリッド ===== */
.products-preview {
    padding: 100px 0;
    background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
}

.products-page {
    padding: 80px 0;
    background: #fff;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
    margin-bottom: 48px;
}

.product-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    border: 1px solid #e2e8f0;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.product-image {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
}

.placeholder-image {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1e3a5f 0%, #2563eb 50%, #7c3aed 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 600;
    font-size: 1.1rem;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.placeholder-image.large {
    min-height: 400px;
}

.placeholder-image.small {
    min-height: 80px;
    font-size: 0.8rem;
}

.product-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
    color: #fff;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.product-badge.new {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.product-badge.sale {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
}

.product-info {
    padding: 24px;
}

.product-info h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: #1a1a2e;
}

.price {
    font-size: 1.3rem;
    font-weight: 700;
    color: #2563eb;
    margin-bottom: 16px;
}

.price del {
    color: #94a3b8;
    font-size: 0.9rem;
    margin-right: 8px;
}

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

/* ===== CTAセクション ===== */
.newsletter {
    background: linear-gradient(135deg, #1e3a5f 0%, #0f172a 100%);
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.newsletter::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, rgba(37, 99, 235, 0.2) 0%, transparent 70%);
}

.newsletter h2 {
    font-size: 2rem;
    margin-bottom: 16px;
    color: #fff;
    position: relative;
    z-index: 1;
}

.newsletter p {
    color: #94a3b8;
    margin-bottom: 32px;
    font-size: 1.1rem;
    position: relative;
    z-index: 1;
}

/* ===== フッター ===== */
.footer {
    background: linear-gradient(180deg, #0f172a 0%, #1a1a2e 100%);
    color: #fff;
    padding: 80px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 48px;
    margin-bottom: 48px;
}

.footer-section h3 {
    font-size: 1.2rem;
    margin-bottom: 24px;
    color: #fff;
    position: relative;
    padding-bottom: 12px;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, #2563eb, #7c3aed);
    border-radius: 2px;
}

.footer-section p {
    color: #94a3b8;
    font-size: 0.95rem;
    line-height: 1.7;
}

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section a {
    color: #94a3b8;
    transition: all 0.3s ease;
}

.footer-section a:hover {
    color: #2563eb;
    padding-left: 4px;
}

.footer-bottom {
    text-align: center;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #64748b;
    font-size: 0.9rem;
}

/* ===== パンくずリスト ===== */
.breadcrumb {
    background: #fff;
    padding: 16px 0;
    font-size: 0.9rem;
    border-bottom: 1px solid #e2e8f0;
}

.breadcrumb a {
    color: #64748b;
}

.breadcrumb a:hover {
    color: #2563eb;
}

.breadcrumb span {
    color: #1a1a2e;
}

/* ===== ページタイトル ===== */
.page-title {
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 56px;
    color: #1a1a2e;
    position: relative;
}

.page-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #2563eb, #7c3aed);
    margin: 16px auto 0;
    border-radius: 2px;
}

/* ===== サービス一覧ページ ===== */
.products-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 48px;
}

.sidebar {
    background: #fff;
    padding: 28px;
    border-radius: 16px;
    height: fit-content;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
}

.filter-section {
    margin-bottom: 32px;
}

.filter-section h3 {
    font-size: 1rem;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid #2563eb;
    color: #1a1a2e;
}

.category-list li,
.price-filter li {
    margin-bottom: 12px;
}

.category-list a,
.price-filter a {
    color: #64748b;
    display: block;
    padding: 8px 12px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.category-list a:hover,
.price-filter a:hover {
    color: #2563eb;
    background: #f1f5f9;
}

.products-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 28px;
}

.results-count {
    color: #64748b;
}

.sort-select {
    padding: 10px 16px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 0.9rem;
    background: #fff;
}

.products-main .products-grid {
    grid-template-columns: repeat(3, 1fr);
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 48px;
}

.pagination a {
    padding: 10px 18px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    color: #64748b;
    background: #fff;
    transition: all 0.3s ease;
}

.pagination a:hover,
.pagination a.active {
    background: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
    border-color: transparent;
    color: #fff;
}

/* ===== サービス詳細ページ ===== */
.product-detail {
    padding: 48px 0 100px;
    background: #fff;
}

.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    margin-bottom: 64px;
}

.product-gallery .main-image {
    margin-bottom: 16px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.thumbnail-images {
    display: flex;
    gap: 12px;
}

.thumbnail {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 3px solid transparent;
    transition: all 0.3s ease;
}

.thumbnail.active,
.thumbnail:hover {
    border-color: #2563eb;
}

.product-title {
    font-size: 2rem;
    margin-bottom: 8px;
    color: #1a1a2e;
}

.product-code {
    color: #94a3b8;
    font-size: 0.9rem;
    margin-bottom: 28px;
}

.product-price-detail {
    margin-bottom: 36px;
    padding: 24px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.price-label {
    font-size: 0.9rem;
    color: #64748b;
    margin-right: 12px;
}

.product-price-detail .price {
    font-size: 2.2rem;
}

.tax-info {
    font-size: 0.85rem;
    color: #64748b;
}

.product-options {
    margin-bottom: 28px;
}

.option-group {
    margin-bottom: 20px;
}

.option-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 10px;
    color: #1a1a2e;
}

.option-group select {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    font-size: 1rem;
    background: #fff;
    transition: all 0.3s ease;
}

.option-group select:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.product-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 36px;
}

.product-actions .btn {
    flex: 1;
}

.product-meta {
    border-top: 1px solid #e2e8f0;
    padding-top: 28px;
}

.meta-item {
    display: flex;
    justify-content: space-between;
    padding: 14px 0;
    border-bottom: 1px solid #e2e8f0;
}

.meta-label {
    color: #64748b;
}

.meta-value.in-stock {
    color: #10b981;
    font-weight: 600;
}

.product-tabs {
    margin-bottom: 64px;
}

.tab-buttons {
    display: flex;
    border-bottom: 2px solid #e2e8f0;
    margin-bottom: 28px;
}

.tab-btn {
    padding: 14px 28px;
    background: none;
    border: none;
    font-size: 1rem;
    color: #64748b;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
}

.tab-btn.active {
    color: #2563eb;
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #2563eb, #7c3aed);
}

.tab-content h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: #1a1a2e;
}

.tab-content h4 {
    font-size: 1.1rem;
    margin: 28px 0 16px;
    color: #1a1a2e;
}

.tab-content p {
    color: #64748b;
    margin-bottom: 16px;
    line-height: 1.8;
}

.tab-content ul {
    list-style: disc;
    margin-left: 24px;
    color: #64748b;
}

.tab-content li {
    margin-bottom: 10px;
}

.related-products {
    margin-top: 64px;
}

/* ===== 法的ページ（特商法・プライバシー・利用規約） ===== */
.legal-page,
.policy-page,
.terms-page {
    padding: 48px 0 100px;
    background: #fff;
}

.legal-content,
.policy-content,
.terms-content {
    max-width: 900px;
    margin: 0 auto;
    background: #fff;
    padding: 48px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
}

.legal-table {
    width: 100%;
    border-collapse: collapse;
}

.legal-table th,
.legal-table td {
    padding: 18px 24px;
    border: 1px solid #e2e8f0;
    text-align: left;
    vertical-align: top;
}

.legal-table th {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    width: 200px;
    font-weight: 600;
    color: #1a1a2e;
}

.legal-table ul {
    list-style: disc;
    margin-left: 20px;
}

.legal-table li {
    margin-bottom: 6px;
    color: #64748b;
}

.policy-intro,
.terms-intro {
    margin-bottom: 48px;
    color: #64748b;
    font-size: 1.05rem;
    line-height: 1.8;
}

.policy-section,
.terms-section {
    margin-bottom: 40px;
}

.policy-section h3,
.terms-section h3 {
    font-size: 1.25rem;
    margin-bottom: 20px;
    color: #1a1a2e;
    padding-bottom: 12px;
    border-bottom: 2px solid #2563eb;
}

.policy-section p,
.terms-section p {
    color: #64748b;
    margin-bottom: 16px;
    line-height: 1.8;
}

.policy-section ul,
.terms-section ul,
.terms-section ol {
    margin-left: 24px;
    color: #64748b;
}

.policy-section li,
.terms-section li {
    margin-bottom: 10px;
}

.terms-section ol {
    list-style: decimal;
}

.terms-section ol ul {
    list-style: disc;
    margin-top: 10px;
}

.contact-info {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    padding: 24px;
    border-radius: 12px;
    margin-top: 20px;
    border: 1px solid #e2e8f0;
}

.contact-info p {
    margin-bottom: 10px;
}

.policy-date,
.terms-date {
    margin-top: 48px;
    padding-top: 24px;
    border-top: 1px solid #e2e8f0;
    color: #94a3b8;
    font-size: 0.9rem;
}

/* ===== お問い合わせページ ===== */
.contact-page {
    padding: 48px 0 100px;
    background: #fff;
}

.contact-layout {
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 64px;
    max-width: 1100px;
    margin: 0 auto;
}

.contact-info-section h3,
.contact-form-section h3 {
    font-size: 1.4rem;
    margin-bottom: 28px;
    color: #1a1a2e;
}

.contact-method {
    margin-bottom: 36px;
    padding: 24px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.contact-method h4 {
    font-size: 1rem;
    margin-bottom: 12px;
    color: #1a1a2e;
}

.phone-number {
    font-size: 1.6rem;
    font-weight: 700;
    color: #2563eb;
}

.business-hours,
.response-time {
    font-size: 0.9rem;
    color: #64748b;
    margin-top: 10px;
}

.faq-link {
    padding: 24px;
    background: linear-gradient(135deg, #1e3a5f 0%, #2563eb 100%);
    border-radius: 12px;
    color: #fff;
}

.faq-link h4 {
    margin-bottom: 12px;
    color: #fff;
}

.faq-link p {
    color: rgba(255, 255, 255, 0.9);
}

.contact-form {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    padding: 40px;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
}

.form-group {
    margin-bottom: 28px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 10px;
    color: #1a1a2e;
}

.required {
    color: #ef4444;
    font-size: 0.8rem;
    margin-left: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    background: #fff;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-group textarea {
    resize: vertical;
}

.checkbox-group label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: normal;
}

.checkbox-group input {
    width: auto;
}

.form-actions {
    margin-top: 36px;
}

/* ===== 運営者情報ページ ===== */
.about-page {
    padding: 48px 0 100px;
    background: #fff;
}

.about-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    margin-bottom: 100px;
    align-items: center;
}

.about-image .placeholder-image {
    border-radius: 16px;
}

.about-text h3 {
    font-size: 1.8rem;
    margin-bottom: 24px;
    color: #1a1a2e;
}

.about-text p {
    color: #64748b;
    margin-bottom: 18px;
    line-height: 1.8;
}

.company-info,
.our-values,
.access-info {
    margin-bottom: 80px;
}

.company-info h3,
.our-values h3,
.access-info h3 {
    font-size: 1.8rem;
    margin-bottom: 40px;
    text-align: center;
    color: #1a1a2e;
    position: relative;
}

.company-info h3::after,
.our-values h3::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #2563eb, #7c3aed);
    margin: 16px auto 0;
    border-radius: 2px;
}

.info-table {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    border-collapse: collapse;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.info-table th,
.info-table td {
    padding: 18px 24px;
    border: 1px solid #e2e8f0;
    text-align: left;
    vertical-align: top;
}

.info-table th {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    width: 180px;
    font-weight: 600;
    color: #1a1a2e;
}

.info-table ul {
    list-style: disc;
    margin-left: 20px;
    color: #64748b;
}

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

.value-item {
    text-align: center;
    padding: 40px 28px;
    background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.value-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: #2563eb;
}

.value-icon {
    font-size: 2.8rem;
    margin-bottom: 20px;
}

.value-item h4 {
    font-size: 1.15rem;
    margin-bottom: 14px;
    color: #1a1a2e;
}

.value-item p {
    color: #64748b;
    font-size: 0.9rem;
    line-height: 1.6;
}

/* ===== カートページ（残しておく） ===== */
.cart-page {
    padding: 48px 0 100px;
}

.cart-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 48px;
}

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

.cart-item {
    display: grid;
    grid-template-columns: 100px 1fr auto auto auto;
    gap: 24px;
    align-items: center;
    padding: 24px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
}

.cart-summary {
    background: #fff;
    padding: 32px;
    border-radius: 16px;
    height: fit-content;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
}

/* ===== レスポンシブ対応 ===== */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .header-inner {
        flex-direction: column;
        gap: 16px;
    }

    .nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 16px;
    }

    .hero h2 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .products-layout {
        grid-template-columns: 1fr;
    }

    .sidebar {
        display: none;
    }

    .products-main .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .cart-layout {
        grid-template-columns: 1fr;
    }

    .contact-layout {
        grid-template-columns: 1fr;
        gap: 48px;
    }

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

    .values-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .legal-content,
    .policy-content,
    .terms-content {
        padding: 32px 24px;
    }
}

@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: 1fr;
    }

    .products-main .products-grid {
        grid-template-columns: 1fr;
    }

    .legal-table th {
        width: 120px;
    }

    .info-table th {
        width: 100px;
    }

    .hero h2 {
        font-size: 1.6rem;
    }

    .section-title,
    .page-title {
        font-size: 1.6rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 16px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .tech-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ===== 新しいヒーローセクション ===== */
.hero {
    padding: 120px 0;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.hero-bg-animation {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    pointer-events: none;
}

.floating-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
    animation: float 20s infinite ease-in-out;
}

.shape-1 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    top: -100px;
    right: -100px;
    animation-delay: 0s;
}

.shape-2 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #06b6d4, #2563eb);
    bottom: -50px;
    left: -50px;
    animation-delay: -5s;
}

.shape-3 {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, #7c3aed, #ec4899);
    top: 50%;
    left: 20%;
    animation-delay: -10s;
}

.shape-4 {
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, #10b981, #06b6d4);
    bottom: 20%;
    right: 15%;
    animation-delay: -15s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    25% {
        transform: translate(30px, -30px) rotate(5deg);
    }
    50% {
        transform: translate(-20px, 20px) rotate(-5deg);
    }
    75% {
        transform: translate(20px, 10px) rotate(3deg);
    }
}

.hero-badge {
    display: inline-block;
    background: rgba(37, 99, 235, 0.2);
    color: #60a5fa;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 24px;
    border: 1px solid rgba(37, 99, 235, 0.3);
}

.gradient-text {
    background: linear-gradient(135deg, #60a5fa 0%, #a78bfa 50%, #f472b6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 48px;
}

.btn-outline-light {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: #fff;
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    color: #fff;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 48px;
}

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

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    color: #94a3b8;
    font-size: 0.9rem;
}

/* ===== セクションサブタイトル ===== */
.section-subtitle {
    text-align: center;
    color: #64748b;
    margin-top: -40px;
    margin-bottom: 48px;
    font-size: 1.1rem;
}

/* ===== 特徴アイコンラッパー ===== */
.feature-icon-wrapper {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 2rem;
    color: #fff;
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.3);
    transition: transform 0.3s ease;
}

.feature-item:hover .feature-icon-wrapper {
    transform: scale(1.1) rotate(5deg);
}

/* ===== サービスカードビジュアル ===== */
.service-card-visual {
    width: 100%;
    height: 100%;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.service-card-visual i {
    font-size: 4rem;
    color: #fff;
    z-index: 2;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.service-card-visual.web {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 50%, #1e40af 100%);
}

.service-card-visual.mobile {
    background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 50%, #5b21b6 100%);
}

.service-card-visual.consulting {
    background: linear-gradient(135deg, #059669 0%, #047857 50%, #065f46 100%);
}

.service-card-visual.cloud {
    background: linear-gradient(135deg, #0891b2 0%, #0e7490 50%, #155e75 100%);
}

.service-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 20% 80%, rgba(255,255,255,0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255,255,255,0.15) 0%, transparent 40%),
        linear-gradient(135deg, transparent 40%, rgba(255,255,255,0.05) 100%);
    z-index: 1;
}

.service-tag {
    display: inline-block;
    background: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
    color: #fff;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.service-desc {
    color: #64748b;
    font-size: 0.9rem;
    margin-bottom: 12px;
}

/* ===== 技術スタックセクション ===== */
.tech-stack {
    padding: 100px 0;
    background: #fff;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
}

.tech-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 24px 16px;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.tech-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-color: #2563eb;
}

.tech-item i {
    font-size: 2.5rem;
    color: #2563eb;
}

.tech-item span {
    font-size: 0.85rem;
    font-weight: 600;
    color: #1a1a2e;
}

/* ===== CTAセクション ===== */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #1e3a5f 0%, #0f172a 100%);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(37, 99, 235, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(124, 58, 237, 0.15) 0%, transparent 50%);
}

.cta-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 48px;
    position: relative;
    z-index: 1;
}

.cta-text h2 {
    font-size: 2.5rem;
    color: #fff;
    margin-bottom: 16px;
}

.cta-text p {
    color: #94a3b8;
    font-size: 1.1rem;
    line-height: 1.8;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    flex-shrink: 0;
}

.cta-buttons .btn i {
    margin-right: 8px;
}

/* ===== フッター追加スタイル ===== */
.footer-contact {
    margin-top: 20px;
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.footer-contact i {
    width: 16px;
    color: #2563eb;
}

.payment-methods {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}

.payment-methods i {
    font-size: 2rem;
    color: #94a3b8;
    transition: color 0.3s ease;
}

.payment-methods i:hover {
    color: #fff;
}

/* ===== レスポンシブ追加 ===== */
@media (max-width: 1024px) {
    .tech-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 80px 0;
        min-height: auto;
    }

    .hero h2 {
        font-size: 2rem;
    }

    .hero-stats {
        gap: 24px;
    }

    .stat-number {
        font-size: 2rem;
    }

    .cta-content {
        flex-direction: column;
        text-align: center;
    }

    .cta-text h2 {
        font-size: 1.8rem;
    }

    .cta-buttons {
        flex-direction: column;
        width: 100%;
    }

    .tech-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 16px;
    }

    .tech-item {
        padding: 16px 8px;
    }

    .tech-item i {
        font-size: 2rem;
    }

    .section-subtitle {
        margin-top: -30px;
    }
}
