/*
Theme Name: Client
Author: CordialPleasure Co.,Ltd.
Author URI: http://c-pleasure.jp/
Description: 専用テーマ
*/


/*----------------------
共通
-----------------------*/

html {
  scroll-behavior: auto !important;
  margin-top: inherit !important;
}

body {
  background-image: url('assets/img/common/fix-bg.png');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  width: 100%;
  height: 100%;
  font-size: 16px;
  color: #333;
  background-attachment: fixed;
  background-size: cover;
  background-repeat: no-repeat;
  overflow-x: hidden;
  letter-spacing: 0.08em;
  line-height: 1.5;
  margin-top: 100px;
  font-family: 'Noto Sans JP', sans-serif;

  @media screen and (max-width: 768px) {
    background-attachment: scroll;
    background-repeat: repeat;
    background-size: auto;
    background-position: top left;
    margin-top: 80px;
  }
}

input,
textarea,
select,
button {
  font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', Meiryo, sans-serif;
}

body.home {
  margin-top: 0 !important;
}

img {
  width: 100%;
}

li {
  list-style: none;
}

a {
  color: #3e3e3e;
  cursor: pointer;
}

.center {
  text-align: center;
}

/*----------------------
  　パンくずリスト
  -----------------------*/

.breadcrumb>li+li::before {
  content: "＞";
  padding: 0px 5px;
}

.breadcrumb {
  max-width: 1580px;
  margin: 24px auto 0;
  display: flex;
  font-size: 14px;
}

.breadcrumb a {
  color: #333;
}

/*----------------------
  　404
  -----------------------*/
.error-page-container {
  padding-top: 300px;
  text-align: center;
}

.error-page-ttl-wrap {
  font-size: 38px;
  margin-bottom: 32px;
}

.error-text-center {
  margin-bottom: 48px;
}

.submit-container.error {
  margin-bottom: 150px;
}


/*----------------------
  　お問い合わせフォーム
  -----------------------*/

.contact-container {
  padding: 0 16px;
}

.contact-container {
  max-width: 950px;
  margin: 88px auto;
}

.contact-container p {
  margin-bottom: 10px;
}

.submit-container {
  text-align: center;
  max-width: 300px;
  margin: 0 auto;
  margin-top: 24px;
}

.submit-container button {
  text-align: center;
  display: inline-block;
  width: 100%;
  max-width: 640px;
  border-radius: 10px;
  background: #646464;
  padding: 16px 48px;
  margin-top: 40px;
  transition: 0.3s;
  color: #fff;
  font-weight: nomal;
  font-size: 20px;
  border-radius: 10px;
  box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.16);
}

@media screen and (max-width:768px) {
  .contact-confirm.submit-container button {
    padding: 16px 48px;
    font-size: 16px;
    width: 240px;
    margin: 10px auto 0;
  }
}

.contact-confirm .message-req {
  top: 50%;

  @media screen and (max-width:768px) {
    top: 70% !important;
  }
}

.contact-content-message {
  text-align: center;
}

.contact-completion {
  text-align: center;
}

.contact-confirm {
  display: flex;
  justify-content: center;
  gap: 20px;

  @media screen and (max-width:768px) {
    flex-direction: column;
    gap: 0px;
  }
}

/*　テーブル　*/
.contact_table table {
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
  font-size: 16px;
  text-align: center;
  color: #fff;
}


.contact_table {
  font-family: "noto-sans-cjk-jp", sans-serif;
}

.contact_table table th {
  box-sizing: border-box;
  padding: 15px;
  vertical-align: middle;
  font-weight: bold;
  text-align: left;
  align-content: center;
}

.error {
  color: red;
}

.contact-message {
  align-content: flex-start !important;
}

.contact_table table td {
  box-sizing: border-box;
  padding: 16px;
  vertical-align: top;
  text-align: left;
  color: #2b2b2b;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 400px;
}

.contact_table th {
  min-width: 338px;
  position: relative;
}

.contact_table label {
  padding-left: 43px;
  font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', Meiryo, sans-serif;
  font-weight: 500;
  font-size: 16px;
  color: #2b2b2b;
}

.req {
  color: #fff;
  font-weight: normal;
  display: inline-block;
  background: #4C4CFF;
  padding: 5px 7px;
  border-radius: 4px;
  position: absolute;
  left: 0;
  top: 50%;
  font-size: 12px;
  color: #fff;
  transform: translateY(-50%);
}

.unreq {
  color: #ffffff;
  font-weight: normal;
  display: inline-block;
  padding: 5px 7px;
  font-size: 12px;
  border-radius: 4px;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  background: #b7b7b7;
}

.message-req {
  color: #fff;
  font-weight: normal;
  display: inline-block;
  background: #4C4CFF;
  padding: 5px 7px;
  border-radius: 4px;
  position: absolute;
  left: 0;
  top: 10%;
  font-size: 12px;
  color: #fff;
  transform: translateY(-50%);
}

.contact-confirm .message-req {
  top: 30px;
}

.contact_table input::placeholder {
  color: #c4c4c4;
}

.contact_table textarea::placeholder {
  color: #c4c4c4;
}

.form-control {
  font-size: 16px;
  font-weight: 400;
  height: auto;
  padding: 10px 12px;
  font-weight: 500;
  text-align: left;
  color: #ffffff;
  border-radius: 5px;
  background: linear-gradient(135deg, #4c4cff8c, #78aeff83);
}

.mwform-radio-field-text {
  color: #333;
}

.form-control:focus {
  color: #495057;
  background-color: #fff;
  border-color: #e3e3e3;
  outline: 0;
  box-shadow: 0 0 0 0.2rem #e3e3e3;
}

input::placeholder {
  color: #dddddd !important;
}

@media all and (max-width: 991px) {
  .form-control {
    width: 100%;
  }

  .contact_table label {
    font-size: 16px;
  }
}

@media all and (max-width: 768px) {

  .contact_table table th,
  .contact_table table td {
    display: block;
    width: 100%;
    border-bottom: none;
  }

  .req {
    left: 16px;
    top: 73%;
  }

  .unreq {
    left: 16px;
    top: 73%;
  }

  .message-req {
    padding: 5px 7px;
    left: 18px;
    top: 71%;
  }

  .contact_table table th {
    padding: 15px 15px 0 15px;
    align-content: center;
    height: 100%;
  }

  .contact_table input::placeholder {
    font-size: 14px;
  }

  .contact_table label {
    font-size: 16px;
  }

  .contact_table label {
    padding-left: 58px;
  }
}

/*----------------------
  　エントリーフォーム
  -----------------------*/
.entry-container {
  max-width: 950px;
  margin: 90px auto 160px;
  text-align: center;

  @media screen and (max-width:768px) {
    margin: 70px auto 78px;
  }
}

.btn-wrap {
  text-align: center;
  margin-top: 40px;
}

.btn {
  display: inline-block;
  padding: 16px 48px;
  background: #c4c4c4;
  color: #fff;
  border-radius: 5px;
}

.radio-btn label {
  padding-left: inherit !important;
}

.entry-content-message {
  text-align: center;
}

.birthdate-color {
  color: #6b6b6b;
}

.entry-birthday {
  display: flex !important;
  flex-direction: unset !important;
  gap: 16px;
}

select:invalid {
  color: gray;
}


.entry-birthday .selectBtn::after {
  left: 95px;

  @media screen and (max-width:768px) {
    left: 222px;
  }
}

.entry-confirm .message-req {
  top: 50%;

  @media screen and (max-width:768px) {
    top: 69% !important;
  }
}

.entry-sec-ttl {
  text-align: center;
  font-size: 32px;
  color: #333;

  @media screen and (max-width:991px) {
    font-size: 20px;
  }
}

.contact_table th label {
  font-size: 16px;
}

.contact_table td {
  font-size: 16px;
}

.contact_table textarea {
  font-size: 16px;
}

.submit-container .btn {
  font-size: 16px;
  padding: 10px 20px;
  width: 100%;
  max-width: 140px;
  margin: 0 auto;

  @media screen and (max-width:991px) {
    width: 100%;
    max-width: 140px;
    margin: 0 auto;
  }
}

/* is-showがついている時のスタイル */
.tab__panel-box.is-show {
  display: block;
}

@media screen and (max-width:991px) {
  .tab__menu {
    flex-direction: column;

  }

  .tab__menu-item {
    width: inherit;
    padding: 4px;
  }
}

input[type="radio"] {
  position: relative;
  width: 16px;
  height: 16px;
  background: #dfdfdf;
  filter: drop-shadow(0px 8px 16px rgba(0, 0, 0, 0.16));
  border-radius: 50%;
  vertical-align: -2px;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

input[type="radio"]:checked:before {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #0400ff;
  content: '';
}

.radio-btn {
  color: #000;
}

/*----------------------
  　プライバシーポリシー
  -----------------------*/

.privacy-container {
  max-width: 1280px;
  margin: 68px auto;
}

.privacy-item-wrap {
  margin: 48px;
}

.privacy-item-ttl {
  position: relative;
  font-size: 20px;
  color: #0400ff;
  font-weight: 600;
  margin-bottom: 10px;
  margin-left: 16px;
  align-items: center;
}

.privacy-item-ttl::before {
  content: "";
  position: absolute;
  left: -16px;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 80%;
  background: linear-gradient(135deg, #4C4CFF, #78AEFF);
  border-radius: 2px;
}

.privacy-list {
  margin: 20px 0;
}

@media screen and (max-width: 991px) {
  .privacy-item-wrap {
    margin: inherit;
    padding: 0 16px;
  }

  .privacy-item-wrap {
    margin: 68px auto;
  }
}

/*----------------------
ヘッダー
-----------------------*/
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.575);
  padding: 10px 20px;
  z-index: 1000;
  transition: background-color 0.3s ease, color 0.3s ease;
  box-sizing: border-box;
  height: 100px;

  @media (max-width: 768px) {
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: center;
    background-color: rgb(255, 255, 255);
    padding: 15px 20px;
    height: 80px;
  }
}

.header-logo {
  display: flex;
  align-items: center;
  height: 80px;

  @media (max-width: 768px) {
    position: relative;
    z-index: 10000;
    height: 40px;
    width: auto;
  }
}

.header-logo img {
  @media (max-width: 768px) {
    width: auto;
    height: 30px;
  }
}

body.page header {
  color: #000;
}

.nav {
  @media (max-width: 1170px) {
    display: none;
  }
}

.nav ul {
  display: flex;
}

.hamburger-icon {
  display: none;

  @media (max-width: 1280px) {
    width: 30px;
    height: 22px;
    position: relative;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    z-index: 10001;

    span {
      display: block;
      height: 3px;
      width: 100%;
      background-color: #333;
      border-radius: 2px;
      transition: 0.4s ease;
      transform-origin: center;
    }
  }
}

.hamburger-icon.active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.hamburger-icon.active span:nth-child(2) {
  opacity: 0;
}

.hamburger-icon.active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/*----------------------
  ナビゲーション
----------------------*/
.nav-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: rgba(255, 255, 255, 0.8);
  opacity: 0;
  transform: translateY(-30px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  z-index: 9999;
  pointer-events: none;
}

.nav-wrapper.open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.nav-wrapper.open .sp-nav {
  transform: translateY(0);
}


.nav ul li a {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  padding: 3px 12px;
}

.sp-nav {
  width: 100%;
  max-width: 100%;
  transform: translateY(-100%);
  transition: transform 0.4s ease;
  padding: 40px 20px;
  margin-top: 40px;
}

.sp-nav a {
  color: #333 !important;
  font-weight: 600;
}

.sp-nav ul li {
  border-top: 2px solid #4c4cff8a;
  padding: 16px 16px;
  text-align: left;
}

.sp-nav ul li:last-child {
  border-bottom: 2px solid #4c4cff8a;
}

.nav ul li:nth-child(1) a::before {
  content: "HOME";
}

.nav ul li:nth-child(2) a::before {
  content: "ABOUT US";
}

.nav ul li:nth-child(3) a::before {
  content: "BUSINESS";
}

.nav ul li:nth-child(4) a::before {
  content: "WORKS";
}

.nav ul li:nth-child(5) a::before {
  content: "RECRUIT";
}



body.page .nav ul li a::before {
  color: #333;
  font-size: 12px;
  font-weight: bold;
  text-transform: uppercase;
}

body.page .nav a {
  color: #333;
  font-size: 16px;
}


body.page .nav ul li a:hover::before {
  color: #4C4CFF;
  /* ホバー時に青色に変更 */
  transition: 0.3s;
}

body.archive .nav ul li a::before {
  color: #333;
  font-size: 12px;
  font-weight: bold;
  text-transform: uppercase;
}

body.archive .nav a {
  color: #333;
  font-size: 16px;
}

body.archive .nav ul li a:hover::before {
  color: #4C4CFF;
  transition: 0.3s;
}

@media (min-width:1280px) {
  .nav-wrapper {
    display: none !important;
  }

  .sp-nav {
    display: none;
  }

}


@media (max-width:1280px) {
  .nav {
    display: none;
  }
}

/*----------------------
フッター
-----------------------*/
.footer {
  color: rgb(0, 0, 0);
}

footer {
  display: flex;
  flex-direction: column;
  position: relative;
  width: 100%;
  height: auto;
  padding-top: 40px;
}


.footer-logo {
  width: 100%;
  max-width: 1820px;
  margin: 0 auto;
}

.footer-logo img {
  display: block;
  margin-bottom: 24px;
  position: relative;

  @media (max-width: 768px) {
    margin: 10px auto;
  }
}

.footer-cont {
  width: 100%;
  max-width: 1820px;
  margin: 0 auto;
  padding: 0 16px;
}


.footer-box {
  display: flex;
  justify-content: space-between;
  margin-bottom: 50px;

  @media (max-width: 768px) {
    flex-direction: column;
    align-items: center;
    margin: 0 auto;
    padding: 0 16px;
    margin: 0;
  }
}

.footer-left {
  width: 30%;
  text-align: left;
}

.footer-info p {
  margin: 1px 0;
  font-size: 14px;

}

.footer-right {
  width: 55%;
  text-align: right;
}

.footer-menu {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 110px;
  list-style: none;
  padding: 0;
}

.footer-menu-item {
  text-align: left;
  display: flex;
  flex-direction: column;
  margin-left: -10px;

  @media (max-width: 1024px) {
    text-align: center;
  }

  @media (max-width: 768px) {
    margin-left: 0px;
  }
}

.footer-menu-item strong {
  font-size: 14px;
  font-weight: 600;
  position: relative;
  display: inline-block;
  margin-top: 8px;
  margin-bottom: 8px;
  padding-right: 0px;

  @media (max-width: 768px) {
    text-align: left;
  }
}

.footer-menu-item strong.under {
  margin-top: 5px;
  margin-bottom: 2px;
  text-decoration: none;
  padding-right: 10px;
}

.footer-menu-item strong:not(.under)::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: rgba(0, 0, 0, 0.295);
}

.footer-menu-item strong:not(.under)::before {
  content: '→';
  position: absolute;
  right: 0px;
  bottom: -2px;
  font-size: 16px;
  color: #4C4CFF;
  transition: all 0.3s ease;
}

.footer-menu-item strong:not(.under):hover::before {
  font-size: 16px;
  transform: translateX(5px);
}

.footer-menu-item ul {
  list-style: none;
  padding-left: 15px;

  @media (max-width:768px) {
    text-align: left;
    padding-left: 0px;
  }
}

.footer-menu-item li {
  margin-bottom: 4px;
}

.footer-menu-item a {
  font-size: 14px;
  color: rgb(0, 0, 0);
  text-decoration: none;

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

.footer-menu-item a:hover {
  text-decoration: underline;
}

.footer-menu-item strong a:hover {
  text-decoration: none;
}

.footer-logo {
  float: left;
  padding: 0 16px;

  @media (max-width: 767px) {
    margin-right: 0px;
    float: unset;
  }
}

.footer-logo img {
  width: 230px;
  height: auto;

  @media (max-width: 767px) {}
}

.footer .cl-bg {
  background: linear-gradient(to right, #4C4CFF, #78AEFF);
  color: white;
  text-align: center;
  padding: 8px 8px;
}

/* タブレット対応 (1024px以下) */
@media (max-width: 1024px) {

  .footer-left,
  .footer-right {
    width: 100%;
    text-align: center;
  }

  .footer-menu {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    justify-content: center;
  }

  .footer-menu-item {
    text-align: center;
  }
}

/* スマホ対応 (768px以下) */
@media (max-width: 768px) {

  .footer-left,
  .footer-right {
    text-align: center;
  }

  .footer-right {
    order: 1;
  }

  .footer-left {
    order: 2;
    margin: 16px 0;
  }

  .footer-menu {
    grid-template-columns: 1fr;
    gap: 20px;
    text-align: center;
  }

  .footer-menu-item strong {
    font-size: 16px;
  }

  .footer-logo img {
    width: 180px;
    margin-bottom: 15px;
  }

  .cl-bg {
    padding: 8px 0;
  }
}

/* 小さいスマホ (480px以下) */
@media (max-width: 480px) {
  .cl-bg {
    padding: 6px 0;
  }
}

/* 全体の構造 */
.footer-common-cont {
  display: flex;
  width: 100%;
  margin: 80px 0;

  @media (max-width: 768px) {
    margin: 40px 0;
  }
}

.bg {
  position: relative;
  width: 50%;
  height: auto;
  background-size: cover;
  background-position: center;
}

.recruit-common {
  background-image: url('assets/img/common/footer-common-img-01.png');
}

.contact-common {
  background-image: url('assets/img/common/footer-common-img-02.png');
}

.text-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 60px;
}

/* テキストのスタイル */
.footer-common-cont .text-container h2,
.footer-common-cont .text-container h3,
.footer-common-cont .text-container p {
  color: #fff;
}

.footer-common-cont .text-container h2 {
  font-size: clamp(1.75rem, 1.3182rem + 1.8182vw, 3.5rem);
  line-height: 1;
}

.footer-common-cont .text-container p {
  text-align: left;
}

.footer-common-cont .text-container h3 {
  margin: 4px 0 20px 0;
  font-size: 18px;
}

.footer-common-cont .text-container h2,
.footer-common-cont .text-container h3 {
  color: #fff;
}



/* スマホ対応 */
@media (max-width: 768px) {
  .footer-common-cont {
    flex-direction: column;
    /* 縦並びに */
  }

  .bg {
    width: 100%;
    /* 幅100% */
    height: 50%;
    /* 高さ50% */
  }
}


/*----------------------
TOPページ - common
-----------------------*/

#page-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  /* 画面の高さいっぱいに */
}

.main-content {
  flex: 1;
  /* メインのコンテンツをフレックスで伸ばす */
}

html,
body {
  width: 100%;
  overflow-x: hidden;
  box-sizing: border-box;
}

.common-container h2 {
  font-size: clamp(2.5rem, 2.0065rem + 2.0779vw, 4.5rem);
  margin-bottom: 0px;
  color: #4C4CFF;
  line-height: 1.4;

  @media (max-width: 767px) {
    text-align: left;
  }

}

.common-container h3 {
  font-size: clamp(0.875rem, 0.7825rem + 0.3896vw, 1.25rem);
  margin-bottom: 80px;
  color: #000000;
  line-height: 1.4;
  font-weight: 500;

  @media(max-width: 767px) {
    margin-bottom: 32px;
    text-align: left;
  }
}

.front-page-container .about-heading {
  font-size: 24px;
  margin-bottom: 10px;
  color: #4C4CFF;
}

.front-page-container .btn {
  position: relative;
  display: inline-block;
  padding: 10px 30px;
  background: linear-gradient(to right, #4C4CFF, #78AEFF);
  color: white;
  text-decoration: none;
  border-radius: 30px;
  transition: background-color 0.3s;
  z-index: 2
}

.front-page-container .btn {
  background-color: #4C4CFF;
}

.front-page-container .btn .circle {
  display: inline-block;
  width: 10px;
  height: 10px;
  background-color: #fff;
  border-radius: 50%;
  margin-left: 16px;
  transition: transform 0.3s ease-in-out;
}

.business-section .business-second-row .btn .circle {
  background-color: #4C4CFF;
}

.front-page-container .btn:hover .circle {
  transform: translateX(5px);
  background-color: #ffffff;
}

@media (max-width: 1024px) {
  body {
    background-attachment: scroll;
    background-size: cover;
  }
}

@media (max-width: 768px) {
  body {
    background-attachment: scroll;
    background-size: contain;
    background-position: top center;
  }
}

@media (max-width: 480px) {
  body {
    background-size: contain;
    background-position: center top;
  }
}

@media (max-width: 768px) {
  .front-page-container .btn {
    padding: 8px 24px;
  }
}

/*----------------------
TOPページ - FV
-----------------------*/
.first-view {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.slider-container {
  position: absolute;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.slider {
  display: flex;
  width: calc(100vw * 4);
  transition: transform 0.6s ease;
}

.slide {
  flex: 0 0 100vw;
  height: 100vh;
  background-size: cover;
  background-position: center;
}

/* キャッチコピー */
.catch-copy {
  position: absolute;
  left: 10%;
  top: 50%;
  transform: translateY(-50%);
  color: white;
  text-shadow: 2px 2px 4px rgba(0, 0, 2, 0.5);

  @media (max-width: 768px) {
    left: 5%;
    top: 65%;
    transform: translateY(-50%);
  }
}


.catch-copy h1 {
  font-size: clamp(3.5rem, 2.7597rem + 3.1169vw, 6.5rem);
  line-height: 1.2;
  font-weight: 500;
}

.catch-copy .sub-text {
  font-size: clamp(1rem, 0.7841rem + 0.9091vw, 1.875rem);
  margin-top: 10px;
}

/* Scroll Down */
.scroll-down {
  position: absolute;
  left: 2%;
  bottom: 5%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.scroll-text {
  writing-mode: vertical-rl;
  font-size: 12px;
  color: white;
  animation: fadeInUp 1.5s infinite alternate;
}

.scroll-line {
  width: 1px;
  height: 50px;
  background-color: white;
  margin-top: 4px;
  animation: scrollLine 1.5s infinite alternate;
}

/* 右側の数字 */
.numbers {
  position: absolute;
  right: 1%;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 32px;
  text-align: right;
}

.number {
  font-size: 12px;
  color: white;
  position: relative;
  transition: transform 0.3s ease, font-size 0.3s ease;
}

/* アクティブな数字のデザイン */
.number.active {
  font-size: 14px;
  font-weight: bold;
}

.number.active::before {
  content: "";
  position: absolute;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* 画像詳細 */
.image-details {
  position: absolute;
  right: 1%;
  bottom: 6%;
  color: white;
  text-align: center;
}

.image-details .number {
  position: absolute;
  right: 102%;
  bottom: -29%;
}

.detail {
  font-size: 12px;
  text-align: center;
}

.underline {
  width: 140px;
  height: 1px;
  background-color: white;
  margin-top: 5px;
}



.fv-underbox {
  position: absolute;
  bottom: 0;
  /* ファーストビューの最下部に配置 */
  left: 0;
  width: 100%;
  /* 横幅を全体に広げる */
  height: 40px;
  /* 高さ40px */
  background-color: #4C4CFF;
  /* 青い色 */
}

/* アニメーション */
@keyframes fadeInUp {
  from {
    opacity: 0.5;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scrollLine {
  from {
    height: 30px;
  }

  to {
    height: 50px;
  }
}




/*----------------------
TOPページ - about us
-----------------------*/
.about-section {
  padding: 80px 16px;

  @media (max-width: 768px) {
    padding: 40px 16px;
  }
}

.about-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1520px;
  margin: 0 auto;
  flex-wrap: wrap;

  @media screen and (max-width: 768px) {
    flex-direction: column;
    text-align: center;
  }
}

.about-container .btn {
  margin-top: 80px;

  @media(max-width: 767px) {
    margin-top: 32px;
  }
}

.about-left {
  flex: 1;
  padding-right: 20px;

  @media(max-width: 767px) {
    order: 2;
    padding-right: 0;
  }
}

.about-heading {
  font-weight: bold;
  margin-bottom: 10px;
}

.about-description {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 20px;

  @media(max-width: 767px) {
    margin-bottom: 0px;
  }
}

.btn:hover {
  background-color: #4C4CFF;
}

.about-right {
  flex: 1;
  text-align: right;

  @media screen and (max-width: 768px) {
    text-align: center;
    margin-bottom: 20px;
    order: 1;
  }
}

.about-right img {
  max-width: 75%;
  height: auto;
  border-radius: 10px;
}

/*----------------------
TOPページ - Business
-----------------------*/

.pc {
  display: block !important;

  @media(max-width: 1020px) {
    display: none !important;
  }
}

.sp {
  display: none !important;

  @media(max-width: 1020px) {
    display: block !important;
  }
}

.business-section {
  padding: 80px 16px;
  background: linear-gradient(to right, #4C4CFF, #78AEFF);

  @media(max-width: 767px) {
    padding: 40px 16px;
  }
}

.business-container {
  max-width: 1520px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;

  @media screen and (max-width: 768px) {
    flex-direction: column;
    text-align: center;
  }
}

.business-left {
  flex: 1;
  padding-right: 20px;
  display: flex;
  flex-direction: column;

  @media screen and (max-width: 768px) {
    flex: none;
    width: 100%;
    padding-right: 0px;
  }
}

.business-right {
  flex: 1;

  @media screen and (max-width: 768px) {
    flex: none;
    width: 100%;
  }
}

.business-left h2 {
  color: #fff;
}

.business-left h3 {
  color: #fff;
}


.business-right img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-top: 100px;
  z-index: 0;
  transition: opacity 0.3s ease-in-out;

  @media (max-width: 767px) {
    margin-top: 0px;
    border-radius: 0 0 8px 8px;
  }
}

.business-description {
  width: 600px;
  color: #fff;
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 40px;

  @media (min-width: 1020px) and (max-width: 1400px) {
    width: 90%;
  }

  @media screen and (max-width: 768px) {
    width: 100%;
    font-size: 14px;
    margin-bottom: 30px;
  }
}

.business-links {
  display: flex;
  flex-direction: column;
  gap: 10px;

  @media screen and (max-width: 768px) {
    gap: 4px;
  }
}

.business-link {
  display: block;
  max-width: 600px;
  padding: 10px 30px;
  color: #ffffff;
  text-decoration: none;
  border-radius: 5px;
  text-align: left;
  font-weight: bold;
  display: inline-block;
  margin-right: 20px;

  @media screen and (max-width: 768px) {
    width: 100%;
    max-width: none;
    padding: 10px 16px;
    text-align: left;
    margin-right: 0px;
    background-color: #fff;
    color: #4C4CFF;
  }
}

.business-link-number {
  margin-right: 25px;

  @media screen and (max-width: 768px) {
    margin-right: 16px;
  }
}

.business-link:hover {
  background-color: rgba(245, 245, 245, 0.11);
  /* ホバー時の色変更 */
}

.business-header {
  display: flex;
}

.business-box-left {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-right: 12px;
  flex-shrink: 0;
}

.business-box {
  display: block;
  background-color: #fff;
  padding: 20px;
  border-radius: 8px;
  margin-top: 20px;
  position: relative;
  left: 180px;
  min-height: 245px;
  height: auto;

  @media (min-width:769px) and (max-width: 1020px) {
    left: 0px;
  }

  @media screen and (max-width: 768px) {
    position: unset;
    margin-top: 30px;
    width: 100%;
    padding: 16px 10px;
    border-radius: 8px 8px 0 0;
    height: auto;
  }
}

.business-box .business-header .business-box-right .details-btn {
  position: absolute;
  bottom: 20px;
  left: 110px;
  color: #4C4CFF;

  @media screen and (max-width: 768px) {
    position: unset;
  }
}


.business-box-line {
  width: 20px;
  height: 1px;
  background-color: #4C4CFF;
  margin-top: 10px;
  transition: background-color 0.3s ease-in-out;
  display: block;
  flex-shrink: 0;
}


.business-box-left h4 {
  display: inline-block;
  font-size: 16px;
  font-weight: 600;
  color: #4C4CFF;
  white-space: nowrap;
}

.business-box-right h4 {
  font-size: clamp(1rem, 0.9692rem + 0.1299vw, 1.125rem);
  font-weight: bold;
  margin-bottom: 20px;

  @media screen and (max-width: 768px) {
    margin-bottom: 0px;
  }
}


.details {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 20px;
  margin-right: 15px;

  @media screen and (max-width: 768px) {
    margin: 16px 0px;
    margin-right: 0px;
    text-align: left;
  }
}

.details-btn {
  display: inline-block;
  color: #4C4CFF;
  text-decoration: none;
  transition: 0.3s;
}

.business-second-row {
  text-align: center;
  margin-top: 40px;
}

#business-image {
  transition: opacity 0.5s ease-in-out;
}

.business-box-right h4,
.business-box-right p {
  transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
}

.business-link-number {
  transition: color 0.3s ease-in-out;
}

.business-second-row .btn {
  display: inline-block;
  padding: 10px 30px;
  background: none;
  background-color: #ffffff;
  color: #4C4CFF;
  text-decoration: none;
  border-radius: 30px;
  transition: 0.3s;
}

.business-second-row .btn:hover {
  background-color: #4C4CFF;
  color: #ffffff;
}

@media screen and (max-width: 768px) {
  .business-description {
    width: 100%;
    font-size: 14px;
    margin-bottom: 30px;
  }

  .business-header {
    flex-direction: column;
    align-items: center;
  }

  .business-box-left {
    margin-right: 0;
    justify-content: center;
  }

  .business-box-line {
    width: 40px;
  }

  .business-second-row .btn {
    padding: 15px 40px;
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .business-box-left {
    display: none;
  }


}

/*----------------------
TOPページ - works
-----------------------*/


/* Worksセクションのスタイル */
.top-works-section {
  position: relative;
  text-align: center;
  padding: 80px 0px;

  @media screen and (max-width: 768px) {
    padding: 40px 16px;
  }
}

.top-works-title {
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 8px;
}

.top-works-subtitle {
  font-size: 24px;
  margin-bottom: 16px;
}

.laworks {
  display: inline-block;
  font-size: 16px;
  background: #ddd;
  padding: 4px 20px;
  border-radius: 16px;
  margin-bottom: 40px;
}

.top-works-container {
  @media (max-width: 767px) {
    background: linear-gradient(135deg, #4C4CFF, #78AEFF);
    padding: 32px 16px;
  }
}

.top-works-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  justify-items: center;
  gap: 24px;
  position: relative;
  z-index: 2;
  max-width: 1520px;
  margin: 0 auto;
}

.top-work-image {
  position: relative;
  width: 100%;
  height: 290px;
  overflow: hidden;
  border-radius: 5px 5px 0 0;

  @media (max-width: 767px) {
    width: 100%;
    height: 260px;
  }
}

.top-work-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.top-work-image-box {
  position: relative;
  width: 361px;
  height: 350px;
  overflow: hidden;
}

.top-work-image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.top-work-category {
  position: absolute;
  top: 0;
  left: 0;
  background: black;
  color: white;
  font-size: 14px;
  padding: 6px 10px;
  border-radius: 4px;
  white-space: nowrap;
}

.top-work-title-box {
  display: flex;
  justify-content: center;
  align-items: center;
  background: white;
  font-size: clamp(0.875rem, 0.8442rem + 0.1299vw, 1rem);
  width: 361px;
  height: 60px;
  border-radius: 5px;
  margin-top: 4px;
  font-weight: 500;

  @media (max-width: 767px) {
    width: 100%;
    height: 60px;
    text-align: left;
    padding: 4px 8px;
    margin-top: 0px;
    border-radius: 0 0 5px 5px;
  }
}

.top-work-title {
  padding: 0 16px;
  text-align: left;
}

.top-works-background {
  position: absolute;
  bottom: 165px;
  left: 50%;
  transform: translateX(-50%);
  width: 1620px;
  height: 281px;
  background: linear-gradient(135deg, #4C4CFF, #78AEFF);
  border-radius: 10px;
  z-index: 0;
  /* 背景を他の要素より下に設定 */
}

.top-works-second-row {
  position: relative;
  z-index: 1;
}

.top-works-second-row .btn {
  position: relative;
  z-index: 2;
  margin-top: 70px;

  @media (max-width: 768px) {
    margin-top: 24px;
  }
}

.lawork {
  width: 326px;
  height: 32px;
  background: linear-gradient(135deg, #4C4CFF, #78AEFF);
  /* 背景色 */
  color: white;
  font-size: 14px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 30px;
  margin: 30px auto;
}


@media (max-width: 768px) {
  .top-works-title {
    font-size: 28px;
  }

  .top-works-subtitle {
    font-size: 20px;
  }

  .top-works-wrapper {
    flex-direction: column;
    align-items: center;
  }


  .top-work-image-box {
    height: 300px;
  }

  .top-work-title-box {
    font-size: 14px;
  }

  .laworks {
    font-size: 14px;
  }

  .top-works-background {
    width: 100%;
    height: 200px;
  }

  .top-works-second-row .btn {
    font-size: 16px;
    padding: 12px 30px;
  }
}

@media (max-width: 480px) {
  .top-works-title {
    font-size: 24px;
  }

  .top-works-subtitle {
    font-size: 18px;
  }

  .top-works-wrapper {
    gap: 20px;
  }

  .top-work-item {
    width: 100%;
  }

  .top-work-image-box {
    height: 250px;
  }


  .laworks {
    font-size: 12px;
  }

  .top-works-background {
    display: none;
  }

  .top-works-second-row .btn {
    padding: 10px 20px;
    font-size: 14px;
  }
}


/*----------------------
リクルートセクション
-----------------------*/
.recruit-section {
  padding: 80px 16px;

  @media (max-width: 768px) {
    padding: 40px 16px;
  }
}

.recruit-container {
  max-width: 1520px;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 auto;
}

.recruit-left {
  width: 45%;
  justify-content: center;
  align-items: center;
}

.recruit-left img {
  max-width: 100%;
  height: auto;
  border-radius: 5px;

  @media (max-width: 1020px) {
    margin-bottom: 40px;
  }

  @media (max-width: 768px) {
    margin-bottom: 16px;
  }

}

.recruit-right {
  width: 45%;
  padding-right: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.recruit-right .recruit-description {
  font-size: 1rem;
  margin-bottom: 20px;
  text-align: left;
}

.recruit-right .btn {
  display: inline-block;
  padding: 10px 30px;
  color: #fff;
  border-radius: 30px;
  text-decoration: none;
  transition: 0.3s;
  max-width: 300px;
  width: auto;
  text-align: center;
}

.recruit-right .btn:hover {
  background-color: #005bb5;
}

@media (max-width: 768px) {
  .recruit-container {
    flex-direction: column;
  }

  .recruit-left,
  .recruit-right {
    width: 100%;
    padding-right: 0;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .recruit-container {
    flex-direction: column;
    padding: 20px;
  }

  .recruit-left,
  .recruit-right {
    width: 100%;
  }
}

/*----------------------
Contact-セクション
-----------------------*/

/* Contact セクション */
.contact-section {
  padding: 80px 0;
}

.contact-container {
  max-width: 1520px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  margin: 0 auto;
}

.contact-left {
  width: 45%;
  padding-right: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.contact-right {
  width: 45%;

  @media (max-width: 1020px) {
    margin-bottom: 40px;
  }
}

.contact-left p {
  font-size: 16px;
  margin-bottom: 20px;
  text-align: left;
}

.contact-right img {
  width: 100%;
  height: auto;
  border-radius: 5px;
  object-fit: cover;
}

.contact-left .btn {
  display: inline-flex;
  align-items: center;
  padding: 10px 30px;
  background-color: #4C4CFF;
  color: #fff;
  border-radius: 30px;
  text-decoration: none;
  transition: 0.3s;
  max-width: 200px;
  width: auto;
  text-align: center;
}

.contact-left .btn:hover {
  background-color: #005bb5;
}

.front-page-container .btn .circle {
  display: inline-block;
  width: 10px;
  height: 10px;
  background-color: #fff;
  border-radius: 50%;
  margin-left: 20px;
  transition: transform 0.3s ease-in-out;
}

.front-page-container .btn:hover .circle {
  transform: translateX(5px);
}

@media (max-width: 768px) {

  .contact-section {
    padding: 24px 0;
  }

  .contact-container {
    flex-direction: column;
  }

  .contact-left,
  .contact-right {
    width: 100%;
    padding-right: 0;
  }

  .contact-right {
    margin-bottom: 20px;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .contact-container {
    flex-direction: column;
    padding: 20px;
  }

  .contact-left,
  .contact-right {
    width: 100%;
  }
}


/*----------------------
下層ページ共通 - fv
-----------------------*/
/* ファーストビューのセクション */
.sec-first-view {
  display: block;
}

.sec-fv-img {
  position: relative;
  width: 100%;
  height: auto;
  padding: 0% 2% 2% 2%;
}

.sec-fv-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.content-wrapper {
  position: absolute;
  top: 56%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  justify-content: space-between;
  width: 90%;
  max-width: 1720px;
  z-index: 1;

  @media (max-width: 767px) {
    align-items: center;
    text-align: center;
    transform: translate(-50%, -50%);
    width: 100%;
    top: 88%;
    left: 57%;
  }
}

.fv-sec-left,
.fv-sec-right {
  text-align: center;
}

.sec-fv-underline {
  width: 100%;
  height: 40px;
  background: linear-gradient(135deg, #4C4CFF, #78AEFF);
}

/* 左カラム */
.fv-sec-left {
  text-align: left;
  /* 左寄せ */
}

.fv-sec-right {
  display: flex;
  flex-direction: column;

  @media (max-width: 768px) {
    position: absolute;
    top: 88%;
    left: 33%;
    transform: translate(-50%, -50%);
  }
}

.fv-sec-left h2,
.fv-sec-left h3,
.fv-sec-right h4,
.fv-sec-right li {
  color: #ffffff;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.6);
}


.fv-sec-right h4 {
  font-size: 1rem;
  text-align: left;
}

.fv-sec-right ul {
  font-size: 0.88rem;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  /* テキスト部分を左寄せ */
}


.fv-sec-right li {
  text-align: left;
  padding: 2px 0;
}


/* --- レスポンシブ対応 --- */

/* タブレット（768px以下） */
@media (max-width: 768px) {
  .sec-first-view {
    height: auto;
  }

  .background-image {
    height: 500px;
  }


  .fv-sec-left {
    text-align: center;
    margin-bottom: 20px;
  }

  .fv-sec-right h4 {
    font-size: 1rem;
  }

  .fv-sec-right ul {
    font-size: 0.8rem;
  }
}


/*----------------------
About us - message
-----------------------*/
.message-section {
  padding: 80px 16px;

  @media (max-width: 480px) {
    padding: 40px 16px;
  }

}

.message-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1520px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.message-heading {
  font-size: clamp(1.75rem, 1.5649rem + 0.7792vw, 2.5rem);
  font-weight: bold;
  color: #4C4CFF;
  margin-bottom: 48px;

  @media (max-width: 767px) {
    margin-bottom: 0px;
    margin: 0 auto;
  }
}

.position-title {
  font-size: 16px;
  color: #000000;
  text-align: right;
  width: 100%;
  margin-top: 24px;
  font-family: "Yuji Syuku", serif;
}

.representative-name {
  font-size: clamp(1.25rem, 1.0649rem + 0.7792vw, 2rem);
  font-weight: 600;
  color: #000000;
  width: 100%;
  text-align: right;
  font-family: "Yuji Syuku", serif;

  @media (max-width: 767px) {}
}

.representative-name .eng-ttl {
  font-size: 20px;
  font-weight: bold;
  color: rgba(0, 0, 0, 0.274)
}

.message-description {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 20px;

  @media (max-width: 767px) {
    margin-bottom: 16px;
    font-size: 15px;
    line-height: 1.4;
    text-align: left;
  }
}

.message-left {
  width: 45%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;

  @media (max-width: 767px) {
    width: 100%;
  }
}

.message-right {
  flex: 1;
  text-align: right;

  @media (max-width: 767px) {
    margin: 24px 0;
  }
}

.message-right img {
  max-width: 80%;
  height: auto;
  border-radius: 10px;

  @media (max-width: 767px) {
    max-width: 100%;
  }
}

/* レスポンシブ対応（スマホ用） */
@media screen and (max-width: 768px) {
  .message-container {
    flex-direction: column;
    text-align: center;
  }

  .message-left {
    padding-right: 0;
  }

  .message-right {
    text-align: center;
    margin-top: 20px;
  }
}

/*----------------------
About us - Company info
-----------------------*/
.company-info-section {
  padding: 80px 16px;
  background: linear-gradient(135deg, #4C4CFF, #78AEFF);

  @media (max-width: 767px) {
    padding: 40px 16px;
  }
}

.company-info-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1520px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.company-info-container h2,
.company-info-container h3 {
  color: #fff;
}

.company-info-table {
  border-collapse: collapse;
  /* セルのボーダーを結合 */
  width: 100%;
}

.company-info-table tr {
  border-bottom: 1px solid #ffffff3b;
  /* 行の下線を設定 */
}

.company-info-table th {
  font-weight: 400;
}

.company-info-table th,
.company-info-table td {
  padding: 32px 64px;
  text-align: left;
  color: #fff;
  vertical-align: top;
}

.company-info-table td {
  display: block;
}

.company-info-table tr+tr {
  margin-top: 10px;
  /* 行間の余白 */
}

/*----------------------
About us - history
-----------------------*/

.history-section {
  padding: 80px 16px;

  @media (max-width: 767px) {
    padding: 40px 16px;
  }
}

.history-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1520px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.history-table {
  border-collapse: collapse;
  /* セルのボーダーを結合 */
  width: 100%;
}

.history-table tr {
  border-bottom: 1px solid #0000003b;
  /* 行の下線を設定 */
}

.history-table th {
  font-weight: 400;
}

.history-table th,
.history-table td {
  padding: 32px 64px;
  text-align: left;
  color: #000;
  vertical-align: top;
}

.history-table td {
  display: block;
}

.history-table tr+tr {
  margin-top: 10px;
  /* 行間の余白 */
}

/*----------------------
About us - access
-----------------------*/
.access-section {
  padding: 80px 20px;
}

.access-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1520px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.history-ttl h3 {
  display: block;
  text-align: left;
  margin-bottom: 40px;
}

.access-info {
  margin-left: 120px;
  margin-bottom: 40px;
}

.access-info p {
  margin-bottom: 4px;
  font-size: 16px;
}

.bold-blue {
  color: blue;
  font-weight: bold;
}

.access-map {
  width: 100%;
  max-width: 1520px;
  margin: 0 auto;
  border-radius: 5px;
  overflow: hidden;
}

.access-map iframe {
  width: 100%;
  height: 530px;
  border-radius: 5px;
}

.access-map-underbox {
  width: 100%;
  max-width: 1520px;
  /* マップと同じ最大幅 */
  height: 20px;
  /* 必要な高さ */
  background: linear-gradient(135deg, #4C4CFF, #78AEFF);
  /* 背景色（任意） */
  margin: 0 auto;
  /* 中央配置 */
  border-radius: 0 0 5px 5px;
  /* 角丸 */
  position: relative;
  top: -20px;
  /* 角丸分だけ上にずらす */
}

/* ==============================
   ▼ スマホ・タブレット対応
================================= */
@media (max-width: 1024px) {
  .access-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .access-info {
    margin-left: 0;
    text-align: center;
    margin-bottom: 20px;
  }

  .access-info p {
    font-size: 14px;
  }

  .access-map iframe {
    height: 400px;
  }
}

@media (max-width: 768px) {
  .access-section {
    padding: 50px 10px;
  }

  .access-info p {
    font-size: 13px;
  }

  .access-map iframe {
    height: 300px;
  }
}

/* --- レスポンシブ対応 --- */

/* 画面幅が 768px 以下（タブレット・スマホ） */
@media (max-width: 768px) {
  .company-info-table th {
    width: 160px;
    /* 少し狭める */
    min-width: 140px;
    padding: 12px 16px;
    /* 余白を調整 */
  }

  .company-info-table td {
    padding: 12px 16px;
  }
}

/* 画面幅が 480px 以下（スマホ） */
@media (max-width: 480px) {
  .company-info-table {
    display: block;
    overflow-x: auto;
    /* 横スクロールを許可 */
  }

  .company-info-table th,
  .company-info-table td {
    display: block;
    width: 100%;
    text-align: left;
  }

  .company-info-table th {
    padding: 10px 12px 4px;
  }

  .company-info-table td {
    padding: 4px 12px 10px;
  }

  .company-info-table th,
  .company-info-table td {
    font-size: 14px;
  }
}

/* --- レスポンシブ対応 --- */

/* 画面幅が 768px 以下（タブレット・スマホ） */
@media (max-width: 768px) {
  .history-table th {
    width: 160px;
    /* 少し狭める */
    min-width: 140px;
    padding: 12px 16px;
    /* 余白を調整 */
  }

  .history-table td {
    padding: 12px 16px;
  }
}

/* 画面幅が 480px 以下（スマホ） */
@media (max-width: 480px) {
  .history-table {
    display: block;
    overflow-x: auto;
  }

  .history-table th {
    display: block;
    width: 100%;
    text-align: left;
    padding: 10px 12px 4px;
  }

  .history-table th,
  .history-table td {
    font-size: 14px;
  }

  .history-table td {
    display: block;
    width: 100%;
    text-align: left;
    padding: 4px 12px 10px;
  }
}



/*----------------------
Business - General Electrical Work
-----------------------*/
.business-01-section {
  padding: 80px 16px;

  @media (max-width: 767px) {
    padding: 40px 16px;
  }
}

.business-01-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1520px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.business-01-heading {
  font-size: clamp(1.375rem, 1.0974rem + 1.1688vw, 2.5rem);
  font-weight: bold;
  color: #4C4CFF;
  margin-bottom: 48px;

  @media (max-width: 767px) {
    margin-bottom: 24px;
  }
}

.business-01-description {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 20px;
  padding-right: 160px;

  @media (max-width: 767px) {
    padding-right: 0px;
    text-align: left;
  }
}

.business-01-left {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  /* 上端に揃える */
  justify-content: flex-start;
  /* 必要に応じて縦方向にも揃える */
}

.business-01-left h3 {
  margin-bottom: 56px;

  @media screen and (max-width: 768px) {
    margin-bottom: 24px;
  }
}

.business-01-right {
  flex: 1;
  text-align: right;
}

.business-01-right.sp {
  margin-bottom: 16px;
}

.business-01-right img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

/* レスポンシブ対応（スマホ用） */
@media screen and (max-width: 768px) {
  .business-01-container {
    flex-direction: column;
    text-align: center;
  }

  .business-01-left {
    padding-right: 0;
  }

  .business-01-right {
    text-align: center;
    margin-top: 20px;
  }
}


/*----------------------
Business - business-02
-----------------------*/
.business-02-section {
  padding: 80px 16px;

  @media screen and (max-width: 768px) {
    padding: 40px 16px;
  }
}

.business-02-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1520px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.business-02-left {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
}

.business-02-left img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

.business-02-right {
  flex: 1;
  text-align: right;
}

.business-02-right h3 {
  font-weight: 500;
}

.business-02-heading {
  font-size: clamp(1.375rem, 1.0974rem + 1.1688vw, 2.5rem);
  font-weight: bold;
  color: #4C4CFF;
  margin-bottom: 48px;

  @media (max-width: 767px) {
    margin-bottom: 24px;
  }
}

.business-02-description {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 20px;
  padding-left: 160px;
  text-align: left;

  @media (max-width: 767px) {
    padding-left: 0px;
    text-align: left;
  }
}

/* レスポンシブ対応（スマホ用） */
@media screen and (max-width: 768px) {
  .business-02-container {
    flex-direction: column;
    text-align: center;
  }

  .business-02-left {
    padding-right: 0;
    order: 2;
  }

  .business-02-right {
    text-align: center;
    margin-top: 20px;
  }
}


/*----------------------
works
-----------------------*/
.sec-category-section {
  padding: 80px 16px;

  @media (max-width: 768px) {
    padding: 40px 16px;
  }
}

.sec-category-cont {
  align-items: center;
  justify-content: space-between;
  max-width: 1250px;
  margin: 0 auto;
  flex-wrap: wrap;
}

/* 初期表示の設定 */
.work-item {
  display: none;
  position: relative;
}


/* ボタンのスタイル */
.category-btns {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  justify-items: center;
  gap: 20px;
  margin-bottom: 32px;
  flex-wrap: wrap;
  max-width: 920px;
  margin: 0 auto;

  @media screen and (max-width:1220px) {
    grid-template-columns: 1fr 1fr 1fr;
    max-width: 720px;
    margin: 0 auto 32px;
    gap: 12px;
  }

  @media screen and (max-width:768px) {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 24px;
  }
}

.category-btn {
  display: flex;
  align-items: center;
  width: 100%;
  font-size: 16px;
  color: white;
  border: none;
  text-align: center;
  border-radius: 8px;
  cursor: pointer;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
}

.category-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
  background-color: #555;
  /* 任意のホバー背景色（少し明るく） */
}

.category-btn img {
  width: 100%;
  max-width: 80px;
}

.category-btn p {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #4C4CFF, #78AEFF);
}


.category-button:hover {
  background-color: #45a049;
}


.works-container {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  justify-items: center;
  opacity: 1;
  transition: opacity 0.5s ease;

  @media screen and (max-width:1020px) {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 24px;
  }

  @media screen and (max-width:768px) {
    grid-template-columns: 1fr;
    gap: 8px;
    margin-bottom: 24px;
  }
}

.work-item {
  width: 390px;
  margin-bottom: 32px;
}

.works-container.hide {
  opacity: 0;
  pointer-events: none;
}

.work-item.show {
  opacity: 1;
  transform: translateY(0);
}

.work-item:hover {
  transform: translateY(-5px);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.work-image {
  width: 100%;
  height: 294px;
  object-fit: cover;
  border-radius: 5px 5px 0 0;
}

.work-text {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  background: linear-gradient(135deg, #4C4CFF, #78AEFF);
  border-radius: 0 0 10px 10px;
  padding: 4px 0;
}

.work-title {
  font-size: 16px;
  color: #FFF;
  min-height: 60px;
  text-align: left;
  padding: 4px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.work-description {
  font-size: 14px;
  color: #FFF;
}

@media (max-width: 1080px) {

  .sec-category-cont {
    width: 100%;
    max-width: 960px;
  }

  .category-btn {
    width: 100%;
    max-width: 200px;
    height: 40px;
    margin: 4px 16px;
    font-size: 14px;
    border: none;
    text-align: center;
    border-radius: 8px;
    cursor: pointer;
  }

}

@media (max-width: 768px) {
  .category-btn {
    width: 100%;
    max-width: 768px;
    height: 36px;
    font-size: 14px;
  }

  .work-item {
    width: 100%;
  }

  .work-image {
    height: 220px;
  }

  .work-text {
    height: 60px;
  }
}


/*----------------------
recruit
-----------------------*/
.data-section {
  background: linear-gradient(135deg, #4C4CFF, #78AEFF);
}

.data-container {
  padding: 80px 20px;
}

.data-ttl {
  text-align: center;
}

.data-ttl h2,
.data-ttl h3 {
  color: #fff;
}

.data-area {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}


/* ボックスコンテナ */

.first-row {
  display: flex;
  justify-content: center;
}

.second-row {
  display: flex;
  justify-content: center;
}

.third-row {
  display: flex;
  justify-content: center;
}

.box1 {
  position: relative;
  /* box1を相対位置に設定 */
  background-color: #f8f8f8;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  overflow: hidden;
  padding: 20px;
  height: 313px;
  width: 609px;
  margin: 16px 16px;
}

.box2 {
  position: relative;
  background-color: #f8f8f8;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  overflow: hidden;
  height: 313px;
  width: 392px;
  margin: 16px 18.5px;
}

.box-title {
  position: absolute;
  top: 10px;
  left: 10px;
  text-align: left;
  display: flex;
  flex-direction: column;
}

.small-title {
  font-size: 12px;
  color: #4C4CFF;
}

.large-title {
  font-size: 16px;
  font-weight: bold;
}

.box-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.box img {
  max-width: 100%;
  height: auto;
  margin-bottom: 15px;
  justify-content: center;
  align-items: center;
}

.box2 img {
  max-width: 80%;
  height: auto;
  margin-bottom: 15px;
  justify-content: center;
  align-items: center;
}

.data-text {
  position: absolute;
  font-size: 14px;
  margin-top: 240px;
}



@media (max-width: 1024px) {
  .data-container {
    padding: 60px 16px;
  }

  .data-area {
    flex-direction: column;
    align-items: center;
  }

  .box1,
  .box2 {
    width: 100%;
    max-width: 90%;
  }
}

@media (max-width: 768px) {

  .box1,
  .box2 {
    width: 100%;
    max-width: 100%;
    margin: 12px 0;
  }

  .box-title {
    top: 8px;
    left: 8px;
  }

  .data-text {
    font-size: 12px;
    margin-top: 200px;
  }
}

/* スライダーのレスポンシブ対応 */
@media (max-width: 768px) {
  .image-wrapper img {
    width: 240px;
    height: 240px;
  }

  @keyframes scroll {
    to {
      transform: translateX(calc(-240px * 6));
    }
  }
}


/*----------------------
Recruit-slide
-----------------------*/

.image-loop {
  overflow: hidden;
  width: 100%;
  position: relative;
}

#imageWrapper {
  display: flex;
  animation: scrollAnim linear infinite;
  --scroll-distance: -1920px;
  /* JSで上書きされる */
}

#imageWrapper img {
  width: 320px;
  height: 320px;
  flex-shrink: 0;
}

@keyframes scrollAnim {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(var(--scroll-distance));
  }
}

/*----------------------
Recruit-Jobs
-----------------------*/
.jobs-container {
  padding: 80px 20px;
}

.jobs-container {
  align-items: center;
  max-width: 1320px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.jobs-ttl {
  text-align: center;
}

.steps {
  display: flex;
  justify-content: center;
  align-items: center;

  @media (max-width: 767px) {
    flex-direction: column;
  }
}

.step {
  text-align: center;
}

.step-number {
  font-weight: bold;
  color: #4C4CFF;
}

.arrow {
  font-size: 24px;
  margin: 0 32px;

  @media (max-width: 767px) {
    font-size: 24px;
  }
}

.jobs-line {
  border-top: 1px solid rgba(0, 0, 0, 0.322);
  width: 65%;
  margin: 20px auto;
}

.jobs-flow {
  margin-bottom: 50px;
}

.flow-title {
  display: block;
  text-align: center;
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 20px;
}

.jobs-btns {
  display: flex;
  justify-content: center;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.jobs-btn {
  width: 100%;
  max-width: 360px;
  height: 58px;
  margin: 4px 16px;
  font-size: 16px;
  background: linear-gradient(135deg, #4C4CFF, #78AEFF);
  color: white;
  border: none;
  text-align: center;
  border-radius: 8px;
  cursor: pointer;
}

.jobs-board {
  background: linear-gradient(135deg, #4c4cff8c, #78aeff83);
  padding: 0;
  border-radius: 10px;
}


.jobs-table {
  border-collapse: collapse;
  width: 90%;
  margin: 0 auto;
}

.jobs-table tr {
  border-bottom: 1px solid #ffffff3b;
  /* 行の下線を設定 */
}

.jobs-table th {
  font-weight: 100;
}

.jobs-table th,
.jobs-table td {
  padding: 32px 64px;
  text-align: left;
  color: #fff;
  vertical-align: top;
}

.jobs-table td {
  display: block;
}

.jobs-table tr+tr {
  margin-top: 10px;
  /* 行間の余白 */
}

.entry-btns {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 32px 0;
}

/* ボタンのスタイル */
.entry-btn {
  margin: 4px 16px;
  font-size: 16px;
  color: white;
  text-align: center;
  border: none;
  padding: 16px 60px;
  border-radius: 10px;
  background: linear-gradient(135deg, #4C4CFF, #78AEFF);
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;

}

@media (max-width: 1024px) {
  .jobs-container {
    padding: 60px 16px;
  }

  .jobs-line {
    width: 80%;
  }

  .jobs-table th,
  .jobs-table td {
    padding: 24px 32px;
  }
}

@media (max-width: 768px) {
  .jobs-btns {
    display: flex;
    justify-content: center;
    margin-bottom: 16px;
    flex-wrap: wrap;
  }

  .jobs-btn {
    width: 100%;
    max-width: 500px;
    height: 58px;
    margin: 4px 16px;
    font-size: 14px;
    background: linear-gradient(135deg, #4C4CFF, #78AEFF);
    color: white;
    border: none;
    text-align: center;
    border-radius: 8px;
    cursor: pointer;
  }

  .jobs-board {
    background: linear-gradient(135deg, #4c4cff8c, #78aeff83);
    padding: 20px 8px;
    border-radius: 10px;
  }

  .jobs-table {
    width: 100%;
  }

  .jobs-table th,
  .jobs-table td {
    padding: 12px;
    font-size: 14px;
  }

  .jobs-btn,
  .entry-btn {
    width: 90%;
    max-width: 320px;
    height: 50px;
  }

  .jobs-btns,
  .entry-btns {
    flex-direction: column;
    align-items: center;
  }
}

/*----------------------
お問い合わせ
-----------------------*/
.contact-container-page {
  flex-direction: column;
  margin-top: 80px;
}

/*----------------------
single-works
-----------------------*/
.single-works-section {
  padding: 80px 16px;

  @media (max-width: 767px) {
    padding: 40px 16px;
  }
}

.single-works-container {
  max-width: 1520px;
  width: 100%;
  display: block;
  margin: 0 auto;
}

.single-works-ttl {
  font-size: clamp(1.125rem, 0.9091rem + 0.9091vw, 2rem);
  color: #4C4CFF;
  text-align: center;
  margin: 20px 0;

  @media (max-width: 767px) {
    text-align: left;
  }
}

.single-works-line {
  width: 100%;
  max-width: 1520px;
  height: 10px;
  background: linear-gradient(135deg, #4C4CFF, #78AEFF);
  margin: 20px 0;
}

.single-works-box {
  display: flex;
  justify-content: space-between;
  padding: 24px;
  gap: 64px;
  background: linear-gradient(135deg, #4C4CFF, #78AEFF);
  border-radius: 10px;

  @media (max-width: 767px) {
    padding: 8px;
    flex-direction: column;
    border-radius: 5px;
    gap: 16px;
  }
}

.single-works-img {
  flex: 1;

  @media (max-width: 767px) {
    flex: unset;
    max-width: 100%;
  }
}

.single-works-board {
  max-width: 45%;

  @media (max-width: 767px) {
    flex: unset;
    max-width: 100%;
  }
}

.single-works-img {
  width: 100%;
  height: 400px;
  overflow: hidden;
  margin: 0 auto;
  position: relative;
}

.single-works-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.single-works-board {
  display: flex;
  align-items: center;
  width: 100%;
}

.single-works-table {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
}

.single-works-table tr {
  border-bottom: 2px solid #ffffff3b;
}

.single-works-table th {
  padding: 40px 20px;
  text-align: left;
  color: #fff;
  vertical-align: top;
  width: 25%;

  @media (max-width: 767px) {
    padding: 16px 8px;
    width: 35%;
  }
}

.single-works-table td {
  padding: 40px 0px;
  text-align: left;
  color: #fff;
  vertical-align: top;

  @media (max-width: 767px) {
    padding: 16px 8px;
  }
}

.single-works-board th,
.single-works-board td {
  color: #fff;
  font-size: clamp(1rem, 0.9383rem + 0.2597vw, 1.25rem);
  font-weight: 400;
}

/*----------------------
single-works ather-list
-----------------------*/
.ather-list-sec {
  align-items: center;
  justify-content: center;
  max-width: 1320px;
  margin: 0 auto;
  flex-wrap: wrap;
  padding: 80px 16px;

  @media (max-width: 767px) {
    padding: 40px 0px;
  }
}

.ather-list-ttl {
  text-align: center;
  align-items: center;
  width: 100%;
  max-width: 720px;
  background: linear-gradient(135deg, #4C4CFF, #78AEFF);
  font-size: 20px;
  color: #fff;
  padding: 8px 8px;
  margin: 40px auto;
  border-radius: 5px;

  @media (max-width: 767px) {
    margin: 20px auto;
  }

}

.ather-list-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  justify-items: center;
  margin: 0 auto;

  @media screen and (max-width:1020px) {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 24px;
  }

  @media screen and (max-width:768px) {
    grid-template-columns: 1fr;
    gap: 8px;
    margin-bottom: 24px;
  }
}

.ather-list-item {
  width: 100%;
  max-width: 390px;
  margin-bottom: 32px;
  transform: translateY(10px);
  transition: opacity 0.5s ease, transform 0.5s ease;

  @media screen and (max-width:768px) {
    max-width: 320px;
  }
}

.ather-list-item:hover {
  transform: translateY(-5px);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* フェードイン時のアニメーション */
.ather-list-iitem.show {
  opacity: 1;
  transform: translateY(0);
}

/* 画像ホバー時のエフェクト */
.ather-list-iitem:hover {
  transform: translateY(-5px);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.ather-list-image {
  width: 100%;
  height: 294px;
  object-fit: cover;
  border-radius: 10px 10px 0 0;
}

/* カテゴリー名 */
.category-name {
  position: absolute;
  top: 0px;
  left: 0px;
  height: 100%;
  max-height: 32px;
  background-color: rgb(0, 0, 0);
  color: white;
  font-size: 14px;
  text-align: left;
  padding: 8px 24px 8px 16px;
  line-height: 1;
  border-radius: 5px 0 0 0;
  clip-path: polygon(0 0, 100% 0, 90% 100%, 0 100%);
  display: inline-block;

}

.other-list-btn {
  display: flex;
  justify-content: center;
}

.ather-list-text {
  width: 100%;
  height: 64px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  background: linear-gradient(135deg, #4C4CFF, #78AEFF);
  border-radius: 0 0 5px 5px;
  padding: 4px 0;

  @media (max-width: 767px) {
    padding: 4px 16px;
    text-align: left;
  }
}

.ather-list-title {
  font-size: 16px;
  color: #FFF;
  text-align: left;
  padding: 4px 16px;
}

.ather-list-description {
  font-size: 14px;
  color: #FFF;
}

@media (max-width: 1080px) {

  .sec-category-cont {
    width: 100%;
    max-width: 960px;
  }

  .category-btn {
    width: 100%;
    max-width: 230px;
    height: 50px;
    font-size: 15px;
    color: white;
    border: none;
    text-align: center;
    border-radius: 8px;
    cursor: pointer;

    @media screen and (max-width:768px) {
      margin: 0;
      border-radius: 4px;
      height: 60px;
    }
  }
}

@media (max-width: 768px) {
  .category-btn {
    width: 100%;
    max-width: 768px;
    height: 50px;
    font-size: 12px;
  }

  .work-item {
    width: 100%;
  }

  .work-image {
    height: 220px;
  }

  .work-text {
    height: 60px;
  }
}


/* スクロールダウンの位置 */
.scroll {
  position: absolute;
  left: 1%;
  bottom: 18%;
  writing-mode: vertical-rl;
  color: #4C4CFF;
  font-weight: 600;

  @media (max-width: 768px) {
    display: none;
  }
}

/* 線のアニメーション部分 */
.scroll::before {
  animation: scroll 2s infinite;
  background-color: #ffffff;
  bottom: -115px;
  content: "";
  height: 100px;
  left: -5px;
  margin: auto;
  position: absolute;
  right: 0;
  width: 1px;
  z-index: 2;
}

/* 線の背景色 */
.scroll::after {
  background-color: #4C4CFF;
  bottom: -115px;
  content: "";
  height: 100px;
  left: -5px;
  margin: auto;
  position: absolute;
  right: 0;
  width: 1px;
}

/* 線のアニメーション */
@keyframes scroll {
  0% {
    transform: scale(1, 0);
    transform-origin: 0 0;
  }

  50% {
    transform: scale(1, 1);
    transform-origin: 0 0;
  }

  51% {
    transform: scale(1, 1);
    transform-origin: 0 100%;
  }

  100% {
    transform: scale(1, 0);
    transform-origin: 0 100%;
  }
}

@media (max-width: 768px) {
  .numbers {
    display: none;
  }

  .image-details {
    display: none;
  }
}

li#menu-item-67 {
  align-items: center;
  display: flex;
}

.w-length-150 {
  width: 150px;

  @media (max-width: 768px) {
    width: unset;
  }
}

.w-length-170 {
  width: 170px;

  @media (max-width: 768px) {
    width: unset;
  }
}

.w-length-210 {
  width: 210px;

}

.w-length-230 {
  width: 230px;

}

.w-length-320 {
  width: 320px;

  @media (max-width: 768px) {
    width: 100%;
  }
}

.w-length-360 {
  width: 360px;

  @media (max-width: 768px) {
    width: 100%;
  }
}

.fp-cont {
  padding: 0 16px;

}

.w-length-120 {
  @media (max-width: 768px) {
    width: 120px;
  }
}

.w-length-90 {
  @media (max-width: 768px) {
    width: 90px;
  }
}

@supports (-webkit-touch-callout: none) {
  select {
    height: 60px;
  }
}

.form-control {}

.form-control.w-length-100per {
  height: 240px;
}

#business-01,
#business-02,
#business-03 {
  scroll-margin-top: 100px;
}

@media (max-width:767px) {
  .business-right {
    margin-top: 24px;
  }

  .business-right img {
    border-radius: 10px 10px 0 0;
  }

  .business-box {
    margin-top: 0px;
    border-radius: 0 0 10px 10px;
  }
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

.jobs-btn.active {
  background-color: #ccc;
}

.tab-content {
  display: block;
  opacity: 0;
  transition: opacity 0.5s ease;
  height: 0;
  overflow: hidden;
  pointer-events: none;
}

.tab-content.active {
  opacity: 1;
  height: auto;
  pointer-events: auto;
}

.business-right {
  z-index: 0;
}

.business-box {
  z-index: 1;
}

.entry-job-txt {
  background-color: #38383817;
  color: #fff;
  text-align: left;
  max-width: 90%;
  margin: 24px auto 40px;
  padding: 2%;
  border-radius: 15px;

  @media (max-width:767px) {
    max-width: 100%;
    margin: 8px auto 16px;
    padding: 2%;
    font-size: 14px;
  }
}

textarea::placeholder {
  color: #fff !important;
  opacity: 1;
}

textarea::-webkit-input-placeholder {
  color: #fff !important;
}

textarea::-moz-placeholder {
  color: #fff !important;
}

textarea::-ms-input-placeholder {
  color: #fff !important;
}

textarea::-moz-placeholder {
  color: #fff !important;
}

.works-table thead th {
  color: #4e4bfd;
}

.works-table {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
  margin-top: 40px;
}

.works-table th,
.works-table td {
  padding: 40px;
  text-align: left;
  border-top: 1px solid #ccc;
  border-bottom: 1px solid #ccc;

  @media (max-width:767px) {
    padding: 16px 6px;
    font-size: 14px;
  }
}

.works-table th {
  font-weight: bold;
}

.works-table tbody tr {
  opacity: 1;
  transition: opacity 0.4s ease;
}

/* 非表示時（フェードアウト） */
.works-table tbody tr.hide {
  opacity: 0;
  pointer-events: none;
}


/* カラムごとに幅指定 */
.works-table th:nth-child(1),
.works-table td:nth-child(1) {
  width: 20%;

  @media (max-width:767px) {
    width: 37%;
  }
}

.works-table th:nth-child(2),
.works-table td:nth-child(2) {
  width: 60%;
}

.works-table th:nth-child(3),
.works-table td:nth-child(3) {
  width: 20%;

}

.top-work-cont {
  max-width: 1200px;
  margin: 0 auto;

  @media (min-width:769px) and (max-width: 1920px) {
    padding: 0 16px;
  }
}

.top-work-box {
  display: flex;
  gap: 24px;
  justify-content: center;

  @media (max-width:767px) {
    flex-direction: column;
  }
}

.top-work-item {
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.15);

  transition: transform 0.3s ease, box-shadow 0.3s ease;

  @media (max-width:767px) {
    display: flex;
    width: 100%;
  }
}

.top-work-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.15);
}

.top-work-img {
  @media (max-width:767px) {
    width: 60%;
  }
}

.top-work-ttl {
  background-color: #000;
  color: #fff;
  padding: 16px 0;
  font-size: 18px;
  font-weight: 600;

  @media (max-width:767px) {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

.works-table tbody tr.hide {
  opacity: 0;
  transition: opacity 0.3s ease;
}

#top-work {

  .works-table th,
  .works-table td {
    padding: 13px 6px;
    text-align: left;
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
  }

  .works-table th:nth-child(1),
  .works-table td:nth-child(1) {
    width: 20%;

    @media (max-width:767px) {
      width: 37%;
    }
  }
}

.font-style {
  font-family: "Chiron Hei HK", sans-serif;
  font-weight: 400;
}


.nav-cont {
  display: flex;
  align-items: center;
  gap: 16px;
}


.top-contact-tel-cont {
  display: flex !important;
  align-items: center;
  gap: 8px;
}

.tel-number {
  font-size: 24px;
  line-height: 1.2;
  font-weight: 600;
  color: #333;
}

.reception-time {
  font-size: 14px;
  line-height: 1.2;
}

.top-contact {
  background: linear-gradient(to right, #4C4CFF, #78AEFF);
  padding: 8px 16px;
  border-radius: 5px;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;

  @media (max-width:1019px) {
    padding: 24px 16px;
    margin: 0 16px;
  }
}

.top-contact p {
  color: #fff;
  margin: 0;
}

.top-contact:hover {
  background: linear-gradient(to right, #3B3BD9, #649EE0);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.sp {
  display: none;
}

.category-btn:focus {
  outline: none;
  box-shadow: none;
}

.produced-by {
  color: #fff;
  transition: color 0.3s ease;
  /* ← アニメーションの設定 */
}

.produced-by:hover {
  color: #ffcc00;
  /* ← 好きなホバー時の色に変更 */
}

.grecaptcha-badge {
  visibility: hidden;
}

#automatic {
  scroll-margin-top: -70px;
}

.top-contact-tel-icon img {
  width: 40px;
  height: 40px;
}

.business-description {
  width: 600px;
  color: #fff;
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 40px;

  @media screen and (max-width: 768px) {
    width: 100%;
    font-size: 14px;
    margin-bottom: 30px;
    text-align: left;
  }
}

@media (max-width: 1400px) {
  .business-description {
    width: 80%;
  }
}

.entry-btn:hover {
  transform: scale(1.05);
}