@charset "UTF-8";

/* =========================================================================
   TM WORKS Style
   ========================================================================= */

:root {
    --primary-color: #f39c12; /* Orange */
    --primary-hover: #d68910;
    --secondary-color: #333333; /* Dark gray */
    --secondary-hover: #111111;
    --text-color: #333333;
    --text-muted: #666666;
    --bg-light: #f9f9f9;
    --bg-white: #ffffff;
    --border-color: #dddddd;
    --accent-color: #27ae60;
    
    --font-sans: 'Meiryo', 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', sans-serif;
    
    --container-width: 1100px;
    --header-height: 100px; /* Increased slightly for the phone number */
    
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 15px rgba(0,0,0,0.1);
    
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-full: 9999px;
    
    --transition: all 0.2s ease-in-out;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    color: var(--text-color);
    background-color: var(--bg-light);
    line-height: 1.7;
    overflow-x: hidden;
}

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

ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4 {
    color: var(--secondary-color);
    font-weight: bold;
    line-height: 1.3;
}

/* Loader Animation */
#loader {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100vh;
    background: var(--bg-white);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.8s ease, visibility 0.8s;
}
#loader.loaded {
    opacity: 0;
    visibility: hidden;
}
.loader-logo {
    color: var(--secondary-color);
    font-size: 32px;
    font-weight: bold;
    letter-spacing: 2px;
    animation: flashLogo 1.5s ease infinite alternate;
}
@keyframes flashLogo {
    0% { opacity: 0.3; }
    100% { opacity: 1; }
}

/* Typography & Layout */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}
.section-padding { padding: 100px 0; }
.bg-light { background-color: var(--bg-light); }
.bg-white { background-color: var(--bg-white); }
.text-center { text-align: center; }
.text-accent {
    color: var(--primary-color);
    font-weight: bold;
}

/* Animations */
.fadein_up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}
.fadein_up.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    font-size: 16px;
    font-weight: bold;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
    border: none;
}
.btn-primary {
    background-color: var(--primary-color);
    color: var(--bg-white);
}
.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}
.btn-secondary {
    background-color: var(--bg-white);
    color: var(--secondary-color);
    border: 2px solid var(--border-color);
}
.btn-secondary:hover {
    border-color: var(--secondary-color);
    transform: translateY(-2px);
}
.btn-lg { padding: 16px 40px; font-size: 18px; }
.btn-block { width: 100%; }

/* Header Section */
.header {
    height: var(--header-height);
    background-color: var(--bg-white);
    border-bottom: 1px solid var(--border-color);
    position: fixed;
    top: 0; left: 0; width: 100%;
    z-index: 100;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}
.header-container {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.logo {
    font-size: 26px;
    font-weight: bold;
    color: var(--secondary-color);
    display: flex;
    align-items: center;
    gap: 4px;
}
.logo-accent { color: var(--primary-color); }

.header-right {
    display: flex;
    align-items: center;
    gap: 30px;
}
.nav { display: flex; align-items: center; gap: 24px; }
.nav-link {
    font-size: 15px;
    font-weight: bold;
    color: var(--secondary-color);
}
.nav-link:hover { color: var(--primary-color); }
.nav-btn { font-size: 14px; padding: 8px 16px; border-radius: var(--radius-full); }

.header-tel {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #fff8eb;
    padding: 8px 16px;
    border-radius: var(--radius-md);
    border: 1px solid #fce8c8;
}
.header-tel span {
    font-size: 12px;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 2px;
}
#headerTelCanvas {
    display: block; /* Ensure it renders properly */
}

/* Parallax Background Wrappers */
.pc_back {
    position: relative;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    z-index: 2;
}
.hero-container {
    width: 100%;
    padding-top: var(--header-height);
    display: flex;
    justify-content: center; /* Center horizontally */
}
.hero-content {
    width: 100%;
    max-width: 950px; /* Widened as requested */
    color: var(--bg-white);
    background: rgba(0, 0, 0, 0.75); /* Black with lower transparency for better readability */
    padding: 60px 40px;
    border-radius: var(--radius-md);
    text-align: center; /* Centered text */
    margin: 0 auto;
}
.badge {
    display: inline-block;
    padding: 8px 20px;
    background-color: var(--primary-color);
    color: var(--bg-white);
    border-radius: var(--radius-full);
    font-size: 15px;
    font-weight: bold;
    margin-bottom: 30px;
}
.hero-title {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 24px;
    color: var(--bg-white);
    line-height: 1.4;
}
.hero-title .text-accent {
    color: var(--primary-color);
}
.hero-lead {
    font-size: 18px;
    color: var(--bg-white);
    margin: 0 auto 40px auto;
    max-width: 800px;
}
.hero-actions { 
    display: flex; 
    gap: 16px; 
    justify-content: center; 
    margin-bottom: 30px;
}

.glass-compare {
    background: rgba(0, 0, 0, 0.6);
    border-radius: var(--radius-sm);
    padding: 16px;
    display: inline-block;
    margin: 0 auto;
    text-align: center;
}

/* Sections Common Header */
.section-header {
    max-width: 700px;
    margin: 0 auto 60px auto;
    text-align: center;
}
.section-title {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}
.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px; left: 50%;
    transform: translateX(-50%);
    width: 50px; height: 3px;
    background-color: var(--primary-color);
}
.section-subtitle {
    font-size: 16px;
    color: var(--text-muted);
    margin-top: 20px;
}

/* Features Section */
.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}
.feature-card {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 40px;
    transition: var(--transition);
}
.feature-card:hover {
    box-shadow: var(--shadow-lg);
}
.feature-icon-wrapper {
    width: 60px;
    height: 60px;
    background-color: var(--bg-light);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 20px;
    border: 1px solid var(--border-color);
}
.feature-card-title {
    font-size: 22px;
    margin-bottom: 16px;
}
.feature-card-desc {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.8;
}

/* Services Section */
.services-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.service-item {
    background-color: var(--bg-white);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    padding: 30px;
    display: flex;
    flex-direction: column;
}
.service-item h3 {
    font-size: 20px;
    margin-bottom: 20px;
    color: var(--secondary-color);
    border-bottom: 2px solid var(--bg-light);
    padding-bottom: 10px;
}
.service-text {
    font-size: 15px;
    color: var(--text-muted);
    margin-bottom: 24px;
    line-height: 1.8;
}
.scope-details h4 {
    font-size: 16px;
    margin-bottom: 12px;
    color: var(--secondary-color);
}
.scope-paragraph { margin-bottom: 12px; }
.scope-title {
    font-size: 14px;
    font-weight: bold;
    color: var(--secondary-color);
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 4px;
}
.scope-title i { color: var(--primary-color); }
.scope-paragraph p {
    font-size: 13px;
    color: var(--text-muted);
    padding-left: 20px;
}
.service-bullets { display: flex; flex-direction: column; gap: 12px; }
.service-bullets li {
    font-size: 14px;
    font-weight: bold;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--secondary-color);
}
.service-bullets li i { margin-top: 4px; color: var(--primary-color); }
.service-note {
    margin-top: auto;
    font-size: 13px;
    color: #cc0000; 
    background-color: #ffeeee;
    padding: 12px;
    border-radius: var(--radius-sm);
    line-height: 1.6;
}

/* Areas Section */
.areas-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
    max-width: 900px;
    margin: 0 auto;
    text-align: left;
    background: var(--bg-white);
    padding: 40px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
}
.area-map-placeholder {
    font-size: 100px;
    color: var(--border-color);
}
.area-list-wrapper h3 {
    font-size: 18px;
    margin-bottom: 20px;
}
.area-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}
.area-tag {
    background-color: var(--bg-light);
    border: 1px solid var(--border-color);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    color: var(--secondary-color);
}

/* About Section */
.about-card {
    background-color: var(--bg-white);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    padding: 40px;
    max-width: 800px;
    margin: 0 auto;
}
.about-table { width: 100%; border-collapse: collapse; }
.about-table th, .about-table td {
    padding: 16px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}
.about-table tr:last-child th, .about-table tr:last-child td { border-bottom: none; }
.about-table th {
    font-weight: bold;
    color: var(--secondary-color);
    width: 25%;
    font-size: 15px;
    background: var(--bg-light);
}
.about-table td { font-size: 15px; color: var(--text-color); }

/* Contact Section */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}
.contact-lead {
    font-size: 15px;
    color: var(--text-muted);
    margin-bottom: 40px;
    line-height: 1.8;
}
.contact-bullets {
    display: flex;
    flex-direction: column;
    gap: 30px;
}
.bullet-item { display: flex; align-items: start; gap: 16px; }
.bullet-item i {
    width: 44px; height: 44px;
    background-color: var(--bg-light);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
    border: 1px solid var(--border-color);
}
.bullet-item h4 { font-size: 16px; margin-bottom: 4px; color: var(--secondary-color); }
.bullet-item p { font-size: 14px; color: var(--text-muted); }

.contact-form-block {
    background-color: var(--bg-white);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    padding: 40px;
}
.contact-form { display: flex; flex-direction: column; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group label {
    font-size: 14px;
    font-weight: bold;
    color: var(--secondary-color);
}
.form-group input, .form-group textarea {
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-family: var(--font-sans);
    font-size: 15px;
    background-color: var(--bg-light);
    transition: var(--transition);
    width: 100%;
}
.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background-color: var(--bg-white);
}

/* Footer */
.footer {
    background-color: var(--secondary-color);
    padding: 40px 0;
    color: var(--bg-white);
}
.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.copyright { font-size: 14px; color: #aaaaaa; }
.footer-links { display: flex; gap: 24px; font-size: 14px; }
.footer-links a { color: #aaaaaa; }
.footer-links a:hover { color: var(--primary-color); }

/* Responsive */
@media (max-width: 1024px) {
    .header-right { gap: 16px; }
    .nav { display: none; }
    .hero-title { font-size: 36px; }
    .features-grid { grid-template-columns: 1fr; }
    .services-list { grid-template-columns: 1fr; }
    .areas-container { flex-direction: column; text-align: center; }
    .contact-container { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .hero-content { padding: 30px 20px; }
    .section-padding { padding: 60px 0; }
    .feature-card { padding: 30px; }
    .about-card { padding: 20px; }
    .contact-form-block { padding: 20px; }
    .footer-container { flex-direction: column; gap: 20px; }
}
