/**
 * IPEC2026 10周年記念ページ用スタイルシート
 */


/* Google Fonts Barlow */
body {
    font-family: 'Inika', serif;
    background-color: #F1F0EA;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Inika', serif;
    font-weight: 600;
    /* 見出しの太さを指定 (例: Semi-bold) */
}

.navbar-nav .nav-link,
.btn,
footer a,
.photo-gallery-section .btn,
header p.small,
.message-section h3,
.photo-gallery-section h3 {
    font-family: 'Inika', serif;
}

.navbar-nav .nav-link {
    font-weight: 500;
    /* 例: Medium */
}

.ipec-10th-header {
    background-image: url(./images/10th-header-back.png);
    background-position: center;
    background-size: cover;
}

.ten-title {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.ten-title p {
    font-size: 1.5rem;
}

@media (max-width:450px) {
    .ten-title p {
        font-size: 0.7rem;
    }
}

/**
 * IPEC2026 10周年記念ページ用スタイルシート
 */

/* 基本スタイル */
.ipec-10th-anniversary {
    font-family: 'Inika', serif;
    color: #333;
    line-height: 1.6;
}

/* ナビゲーション */
.ipec-10th-nav {
    background-color: #b08d57;
}

.navbar-dark .navbar-nav .nav-link {
    color: white;
    padding-left: 1rem;
    padding-right: 1rem;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
    color: #f0e0c4;
}

/* ナビゲーションメニューの区切り線 */
.navbar-nav .nav-item {
    position: relative;
}

.navbar-nav .nav-item:not(:last-child)::after {
    content: "|";
    color: rgba(255, 255, 255, 0.5);
    position: absolute;
    right: -2px;
    top: 50%;
    transform: translateY(-50%);
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}

/* スマホ表示などトグラーが表示される場合は区切り線を非表示 */
@media (max-width: 991.98px) {
    .navbar-nav .nav-item:not(:last-child)::after {
        display: none;
    }

    /* ハンバーガーメニューを右寄せ */
    .navbar-toggler {
        margin-left: auto;
    }
}




/* レスポンシブ調整 */
@media (max-width: 768px) {
    .ten-title img {
        max-height: 60px;
    }

    .ipec-10th-message-container {
        padding: 1.5rem;
    }

    .ipec-10th-footer img {
        max-height: 50px;
    }
}

/* Main Visual Slider */
.main-slider-section {
    background-color: #f0f0f0;
    /* スライダー背景色 */
    padding-top: 20px;
    /* デザインに余白があるため */
    padding-bottom: 20px;
}

.slider img {
    height: 400px;
    /* スライダー画像の高さを固定 */
    object-fit: cover;
    /* 画像がコンテナに合わせてトリミングされる */
}

/* Slick Slider Customization for peeking */
.slider .slick-slide {
    transform: scale(0.8);
    /* 中心以外のスライドを小さくする */
    transition: transform 0.4s ease-in-out;
    opacity: 0.7;
}

.slider .slick-slide.slick-center {
    transform: scale(1);
    /* 中心の画像を通常サイズに */
    opacity: 1;
    z-index: 1;
    /* 中央の画像を最前面に */
}

.slider .slick-prev,
.slider .slick-next {
    z-index: 2;
    width: 40px;
    height: 40px;
}

.slider .slick-prev:before,
.slider .slick-next:before {
    font-size: 30px;
    color: #333;
    /* 矢印の色 */
}

.slider .slick-prev {
    left: 25px;
}

.slider .slick-next {
    right: 25px;
}

.ipec-10th-main-container {
    background-image: url(./images/10th-footer-back.png);
    background-position: bottom;
    background-size: 100%;
    background-repeat: no-repeat;
}

/* Message Section */
.message-section h3 {
    color: #333;
    font-weight: bold;
    position: relative;
    padding-bottom: 10px;
}



.message-section p {
    line-height: 1.8;
    color: #555;
    text-align: justify;
    word-break: break-word;
}

.message-container {
    padding: 20px 0;
    border-top: 1px solid #A6894B;
    border-bottom: 1px solid #A6894B;
    padding: 20px;

}

.message-container p {
    word-break: break-word;
}

/* Photo Gallery Section */
.photo-gallery-section h3 {
    color: #333;
    font-weight: bold;
    position: relative;
    padding-bottom: 10px;
}

.photo-gallery-section h3::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: #dc3545;
    /* 赤系のアクセントカラー */
    margin: 8px auto 0;
}

.photo-gallery-section .row a img {
    border: 1px solid #ddd;
    padding: 5px;
    transition: transform 0.2s ease-in-out;
}

.photo-gallery-section .row a img:hover {
    transform: scale(1.05);
}

.photo-gallery-section .btn-danger {
    background-color: #c82333;
    /* デザインカンプのボタン色に合わせる */
    border-color: #bd2130;
}

/* Footer */
footer {
    border-top: 2px solid #A6894B;
}


footer .small {
    color: #555;
}

footer ul li a:hover {
    color: #b08d57 !important;
}

footer .py-2 {
    /* この要素はフッター内の別の線なので影響なし */
    border: 1px solid #ddd;
}

footer .container {
    max-width: 1000px;
}

.ipec-10th-footer p {
    font-size: 0.98rem;
}

/* フッターのメニューを右寄せにするためのスタイル (HTMLのBootstrapクラスで対応済みの場合、これは補助的) */
/*
footer .col-md-auto .row {
    justify-content: flex-end;
}
footer .col-md-auto ul {
    text-align: right;
}
*/

.footer-bottom-bar {
    background-color: #b08d57;
}

.footer-bottom-bar p {
    color: white;
}

.ipec-10th-footer-bottom {
    color: #fff;
    background-color: #A6894B;
}

.ipec-contact a {
    color: #A6894B;
}

@media (max-width: 450px) {
    .ipec-10th-footer p {
        font-size: 0.7em;
    }

}

/* Lightbox2 Customization */
.lightboxOverlay {
    background-color: black;
    opacity: .9;
}

.lb-data .lb-caption {
    color: #eee;
}

.lb-data .lb-number {
    color: #ccc;
}

.lb-nav a.lb-prev,
.lb-nav a.lb-next {
    opacity: 0.7;
    transition: opacity 0.2s;
}

.lb-nav a.lb-prev:hover,
.lb-nav a.lb-next:hover {
    opacity: 1;
}

/* Past Events & Overview */

.past-events-article {
    margin-top: 30px;
}

.past-events-article h3 {
    margin-bottom: 15px;
}


.past-events-article p span {
    font-weight: bold;
}

.table-container {
    overflow-x: auto;
    width: 100%;
    margin: 0 auto;
}

table.past-events {
    min-width: 600px;
    /* テーブルの最小幅を設定 */
    width: 100%;
    border-collapse: collapse;
}


table.past-events a {
    color: #008B9C;
}

table.past-events th {
    text-align: center;
    background: #008B9C;
    color: #fff;
    white-space: nowrap;
    border-right: 1px solid;
    /* ヘッダーテキストの改行を防ぐ */
}

table.past-events th,
table.past-events td {
    padding: 5px;
}

table.past-events td {
    word-break: break-all;
    text-align: center;
    /* 長いURLを適切に改行 */
}


table.past-events tr td:last-child {
    text-align: left;
    /* 長いURLを適切に改行 */
}

/* スマホ対応 */
@media (max-width: 768px) {
    table.past-events {
        min-width: 500px;
    }

    table.past-events th,
    table.past-events td {
        padding: 2px;
        font-size: 13px;
    }
}