/* ==========================================
   デザインシステム & 変数定義
   ========================================== */
:root {
    --primary-color: #1e4d38;       /* 深みのある和モダンなグリーン */
    --primary-light: #2d6a4f;      /* やや明るめのグリーン */
    --accent-orange: #d97706;      /* 温かみのあるオレンジ */
    --accent-bg-orange: #fef3c7;   /* 薄いオレンジ背景 */
    --bg-color: #fbfbf9;           /* 柔らかいオフホワイトの背景 */
    --bg-card: #ffffff;            /* カードなどの白背景 */
    --text-color: #2c3e35;         /* グリーンがかった濃いグレー */
    --text-muted: #6b7280;         /* 補助テキスト用のグレー */
    --border-color: #e5e7eb;       /* ボーダー用グレー */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(30, 77, 56, 0.08);
    --shadow-lg: 0 10px 25px rgba(30, 77, 56, 0.12);
    
    --font-primary: 'Noto Sans JP', sans-serif;
    --font-title: 'Zen Kaku Gothic New', sans-serif;
}

/* ==========================================
   リセット & ベーススタイル
   ========================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-primary);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.7;
    overflow-x: hidden;
}

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

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

.container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

/* レイアウトユーティリティ */
.sp-only {
    display: none;
}

@media (max-width: 768px) {
    .sp-only {
        display: block;
    }
}

/* ==========================================
   ヘッダーナビゲーションバナー
   ========================================== */
.header-banner {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    height: 75px;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
}

.banner-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    max-width: 1200px;
}

.banner-logo-area {
    display: flex;
    align-items: center;
    gap: 12px;
}

.banner-logo {
    width: 42px;
    height: 42px;
    object-fit: contain;
    background-color: #ffffff;
    border-radius: 50%;
    padding: 4px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.banner-company-name-img {
    height: 26px;
    width: auto;
    max-width: 220px;
    object-fit: contain;
}

.banner-menu-area {
    display: flex;
    align-items: center;
    gap: 40px;
}

.banner-nav-links {
    display: flex;
    gap: 24px;
    list-style: none;
}

.banner-nav-links a {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-color);
    padding: 8px 0;
    position: relative;
}

.banner-nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-light);
    transition: width 0.3s ease;
}

.banner-nav-links a:hover {
    color: var(--primary-light);
}

.banner-nav-links a:hover::after {
    width: 100%;
}

.banner-contact {
    display: flex;
    align-items: center;
    gap: 20px;
}

.banner-phone {
    font-size: 1.35rem;
    font-weight: 900;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 6px;
    transition: color 0.3s;
}

.banner-phone:hover {
    color: var(--accent-orange);
}

.banner-line-btn {
    background-color: #06c755;
    color: #ffffff;
    padding: 8px 20px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 6px rgba(6, 199, 85, 0.15);
    transition: all 0.3s;
}

.banner-line-btn:hover {
    background-color: #05b04b;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(6, 199, 85, 0.25);
    color: #ffffff;
}

/* タブレット〜小型PC（1024px以下） */
@media (max-width: 1024px) {
    .banner-container {
        padding: 0 16px;
    }

    .banner-menu-area {
        gap: 20px;
    }

    .banner-nav-links {
        gap: 16px;
    }

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

    .banner-phone {
        font-size: 1.1rem;
    }

    .banner-line-btn {
        padding: 6px 14px;
        font-size: 0.85rem;
    }
}

/* スマホ対応（ヘッダーバナー） */
@media (max-width: 768px) {
    .header-banner {
        height: 60px;
    }
    
    .banner-container {
        padding: 0 10px;
    }
    
    .banner-logo-area {
        gap: 6px;
    }
    
    .banner-logo {
        width: 32px;
        height: 32px;
        padding: 2px;
    }

    .banner-company-name-img {
        height: 20px;
        max-width: 125px;
    }

    .banner-nav-links {
        display: none; /* メニューリンクはスマホで非表示 */
    }

    .banner-menu-area {
        gap: 0;
    }

    .banner-contact {
        gap: 8px;
    }

    .banner-phone {
        font-size: 0.88rem;
        padding: 4px 8px;
    }
    
    .banner-phone .phone-icon {
        font-size: 1rem;
    }

    .banner-line-btn {
        padding: 6px 12px;
        font-size: 0.8rem;
        border-radius: 20px;
        white-space: nowrap;
    }
}

/* 超小型スマホ（480px以下） */
@media (max-width: 480px) {
    .banner-company-name-img {
        max-width: 105px;
        height: 18px;
    }

    .banner-logo {
        width: 28px;
        height: 28px;
    }

    .banner-phone {
        padding: 4px 6px;
    }

    .banner-line-btn {
        padding: 5px 9px;
        font-size: 0.75rem;
    }
}

/* 極小スマホ（360px以下） */
@media (max-width: 360px) {
    .banner-phone .phone-number-text {
        display: none;
    }
}

/* ==========================================
   ヘッダー / ヒーローエリア
   ========================================== */
.hero-section {
    padding: 60px 0 40px 0;
    text-align: center;
    background: linear-gradient(180deg, #f0f4f1 0%, var(--bg-color) 100%);
}

.hero-title {
    font-family: var(--font-title);
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--primary-color);
    margin-bottom: 16px;
    letter-spacing: 0.05em;
}

.hero-title .highlight {
    color: var(--accent-orange);
    position: relative;
    display: inline-block;
}

.hero-title .highlight::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: rgba(217, 119, 6, 0.3);
}

.hero-subtitle {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--primary-light);
    margin-bottom: 40px;
    border-bottom: 2px solid var(--primary-light);
    display: inline-block;
    padding-bottom: 8px;
}

.hero-image-wrapper {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.hero-image {
    width: 100%;
    height: 500px;
    object-fit: cover;
    object-position: center;
    transition: transform 0.8s ease;
}

.hero-image-wrapper:hover .hero-image {
    transform: scale(1.03);
}

/* 画像に重なるキャッチコピー（帯デザイン） */
.hero-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(30, 77, 56, 0.9);
    padding: 24px 32px;
    color: #ffffff;
    backdrop-filter: blur(4px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.overlay-text {
    font-size: 1.25rem;
    font-weight: 500;
    margin-bottom: 4px;
    letter-spacing: 0.1em;
}

.overlay-text.sub {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffd8a8;
}

.overlay-text.main {
    font-family: var(--font-title);
    font-size: 2.2rem;
    font-weight: 900;
    margin-top: 4px;
    letter-spacing: 0.05em;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* ==========================================
   紹介・ロゴエリア
   ========================================== */
.intro-section {
    padding: 60px 0;
    text-align: center;
}

.logo-wrapper {
    width: 100px;
    height: 100px;
    margin: 0 auto 20px auto;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.5s ease;
}

.logo-wrapper:hover {
    transform: rotate(10deg);
}

.main-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background-color: #ffffff;
    border-radius: 50%;
    padding: 8px;
    box-shadow: 0 4px 15px rgba(30, 77, 56, 0.12);
}

.company-name-img {
    height: 50px;
    width: auto;
    max-width: 90%;
    margin: 0 auto 12px auto;
    display: block;
    object-fit: contain;
}

.license-number {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
}

.info-card {
    background: var(--bg-card);
    border-radius: 12px;
    padding: 24px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
}

.info-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary-light);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.info-value {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-color);
}

.info-value.address {
    font-size: 1.05rem;
}

.info-value.tel {
    font-size: 1.4rem;
    color: var(--primary-color);
    border-bottom: 1px dashed var(--primary-color);
}

.info-value.tel:hover {
    color: var(--accent-orange);
    border-color: var(--accent-orange);
}

/* ==========================================
   コンテンツエリア1: プチ事前相談
   ========================================== */
.section-bg {
    background-color: #f3f6f4;
}

.consultation-section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.speech-bubble-wrapper {
    margin-bottom: 16px;
    display: flex;
    justify-content: center;
}

.speech-bubble {
    display: inline-block;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.95rem;
    font-weight: 700;
    position: relative;
}

.speech-bubble.accent {
    background-color: var(--accent-orange);
    color: #ffffff;
}

.speech-bubble.accent::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 8px 8px 0;
    border-style: solid;
    border-color: var(--accent-orange) transparent transparent;
}

.section-title {
    font-family: var(--font-title);
    font-size: 2rem;
    font-weight: 900;
    color: var(--text-color);
    line-height: 1.5;
    margin-bottom: 16px;
}

.section-title.text-green {
    color: var(--primary-color);
}

.section-lead {
    font-size: 1.1rem;
    color: var(--accent-orange);
    font-weight: 700;
}

.consultation-content {
    max-width: 760px;
    margin: 0 auto;
}

.topic-box {
    background-color: var(--bg-card);
    border-radius: 16px;
    padding: 40px;
    box-shadow: var(--shadow-md);
    border-left: 8px solid var(--accent-orange);
}

.topic-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--accent-orange);
    margin-bottom: 24px;
    text-align: center;
}

.topic-list {
    list-style: none;
}

.topic-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 16px;
    font-size: 1.1rem;
}

.topic-list li:last-child {
    margin-bottom: 0;
}

.star-icon {
    color: var(--accent-orange);
    font-size: 1.2rem;
    margin-right: 12px;
    line-height: 1.5;
}

.list-text {
    flex: 1;
}

/* ==========================================
   コンテンツエリア2: 総合窓口
   ========================================== */
.window-section {
    padding: 80px 0;
}

.window-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 950px;
    margin: 0 auto;
    align-items: center;
}

.window-menu-card {
    background-color: var(--bg-card);
    border-radius: 16px;
    padding: 32px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

.window-menu-list {
    list-style: none;
}

.window-menu-list li {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary-color);
    padding: 12px 16px;
    margin-bottom: 12px;
    background-color: #f4f7f5;
    border-radius: 8px;
    display: flex;
    align-items: center;
    border-left: 4px solid var(--primary-color);
    transition: all 0.3s ease;
}

.window-menu-list li:hover {
    transform: translateX(5px);
    background-color: #eaf1ed;
}

.window-menu-list li:last-child {
    margin-bottom: 0;
}

/* 吹き出し風デザインのカード群 */
.bubble-cards {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.bubble-card {
    background-color: var(--bg-card);
    border-radius: 16px;
    padding: 24px;
    box-shadow: var(--shadow-sm);
    border: 2px solid;
    position: relative;
    transition: transform 0.3s ease;
}

.bubble-card:hover {
    transform: translateY(-3px);
}

.bubble-card:nth-child(1) {
    border-color: var(--accent-orange);
    background-color: #fffbeb;
}

.bubble-card:nth-child(2) {
    border-color: var(--primary-light);
    background-color: #f0fdf4;
}

.bubble-text {
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.6;
}

.bubble-text.orange-text {
    color: #b45309;
}

.bubble-text.green-text {
    color: var(--primary-color);
    text-align: center;
}

/* CTAエリア */
.call-to-action {
    text-align: center;
    margin-top: 60px;
}

.cta-message {
    font-family: var(--font-title);
    font-size: 2rem;
    font-weight: 900;
    color: var(--accent-orange);
    display: inline-block;
    padding: 12px 32px;
    border-bottom: 4px solid var(--accent-orange);
    animation: pulse 2.5s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* ==========================================
   フッター
   ========================================== */
.footer {
    background-color: var(--primary-color);
    color: #ffffff;
    padding: 60px 0 0 0;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo-area {
    display: flex;
    align-items: center;
    gap: 20px;
}

.footer-logo {
    width: 64px;
    height: 64px;
    object-fit: contain;
    background-color: #ffffff;
    border-radius: 50%;
    padding: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.footer-company-name-img {
    height: 32px;
    width: auto;
    max-width: 260px;
    object-fit: contain;
    margin-bottom: 8px;
    display: block;
}

.footer-company-name {
    font-family: var(--font-title);
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: 0.05em;
    margin-bottom: 4px;
}

.footer-representative {
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 4px;
    color: #d1fae5;
}

.footer-license {
    font-size: 0.85rem;
    color: #a7f3d0;
}

.footer-contact-area {
    text-align: right;
}

.footer-address {
    font-size: 1rem;
    margin-bottom: 12px;
    color: #e6f4ea;
}

.footer-communication {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
}

.footer-phone {
    font-size: 1.6rem;
    font-weight: 900;
    color: #ffffff;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.5);
}

.footer-phone:hover {
    color: var(--accent-orange);
    border-color: var(--accent-orange);
}

.footer-fax {
    font-size: 1rem;
    color: #d1fae5;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
    text-align: center;
}

.copyright {
    font-size: 0.85rem;
    color: #a7f3d0;
}

/* ==========================================
   レスポンシブデザイン (タブレット & モバイル)
   ========================================== */
@media (max-width: 992px) {
    .hero-image {
        height: 400px;
    }
    
    .overlay-text.main {
        font-size: 1.8rem;
    }
}

@media (max-width: 768px) {
    /* ヒーロー */
    .hero-section {
        padding: 30px 0 24px 0;
    }

    .hero-title {
        font-size: 1.5rem;
        line-height: 1.4;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
        line-height: 1.6;
        margin-bottom: 24px;
    }
    
    .hero-image {
        height: 280px;
    }
    
    .hero-overlay {
        padding: 14px 16px;
    }
    
    .overlay-text {
        font-size: 0.85rem;
    }
    
    .overlay-text.sub {
        font-size: 1rem;
    }
    
    .overlay-text.main {
        font-size: 1.2rem;
    }
    
    /* 紹介情報 */
    .company-name-img {
        height: 38px;
        max-width: 85%;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .info-card {
        padding: 16px;
    }
    
    /* 相談セクション */
    .consultation-section {
        padding: 45px 0;
    }
    
    .section-title {
        font-size: 1.35rem;
        line-height: 1.4;
    }
    
    .topic-box {
        padding: 20px 16px;
    }
    
    .topic-title {
        font-size: 1.1rem;
        margin-bottom: 14px;
    }
    
    .topic-list li {
        font-size: 0.9rem;
    }
    
    /* 総合窓口 */
    .window-section {
        padding: 45px 0;
    }
    
    .window-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .window-menu-card {
        padding: 18px 16px;
    }
    
    .window-menu-list li {
        font-size: 0.95rem;
        padding: 10px 12px;
    }
    
    .bubble-card {
        padding: 18px 16px;
    }
    
    .bubble-text {
        font-size: 0.9rem;
    }
    
    .cta-message {
        font-size: 1.3rem;
    }
    
    /* フッター */
    .footer {
        padding: 35px 0 0 0;
    }

    .footer-company-name-img {
        height: 26px;
        max-width: 220px;
        margin: 0 auto 8px auto;
    }
    
    .footer-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 24px;
    }
    
    .footer-logo-area {
        flex-direction: column;
        align-items: center;
    }
    
    .footer-contact-area {
        text-align: center;
    }
    
    .footer-communication {
        align-items: center;
    }
    
    .footer-phone {
        font-size: 1.3rem;
    }
}

/* ==========================================
   スクロール連動フェードイン演出（JS用）
   ========================================== */
.fade-in-section {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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