/*
Theme Name: Créer Corporate
Theme URI: https://creer-corp.com
Author: Créer Corporation
Author URI: https://creer-corp.com
Description: 株式会社Créerの不動産買取サービス用オリジナルテーマ。訳あり物件・空き家買取に特化したコーポレートサイト向けデザイン。
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: creer
Tags: corporate, real-estate, japanese, custom-logo, custom-menu, featured-images
*/

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

body {
    font-family: 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
    line-height: 1.8;
    color: #333;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

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

/* ==========================================================================
   大理石調の背景パターン
   ========================================================================== */
.marble-bg {
    background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 25%, #f5f5f5 50%, #e8e8e8 75%, #f5f5f5 100%);
    background-size: 200% 200%;
    position: relative;
}

.marble-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(45deg, rgba(255,255,255,0.3) 25%, transparent 25%, transparent 75%, rgba(255,255,255,0.3) 75%, rgba(255,255,255,0.3)),
        linear-gradient(-45deg, rgba(0,0,0,0.03) 25%, transparent 25%, transparent 75%, rgba(0,0,0,0.03) 75%, rgba(0,0,0,0.03));
    background-size: 60px 60px;
    opacity: 0.5;
    pointer-events: none;
}

.marble-white {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 25%, #ffffff 50%, #f8f9fa 75%, #ffffff 100%);
    background-size: 200% 200%;
    position: relative;
}

.marble-white::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(200,200,200,0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(150,150,150,0.08) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(180,180,180,0.06) 0%, transparent 50%);
    pointer-events: none;
}

.marble-blue {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 25%, #e3f2fd 50%, #bbdefb 75%, #e3f2fd 100%);
    background-size: 200% 200%;
    position: relative;
}

.marble-blue::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 30% 40%, rgba(74, 144, 226, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 70%, rgba(33, 150, 243, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.marble-dark {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 25%, #2c3e50 50%, #34495e 75%, #2c3e50 100%);
    background-size: 200% 200%;
    position: relative;
}

.marble-dark::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 25% 35%, rgba(255,255,255,0.1) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(255,255,255,0.05) 0%, transparent 50%);
    pointer-events: none;
}

/* ==========================================================================
   Container
   ========================================================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
}

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
    background: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-main {
    padding: 15px 0;
    background: #fff;
    position: relative;
}

.header-main .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 1;
}

/* ==========================================================================
   Logo
   ========================================================================== */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.logo-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #4A90E2 0%, #357ABD 100%);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    position: relative;
    flex-shrink: 0;
}

.logo-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 22px;
    height: 22px;
    background: linear-gradient(135deg, #87CEEB 0%, #4A90E2 100%);
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
}

/* カスタムロゴ画像対応 */
.logo .custom-logo-link {
    display: flex;
    align-items: center;
}

.logo .custom-logo {
    height: 45px;
    width: auto;
    max-width: 150px;
}

.logo-text-wrap {
    display: flex;
    flex-direction: column;
}

.logo-text {
    font-size: 28px;
    font-weight: bold;
    color: #333;
    letter-spacing: 1px;
    font-style: italic;
    text-decoration: none;
    display: block;
    line-height: 1.2;
}

.logo-sub {
    display: block;
    font-size: 10px;
    color: #666;
    font-weight: normal;
    letter-spacing: 0.5px;
}

/* ==========================================================================
   Navigation - メインメニュー
   ========================================================================== */
.main-navigation {
    flex: 1;
    display: flex;
    justify-content: center;
    margin: 0 20px;
}

.main-navigation ul {
    display: flex;
    gap: 25px;
    align-items: center;
    margin: 0;
    padding: 0;
    list-style: none;
}

.main-navigation li {
    margin: 0;
    padding: 0;
}

.main-navigation > ul > li {
    position: relative;
}

.main-navigation > ul > li > a {
    text-decoration: none;
    color: #333;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s;
    white-space: nowrap;
    padding: 20px 0;
    display: block;
    position: relative;
}

.main-navigation > ul > li > a:hover,
.main-navigation > ul > li:hover > a {
    color: #4A90E2;
}

/* ホバー時のアンダーライン */
.main-navigation > ul > li > a::after {
    content: '';
    position: absolute;
    bottom: 15px;
    left: 0;
    width: 0;
    height: 2px;
    background: #4A90E2;
    transition: width 0.3s ease;
}

.main-navigation > ul > li:hover > a::after {
    width: 100%;
}

/* ==========================================================================
   Dropdown / サブメニュー
   ========================================================================== */
.main-navigation .sub-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #4A90E2;
    min-width: 200px;
    padding: 15px 0;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 0;
    list-style: none;
    margin: 0;
}

.main-navigation > ul > li:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
}

.main-navigation .sub-menu li {
    margin: 0;
    padding: 0;
}

.main-navigation .sub-menu a {
    display: block;
    padding: 12px 25px;
    color: #fff;
    font-size: 14px;
    font-weight: 400;
    text-decoration: none;
    transition: all 0.2s ease;
    white-space: nowrap;
    text-align: center;
}

.main-navigation .sub-menu a:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
}

/* 下向き矢印アイコン */
.main-navigation .menu-item-has-children > a::before {
    content: '▼';
    font-size: 8px;
    margin-left: 5px;
    display: inline-block;
    vertical-align: middle;
    transition: transform 0.3s;
}

.main-navigation .menu-item-has-children:hover > a::before {
    transform: rotate(180deg);
}

/* ==========================================================================
   Mega Menu - 子メニューが多い場合のグリッドレイアウト
   ========================================================================== */
.main-navigation .has-mega-menu > .sub-menu {
    min-width: 500px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
    padding: 20px;
}

.main-navigation .has-mega-menu > .sub-menu li {
    border-bottom: none;
}

.main-navigation .has-mega-menu > .sub-menu a {
    padding: 10px 15px;
    border-radius: 4px;
    font-size: 13px;
}

/* 子メニューが6個以上の場合は3カラム */
.main-navigation .has-mega-menu.mega-3col > .sub-menu {
    min-width: 650px;
    grid-template-columns: repeat(3, 1fr);
}

/* ==========================================================================
   Header Buttons
   ========================================================================== */
.header-buttons {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.header-btn {
    padding: 10px 20px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    font-size: 13px;
    transition: all 0.3s;
    display: inline-block;
    white-space: nowrap;
}

.btn-outline {
    background: #fff;
    color: #4A90E2;
    border: 2px solid #4A90E2;
}

.btn-outline:hover {
    background: #4A90E2;
    color: #fff;
}

.btn-primary-header {
    background: #4A90E2;
    color: #fff;
    border: 2px solid #4A90E2;
}

.btn-primary-header:hover {
    background: #357ABD;
    border-color: #357ABD;
}

/* ==========================================================================
   Mobile Menu Toggle
   ========================================================================== */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    padding: 8px;
    color: #333;
    line-height: 1;
}

/* ==========================================================================
   Responsive - Large tablets
   ========================================================================== */
@media (max-width: 1100px) {
    .main-navigation ul {
        gap: 18px;
    }
    
    .main-navigation > ul > li > a {
        font-size: 13px;
    }
    
    .header-btn {
        padding: 8px 15px;
        font-size: 12px;
    }
}

/* ==========================================================================
   Responsive - Tablet (Navigation becomes mobile)
   ========================================================================== */
@media (max-width: 900px) {
    .main-navigation {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        box-shadow: 0 5px 20px rgba(0,0,0,0.1);
        padding: 20px;
        z-index: 1000;
        margin: 0;
    }
    
    .main-navigation.is-open {
        display: block;
    }
    
    .main-navigation ul {
        flex-direction: column;
        gap: 0;
    }
    
    .main-navigation > ul > li {
        border-bottom: 1px solid #eee;
    }
    
    .main-navigation > ul > li:last-child {
        border-bottom: none;
    }
    
    .main-navigation > ul > li > a {
        padding: 15px 10px;
        font-size: 15px;
    }
    
    .main-navigation > ul > li > a::after {
        display: none;
    }
    
    /* モバイル時のサブメニュー */
    .main-navigation .sub-menu,
    .main-navigation .has-mega-menu > .sub-menu {
        position: static;
        transform: none;
        opacity: 1;
        visibility: hidden;
        max-height: 0;
        overflow: hidden;
        background: #f5f5f5;
        min-width: 100%;
        padding: 0;
        border-radius: 0;
        box-shadow: none;
        display: flex;
        flex-direction: column;
        transition: max-height 0.3s ease, visibility 0.3s ease, padding 0.3s ease;
    }
    
    .main-navigation > ul > li.is-open > .sub-menu,
    .main-navigation > ul > li.is-open > .has-mega-menu > .sub-menu {
        visibility: visible;
        max-height: 500px;
        padding: 10px 0;
    }
    
    .main-navigation .sub-menu a,
    .main-navigation .has-mega-menu > .sub-menu a {
        color: #333;
        padding: 12px 30px;
        text-align: left;
        border-bottom: 1px solid #eee;
        border-radius: 0;
    }
    
    .main-navigation .sub-menu li:last-child a {
        border-bottom: none;
    }
    
    .main-navigation .sub-menu a:hover {
        background: #e8e8e8;
        color: #4A90E2;
    }
    
    .main-navigation .menu-item-has-children > a::before {
        float: right;
        margin-left: 0;
        margin-right: 5px;
    }
    
    .main-navigation > ul > li.is-open > a::before {
        transform: rotate(180deg);
    }
    
    .menu-toggle {
        display: block;
    }
    
    .header-buttons {
        display: none;
    }
}

/* ==========================================================================
   Responsive - Mobile
   ========================================================================== */
@media (max-width: 768px) {
    .header-main .container {
        padding: 0 15px;
    }

    .logo-text {
        font-size: 24px;
    }
    
    .logo-sub {
        font-size: 9px;
    }
    
    .logo-icon {
        width: 38px;
        height: 38px;
    }
    
    .logo-icon::after {
        width: 18px;
        height: 18px;
    }
}

/* カスタムロゴ画像対応 */
.logo .custom-logo-link {
    display: flex;
    align-items: center;
}

.logo .custom-logo {
    height: 45px;
    width: auto;
    max-width: 150px;
}

.logo-text-wrap {
    display: flex;
    flex-direction: column;
}

.logo-text {
    font-size: 28px;
    font-weight: bold;
    color: #333;
    letter-spacing: 1px;
    font-style: italic;
    text-decoration: none;
    display: block;
    line-height: 1.2;
}

.logo-sub {
    display: block;
    font-size: 10px;
    color: #666;
    font-weight: normal;
    letter-spacing: 0.5px;
}

/* Navigation */
.main-navigation {
    flex: 1;
    display: flex;
    justify-content: center;
    margin: 0 20px;
}

.main-navigation ul {
    display: flex;
    gap: 25px;
    align-items: center;
    margin: 0;
    padding: 0;
    list-style: none;
}

.main-navigation li {
    margin: 0;
    padding: 0;
}

.main-navigation a {
    text-decoration: none;
    color: #333;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s;
    white-space: nowrap;
    padding: 8px 0;
    display: block;
}

.main-navigation a:hover {
    color: #4A90E2;
}

/* モバイルメニュー開閉時 */
.main-navigation.is-open {
    display: block;
}

.header-buttons {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.header-btn {
    padding: 10px 20px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    font-size: 13px;
    transition: all 0.3s;
    display: inline-block;
    white-space: nowrap;
}

.btn-outline {
    background: #fff;
    color: #4A90E2;
    border: 2px solid #4A90E2;
}

.btn-outline:hover {
    background: #4A90E2;
    color: #fff;
}

.btn-primary-header {
    background: #4A90E2;
    color: #fff;
    border: 2px solid #4A90E2;
}

.btn-primary-header:hover {
    background: #357ABD;
    border-color: #357ABD;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    padding: 8px;
    color: #333;
    line-height: 1;
}

/* ==========================================================================
   Dropdown / Mega Menu
   ========================================================================== */
.main-navigation ul {
    display: flex;
    gap: 25px;
    align-items: center;
    margin: 0;
    padding: 0;
    list-style: none;
}

.main-navigation > ul > li {
    position: relative;
    margin: 0;
    padding: 0;
}

.main-navigation > ul > li > a {
    text-decoration: none;
    color: #333;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s;
    white-space: nowrap;
    padding: 20px 0;
    display: block;
    position: relative;
}

.main-navigation > ul > li > a:hover,
.main-navigation > ul > li:hover > a {
    color: #4A90E2;
}

/* ホバー時のアンダーライン */
.main-navigation > ul > li > a::after {
    content: '';
    position: absolute;
    bottom: 15px;
    left: 0;
    width: 0;
    height: 2px;
    background: #4A90E2;
    transition: width 0.3s ease;
}

.main-navigation > ul > li:hover > a::after {
    width: 100%;
}

/* サブメニュー（ドロップダウン） */
.main-navigation .sub-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #4A90E2;
    min-width: 200px;
    padding: 15px 0;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.main-navigation > ul > li:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
}

.main-navigation .sub-menu li {
    margin: 0;
    padding: 0;
}

.main-navigation .sub-menu a {
    display: block;
    padding: 12px 25px;
    color: #fff;
    font-size: 14px;
    font-weight: 400;
    text-decoration: none;
    transition: all 0.2s ease;
    white-space: nowrap;
    text-align: center;
}

.main-navigation .sub-menu a:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
}

/* メガメニュー（横幅が広いドロップダウン） */
.main-navigation .mega-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #4A90E2;
    min-width: 600px;
    padding: 25px 30px;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 5px 20px;
}

.main-navigation > ul > li:hover > .mega-menu {
    opacity: 1;
    visibility: visible;
}

.main-navigation .mega-menu a {
    display: block;
    padding: 12px 15px;
    color: #fff;
    font-size: 14px;
    font-weight: 400;
    text-decoration: none;
    transition: all 0.2s ease;
    white-space: nowrap;
    text-align: center;
    border-radius: 4px;
}

.main-navigation .mega-menu a:hover {
    background: rgba(255, 255, 255, 0.15);
}

/* 下向き矢印アイコン */
.main-navigation .menu-item-has-children > a::before {
    content: '▼';
    font-size: 8px;
    margin-left: 5px;
    display: inline-block;
    vertical-align: middle;
    transition: transform 0.3s;
}

.main-navigation .menu-item-has-children:hover > a::before {
    transform: rotate(180deg);
}

/* has-mega-menu クラスがある場合、グリッドレイアウトに */
.main-navigation .has-mega-menu > .sub-menu {
    min-width: 500px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
    padding: 20px;
}

.main-navigation .has-mega-menu > .sub-menu li {
    border-bottom: none;
}

.main-navigation .has-mega-menu > .sub-menu a {
    padding: 10px 15px;
    border-radius: 4px;
    font-size: 13px;
}

/* 子メニューが6個以上の場合は3カラム */
.main-navigation .has-mega-menu.mega-3col > .sub-menu {
    min-width: 650px;
    grid-template-columns: repeat(3, 1fr);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    position: relative;
    padding: 100px 30px 80px;
    text-align: center;
    overflow: hidden;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.hero-background-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.15;
}

.hero-background-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(248,249,250,0.9) 50%, rgba(255,255,255,0.95) 100%);
}

/* 背景画像がない場合のデフォルトスタイル */
.hero.no-bg-image {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 25%, #ffffff 50%, #f5f5f5 75%, #ffffff 100%);
}

.hero.no-bg-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(74, 144, 226, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(150,150,150,0.05) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(200,200,200,0.06) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 40px;
}

.hero-logo-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #4A90E2 0%, #357ABD 100%);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    position: relative;
    margin-bottom: 25px;
    box-shadow: 0 10px 30px rgba(74, 144, 226, 0.3);
}

.hero-logo-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #87CEEB 0%, #4A90E2 100%);
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
}

.hero-logo-icon.with-image {
    background: none;
    clip-path: none;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
}

.hero-logo-icon.with-image::after {
    display: none;
}

.hero-logo-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-logo-text {
    font-size: 64px;
    font-weight: bold;
    color: #333;
    letter-spacing: 4px;
    margin-bottom: 8px;
    font-style: italic;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.hero-logo-sub {
    font-size: 14px;
    color: #666;
    letter-spacing: 2px;
}

.hero-tagline {
    font-size: 22px;
    color: #333;
    margin-bottom: 50px;
    font-weight: 500;
}

.hero-highlight {
    font-size: 32px;
    margin-bottom: 45px;
    line-height: 1.6;
}

.hero-highlight .text-blue {
    color: #4A90E2;
    font-weight: bold;
}

.hero-cta {
    background: #4A90E2;
    color: #fff;
    padding: 22px 55px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    font-size: 18px;
    display: inline-block;
    transition: all 0.3s;
    box-shadow: 0 6px 20px rgba(74, 144, 226, 0.35);
    border: 2px solid #4A90E2;
}

.hero-cta:hover {
    background: #357ABD;
    border-color: #357ABD;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(74, 144, 226, 0.45);
}

.hero-cta-arrow {
    margin-left: 12px;
    font-size: 20px;
}

/* ==========================================================================
   PR Times Section
   ========================================================================== */
.pr-times {
    padding: 80px 30px;
    background: linear-gradient(135deg, #ffffff 0%, #f5f5f5 50%, #ffffff 100%);
    background-size: 200% 200%;
    text-align: center;
    position: relative;
}

.pr-times::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(180,180,180,0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(200,200,200,0.04) 0%, transparent 50%);
    pointer-events: none;
}

.pr-times h2 {
    font-size: 32px;
    margin-bottom: 40px;
    color: #333;
    position: relative;
    z-index: 1;
}

.pr-content {
    max-width: 800px;
    margin: 0 auto;
    background: #f8f9fa;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: relative;
    z-index: 1;
}

.pr-image {
    width: 100%;
    aspect-ratio: 16/9;
    background: #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #999;
    border-bottom: 2px solid #e0e0e0;
    position: relative;
    overflow: hidden;
}

.pr-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pr-info {
    padding: 30px;
    text-align: left;
}

.pr-date {
    font-size: 14px;
    color: #999;
    margin-bottom: 10px;
}

.pr-title {
    font-size: 20px;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
    line-height: 1.6;
}

.pr-description {
    font-size: 15px;
    color: #666;
    line-height: 1.8;
    margin-bottom: 20px;
}

.pr-link {
    display: inline-block;
    color: #4A90E2;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.pr-link:hover {
    color: #357ABD;
    text-decoration: underline;
}

/* ==========================================================================
   Property Types Section
   ========================================================================== */
.property-types {
    padding: 60px 30px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 25%, #f8f9fa 50%, #ffffff 75%, #f8f9fa 100%);
    background-size: 200% 200%;
    position: relative;
}

.property-types::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 15% 40%, rgba(200,200,200,0.06) 0%, transparent 50%),
        radial-gradient(circle at 85% 60%, rgba(150,150,150,0.05) 0%, transparent 50%);
    pointer-events: none;
}

.property-types h2 {
    font-size: 32px;
    margin-bottom: 50px;
    text-align: center;
    color: #333;
    position: relative;
    z-index: 1;
}

.property-grid {
    max-width: 1000px;
    margin: 0 auto 50px;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    position: relative;
    z-index: 1;
}

.property-item {
    background: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 0;
    padding: 30px 20px;
    text-align: center;
    transition: all 0.3s;
    cursor: pointer;
    position: relative;
}

.property-item:hover {
    border-color: #4A90E2;
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.property-icon {
    font-size: 60px;
    margin-bottom: 15px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.property-icon img {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.property-name {
    font-size: 15px;
    color: #4A90E2;
    font-weight: 600;
}

/* Contact Section in Property Types */
.contact-section {
    max-width: 1000px;
    margin: 0 auto 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    position: relative;
    z-index: 1;
}

.contact-box {
    background: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 0;
    padding: 30px;
    text-align: center;
}

.contact-phone {
    background: #f8f9fa;
}

.phone-icon {
    font-size: 32px;
    margin-bottom: 10px;
}

.phone-number {
    font-size: 42px;
    color: #4A90E2;
    font-weight: bold;
    margin: 20px 0;
    letter-spacing: 2px;
}

.phone-number a {
    color: inherit;
    text-decoration: none;
}

.phone-hours {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
}

.contact-form-btn {
    background: #E63946;
    color: #fff;
    padding: 20px 40px;
    border-radius: 0;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    display: inline-block;
    transition: all 0.3s;
    margin-top: 20px;
    border: 2px solid #E63946;
}

.contact-form-btn:hover {
    background: #d62839;
    border-color: #d62839;
    transform: translateY(-2px);
}

.service-note {
    text-align: center;
    font-size: 14px;
    color: #E63946;
    font-weight: bold;
    padding: 15px;
    background: #fff5f5;
    border-radius: 5px;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* ==========================================================================
   Area Section
   ========================================================================== */
.area-section {
    padding: 80px 30px;
    background: linear-gradient(135deg, #e3f2fd 0%, #f0f7ff 25%, #e3f2fd 50%, #f0f7ff 75%, #e3f2fd 100%);
    background-size: 200% 200%;
    position: relative;
}

.area-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 25% 35%, rgba(74, 144, 226, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 75% 65%, rgba(33, 150, 243, 0.06) 0%, transparent 50%);
    pointer-events: none;
}

.area-section h2 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 50px;
    color: #333;
    position: relative;
    z-index: 1;
}

.area-content {
    max-width: 900px;
    margin: 0 auto;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 50%, #ffffff 100%);
    padding: 50px 40px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    position: relative;
    z-index: 1;
}

.area-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 15px;
    background-image: 
        radial-gradient(circle at 30% 40%, rgba(200,200,200,0.06) 0%, transparent 50%),
        radial-gradient(circle at 70% 70%, rgba(150,150,150,0.05) 0%, transparent 50%);
    pointer-events: none;
}

.area-main-text {
    text-align: center;
    font-size: 18px;
    line-height: 2;
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
}

.area-main-text strong {
    color: #4A90E2;
    font-size: 22px;
}

.area-description {
    text-align: center;
    font-size: 15px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
}

.japan-map-container {
    text-align: center;
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
}

.map-placeholder {
    display: inline-block;
    font-size: 80px;
    margin-bottom: 20px;
}

.japan-map-container img {
    max-width: 500px;
    width: 100%;
}

.branch-list {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
}

.branch-tag {
    background: #fff;
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 13px;
    color: #333;
    box-shadow: 0 2px 5px rgba(0,0,0,0.08);
}

.branch-link {
    text-align: center;
    margin-top: 30px;
    position: relative;
    z-index: 1;
}

.branch-link a {
    color: #4A90E2;
    text-decoration: none;
    font-weight: 600;
    border-bottom: 2px solid #4A90E2;
    padding-bottom: 3px;
    transition: all 0.3s;
}

.branch-link a:hover {
    color: #357ABD;
    border-color: #357ABD;
}

/* ==========================================================================
   Case Study Section
   ========================================================================== */
.case-study {
    padding: 80px 30px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 50%, #f8f9fa 100%);
    background-size: 200% 200%;
    position: relative;
}

.case-study::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 30% 40%, rgba(150,150,150,0.04) 0%, transparent 50%),
        radial-gradient(circle at 70% 70%, rgba(200,200,200,0.05) 0%, transparent 50%);
    pointer-events: none;
}

.case-study-title {
    text-align: center;
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
}

.case-study-title h2 {
    font-size: 32px;
    color: #333;
    margin-bottom: 10px;
}

.case-study-subtitle {
    text-align: center;
    font-size: 13px;
    color: #999;
    letter-spacing: 2px;
    margin-bottom: 50px;
    position: relative;
    z-index: 1;
}

.case-grid {
    max-width: 1100px;
    margin: 0 auto 40px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    position: relative;
    z-index: 1;
}

.case-item {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s;
}

.case-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.case-item a {
    display: block;
    text-decoration: none;
    color: inherit;
}

.case-image {
    width: 100%;
    aspect-ratio: 4/3;
    background: #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: #999;
    overflow: hidden;
}

.case-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.case-info {
    padding: 20px;
}

.case-label {
    display: inline-block;
    background: #4A90E2;
    color: #fff;
    padding: 4px 12px;
    border-radius: 3px;
    font-size: 12px;
    margin-bottom: 10px;
}

.case-title {
    font-size: 14px;
    color: #333;
    line-height: 1.6;
}

.view-more-btn {
    text-align: center;
    position: relative;
    z-index: 1;
}

.view-more-btn a {
    display: inline-block;
    padding: 15px 50px;
    border: 2px solid #333;
    color: #333;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s;
}

.view-more-btn a:hover {
    background: #333;
    color: #fff;
}

/* ==========================================================================
   News Section
   ========================================================================== */
.news-section {
    padding: 80px 30px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 50%, #ffffff 100%);
    background-size: 200% 200%;
    position: relative;
}

.news-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 25% 35%, rgba(180,180,180,0.04) 0%, transparent 50%),
        radial-gradient(circle at 75% 65%, rgba(200,200,200,0.05) 0%, transparent 50%);
    pointer-events: none;
}

.news-section-title {
    text-align: center;
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
}

.news-section-title h2 {
    font-size: 32px;
    color: #333;
    margin-bottom: 10px;
}

.news-subtitle {
    text-align: center;
    font-size: 13px;
    color: #999;
    letter-spacing: 2px;
    margin-bottom: 50px;
    position: relative;
    z-index: 1;
}

.news-list {
    max-width: 900px;
    margin: 0 auto 40px;
    background: #fff;
    border-radius: 10px;
    position: relative;
    z-index: 1;
}

.news-item {
    border-bottom: 1px solid #e0e0e0;
    padding: 25px 20px;
    display: flex;
    gap: 30px;
    align-items: flex-start;
    transition: all 0.3s;
}

.news-item:hover {
    background: #f8f9fa;
    padding-left: 30px;
}

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

.news-item a {
    display: flex;
    gap: 30px;
    align-items: flex-start;
    width: 100%;
    text-decoration: none;
    color: inherit;
}

.news-date {
    font-size: 14px;
    color: #999;
    min-width: 100px;
    flex-shrink: 0;
}

.news-content {
    flex: 1;
    font-size: 15px;
    color: #333;
    line-height: 1.8;
}

.news-arrow {
    color: #4A90E2;
    font-size: 18px;
    flex-shrink: 0;
}

/* ==========================================================================
   Contact CTA Section
   ========================================================================== */
.contact-cta {
    padding: 80px 30px;
    background: linear-gradient(135deg, #f5f5f5 0%, #ffffff 50%, #f5f5f5 100%);
    background-size: 200% 200%;
    position: relative;
}

.contact-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 40%, rgba(200,200,200,0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 60%, rgba(150,150,150,0.04) 0%, transparent 50%);
    pointer-events: none;
}

.contact-cta-title {
    text-align: center;
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
}

.contact-cta-title h2 {
    font-size: 32px;
    color: #333;
    margin-bottom: 10px;
}

.contact-subtitle {
    text-align: center;
    font-size: 13px;
    color: #999;
    letter-spacing: 2px;
    margin-bottom: 50px;
    position: relative;
    z-index: 1;
}

.contact-cta-boxes {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    position: relative;
    z-index: 1;
}

.cta-box {
    background: #4A7FB7;
    color: #fff;
    padding: 50px 30px;
    border-radius: 0;
    text-align: center;
}

.cta-box h3 {
    font-size: 20px;
    margin-bottom: 20px;
}

.cta-box p {
    font-size: 14px;
    margin-bottom: 30px;
    line-height: 1.8;
}

.cta-button {
    background: #fff;
    color: #4A7FB7;
    padding: 15px 40px;
    border-radius: 0;
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
    transition: all 0.3s;
    border: 2px solid #fff;
}

.cta-button:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
}

.cta-box-alt {
    background: #60B5E6;
}

.cta-button-alt {
    color: #60B5E6;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 25%, #2c3e50 50%, #34495e 75%, #2c3e50 100%);
    background-size: 200% 200%;
    padding: 60px 30px 30px;
    position: relative;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(255,255,255,0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255,255,255,0.03) 0%, transparent 50%);
    pointer-events: none;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
}

.footer-section h3 {
    margin-bottom: 20px;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.footer-logo-icon {
    width: 35px;
    height: 35px;
    background: linear-gradient(135deg, #4A90E2 0%, #357ABD 100%);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    flex-shrink: 0;
}

.footer-logo-text {
    font-size: 24px;
    font-weight: bold;
    color: #fff;
    font-style: italic;
}

.footer-address {
    font-size: 13px;
    color: #bdc3c7;
    line-height: 1.8;
    margin-bottom: 20px;
}

.footer-cert {
    font-size: 12px;
    color: #95a5a6;
    line-height: 1.6;
}

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

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

.footer-section a {
    color: #bdc3c7;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #95a5a6;
    font-size: 13px;
    position: relative;
    z-index: 1;
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */
@media (max-width: 1024px) {
    .property-grid {
        grid-template-columns: repeat(3, 1fr);
    }

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

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

/* Tablet breakpoint for navigation */
@media (max-width: 900px) {
    .main-navigation {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        box-shadow: 0 5px 20px rgba(0,0,0,0.1);
        padding: 20px;
        z-index: 1000;
    }
    
    .main-navigation.is-open {
        display: block;
    }
    
    .main-navigation ul {
        flex-direction: column;
        gap: 0;
    }
    
    .main-navigation > ul > li {
        border-bottom: 1px solid #eee;
    }
    
    .main-navigation > ul > li:last-child {
        border-bottom: none;
    }
    
    .main-navigation > ul > li > a {
        padding: 15px 10px;
        font-size: 15px;
    }
    
    .main-navigation > ul > li > a::after {
        display: none;
    }
    
    /* モバイル時のサブメニュー */
    .main-navigation .sub-menu,
    .main-navigation .mega-menu {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        background: #f5f5f5;
        min-width: 100%;
        padding: 0;
        border-radius: 0;
        box-shadow: none;
        display: none;
        flex-direction: column;
    }
    
    .main-navigation > ul > li:hover > .sub-menu,
    .main-navigation > ul > li:hover > .mega-menu,
    .main-navigation > ul > li.is-open > .sub-menu,
    .main-navigation > ul > li.is-open > .mega-menu {
        display: flex;
    }
    
    .main-navigation .sub-menu a,
    .main-navigation .mega-menu a {
        color: #333;
        padding: 12px 20px;
        text-align: left;
        border-bottom: 1px solid #eee;
    }
    
    .main-navigation .sub-menu a:hover,
    .main-navigation .mega-menu a:hover {
        background: #e8e8e8;
        color: #4A90E2;
    }
    
    .main-navigation .menu-item-has-children > a::before {
        float: right;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .header-buttons {
        display: none;
    }
}

@media (max-width: 768px) {
    .header-main .container {
        padding: 0 15px;
    }

    .logo-text {
        font-size: 24px;
    }
    
    .logo-sub {
        font-size: 9px;
    }

    .hero {
        padding: 60px 20px 50px;
        min-height: 450px;
    }

    .hero-logo-text {
        font-size: 42px;
    }

    .hero-highlight {
        font-size: 22px;
    }

    .hero-cta {
        padding: 15px 30px;
        font-size: 16px;
    }

    .phone-number {
        font-size: 32px;
    }

    .property-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .property-item {
        padding: 20px 15px;
    }

    .contact-section {
        grid-template-columns: 1fr;
    }

    .case-grid {
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }

    .contact-cta-boxes {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-logo {
        justify-content: center;
    }

    .news-item {
        flex-direction: column;
        gap: 15px;
    }

    .news-item a {
        flex-direction: column;
        gap: 10px;
    }

    .branch-list {
        gap: 10px;
    }

    .branch-tag {
        font-size: 12px;
        padding: 8px 15px;
    }

    .area-content {
        padding: 30px 20px;
    }

    .section-title,
    .pr-times h2,
    .property-types h2,
    .area-section h2,
    .case-study-title h2,
    .news-section-title h2,
    .contact-cta-title h2 {
        font-size: 26px;
    }
}

@media (max-width: 480px) {
    .property-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
    
    .property-item {
        padding: 15px 10px;
    }
    
    .property-icon {
        font-size: 36px;
        height: 50px;
    }
    
    .property-name {
        font-size: 12px;
    }
    
    .case-grid {
        grid-template-columns: 1fr;
    }

    .hero-logo-icon {
        width: 60px;
        height: 60px;
    }

    .hero-logo-text {
        font-size: 36px;
    }

    .phone-number {
        font-size: 28px;
    }
}
