/*共通*/
.hide-pc {
  display: none;  
}

@media screen and (max-width: 768px) {
  .hide-pc {
    display: block;
  }
  .hide-sp {
    display: none;
  }
}

b {
  font-weight: bold;
}

.bg {
  background-color: #E7EBF1;
}

.bg-rainbow {
  background: linear-gradient(to bottom,rgba(231,235,241,0)0%,rgb(231,235,241,1)100%),url(assets/images/bg_2.png);
}

.bg-white .bg-rainbow {
  background: linear-gradient(to bottom,rgba(255,255,255,0)0%,rgb(255,255,255,1)100%),url(assets/images/bg_2.png);
}

.padding {
  padding: 5%;
}

.line {
  width: 20%;
  height: 1px;
  background-color: #1B2D57;
  align-self: center;
}

.page-title-wrap {
  overflow: hidden;
}

.page-title {
  justify-items: center;
  align-content: center;
  min-height: 12vw;
  border-bottom-right-radius: 1000px 200px;
  border-bottom-left-radius: 1000px 200px;
  margin-left: -15vw;
  margin-right: -15vw;
  padding-left: 100px;
  padding-right: 100px;
  background: linear-gradient(to bottom, #1B2D57 30%,#275D90 60%, #1B2D57 100%);
}

.main-visual,
.main_details {
  background-color: #E7EBF1 !important;
}

.flex {
  display: flex;
  gap: 2%;
}

.left,
.right {
  width: 50%;
}

.fade-in {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s, transform 0.8s;
}

.fade-in.active {
  opacity: 1;
  transform: translateY(0);
}

.main-wrap_message,
.main-wrap_video,
.main-wrap_recruitInfo,
.main-wrap_intro,
.main-wrap_feature,
.main-wrap_works,
.main-wrap_recruit,
.main-wrap_president,
.main-wrap_story,
.main-wrap_faq,
.main-wrap_entry {
  padding: 5%;
}

@media screen and (max-width: 768px) {
  .page-title h2 {
    font-size: 32px !important;
    line-height: normal;
  }
}

@media screen and (max-width: 480px) {
  .main-wrap_message,
  .main-wrap_video,
  .main-wrap_recruitInfo,
  .main-wrap_intro,
  .main-wrap_feature,
  .main-wrap_works,
  .main-wrap_recruit,
  .main-wrap_president,
  .main-wrap_story,
  .main-wrap_faq,
  .main-wrap_entry {
    padding: 12% 5%;
  }
  .page-title h2{
    font-size: 28px !important;
    line-height: normal;
  }
  .page-title p {
    font-size: 10px !important;
    line-height: normal;
  }
}

@media screen and (max-width: 768px) {
  .page-title {
    padding-bottom: 16px;
    padding-top: 16px;
  }
}

/*ヘッダー*/
.header {
  justify-content: space-between;
  padding: 0 1%;
}

.header-logo {
  width: 300px;
  align-items: center;
  margin: 0 16px;
}

.header-logo img {
  width: 100%;
  height: unset;
}

.header-item {
  align-content: center;
}

.header-item a,
.header-item-recruit1 a,
.header-item-recruit2 a {
  font-size: 13px;
  font-weight: bold;
}

.header-item a,
.header-item-last a {
  width: max-content;
  display: block;
}

.header-item-recruit1,
.header-item-recruit2 {
  color: #fff;
  background-color: #1B2D57;
  padding: 12px 24px;
  border-radius: 100px;
}

.header-inner {
  align-content: center;
  width: auto;
  justify-items: right; 
}

.g-navi {
  gap: 16px;
}

@media screen and (max-width: 768px) {
  .header-item a {
    font-size: 18px;
  }
  .header-item {
    margin: 0 0 32px 0 !important;
  }
}

@media screen and (max-width: 480px){
  .header-logo {
    margin: 0;
  }
  .header-logo img {
    width: 240px;
  }
}

/* =========================
   Hamburger Menu (<= iPad)
   ========================= */

/* まずPCでは通常表示（既存のヘッダーが横並び想定） */
.hamburger,
.menu-overlay {
  display: none;
}

/* iPad以下（= 1280px以下）でハンバーガー運用に切替 */
@media (max-width: 1280px) {

  /* ハンバーガーボタン表示 */
  .hamburger {
    display: block;
    align-items: center;
    align-self: center;
    width: 48px;
    height: 48px;
    border: 0;
    background: transparent;
    cursor: pointer;
    z-index: 1002; /* メニューより上 */
  }

  .hamburger__line {
    display: block;
    width: 24px;
    height: 2px;
    margin: 4px 0;
    background: #000;
    transition: transform .2s ease, opacity .2s ease;
  }

  /* オーバーレイ */
  .menu-overlay {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.4);
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease;
    z-index: 1000;
  }

  /* メニュー本体（.header-inner）を右から出す */
  .header-inner {
    position: fixed;
    top: 0;
    right: 0;
    width: min(86vw, 360px);
    height: 100vh;
    background: #fff;
    transform: translateX(100%);
    transition: transform .25s ease;
    z-index: 1001;
    padding: 80px 20px 20px; /* ヘッダー高さ分を逃がす */
    overflow-y: auto;
  }

  /* ナビを縦積みに */
  .header-inner .g-navi {
    display: block; /* .flex を無効化 */
  }
  .header-inner .g-navi > li {
    margin: 0 0 16px 0;
  }

  /* OPEN状態 */
  body.is-menu-open .menu-overlay {
    opacity: 1;
    pointer-events: auto;
  }
  body.is-menu-open .header-inner {
    justify-items: center;
    transform: translateX(0);
  }

  /* OPEN時にハンバーガーを×に */
  body.is-menu-open .hamburger__line:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }
  body.is-menu-open .hamburger__line:nth-child(2) {
    opacity: 0;
  }
  body.is-menu-open .hamburger__line:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  /* 背景スクロール抑止 */
  body.is-menu-open {
    overflow: hidden;
  }
}


/*背景*/
.blue-box {
  padding: 120px 0 !important;
  color: #fff;
  background: linear-gradient(to bottom, #1B2D57 30%,#275D90 60%, #1B2D57 100%);
}

.light-blue-box {
  padding: 40px 80px;
  background-color: #e7ebf1;
}

.white-box {
  padding: 5%;
  background-color: rgba(255,255,255,0.4);
}

@media screen and (max-width: 768px) {
  .blue-box {
    padding: 80px 0 !important;
  }
  .light-blue-box {
    padding: 5%;
  }
}

@media screen and (max-width: 480px){
  .blue-box {
    padding: 0px 0 !important;
  }
}

/*ボタン*/
.buttonA {
  float: right;
  margin: 0 0 0 auto;
}

.buttonA a {
  align-items: center;
  gap: 8px !important;
  height: 100%;
}
.buttonA p {
  color: #1B2D57;
  font-weight: bold;
}
.buttonB a {
  align-items: center;
  gap: 8px;
  height: 100%;
}
.buttonB p {
  color: #FFF;
  font-weight: bold;
}

.buttonC {
  background:linear-gradient(to bottom,#275D90, #1B2D57);
  width: fit-content;
  padding: 16px 32px;
}

.buttonC p {
  color: #fff;
  font-weight: bold;
}

.detail-button {
  border-bottom: 1px solid #1B2D57;
  padding: 10px;
}
.detail-button a {
  justify-content: space-between;
}
.detail-button p {
  font-size: 13px;
  font-weight: bold;
  color: #1B2D57;
}

.line-buttonA {
  width: 80px;
  height: 1px;
  border: 1px solid #1B2D57;
  align-self: center;
}
.line-buttonB {
  width: 80px;
  height: 1px;
  border: 1px solid #fff;
  align-self: center;
}

.circle-buttonA {
  width: 32px;
  height: 32px;
  border: 2px solid #1B2D57;
  border-radius: 50%;
  margin-left: -20px;
}
.circle-buttonB {
  width: 60px;
  height: 60px;
  border: 2px solid #fff;
  border-radius: 50%;
  margin-left: -20px;
}

@media screen and (max-width: 768px) {
  .circle-buttonA {
    border: 1px solid #1B2D57;
  }
  .circle-buttonB {
    width: 32px;
    height: 32px;
    border: 1px solid #fff;
  }
  .line-buttonA {
    border: 0.5px solid #1B2D57;
  }
  .line-buttonB {
    border: 0.5px solid #fff;
  }
  .buttonB {
    float: right;
    margin: 0 0 0 auto;
  }
}

/*タイトル*/
.threecircle-subtitleA,
.threecircle-subtitleB {
  gap: 0 !important;
}

.circle-subtitleA:nth-child(2),
.circle-subtitleA:nth-child(3) {
  margin-left: -6px;
}
.circle-subtitleA {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid #1B2D57;
}
.circle-subtitleB {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid #fff;
}
.circle-subtitleB:nth-child(2),
.circle-subtitleB:nth-child(3) {
  margin-left: -6px;
}
.title-wrap{
  margin-bottom: 12px;
}
.subtitle-wrap {
  gap: 8px !important;
  align-items: center;
}

.subtitleB {
  text-align: center;
}

.page-title h2 {
  margin: 0 auto;
  text-align: center;
}

@media screen and (max-width: 768px) {
  .circle-subtitleB {
    width: 20px;
    height: 20px;
    border: 1px solid #fff;
  }
}

/*テキスト*/
p {
  font-family: "Yu Gothic", "Noto Sans JP", "Hiragino Kaku Gothic ProN", sans-serif;
  font-size: 14px;
  line-height: 24px;
}

.en {
  font-family:'Pike', 'Helvetica Neue', sans-serif;
}

h2 {
  background:linear-gradient(to right, #1B2D57,#AB2125);
  color: transparent;
  background-clip: text;
  -webkit-background-clip: text; /* Safari用 */
  font-size: 40px;
  line-height: 48px;
  font-weight: bold;
  width: fit-content;
}

h3 {
  font-size: 24px;
  line-height: 32px;
  font-weight: bold;
}

.page-title h2 {
  color: #fff;
  font-size: 40px;
}

.feature-subtitle,
.works-subtitle,
.recruit-subtitle {
  color: #fff;
  font-size: 48px;
  line-height: 56px;
  font-weight: bold;
}

.subtitleA {
  background:linear-gradient(to right, #1B2D57, #63273E 80%, #AB2125);
  color: transparent;
  background-clip: text;
  -webkit-background-clip: text; /* Safari用 */
  font-size: 14px;
  line-height: 22px;
  font-weight: bold;
}

.subtitleB {
  color: #fff;
}

.message-title {
  background:linear-gradient(to right, #1B2D57,#AB2125);
  color: transparent;
  background-clip: text;
  -webkit-background-clip: text; /* Safari用 */
  font-size: 48px;
  line-height: 56px;
  font-weight: bold;
  margin-bottom: 16px;
}

.message-description {
  margin-bottom: 16px;
}

@media screen and (max-width: 480px) {
  .message-title {
    font-size: 40px;
    line-height: 48px;
  }
}

/*メインビジュアル*/
.main-visual-wrap {
  height: 80vh;
  position: relative;
  overflow: hidden;
}

.main-visual-wrap iframe{
  width: 100%;
  height: 100%;
  display: block;
}

.video-overlay{
  position: absolute;
  inset: 0;
  background: transparent;
  z-index: 2;
}

/*VIDEO*/
.main-wrap_video {
  justify-content: center;
  display: grid;
}

@media screen and (max-width: 480px) {
  .video_contents .iframe {
    max-height: 200px;
  }
}

/*MESSAGE*/
.message_contents > .flex {
  gap: 5%;
}

@media screen and (max-width: 768px) {
  .message_contents > .flex {
    flex-direction: column;
  }
  .message_contents .flex .left,
  .message_contents .flex .right {
    width: 100%;
  }
  .message_contents .flex .right {
    margin-top: 40px;
  }
}

/*RECRUIT INFO*/
.recruitInfo-title {
  margin-left: 0;
}

.recruitInfo_contents > .flex {
  gap: 5%;
}

.page-archive-information-date {
  width: 20%;
  border-bottom: 1px solid #1B2D57;
  align-content: center;
}

.page-archive-information-title {
  width: 80%;
  border-bottom: 1px solid #c2cbdd;
  padding: 1% 0;
}

.page-archive-information-title > h3 {
  font-size: 18px;
  line-height: normal;
}

@media screen and (max-width: 768px) {
  .page-archive-information-item {
    margin-bottom: 32px;
  }
  .page-archive-information-item {
    flex-direction: column;
  }
  .page-archive-information-date {
    width: 100%;
    padding-bottom: 8px;
  }
  .page-archive-information-title {
    width: 100%;
    padding-top: 8px;
    border-bottom: 0px solid #c2cbdd;
  }
  .page-archive-information-title > h3 {
    font-size: 16px;
  }
  .recruitInfo_contents > .flex {
    flex-direction: column;
  }
  .recruitInfo_contents .flex .left,
  .recruitInfo_contents .flex .right {
    width: 100%;
  }
  .recruitInfo_contents .left,
  .recruitInfo_contents .right {
    width: 100%;
  }
}

.recruitInfo_contents .left {
  width: 20%;
}

.recruitInfo_contents .right {
  width: 80%;
  justify-content: right;
}

.news-item-wrap {
  width: 100%;
  margin-bottom: 32px;
}

.news-item {
  padding: 16px 8px;
  border-bottom: 1px solid #1B2D57;
  margin-bottom: 8px;
}

/*INTRO*/
.intro-title {
  color: #fff;
}

.intro-title,
.intro-subtitle {
  text-align: center;
  margin: 0 auto 16px auto;
}

.intro-description {
  text-align: center;
  margin: 24px 0;
}

.intro_content {
  justify-items: center;
  justify-self: center;
}

.intro_content img {
  margin: 3% 0 0 0;
  width: 800px;
}

@media screen and (max-width: 768px) {
  .intro-title {
    font-size: 32px;
    line-height: 40px;
  }
}

@media screen and (max-width: 480px) {
  .intro-title {
    font-size: 24px;
    line-height: normal;
    margin-top: 16px;
  }
  .intro-subtitle {
    font-size: 18px;
    line-height: normal;
  }
}

/*FEATURE*/
.feature-title-wrap {
  justify-content: space-between;
}

.feature-item-wrap {
  gap: 2%;
  margin: 24px 0;
}

.feature-item {
  width: calc(96%/3);
  justify-items: center;
  text-align: center;
}

.feature-item img {
  width: 50%;
}

.feature-item-box {
  margin: 16px 0;
  justify-items: center;
}

.feature-item-box .subtitle-wrap {
  margin: 0 auto;
  justify-content: center;
}

.feature-item-text {
  font-size: 20px;
  text-align: center;
}

@media screen and (max-width: 768px) {
  .feature-item-text {
    font-size: 18px;
    line-height: normal;
  }
  .feature-item img {
    width: 120px;
  }
  .feature-item-wrap {
    gap: 4%;
  }
}

@media screen and (max-width: 480px) {
  .feature-item-wrap {
    flex-direction: column;
  }
  .feature-item {
    width: 100%;
    margin: 8px 0;
  }
  .feature-item-box .subtitle-wrap {
    margin: 0 auto 8px auto;
  }
}

/*WORKS*/
.works-title-wrap {
  justify-content: space-between;
}

.works-title-wrap .title-wrap {
  justify-content: left !important;
}

/* クリップするのは外側（ビューポート） */
.main-wrap_works {
  overflow: hidden;
}

/* スライドレーン（動かす要素） */
.works-item-wrap {
  display: flex;
  gap: 24px;           /* JS計算と一致させる */
  margin: 24px 0;
  width: max-content;  /* 中身分だけ伸びる */
  will-change: transform;
}

/* 1枚（カード）に幅を持たせる */
.works-item {
  flex: 0 0 calc((100vw - 48px) / 3); /* 3枚見せ：gap2本=48px */
  max-width: 520px;                  /* 任意：でかくなりすぎ防止 */
}

/* 画像はカードにフィットさせる */
.works-item img {
  display: block;
  width: 100%;
  height: auto;
}

.work-section-block {
  margin-bottom: 160px;
}

@media screen and (max-width: 768px) {
  .work-section-block > .flex {
    flex-direction: column;
  }
  .service-intro-wrap,
  .service-summary {
    width: 100% !important;
  }
  .service-intro-wrap {
    margin-bottom: 32px;
  }
  .works-item {
    flex: 0 0 calc((100vw - 48px) / 2); 
    aspect-ratio: 2/1;
  }
}

@media screen and (max-width: 480px) {
  .works-item-wrap {
    gap: 4px;
    margin: 16px 0;
  }
  .works-item {
    flex: 0 0 calc((100vw - 48px) / 1); 
  }
}

/*RECRUITMENT*/
.recruit-item {
  gap: 2%;
  margin: 32px 0 48px 0;
  align-items: center;
}

.recruit-item img {
  width: 20%;
  aspect-ratio: 1/1;
  border-radius: 50%;
  object-fit: cover;
}

.recruit-item-content-wrap {
  width: 100%;
}

.recruit-item-content {
  justify-content: space-between;
}

.recruit-item-description {
  margin: 1% 0;
}

.recruit-item-thumbnail {
  width: 20%;
}

.page-single-recruit-title-wrap h3,
.page-single-recruit-title-wrap p {
  text-align: center;
  margin-top: 8px;
}

.page-single-recruit-thumbnail-wrap {
  margin: 80px 0;
}

.page-recruit-title {
  justify-content: center;
  margin-bottom: 40px;
}

.page-recruit-item {
  padding: 32px 8px;
}

.page-recruit-item-label {
  align-content: center;
  border-bottom: 1px solid #1B2D57;
  padding: 16px;
  width: 200px;
}
.page-recruit-item-content {
  border-bottom: 1px solid #9caac6;
  padding: 16px;
  width: calc(100% - 200px);
}

.page-recruit-item-content p {
  font-size: 15px;
}
.page-recruit-item-content li {
  margin-bottom: 8px;
}

@media screen and (max-width: 768px) {
  .page-single-recruit-title-wrap {
    margin-bottom: 8px;
  }
  .page-recruit-item {
    flex-direction: column;
  }
  .page-recruit-item-label {
    width: 100%;
    padding: 16px 0 4px 0;
  }
  .page-recruit-item-label > h3 {
    font-size: 18px;
  }
  .page-recruit-item-content {
    width: 100%;
    border-bottom: 0px;
    padding: 8px 0;
  }
  .page-single-recruit-thumbnail-wrap {
    flex-flow: wrap;
    margin: 24px 0 80px 0;
  }
  .page-single-recruit-thumbnail {
    width: calc(98%/2);
    margin-bottom: 16px;
  }
  .recruit-item {
    flex-direction: column;
    margin-bottom: 64px;
  }
  .recruit-item-thumbnail {
    width: 50%;
    margin-bottom: 8px;
  }
  .recruit-item-title-wrap .subtitle-wrap {
    margin-bottom: 8px;
  }
  .recruit-item-description {
    margin: 8px 0 16px 0;
  }
  .recruit-item > .buttonB {
    float: right;
    margin: 0 0 0 auto;
  }
}

/*PRESIDENT*/
.president_contents .flex{
  gap: 5%;
}

.president_contents .left,
.president_contents .right {
  width: 50%;
}

.president_contents .left {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

@media screen and (min-width: 1281px) {
  .president-item > h3 {
    font-size: 32px;
    line-height: normal;
  }
}

@media screen and (max-width: 1280px) {
  .president-item > h3 {
    font-size: 24px;
  }
}

@media screen and (max-width: 768px) {
  .president_contents > .flex {
    flex-direction: column;
  }
  .president_contents .flex .left,
  .president_contents .flex .right {
    width: 100%;
    margin-bottom: 24px;
  }
}

@media screen and (max-width: 480px) {
  .president-item h3 {
    font-size: 20px;
    line-height: normal;
  }
}



/*STORY*/
.story-title-wrap {
  justify-content: space-between;
}

.  {
  gap: 2%;
}

.story-item-wrap {
  flex-flow: wrap;
}

.story-item {
  width: calc(96%/3);
  margin-bottom: 40px;
}

.story-item img {
  margin-bottom: 16px;
}

.story-item-number {
  gap: 4px;
  align-items: center;
}

.story-item-number {
  font-weight: bold;
}

.story-item-number p:last-child {
  font-size: 24px !important;
  line-height: normal;
}

.story-item-title {
  font-size: 20px;
  line-height: 28px;
  margin: 4px 0;
  font-weight: bold;
}

.page-story-wrap .left {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-story-wrap .page-story-wrap {
  font-size: 18px;
  font-weight: bold;
}

.page-single-story-title {
  align-content: center;
}

.page-single-story-title .title {
  margin-top: 8px;
}

.page-single-story-item-wrap {
  padding: 5% 0 0 0;
  margin: 0 auto;
  width: 60%;
}

.page-single-story-item {
  padding: 2% 0;
}

.story_q {
  width: 100%;
  font-size: 15px;
  line-height: 24px;
  font-weight: bold;
  margin-bottom: 8px;
  padding-left: 8px;
  border-left: 4px solid #1B2D57;
}

.story_a {
  width: 100%;
  font-size: 15px;
  line-height: 24px;
}

.page-story-wrap h2 {
  font-size: 32px;
  line-height: normal;
}

@media screen and (max-width: 768px) {
  .page-story-wrap .page-single-title {
    font-size: 18px !important;
  }
  .page-story-wrap h2 {
    font-size: 28px;
  }
  .page-story-wrap img {
    aspect-ratio: 16/9 !important;
    clip-path: none !important;
    margin-bottom: 24px;
  }
  .page-single-story-item-wrap {
    width: 80%;
  }
  .page-single-story-item {
    padding: 3% 0;
  }
  .story-item {
    width: calc(98%/2);
    margin-bottom: 24px;
  }
  .story-item-title {
    font-size: 18px;
    line-height: normal;
  }
  .story-item-section {
    font-size: 10px;
    line-height: normal;
  }
}

@media screen and (max-width: 480px) {
  .page-story-wrap h2 {
    font-size: 20px;
  }
  .story-item-wrap {
    margin-bottom: 32px;
  }
  .page-single-story-item-wrap {
    width: 100%;
  }
  .page-single-story-item {
    padding: 4% 0;
  }
  .page-single-story-title-wrap {
    flex-direction: column;
  }
  .page-single-story-thumbnail,
  .page-single-story-title {
    width: 100%;
  }
  .page-single-story-thumbnail {
    margin-bottom: 16px;
  }
  .subtitle-wrap {
    margin-bottom: 2px;
  }
  .story-item-title {
    font-size: 16px;
    line-height: normal;
  }
  .page-single-story-title h3 {
    font-size: 20px;
    line-height: normal;
  }
}

/*FAQ*/

.faq-item {
  border-bottom: 1px solid #151515;
  padding: 16px 0;
}

.faq-title {
  font-size: 15px !important;
  font-weight: bold;
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  font: inherit;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* 右側に + / - のインジケータ */
.faq-title::after {
  content: "+";
  display: inline-block;
  margin-left: 16px;
}

.faq-item.is-open .faq-title::after {
  content: "−";
}

.faq-answer {
  padding-top: 12px;
  line-height: 1.8;
}

.faq-answer p {
  font-size: 13px;
}


/*フッター*/
.footer {
  padding: 5% 3% 3% 3%;
  background: linear-gradient(to top,rgba(231,235,241,0)0%,rgb(231,235,241,1)100%),url(assets/images/bg_1.png);
}

.footer-menu {
  gap: 2%;
  width: 65%;
}

.footer-item-wrap {
  width: calc(92%/5);
}

.footer-logo-wrap {
  width: 30%;
}

.footer-logo-wrap img {
  width: 100%;
  margin-bottom: 24px;
}

.footer-item-title {
  padding: 8px 0;
  border-bottom: 1px solid #151515;
  width: 100%;
}

.footer-item-title h3 {
  font-size: 18px;
}

.footer-item-menu {
  padding: 8px 0;
}

.footer-item-menu a {
  display: block;
  margin: 10px 0;
}

.footer-item-menu li {
  line-height: normal;
  font-size: 13px;
}

.footer-upper {
  gap: 5%;
  margin-bottom: 40px;
}

.footer-lower {
  justify-content: space-between;
  font-weight: bold;
}

@media screen and (max-width: 768px) {
  .footer-upper {
    flex-direction: column;
  }
  .footer-logo-wrap {
    width: 320px;
  }
  .footer-menu {
    width: 100%;
  }
}

@media screen and (max-width: 768px) {
  .footer-menu {
    flex-direction: column;
  }
  .footer-item-wrap {
    width: 100%;
  }
}

@media screen and (max-width: 480px) {
  .footer {
    padding: 40px 3% 3% 3%;
  }
}

/*c-list*/
.c-list {
    position: relative;
    padding-top: 50px;
    padding-bottom: 50px;
}

.c-list::before {
    position: absolute;
    top: 0;
    left: 50%;
    display: block;
    width: 4px;
    height: 100%;
    background-color: #1B2D57;
    content: "";
    transform: translateX(-50%);
}

@media screen and (max-width: 768px) {
    .c-list::before {
        left: 6px;
        transform: translateX(0);
    }
}

.c-list__item {
    box-sizing: border-box;
    width: 50%;
}

@media screen and (max-width: 768px) {
    .c-list__item {
        width: 100%;
    }
    .c-list__item:nth-of-type(n+2) {
        margin-top: 10px;
    }
}

.c-list__item:nth-of-type(even) {
    margin-left: auto;
}

.c-list__head, .c-list__body {
    padding-top: .5em;
    padding-bottom: .5em;
}

@media screen and (max-width: 768px) {
    .c-list__head, .c-list__body {
        padding-left: 36px;
    }
}

@media screen and (min-width: 768px) {
    .c-list__item:nth-of-type(odd) .c-list__head, .c-list__item:nth-of-type(odd) .c-list__body {
        padding-right: 1.5em;
    }
    .c-list__item:nth-of-type(even) .c-list__head, .c-list__item:nth-of-type(even) .c-list__body {
        padding-left: 1.5em;
    }
}

.c-list__head {
    position: relative;
    border-bottom: 1px solid #1B2D57;
}

.c-list__head::after {
    position: absolute;
    right: -8px;
    bottom: -8px;
    display: block;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: #1B2D57;
    content: "";
}

@media screen and (max-width: 768px) {
    .c-list__head::after {
        right: auto;
        left: 0;
    }
}

@media screen and (min-width: 768px) {
    .c-list__item:nth-of-type(even) .c-list__head::after {
        right: auto;
        left: -8px;
    }
}

.c-list__body > *:first-child {
    margin-top: 0 !important;
}

.c-list__ttl {
    color: #1B2D57;
    font-weight: bold;
    font-size: 24px;
}

@media screen and (min-width: 768px) {
  .c-list__item:nth-of-type(even) .c-list__ttl {
      text-align: left;
  }
}

@media screen and (max-width: 768px) {
  .c-list__ttl{
    font-size: 18px;
  }
}

.c-list__txt {
    margin-top: 1em;
}


/*下層ページ共通*/
.page-content {
  padding: 5% !important;
}

.page-content .title-wrap {
  justify-items: center;
  margin-bottom: 40px;
}

.page-about-title {
  background:linear-gradient(to right, #1B2D57,#AB2125);
  color: transparent;
  background-clip: text;
  -webkit-background-clip: text; /* Safari用 */
  font-size: 48px;
  line-height: 56px;
  font-weight: bold;
  margin-bottom: 16px;
}

.page-mv-wrap {
  padding: 5%;
}

.page-mv-wrap .title-wrap {
  margin: 8px 0;
}

@media screen and (max-width: 768px) {
  .page-mv-wrap > .flex {
    flex-direction: column;
  }
  .page-works-title-wrap > .title-wrap {
    margin: 0 0 16px 0;
  }
  .page-content {
    padding: 64px 5% !important;
  }
  .page-mv-wrap .left,
  .page-mv-wrap .right {
    width: 100%;
  }
  .page-mv-wrap .left {
    margin-bottom: 16px;
  }
  .page-mv-wrap img {
    aspect-ratio: 3 / 1;
    object-fit: cover;
    object-position: center;
    clip-path: circle(70% at 30% 50%);
  }
  .page-content .title-wrap {
    margin-bottom: 24px;
  }
}

@media screen and (max-width: 480px) {
  .page-about-title {
    font-size: 32px;
    line-height: 40px;
  }
  .page-content {
    padding: 40px 5% !important;
  }
}

/*ABOUTページ*/
.top-message-wrap {
  align-content: center;
}

.top-message .title-wrap .subtitle-wrap,
.philosophy .title-wrap .subtitle-wrap,
.numbers .title-wrap .subtitle-wrap{
  justify-content: center;
}

.top-message .title-wrap h2,
.philosophy .title-wrap h2,
.numbers .title-wrap h2{
  margin: 0 auto;
}

@media screen and (max-width: 768px) {
  .top-message .title-wrap .subtitle-wrap,
  .philosophy .title-wrap .subtitle-wrap,
  .numbers .title-wrap .subtitle-wrap{
    justify-content: left;
  }
  .top-message .title-wrap h2,
  .philosophy .title-wrap h2,
  .numbers .title-wrap h2{
    margin: 0 auto 0 0;
  }
  .top-message > .flex {
    flex-direction: column;
  }
  .ceo-img {
    margin-bottom: 24px;
  }
}


.philosophy {
  justify-self: center;
  text-align: -webkit-center;
}

.top-message-title {
  font-size: 20px;
  line-height: 32px;
  margin-bottom: 16px;
}

.numbers-title-wrap {
  background-color: #1B2D57;
  padding: 8px 16px;
  margin-bottom: 8px;
}

.numbers-title-wrap p {
  color: #fff;
  text-align: center;
}

.numbers-row1,
.numbers-row2 {
  margin-bottom: 40px;
}

.numbers-item {
  width: calc(96%/3);
  text-align-last: center;
}

.numbers-item img {
  width: 240px;
}

.number-wrap span {
  font-size: 32px;
  font-weight: bold;
  align-content: center;
  background: linear-gradient(to right, #1B2D57,#AB2125);
  color: transparent;
  -webkit-background-clip: text;
}

.page-works-title-wrap {
  margin-bottom: 40px;
}

.page-works-title-wrap .title-wrap,
.page-works-item .title-wrap,
.page-culture-title-wrap .title-wrap,
.page-culture-item .title-wrap,
.culture-faq .title-wrap,
.recruit-title-wrap .title-wrap{
  justify-items: left;
}

.page-works-item {
  margin-bottom: 24px;
}

.page-works-item img {
  margin-bottom: 24px;
}

.page-works-item .detail-button {
  width: 100%;
  border-bottom: 1px solid #fff;
}

.page-works-item .detail-button p {
  color: #fff;
}

.page-works-item .works-title {
  margin: 8px 0;
}

.page-works-item .works-description {
  margin-bottom: 16px;
}

@media screen and (max-width: 768px){
  .numbers-title-wrap {
    padding: 8px;
  }
  .page-history-title {
    margin-bottom: 24px !important;
  }
}

@media screen and (max-width: 480px) {
  .numbers-title-wrap {
    padding: 4px;
  }
  .numbers-title-wrap p {
    font-size: 12px;
  }
  .numbers-row3 {
    flex-direction: column;
  }
  .numbers-row3 .numbers-item {
    width: 100%;
    margin-bottom: 16px;
  }
}

.page-company-title,
.page-history-title,
.page-culture-title {
  margin-bottom: 64px;
}

.page-company-title,
.page-history-title,
.page-culture-title {
  justify-content: center;
}

.page-company-title h3,
.page-history-title h3,
.page-culture-title h3 {
  text-align: center;
  color: #1B2D57;
}

.page-company-contents {
  padding: 5%;
  background-color: ;
}

.page-company-item {
  margin-bottom: 8px;
}

.page-company-item .left,
.page-company-item .right {
  padding: 16px 8px;
}

.page-company-item .left {
  width: 20%;
  border-bottom: 1px solid #1B2D57;
  align-content: center;
}

.page-company-item .right {
  width: 80%;
  border-bottom: 1px solid #c2cbdd;
}

.buttonBack-wrap {
  padding: 5%;
  justify-self: center;
  text-align: -webkit-center;
}

.buttonBack {
  background-color: #1B2D57;
  width: fit-content;
  padding: 16px 80px;
}

.buttonBack p {
  color: #fff;
  font-weight: bold;
}

.buttonEntry-wrap {
  padding: 5%;
  width: 100%;
  justify-content: center;
}

.buttonEntry {
  background-color: #1B2D57;
  width: fit-content;
  padding: 16px 80px;
}

.buttonEntry p {
  color: #fff;
  font-weight: bold;
  text-align: center;
}

.page-content .main-wrap_works,
.page-content .main-wrap_recruit{
  padding: 0;
}

@media screen and (max-width: 768px) {
  .buttonEntry {
    margin-bottom: 24px;
    width: 100%;
  }
  .buttonEntry-wrap {
    flex-direction: column;
  }
  .page-company-item {
    flex-direction: column;
  }
  .page-company-item .left,
  .page-company-item .right {
    width: 100%;
  }
  .page-company-item .left {
    padding: 16px 8px 0px 8px;
  }
  .page-company-item .left p {
    font-weight: bold;
  }
  .page-company-item .right {
    padding: 8px 8px 16px 8px;
    border-bottom: 0px;
  }
  .page-company-title {
    margin-bottom: 32px; 
  }
}

/*WORKページ*/
.service-title {
  font-size: 32px;
  line-height: normal;
  margin: 16px 0;
}

.service-summary li {
  margin-bottom: 4px;
  font-size: 14px;
}

.service-summary {
  width: 60%;
}

.service-intro-wrap{
  width: 40%;
}

.service .title-wrap,
.service-detail .title-wrap{
  justify-items: left;
  margin-bottom: 40px;
}

.service-intro-title {
  margin-bottom: 16px;
}

.description-title {
  margin-bottom: 8px;
}

.service-detail {
  margin: 40px 0;
  gap: 5%;
  border-top: 1px solid #151515;
  padding-top: 40px;
}
.service-detail .right{
  align-content: center;
}

.service-detail .left .title-wrap h2 {
  margin-left: 0;
}

.service-detail h2 {
  font-size: 28px;
  line-height: normal;
}

.service-detail .image-wrap img {
  width: calc(92%/4);
}

.service-detail .description-wrap {
  margin-bottom: 40px;
}

.page-works-item-wrap {
  flex-wrap: wrap;
}

.page-works-item {
  width: calc(98%/2);
}

.works-thumbnail img{
  aspect-ratio: 16/9;
  width: 100% !important;
  height: auto !important;
  object-fit: cover;
}

@media screen and (max-width: 768px) {
  .service-detail .left,
  .service-detail .right {
    width: 100%;
  }
  .page-works-item h3{
    font-size: 18px;
    line-height: normal;
  }
  .works-title-wrap .subtitle-wrap{
    justify-self: left;
  }
  .service .title-wrap {
    margin-bottom: 24px;
  }
  .service-title {
    font-size: 28px;
    margin: 8px 0 16px 0;
  } 
  .service-intro-title {
    font-size: 20px;
  }
  .service-detail h3 {
    font-size: 18px;
    line-height: normal;
  }
  .service-detail h2 {
    font-size: 24px;
    line-height: normal;
  }
}

@media screen and (max-width: 480px) {
  .page-works-item h3 {
    font-size: 15px;
  }
}


/*CULTUREページ*/
.culture-title-wrap {
  margin: 4px 0;
  gap: 5%;
}

.culture-title {
  align-content: center;
}

.culture-title-wrap img {
  width: 120px;
  aspect-ratio: 1/1;
}

 .culture-title-1 {
  font-size: 50px;
  line-height: 50px;
  width: max-content;
  margin-bottom: 8px;
}

 .culture-title-2 {
  font-size: 24px;
  line-height: 24px;
  width: max-content;
}

.culture-summary {
  align-content: center;
}

.vertical-line {
  justify-self: center;
  height: 160px;
  width: 1px;
  background-color: #1B2D57;
  margin: 0 auto;
}

.page-copy {
  justify-items: center;
  text-align: center;
}

.copy-title h2 {
  font-size: 24px;
  margin: 0 auto;
}

.copy-title {
  justify-items: center;
}

.atmosphere .light-blue-box {
  flex-wrap: wrap;
}

.atmosphere-item {
  width: calc(94%/4);
  margin-bottom: 16px;
}

.atmosphere .light-blue-box img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}

.page-culture-item {
  margin: 80px 0;
}

.page-culture-item .description-title {
  font-size: 20px;
  line-height: 28px;
  margin-bottom: 4px;
}

.page-culture-item .title-wrap {
  margin-bottom: 16px;
}

.culture-faq .left{
  width: 30%;
}

.culture-faq .right{
  width: 70%;
}

@media screen and (max-width: 768px) {
  .page-culture-item {
    margin: 40px 0;
  }
  .page-culture-item > .flex {
    flex-direction: column;
  }
  .page-culture-item > .flex .left,
  .page-culture-item > .flex .right {
    width: 100%;
  }
  .page-culture-item > .flex .left {
    margin-bottom: 24px;
  }
  .page-culture-item .title-wrap {
    margin-bottom: 8px;
  }
  .culture-title-wrap {
    margin: 0;
  }
  .culture-title-wrap img {
    width: 80px;
  }
  .culture-title {
    align-items: baseline;
    align-self: center;
  }
  .culture-title-1 {
    margin-bottom: 0;
    font-size: 32px;
    line-height: 40px;
  }
  .culture-title-2 {
    font-size: 20px;
  }
  .page-culture-title {
    margin-bottom: 24px;
  }
  .atmosphere-item {
    width: calc(98%/2);
  }
  .culture-faq > .flex {
    flex-direction: column;
  }
  .culture-faq > .flex .left,
  .culture-faq > .flex .right {
    width: 100%;
  }
  .culture-summary {
    margin-bottom: 32px;
  }
  .copy-title h2 {
    line-height: normal;
    margin-bottom: 8px;
  }
}

@media screen and (max-width: 480px) {
  .page-culture-item .description-title {
    font-size: 18px;
  }
  .culture-intro-title {
    font-size: 18px;
  }
}

/*RECRUITMENTページ*/
.page-recruit-title {
  justify-items: center;
  text-align: center;
}

.page-recruit-gallery {
  margin: 40px 0;
}

.page-recruit-gallery img {
  width: calc(92%/4);
  aspect-ratio: 16/9;
}

.page-footer .works_content {
  padding: 5% 0;
}

/*ENTRY*/
.entry_contents {
  width: 50%;  
}

.entry_contents .button p {
  font-size: 18px;
}

.entry-box {
  align-content: center;
  height: 400px;
  background: linear-gradient(to top,rgba(231,235,241,0.5)0%,rgb(231,235,241,1)100%),url(assets/images/bg_3.png); 
  background-position: center;
}

.entry-box .flex .left,
.entry-box .flex .right {
  width: 50%;
}

@media screen and (max-width: 768px) {
  .entry_contents,
  .entry_contents .left,
  .entry_contents .right {
    width: 100%;
  }
  .entry-box {
    background-position-x: center;
    height: 500px;
  }
}

@media screen and (max-width: 480px) {
  .entry_contents .button p {
    font-size: 16px;
  }
}

/*INFORMATION*/
.page-single-information-wrap {
  padding: 5% 10%;
}

.page-single-title-wrap {
  margin-bottom: 40px;
}

/*CONTACT*/
.page-contact-wrap {
  padding: 5% 10%;
}
.contact-item {
  margin: 8px 0;
}
.contact-item .label {
  width: 200px;
  align-content: center;
}
.contact-item .item {
  background-color: #f5f5f5;
  padding: 16px;
  border: 1px solid #c4c4c4;
}
.item-wrap .item {
  width: calc(100% - 100px);
}
.no-haikei {
  background-color: transparent !important;
}
.wpcf7-select {
  width: 100%;
}
.kikan2 .item {
  width: calc((100% - 60px)/3);
}
.item-box p {
  align-self: center;
}
.item-box .item {
  width: inherit;
}
.item-box {
  width: calc(100% - 100px);
}
.wpcf7-number {
  width: 100%;
}
.contact-content-wrap {
  padding: 2% 0;
  margin-bottom: 5%;
  border-bottom: 1px solid #151515;
}
.repeater-field-button-add {
  background-color: transparent !important;
  border-radius: 0 !important;
  width: 100% !important;
  display: block !important;
  text-align: center;
  color: #151515 !important;
  border: 1px dotted #151515;
  padding: 24px !important;
}
.cf7-repeater {
  padding: 4% 0 !important;
}
.privacy-policy-box {
  width: 100%;
  height: 400px;
  border: 1px solid #151515;
  overflow-y: scroll;
  padding: 2%;
  margin: 3% 0;
}
.contact-title-wrap h3 {
  color: #1B2D57;
}
.wpcf7-form-control {
  width: 100%;
}
.item-wrap {
  width: 100%;
}
.hissu {
  width: 100px;
  height: fit-content;
  background-color: #1B2D57;
  color: #fff;
  align-content: center;
  text-align: center;
  padding: 8px 0;
  align-self: center;
}
.ninni {
  width: 100px;
  height: fit-content;
  background-color: #C5C8CC;
  color: #fff;
  align-content: center;
  text-align: center;
  padding: 8px 0;
  align-self: center;
}
.wpcf7-submit {
  background-color: #1B2D57;
  padding: 24px;
  color: #fff;
  width: 50%;
  text-align: center;
  font-size: 18px;
}
.contact-submit-wrap p {
  text-align-last: center;
}


/* CF7 acceptance checkbox 表示崩れ対策（最小） */
.wpcf7-acceptance input[type="checkbox"]{
  -webkit-appearance: checkbox !important;
  appearance: checkbox !important;
  width: auto !important;
  height: auto !important;
  margin: 0 8px 0 0 !important;
  opacity: 1 !important;
  position: static !important;
  transform: none !important;
}

/* ラベルとチェックボックスを横並び */
.wpcf7-acceptance .wpcf7-list-item label{
  display: inline-flex;
  align-items: center;
}

.privacy-policy-box p {
  white-space: pre-line;
}

.contact-para {
  margin-bottom: 16px;
}

@media screen and (max-width: 768px) {
  .wpcf7-submit {
    width: 100%;
  }
  .page-contact-wrap {
    padding: 5%;
  }
  .contact-item {
    flex-direction: column;
    margin: 8px 0 24px 0;
  }
}

@media screen and (max-width: 480px) {
  .contact-item .hissu,
  .contact-item .ninni {
    width: 40px;
    padding: 2px 8px;
  }
  .hissu p,
  .ninni p {
    font-size: 10px;
  }
  .contact-item .item-wrap {
    margin-top: 8px;
  }
  .contact-item .item-wrap .item {
    width: calc(100% - 40px);
  }
  .item-box {
    width: calc(100% - 40px);
  }
  .contact-title-wrap h3 {
    font-size: 18px;
  }
  .wpcf7 .wpcf7-submit:disabled {
    width: 100%;
  }
}