:root{
  --navy:#1a3164;          /* ブランドネイビー rgb(26,49,100) */
  --navy-deep:#0f1f47;
  --accent:#e1614a;        /* コーラル rgb(225,97,74) */
  --line:#e3e8ef;
  --text:#333333;
  --muted:#7c8698;
}
*{box-sizing:border-box;margin:0;padding:0;}
body{
  font-family:"Noto Sans JP","Hiragino Kaku Gothic ProN","Hiragino Sans","Yu Gothic",sans-serif;
  color:var(--text);
  background:#fff;
  line-height:1.75;
  -webkit-font-smoothing:antialiased;
}
a{color:inherit;text-decoration:none;}
img{display:block;max-width:100%;}

/* ===== ヘッダー（ヒーロー上に透過オーバーレイ）===== */
.header{
  position:absolute;top:0;left:0;right:0;z-index:10;
  display:flex;align-items:flex-start;justify-content:space-between;
  background:transparent;
}
.logo{display:block;padding:32px 0 0 32px;}
.logo img{height:110px;width:110px;object-fit:cover;display:block;}
/* 右側：上段(ボタン群)＋下段(タグライン)の2段 */
.header-right{display:flex;flex-direction:column;align-items:flex-end;gap:14px;padding:26px 32px 0 0;}
.h-row1{display:flex;align-items:center;gap:14px;}
/* コーポレートサイト（www）のヘッダーと同じ作り: 白地に黒文字のボタンを、背景と反転（exclusion）させて重ねる。
   明るい背景の上では黒地に白文字、写真の上では写真の色の反転に見える */
.h-reserve{background:#fff;color:#000;mix-blend-mode:exclusion;font-size:15px;font-weight:500;padding:2px 12px;border-radius:1px;white-space:nowrap;cursor:pointer;transition:opacity .25s cubic-bezier(.4,.4,0,1);}
.h-reserve:hover{opacity:.85;}
.h-contact{display:flex;align-items:center;gap:7px;color:#fff;font-size:17px;font-weight:500;white-space:nowrap;margin-left:10px;}
.h-contact-ico{width:16px;height:16px;fill:var(--accent);flex:none;transition:transform .35s cubic-bezier(.4,.4,0,1);}
.h-contact:hover .h-contact-ico{transform:rotate(135deg);}
.h-menu{display:flex;flex-direction:column;justify-content:center;gap:6px;cursor:pointer;padding:4px 0;margin-left:14px;}
.h-menu span{display:block;width:27px;height:1.5px;background:#fff;}
.h-tagline{font-size:14px;color:#fff;font-weight:400;letter-spacing:.02em;}

/* ===== ヒーロー ===== */
.hero{
  position:relative;height:480px;display:flex;flex-direction:column;justify-content:flex-end;
  padding:0 6% 80px 14%;color:#fff;
  background:linear-gradient(rgba(6,28,78,.10),rgba(6,28,78,.22)),
    url('/seminar/assets/s-1920x1080_v-frms_webp_086f4ad3-79b9-48fb-8574-076fb6eb2265_regular.webp') center 45%/cover no-repeat;
}
.hero .eyebrow{font-size:36px;letter-spacing:normal;margin:0 0 30px 0;font-weight:400;line-height:1;display:flex;align-items:center;gap:24px;}
.hero .eyebrow::before{content:"";width:64px;height:1px;background:#fff;display:block;flex:none;}
.hero h1{font-size:64px;font-weight:700;letter-spacing:normal;line-height:1;}
.hero h1::after{content:"";display:block;width:64px;height:1px;background:#fff;margin-top:24px;}
/* セミナー詳細：大見出しの右横に個別タイトル（ベースライン揃え）*/
.hero-row{display:flex;align-items:baseline;gap:56px;flex-wrap:wrap;}
.hero-sub{font-size:24px;font-weight:700;color:#fff;line-height:1.2;}

/* ===== パンくず ===== */
.breadcrumb{max-width:1030px;margin:35px auto 0;padding:18px 20px;font-size:17px;color:#6b6f76;text-align:right;}
.breadcrumb a{color:#6b6f76;}
.breadcrumb .bc-sep{margin:0 22px;}
.breadcrumb a:hover{color:var(--navy);}

/* ===== セミナーカード ===== */
.seminars{max-width:1128px;margin:0 auto 100px;padding:60px 24px 0;}
.grid{display:grid;grid-template-columns:repeat(3,1fr);gap:56px 56px;}
.card{display:flex;flex-direction:column;}
.card .thumb{width:100%;aspect-ratio:1/1;overflow:hidden;background:#eef1f5;}
.card .thumb img{width:100%;height:100%;object-fit:cover;transition:transform .3s;}
.card .thumb:hover img{transform:scale(1.03);}
.card .title{font-size:18px;font-weight:700;line-height:1.4;margin:18px 0 16px;color:#333;flex:1;}
.card .more{
  display:block;text-align:center;border:1px solid var(--navy);color:var(--navy);
  font-size:14px;font-weight:700;padding:15px;letter-spacing:.02em;
  transition:background .3s cubic-bezier(.4,.4,0,1),color .3s cubic-bezier(.4,.4,0,1);
}
/* 画像（カード）ホバーでボタンが navy に塗りつぶし＋白文字（本家準拠） */
.card:hover .more{background:var(--navy);color:#fff;}

/* ===== セミナー詳細ページ ===== */
.detail{max-width:1030px;margin:0 auto;padding:44px 20px 72px;}
.detail-lead{font-size:20px;color:var(--text);margin-bottom:14px;line-height:1.7;}
.detail-title{font-size:36px;font-weight:600;color:#222;line-height:1.5;padding-bottom:28px;margin-bottom:56px;border-bottom:1px solid var(--line);}
.detail .poster{max-width:515px;margin:0 auto 52px;}
.detail .poster img{width:100%;}
/* border-collapse を使わず各セルに下線を引く（高さの異なる行境界での描画ムラを防止）*/
.detail-table{width:100%;border-collapse:separate;border-spacing:0;font-size:16px;}
.detail-table th{width:247px;text-align:left;vertical-align:middle;padding:24px 24px 24px 0;color:var(--navy);font-weight:600;border-bottom:1px solid var(--line);white-space:nowrap;}
.detail-table td{padding:24px 0;vertical-align:top;border-bottom:1px solid var(--line);line-height:1.9;font-weight:500;color:var(--text);}
.detail-table tr:first-child th,.detail-table tr:first-child td{border-top:1px solid var(--line);}
/* 「日時」欄の日程の行（全 LP 共通の .sd-*。インフレ・不動産・家族信託）。この3ページには FV 直下の申込ボタンが無いので、
   「この日程で申し込む」の色は今までのオレンジのまま（仮・2026-10-16） */
.detail-table .sd-list{--sd-ink:var(--text);--sd-line:var(--line);--sd-dow-bg:var(--navy);--sd-pick-bg:#f2801f;--sd-pick-fg:#fff;line-height:normal;}
.detail-table .sd-list .sd-item:last-child{border-bottom:0;padding-bottom:0;}

/* 申込フォームセクション */
.apply{background:linear-gradient(160deg,#1c3e82 0%,#132a63 55%,#0d1c47 100%);padding:56px 24px 80px;}
.apply h2{color:#fff;text-align:center;font-size:26px;font-weight:700;margin-bottom:6px;letter-spacing:.03em;}
.apply .lead{color:rgba(255,255,255,.85);text-align:center;font-size:14px;margin-bottom:34px;}
.apply .apply-divider{width:64px;height:4px;background:#fff;margin:22px auto 30px;}
.apply .lead-sm{font-size:11px;}
.apply .lead a strong{font-family:"Zen Kaku Gothic New",sans-serif;font-weight:700;}
/* iframeを白ボックスで包み、上部・左右に内側余白を設定（LPと同様）*/
.apply .form-wrap{max-width:860px;margin:0 auto;background:#fff;overflow:hidden;padding:50px 50px 0;}
.apply iframe{width:100%;height:1850px;border:0;display:block;}
@media(max-width:560px){
  .apply .form-wrap{padding:24px 16px 0;}
}

@media(max-width:760px){
  .detail-grid{grid-template-columns:1fr;gap:28px;}
}

/* スマホでは見出し列の 247px が画面の3分の2を占め、中身が 129px しか残らず
   5〜6文字ごとに改行していた。見出しと中身を縦に積む。 */
@media(max-width:640px){
  .detail-table{font-size:15px;}
  .detail-table th{display:block;width:auto;padding:18px 0 0;border-bottom:0;white-space:normal;}
  .detail-table td{display:block;padding:6px 0 18px;}
  .detail-table tr:first-child td{border-top:0;}
}

/* ===== フッター ===== */
.footer{
  background:linear-gradient(160deg,#1c3e82 0%,#132a63 50%,#0d1c47 100%);
  color:#fff;padding:0;
  display:grid;grid-template-columns:360px 1fr;grid-template-rows:1fr auto;gap:0;align-items:stretch;
}
/* 左の雲ブロックはフッター最下部まで（全行スパン） */
.footer .brand{grid-column:1;grid-row:1 / 3;}
.fnav{grid-column:2;grid-row:1;}
/* 左：雲（空）写真ブロック（下寄せでロゴボックス＋SNS）*/
.footer .brand{
  position:relative;padding:0;
  display:flex;align-items:center;justify-content:center;
  background:linear-gradient(rgba(18,42,99,.05),rgba(13,28,71,.18)),
    url('/seminar/assets/s-960x2160_v-frms_webp_94159527-c749-4ce6-8c7f-58b42f5679e5_middle.webp') center/cover no-repeat;
}
.footer .brand .brand-inner{padding:0;display:flex;flex-direction:column;align-items:center;}
.footer .brand .logobox{width:220px;height:220px;display:block;}
.footer .brand .logobox a{display:block;width:100%;height:100%;}
.footer .brand .logobox img{width:100%;height:100%;object-fit:contain;}
.footer .brand .socials{display:flex;gap:16px;margin-top:20px;align-items:center;}
.footer .brand .socials a{width:30px;height:30px;display:block;opacity:.95;transition:opacity .15s;}
.footer .brand .socials a:hover{opacity:.7;}
.footer .brand .socials a img{width:100%;height:100%;object-fit:contain;}
/* 右：メニュー（大きく縦積み） */
.fnav{padding:72px 9% 16px 72px;}
.fnav .cat{display:block;font-family:"Lato","Noto Sans JP",sans-serif;font-size:32px;font-weight:700;margin:0 0 27px;letter-spacing:.01em;line-height:1.2;color:#fff;text-decoration:none;}
.fnav a.cat:hover{text-decoration:underline;}
.fnav .row{display:flex;flex-wrap:wrap;gap:12px 28px;margin:-4px 0 28px;}
.fnav .row .row-break{flex-basis:100%;height:0;margin:0;}
.fnav .row a{font-size:17px;color:rgba(255,255,255,.82);}
.fnav .row a::after{content:"";display:inline-block;width:8px;height:8px;
  border-right:2px solid rgba(255,255,255,.55);border-top:2px solid rgba(255,255,255,.55);
  transform:rotate(45deg);margin-left:8px;vertical-align:middle;}
.fnav .row a:hover{text-decoration:underline;color:#fff;}
.copyright{grid-column:2;grid-row:2;text-align:center;margin-top:8px;padding:20px 0 30px;font-size:11px;color:rgba(255,255,255,.55);}

/* ===== レスポンシブ ===== */
@media(max-width:900px){
  .grid{grid-template-columns:repeat(2,1fr);gap:32px 24px;}
  .hero h1{font-size:44px;}
  .footer{grid-template-columns:1fr;gap:0;}
  .footer .brand{grid-column:1;grid-row:1;}
  .fnav{grid-column:1;grid-row:2;padding:40px 24px 16px;}
  .fnav .cat{font-size:20px;margin-bottom:16px;}
  .fnav .row a{font-size:14px;}
  .copyright{grid-column:1;grid-row:3;padding:12px 0 24px;}
  .h-reserve{display:none;}
}
@media(max-width:560px){
  .grid{grid-template-columns:1fr;}
  .hero{height:260px;}
  .hero h1{font-size:34px;}
  .h-contact span{display:none;}
  .detail-lead{font-size:16px;}
  .detail-title{font-size:24px;padding-bottom:20px;margin-bottom:36px;}
  .breadcrumb{text-align:left;}
}

/* ===== ハンバーガーメニュー（全画面オーバーレイ・本家準拠） ===== */
.h-menu{background:none;border:none;}
body.menu-open{overflow:hidden;}
.menu-overlay{position:fixed;inset:0;z-index:1000;background:#fff;
  opacity:0;transition:opacity .35s cubic-bezier(.4,.4,0,1);}
.menu-overlay.open{opacity:1;}
.menu-panel{position:relative;width:100%;height:100%;}
.menu-logo{position:absolute;top:32px;left:32px;width:110px;z-index:10;}
.menu-logo img{width:100%;height:auto;display:block;}
.menu-close{position:absolute;top:40px;right:52px;width:34px;height:34px;z-index:10;
  background:none;border:none;cursor:pointer;}
.menu-close span{position:absolute;top:50%;left:0;width:100%;height:2px;background:var(--navy);}
.menu-close span:first-child{transform:rotate(45deg);}
.menu-close span:last-child{transform:rotate(-45deg);}
.menu-inner{display:flex;height:100%;}

/* 左：ナビ（折りたたみ行＋区切り線） */
.menu-nav{flex:1 1 50%;display:flex;flex-direction:column;justify-content:flex-end;
  padding:40px 0 0;}
.menu-nav>ul{list-style:none;width:100%;}
.menu-row{border-bottom:1px solid #9aa3b2;}
.menu-group.open{background:#ededeb;}
.menu-group.open .menu-toggle{border-bottom:1px solid #9aa3b2;}
.menu-nav>ul>.menu-row:first-child{border-top:1px solid #9aa3b2;}
.menu-item{display:flex;align-items:center;justify-content:space-between;width:100%;
  min-height:56px;box-sizing:border-box;
  font-family:"Oswald","Zen Kaku Gothic New",sans-serif;
  font-size:28px;font-weight:500;color:var(--navy);letter-spacing:.02em;
  padding:3.5px 60px 3.5px 44px;background:none;border:none;text-align:left;cursor:pointer;
  transition:opacity .2s;}
a.menu-item:hover,.menu-toggle:hover{opacity:.6;}
/* 折りたたみバッジ（サービス紹介 ⌄ など） */
.menu-badge{display:inline-flex;align-items:center;gap:12px;
  font-family:"Noto Sans JP",sans-serif;font-size:15px;font-weight:500;color:var(--navy);}
.menu-badge i{width:24px;height:24px;background:var(--navy);border:1px solid var(--navy);border-radius:2px;position:relative;flex:none;transition:transform .25s;}
.menu-badge i::before{content:"";position:absolute;top:44%;left:50%;width:8px;height:8px;
  border-right:1.5px solid #fff;border-bottom:1.5px solid #fff;
  transform:translate(-50%,-50%) rotate(45deg);}
/* 開いたらバッジの箱を濃紺塗り＋白い上向き矢印に */
.menu-group.open .menu-badge i{background:var(--navy);transform:rotate(180deg);}
.menu-group.open .menu-badge i::before{border-color:#fff;}
/* サブメニュー（既定は閉じ／開くと横並び・＞区切りで2行に折り返し） */
.menu-sub{list-style:none;display:flex;flex-wrap:wrap;align-items:baseline;
  padding-left:44px;padding-right:60px;
  overflow:hidden;max-height:0;transition:max-height .38s cubic-bezier(.4,.4,0,1);}
.menu-group.open .menu-sub{max-height:220px;}
.menu-sub li{padding:8px 0;}
.menu-sub li:last-child{padding-bottom:18px;}
.menu-sub .menu-break{flex-basis:100%;height:0;padding:0;}
.menu-sub a{display:inline-flex;align-items:center;white-space:nowrap;margin-right:18px;
  font-family:"Zen Kaku Gothic New","Noto Sans JP",sans-serif;
  font-size:15px;font-weight:700;color:var(--navy);transition:opacity .2s;}
.menu-sub a::after{content:"＞";margin-left:9px;font-size:11px;font-weight:400;}
.menu-sub a:hover{opacity:.6;}

/* 右：ビジュアル（雲写真＋濃紺テキスト） */
.menu-visual{flex:1 1 50%;position:relative;display:flex;align-items:flex-start;
  padding:168px 72px 0;color:var(--navy);
  background:linear-gradient(rgba(255,255,255,.32),rgba(255,255,255,.32)),
    url('/seminar/assets/s-960x2160_v-frms_webp_94159527-c749-4ce6-8c7f-58b42f5679e5_middle.webp') center/cover no-repeat;}
.menu-vtitle{font-family:"Oswald",sans-serif;font-size:96px;font-weight:600;line-height:.9;letter-spacing:0;}
.menu-vlead{margin-top:20px;font-family:"Zen Kaku Gothic New",sans-serif;font-size:42px;font-weight:700;line-height:1.3;}
.menu-vcontact{display:inline-flex;align-items:center;gap:10px;margin-top:44px;font-size:20px;font-weight:500;color:#fff;}
.menu-vcontact-ico{width:19px;height:19px;fill:#fff;flex:none;}
.menu-vbtn{display:block;width:210px;max-width:100%;margin-top:20px;padding:0 4px 10px;
  font-size:18px;font-weight:500;color:#fff;position:relative;}
/* 水平線（擬似要素）＝ホバーで線だけ右に動く */
.menu-vbtn::before{content:"";position:absolute;left:0;bottom:0;width:100%;height:1px;
  background:#fff;transition:transform .3s cubic-bezier(.4,.4,0,1);}
/* 線の右端が10時方向（左上）へ跳ね上がる矢印（本家スタイル） */
.menu-vbtn::after{content:"";position:absolute;right:0;bottom:0;width:30px;height:1px;
  background:#fff;transform-origin:right bottom;transform:rotate(45deg);
  transition:transform .3s cubic-bezier(.4,.4,0,1);}
.menu-vbtn:hover::before{transform:translateX(10px);}
.menu-vbtn:hover::after{transform:translateX(10px) rotate(45deg);}
.menu-vpolicy{position:absolute;left:72px;bottom:34px;font-size:15px;color:#fff;font-weight:500;}
.menu-nec{position:absolute;right:72px;bottom:34px;font-size:14px;color:var(--navy);font-weight:500;letter-spacing:.02em;}

@media(max-width:820px){
  .menu-visual{display:none;}
  .menu-nav{flex-basis:100%;padding:80px 32px 40px;}
  .menu-item{font-size:26px;}
  .menu-badge{font-size:13px;}
}
