:root {
    --primary: #28a745;
    --text: #333;
    --white: #ffffff;
}

body {
    margin: 0;
    font-family: "Hiragino Kaku Gothic ProN", sans-serif;
    background-color: var(--white);
    color: var(--text);
    overflow-x: hidden;
    line-height: 1.6;
}

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

/* 🌟 ヘッダー内のロゴ：サイズをしっかり確保 🌟 */
.site-logo-area {
    display: flex;
    align-items: center;
    gap: 15px;
}
.header-logo {
    height: 60px; /* 前回の約1.7倍に拡大 */
    width: auto;
    display: block;
}
.logo-text-group h1 {
    font-size: 1.4rem;
    margin: 0;
    color: var(--text);
}

/* 右下の控えめなロゴ */
.floating-logo-small {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 80px;
    z-index: 2000;
    animation: smoothFloat 5s ease-in-out infinite;
    pointer-events: none;
    opacity: 0.8;
}

@keyframes smoothFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

header {
    background: rgba(255,255,255,0.98);
    padding: 15px 0; /* 上下の余白も増やしてゆったりと */
    position: sticky; top: 0; z-index: 1500;
    border-bottom: 1px solid #eee;
}
.header-flex { display: flex; justify-content: space-between; align-items: center; }
.history-tag { color: var(--primary); font-size: 0.75rem; border: 1px solid; padding: 1px 5px; border-radius: 3px; font-weight: bold; }

/* ヒーローエリア */
.hero {
    height: 75vh;
    background: url('hero-upside-down.jpg') center/cover no-repeat;
    display: flex; align-items: center; justify-content: center;
}
.hero-card {
    background: rgba(255, 255, 255, 0.9);
    padding: 40px;
    max-width: 500px;
    text-align: center;
    border-top: 5px solid var(--primary);
}

/* 言語・ナビ・セクション等は前回を維持 */
.lang-jp .txt-en, .lang-en .txt-jp { display: none; }
.lang-switch { position: fixed; top: 20px; right: 20px; z-index: 2100; }
.lang-switch button { padding: 5px 10px; cursor: pointer; border: 1px solid var(--primary); background: #fff; font-size: 0.8rem; }
.lang-switch button.active { background: var(--primary); color: #fff; }

.section { padding: 80px 0; }
.bg-light { background: #f9fbf9; }
.section-title { text-align: center; font-size: 2rem; margin-bottom: 40px; }
.service-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.service-card { background: #fff; padding: 40px; border-radius: 12px; box-shadow: 0 4px 15px rgba(0,0,0,0.03); }

.contact-area { padding: 80px 0; background: var(--primary); color: #fff; text-align: center; }
.tel-display { font-size: clamp(2rem, 8vw, 4rem); font-weight: bold; margin: 20px 0; }
.qr-box img { width: 140px; padding: 10px; background: #fff; border-radius: 10px; margin-top: 20px; }

/* 📱 スマートフォン対応：ロゴが主役になるよう調整 📱 */
@media (max-width: 768px) {
    .header-flex { flex-direction: column; gap: 15px; }
    .header-logo { height: 50px; } /* スマホでもしっかり大きく */
    .logo-text-group h1 { font-size: 1.2rem; }
    .floating-logo-small { width: 60px; }
    .hero { height: 65vh; }
    .hero-card { padding: 25px 15px; }
}

footer { padding: 40px; text-align: center; font-size: 0.8rem; border-top: 1px solid #eee; }