:root {
  --main-color: #EB460A;
  --accent-color: #00A4A4;
  --font-color: #333333;
  --white-color: #FFFFFF;
  --bg-color: #FAF1E6;
  --gray-color:#EEEEEE;
  --gradation-color: linear-gradient(90deg,rgba(242, 146, 53, 1) 60%, rgba(247, 221, 54, 1) 100%);
  --gradation-color-opacity: linear-gradient(90deg,rgba(242, 146, 53, 0.1) 60%, rgba(247, 221, 54, 0.1) 100%);
  --logo-gradation-color: linear-gradient(90deg,rgba(235, 70, 10, 1) 60%, rgba(220, 225, 0, 1) 100%);

  --font-family: "Montserrat", "Noto Sans JP", 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: 5px;

  --main-font: 
}


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

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



body {
  font-family: var(--font-family);
  font-size: clamp(0.875rem, 0.825rem + 0.25vw, 1.125rem); 
  font-weight: 400;
  line-height: clamp(2rem, 1.9rem + 0.5vw, 2.5rem);
  background: var(--white-color);
  color: var(--font-color);
}

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;}

.mg_b_0{
  margin-bottom: 0 !important;
}
.small{
  font-size: 0.875rem;
}
.Forsp{display: none;}
@media screen and (max-width: 750px) {
  .Forsp{display: block;}
  .Forpc{display: none;}
}


/* ヘッダー */

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: rgba(255, 255, 255, 0.7);
}

header > div {
  display: flex;
  align-items: center;
}

header .logo img {
  width: clamp(6.5rem, 6.2rem + 1.5vw, 8rem);
  position: relative;
  z-index: 4;
}


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

.header_nav ul{
  display: flex;
  justify-content: flex-end;
}
@media screen and (max-width: 750px) {
  .header_nav ul{
    display: block;
    margin-bottom: 2rem;
  }
}
.header_nav ul li{
  padding-left: clamp(1rem, 0.867rem + 0.28vw, 3.4rem);
}
@media screen and (max-width: 750px) {
  .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: 750px) {
  .header_nav ul li a{
    display: block;
    padding: 0.8rem;
  }
}
.header_nav ul li a:hover{
  color: var(--main-color);
}

@media screen and (max-width: 750px) {
  .header_nav ul{
    font-size: 1rem;
  }
}

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

@media screen and (max-width: 750px) {
  .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(--main-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(--main-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);
  }

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

  /* 中央線はフェードアウト */
  .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: 750px){
  .company .logo-marquee{
    --gap: 0.5rem;
  }

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


/* フッター */
footer {
  padding: 65px 1.5rem 40px !important;
  line-height: 1.6;
}
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-txt {
  font-size: 36px;
  font-weight: bold;
  margin-top: 20px;
  line-height: 1.8;
}

footer .footer-logo{
  width: 340px;
}
footer .footer-link-box {
  display: flex;
  width: 550px;
  justify-content: space-between;
}
footer .footer-link-box ul.footer-s-link {
  font-weight: bold;
}
footer .footer-link-box ul.footer-s-link li {
  font-size: 1rem;
  margin-bottom: 10px;
}
footer .footer-link-box ul.footer-s-link li:first-child {
  font-size: 1rem;
  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: 60px;
}

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: 750px) {
  footer .footer-box {
    display: block;
  }
  footer .footer-logo {
    width: 100% !important;
  }
  footer .footer-logo div {
    width: 90% !important;
  }
  footer .footer-txt {
    font-size: 20px;
    margin: 10px 0 40px;
  }
  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;
  }
}


/* ====== 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: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%;
} */

