/* テンプレート48: カルーセル+タイルグリッド */
@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@400;600;700&family=Noto+Sans+JP:wght@400;500;700&display=swap');
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Raleway', 'Noto Sans JP', sans-serif; font-size: 16px; line-height: 1.9; color: #334155; background: #f1f5f9; }

.site-header { background: linear-gradient(135deg, #0f766e 0%, #14b8a6 100%); padding: 0 40px; display: flex; justify-content: space-between; align-items: center; position: sticky; top: 0; z-index: 1000; }
.logo { font-size: 1.4rem; font-weight: 700; color: #fff; padding: 20px 0; }
.main-nav ul { list-style: none; display: flex; }
.main-nav a { display: block; padding: 25px 20px; color: rgba(255,255,255,0.9); text-decoration: none; font-weight: 500; transition: all 0.3s; }
.main-nav a:hover { background: rgba(255,255,255,0.1); color: #fff; }

/* カルーセル */
.carousel { position: relative; height: 450px; overflow: hidden; }
.carousel-inner { display: flex; height: 100%; transition: transform 0.6s ease; }
.carousel-slide { min-width: 100%; height: 100%; position: relative; }
.carousel-slide img { width: 100%; height: 100%; object-fit: cover; }
.carousel-overlay { position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: linear-gradient(135deg, rgba(15, 118, 110, 0.85) 0%, rgba(20, 184, 166, 0.7) 100%); display: flex; align-items: center; justify-content: center; }
.carousel-content { text-align: center; color: #fff; padding: 0 30px; }
.carousel-content h1 { font-size: 2.8rem; margin-bottom: 15px; }
.carousel-content p { font-size: 1.1rem; opacity: 0.9; }
.carousel-nav { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); display: flex; gap: 12px; }
.carousel-dot { width: 12px; height: 12px; background: rgba(255,255,255,0.4); border-radius: 50%; cursor: pointer; transition: all 0.3s; }
.carousel-dot.active { background: #fff; transform: scale(1.2); }
.carousel-arrow { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,0.2); border: none; color: #fff; width: 50px; height: 50px; border-radius: 50%; cursor: pointer; font-size: 1.5rem; transition: all 0.3s; }
.carousel-arrow:hover { background: rgba(255,255,255,0.4); }
.carousel-arrow.prev { left: 30px; }
.carousel-arrow.next { right: 30px; }

/* タイルグリッド */
.main-content { padding: 60px 0; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 30px; }
.section-title { font-size: 2rem; color: #0f766e; text-align: center; margin-bottom: 50px; }

.tile-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; }
.tile { background: #fff; border-radius: 16px; overflow: hidden; box-shadow: 0 4px 20px rgba(15, 118, 110, 0.1); transition: all 0.4s; }
.tile.fade-in { opacity: 0; transform: translateY(30px); }
.tile.fade-in.visible { opacity: 1; transform: translateY(0); }
.tile:hover { transform: translateY(-10px); box-shadow: 0 15px 40px rgba(15, 118, 110, 0.2); }
.tile-image { height: 200px; overflow: hidden; }
.tile-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.tile:hover .tile-image img { transform: scale(1.1); }
.tile-body { padding: 25px; }
.tile-category { display: inline-block; background: #ccfbf1; color: #0f766e; padding: 4px 12px; border-radius: 20px; font-size: 0.75rem; font-weight: 600; margin-bottom: 12px; }
.tile-title { font-size: 1.2rem; color: #1e293b; margin-bottom: 10px; }
.tile-text { color: #64748b; font-size: 0.9rem; }

.content-box { background: #fff; border-radius: 16px; padding: 45px; box-shadow: 0 4px 20px rgba(15, 118, 110, 0.08); margin-top: 50px; }
.content-box h2 { font-size: 1.5rem; color: #0f766e; margin-bottom: 20px; }

.site-footer { background: #0f766e; color: rgba(255,255,255,0.8); padding: 50px 40px; text-align: center; }
.footer-nav a { color: rgba(255,255,255,0.8); text-decoration: none; margin: 0 15px; }

.hamburger { display: none; width: 28px; height: 22px; position: relative; cursor: pointer; }
.hamburger span { display: block; position: absolute; width: 100%; height: 2px; background: #fff; transition: all 0.3s; }
.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) { top: 10px; }
.hamburger span:nth-child(3) { top: 20px; }
.mobile-nav { display: none; position: fixed; top: 0; right: -100%; width: 280px; height: 100vh; background: #0f766e; padding: 80px 30px; transition: right 0.4s; z-index: 999; }
.mobile-nav.open { right: 0; }
.mobile-nav a { display: block; padding: 15px 0; color: #fff; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,0.2); }

.back-to-top { display: none; position: fixed; bottom: 30px; right: 30px; width: 50px; height: 50px; background: #14b8a6; color: #fff; border: none; border-radius: 50%; cursor: pointer; z-index: 998; }

.sitemap-list { list-style: none; }
.sitemap-list li { margin-bottom: 12px; padding-left: 20px; position: relative; }
.sitemap-list li::before { content: '◆'; position: absolute; left: 0; color: #14b8a6; font-size: 0.6rem; }
.sitemap-list a { color: #0f766e; text-decoration: none; }

@media (max-width: 900px) {
    .tile-grid { grid-template-columns: repeat(2, 1fr); }
    .main-nav { display: none; }
    .hamburger { display: block; }
    .mobile-nav { display: block; }
    .carousel-content h1 { font-size: 1.8rem; }
    .carousel-arrow { display: none; }
}
@media (max-width: 600px) {
    .tile-grid { grid-template-columns: 1fr; }
}
