/* ================================================================
   MOMIJI フィールドワーク特設(テスト) — fw-momiji.css v3
   inacome.jp/jichitai 準拠のミニマル様式 + 12カラムグリッド規律。
   白地 / 墨 #1a2332 / 本文グレー #5a6472 / ヘアライン #e5e8ec / 青リンク #2a6bd2。
   フォントは既存サイトと同一(Noto Sans JP / Libre Franklin)。

   グリッド:コンテナ1040px(内側992px)。12カラム・ガター24px。
   - ラベル列(概要dt / スケジュール時刻) = 2カラム+ガター = 共有縦ライン
   - 講師 6+6 / エッセイ 6+6 / 実績数字 4×3
   ================================================================ */

.fwm {
    margin-top: 3rem;
    --gap: 24px;
    --col: calc((100% - 11 * var(--gap)) / 12);
    --lab: calc(var(--col) * 2 + var(--gap));
    font-family: "Noto Sans JP", sans-serif;
    color: #1a2332;
    background: #fff;
    line-height: 2;
    letter-spacing: .04em;
    overflow-x: hidden;
    padding: 56px 0 120px;
}
.fwm * { box-sizing: border-box; }
.fwm .fwm-en { font-family: "Libre Franklin", "Noto Sans JP", sans-serif; }
.fwm-inner { max-width: 1040px; margin: 0 auto; padding: 0 24px; }

/* 12カラム行 */
.fwm-row { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); }
.fwm-c4  { grid-column: span 4; }
.fwm-c6  { grid-column: span 6; }
.fwm-c8  { grid-column: span 8; }
.fwm-c12 { grid-column: span 12; }

/* ---- ダミー写真 ---- */
.fwm-ph {
    position: relative;
    background: #d9dee4;
    border-radius: 8px;
}
.fwm-ph::after {
    content: "写真";
    position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: center;
    color: #aeb6c0; font-size: 12px; letter-spacing: .3em;
}

/* ---- パンくず ---- */
.fwm-bc { margin: 0 0 48px; font-size: 12px; color: #8a93a2; letter-spacing: .08em; }
.fwm-bc a { color: #8a93a2; text-decoration: none; }
.fwm-bc a:hover { color: #1a2332; }

/* ---- ヒーロー ---- */
.fwm-hero__title {
    margin: 0 0 28px !important;
    font-size: clamp(30px, 4.4vw, 44px) !important;
    font-weight: 700 !important; line-height: 1.6; letter-spacing: .06em;
    color: #1a2332;
}
.fwm-hero__lead { margin: 0; font-size: 14.5px; line-height: 2.2; color: #5a6472; }

/* ---- 実績データ(4カラム×3) ---- */
.fwm-stats { margin: 44px 0 0; padding: 28px 0 0; border-top: 1px solid #e5e8ec; }
.fwm-stats__item { display: flex; align-items: baseline; gap: 10px; }
.fwm-stats__num {
    font-family: "Libre Franklin", "Noto Sans JP", sans-serif;
    font-size: 30px; font-weight: 700; letter-spacing: .02em; line-height: 1.4;
}
.fwm-stats__label { font-size: 12.5px; color: #8a93a2; }

/* ---- ヒーロー写真 ---- */
.fwm-hero__ph { margin: 48px 0 0; height: clamp(240px, 40vw, 460px); }

/* ---- セクション共通 ---- */
.fwm-sec { margin: 96px 0 0; }
.fwm-sec__head {
    display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between;
    gap: 6px 24px; margin: 0 0 36px;
}
.fwm-sec__title {
    margin: 0 !important; font-size: clamp(21px, 2.6vw, 26px) !important;
    font-weight: 700 !important; letter-spacing: .08em; line-height: 1.6;
}
.fwm-sec__note { font-size: 12px; color: #8a93a2; letter-spacing: .06em; }

/* ---- 開催概要(ラベル列=2カラム+ガター) ---- */
.fwm-ov { border-top: 1px solid #e5e8ec; }
.fwm-ov dl { margin: 0; display: grid; grid-template-columns: var(--lab) 1fr; }
.fwm-ov dt, .fwm-ov dd {
    margin: 0; padding: 18px 0; border-bottom: 1px solid #e5e8ec;
    font-size: 14px; line-height: 2;
}
.fwm-ov dt { color: #8a93a2; font-weight: 500; font-size: 13px; }
.fwm-ov dd { color: #1a2332; font-weight: 500; }
.fwm-ov dd b { font-weight: 700; }

/* ---- 一文メッセージ ---- */
.fwm-msg { margin: 96px 0 0; padding: 40px 0; border-top: 1px solid #e5e8ec; border-bottom: 1px solid #e5e8ec; }
.fwm-msg__main {
    margin: 0 0 8px; font-size: clamp(19px, 2.6vw, 25px);
    font-weight: 700; letter-spacing: .08em; line-height: 1.9;
}
.fwm-msg__sub { margin: 0; font-size: 13.5px; color: #5a6472; }

/* ---- 講師(6+6) ---- */
.fwm-lect { row-gap: 44px; }
.fwm-lect__ph { height: 220px; margin: 0 0 18px; }
.fwm-lect__role { margin: 0 0 4px; font-size: 12px; color: #8a93a2; letter-spacing: .08em; }
.fwm-lect__name { margin: 0 0 12px !important; font-size: 19px !important; font-weight: 700 !important; letter-spacing: .08em; }
.fwm-lect__bio { margin: 0; font-size: 13px; line-height: 2.1; color: #5a6472; }

/* ---- スケジュール(時刻列=2カラム+ガター) ---- */
.fwm-day + .fwm-day { margin-top: 72px; }
.fwm-tl { margin: 0; padding: 0; list-style: none; border-top: 1px solid #e5e8ec; }
.fwm-tl li {
    display: grid; grid-template-columns: var(--lab) 1fr;
    padding: 20px 0; border-bottom: 1px solid #e5e8ec;
}
.fwm-tl__time {
    font-family: "Libre Franklin", "Noto Sans JP", sans-serif;
    font-size: 15px; font-weight: 700; letter-spacing: .04em;
    color: #1a2332; line-height: 2;
}
.fwm-tl__t { margin: 0; font-size: 14.5px; font-weight: 700; line-height: 2; letter-spacing: .04em; }
.fwm-tl__t small { display: inline-block; margin-left: 12px; font-size: 12px; font-weight: 500; color: #8a93a2; }
.fwm-tl__d { margin: 2px 0 0; font-size: 13px; line-height: 2; color: #5a6472; }
.fwm-tl li.is-min .fwm-tl__t { font-weight: 500; color: #5a6472; }
.fwm-tl li.is-min .fwm-tl__time { font-weight: 500; color: #8a93a2; }

.fwm-notes { margin: 28px 0 0; }
.fwm-notes p { margin: 0; font-size: 12px; line-height: 2.1; color: #8a93a2; }

/* ---- エッセイ(6+6) ---- */
.fwm-essay__ph { height: 340px; }
.fwm-essay__txt p { margin: 0 0 1.8em; font-size: 13.5px; line-height: 2.3; color: #5a6472; }
.fwm-essay__txt p:last-child { margin-bottom: 0; }

/* ---- テキストリンク(→) ---- */
.fwm-link { margin: 28px 0 0; }
.fwm-link a {
    color: #2a6bd2; font-size: 13.5px; font-weight: 700; letter-spacing: .06em;
    text-decoration: none;
}
.fwm-link a:hover { color: #1a2332; }

/* ---- 申込(黒の角丸パネル・左に文言/右にボタンの2カラム) ---- */
.fwm-apply {
    margin: 112px 0 0;
    padding: clamp(40px, 4.6vw, 56px) clamp(24px, 4vw, 60px);
    background: #161d2b;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px 48px;
    flex-wrap: wrap;
}
.fwm-apply__text { flex: 1 1 480px; min-width: 0; }
.fwm-apply__catch {
    margin: 0 0 10px; font-size: clamp(20px, 2.6vw, 26px);
    font-weight: 700; letter-spacing: .08em; line-height: 1.8;
    color: #ffffff;
}
.fwm-apply__sub { margin: 0; font-size: 13.5px; line-height: 2; color: rgba(255, 255, 255, .68); }
.fwm-cta, a.fwm-cta:link, a.fwm-cta:visited, a.fwm-cta:active {
    display: inline-block; background: #ffffff; color: #161d2b !important;
    font-size: 14.5px; font-weight: 700; letter-spacing: .1em;
    padding: 17px 48px; text-decoration: none; border-radius: 999px;
    flex-shrink: 0; white-space: nowrap;
    transition: background .2s, color .2s;
}
.fwm-cta:hover, a.fwm-cta:hover { background: #2a6bd2; color: #ffffff !important; }
.fwm-apply__note { margin: 20px 0 0; font-size: 12px; color: rgba(255, 255, 255, .5); }

/* ---- スマホ(1カラムに畳む) ---- */
@media (max-width: 767px) {
    .fwm { padding: 40px 0 88px; }
    .fwm-inner { padding: 0 20px; }
    .fwm-row { grid-template-columns: 1fr; row-gap: 0; }
    .fwm-c4, .fwm-c6, .fwm-c8, .fwm-c12 { grid-column: auto; }
    .fwm-bc { margin-bottom: 36px; }
    .fwm-hero__lead { font-size: 14px; }
    .fwm-stats { padding-top: 20px; }
    .fwm-stats.fwm-row { grid-template-columns: repeat(3, auto); justify-content: start; column-gap: 32px; }
    .fwm-stats__num { font-size: 24px; }
    .fwm-stats__item { flex-direction: column; gap: 0; align-items: flex-start; }
    .fwm-hero__ph { margin-top: 36px; }
    .fwm-sec { margin-top: 72px; }
    .fwm-ov dl { grid-template-columns: 1fr; }
    .fwm-ov dt { padding: 14px 0 0; border-bottom: 0; }
    .fwm-ov dd { padding: 2px 0 14px; }
    .fwm-msg { margin-top: 72px; padding: 32px 0; }
    .fwm-lect { row-gap: 44px; }
    .fwm-lect__ph { height: 200px; }
    .fwm-tl li { grid-template-columns: 1fr; padding: 16px 0; }
    .fwm-tl__time { font-size: 13.5px; }
    .fwm-essay__ph { height: 220px; margin-bottom: 24px; }
    .fwm-apply { margin-top: 80px; border-radius: 14px; display: block; text-align: center; }
    .fwm-apply__sub { margin-bottom: 28px; }
    .fwm-cta { display: block; text-align: center; padding: 16px 20px; }
}

/* 見出しが長い回(イノP等)は少し詰めて2行に収める */
.fwm-hero__title--long {
    font-size: clamp(24px, 3.1vw, 34px) !important;
    line-height: 1.55;
}
@media (max-width: 767px) {
    .fwm-hero__title--long { font-size: clamp(20px, 5.4vw, 26px) !important; }
}

/* 講師の実写真(ダミー枠と同寸・顔が切れないよう上寄せ) */
.fwm-lect__img {
    display: block; width: 100%; height: 220px;
    object-fit: cover; object-position: center 32%;
    border-radius: 8px; margin: 0 0 18px; border: 0;
}
@media (max-width: 767px) {
    .fwm-lect__img { height: 200px; }
}

/* ---- 他のフィールドワーク(下部の相互リンク) ---- */
.fwm-others { padding-top: 56px; border-top: 1px solid #e5e8ec; margin-top: 96px; }
.fwm-others__grid { row-gap: 24px; }
a.fwm-other, a.fwm-other:link, a.fwm-other:visited {
    display: block; padding: 16px 16px 20px;
    border: 1px solid #e5e8ec; border-radius: 8px;
    text-decoration: none; color: #1a2332;
    transition: border-color .15s;
}
a.fwm-other:hover { border-color: #2a6bd2; }
.fwm-other__date { margin: 0 0 6px; font-size: 20px; font-weight: 700; }
.fwm-other__date small { margin-left: 10px; font-size: 12px; font-weight: 500; color: #8a93a2; }
.fwm-other__org { margin: 0 0 4px; font-size: 14.5px; font-weight: 700; line-height: 1.6; }
.fwm-other__copy { margin: 0 0 12px; font-size: 12.5px; line-height: 1.9; color: #5a6472; }
.fwm-other__link { margin: 0; font-size: 12.5px; font-weight: 700; color: #2a6bd2; }
@media (max-width: 767px) {
    .fwm-others { margin-top: 72px; padding-top: 44px; }
    a.fwm-other { padding: 18px 18px; }
}

/* 一覧カードの写真(実写真が無い間はダミー枠) */
.fwm-other__ph, .fwm-other__img {
    display: block; width: 100%; height: 150px;
    border-radius: 6px; margin: 0 0 14px;
}
.fwm-other__img { object-fit: cover; object-position: center 28%; border: 0; }
a.fwm-other .fwm-other__date, a.fwm-other .fwm-other__org,
a.fwm-other .fwm-other__copy, a.fwm-other .fwm-other__link { padding: 0 8px; }
@media (max-width: 767px) {
    .fwm-other__ph, .fwm-other__img { height: 160px; }
}

/* 一覧カードの切り抜き位置(会場ごとの微調整) */
.fwm-other__img--03 { object-position: center 0%; }

/* ヒーロー・エッセイの実写真(ダミー枠と同寸) */
.fwm-hero__img {
    display: block; width: 100%;
    height: clamp(240px, 40vw, 460px);
    object-fit: cover; object-position: center 55%;
    border-radius: 8px; margin: 48px 0 0; border: 0;
}
.fwm-essay__img {
    display: block; width: 100%; height: 340px;
    object-fit: cover; border-radius: 8px; border: 0;
}
@media (max-width: 767px) {
    .fwm-hero__img { margin-top: 36px; }
    .fwm-essay__img { height: 220px; margin-bottom: 24px; }
}

/* MOMIJI ヒーロー(4:3集合写真・顔が上寄りなので上を残す) */
.fwm-hero__img--momiji { object-position: center 40%; }

/* picture 出し分け用(PC/SP で別トリミング) */
.fwm-hero__pic { display: block; }
/* 郡上ヒーロー(上端の帽子を残す) */
.fwm-hero__img--gujo { object-position: center 25%; }

/* 下部エッセイ:文字を少し大きく・PCは1文ごとに改行(SPでは流す) */
.fwm-essay__txt p { font-size: 14.5px; line-height: 2.05; margin: 0; padding: 0 0 1.5em; color: #4b5563; } /* common.css の p{margin:0!important} 対策で padding */
.fwm-essay__txt p:last-child { padding-bottom: 0; }
@media (max-width: 767px) { .fwm-essay__txt p br { display: none; } }
/* 申込ボタン:受付前は押せない */
.fwm-cta.is-disabled { pointer-events: none; cursor: default; opacity: .45; user-select: none; }

/* エッセイ写真の表示位置(上に主役があるものは上を残す) */
.fwm-essay__img--satomon { object-position: center 15%; }
.fwm-essay__img--momiji { object-position: center 35%; }

/* フィールドワーク一覧(/field_work)は4会場を1行に並べる。ページ下部の「他のフィールドワーク」は3枚なので従来どおり */
@media (min-width: 768px) {
    .fwm-others__grid--quad > .fwm-other { grid-column: span 3; }
    .fwm-others__grid--quad .fwm-other__img, .fwm-others__grid--quad .fwm-other__ph { height: 132px; }
}

/* ---- フィールドワーク一覧(/field_work)の行レイアウト。1行=1会場、行全体がリンク。zig #1033 ---- */
.fwl { margin: 0; border-top: 1px solid #e5e8ec; }
a.fwl-row, a.fwl-row:link, a.fwl-row:visited {
    display: grid;
    grid-template-columns: 232px minmax(0, 1fr) auto;
    align-items: center;
    column-gap: 32px;
    padding: 22px 8px;
    border-bottom: 1px solid #e5e8ec;
    text-decoration: none;
    color: #1a2332;
    transition: background .18s ease, padding-left .18s ease;
}
a.fwl-row:hover { background: #f7f9fb; padding-left: 16px; }
.fwl-thumb { display: block; overflow: hidden; border-radius: 4px; background: #eef1f4; }
.fwl-img { display: block; width: 100%; height: 138px; object-fit: cover; object-position: center 28%; border: 0; transition: transform .3s ease; }
a.fwl-row:hover .fwl-img { transform: scale(1.03); }
.fwl-img--03 { object-position: center 6%; }
.fwl-main { display: block; min-width: 0; }
.fwl-meta { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 14px; margin: 0 0 8px; }
.fwl-date { font-size: 25px; font-weight: 800; letter-spacing: .01em; line-height: 1.1; }
.fwl-wd, .fwl-place { font-size: 12px; color: #8a93a2; letter-spacing: .06em; }
.fwl-theme { display: block; font-size: 16px; font-weight: 700; line-height: 1.7; letter-spacing: .04em; margin: 0 0 4px; }
.fwl-org { display: block; font-size: 12.5px; color: #5a6472; letter-spacing: .06em; margin: 0 0 10px; }
.fwl-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.fwl-tags i {
    font-style: normal; font-size: 11.5px; line-height: 1; color: #5a6472;
    padding: 6px 10px; border: 1px solid #e5e8ec; border-radius: 3px; background: #fff;
}
.fwl-go { white-space: nowrap; font-size: 12.5px; font-weight: 700; color: #2a6bd2; letter-spacing: .06em; }
.fwl-arrow { display: inline-block; margin-left: 6px; transition: transform .18s ease; }
a.fwl-row:hover .fwl-arrow { transform: translateX(3px); }
@media (max-width: 767px) {
    a.fwl-row, a.fwl-row:link, a.fwl-row:visited {
        grid-template-columns: 108px minmax(0, 1fr);
        column-gap: 16px; padding: 18px 0; align-items: start;
    }
    a.fwl-row:hover { padding-left: 0; background: none; }
    .fwl-img { height: 96px; }
    .fwl-date { font-size: 20px; }
    .fwl-theme { font-size: 14.5px; }
    .fwl-tags i { font-size: 11px; padding: 5px 8px; }
    .fwl-go { grid-column: 2; margin-top: 10px; }
}
