/* 
* 士別青年会議所 - 必笑 [HISSHO] スタイルシート
* メインCSSファイル - 完全統合版（ロゴ位置修正済み・アニメーション削除）
*/

/* ================ 基本スタイル ================ */
:root {
    --primary-color: #e74c3c;
    --secondary-color: #3498db;
    --dark-color: #2c3e50;
    --light-color: #ecf0f1;
    --gray-color: #95a5a6;
    --success-color: #2ecc71;
    --warning-color: #f39c12;
    --animation-timing: 0.3s;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans JP', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

a:hover {
    color: #c0392b;
}

ul, ol {
    list-style: none;
}

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

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

.btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 12px 24px;
    border-radius: 4px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.btn:hover {
    background-color: #c0392b;
    transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
    color: white;
}

section {
    padding: 80px 0;
}

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

/* ================ ローディングアニメーション ================ */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.loader {
    position: relative;
}

.loader span {
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-color);
    letter-spacing: 8px;
    position: relative;
    display: inline-block;
}

.loader span::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% { width: 0; }
    50% { width: 100%; }
    100% { width: 0; }
}

/* ================ ヘッダー ================ */
header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    padding: 15px 0;
    z-index: 100;
    transition: all 0.3s ease;
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    min-height: 80px;
    display: flex;
    align-items: center;
}

header.scrolled {
    padding: 10px 0;
    min-height: 60px;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
}

/* ================ ヘッダー・フッターロゴ（シンプル配置・完全修正版） ================ */

/* ヘッダーロゴ */
.logo {
    display: flex;
    align-items: center;
    height: auto;
    max-width: 60%;
    min-width: 200px;
}

.logo a {
    display: flex;
    align-items: center;
    color: var(--dark-color);
    text-decoration: none;
    gap: 10px;
    height: auto;
    line-height: 1;
    flex-direction: row;
    flex-wrap: nowrap;
}

.jci-logo {
    height: 35px;
    width: auto;
    object-fit: contain;
    flex-shrink: 0;
    display: block;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
    justify-content: center;
    align-items: flex-start;
    white-space: nowrap;
    min-width: 0;
}

.logo-text .logo-full {
    display: block;
    font-size: 14px;
    font-weight: normal;
    color: #666;
    margin: 0;
    line-height: 1.2;
}

.logo-text .logo-main {
    display: block;
    font-size: 20px;
    font-weight: 600;
    color: var(--dark-color);
    margin: 0;
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* 既存のlogo-fullスタイルを上書き */
.logo-full {
    display: block;
    font-size: 14px;
    font-weight: normal;
    color: #666;
}

/* ================ ナビゲーション ================ */
nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    color: var(--dark-color);
    font-weight: 500;
    font-size: 16px;
    position: relative;
    text-decoration: none;
    transition: color 0.3s ease;
}

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

nav ul li a:hover::after,
nav ul li a.active::after {
    width: 100%;
}

nav ul li a:hover {
    color: var(--primary-color);
}

.hamburger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    cursor: pointer;
    z-index: 101;
    position: relative;
}

.hamburger-menu span {
    width: 100%;
    height: 2px;
    background-color: var(--dark-color);
    transition: all 0.3s ease;
    transform-origin: center;
}

.hamburger-menu.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.hamburger-menu.active span:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* ================ ヒーローセクション ================ */
.hero {
    height: 100vh;
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../images/hero/main-background.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    margin-top: 80px;
}

.hero-content {
    max-width: 800px;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 160px;
    font-weight: 900;
    letter-spacing: 10px;
    margin-bottom: 20px;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.4);
    font-family: 'Yuji Syuku', 'Zen Antique', serif;
    line-height: 1.2;
    transform: rotate(0deg);
    display: inline-block;
    position: relative;
}

.hero-content h1::before {
    content: "";
    position: absolute;
    width: 120%;
    height: 110%;
    background-color: rgba(255, 255, 255, 0.1);
    top: -5%;
    left: -10%;
    border-radius: 10px;
    z-index: -1;
}

.hero-content h1 span {
    color: var(--primary-color);
    font-family: 'Yuji Syuku', 'Zen Antique', serif;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-content p {
    font-size: 18px;
    margin-bottom: 30px;
    line-height: 1.8;
}

/* ================ セクションヘッダー ================ */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-subtitle {
    display: inline-block;
    font-size: 16px;
    font-weight: 600;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 15px;
    position: relative;
}

.section-subtitle::before,
.section-subtitle::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 30px;
    height: 1px;
    background-color: var(--primary-color);
}

.section-subtitle::before {
    left: -40px;
}

.section-subtitle::after {
    right: -40px;
}

.section-title {
    font-size: 36px;
    margin-bottom: 20px;
    color: var(--dark-color);
}

.section-description {
    max-width: 800px;
    margin: 0 auto;
    color: #666;
    font-size: 18px;
    line-height: 1.8;
}

/* ================ ミッションセクション ================ */
.mission-section {
    background-color: #f9f9f9;
}

.mission-values {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.mission-value {
    background-color: white;
    padding: 40px 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.mission-value:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.value-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background-color: rgba(231, 76, 60, 0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.value-icon i {
    font-size: 36px;
    color: var(--primary-color);
}

.mission-value h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.mission-value p {
    color: #666;
    font-size: 16px;
    line-height: 1.6;
}

/* ================ ニュースセクション ================ */
.news-items {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.news-item {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

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

.news-item-image {
    height: 200px;
    background-size: cover;
    background-position: center;
    transition: all 0.5s ease;
}

.news-item:hover .news-item-image {
    transform: scale(1.05);
}

.news-item-content {
    padding: 25px;
}

.news-item-content .date {
    display: inline-block;
    font-size: 14px;
    color: var(--gray-color);
    margin-bottom: 10px;
}

.news-item-content .title {
    font-size: 20px;
    margin-bottom: 15px;
}

.news-item-content .title a {
    color: var(--dark-color);
}

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

.news-item-content .excerpt {
    color: #666;
    font-size: 15px;
    margin-bottom: 15px;
    line-height: 1.6;
}

.news-item-content .read-more {
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.news-item-content .read-more:hover {
    color: #c0392b;
    padding-left: 5px;
}

/* ================ 活動内容セクション ================ */
.activities-section {
    background-color: #f9f9f9;
}

.activities-items {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.activity-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    height: 400px;
}

.activity-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

.activity-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 25px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: white;
    transform: translateY(0);
    transition: all 0.5s ease;
}

.activity-item:hover .activity-content,
.activity-content.active {
    transform: translateY(0);
    background: rgba(0, 0, 0, 0.8);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.activity-content h3 {
    font-size: 24px;
    margin-bottom: 15px;
}

.activity-content p {
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease 0.1s;
}

.activity-content .btn {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease 0.2s;
}

.activity-item:hover .activity-content p,
.activity-item:hover .activity-content .btn,
.activity-content.active p,
.activity-content.active .btn {
    opacity: 1;
    transform: translateY(0);
}

/* ================ メンバー紹介セクション ================ */
.members-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.member-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.member-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.member-image {
    height: 280px;
    overflow: hidden;
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

.member-card:hover .member-image img {
    transform: scale(1.1);
}

.member-info {
    padding: 25px;
    text-align: center;
}

.member-name {
    font-size: 20px;
    margin-bottom: 5px;
    color: var(--dark-color);
}

.member-position {
    display: block;
    font-size: 14px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.member-bio {
    color: #666;
    font-size: 14px;
    margin-bottom: 15px;
    line-height: 1.6;
}

.member-social {
    display: flex;
    justify-content: center;
}

.member-social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #f1f1f1;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 5px;
    color: var(--dark-color);
    transition: all 0.3s ease;
}

.member-social a:hover {
    background-color: var(--primary-color);
    color: white;
}

/* ================ カウントダウンセクション ================ */
.countdown-section {
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/events/teshicount.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    text-align: center;
}

/* カウントダウンセクションのタイトルを白色にする */
.countdown-section .section-title {
    color: white;
}

.countdown-content {
    max-width: 800px;
    margin: 0 auto;
}

.countdown-timer {
    display: flex;
    justify-content: center;
    margin: 40px 0;
}

.countdown-item {
    width: 120px;
    margin: 0 15px;
}

.countdown-item span {
    display: block;
}

.countdown-item .days,
.countdown-item .hours,
.countdown-item .minutes,
.countdown-item .seconds {
    font-size: 48px;
    font-weight: 700;
    color: white;
    background-color: rgba(231, 76, 60, 0.8);
    border-radius: 8px;
    padding: 20px 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.countdown-item .label {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 10px;
}

.countdown-info {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 40px;
}


.countdown-info h3 {
    font-size: 24px;
    margin-bottom: 15px;
}

.countdown-info p {
    margin-bottom: 10px;
}

.countdown-info i {
    margin-right: 10px;
}

/* ================ お問い合わせCTAセクション（メールリンク版） ================ */
.contact-cta-section {
    background-color: #f9f9f9;
    padding: 80px 0;
}

.contact-cta-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.contact-cta-text {
    padding-right: 20px;
}

.contact-cta-text .section-subtitle {
    display: inline-block;
    font-size: 16px;
    font-weight: 600;
    color: #e74c3c;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 15px;
    position: relative;
}

.contact-cta-text .section-subtitle::before,
.contact-cta-text .section-subtitle::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 30px;
    height: 1px;
    background-color: #e74c3c;
}

.contact-cta-text .section-subtitle::before {
    left: -40px;
}

.contact-cta-text .section-subtitle::after {
    right: -40px;
}

.contact-cta-text .section-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #2c3e50;
    line-height: 1.2;
}

.contact-cta-text p {
    color: #666666;
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 30px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 30px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    color: #666666;
    font-size: 16px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.contact-item:last-child {
    border-bottom: none;
}

.contact-item:hover {
    background-color: rgba(231, 76, 60, 0.02);
    padding-left: 10px;
}

.contact-item i {
    width: 30px;
    color: #e74c3c;
    font-size: 18px;
    text-align: center;
    flex-shrink: 0;
}

.contact-item span {
    line-height: 1.5;
}

.contact-item a {
    color: #e74c3c;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.contact-item a:hover {
    color: #c0392b;
    text-decoration: underline;
}

.contact-cta-action {
    display: flex;
    justify-content: center;
    align-items: center;
}

.email-contact-box {
    background-color: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    border: 1px solid #f0f0f0;
    width: 100%;
    max-width: 400px;
    transition: all 0.3s ease;
}

.email-contact-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.email-contact-box h3 {
    font-size: 24px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 15px;
    position: relative;
}

.email-contact-box h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 2px;
    background-color: #e74c3c;
}

.email-contact-box p {
    color: #666666;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 25px;
    margin-top: 20px;
}

.email-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background-color: #e74c3c;
    color: white;
    padding: 15px 30px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.3);
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    min-width: 200px;
}

.email-btn:hover {
    background-color: #c0392b;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(231, 76, 60, 0.4);
    color: white;
}

.email-btn:active {
    transform: translateY(0px);
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.3);
}

.email-btn i {
    font-size: 18px;
}

/* ================ フッター ================ */
footer {
    background-color: white;
    color: var(--dark-color);
    padding: 80px 0 20px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-about-col {
    padding-right: 20px;
}

/* フッターロゴ */
.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    gap: 10px;
    font-size: 20px;
    line-height: 1.2;
}

.footer-logo .jci-logo {
    height: 35px;
    width: auto;
    object-fit: contain;
    flex-shrink: 0;
    display: block;
}

.footer-logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
    justify-content: center;
    align-items: flex-start;
}

.footer-logo-text .logo-full {
    display: block;
    font-size: 14px;
    font-weight: normal;
    color: #666;
    margin: 0;
    line-height: 1.2;
}

.footer-logo-text .logo-main {
    display: block;
    font-size: 20px;
    font-weight: 600;
    color: var(--dark-color);
    margin: 0;
    line-height: 1.2;
}

.footer-about {
    color: #666;
    margin-bottom: 25px;
    line-height: 1.8;
}

.social-links {
    display: flex;
}

.social-links a {
    width: 40px;
    height: 40px;
    background-color: rgba(0, 0, 0, 0.05);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 10px;
    color: var(--dark-color);
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
    color: white;
}

.footer-heading {
    font-size: 18px;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
    color: var(--dark-color);
}

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

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #666;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-contact li {
    display: flex;
    margin-bottom: 15px;
    color: #666;
}

.footer-contact li i {
    width: 25px;
    margin-right: 15px;
    color: var(--primary-color);
}

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

.copyright p {
    color: #666;
    font-size: 14px;
}

/* ================ トップへ戻るボタン ================ */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 99;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    background-color: #c0392b;
    transform: translateY(-3px);
}

/* ================ アニメーション ================ */
.animate {
    opacity: 0;
    transform: translateY(40px);
    transition: all 1s ease;
}

.animate-active {
    opacity: 1;
    transform: translateY(0);
}

.animate-delay-1 {
    transition-delay: 0.2s;
}

.animate-delay-2 {
    transition-delay: 0.4s;
}

.animate-delay-3 {
    transition-delay: 0.6s;
}

/* AOS風のアニメーション */
[data-aos] {
    opacity: 0;
    transition: all 1s ease;
}

[data-aos="fade-up"] {
    transform: translateY(50px);
}

[data-aos="fade-down"] {
    transform: translateY(-50px);
}

[data-aos="fade-left"] {
    transform: translateX(50px);
}

[data-aos="fade-right"] {
    transform: translateX(-50px);
}

.aos-animate {
    opacity: 1;
    transform: translate(0, 0);
}

/* ================ レスポンシブデザイン ================ */

/* 大型デスクトップ（1200px以下） */
@media (max-width: 1200px) {
    .mission-values {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .news-items,
    .members-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* タブレット（992px以下） */
@media (max-width: 992px) {
    section {
        padding: 60px 0;
    }
    
    .hero-content h1 {
        font-size: 120px;
    }
    
    .section-title {
        font-size: 30px;
    }
    
    .activities-items {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
    
    /* JCIロゴ調整 */
    .jci-logo,
    .footer-logo .jci-logo {
        height: 30px;
    }
    
    .logo a,
    .footer-logo {
        gap: 8px;
    }
    
    .logo-text .logo-full,
    .footer-logo-text .logo-full {
        font-size: 12px;
    }
    
    .logo-text .logo-main,
    .footer-logo-text .logo-main {
        font-size: 18px;
    }
    
    /* お問い合わせセクション - タブレット対応 */
    .contact-cta-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-cta-text {
        padding-right: 0;
        text-align: center;
    }
    
    .contact-cta-text .section-title {
        font-size: 30px;
    }
    
    .contact-info {
        align-items: center;
        max-width: 500px;
        margin: 30px auto 0;
    }
    
    .email-contact-box {
        padding: 30px;
        max-width: 500px;
        margin: 0 auto;
    }
}

/* スマートフォン（768px以下） */
@media (max-width: 768px) {
    .hamburger-menu {
        display: flex;
    }
    
    nav {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: white;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        padding: 20px 0;
        transform: translateY(-100%);
        transition: all 0.3s ease;
        opacity: 0;
        visibility: hidden;
        z-index: 99;
    }
    
    nav.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    nav ul {
        flex-direction: column;
        align-items: center;
        margin: 0;
        padding: 0;
    }
    
    nav ul li {
        margin: 10px 0;
    }

    nav ul li a {
        font-size: 18px;
        padding: 10px 20px;
        display: block;
    }
    
    .hero-content h1 {
        font-size: 90px;
        transform: rotate(-3deg);
    }
    
    .mission-values {
        grid-template-columns: 1fr;
    }
    
    .news-items,
    .activities-items,
    .members-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .countdown-timer {
        flex-wrap: wrap;
    }
    
    .countdown-item {
        width: 80px;
        margin: 10px;
    }
    
    .countdown-item .days,
    .countdown-item .hours,
    .countdown-item .minutes,
    .countdown-item .seconds {
        font-size: 30px;
        padding: 15px 0;
    }
    
    /* ヘッダー調整 */
    header {
        padding: 12px 0;
        min-height: 70px;
    }
    
    header.scrolled {
        padding: 8px 0;
        min-height: 55px;
    }
    
    header .container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: nowrap;
    }
    
    /* ロゴエリアの調整 */
    .logo {
        max-width: 60%;
        min-width: 200px;
    }
    
    .jci-logo,
    .footer-logo .jci-logo {
        height: 28px;
    }
    
    .logo a,
    .footer-logo {
        gap: 8px;
    }
    
    .logo-text .logo-full,
    .footer-logo-text .logo-full {
        font-size: 11px;
    }
    
    .logo-text .logo-main,
    .footer-logo-text .logo-main {
        font-size: 16px;
    }
    
    /* お問い合わせセクション - スマートフォン対応 */
    .contact-cta-section {
        padding: 60px 0;
    }
    
    .contact-cta-text .section-subtitle::before,
    .contact-cta-text .section-subtitle::after {
        display: none;
    }
    
    .contact-cta-text .section-title {
        font-size: 26px;
    }
    
    .contact-cta-text p {
        font-size: 16px;
    }
    
    .contact-item {
        font-size: 14px;
        padding: 12px 0;
    }
    
    .contact-item i {
        font-size: 16px;
        width: 25px;
    }
    
    .email-contact-box {
        padding: 25px;
    }
    
    .email-contact-box h3 {
        font-size: 20px;
    }
    
    .email-contact-box p {
        font-size: 14px;
    }
    
    .email-btn {
        padding: 12px 25px;
        font-size: 14px;
        min-width: 180px;
    }
}

/* 小型スマートフォン（576px以下） */
@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 70px;
        transform: rotate(-2deg);
    }
    
    .hero-content p {
        font-size: 16px;
    }
    
    .news-items,
    .activities-items,
    .members-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    /* ヘッダー調整 */
    header {
        padding: 10px 0;
        min-height: 65px;
    }
    
    header.scrolled {
        padding: 6px 0;
        min-height: 50px;
    }
    
    .jci-logo,
    .footer-logo .jci-logo {
        height: 26px;
    }
    
    .logo a,
    .footer-logo {
        gap: 6px;
    }
    
    .logo-text .logo-full,
    .footer-logo-text .logo-full {
        font-size: 10px;
    }
    
    .logo-text .logo-main,
    .footer-logo-text .logo-main {
        font-size: 14px;
    }
    
    /* お問い合わせセクション - 小型スマートフォン対応 */
    .contact-cta-section {
        padding: 50px 0;
    }
    
    .contact-cta-content {
        gap: 30px;
    }
    
    .contact-cta-text .section-title {
        font-size: 24px;
    }
    
    .contact-cta-text p {
        font-size: 15px;
    }
    
    .contact-info {
        gap: 12px;
    }
    
    .contact-item {
        font-size: 13px;
        flex-wrap: wrap;
        padding: 10px 0;
    }
    
    .contact-item i {
        width: 25px;
        font-size: 16px;
    }
    
    .contact-item span {
        word-break: break-all;
    }
    
    .email-contact-box {
        padding: 20px;
    }
    
    .email-contact-box h3 {
        font-size: 18px;
    }
    
    .email-contact-box p {
        font-size: 13px;
        line-height: 1.5;
    }
    
    .email-btn {
        padding: 10px 20px;
        font-size: 13px;
        gap: 8px;
        min-width: 160px;
    }
    
    .email-btn i {
        font-size: 16px;
    }
}

/* 超小型デバイス（480px以下） */
@media (max-width: 480px) {
    /* ヘッダー調整 */
    header {
        padding: 8px 0;
        min-height: 60px;
    }
    
    .jci-logo,
    .footer-logo .jci-logo {
        height: 24px;
    }
    
    .logo a,
    .footer-logo {
        gap: 5px;
    }
    
    .logo-text .logo-full,
    .footer-logo-text .logo-full {
        font-size: 9px;
    }
    
    .logo-text .logo-main,
    .footer-logo-text .logo-main {
        font-size: 13px;
    }
    
    /* お問い合わせセクション */
    .contact-cta-section {
        padding: 40px 0;
    }
    
    .contact-cta-text .section-title {
        font-size: 22px;
    }
    
    .email-contact-box {
        padding: 15px;
    }
    
    .email-contact-box h3 {
        font-size: 16px;
    }
    
    .email-contact-box p {
        font-size: 12px;
    }
    
    .email-btn {
        padding: 8px 16px;
        font-size: 12px;
        min-width: 140px;
    }
    
    .contact-item {
        font-size: 12px;
    }
}

/* 非常に小さなデバイス（360px以下） */
@media (max-width: 360px) {
    header {
        padding: 6px 0;
        min-height: 55px;
    }
    
    .logo {
        min-width: 180px;
    }
    
    .jci-logo,
    .footer-logo .jci-logo {
        height: 22px;
    }
    
    .logo a,
    .footer-logo {
        gap: 4px;
    }
    
    .logo-text .logo-full,
    .footer-logo-text .logo-full {
        font-size: 8px;
    }
    
    .logo-text .logo-main,
    .footer-logo-text .logo-main {
        font-size: 12px;
    }
}

/* 極小デバイス（320px以下） */
@media (max-width: 320px) {
    .logo {
        min-width: 160px;
    }
    
    .jci-logo,
    .footer-logo .jci-logo {
        height: 20px;
    }
    
    .logo a,
    .footer-logo {
        gap: 3px;
    }
    
    .logo-text .logo-full,
    .footer-logo-text .logo-full {
        font-size: 7px;
    }
    
    .logo-text .logo-main,
    .footer-logo-text .logo-main {
        font-size: 11px;
    }
}

/* ================ フォールバック: 古いブラウザ対応 ================ */
@supports not (display: flex) {
    .logo a {
        display: table;
    }
    
    .jci-logo,
    .logo-text {
        display: table-cell;
        vertical-align: middle;
    }
}

/* 
 * 最新情報セクション クイック改善版
 * このコードをstyle.cssの一番最後に追加するだけでOK！
 */

/* ================ 最新情報セクション 見栄え改善 ================ */

/* セクション全体の余白を増やす */
.news-section {
    padding: 100px 0 !important;
}

/* カード間の間隔を広げる */
.news-items {
    gap: 40px !important;
    margin-bottom: 50px !important;
}

/* カードのスタイル改善 */
.news-item {
    border-radius: 12px !important;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08) !important;
}

.news-item:hover {
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12) !important;
}

/* 画像の高さを少し増やす */
.news-item img {
    height: 220px !important;
    object-fit: cover !important;
}

/* コンテンツエリアの余白を増やす（最重要！） */
.news-content {
    padding: 30px !important;
}

/* 日付のスタイル */
.news-content .news-date {
    margin-bottom: 15px !important;
    font-weight: 500 !important;
}

/* タイトルの間隔と行の高さ */
.news-content h3 {
    line-height: 1.5 !important;
    margin-bottom: 18px !important;
    font-weight: 600 !important;
}

/* 本文の行間と下部マージン */
.news-content p {
    line-height: 1.7 !important;
    margin-bottom: 20px !important;
}

/* READ MOREボタンのスタイル */
.news-content .btn-link {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    margin-top: auto !important;
}

.news-content .btn-link:hover {
    gap: 12px !important;
}

/* ================ レスポンシブ対応 ================ */

/* タブレット */
@media (max-width: 992px) {
    .news-section {
        padding: 80px 0 !important;
    }
    
    .news-items {
        gap: 35px !important;
    }
    
    .news-content {
        padding: 25px !important;
    }
}

/* スマートフォン */
@media (max-width: 768px) {
    .news-section {
        padding: 60px 0 !important;
    }
    
    .news-items {
        gap: 30px !important;
    }
    
    .news-item img {
        height: 180px !important;
    }
    
    .news-content {
        padding: 20px !important;
    }
    
    .news-content h3 {
        font-size: 18px !important;
        margin-bottom: 15px !important;
    }
    
    .news-content p {
        font-size: 14px !important;
        margin-bottom: 18px !important;
    }
}

/* 小型スマートフォン */
@media (max-width: 576px) {
    .news-section {
        padding: 50px 0 !important;
    }
    
    .news-items {
        gap: 25px !important;
    }
    
    .news-item img {
        height: 200px !important;
    }
    
    .news-content {
        padding: 25px !important;
    }
}