@charset "UTF-8";
/* ==========================================================
   トップページ（index.html）専用スタイル
   ・共通の base.css の後に読み込み、上書きしています。
   ・色を変えたいときは、下の :root の値だけ変えれば全体に反映されます。
   ・文字の大きさは --top-font-size で調整できます。
   ========================================================== */

:root {
    --top-navy: #004080;
    --top-navy-dark: #00305f;
    --top-accent: #c8102e;
    --top-line: #d9dee5;
    --top-soft: #f5f7fa;
    --top-font-size: 1.2rem;
}

.top {
    font-size: var(--top-font-size);
    line-height: 1.8;
    color: #222;
    background: #eef0f3;
}
.top a:focus-visible {
    outline: 3px solid #e0b000;
    outline-offset: 2px;
}

/* ----------------------------------------------------------
   メニュー：白い帯（PCでは上部に固定）
   ---------------------------------------------------------- */
.top header nav {
    background: #fff;
    border-bottom: 1px solid var(--top-line);
    box-shadow: 0 2px 6px rgba(0, 0, 0, .08);
}
@media screen and (width > 50em) {
    .top header nav {
        position: sticky;
        top: 0;
        z-index: 10;
    }
}
.top .gNavi {
    justify-content: flex-start;
}
.top .gNavi a {
    color: var(--top-navy);
    font-size: .9em;
    font-weight: bold;
    text-decoration: none;
}
.top .gNavi a:hover {
    color: #fff;
    background: var(--top-navy);
}
.top .gNavi .gNaviEx a {
    color: var(--top-accent);
}
.top .gNavi .gNaviEx a:hover {
    color: #fff;
    background: var(--top-accent);
}

/* ----------------------------------------------------------
   導入（会長・名誉会長の写真とクラブ紹介）
   ---------------------------------------------------------- */
.topHero {
    background: #fff;
    border-bottom: 1px solid var(--top-line);
}
.topHeroInner {
    width: min(96%, 1100px);
    margin: 0 auto;
    padding: 1.5em 0 1.2em;
}
.topLead {
    margin: 0 0 1.2em;
    font-size: 1.15em;
    font-weight: bold;
    color: var(--top-navy-dark);
    text-align: center;
    line-height: 1.6;
}
.topLead small {
    display: block;
    font-size: .75em;
    font-weight: normal;
    color: #555;
}
.top .mv {
    margin: 0 auto;
}
.top .mvWrap {
    gap: 1em 1.5em;
    font-size: .9em;
    line-height: 1.5;
}
.top .mvWrap p {
    margin: 0;
}
.top .mvWrap img {
    max-width: 180px;
    margin: 0 auto .4em;
    border-radius: 4px;
}

/* ----------------------------------------------------------
   カード（白い箱）とその並べ方
   ---------------------------------------------------------- */
.topWrap {
    display: grid;
    gap: 1.5em;
    width: min(96%, 1100px);
    margin: 2em auto;
}
@media screen and (width > 60em) {
    .topWrap.is-2col {
        grid-template-columns: 1fr 1fr;
        align-items: start;
    }
    .topWrap.is-2col > .is-wide {
        grid-column: 1 / -1;
    }
}
.topCard {
    padding: 1.2em clamp(1em, 3vw, 2em) 1.5em;
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, .08);
}
.topCard > :last-child {
    margin-bottom: 0;
}
.topCardTtl {
    margin: 0 0 .8em;
    padding-bottom: .4em;
    font-size: 1.3em;
    line-height: 1.4;
    color: var(--top-navy-dark);
    border-bottom: 2px solid var(--top-navy);
}
.topCardHead {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 0 1em;
    margin: 0 0 .8em;
    border-bottom: 2px solid var(--top-navy);
}
.topCardHead .topCardTtl {
    margin: 0;
    border: none;
}
.topCard p {
    margin: .4em 0 .8em;
}

/* 最終更新日 */
.top .lastDate {
    width: auto;
    margin: 0;
    padding-bottom: .4em;
    font-size: .85em;
    color: #555;
}

/* ----------------------------------------------------------
   リンクの一覧（新着情報・書類ダウンロード）
   ---------------------------------------------------------- */
.linkList {
    margin: 0;
    padding: 0;
    list-style: none;
}
.linkList li {
    border-bottom: 1px dashed var(--top-line);
}
.linkList a {
    position: relative;
    display: block;
    padding: .6em .5em .6em 1.4em;
    text-decoration: none;
}
.linkList a::before {
    content: "›";
    position: absolute;
    left: .4em;
    color: var(--top-navy);
    font-weight: bold;
}
.linkList a:hover {
    text-decoration: underline;
    background: var(--top-soft);
}
.topNote {
    font-size: .85em;
    color: #555;
}
.topNote img {
    vertical-align: middle;
}

/* ----------------------------------------------------------
   会員へのお知らせ（赤い線で目立たせる）
   ---------------------------------------------------------- */
.topNotice {
    border-left: 6px solid var(--top-accent);
}
.topNotice .topCardTtl {
    color: var(--top-accent);
    border-bottom-color: var(--top-accent);
}
.topNoticeDate {
    text-align: right;
    font-size: .9em;
    color: #555;
}
.topNoticeMail {
    padding: .6em 1em;
    font-weight: bold;
    text-align: center;
    background: var(--top-soft);
    border-radius: 4px;
}

/* ----------------------------------------------------------
   ボタン風リンク（図鑑の詳細など）
   ---------------------------------------------------------- */
.btnLink {
    display: inline-block;
    padding: .6em 1.4em;
    color: #fff;
    font-weight: bold;
    text-decoration: none;
    background: var(--top-navy);
    border-radius: 999px;
}
.btnLink:hover {
    background: var(--top-navy-dark);
}
.topBook .en {
    color: #555;
    font-style: italic;
}

/* ----------------------------------------------------------
   記念写真（紺の帯）
   ---------------------------------------------------------- */
.top .photoArea {
    padding: 1.5em 0;
    background: var(--top-navy-dark);
}
.top .photoAreaWrap {
    gap: 2em;
    @media screen and (width > 460px) {
        grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr));
    }
}
.top .photoAreaWrap > div {
    display: grid;
    align-content: start;
    gap: .2em;
    text-align: center;
}
.top .photoAreaWrap p {
    margin: 0;
    font-size: .9em;
}
.top .photoAreaWrap p:first-of-type {
    margin-top: .6em;
    font-weight: bold;
    font-size: 1em;
}
.top .photoArea a {
    color: #fff;
}
.top .photoArea .photoCamera {
    margin-top: .6em;
    border-radius: 4px;
}

/* ----------------------------------------------------------
   住所・振込先などの囲み
   ---------------------------------------------------------- */
.infoBox {
    margin: 1em 0;
    padding: .8em 1.2em;
    background: var(--top-soft);
    border-left: 4px solid var(--top-navy);
    border-radius: 0 4px 4px 0;
}
.infoBox p {
    margin: .2em 0;
}
.infoBox span {
    display: inline-block;
}
.infoBox strong {
    color: var(--top-navy-dark);
}

/* ----------------------------------------------------------
   フッター
   ---------------------------------------------------------- */
.top footer {
    margin-top: 3em;
    color: #fff;
    background: var(--top-navy-dark);
}
.top footer p {
    margin: 0;
}

/* ----------------------------------------------------------
   ページの先頭へ戻るボタン（右下に固定。行事ページと同じ見た目）
   ---------------------------------------------------------- */
.toTop {
    position: fixed;
    right: 1em;
    bottom: 1em;
    z-index: 20;
    display: grid;
    place-items: center;
    width: 2.6em;
    height: 2.6em;
    color: #fff;
    background: var(--top-navy);
    border-radius: 50%;
    text-decoration: none;
    font-size: 1.1em;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .3);
    opacity: .85;
}
.toTop:hover {
    opacity: 1;
}
