:root {
    --primary-color: #4DB6E2;
    --secondary-color: #0072B5;
    --accent-color: #2DD4BF;
    --light-color: #EBF8FF;
    --dark-color: #1A365D;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Noto Sans JP', sans-serif;
}

body {
    background-color: #f7f7f7;
    color: #333;
    overflow-x: hidden;
}

/* Wi-Fi Background Effects */
.wifi-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.2;
    pointer-events: none;
}

.wifi-wave {
    position: absolute;
    border-radius: 50%;
    border: 2px solid var(--primary-color);
    opacity: 0;
    transform: translate(-50%, -50%);
    animation: wifi-wave 5s infinite;
}

.wave1 { top: 20%; left: 10%; width: 300px; height: 300px; animation-delay: 0s; }
.wave2 { top: 70%; left: 20%; width: 200px; height: 200px; animation-delay: 1s; }
.wave3 { top: 30%; left: 80%; width: 250px; height: 250px; animation-delay: 2s; }
.wave4 { top: 80%; left: 85%; width: 300px; height: 300px; animation-delay: 3s; }

@keyframes wifi-wave {
    0% { transform: translate(-50%, -50%) scale(0); opacity: 0.5; }
    100% { transform: translate(-50%, -50%) scale(1); opacity: 0; }
}

/* Main Container */
.container-wrapper {
    display: flex;
    min-height: 100vh;
}

/* Left Column - Catchphrase */
.left-column {
    width: 25%;
    background: linear-gradient(135deg, #4DB6E2, #0072B5);
    padding: 2rem;
    color: white;
    position: relative;
    overflow: hidden;
    display: none; /* ここをresponsive.cssで上書き */
}

.catchphrase {
    position: sticky;
    top: 5rem;
    z-index: 10;
}

.catchphrase h2 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    line-height: 1.3;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.catchphrase p {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    line-height: 1.6;
}

/* Design elements for left column */
.left-design {
    position: absolute;
    bottom: 35%;
    right: -50px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    z-index: 1;
}

.left-design::before {
    content: '';
    position: absolute;
    top: -30px;
    left: -30px;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
}

/* Main Content Column */
.main-content {
    flex: 1;
    padding: 1rem;
    max-width: 100%;
    margin: 0 auto;
}

/* Right Column - Menu */
.right-column {
    width: 25%;
    background: white;
    padding: 2rem;
    box-shadow: -5px 0 15px rgba(0,0,0,0.05);
    display: none; /* ここをresponsive.cssで上書き */
}

.menu {
    position: sticky;
    top: 5rem;
}

.menu-title {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 2rem;
    color: var(--dark-color);
}

.menu-list {
    list-style: none !important;
    margin: 0;
    padding: 0;
}

.menu-item {
    margin-bottom: 1.5rem;
    display: block;
}

.menu-link {
    display: flex !important;
    align-items: center;
    color: var(--dark-color);
    font-size: 1.1rem;
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition);
    padding: 0.5rem 0;
}

.menu-link i {
    margin-right: 1rem;
    color: var(--primary-color);
    font-size: 1.2rem;
}

.menu-link:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

/* Mobile Header */
.mobile-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo img {
    height: 40px;
}

.mobile-menu-toggle {
    font-size: 1.5rem;
    color: var(--dark-color);
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100vh;
    background: white;
    z-index: 200;
    padding: 2rem;
    transition: var(--transition);
    box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    overflow-y: auto;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 1.5rem;
    background: none;
    border: none;
    color: var(--dark-color);
    cursor: pointer;
}

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 199;
    display: none;
}

.mobile-menu-overlay.active {
    display: block;
}

.hero-section {
    margin-bottom: 3rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-radius: 10px;
    overflow: hidden;
    background: white;
}
.hero-section img{
    width: 100%;
}

.hero-section .sub-banners {
    padding: 10px;
    display: flex;
    justify-content: space-between; /* 左右のバナーを両端に配置 */
    flex-wrap: nowrap;
}

/* サブバナーのスタイル */
.sub-banners {
    display: flex;
    flex-direction: row; /* 横並び */
    flex-wrap: nowrap; /* 折り返さない */
    justify-content: space-between;
    gap: 10px;
    margin-top: 10px;
    padding: 10px;
    overflow-x: auto; /* 必要に応じて横スクロール */
    -webkit-overflow-scrolling: touch; /* iOS でのスムーズスクロール */
    scrollbar-width: thin; /* Firefox のスクロールバー */
    scrollbar-color: #ccc transparent; /* Firefox のスクロールバー色 */
}

/* Chrome, Safari, Edge用のスクロールバースタイル */
.sub-banners::-webkit-scrollbar {
    height: 4px;
}

.sub-banners::-webkit-scrollbar-track {
    background: transparent;
}

.sub-banners::-webkit-scrollbar-thumb {
    background-color: #ccc;
    border-radius: 4px;
}

.sub-banner-container {
    width: 220px;
    height: 300px;
    flex: 0 0 auto; /* サイズを固定、伸縮させない */
    overflow: hidden;
}

.sub-banner {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.sub-banner:hover {
    transform: scale(1.05);
}

.sub-banner-link {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
}


/* Topic News Section */
.topic-news {
    margin-bottom: 3rem;
    padding: 1.5rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    width: 100%; /* コンテナの幅いっぱいに */
}

.section-title {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    color: var(--dark-color);
    position: relative;
    padding-bottom: 0.5rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--primary-color);
}

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

.news-item {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #eee;
}

.news-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.news-item a {
    display: flex;
    text-decoration: none;
    color: inherit;
}

.news-thumbnail {
    width: 70px;
    height: 70px;
    border-radius: 5px;
    object-fit: cover;
    margin-right: 1rem;
    flex-shrink: 0;
}

.news-content {
    flex: 1;
}

.news-date {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 0.3rem;
}

.news-title {
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    line-height: 1.4;
    color: var(--dark-color);
}

.news-excerpt {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.view-more {
    display: inline-block;
    margin-top: 1rem;
    color: var(--primary-color);
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition);
}

.view-more i {
    margin-left: 0.5rem;
    transition: var(--transition);
}

.view-more:hover {
    color: var(--secondary-color);
}

.view-more:hover i {
    transform: translateX(3px);
}

/* Sponsors Section */
.sponsors {
    margin-bottom: 3rem;
    padding: 1.5rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    width: 100%; /* コンテナの幅いっぱいに */
}

.sponsors-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.sponsor-item {
    padding: 1rem;
    border-radius: 8px;
    background: #f9f9f9;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.sponsor-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.sponsor-logo {
    max-width: 80%;
    max-height: 60px;
    object-fit: contain;
}

.recruit-sponsor {
    display: flex;
    justify-content: center;
    margin-top: 1.5rem;
}

.sponsor-button {
    background: var(--primary-color);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 30px;
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    display: inline-flex;
    align-items: center;
}

.sponsor-button i {
    margin-right: 0.5rem;
}

.sponsor-button:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}

/* Footer */
.footer {
    background: #f3f3f3;
    padding: 2rem 1rem;
    text-align: center;
    margin-top: 3rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.footer-logo {
    width: 120px;
    height: auto;
    margin: 0 auto 1rem;
    display: block;
}

.footer-links {
    margin-bottom: 1.5rem;
}

.footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-menu li {
    margin: 0.5rem;
}

.footer-link {
    color: #666;
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
    padding: 0.25rem 0.5rem;
}

.footer-link:hover {
    color: var(--primary-color);
}

.social-links {
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: white;
    color: var(--primary-color);
    margin: 0 0.5rem;
    font-size: 1.2rem;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.social-link:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 10px rgba(0,0,0,0.1);
}

.copyright {
    font-size: 0.85rem;
    color: #999;
    margin-top: 1rem;
}


/* 協賛企業アーカイブページのスタイル */
.page-header {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.page-title {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--dark-color);
    position: relative;
    padding-bottom: 0.5rem;
}

.page-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--primary-color);
}

.sponsors-archive {
    margin-bottom: 3rem;
}

.sponsors-archive-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.sponsor-archive-item {
    height: 100%;
}

.sponsor-card {
    height: 100%;
    padding: 1.5rem;
    border-radius: 10px;
    background: white;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.sponsor-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

.sponsor-logo-link {
    display: block;
    text-align: center;
    margin-bottom: 1rem;
    padding: 1rem;
    background: #f9f9f9;
    border-radius: 8px;
}

.sponsor-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--dark-color);
    text-align: center;
}

.sponsor-description {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.sponsor-link {
    text-align: center;
    margin-top: auto;
}

.sponsor-website-link {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--light-color);
    color: var(--dark-color);
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.sponsor-website-link:hover {
    background: var(--primary-color);
    color: white;
}

.no-sponsors {
    text-align: center;
    padding: 3rem 1rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.no-sponsors p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    color: #666;
}

.no-sponsors .sponsor-button {
    margin-top: 1.5rem;
}

/* ページネーション */
.pagination {
    display: flex;
    justify-content: center;
    margin: 2rem 0;
}

.pagination .nav-links {
    display: flex;
    align-items: center;
}

.pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin: 0 0.25rem;
    border-radius: 50%;
    background: white;
    color: var(--dark-color);
    text-decoration: none;
    font-weight: 500;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: var(--transition);
}

.pagination .page-numbers.current {
    background: var(--primary-color);
    color: white;
}

.pagination .page-numbers:not(.dots):hover {
    background: var(--secondary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 10px rgba(0,0,0,0.1);
}

.pagination .prev,
.pagination .next {
    width: auto;
    padding: 0 1rem;
    border-radius: 20px;
}

/* 記事詳細ページのスタイル */
.single-post {
    background: white;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.post-header {
    margin-bottom: 2rem;
}

.post-meta {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: #666;
}

.post-date {
    margin-right: 1.5rem;
}

.post-category a {
    color: inherit;
    text-decoration: none;
}

.post-category a:hover {
    color: var(--primary-color);
}

.post-title {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.3;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.post-thumbnail {
    margin-bottom: 2rem;
    border-radius: 8px;
    overflow: hidden;
}

.featured-image {
    width: 100%;
    height: auto;
}

.post-content {
    line-height: 1.8;
    margin-bottom: 2rem;
}

.post-content p, 
.post-content ul, 
.post-content ol, 
.post-content blockquote {
    margin-bottom: 1.5rem;
}

.post-content h2, 
.post-content h3, 
.post-content h4 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
}

.post-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 2rem;
    color: #666;
    font-size: 0.9rem;
}

.post-tags a {
    display: inline-block;
    margin-left: 0.5rem;
    margin-right: 0.5rem;
    color: var(--primary-color);
    text-decoration: none;
}

.post-tags a:hover {
    text-decoration: underline;
}

.post-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid #eee;
}

.prev-post, .next-post, .back-to-archive {
    flex: 1;
}

.prev-post {
    text-align: left;
}

.back-to-archive {
    text-align: center;
}

.next-post {
    text-align: right;
}

.post-navigation a {
    display: inline-block;
    color: var(--dark-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.post-navigation a:hover {
    color: var(--primary-color);
}

/* 固定ページのスタイル */
.page-content {
    background: white;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.page-thumbnail {
    margin-bottom: 2rem;
    border-radius: 8px;
    overflow: hidden;
}

.page-content-body {
    line-height: 1.8;
}

/* 404ページのスタイル */
.error-404 {
    background: white;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: center;
}

.error-icon {
    font-size: 5rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.error-message {
    margin-bottom: 2rem;
}

.error-message p {
    margin-bottom: 1rem;
}

.error-message ul {
    text-align: left;
    display: inline-block;
    margin-left: 1rem;
    margin-top: 1rem;
}

.error-actions {
    margin-top: 2rem;
}

.button {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    border-radius: 30px;
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    margin: 0 0.5rem;
}

.primary-button {
    background: var(--primary-color);
    color: white;
}

.primary-button:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}

.secondary-button {
    background: white;
    color: var(--dark-color);
    border: 1px solid var(--dark-color);
}

.secondary-button:hover {
    background: var(--light-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}

/* サービス概要ページのスタイル */
.service-intro, .service-features, .service-flow, .service-specs, .cta-section {
    margin-bottom: 3rem;
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.service-overview {
    margin-top: 1.5rem;
}

.service-image {
    margin: 1.5rem 0;
    text-align: center;
}

.service-image img {
    max-width: 100%;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.features-list {
    margin-top: 1.5rem;
}

.feature-item {
    display: flex;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #eee;
}

.feature-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.feature-icon {
    font-size: 2rem;
    color: var(--primary-color);
    margin-right: 1rem;
    flex-shrink: 0;
    width: 50px;
    text-align: center;
}

.feature-content h3 {
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

.flow-steps {
    margin-top: 1.5rem;
}

.flow-step {
    display: flex;
    margin-bottom: 1.5rem;
    position: relative;
}

.flow-step:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 20px;
    top: 40px;
    height: calc(100% - 20px);
    width: 2px;
    background-color: var(--primary-color);
}

.flow-number {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    margin-right: 1rem;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
}

.flow-content h3 {
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

.specs-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1.5rem;
}

.specs-table th, .specs-table td {
    padding: 1rem;
    border: 1px solid #eee;
    text-align: left;
}

.specs-table th {
    background-color: var(--light-color);
    font-weight: 500;
    width: 30%;
}

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

.cta-buttons {
    margin-top: 1.5rem;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-button {
    margin: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 30px;
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: var(--transition);
}

.cta-button i {
    margin-right: 0.5rem;
}

.primary-button {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.primary-button:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}

.secondary-button {
    background: white;
    color: var(--dark-color);
    border: 1px solid var(--dark-color);
}

.secondary-button:hover {
    background: var(--light-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* よくある質問ページのスタイル */
.faq-intro, .faq-categories, .faq-list-container, .faq-cta {
    margin-bottom: 3rem;
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.faq-category-nav {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 1rem;
    gap: 0.5rem;
}

.faq-category {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    border: 1px solid var(--primary-color);
    background: transparent;
    color: var(--primary-color);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.faq-category.active, .faq-category:hover {
    background: var(--primary-color);
    color: white;
}

.faq-item {
    margin-bottom: 1rem;
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
}

.faq-question {
    padding: 1rem;
    background: var(--light-color);
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
}

.faq-question:hover {
    background: #e3f2fd;
}

.faq-question.active {
    background: var(--primary-color);
    color: white;
}

.faq-icon {
    margin-right: 1rem;
    font-size: 1.2rem;
    color: var(--primary-color);
}

.faq-question.active .faq-icon {
    color: white;
}

.faq-question h3 {
    flex: 1;
    font-size: 1.1rem;
    font-weight: 500;
    margin: 0;
}

.faq-toggle {
    margin-left: 1rem;
}

.faq-answer {
    padding: 1.5rem;
    display: none;
    background: white;
    border-top: 1px solid #eee;
    display: flex;
}

.faq-answer p {
    margin: 0;
    line-height: 1.6;
}

/* よくある質問ページのスタイル */
.faq-intro, .faq-categories, .faq-list-container, .faq-cta {
    margin-bottom: 3rem;
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.faq-category-nav {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 1rem;
    gap: 0.5rem;
}

.faq-category {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    border: 1px solid var(--primary-color);
    background: transparent;
    color: var(--primary-color);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.faq-category.active, .faq-category:hover {
    background: var(--primary-color);
    color: white;
}

.faq-item {
    margin-bottom: 1rem;
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
}

.faq-question {
    padding: 1rem;
    background: var(--light-color);
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
}

.faq-question:hover {
    background: #e3f2fd;
}

.faq-question.active {
    background: var(--primary-color);
    color: white;
}

.faq-icon {
    margin-right: 1rem;
    font-size: 1.2rem;
    color: var(--primary-color);
}

.faq-question.active .faq-icon {
    color: white;
}

.faq-question h3 {
    flex: 1;
    font-size: 1.1rem;
    font-weight: 500;
    margin: 0;
}

.faq-toggle {
    margin-left: 1rem;
}

.faq-answer {
    padding: 1.5rem;
    display: none;
    background: white;
    border-top: 1px solid #eee;
    display: flex;
}

.faq-answer .faq-icon {
    flex-shrink: 0;
    align-self: flex-start;
    margin-top: 0.2rem;
}

.faq-answer p {
    margin: 0;
    line-height: 1.6;
}

/* CTAセクションのスタイル */
.cta-content {
    text-align: center;
}

.cta-buttons {
    margin-top: 1.5rem;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-button {
    margin: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 30px;
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: var(--transition);
}

.cta-button i {
    margin-right: 0.5rem;
}

.primary-button {
    background: var(--primary-color);
    color: white !important;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.primary-button:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
    color: white !important;
}

.secondary-button {
    background: white;
    color: var(--dark-color) !important;
    border: 1px solid var(--dark-color);
}

.secondary-button:hover {
    background: var(--light-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    color: var(--dark-color) !important;
}

/* レスポンシブ対応 */
@media (max-width: 767px) {
    .faq-category-nav {
        justify-content: center;
    }
    
    .faq-question h3 {
        font-size: 1rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-button {
        width: 100%;
        justify-content: center;
    }
}
/* お問い合わせページのスタイル */
.contact-intro, .contact-info, .contact-form-section, .faq-shortcut {
    margin-bottom: 3rem;
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.info-item {
    display: flex;
    align-items: flex-start;
    padding: 1.5rem;
    background: var(--light-color);
    border-radius: 8px;
    transition: var(--transition);
}

.info-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.info-icon {
    font-size: 2rem;
    color: var(--primary-color);
    margin-right: 1rem;
    flex-shrink: 0;
}

.info-content h3 {
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
    color: var(--dark-color);
}

.phone-number, .email-address {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.info-note {
    font-size: 0.9rem;
    color: #666;
}

/* Contact Form 7 スタイル */
.wpcf7 {
    margin-top: 2rem !important;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-control:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(77, 182, 226, 0.2);
}

span.wpcf7-not-valid-tip {
    color: #f56565;
    font-size: 0.9rem;
    margin-top: 0.25rem;
}

.wpcf7-response-output {
    margin: 2rem 0 !important;
    padding: 1rem !important;
    border-radius: 5px;
}

.wpcf7-validation-errors, .wpcf7-spam-blocked {
    background-color: #fff5f5;
    border-color: #f56565 !important;
    color: #c53030;
}

.wpcf7-mail-sent-ok {
    background-color: #f0fff4;
    border-color: #48bb78 !important;
    color: #2f855a;
}

.required {
    color: #e53e3e;
    margin-left: 0.25rem;
}

/* チェックボックス */
.privacy-policy {
    margin-bottom: 2rem;
}

.checkbox-container {
    display: flex;
    align-items: flex-start;
}

.form-checkbox {
    margin-right: 0.5rem !important;
}

.privacy-text {
    font-size: 0.9rem;
    color: #666;
}

.privacy-text a {
    color: var(--primary-color);
    text-decoration: underline;
}

/* 送信ボタン */
.submit-container {
    text-align: center;
}

.submit-button {
    background-color: var(--primary-color) !important;
    color: white !important;
    padding: 0.8rem 3rem !important;
    border: none !important;
    border-radius: 30px !important;
    font-size: 1.1rem !important;
    font-weight: 500 !important;
    cursor: pointer !important;
    transition: background-color 0.3s, transform 0.3s, box-shadow 0.3s !important;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1) !important;
}

.submit-button:hover {
    background-color: var(--secondary-color) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 5px 15px rgba(0,0,0,0.15) !important;
}

/* FAQショートカット */
.faq-shortcut {
    background: var(--light-color);
}

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

.shortcut-content h3 {
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

.shortcut-link {
    display: inline-block;
    margin-top: 1rem;
    color: var(--primary-color);
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition);
}

.shortcut-link i {
    margin-right: 0.5rem;
}

.shortcut-link:hover {
    color: var(--secondary-color);
}

/* レスポンシブ対応 */
@media (max-width: 767px) {
    .info-grid {
        grid-template-columns: 1fr;
    }
    
    .info-item {
        padding: 1rem;
    }
    
    .info-icon {
        font-size: 1.5rem;
    }
    
    .phone-number, .email-address {
        font-size: 1.1rem;
    }
}
/* お知らせ一覧ページのスタイル */
.news-filter, .news-list-section {
    margin-bottom: 3rem;
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.filter-title {
    margin-bottom: 1rem;
    font-size: 1.2rem;
    color: var(--dark-color);
}

.category-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.category-btn {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    border: 1px solid var(--primary-color);
    background: transparent;
    color: var(--primary-color);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.category-btn.active, .category-btn:hover {
    background: var(--primary-color);
    color: white;
}

.news-items-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.news-item {
    border-bottom: 1px solid #eee;
    padding-bottom: 1.5rem;
}

.news-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.news-item-link {
    display: flex;
    text-decoration: none;
    color: inherit;
}

.news-item-image {
    width: 120px;
    height: 120px;
    flex-shrink: 0;
    margin-right: 1.5rem;
    border-radius: 5px;
    overflow: hidden;
}

.news-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
	max-width:70px;
}

.news-item-content {
    flex: 1;
}

.news-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 0.5rem;
    gap: 1rem;
}

.news-date {
    font-size: 0.85rem;
    color: #666;
}

.news-categories {
    display: flex;
    gap: 0.5rem;
}

.news-category {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
    border-radius: 3px;
    background-color: var(--light-color);
    color: var(--primary-color);
}

.news-title {
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    line-height: 1.4;
    color: var(--dark-color);
}

.news-excerpt {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 0.75rem;
}

.read-more {
    font-size: 0.9rem;
    color: var(--primary-color);
    font-weight: 500;
    transition: var(--transition);
}

.read-more i {
    transition: transform 0.3s;
}

.news-item-link:hover .news-title {
    color: var(--primary-color);
}

.news-item-link:hover .read-more i {
    transform: translateX(3px);
}

.no-news {
    text-align: center;
    padding: 2rem 0;
    color: #666;
}

/* ページネーション */
.pagination-container {
    margin-top: 2rem;
    text-align: center;
}

.pagination-container .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin: 0 0.25rem;
    border-radius: 50%;
    background: white;
    color: var(--dark-color);
    text-decoration: none;
    font-weight: 500;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: var(--transition);
}

.pagination-container .page-numbers.current {
    background: var(--primary-color);
    color: white;
}

.pagination-container .page-numbers:not(.dots):hover {
    background: var(--secondary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 10px rgba(0,0,0,0.1);
}

.pagination-container .prev,
.pagination-container .next {
    width: auto;
    padding: 0 1rem;
    border-radius: 20px;
}

/* レスポンシブ対応 */
@media (max-width: 767px) {
    .news-item-link {
        flex-direction: column;
    }
    
    .news-item-image {
        width: 100%;
        height: 180px;
        margin-right: 0;
        margin-bottom: 1rem;
    }
    
    .category-filter {
        justify-content: center;
    }
}

