@charset "UTF-8";
/*
 * トップページ（開催中セミナー一覧）用CSS
 * ベース: aichi/assets/css/seminar-list.css
 *
 * 注意: 元CSSはWPテーマの html{font-size:62.5%}（1rem=10px）基準で
 * rem値が書かれているため、ここでも同じ基準を明示している。
 * 将来このページにBootstrap等を導入する場合はこの指定と競合する点に注意。
 */

html {
    font-size: 62.5%; /* 1rem = 10px（seminar-list.css のrem値をそのまま使うため） */
}

/* リセットCSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans JP', 'Noto Sans', sans-serif;
    font-size: 1.6rem;
    line-height: 1.7;
    color: #333;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* flex column の子は min-width:auto（=min-content）が効き、
   バナー画像の固有幅(400px)より狭い端末で横スクロールが発生するため無効化 */
body > * {
    min-width: 0;
}

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

.sp-only {
    display: none;
}

@media screen and (max-width: 768px) {
    .sp-only {
        display: block;
    }
}

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

/* サイトヘッダー（ロゴ） */
.site-header {
    background: #fff;
    border-bottom: 1px solid #e0e0e0;
    padding: 12px 20px;
}

.site-header__logo {
    display: block;
    width: 200px;
    margin: 0 auto;
}

@media screen and (min-width: 768px) {
    .site-header__logo {
        width: 250px;
        margin: 0;
    }
}

/* バナー */
.seminar-list-header-banner {
    width: 100%;
}

.header-banner-img {
    width: 100%;
    height: auto;
    display: block;
}

/* ページ見出し */
.page-title {
    font-size: 2rem;
    font-weight: bold;
    text-align: center;
    padding: 30px 15px 0;
    background-color: #f9f7f2;
    line-height: 1.5;
}

@media screen and (min-width: 768px) {
    .page-title {
        font-size: 2.8rem;
        padding-top: 40px;
    }
}

/* セミナー一覧 */
#seminar-list-main-container {
    background-color: #f9f7f2;
    flex: 1;
    padding-bottom: 40px;
}

#seminar-list-main-container h2 {
    font-size: 2.4rem;
    font-weight: bold;
    color: #2381dc;
    margin-bottom: 30px;
    text-align: center;
}

@media screen and (max-width: 768px) {
    #seminar-list-main-container h2 {
        font-size: 2rem;
        margin-bottom: 10px;
    }
    #seminar-list-main-container .seminar-list-contaner-item {
        padding-top: 20px;
        padding-bottom: 10px;
    }
    #seminar-list-main-container .seminar-list-contaner-item img {
        max-width: 80px;
        margin: 0 auto;
        display: block;
    }
    #seminar-list-main-container ul {
        padding: 10px;
    }
}

@media screen and (min-width: 768px) {
    #seminar-list-main-container {
        padding-top: 40px;
    }
    #seminar-list-main-container .seminar-list-contaner-item {
        max-width: 900px;
        margin: 0 auto;
    }
    #seminar-list-main-container .seminar-list-contaner-item img {
        max-width: 120px;
        margin: 0 auto;
        display: block;
    }
}

#seminar-list-main-container ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

#seminar-list-main-container li {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: box-shadow 0.3s ease;
}

#seminar-list-main-container li:hover {
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.prefecture {
    background-color: #8b8c85;
    color: white;
    padding: 5px 40px;
    display: inline-block;
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 20px;
}

.seminar-title {
    font-size: 1.6rem;
    font-weight: bold;
    margin-bottom: 10px;
    line-height: 1.4;
    text-align: center;
}

.seminar-date {
    font-size: 1.3rem;
    margin-bottom: 8px;
    text-align: center;
}

.seminar-place {
    font-size: 1.3rem;
    margin-bottom: 15px;
    text-align: center;
}

@media screen and (min-width: 768px) {
    #seminar-list-main-container li {
        padding: 40px 80px;
    }
    .seminar-title {
        font-size: 2.4rem;
    }
    .seminar-date,
    .seminar-place {
        font-size: 1.8rem;
    }
}

.seminar-btn {
    margin-top: 20px;
    text-align: center;
}

/* 予約ボタン（<a>タグ用） */
.reservation-btn {
    display: inline-block;
    background-color: #2381dc;
    color: white !important;
    text-decoration: none;
    padding: 12px 60px;
    border-radius: 25px;
    font-weight: bold;
    font-size: 16px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(177, 182, 243, 0.3);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.reservation-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.reservation-btn:hover {
    background-color: #6ba4dd;
    transform: translateY(-2px);
}

.reservation-btn:hover::before {
    left: 100%;
}

.reservation-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(231, 76, 60, 0.3);
}

/* 受付終了表示（リンクなしのspan用） */
.reservation-btn--closed {
    display: inline-block;
    background-color: #8b8c85;
    color: white;
    padding: 12px 60px;
    border-radius: 25px;
    font-weight: bold;
    font-size: 16px;
    text-align: center;
}

/* 過去の開催実績セクション */
#past-seminars h2 {
    color: #8b8c85;
}

#past-seminars li {
    box-shadow: none;
}

#past-seminars li:hover {
    box-shadow: none;
}

/* 募集中セミナーなしのフォールバック */
.no-seminar {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 40px 20px;
    text-align: center;
    font-size: 1.5rem;
}

/* 事務局紹介 */
.about-office {
    background-color: #f9f7f2;
    padding: 0 20px 40px;
}

.about-office__inner {
    max-width: 900px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 25px 20px;
    font-size: 1.4rem;
}

@media screen and (min-width: 768px) {
    .about-office__inner {
        padding: 30px 40px;
        font-size: 1.5rem;
    }
}

/* フッター（footer.css の .footer と同トーン） */
.footer {
    background: #00AECB;
    color: #fff;
    padding: 2rem 0;
    text-align: center;
    font-size: 1.4rem;
}

/* レスポンシブ（SP時のボタン等） */
@media (max-width: 768px) {
    .container-fluid {
        padding: 0 15px;
    }

    .reservation-btn,
    .reservation-btn--closed {
        padding: 10px 25px;
        font-size: 14px;
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .reservation-btn,
    .reservation-btn--closed {
        padding: 12px 20px;
        font-size: 14px;
    }
}
