/*
Theme Name: Nadeshiko Theme
Theme URI: https://example.com/nadeshiko
Author: Antigravity
Description: A custom theme recreating the Nadeshiko Co., Ltd. website design.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: nadeshiko
*/

:root {
    --primary-color: #01532d;
    --accent-color: #d35400;
    --text-color: #333;
    --text-light: #666;
    --bg-light: #f9f9f9;
    --white: #ffffff;
    --dark: #2c3e50;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Noto Sans JP', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--white);
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.text-center {
    text-align: center;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 10px 30px;
    border-radius: 50px;
    font-weight: 500;
    cursor: pointer;
    font-size: 1rem;
    border: none;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--accent-color);
}

.btn-outline {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 8px 24px;
    background: transparent;
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-white {
    background-color: var(--white);
    color: var(--primary-color);
    font-weight: bold;
}

.btn-white:hover {
    background-color: #eee;
}

.btn-small {
    font-size: 0.9rem;
    padding: 5px 20px;
    background-color: var(--primary-color);
    color: white;
}

/* Header */
.site-header {
    background-color: #01532d;
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* Admin Bar Compatibility */
body.admin-bar .site-header {
    top: 32px;
}

@media screen and (max-width: 782px) {
    body.admin-bar .site-header {
        top: 46px;
    }
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 a {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    line-height: 1;
}

.sub-logo {
    display: block;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
    letter-spacing: 1px;
}

.custom-logo-link {
    display: block;
    line-height: 0;
    /* Remove extra space below image */
}

.custom-logo {
    max-height: 50px;
    width: auto;
    max-width: 100%;
    /* Ensure it doesn't overflow container */
    display: block;
    height: auto;
    /* Maintain aspect ratio */
}

.main-nav ul {
    display: flex;
    gap: 20px;
    margin: 0;
}

.main-nav a {
    font-size: 0.95rem;
    font-weight: 500;
    color: #fff;
}

.main-nav a:hover {
    color: rgba(255, 255, 255, 0.7);
}

/* Hero Main Visual (d-kyowam style) */
.hero-main-visual {
    display: flex;
    height: calc(100vh - 80px);
    /* 80px is approx header height */
    min-height: 600px;
    background-color: #fff;
    overflow: hidden;
}

/* Left Side Rail */
.hero-side-rail {
    width: 80px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 40px 0;
    border-right: 1px solid #eee;
    background: #fff;
    z-index: 10;
}

.rail-socials {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.rail-socials a {
    font-size: 1.2rem;
    color: var(--primary-color);
}

.rail-scroll {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.rail-scroll span {
    writing-mode: vertical-rl;
    font-size: 0.7rem;
    letter-spacing: 2px;
    font-weight: bold;
    color: #999;
}

.scroll-line {
    position: relative;
    width: 1px;
    height: 60px;
    background: rgba(153, 153, 153, 0.2);
    overflow: hidden;
}

.scroll-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #999;
    animation: scroll-line-move 2s cubic-bezier(0.76, 0, 0.3, 1) infinite;
}

@keyframes scroll-line-move {
    0% {
        transform: scaleY(0);
        transform-origin: top;
    }

    50% {
        transform: scaleY(1);
        transform-origin: top;
    }

    50.1% {
        transform: scaleY(1);
        transform-origin: bottom;
    }

    100% {
        transform: scaleY(0);
        transform-origin: bottom;
    }
}

/* Slider Container */
.hero-slider-container {
    flex: 1;
    position: relative;
}

.nadeshiko-full-swiper {
    width: 100%;
    height: 100%;
}

.full-slide-inner {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 8s ease;
    /* Slow zoom effect potential */
    position: relative;
}

.swiper-slide-active .full-slide-inner {
    transform: scale(1.1);
}

.slide-overlay-vignette {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.4) 100%);
}

/* Progress Bar */
.swiper-progress-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    z-index: 5;
}

.progress-fill {
    height: 100%;
    background: var(--primary-color);
    width: 0;
    transition: width 0.1s linear;
}

/* Overlay Content */
.hero-overlay-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Changed from space-between to center */
    pointer-events: none;
}

.hero-overlay-content * {
    pointer-events: auto;
    /* Enable clicks for text/links */
}

/* Vertical Text */
.vertical-text {
    writing-mode: vertical-rl;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 500;
    color: #fff;
    letter-spacing: 4px;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.vertical-left {
    position: absolute;
    /* Anchor to the left side of the hero visual */
    left: 40px;
}

/* Center Content Container */
.hero-center-copy {
    text-align: left;
    /* Changed from center to left */
    color: #fff;
    max-width: 900px;
}

/* Hero Copy Styles (Modern Variable Approach) */
.hero-center-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    /* Left align */
    justify-content: center;
    text-align: left;
    /* Left align */
    width: 100%;
    z-index: 3;
}

.tagline-en {
    font-family: var(--font-heading);
    font-size: var(--hero-tagline-size, 1.2rem);
    letter-spacing: 5px;
    text-transform: uppercase;
    opacity: 0.9;
    margin-bottom: 5px;
    /* Reduced gap */
    display: block;
}

.main-copy-hr {
    font-size: var(--hero-title-size, 5rem);
    line-height: 0.8;
    /* Tightened line height further */
    font-weight: 700;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    display: block;
    width: 100%;
    white-space: pre-line;
    /* Support for nl2br or manual breaks */
}

@media screen and (max-width: 768px) {
    .hero-center-copy {
        padding: 0 10px;
        align-items: flex-start;
        text-align: left;
    }

    .tagline-en {
        font-size: var(--hero-tagline-size-mobile, 0.8rem);
        margin-bottom: 8px;
        letter-spacing: 1px;
    }

    .main-copy-hr {
        font-size: var(--hero-title-size-mobile, 2.5rem);
        line-height: 1.2;
    }
}

/* Outline Text Effect */
.hero-outline-bg-text {
    position: absolute;
    bottom: 10%;
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--font-heading);
    font-size: 12rem;
    font-weight: 900;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.4);
    z-index: -1;
    white-space: nowrap;
    pointer-events: none;
}

/* Hero CTA Bar (Fixed to Bottom Right) */
.hero-cta-bar {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.hero-cta-bar-link {
    display: flex;
    align-items: center;
    background: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.hero-cta-bar-link:hover {
    transform: translateY(-5px);
}

.cta-label {
    background: var(--primary-color);
    color: #fff;
    padding: 25px 40px;
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: 2px;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
}

.cta-label::after {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: transform 0.6s;
    transform: skewX(-20deg);
}

.hero-cta-bar-link:hover .cta-label::after {
    transform: translateX(200%) skewX(-20deg);
}

.cta-text {
    padding: 0 40px;
    color: var(--text-color);
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 1px;
}

.cta-icon {
    padding: 25px 30px;
    border-left: 1px solid #eee;
    color: var(--primary-color);
    font-size: 1.25rem;
    transition: transform 0.3s;
}

.hero-cta-bar-link:hover .cta-icon {
    transform: translateX(5px);
}

@media (max-width: 768px) {
    .hero-cta-bar {
        bottom: 20px;
        right: 15px;
    }

    .hero-cta-bar-link {
        border-radius: 50px;
        overflow: hidden;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    }

    .cta-label {
        padding: 12px 20px;
        font-size: 0.75rem;
    }

    .cta-text {
        padding: 0 12px;
        font-size: 0.85rem;
        display: none;
        /* Hide long text on mobile to keep it compact if desired, or keep it */
    }

    /* Let's show a shorter text or just the icon on very small screens */
    .cta-text {
        display: block;
        padding: 0 15px;
    }

    .cta-icon {
        padding: 12px 15px;
    }
}

/* Navigation Customization */
.hero-navigation {
    position: absolute;
    bottom: 40px;
    left: 40px;
    z-index: 10;
}

.hero-navigation .swiper-pagination {
    position: static;
    display: flex;
    gap: 15px;
}

.hero-navigation .swiper-pagination-bullet {
    width: 30px;
    height: 2px;
    border-radius: 0;
    background: #fff;
    opacity: 0.5;
    margin: 0 !important;
}

.hero-navigation .swiper-pagination-bullet-active {
    background: var(--primary-color);
    opacity: 1;
}

/* Admin Bar Adjustments */
body.admin-bar .hero-main-visual {
    height: calc(100vh - 80px - 32px);
}

@media screen and (max-width: 782px) {
    body.admin-bar .hero-main-visual {
        height: calc(100vh - 80px - 46px);
    }
}

@media (max-width: 992px) {
    .hero-outline-bg-text {
        font-size: 4rem;
    }
}

@media (max-width: 768px) {
    .hero-side-rail {
        display: none;
    }

    .hero-main-visual {
        height: calc(100vh - 60px);
    }

    .vertical-text {
        display: none;
    }
}


/* Sections */
.section {
    padding: 80px 0;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1.2;
}

@media screen and (max-width: 768px) {
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }
}

.ja-title {
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text-light);
    margin-top: 10px;
    font-weight: normal;
}

.bg-light {
    background-color: var(--bg-light);
}

/* About Section Enhancement */
.section.about {
    background-color: #fcfcfc;
    position: relative;
    overflow: hidden;
    padding: 100px 0 100px;
    border-top: 1px solid rgba(1, 83, 45, 0.05);
}

.section.about::before {
    content: "ABOUT US";
    position: absolute;
    top: 54%;
    left: 45%;
    transform: translate(-50%, -50%);
    font-family: var(--font-heading);
    font-size: 14rem;
    font-weight: 900;
    color: rgba(1, 83, 45, 0.02);
    white-space: nowrap;
    z-index: 0;
    pointer-events: none;
}

@media screen and (max-width: 768px) {
    .section.about::before {
        font-size: 5rem;
        top: 50%;
    }
}

.about-flex {
    display: flex;
    align-items: center;
    gap: 60px;
    position: relative;
    z-index: 2;
}

.about-image {
    flex: 1;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 20px 20px 60px rgba(0, 0, 0, 0.1);
}

.about-image img {
    width: 100%;
    display: block;
    transition: transform 0.5s ease;
}

.about-image:hover img {
    transform: scale(1.05);
}

.about-content {
    flex: 1.2;
}

.about-content .section-title {
    align-items: flex-start;
    margin-bottom: 30px;
}

.about-content .ja-title {
    margin-top: 5px;
}

.about-text {
    font-size: 1.15rem;
    line-height: 2;
    color: #444;
    margin-bottom: 30px;
}

@media screen and (max-width: 768px) {
    .about-text {
        font-size: 1rem;
        line-height: 1.8;
    }
}

.mt-30 {
    margin-top: 30px;
}

@media (max-width: 992px) {
    .about-flex {
        flex-direction: column;
        gap: 40px;
    }

    .about-image {
        width: 100%;
    }

    .about-content .section-title {
        align-items: center;
        text-align: center;
    }

    .about-content {
        text-align: center;
    }
}

/* Business Grid */
.section.business {
    padding-bottom: 120px;
}

.grid-2x2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    row-gap: 60px;
    padding: 0 20px;
    margin-bottom: 60px;
}

.card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
    text-align: center;
    padding-bottom: 20px;
}

.card:hover {
    transform: translateY(-5px);
}

.card-image {
    height: 200px;
    width: 100%;
    background-color: #eee;
    background-size: cover;
    background-position: center;
}

.card-content {
    padding: 20px;
}

.card-content h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.card-content p {
    font-size: 0.9rem;
    margin-bottom: 20px;
    color: var(--text-light);
}

/* Contact */
.contact {
    background-color: var(--primary-color);
    color: var(--white);
}

.contact-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1.2;
}

@media screen and (max-width: 768px) {
    .contact-title {
        font-size: 1.8rem;
    }
}

.contact-title .ja-title {
    color: rgba(255, 255, 255, 0.8);
}

.contact p {
    margin-bottom: 30px;
    font-size: 1.2rem;
}

/* Map Section */
.full-width-map {
    width: 100%;
}

.full-width-map iframe {
    width: 100% !important;
    height: 450px !important;
    border: none !important;
    display: block;
}

/* Footer */
.site-footer {
    background-color: #333;
    color: #fff;
    padding: 40px 0 20px;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.footer-left h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.footer-logo img {
    max-height: 40px;
    width: auto;
    display: block;
    margin-bottom: 5px;
}

.footer-left p {
    font-size: 0.8rem;
    color: #aaa;
}

.footer-info {
    font-size: 0.85rem;
    line-height: 1.6;
    color: #ccc;
}

.footer-address {
    margin-bottom: 5px;
}

.footer-tel {
    font-weight: 500;
}

.mt-20 {
    margin-top: 20px;
}

.footer-right ul {
    display: flex;
    gap: 20px;
    margin: 0;
}

.footer-right a {
    color: #aaa;
    font-size: 0.9rem;
}

.footer-right a:hover {
    color: #fff;
}

.footer-banners {
    margin-top: 25px;
    display: flex;
    justify-content: flex-end;
}

.footer-banner-item {
    display: block;
    max-width: 200px;
    transition: transform 0.3s ease;
}

.footer-banner-item:hover {
    transform: translateY(-3px);
    opacity: 1 !important;
}

.footer-banner-item img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
}

@media (max-width: 991px) {
    .footer-banners {
        justify-content: center;
    }
}

.footer-bottom {
    font-size: 0.8rem;
    color: #777;
    border-top: 1px solid #444;
    padding-top: 20px;
}

@media (max-width: 991px) {

    .site-footer .footer-right ul li a,
    .site-footer .footer-right a {
        font-size: 0.6rem;
    }

    .footer-banner-item {
        max-width: 150px;
    }
}

/* Responsive */
@media (max-width: 991px) {
    .header-container {
        padding: 0 15px;
    }

    /* Menu Toggle Button */
    .menu-toggle {
        display: block;
        width: 30px;
        height: 24px;
        position: relative;
        background: none;
        border: none;
        cursor: pointer;
        z-index: 1002;
    }

    .menu-toggle span {
        display: block;
        position: absolute;
        height: 2px;
        width: 100%;
        background: #fff;
        border-radius: 2px;
        opacity: 1;
        left: 0;
        transform: rotate(0deg);
        transition: .25s ease-in-out;
    }

    .menu-toggle span:nth-child(1) {
        top: 0px;
    }

    .menu-toggle span:nth-child(2) {
        top: 10px;
    }

    .menu-toggle span:nth-child(3) {
        top: 20px;
    }

    .menu-toggle.active span:nth-child(1) {
        top: 10px;
        transform: rotate(135deg);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
        left: -60px;
    }

    .menu-toggle.active span:nth-child(3) {
        top: 10px;
        transform: rotate(-135deg);
    }

    /* Mobile Menu Container */
    .mobile-menu-container {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background-color: var(--primary-color);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: 0.4s ease-in-out;
        z-index: 1001;
        padding: 80px 20px;
    }

    .mobile-menu-container.active {
        right: 0;
    }

    .main-nav ul {
        flex-direction: column;
        align-items: center;
        gap: 30px;
        margin-bottom: 40px;
    }

    .main-nav a {
        font-size: 1.5rem;
    }

    .header-cta {
        width: 100%;
        text-align: center;
    }

    .header-cta .btn {
        width: 100%;
        max-width: 300px;
        padding: 15px 0;
        border-color: #fff !important;
        color: #fff !important;
    }

    /* Hero Section Responsive */
    .hero-main-visual {
        flex-direction: column;
        height: 70vh;
        /* Adjust height for mobile */
        min-height: 480px;
    }

    /* Fixed Button - Sharper Design */
    .hero-cta-bar {
        bottom: 25px;
        right: 20px;
    }

    .hero-cta-bar-link {
        border-radius: 4px;
        /* Sharper edges */
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    }

    .cta-label {
        padding: 12px 15px;
        font-size: 0.8rem;
    }

    .cta-text {
        display: block;
        padding: 0 15px;
        font-size: 0.85rem;
    }

    .cta-icon {
        padding: 12px 15px;
        font-size: 1rem;
    }
}

@media (min-width: 992px) {
    .menu-toggle {
        display: none;
    }

    .mobile-menu-container {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        gap: 30px;
        flex: 1;
    }
}

/* Instagram Section */
.section.instagram {
    padding: 100px 0;
    background-color: #f2f8f5;
    /* Subtle Nadeshiko Green Tint */
    border-top: 1px solid rgba(1, 83, 45, 0.05);
    border-bottom: 1px solid rgba(1, 83, 45, 0.05);
    position: relative;
    overflow: hidden;
}

.section.instagram::before {
    content: "INSTAGRAM";
    position: absolute;
    top: 50px;
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--font-heading);
    font-size: 8rem;
    font-weight: 900;
    color: rgba(1, 83, 45, 0.03);
    white-space: nowrap;
    z-index: 0;
    pointer-events: none;
}

.instagram-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 50px;
    position: relative;
    z-index: 1;
}

@media (max-width: 768px) {
    .instagram-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
}

.instagram-item {
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background-color: #eee;
}

.instagram-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.instagram-item:hover img {
    transform: scale(1.1);
}

.instagram-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    color: var(--white);
    font-size: 1.5rem;
}

.instagram-item:hover .instagram-overlay {
    opacity: 1;
}

.mt-40 {
    margin-top: 40px;
}

.mb-40 {
    margin-bottom: 40px;
}

.mt-80 {
    margin-top: 80px;
}

/* Page Hero */
.page-hero {
    background-color: var(--primary-color);
    padding: 80px 0;
    color: var(--white);
    text-align: center;
}

.page-title {
    font-family: var(--font-heading);
    font-size: 3rem;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1.2;
}

.page-title .ja-title {
    color: rgba(255, 255, 255, 0.8);
}

/* Breadcrumbs */
.breadcrumbs {
    background-color: #f5f5f5;
    padding: 15px 0;
    font-size: 0.85rem;
    color: var(--text-light);
}

.breadcrumbs a {
    color: var(--primary-color);
    text-decoration: none;
}

/* Company Content */
.company-content {
    padding: 100px 0;
}

.page-main-visual img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

/* Profile Table */
.profile-table-wrapper {
    max-width: 900px;
    margin: 40px auto 0;
}

.profile-table {
    width: 100%;
    border-collapse: collapse;
    border-top: 2px solid var(--primary-color);
}

.profile-table th,
.profile-table td {
    padding: 20px;
    border-bottom: 1px solid #eee;
    text-align: left;
}

.profile-table th {
    width: 30%;
    background-color: #fafafa;
    color: #444;
    font-weight: 600;
}

.profile-table td {
    color: #666;
    line-height: 1.8;
}

@media (max-width: 768px) {
    .profile-table th {
        width: 100%;
        display: block;
        padding-bottom: 5px;
    }

    .profile-table td {
        width: 100%;
        display: block;
        padding-top: 5px;
    }
}

/* Contact Page Specific */
.contact-page-content {
    padding: 100px 0;
}

.contact-intro {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.lead-text {
    font-size: 1.25rem;
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 20px;
}

.mb-60 {
    margin-bottom: 60px;
}

/* Contact Form Wrapper */
.contact-form-wrapper {
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}

@media (max-width: 768px) {
    .contact-form-wrapper {
        padding: 20px;
    }
}

/* Generic Form Styles (Matches Contact Form 7 etc.) */
.contact-form-wrapper form p {
    margin-bottom: 25px;
}

.contact-form-wrapper label {
    display: block;
    font-weight: 700;
    margin-bottom: 10px;
    color: #444;
}

.contact-form-wrapper input[type="text"],
.contact-form-wrapper input[type="email"],
.contact-form-wrapper input[type="tel"],
.contact-form-wrapper select,
.contact-form-wrapper textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    background-color: #fcfcfc;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.contact-form-wrapper input:focus,
.contact-form-wrapper textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(1, 83, 45, 0.1);
}

.contact-form-wrapper textarea {
    height: 200px;
}

.contact-form-wrapper input[type="submit"] {
    display: block;
    width: 100%;
    max-width: 300px;
    margin: 40px auto 0;
    padding: 15px 30px;
    background-color: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
}

.contact-form-wrapper input[type="submit"]:hover {
    background-color: #0b6b3d;
    transform: translateY(-2px);
}

/* LINE Contact Section */
.line-contact-wrapper {
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    padding: 60px 40px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}

.line-intro p {
    line-height: 1.8;
    color: #555;
}

.line-qr-code-box {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.qr-image {
    max-width: 200px;
    height: auto;
    border: 1px solid #eee;
    padding: 10px;
    background: #fff;
}

.qr-placeholder {
    width: 200px;
    height: 200px;
    background: #f9f9f9;
    border: 2px dashed #ddd;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #999;
}

.qr-placeholder i {
    font-size: 3rem;
    margin-bottom: 15px;
    color: #06C755;
}

.qr-note {
    font-weight: 700;
    color: #333;
}

.btn-line {
    display: inline-block;
    background-color: #06C755;
    color: #fff;
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
    transition: background-color 0.3s, transform 0.2s;
}

.btn-line i {
    margin-right: 10px;
    font-size: 1.3rem;
    vertical-align: middle;
}

.btn-line:hover {
    background-color: #05b34c;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(6, 199, 85, 0.3);
}

@media (max-width: 768px) {
    .line-contact-wrapper {
        padding: 40px 20px;
    }
}

/* Alternative Contact Cards */
.contact-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    text-align: center;
}

.contact-card {
    background: #fdfdfd;
    padding: 40px;
    border-radius: 12px;
    border: 1px solid #eee;
}

.card-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.contact-card h3 {
    margin-bottom: 15px;
    color: #333;
}

.tel-number {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.tel-note {
    font-size: 0.9rem;
    color: #777;
}

@media (max-width: 768px) {
    .contact-card {
        padding: 30px 20px;
    }
}