/* ============================================
   飛進株式会社 LP スタイルシート - Rich Version
   ============================================ */

/* CSS Variables */
:root {
    --color-primary: #1a4a7c;
    --color-primary-dark: #0d2d4d;
    --color-primary-light: #2a6aac;
    --color-accent: #2980b9;
    --color-accent-light: #3498db;
    --color-gold: #c9a962;
    --color-gold-light: #d4b978;
    --color-white: #ffffff;
    --color-black: #1a1a1a;
    --color-gray-50: #fafbfc;
    --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;
    
    /* 売却・購入カラー */
    --color-sell: #1a4a7c;
    --color-sell-light: #2a6aac;
    --color-sell-dark: #0d2d4d;
    --color-buy: #2e7d32;
    --color-buy-light: #4caf50;
    --color-buy-dark: #1b5e20;
    
    --font-family: 'Noto Sans JP', '游ゴシック', 'Yu Gothic', 'YuGothic', 'ヒラギノ角ゴ Pro', 'Hiragino Kaku Gothic Pro', 'メイリオ', 'Meiryo', sans-serif;
    
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.2);
    --shadow-glow: 0 0 40px rgba(26, 74, 124, 0.15);
    
    --transition: all 0.3s ease;
    --transition-slow: all 0.5s ease;
    
    /* Gradient Definitions */
    --gradient-primary: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 50%, var(--color-accent) 100%);
    --gradient-text: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 40%, var(--color-accent-light) 100%);
    --gradient-gold: linear-gradient(135deg, var(--color-gold) 0%, var(--color-gold-light) 50%, var(--color-gold) 100%);
    --gradient-sell: linear-gradient(135deg, var(--color-sell-dark) 0%, var(--color-sell) 50%, var(--color-sell-light) 100%);
    --gradient-buy: linear-gradient(135deg, var(--color-buy-dark) 0%, var(--color-buy) 50%, var(--color-buy-light) 100%);
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

body {
    font-family: var(--font-family);
    font-weight: 400;
    line-height: 1.8;
    color: var(--color-gray-800);
    background-color: var(--color-white);
    overflow-x: hidden;
}

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

ul {
    list-style: none;
}

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

/* スマホ専用改行 - PCでは非表示 */
.sp-only {
    display: none;
}

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

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

.header.scrolled {
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

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

.logo a {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 44px;
    width: auto;
    transition: var(--transition);
}

.logo a:hover .logo-img {
    opacity: 0.8;
}

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

.nav-list a {
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    color: var(--color-gray-700);
    position: relative;
}

.nav-list a:not(.nav-contact-btn)::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: var(--transition);
}

.nav-list a:not(.nav-contact-btn):hover::after {
    width: 100%;
}

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

.nav-contact-btn {
    background: var(--gradient-primary);
    color: var(--color-white) !important;
    padding: 10px 24px;
    border-radius: 4px;
    box-shadow: 0 4px 15px rgba(26, 74, 124, 0.3);
}

.nav-contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(26, 74, 124, 0.4);
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    gap: 6px;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--color-gray-800);
    transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 22, 40, 0.88) 0%, rgba(13, 45, 77, 0.82) 30%, rgba(26, 74, 124, 0.78) 60%, rgba(41, 128, 185, 0.72) 100%);
    z-index: 1;
}

.hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: -1;
}

/* Animated gradient overlay */
.hero-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse at 20% 80%, rgba(201, 169, 98, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(52, 152, 219, 0.1) 0%, transparent 60%),
        radial-gradient(ellipse at 10% 30%, rgba(255, 255, 255, 0.08) 0%, transparent 40%);
    animation: gradientShift 15s ease-in-out infinite;
}

@keyframes gradientShift {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

/* Geometric pattern overlay */
.hero-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        radial-gradient(circle at 25% 25%, rgba(201, 169, 98, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(52, 152, 219, 0.08) 0%, transparent 50%);
    background-size: 100px 100px, 100px 100px, 100% 100%, 100% 100%;
}

/* Floating particles effect */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    background-image: 
        radial-gradient(2px 2px at 20px 30px, rgba(255, 255, 255, 0.3), transparent),
        radial-gradient(2px 2px at 40px 70px, rgba(255, 255, 255, 0.2), transparent),
        radial-gradient(2px 2px at 50px 160px, rgba(255, 255, 255, 0.3), transparent),
        radial-gradient(2px 2px at 90px 40px, rgba(255, 255, 255, 0.2), transparent),
        radial-gradient(2px 2px at 130px 80px, rgba(255, 255, 255, 0.3), transparent),
        radial-gradient(2px 2px at 160px 120px, rgba(255, 255, 255, 0.2), transparent);
    background-repeat: repeat;
    background-size: 200px 200px;
    animation: floatParticles 20s linear infinite;
    opacity: 0.6;
    pointer-events: none;
}

@keyframes floatParticles {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(-200px);
    }
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: var(--color-white);
    padding: 60px 60px;
    background: rgba(0, 0, 0, 0.35);
    border-radius: 16px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    letter-spacing: 0.15em;
    margin-bottom: 24px;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
    background: linear-gradient(180deg, #ffffff 0%, #e0e8f0 50%, #ffffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.hero-title::after {
    content: '';
    position: absolute;
    bottom: -16px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--gradient-gold);
    border-radius: 2px;
    box-shadow: 0 0 20px rgba(201, 169, 98, 0.5);
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    font-weight: 400;
    letter-spacing: 0.1em;
    margin-bottom: 48px;
    margin-top: 32px;
    opacity: 0.95;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 16px 48px;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, #ffffff 0%, #f0f4f8 100%);
    color: var(--color-primary);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

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

/* ============================================
   Section Common Styles
   ============================================ */
.section {
    padding: 120px 0;
    position: relative;
}

/* Alternating section backgrounds with patterns */
.section:nth-child(odd) {
    background-color: var(--color-white);
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(26, 74, 124, 0.02) 0%, transparent 50%),
        radial-gradient(circle at 90% 80%, rgba(201, 169, 98, 0.02) 0%, transparent 50%);
}

.section:nth-child(even) {
    background-color: var(--color-gray-50);
    background-image: 
        linear-gradient(135deg, rgba(26, 74, 124, 0.02) 25%, transparent 25%),
        linear-gradient(225deg, rgba(26, 74, 124, 0.02) 25%, transparent 25%),
        linear-gradient(45deg, rgba(26, 74, 124, 0.02) 25%, transparent 25%),
        linear-gradient(315deg, rgba(26, 74, 124, 0.02) 25%, transparent 25%),
        radial-gradient(circle at 50% 50%, rgba(201, 169, 98, 0.015) 0%, transparent 70%);
    background-size: 60px 60px, 60px 60px, 60px 60px, 60px 60px, 100% 100%;
    background-position: 0 0, 30px 0, 30px -30px, 0px 30px, center;
}

/* Section Header - 縦並び */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-label-en {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
    line-height: 1.2;
}

.section-title {
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.3em;
    color: var(--color-gray-600);
    position: relative;
    display: inline-block;
}

.title-gradient {
    color: var(--color-gray-600);
    -webkit-text-fill-color: var(--color-gray-600);
}

.section-title-line {
    width: 60px;
    height: 3px;
    background: var(--gradient-gold);
    margin: 24px auto 0;
    border-radius: 2px;
    position: relative;
    box-shadow: 0 0 15px rgba(201, 169, 98, 0.3);
}

.section-title-line::before,
.section-title-line::after {
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: var(--color-gold);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(201, 169, 98, 0.5);
}

.section-title-line::before {
    left: -16px;
}

.section-title-line::after {
    right: -16px;
}

/* ============================================
   Concept Section
   ============================================ */
.concept {
    background: linear-gradient(180deg, var(--color-white) 0%, var(--color-gray-50) 100%);
    position: relative;
    overflow: hidden;
}

.concept::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 60%;
    height: 200%;
    background: radial-gradient(ellipse, rgba(26, 74, 124, 0.03) 0%, transparent 70%);
    pointer-events: none;
}

.concept-content {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
}

.concept-main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.concept-text-area {
    text-align: left;
}

.concept-image {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.concept-img {
    width: 100%;
    height: auto;
    display: block;
    transition: var(--transition-slow);
}

.concept-image:hover .concept-img {
    transform: scale(1.03);
}

.concept-heading {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    margin-bottom: 40px;
    letter-spacing: 0.05em;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    display: inline-block;
}

.concept-text p {
    font-size: 1rem;
    line-height: 2.2;
    color: var(--color-gray-700);
    margin-bottom: 24px;
}

.concept-text p:last-child {
    margin-bottom: 0;
}

/* ============================================
   Business Section
   ============================================ */
.business {
    position: relative;
    overflow: hidden;
}

.business::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 0% 100%, rgba(26, 74, 124, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 100% 0%, rgba(201, 169, 98, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.business-content {
    max-width: 800px;
    margin: 0 auto 60px;
    text-align: center;
    position: relative;
}

.business-hero-image {
    max-width: 900px;
    margin: 0 auto 50px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.business-hero-img {
    width: 100%;
    height: auto;
    display: block;
    transition: var(--transition-slow);
}

.business-hero-image:hover .business-hero-img {
    transform: scale(1.02);
}

.business-heading {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    margin-bottom: 40px;
    letter-spacing: 0.05em;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.business-text p {
    font-size: 1rem;
    line-height: 2.2;
    color: var(--color-gray-700);
    margin-bottom: 24px;
}

.business-text p:last-child {
    margin-bottom: 0;
}

.business-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    position: relative;
}

.business-card {
    background: linear-gradient(180deg, var(--color-white) 0%, var(--color-gray-50) 100%);
    padding: 40px 24px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(26, 74, 124, 0.08);
}

.business-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: var(--transition);
}

.business-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(26, 74, 124, 0.15);
}

.business-card:hover::before {
    transform: scaleX(1);
}

.business-card-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 24px;
    background: linear-gradient(135deg, rgba(26, 74, 124, 0.1) 0%, rgba(52, 152, 219, 0.05) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.business-card:hover .business-card-icon {
    background: var(--gradient-primary);
    box-shadow: 0 8px 25px rgba(26, 74, 124, 0.3);
}

.business-card-icon svg {
    width: 32px;
    height: 32px;
    color: var(--color-primary);
    transition: var(--transition);
}

.business-card:hover .business-card-icon svg {
    color: var(--color-white);
}

.business-card-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-gray-800);
    margin-bottom: 12px;
}

.business-card-desc {
    font-size: 0.875rem;
    color: var(--color-gray-600);
    line-height: 1.8;
}

/* ============================================
   Flow Section
   ============================================ */
.flow {
    position: relative;
    overflow: hidden;
}

.flow::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    background: radial-gradient(ellipse, rgba(26, 74, 124, 0.02) 0%, transparent 70%);
    pointer-events: none;
}

.flow-tabs {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 60px;
    position: relative;
}

.flow-tab {
    padding: 16px 48px;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    background-color: var(--color-gray-200);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    color: var(--color-gray-600);
    position: relative;
    overflow: hidden;
}

/* 売却タブ - 青系 */
.flow-tab-sell.active {
    background: var(--gradient-sell);
    color: var(--color-white);
    box-shadow: 0 4px 20px rgba(26, 74, 124, 0.3);
}

.flow-tab-sell:hover:not(.active) {
    background-color: rgba(26, 74, 124, 0.15);
    color: var(--color-sell);
}

/* 購入タブ - 緑系 */
.flow-tab-buy.active {
    background: var(--gradient-buy);
    color: var(--color-white);
    box-shadow: 0 4px 20px rgba(46, 125, 50, 0.3);
}

.flow-tab-buy:hover:not(.active) {
    background-color: rgba(46, 125, 50, 0.15);
    color: var(--color-buy);
}

.flow-panel {
    display: none;
}

.flow-panel.active {
    display: block;
}

.flow-steps {
    max-width: 800px;
    margin: 0 auto;
}

.flow-step {
    display: flex;
    gap: 24px;
    padding: 24px;
    position: relative;
    align-items: flex-start;
    background-color: #ffffff;
    border-radius: 12px;
    margin-bottom: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.flow-step:last-child {
    margin-bottom: 0;
}

/* フローアイコン */
.flow-step-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    transition: var(--transition);
}

.flow-step-icon svg {
    width: 24px;
    height: 24px;
    transition: var(--transition);
}

/* 売却パネルのアイコン - 青系 */
.flow-panel-sell .flow-step-icon {
    background: linear-gradient(135deg, rgba(26, 74, 124, 0.1) 0%, rgba(42, 106, 172, 0.05) 100%);
}

.flow-panel-sell .flow-step-icon svg {
    color: var(--color-sell);
}

/* 購入パネルのアイコン - 緑系 */
.flow-panel-buy .flow-step-icon {
    background: linear-gradient(135deg, rgba(46, 125, 50, 0.1) 0%, rgba(76, 175, 80, 0.05) 100%);
}

.flow-panel-buy .flow-step-icon svg {
    color: var(--color-buy);
}

.flow-step-number {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    font-size: 1.125rem;
    font-weight: 700;
    border-radius: 50%;
    position: relative;
}

/* 売却パネルの番号 - 青系 */
.flow-panel-sell .flow-step-number {
    background: var(--gradient-sell);
    box-shadow: 0 6px 20px rgba(26, 74, 124, 0.25);
}

.flow-panel-sell .flow-step-number::before {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(26, 74, 124, 0.3) 0%, rgba(42, 106, 172, 0.1) 100%);
    z-index: -1;
}

/* 購入パネルの番号 - 緑系 */
.flow-panel-buy .flow-step-number {
    background: var(--gradient-buy);
    box-shadow: 0 6px 20px rgba(46, 125, 50, 0.25);
}

.flow-panel-buy .flow-step-number::before {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(46, 125, 50, 0.3) 0%, rgba(76, 175, 80, 0.1) 100%);
    z-index: -1;
}

.flow-step-content {
    flex: 1;
    padding-top: 4px;
}

.flow-step-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 8px;
}

/* 売却パネルのタイトル */
.flow-panel-sell .flow-step-title {
    color: var(--color-sell-dark);
}

/* 購入パネルのタイトル */
.flow-panel-buy .flow-step-title {
    color: var(--color-buy-dark);
}

.flow-step-desc {
    font-size: 0.9375rem;
    color: var(--color-gray-600);
    line-height: 1.8;
}

/* ============================================
   Message Section
   ============================================ */
.message {
    position: relative;
    overflow: hidden;
}

.message::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(201, 169, 98, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(26, 74, 124, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.message-content {
    display: flex;
    gap: 60px;
    align-items: flex-start;
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
}

.message-image {
    flex-shrink: 0;
    width: 280px;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.message-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-gold);
    z-index: 1;
}

.message-photo {
    width: 100%;
    height: auto;
    display: block;
    transition: var(--transition-slow);
}

.message-image:hover .message-photo {
    transform: scale(1.03);
}

.message-placeholder {
    width: 280px;
    height: 360px;
    background: linear-gradient(135deg, var(--color-gray-300) 0%, var(--color-gray-400) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-gray-600);
    font-size: 0.875rem;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.message-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-gold);
}

.message-text {
    flex: 1;
}

.message-name {
    font-size: 1.125rem;
    color: var(--color-gray-600);
    margin-bottom: 32px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(26, 74, 124, 0.1);
}

.message-name strong {
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-left: 12px;
}

.message-body p {
    font-size: 1rem;
    line-height: 2.2;
    color: var(--color-gray-700);
    margin-bottom: 24px;
}

.message-body p:last-child {
    margin-bottom: 0;
}

/* ============================================
   Company Section
   ============================================ */
.company {
    position: relative;
    overflow: hidden;
}

.company::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: radial-gradient(ellipse at 100% 50%, rgba(26, 74, 124, 0.03) 0%, transparent 70%);
    pointer-events: none;
}

.company-content {
    max-width: 900px;
    margin: 0 auto 60px;
    position: relative;
}

.company-table {
    width: 100%;
    border-collapse: collapse;
    background: linear-gradient(180deg, var(--color-white) 0%, var(--color-gray-50) 100%);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(26, 74, 124, 0.08);
}

.company-table tr {
    border-bottom: 1px solid rgba(26, 74, 124, 0.08);
}

.company-table tr:last-child {
    border-bottom: none;
}

.company-table th,
.company-table td {
    padding: 20px 24px;
    text-align: left;
    font-size: 0.9375rem;
}

.company-table th {
    width: 200px;
    background: linear-gradient(90deg, rgba(26, 74, 124, 0.08) 0%, rgba(26, 74, 124, 0.03) 100%);
    font-weight: 600;
    color: var(--color-primary-dark);
    vertical-align: top;
}

.company-table td {
    color: var(--color-gray-800);
    line-height: 1.8;
}

.company-table td a {
    color: var(--color-primary);
    position: relative;
}

.company-table td a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--gradient-primary);
    transition: var(--transition);
}

.company-table td a:hover::after {
    width: 100%;
}

.company-map {
    max-width: 900px;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(26, 74, 124, 0.08);
}

.map-placeholder {
    background-color: var(--color-gray-300);
    position: relative;
}

.map-placeholder iframe {
    display: block;
}

/* ============================================
   Contact Section
   ============================================ */
.contact {
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 0% 0%, rgba(26, 74, 124, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 100% 100%, rgba(201, 169, 98, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.contact-intro {
    text-align: center;
    margin-bottom: 48px;
    position: relative;
}

.contact-intro p {
    font-size: 1.0625rem;
    color: var(--color-gray-700);
    line-height: 2;
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 80px;
    margin-bottom: 60px;
    position: relative;
}

.contact-phone {
    text-align: center;
    padding: 40px 60px;
    background: linear-gradient(180deg, var(--color-white) 0%, var(--color-gray-50) 100%);
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(26, 74, 124, 0.08);
    transition: var(--transition);
}

.contact-phone:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(26, 74, 124, 0.12);
}

.contact-phone-label {
    display: block;
    font-size: 0.9375rem;
    color: var(--color-gray-600);
    margin-bottom: 16px;
}

.contact-phone-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
}

.contact-phone-hours {
    display: block;
    font-size: 0.875rem;
    color: var(--color-gray-600);
}

.contact-email-address {
    display: block;
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--color-primary);
}

.contact-form-wrapper {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
}

.contact-form {
    background: linear-gradient(180deg, var(--color-white) 0%, var(--color-gray-50) 100%);
    padding: 48px;
    border-radius: 16px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(26, 74, 124, 0.08);
    position: relative;
    overflow: hidden;
}

.contact-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
}

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

.form-group label {
    display: block;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--color-gray-700);
    margin-bottom: 8px;
}

.required {
    font-size: 0.75rem;
    font-weight: 400;
    color: #c0392b;
    margin-left: 4px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    font-size: 1rem;
    font-family: inherit;
    border: 1px solid var(--color-gray-300);
    border-radius: 8px;
    transition: var(--transition);
    background-color: var(--color-white);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 4px rgba(26, 74, 124, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--color-gray-500);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.form-submit {
    text-align: center;
    margin-top: 32px;
}

.form-submit .btn {
    background: var(--gradient-primary);
    color: var(--color-white);
    box-shadow: 0 8px 30px rgba(26, 74, 124, 0.3);
}

.form-submit .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(26, 74, 124, 0.4);
}

/* ============================================
   Footer
   ============================================ */
.footer {
    background: linear-gradient(180deg, #1a2332 0%, #0f1419 100%);
    color: var(--color-gray-400);
    padding: 60px 0 0;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(26, 74, 124, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(201, 169, 98, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

.footer-logo {
    margin-bottom: 16px;
}

.footer-logo-img {
    height: 36px;
    width: auto;
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

.footer-address {
    font-size: 0.875rem;
    line-height: 1.8;
    margin-bottom: 8px;
}

.footer-tel {
    font-size: 0.875rem;
}

.footer-tel a {
    color: var(--color-gray-400);
}

.footer-tel a:hover {
    color: var(--color-white);
}

.footer-nav ul {
    display: flex;
    gap: 32px;
}

.footer-nav a {
    font-size: 0.875rem;
    letter-spacing: 0.1em;
    color: var(--color-gray-400);
    position: relative;
}

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

.footer-nav a:hover {
    color: var(--color-white);
}

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

.footer-bottom {
    padding: 24px 0;
    text-align: center;
    position: relative;
}

.copyright {
    font-size: 0.8125rem;
    color: var(--color-gray-500);
}

/* Page Top Button */
.page-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    color: var(--color-white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(26, 74, 124, 0.3);
    transition: var(--transition);
    opacity: 0;
    visibility: hidden;
    z-index: 999;
}

.page-top.visible {
    opacity: 1;
    visibility: visible;
}

.page-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(26, 74, 124, 0.4);
}

.page-top svg {
    width: 24px;
    height: 24px;
}

/* ============================================
   Animations
   ============================================ */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Hero animations */
.hero .fade-in {
    opacity: 0;
    transform: translateY(30px);
}

.hero .fade-in:nth-child(1) {
    animation: fadeInUp 1s ease 0.3s forwards;
}

.hero .fade-in:nth-child(2) {
    animation: fadeInUp 1s ease 0.5s forwards;
}

.hero .fade-in:nth-child(3) {
    animation: fadeInUp 1s ease 0.7s forwards;
}

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

/* ============================================
   Responsive Design
   ============================================ */

/* Tablet */
@media (max-width: 1024px) {
    .header-inner {
        padding: 0 24px;
    }
    
    .logo-img {
        height: 36px;
    }
    
    .nav-list {
        gap: 24px;
    }
    
    .section-label-en {
        font-size: 2rem;
    }
    
    .business-cards {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .concept-main {
        gap: 40px;
    }
    
    .message-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .message-name {
        text-align: center;
    }
    
    .contact-info {
        flex-direction: column;
        gap: 24px;
    }
    
    .contact-phone {
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
        padding: 32px 24px;
    }
    
    .flow-step {
        gap: 16px;
    }
    
    .flow-step-icon {
        width: 44px;
        height: 44px;
    }
    
    .flow-step-icon svg {
        width: 20px;
        height: 20px;
    }
    
    .flow-step-number {
        width: 48px;
        height: 48px;
        font-size: 1rem;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .header-inner {
        height: 60px;
    }
    
    .logo-img {
        height: 32px;
    }
    
    /* スマホ専用改行を表示 */
    .sp-only {
        display: inline;
    }
    
    .hamburger {
        display: flex;
    }
    
    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: linear-gradient(180deg, var(--color-white) 0%, var(--color-gray-50) 100%);
        box-shadow: var(--shadow-xl);
        transition: var(--transition);
        padding: 80px 40px 40px;
    }
    
    .nav.active {
        right: 0;
    }
    
    .nav-list {
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
    }
    
    .nav-list li {
        width: 100%;
        border-bottom: 1px solid var(--color-gray-200);
    }
    
    .nav-list a {
        display: block;
        padding: 20px 0;
        font-size: 1rem;
    }
    
    .nav-contact-btn {
        margin-top: 20px;
        text-align: center;
    }
    
    .hero {
        min-height: 600px;
    }
    
    .section {
        padding: 80px 0;
    }
    
    .section-header {
        margin-bottom: 40px;
    }
    
    .section-label-en {
        font-size: 1.75rem;
    }
    
    .section-title {
        font-size: 0.875rem;
    }
    
    .concept-main {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .concept-text-area {
        text-align: center;
        order: 2;
    }
    
    .concept-image {
        order: 1;
    }
    
    .business-hero-image {
        margin-bottom: 40px;
    }
    
    .business-cards {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .business-card {
        padding: 32px 20px;
    }
    
    .flow-tabs {
        flex-direction: column;
        gap: 12px;
    }
    
    .flow-tab {
        width: 100%;
    }
    
    .flow-step {
        flex-direction: column;
        gap: 16px;
        text-align: center;
        align-items: center;
    }
    
    .flow-step-icon {
        order: 1;
    }
    
    .flow-step-number {
        order: 2;
    }
    
    .flow-step-content {
        order: 3;
    }
    
    .message-image {
        width: 200px;
    }
    
    .message-placeholder {
        width: 200px;
        height: 260px;
    }
    
    .company-table th,
    .company-table td {
        display: block;
        width: 100%;
        padding: 12px 16px;
    }
    
    .company-table th {
        padding-bottom: 8px;
    }
    
    .company-table td {
        padding-top: 8px;
        padding-bottom: 16px;
    }
    
    .contact-phone-number {
        font-size: 2rem;
    }
    
    .contact-form {
        padding: 32px 24px;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 32px;
        text-align: center;
    }
    
    .footer-nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 16px 24px;
    }
    
    .page-top {
        bottom: 20px;
        right: 20px;
        width: 44px;
        height: 44px;
    }
}

/* ============================================
   Properties Page Styles
   ============================================ */

/* Page Header */
.page-header {
    position: relative;
    padding: 160px 0 80px;
    background: var(--gradient-primary);
    overflow: hidden;
}

.page-header-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse at 20% 80%, rgba(201, 169, 98, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
}

.page-header-content {
    position: relative;
    text-align: center;
    color: var(--color-white);
}

.page-header-en {
    display: block;
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    opacity: 0.9;
    margin-bottom: 8px;
}

.page-header-title {
    font-size: 1.125rem;
    font-weight: 500;
    letter-spacing: 0.3em;
    opacity: 0.8;
}

/* Properties Filter */
.properties-filter {
    background: var(--color-gray-50);
    padding: 32px 0;
    border-bottom: 1px solid var(--color-gray-200);
}

.filter-wrapper {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    justify-content: center;
}

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

.filter-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-gray-700);
}

.filter-select {
    padding: 10px 40px 10px 16px;
    font-size: 0.875rem;
    border: 1px solid var(--color-gray-300);
    border-radius: 6px;
    background: var(--color-white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236c757d' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") no-repeat right 12px center;
    cursor: pointer;
    transition: var(--transition);
    appearance: none;
}

.filter-select:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(26, 74, 124, 0.1);
}

/* Properties List */
.properties-list {
    padding: 60px 0 80px;
}

.properties-count {
    font-size: 0.875rem;
    color: var(--color-gray-600);
    margin-bottom: 24px;
}

.properties-count span {
    font-weight: 700;
    color: var(--color-primary);
}

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

/* Property Card */
.property-card {
    background: var(--color-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

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

.property-card-link {
    display: block;
    color: inherit;
}

.property-card-image {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
}

.property-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.property-card:hover .property-card-image img {
    transform: scale(1.05);
}

.property-card-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 6px 16px;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 4px;
    color: var(--color-white);
}

.tag-sale {
    background: var(--color-primary);
}

.tag-rent {
    background: var(--color-buy);
}

.property-card-content {
    padding: 20px;
}

.property-card-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--color-gray-800);
}

.property-card-price {
    font-size: 0.875rem;
    color: var(--color-gray-600);
    margin-bottom: 16px;
}

.property-card-price .price-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
}

.property-card-specs {
    font-size: 0.8125rem;
    color: var(--color-gray-600);
    line-height: 1.8;
}

.property-card-specs li {
    display: flex;
    gap: 8px;
}

.property-card-specs .spec-label {
    color: var(--color-gray-500);
    flex-shrink: 0;
    width: 70px;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.pagination-item {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    font-size: 0.875rem;
    border: 1px solid var(--color-gray-300);
    border-radius: 6px;
    color: var(--color-gray-600);
    background: var(--color-white);
    transition: var(--transition);
}

.pagination-item:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.pagination-item.active {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--color-white);
}

.pagination-next {
    padding: 0 16px;
}

/* CTA Section */
.cta-section {
    background: var(--color-gray-50);
    padding: 80px 0;
}

.cta-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--color-gray-800);
}

.cta-text {
    color: var(--color-gray-600);
    margin-bottom: 32px;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-outline {
    background: var(--color-white);
    border: 2px solid var(--color-primary);
    color: var(--color-primary);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

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

.btn-outline svg {
    flex-shrink: 0;
}

/* ============================================
   Property Detail Page Styles
   ============================================ */

/* Breadcrumb */
.breadcrumb {
    background: var(--color-gray-50);
    padding: 16px 0;
    margin-top: 80px;
}

.breadcrumb-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 0.8125rem;
    color: var(--color-gray-600);
}

.breadcrumb-list li:not(:last-child)::after {
    content: '>';
    margin-left: 8px;
    color: var(--color-gray-400);
}

.breadcrumb-list a:hover {
    color: var(--color-primary);
}

/* Property Detail */
.property-detail {
    padding: 48px 0 80px;
}

.property-header {
    margin-bottom: 40px;
}

.property-tag {
    display: inline-block;
    padding: 6px 20px;
    font-size: 0.8125rem;
    font-weight: 600;
    border-radius: 4px;
    color: var(--color-white);
    margin-bottom: 16px;
}

.property-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--color-gray-800);
}

.property-price {
    font-size: 1rem;
    color: var(--color-gray-600);
}

.property-price .price-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-primary);
}

/* Property Main */
.property-main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    margin-bottom: 60px;
}

/* Gallery */
.property-gallery {
    position: sticky;
    top: 100px;
    align-self: start;
}

.gallery-main {
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 16px;
    box-shadow: var(--shadow-md);
}

.gallery-main img {
    width: 100%;
    height: auto;
    display: block;
}

.gallery-thumbs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.gallery-thumb {
    border: 2px solid transparent;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition);
    padding: 0;
    background: none;
}

.gallery-thumb img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    display: block;
}

.gallery-thumb:hover,
.gallery-thumb.active {
    border-color: var(--color-primary);
}

/* Property Info */
.property-info {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.info-section {
    background: var(--color-white);
    border-radius: 12px;
    padding: 32px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-gray-200);
}

.info-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--color-primary);
    color: var(--color-gray-800);
}

.info-table {
    width: 100%;
}

.info-table th,
.info-table td {
    padding: 14px 0;
    font-size: 0.9375rem;
    border-bottom: 1px solid var(--color-gray-200);
    vertical-align: top;
}

.info-table th {
    width: 140px;
    font-weight: 500;
    color: var(--color-gray-600);
    text-align: left;
}

.info-table td {
    color: var(--color-gray-800);
}

.info-table tr:last-child th,
.info-table tr:last-child td {
    border-bottom: none;
}

/* Feature List */
.feature-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.feature-list li {
    padding: 8px 16px;
    font-size: 0.875rem;
    background: var(--color-gray-100);
    border-radius: 20px;
    color: var(--color-gray-700);
}

/* Property Comment */
.property-comment {
    font-size: 0.9375rem;
    line-height: 2;
    color: var(--color-gray-700);
}

.property-comment p {
    margin-bottom: 16px;
}

.property-comment p:last-child {
    margin-bottom: 0;
}

/* Inquiry Box */
.inquiry-box {
    background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 100%);
    border-radius: 16px;
    padding: 4px;
    margin-bottom: 48px;
}

.inquiry-box-inner {
    background: var(--color-white);
    border-radius: 12px;
    padding: 48px;
    text-align: center;
}

.inquiry-box-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--color-gray-800);
}

.inquiry-box-text {
    color: var(--color-gray-600);
    margin-bottom: 32px;
}

.inquiry-box-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.inquiry-box-hours {
    font-size: 0.875rem;
    color: var(--color-gray-500);
}

/* Back Link */
.back-link {
    text-align: center;
}

.btn-text {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--color-primary);
    font-weight: 500;
}

.btn-text:hover {
    text-decoration: underline;
}

/* Current Nav */
.nav-list a.current {
    color: var(--color-primary);
}

/* Responsive - Properties */
@media (max-width: 1024px) {
    .properties-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    
    .property-main {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .property-gallery {
        position: static;
    }
}

@media (max-width: 768px) {
    .page-header {
        padding: 120px 0 60px;
    }
    
    .page-header-en {
        font-size: 2rem;
    }
    
    .filter-wrapper {
        flex-direction: column;
        gap: 16px;
    }
    
    .filter-group {
        width: 100%;
    }
    
    .filter-select {
        flex: 1;
    }
    
    .properties-grid {
        grid-template-columns: 1fr;
    }
    
    .property-title {
        font-size: 1.5rem;
    }
    
    .property-price .price-number {
        font-size: 2rem;
    }
    
    .info-section {
        padding: 24px;
    }
    
    .info-table th {
        width: 100px;
    }
    
    .inquiry-box-inner {
        padding: 32px 24px;
    }
    
    .inquiry-box-title {
        font-size: 1.25rem;
    }
    
    .cta-title {
        font-size: 1.25rem;
    }
    
    .breadcrumb {
        margin-top: 60px;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .hero-title {
        font-size: 1.75rem;
    }
    
    .hero-subtitle {
        font-size: 0.9375rem;
    }
    
    .btn {
        padding: 14px 32px;
        font-size: 0.9375rem;
    }
    
    .section-label-en {
        font-size: 1.5rem;
    }
    
    .concept-heading,
    .business-heading {
        font-size: 1.25rem;
    }
}

/* =========================================
   Property pages (SWELL) - 物件一覧/詳細
   ========================================= */

/* 親コンテナの幅制限を解除 & flexを解除 */
.post-type-archive-property #content.l-container,
.post-type-archive-property .l-content.l-container,
.single-property #content.l-container,
.single-property .l-content.l-container {
    max-width: 100%;
    padding-left: 0;
    padding-right: 0;
    display: block !important;
}

/* サイドバー非表示 */
.post-type-archive-property #sidebar.l-sidebar,
.single-property #sidebar.l-sidebar {
    display: none !important;
}

/* page-headerを全幅に */
.post-type-archive-property .page-header {
    width: 100%;
}

/* 各セクションの内側で幅を制御 */
.post-type-archive-property .page-header-content,
.post-type-archive-property .properties-filter > .l-container,
.post-type-archive-property .properties-list > .l-container,
.post-type-archive-property .cta-content {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
}

/* page-headerの位置調整 */
.page-header-content {
    position: relative;
    text-align: center;
    color: var(--color-white);
}

/* 物件一覧グリッド */
.post-type-archive-property .properties-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

@media (max-width: 1024px) {
    .post-type-archive-property .properties-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .post-type-archive-property .properties-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}


/* 物件ページのパンくずリスト非表示 */
.post-type-archive-property .p-breadcrumb,
.post-type-archive-property .p-breadcrumb__list,
.single-property .p-breadcrumb,
.single-property .p-breadcrumb__list {
    display: none !important;
}


/* 物件詳細ページのパンくず上の余白を調整 */
.single-property #content.l-container,
.single-property .l-content.l-container {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

/* パンくずリストの余白調整 */
.single-property .breadcrumb {
    margin-top: 0px; /* ヘッダーの高さ分 */
    padding-top: 16px;
    padding-bottom: 16px;
}

/* Contact Form 7 スタイル調整 */
.wpcf7 {
    background: linear-gradient(180deg, var(--color-white) 0%, var(--color-gray-50) 100%);
    padding: 48px;
    border-radius: 16px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(26, 74, 124, 0.08);
    position: relative;
    overflow: hidden;
}

.wpcf7::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
}

.wpcf7 label {
    display: block;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--color-gray-700);
    margin-bottom: 8px;
}

.wpcf7 .required {
    font-size: 0.75rem;
    font-weight: 400;
    color: #c0392b;
    margin-left: 4px;
}

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 textarea {
    width: 100%;
    padding: 14px 16px;
    font-size: 1rem;
    font-family: inherit;
    border: 1px solid var(--color-gray-300);
    border-radius: 8px;
    transition: var(--transition);
    background-color: var(--color-white);
    margin-bottom: 24px;
}

.wpcf7 input:focus,
.wpcf7 textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 4px rgba(26, 74, 124, 0.1);
}

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

.wpcf7 input[type="submit"] {
    display: inline-block;
    padding: 18px 60px;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    background: var(--gradient-primary);
    color: var(--color-white);
    box-shadow: 0 8px 30px rgba(26, 74, 124, 0.3);
}

.wpcf7 input[type="submit"]:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(26, 74, 124, 0.4);
}

.wpcf7-form p {
    margin-bottom: 0;
}

.wpcf7-response-output {
    margin: 20px 0 0 !important;
    padding: 15px !important;
    border-radius: 8px !important;
}

/* 送信ボタンを中央揃え */
.wpcf7-form p:last-of-type {
    text-align: center;
    margin-top: 32px;
}

@media (max-width: 768px) {
    .wpcf7 {
        padding: 32px 24px;
    }
}

/* ============================================
   Business Page Styles
   ============================================ */

/* Business Overview */
.business-overview {
    padding: 100px 0;
    background: var(--color-white);
}

.business-overview-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.business-overview-content p {
    font-size: 1.0625rem;
    line-height: 2.2;
    color: var(--color-gray-700);
    margin-bottom: 16px;
}

.business-overview-content p:last-child {
    margin-bottom: 0;
}

/* Service Section */
.service-section {
    padding: 100px 0;
}

.service-sell {
    background: var(--color-gray-50);
}

.service-buy {
    background: var(--color-white);
}

.service-resale {
    background: var(--color-gray-50);
}

.service-management {
    background: var(--color-white);
}

.service-intro {
    text-align: center;
    font-size: 1.0625rem;
    color: var(--color-gray-700);
    margin-bottom: 60px;
    line-height: 2;
}

/* Service Steps */
.service-steps {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.service-step {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.service-step-reverse {
    direction: rtl;
}

.service-step-reverse > * {
    direction: ltr;
}

.service-step-image {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.service-step-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: var(--transition-slow);
}

.service-step:hover .service-step-image img {
    transform: scale(1.03);
}

.service-step-content {
    position: relative;
}

.service-step-number {
    font-size: 4rem;
    font-weight: 700;
    color: rgba(26, 74, 124, 0.1);
    line-height: 1;
    margin-bottom: 16px;
}

.service-step-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-gray-800);
    margin-bottom: 20px;
    position: relative;
    padding-left: 20px;
}

.service-step-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.service-step-desc {
    font-size: 1rem;
    color: var(--color-gray-700);
    line-height: 1.9;
    margin-bottom: 24px;
}

.service-step-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.service-step-list li {
    font-size: 0.9375rem;
    color: var(--color-gray-700);
    padding-left: 24px;
    position: relative;
}

.service-step-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 8px;
    height: 8px;
    background: var(--gradient-gold);
    border-radius: 50%;
}

/* Resale Section */
.resale-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.resale-image {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.resale-image img {
    width: 100%;
    height: auto;
    display: block;
}

.resale-text {
    padding: 20px 0;
}

.resale-lead {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-gray-800);
    margin-bottom: 24px;
    line-height: 1.6;
}

.resale-text > p {
    font-size: 1rem;
    color: var(--color-gray-700);
    line-height: 1.9;
    margin-bottom: 16px;
}

.resale-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 32px;
}

.resale-feature {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: var(--color-white);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-gray-200);
}

.resale-feature-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, rgba(26, 74, 124, 0.1) 0%, rgba(52, 152, 219, 0.05) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    flex-shrink: 0;
}

.resale-feature-text h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-gray-800);
    margin-bottom: 4px;
}

.resale-feature-text p {
    font-size: 0.875rem;
    color: var(--color-gray-600);
    margin-bottom: 0;
}

/* Management Cards */
.management-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.management-card {
    background: var(--color-white);
    padding: 40px 24px;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--color-gray-200);
    transition: var(--transition);
}

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

.management-card-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, rgba(26, 74, 124, 0.1) 0%, rgba(52, 152, 219, 0.05) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
}

.management-card-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-gray-800);
    margin-bottom: 12px;
}

.management-card-desc {
    font-size: 0.875rem;
    color: var(--color-gray-600);
    line-height: 1.7;
}

/* Business Contact Section */
.business-contact {
    padding: 100px 0;
    background: var(--color-gray-50);
}

/* Responsive - Business Page */
@media (max-width: 1024px) {
    .service-step {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .service-step-reverse {
        direction: ltr;
    }
    
    .resale-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .management-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .business-overview {
        padding: 60px 0;
    }
    
    .business-overview-content p {
        font-size: 1rem;
    }
    
    .service-section {
        padding: 60px 0;
    }
    
    .service-intro {
        font-size: 1rem;
        margin-bottom: 40px;
    }
    
    .service-steps {
        gap: 40px;
    }
    
    .service-step-number {
        font-size: 3rem;
    }
    
    .service-step-title {
        font-size: 1.25rem;
    }
    
    .resale-lead {
        font-size: 1.25rem;
    }
    
    .resale-features {
        gap: 16px;
    }
    
    .resale-feature {
        padding: 16px;
    }
    
    .management-cards {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .management-card {
        padding: 32px 20px;
    }
    
    .business-contact {
        padding: 60px 0;
    }
}


/* ============================================
   Contact Page Styles
   ============================================ */

.contact-page {
    padding: 80px 0;
}

.contact-page-intro {
    text-align: center;
    margin-bottom: 60px;
}

.contact-page-intro p {
    font-size: 1.125rem;
    color: var(--color-gray-700);
    line-height: 2;
}

/* Contact Methods */
.contact-methods {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin-bottom: 80px;
}

.contact-method {
    background: linear-gradient(180deg, var(--color-white) 0%, var(--color-gray-50) 100%);
    border: 1px solid var(--color-gray-200);
    border-radius: 16px;
    padding: 48px 32px;
    text-align: center;
    transition: var(--transition);
}

.contact-method:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.contact-method-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 24px;
    background: linear-gradient(135deg, rgba(26, 74, 124, 0.1) 0%, rgba(52, 152, 219, 0.05) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
}

.contact-method-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-gray-700);
    margin-bottom: 16px;
}

.contact-method-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 12px;
    transition: var(--transition);
}

.contact-method-number:hover {
    color: var(--color-primary-light);
}

.contact-method-email {
    display: block;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 12px;
    transition: var(--transition);
}

.contact-method-email:hover {
    color: var(--color-primary-light);
}

.contact-method-hours,
.contact-method-note {
    font-size: 0.875rem;
    color: var(--color-gray-500);
}

/* Contact Form Section */
.contact-form-section {
    background: var(--color-white);
    border-radius: 16px;
    padding: 60px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--color-gray-200);
    margin-bottom: 80px;
}

.contact-form-heading {
    font-size: 1.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 16px;
    color: var(--color-gray-800);
}

.contact-form-desc {
    text-align: center;
    color: var(--color-gray-600);
    margin-bottom: 48px;
}

/* Contact Company Info */
.contact-company-info {
    background: var(--color-gray-50);
    border-radius: 16px;
    padding: 48px;
}

.contact-company-title {
    font-size: 1.25rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 32px;
    color: var(--color-gray-800);
}

.contact-company-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

.contact-company-table {
    width: 100%;
}

.contact-company-table th,
.contact-company-table td {
    padding: 12px 0;
    font-size: 0.9375rem;
    border-bottom: 1px solid var(--color-gray-300);
    vertical-align: top;
}

.contact-company-table th {
    width: 100px;
    font-weight: 500;
    color: var(--color-gray-600);
    text-align: left;
}

.contact-company-table td {
    color: var(--color-gray-800);
}

.contact-company-table a {
    color: var(--color-primary);
}

.contact-company-table a:hover {
    text-decoration: underline;
}

.contact-company-map {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.contact-company-map iframe {
    display: block;
}

/* Responsive - Contact Page */
@media (max-width: 1024px) {
    .contact-company-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

@media (max-width: 768px) {
    .contact-page {
        padding: 60px 0;
    }
    
    .contact-page-intro p {
        font-size: 1rem;
    }
    
    .contact-methods {
        grid-template-columns: 1fr;
        gap: 24px;
        margin-bottom: 60px;
    }
    
    .contact-method {
        padding: 32px 24px;
    }
    
    .contact-method-number {
        font-size: 1.75rem;
    }
    
    .contact-form-section {
        padding: 32px 24px;
        margin-bottom: 60px;
    }
    
    .contact-form-heading {
        font-size: 1.25rem;
    }
    
    .contact-company-info {
        padding: 32px 24px;
    }
}

/* ============================================
   Page Content Styles（お知らせ・採用情報など）
   ============================================ */

.page-content {
    padding: 80px 0;
    background: var(--color-white);
}

.page-content-inner {
    max-width: 900px;
    margin: 0 auto;
}

.page-content-inner h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-gray-800);
    margin: 48px 0 24px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--color-primary);
}

.page-content-inner h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-gray-800);
    margin: 32px 0 16px;
}

.page-content-inner p {
    font-size: 1rem;
    line-height: 2;
    color: var(--color-gray-700);
    margin-bottom: 24px;
}

.page-content-inner ul,
.page-content-inner ol {
    margin: 24px 0;
    padding-left: 24px;
}

.page-content-inner li {
    font-size: 1rem;
    line-height: 2;
    color: var(--color-gray-700);
    margin-bottom: 8px;
}

.page-content-inner img {
    border-radius: 8px;
    margin: 24px 0;
}

.page-content-inner table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
}

.page-content-inner table th,
.page-content-inner table td {
    padding: 16px;
    border: 1px solid var(--color-gray-300);
    text-align: left;
}

.page-content-inner table th {
    background: var(--color-gray-100);
    font-weight: 600;
}

@media (max-width: 768px) {
    .page-content {
        padding: 60px 0;
    }
    
    .page-content-inner h2 {
        font-size: 1.25rem;
    }
    
    .page-content-inner h3 {
        font-size: 1.125rem;
    }
}

/* ============================================
   Site Main（全ページ共通）
   ============================================ */

.site-main {
    padding-top: 80px; /* ヘッダーの高さ分 */
}

@media (max-width: 768px) {
    .site-main {
        padding-top: 60px;
    }
}

/* ============================================
   News List Styles（お知らせ一覧）
   ============================================ */

.news-list {
    max-width: 900px;
    margin: 0 auto;
}

.news-item {
    border-bottom: 1px solid var(--color-gray-200);
}

.news-item:last-child {
    border-bottom: none;
}

.news-item-link {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 24px 0;
    transition: var(--transition);
}

.news-item-link:hover {
    opacity: 0.7;
}

.news-item-date {
    flex-shrink: 0;
    font-size: 0.875rem;
    color: var(--color-gray-500);
    width: 100px;
}

.news-item-title {
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-gray-800);
    line-height: 1.6;
}

/* ============================================
   Post Detail Styles（投稿詳細）
   ============================================ */

.post-meta {
    margin-bottom: 16px;
}

.post-meta time {
    font-size: 0.875rem;
    color: var(--color-gray-500);
}

.post-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--color-gray-800);
    margin-bottom: 40px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--color-gray-200);
}

.post-navigation {
    margin-top: 60px;
    text-align: center;
}

/* ============================================
   Page Content Styles（固定ページ・投稿共通）
   ============================================ */

.page-content {
    padding: 80px 0;
    background: var(--color-white);
}

.page-content-inner {
    max-width: 900px;
    margin: 0 auto;
}

.page-content-inner h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-gray-800);
    margin: 48px 0 24px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--color-primary);
}

.page-content-inner h2:first-child {
    margin-top: 0;
}

.page-content-inner h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-gray-800);
    margin: 32px 0 16px;
}

.page-content-inner p {
    font-size: 1rem;
    line-height: 2;
    color: var(--color-gray-700);
    margin-bottom: 24px;
}

.page-content-inner ul,
.page-content-inner ol {
    margin: 24px 0;
    padding-left: 24px;
}

.page-content-inner li {
    font-size: 1rem;
    line-height: 2;
    color: var(--color-gray-700);
    margin-bottom: 8px;
}

.page-content-inner img {
    border-radius: 8px;
    margin: 24px 0;
}

.page-content-inner table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
}

.page-content-inner table th,
.page-content-inner table td {
    padding: 16px;
    border: 1px solid var(--color-gray-300);
    text-align: left;
}

.page-content-inner table th {
    background: var(--color-gray-100);
    font-weight: 600;
}

@media (max-width: 768px) {
    .page-content {
        padding: 60px 0;
    }
    
    .page-content-inner h2 {
        font-size: 1.25rem;
    }
    
    .page-content-inner h3 {
        font-size: 1.125rem;
    }
    
    .news-item-link {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .news-item-date {
        width: auto;
    }
    
    .post-title {
        font-size: 1.5rem;
    }
}


/* Mobile - Footer */
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        gap: 32px;
        text-align: left; /* 左揃えに変更 */
    }
    
    .footer-info {
        text-align: left; /* 左揃えに変更 */
    }
    
    .footer-logo {
        margin-bottom: 16px;
    }
    
    .footer-nav ul {
        flex-wrap: wrap;
        justify-content: flex-start; /* 左揃えに変更 */
        gap: 16px 24px;
    }
}

/* トップページ（ヒーローセクションがある場合）のmain調整 */
.page-template-飛進lpテスト .site-main,
.home .site-main {
    padding-top: 0;
}

/* ヒーローセクションのヘッダー重なり対応 */
.hero {
    margin-top: -80px;
    padding-top: 80px;
}

@media (max-width: 768px) {
    .hero {
        margin-top: -60px;
        padding-top: 60px;
    }
}


/* ============================================
   通常ページのコンテンツ幅（SWELL準拠）
   ============================================ */

/* SWELLのコンテンツ幅変数を使用 */
.page-content .container,
.page-content-inner {
    max-width: var(--article_size, 900px);
    margin: 0 auto;
    padding: 0 var(--swl-pad_container, 20px);
}

/* 投稿詳細・固定ページのコンテンツ */
.singular .page-content-inner,
.single .page-content-inner,
.page .page-content-inner {
    max-width: var(--article_size, 900px);
}

/* お知らせ一覧 */
.news-list {
    max-width: var(--article_size, 900px);
    margin: 0 auto;
    padding: 0 var(--swl-pad_container, 20px);
}

/* WordPressブロックエディタのコンテンツ幅調整 */
.page-content-inner .wp-block-group,
.page-content-inner .wp-block-columns,
.page-content-inner .wp-block-cover {
    max-width: 100%;
}

/* 幅広・全幅ブロック対応 */
.page-content-inner .alignwide {
    max-width: calc(var(--article_size, 900px) + 200px);
    margin-left: calc(50% - (var(--article_size, 900px) + 200px) / 2);
    margin-right: calc(50% - (var(--article_size, 900px) + 200px) / 2);
    width: calc(var(--article_size, 900px) + 200px);
}

.page-content-inner .alignfull {
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    width: 100vw;
}

/* SWELLのデフォルト変数がない場合のフォールバック */
:root {
    --article_size: 900px;
    --swl-pad_container: 20px;
}

@media (min-width: 960px) {
    :root {
        --swl-pad_container: 32px;
    }
}

@media (min-width: 1200px) {
    :root {
        --swl-pad_container: 48px;
    }
}

/* post-content内のスタイル */
.post-content {
    font-size: 1rem;
    line-height: 2;
    color: var(--color-gray-700);
}

.post-content p {
    margin-bottom: 24px;
}

.post-content h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-gray-800);
    margin: 48px 0 24px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--color-primary);
}

.post-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-gray-800);
    margin: 32px 0 16px;
}

.post-content ul,
.post-content ol {
    margin: 24px 0;
    padding-left: 24px;
}

.post-content li {
    margin-bottom: 8px;
}

.post-content img {
    border-radius: 8px;
    margin: 24px 0;
    max-width: 100%;
    height: auto;
}

.post-content a {
    color: var(--color-primary);
    text-decoration: underline;
}

.post-content a:hover {
    text-decoration: none;
}

/* ============================================
   Breadcrumb Styles（パンくずリスト）
   ============================================ */

.breadcrumb {
    background: var(--color-gray-50);
    padding: 16px 0;
    border-bottom: 1px solid var(--color-gray-200);
}

.breadcrumb-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    font-size: 0.8125rem;
    color: var(--color-gray-600);
    list-style: none;
    padding: 0;
    margin: 0;
}

.breadcrumb-list li {
    display: flex;
    align-items: center;
}

.breadcrumb-list li:not(:last-child)::after {
    content: '>';
    margin-left: 8px;
    color: var(--color-gray-400);
}

.breadcrumb-list a {
    color: var(--color-gray-600);
    transition: var(--transition);
}

.breadcrumb-list a:hover {
    color: var(--color-primary);
}

.breadcrumb-list li[aria-current="page"] {
    color: var(--color-gray-800);
    font-weight: 500;
}

/* ============================================
   Post Meta & Categories（投稿メタ情報）
   ============================================ */

.post-header {
    margin-bottom: 40px;
}

.post-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.post-meta time {
    font-size: 0.875rem;
    color: var(--color-gray-500);
}

.post-categories {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.post-category {
    display: inline-block;
    padding: 4px 12px;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--color-white);
    background: var(--color-primary);
    border-radius: 4px;
    transition: var(--transition);
}

.post-category:hover {
    background: var(--color-primary-dark);
}

/* ============================================
   Category Filter（カテゴリーフィルター）
   ============================================ */

.category-filter {
    padding: 24px 0;
    background: var(--color-white);
    border-bottom: 1px solid var(--color-gray-200);
}

.category-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    list-style: none;
    padding: 0;
    margin: 0;
    justify-content: center;
}

.category-link {
    display: inline-block;
    padding: 8px 20px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-gray-600);
    background: var(--color-gray-100);
    border-radius: 20px;
    transition: var(--transition);
}

.category-link:hover {
    background: var(--color-gray-200);
    color: var(--color-gray-800);
}

.category-link.active {
    background: var(--color-primary);
    color: var(--color-white);
}

/* ============================================
   News List with Category（カテゴリー付き一覧）
   ============================================ */

.news-item-link {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px 0;
    transition: var(--transition);
}

.news-item-link:hover {
    opacity: 0.7;
}

.news-item-date {
    flex-shrink: 0;
    font-size: 0.875rem;
    color: var(--color-gray-500);
    width: 90px;
}

.news-item-category {
    flex-shrink: 0;
    display: inline-block;
    padding: 4px 12px;
    font-size: 0.6875rem;
    font-weight: 500;
    color: var(--color-white);
    background: var(--color-primary);
    border-radius: 4px;
    min-width: 80px;
    text-align: center;
}

.news-item-title {
    flex: 1;
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-gray-800);
    line-height: 1.6;
}

.no-posts {
    text-align: center;
    padding: 60px 0;
    color: var(--color-gray-500);
}

/* Responsive */
@media (max-width: 768px) {
    .breadcrumb {
        padding: 12px 0;
    }
    
    .breadcrumb-list {
        font-size: 0.75rem;
    }
    
    .post-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .category-filter {
        padding: 16px 0;
    }
    
    .category-list {
        justify-content: flex-start;
        gap: 8px;
    }
    
    .category-link {
        padding: 6px 14px;
        font-size: 0.8125rem;
    }
    
    .news-item-link {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .news-item-date {
        width: auto;
    }
    
    .news-item-category {
        min-width: auto;
    }
}

