@charset "UTF-8";
/* =====================
  Base
===================== */ 
:root {
  --font-sans: "Noto Sans JP", system-ui, -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", sans-serif;
  --font-maru: "M PLUS Rounded 1c", system-ui, -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", sans-serif;
  --font-serif: "Noto Serif JP", "Hiragino Mincho ProN", serif;
  /* Color */
  --color-main-bg: #ffffff;
  --color-text: #000000;
  --color-red: #de0000;
  --color-blue: #2a6ea5;
  --color-blue-light: #e5f3ff;
  --color-button: #7ba0e4;
  --color-gray: #f5f5f5;
}
html {
  font-size: 16px;
}
html.is-modal-open {
  overflow: hidden;
}
* {
  box-sizing: border-box;
}
body {
  font-family: var(--font-sans);
  font-weight: 400;
  line-height: 1.75;
  color: var(--color-text);
  background-color: var(--color-main-bg);
  margin: 0;
}
a {
  color: var(--color-text);
  text-decoration: none;
  cursor: pointer;
}
p {
  margin: 0;
}
img {
  max-width: 100%;
  height: auto;
}
ul, ol {
  list-style: none;
  padding: 0;
  margin: 0;
}
button {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  font: inherit;
  color: inherit;
  text-align: inherit;
  outline: none;
  border-radius: 0;
  box-shadow: none;
  cursor: pointer;
}
/* =====================
  Header
===================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 70px;
  background: #fff;
  /* border-bottom: 1px solid #e5e5e5; */
  z-index: 1000;
}
.header-inner {
  max-width: 1200px;
  height: 100%;
  margin: 0 auto;
  /* padding: 0 10px; */
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.header-logo {
  font-size: 20px;
  font-weight: 700;
}
.header-logo a {
  display: flex;
  align-items: center;
}
/* Global Navigation */
.gnav ul {
  display: flex;
  gap: 32px;
}
.gnav a {
  font-size: 14px;
  font-weight: 500;
}
/* =====================
  Side Navigation（PC）
===================== */
.side-nav {
  position: absolute;
  top: 0;
  left: 0;
  width: 240px;
  height: 100%;
  background-color: var(--color-red);
  padding: 70px 16px;
  box-sizing: border-box;
  text-align: center;
}
.side-nav * {
  color: #fff;
}
.side-nav .menu-toggle {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  margin: auto;
  z-index: 1;
}
.side-nav ul {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.side-nav li {
  font-size: clamp(0.813rem, 0.375rem + 1.87vw, 1.25rem);
}
.side-nav li a {
  /* font-size:90%; */
}
main {
  padding-top: 70px;
  /* max-width: 1200px; */
  /* margin-inline: auto; */
}
.content {
  position: relative;
  /* max-width: 1200px; */
  margin-inline: auto;
}
.content .content-main {
  padding-left: 270px;
  /* padding-left: clamp(12.5rem, -8.333rem + 33.33vw, 18.75rem); */
  max-width: 1200px;
  margin-inline: auto;
  padding-top: 70px;
}
.bg-blue {
  background-color: var(--color-blue-light);
  padding-top: clamp(4.375rem, 18.67vw, 8.75rem);
  background-image: url(../img/kazari_r.svg);
  background-position: right top;
  background-repeat: no-repeat;
  /* background-size: 50%; */
  padding-inline: 20px;
  overflow: hidden;
}
.bg-blue section {
  max-width: 1200px;
  margin-inline: auto;
}
.technology {
  margin-bottom: clamp(4.688rem, 20vw, 9.375rem);
}
.technology p.section-txt {
  font-size: clamp(0.906rem, 0.313rem + 2.53vw, 1.5rem);
  margin-bottom: clamp(1.875rem, 8vw, 3.75rem);
}
.tech-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  margin-top: 40px;
}
.tech-box {
  border: solid 1px #67a5d8;
  border-radius: 10px;
  padding: 10px 20px 20px;
  background: #fff;
  position: relative;
  margin-bottom: 20px;
}
.tech1{
  display: grid;
  grid-template-rows: auto auto 1fr auto;
}
.tech3 .img {
  text-align: center
}
.tech-box:before {
  content: "";
  width: clamp(3.75rem, 2.5rem + 5.33vw, 5rem);
  height: clamp(3.75rem, 2.5rem + 5.33vw, 5rem);
  background-color: #67a5d8;
  background-repeat: no-repeat;
  background-position: center;
  background-size: auto calc(100% - 40px);
  position: absolute;
  left: 0;
  top: 0;
  border-radius: 8px 0 10px;
}
.tech-box.tech1:before {
  background-image: url(../img/tech1.svg);
}
.tech-box.tech2:before {
  background-image: url(../img/tech2.svg);
}
.tech-box.tech3:before {
  background-image: url(../img/tech3.svg);
}
.tech-box .tech-ttl {
  padding-left: clamp(3.75rem, 2.5rem + 5.21vw, 5rem);
  color: #67a5d8;
  font-size: clamp(1.125rem, 4.69vw, 2.25rem);
  font-family: var(--font-maru);
  font-weight: 500;
  margin: auto;
  line-height: 1.3;
  padding-block: 8px;
}
.tech1 .tech-ttl{
  /* padding-left:0; */
  margin-right: auto;
  margin-left: 0;
}
.tech-box .tech-txt {
  margin-inline: auto;
  margin-top: 20px;
  margin-bottom: 20px;
  font-size: clamp(0.875rem, 0.5rem + 1.6vw, 1.25rem);
}
.tech2 .tech-txt{
  margin-bottom:0;
}
.tech-box .img-cols {
  display: flex;
  justify-content: space-between;
  margin-top: auto;
}
.tech-box .img-cols .img {
  flex-basis: calc(50% - 10px);
}
.tech-box .img-cols h4 {
  margin-bottom: 10px;
  color: #254f87;
  font-size: clamp(0.906rem, 0.313rem + 2.53vw, 1.5rem);
  /* margin-top: 0; */
  line-height: 1.3;
}
.tech-box .tech-txt span {
  color: #254f87;
}
/* =====================
  Section Common
===================== */
.section-title, section.benefit h3 {
  font-weight: 500;
  color: var(--color-red);
  font-size: clamp(1.875rem, 8vw, 3.75rem);
  line-height: 1.35;
  margin-top: 0;
  font-family: var(--font-maru);
  position: relative;
  z-index: 3;
  margin-bottom: 16px;
}
.section-title .en, section.benefit h3 .en {
  font-size: 16px;
  font-size: 26.6%;
  display: block;
}
section.mv {
  background-color: var(--color-red);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  /* width: 100%; */
}
section.mv .mv__top {
  height: clamp(5.625rem, 24vw, 11.25rem);
  display: flex;
  align-items: center;
  padding-inline:10px;
  padding-bottom: 20px;
}
section.mv .mv__title {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}
section.mv .mv__title img{
  height:clamp(5rem, 21.33vw, 10rem);
}
@media screen and (min-width: 799px)and (max-width: 1070px) {
  .scroll-table, .scroll-img {
    overflow: scroll;
  }
  .scroll-table * {
    white-space: nowrap;
  }
}

.scroll-img img {
  width: auto;
  max-width: 300%;
}
/* =====================
  ABOUT（企業紹介）
===================== */
.content-main h3, .side-nav h3 {
  font-size: clamp(1.125rem, 4.8vw, 2.25rem);
  border-bottom: solid clamp(0.125rem, 0.063rem + 0.27vw, 0.188rem);
  display: table;
  max-width: clamp(9.375rem, 40vw, 18.75rem);
  width: 100%;
  text-align: center;
  font-family: var(--font-maru);
  font-weight: 500;
}
.side-nav h3 {
  max-width: clamp(6.25rem, 26.67vw, 12.5rem);
  margin-inline: auto;
  margin-top: 0;
}
#about,#about section {
  padding-top:70px;
  margin-top:-70px;
}
.about section:not(:last-child) {
  margin-bottom: clamp(3.438rem, 14.67vw, 6.875rem);
}
.about .section-title {
  font-size: 36px;
  line-height: 1.2;
  margin-top: 0;
}
.about h3 {
  font-weight: 500;
  color: var(--color-red);
  margin-top: 0;
}
#vtr {
  font-size: 24px;
}
.youtube iframe {
  aspect-ratio: 16 / 9;
  width: 100%;
  height: 100%;
}
#vtr p {
  margin-bottom: 10px;
  font-size: clamp(0.906rem, 0.313rem + 2.53vw, 1.5rem);
}
#vtr .empty {
  margin-bottom: auto;
  width: 100%;
}
#company {
  /* padding-bottom:86px; */
}
#company table {
  background-color: var(--color-blue);
  border-spacing: 0 1px;
  border-left: solid 1px var(--color-blue);
  border-right: solid 1px var(--color-blue);
}
#company table th, #company table td {
  font-size: clamp(0.813rem, 0.625rem + 0.8vw, 1rem);
  padding: 16px 40px;
}
#company table th {
  font-weight: normal;
  color: var(--color-blue);
  background-color: var(--color-blue-light);
  min-width: 180px;
}
#company table td {
  background: #fff;
}
#company table td .col {
  display: inline-block;
  margin-right: 40px;
}
#philosophy p {
  font-size: clamp(1.965rem, 8.38vw, 3.93rem);
  font-family: var(--font-serif);
}
#policy p {
  font-size: clamp(1rem, 4.27vw, 2rem);
  font-family: var(--font-serif);
}
#history {
  padding-bottom: 86px;
}
.history-list {
  display: flex;
  font-size: clamp(0.781rem, 0.438rem + 1.47vw, 1.125rem);
}
.history-list dt {
  min-width: 80px;
}
.history-list dd {
  margin-left: 0;
}
/* =====================
  PRESIDENT（代表メッセージ）
===================== */
.message {
  /* font-family: var(--font-serif); */
  font-size: 16px;
  line-height: 40.81px;
  padding: 128px 0;
  padding-top: 70px;
  margin-top: -70px;
}
.message-frame {
  position: relative;
  display: flex;
  align-items: center;
}
.message-frame .president-txt {
  border: solid 1px #67a5d8;
  border-radius: 10px;
  background: #fff;
  margin-right: -80px;
  position: relative;
  aspect-ratio: 80/86;
}
.message-frame .president-txt:before {
  content: "";
  border-bottom: solid clamp(0.25rem, -0.125rem + 1.6vw, 0.625rem) var(--color-red);
  width: 100%;
  position: absolute;
  bottom: 50px;
  left: 0;
}
.message-frame .president-img {
  min-width: 45%;
  aspect-ratio: 60 / 69;
  line-height: 0;
}
.message-frame .president-txt p {
  padding-top: 70px;
  padding-left: 130px;
  padding-right: 130px;
  line-height: 1.65;
  font-size: 16px;
}
.president-name {
  position: absolute;
  bottom: 0;
  left: 0;
  margin: auto;
  line-height: 0;
  max-width: 75%;
}
.message-frame::before {
  content: "";
  position: absolute;
  top: 80px;
  left: 50%;
  width: 100vw;
  height: 100%;
  transform: translateX(-50%);
  background-image: url(../img/kazari_l.svg);
  background-position: left bottom;
  background-repeat: no-repeat;
  z-index: 0;
}
.message-frame img {
  position: relative;
}
/* =====================
  Section Titles
  （新技術への取り組み以降）
===================== */
.section:not(.about):not(.message) > .section-title {
  font-size: clamp(1.875rem, 8vw, 3.75rem);
  padding-top: 70px;
  margin-top: -70px;
}
/* =====================
  BUSINESS（業務内容）
===================== */
.business {
  font-size: 13px;
  margin-bottom: clamp(6.25rem, 26.67vw, 12.5rem);
}
.business-list li {
  font-size: 36px;
  line-height: 1.4;
  min-height: 250px;
}
.business-card {
  border: solid 1px #67a5d8;
  border-radius: 10px;
  background-color: #fff;
  position: relative;
  padding-block: 20px;
  padding-left: clamp(3.125rem, 1.25rem + 8vw, 5rem);
  padding-right: 20px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
}
.business-card:before {
  content: "";
  border-left: solid clamp(0.313rem, 0.125rem + 0.8vw, 0.5rem) #67a5d8;
  width: 10px;
  height: 100%;
  position: absolute;
  top: 0;
  left: clamp(1.25rem, 0.5rem + 3.2vw, 2rem);
  z-index: 1;
}
.business-card .en-ttl, .business-card h3 {
  color: #67a5d8;
}
.business-card h3 {
  margin-top: 0;
  margin-bottom: 10px;
  font-size: clamp(1.125rem, 4.8vw, 2.25rem);
  letter-spacing: 0.1em;
  font-family: var(--font-maru);
  font-weight: 500;
}
.business-card p {
  font-size: clamp(0.875rem, 0.625rem + 1.07vw, 1.125rem);
  margin-bottom: 20px;
}
.business-list{
  margin-top: 30px;
}
.business-card .en-ttl {
  font-size: clamp(0.406rem, 1.73vw, 0.813rem);
  writing-mode: sideways-rl;
  position: absolute;
  left: calc(clamp(0.406rem, 1.73vw, 0.813rem)/2);
  top: 0;
  bottom: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: auto;
}
.business-card-txt {
  max-width: 350px;
  margin-right: 40px;
  line-height: 1.8;
}
.business-card-img {
  flex-basis: 100%;
}
.business-card-img img {
  width: 100%;
}
/* =====================
  STAFF（スタッフ紹介）
===================== */
.staff-title {
  font-size: clamp(1.063rem, 0.375rem + 2.93vw, 1.75rem);
  margin-top: 0;
  margin-bottom: 0;
  font-weight: 700;
  color: #254f87;
  position: relative;
  z-index: 1;
}
#staff {
  position: relative;
  padding-bottom: 10px;
  margin-bottom: clamp(6.25rem, 26.67vw, 12.5rem);
}
#staff .staff-card{
  position:relative;
  z-index: 2;
}
#staff .staff-card:nth-child(odd){
  z-index:1;
}

#staff .staff-card:nth-child(odd)::after {
  content: "";
  position: absolute;
  top: -200px;
  left: 50%;
  width: 100vw;
  height: calc(100% + 400px);
  transform: translateX(-50%);
  z-index: auto;
  background: url(../img/kazari_r.svg) top right,url(../img/kazari_l.svg) bottom left;
  background-repeat: no-repeat,no-repeat;
  background-size: auto;
}

.staff-card {
  position: relative;
  margin-bottom: clamp(3.125rem, 13.33vw, 6.25rem);
}
article.staff-card .inner {
  position: relative;
}
article.staff-card .inner{
  padding: 50px;
  border: solid 1px #67a5d8;
  background-color: #fff;
  border-radius: 10px;
  padding-bottom: 220px;
  position: relative;
  z-index: 2;
}
article.staff-card .inner:before {
  content: "";
  border-bottom: solid clamp(0.25rem, -0.125rem + 1.6vw, 0.625rem) var(--color-red);
  width: 100%;
  position: absolute;
  bottom: 100px;
  left: 0;
}
article.staff-card .staff-photo {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 0;
}
.staff-subtitle {
  font-size: 20px;
  color: #67a5d8;
  font-weight: bold;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}
.staff-text {
  font-size: 16px;
  padding-right: 320px;
  position: relative;
}
.staff-position {
  font-size: 15px;
}
.staff-name {
  font-size: 32px;
  font-weight: 700;
  position: absolute;
  right: 80px;
  bottom: 0;
  margin: auto;
  width: 100%;
  height: 50%;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  max-width: 430px;
}
.staff1 .staff-name, .staff2 .staff-name {
  max-width: clamp(20rem, 16.25rem + 16vw, 23.75rem);
}
/* =====================
  JOBS（募集職種）
===================== */
#jobs {
  margin-bottom: clamp(6.875rem, 29.33vw, 13.75rem);
}
#jobs h2{
  margin-bottom: 16px;
}
#jobs > p {
  font-size: clamp(0.906rem, 0.313rem + 2.53vw, 1.5rem);
  margin-bottom: 20px;
}
#jobs h3{
  font-size: clamp(1.25rem, 5.33vw, 2.5rem);
  margin-bottom: -4px;
  font-family: var(--font-maru);
  line-height: 1;
  margin-top: 22px;
}
#jobs h3.new-title{
  color:var(--color-red);
}
#jobs h3.mid-title{
  color:#67a5d8;
  margin-top: clamp(1.25rem, 5.33vw, 2.5rem);
  margin-bottom: 18px;
}
.jobs-scale-wrap {
  width: 100%;
  /*overflow: hidden;*/
}

.jobs-scale {
  width: 1200px; /* デザイン基準幅（Figma / XDの幅） */
  transform-origin: top left;
}

.jobs-list {
  display: flex;
  background-color: #67a5d8;
  color: #fff;
  padding: clamp(0.75rem, 3.2vw, 1.5rem) clamp(0.625rem, 2.67vw, 1.25rem);
  border-radius: 10px;
  font-family: var(--font-maru);
  font-weight: 500;
  margin-bottom: 20px;
}
.jobs-list.red {
  background-color: var(--color-red);
  margin-bottom: 0;
}
.jobs-list.red a {
  color: var(--color-red);
}
.jobs-list.red a:hover {
  color: #fff;
  background-color: #67a5d8;
}
.jobs-list dt {
  font-size: clamp(1.25rem, 5.33vw, 2.5rem);
  font-weight: 500;
  white-space: nowrap;
  padding: 0 clamp(0.938rem, -0.625rem + 6.67vw, 2.5rem);
}
.jobs-list dd {
  display: flex;
  align-items: center;
  margin-left: clamp(0.75rem, 0.25rem + 2.13vw, 1.25rem);
}
.jobs-list dd li {
  display: inline-block;
  margin-top: clamp(0.313rem, 1.33vw, 0.625rem);
  margin-bottom: clamp(0.313rem, 1.33vw, 0.625rem);
  margin-right: clamp(0.875rem, 3.73vw, 1.75rem);
}
.jobs-list a {
  background: #fff;
  color: #67a5d8;
  border-radius: 30px;
  padding: clamp(0.406rem, 1.73vw, 0.813rem) clamp(0.688rem, 2.93vw, 1.375rem);
  line-height: 0.9995;
  display: block;
  font-size: clamp(1.05rem, 0.6rem + 1.92vw, 1.5rem);
}
.jobs-list a:hover {
  background: var(--color-red);
  color: #fff;
}
.jobs-list .not-active a {
  background: #a1a1a1;
  color: #cbcfd2;
  pointer-events: none;
}
#system {
  margin-bottom: clamp(4.375rem, 18.67vw, 8.75rem);
}
.benefit {
  margin-bottom: clamp(5rem, -0.625rem + 24vw, 10.625rem);
}
.benefit-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.benefit-grid .benefit-welfare, .benefit-grid .benefit-holiday, .benefit-grid .benefit-training {
  background: #fff;
  padding: 0px;
  padding-bottom: 30px;
  border-radius: 10px;
  border: solid 1px #67a5d8;
  margin-bottom: 30px;
}
.benefit-cols {
  display: flex;
  justify-content: space-between;
  padding-inline: 30px;
}
.benefit .benefit-grid .benefit-cols > * {
  padding-inline: 0px;
  padding-left: 1rem;
}
.benefit-cols img {
  width: 100%;
}
.benefit h3 {
  padding-inline: 30px;
}
.benefit .benefit-grid ul {
  padding-inline: 50px;
}
.benefit .benefit-grid p {
  padding-inline: 30px;
}
section.benefit h3 {
  margin-bottom: 0;
}
section.benefit .border-ttl {
  padding-top: clamp(0.625rem, 2.67vw, 1.25rem);
  padding-bottom: clamp(0.625rem, 2.67vw, 1.25rem);
  margin-bottom: 20px;
  border-bottom: solid clamp(0.25rem, 1.07vw, 0.5rem) var(--color-red);
}
.benefit ul {
  list-style: disc;
  padding-left: 1rem;
  margin-bottom: 30px;
  font-size: clamp(0.875rem, 0.75rem + 0.53vw, 1rem);
  font-weight: bold;
}
.benefit li {
  margin-bottom: 0.25rem;
}
.career {
  margin-bottom: clamp(5rem, -0.625rem + 24vw, 10.625rem);
}
.career-ttl {
  text-align: center;
  font-size: clamp(1.25rem, 5.33vw, 2.5rem);
  font-family: var(--font-maru);
  font-weight: 500;
  margin-top: 0;
  color: #254f87;
}
.career-flow li {
  border: solid 1px;
  margin-bottom: 20px;
  border-radius: 10px;
  margin-bottom: 60px;
  display: flex;
  /* overflow:hidden; */
  position: relative;
  background: #fff;
}
.career-flow li:after {
  content: "";
  background: url(../img/career_flow.svg)no-repeat center;
  position: absolute;
  padding: 20px;
  bottom: -50px;
  left: 0;
  right: 0;
  margin: auto;
  width: 10px;
}
.career-flow li h3, .career-flow li h4 {
  margin: 0;
}
.career-flow li h3 {
  background: #67a5d8;
  color: #fff;
  padding: 10px;
  min-width: 300px;
  font-size: clamp(1rem, 0.125rem + 3.73vw, 1.875rem);
  border-radius: 8px 0 0 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 120px;
  font-family: var(--font-maru);
  font-weight: 500;
}
.career-flow li h4 {
  color: #67a5d8;
  font-size: clamp(1rem, 0.125rem + 3.73vw, 1.875rem);
  font-family: var(--font-maru);
  font-weight: 500;
}
.career-flow li.career1 {
  border-color: #67a5d8;
}
.career-flow li.career2 {
  border-color: #5992c7;
}
.career-flow li.career2 h3 {
  background: #5992c7;
}
.career-flow li.career2 h4 {
  color: #5992c7;
}
.career-flow li.career3 {
  border-color: #3b6ca2;
}
.career-flow li.career3 h3 {
  background: #3b6ca2;
}
.career-flow li.career3 h4 {
  color: #3b6ca2;
}
.career-flow li.career4 {
  border-color: #254f87;
}
.career-flow li.career4 h3 {
  background: #254f87;
}
.career-flow li.career4 h4 {
  color: #254f87;
}
.career-flow li.career4:after {
  content: none;
}
.career-cts {
  padding: clamp(0.625rem, 2.67vw, 1.25rem);
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  justify-content: center;
}
.career-cts {
  font-size: clamp(0.875rem, 0.5rem + 1.6vw, 1.25rem);
}
.system-images {
  display: flex;
  flex-wrap: wrap;
}
.system-images img {
  width: calc(50% - 20px);
  height: auto;
  margin-bottom: 30px;
}
#qa {
  margin-bottom: clamp(5rem, -0.625rem + 24vw, 10.625rem);
}
#qa > p {
  font-size: clamp(0.906rem, 0.313rem + 2.53vw, 1.5rem);
  margin-bottom: clamp(1.188rem, 5.07vw, 2.375rem);
}
#qa .accordion {
  background-color: #fff;
  border: solid 1px #67a5d8;
  padding: 20px;
  border-radius: 10px;
  margin-bottom: 10px;
  margin-top: 0;
}
#qa .accordion dt {
  color: #254f87;
  font-size: clamp(0.906rem, 0.313rem + 2.53vw, 1.5rem);
  position: relative;
  display: flex;
  align-items: center;
}
#qa .accordion dd {
  margin-left: 0;
  margin-top: 20px;
  font-size: clamp(0.875rem, 0.5rem + 1.6vw, 1.25rem);
  position: relative;
}
#qa .accordion dt h3 {
  margin: 0;
  padding-right: clamp(1.25rem, 5.33vw, 2.5rem);
  line-height: 1.4;
  font-weight: 500;
}
#qa .accordion dt h3, #qa .accordion dd p {
  padding-left: clamp(2.5rem, 1.563rem + 4vw, 3.438rem);
}
#qa .accordion dd p {
  margin-top: 24px;
  margin-bottom: 10px;
}
.accordion dt {
  cursor: pointer;
  font-weight: bold;
  font-family: var(--font-maru);
}
.accordion dt:before {
  content: "";
  background: url(../img/q.svg)no-repeat center;
  background-size: contain;
  width: clamp(1.5rem, 1rem + 2.13vw, 2rem);
  height: auto;
  margin-right: 20px;
  position: absolute;
  top: 0;
  margin: auto;
  aspect-ratio: 11/14
}
.accordion dt span {
  background: url(../img/ac_off.svg)no-repeat center;
  background-size: contain;
  padding: clamp(0.625rem, 2.67vw, 1.25rem);
  position: absolute;
  right: 0;
  top: 3px;
}
.accordion dt.is-open span {
  background-image: url(../img/ac_on.svg);
}
.accordion dd {
  display: none;
}
.accordion dd:before {
  content: "";
  background: url(../img/a.svg)no-repeat center;
  background-size: 100%;
  padding: clamp(1.125rem, 0.938rem + 0.8vw, 1.313rem);
  margin-right: 20px;
  position: absolute;
  left: -3px;
}
/* =====================
  ENTRY BUTTON
===================== */
#entry {
  padding-top:70px;
  margin-top:-70px;
}
#entry .btn-cols {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  align-items: center;
  text-align: center;
  margin-bottom: clamp(6.25rem, 26.67vw, 12.5rem);
}
#entry .btn-cols h3 {
  margin-bottom: 10px;
}
#entry .btn-cols a {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border-radius: 100px;
  width: 540px;
  height: clamp(4.375rem, 18.67vw, 8.75rem);
  line-height: 1.3;
  transition:0.4s all;
}
#entry .btn-cols a:hover{
  transform:scale(1.1)
}
#entry .btn-cols span {
  margin-bottom: 4px;
}
#entry .btn-cols a small {
  font-size: 26%;
}
.entry-btn {
  display: inline-block;
  font-size: clamp(1.875rem, 8vw, 3.75rem);
  font-weight: 700;
  line-height: 1.2;
  background-color: #de0000;
  color: #fff;
  padding: 24px 48px;
  position: relative;
}
.entry-btn.secondary {
  background-color: #245a04;
}
/* =====================
  PRIVACY
===================== */
.privacy {
  font-size: 30px;
  padding-bottom: clamp(5rem, -0.625rem + 24vw, 10.625rem);
}
.privacy-txt {
  font-size: clamp(0.75rem, 0.25rem + 2.13vw, 1.25rem);
  margin-bottom: 20px;
}
.privacy-btn {
  margin-top: 0;
  max-width: clamp(18.75rem, 80vw, 37.5rem);
  margin-inline: auto;
}
.privacy-btn a {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border-radius: 70px;
  background: var(--color-button);
  color: #fff;
  padding: 10px;
  font-size: clamp(0.938rem, 4vw, 1.875rem);
  font-family: var(--font-maru);
  font-weight: 500;
  height: clamp(3.125rem, 13.33vw, 6.25rem);
  transition:0.4s all;
}
.privacy-btn a:hover{
  transform:scale(1.1)
}
h3.insta-ttl {
  text-align: center;
  margin-top: clamp(3.438rem, 14.67vw, 6.875rem);
  margin-bottom: 8px;
  font-size: clamp(1.25rem, 0.625rem + 2.67vw, 1.875rem);
  font-family: var(--font-maru);
  font-weight: 500;
}
.insta-bnr a {
  background-image: -moz-linear-gradient(0deg, rgb(152, 0, 255) 0%, rgb(254, 0, 202) 32%, rgb(254, 0, 81) 67%, rgb(255, 187, 0) 100%);
  background-image: -webkit-linear-gradient(0deg, rgb(152, 0, 255) 0%, rgb(254, 0, 202) 32%, rgb(254, 0, 81) 67%, rgb(255, 187, 0) 100%);
  background-image: -ms-linear-gradient(0deg, rgb(152, 0, 255) 0%, rgb(254, 0, 202) 32%, rgb(254, 0, 81) 67%, rgb(255, 187, 0) 100%);
}
/* =====================
  Footer
===================== */
.footer {
  background: var(--color-red);
  color: #fff;
  text-align: center;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.footer-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.footer-nav a {
  color: #fff;
  font-size: 14px;
}
.footer-copy {
  font-size: clamp(0.625rem, 0.5rem + 0.53vw, 0.75rem);
}
.header-nav {
  display: flex;
}
.header-nav ul {
  display: flex;
  font-size: 14px;
}
.header-nav ul a {
  padding: 7px;
  display: block;
  font-size: 14px;
  white-space: nowrap;
}
/* 開いた状態 */
.header-nav ul.is-open, .side-nav.is-open {
  display: block;
}
/* ハンバーガー閉 */
.header .menu-toggle span {
  width: clamp(2.5rem, 1.25rem + 5.33vw, 3.75rem);
  height: clamp(2.5rem, 1.25rem + 5.33vw, 3.75rem);
  background: url(../img/menu_icon.svg) no-repeat center;
  background-size: 50%;
  padding: 10px;
  display: flex;
}
/* ハンバーガー開 */
.header .menu-toggle.is-open span {
  background-image: url(../img/menu_close.svg);
  background-size: 50%;
  padding: 10px;
  display: flex;
}
/* SPサイド閉 */
.side .menu-toggle span {
  padding: 10px;
  font-size: 10px;
  display: none;
}
/* ======================================================
  SP（max-width: 799px）
====================================================== */
@media screen and (max-width: 799px) {
  .header-inner, main section:not(#top) {
    padding-inline: 10px !important;
  }
  .header-logo {
    width: 100%;
    background: #fff;
    height: 70px;
    display: flex;
  }
  .header-logo img {
    max-height: 40px;
    width: auto;
  }
  .header-nav ul {
    background: #fff;
    width: 100vw;
    position: absolute;
    top: 70px;
    right: 0;
    padding: 20px;
    text-align: center;
    border-radius: 0 0 100px 100px;
    transform: translateY(calc(-100% - 70px));
    transition: 0.6s all;
    z-index: -1;
  }
  .header-nav ul a {
    font-size: 15px;
  }
  .header-nav ul li {
    opacity: 0;
    transition: 0;
  }
  .header-nav ul.is-open {
    transform: translateY(0);
  }
  .header-nav ul.is-open li {
    opacity: 1;
  }
  /* Header */
  .header {
    height: 70px;
  }
  .gnav {
    display: none;
  }
  .side-nav {
    transform: translate3d(calc(-100% + 30px), 0, 0);
    border-radius: 40px;
    max-height: 500px;
    top: 80px;
  }
  .side-nav h3, .side-nav ul {
    opacity: 0;
  }
  .side-nav.is-open h3, .side-nav.is-open ul {
    opacity: 1;
  }
  .side-nav.is-fixed {
    position: fixed;
  }
  .side-nav.scrolled {
    transform: translate3d(calc(-100%), 0, 0);
  }
  .side-nav .menu-toggle {
    writing-mode: sideways-rl;
  }
  .side .menu-toggle span {
    display: block;
  }
  .side-nav:not(.is-open) .close {
    display: none;
  }
  .side-nav.is-open .open {
    display: none;
  }
  .side-nav.is-open {
    transform: translate3d(0px, 0, 0);
    border-radius: 0 40px 40px 0;
    max-height: 500px;
    position: fixed;
    width: 300px;
  }
  .content .content-main {
    padding-left: 30px;
    padding-top: 30px;
  }
  .message-frame {
    padding-bottom: 80px;
    flex-direction: column-reverse;
  }
  .message-frame .president-txt {
    margin-right: auto;
    position: relative;
    aspect-ratio: auto;
    max-width: calc(100% - 20px);
    margin-inline: auto;
  }
  .message-frame .president-txt:before {
    content: "";
    border-bottom: solid clamp(0.25rem, -0.125rem + 1.6vw, 0.625rem) var(--color-red);
    width: 100%;
    position: absolute;
    bottom: 50px;
    left: 0;
  }
  .message-frame .president-img {
    margin-bottom: -50px;
    max-width: calc(100% - 76px);
  }
  .message-frame .president-txt p {
    padding-top: 70px;
    padding-left: 40px;
    padding-right: 40px;
    font-size: clamp(0.875rem, 3.73vw, 1.75rem);
  }
  .president-name {
    position: static;
    display: flex;
    margin-top: 40px;
    margin-left: 0;
  }
  .message-frame::before {
    content: "";
    position: absolute;
    top: 80px;
    left: 50%;
    width: 100vw;
    height: 100%;
    transform: translateX(-50%);
    background-image: url(../img/kazari_l.svg);
    background-position: left bottom;
    background-repeat: no-repeat;
    z-index: 0;
  }
  .message-frame img {
    position: relative;
  }
  .message-frame::before {
    background-size: 50%;
    top: 0;
  }
  #staff::before {
    background-position: top center;
    background: url(../img/staff_bg_sp.svg) center top;
    background-size: cover;
  }
  /* ABOUT */
  .mv__catch {
    padding-inline: 20px;
  }
  section.mv .mv__title{
    padding-bottom:60px;
  }
  #vtr {
    padding-top: 30px;
  }
  .mv .mv__title {
    padding-inline: 20px;
  }
  .about {
    font-size: 25px;
  }
  .about .section-title {
    font-size: 24px;
  }
  /* PRESIDENT */
  .message {
    font-size: 13px;
    line-height: 1.75;
    padding: 70px 0 64px;
  }
  /* Section Titles */
  /* BUSINESS */
  .business-list li {
    font-size: 28px;
    padding-block: clamp(1.25rem, 5.33vw, 2.5rem);
  }
  .business-card {
    display: block;
  }
  .business-card-txt {
    max-width: 100%;
  }
  .tech-grid {
    display: block;
  }
  .tech-grid .tech3 p {
    margin-bottom: 20px;
  }
  /* STAFF */
  article.staff-card .inner {
    padding: clamp(1.875rem, 0.625rem + 5.33vw, 3.125rem) 20px;
    border-radius: 10px;
    padding-bottom:clamp(10rem, 42.67vw, 20rem);
  }
  #staff .staff-card:nth-child(odd)::after {
    top: clamp(-270px, -30vw, -140px);
    bottom: clamp(-270px, -30vw, -140px);
    margin: auto;
    background-position:
  calc(100% + clamp(72px, 19.2vw, 144px)) 0%,
  calc(0%  - clamp(72px, 19.2vw, 144px)) 100%;
  height: auto;
  background-repeat: no-repeat,no-repeat;
  background-size: 70%;
}
  #staff .staff-card:last-child::after {
    background-position:
  calc(100% + clamp(72px, 19.2vw, 144px)) 0%,
  calc(0%  - clamp(72px, 19.2vw, 144px)) calc(100% - 40px);
  }
  article.staff-card .inner:before {
    bottom: clamp(4.281rem, 2.312rem + 8.4vw, 6.25rem);
  }
  article.staff-card .staff-photo {
    position: static;
    display: block;
    height: auto;
  }
  .staff-subtitle {
    font-size: clamp(1rem, 0.75rem + 1.07vw, 1.25rem);
    color: #67a5d8;
    font-weight: bold;
    margin-bottom: 16px;
  }
  .staff-text {
    font-size: clamp(0.875rem, 0.75rem + 0.53vw, 1rem);
    padding-right: 0;
    position: relative;
  }
  .staff-position {
    font-size: 15px;
  }
  .staff-name {
    font-size: 32px;
    font-weight: 700;
    position: absolute;
    right: 80px;
    bottom: 0;
    margin: auto;
    width: 100%;
    height: 50%;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    max-width: 430px;
  }
  .staff-subtitle {
    margin-bottom: 6px;
  }
  .staff-position {
    font-size: 21px;
  }
  .staff-name {
    font-size: 44.8px;
    max-width: 400px;
    width: calc(100% - 60px);
    right: 30px;
  }
  .staff1 .staff-name, .staff2 .staff-name {
    width: calc(100% - 100px);
  }
  /* JOBS */
  .jobs-scale{
    width:100%;
  }
  .benefit-grid {
    display: block;
  }
  .system-images img {
    width: 100%;
    margin-bottom: 30px;
  }
  /* ENTRY */
  #entry .btn-cols a {
    max-width: clamp(16.875rem, 72vw, 33.75rem);
    width: calc(100vw - 40px);
  }
  /* Footer */
  .footer-nav ul {
    flex-direction: column;
    gap: 16px;
  }
  .modal-content dl {
    flex-direction: column;
  }
  .modal-content dt {
    margin-bottom: 10px;
  }
  .modal-content dd {
    width: 100% !important;
    margin: 0 !important;
    font-size: clamp(0.875rem, 0.75rem + 0.53vw, 1rem);
  }
  .career-flow li h3 {
    min-width: 30%;
    white-space: nowrap;
  }
}
/* =====================
  Marquee（無限横スクロール）
===================== */
.mv__bottom {
  overflow: hidden;
  width: 100%;
  background: #fff;
  height: clamp(9.375rem, 40vw, 18.75rem);
}
.mv__marquee {
  display: flex;
  width: max-content;
  animation: marquee 60s linear infinite;
}
.mv__marquee img {
  display: block;
  width: auto;
  height: clamp(9.375rem, 40vw, 18.75rem); /* PC想定。SPで変える */
  flex-shrink: 0;
}
/* アニメーション */
@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}
/* =====================
  SP
===================== */
@media (max-width: 799px) {
  .mv__marquee img {
    /* height: 150px; */
  }
  .mv__marquee {
    animation-duration: 60s;
  }
}
.modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
}
.modal.is-open {
  display: block;
}
.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .6);
}
.modal-content {
  position: relative;
  width: calc(100% - 20px);
  max-width: 960px;
  height: calc(100vh - 120px);
  overflow-y: scroll;
  margin: 10vh auto;
  padding: clamp(1.25rem, 5.33vw, 2.5rem);
  background: #fff;
  border-radius: 10px;
}
.modal-content dl {
  display: flex;
  border-top: dotted 4px var(--color-red);
  padding-block: clamp(1.25rem, 5.33vw, 2.5rem);
  margin-top: 0;
  margin-bottom: 0;
}
/* スマホ画像横スクロール */
.modal-scroll {
  -webkit-overflow-scrolling: touch; /* スマホでスムーズスクロール */
  scroll-snap-type: x mandatory; /* 任意：スナップ効果 */
  scrollbar-gutter: stable; /* スクロールバー出入りでズレない */
  scrollbar-color: #898989
  scrollbar-color: #898989 #d4d4d4;/* ---- Firefox用 ---- */
  max-height: 100%;
  overflow-y: scroll;
  overflow-x: hidden;
  position: relative;
  padding-right:20px;
}

/* ---- Chrome / Edge / Safari 用 ---- */
.modal-scroll::-webkit-scrollbar {
    height: 12px;
    background-color: #d4d4d4;
    border-radius: 0px;
  outline:solid #d4d4d4 2px;
  margin-right:10px;
}
.modal-scroll::-webkit-scrollbar-thumb {
    min-width: 100px;
    background-color: #898989;
    border-radius: 30px;
  margin-right:10px;
}

.modal-content dt {
  font-weight: bold;
  font-family: var(--font-maru);
  width: 130px;
  padding-inline: clamp(0rem, -0.625rem + 2.67vw, 0.625rem);
  color: #67a5d8;
  font-size: clamp(0.938rem, 0.625rem + 1.33vw, 1.25rem);
}
.modal-content dd {
  width: calc(100% - 130px);
  margin-left: 40px;
}
.modal-content h2 {
  text-align: center;
  font-size: clamp(1.125rem, 0.375rem + 3.2vw, 1.875rem);
  font-family: var(--font-maru);
  font-weight: 500;
  color: #254f87;
  line-height: 1;
  margin-bottom: clamp(1.25rem, 0.938rem + 1.33vw, 1.563rem);
}
.modal-close {
  position: absolute;
  top: clamp(0rem, -1.25rem + 5.33vw, 1.25rem);
  right: 20px;
  color: #0030bb;
  color: #fff;
  /* border-bottom: solid 1px; */
  line-height: 1.6;
  font-size: clamp(1rem, 0.75rem + 1.07vw, 1.25rem);
  background: #67a5d8;
  line-height: 1;
  padding: clamp(0.25rem, 1.07vw, 0.5rem) clamp(0.625rem, 2.67vw, 1.25rem);
  border-radius: 40px;
}
.modal-close:hover{
  background:var(--color-red);
}
.menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
  z-index: 900;
  transition: 0.4s all;
}
.menu-overlay.is-open {
  opacity: 1;
  visibility: visible;
}
.empty {
  background: #e9e9e9;
  aspect-ratio: 1200/660;
  margin-bottom: clamp(5rem, -0.625rem + 24vw, 10.625rem)
}
@media screen and (max-width: 500px) {
  .staff1 .staff-name, .staff2 .staff-name {
    width: calc(100% - 120px);
  }
  .benefit .benefit-cols {
    flex-direction: column;
  }
  .benefit .benefit-cols ul {
    margin-bottom: 20px;
  }
  .benefit .benefit-grid .benefit-cols > p {
    padding-left: 0
  }
}
@media screen and (min-width: 800px) {
  .header-nav ul {
    position: static;
  }
  .header .menu-toggle {
    display: none;
  }
  .side-nav.is-fixed {
    position: fixed;
    top: 70px;
    /* left: 50%; */
    /* transform: translateX(-600px); */
    width: 100%;
    max-width: 240px;
    z-index: 1;
  }
}
@media screen and (min-width: 800px) and (max-width: 1000px) {
  article.staff-card .staff-photo {
    top: 120px;
  }
}
@media screen and (min-width: 800px) and (max-width: 1140px) {
  .message-frame .president-txt p {
    padding-left: 40px;
    padding-right: 100px;
    margin-bottom: 250px;
    aspect-ratio: auto;
  }
  .header-logo{
    max-width:clamp(6.25rem, -13.399rem + 40.94vw, 15rem);
  }
  .header-nav ul a{
    font-size:12px;
    padding: 6px;
    line-height: 1;
  }
}
@media screen and (min-width: 800px) and (max-width: 1200px) {
  .side-nav.is-fixed {
    left: 0;
    transform: translateX(0);
  }
  .tech-box .tech-ttl{
    font-size:30px;
  }
  .tech-box .img-cols h4{
    font-size:clamp(0.875rem, 0.667rem + 0.44vw, 1rem);
  }
  .header-nav ul a{
    font-size:12px;
    padding: 6px;
    line-height: 1;
  }
}
@media screen and (min-width: 800px) and (max-width: 1000px){
  .header-logo {
    min-width:200px;
  }
  .header-nav ul{
    flex-wrap:wrap;
    margin-left:20px;
  }
  .header-nav ul a{
    font-size:12px;
    padding: 6px 8px;
    line-height: 1;
  }
}
@media screen and (min-width: 1280px) {
  .content .content-main {
    padding-left: 200px;
  }
}
@media screen and (max-width: 670px) {
  #company table th{
    min-width:10%;
    padding-inline:10px;
  }
  #company table td{
    padding-inline:10px;
  }
  #company .scroll-table *{
    white-space:normal;
  }
}