:root {
  --page-bg: #ffffff;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  width: 100%;
  min-width: 320px;
  min-height: 100%;
  min-height: 100dvh;
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
  overflow-x: hidden;
  background: var(--page-bg);
}

body {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-width: 320px;
  min-height: 100vh;
  min-height: 100svh;
  min-height: 100dvh;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  background: var(--page-bg);
  color: #123a5a;
  font-family: "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", "Noto Serif JP", serif;
  -webkit-text-size-adjust: 100%;
}

.lp {
  display: flex;
  flex: 1 0 auto;
  flex-direction: column;
  width: 100%;
  min-height: 100vh;
  min-height: 100svh;
  min-height: 100dvh;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

.visual-wrap {
  position: relative;
  display: flex;
  flex: 1 0 auto;
  flex-direction: column;
  width: 100%;
  max-width: none;
  min-height: 0;
  margin: 0;
  padding: 0;
  overflow: hidden;
  line-height: 0;
  background: #fff;
}

.lp-visual {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 0;
  object-fit: contain;
  object-position: top center;
  user-select: none;
  -webkit-user-drag: none;
  image-rendering: auto;
}

.hotspot {
  position: absolute;
  z-index: 5;
  display: block;
  overflow: hidden;
  border-radius: 999px;
  text-indent: -9999px;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.hotspot:focus-visible {
  outline: 3px solid rgba(255, 94, 110, 0.9);
  outline-offset: 3px;
  background: rgba(255, 255, 255, 0.15);
}

/* PC版：画像上のクリック領域 */
.cta-service { 
  left: 5.1%;
  top: 74.3%;
  width: 18.1%;
  height: 2.5%;
}
.cta-recruit { 
  left: 12%;
  top: 88.9%;
  width: 16.5%;
  height: 2.5%;
}
.cta-tel     { left: 52.0%; top: 94.0%; width: 23.0%; height: 3.5%; }
.cta-contact { 
  left: 76%;
  top: 95.2%;
  width: 18.6%;
  height: 3%;
}

/* 画像内の正式なボタンを使うため、追加のモバイルボタンは表示しない */
.mobile-contact-cta {
  display: none !important;
}

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* タブレット */
@media (max-width: 1024px) {
  .visual-wrap,
  .lp-visual {
    width: 100%;
    max-width: 100%;
  }
}

/* スマートフォン：動的ビューポート高にぴったり合わせ、最下部の白い隙間を防止 */
@media (max-width: 767px) {
  html,
  body {
    width: 100%;
    height: 100vh;
    height: 100svh;
    height: 100dvh;
    min-height: 100vh;
    min-height: 100svh;
    min-height: 100dvh;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden;
  }

  body {
    display: flex;
    flex-direction: column;
  }

  .lp {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
    height: 100vh;
    height: 100svh;
    height: 100dvh;
    min-height: 100vh;
    min-height: 100svh;
    min-height: 100dvh;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden;
  }

  .visual-wrap {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
    height: 100vh;
    height: 100svh;
    height: 100dvh;
    min-height: 100vh;
    min-height: 100svh;
    min-height: 100dvh;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden;
  }

  /* 1枚画像型LPのため、スマホでは画像全体を動的ビューポート高へ合わせる */
  .lp-visual {
    flex: 1 1 auto;
    width: 100%;
    max-width: 100%;
    height: 100vh !important;
    height: 100svh !important;
    height: 100dvh !important;
    min-height: 100vh !important;
    min-height: 100svh !important;
    min-height: 100dvh !important;
    max-height: 100dvh !important;
    margin: 0 !important;
    padding: 0 !important;
    object-fit: fill !important;
    object-position: top center;
  }

  /* 上部ナビは誤タップを防ぎ、画像内のお問い合わせボタンだけをタップ可能にする */
  .nav-about,
  .nav-service,
  .nav-flow,
  .nav-staff,
  .nav-recruit,
  .nav-news {
    display: none;
  }

  .nav-contact {
    display: block;
    left: 79.5%;
    top: 1.1%;
    width: 19%;
    height: 4.6%;
    min-width: 44px;
    min-height: 44px;
    z-index: 30;
    pointer-events: auto;
  }

  .cta-service,
  .cta-recruit,
  .cta-tel,
  .cta-contact {
    z-index: 10;
    pointer-events: auto;
  }
}

/* 小型スマートフォン */
@media (max-width: 480px) {
  .nav-contact {
    left: 78.5%;
    width: 20.5%;
    min-height: 42px;
  }
}

/* 横向きスマートフォン */
@media (max-width: 900px) and (max-height: 520px) and (orientation: landscape) {
  html,
  body,
  .lp,
  .visual-wrap,
  .lp-visual {
    height: 100vh !important;
    height: 100svh !important;
    height: 100dvh !important;
    min-height: 100vh !important;
    min-height: 100svh !important;
    min-height: 100dvh !important;
  }
}




:root{
  --color-orange: #EB4646;
  --font-awesome: 'Font Awesome 6 Free';
}
*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html{
  font-size: calc(100vw * 10 / 1440);
}
body{
  font-family: "Noto Sans JP", sans-serif;
}
ul, ol{
  list-style: none;
}
a{
  color: inherit;
  text-decoration: none;
}
@media (max-width: 767px) {
  html{
    font-size: calc(100vw * 10 / 350);
  }
}

#header{
  position: fixed;
  inset: 3rem auto auto 0;
  width: 100vw;
  z-index: 100;
}
#header .inner{
  padding: 0 3rem;
}
#header .row{
  display: flex;
  justify-content: space-between;
  align-items: center;
}
#header .h_title{
  color: #fff;
  font-size: 2rem;
  font-weight: 700;
}
#header .h_navs{
  display: flex;
  align-items: center;
  gap: 4rem;
}
#header .h_links{
  display: flex;
  align-items: center;
  gap: 4rem;
}
#header .h_links a{
  color: #fff;
  font-size: 1.4rem;
  font-weight: 700;
}
#header .h_btn a{
  background: var(--color-orange);
  color: #fff;
  display: block;
  padding: 1.5rem 3rem;
  font-size: 1.4rem;
  font-weight: 700;
  border-radius: 10rem;
}
#header .h_btn a::before{
  content: '\f0e0';
  font-family: var(--font-awesome);
  margin-right: 1rem;
}
.toggleBtn{
  display: none;
}
@media (max-width: 767px) {
  #header{
    inset: 2rem auto auto 0;
  }
  #header .inner{
    padding: 0 2rem;
  }
  #header .h_title{
    font-size: 1.4rem;
  }
  #header .h_navs{
    flex-direction: column;
    align-items: normal;
    gap: 2rem;
    padding: 8rem 2rem 2rem;
  }
  #header .h_links{
    flex-direction: column;
    align-items: normal;
    gap: 2rem;
  }
  #header .h_links a{
    font-size: 1.2rem;
  }
  #header .h_btn a{
    padding: 1rem 2rem;
    font-size: 1.2rem;
  }
  #header .h_btn a::before{
    margin-right: .5rem;
  }

  #toggleMenu{
    background: rgba(0, 0, 0, .75);
    position: fixed;
    inset: 0 0 auto auto;
    height: 100vh;
    translate: 100vw 0;
    transition: translate .3s ease;
  }
  #toggleMenu.show{
    translate: 0 0;
  }
  .toggleBtn{
    background: #fff;
    display: block;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: .5rem;
    position: relative;
    width: 3.5rem;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    transition: gap .3s ease;
  }
  .toggleBtn::before, .toggleBtn::after{
    content: '';
    background: #000;
    width: 2rem;
    height: 1px;
    transition: rotate .3s ease;
  }
  .toggleBtn.active{
    gap: 0;
  }
  .toggleBtn.active::before{
    position: absolute;
    rotate: 40deg;
  }
  .toggleBtn.active::after{
    position: absolute;
    rotate: -40deg;
  }
}
