@charset "UTF-8";
/* CSS Document */

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

/* スムーズスクロール用の基本設定 */
html {
	scroll-behavior: smooth;
}

/* スムーズスクロール中のアニメーション強化（オプション） */
@media (prefers-reduced-motion: no-preference) {
	html {
	scroll-behavior: smooth;
	}
}

/* 減速モーション設定のユーザーには通常のスクロール */
 @media (prefers-reduced-motion: reduce) {
	 html {
		 scroll-behavior: auto;
	 }
}
body {
	font-family: 'Noto Sans JP', sans-serif;
    line-height: 1.6;
    color: #333;
}

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

/* エースリフォームカラー */
:root {
    --ace-primary: #1E88E5;
    --ace-secondary: #ffd700;
    --ace-accent: #43A047;
    --ace-dark: #0D47A1;
}

/* 全体のリンクスタイル設定 */
a {
    color: var(--ace-primary);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--ace-dark);
    text-decoration: underline;
}
a[href^="tel:"] {
    pointer-events: none;
}
@media screen and (min-width: 768px){
.br-sp {display: none; }
}

.text-red {
    color: #D32F2F;
    font-weight: bold;
}
.text-yellow {
    color: var(--ace-secondary);
    font-weight: bold;
}
.text-bg-red {
    background:#D32F2F;
	color: #fff;
	padding: 0.1rem 0.4rem;
	border-radius: 4px;
}


img.image-small {
    width: 30%;
    height: auto;	
}
@media (max-width: 768px) {
img.image-small {
    width: 60%;	
}
}
/* ヘッダー */
.header {
    background: linear-gradient(135deg, var(--ace-primary) 0%, var(--ace-dark) 100%);
    color: #fff;
    padding: 80px 0 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("../img/index/cover.png");
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    opacity: 0.3;
}

.header-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("../img/index/cover.png") center/cover;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    opacity: 0.2;
}

/* スマホでのヘッダー背景画像最適化 */
@media (max-width: 768px) {
    .header::before,
    .header-bg-image {
        background-size: cover;
        background-position: center top;
        background-attachment: scroll;
    }
}

.header-content {
    position: relative;
    z-index: 2;
}

.company-name {
    font-size: 1.1rem;
    margin-bottom: 15px;
    opacity: 0.9;
}

.main-catchphrase {
    font-size: 3.2rem;
    font-weight: bold;
    margin-bottom: 30px;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.3);
    line-height: 1.2;
}

.lead-text {
    font-size: 1.3rem;
    margin-bottom: 40px;
    opacity: 0.95;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}


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



/* CTA buttons */
.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 50px;
    flex-wrap: wrap;
}

.cta-btn {
    color: #fff;
    padding: 20px 35px;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
}

.cta-mail {
    background: var(--ace-secondary);
    box-shadow: 0 8px 25px rgba(255,167,38,0.4);
}

.cta-line {
    background:#00C300;
    box-shadow: 0 8px 25px rgba(255,167,38,0.4);
}
.cta-phone {
    background: var(--ace-primary);
    box-shadow: 0 8px 25px rgba(255,167,38,0.4);
}
.cta-news {
    background:#DF3639;
	box-shadow: 0 8px 25px rgba(255,167,38,0.4);
}

a.cta-btn {
	color: #fff;
}
.cta-btn:hover {
	color: var(--ace-dark);
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}


/* ボタンリンクのスタイル */
.cta-btn,
.fixed-cta-btn,
.footer-cta .cta-btn {
    text-decoration: none !important;
}

.cta-btn:hover,
.fixed-cta-btn:hover,
.footer-cta .cta-btn:hover {
    text-decoration: none !important;
}

/* 相談会セクション */
.consultation-highlight {
    background: var(--ace-accent);
    color: #fff;
    padding: 60px 0;
    margin: 40px 0;
}

.consultation-content {
    text-align: center;
}

.consultation-title {
    font-size: 2.2rem;
    font-weight: bold;
    margin-bottom: 20px;
}

.consultation-subtitle {
    font-size: 1.4rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.consultation-description {
    font-size: 1.1rem;
}

.region-badge {
    background: #fff;
    color: var(--ace-accent);
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: bold;
    display: inline-block;
    margin-bottom: 20px;
}


/* 緊急性演出 */
.urgency-section {
    background: #FFF8E1;
    border: 2px solid var(--ace-secondary);
    padding: 40px;
    margin: 40px 0;
    border-radius: 15px;
    text-align: center;
}

.warning-icon {
    font-size: 2rem;
    color: var(--ace-secondary);
    margin-bottom: 15px;
}

.countdown {
    font-weight: bold;
    color: #D32F2F;
    margin: 20px 0;
}



/* 症状写真ギャラリー */
.urgency-section h3 {
	font-size: 1.4rem;
    color: #D32F2F;
    margin-bottom: 15px;
}

.urgency-section p {
    font-size: 1.1rem;
}

.urgency-photos {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.urgency-photo-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.urgency-photo {
    width: 100%;
    height: 180px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    border: 3px solid #D32F2F;
    background-color: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.urgency-photo:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.2);
}

.urgency-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* 画像が存在しない場合のプレースホルダー */
.urgency-photo:not(:has(img))::before,
.urgency-photo img[src=""]::before,
.urgency-photo img:not([src])::before {
    content: "症状写真";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #6c757d;
    font-size: 0.9rem;
    text-align: center;
}

.urgency-photo-caption {
    margin-top: 12px;
    font-size: 1rem;
    font-weight: bold;
    color: #D32F2F;
    text-align: center;
}

/* 警告マークの追加 */
.urgency-photo::after {
    content: "⚠️";
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(255,255,255,0.9);
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
p.attention {
    background: var(--ace-secondary);
    color: #333;
    line-height: 300%;
    padding: 5px 12px;
    font-weight: bold;
    font-size: 1.6rem;
}
/* タブレット対応 */
@media (min-width: 768px) and (max-width: 1023px) {
    .urgency-photos {
        gap: 25px;
        margin-top: 35px;
    }
    
    .urgency-photo {
        height: 160px;
    }
    
    .urgency-photo-caption {
        font-size: 0.95rem;
    }
}

/* スマホ対応 */
@media (max-width: 767px) {
    p.attention {
        line-height: 150%;
    }
    
    .urgency-photos {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 30px;
        max-width: 300px;
    }
    
    .urgency-photo {
        height: 200px;
    }
    
    .urgency-photo-caption {
        font-size: 1.1rem;
        margin-top: 15px;
    }
}

/* 小さいスマホ対応 */
@media (max-width: 480px) {
    .urgency-photos {
        max-width: 250px;
    }
    
    .urgency-photo {
        height: 180px;
    }
    
    .urgency-photo-caption {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    p.attention {
        line-height: 150%;
    }
}

/* 特徴セクション */
.features {
    padding: 100px 0;
    background: #f8f9fa;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: var(--ace-dark);
    position: relative;
    font-weight: bold;
}

.section-title::after {
    content: '';
    width: 80px;
    height: 4px;
    background: var(--ace-secondary);
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
}

.section-title-white {
    color: #fff;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-top: 80px;
}

.feature-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
    position: relative;
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-icon {
    font-size: 3.5rem;
    margin-bottom: 25px;
    color: var(--ace-primary);
}

.feature-title {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 20px;
    color: var(--ace-dark);
}

.feature-description {
    font-size: 1rem;
    line-height: 1.7;
    color: #666;
}

/* 地域密着セクション */
.local-pride {
    background: linear-gradient(135deg, var(--ace-dark) 0%, var(--ace-primary) 100%);
    color: #fff;
    padding: 100px 0;
    position: relative;
}

.volunteer-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("../img/index/iida-zoo.png") center/cover;
    opacity: 0.3;
}

.local-content {
    position: relative;
    z-index: 2;
    text-align: center;
}
.local-content img.image-fit {
	width: 100%;
	height: auto;
	border-radius: 20px;
}
.local-description {
    font-size: 1.3rem;
    margin-bottom: 40px;
}

.volunteer-activities {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.activity-card {
    background: rgba(255,255,255,0.1);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    backdrop-filter: blur(10px);
}

.activity-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}


/* 地域密着セクション内のリンク */
.local-pride a,
.activity-card a {
    color:#00295B;
}

.local-pride a:hover,
.activity-card a:hover {
    color: var(--ace-primary);
    text-decoration:underline;
}

/* 活動画像のスタイル */
.activity-image {
    width: 220px;
    height: 220px;
    margin: 0 auto 15px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid rgba(255, 255, 255, 0.3);
    background: #fff;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
}

.activity-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

/* スマホでの活動画像調整 */
@media (max-width: 768px) {
    .activity-image {
        width: 200px;
        height: 200px;
        margin: 0 auto 20px;
        padding: 8px;
    }
    
    .volunteer-activities {
        gap: 30px;
    }
    
    .activity-card {
        padding: 25px 20px;
    }
}

@media (max-width: 480px) {
    .activity-image {
        width: 180px;
        height: 180px;
        padding: 6px;
    }
    
    .volunteer-activities {
        grid-template-columns: 1fr;
        gap: 25px;
        max-width: 300px;
        margin: 60px auto 0;
    }
    
    .activity-card {
        padding: 25px 20px;
    }
}

/* スタッフ紹介 */
.staff-section {
    padding: 100px 0;
    background: #fff;
}

.staff-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.staff-card {
    background: #f8f9fa;
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease;
}

.staff-card:hover {
    transform: translateY(-5px);
}

.staff-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: #e9ecef;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c757d;
    font-size: 0.9rem;
    overflow: hidden;
    border: 3px solid #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.staff-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 50%;
}

.staff-name {
    font-size: 1.3rem;
    font-weight: bold;
    margin-bottom: 10px;
    color: var(--ace-dark);
}

.staff-comment {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
}

.staff-comment a {
    color: var(--ace-primary);
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.staff-comment a:hover {
    color: var(--ace-dark);
    text-decoration: underline;
}
/* お客様の声 */
.testimonials {
    padding: 100px 0;
    background: #f8f9fa;
}

.testimonial-card {
    background: #fff;
    padding: 40px;
    border-radius: 20px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.stars {
    color: var(--ace-secondary);
    font-size: 1.3rem;
    margin-bottom: 20px;
}

.testimonial-text {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

.testimonial-author {
    text-align: right;
    color: #666;
    font-weight: bold;
}

/* 施工事例 */
.cases {
    padding: 100px 0;
    background: #fff;
}

.featured-case {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
    margin-bottom: 60px;
}

.featured-case-image {
    width: 100%;
    height: 400px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f5f5f5;
}

.featured-case-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.3s ease;
}

.featured-case-content {
    padding: 40px;
    text-align: center;
}

.featured-case-title {
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 15px;
    color: var(--ace-dark);
}

.featured-case-description {
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.case-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.case-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

.case-card:hover {
    transform: translateY(-5px);
}

.case-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f5f5f5;
    position: relative;
}

.case-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.3s ease;
}

/* 画像が存在しない場合のプレースホルダー */
.case-image:not(:has(img))::before,
.case-image img[src=""]::before,
.case-image img:not([src])::before {
    content: "施工前後の写真";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #6c757d;
    font-size: 1rem;
    text-align: center;
}

.case-content {
    padding: 25px;
}

.case-title {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 10px;
    color: var(--ace-dark);
}

.case-link {
    color: var(--ace-primary);
    font-weight: bold;
    text-decoration: none;
    transition: color 0.3s ease;
}

.case-link:hover {
    color: var(--ace-dark);
    text-decoration: none;
}

/* PCでのホバー効果 */
@media (min-width: 1024px) {
    .featured-case:hover .featured-case-image img {
        transform: scale(1.05);
    }
    
    .case-card:hover .case-image img {
        transform: scale(1.1);
    }
}

/* タブレット対応 */
@media (min-width: 768px) and (max-width: 1023px) {
    .featured-case-image {
        height: 350px;
    }
    
    .featured-case-content {
        padding: 30px;
    }
    
    .featured-case-title {
        font-size: 1.6rem;
    }
    
    .case-image {
        height: 180px;
    }
    
    .case-content {
        padding: 20px;
    }
}

/* スマホ対応 */
@media (max-width: 767px) {
    .featured-case-image {
        height: 250px;
    }
    
    .featured-case-content {
        padding: 25px 20px;
    }
    
    .featured-case-title {
        font-size: 1.4rem;
    }
    
    .featured-case-description {
        font-size: 1rem;
    }
    
    .case-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .case-image {
        height: 160px;
    }
    
    .case-content {
        padding: 20px;
    }
    
    .case-title {
        font-size: 1.1rem;
    }
}

/* 小さいスマホ対応 */
@media (max-width: 375px) {
    .featured-case-image {
        height: 200px;
    }
    
    .case-image {
        height: 140px;
    }
}

/* お知らせセクション */
.news-section {
    padding: 100px 0;
    background: #f8f9fa;
}

/* スワイプコンテナ */
.news-swipe-container {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.news-swipe-wrapper {
    display: flex;
    transition: transform 0.3s ease;
    will-change: transform;
}

.news-slide {
    min-width: 100%;
    background: #fff;
    display: flex;
    flex-direction: column;
}

/* ナビゲーション */
.news-navigation {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--ace-primary);
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.news-navigation:hover {
    background: var(--ace-primary);
    color: #fff;
    transform: translateY(-50%) scale(1.1);
}

.news-prev {
    left: 20px;
}

.news-next {
    right: 20px;
}

/* インジケーター */
.news-indicators {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.news-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: all 0.3s ease;
}

.news-indicator.active {
    background: var(--ace-primary);
    transform: scale(1.2);
}

/* お知らせカードのスタイル */
.news-flyer {
    width: 100%;
    height: 500px;
    background-color: #f5f5f5;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

/* お知らせ画像の最適化 */
.news-flyer img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    max-width: 100%;
    display: block;
    transition: transform 0.3s ease;
}

/* PCサイズでの最適化 */
@media (min-width: 1024px) {
    .news-flyer {
        height: 600px;
        padding: 20px;
    }
    
    .news-flyer img {
        max-height: 560px;
        width: auto;
        height: auto;
        max-width: 90%;
    }
}

/* タブレットサイズでの最適化 */
@media (min-width: 768px) and (max-width: 1023px) {
    .news-flyer {
        height: 500px;
        padding: 15px;
    }
    
    .news-flyer img {
        max-height: 470px;
        width: auto;
        height: auto;
        max-width: 95%;
    }
}

/* スマホサイズでの最適化 */
@media (max-width: 767px) {
    .news-flyer {
        height: 400px;
        padding: 10px;
    }
    
    .news-flyer img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        max-width: 100%;
    }
    
    /* 小さいスマホ（iPhone SE等）での最適化 */
    @media (max-width: 375px) {
        .news-flyer {
            height: 350px;
            padding: 8px;
        }
    }
}

/* 画像読み込み時のフォールバック */
.news-flyer img[src=""],
.news-flyer img:not([src]) {
    display: none;
}

/* 画像読み込み前のプレースホルダー */
.news-flyer::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    border: 3px solid #f0f0f0;
    border-top: 3px solid var(--ace-primary);
    border-radius: 50%;
    animation: loading-spin 1s linear infinite;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.news-flyer.loading::before {
    opacity: 1;
}

@keyframes loading-spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* 画像ホバー効果（PCのみ） */
@media (min-width: 1024px) {
    .news-flyer:hover img {
        transform: scale(1.02);
    }
}

.news-content {
    padding: 30px;
    text-align: center;
}

.news-date {
    color: #DF3639;
    font-weight: bold;
    margin-bottom: 10px;
    font-size: 1rem;
}

.news-title {
    font-size: 1.4rem;
    font-weight: bold;
    color: var(--ace-dark);
    margin-bottom: 15px;
}

.news-description {
    margin-bottom: 20px;
    line-height: 1.6;
    color: #666;
}

.news-tags {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.news-tag {
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: bold;
    color: #fff;
}

.tag-orange {
    background: var(--ace-secondary);
}

.tag-green {
    background: var(--ace-accent);
}

.tag-blue {
    background: var(--ace-primary);
}

/* タッチ対応 */
.news-swipe-container {
    touch-action: pan-y;
    -webkit-user-select: none;
    user-select: none;
}

/* スワイプ時のフィードバック */
.swiping {
    cursor: grabbing;
}

.swiping .news-slide {
    pointer-events: none;
}

/* スマホでのレスポンシブ調整 */
@media (max-width: 768px) {
    .news-navigation {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .news-prev {
        left: 10px;
    }
    
    .news-next {
        right: 10px;
    }
    
    .news-content {
        padding: 20px;
    }
    
    .news-title {
        font-size: 1.2rem;
    }
    
    .news-description {
        font-size: 0.9rem;
    }
    
    .news-tags {
        gap: 10px;
    }
    
    .news-tag {
        padding: 6px 12px;
        font-size: 0.8rem;
    }
}

/* フッター */
.footer {
    background: var(--ace-dark);
    color: #fff;
	margin: 0 0 78px 0;
    padding: 80px 0 40px;
    text-align: center;
}

.footer-title {
    margin-bottom: 30px;
    font-size: 2.2rem;
}

.contact-info {
    margin-bottom: 50px;
}

.phone-number {
    font-size: 3rem;
    font-weight: bold;
    color: var(--ace-secondary);
    margin: 20px 0;
}
.phone-number a {
	color: var(--ace-secondary);
}
.hours {
    font-size: 1.2rem;
    margin-top: 15px;
    opacity: 0.9;
}

.footer-cta {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.footer-info {
    background: rgba(255,255,255,0.1);
    padding: 30px;
    border-radius: 15px;
    margin-top: 40px;
    backdrop-filter: blur(10px);
}

.footer-info-title {
    margin-bottom: 20px;
}

.footer-info-text {
    font-size: 1.1rem;
    line-height: 1.8;
}

.footer-highlight {
    color: var(--ace-secondary);
    font-weight: bold;
}

.footer-copyright {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.2);
    font-size: 0.9rem;
    opacity: 0.7;
}



/* 固定CTAボタン */
.fixed-cta-container {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100vw;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    backdrop-filter: blur(10px);
    box-sizing: border-box;
}

.fixed-cta-container.show {
    transform: translateY(0);
}

/* スマホ対応（デフォルト） */
.fixed-cta-buttons {
    display: flex;
    padding: 8px 4px;
    margin: 0;
    width: 100%;
    box-sizing: border-box;
    justify-content: space-between;
}

.fixed-cta-btn {
    width: calc(33.333% - 3px);
    flex: 0 0 calc(33.333% - 3px);
    margin: 0 1.5px;
    padding: 8px 2px;
    border: none;
    border-radius: 12px;
    font-weight: normal;
    cursor: pointer;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1px;
    font-size: 0.6rem;
    transition: all 0.3s ease;
    min-height: 48px;
    color: #fff;
    text-align: center;
    box-sizing: border-box;
    min-width: 0;
    overflow: hidden;
}

.fixed-cta-btn i {
    font-size: 0.9rem;
    display: block;
    line-height: 1;
}

.fixed-cta-btn span {
    font-size: 0.85rem;
    line-height: 1;
    white-space: nowrap;
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.fixed-cta-phone {
    background: var(--ace-primary);
}

.fixed-cta-line {
    background: #00C300;
}

.fixed-cta-mail {
    background: var(--ace-secondary);
}

.fixed-cta-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

/* スマホ極小対応（320px以下） */
@media (max-width: 320px) {
    .fixed-cta-buttons {
        padding: 6px 2px;
    }
    
    .fixed-cta-btn {
        width: calc(33.333% - 2px);
        flex: 0 0 calc(33.333% - 2px);
        margin: 0 1px;
        padding: 6px 1px;
        min-height: 44px;
        border-radius: 10px;
    }
    
    .fixed-cta-btn i {
        font-size: 0.8rem;
    }
    
    .fixed-cta-btn span {
        font-size: 0.5rem;
    }
}

/* タブレット対応 */
@media (min-width: 481px) {
    .fixed-cta-buttons {
        padding: 12px 8px;
        justify-content: center;
        gap: 8px;
    }
    
    .fixed-cta-btn {
        width: auto;
        flex: 1;
        max-width: 150px;
        margin: 0;
        flex-direction: row;
        padding: 12px 8px;
        font-size: 0.8rem;
        gap: 6px;
        min-height: 45px;
        border-radius: 22px;
    }
    
    .fixed-cta-btn span {
        font-size: 0.8rem;
        white-space: normal;
    }
    
    .fixed-cta-btn i {
        font-size: 1rem;
    }
}

/* PC対応 */
@media (min-width: 769px) {
    .fixed-cta-buttons {
        padding: 15px 10px;
        max-width: 600px;
        margin: 0 auto;
        justify-content: center;
        gap: 10px;
    }
    
    .fixed-cta-btn {
        width: auto;
        flex: 1;
        max-width: 180px;
        margin: 0;
        flex-direction: row;
        padding: 12px 15px;
        font-size: 0.9rem;
        gap: 8px;
        min-height: 45px;
        border-radius: 25px;
    }
    
    .fixed-cta-btn span {
        font-size: 0.9rem;
        white-space: normal;
    }
    
    .fixed-cta-btn i {
        font-size: 1rem;
    }
}


/* レスポンシブ */
@media (max-width: 768px) {
    .main-catchphrase {
        font-size: 2.2rem;
    }
    
    .lead-text {
        font-size: 1.1rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-btn {
        width: 100%;
        max-width: 320px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .staff-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
    
    .phone-number {
        font-size: 2.2rem;
    }
    
    .news-navigation {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .news-prev {
        left: 10px;
    }
    
    .news-next {
        right: 10px;
    }
    
    .news-flyer {
        height: 400px;
    }
    
    .news-content {
        padding: 20px;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

/* ページトップボタンのCSS */
.scroll-to-top {
            position: fixed;
            bottom: 20px;
            right: 20px;
            width: 50px;
            height: 50px;
            background: linear-gradient(135deg, var(--ace-primary), var(--ace-dark));
            color: #fff;
            border: none;
            border-radius: 50%;
            cursor: pointer;
            font-size: 1.2rem;
            z-index: 99999;
            opacity: 0;
            visibility: hidden;
            transform: translateY(20px);
            transition: all 0.3s ease;
            box-shadow: 0 4px 15px rgba(30, 136, 229, 0.3);
        }
.scroll-to-top.show {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
        }
.scroll-to-top:hover {
            background: linear-gradient(135deg, var(--ace-dark), var(--ace-primary));
            transform: translateY(-3px);
            box-shadow: 0 8px 25px rgba(30, 136, 229, 0.4);
        }
.scroll-to-top:active {
            transform: translateY(-1px);
        }

/* 固定CTAがある場合の調整 */
@media (max-width: 768px) {
	.scroll-to-top {
		bottom: 80px; /* 固定CTAの上に配置 */
		right: 15px;
		width: 45px;
		height: 45px;
		font-size: 1rem;
            }
        }
/* PCで固定CTAがある場合 */
@media (min-width: 769px) {
.scroll-to-top {
	bottom: 15px;
	right: 25px;
	}
}



