:root {
  --main-color: #1DAC56;
  --accent-color: #DEDE43;
  --font-color: #333333;
  --white-color: #FFFFFF;
  --bg-color: #F8F9FA;
  --gray-color:#DEDEDE;
  --sub-color:rgba(29, 172, 86, 0.1);
  --sub-color2:#d7d75d33;
  --gradation-color: linear-gradient(90deg,#1DAC56, #DEDE43 100%);
  --gradation-color-opacity: linear-gradient(90deg,rgba(29, 172, 86, 0.3), rgba(222, 222, 67, 0.3) 100%);
  --gradation-color-opacity2: linear-gradient(90deg,rgba(29, 172, 86, 0.15), rgba(222, 222, 67, 0.15) 100%);

  /* ヘッダー（index.html仕様）用 */
  --orange: #F07548;
  --green: #1DAC56;
  --light-green: #ECFFF4;
  --black: #333333;
  --white: #ffffff;
  --p: 15px;

  --font-family: "Noto Sans JP", sans-serif;
  --font-family-en: "Montserrat", sans-serif;
  --font-weight-b: bold;

  --object-box-shadow: 0px 10px 20px 0px rgba(0,0,0,0.1);
  --object-box-shadow-off: 0px 0px 0px 0px rgba(0,0,0,0);

  --border-radius: 10px;
}


/* ----------------------------------------------------
   Basic setting:
------------------------------------------------------- */

html {
  scroll-behavior: smooth;
  font-size: 16px;
  box-sizing: border-box;
}

@media screen and (max-width:768px) {
  html{
    font-size: 14px;
  }
}

body {
  font-family: var(--font-family);
  font-size: 1rem; 
  font-weight: 400;
  line-height: 1.8;
  background: var(--white-color);
  color: var(--font-color);
}


/* 2カラム（フォーム右設置ver） */

.container,#header,footer {
  width: calc(100% - 25rem);
}

#registration {
  width: 25rem;
  margin: 0 auto;
  position: fixed;
  top: 0;
  right: 0;
  box-shadow: var(--object-box-shadow);
  height: 100%;
}

#registration .inner_box{
  overflow-y: auto;
  height: 100%;
  padding-bottom: 2rem;
  box-sizing: border-box;
}

@media screen and (max-width:1200px) {
  .container, #header, #scrollmenu, footer, #registration {
    width: 100%!important;
  }

  #registration {
    position: relative;
    box-shadow: var(--object-box-shadow-off);
  }
}


img {
  display: inline-block;
  max-width: 100%;
}

strong {
  color: var(--main-color);
  font-weight: bold;
}

.inner_box{
  margin: 0 auto;
  position: relative;
  max-width: 1232px;
  padding: 0 clamp(1.3rem, 0.76rem + 2.7vw, 6rem);
}

.center{text-align: center;}
.medium{font-weight: 500;}
.bold{font-weight: 700;}
.white{color:var(--white-color)}

.mg_b_0{
  margin-bottom: 0 !important;
}
.small{
  font-size: 0.875rem;
}

.Forsp{display: none;}
@media screen and (max-width: 768px) {
  .Forsp{display: block;}
  .Forpc{display: none;}
}

.list li{
  padding-left: 1.2rem;
  position: relative;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.list li::before {
  content: "";
  display: block;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--main-color);
  position: absolute;
  top: 0.7em;
  left: 0;
}

.lnk_btn a{
  display: inline-block;
  text-align: center;
  color: var(--white-color);
  font-weight: bold;
  box-shadow: var(--object-box-shadow);
  background: var(--main-color);
  padding: 1rem 2rem;
  border-radius: 100px;
  transition: 0.3s;
  margin-top: 2rem;
}

.lnk_btn a:focus,
.lnk_btn a:hover{
  box-shadow: var(--object-box-shadow-off);
  transform: translate(2px, 2px);
  transition: 0.3s;
}


/* ヘッダー */

header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 2;
  width: 100%;
}
header > div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.7rem clamp(1rem, -0.282rem + 2.74vw, 3rem);
  font-weight: bold;
  background: transparent;
  color: #FFF;
}

header .logo a {
  display: block;
  line-height: 1;
}

header .logo img {
  position: relative;
  z-index: 4;
  height: 1.3rem;
}


/* ヘッダーメニュー */

.header_nav ul{
  display: flex;
  justify-content: flex-end;
  font-size: 0.8rem;
}
@media screen and (max-width: 768px) {
  .header_nav ul{
    display: block;
    margin-bottom: 2rem;
    font-size: 1rem;
  }
}

.header_nav ul li{
  padding-left: clamp(1rem, 0.867rem + 0.28vw, 3.4rem);
}
@media screen and (max-width: 768px) {
  .header_nav ul li{
    padding-left: 0;
    border-bottom: solid 1px var(--gray-color);
  }
}
.header_nav ul li a{
  /* font-size: clamp(0.875rem, 0.868rem + 0.01vw, 1rem); */
  transition: 0.5s;
}
@media screen and (max-width: 768px) {
  .header_nav ul li a{
    display: block;
    padding: 0.8rem;
    color: var(--font-color);
  }
}
.header_nav ul li a:hover{
  color: rgba(255, 255, 255, 0.7);
}
@media screen and (max-width: 768px) {
.header_nav ul li a:hover{
  color: var(--font-color);
}
}

.header_nav ul li.freelance a{
  border: solid 2px var(--white-color);
  border-radius: 100px;
  padding: 1rem;
}

/* header.scrolled {
  background: linear-gradient(90deg, #1DAC56ed, 50%, #DEDE43ed);
} */



/*  ctaボタン制御 */

#cta{
  background: var(--gradation-color);
  padding: 2rem 0;
}

#cta .cta_area{
  background: var(--white-color);
  border-radius: var(--border-radius);
  padding: 3rem 2rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  text-align: center;
}
@media screen and (max-width: 768px) {
  #cta .cta_area{
    grid-template-columns: 1fr;
  }
}
@media screen and (max-width: 768px) {
  .header-sp .cta_area{
    padding: 2rem 0;
  }
}

.header-sp .cta_btn a,
#cta .cta_btn a{
  display: block;
  text-align: center;
  color: var(--white-color);
  font-weight: bold;
  box-shadow: var(--object-box-shadow);
  background: var(--gradation-color);
  padding: 1.5rem;
  border-radius: 100px;
  transition: 0.3s;
  margin: 1rem auto 0;
  position: relative;
  box-sizing: border-box;
  font-size: 1.1rem;
}
@media screen and (max-width: 768px) {
  #cta .cta_btn:first-child a{
    margin-bottom: 1rem;
  }
  .header-sp .cta_btn:first-child a{
    margin-bottom: 3rem;
  }
}

#cta .cta_btn a{
  max-width: 30rem;
}

.header-sp .cta_btn a{
  padding: 2rem;
  border-radius: 100px;
  margin: 1rem auto 0;
  position: relative;
  max-width: 20rem;
  font-size: 1rem;
  padding: 1rem 2rem 0.6rem;
}

.header-sp .cta_btn a span,
#cta .cta_btn a span{
  display: block;
  text-align: center;
  color: var(--main-color);
  font-weight: bold;
  box-shadow: var(--object-box-shadow);
  background: var(--white-color);
  padding: 0.3rem;
  font-size: 0.875rem;
  border: solid 2px var(--main-color);
  border-radius: 100px;
  transition: 0.3s;
  position: absolute;
  top: 0;
  left: clamp(4rem, -4.352rem + 11.13vw, 9rem);
  right: clamp(4rem, -4.352rem + 11.13vw, 9rem);
  transform: translateY(-70%);
}
@media screen and (max-width:1200px){
  .header-sp .cta_btn a span,
  #cta .cta_btn a span{
    left: clamp(4rem, -4.921rem + 18.56vw, 9rem);
    right: clamp(4rem, -4.921rem + 18.56vw, 9rem);
  }
}
@media screen and (max-width:768px){
  .header-sp .cta_btn a span,
  #cta .cta_btn a span{
    left: clamp(2rem, -3rem + 25vw, 9rem);
    right: clamp(2rem, -3rem + 25vw, 9rem);
  }
}

.header-sp .cta_btn.wp a,
#cta .cta_btn.wp a{
  color: var(--main-color);
  background: var(--white-color);
  border: 2px solid var(--main-color);
}

.header-sp .cta_btn.wp span,
#cta .cta_btn.wp span{
  color: var(--white-color);
  background: var(--main-color);
  border: 0;
}

#cta .cta_btn a:focus,
#cta .cta_btn a:hover{
  box-shadow: var(--object-box-shadow-off);
  transform: translate(2px, 2px);
  transition: 0.3s;
}


.is-inline-block {
  display: inline-block;
}


/* スマホ時メニュー出現挙動 */

@media screen and (max-width: 768px) {
  .menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100%;
    background: var(--white-color);
    transition: 0.5s ease;
    padding: calc(1rem + clamp(3.688rem, 3.587rem + 0.5vw, 4.188rem)) 1rem 1rem;
    z-index: 3;
    box-sizing: border-box;
  }

  /* メニュー開いた状態 */
  .menu.open {
    right: 0;
  }
} 

/* ハンバーガーメニューボタン */
/* ボタン全体 */
.header_menu-btn {
  position: relative;
  width: 24px;
  height: 20px;
  border: none;
  background: none;
  cursor: pointer;
  z-index: 5;
}

/* 中央線 */
.header_menu-btn span {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--white-color);
  border-radius: 2px;
  transition: 0.3s ease;
}

/* 上線と下線（擬似要素） */
.header_menu-btn::before,
.header_menu-btn::after {
  content: '';
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--white-color);
  border-radius: 2px;
  transition: 0.3s ease;
}

.header_menu-btn::before {
  top: 0;
}

.header_menu-btn::after {
  bottom: 0;
}

  /* バツボタンアニメーション */
  /* 上線回転 */
  .header_menu-btn.active::before {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
    background: var(--main-color);
  }

  /* 下線回転 */
  .header_menu-btn.active::after {
    bottom: 50%;
    transform: translateY(50%) rotate(-45deg);
    background: var(--main-color);
  }

  /* 中央線はフェードアウト */
  .header_menu-btn.active span {
    opacity: 0;
  }




/* ロゴスライダー */
.company {
  background: #ffffff;
  padding: 1rem 0;
}

.company .logo-marquee{
  --gap: 1rem;
  overflow:hidden;
  display:flex;
  width:100%;
}

.company .marquee__group{
  display:inline-flex;
  align-items:center;
  gap: var(--gap);
  min-width:max-content;
  list-style:none; margin:0; padding:0;
  padding-left: var(--gap);
  animation: scroll 50s linear infinite;
  will-change: transform;
  backface-visibility: hidden;
}

.company .marquee__group:nth-of-type(2){
  margin-left: var(--gap);
}

.company .company_logo{ flex:0 0 auto; }

.company .company_logo img{
  display:block; 
  width:150px; 
  height:90px; 
  object-fit:contain; 
  margin:0 auto;
}

@keyframes scroll{
  from{ transform: translate3d(0,0,0); }
  to  { transform: translate3d(calc(-100% - var(--gap)),0,0); }
}


@media screen and (max-width: 768px){
  .company .logo-marquee{
    --gap: 0.5rem;
  }

  .company .company_logo img{
    width:120px; 
    height:70px; 
  }
}


/* サービスバナー */
.service_banner {
  max-width: 768px;
  margin: 0 auto;
  display: block;
}
.service_banner h3 {
  text-align: center;
  color: #363089;
  margin-bottom: 24px;
}


/* フッター */
footer {
  padding: 2rem 0;
}
@media screen and (max-width:1200px) {
footer {
  padding: 6rem 0 2rem;
}
}
/* footer .footer_box {
  display: flex;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  color: var(--black);
  justify-content: space-between;
  align-items: center;
} */

footer .footer-area{
  display: grid;
  grid-template-columns: 18rem 1fr;
  gap: 2rem;
}
@media screen and (max-width:786px) {
  footer .footer-area{
    grid-template-columns: 1fr;
  }
}
footer .footer-logo img {
  max-width: 16rem;
}
footer .footer-txt {
  font-size: 2rem;
  font-weight: bold;
  margin-top: 1rem;
}

footer .footer-link-box {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 2rem;
}
@media screen and (max-width:786px) {
  footer .footer-link-box {
    grid-template-columns: 1fr;
  }
}
footer .footer-link-box ul.footer-s-link {
  font-weight: bold;
}
footer .footer-link-box ul.footer-s-link li {
  margin-bottom: 1rem;
}
footer .footer-link-box ul.footer-s-link li:first-child {
  border-bottom: 1px solid;
}
footer .footer-link-box ul.footer-s-link li a small {
  margin-top: 0;
  text-align: left;
}
footer small {
  text-align: center;
  color: var(--font-color);
  display: block;
  margin-top: 3rem;
}

footer .triangle {
    width: 0;
    height: 0;
    border-left: 7px solid var(--font-color);
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    display: inline-block;
    margin-right: 6px;
    margin-bottom: 1px;
}


/* responsive */
/* @media screen and (max-width: 1200px) {
  footer .footer-box {
    width: 90vw !important;
  }
  footer .footer-logo {
    width: 33vw !important;
  }
  footer .footer-txt {
    font-size: 3vw;
  }
  footer .footer-link-box {
    width: 46vw !important;
  }
  footer .footer-link-box ul.footer-s-link li {
    font-size: 1.4vw;
  }
} */

/* @media screen and (max-width: 768px) {
  footer .footer-box {
    display: block;
  }
  footer .footer-logo {
    width: 100% !important;
  }
  footer .footer-logo div {
    width: 90% !important;
  }
  footer .footer-txt {
    margin: 1rem 0 0;
  }
  footer .footer-link-box {
    display: block;
    width: 80% !important;
  }
  footer .footer-link-box ul.footer-s-link li {
    font-size: 14px;
  }
  footer .footer-link-box ul.footer-s-link {
    margin: 20px 0;
  }
  footer .footer-link-box ul.footer-s-link li:first-child {
    font-size: 13px;
  }
  footer {
    padding: 45px 0 110px;
  }
}
 */



/* form */
/* .hs-form-field label {
  text-align: left;
  font-size: var(--p);
  width: 130px;
  color: var(--orange);
  display: block;
  float: none;
  width: auto;
  font-weight: 500;
  line-height: 20px;
  padding-top: 0;
  margin-bottom: 0px;
  margin-top: 5px;
} */

section#registration {
  padding: 0;
}
#registration h2 {
  font-size: 1.5rem;
  margin: 2rem 0;
}

.hs-form-field label span {
  font-size: 0.75rem;
  color: var(--font-color);
  font-weight: 500;
}

/* .hs-form-field label span.hs-form-required {
  color: var(--red);
} */

.input input {
  box-sizing: border-box;
  padding: 0 15px;
  width: 100%;
  max-width: 100%;
  width: 100%;
}
.hs-input:not([type="file"]) {
  background-color: #f5f8fa;
}
.hs-input[type="file"] {
  background-color: #f5f8fa;
  border: none;
  padding: 0;
}
/* .hs-richtext {
  margin-top: 15px;
} */

.hs-input {
  display: inline-block;
  width: 100%;
  height: 2rem;
  padding: 1rem;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  border: 1px solid #cbd6e2;
  box-sizing: border-box;
  border-radius: 3px;
}

.hs-form-field {
  margin-bottom: 1rem;
}

.hs-richtext p {
  color: #111111;
  font-size: 10px;
}
.hs-richtext p a {
  color: #120e6a;
  text-decoration: underline;
}

.actions{
  text-align: center;
}

.actions input {
  background: var(--gradation-color);
  color: var(--white-color);
  display: inline-block;
  font-weight: bold;
  text-align: center;
  border-radius: 100px;
  padding: 1rem;
  width: 12rem;
  border: none;
  margin: 0 auto;
  box-shadow: var(--object-box-shadow);
  transition: 0.3s;
  margin-top: 1rem;
}

.actions input:focus,
.actions input:hover{
  box-shadow: var(--object-box-shadow-off);
  transform: translate(2px, 2px);
  transition: 0.3s;
}

legend.hs-field-desc {
  font-family: Noto Sans JP;
  color: #7c98b6;
  font-size: 11px;
}

input.hs-input.error,
div.field.error input,
div.field.error textarea,
div.field.error .chzn-choices,
textarea.hs-input.error,
select.hs-input.error {
  border-color: #f2545b;
}
.hs-error-msgs label {
  color: #f2545b;
}

.inputs-list {
  margin: 0 0 5px;
  width: 100%;
  padding-left: 5px;
}

.inputs-list label {
  font-size: 0.75rem;
  float: none;
  width: auto;
  padding: 0;
  white-space: normal;
  font-weight: normal;
}

.inputs-list>li {
  display: block;
  padding: 0;
  width: 100%;
  padding-top: 0;
  list-style-type: disc;
}


.hs-form-b8902e4e-7155-433e-a1f3-3cd5456ce490_58fbf51e-0303-4fea-aea2-1ba4ff064634 fieldset.form-columns-1 input[type=checkbox], .hs-form-b8902e4e-7155-433e-a1f3-3cd5456ce490_58fbf51e-0303-4fea-aea2-1ba4ff064634 fieldset.form-columns-1 input[type=radio] {
  width: auto;
}

.hs-input:not([type=file]) {
  background-color: #f5f8fa;
  width: 100%;
}

.hs-input[type=checkbox], .hs-input[type=radio] {
  cursor: pointer;
  width: auto;
  height: auto;
  padding: 0;
  margin: 3px 5px 3px 0px;
  line-height: normal;
  border: none;
}

  .phone_text{
    font-size: 12px;
    text-align: right;
    margin-top: 2rem;
  }

@media screen and (max-width: 1050px) {
  .phone_text{
    text-align: left;
    width: 90vw;
    margin: 2rem auto 0;
  }
}


/* ====== Noto Sans JP（自前サブセット） ====== */
@font-face{
  font-family:"Noto Sans JP";
  font-style:normal;
  font-weight:400;
  src:url("../fonts/NotoSansJP-Regular-subset.woff2") format("woff2");
  font-display:optional;
}
@font-face{
  font-family:"Noto Sans JP";
  font-style:normal;
  font-weight:500;
  src:url("../fonts/NotoSansJP-Medium-subset.woff2") format("woff2");
  font-display:optional;
}

@font-face{
  font-family:"Noto Sans JP";
  font-style:normal;
  font-weight:700;
  src:url("../fonts/NotoSansJP-Bold-subset.woff2") format("woff2");
  font-display:optional;
}

/* 代替描画のズレ最小化（初回もレイアウト安定） */
/* @font-face {
  font-family: "Noto Sans JP Fallback";
  src: local("Arial");
  ascent-override: 90%;
  descent-override: 22%;
  line-gap-override: 0%;
  size-adjust: 104%;
} */

