/* 法人サイトのヘッダー（2026-11-18 トップの作り直しに合わせる） */
.header_tagline{font-family:"Noto Sans JP",sans-serif!important;font-weight:400!important;color:#4a5763!important}
.header_logo{display:flex!important;align-items:center;gap:14px}
.headmenu_cap{font-family:"Noto Sans JP",sans-serif!important;font-weight:700!important}
.headmenu_a:not(.headmenu_a-contact):not(.headmenu_a-download) .headmenu_cap{color:#004E98!important}
.headmenu_a-contact .headmenu_shape{background:#004E98!important;border-radius:999px!important}
.headmenu_a-download .headmenu_shape{background:#F16C06!important;border-radius:999px!important}
.header_logo img:first-child{flex:none;width:auto!important;max-width:none!important;height:40px!important}
.headmenu_a-contact .headmenu_shape,.headmenu_a-download .headmenu_shape{border:0!important}
.header_logo{width:auto!important;justify-content:flex-start}
/* 961〜1200px（狭めたPC・横向きタブレット）は、三本線にたたまずメニューを横に並べたまま出す。2026-11-18 */
@media (min-width:961px) and (max-width:1200px){
  header.header{padding:0 20px!important}
  .header_set{display:flex!important;flex-direction:row!important;justify-content:space-between!important;align-items:center!important}
  .header_left{width:auto!important;flex:none}
  .header_tagline{font-size:10px!important;white-space:nowrap}
  .header_logo img:first-child{height:34px!important}
  .header_menu{position:static!important;width:auto!important;height:80px!important;flex-direction:row!important;justify-content:flex-end!important;align-items:center!important;gap:18px!important;padding:0!important;background:none!important;opacity:1!important;transform:none!important;pointer-events:auto!important;z-index:auto!important}
  .headmenu_group{flex-direction:row!important;gap:10px!important}
  .headmenu_a{margin:0!important;height:80px!important}
  .headmenu_shape{color:#004E98!important;font-size:13px!important;letter-spacing:0!important}
  .headmenu_uline{background-color:#004E98!important}
  .headmenu_a-download .headmenu_shape,.headmenu_a-contact .headmenu_shape{width:auto!important;padding:8px 16px!important;gap:6px!important;color:#fff!important}
  .headmenu_a-download .headmenu_cap,.headmenu_a-contact .headmenu_cap{color:#fff!important;font-size:13px!important}
  .headmenu_icon{width:16px!important}
  .hamburger_set{display:none!important}
}
/* 「目的別のご案内」のプルダウン（2026-11-19） */
.xs-nd{position:relative;display:flex;align-items:center}
.xs-nd__menu{list-style:none;margin:0;padding:8px 0;position:absolute;top:calc(100% - 10px);left:50%;transform:translate(-50%,6px);min-width:240px;background:#fff;border-radius:12px;box-shadow:0 10px 30px rgba(0,40,90,.16);opacity:0;visibility:hidden;transition:opacity .2s,transform .2s,visibility .2s;z-index:200}
.xs-nd__menu::before{content:"";position:absolute;left:0;right:0;top:-12px;height:12px}
.xs-nd:hover .xs-nd__menu,.xs-nd:focus-within .xs-nd__menu{opacity:1;visibility:visible;transform:translate(-50%,0)}
.xs-nd__menu a{display:block;padding:11px 20px;color:#004E98;font-size:14px;font-weight:700;text-decoration:none;white-space:nowrap;line-height:1.4}
.xs-nd__menu a:hover,.xs-nd__menu a:focus{background:#eef4fa}
.xs-nd__menu li:first-child a::after{content:"専用ページ";margin-left:8px;font-size:11px;font-weight:700;color:#fff;background:#F16C06;border-radius:999px;padding:2px 8px;vertical-align:1px}
@media (max-width:960px){
  .xs-nd{flex-direction:column;align-items:center}
  .xs-nd__menu{position:static;transform:none;opacity:1;visibility:visible;background:none;box-shadow:none;min-width:0;padding:0 0 6px;text-align:center}
  .xs-nd:hover .xs-nd__menu,.xs-nd:focus-within .xs-nd__menu{transform:none}
  .xs-nd__menu a{color:rgba(255,255,255,.82);font-size:13px;font-weight:500;padding:6px 12px}
  .xs-nd__menu a:hover,.xs-nd__menu a:focus{background:none;color:#fff}
  .xs-nd__menu li:first-child a::after{display:none}
}
/* 三本線のメニュー（960px以下）：画面いっぱいの黒い幕をやめ、ヘッダーの下に白いパネルで出す（2026-11-19） */
@media (max-width:960px){
  .header_menu{top:var(--xs-hh,70px)!important;bottom:auto!important;height:auto!important;max-height:calc(100vh - var(--xs-hh,70px))!important;overflow-y:auto!important;background:#fff!important;box-shadow:0 12px 28px rgba(0,40,90,.14)!important;border-top:1px solid #e1e8ef;padding:8px 0 20px!important;transform:translateY(-8px)!important;align-items:stretch!important}
  .header_menu.pst_open{transform:none!important}
  .header_menu>.headmenu_a,.header_menu>.xs-nd>.headmenu_a,.headmenu_group .headmenu_a{margin:0!important;height:auto!important}
  .header_menu .headmenu_shape{color:#004E98!important;font-size:15px!important;padding:14px 24px!important;justify-content:flex-start!important}
  .header_menu .headmenu_cap{color:#004E98!important}
  .header_menu .headmenu_uline{display:none!important}
  .header_menu>a.headmenu_a,.header_menu>.xs-nd{border-bottom:1px solid #eef2f6}
  .xs-nd{align-items:stretch!important}
  .xs-nd__menu{text-align:left!important;padding:0 0 10px!important}
  .xs-nd__menu a{color:#33475b!important;font-size:14px!important;font-weight:500!important;padding:8px 24px 8px 40px!important;position:relative}
  .xs-nd__menu a::before{content:"";position:absolute;left:26px;top:50%;width:5px;height:5px;border-top:1.5px solid #004E98;border-right:1.5px solid #004E98;transform:translateY(-50%) rotate(45deg)}
  .headmenu_group{padding:16px 24px 0!important;gap:10px!important;align-items:stretch!important}
  .headmenu_group .headmenu_shape{justify-content:center!important;color:#fff!important}
  .headmenu_group .headmenu_cap{color:#fff!important}
}
@media (max-width:960px){
  .hamburger_btn.pst_open span{background:#004E98!important}
  .header_menu>a.headmenu_a,.header_menu>.xs-nd>a.headmenu_a{width:100%!important;display:block!important}
  .header_menu>a.headmenu_a .headmenu_shape,.header_menu>.xs-nd>a.headmenu_a .headmenu_shape{width:100%!important;box-sizing:border-box;justify-content:flex-start!important;text-align:left!important;align-items:flex-start!important}
  .header_menu>a.headmenu_a .headmenu_cap,.header_menu>.xs-nd>a.headmenu_a .headmenu_cap{text-align:left!important}
}
/* 三本線メニュー（480〜960px）：お問い合わせと資料請求は横に並べる */
@media (min-width:480px) and (max-width:960px){
  .header_menu .headmenu_group{flex-direction:row!important;justify-content:center!important;align-items:center!important;gap:12px!important}
  .header_menu .headmenu_group .headmenu_a{flex:0 1 260px!important;margin:0!important}
  .header_menu .headmenu_group .headmenu_shape{width:100%!important;box-sizing:border-box}
}
.xs-nd__partner{border-top:1px solid #e1e8ef;margin-top:6px;padding-top:6px}
.xs-nd__partner a{font-weight:500!important;font-size:13px!important}

/* 2026-11-25 ヘッダーの2つのボタン（お問い合わせ・資料請求）：ときどき光が走る／押すと沈む（ユーザー指示「ヘッダーのボタンもアニメーション」） */
.headmenu_a-contact .headmenu_shape,.headmenu_a-download .headmenu_shape{overflow:hidden;isolation:isolate;box-shadow:0 3px 0 rgba(0,0,0,.14);transition:transform .12s ease,box-shadow .12s ease,filter .15s!important}
.headmenu_a-contact .headmenu_shape::after,.headmenu_a-download .headmenu_shape::after{content:"";position:absolute;z-index:-1;top:0;left:0;width:45%;height:100%;pointer-events:none;background:linear-gradient(100deg,rgba(255,255,255,0) 0,rgba(255,255,255,.5) 50%,rgba(255,255,255,0) 100%);transform:translateX(-160%) skewX(-20deg);animation:xs-hd-shine 4s ease-in-out infinite}
.headmenu_a-download .headmenu_shape::after{animation-delay:2s}
@keyframes xs-hd-shine{0%,62%{transform:translateX(-160%) skewX(-20deg)}100%{transform:translateX(330%) skewX(-20deg)}}
.headmenu_a-contact:hover .headmenu_shape,.headmenu_a-download:hover .headmenu_shape{filter:brightness(1.08);color:#fff!important}
.headmenu_a-contact:hover .headmenu_cap,.headmenu_a-download:hover .headmenu_cap{color:#fff!important}
.headmenu_a-contact .headmenu_shape:hover path,.headmenu_a-download .headmenu_shape:hover path{stroke:#fff!important}
.headmenu_a-contact:hover .headmenu_shape::after,.headmenu_a-download:hover .headmenu_shape::after{animation-duration:1.2s;animation-delay:0s}
.headmenu_a-contact:active .headmenu_shape,.headmenu_a-download:active .headmenu_shape{transform:translateY(2px);box-shadow:0 1px 0 rgba(0,0,0,.14);filter:brightness(.95)}
@media (prefers-reduced-motion:reduce){.headmenu_a-contact .headmenu_shape::after,.headmenu_a-download .headmenu_shape::after{animation:none;display:none}}

/* 2026-11-26 共通の問い合わせフォーム（.home__contact）：テーマは文字の大きさを画面幅に比例させているため、PCの狭い幅（768〜1400px）でフォームだけ小さく見えていた（ユーザー指摘）。最低の大きさを決める（広い画面は今のまま） */
@media (min-width:768px){
  .home__contact .sec__title{font-size:max(30px,2.5vw)!important}
  .home__contact .contact__tab-btn{font-size:max(16px,1.25vw)!important;min-height:52px}
  .home__contact .field__cap{font-size:max(16px,1.125vw)!important}
  .home__contact .field__cap span{font-size:max(12px,.875vw)!important}
  .home__contact .form__label{font-size:max(15px,1vw)!important}
  .home__contact .field__control input[type=text],.home__contact .field__control input[type=email],.home__contact .field__control input[type=tel],.home__contact .field__control select,.home__contact .field__control textarea{font-size:max(16px,1.125vw)!important}
  .home__contact .field__control input[type=text],.home__contact .field__control input[type=email],.home__contact .field__control input[type=tel],.home__contact .field__control select{min-height:48px}
  .home__contact .contact__btn{font-size:max(16px,1.125vw)!important;min-height:54px;min-width:240px}
  .home__contact .contact__form-error,.home__contact .form__error{font-size:max(13px,.875vw)!important}
}

/* 2026-11-26 法人サイトのすべてのCTAボタン（PC・スマホ）：ときどき光が走る（キラリ）／押すとへこむ（ユーザー指示）。全ページで読み込むこのファイルに置く
   対象：トップ・目的別の申し込みボタン（s6-btn）、紹介パートナー（pt-btn・xs-cta）、右の「相談する」、フォームの「入力内容の確認」、記事内の相談ボタン（SWELLのボタン・xu-cta）、スマホ下の固定ボタン、右端の固定タブ
   対象外：ページ内の切り替えタブ・絞り込み・検索・SNSシェア・「一覧へ」（申し込みではなく案内のため） */
.s6-btn--o,.s6-btn--n,.s6-btn--line,.pt-btn,.xs-cta,.xs-side__cta,.contact__btn,.swell-block-button__link,.xu-cta,.xh-sticky-cta__btn,.xs-fix__mail{position:relative;overflow:hidden;isolation:isolate}
html body .s6-btn--o::after,html body .s6-btn--n::after,html body .s6-btn--line::after,html body .pt-btn::after,html body .xs-cta::after,html body .xs-side__cta::after,html body .contact__btn::after,html body .swell-block-button__link::after,html body .xu-cta::after,html body .xh-sticky-cta__btn::after,html body .xs-fix__mail::after{
  content:""!important;position:absolute!important;z-index:-1!important;top:0!important;left:0!important;width:45%!important;height:100%!important;pointer-events:none;display:block!important;
  background:linear-gradient(100deg,rgba(255,255,255,0) 0,rgba(255,255,255,.5) 50%,rgba(255,255,255,0) 100%)!important;transform:translateX(-160%) skewX(-20deg);animation:xs-cta-shine 3.6s ease-in-out infinite!important}
html body .s6-btn--line::after{background:linear-gradient(100deg,rgba(0,78,152,0) 0,rgba(0,78,152,.14) 50%,rgba(0,78,152,0) 100%)!important}
html body .s6-btn--n::after,html body .xh-sticky-cta__btn--download::after,html body .contact__btn::after{animation-delay:1.8s!important}
@keyframes xs-cta-shine{0%,58%{transform:translateX(-160%) skewX(-20deg)}100%{transform:translateX(330%) skewX(-20deg)}}
.s6-btn--o,.s6-btn--n,.s6-btn--line,.pt-btn,.xs-cta,.xs-side__cta,.contact__btn,.swell-block-button__link,.xu-cta,.xh-sticky-cta__btn,.xs-fix__mail{transition:transform .12s ease,box-shadow .12s ease,filter .15s,opacity .15s!important;-webkit-tap-highlight-color:transparent}
/* マウスを乗せたら少し明るく（沈まない）。押したときだけへこむ */
html body .s6-btn--o:hover,html body .s6-btn--n:hover,html body .s6-btn--line:hover,html body .pt-btn:hover,html body .xs-cta:hover,html body .contact__btn:hover,html body .swell-block-button__link:hover,html body .xu-cta:hover,html body .xh-sticky-cta__btn:hover{transform:none!important;filter:brightness(1.07);opacity:1!important}
html body .s6-btn--o:hover::after,html body .s6-btn--n:hover::after,html body .pt-btn:hover::after,html body .xs-cta:hover::after,html body .contact__btn:hover::after,html body .swell-block-button__link:hover::after,html body .xu-cta:hover::after{animation-duration:1.2s!important;animation-delay:0s!important}
html body .s6-btn--o:active,html body .s6-btn--n:active,html body .s6-btn--line:active,html body .pt-btn:active,html body .xs-cta:active,html body .xs-side__cta:active,html body .contact__btn:active,html body .swell-block-button__link:active,html body .xu-cta:active,html body .xh-sticky-cta__btn:active,html body .xs-fix__mail:active{transform:translateY(3px)!important;filter:brightness(.95);box-shadow:0 1px 0 rgba(0,0,0,.14)!important}
@media (prefers-reduced-motion:reduce){html body .s6-btn--o::after,html body .s6-btn--n::after,html body .s6-btn--line::after,html body .pt-btn::after,html body .xs-cta::after,html body .xs-side__cta::after,html body .contact__btn::after,html body .swell-block-button__link::after,html body .xu-cta::after,html body .xh-sticky-cta__btn::after,html body .xs-fix__mail::after{animation:none!important;display:none!important}}
/* SWELLのボタンは文字の行の上に乗る形（inline-block）なので、はみ出しを隠すと行の基準がずれて約10px下がる。clip は基準を変えない */
html body .swell-block-button__link{overflow:hidden;overflow:clip}
