@charset "UTF-8";
/* ==========================================================================
   UDサイト 共通ヘッダー・フッター（TOTO WEBサイト準拠）
   - 読み込み：/ud/assets/inc/common_parts.txt
   - ブレークポイント：767px 以下をスマートフォン表示（TOTO WEBサイトと同じ）
   - ページ側のCSS（旧デザインのCSSを含む）の影響を受けないよう、
     .udg-header / .udg-footer 配下は必要なプロパティをすべて明示する
   ========================================================================== */

/* --------------------------------------------------------------------------
   リセット（ヘッダー・フッター内のみ）
   -------------------------------------------------------------------------- */
.udg-header,
.udg-header *,
.udg-footer,
.udg-footer * {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border: 0;
  font-style: normal;
  font-weight: 400;
  letter-spacing: .012em;
  text-align: left;
  text-decoration: none;
  list-style: none;
  background: none;
}
.udg-header,
.udg-footer {
  font-family: Lato, arial, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "Noto Sans JP", "メイリオ", Meiryo, sans-serif;
  font-size: 16px;
  line-height: 1;
  -webkit-text-size-adjust: 100%;
}
.udg-header img,
.udg-footer img {
  display: block;
  max-width: none;
  height: auto;
  vertical-align: top;
}
.udg-header svg,
.udg-footer svg {
  display: inline-block;
  vertical-align: top;
  overflow: visible;
}
.udg-header a:focus-visible,
.udg-header button:focus-visible,
.udg-footer a:focus-visible {
  outline: 2px solid #1e4dc6;
  outline-offset: 2px;
}

/* --------------------------------------------------------------------------
   ヘッダー
   -------------------------------------------------------------------------- */
.udg-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  width: 100%;
  min-width: 1135px; /* ページ本体の最小幅（base1609.min.css の body）に合わせる */
  background: #fff;
  color: #061448;
  transform: translateY(0);
  transition: transform .2s;
}
.udg-header.is-hidden {
  transform: translateY(-100%);
}

/* PC ---------------------------------------------------------------------- */
.udg-header__pc {
  display: grid;
  grid-template:
    ". . . . ." 12px
    ". . links links ." 18px
    ". . . . ." 12px
    ". nav nav icons ." 65px
    / min(48px, calc((100% - 1164px) / 116 * 48)) 1fr auto auto min(32px, calc((100% - 1164px) / 116 * 32));
  max-width: 1440px;
  margin: 0 auto;
}
.udg-header__sp,
.udg-header__drawer {
  display: none;
}

.udg-header__links {
  display: flex;
  grid-area: links;
  justify-content: flex-end;
}
.udg-header__links li + li {
  margin-left: 32px;
}
.udg-header__links a {
  position: relative;
  display: inline-block;
  color: #061448;
  font-size: 12px;
  line-height: 1.5;
  white-space: nowrap;
}

.udg-header__nav {
  display: flex;
  grid-area: nav;
  align-items: center;
  align-self: end;
}
.udg-header__nav li {
  position: relative;
  padding-bottom: 20px;
}
.udg-header__nav li + li {
  margin-left: 32px;
}
.udg-header__nav a {
  display: block;
  color: #0b163e;
  font-size: 16px;
  line-height: 1;
  white-space: nowrap;
}
.udg-header__logo img {
  width: 87px;
}
.udg-header__nav li:not(.udg-header__logo) {
  transition: color .12s;
}

.udg-header__icons {
  display: flex;
  grid-area: icons;
  justify-content: flex-end;
  padding-bottom: 20px;
}
.udg-header__icons a {
  position: relative;
  display: block;
  width: 84px;
  color: #061448;
  text-align: center;
}
.udg-header__icons .udg-icon {
  width: 16px;
  height: 16px;
  color: #061448;
}
.udg-header__icons span {
  position: relative;
  display: block;
  width: fit-content;
  margin: 8px auto 0;
  color: #061448;
  font-size: 12px;
  line-height: 1.5;
  white-space: nowrap;
}

/* 画面幅 1199px 以下（タブレットは幅 1106px で PC 表示）：間隔を詰めて幅 1135px に収める */
@media only screen and (min-width: 768px) and (max-width: 1199px) {
  .udg-header__pc {
    grid-template-columns: 12px 1fr auto auto 12px;
  }
  .udg-header__nav li + li,
  .udg-header__links li + li {
    margin-left: 24px;
  }
}

/* ホバー（PC のみ） */
@media only screen and (min-width: 768px) {
  .udg-header__links a::after,
  .udg-header__icons span::after {
    position: absolute;
    bottom: 0;
    left: 0;
    display: block;
    width: 100%;
    height: 1px;
    content: "";
    background: #1e4dc6;
    transform: scaleX(0);
    transform-origin: left top;
    transition: transform .4s;
  }
  .udg-header__links a:hover,
  .udg-header__icons a:hover .udg-icon,
  .udg-header__icons a:hover span {
    color: #1e4dc6;
  }
  .udg-header__links a:hover::after,
  .udg-header__icons a:hover span::after {
    transform: scaleX(1);
  }
  .udg-header__nav li:not(.udg-header__logo):hover a {
    color: #1e4dc6;
  }
  .udg-header__nav li:not(.udg-header__logo):hover::after {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    content: "";
    background: #1e4dc6;
  }
}

/* SP ---------------------------------------------------------------------- */
@media only screen and (max-width: 767px) {
  .udg-header {
    min-width: 0;
  }
  .udg-header__pc {
    display: none;
  }
  .udg-header__sp {
    display: grid;
    grid-template: "menu . logo . icons ." 60px / 60px 20px auto 1fr auto 12px;
    align-items: center;
  }
  .udg-header__menu-btn {
    display: block;
    grid-area: menu;
    width: 60px;
    height: 60px;
    padding: 12px 0 0;
    color: #061448;
    text-align: center;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
  }
  .udg-header__menu-btn .udg-icon {
    display: block;
    width: 20px;
    height: 20px;
    margin: 0 auto;
    color: #061448;
  }
  .udg-header__menu-label {
    display: block;
    margin-top: 2px;
    color: #061448;
    font-size: 10px;
    line-height: 15px;
    text-align: center;
    white-space: nowrap;
  }
  .udg-header__menu-btn .udg-icon--close,
  .udg-header__menu-label--close,
  .udg-header.is-open .udg-header__menu-btn .udg-icon--open,
  .udg-header.is-open .udg-header__menu-label--open {
    display: none;
  }
  .udg-header.is-open .udg-header__menu-btn .udg-icon--close,
  .udg-header.is-open .udg-header__menu-label--close {
    display: block;
  }
  .udg-header__sp-logo {
    display: block;
    grid-area: logo;
  }
  .udg-header__sp-logo img {
    width: 87px;
  }
  .udg-header__sp .udg-header__icons {
    grid-area: icons;
    padding-bottom: 0;
  }
  .udg-header__sp .udg-header__icons a {
    width: 58px;
    height: 33px;
  }
  .udg-header__sp .udg-header__icons span {
    margin-top: 2px;
    font-size: 9px;
    line-height: 13.5px;
  }

  /* メニュー（開閉） */
  .udg-header__drawer {
    position: fixed;
    top: 60px;
    left: 0;
    display: block;
    width: 100%;
    height: calc(100vh - 60px);
    height: calc(100dvh - 60px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    background: #fff;
    visibility: hidden;
    opacity: 0;
    transition: opacity .2s, visibility .2s;
  }
  .udg-header.is-open .udg-header__drawer {
    visibility: visible;
    opacity: 1;
  }
  .udg-header__drawer-nav li {
    margin-bottom: -1px;
    border-top: 1px solid #d8e0e6;
    border-bottom: 1px solid #d8e0e6;
  }
  .udg-header__drawer-nav a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    color: #061448;
    font-size: 18px;
    line-height: 24px;
  }
  .udg-header__drawer-nav a::after,
  .udg-header__drawer-links a::after {
    display: block;
    flex-shrink: 0;
    width: 8px;
    height: 8px;
    margin-left: 12px;
    content: "";
    border-top: 2px solid #1e4dc6;
    border-right: 2px solid #1e4dc6;
    transform: rotate(45deg);
  }
  .udg-header__drawer-links {
    padding: 16px 20px 48px;
  }
  .udg-header__drawer-links li {
    margin-top: 32px;
  }
  .udg-header__drawer-links a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #061448;
    font-size: 16px;
    line-height: 20px;
  }
}

/* メニューを開いている間はページをスクロールさせない */
html.udg-menu-open,
html.udg-menu-open body {
  overflow: hidden;
}

/* --------------------------------------------------------------------------
   フッター
   -------------------------------------------------------------------------- */
.udg-footer {
  display: block;
  clear: both;
  width: 100%;
  background: #0b163e;
  color: #fff;
}
.udg-footer a {
  color: #fff;
}

/* パンくず・TOPボタンの帯 */
.udg-footer__top {
  background: rgba(255, 255, 255, .1);
}
.udg-footer__top-inner {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  width: 1164px;
  min-height: 64px;
  margin: 0 auto;
}
.udg-footer__crumbs {
  display: flex;
  align-items: center;
  padding: 12px 20px 12px 0;
}
.udg-footer__crumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}
.udg-footer__crumbs li {
  display: flex;
  align-items: center;
  font-size: 12px;
  line-height: 18px;
}
.udg-footer__crumbs li + li::before {
  display: block;
  width: 7px;
  height: 7px;
  margin: 0 22px 0 18px;
  content: "";
  border-top: 2px solid #e5eaee;
  border-right: 2px solid #e5eaee;
  transform: rotate(45deg);
}
.udg-footer__crumbs a {
  color: #fff;
  font-size: 12px;
  line-height: 18px;
}
.udg-footer__crumbs span {
  color: #a3a5ac;
  font-size: 12px;
  line-height: 18px;
}
.udg-footer__totop {
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 80px;
  background: #fff;
  color: #0b163e !important;
  transition: color .12s;
}
.udg-footer__totop .udg-icon {
  width: 20px;
  height: 20px;
  color: inherit;
}
.udg-footer__totop span {
  display: block;
  margin-top: 2px;
  color: inherit;
  font-size: 12px;
  line-height: 12px;
  text-align: center;
}

/* SNS・ポリシーの帯 */
.udg-footer__main-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 1164px;
  margin: 0 auto;
  padding: 40px 0;
}
.udg-footer__sns {
  display: flex;
  align-items: center;
}
.udg-footer__sns-title {
  color: #fff;
  font-size: 14px;
  line-height: 21px;
  white-space: nowrap;
}
.udg-footer__sns-list {
  display: flex;
  align-items: center;
  margin-left: 32px;
}
.udg-footer__sns-list li + li {
  margin-left: 32px;
}
.udg-footer__sns-list a {
  display: block;
  color: #fff;
  transition: opacity .12s;
}
.udg-footer__info {
  display: flex;
  align-items: center;
}
.udg-footer__policy {
  display: flex;
  align-items: center;
}
.udg-footer__policy li + li {
  margin-left: 32px;
}
.udg-footer__policy a,
.udg-footer__copyright,
.udg-footer__copyright small {
  color: #fff;
  font-size: 12px;
  line-height: 18px;
  white-space: nowrap;
}
.udg-footer__copyright {
  margin-left: 32px;
}

@media only screen and (min-width: 768px) {
  .udg-footer__crumbs a:hover,
  .udg-footer__policy a:hover {
    text-decoration: underline;
  }
  .udg-footer__totop:hover {
    color: #1656fe !important;
  }
  .udg-footer__sns-list a:hover {
    opacity: .7;
  }
}

@media only screen and (max-width: 767px) {
  .udg-footer__top-inner,
  .udg-footer__main-inner {
    width: auto;
  }
  .udg-footer__crumbs {
    padding-left: 20px;
  }
  .udg-footer__totop {
    width: 60px;
  }
  .udg-footer__main-inner {
    display: block;
    padding: 40px 20px;
  }
  .udg-footer__sns {
    display: block;
  }
  .udg-footer__sns-list {
    margin: 16px 0 0;
  }
  .udg-footer__info {
    display: block;
    margin-top: 40px;
  }
  .udg-footer__policy {
    display: block;
  }
  .udg-footer__policy li + li {
    margin: 16px 0 0;
  }
  .udg-footer__copyright {
    margin: 32px 0 0;
  }
}

/* --------------------------------------------------------------------------
   ページ側との連携（新ヘッダーの高さ・表示状態に合わせる）
   -------------------------------------------------------------------------- */
/* ヘッダー分の余白（旧：PC 127px／SP 47px） */
#wrapper {
  padding-top: 107px;
}
@media only screen and (max-width: 767px) {
  #wrapper {
    padding-top: 60px;
  }
}

/* UDメニューの追従位置（旧：PC 106px／SP 45px）
   ヘッダーが隠れている間は画面上端に付ける */
html .ud-nav.is-fixed {
  top: 107px;
  transition: top .2s;
}
html.udg-header-hidden .ud-nav.is-fixed {
  top: 0;
}
@media only screen and (max-width: 767px) {
  html .ud-nav.is-fixed {
    top: 60px;
  }
  html.udg-header-hidden .ud-nav.is-fixed {
    top: 0;
  }
}

/* パブリックのUD ページ内ナビの追従位置（旧：220px ＝ 旧ヘッダー 106px ＋ 114px） */
html .p-public .nav__wrap {
  top: 221px;
  transition: top .2s;
}
html.udg-header-hidden .p-public .nav__wrap {
  top: 114px;
}

/* --------------------------------------------------------------------------
   旧フッターCSS（/common/css/footer/1509footer.css）のうち、
   ページ本文の #copyright（動画ポップアップ等）に効いていた指定を引き継ぐ
   -------------------------------------------------------------------------- */
#copyright {
  position: relative;
  padding: 13px;
  border-top: 1px solid #d0d8dc;
}
#copyright > p {
  text-align: center;
}
@media only screen and (max-width: 736px) {
  #copyright {
    position: relative;
    padding: 0;
    border-top: none;
  }
  #copyright > p {
    padding: 12px 0 13px;
    font-size: 71.42857%;
    border-bottom: 1px solid #d0d8dc;
  }
}

/* --------------------------------------------------------------------------
   H.C.R.2026 バナー（旧 /common/css/footer/1509footer.css から移設）
   -------------------------------------------------------------------------- */
#f-hcr {
  position: fixed;
  bottom: 0;
  right: 0;
  width: 265px;
  z-index: 5;
}
#f-hcr:after {
  content: " ";
  display: block;
  height: 0;
  clear: both;
  visibility: hidden;
  font-size: 0;
}
#f-hcr p {
  float: left;
  padding-left: 10px;
  color: #FFF;
}
#f-hcr p:first-child {
  line-height: 49px;
}
#f-hcr p.hcr18 {
  font-size: 14px;
}
#f-hcr p.hcr26 {
  font-size: 20px;
}
@media only screen and (min-width: 737px) {
  #f-hcr img.bnr {
    width: 190px;
    margin-left: 30px;
    margin-top: 10px;
    text-align: center;
  }
  #f-hcr a.hcrlink {
    display: block;
    border: 1px solid #fff;
    color: #FFF;
    padding: 0.5em 0;
    width: 190px;
    margin: 15px auto 5px 30px;
    text-align: center;
  }
  #f-hcr a.hcrlink:hover {
    opacity: 0.5;
  }
  #f-hcr button {
    width: auto;
    background: none;
    border: 0;
    overflow: visible;
    cursor: pointer;
    float: right;
    position: absolute;
    right: 2px;
    top: 6px;
    opacity: 0;
  }
}
@media only screen and (max-width: 736px) {
  #f-hcr {
    box-sizing: border-box;
    font-size: 85.71429%;
    border-bottom: 1px solid #d0d8dc;
    bottom: 0;
  }
  #f-hcr img.bnr {
    width: 190px;
    margin-left: 10px;
    margin-top: 10px;
    text-align: center;
  }
  #f-hcr a.hcrlink {
    display: block;
    border: 1px solid #fff;
    color: #FFF;
    padding: 0.5em 0;
    width: 190px;
    margin: 15px auto 5px 10px;
    text-align: center;
  }
  #f-hcr a.hcrlink:hover {
    opacity: 0.5;
  }
  #f-hcr button {
    width: auto;
    background: none;
    border: 0;
    overflow: visible;
    cursor: pointer;
    float: right;
    position: absolute;
    right: 2px;
    top: 6px;
    opacity: 0;
  }
  #f-hcr p {
    float: left;
  }
  #f-hcr p:first-child {
    height: auto;
    margin: 8px 0 0;
    line-height: 1.4;
  }
  #f-hcr p:nth-child(even) {
    float: left;
  }
}

/* 印刷時はヘッダーを表示しない（TOTO WEBサイトと同じ） */
@media print {
  .udg-header {
    display: none;
  }
  #wrapper {
    padding-top: 0;
  }
}
