/* FREESTYLE 統一ヘッダー: 2026-10-26
 * TOPで承認済みの幅、サイズ、グラデーション、ボタン形状に統一。
 * ヘッダー以外の既存コンテンツ・フォーム・各ページのCSSは変更しません。 */
.fs-unified-header, .fs-unified-header * {box-sizing:border-box;}
.fs-unified-header {
  position:relative!important; top:auto!important; inset:auto!important; z-index:100!important;
  display:block; width:100%; height:113px;
  margin:0!important; padding:0!important; border:0!important; box-shadow:none!important;
  background:linear-gradient(95deg,rgba(255,255,255,.93) 0%,rgba(255,255,255,.86) 33%,rgba(201,233,255,.79) 100%),url('/assets/freestyle-header-atmosphere-20261025.webp') center top / cover no-repeat;
  color:#071931; font-family:"Hiragino Kaku Gothic ProN","Yu Gothic","Noto Sans JP",Arial,sans-serif;
  line-height:normal; isolation:isolate;
}
.fs-unified-header .fsb-container {width:90%;max-width:1504px;margin:0 auto;box-sizing:border-box;}
.fs-unified-header .fsb-header-inner {display:flex;align-items:center;gap:0;justify-content:space-between;height:100%;}
.fs-unified-header .fsb-brand {display:flex;align-items:center;gap:17px;text-decoration:none!important;color:#071931!important;flex:none;min-width:0;white-space:nowrap;}
.fs-unified-header .fsb-brand img {display:block;object-fit:contain;aspect-ratio:1/1;width:70px;height:70px;max-width:unset;}
.fs-unified-header .fsb-brand-name {display:flex;flex-direction:column;justify-content:center;gap:0;line-height:1.12;}
.fs-unified-header .fsb-brand-name strong {display:block;color:#071931;font-family:Arial,"Helvetica Neue",sans-serif;font-weight:900;letter-spacing:-.035em;font-size:clamp(23px,2.46vw,42px);line-height:1.05;}
.fs-unified-header .fsb-brand-name small {display:block;color:#071931;font-size:clamp(10px,.82vw,14px);font-weight:800;letter-spacing:.005em;line-height:1.45;margin:0;}
.fs-unified-header .fsb-nav {display:flex!important;align-items:center;justify-content:center;gap:clamp(14px,2.5vw,41px);margin-left:auto;margin-right:clamp(28px,3.3vw,56px);white-space:nowrap;height:100%;}
.fs-unified-header .fsb-nav a {color:#0d223c!important;display:flex;align-items:center;height:100%;font-size:clamp(12px,.91vw,16px);font-weight:800;text-decoration:none!important;position:relative;letter-spacing:.01em;transition:color .15s ease;}
.fs-unified-header .fsb-nav a:hover,.fs-unified-header .fsb-nav a[aria-current="page"] {color:#0068eb!important;}
.fs-unified-header .fsb-nav a[aria-current="page"]::after {content:"";position:absolute;bottom:21px;height:3px;left:0;right:0;background:#0068eb;border-radius:4px;}
.fs-unified-header .fsb-contact {display:inline-flex;align-items:center;justify-content:center;gap:12px;min-width:258px;height:65px;padding:0 21px;flex:none;border-radius:12px;background:linear-gradient(110deg,#0579f5,#0060dc);color:#fff!important;font-size:17px;font-weight:850;text-decoration:none!important;box-shadow:0 10px 24px rgba(1,94,203,.15);transition:transform .16s,box-shadow .16s;}
.fs-unified-header .fsb-contact:hover {transform:translateY(-2px);box-shadow:0 13px 28px rgba(1,94,203,.25);}
.fs-unified-header .fsb-contact svg {display:block;flex:none;fill:none;stroke:currentColor;}
.fs-unified-header .fsb-icon-arrow {width:22px;height:22px;margin-left:auto;}
.fs-unified-header .fsb-menu {display:none!important;}
.fs-unified-header .fsb-mobile-nav {display:none!important;}
.fs-unified-header .fsb-menu-icon {display:block; width:25px;height:25px;stroke:#176bd4!important;fill:none!important;}
.fs-unified-header a:focus-visible,.fs-unified-header button:focus-visible {outline:3px solid #ffbd42;outline-offset:4px;}
@media(max-width:1450px) and (min-width:1201px){
  .fs-unified-header .fsb-container {width:94%;}
  .fs-unified-header .fsb-brand {gap:10px;}
  .fs-unified-header .fsb-brand img {width:54px;height:54px;}
  .fs-unified-header .fsb-contact {min-width:190px;height:56px;font-size:14px;padding:0 14px;}
  .fs-unified-header .fsb-nav {gap:clamp(11px,1.7vw,26px);margin-right:20px;}
}
@media(max-width:1200px){
  .fs-unified-header {height:98px;}
  .fs-unified-header .fsb-nav {display:none!important;}
  .fs-unified-header .fsb-menu {display:flex!important;align-items:center;justify-content:center;width:48px;height:48px;min-width:48px;border:1px solid #bad6f5!important;border-radius:12px;background:#fff!important;margin-left:15px;cursor:pointer;padding:9px;box-shadow:none;}
  .fs-unified-header .fsb-mobile-nav {position:absolute;top:100%;right:5%;left:5%;z-index:40;background:#fff;box-shadow:0 15px 40px rgba(6,48,99,.16);border-radius:0 0 18px 18px;padding:12px 22px 19px;flex-direction:column;gap:0;}
  .fs-unified-header .fsb-mobile-nav:not([hidden]):not([inert]) {display:flex!important;visibility:visible!important;opacity:1!important;transform:none!important;pointer-events:auto!important;max-height:none!important;}
  .fs-unified-header .fsb-mobile-nav[hidden],.fs-unified-header .fsb-mobile-nav[inert] {display:none!important;}
  .fs-unified-header .fsb-mobile-nav a {display:block;padding:13px 6px;border-bottom:1px solid #eef2f6;color:#14345c!important;text-decoration:none!important;font-weight:800;line-height:1.5;}
  .fs-unified-header .fsb-mobile-nav a[aria-current="page"] {color:#0068eb!important;background:#f6fbff;}
  .fs-unified-header .fsb-mobile-nav .fsb-mobile-contact {margin-top:12px;border:0;text-align:center;background:#056fec;color:#fff!important;border-radius:9px;}
}
@media(max-width:767px){
  .fs-unified-header .fsb-container {width:calc(100% - 36px);}
  .fs-unified-header {height:78px;}
  .fs-unified-header .fsb-brand {gap:8px;}
  .fs-unified-header .fsb-brand img {width:48px;height:48px;}
  .fs-unified-header .fsb-brand-name strong {font-size:clamp(23px,6vw,27px);}
  .fs-unified-header .fsb-brand-name small {font-size:10px;}
  .fs-unified-header .fsb-contact {height:42px;min-width:43px;padding:0;width:44px;gap:0;margin-left:auto;border-radius:10px;}
  .fs-unified-header .fsb-icon-mail {width:22px;height:22px;}
  .fs-unified-header .fsb-contact span,.fs-unified-header .fsb-icon-arrow {display:none;}
  .fs-unified-header .fsb-menu {width:43px;height:43px;min-width:43px;margin-left:9px;}
}
@media(max-width:375px){
  .fs-unified-header .fsb-container{width:calc(100% - 26px)}
  .fs-unified-header .fsb-brand {gap:5px;}
  .fs-unified-header .fsb-brand img {width:40px;height:40px;}
  .fs-unified-header .fsb-brand-name strong {font-size:clamp(20px,5.8vw,23px);}
  .fs-unified-header .fsb-brand-name small {font-size:9px;}
  .fs-unified-header .fsb-contact {width:39px;min-width:39px;height:39px;}
  .fs-unified-header .fsb-menu {width:39px;min-width:39px;height:39px;margin-left:6px;}
}
@media(prefers-reduced-motion:reduce){.fs-unified-header .fsb-contact,.fs-unified-header .fsb-nav a{transition:none;}}


/* ======================================================================
 * FREESTYLE brand header refresh | 2026-10-31
 * Scope: logo + vertical divider + corporate name ONLY.
 * Uses the existing /assets/freestyle-logo.png without editing its bytes.
 * Safe for TOP, iPad, mobile and fs-unified-header subpages.
 * ====================================================================== */
header.fsb-header a.fsb-brand,
header.fs-unified-header a.fsb-brand {
  display: inline-flex !important;
  align-items: center !important;
  flex: 0 1 auto !important;
  gap: 13px !important;
  min-width: 0 !important;
  max-width: 100% !important;
  white-space: nowrap !important;
  text-decoration: none !important;
}
header.fsb-header a.fsb-brand > img,
header.fs-unified-header a.fsb-brand > img {
  display: block !important;
  width: 70px !important;
  height: 70px !important;
  flex: 0 0 auto !important;
  object-fit: contain !important;
  object-position: center !important;
}
header.fsb-header a.fsb-brand > .fsb-brand-name,
header.fs-unified-header a.fsb-brand > .fsb-brand-name {
  box-sizing: border-box !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  gap: 4px !important;
  border-left: 1px solid #a8bbce !important;
  padding-left: 16px !important;
  min-width: 0 !important;
  color: #102643 !important;
  line-height: 1.05 !important;
}
header.fsb-header a.fsb-brand .fsb-brand-name > strong,
header.fs-unified-header a.fsb-brand .fsb-brand-name > strong {
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  font-family: "Arial Black", "Helvetica Neue", Arial, Helvetica, sans-serif !important;
  font-size: 40px !important;
  font-weight: 900 !important;
  font-style: normal !important;
  letter-spacing: -0.048em !important;
  line-height: 1 !important;
  color: #102643 !important;
  background: none !important;
  -webkit-text-fill-color: #102643 !important;
  text-shadow: none !important;
  white-space: nowrap !important;
}
header.fsb-header a.fsb-brand .fsb-brand-name > small,
header.fs-unified-header a.fsb-brand .fsb-brand-name > small {
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", "Noto Sans JP", sans-serif !important;
  font-size: 12px !important;
  font-weight: 750 !important;
  letter-spacing: .035em !important;
  line-height: 1.3 !important;
  white-space: nowrap !important;
  color: #102643 !important;
  -webkit-text-fill-color: #102643 !important;
}
@media (min-width: 1201px) and (max-width: 1450px) {
  header.fsb-header a.fsb-brand, header.fs-unified-header a.fsb-brand { gap: 10px !important; }
  header.fsb-header a.fsb-brand > img, header.fs-unified-header a.fsb-brand > img { width: 54px !important; height: 54px !important; }
  header.fsb-header a.fsb-brand > .fsb-brand-name, header.fs-unified-header a.fsb-brand > .fsb-brand-name {padding-left: 12px !important;}
  header.fsb-header a.fsb-brand .fsb-brand-name > strong, header.fs-unified-header a.fsb-brand .fsb-brand-name > strong {font-size: clamp(27px, 2.27vw, 33px) !important;}
  header.fsb-header a.fsb-brand .fsb-brand-name > small, header.fs-unified-header a.fsb-brand .fsb-brand-name > small {font-size: 10.5px !important;}
}
@media (max-width: 1200px) and (min-width: 768px) {
  header.fsb-header a.fsb-brand, header.fs-unified-header a.fsb-brand { gap: 12px !important; }
  header.fsb-header a.fsb-brand > img, header.fs-unified-header a.fsb-brand > img {width: 60px !important;height: 60px !important;}
  header.fsb-header a.fsb-brand > .fsb-brand-name, header.fs-unified-header a.fsb-brand > .fsb-brand-name {padding-left: 13px !important;}
  header.fsb-header a.fsb-brand .fsb-brand-name > strong, header.fs-unified-header a.fsb-brand .fsb-brand-name > strong {font-size: clamp(29px, 3vw, 36px) !important;}
  header.fsb-header a.fsb-brand .fsb-brand-name > small, header.fs-unified-header a.fsb-brand .fsb-brand-name > small {font-size: 11px !important;}
}
@media (max-width: 767px) {
  header.fsb-header a.fsb-brand, header.fs-unified-header a.fsb-brand {gap: 8px !important;}
  header.fsb-header a.fsb-brand > img, header.fs-unified-header a.fsb-brand > img {width: 45px !important;height: 45px !important;}
  header.fsb-header a.fsb-brand > .fsb-brand-name, header.fs-unified-header a.fsb-brand > .fsb-brand-name {padding-left: 10px !important;gap: 3px !important;}
  header.fsb-header a.fsb-brand .fsb-brand-name > strong, header.fs-unified-header a.fsb-brand .fsb-brand-name > strong {font-size: clamp(20px, 5.5vw, 25px) !important;}
  header.fsb-header a.fsb-brand .fsb-brand-name > small, header.fs-unified-header a.fsb-brand .fsb-brand-name > small {font-size: 9.5px !important;}
}
@media (max-width: 420px) {
  header.fsb-header a.fsb-brand, header.fs-unified-header a.fsb-brand {gap: 7px !important;}
  header.fsb-header a.fsb-brand > img, header.fs-unified-header a.fsb-brand > img {width: 40px !important;height: 40px !important;}
  header.fsb-header a.fsb-brand > .fsb-brand-name, header.fs-unified-header a.fsb-brand > .fsb-brand-name {padding-left: 8px !important;}
  header.fsb-header a.fsb-brand .fsb-brand-name > strong, header.fs-unified-header a.fsb-brand .fsb-brand-name > strong {font-size: 20px !important;}
  header.fsb-header a.fsb-brand .fsb-brand-name > small, header.fs-unified-header a.fsb-brand .fsb-brand-name > small {font-size: 9px !important;}
}
@media (max-width: 360px) {
  header.fsb-header a.fsb-brand, header.fs-unified-header a.fsb-brand {gap: 6px !important;}
  header.fsb-header a.fsb-brand > img, header.fs-unified-header a.fsb-brand > img {width: 36px !important;height: 36px !important;}
  header.fsb-header a.fsb-brand > .fsb-brand-name, header.fs-unified-header a.fsb-brand > .fsb-brand-name {padding-left: 7px !important;}
  header.fsb-header a.fsb-brand .fsb-brand-name > strong, header.fs-unified-header a.fsb-brand .fsb-brand-name > strong {font-size: 18px !important;}
  header.fsb-header a.fsb-brand .fsb-brand-name > small, header.fs-unified-header a.fsb-brand .fsb-brand-name > small {font-size: 8px !important;}
}
/* END FREESTYLE brand header refresh */


/* FREESTYLE / header left brand: explicit production selectors, v2 (2026-10-31)
   Only the colorful EXISTING logo image, divider, and the two brand text lines.
   This intentionally does not style any global .brand outside the site header. */
header.fsb-header a.fsb-brand {
  display: inline-flex !important;
  flex: 0 1 auto !important;
  align-items: center !important;
  gap: 0 !important;
  min-width: 0 !important;
  max-width: 100% !important;
  white-space: nowrap !important;
  color: #102643 !important;
  text-decoration: none !important;
}
header.fsb-header a.fsb-brand > img {
  display: block !important;
  width: 66px !important;
  height: 66px !important;
  aspect-ratio: 1 !important;
  max-width: none !important;
  object-fit: contain !important;
  flex: 0 0 auto !important;
  padding: 0 !important;
  margin: 0 !important;
}
header.fsb-header a.fsb-brand > .fsb-brand-name {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  flex: 0 1 auto !important;
  min-width: 0 !important;
  gap: 2px !important;
  margin: 0 0 0 14px !important;
  padding: 0 0 0 16px !important;
  border-left: 1px solid #afbfcd !important;
  background: none !important;
  line-height: 1 !important;
  text-shadow: none !important;
}
header.fsb-header a.fsb-brand > .fsb-brand-name > strong {
  display: block !important;
  padding: 0 !important;
  margin: 0 !important;
  color: #102643 !important;
  -webkit-text-fill-color: #102643 !important;
  background: none !important;
  font-family: Arial, "Helvetica Neue", Helvetica, sans-serif !important;
  font-size: 34px !important;
  line-height: 1.05 !important;
  letter-spacing: -0.052em !important;
  font-weight: 900 !important;
  text-shadow: none !important;
  white-space: nowrap !important;
}
header.fsb-header a.fsb-brand > .fsb-brand-name > small {
  display: block !important;
  padding: 0 !important;
  margin: 0 !important;
  color: #102643 !important;
  -webkit-text-fill-color: #102643 !important;
  font-size: 11px !important;
  line-height: 1.35 !important;
  letter-spacing: 0.015em !important;
  font-weight: 750 !important;
  white-space: nowrap !important;
}
/* The nav and contact controls are intentionally NOT changed. */
@media (max-width: 1450px) and (min-width: 1201px) {
  header.fsb-header a.fsb-brand > img { width: 53px !important; height: 53px !important; }
  header.fsb-header a.fsb-brand > .fsb-brand-name { margin-left: 11px !important; padding-left: 13px !important; }
  header.fsb-header a.fsb-brand > .fsb-brand-name > strong { font-size: clamp(25px, 2.20vw, 31px) !important; }
  header.fsb-header a.fsb-brand > .fsb-brand-name > small { font-size: 10px !important; }
}
@media (max-width: 1200px) and (min-width: 768px) {
  header.fsb-header a.fsb-brand > img { width: 54px !important; height: 54px !important; }
  header.fsb-header a.fsb-brand > .fsb-brand-name { margin-left: 10px !important; padding-left: 12px !important; }
  header.fsb-header a.fsb-brand > .fsb-brand-name > strong { font-size: clamp(26px, 3.05vw, 32px) !important; }
  header.fsb-header a.fsb-brand > .fsb-brand-name > small { font-size: 10px !important; }
}
@media (max-width: 767px) {
  header.fsb-header a.fsb-brand > img { width: 40px !important; height: 40px !important; }
  header.fsb-header a.fsb-brand > .fsb-brand-name { margin-left: 7px !important; padding-left: 9px !important; gap: 1px !important; }
  header.fsb-header a.fsb-brand > .fsb-brand-name > strong { font-size: clamp(20px, 5.3vw, 23px) !important; }
  header.fsb-header a.fsb-brand > .fsb-brand-name > small { font-size: 9px !important; letter-spacing: 0 !important; }
}
@media (max-width: 375px) {
  header.fsb-header a.fsb-brand > img { width: 36px !important; height: 36px !important; }
  header.fsb-header a.fsb-brand > .fsb-brand-name { margin-left: 6px !important; padding-left: 7px !important; }
  header.fsb-header a.fsb-brand > .fsb-brand-name > strong { font-size: 18px !important; }
  header.fsb-header a.fsb-brand > .fsb-brand-name > small { font-size: 8px !important; }
}
/* End logo-only fix v2 */
