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

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

body {
    font-family: 'Noto Sans JP', sans-serif;
    line-height: 1.7;
    color: #333;
    background-color: #fff;
    overflow-x: hidden;
}

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

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

ul {
    list-style: none;
}

/* ========================================
   カラー変数（大規模修繕会社向けグリーン系）
   ======================================== */
:root {
    --primary-color: #00c853;
    --primary-dark: #00a844;
    --primary-light: #4cff7f;
    --accent-color: #00c853;
    --accent-dark: #00a844;
    --text-dark: #1a1a1a;
    --text-gray: #666;
    --bg-light: #f8f9fa;
    --bg-green-light: #e8fdf0;
    --white: #ffffff;
    --danger: #e74c3c;
}

/* ========================================
   共通クラス
   ======================================== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    font-size: 2rem;
    font-weight: 900;
    text-align: center;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-dark));
    margin: 1rem auto 0;
    border-radius: 2px;
}

.section-title-white {
    color: var(--white);
}

.section-title-white::after {
    background: var(--white);
}

.section-subtitle {
    text-align: center;
    font-size: 1rem;
    color: var(--primary-color);
    font-weight: 600;
    font-style: italic;
    margin-bottom: 3rem;
    letter-spacing: 0.1em;
}

.section-subtitle-white {
    color: rgba(255, 255, 255, 0.8);
}

/* ========================================
   ヘッダー
   ======================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: none;
    background-color: transparent;
    border: none;
    box-shadow: none;
    transition: opacity 0.3s ease;
}

.header-accent {
    display: none;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 40px;
    max-width: 1400px;
    margin: 0 auto;
    background: none;
    background-color: transparent;
}

/* ロゴ */
.logo a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-image {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.logo-icon {
    font-family: 'Times New Roman', serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    font-style: italic;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.logo-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--white);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

/* ハンバーガーメニュー */
.menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.menu-toggle span {
    display: block;
    width: 30px;
    height: 3px;
    background-color: var(--white);
    transition: all 0.3s ease;
    border-radius: 2px;
}

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

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

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

/* ナビゲーション（モバイル） */
.nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.95);
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.3);
    transition: right 0.3s ease;
    padding-top: 80px;
    z-index: 999;
}

.nav.active {
    right: 0;
}

.nav-list {
    display: flex;
    flex-direction: column;
}

.nav-link {
    display: block;
    padding: 1.2rem 2rem;
    color: var(--white);
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.nav-link:hover {
    background-color: rgba(0, 200, 83, 0.2);
    color: var(--primary-color);
}

/* ドロップダウン */
.nav-dropdown {
    position: relative;
}

.nav-link-drop {
    display: flex !important;
    align-items: center;
    gap: 4px;
}

.nav-drop-arrow {
    transition: transform 0.3s;
}

.nav-dropdown.is-open .nav-drop-arrow {
    transform: rotate(180deg);
}

.nav-dropdown-menu {
    display: none;
    flex-direction: column;
    background: rgba(20, 20, 22, 0.97);
    backdrop-filter: blur(12px);
    border: 1px solid #2a2a2e;
    border-radius: 8px;
    overflow: hidden;
    min-width: 180px;
}

.nav-dropdown.is-open .nav-dropdown-menu {
    display: flex;
}

.nav-drop-item {
    display: block;
    padding: 10px 20px;
    color: #d1d5db;
    font-size: 0.85rem;
    text-decoration: none;
    transition: background 0.25s, color 0.25s;
}

.nav-drop-item:hover {
    background: rgba(0, 200, 83, 0.1);
    color: #fff;
}

.nav-drop-head {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    color: var(--primary-color);
    padding: 12px 20px 8px;
    border-bottom: 1px solid #2a2a2e;
}

.nav-drop-head:hover {
    background: rgba(0, 200, 83, 0.1);
}

.nav-link-contact {
    background: transparent;
    color: var(--primary-color) !important;
    border: 2px solid var(--primary-color);
    margin: 1rem;
    padding: 0.8rem 1.5rem;
    border-radius: 0;
    text-align: center;
    font-weight: 600;
}

.nav-link-contact:hover {
    background: var(--primary-color);
    color: var(--white) !important;
}

/* ========================================
   ヒーローセクション
   ======================================== */
.hero {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 2rem 40px;
    overflow: hidden;
    background-color: #1a1a1a;
    z-index: 1;
}

/* スクロール用スペーサー */
/* メッセージSVGセクション */
/* ================================================
   メッセージセクション — Statement
   ================================================ */
.msg-section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #0f0f11;
    z-index: 200;
    overflow: hidden;
}

/* ── ウォーターマーク ── */
.msg-watermark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    white-space: nowrap;
    pointer-events: none;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
}
.msg-wm-line {
    display: block;
    font-family: 'Inter', sans-serif;
    font-weight: 900;
    text-transform: uppercase;
    line-height: 0.85;
    color: #141416;
    -webkit-text-stroke: 1px #1e1e22;
    paint-order: stroke fill;
    user-select: none;
}
.msg-wm-1 { font-size: clamp(6rem, 16vw, 20rem); letter-spacing: -4px; }
.msg-wm-2 { font-size: clamp(4rem, 10vw, 12rem); letter-spacing: -2px; margin-left: 15%; }

/* ── ジオメトリック装飾 ── */
.msg-geo {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    z-index: 2;
}

.msg-geo-vline {
    stroke-dasharray: 800;
    stroke-dashoffset: 800;
}
.msg-section.msg-active .msg-geo-vline {
    animation: msgLineDraw 2s cubic-bezier(0.22, 0.61, 0.36, 1) 0.2s forwards;
}

.msg-geo-corner {
    stroke-dasharray: 120;
    stroke-dashoffset: 120;
    opacity: 0;
}
.msg-section.msg-active .msg-geo-corner-1 {
    animation: msgCornerDraw 0.7s ease 0.6s forwards;
}
.msg-section.msg-active .msg-geo-corner-2 {
    animation: msgCornerDraw 0.7s ease 0.9s forwards;
}

.msg-section.msg-active .msg-geo-tick-1 {
    animation: msgFadeIn 0.5s ease 1.2s forwards;
}
.msg-section.msg-active .msg-geo-tick-2 {
    animation: msgFadeIn 0.5s ease 1.5s forwards;
}
.msg-section.msg-active .msg-geo-micro {
    animation: msgFadeIn 0.6s ease 1.4s forwards;
}

/* ── メインコンテンツ ── */
.msg-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 0 40px;
}

.msg-line {
    display: flex;
    justify-content: center;
    gap: 0.02em;
}

.msg-char {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 900;
    font-size: clamp(2.5rem, 6vw, 5.5rem);
    line-height: 1;
    color: #fff;
    opacity: 0;
    transform: translateY(30px);
    display: inline-block;
}

.msg-line-2 .msg-char {
    color: var(--primary-color);
    text-shadow: 0 0 40px rgba(0, 200, 83, 0.2);
}

.msg-char-period {
    color: var(--primary-color) !important;
    text-shadow: 0 0 30px rgba(0, 200, 83, 0.3) !important;
}

.msg-char.msg-revealed {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* 区切りライン */
.msg-divider {
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    margin: 2rem auto;
    opacity: 0;
}
.msg-section.msg-active .msg-divider {
    animation: msgDividerGrow 1.2s cubic-bezier(0.22, 0.61, 0.36, 1) 0.8s forwards;
}

/* ── Keyframes ── */
@keyframes msgLineDraw {
    to { stroke-dashoffset: 0; opacity: 0.4; }
}
@keyframes msgCornerDraw {
    0% { stroke-dashoffset: 120; opacity: 0; }
    20% { opacity: 0.7; }
    100% { stroke-dashoffset: 0; opacity: 0.7; }
}
@keyframes msgFadeIn {
    to { opacity: 0.4; }
}
@keyframes msgDividerGrow {
    0% { width: 0; opacity: 0; }
    100% { width: min(300px, 40vw); opacity: 0.6; }
}

/* ── レスポンシブ ── */
@media screen and (max-width: 767px) {
    .msg-section {
        min-height: auto;
        padding: 6rem 0;
    }

    .msg-content { padding: 0 20px; }

    .msg-char {
        font-size: clamp(1.6rem, 5.5vw, 2.5rem);
    }

    .msg-wm-1 { font-size: clamp(3.5rem, 14vw, 8rem); }
    .msg-wm-2 { font-size: clamp(2.2rem, 9vw, 5rem); }

    .msg-divider { margin: 1.2rem auto; }

    .msg-geo { display: none; }
    
    .mq-section {
        padding: 3rem 0;
    }
    
    .wwd-header {
        text-align: left;
    }
}

@media screen and (max-width: 767px) {
    .message-svg {
        max-width: 90%;
    }
}

/* ================================================
   マーキーセクション — Cinematic Ticker
   ================================================ */
.mq-section {
    position: relative;
    width: 100%;
    padding: 8rem 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1.5rem;
    background-color: #0a0a0c;
    z-index: 200;
    overflow: hidden;
}

.mq-noise {
    position: absolute;
    inset: 0;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-size: 256px;
    pointer-events: none;
}

.mq-row {
    overflow: hidden;
    white-space: nowrap;
    width: 100%;
}

.mq-track {
    display: inline-flex;
    align-items: center;
    gap: 0;
    will-change: transform;
}

.mq-track-left {
    animation: mqLeft 25s linear infinite;
}

.mq-track-right {
    animation: mqRight 22s linear infinite;
}

.mq-track-slow {
    animation-duration: 35s;
}

.mq-item {
    font-family: 'Inter', sans-serif;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    white-space: nowrap;
    padding: 0 0.3em;
    flex-shrink: 0;
}

/* ドットセパレータ */
.mq-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary-color);
    flex-shrink: 0;
    margin: 0 1.5rem;
    box-shadow: 0 0 8px rgba(0, 200, 83, 0.4);
}

.mq-dot-white {
    background: rgba(255, 255, 255, 0.4);
    box-shadow: 0 0 6px rgba(255, 255, 255, 0.15);
}

/* Row 1 — アウトライン文字 */
.mq-outline {
    font-size: clamp(3rem, 6vw, 5.5rem);
    color: #0a0a0c;
    -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.25);
    paint-order: stroke fill;
    transition: -webkit-text-stroke-color 0.3s, color 0.3s;
}

.mq-outline:hover {
    color: #0a0a0c;
    -webkit-text-stroke-color: var(--primary-color);
    filter: drop-shadow(0 0 12px rgba(0, 200, 83, 0.3));
}

/* Row 2 — グリーン塗り文字 */
.mq-fill-green {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    color: var(--primary-color);
    text-shadow: 0 0 30px rgba(0, 200, 83, 0.2);
}

/* Row 3 — 日本語ゴースト */
.mq-ghost {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 700;
    color: rgba(255, 255, 255, 0.08);
    letter-spacing: 0.1em;
    text-transform: none;
}

@keyframes mqLeft {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@keyframes mqRight {
    0% { transform: translateX(-50%); }
    100% { transform: translateX(0); }
}

/* レスポンシブ */
@media screen and (max-width: 767px) {
    .mq-section { padding: 4rem 0; gap: 1rem; }
    .mq-dot { width: 5px; height: 5px; margin: 0 0.8rem; }
}

/* =============================================
   What We Do — サービスセクション
   ============================================= */
.wwd-section {
    position: relative;
    width: 100%;
    background: #0f0f11;
    padding: 140px 0 120px;
    z-index: 200;
    overflow: hidden;
}

.wwd-bg-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'Inter', 'Helvetica Neue', sans-serif;
    font-size: clamp(10rem, 20vw, 22rem);
    font-weight: 900;
    text-transform: uppercase;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.03);
    white-space: nowrap;
    pointer-events: none;
    line-height: 1;
}

.wwd-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
    z-index: 2;
}

/* ── ヘッダー ── */
.wwd-header {
    text-align: center;
    margin-bottom: 70px;
}
.wwd-label {
    display: inline-block;
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 6px;
    color: var(--primary-color);
    text-transform: uppercase;
    margin-bottom: 16px;
}
.wwd-title {
    font-family: 'Inter', 'Helvetica Neue', sans-serif;
    font-size: clamp(3rem, 7vw, 5.5rem);
    font-weight: 900;
    color: #fff;
    letter-spacing: -2px;
    line-height: 1;
    margin-bottom: 24px;
}
.wwd-lead {
    font-size: 0.95rem;
    color: #9ca3af;
    line-height: 2.2;
    letter-spacing: 0.5px;
}

/* ── グリッド ── */
.wwd-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 16px;
    margin-bottom: 50px;
}

.wwd-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    min-height: 260px;
    display: flex;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.wwd-card:hover {
    transform: translateY(-4px);
}

.wwd-card-main {
    grid-column: 1 / -1;
    min-height: 400px;
}

.wwd-card-image {
    position: absolute;
    inset: 0;
}
.wwd-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.wwd-card:hover .wwd-card-image img {
    transform: scale(1.06);
}

.wwd-card-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.75) 100%);
    transition: background 0.4s ease;
}
.wwd-card:hover .wwd-card-overlay {
    background: linear-gradient(180deg, rgba(0,200,83,0.05) 0%, rgba(0,0,0,0.85) 100%);
}

.wwd-card-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
    width: 100%;
    height: 100%;
}

.wwd-card-num {
    font-family: 'Inter', sans-serif;
    font-size: 3rem;
    font-weight: 900;
    color: rgba(0, 200, 83, 0.35);
    line-height: 1;
    margin-bottom: 4px;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
    transition: color 0.3s ease, text-shadow 0.3s ease;
}
.wwd-card:hover .wwd-card-num {
    color: rgba(0, 200, 83, 0.6);
    text-shadow: 0 2px 20px rgba(0, 200, 83, 0.3);
}

.wwd-card-title {
    font-size: 1.4rem;
    font-weight: 900;
    color: #fff;
    letter-spacing: 2px;
    margin-bottom: 2px;
}

.wwd-card-en {
    font-family: 'Inter', sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 3px;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    margin-bottom: 10px;
}

.wwd-card-desc {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.9;
    max-width: 600px;
    margin-bottom: 14px;
}

.wwd-card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--primary-color);
    text-transform: uppercase;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.4s ease;
}
.wwd-card:hover .wwd-card-link {
    opacity: 1;
    transform: translateX(0);
}

/* ── CTA ── */
.wwd-cta {
    text-align: center;
}
.wwd-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 40px;
    background: transparent;
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 1px;
    border: 1px solid rgba(0, 200, 83, 0.3);
    border-radius: 4px;
    transition: all 0.3s ease;
}
.wwd-cta-btn:hover {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 200, 83, 0.3);
}
.wwd-cta-btn svg {
    transition: transform 0.3s ease;
}
.wwd-cta-btn:hover svg {
    transform: translateX(4px);
}

/* ── レスポンシブ ── */
@media screen and (max-width: 1024px) {
    .wwd-section { padding: 100px 0 80px; }
    .wwd-grid { gap: 12px; }
    .wwd-card-main { min-height: 320px; }
    .wwd-card { min-height: 220px; }
}

@media screen and (max-width: 767px) {
    .wwd-section { padding: 80px 0 60px; }
    .wwd-inner { padding: 0 16px; }
    .wwd-header { margin-bottom: 40px; }
    .wwd-title { letter-spacing: -1px; }
    .wwd-lead { font-size: 0.85rem; }
    .wwd-lead br { display: none; }

    .wwd-grid {
        grid-template-columns: 1fr;
    }
    .wwd-card-main { min-height: 300px; }
    .wwd-card { min-height: 200px; }
    .wwd-card-content { padding: 20px; }
    .wwd-card-num { font-size: 2rem; }
    .wwd-card-title { font-size: 1.15rem; }
    .wwd-card-link { opacity: 1; transform: translateX(0); }
    .wwd-bg-text { font-size: 6rem; }
}

/* フッター */
.site-footer {
    position: relative;
    background-color: #0f0f11;
    overflow: hidden;
    z-index: 200;
}

.footer-gradient {
    position: absolute;
    inset: 0;
    background: radial-gradient(125% 125% at 50% 10%, rgba(15, 15, 17, 0.4) 50%, rgba(0, 200, 83, 0.2) 100%);
    z-index: 0;
}

.footer-content {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 3.5rem;
    z-index: 10;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    padding-bottom: 3rem;
}

/* ブランド部分 */
.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-logo-icon {
    color: var(--primary-color);
    font-size: 2rem;
}

.footer-logo-text {
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 1.8rem;
    font-weight: 900;
    letter-spacing: -0.02em;
}

.footer-brand-desc {
    color: #9ca3af;
    font-size: 0.9rem;
    line-height: 1.7;
}

/* リンク部分 */
.footer-links h4,
.footer-contact h4 {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.footer-links ul,
.footer-contact ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.3s ease;
}

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

/* お問い合わせ部分 */
.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: #9ca3af;
    text-align: left;
}

.footer-contact li svg {
    margin-top: 0.25em;
    flex-shrink: 0;
}

.footer-contact li span,
.footer-contact li a {
    line-height: 1.7;
}

.footer-contact svg {
    color: var(--primary-color);
    flex-shrink: 0;
}

.footer-contact a {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact a:hover {
    color: var(--primary-color);
}

/* 区切り線 */
.footer-divider {
    border: none;
    border-top: 1px solid #374151;
    margin: 2rem 0;
}

/* フッター下部 */
.footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding-top: 0.5rem;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid #2a2a2e;
    color: #6b7280;
    background: transparent;
    transition: color 0.35s, border-color 0.35s, background 0.35s, transform 0.35s, box-shadow 0.35s;
}

.footer-social a:hover {
    color: #fff;
    border-color: var(--primary-color);
    background: rgba(0, 200, 83, 0.08);
    transform: translateY(-3px);
    box-shadow: 0 4px 20px rgba(0, 200, 83, 0.2);
}

.footer-social a svg {
    width: 16px;
    height: 16px;
}

.footer-copyright {
    color: #4b5563;
    font-size: 0.8rem;
    font-family: 'Inter', sans-serif;
    letter-spacing: 0.05em;
}

/* ホバーテキストエフェクト */
.footer-hover-text {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 20rem;
    margin-top: -8rem;
    margin-bottom: -6rem;
    pointer-events: none;
}

.hover-text-svg {
    width: 100%;
    max-width: 800px;
    height: auto;
    cursor: pointer;
    pointer-events: auto;
}

.hover-text-stroke {
    fill: #0f0f11;
    stroke: #374151;
    stroke-width: 0.5;
    font-family: 'Inter', sans-serif;
    font-size: 60px;
    font-weight: 900;
    letter-spacing: -1px;
    text-transform: uppercase;
    paint-order: stroke fill;
}

.hover-text-fill {
    fill: #0f0f11;
    stroke: var(--primary-color);
    stroke-width: 0.5;
    font-family: 'Inter', sans-serif;
    font-size: 60px;
    font-weight: 900;
    letter-spacing: -1px;
    text-transform: uppercase;
    paint-order: stroke fill;
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: drawText 4s ease-in-out forwards;
}

@keyframes drawText {
    to {
        stroke-dashoffset: 0;
    }
}

.hover-text-svg:hover .hover-text-fill {
    fill: url(#footerTextGradient);
    transition: fill 0.5s ease;
}

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

@media screen and (max-width: 767px) {
    .footer-content {
        padding: 2rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .footer-hover-text {
        display: none;
    }
}

.scroll-spacer {
    height: 400vh;
    pointer-events: none;
}

@media screen and (max-width: 767px) {
    .scroll-spacer {
        height: 300vh;
    }
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #0f172a;
    z-index: 0;
}

/* ========================================
   動画背景
   ======================================== */
.hero-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

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

.hero-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.5);
    z-index: 1;
}

/* ========================================
   Comet アニメーション背景
   ======================================== */
.comet-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 900px;
    aspect-ratio: 1;
    perspective: 1500px;
    z-index: 2;
    pointer-events: none;
}

.circle-wrapper {
    position: absolute;
    transform-style: preserve-3d;
    pointer-events: none;
}

.circle1 {
    transform: rotateX(60deg) rotateY(20deg) rotateZ(5deg);
    top: 0;
    left: -15%;
    width: 75%;
    height: 75%;
}

.circle2 {
    transform: rotateX(-60deg) rotateY(20deg) rotateZ(5deg);
    top: -10%;
    left: 25%;
    width: 100%;
    height: 100%;
}

.circle3 {
    transform: rotateX(60deg) rotateY(-20deg) rotateZ(5deg);
    top: 20%;
    left: -5%;
    width: 80%;
    height: 80%;
}

.circle4 {
    transform: rotateX(-60deg) rotateY(-20deg) rotateZ(5deg);
    top: 15%;
    left: 20%;
    width: 100%;
    height: 100%;
}

/* オーバーレイ（Cometアニメーション使用時は非表示） */
.hero-overlay {
    display: none;
}

/* ============================================
   左上ジオメトリック装飾 — Architectural Grid
   ============================================ */
.hero-accent {
    position: absolute;
    top: 80px;
    left: 0;
    width: 45%;
    max-width: 420px;
    height: calc(100% - 80px);
    pointer-events: none;
    z-index: 10;
    overflow: hidden;
}

.hero-geo-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* メイン対角線 — draw-in */
.geo-main {
    stroke-dasharray: 1300;
    stroke-dashoffset: 1300;
    animation: geoDraw 1.8s cubic-bezier(0.25, 0.1, 0.25, 1) 0.3s forwards;
}

/* スイープライト — 定期的にライン上を走る */
.geo-sweep {
    animation: geoSweep 5s ease-in-out 2.5s infinite;
}

/* コーナーブラケット — draw-in */
.geo-corner {
    stroke-dasharray: 120;
    stroke-dashoffset: 120;
}
.geo-corner-tl {
    animation: geoCornerDraw 0.6s cubic-bezier(0.25, 0.1, 0.25, 1) 1.6s forwards;
}
.geo-corner-tr {
    stroke-dasharray: 40;
    stroke-dashoffset: 40;
    animation: geoCornerSmallDraw 0.4s ease 2s forwards;
}

/* ティックマーク */
.geo-ticks line {
    stroke-dasharray: 60;
    stroke-dashoffset: 60;
    opacity: 0;
}
.geo-ticks line:nth-child(1) {
    animation: geoTickDraw 0.5s ease 2.2s forwards;
}
.geo-ticks line:nth-child(2) {
    animation: geoTickDraw 0.5s ease 2.5s forwards;
}
.geo-ticks line:nth-child(3) {
    animation: geoTickDraw 0.5s ease 2.8s forwards;
}
.geo-ticks line:nth-child(4) {
    animation: geoTickDraw 0.5s ease 3.1s forwards;
}

/* ノードドット */
.geo-node {
    animation: geoNodeIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) 1.8s forwards;
}
.geo-node-ring {
    animation: geoRingIn 0.8s ease 2s forwards, geoRingPulse 3s ease-in-out 3s infinite;
}

/* マイクロテキスト */
.geo-text {
    animation: geoTextIn 0.6s ease 2.4s forwards;
}
.geo-text-2 {
    animation: geoTextIn 0.6s ease 2.7s forwards;
}
.geo-text-3 {
    animation: geoTextIn 0.6s ease 3s forwards;
}

/* スキャンドット */
.geo-scan-dot {
    animation: geoScanTravel 6s ease-in-out 3.5s infinite;
}

/* --- Keyframes --- */

@keyframes geoDraw {
    to { stroke-dashoffset: 0; }
}

@keyframes geoSweep {
    0%, 100% { opacity: 0; }
    5% { opacity: 0.6; }
    30% { opacity: 0.6; }
    35% { opacity: 0; }
}

@keyframes geoCornerDraw {
    to { stroke-dashoffset: 0; }
}

@keyframes geoCornerSmallDraw {
    to { stroke-dashoffset: 0; }
}

@keyframes geoFadeIn {
    to { opacity: 0.5; }
}

@keyframes geoTickDraw {
    0% { stroke-dashoffset: 60; opacity: 0; }
    10% { opacity: 0.45; }
    100% { stroke-dashoffset: 0; opacity: 0.45; }
}

@keyframes geoNodeIn {
    to { opacity: 1; }
}

@keyframes geoRingIn {
    to { opacity: 0.5; }
}

@keyframes geoRingPulse {
    0%, 100% { r: 10; opacity: 0.5; }
    50% { r: 16; opacity: 0.15; }
}

@keyframes geoTextIn {
    to { opacity: 0.35; }
}

@keyframes geoScanTravel {
    0% {
        cx: 65;
        cy: 0;
        opacity: 0;
    }
    5% { opacity: 0.9; }
    60% { opacity: 0.9; }
    70% {
        cx: 245;
        cy: 900;
        opacity: 0;
    }
    100% { opacity: 0; }
}

.hero-content {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 1100px;
    text-align: left;
    padding-left: 5%;
    margin-top: 3%;
}

/* ── Hero Typography ── */
.hero-type {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.hero-line {
    display: flex;
    align-items: baseline;
    gap: 0.3em;
    clip-path: inset(0 0 0 0);
    transition: clip-path 0.5s ease-out;
}

.hero-word {
    font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
    font-weight: 900;
    color: #fff;
    text-transform: uppercase;
    line-height: 0.92;
    letter-spacing: -0.03em;
    text-shadow: 0 4px 40px rgba(0, 0, 0, 0.4);
}

.hero-line {
    flex-wrap: wrap;
}

.hero-line-1 {
    margin-bottom: -0.05em;
}
.hero-line-1 .hero-word {
    font-size: clamp(2rem, 6.5vw, 6rem);
}

.hero-line-2 {
    padding-left: 4%;
    margin-bottom: -0.05em;
}
.hero-line-2 .hero-word {
    font-size: clamp(1.8rem, 5.5vw, 5.2rem);
}
.hero-word-accent {
    color: var(--primary-color) !important;
    text-shadow: 0 0 60px rgba(0, 200, 83, 0.3), 0 4px 40px rgba(0, 0, 0, 0.3) !important;
}

.hero-line-3 {
    padding-left: 12%;
}
.hero-line-3 .hero-word {
    font-size: clamp(1.6rem, 5vw, 4.8rem);
}
/* "No" 2レイヤーアウトライン */
.hero-no-wrap {
    position: relative;
    display: inline-block;
    margin-right: 0.15em;
}

.hero-no-base,
.hero-no-draw {
    text-shadow: none;
    paint-order: stroke fill;
}

.hero-no-base {
    color: #141416;
    -webkit-text-stroke: 1.5px #374151;
}

.hero-no-draw {
    position: absolute;
    top: 0;
    left: 0;
    color: #0f1012;
    -webkit-text-stroke: 1.5px var(--primary-color);
    clip-path: inset(0 100% 0 0);
    animation: heroNoReveal 2.5s cubic-bezier(0.22, 0.61, 0.36, 1) 2s forwards;
    filter: drop-shadow(0 0 8px rgba(0, 200, 83, 0.4));
}

@keyframes heroNoReveal {
    to { clip-path: inset(0 0 0 0); }
}

#majorSvg.scroll-hide,
#doneSvg.scroll-hide {
    clip-path: inset(0 100% 0 0);
}
#noSvg.scroll-hide {
    clip-path: inset(0 0 0 100%);
}

/* hero-accent: フェードアウト */
#heroAccent {
    transition: opacity 0.6s ease-out;
}

#heroAccent.scroll-hide {
    opacity: 0;
}

/* メッセージテキスト */
.hero-message {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) translateY(100px);
    opacity: 0;
    z-index: 10;
    text-align: center;
    max-width: 800px;
    width: 90%;
    transition: transform 0.6s ease-out, opacity 0.6s ease-out;
}

.hero-message.scroll-show {
    transform: translate(-50%, -50%) translateY(0);
    opacity: 1;
}

.hero-message.scroll-hide-up {
    transform: translate(-50%, -50%) translateY(-100px);
    opacity: 0;
}

/* 暗転オーバーレイ */
.dark-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #3a3a3a;
    opacity: 0;
    z-index: 100;
    pointer-events: none;
}

/* ================================================
   ロゴセクション — Precision Identity
   ================================================ */
.logo-section {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 101;
    pointer-events: none;
    opacity: 0;
    background: radial-gradient(ellipse 60% 60% at 50% 50%, rgba(0, 200, 83, 0.04) 0%, transparent 70%);
}

.logo-section.active {
    opacity: 1;
}

/* パーティクル */
.particle-canvas {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    mix-blend-mode: screen;
    opacity: 0.8;
}

/* ── ジオメトリックフレーム ── */
.ls-frame {
    position: absolute;
    top: 50%; left: 50%;
    width: min(70vmin, 600px);
    height: min(70vmin, 600px);
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.ls-frame-svg {
    width: 100%; height: 100%;
    overflow: visible;
}

/* コーナー — draw-in */
.ls-corner {
    stroke-dasharray: 120;
    stroke-dashoffset: 120;
    opacity: 0;
}
.logo-section.active .ls-corner {
    animation: lsCornerDraw 0.8s cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
}
.logo-section.active .ls-corner-tl { animation-delay: 0.2s; }
.logo-section.active .ls-corner-tr { animation-delay: 0.35s; }
.logo-section.active .ls-corner-bl { animation-delay: 0.5s; }
.logo-section.active .ls-corner-br { animation-delay: 0.65s; }

/* 十字レチクル */
.logo-section.active .ls-cross {
    animation: lsFadeIn 0.6s ease 0.4s forwards;
}

/* 回転リング */
.logo-section.active .ls-ring-1 {
    animation: lsFadeIn 1s ease 0.8s forwards, lsRingSpin 30s linear 1.8s infinite;
}
.logo-section.active .ls-ring-2 {
    animation: lsFadeIn 1s ease 1s forwards, lsRingSpinReverse 40s linear 2s infinite;
}

/* マイクロテキスト */
.logo-section.active .ls-micro-1 {
    animation: lsFadeIn 0.8s ease 1.2s forwards;
}
.logo-section.active .ls-micro-2 {
    animation: lsFadeIn 0.8s ease 1.5s forwards;
}

/* ── ロゴマーク ── */
.ls-mark-wrap {
    position: relative;
    z-index: 10;
    width: min(45vmin, 380px);
    height: min(45vmin, 380px);
    opacity: 0;
}

.ls-mark {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 0 40px rgba(0, 200, 83, 0.15));
}

/* ── テキスト ── */
.ls-text {
    position: absolute;
    bottom: 12%;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: baseline;
    gap: 0.5em;
    opacity: 0;
    z-index: 10;
}

.ls-text-label {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    font-weight: 400;
    color: rgba(0, 200, 83, 0.6);
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.ls-text-year {
    font-family: 'Inter', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 0.15em;
}

/* ── Keyframes ── */
@keyframes lsCornerDraw {
    0% { stroke-dashoffset: 120; opacity: 0; }
    20% { opacity: 0.8; }
    100% { stroke-dashoffset: 0; opacity: 0.8; }
}

@keyframes lsFadeIn {
    to { opacity: 0.6; }
}

.ls-ring-1 { transform-origin: 400px 400px; }
.ls-ring-2 { transform-origin: 400px 400px; }

@keyframes lsRingSpin {
    to { transform: rotate(360deg); }
}

@keyframes lsRingSpinReverse {
    to { transform: rotate(-360deg); }
}

.hero-message-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-message-text {
    font-size: 1rem;
    color: #fff;
    line-height: 1.8;
    margin-bottom: 0.8rem;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5);
}

.hero-message-text:last-child {
    margin-bottom: 0;
}

/* Legacy indent classes removed — now using .hero-line padding */

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #e2e8f0;
    margin-bottom: 0;
    text-shadow: 2px 2px 20px rgba(0, 0, 0, 0.8);
    line-height: 1.4;
    font-family: 'Times New Roman', Georgia, serif;
    font-style: italic;
}

.hero-title-line {
    display: block;
    opacity: 0;
    animation: fadeInUp 1s ease-out forwards;
}

.hero-title-line:nth-child(1) {
    animation-delay: 0.3s;
}

.hero-title-line:nth-child(2) {
    animation-delay: 0.6s;
}

.hero-title-line:nth-child(3) {
    animation-delay: 0.9s;
}

.hero-title-indent {
    padding-left: 2rem;
}

.hero-title-indent-2 {
    padding-left: 6rem;
}

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

/* 採用バナー */
.recruit-banner {
    position: absolute;
    right: 0;
    bottom: 40px;
    display: flex;
    align-items: flex-end;
    gap: 10px;
    z-index: 10;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.9));
    padding: 15px 25px;
    border-radius: 8px 0 0 8px;
    box-shadow: -4px 4px 20px rgba(0, 0, 0, 0.2);
}

.recruit-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.recruit-label {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--primary-color);
    letter-spacing: 0.1em;
    display: flex;
    align-items: center;
    gap: 8px;
}

.recruit-arrow {
    display: inline-block;
    font-size: 1.2rem;
    color: var(--primary-color);
    animation: arrowBounce 1s ease-in-out infinite;
}

@keyframes arrowBounce {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(5px); }
}

.recruit-text {
    font-size: 0.85rem;
    color: var(--text-dark);
    margin: 0;
    white-space: nowrap;
}

.recruit-character {
    margin-left: 10px;
}

.recruit-character svg {
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.2));
}

/* 非表示（不要なクラス） */
.hero-subtitle,
.feature-box,
.feature-badges,
.feature-badge,
.feature-text,
.company-highlight,
.btn-hero {
    display: none;
}

/* ========================================
   固定TELボタン
   ======================================== */
.fixed-tel-btn {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 900;
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0, 200, 83, 0.4);
    transition: all 0.3s ease;
}

.fixed-tel-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 200, 83, 0.5);
}

.tel-icon {
    font-size: 1.5rem;
    margin-bottom: 2px;
}

.tel-text {
    font-size: 0.65rem;
}

/* ========================================
   サービスセクション
   ======================================== */
.service-section {
    padding: 5rem 0;
    background-color: var(--bg-light);
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: var(--white);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    border-color: var(--primary-light);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.service-card-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.service-card-text {
    font-size: 0.95rem;
    color: var(--text-gray);
    line-height: 1.8;
}

/* ========================================
   症状セクション
   ======================================== */
.symptoms-section {
    padding: 5rem 0;
    background-color: var(--white);
}

.symptoms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.symptom-card {
    background-color: var(--bg-light);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid #e0e0e0;
}

.symptom-card:hover {
    border-color: var(--danger);
    box-shadow: 0 8px 24px rgba(231, 76, 60, 0.15);
}

.symptom-image {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #fff5f5, #ffe0e0);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.symptom-emoji {
    font-size: 2.5rem;
}

.symptom-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.symptom-text {
    font-size: 0.9rem;
    color: var(--text-gray);
    line-height: 1.7;
}

.symptoms-cta {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, var(--bg-blue-light), #d4e9f7);
    border-radius: 16px;
}

.symptoms-cta-text {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.symptoms-cta-text strong {
    color: var(--danger);
}

.btn-primary {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 50px;
    box-shadow: 0 6px 20px rgba(0, 200, 83, 0.3);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(0, 200, 83, 0.5);
}

/* ========================================
   選ばれる理由セクション
   ======================================== */
.reasons-section {
    padding: 5rem 0;
    background: linear-gradient(180deg, var(--bg-green-light) 0%, var(--white) 100%);
}

.reasons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.reason-card {
    background-color: var(--white);
    border-radius: 16px;
    padding: 2.5rem 2rem;
    position: relative;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border-top: 4px solid var(--primary-color);
}

.reason-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.reason-number {
    position: absolute;
    top: -20px;
    left: 2rem;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    font-size: 1.2rem;
    font-weight: 900;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 200, 83, 0.3);
}

.reason-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
    margin-top: 1rem;
}

.reason-text {
    font-size: 0.95rem;
    color: var(--text-gray);
    line-height: 1.8;
}

/* ========================================
   施工の流れセクション
   ======================================== */
.flow-section {
    padding: 5rem 0;
    background-color: var(--white);
}

.flow-timeline {
    max-width: 700px;
    margin: 0 auto;
}

.flow-item {
    background-color: var(--bg-light);
    border-radius: 12px;
    padding: 2rem;
    position: relative;
    border-left: 4px solid var(--primary-color);
}

.flow-step {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    font-size: 0.85rem;
    font-weight: 700;
    padding: 0.3rem 1rem;
    border-radius: 50px;
    margin-bottom: 0.75rem;
}

.flow-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.flow-text {
    font-size: 0.95rem;
    color: var(--text-gray);
    line-height: 1.8;
}

.flow-arrow {
    text-align: center;
    padding: 0.75rem 0;
    color: var(--primary-color);
    font-size: 1.5rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(5px);
    }
}

/* ========================================
   会社案内セクション
   ======================================== */
.company-section {
    padding: 5rem 0;
    background-color: var(--bg-light);
}

.company-content {
    max-width: 800px;
    margin: 0 auto;
}

.company-info-card {
    background-color: var(--white);
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

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

.company-table th,
.company-table td {
    padding: 1.25rem 1rem;
    border-bottom: 1px solid #eee;
    text-align: left;
    vertical-align: top;
}

.company-table th {
    width: 30%;
    font-weight: 700;
    color: var(--primary-color);
    background-color: var(--bg-blue-light);
    border-radius: 4px 0 0 4px;
}

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

.company-table td a {
    color: var(--primary-color);
    font-weight: 700;
    transition: color 0.3s ease;
}

.company-table td a:hover {
    color: var(--primary-dark);
}

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

/* ========================================
   お問い合わせセクション
   ======================================== */
.contact-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #1a5c3a 0%, #0d372a 100%);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    max-width: 900px;
    margin: 0 auto;
}

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

.contact-lead {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.contact-tel {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1.5rem;
    backdrop-filter: blur(10px);
}

.contact-tel-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.5rem;
}

.contact-tel-number {
    display: inline-block;
    font-size: 2rem;
    font-weight: 900;
    color: var(--white);
    margin-bottom: 0.5rem;
    transition: transform 0.3s ease;
}

.contact-tel-number:hover {
    transform: scale(1.05);
}

.contact-tel-hours {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
}

.contact-form {
    background-color: var(--white);
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.required {
    color: var(--danger);
    font-size: 0.8rem;
    margin-left: 0.25rem;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 0.9rem 1rem;
    font-size: 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    font-family: 'Noto Sans JP', sans-serif;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(30, 87, 153, 0.1);
}

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

.form-submit {
    text-align: center;
    margin-top: 2rem;
}

.btn-submit {
    display: inline-block;
    padding: 1rem 3rem;
    background: linear-gradient(135deg, var(--accent-color), var(--accent-dark));
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 700;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(243, 156, 18, 0.4);
    transition: all 0.3s ease;
}

.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(243, 156, 18, 0.6);
}

/* ========================================
   フッター
   ======================================== */
.footer {
    background: linear-gradient(135deg, #0d372a 0%, #051a15 100%);
    color: var(--white);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-logo .logo-icon {
    background: var(--white);
    color: var(--primary-color);
}

.footer-logo .logo-company,
.footer-logo .logo-name {
    color: var(--white);
}

.footer-info {
    font-size: 0.9rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
}

.footer-copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
}

/* ========================================
   レスポンシブ: タブレット以上
   ======================================== */
@media screen and (min-width: 768px) {
    .hero-title {
        font-size: 2.8rem;
    }

    .hero-accent {
        width: 40%;
        max-width: 380px;
    }

    .hero-title-indent {
        padding-left: 3rem;
    }

    .hero-title-indent-2 {
        padding-left: 8rem;
    }

    .contact-content {
        grid-template-columns: 1fr 1.5fr;
        align-items: start;
    }

    .contact-info {
        text-align: left;
    }
}

/* ========================================
   レスポンシブ: デスクトップ
   ======================================== */
@media screen and (min-width: 1024px) {
    .menu-toggle {
        display: none;
    }

    .nav {
        position: static;
        width: auto;
        height: auto;
        padding: 0;
        box-shadow: none;
        background: transparent;
    }

    .nav-list {
        flex-direction: row;
        align-items: center;
        gap: 0;
    }

    .nav-link {
        padding: 0.5rem 1rem;
        border: none;
        font-size: 0.85rem;
        color: var(--white);
        letter-spacing: 0.05em;
    }

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

    .nav-link-contact {
        margin: 0 0 0 1rem;
        padding: 0.6rem 1.5rem;
        border: 1px solid var(--primary-color);
        color: var(--primary-color) !important;
        background: transparent;
        font-size: 0.85rem;
    }

    .nav-link-contact:hover {
        background: var(--primary-color);
        color: var(--white) !important;
    }

    /* PC ドロップダウン */
    .nav-dropdown-menu {
        position: absolute;
        top: 100%;
        left: 50%;
        transform: translateX(-50%);
        margin-top: 8px;
        box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
    }

    .nav-dropdown-menu::before {
        content: '';
        position: absolute;
        top: -8px;
        left: 0;
        right: 0;
        height: 8px;
    }

    .hero-title {
        font-size: 3.5rem;
    }

    .hero-title-indent {
        padding-left: 4rem;
    }

    .hero-title-indent-2 {
        padding-left: 10rem;
    }

    .hero-accent {
        width: 42%;
        max-width: 420px;
    }

    .section-title {
        font-size: 2.5rem;
    }

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

    .symptoms-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .reasons-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .fixed-tel-btn {
        right: 30px;
        bottom: 30px;
        width: 80px;
        height: 80px;
    }

    .tel-icon {
        font-size: 1.8rem;
    }

    .tel-text {
        font-size: 0.75rem;
    }

    .recruit-banner {
        padding: 20px 35px;
    }

    .recruit-label {
        font-size: 1.8rem;
    }

    .recruit-text {
        font-size: 0.95rem;
    }
}

/* ========================================
   スマホ最適化
   ======================================== */
@media screen and (max-width: 767px) {
    .header-container {
        padding: 1rem 20px;
    }

    .logo-icon {
        font-size: 1.5rem;
    }

    .logo-name {
        font-size: 0.9rem;
    }

    .hero {
        padding: 2rem 20px;
        min-height: 100vh;
    }

    .hero-accent {
        top: 60px;
        height: calc(100% - 60px);
        width: 55%;
        max-width: 250px;
    }
    .geo-text {
        display: none;
    }

    .hero-content {
        padding-left: 3%;
        padding-right: 3%;
        margin-top: 20%;
    }

    .hero-title {
        font-size: 1.6rem;
        line-height: 1.5;
    }

    .hero-type { gap: 0.15em; }
    .hero-line-1 { margin-bottom: 0; }
    .hero-line-2 { padding-left: 2%; margin-bottom: 0; }
    .hero-line-3 { padding-left: 6%; }
    .hero-no-base { -webkit-text-stroke-width: 1px; }
    .hero-no-draw { -webkit-text-stroke-width: 1px; animation-delay: 1.5s; }

    .hero-message {
        width: 95%;
    }

    .hero-message-title {
        font-size: 1.3rem;
        white-space: nowrap;
    }

    .hero-message-text {
        font-size: 0.85rem;
        line-height: 1.7;
    }

    /* スマホでアニメーション線を太く */
    .comet-container svg circle {
        stroke-width: 5 !important;
    }

    .comet-container {
        opacity: 1;
    }

    .hero-title-indent {
        padding-left: 1rem;
    }

    .hero-title-indent-2 {
        padding-left: 3rem;
    }

    .recruit-banner {
        padding: 12px 20px;
        bottom: 20px;
    }

    .recruit-label {
        font-size: 1.1rem;
    }

    .recruit-text {
        font-size: 0.75rem;
    }

    .recruit-character svg {
        width: 50px;
        height: 75px;
    }

    .ls-frame { width: 85vmin; height: 85vmin; }
    .ls-mark-wrap { width: 55vmin; height: 55vmin; }
    .ls-text-label { font-size: 0.65rem; }
    .ls-text-year { font-size: 1rem; }
    .ls-text { bottom: 8%; }
    .ls-micro { display: none; }
}

@media screen and (max-width: 480px) {
    .hero-title {
        font-size: 1.4rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .section-subtitle {
        font-size: 0.9rem;
        margin-bottom: 2rem;
    }

    .service-card,
    .symptom-card,
    .reason-card {
        padding: 1.5rem;
    }

    .flow-item {
        padding: 1.5rem;
    }

    .company-info-card {
        padding: 1.5rem;
    }

    .company-table th,
    .company-table td {
        display: block;
        width: 100%;
        padding: 0.75rem 1rem;
    }

    .company-table th {
        border-radius: 4px 4px 0 0;
        border-bottom: none;
    }

    .company-table td {
        border-radius: 0 0 4px 4px;
        margin-bottom: 1rem;
    }

    .contact-form {
        padding: 1.5rem;
    }

    .contact-tel-number {
        font-size: 1.5rem;
    }

    .fixed-tel-btn {
        width: 60px;
        height: 60px;
        right: 15px;
        bottom: 15px;
    }

    .tel-icon {
        font-size: 1.3rem;
    }
}
