


/*タイトル部分*/
.visual-content::before {display: none;}

.video-container {
    border: none;
}
body.page-company .video-container,
body.page-recruit .video-container {
    border: none;
    max-width: 1400px;
    width: 95%;
}


/* Hero text placed over the video-container */
.page-company .company-hero-text,
.page-recruit .company-hero-text {
  position: relative;
  left: 50%;
  top: 40%;
  transform: translateX(-50%);
  width: 80%;
  max-width: 1200px;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  align-items: center;
  z-index: 30;
}

main.main-visual {
    /* display: none; */
}

.page-company .company-hero-bar,
.page-recruit .company-hero-bar {
  background: #000;
  color: #fff;
  padding: 1.1rem 2.2rem;
  font-size: 3.5rem;
  font-weight: 700;
  text-align: center;
  line-height: 1;
  display: inline-block;
  letter-spacing: 0.02em;
  position: relative;
  z-index: 2;
}

/* Apply half-tone background effect (page-only) similar to .visual-content::before */
.page-company .company-hero-bar::before,
.page-recruit .company-hero-bar::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: -1;
    border-radius: 20px;
    background-image: radial-gradient(#12469a 30%, transparent 25%);
    background-blend-mode: multiply;
    mix-blend-mode: multiply;
    opacity: 1;
    background-size: 10px 10px;
    transform: translate(5%, 20%);
}




.page-company .company-brand,
.page-recruit .company-brand {
  font-family: 'Press Start 2P', sans-serif;
  letter-spacing: 0.02em;
  /* margin-right: 0.6rem; */
  top: 0.08em;
  position: relative;
  margin-right: -0.4em;
  font-size: 3.1rem;
}




/* 共通 */
article {
    margin-bottom: 6rem;
}

article:before {
    display: none;
}
/* 見出し */
H3 {
    font-size: 34px;
    font-weight: 900;
    margin: 0 0 1.3rem 0;
    letter-spacing: 0.02em;
    /* font-family: "Press Start 2P", sans-serif; */
    /* margin-left: 1rem; */
    margin-top: 1.5em;
    margin-bottom: 1em;
    font-family: "Mochiy Pop One", sans-serif;
}
h3:after {
    content: "";
    display: block;
    width: 100%;
    height: 5px;
    background: #12469a;
    margin-top: 0.6em;
}
.page_contents h2 {
    font-size: 40px;
    margin-bottom: 1em !important;
    line-height: 1em;
    background: #12469a;
    padding: 1em;
    padding-right: 0 !important;
    border-radius: 10px;
    color: white !important;
    font-size: 35px !important;
    width: 96%;
    margin-top: 2em;
}
.page_contents .wrap {
    width: inherit;
    width: 1000px;
}

div#charasai {
    position: relative;
    top: -3rem;
    width: 100%;
    height: 1px;
/*    background: aqua;*/
}

.marquee-wrap {
    z-index: 4;
    transform: rotateZ(0deg);
}

.visual-content {
    display: none;
}










/*タイトル部分*/
/* Page contents hero */


.hero-outline {
    position: absolute;
    top: 0%;
    transform: translate(50%, 0%);
    line-height: 1em;
    font-size: 22rem;
    right: 50%;
    color: transparent;
    -webkit-text-stroke: 2px #ff7a2e;
    letter-spacing: 0rem;
    white-space: nowrap;
    opacity: 0.95;
    /* mix-blend-mode: multiply; */
    z-index: 1;
    pointer-events: none;
    /* opacity: 0.6; */
        font-weight: bold;
}


.page-contents-heading {
  position: relative;
  z-index: 2;
  background: transparent !important;
  font-size: 6.4rem;
  font-weight: 800;
  color: #000;
  text-align: center;
  padding: 0.6rem 1.4rem;
}

.hero-pill {
    text-align: center;
    display: inline-block;
    background: #fff;
    border: 4px solid #000;
    padding: 0.5em 1.5em !important;
    border-radius: 40px;
    font-weight: 700;
    letter-spacing: 0;
    font-size: 18px;
    line-height: 0.4em;
    font-family: "Mochiy Pop One", sans-serif;
    font-size: 20px;
    margin-bottom: 0em;
    color: black;
    margin: auto;
}

span.main-title {display: block;font-size: 160px;margin: 0 0 8px 0;color: #081420;font-family: "Jost", sans-serif;font-weight: 900;letter-spacing: 0;line-height: 1em;font-family: "BBH Sans Hegarty", sans-serif;font-weight: 800;font-style: normal;text-align: center;}



/* リクルート部分 */

.page-company .gallery-item img, .page-recruit .gallery-item img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 50px;
  border: 20px solid #000;
  box-shadow: 0 4px 0 rgba(0,0,0,0.06);
  object-fit: cover;
}

/* リスト部分 */
ul.page_white {
    background: white;
    border-radius: 10px;
    margin-bottom: 60px;
    margin-top: 60px;
    padding: 30px 60px;
    font-size: 20px;
}


/* メダル部分 */
body.page-recruit .step-main h3:after {
    display: none;
}

body.page-recruit .recruit-step {
  margin-bottom: 3.2rem;
}
body.page-recruit .step-main {
  display: flex;
  gap: 2em;
  align-items: center;
}
body.page-recruit .step-circle {
  width: 100px;
  height: 100px;
  min-width: 100px;
  border-radius: 50%;
  background: #ffec00;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 0 rgba(0,0,0,0.08);
  position: relative;
}
body.page-recruit .step-circle .step-label small {
  display: block;
  font-size: 21px;
  color: #0047b3;
  font-weight: 800;
  letter-spacing: .06em;
  margin-bottom: 2px;
  line-height: 1.1em;
}
body.page-recruit .step-circle .step-number {
  font-family: "Press Start 2P", sans-serif;
  font-size: 1.9rem;
  color: #0047b3;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.1em;
}
body.page-recruit .step-heading h3 {
  margin: 0;
  font-size: clamp(20px, 4vw, 36px);
  font-weight: 800;
  color: #111;
  /* font-family: "Jost", sans-serif; */
  line-height: 1.2em;
}





/* カンパニー */

table.company-info {
    width: 90%;
    margin: 5%;
}
.page-company .gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 5rem;
  align-items: start;
}

.page-company .gallery-item--large { grid-column: 1 / -1; }
.page-company .gallery-item img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 20px;
  border: 24px solid #12469a; /* black frame */
  box-shadow: 0 4px 0 rgba(0,0,0,0.06);
  object-fit: cover;
}

/**/
.page-company .company-info th {
  width: 220px;
  min-width: 160px;
  box-sizing: border-box;
  padding: 1.6rem 2.2rem;
  vertical-align: top;
  background: #555;
  color: #fff;
  font-weight: 700;
  font-family: "Mochiy Pop One", sans-serif;
  font-size: 20px;
  text-align: left;
  padding-right: 2.4rem;
}

/**/
.page-company .company-info td {
  padding: 1.6rem 2.2rem;
  vertical-align: top;
  border: none;
  background: #fff;
  color: #111;
  font-family: "Mochiy Pop One", sans-serif;
  font-size: 20px;
  /* box-shadow: 0 2px 0 rgba(0,0,0,0.06); */
  word-break: break-word;
  border-spacing: 0px !important;
}






/* サービス */

p.service-cta-row {
    display: flex;
    justify-content: space-around;
    gap: 2em;
    margin: 3em 0;
}

p.service-cta-row a:after {
    display: inline-block;
    position: absolute;
    top: 50%;
    right: 40px;
    transform: translate(0px, -50%);
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    font-family: sans-serif;
    font-weight: 900;
    content: '→';
    font-size: 1.2em;
}

p.service-cta-row a {
    transition: opacity .6s ease; /* ←速度 */
    background: #ff7f02;
    display: block;
    width: 100%;
    text-align: center;
    text-decoration: none;
    border-radius: 70px;
    padding: 1em;
    color: black;
    font-size: 1.2em;
    position: relative;
        font-weight: bold;
}

p.service-cta-row a:hover,
p.service-cta-row a:focus-visible{            /* キーボード操作にも対応 */
  opacity: .45;                 /* 透過度（0=完全透明, 1=不透明）*/
}




/* メダル部分 */
section.service-steps {margin-top: 3em;}

 section.service-steps .step-main h3:after {
    display: none;
}

 section.service-steps .recruit-step {
  margin-bottom: 3.2rem;
}
 section.service-steps .step-main {
  display: flex;
  gap: 0.7em;
  align-items: center;
  justify-content: left;
}
 section.service-steps .step-circle {
  height: 70px;
  width: 70px;
  /* min-width: 100px; */
  border-radius: 50%;
  background: #ffec00;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 0 rgba(0,0,0,0.08);
  position: relative;
}
 section.service-steps .step-circle .step-label small {
  display: block;
  font-size: 12px;
  color: #0047b3;
  font-weight: bold;
  letter-spacing: .06em;
  margin-bottom: 0px;
  font-family: "BBH Sans Hegarty", sans-serif;
  font-weight: 800;
  font-style: normal;
  top: -0.5rem;
  position: relative;
}
 section.service-steps .step-circle .step-number {
  font-family: "Press Start 2P", sans-serif;
  font-size: 1.5rem;
  color: #0047b3;
  font-weight: 800;
  line-height: 0.4;
  letter-spacing: -0.1em;
  position: relative;
  top: -0.5rem;
}
 section.service-steps .step-heading h3 {
  margin: 0;
  font-size: clamp(20px, 4vw, 36px);
  font-weight: 800;
  color: #111;
  /* font-family: "Jost", sans-serif; */
  line-height: 1.2em;
  font-family: "Zen Kaku Gothic New", sans-serif;
}


/* フッター */
.kv .marquee-wrap.marquee-wrap--repeat.marquee--common-blue {
    transform: rotateZ(0deg);
}

.kv__photo {
    transform: translate(-50%, 0px) rotateZ(0deg);
}




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


/* メインビジュアルタイトル */
  .background-logos {
    z-index: -1;
}
.page-company .company-hero-text, .page-recruit .company-hero-text {
    top: 0%;
    transform: translateX(-50%);
    width: 95%;
}

    .container {
    padding-top: 14vw;
}

.page-company .company-hero-bar, .page-recruit .company-hero-bar {
    font-size: 1.5rem;
    padding: 1.1rem 0.8rem;
    letter-spacing: 0em;
}
    .page-company .company-brand, .page-recruit .company-brand {
    font-size: 1.5rem;
    top: 0.3rem;
    padding-right: 0.3rem;
}

.video-container {
    height: 23vh;
}
.page-contents-hero {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 2.4rem 0 1.6rem;
  min-height: 200px;
}




  


/* 見出し */
span.main-title {
    font-size: 3.3rem;
    letter-spacing: 0em;
}

.page_contents .wrap {
    width: 90%;
}

.hero-outline {
    font-size: 6.7rem;
    top: 0rem;
    -webkit-text-stroke: 1px #ff7a2e;
}

    h2.page-contents-heading {
    margin-bottom: 0 !important;
    padding-bottom: revert-layer;
}

.page-contents-hero {
    min-height: inherit;
    height: auto;
    margin: 0;
    margin-bottom: 13vw;
    flex-wrap: wrap;
}

    div#charasai {
    top: -5rem;
}

    .page-company .gallery-grid {
    display: block;
}

.page-company .gallery-item {
    margin-bottom: 2rem;
}

.page-company .page-contents-heading, .page-recruit .page-contents-heading {
    margin: 0;
    padding: 0;
}
.hero-pill {
    font-size: 0.8rem;
    font-weight: 500;
}




  /* カンパニー */
    /* 表 */
.page-company .company-info th {display: block;width: auto;padding: 5%;}

    .page-company .company-info td {display: block;width: 90%;padding: 5%;}

    

.page-company .gallery-item img {
    border: 10px solid #12469a;
    width: -webkit-fill-available;
}




/* recruit */
    body.page-recruit .step-heading h3 {
    font-size: 7vw;
    letter-spacing: -0.1em;
}

body.page-recruit .step-main {
    gap: 4vw;
}

.chara-sai-inner.wrap {
    padding: 0;
    width: auto;
}

    ul.chara-features {
    padding-left: 1.6em;
    margin-bottom: 3em;
}


    
H3 {
    font-size: 6vw;
}

h2.chara-title,.page_contents h2 {
    width: auto;
    padding: 0.8em 0.4em;
    padding-right: 0.4em !important;
    border-radius: 6px;
    font-size: 1.4em !important;
    line-height: 1.3em;
    /* padding-bottom: 0; */
    /* margin-bottom: 0 !important; */
}
    p.recruit-desc {
    font-family: "Zen Kaku Gothic New", sans-serif;
    font-size: 4vw;
    line-height: 1.8em;
    letter-spacing: 0.05em;
}


ul.page_white li {
    font-size: 3.7vw;
    letter-spacing: 0;
}
    ul.page_white {
    padding: 6vw 4vw;
    padding-right: 2vw;
    padding-left: 8vw;
}
    .page-company .gallery-item img, .page-recruit .gallery-item img {
    border: 13px solid #000;
    width: -webkit-fill-available;
    border-radius: 20px;
}
    .future p, .page_contents p {
    font-size: 4vw;
    line-height: 1.8em;
    letter-spacing: 0em;
}


ul.chara-features li {
    letter-spacing: 0em;
    line-height: 1.7em;
    margin-bottom: 1em;
}




    /* サービス */
    section.service-steps .step-circle .step-number {
    font-size: 5.8vw;
    top: -1.4vw;
}
    section.service-steps .step-circle .step-label small {
    font-size: 2.7vw;
    line-height: 2.6em;
    top: -0.3rem;
}
    
p.service-cta-row {
    flex-wrap: wrap;
}
    section.service-steps .step-circle {width: 15vw;height: 15vw;}

.step-heading {
    width: 80%;
}
  }