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

html {
    font-size: 62.5%;
    scroll-behavior: smooth;
}

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

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

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

ul,
ol {
    list-style: none;
}

button,
input,
select,
textarea {
    font-family: inherit;
    font-size: inherit;
    color: inherit;
    border: none;
    outline: none;
    background: none;
}

button {
    cursor: pointer;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.3;
}

/* Utilities */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-padding {
    padding: 10rem 0;
}

.bg-light {
    background-color: #f9f9f9;
}

.bg-dark {
    background-color: #1a1a1a;
    color: #fff;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1.2rem 2.4rem;
    border-radius: 50px;
    font-weight: 500;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-lg {
    padding: 1.5rem 3rem;
    font-size: 1.8rem;
}

.btn-primary {
    background-color: #2A9D8F;
    color: #fff;
}

.btn-primary:hover {
    background-color: #238a7e;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(42, 157, 143, 0.2);
}

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.15);
    color: #fff;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.btn-outline {
    border: 1px solid #2A9D8F;
    color: #2A9D8F;
}

.btn-outline:hover {
    background-color: #2A9D8F;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(42, 157, 143, 0.1);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 8rem;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 999;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.header.scrolled {
    height: 7rem;
    background-color: rgba(255, 255, 255, 0.98);
}

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

.logo-container {
    display: flex;
    align-items: center;
}

.logo {
    height: 4rem;
    display: flex;
    align-items: center;
}

.logo img {
    height: 100%;
}

.logo-subtitle {
    margin-left: 1rem;
    font-size: 1.2rem;
    color: #666;
    border-left: 1px solid #ddd;
    padding-left: 1rem;
}

.main-nav {
    display: flex;
    height: 100%;
}

.nav-list {
    display: flex;
    align-items: center;
    height: 100%;
}

.nav-list li {
    height: 100%;
    margin: 0 1rem;
}
a.btn.btn-outline {
    border-radius: 11px;
    padding: 10px 9px;
    line-height: 1;
    text-align: left;
    width: 125px;
}
.nav-list a {
    display: flex;
    align-items: center;
    height: 100%;
    font-size: 1.4rem;
    font-weight: 500;
    position: relative;
    padding: 0 1rem;
    line-height: 1.3;
    word-break: auto-phrase;
}

.nav-list a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: #2A9D8F;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.nav-list a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.header-cta {
    margin-left: 2rem;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 3rem;
    height: 2rem;
    cursor: pointer;
    z-index: 1000;
}

.mobile-menu-btn span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: #333;
    transition: all 0.3s ease;
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 400px;
    height: 100vh;
    background-color: #fff;
    z-index: 998;
    padding: 10rem 3rem 5rem;
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.1);
    transition: right 0.4s cubic-bezier(0.77, 0, 0.175, 1);
    overflow-y: auto;
}

.mobile-menu.active {
    right: 0;
}

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

.mobile-nav-list li {
    margin: 1.5rem 0;
}

.mobile-nav-list a {
    font-size: 1.8rem;
    font-weight: 500;
    display: block;
    padding: 1rem 0;
    border-bottom: 1px solid #eee;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 700px;
    background-image: url('../images/hero-bg.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: 8rem;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.6));
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 0 2rem;
}

.hero-title {
    font-size: 6rem;
    margin-bottom: 2rem;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s forwards 0.2s;
}

.hero-text {
    font-size: 2rem;
    margin-bottom: 4rem;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s forwards 0.4s;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 2rem;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s forwards 0.6s;
}

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

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 6rem;
}

.section-title {
    font-size: 3.6rem;
    margin-bottom: 1.5rem;
    color: #333;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 5rem;
    height: 3px;
    background-color: #2A9D8F;
}

.section-subtitle {
    font-size: 1.8rem;
    color: #666;
}

.light .section-title {
    color: #fff;
}

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

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.about-text p {
    margin-bottom: 2rem;
    font-size: 1.8rem;
}

.about-feature {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.feature-card {
    text-align: center;
    padding: 3rem 2rem;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    font-size: 3rem;
    color: #2A9D8F;
    margin-bottom: 2rem;
}

.feature-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.feature-card p {
    font-size: 1.4rem;
    color: #666;
}

/* Reform Types Section */
.reform-types-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
}

.reform-type-card {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.reform-type-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.reform-type-img {
    height: 200px;
    overflow: hidden;
}

.reform-type-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.reform-type-card:hover .reform-type-img img {
    transform: scale(1.05);
}

.reform-type-content {
    padding: 2rem;
}

.reform-type-content h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.price-range {
    font-size: 1.6rem;
    font-weight: 700;
    color: #2A9D8F;
    margin-bottom: 1.5rem;
}

.reform-description {
    font-size: 1.4rem;
    color: #666;
}

/* Popular Categories */
.popular-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
}

.category-card {
    position: relative;
    height: 250px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.category-img {
    width: 100%;
    height: 100%;
}

.category-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.category-card:hover .category-img img {
    transform: scale(1.1);
}

.category-card h3 {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: #fff;
    font-size: 1.8rem;
    transition: all 0.3s ease;
}

.category-card:hover h3 {
    padding-bottom: 3rem;
}

/* Search Section */
.search-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.search-form {
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 4rem;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

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

.form-group label {
    display: block;
    margin-bottom: 1rem;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1.2rem 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    background-color: rgba(255, 255, 255, 0.05);
    color: #fff;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #2A9D8F;
    background-color: rgba(255, 255, 255, 0.1);
}

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

.search-features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

.search-feature {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 2rem;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.search-feature:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateX(10px);
}

.search-feature .feature-icon {
    font-size: 3rem;
    min-width: 6rem;
    height: 6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(42, 157, 143, 0.2);
    border-radius: 50%;
    margin-bottom: 0;
}

.search-feature .feature-text h3 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.search-feature .feature-text p {
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.8);
}

/* Advisor Section */
.advisor-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.advisor-image {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.advisor-text h3 {
    font-size: 2.8rem;
    margin-bottom: 2rem;
    color: #333;
}

.advisor-text p {
    font-size: 1.6rem;
    margin-bottom: 2rem;
    color: #666;
}

.advisor-cta {
    margin-top: 3rem;
    display: flex;
    align-items: center;
    gap: 2rem;
}

.phone-link {
    display: flex;
    align-items: center;
    font-size: 1.8rem;
    font-weight: 500;
    color: #2A9D8F;
}

.phone-link i {
    margin-right: 1rem;
}

/* Achievements Section */
.achievements-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    margin-bottom: 8rem;
}

.stat-item {
    text-align: center;
    padding: 3rem 2rem;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.stat-number {
    font-size: 4.8rem;
    font-weight: 700;
    color: #2A9D8F;
    margin-bottom: 1.5rem;
}

.stat-number span {
    font-size: 2.4rem;
}

.stat-text {
    font-size: 1.6rem;
    color: #666;
}

.testimonials {
    background-color: #fff;
    border-radius: 10px;
    padding: 4rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.testimonials-title {
    font-size: 2.4rem;
    text-align: center;
    margin-bottom: 4rem;
}

.testimonial-slider {
    position: relative;
    overflow: hidden;
}

.testimonial-slide {
    padding: 2rem;
}

.testimonial-content {
    position: relative;
    padding: 3rem;
    background-color: #f9f9f9;
    border-radius: 10px;
}

.testimonial-content::before {
    content: '\201C';
    position: absolute;
    top: 1rem;
    left: 1.5rem;
    font-size: 6rem;
    line-height: 1;
    color: rgba(42, 157, 143, 0.2);
    font-family: serif;
}

.testimonial-text {
    font-size: 1.6rem;
    margin-bottom: 2rem;
    color: #333;
    z-index: 1;
    position: relative;
}

.testimonial-author {
    text-align: right;
}

.author-name {
    font-size: 1.6rem;
    font-weight: 700;
    color: #333;
}

.author-info {
    font-size: 1.4rem;
    color: #666;
}

.testimonial-nav {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 3rem;
}

.prev-btn,
.next-btn {
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    background-color: #2A9D8F;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.prev-btn:hover,
.next-btn:hover {
    background-color: #238a7e;
    transform: scale(1.1);
}

/* Contact Section */
.contact-content {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 5rem;
}

.contact-form {
    background-color: #fff;
    padding: 4rem;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.required {
    color: #e74c3c;
}

.checkbox-container {
    display: flex;
    align-items: center;
    position: relative;
    padding-left: 3.5rem;
    cursor: pointer;
    font-size: 1.4rem;
    user-select: none;
}

.checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 2.5rem;
    width: 2.5rem;
    background-color: #f1f1f1;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.checkbox-container:hover input~.checkmark {
    background-color: #e1e1e1;
}

.checkbox-container input:checked~.checkmark {
    background-color: #2A9D8F;
}

.checkmark:after {
    content: '';
    position: absolute;
    display: none;
}

.checkbox-container input:checked~.checkmark:after {
    display: block;
}

.checkbox-container .checkmark:after {
    left: 0.9rem;
    top: 0.5rem;
    width: 0.7rem;
    height: 1.2rem;
    border: solid white;
    border-width: 0 3px 3px 0;
    transform: rotate(45deg);
}

.checkbox-text {
    color: #666;
}

.checkbox-text a {
    color: #2A9D8F;
    text-decoration: underline;
}

.contact-info {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

.contact-method {
    display: flex;
    gap: 2rem;
    padding: 3rem;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.contact-method:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.method-icon {
    font-size: 2.4rem;
    color: #2A9D8F;
    min-width: 4rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.method-details h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.phone-number,
.email-address,
.company-name {
    font-size: 1.6rem;
    font-weight: 500;
    color: #333;
    margin-bottom: 0.5rem;
}

.operation-hours,
.response-time,
.company-address {
    font-size: 1.4rem;
    color: #666;
}

/* Footer */
.footer {
    background-color: #1a1a1a;
    color: #fff;
    padding: 8rem 0 3rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 5rem;
    margin-bottom: 5rem;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-logo img {
    height: 5rem;
    margin-bottom: 2rem;
}

.footer-tagline {
    font-size: 1.6rem;
    color: rgba(255, 255, 255, 0.7);
}

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

.footer-links-column h3 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: #fff;
}

.footer-links-column ul li {
    margin-bottom: 1rem;
}

.footer-links-column ul li a {
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
}

.footer-links-column ul li a:hover {
    color: #2A9D8F;
    padding-left: 0.5rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.social-links {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
}

.social-links a {
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: #fff;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: #2A9D8F;
    transform: translateY(-5px);
}

.footer-nav {
    margin-bottom: 3rem;
}

.footer-nav ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.footer-nav ul li a {
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.7);
}

.footer-nav ul li a:hover {
    color: #2A9D8F;
}

.copyright {
    text-align: center;
}

.copyright p {
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.5);
}

/* AOS Animation */
[data-aos] {
    opacity: 0;
    transition-property: transform, opacity;
}

[data-aos].aos-animate {
    opacity: 1;
}

[data-aos="fade-up"] {
    transform: translateY(50px);
}

[data-aos="fade-up"].aos-animate {
    transform: translateY(0);
}

[data-aos="zoom-in"] {
    transform: scale(0.8);
}

[data-aos="zoom-in"].aos-animate {
    transform: scale(1);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .hero-title {
        font-size: 5rem;
    }

    .hero-text {
        font-size: 1.8rem;
    }

    .about-content,
    .search-content,
    .advisor-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 5rem;
    }

    .achievements-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    html {
        font-size: 60%;
    }

    .section-padding {
        padding: 8rem 0;
    }

    .main-nav {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .header-cta {
        display: none;
    }

    .about-feature {
        grid-template-columns: 1fr;
    }

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

    .footer-links {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 58%;
    }

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

    .hero-text {
        font-size: 1.6rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 1.5rem;
    }

    .section-header {
        margin-bottom: 4rem;
    }

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

    .form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .section-padding {
        padding: 6rem 0;
    }

    .hero-section {
        min-height: 600px;
    }

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

    .contact-form {
        padding: 3rem;
    }

    .achievements-stats {
        grid-template-columns: 1fr;
    }

    .footer-nav ul {
        flex-direction: column;
        align-items: center;
    }
}