@charset "UTF-8";
/* キーボード操作時のみ表示される「本文へスキップ」 */
.skip-link  {
  position: absolute;
  z-index: 100;
  top: 8px;
  left: 8px;
  padding: 8px 16px;
  background: #fff;
  color: #1782e5;
  font-weight: 700;
  transform: translateY(-200%);
}

.skip-link:focus  {
  transform: none;
}

/* ページ内リンクの着地位置をヘッダーの高さ分下げる */
html  {
  scroll-padding-top: 100px;
}

/* ヘッダーはスクロールしても上部に固定（TOP右下の追従お問い合わせ z-index:30 より手前） */
.site-header  {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100px;
  min-height: 100px;
  padding: 0 33px 0 26px;
  background: #fff;
  border-bottom: 1px solid #888;
}

.brand  {
  display: flex;
  align-items: center;
  gap: 18px;
  color: #1299d8;
  font-size: 24px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transform: translateY(2px);
}

.brand img  {
  width: 60px;
  height: 60px;
  object-fit: contain;
}

.site-nav > ul, .site-footer nav ul  {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 36px);
  list-style: none;
}

/* メニュー間隔はFigmaの35px。画面が狭いときはロゴと重ならないよう縮める */
.site-nav > ul  {
  gap: clamp(12px, (100vw - 1040px) / 6, 35px);
}

.site-nav a  {
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}

.site-nav a:hover, .site-footer nav a:hover  {
  color: var(--blue);
}

/* お問い合わせボタン（Figma 180×40、メニューとの間隔は28px） */
.site-nav .nav-contact  {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 180px;
  height: 40px;
  border-radius: 20px;
  background: var(--yellow);
}

.site-nav > ul > li:last-child  {
  margin-left: -7px;
}

.nav-services  {
  position: relative;
  padding: 12px 0;
  margin: -12px 0;
}

.service-submenu  {
  position: absolute;
  top: 100%;
  left: 0;
  display: none;
  min-width: 250px;
  padding: 12px;
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: 5px;
  box-shadow: 0 4px 12px rgb(0 0 0 / .1);
  list-style: none;
}

.service-submenu a  {
  display: block;
  padding: 10px 12px;
}

.submenu-toggle  {
  display: none;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--blue);
}

.submenu-toggle::before  {
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  content: "";
  transform: translateY(-2px) rotate(45deg);
}

.submenu-toggle[aria-expanded="true"]::before  {
  transform: translateY(2px) rotate(225deg);
}

/* 相談案内（Figma「相談窓口POP」273×199。画面右下に固定） */
/* 相談案内：右端の「ご相談」タブを押すと右から0.4秒で出す。PCは最初から開いた状態、SPは最初は折りたたむ（common.js。お問い合わせページには出さない） */
.quick-contact  {
  position: fixed;
  z-index: 30;
  right: 35px;
  bottom: 94px;
  width: 273px;
  height: 199px;
  visibility: hidden;
  transform: translateX(calc(100% + 60px));
  transition: transform .4s cubic-bezier(.42, 0, 1, 1), visibility 0s .4s;
}

.quick-contact.is-open  {
  visibility: visible;
  transform: none;
  transition: transform .4s cubic-bezier(0, 0, .58, 1), visibility 0s;
}

.quick-tab  {
  position: fixed;
  z-index: 30;
  right: 0;
  bottom: 120px;
  width: 44px;
  padding: 18px 0;
  border: 0;
  border-radius: 10px 0 0 10px;
  background: #1782e5;
  box-shadow: -4px 4px 12px rgb(0 0 0 / .2);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  line-height: 44px;
  letter-spacing: .2em;
  writing-mode: vertical-rl;
  cursor: pointer;
  transition: transform .3s, visibility 0s;
}

.quick-tab:hover  {
  background: #69b7ff;
}

.quick-tab[aria-expanded="true"]  {
  visibility: hidden;
  transform: translateX(100%);
  transition: transform .3s, visibility 0s .3s;
}

.quick-body  {
  position: absolute;
  top: 6px;
  left: 0;
  width: 264px;
  height: 193px;
  border: 5px solid #1782e5;
  border-radius: 20px;
  background: #fff;
  box-shadow: 8px 8px 20px rgb(0 0 0 / .3);
  color: #1782e5;
  text-decoration: none;
}

.quick-body strong  {
  position: absolute;
  z-index: 1;
  top: 15px;
  left: 33px;
  font-size: 28px;
  font-weight: 700;
  line-height: 34px;
  letter-spacing: -.01em;
  white-space: nowrap;
}

.quick-body::before  {
  position: absolute;
  top: 40px;
  left: 27px;
  width: 200px;
  height: 10px;
  background: var(--yellow);
  content: "";
}

.quick-list  {
  position: absolute;
  top: 66px;
  left: 16px;
  display: grid;
  align-content: start;
  gap: 8px;
  width: 140px;
  height: 102px;
  padding: 10px 0 0 23px;
  border-radius: 5px;
  background: #e2f5f8;
  font-size: 18px;
  font-weight: 700;
  line-height: 22px;
  letter-spacing: -.01em;
}

.quick-list span  {
  position: relative;
  white-space: nowrap;
}

.quick-list span::before  {
  position: absolute;
  top: 6px;
  left: -13px;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 7px solid currentColor;
  content: "";
}

.quick-body img  {
  position: absolute;
  top: 56px;
  left: 144px;
  width: 118px;
  height: 126px;
  max-width: none;
  object-fit: contain;
}

.quick-body:hover  {
  border-color: #69b7ff;
  color: #69b7ff;
}

.quick-close  {
  position: absolute;
  z-index: 1;
  top: 0;
  left: 241px;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 2px solid #c9cccd;
  border-radius: 50%;
  background: #fff;
}

.quick-close::before, .quick-close::after  {
  position: absolute;
  top: 12px;
  left: 6px;
  width: 14px;
  height: 2px;
  background: #000;
  content: "";
  transform: rotate(45deg);
}

.quick-close::after  {
  transform: rotate(-45deg);
}

/* ページの先頭へ戻るボタン：右下（相談案内のカードの右端に合わせる）。相談案内のカードはこのボタンの上に置く。少しスクロールしたら現れる（common.js） */
.page-top  {
  position: fixed;
  z-index: 30;
  right: 44px;
  bottom: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #1782e5;
  box-shadow: 0 4px 12px rgb(0 0 0 / .2);
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s, visibility 0s .3s, background-color .2s;
}

.page-top.is-shown  {
  opacity: 1;
  visibility: visible;
  transition: opacity .3s, visibility 0s, background-color .2s;
}

.page-top::before  {
  width: 12px;
  height: 12px;
  margin-top: 6px;
  border-top: 2px solid #fff;
  border-left: 2px solid #fff;
  content: "";
  transform: rotate(45deg);
}

.page-top:hover  {
  background: #69b7ff;
}

@media (min-width: 901px)  {
  .nav-services:hover > .service-submenu, .nav-services:focus-within > .service-submenu  {
    display: block;
  }
  /* リンクを押した直後は閉じる（マウスやフォーカスが離れたら元に戻す。common.js） */
  .nav-services.is-submenu-dismissed > .service-submenu  {
    display: none;
  }
}

.menu-toggle  {
  display: none;
  border: 0;
  background: none;
  padding: 3px;
}

.menu-toggle img  {
  width: 34px;
  height: 24px;
}

/* メニューを開いている間は三本線を×にする */
.menu-toggle  {
  position: relative;
}

.menu-toggle[aria-expanded="true"] img  {
  visibility: hidden;
}

.menu-toggle[aria-expanded="true"]::before, .menu-toggle[aria-expanded="true"]::after  {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 30px;
  height: 1px;
  background: #000;
  content: "";
}

.menu-toggle[aria-expanded="true"]::before  {
  transform: translate(-50%, -50%) rotate(45deg);
}

.menu-toggle[aria-expanded="true"]::after  {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.pill  {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  min-width: 294px;
  padding: 9px 24px;
  border: 0;
  border-radius: 30px;
  font-size: 20px;
  font-weight: 500;
  text-decoration: none;
  text-align: center;
}

.pill-cyan  {
  color: #fff;
  background: var(--cyan);
}

.pill-yellow  {
  color: #111;
  background: var(--yellow);
}

/* ホバー（Figmaのバリアント2どおり、切り替えは即時） */
.pill-cyan:hover  {
  background: rgb(3 185 216 / .5);
}

.pill-yellow:hover, .nav-contact:hover  {
  background: #e4de25;
}

.privacy-link:hover  {
  color: #81c2ff;
}

.service-copy h3 a  {
  text-decoration: none;
}

.service-copy h3 a::after  {
  position: absolute;
  z-index: 1;
  inset: 0;
  border-radius: 5px;
  content: "";
}

.site-footer  {
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 0;
  min-height: 400px;
  padding: 72px 20px 75px;
  background: #e5e5e5;
  text-align: center;
}

.site-footer nav  {
  line-height: 17px;
}

.site-footer nav ul  {
  gap: 40px;
}

.site-footer > .pill  {
  margin-top: 38px;
}

.site-footer nav a  {
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.footer-phone  {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 21px;
  font-size: 30px;
  line-height: 38px;
  text-decoration: none;
}

.footer-phone img  {
  width: 30px;
  height: 38px;
}

.registration  {
  margin-top: 31px;
  font-size: 12px;
  line-height: 14px;
}

.registration span + span  {
  margin-left: 1em;
}

.site-footer small  {
  margin-top: 9px;
  font-size: 12px;
  line-height: 28px;
}

/* ===== スタッフ詳細ポップアップ（TOP・/staff/ 共通。Figma「POP UP」640幅） ===== */
.staff-dialog  {
  width: 640px;
  max-width: calc(100% - 32px);
  max-height: calc(100vh - 40px);
  max-height: calc(100dvh - 40px);
  padding: 0;
  border: 0;
  color: #000;
  background: #fff;
  overscroll-behavior: contain;
}

/* 開くとき：Figmaどおり下から0.24秒でせり上がる */
.staff-dialog[open]  {
  animation: profile-in .24s cubic-bezier(0, 0, .58, 1);
}

.staff-dialog::backdrop  {
  background: rgb(0 0 0 / .5);
}

@keyframes profile-in  {
  from  {
    transform: translateY(100vh);
  }
}

.profile-head  {
  position: relative;
  height: 310px;
  overflow: hidden;
  color: #fff;
}

.profile-head > img  {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-role  {
  position: absolute;
  top: 140px;
  left: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 84px;
  height: 21px;
  background: #fff;
  color: #03b9d8;
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
}

.profile-name h2  {
  position: absolute;
  top: 176px;
  left: 28px;
  font-size: 32px;
  font-weight: 400;
  line-height: 28px;
}

.profile-name p  {
  position: absolute;
  top: 262px;
  left: 28px;
  font-family: "Baskervville", serif;
  font-size: 40px;
  line-height: 28px;
  text-shadow: 2px 2px 4px rgb(0 0 0 / .5);
  white-space: nowrap;
}

.profile-close  {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 0;
  background: transparent;
}

.profile-close::before, .profile-close::after  {
  position: absolute;
  top: 14px;
  left: -6px;
  width: 42px;
  height: 1px;
  background: #fff;
  content: "";
  transform: rotate(45deg);
}

.profile-close::after  {
  transform: rotate(-45deg);
}

.profile-body  {
  padding: 56px 80px;
}

.profile-section + .profile-section  {
  margin-top: 36px;
}

.profile-section h3  {
  border-bottom: .5px solid #1782e5;
}

.profile-section h3 span  {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 87px;
  height: 21px;
  background: #1782e5;
  color: #fff;
  font-size: 12px;
  font-weight: 400;
  line-height: 1;
}

.profile-section p  {
  margin-top: 8px;
  font-size: 14px;
  line-height: 24px;
  overflow-wrap: anywhere;
}

@media (max-width: 1100px)  {
  .brand  {
    font-size: 19px;
  }
  .brand img  {
    width: 48px;
    height: 48px;
  }
  .site-header  {
    padding: 0 20px;
  }
  .site-nav > ul  {
    gap: 10px;
  }
  .site-nav > ul > li:last-child  {
    margin-left: 0;
  }
  .site-nav a  {
    font-size: 12px;
  }
  .site-nav .nav-contact  {
    width: 150px;
    height: 36px;
  }
}

@media (max-width: 900px)  {
  html  {
    scroll-padding-top: 50px;
  }
  /* メニューを開いている間は後ろのページをスクロールさせない（common.js） */
  html.is-menu-open  {
    overflow: hidden;
  }
  .site-header  {
    min-height: 50px;
    height: 50px;
    padding: 7px 14px 7px 12px;
  }
  .brand  {
    gap: 9px;
    font-size: 12px;
    transform: none;
  }
  .brand img  {
    width: 30px;
    height: 30px;
  }
  /* 押せる範囲を44x50px（ヘッダーの高さいっぱい）に広げる。余白を増やした分だけマイナスのマージンで戻し、アイコンの位置とレイアウトは変えない */
  .menu-toggle  {
    display: block;
    padding: 13px 5px;
    margin: -10px -2px;
  }
  /* SPメニュー展開時（Figma「バーガー／展開」240×430、右寄せ・中央揃え・50px間隔） */
  /* ヘッダーの下から下方向へ0.3秒で開く */
  /* iPhone の Safari 対策：ヘッダーに overflow（clip を含む）を付けると、Safari では縦方向も切られてヘッダーの下に出るメニューが見えなくなるので付けない。
  clip-path も iOS で正しく描かれないことがあるため使わない。開く動きは transform で作る：
  外側の .site-nav（はみ出しを切る箱・背景なし）を上へ、中の ul（白い背景）を同じだけ下へずらしておき、両方を0に戻すと、中身はその場のまま上から下へ現れる */
  .site-nav  {
    position: absolute;
    top: 50px;
    right: 0;
    width: 240px;
    overflow: hidden;
    visibility: hidden;
    transform: translateY(-100%);
    transition: transform .3s cubic-bezier(0, 0, .58, 1), visibility 0s .3s;
  }
  .site-nav.is-open  {
    visibility: visible;
    transform: none;
    transition: transform .3s cubic-bezier(0, 0, .58, 1), visibility 0s;
  }
  .site-nav > ul  {
    transform: translateY(100%);
    transition: transform .3s cubic-bezier(0, 0, .58, 1);
  }
  .site-nav.is-open > ul  {
    transform: none;
  }
  /* 動きを減らす設定では、閉じたメニューがすぐ消えるよう遅延もなくす */
  @media (prefers-reduced-motion: reduce)  {
    .site-nav, .site-nav.is-open, .site-nav > ul  {
      transition: none;
    }
  }
  .site-nav > ul  {
    display: grid;
    justify-items: center;
    gap: 32px;
    max-height: calc(100vh - 50px);
    max-height: calc(100dvh - 50px);
    overflow-y: auto;
    padding: 44px 0 46px;
    background: #fff;
    overscroll-behavior: contain;
  }
  .site-nav a  {
    display: block;
    font-size: 15px;
    font-weight: 500;
    line-height: 18px;
  }
  .nav-services  {
    width: 100%;
    padding: 0;
    margin: 0;
    text-align: center;
  }
  .submenu-toggle  {
    position: absolute;
    top: -11px;
    right: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .service-submenu  {
    position: static;
    min-width: 0;
    margin-top: 20px;
    padding: 0 18px;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }
  .nav-services.is-submenu-open > .service-submenu  {
    display: grid;
    gap: 12px;
  }
  .service-submenu a  {
    padding: 6px 0;
    font-size: 13px;
  }
  .site-nav .nav-contact  {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 180px;
    height: 40px;
    padding: 0;
    border-radius: 20px;
  }
  .pill  {
    min-height: 44px;
    min-width: 240px;
    font-size: 16px;
  }
  .site-footer  {
    gap: 14px;
    padding: 38px 16px 22px;
  }
  .site-footer nav ul  {
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px 16px;
  }
  .site-footer nav a, .registration, .site-footer small  {
    font-size: 10px;
  }
  .footer-phone  {
    font-size: 20px;
  }
}

@media (max-width: 760px)  {
  .quick-contact  {
    right: 12px;
    bottom: 66px;
  }
  .page-top  {
    right: 21px;
    bottom: 16px;
    width: 40px;
    height: 40px;
  }
  .page-top::before  {
    width: 10px;
    height: 10px;
    margin-top: 5px;
  }
  .quick-tab  {
    bottom: 90px;
    width: 36px;
    padding: 14px 0;
    font-size: 14px;
    line-height: 36px;
  }
  .pill  {
    border-radius: 999px;
    font-weight: 700;
  }
  .site-footer  {
    min-height: 346px;
    align-content: start;
    gap: 0;
    padding: 40px 24px 38px;
    color: #000;
  }
  .site-footer nav  {
    width: 270px;
    max-width: 100%;
    line-height: 14px;
  }
  .site-footer nav ul  {
    display: grid;
    grid-template-columns: 72px 69px minmax(0, 1fr);
    gap: 12px 20px;
    text-align: left;
  }
  .site-footer nav a  {
    font-size: 10px;
    font-weight: 500;
    white-space: nowrap;
  }
  .site-footer > .pill  {
    width: 240px;
    max-width: 100%;
    min-width: 0;
    height: 44px;
    margin-top: 33px;
    font-size: 16px;
    font-weight: 500;
  }
  .footer-phone  {
    gap: 8px;
    margin-top: 30px;
    font-size: 24px;
    line-height: 30px;
  }
  .footer-phone img  {
    width: 24px;
    height: 30px;
  }
  .registration  {
    margin-top: 25px;
    font-size: 10px;
    line-height: 16px;
  }
  .registration span  {
    display: block;
  }
  .registration span + span  {
    margin-left: 0;
  }
  .site-footer small  {
    max-width: 286px;
    margin-top: 4px;
    font-size: 10px;
    line-height: 14px;
  }
  /* スタッフ詳細ポップアップ（Figma SP「POP UP」324幅） */
  .staff-dialog  {
    width: 324px;
    max-width: calc(100% - 24px);
    max-height: calc(100vh - 24px);
    max-height: calc(100dvh - 24px);
  }
  .profile-head  {
    height: 234px;
  }
  .profile-head > img  {
    object-position: 72% center;
  }
  .profile-role  {
    top: 62px;
    left: 18px;
  }
  .profile-name h2  {
    top: 93px;
    left: 18px;
    font-size: 28px;
  }
  .profile-name p  {
    top: 194px;
    left: 18px;
    font-size: 32px;
  }
  .profile-close  {
    top: 10px;
    right: 10px;
    width: 20px;
    height: 20px;
  }
  .profile-close::before, .profile-close::after  {
    top: 9px;
    left: -4px;
    width: 28px;
  }
  .profile-body  {
    padding: 32px 29px;
  }
  .profile-section + .profile-section  {
    margin-top: 28px;
  }
  .profile-section p  {
    font-size: 12px;
    line-height: 20px;
  }
}
