@import url('https://fonts.googleapis.com/css2?family=Zen+Maru+Gothic:wght@400;500;700&display=swap');

:root {
    --primary-navy: #1B2B4C;
    --secondary-navy: #2C3E66;
    --accent-pink: #E91E63;
    --light-pink: #FCE4EC;
    --text-main: #333333;
    --bg-body: #F4F7F6;
    --white: #FFFFFF;
}

html {
    scroll-behavior: smooth;
}

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

body {
    font-family: 'Zen Maru Gothic', 'Zen Kaku Gothic New', "Helvetica Neue", Arial, sans-serif;
    color: var(--text-main);
    background-color: var(--bg-body);
    font-size: clamp(0.9375rem, 1vw + 0.7rem, 1.125rem);
    line-height: 1.8;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    line-height: 1.4;
    margin-bottom: 1rem;
}

p {
    font-size: clamp(0.9375rem, 1vw + 0.7rem, 1.125rem);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

/* Header */
.site-header {
    background-color: var(--white);
    padding: 0 1.5rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo img {
    height: 40px;
    width: auto;
    display: block;
}

.global-nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.global-nav a {
    text-decoration: none;
    color: var(--primary-navy);
    font-weight: bold;
    font-size: 1rem;
    transition: color 0.3s;
}

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

/* PC Dropdown */
.global-nav li.has-dropdown {
    position: relative;
}

.global-nav a.dropdown-toggle {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.global-nav .dropdown-icon {
    font-size: 0.7em;
    transition: transform 0.3s;
}

@media (min-width: 769px) {
    .global-nav .dropdown-menu {
        position: absolute;
        top: 100%;
        left: 0;
        background: var(--primary-navy);
        min-width: 200px;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
        opacity: 0;
        visibility: hidden;
        transform: translateY(10px);
        transition: all 0.3s ease;
        flex-direction: column;
        gap: 0;
        border-radius: 4px;
        padding: 0.5rem 0;
        border-top: 3px solid #D4AF37;
        z-index: 100;
        margin-top: 1.5rem;
        list-style: none;
    }

    .global-nav li.has-dropdown::after {
        content: '';
        position: absolute;
        width: 100%;
        height: 1.5rem;
        bottom: -1.5rem;
        left: 0;
    }

    .global-nav li.has-dropdown:hover .dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .global-nav li.has-dropdown:hover .dropdown-icon {
        transform: rotate(180deg);
    }

    .global-nav .dropdown-menu li {
        width: 100%;
    }

    .global-nav .dropdown-menu a {
        display: block;
        padding: 0.8rem 1.5rem;
        font-size: 0.95rem;
        font-weight: bold;
        color: #FFFFFF;
        border-bottom: 1px solid rgba(255, 255, 255, 0.15);
        transition: all 0.2s ease;
    }

    .global-nav .dropdown-menu li:last-child a {
        border-bottom: none;
    }

    .global-nav .dropdown-menu a:hover {
        background-color: var(--secondary-navy);
        color: #D4AF37;
        padding-left: 1.8rem;
    }
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.menu-toggle span {
    display: block;
    width: 28px;
    height: 3px;
    background-color: var(--primary-navy);
    margin: 6px 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
    border-radius: 2px;
}

/* Footer */
.site-footer {
    background-color: var(--primary-navy);
    color: var(--white);
    padding: 4rem 1.5rem 1.5rem;
    margin-top: 4rem;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 2.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    padding-bottom: 2.5rem;
    margin-bottom: 2rem;
}

.footer-company-info {
    flex: 0 0 350px;
}

.footer-company-info h3 {
    font-size: 1.2rem;
    margin-bottom: 1.2rem;
    letter-spacing: 0.05em;
    color: var(--white);
}

.footer-company-info p {
    font-size: 0.95rem;
    line-height: 1.8;
    color: #CBD5E1;
}

.footer-links {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    gap: 3rem;
    flex-wrap: wrap;
}

.footer-links ul {
    list-style: none;
    min-width: 160px;
}

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

.footer-links a {
    color: #CBD5E1;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--white);
    text-decoration: underline;
}

.footer-copyright {
    text-align: center;
    font-size: 0.85rem;
    color: #94A3B8;
}

/* Responsive Header/Footer */
@media (max-width: 768px) {
    .header-inner {
        height: 70px;
    }

    .logo img {
        height: 35px;
    }

    .menu-toggle {
        display: block;
        z-index: 1001;
        /* メニュー本体より上に配置 */
    }

    /* スマホメニュー用オーバーレイ */
    .menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: #000;
        z-index: 999;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        backdrop-filter: blur(5px);
        -webkit-backdrop-filter: blur(5px);
    }

    .menu-overlay.is-active {
        opacity: 0.5;
        visibility: visible;
    }

    .global-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background-color: var(--white);
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        padding-top: 80px;
        transition: all 0.3s ease;
        z-index: 1000;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .global-nav.is-active {
        right: 0;
    }

    .global-nav ul {
        flex-direction: column;
        gap: 0;
    }

    .global-nav li {
        border-bottom: 1px solid #F1F5F9;
    }

    .global-nav a {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 1.5rem 1.5rem;
        /* パディングを増やしてタップしやすく */
        font-size: 1.1rem;
    }

    /* スマホ用 ドロップダウン */
    .global-nav .dropdown-menu {
        display: none;
        background-color: var(--primary-navy);
        padding: 0;
        margin: 0;
        flex-direction: column;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .global-nav li.has-dropdown.is-open .dropdown-menu {
        display: flex;
    }

    .global-nav li.has-dropdown.is-open .dropdown-icon {
        transform: rotate(180deg);
    }

    .global-nav .dropdown-menu a {
        padding: 1.2rem 1.5rem 1.2rem 3rem;
        /* サブメニューも高さを確保 */
        font-size: 0.95rem;
        font-weight: normal;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        justify-content: flex-start;
        color: #FFFFFF;
    }

    .global-nav .dropdown-menu li:last-child a {
        border-bottom: none;
    }

    .menu-toggle.is-active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    .menu-toggle.is-active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.is-active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    /* --- スマホフッター調整：ここから --- */
    .site-footer {
        padding: 3rem 1.5rem 1.5rem;
    }

    .footer-inner {
        flex-direction: column;
        gap: 1.5rem;
        /* セクション間の隙間を詰める */
    }

    .footer-company-info {
        flex: none;
        /* 固定幅350pxを解除 */
        width: 100%;
    }

    .footer-company-info h3 {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
        /* 会社名の下の余白を詰める */
    }

    .footer-company-info p {
        font-size: 0.85rem;
        line-height: 1.6;
        margin-bottom: 0.5rem;
        /* 許可番号の下の余白を詰める */
    }

    .footer-links {
        flex-direction: column;
        gap: 1.2rem;
        /* リンクブロック間の隙間を詰める */
        align-items: flex-start;
        /* リンクを左寄せ */
        justify-content: flex-start;
    }

    .footer-links ul {
        min-width: 100%;
    }

    .footer-links li {
        margin-bottom: 0.6rem;
        /* 各リンク行の余白を詰める */
    }

    .footer-links a {
        font-size: 0.95rem;
    }

    /* --- スマホフッター調整：ここまで --- */
}

/* ==========================================================
   Auto Contact Form (Blog Footer)
   ========================================================== */
.auto-contact-form {
    max-width: 800px;
    margin: 3rem auto 5rem;
    background-color: var(--bg-body);
    border: 3px solid var(--white);
    padding: 3.5rem 3rem;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.contact-form-inner {
    max-width: 600px;
    margin: 0 auto;
}

.contact-form-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.contact-form-header p {
    font-size: 1.15rem;
    color: var(--primary-navy);
    font-weight: bold;
    line-height: 1.6;
}

.contact-form .form-group {
    margin-bottom: 1.5rem;
}

.contact-form label {
    display: flex;
    align-items: center;
    font-weight: bold;
    color: var(--secondary-navy);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.contact-form .required {
    background-color: var(--accent-pink);
    color: var(--white);
    font-size: 0.75rem;
    padding: 2px 8px;
    border-radius: 4px;
    margin-left: 10px;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 14px 15px;
    border: 1px solid #CBD5E1;
    border-radius: 6px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
    background-color: var(--white);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--accent-pink);
}

.contact-form textarea {
    resize: vertical;
}

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

.contact-form .btn-submit {
    background-color: var(--accent-pink);
    color: var(--white);
    font-size: 1.1rem;
    font-weight: bold;
    padding: 16px 40px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    width: 100%;
    max-width: 350px;
    box-shadow: 0 4px 12px rgba(233, 30, 99, 0.3);
}

.contact-form .btn-submit:hover {
    background-color: #D81B60;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(233, 30, 99, 0.4);
}

.hp-field {
    display: none !important;
}

.form-success-msg {
    text-align: center;
    background-color: var(--light-pink);
    border: 2px solid var(--accent-pink);
    color: var(--primary-navy);
    padding: 2.5rem 2rem;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: bold;
    line-height: 1.8;
}

/* ==========================================================
   Submit Success Modal Styles
   ========================================================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.modal-content {
    background: var(--white);
    padding: 3rem 2rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    text-align: center;
    max-width: 500px;
    width: 90%;
    animation: modalFadeIn 0.3s ease-out;
}

.modal-icon svg {
    width: 80px;
    height: 80px;
    margin-bottom: 1.5rem;
}

.modal-title {
    color: var(--primary-navy);
    font-size: 1.6rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.modal-text {
    font-size: 1rem;
    color: var(--text-main);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.modal-btn {
    display: inline-block;
    background-color: var(--primary-navy);
    color: var(--white);
    text-decoration: none;
    padding: 14px 40px;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.1rem;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.modal-btn:hover {
    background-color: var(--accent-pink);
    color: var(--white);
    transform: translateY(-2px);
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

@media (max-width: 768px) {
    .auto-contact-form {
        margin: 2rem 1rem 4rem;
        padding: 2.5rem 1.5rem;
    }

    .contact-form-header p {
        font-size: 1rem;
    }

    .contact-form .btn-submit {
        max-width: 100%;
    }

    .modal-content {
        padding: 2.5rem 1.5rem;
    }

    .modal-title {
        font-size: 1.4rem;
    }

    .modal-btn {
        padding: 12px 30px;
        font-size: 1rem;
    }
}

/* ==========================================================
   Blog Post List (Horizontal Layout)
   ========================================================== */
.article-list-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 3rem 1.5rem;
}

.page-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.page-header h1 {
    color: var(--primary-navy);
    font-size: 2rem;
    position: relative;
    display: inline-block;
}

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

.filter-container {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-bottom: 3rem;
}

.filter-btn {
    background-color: var(--white);
    border: 2px solid var(--primary-navy);
    color: var(--primary-navy);
    padding: 8px 20px;
    border-radius: 30px;
    cursor: pointer;
    font-weight: bold;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.filter-btn:hover {
    background-color: var(--light-pink);
    border-color: var(--accent-pink);
    color: var(--accent-pink);
    transform: translateY(-2px);
}

.filter-btn.active {
    background-color: var(--primary-navy);
    border-color: var(--primary-navy);
    color: var(--white);
    box-shadow: 0 4px 10px rgba(27, 43, 76, 0.2);
}

.no-articles {
    text-align: center;
    width: 100%;
    padding: 3rem;
    color: #666666;
    font-size: 1.1rem;
}

.post-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.post-item {
    display: flex;
    align-items: center;
    background-color: var(--white);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.post-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.post-img-wrapper {
    flex-shrink: 0;
    width: 160px;
    height: 160px;
    border-radius: 8px;
    overflow: hidden;
    margin-right: 2rem;
    background-color: #E2E8F0;
}

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

.post-item:hover .post-img {
    transform: scale(1.05);
}

.post-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.post-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.8rem;
    flex-wrap: wrap;
}

.post-category {
    background-color: var(--light-pink);
    color: var(--accent-pink);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: bold;
}

.post-date {
    color: #666666;
    font-size: 0.9rem;
    font-weight: 500;
}

.post-title {
    font-size: 1.25rem;
    font-weight: bold;
    color: var(--primary-navy);
    line-height: 1.5;
    margin-bottom: 0.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@media (max-width: 768px) {
    .article-list-container {
        padding: 2rem 1.2rem;
    }

    .page-header h1 {
        font-size: 1.6rem;
    }

    .post-item {
        flex-direction: row;
        align-items: center;
        padding: 1rem;
    }

    .post-img-wrapper {
        width: 100px;
        height: 100px;
        margin-right: 1rem;
    }

    .post-meta {
        gap: 0.5rem;
        margin-bottom: 0.5rem;
    }

    .post-category {
        padding: 2px 8px;
        font-size: 0.75rem;
    }

    .post-date {
        font-size: 0.8rem;
    }

    .post-title {
        font-size: 1rem;
    }
}

/* ==========================================================
   Campaign LP Styles (Spring 2026)
   ========================================================== */
.campaign-page {
    font-family: 'Zen Maru Gothic', "Helvetica Neue", Arial, sans-serif;
    color: var(--text-main);
    background-color: #FFF0F5;
    line-height: 1.8;
}

.campaign-header {
    background: #FFF;
    padding: 10px 0;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.campaign-header-logo {
    height: 40px;
}

.lp-section {
    padding: 4rem 1.5rem;
    max-width: 800px;
    margin: 0 auto;
}

.bg-white {
    background-color: #FFF;
    border-radius: 12px;
}

.bg-beige {
    background-color: #FDFBF7;
}

.bg-mint {
    background-color: #E0F2F1;
}

.bg-yellow {
    background-color: #FFF9C4;
}

/* 1. Hero Section */
.lp-hero {
    position: relative;
    padding: 2rem 1.5rem 4rem;
    background: #fdf5e6;
    text-align: center;
}

.lp-hero-inner {
    max-width: 1000px !important;
    margin: 0 auto !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.lp-hero-bg {
    width: 100%;
}

.lp-hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    max-height: 80vh;
}

.hero-image {
    width: 100% !important;
    height: auto !important;
    max-height: 500px !important;
    object-fit: contain !important;
    display: block !important;
    margin: 0 auto !important;
}

.lp-hero-content {
    width: 100%;
    max-width: 800px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    z-index: 2;
}

.lp-hero-badge {
    display: inline-block;
    background: var(--primary-navy);
    color: #FFF;
    padding: 6px 16px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.lp-hero h1 {
    font-size: 2.2rem;
    color: var(--primary-navy);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.lp-hero-lead {
    font-size: 1.2rem;
    color: var(--accent-pink);
    font-weight: bold;
}

/* General Content */
.lp-title {
    text-align: center;
    color: var(--primary-navy);
    font-size: 1.8rem;
    margin-bottom: 2rem;
    position: relative;
    font-weight: bold;
}

.lp-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--accent-pink);
    margin: 15px auto 0;
    border-radius: 2px;
}

.lp-lead-text {
    text-align: center;
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
}

.lp-card-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 600px) {
    .lp-card-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.lp-card {
    background: #FFF;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border-top: 5px solid var(--accent-pink);
}

.lp-card-num {
    display: inline-block;
    width: 30px;
    height: 30px;
    line-height: 30px;
    background: var(--light-pink);
    color: var(--accent-pink);
    border-radius: 50%;
    text-align: center;
    font-weight: bold;
    margin-bottom: 10px;
}

.lp-card h3 {
    font-size: 1.15rem;
    color: var(--primary-navy);
    margin-bottom: 10px;
}

/* Service / Conversational UI */
.lp-service-card {
    background: #FFF;
    border-radius: 20px;
    padding: 2.5rem 2rem;
    margin-bottom: 3rem;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
}

.lp-service-badge {
    background: #FDFBF7;
    color: var(--text-main);
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: bold;
    display: inline-block;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.lp-service-head {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 1.5rem;
    background: #F9F9F9;
    padding: 15px;
    border-radius: 12px;
}

.lp-num {
    background: #C8E6C9;
    color: #E91E63;
    width: 45px;
    height: 45px;
    line-height: 45px;
    text-align: center;
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: bold;
    flex-shrink: 0;
}

.lp-service-head h3 {
    font-size: 1.25rem;
    color: #000;
}

.lp-service-text {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.lp-bubble-wrap {
    display: flex;
    align-items: flex-end;
    gap: 15px;
    margin-top: 1.5rem;
}

.lp-char-img {
    width: 80px;
    flex-shrink: 0;
    text-align: center;
}

.lp-bubble {
    background: #FFF;
    border: 2px solid #F1F1F1;
    border-radius: 16px;
    padding: 1.5rem;
    position: relative;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    flex-grow: 1;
}

.lp-bubble::before {
    content: '';
    position: absolute;
    left: -12px;
    bottom: 20px;
    border-width: 12px 12px 12px 0;
    border-style: solid;
    border-color: transparent #F1F1F1 transparent transparent;
}

.lp-bubble::after {
    content: '';
    position: absolute;
    left: -9px;
    bottom: 21px;
    border-width: 10px 10px 10px 0;
    border-style: solid;
    border-color: transparent #FFF transparent transparent;
}

.lp-bubble p {
    font-size: 1rem;
    margin-bottom: 0;
}

.lp-bubble-wrap.row-reverse {
    flex-direction: row-reverse;
}

.lp-bubble-wrap.row-reverse .lp-bubble::before {
    left: auto;
    right: -12px;
    border-width: 12px 0 12px 12px;
    border-color: transparent transparent transparent #F1F1F1;
}

.lp-bubble-wrap.row-reverse .lp-bubble::after {
    left: auto;
    right: -9px;
    bottom: 21px;
    border-width: 10px 0 10px 10px;
    border-color: transparent transparent transparent #FFF;
}

.lp-char-name {
    display: block;
    text-align: center;
    font-size: 0.85rem;
    color: #666;
    margin-top: 8px;
}

.lp-service-card.bg-yellow-card {
    background-color: #FFF9C4;
    border: 3px solid #FFF59D;
    text-align: center;
}

.lp-service-card.bg-yellow-card h3 {
    font-size: 1.4rem;
    color: var(--primary-navy);
    margin-bottom: 1.5rem;
}

/* Campaign Area */
.lp-campaign-box {
    background: #FFF;
    border-radius: 20px;
    padding: 3rem 2rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.lp-campaign-top {
    font-weight: bold;
    color: var(--accent-pink);
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.lp-campaign-dept {
    color: #607D8B;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.lp-campaign-title {
    font-size: 2rem;
    color: #333;
    margin-bottom: 2rem;
}

.lp-campaign-period {
    border: 2px solid #EEE;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    display: inline-block;
    min-width: 80%;
}

.lp-period-dates {
    font-size: 1.8rem;
    font-weight: bold;
    color: #333;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-top: 10px;
}

.lp-arrow {
    color: #90A4AE;
    font-size: 1.5rem;
}

.lp-present-text {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.lp-present-text strong {
    font-size: 1.5rem;
}

.lp-present-note {
    font-size: 0.85rem;
    color: #666;
}

/* LP CTA Button */
.lp-cta-wrap {
    text-align: center;
    margin-top: 2rem;
}

.lp-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-pink);
    color: #FFF !important;
    text-decoration: none;
    font-size: 1.3rem;
    font-weight: bold;
    padding: 18px 45px;
    border-radius: 50px;
    box-shadow: 0 6px 20px rgba(233, 30, 99, 0.4);
    transition: all 0.3s ease;
}

.lp-cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(233, 30, 99, 0.5);
    background: #D81B60;
}

@media (max-width: 768px) {
    .lp-section {
        padding: 3rem 1rem;
    }

    .lp-hero h1 {
        font-size: 1.8rem;
    }

    .lp-title {
        font-size: 1.5rem;
    }

    .lp-service-card {
        padding: 1.5rem;
    }

    .lp-service-head {
        flex-direction: column;
        text-align: center;
    }

    .lp-bubble-wrap {
        flex-direction: column;
        align-items: center;
    }

    .lp-bubble::before,
    .lp-bubble::after {
        display: none;
    }

    .lp-bubble-wrap.row-reverse .lp-bubble::before,
    .lp-bubble-wrap.row-reverse .lp-bubble::after {
        display: none;
    }

    .lp-period-dates {
        flex-direction: column;
        gap: 5px;
        font-size: 1.5rem;
    }

    .lp-cta-btn {
        font-size: 1.1rem;
        padding: 15px 30px;
        width: 100%;
        box-sizing: border-box;
    }
}

/* === トップへ戻るボタン === */
.page-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: var(--primary-navy);
    border: none;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, background-color 0.3s ease;
}

.page-top-btn.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.page-top-btn:hover {
    background-color: var(--accent-pink);
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(233, 30, 99, 0.4);
}

.page-top-btn svg {
    width: 28px;
    height: 28px;
    transition: transform 0.3s ease;
}

@media (max-width: 768px) {
    .page-top-btn {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }

    .page-top-btn svg {
        width: 24px;
        height: 24px;
    }
}

/* ==========================================================
   会社概要ページ専用スタイル (company.html)
   ========================================================== */

.company-section {
    max-width: 1000px;
    margin: 0 auto;
    padding: 4rem 1.5rem;
}

.section-title {
    text-align: center;
    color: var(--primary-navy);
    font-size: 1.8rem;
    margin-bottom: 3rem;
    position: relative;
    font-weight: bold;
}

.section-title::after {
    content: '';
    display: block;
    width: 40px;
    height: 3px;
    background: var(--accent-pink);
    margin: 15px auto 0;
    border-radius: 2px;
}

.company-hero-overlay {
    position: relative;
    width: 100%;
    height: 75vh;
    min-height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    background-color: var(--primary-navy);
}

.company-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding-bottom: 120px; /* スクロールアイコンとの重複防止 */
}

.company-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.company-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
}

.company-hero-overlay::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(27, 43, 76, 0.4);
    z-index: 2;
}

.company-hero-content {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: 900px;
    padding: 2rem 1.5rem;
    text-align: center;
    color: #fff;
}

.hero-main-title {
    font-size: 2.2rem;
    margin-bottom: 2rem;
    font-family: 'Zen Maru Gothic', sans-serif;
    letter-spacing: 2px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.about-us-text-area {
    margin-bottom: 5rem;
    line-height: 2;
    font-size: 1.05rem;
    color: #444;
}

.about-us-text-area p {
    margin-bottom: 1.5rem;
}

.about-us-text-area p:last-child {
    margin-bottom: 0;
}

.greeting-area {
    background: #fff;
    padding: 3rem 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 5rem;
}

.greeting-text-area {
    margin-bottom: 3rem;
    line-height: 2.2;
    font-size: 1.05rem;
    color: #444;
}

.greeting-text-area p {
    margin-bottom: 1.5rem;
}

.greeting-text-area p:last-child {
    margin-bottom: 0;
}

.greeting-lead {
    text-align: center;
    font-size: 1.25rem;
    font-weight: bold;
    color: var(--primary-navy);
    margin-bottom: 2.5rem !important;
    letter-spacing: 0.05em;
}

.greeting-image-wrap {
    text-align: center;
    margin: 0 auto;
    max-width: 800px;
}

.greeting-image-wrap img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

.profile-area {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    margin-bottom: 4rem;
}

.company-table-wrap {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    width: 100%;
}

.company-table {
    width: 100%;
    border-collapse: collapse;
}

.company-table th,
.company-table td {
    padding: 1.5rem;
    border-bottom: 1px solid #eee;
    text-align: left;
    vertical-align: top;
}

.company-table th {
    width: 25%;
    background-color: #fcfcfc;
    color: var(--primary-navy);
    font-weight: bold;
    white-space: nowrap;
}

.company-table td {
    color: #555;
    line-height: 1.6;
}

.company-table tr:last-child th,
.company-table tr:last-child td {
    border-bottom: none;
}

.company-list {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.company-list li {
    margin-bottom: 0.8rem;
    padding-left: 1.2rem;
    position: relative;
    line-height: 1.6;
}

.company-list li::before {
    content: "ー";
    position: absolute;
    left: 0;
    color: var(--primary-navy);
}

.profile-image-wrap {
    text-align: center;
    display: flex;
    justify-content: center;
}

.office-frame {
    position: relative;
    display: inline-block;
    padding: 12px;
    background-color: var(--white);
    border: 2px solid rgba(27, 43, 76, 0.15);
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    max-width: 800px;
    width: 100%;
    box-sizing: border-box;
}

.office-frame img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
    display: block;
}

.office-tooltip {
    position: absolute;
    top: 25%;
    left: 15%;
    background-color: var(--accent-pink);
    color: var(--white);
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: bold;
    box-shadow: 0 4px 12px rgba(233, 30, 99, 0.4);
    z-index: 2;
    animation: bounceTooltip 2.5s infinite ease-in-out;
}

.office-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 24px;
    border-width: 10px;
    border-style: solid;
    border-color: var(--accent-pink) transparent transparent transparent;
}

@keyframes bounceTooltip {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

@media (max-width: 768px) {
    .office-frame {
        padding: 8px;
        border-radius: 12px;
    }

    .office-tooltip {
        top: 20%;
        left: 5%;
        font-size: 0.85rem;
        padding: 8px 16px;
    }

    .office-tooltip::after {
        border-width: 8px;
        left: 20px;
    }
}

.map-wrap {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.map-wrap iframe {
    display: block;
    width: 100%;
    height: 400px;
    border: 0;
}

@media (max-width: 768px) {
    .company-hero-overlay {
        height: 75vh;
        min-height: 450px;
        padding-top: 3rem;
    }

    .about-us-text-area {
        margin-bottom: 3rem;
    }

    .company-table th,
    .company-table td {
        display: block;
        width: 100%;
    }

    .company-table th {
        border-bottom: none;
        padding-bottom: 0.5rem;
        background-color: transparent;
    }

    .company-table td {
        padding-top: 0;
        padding-bottom: 1.5rem;
    }

    .greeting-area {
        padding: 2rem 1.5rem;
    }

    .greeting-text-area {
        line-height: 2;
        font-size: 0.95rem;
        margin-bottom: 2.5rem;
    }

    .greeting-lead {
        font-size: 1.15rem;
    }

    .greeting-image-wrap {
        max-width: 320px;
    }
}

/* ==========================================================
   アクセス・案内ブロック
   ========================================================== */
.access-container {
    background-color: #fdf5e6;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    padding: 3rem 2.5rem;
    margin-bottom: 2rem;
}

.access-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.access-header h3 {
    color: var(--primary-navy);
    font-size: 1.6rem;
    font-weight: bold;
    line-height: 1.5;
}

.access-header h3 span {
    font-size: 1.2rem;
    color: var(--accent-pink);
    display: block;
    margin-top: 0.5rem;
}

.sp-only {
    display: none;
}

.access-content {
    display: flex;
    gap: 3rem;
    align-items: center;
}

.access-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.access-info .map-wrap iframe {
    height: 300px;
}

.access-address-box {
    background-color: var(--white);
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--accent-pink);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.access-address {
    font-size: 1.05rem;
    font-weight: bold;
    color: var(--text-main);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.access-notes {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.access-notes li {
    font-size: 0.95rem;
    color: #555;
    position: relative;
    padding-left: 1.2rem;
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.access-notes li::before {
    content: "※";
    position: absolute;
    left: 0;
    color: var(--accent-pink);
}

.access-image-area {
    width: 380px;
    flex-shrink: 0;
    text-align: center;
}

.office-frame-sm {
    max-width: 100%;
    margin: 0;
}

@media (max-width: 768px) {
    .access-container {
        padding: 2.5rem 1.5rem;
    }

    .access-header h3 {
        font-size: 1.35rem;
    }

    .access-header h3 span {
        font-size: 1.1rem;
        display: inline;
    }

    .sp-only {
        display: block;
    }
    .pc-only {
        display: none !important;
    }

    .access-content {
        flex-direction: column;
        gap: 2.5rem;
    }

    .access-image-area {
        width: 100%;
        max-width: 350px;
        margin: 0 auto;
    }

    .access-info .map-wrap iframe {
        height: 250px;
    }
}

/* ==========================================================
   不動産事業部 ポータルページ (real-estate.html)
   ========================================================== */

.re-section {
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem 1.5rem 5rem;
}

.re-hero-overlay {
    min-height: 45vh;
}

.re-strengths {
    margin: 2rem 0 5rem;
}

.re-strengths-lead {
    text-align: center;
    font-size: 1.35rem;
    color: var(--primary-navy);
    font-weight: bold;
    margin-bottom: 3rem;
    line-height: 1.6;
}

.re-strength-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.re-strength-box {
    background: #fff;
    border-radius: 12px;
    padding: 2.5rem 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border-top: 5px solid var(--accent-pink);
    text-align: center;
}

.re-strength-img {
    width: 140px;
    height: 140px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
    border: 3px solid rgba(212, 175, 55, 0.2);
    background: #fdfcf9;
}

.re-strength-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.text-gold {
    color: #B5952F;
    font-weight: 800;
}

.re-strength-box h3 {
    font-size: 1.15rem;
    color: var(--primary-navy);
    margin-bottom: 1.2rem;
    font-weight: bold;
}

.re-strength-box p {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.7;
    text-align: left;
}

.re-nav-banners {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 6rem;
}

.re-banner-btn {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, var(--primary-navy), var(--secondary-navy));
    color: var(--white);
    text-decoration: none;
    padding: 2.5rem 3rem;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(27, 43, 76, 0.2);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.re-banner-btn.buy-sell {
    background: linear-gradient(135deg, #1B2B4C, #3F51B5);
}

.re-banner-btn.rent {
    background: linear-gradient(135deg, #FF9800, #F57C00);
}

.re-banner-btn.business {
    background: linear-gradient(135deg, #4CAF50, #388E3C);
}

.re-banner-btn:not(.is-coming-soon):hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
}

.re-banner-content {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.re-banner-sub {
    font-size: 1.05rem;
    font-weight: bold;
    opacity: 0.95;
    letter-spacing: 0.05em;
}

.re-banner-main {
    font-size: 2.2rem;
    font-weight: bold;
    font-family: 'Zen Maru Gothic', sans-serif;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.re-banner-main small {
    font-size: 1.2rem;
    font-family: "Helvetica Neue", Arial, sans-serif;
    font-weight: normal;
    opacity: 0.8;
    margin-left: 0.5rem;
}

.re-banner-arrow {
    font-size: 2.5rem;
    font-weight: bold;
    opacity: 0.8;
}

.re-banner-btn.is-coming-soon {
    filter: none;
    background: linear-gradient(135deg, #78909c, #607d8b);
    cursor: default;
    opacity: 0.7;
    position: relative;
    overflow: hidden;
}

.re-banner-btn.is-coming-soon .re-banner-content {
    opacity: 0.5;
}

.re-banner-badge {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.65);
    color: #fff;
    padding: 12px 28px;
    border-radius: 4px;
    font-weight: bold;
    font-size: 1.3rem;
    letter-spacing: 0.1em;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    white-space: nowrap;
}

.re-property-list-sec {
    margin-bottom: 4rem;
}

.re-property-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
}

.re-property-card {
    display: flex;
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
    border: 1px solid #eee;
}

.re-property-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.re-property-img {
    width: 45%;
    position: relative;
    flex-shrink: 0;
}

.re-property-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.re-property-tag {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--accent-pink);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: bold;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    z-index: 2;
}

.re-property-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, #D4AF37 0%, #B5952F 100%);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: bold;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    z-index: 2;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.re-property-info {
    padding: 2.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.re-property-title {
    font-size: 1.6rem;
    color: var(--primary-navy);
    margin-bottom: 0.8rem;
    font-weight: bold;
}

.re-property-catch {
    font-size: 1.1rem;
    color: var(--accent-pink);
    font-weight: bold;
    margin-bottom: 2rem;
}

.re-property-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 2.5rem;
}

.re-property-table th,
.re-property-table td {
    padding: 12px 0;
    border-bottom: 1px dashed #ddd;
    text-align: left;
    font-size: 1rem;
}

.re-property-table th {
    width: 30%;
    color: #666;
    font-weight: normal;
}

.re-property-table td.price {
    font-size: 1.6rem;
    font-weight: bold;
    color: #E53935;
}

.re-property-btn-wrap {
    margin-top: auto;
    text-align: right;
}

.re-btn-detail {
    display: inline-block;
    background: var(--primary-navy);
    color: var(--white) !important;
    text-decoration: none;
    padding: 14px 40px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(27, 43, 76, 0.3);
}

.re-btn-detail:hover {
    background: var(--accent-pink);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(233, 30, 99, 0.4);
}

@media (max-width: 768px) {
    .re-section {
        padding: 3rem 1rem 5rem;
    }

    .re-hero-overlay {
        min-height: 30vh;
    }

    .re-strengths-lead {
        font-size: 1.1rem;
    }

    .re-strength-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .re-banner-btn {
        padding: 1.8rem 1.5rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }

    .re-banner-main {
        font-size: 1.8rem;
    }

    .re-banner-sub {
        font-size: 0.95rem;
    }

    .re-banner-arrow {
        align-self: flex-end;
        position: absolute;
        bottom: 1.8rem;
        right: 1.5rem;
    }

    .re-banner-badge {
        align-self: flex-start;
    }

    .re-property-card {
        flex-direction: column;
    }

    .re-property-img {
        width: 100%;
        height: 250px;
    }

    .re-property-info {
        padding: 1.5rem;
    }

    .re-property-btn-wrap {
        text-align: center;
        margin-top: 1rem;
    }

    .re-btn-detail {
        width: 100%;
        box-sizing: border-box;
    }
}

/* ==========================================================
   Contact Page Styles
   ========================================================== */
.contact-hero {
    position: relative;
    height: 75vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url('renovation/renovation-img/contact-hero.jpg') center/cover no-repeat;
    text-align: center;
    color: #FFFFFF;
    overflow: hidden;
}

.contact-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-color: rgba(27, 43, 76, 0.7);
    /* primary-navy overlay */
}

.contact-hero-content {
    position: relative;
    z-index: 2;
    padding: 0 1.5rem 120px; /* スクロールアイコンとの重複防止 */
}

.contact-hero-title {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
    letter-spacing: 0.1em;
}

.contact-hero-lead {
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

.contact-methods-section {
    padding: 4rem 1.5rem 2rem;
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.contact-methods-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2.5rem;
}

.method-card {
    background: #FFFFFF;
    border: 2px solid #E2E8F0;
    border-radius: 12px;
    padding: 2.5rem 2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.method-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-navy);
}

.method-card-title {
    font-size: 1.3rem;
    color: var(--primary-navy);
    font-weight: bold;
    margin-bottom: 1rem;
}

.method-card-desc {
    color: #475569;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.method-tel {
    display: block;
    font-size: 2rem;
    color: var(--primary-navy);
    font-weight: bold;
    text-decoration: none;
    margin-bottom: 0.5rem;
    letter-spacing: 0.05em;
}

.method-tel-hours {
    font-size: 0.9rem;
    color: #64748b;
}

.method-btn {
    display: inline-block;
    background: var(--primary-navy);
    color: #FFFFFF;
    text-decoration: none;
    padding: 14px 35px;
    border-radius: 50px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.method-btn:hover {
    background: var(--accent-pink);
    color: #FFFFFF;
}

.contact-form-section {
    padding: 2rem 1.5rem 5rem;
    max-width: 800px;
    margin: 0 auto;
}

.contact-form-section h2 {
    text-align: center;
    color: var(--primary-navy);
    font-size: 1.8rem;
    margin-bottom: 3rem;
}

.main-contact-form {
    background: var(--bg-body, #F8FAFC);
    padding: 3rem;
    border-radius: 12px;
    border: 3px solid #FFFFFF;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.main-contact-form .form-group {
    margin-bottom: 2.2rem;
}

.main-contact-form label {
    display: flex;
    align-items: center;
    font-size: 1.05rem;
    font-weight: bold;
    color: var(--secondary-navy);
    margin-bottom: 0.8rem;
}

.main-contact-form .required {
    background: var(--accent-pink, #E91E63);
    color: #FFFFFF;
    font-size: 0.8rem;
    padding: 3px 10px;
    border-radius: 4px;
    margin-left: 12px;
}

.main-contact-form input[type="text"],
.main-contact-form input[type="email"],
.main-contact-form input[type="tel"],
.main-contact-form select,
.main-contact-form textarea {
    width: 100%;
    padding: 18px 20px;
    border: 1px solid #CBD5E1;
    border-radius: 8px;
    font-size: 1.1rem;
    font-family: inherit;
    background: #FFFFFF;
    transition: border-color 0.3s, box-shadow 0.3s;
    box-sizing: border-box;
}

.main-contact-form input:focus,
.main-contact-form select:focus,
.main-contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-navy);
    box-shadow: 0 0 0 3px rgba(27, 43, 76, 0.1);
}

.main-contact-form textarea {
    min-height: 180px;
    resize: vertical;
}

.privacy-policy-wrap {
    text-align: center;
    margin: 2.5rem 0;
}

.privacy-policy-label {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    font-size: 1rem;
    color: #334155;
    justify-content: center;
}

.privacy-policy-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-right: 12px;
    cursor: pointer;
}

.privacy-policy-link {
    color: var(--primary-navy);
    text-decoration: underline;
    font-weight: bold;
}

.privacy-policy-link:hover {
    text-decoration: none;
}

.main-contact-form .btn-submit {
    display: block;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    background: linear-gradient(135deg, var(--primary-navy), var(--secondary-navy));
    color: #FFFFFF;
    font-size: 1.2rem;
    font-weight: bold;
    padding: 20px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 6px 15px rgba(27, 43, 76, 0.3);
}

.main-contact-form .btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(27, 43, 76, 0.4);
}

.post-submit-msg {
    text-align: center;
    margin-top: 1.5rem;
    color: #64748b;
    font-size: 0.95rem;
}

@media (max-width: 768px) {
    .contact-hero-title {
        font-size: 1.8rem;
    }

    .contact-hero-lead {
        font-size: 1rem;
    }

    .main-contact-form {
        padding: 2rem 1.5rem;
        border: none;
    }

    .main-contact-form input[type="text"],
    .main-contact-form input[type="email"],
    .main-contact-form input[type="tel"],
    .main-contact-form select,
    .main-contact-form textarea {
        padding: 14px 16px;
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .contact-hero {
        height: 75vh;
        min-height: 450px;
        background-position: center;
    }
}

/* =================================================-
   電話をかけるボタン (スマホ専用)
   ================================================= */
.btn-tel-direct {
    display: none;
    /* PC版では非表示 */
}

@media (max-width: 768px) {
    .btn-tel-direct {
        --reno-gold: #D4AF37;
        /* ゴールドのフォールバック定義 */
        display: flex;
        align-items: center;
        justify-content: center;
        background-color: var(--reno-gold);
        color: #ffffff !important;
        text-decoration: none !important;
        font-weight: bold;
        padding: 15px;
        min-height: 54px;
        border-radius: 6px;
        width: 100%;
        margin: 15px 0;
        box-sizing: border-box;
        transition: background-color 0.2s ease;
        font-size: 1.15rem;
        box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
    }

    .btn-tel-direct:active {
        background-color: #b5952f;
        /* タップ時に少し濃く */
        transform: translateY(1px);
        box-shadow: 0 2px 6px rgba(212, 175, 55, 0.3);
    }

    .btn-tel-direct i {
        margin-right: 10px;
        font-size: 1.2rem;
    }
}
/* === Scroll Indicator === */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 10;
    color: #fff;
    pointer-events: none;
}

.scroll-indicator span {
    font-size: 0.7rem;
    letter-spacing: 0.3em;
    font-weight: 700;
    margin-bottom: 15px;
    text-transform: uppercase;
    opacity: 0.8;
}

.scroll-indicator::after {
    content: '';
    width: 1px;
    height: 80px;
    background: linear-gradient(to bottom, #fff 0%, rgba(255, 255, 255, 0) 100%);
    animation: scrollLine 2.5s infinite;
}

@keyframes scrollLine {
    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; }
}

/* === Fade In Animations === */
.fade-in {
    opacity: 0;
    visibility: hidden;
    transform: translateY(40px);
    transition: opacity 1s cubic-bezier(0.2, 0.8, 0.2, 1), 
                transform 1s cubic-bezier(0.2, 0.8, 0.2, 1),
                visibility 1s;
}

.fade-in.appear {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
