@charset "UTF-8";

/* =========================================
   リセット & ベーススタイル
========================================= */
* { box-sizing: border-box; }
body {
    margin: 0; padding: 0;
    font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #f9f9f9;
    padding-bottom: 80px; /* フローティングメニュー分 */
}
a { text-decoration: none; color: inherit; transition: all 0.3s ease; }
a:hover { opacity: 0.8; }
img { max-width: 100%; height: auto; vertical-align: bottom; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p { margin: 0; }

:root {
    --theme-green: #548a04;
    --theme-dark-green: #406b02;
    --theme-light-green: #f4f9eb;
    --text-color: #333;
    --text-muted: #666;
    --bg-light: #fff;
}

/* =========================================
   ヘッダー & ナビゲーション
========================================= */
.global-header { background: #fff; padding: 10px 20px; box-shadow: 0 2px 5px rgba(0,0,0,0.05); }
.header-inner { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; }
.header-logo a { display: flex; align-items: center; font-size: 20px; font-weight: bold; color: var(--text-color); }
.header-logo img { height: 50px; width: auto; margin-right: 15px; }
.logo-text { display: none; } /* 画像がない時用、通常は隠す */
.header-logo img[style*="display: none"] + .logo-text { display: inline-block; }

.header-info { text-align: right; }
.header-tel { font-size: 24px; font-weight: bold; color: var(--theme-green); line-height: 1; font-family: Arial, sans-serif; }
.header-address { font-size: 12px; color: var(--text-muted); margin-top: 5px; }

.global-nav { background: var(--theme-green); width: 100%; }
.nav-list { max-width: 1200px; margin: 0 auto; display: flex; justify-content: center; }
.nav-item { flex: 1; text-align: center; border-right: 1px solid rgba(255,255,255,0.2); }
.nav-item:first-child { border-left: 1px solid rgba(255,255,255,0.2); }
.nav-link { display: block; padding: 15px 0; color: #fff; font-weight: bold; }
.nav-link.current { background: var(--theme-dark-green); } /* 現在地 */
.nav-link span.en { display: block; font-size: 10px; opacity: 0.8; font-weight: normal; margin-top: 2px; }
.nav-link:hover { background: var(--theme-dark-green); }

/* =========================================
   パンくずリスト（Microcopy / SEO）
========================================= */
.breadcrumb {
    background: #fff;
    border-bottom: 1px solid #eee;
    padding: 10px 20px;
    font-size: 13px;
    color: var(--text-muted);
}
.breadcrumb-inner { max-width: 1000px; margin: 0 auto; }
.breadcrumb ol { display: flex; flex-wrap: wrap; align-items: center; }
.breadcrumb li { display: flex; align-items: center; }
.breadcrumb li:not(:last-child)::after {
    content: "＞";
    margin: 0 8px;
    font-size: 10px;
    color: #ccc;
}
.breadcrumb a { color: var(--theme-green); }
.breadcrumb a:hover { text-decoration: underline; }

/* =========================================
   ページヘッダー
========================================= */
.page-header { background-color: #fff; padding: 40px 20px; text-align: center; border-bottom: 1px solid #eee; }
.page-title { font-size: 28px; color: var(--theme-green); font-weight: bold; margin-bottom: 10px; }
.page-desc { color: var(--text-muted); font-size: 14px; }

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

/* =========================================
   サービスカード（UI/UX ファスト思考設計）
========================================= */
.service-section { display: flex; flex-direction: column; gap: 30px; margin-bottom: 50px; }
.modern-card {
    display: flex;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border: 1px solid #eee;
    transition: transform 0.3s, box-shadow 0.3s;
}
.modern-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    border-color: var(--theme-green);
}

.card-img-wrap {
    width: 35%;
    margin: 0;
    position: relative;
    overflow: hidden;
    background: #f0f0f0;
}
.card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0; left: 0;
    transition: transform 0.5s;
}
.modern-card:hover .card-img-wrap img { transform: scale(1.05); }

.card-content {
    width: 65%;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.card-title { font-size: 22px; font-weight: bold; color: var(--theme-green); margin-bottom: 15px; border-bottom: 2px solid var(--theme-light-green); padding-bottom: 10px; }
.card-text { font-size: 15px; color: var(--text-muted); margin-bottom: 20px; flex-grow: 1; }
.action-btn {
    align-self: flex-start;
    display: inline-block;
    padding: 10px 25px;
    background: #fff;
    color: var(--theme-green);
    border: 2px solid var(--theme-green);
    border-radius: 50px;
    font-weight: bold;
    font-size: 14px;
}
.action-btn:hover { background: var(--theme-green); color: #fff; }

/* =========================================
   CTAセクション（強力なコンバージョン誘導）
========================================= */
.cta-section {
    background: var(--theme-light-green);
    border-radius: 12px;
    padding: 50px 20px;
    text-align: center;
    border: 2px solid #e0ebd5;
}
.cta-inner h2 { font-size: 24px; color: var(--theme-green); margin-bottom: 15px; }
.cta-inner p { font-size: 15px; color: var(--text-muted); margin-bottom: 25px; }

.cta-btn {
    display: inline-block;
    background: var(--theme-green);
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    padding: 18px 50px;
    border-radius: 50px;
    box-shadow: 0 5px 15px rgba(84, 138, 4, 0.3);
}
.cta-btn:hover { background: var(--theme-dark-green); transform: translateY(-2px); }

/* アニメーションで視線を誘導 */
.pulse-anim { animation: pulse 2s infinite; }
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(84, 138, 4, 0.4); }
    70% { box-shadow: 0 0 0 15px rgba(84, 138, 4, 0); }
    100% { box-shadow: 0 0 0 0 rgba(84, 138, 4, 0); }
}

.cta-tel { margin-top: 20px; font-size: 16px; color: var(--text-color); }
.cta-tel strong { font-size: 24px; color: var(--theme-green); margin-left: 10px; font-family: Arial; }

/* =========================================
   フッター
========================================= */
.global-footer { background: #333; color: #aaa; text-align: center; padding: 40px 0; margin-top: 60px; }
.footer-links { display: flex; justify-content: center; gap: 20px; margin-bottom: 20px; font-size: 13px; }

/* =========================================
   フローティングメニュー
========================================= */
#qist-floating-menu { position: fixed; z-index: 9999; box-sizing: border-box; }
#qist-floating-menu ul { display: flex; }
#qist-floating-menu a { display: block; background-color: var(--theme-green); color: #fff; text-align: center; border: 1px solid rgba(255,255,255,0.2); }
#qist-floating-menu .icon-box { display: block; font-size: 20px; margin-bottom: 4px; }
#qist-floating-menu .text-box { display: block; font-size: 11px; font-weight: bold; }

/* =========================================
   レスポンシブ対応（スマホ）
========================================= */
@media screen and (min-width: 769px) {
    #qist-floating-menu { right: 0; top: 50%; transform: translateY(-50%); width: 80px; box-shadow: -2px 2px 5px rgba(0,0,0,0.2); border-radius: 8px 0 0 8px; overflow: hidden; }
    #qist-floating-menu ul { flex-direction: column; }
    #qist-floating-menu a { padding: 15px 5px; width: 100%; }
    #qist-floating-menu a.menu-youtube { background-color: red; }
    #qist-floating-menu a.menu-instagram { background-color: #c13584; }
}

@media screen and (max-width: 768px) {
    .header-info { display: none; }
    .header-logo a { font-size: 16px; }
    .header-logo img { height: 40px; }
    
    .nav-list { flex-wrap: wrap; }
    .nav-item { width: 33.33%; border-bottom: 1px solid rgba(255,255,255,0.2); }
    .nav-link { padding: 10px 0; font-size: 12px; }
    
    .page-title { font-size: 22px; }
    
    /* カードを縦積みに変更 */
    .modern-card { flex-direction: column; }
    .card-img-wrap { width: 100%; padding-top: 56.25%; /* 16:9比率 */ }
    .card-content { width: 100%; padding: 20px; }
    .card-title { font-size: 18px; }
    .action-btn { width: 100%; text-align: center; }
    
    .cta-section { padding: 30px 15px; }
    .cta-inner h2 { font-size: 20px; }
    .cta-btn { width: 100%; font-size: 16px; padding: 15px 0; }
    .cta-tel strong { display: block; font-size: 28px; margin: 5px 0 0 0; }

    #qist-floating-menu { bottom: 8px; left: 2%; width: 96%; box-shadow: 0 2px 5px rgba(0,0,0,0.2); border-radius: 5px; overflow: hidden; }
    #qist-floating-menu a { padding: 8px 2px; font-size: 10px; display: flex; flex-direction: column; justify-content: center; align-items: center; border: none; border-right: 1px solid rgba(255,255,255,0.1); background-color: var(--theme-green) !important; }
    #qist-floating-menu li:last-child a { border-right: none; }
    #qist-floating-menu ul { width: 100%; }
    #qist-floating-menu li { width: 16.66%; }
    #qist-floating-menu .icon-box { font-size: 18px; margin-bottom: 2px; }
}