:root {
    --color-base: #FFFFFF;
    --color-gray-light: #F5F5F5;
    --color-main: #8FBC8F;
    /* Moss Green */
    --color-main-dark: #6E966E;
    --color-text: #333333;
    --color-text-light: #666666;
    --white: #FFFFFF;

    --font-base: 'Noto Sans JP', sans-serif;

    --width-container: 1000px;
    --padding-container: 20px;
}

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

body {
    font-family: var(--font-base);
    color: var(--color-text);
    line-height: 1.8;
    background-color: var(--color-base);
}

a {
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s;
}

a:hover {
    opacity: 0.7;
}

ul {
    list-style: none;
}

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

.container {
    max-width: var(--width-container);
    margin: 0 auto;
    padding: 0 var(--padding-container);
}

.section {
    padding: 80px 0;
}

.section-heading {
    font-size: 2.2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 60px;
    letter-spacing: 0.05em;
    color: var(--color-main-dark);
}

.section-subheading {
    text-align: center;
    margin-bottom: 60px;
    font-weight: 500;
}

/* Button */
.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--color-main);
    color: var(--white);
    font-weight: 700;
    border-radius: 4px;
    text-align: center;
}

.btn:hover {
    background-color: var(--color-main-dark);
    opacity: 1;
    /* Reset opacity for bg change */
}



.btn--large {
    font-size: 1.2rem;
    padding: 15px 50px;
    margin-top: 30px;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 70px;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    z-index: 100;
    display: flex;
    align-items: center;
}

.header__inner {
    width: 100%;
    max-width: var(--width-container);
    margin: 0 auto;
    padding: 0 var(--padding-container);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header__logo a {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--color-text);
    display: flex;
    align-items: center;
}

.header__logo img {
    max-height: 50px;
    width: auto;
}

.header__nav {
    display: none;
}

.header__cta {
    display: none;
}

/* Desktop Header */
@media (min-width: 768px) {
    .header__nav {
        display: block;
        margin-left: auto;
        margin-right: 20px;
    }

    .header__nav-list {
        display: flex;
        gap: 30px;
    }

    .header__nav-item a {
        font-size: 0.95rem;
        font-weight: 500;
        white-space: nowrap;
    }

    .header__cta {
        display: block;
    }

    .header__hamburger {
        display: none;
    }
}

.header__hamburger {
    background: none;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 20px;
    position: relative;
    padding: 0;
}

.header__hamburger span {
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: var(--color-text);
    left: 0;
    transition: 0.3s;
}

.header__hamburger span:nth-child(1) {
    top: 0;
}

.header__hamburger span:nth-child(2) {
    top: 9px;
}

.header__hamburger span:nth-child(3) {
    bottom: 0;
}


/* Hero Section */
.hero {
    position: relative;
    height: 80vh;
    min-height: 500px;
    background-color: #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: 70px;
    /* Header height */
    overflow: hidden;
}

.hero__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/hero-bg.png');
    background-size: cover;
    background-position: center;
    opacity: 0.3;
    /* Overlay effect */
}

.hero__content {
    position: relative;
    z-index: 2;
}

.hero__catch {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.4;
}

.hero__sub {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--color-text);
}

@media (max-width: 767px) {
    .hero__catch {
        font-size: 1.8rem;
    }

    .hero__sub {
        font-size: 1rem;
    }
}

/* Pain & Solution - Clean text based */
.pain-solution {
    background-color: var(--white);
    text-align: center;
}

.section-title {
    font-size: 1.8rem;
    margin-bottom: 40px;
    line-height: 1.5;
}

.pain-solution__body p {
    margin-bottom: 25px;
    line-height: 2;
}

.pain-solution__highlight {
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--color-main);
    margin-top: 30px;
    margin-bottom: 30px;
}

.pain-solution__box {
    background-color: var(--color-gray-light);
    padding: 40px;
    border-radius: 8px;
    margin-top: 40px;
    font-size: 1.2rem;
}

/* Mission */
.mission {
    background-color: var(--color-text);
    color: var(--white);
    text-align: center;
}

.mission__title {
    font-size: 2rem;
    margin-bottom: 30px;
    line-height: 1.4;
}

.mission__body p {
    margin-bottom: 15px;
    opacity: 0.9;
}

/* Services */
.services {
    background-color: var(--color-gray-light);
}

.service-phase {
    margin-bottom: 50px;
}

.service-phase:last-child {
    margin-bottom: 0;
}

.service-phase__title {
    font-size: 1.4rem;
    border-left: 5px solid var(--color-main);
    padding-left: 15px;
    margin-bottom: 20px;
    color: var(--color-text);
}

.service-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

@media (min-width: 768px) {
    .service-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.service-card {
    background: var(--white);
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.03);
}

.service-card h4 {
    color: var(--color-main);
    margin-bottom: 15px;
    font-size: 1.1rem;
}

/* Strength */
.strength {
    background-color: var(--white);
}

.strength-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.strength-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.strength-item__num {
    font-size: 3rem;
    font-weight: 700;
    color: var(--color-main);
    opacity: 0.3;
    line-height: 0.8;
}

.strength-item__content h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    line-height: 1.4;
}

@media (max-width: 600px) {
    .strength-item {
        flex-direction: column;
        gap: 10px;
    }
}

/* Representative */
.representative {
    background-color: var(--color-gray-light);
}

.representative__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    text-align: center;
}

.representative__img {
    width: 200px;
    height: 200px;
    background-color: #ddd;
    /* Placeholder */
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.representative-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    /* Focus on face */
}

@media (min-width: 768px) {
    .representative__inner {
        flex-direction: row;
        text-align: left;
    }
}

/* Contact */
.contact {
    text-align: center;
}

.contact__lead {
    margin-bottom: 40px;
}

/* Contact Form */
/* Contact Form */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background-color: var(--white);
    padding: 60px 40px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    text-align: left;
}

.form-group {
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
    width: 100%;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    font-weight: 700;
    color: var(--color-text);
    font-size: 1rem;
}

.form-required {
    background-color: #e74c3c;
    color: #fff;
    font-size: 0.7rem;
    padding: 3px 6px;
    border-radius: 4px;
    line-height: 1;
}

.form-optional {
    background-color: #999;
    color: #fff;
    font-size: 0.7rem;
    padding: 3px 6px;
    border-radius: 4px;
    line-height: 1;
}

/* Reset default browser styles for inputs */
.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
    font-family: var(--font-base);
    /* Ensure font consistency */
    appearance: none;
    /* Remove default browser styling */
    -webkit-appearance: none;
    line-height: 1.5;
    transition: all 0.3s ease;
    box-shadow: none;
    /* Remove potential Firefox default shadow */
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #ccc;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--color-main);
    outline: none;
    box-shadow: 0 0 0 3px rgba(143, 188, 143, 0.2);
}

.form-action {
    margin-top: 40px;
    text-align: center;
}

.btn--submit {
    display: inline-block;
    width: 100%;
    padding: 15px;
    border: none;
    background-color: var(--color-main);
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    appearance: none;
    -webkit-appearance: none;
}

.btn--submit:hover {
    background-color: var(--color-main-dark);
    opacity: 1;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(143, 188, 143, 0.4);
}

/* Footer */
.footer {
    background-color: #333;
    color: #999;
    padding: 40px 0;
    text-align: center;
    font-size: 0.9rem;
}

.footer__logo {
    color: var(--white);
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.footer__address {
    font-style: normal;
    margin-bottom: 20px;
}