/* 共通部分 */

html {
  box-sizing: border-box;
  font-size: clamp(14px, calc(100vw / (1440 / 16)), 16px);
  font-family: sans-serif,'Yu Gothic UI', 'ヒラギノ角ゴシック','Hiragino Sans';
  background-color: #fff;
  scroll-behavior: smooth;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: inherit;
}

:root {
  --header-h: 5rem;
}

a {
  text-decoration: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.inview {
  opacity: 0;
  transform: translateY(70px);
  transition: opacity 1.5s, transform 1.5s;
}

.inview.show {
  opacity: 1;
  transform: translateY(0);
}

img {
  max-width: 100%;
  height: auto;
}

ul, ol {
  list-style: none;
}

/* ヘッダー */

header {
  width: 100%;
  position: fixed;
  top: 0;
  z-index: 1001;
  height: 5rem;
  background-color: #fff;
  box-shadow: 0 0.1875rem 0.375rem rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.header-inner {
  max-width: min(1440px, 100%);
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-inline: clamp(1.5rem, 1vw, 11.25rem);
}

.logo {
  width: 8rem;
  height: 8rem;
}

.header-inner > a{
  height: 100%;
  display: flex;
  align-items: center;
}

header .logo {
  margin: 0;
  width: auto;
  height: auto;
  max-height: 3.5rem;
  display: block;
  object-fit: contain;
  scale: 1.4;
  transition: opacity 0.5s ease;
}

header a .logo:hover {
  opacity: 0.5;
}

.nav-list ul {
  display: flex;
  gap: 1.875rem;
  position: relative;
  align-items: center;
}

.nav-text a {
  color: #333333;
  border-bottom: 0.15rem solid #0073e6;
  padding-bottom: 0.125rem;
  font-weight: 500;
  font-size: 1.2rem;
  transition: opacity 0.5s ease;
}

.nav-text a:hover {
  opacity: 0.3;
}

.nav-list img {
  width: 1.5rem;
  height: 1.5rem;
  vertical-align: middle;
  margin-top: 0.5rem;
}

.drawer_menu {
  display: none;
}

.contact-btn,
.contact-btn:visited {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background-color: #0073e6c9;
  box-shadow: 0.1875rem 0.3125rem #195998;
  border-radius: 7rem;
  padding: 0.9375rem;
  width: 10rem;
  font-weight: 500;
  font-size: 1.2rem;
  letter-spacing: 0.12rem;
  line-height: 1;
  transition: background-color 0.5s ease, box-shadow 0.5s ease, transform 0.5s ease;
}

.contact-btn:hover{
  background-color: #0073e68d;
  box-shadow: unset;
  transform: translate(0.1875rem,0.3125rem);
}


/* タイトルエリア */

.common-title-area {
  width: 100%;
  padding-top: 5rem;
}

.common-title-inner{
  position: relative;
  display: flex;
  height: 35rem;
}

.common-title-area img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 3rem;
}

.common-text-area{
  width: 60%;
  height: 25rem;
  background: linear-gradient(158deg, #0073e6 36.5%, #fff 119.5%);
  padding-left: 6.25rem;
  color: #fff;
  z-index: 1;
}

.common-text-area h1 {
  font-family: 'Segoe UI Symbol',sans-serif;
  padding-top: 3.75rem;
  font-size: 4rem;
  letter-spacing: 0.4rem;
}

.common-text-area h2 {
  font-size: 2rem;
  letter-spacing: 0.4rem;
}

.common-img-area{
  position: static;
  margin-left: -10rem;
  width: 60%;
  height: 35rem;
  z-index: 1;
  padding-top: 9rem;
}

/* 見出し */

.title-line1 {
  text-align: center;
  font-size: 2.074rem;
  color: #0073e6;
  letter-spacing: 0.2074rem;
  position: relative;
  padding-top: 5rem;
}

.title-line1::before {
  background-color: #0073e6;
  border-radius: 5px;
  bottom: -1rem;
  content: "";
  height: 0.1rem;
  left: 50%;
  position: absolute;
  transform: translateX(-50%);
  width: 8rem;
}

.title-line2 {
  font-family: 'Franklin Gothic Medium',sans-serif;
  font-weight: 900;
  font-size: 2.986rem;
  text-align: center;
  color: #0073e6;
  margin: 1rem auto 5rem;
  letter-spacing: 0.8rem;
}

.title-line2 span {
  color: rgb(247, 194, 4);
  font-size: 4rem;
}

/* セクションの仕切り装飾（青） */

  .section-background--blue {
  padding-bottom: 7rem;
  background-color: #0073e6;
  position: relative;
  overflow: hidden;
}

.section-background--blue::before {
  border-color: transparent #fff transparent transparent;
  border-style: solid;
  border-width: 4rem 100vw 0 0;
  bottom: 0;
  content: "";
  height: 0;
  position: absolute;
}

/* お問い合わせ */

#contact-area {
  text-align: center;
  background-color: rgb(246, 246, 252);
  padding: 5rem 0 10rem;
}

#contact-area h1 {
  font-size: 2.986rem;
  letter-spacing: 0.1493rem;
  padding-bottom: 1rem;
  color: #0073e6;
  border-bottom: 2px dotted #0073e6;
  width: 50%;
  margin: 2rem auto 3rem;
  white-space: nowrap;
}

.contact-text {
  font-size: 1rem;
  line-height: 2;
  letter-spacing: 0.05rem;
  margin-bottom: 5rem;
  color: #333333;
}

.contact-area-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background-color: #0073e6c9;
  box-shadow: 0.1875rem 0.3125rem #195998;
  border-radius: 7rem;
  text-align: center;
  padding: 2rem 4rem;
  font-size: 1.44rem;
  letter-spacing: 0.072rem;
  transition: 0.5s ease;
  width: 21rem;
  margin: 0 auto;
}

.contact-area-btn:hover {
  background-color: #0073e68d;
  box-shadow: unset;
  transform: translate(4px,4px);
}

.top-btn {
  position: fixed;
  bottom: 2rem;
  right: max(2rem, calc((100vw - 1200px) / 2 + 2rem));
  opacity: 0;
  visibility: hidden;
  --enter: 10px;
  --lift: 0px;
  transform: translateY(var(--enter)) translateY(var(--lift));
  transition: opacity .5s ease, visibility .5s ease, transform .5s ease;
  will-change: transform;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 3rem;
  font-size: 1.2rem;
  letter-spacing: 0.06rem;
  color: #333333;
  background-color: rgb(253, 239, 119);
  box-shadow: 0.1875rem 0.3125rem #9B9B67;
  border: 0.125rem solid #9B9B67;
  border-radius: 7rem;
  pointer-events: none;
}

.top-btn.is-show {
  opacity: 1;
  visibility: visible;
  --enter: 0px;
  pointer-events: auto;
}

.top-btn:hover {
  background-color: rgb(250, 240, 149);
  box-shadow: unset;
  transform: translateY(var(--enter)) translateY(var(--lift)) translate(4px,4px);
}

.top-btn.is-following {
  transition: opacity .5s ease, visibility .5s ease;
}

/* フッター */

.footer-area {
  padding-top: 3.125rem;
  background: linear-gradient(-22deg, #0073e6 36.5%, #fff 119.5%);
}

.footer-pc {
  display: flex;
  justify-content: space-around;
  gap: 3rem;
}

.name img {
  margin-left: -2.5rem;
}

.name {
  padding: 0 1.7rem 1.7rem 1.7rem;
  border-radius: 1rem;
  transition: background-color 0.5s ease;
}

.name a{
  color: #fff;
  font-weight: 700;
}

.name:hover {
  background-color: #ffffff66;
}

.company-name {
  font-size: 2.074rem;
  letter-spacing: 0.1037rem;
}

.postal-code {
  padding-top: 1rem;
  font-size: 1.2rem;
  letter-spacing: 0.06rem;
}

.address {
  font-size: 1.2rem;
  letter-spacing: 0.06rem;
  line-height: 1.5;
  white-space: nowrap;
}

.footer-nav {
  display: flex;
  gap: 6.25rem;
  line-height: 1.875;
  margin-top: 1.875rem;
  color: #fff;
}

.footer-nav p {
  margin: 0 0 1rem;
  padding: 0.5rem 0 0.5rem 0.5rem;
  width: 100%;
  font-size: 1.2rem;
  letter-spacing: 0.12rem;
  font-weight: 700;
  border-bottom: 1px solid #fff;
  white-space: nowrap;
  transition: border-bottom-color 0.5s ease;
}

.footer-nav p:hover {
  border-bottom-color: rgb(253, 239, 119);
}

.footer-nav a {
  color: #fff;
  transition: color 0.5s ease;
}

.footer-nav a:hover {
  color: rgb(253, 239, 119);
}

.footer-nav li a {
  border-bottom: 1px solid transparent;
  transition: color 0.5s ease, border-bottom-color 0.5s ease;
}

.footer-nav li a:hover{
  border-bottom-color: rgb(250, 240, 149);
}

.footer-services {
  width: 10rem;
}

.footer-company {
  width: 10rem;
}

.footer-recruit {
  width: 10rem;
}

.footer-nav ul li {
  padding-left: 0.5rem;
  font-size: 1rem;
  letter-spacing: 0.1rem;
  white-space: nowrap;
  line-height: 2;
}

.consulting-link {
  font-size: 0.8rem;
}

.contact-info {
  display: flex;
  gap: 1rem;
  margin-left: 60%;
  white-space: nowrap;
}

.sns {
  text-align: center;
  width: 7rem;
  margin-right: 1rem;
  color: #fff;
  font-size: 1.2rem;
  letter-spacing: 0.06rem;
}

.sns p {
  white-space: nowrap;
}

.sns ul {
  display: flex;
  justify-content: center;
  padding: 1rem;
}

.sns img {
  width: 1.5rem;
  height: 1.5rem;
}

.footer-contact-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  vertical-align: middle;
  color: #333333;
  background-color: rgb(253, 239, 119);
  box-shadow: 0.1875rem 0.3125rem #9B9B67;
  border: 1px solid #9B9B67;
  border-radius: 7rem;
  padding: 2rem 4rem;
  font-size: 1.2rem;
  letter-spacing: 0.06rem;
  transition: background-color 0.5s ease, box-shadow 0.5s ease, transform 0.5s ease;
}

.footer-contact-btn:hover {
  background-color: rgb(250, 240, 149);
  box-shadow: unset;
  transform: translate(0.1875rem,0.3125rem);
}

.copyright {
  text-align: center;
  padding: 2rem;
  color: #fff;
}

.stalker {
  position: fixed;
  top: -5px;
  left: -5px;
  z-index: 999;
  width: 15px;
  height: 15px;
  background-color: rgba(255, 241, 114, 0.697);
  border-radius: 50%;
  opacity: 0.7;
  pointer-events: none;
  transition: transform .3s ease-out;
}

.hs-form-frame,
.hs-form-frame iframe,
.hs-form-frame form {
  max-width: 100%;
}

.hs-form-frame iframe {
  width: 100% !important;
}

@media screen and (max-width: 1024px) {

/* モバイル版　メニューボタン */

  .drawer_menu {
    display: block;
    margin-bottom: 2rem;
  }

  .nav-list {
    display: none;
  }

  .drawer_menu * {
    font: inherit;
  }

  .drawer_button {
    margin-top: 1rem;
    width: 44px;
    height: 44px;
    position: relative;
    background: none;
    border: none;
    text-align: center;
    letter-spacing: 0.1em;
    z-index: 1001;
    color: #0073e6;
    transition: transform .2s,opacity .2s;
  }

  .drawer_button .drawer_bar {
    width: 100%;
    height: 2px;
    transition: transform 0.2s, opacity 0.2s, background-color 0.2s;
    transform-origin: center;
    transform: translateY(-50%);
    position: absolute;
    top: 50%;
    left: 0;
    background-color: #0073e6;
  }

  .drawer_button .drawer_bar_first {
    transform: translateY(calc(-50% - 13px));
  }

  .drawer_button .drawer_bar_second {
    transform: translateY(-50%);
  }

  .drawer_button .drawer_bar_third {
    transform: translateY(calc(-50% + 13px));
  }

  .drawer_button.active {
    color: #fff;
  }

  .drawer_button.active .drawer_bar {
    background-color: #fff;
  }

  .drawer_button.active .drawer_bar_first {
    transform: rotate(45deg) translateY(-50%);
  }

  .drawer_button.active .drawer_bar_second {
    opacity: 0;
  }

  .drawer_button.active .drawer_bar_third {
    transform: rotate(-45deg) translateY(-50%);
  }

  .drawer_button.active .drawer_menu_text {
    display: none;
  }

  .drawer_button.active .drawer_close {
    display: block;
  }

  .drawer_text {
    position: absolute;
    bottom: -18px;
    left: 0;
    text-align: center;
    font-size: 14px;
  }

  .drawer_close {
    letter-spacing: 0.08em;
    display: none;
  }

  .drawer_menu a {
    color: #fff;
  }

  .drawer_menu .drawer_bg {
    width: 80%;
    max-width: 1024px;
    box-sizing: border-box;
    overflow-x: hidden;
    height: 100%;
    position: fixed;
    z-index: 999;
    background-color: rgba(51, 51, 51, 0.5);
    display: none;
    top: 0;
    left: 0;
  }

  .drawer_menu .drawer_nav_wrapper {
    width: min(80vw,360px);
    max-width: 100%;
    height: 100%;
    transition: transform 0.5s ease;
    transform: translateX(100%);
    position: fixed;
    top: 0;
    right: 0;
    z-index: 1000;
    background: linear-gradient(-178deg, #0073e6 36.5%, #fff 119.5%);
  }

  .drawer_menu .drawer_nav_wrapper.open {
    transform: translate(0);
  }

  .drawer_menu.left .drawer_nav_wrapper {
    transform: translate(-80%);
    right: auto;
    left: 0;
  }

  .drawer_menu.left .drawer_nav_wrapper.open {
    transform: translate(0);
  }

  .drawer_menu .drawer_nav {
    padding: 5rem 2rem 1rem;
    color: #fff;
  }

  .drawer_menu .drawer_nav li {
    border-bottom: 1px solid #fff;
    padding: 12px 0;
  }

  .drawer_menu .drawer_nav li h1 {
    font-size: 18px;
    font-weight: 600;
  }

  .drawer_menu .drawer_nav li h2 {
    font-size: 12px;
  }

  .drawer_sns {
    display: flex;
    gap: 2rem;
    padding-left: 2rem;
  }

  .drawer_sns img {
    width: 2rem;
    height: 2rem;
  }

  .menu-name {
    display: flex;
    justify-content: center;
  }

  .menu-name img {
    margin-top: 25px;
    width: 6rem;
    height: 6rem;
  }

  .menu-name-text {
    margin-top: 3rem;
    color: #fff;
  }

  /* モバイル版フッター */

  .footer-area {
    padding: 3.125rem 2rem 0;
  }

  .footer-contact-btn{
    padding: 1.2rem 2.2rem;
    font-size: clamp(1rem, 1.6vw, 1.2rem);
    max-width: 100%;
  }

  .footer-pc {
    justify-content: space-between;
    gap: 1.5rem;
  }

  .footer-services,
  .footer-company,
  .footer-recruit {
    width: auto;
    min-width: 0;
  }

  .contact-info {
    margin-left: 0;
    white-space: normal;
    justify-content: flex-end;
  }

  .footer-nav {
    gap: 3rem;
  }

  .stalker {
    display: none;
  }

}

@media screen and (min-width: 768px) and (max-width: 1024px) {

  #contact-area h1 {
    display: inline-block;
    width: auto;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }

}

@media screen and (max-width: 767px) {

  html {
    font-size: 16px;
  }

  .inview {
    transition: opacity .8s, transform .8s;
  }

  header {
    padding: 0;
    max-width: 100%;
    height: 5rem;
  }

  .header-inner {
    padding-inline: 1.5rem;
  }

  .logo {
    width: 30vw;
    max-width: 120px;
    height: auto;
    margin-top: 16px;
  }

  .common-title-area {
    position: relative;
  }

  .common-title-inner{
    position: relative;
    height: auto;
    align-items: start;
  }

  .common-title-inner::before{
    content: "";
    position: absolute;
    top: 0;
    bottom: auto;
    inset: 0 auto 0 0;
    width: 68%;
    background: linear-gradient(158deg, #0073e6 36.5%, #fff 119.5%);
    z-index: 0;
    border-radius: 0;
    height: calc(100% - (100vw * 5 / 16));
  }

  .common-text-area{
    position: relative;
    z-index: 1;
    width: 68%;
    min-height: 0;
    height: auto;
    background: transparent;
    padding: 2.5rem 1.5rem 0 2rem;
  }

  .common-text-area h1 {
    font-size: clamp(1.8rem, 7vw, 2.6rem);
    letter-spacing: 0.15rem;
    line-height: 1.2;
    word-break: keep-all;
    padding-top: 0;
    white-space: nowrap;
  }

  .common-text-area h2 {
    font-size: 1.4rem;
    letter-spacing: 0.2rem;
    padding-top: 0.5rem;
    white-space: nowrap;
  }

  .common-img-area {
    position: relative;
    width: 100%;
    height: auto;
    align-self: start;
    padding-top: 10rem;
    overflow: visible;
  }

  .common-img-area img {
    max-width: none;
    height: auto;
    display: block;
  }

  /* モバイル版見出し */

  .title-line1 {
    font-size: 4.5vw;
    letter-spacing: 0.10em;
    position: relative;
    padding-top: 8vw;
  }

  .title-line2 {
    font-size: 7.5vw;
    letter-spacing: 0.08em;
    margin: 2vw auto 6vw;
    padding: 0;
  }

  .title-line1::before {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -0.4em;
    width: 15%;
    height: 0.1em;
    background-color: #0073e6;
    border-radius: 999px;
  }

  .title-line2 span {
    font-size: 8.5vw;
  }

  /* セクションの仕切り装飾（青） */

  .section-background--blue {
    padding-bottom: 4rem;
  }

  .section-background--blue::before {
    border-width: 3rem 100vw 0 0;
  }

  /* モバイル版お問い合わせ */

  #contact-area {
    padding: 8vw 0 20vw;
  }

  #contact-area h1 {
    width: min(92vw, 36rem);
    font-size: 6vw;
    letter-spacing: 0.06em;
    white-space: normal;
  }

  .contact-text {
    font-size: 3.6vw;
    line-height: 1.7;
    margin-bottom: 8vw;
    padding: 0 5vw;
  }

  .contact-text br {
    display: none;
  }

  .contact-area-btn {
    width: 17rem;
    max-width: 60%;
    padding: 1.5rem 2rem;
    font-size: 1.2rem;
    line-height: 1;
  }

  .top-btn,
  .footer-contact-btn {
    box-shadow: 0.12rem 0.22rem #9B9B67;
    background-color: #EAD86E;
  }

  .top-btn:hover,
  .footer-contact-btn:hover {
    background-color: #E2CF69;
  }

  .top-btn {
    font-size: 3.8vw;
    padding: 0.8em 1.2em;
    width: auto;
  }

    /* モバイル版フッター */

  .footer-contact-btn {
    margin: 0;
    text-align: center;
    border-radius: 999px;
    white-space: nowrap;
    width: auto;
    max-width: 100%;
    line-height: 1.2;
    text-align: center;
    font-size: clamp(0.9rem, 3.2vw, 1.2rem);
    padding: 1.2em 2em;
    letter-spacing: 0.05em;
  }

  .footer-area {
    min-height: unset;
    height: auto;
    padding: 0;
  }

  footer .logo {
    width: 30vw;
    max-width: 120px;
    height: auto;
  }

  .footer-pc {
    display: block;
    flex: 1 1 auto;
    min-width: 0;
  }

  .footer-mobile {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 1.5rem;
  }

  .name {
    padding: 0;
    border-radius: 0;
    max-width: 55%;
    white-space: nowrap;
  }

  .company-name {
    font-size: clamp(1.1rem, 4vw, 1.6rem);
    letter-spacing: 0.06em;
  }

  .postal-code {
    font-size: clamp(0.8rem, 3.2vw, 1rem);
    letter-spacing: 0.05em;
  }

  .address {
    font-size: 2.7vw;
  }

  .footer-nav {
    display: none;
  }

  .contact-info {
    display: flex;
    justify-content: center;
    margin-left: 0;
    margin-top: 4rem;
    flex-direction: column;
    gap: 1.5rem;
    white-space: normal;
    align-items: center;
  }

  .sns ul {
    padding: 0;
    gap: 0.75rem;
  }

  .sns {
    width: auto;
    margin: 0;
    text-align: center;
  }

  .sns p {
    font-size: 0.75rem;
    margin-bottom: 0.5rem;
    letter-spacing: 0.05em;
    white-space: nowrap;
  }

  .sns img {
    width: 24px;
    height: 24px;
  }

  .copyright {
    font-size: clamp(0.7rem, 3vw, 0.9rem);
    letter-spacing: 0.05em;
  }

}

@media screen and (max-width: 360px) {

  .footer-contact-btn {
    font-size: 0.85rem;
    padding: 0.9em 1.6em;
    letter-spacing: 0.03em;
  }

}
