/* --- Reset & Basic Styles --- */
:root {
    --primary-color: #27ae60; /* Primary green */
    --secondary-color: #2c3e50; /* Dark gray-blue */
    --accent-color: #e67e22; /* Accent orange (for CTAs) */
    --text-color: #333;
    --light-gray: #f9f9f9;
    --border-color: #eee;
    --base-font-size: 16px;
    /* Consider using a more modern font stack */
    --font-family: 'Helvetica Neue', Arial, 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
    /* --font-family: 'Noto Sans JP', sans-serif; */ /* Example using Google Fonts */
}

*, *::before, *::after {
    box-sizing: border-box;
}

body, h1, h2, h3, h4, p, ul, ol, dl, dt, dd, figure, blockquote, button, table, th, td {
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-family);
    background-color: #fff;
    color: var(--text-color);
    font-size: var(--base-font-size);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img, video {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
    border-style: none; /* Remove potential borders */
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}
a:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

button {
    font-family: inherit;
    font-size: inherit;
    cursor: pointer;
    border: none;
    background: none;
    padding: 0; /* Remove default padding */
    color: inherit; /* Inherit text color */
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 60px 0;
}
section.bg-lightgray {
    background-color: var(--light-gray);
}

h1, h2, h3, h4 {
    font-weight: bold;
    margin-bottom: 20px;
    line-height: 1.4;
    color: var(--secondary-color);
}

h1 { font-size: 2.4em; } /* Approx 38px */
h2 {
    font-size: 2em; /* Approx 32px */
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    padding-bottom: 15px;
}
/* Section title underline decoration */
h2::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
}

h3 { font-size: 1.5em; } /* Approx 24px */
h4 { font-size: 1.2em; } /* Approx 19px */

p {
    margin-bottom: 15px;
}

ul, ol {
    list-style-position: inside;
    margin-bottom: 15px;
    padding-left: 1.2em; /* Space for list markers */
}
li {
    margin-bottom: 10px;
}

/* --- Utility Classes --- */
.text-center { text-align: center; }
.mb-small { margin-bottom: 15px; }
.mb-medium { margin-bottom: 30px; }
.mb-large { margin-bottom: 50px; }

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 12px 25px;
    background-color: var(--primary-color);
    color: #fff;
    font-size: 1em;
    font-weight: bold;
    text-align: center;
    border-radius: 8px;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: none;
    cursor: pointer;
    line-height: 1.4; /* Ensure consistent line height */
}
.btn:hover {
    background-color: #219d52; /* Slightly darker green */
    color: #fff;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
}
.btn-accent {
    background-color: var(--accent-color);
}
.btn-accent:hover {
    background-color: #d35400; /* Slightly darker orange */
}
.btn-large {
    padding: 15px 35px;
    font-size: 1.2em;
}
.btn-small {
     padding: 8px 18px;
     font-size: 0.9em;
}
.btn-block { /* Button as block element */
     display: block;
     width: 100%;
}
.btn-secondary { /* Subtle button */
     background-color: #fff;
     color: var(--primary-color);
     border: 1px solid var(--primary-color);
}
.btn-secondary:hover {
    background-color: var(--light-gray);
    color: var(--primary-color);
}


/* --- Header --- */
header {
    background-color: #fff;
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
    position: sticky; /* Sticky header */
    top: 0;
    z-index: 1000;
}
header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
header .logo {
    font-size: 1.6em;
    font-weight: bold;
    flex-shrink: 0; /* Prevent logo from shrinking */
}
header .logo a {
    color: var(--secondary-color);
    text-decoration: none;
}
header nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center; /* Align items vertically */
}
header nav li {
    margin-left: 25px;
}
header nav a {
    color: var(--text-color);
    font-weight: bold;
    font-size: 0.95em;
    padding: 5px 0; /* Add some padding for easier clicking */
    display: block; /* Ensure padding works */
}
header nav a:hover {
    color: var(--primary-color);
    text-decoration: none;
}
/* Mobile Contact Button (Initially hidden) */
.mobile-contact-btn {
    display: none;
}

/* --- Hero Section (#hero) --- */
#hero {
    background-color: var(--light-gray);
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}
#hero .container {
    position: relative;
    z-index: 1;
}
#hero h1 {
    font-size: 2.8em;
    margin-bottom: 20px;
    color: var(--secondary-color);
    text-shadow: 1px 1px 3px rgba(0,0,0,0.1);
}
#hero .sub-copy {
    font-size: 1.2em;
    color: #555;
    margin-bottom: 40px;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
}
#hero .cta-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
    gap: 15px; /* Space between buttons */
}

/* --- Services Section (#services) --- */
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* Responsive grid */
    gap: 30px;
}
.service-card {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden; /* For image border-radius */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex; /* Use flexbox for better control */
    flex-direction: column; /* Stack image and content vertically */
}
.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}
.service-card img {
    width: 100%;
    height: 200px; /* Fixed image height */
    object-fit: cover; /* Crop image while maintaining aspect ratio */
    display: block;
    background-color: #eee; /* Placeholder background */
}
.service-card-content {
    padding: 25px;
    flex-grow: 1; /* Allow content to fill remaining space */
    display: flex;
    flex-direction: column;
}
.service-card h3 {
    margin-bottom: 15px;
    color: var(--primary-color);
}
.service-card p {
     flex-grow: 1; /* Push price info down */
}
.service-card .price-info {
    font-weight: bold;
    color: var(--secondary-color);
    margin-top: 15px; /* Space above price */
    margin-bottom: 0; /* Remove default p margin */
}
/* Class for initially hidden service cards */
.service-hidden {
    display: none;
}

/* --- Reasons Section (#reasons) --- */
.reason-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* Adjust minmax for potentially 4 items */
    gap: 30px;
}
.reason-item {
    text-align: center;
    padding: 20px; /* Add some padding */
}
.reason-item .icon-placeholder { /* Icon/image placeholder */
    width: 70px; /* Slightly smaller icon */
    height: 70px;
    background-color: var(--primary-color);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.8em; /* Larger icon font */
    font-weight: bold;
    line-height: 1; /* Ensure icon is centered */
}
.reason-item h3 {
    font-size: 1.3em;
    margin-bottom: 10px;
}

/* --- Works Section (#works) --- */
.works-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}
.work-card {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
}
.work-card .work-image-container { /* Container for Before/After images */
    display: flex;
    position: relative;
}
.work-card .work-image-container img {
    width: 50%; /* 50% width for Before/After */
    height: 220px;
    object-fit: cover;
    background-color: #eee;
}
/* Example style for video play button */
.work-card .play-button-placeholder {
     position: absolute;
     top: 50%;
     left: 50%;
     transform: translate(-50%, -50%);
     width: 60px;
     height: 60px;
     background-color: rgba(0,0,0,0.6);
     color: #fff;
     border-radius: 50%;
     display: flex;
     align-items: center;
     justify-content: center;
     font-size: 1.8em;
     cursor: pointer;
     opacity: 0.8;
     transition: opacity 0.3s ease;
     z-index: 2; /* Ensure it's above images */
}
.work-card:hover .play-button-placeholder { opacity: 1; }

.work-card-content {
    padding: 25px;
    flex-grow: 1;
}
.work-card h3 {
    font-size: 1.2em;
    margin-bottom: 15px;
}
.work-card .work-meta {
    font-size: 0.9em;
    color: #777;
    margin-bottom: 10px;
}
.work-card .work-meta span { margin-right: 15px; }
.work-card .customer-voice-snippet { /* Customer voice excerpt */
     font-style: italic;
     color: #555;
     margin-top: 15px;
     padding-left: 15px;
     border-left: 3px solid var(--primary-color);
}
.works-link { /* Link to photo gallery */
    text-align: center;
    margin-top: 40px;
}

/* --- Voices Section (#voices) --- */
.voice-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}
.voice-card {
    background-color: var(--light-gray);
    padding: 30px;
    border-radius: 8px;
    border-left: 5px solid var(--primary-color);
    position: relative;
}
.voice-card .voice-icon { /* Quote icon */
    position: absolute;
    top: 15px;
    left: 15px;
    font-size: 2.5em;
    color: var(--primary-color);
    opacity: 0.2;
    line-height: 1;
}
.voice-card blockquote {
    margin-bottom: 20px;
    font-style: italic;
    position: relative; /* Ensure text is above icon */
    z-index: 1;
}
.voice-card .voice-author {
    display: flex;
    align-items: center;
}
.voice-card .author-image-placeholder {
    width: 50px;
    height: 50px;
    background-color: #ccc;
    border-radius: 50%;
    margin-right: 15px;
    flex-shrink: 0; /* Prevent shrinking */
    overflow: hidden; /* Clip image to circle */
}
.voice-card .author-image-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.voice-card .author-name {
    font-weight: bold;
    color: var(--secondary-color);
    display: block; /* Ensure it takes its own line */
    margin-bottom: 3px;
}
.voice-card .author-info {
    font-size: 0.9em;
    color: #777;
}

/* --- Staff Section (#staff) --- */
.staff-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}
.staff-card {
    text-align: center;
    background-color: #fff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
 .staff-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}
.staff-card .staff-image-placeholder {
    width: 150px;
    height: 150px;
    background-color: #eee;
    border-radius: 50%;
    margin: 0 auto 20px;
    position: relative;
    overflow: hidden;
    border: 3px solid #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.staff-card .staff-image-placeholder img {
     width: 100%;
     height: 100%;
     object-fit: cover;
}
/* Staff video play button */
.staff-card .play-button-placeholder {
    font-size: 1.5em;
    width: 50px;
    height: 50px;
    position: absolute; /* Position over image */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(0,0,0,0.6);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0; /* Hide initially */
    transition: opacity 0.3s ease;
    z-index: 2;
}
.staff-card:hover .play-button-placeholder {
    opacity: 0.8; /* Show on hover */
}
.staff-card:hover .play-button-placeholder:hover {
    opacity: 1;
}

.staff-card h3 { /* Name */
    font-size: 1.3em;
    margin-bottom: 5px;
    color: var(--secondary-color);
}
.staff-card .staff-title { /* Title/Role */
    font-size: 0.9em;
    color: var(--primary-color);
    font-weight: bold;
    margin-bottom: 10px;
    display: block; /* Ensure line break */
}
.staff-card .staff-message { /* Short message */
    font-size: 0.95em;
    color: #555;
}
/* Class for initially hidden staff cards */
.staff-hidden {
    display: none;
}
/* Container for "Load More" buttons */
.load-more-container {
    text-align: center;
    margin-top: 40px;
}


/* --- FAQ Section (#faq) --- */
.faq-item {
    margin-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}
.faq-item:last-child {
    border-bottom: none; /* Remove border from last item */
}
.faq-item dt { /* Question */
    font-weight: bold;
    padding: 15px 30px 15px 0; /* Add padding right for icon */
    cursor: pointer;
    position: relative;
}
/* Accordion open/close icon */
.faq-item dt::after {
    content: '+';
    position: absolute;
    right: 5px; /* Position icon */
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5em;
    color: var(--primary-color);
    transition: transform 0.3s ease;
    line-height: 1; /* Prevent extra space */
}
.faq-item.active dt::after {
     content: '−'; /* Change to minus when active */
     transform: translateY(-50%); /* Keep vertical alignment */
}
.faq-item dd { /* Answer */
    padding-bottom: 20px; /* Add padding below answer */
    margin-left: 0;
    display: none; /* Initially hidden */
    padding-top: 5px; /* Small space between Q and A */
}
/* .faq-item.active dd { display: block; } */ /* JS will handle display */

/* --- News Section (#news) --- */
.news-list {
    list-style: none;
    padding-left: 0;
}
.news-item {
    border-bottom: 1px dashed var(--border-color);
    padding: 15px 0;
    display: flex;
    align-items: flex-start; /* Align items to the top */
    flex-wrap: wrap; /* Allow wrapping on small screens */
    gap: 10px 20px; /* Row and column gap */
}
.news-item:last-child {
     border-bottom: none;
}
.news-item time {
    font-size: 0.9em;
    color: #777;
    flex-shrink: 0; /* Prevent date from shrinking */
    white-space: nowrap; /* Prevent date wrapping */
}
.news-item .news-category { /* Category label */
     background-color: var(--primary-color);
     color: #fff;
     font-size: 0.8em;
     padding: 3px 8px;
     border-radius: 4px;
     flex-shrink: 0;
     line-height: 1.4; /* Adjust line height */
}
.news-item a {
    color: var(--text-color);
    font-weight: bold;
    flex-grow: 1; /* Allow link to take remaining space */
}
.news-item a:hover {
    color: var(--primary-color);
}
.news-link { /* Link to news list page */
     text-align: right;
     margin-top: 20px;
}

/* --- Contact CTA Section (#contact-cta) --- */
#contact-cta {
    background-color: var(--primary-color);
    color: #fff;
    text-align: center;
    padding: 60px 0;
}
#contact-cta h2 {
    color: #fff;
    margin-bottom: 20px;
}
 #contact-cta h2::after {
     background-color: #fff; /* Underline color */
 }
#contact-cta p {
    font-size: 1.1em;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}
.contact-methods {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}
.contact-phone {
    font-size: 1.8em;
    font-weight: bold;
    color: #fff;
    /* margin: 0 20px; */ /* Use gap instead */
}
.contact-phone a {
     color: #fff;
     text-decoration: none;
     transition: opacity 0.3s ease;
}
.contact-phone a:hover {
     opacity: 0.9;
}
.contact-line-btn img { /* LINE button image */
    height: 40px;
    vertical-align: middle;
    border-radius: 5px;
}

/* --- Company Section (#company) --- */
.company-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* 2 columns */
    gap: 40px;
    align-items: flex-start; /* Align top */
}
#company dl { margin-bottom: 0; }
#company dl dt {
    font-weight: bold;
    color: var(--secondary-color);
    width: 100px; /* Fixed label width */
    float: left;
    clear: left;
    margin-bottom: 10px;
    padding-right: 10px; /* Space between label and value */
}
#company dl dd {
    margin-left: 110px; /* dt width + padding */
    margin-bottom: 10px;
}
.map-placeholder { /* Map/Video placeholder */
    width: 100%;
    height: 350px;
    background-color: #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #aaa;
    border-radius: 8px;
    overflow: hidden; /* Ensure content respects border-radius */
    position: relative; /* For potential overlays */
}
/* Style for iframe or video inside placeholder */
.map-placeholder iframe,
.map-placeholder video {
    width: 100%;
    height: 100%;
    border: 0;
    display: block; /* Remove extra space below */
    object-fit: cover; /* Cover container */
}


/* --- Footer --- */
footer {
    background-color: var(--secondary-color);
    color: #ccc; /* Lighter text for footer */
    padding: 50px 0 20px;
    font-size: 0.9em;
}
footer .footer-content {
    display: grid;
    /* Create flexible columns, minimum 200px wide */
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px 40px; /* Row and column gap */
    margin-bottom: 40px;
}
footer h4 {
    color: #fff;
    font-size: 1.1em;
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 8px;
}
/* Footer heading underline */
footer h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 2px;
    background-color: var(--primary-color);
}
footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
footer li {
    margin-bottom: 8px;
}
footer a {
    color: #ccc;
    transition: color 0.3s ease;
}
footer a:hover {
    color: #fff;
    text-decoration: underline;
}
footer .footer-about p {
    margin-bottom: 10px;
    line-height: 1.6;
}
footer .footer-sns h4 {
    margin-bottom: 10px; /* Adjust space for SNS title */
}
footer .footer-sns ul {
    display: flex;
    gap: 15px; /* Space between icons */
}
footer .footer-sns a { /* SNS icon style */
    font-size: 1.1em; /* Adjust icon text size if needed */
    display: inline-flex; /* Use flex for centering */
    align-items: center;
    justify-content: center;
    width: 35px; /* Icon container size */
    height: 35px;
    background-color: #4a5568; /* Slightly lighter background */
    border-radius: 4px;
    color: #fff;
    text-decoration: none;
    transition: background-color 0.3s ease;
}
footer .footer-sns a:hover {
     background-color: var(--primary-color);
     text-decoration: none;
}
.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #4a5568; /* Separator line */
    font-size: 0.85em;
    color: #aaa;
}
.footer-bottom a {
    color: #aaa;
}
.footer-bottom a:hover {
    color: #fff;
}

/* --- Responsive Styles --- */
@media (max-width: 992px) {
    .container { max-width: 90%; } /* Use percentage for better fluidity */
    h1 { font-size: 2.2em; }
    h2 { font-size: 1.8em; }
    /* Hide desktop navigation */
    header nav ul {
        display: none;
    }
    /* Show mobile contact button */
    .mobile-contact-btn {
        display: inline-block; /* Show the button */
    }
    .company-info-grid { grid-template-columns: 1fr; } /* Company info 1 column */
    .map-placeholder { height: 300px; }
    footer .footer-content { gap: 30px; } /* Adjust footer gap */
}

@media (max-width: 768px) {
    body { font-size: 15px; }
    h1 { font-size: 2em; }
    h2 { font-size: 1.6em; margin-bottom: 40px; }
    h3 { font-size: 1.3em; }
    section { padding: 50px 0; }
    #hero { padding: 60px 0; }
    #hero h1 { font-size: 2.2em; }
    #hero .sub-copy { font-size: 1.1em; }
    .service-grid, .reason-grid, .works-grid, .voice-grid, .staff-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 25px;
    }
    .contact-methods { flex-direction: column; gap: 15px; }
    .contact-phone { font-size: 1.6em; margin: 0; }
    #company dl dt { width: 80px; }
    #company dl dd { margin-left: 90px; }
    .map-placeholder { height: 250px; }
    .staff-card .staff-image-placeholder { width: 120px; height: 120px; }
    footer .footer-content { grid-template-columns: 1fr 1fr; } /* Footer 2 columns */
}

@media (max-width: 480px) {
    h1 { font-size: 1.8em; }
    h2 { font-size: 1.4em; }
    h3 { font-size: 1.2em; }
    .container { padding: 0 15px; }
    #hero { padding: 50px 0; }
    #hero h1 { font-size: 1.9em; }
    #hero .sub-copy { font-size: 1em; }
    .service-grid, .reason-grid, .works-grid, .voice-grid, .staff-grid {
        grid-template-columns: 1fr; /* Force 1 column */
        gap: 20px;
    }
    .work-card .work-image-container img { height: 180px; }
    /* Staff image size can remain 120px or adjust if needed */
    /* .staff-card .staff-image-placeholder { width: 100px; height: 100px; } */
    .btn { padding: 10px 20px; font-size: 0.95em; }
    .btn-large { padding: 12px 25px; font-size: 1.1em; }
    .news-item { flex-direction: column; align-items: flex-start; gap: 5px; } /* News items stack */
    .news-item time, .news-item .news-category { margin-right: 0; margin-bottom: 5px; }
    .map-placeholder { height: 200px; }
    footer .footer-content { grid-template-columns: 1fr; } /* Footer 1 column */
    #contact-cta p { font-size: 1em; }
    .contact-phone { font-size: 1.4em; }
}

/* --- Accessibility --- */
.sr-only { /* Screen reader only */
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}