/*==================================================
  Theme: Ascent Modern
  Description: A professional and modern theme for corporate websites.
==================================================*/

:root {
    --primary-color: #005A9C; 
    --secondary-color: #1E88E5;
    --accent-color: #FFC107;
    --text-color: #333;
    --light-text-color: #666;
    --bg-color: #FFFFFF;
    --light-bg-color: #F5F7FA;
    --border-color: #E0E0E0;
    --font-family: 'Noto Sans JP', sans-serif;
    --box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    --border-radius: 8px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    line-height: 1.8;
    color: var(--text-color);
    background-color: var(--bg-color);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

section {
    padding: 80px 0;
    overflow: hidden; /* For animation */
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 60px;
    font-weight: 700;
    color: var(--primary-color);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -15px;
    transform: translateX(-50%);
    width: 50px;
    height: 4px;
    background-color: var(--accent-color);
    border-radius: 2px;
}

.button {
    display: inline-block;
    padding: 12px 30px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.button-primary {
    background-color: var(--primary-color);
    color: #fff;
}

.button-primary:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 90, 156, 0.3);
}

/* Header */
.header {
    background-color: rgba(255, 255, 255, 0.95);
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-logo a {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    display: flex;
    align-items: center;
}

.header-logo img {
    height: 50px;
    margin-right: 15px;
}

.header-logo span {
    white-space: nowrap;
}

.header-nav ul {
    list-style: none;
    display: flex;
    align-items: center;
}

.header-nav ul li {
    margin-left: 35px;
}

.header-nav a {
    color: var(--light-text-color);
    text-decoration: none;
    font-weight: 700;
    transition: color 0.3s ease;
    position: relative;
    padding-bottom: 5px;
    white-space: nowrap;
}

.header-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
}

.header-nav a:hover, .header-nav a.active {
    color: var(--primary-color);
}

.header-nav a:hover::after, .header-nav a.active::after {
    width: 100%;
}

.header-nav a.button-contact {
    background-color: var(--accent-color);
    color: var(--text-color);
    padding: 10px 20px;
    border-radius: var(--border-radius);
}

.header-nav a.button-contact:hover {
    background-color: #FFD700;
    color: #000;
}

.header-nav a.button-contact::after { display: none; }

.nav-toggle { display: none; }

/* Hero Section */
.hero {
    background: url('../images/ChatGPT Image 2025年7月15日 17_10_55.png') no-repeat center center;
    background-size: cover;
    color: #fff;
    padding: 100px 0;
    text-align: center;
    position: relative; /* For overlay */
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* 半透明のオーバーレイ */
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 40px;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    margin-top: 40px;
}

/* Strengths Section */
.strengths-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.strength-item {
    background-color: var(--bg-color);
    padding: 40px;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--box-shadow);
    transition: all 0.3s ease;
    border-top: 4px solid var(--accent-color);
}

.strength-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}

.strength-icon {
    width: 70px;
    height: 70px;
    margin-bottom: 25px;
    filter: invert(35%) sepia(98%) saturate(2947%) hue-rotate(185deg) brightness(96%) contrast(101%); /* Converts black to primary color */
}

.strength-item h3 {
    font-size: 1.6rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.strength-item p {
    font-size: 1rem;
    color: var(--light-text-color);
}

/* Generic Section Styling */
#services, #pricing, #voice, #news, #about {
    background-color: var(--light-bg-color);
}

#strengths, #cta {
    background-color: var(--bg-color);
}

/* Service & Pricing Grid */
.service-grid, .pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-item, .price-card {
    background-color: #fff;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    display: flex;
    flex-direction: column;
}

.service-item h3, .price-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.service-item ul, .price-card ul {
    list-style: none;
    margin: 15px 0;
    flex-grow: 1;
}

.service-item ul li, .price-card ul li {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
}

.service-item ul li::before, .price-card ul li::before {
    content: '\2713';
    color: var(--accent-color);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.strength-item ul {
    list-style: none;
    margin: 15px 0;
    flex-grow: 1;
}

.strength-item ul li {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
}

.strength-item ul li::before {
    content: '\2713';
    color: var(--accent-color);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.price-card .price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.price-card .price span {
    font-size: 3rem;
}

.price-card .button {
    margin-top: auto;
}

/* Testimonials */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background-color: #fff;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.testimonial-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.profile-image {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 20px;
    border: 3px solid var(--accent-color);
}

.client-info .client-name {
    font-weight: 700;
    font-size: 1.1rem;
}

.industry-tag {
    display: inline-block;
    background-color: var(--light-bg-color);
    color: var(--primary-color);
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.8rem;
    font-weight: 700;
}

.testimonial-text::before {
    content: '“';
    font-size: 3rem;
    color: var(--accent-color);
    float: left;
    margin-right: 10px;
    line-height: 1;
}

/* News */
.news-excerpt-wrapper {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
}

.news-excerpt {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-right: 5px;
}

.news-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.news-item {
    background-color: #fff;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    overflow: hidden;
    transition: all 0.3s ease;
}

.news-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}

.news-item .news-content {
    padding: 25px;
}

.news-meta {
    margin-bottom: 10px;
    font-size: 0.9rem;
    color: var(--light-text-color);
}

.news-tag {
    background-color: var(--accent-color);
    color: #fff;
    padding: 3px 8px;
    border-radius: 5px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-left: 10px;
}

.news-title a {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 1.3rem;
    font-weight: 700;
}

.read-more {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 700;
    white-space: nowrap;
}

/* About Section */
.greeting-content {
    display: flex;
    align-items: center;
    gap: 20px;
}

.access-map {
    margin-top: 50px;
}

.access-map .address {
    font-size: 1.1rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
}

.google-map {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.transportation {
    text-align: center;
    margin-top: 20px;
    font-size: 1.1rem;
    font-weight: 700;
}

.representative-photo {
    max-width: 450px;
    max-height: 450px;
}

/* Contact Form Section */
.contact-form-section {
    background-color: var(--light-bg-color);
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--light-text-color);
    margin-top: -40px;
    margin-bottom: 60px;
}

.contact-form {
    max-width: 700px;
    margin: 0 auto;
    background-color: #fff;
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

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

.form-group label {
    display: block;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--primary-color);
}

.form-group .required {
    color: #dc3545;
    font-size: 0.9rem;
    margin-left: 5px;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-family: var(--font-family);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 90, 156, 0.1);
}

.form-group textarea {
    resize: vertical;
}

.form-submit {
    text-align: center;
}

/* CTA Section */
.cta {
    background: var(--secondary-color);
    color: #fff;
    text-align: center;
}

.cta-title {
    color: #fff;
}

/* Footer */
.footer {
    background-color: #222;
    color: #ccc;
    padding: 50px 0;
    text-align: center;
}

.footer-nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.footer-nav ul li {
    margin: 0 15px;
}

.footer-nav a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

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

/* Scroll Animation */
.animated-section {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animated-section.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 767px) {
    .header-nav ul {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #fff;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
        padding: 20px 0;
    }

    .header-nav ul.active {
        display: flex;
    }

    .header-nav ul li {
        margin: 10px 0;
        text-align: center;
    }

    .nav-toggle {
        display: block;
        background: none;
        border: none;
        cursor: pointer;
    }

    .nav-toggle span {
        display: block;
        width: 25px;
        height: 3px;
        background-color: var(--primary-color);
        margin-bottom: 5px;
        transition: all 0.3s ease;
    }

    .greeting-content {
        flex-direction: column;
    }
}

.service-item--photo {
    background-color: #fff0f5;
}

/* Office Overview List Styling */
.greeting-text ul {
    list-style: none; /* Remove default bullet points */
    margin: 15px 0; /* Adjust as needed */
}

.greeting-text ul li {
    margin-bottom: 10px;
    padding-left: 25px; /* Indent for the checkmark */
    position: relative;
}

.greeting-text ul li::before {
    content: '\2713'; /* Checkmark character */
    color: var(--accent-color); /* Use accent color for checkmark */
    position: absolute;
    left: 0; /* Position the checkmark */
    font-weight: bold;
}

.mission-statement-title {
    font-size: 2rem; /* Adjust size as needed */
    color: var(--accent-color); /* Orange color */
    text-align: left; /* Left align the text */
    margin-bottom: 20px; /* Add some space below */
}