* {
  margin: 0;
  padding: 0;
  box-sizing: border-box; /* 要素の幅・高さにパディング・ボーダーを含める */
}
/* body と html の余白リセット */
html, body {
  width: 100%;
  height: 100%;
  overflow-x: hidden; /* 横スクロールを防ぐ */
}
body {
  font-family: 'Noto Sans JP', sans-serif;
}

/* ナビゲーション */
.navbar {
  text-align: center;
  display: flex; /* 横並びにするためにフレックスボックスを使用 */
  justify-content: center; /* アイテムを中央に配置 */
  width: 100%; /* 幅を100%にしてフレックスボックスの親が横並びになるように */
  font-size: 18px;
  padding: 10px 0; /* 上下の余白を設定 */
  margin: 0; /* 余白を削除 */
  background-color: #FFD700;
}

.nav-item {
  margin-right: 10px; /* アイテム間の余白 */
}

/* アクティブページのリンク */
.nav-item a.active {
  border: 2px solid #000;
  color: #000; /* 色を黒に変更（必要に応じて変更） */
  padding: 0 5px; /* 少し余白を追加して押された感じを強調 */
}

.nav-item a {
  text-decoration: none;
  color: #000;
  font-weight: bold;
  display: inline-block; /* リンクをインラインブロックで表示 */
}

/* 社名セクション */
.company-name {
  text-align: center;
  margin-top: 30px;
}

/* ロゴ（SVG） */
.company-logo {
  width: 100%;
  max-width: 768px;
  height: auto;
  overflow: hidden;
  margin: 0 auto; /* 横の中央揃え */
}

.company-logo-img {
  width: 100%;
  max-width: 768px;
  height: auto;
  overflow: hidden;
  margin: 0 auto; /* 横の中央揃え */
}

/* 日本語部分 */
.company-text {
  font-size: 16px;
  font-weight: bold;
  color: rgba(0, 0, 0, 0.25); /* 25%の不透明度 */
  display: inline-block;
}

.section-wrapper {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.mainvisual-img {
  width: 100%;
  height: auto;
  display: block;
}


.service-card1 {
  max-width: 768px;
}

/* 共通構造 */
.image1 {
  width: 100%;
  display: block;
}

.title1 {
    width: 90%;
    padding: 50px 0;
    margin: 0 auto;
    display: block;
}

.service-card__text1 {
    width: 100%;
    font-size: 24px;
    line-height: 1.6;
    padding: 0 15px 50px 15px;
}


.service-card2 {
  position: relative; /* 共通でOK */
  max-width: 768px;
}
/* 共通構造 */
.image2 {
  width: 100%;
  display: block;
}

.title2 {
    width: 100%;
    margin: 0 auto;
}

.service-card__text2 {
    position: absolute;
    width: 100%;
    z-index: 2;
    font-size: 24px;
    line-height: 1.6;
    padding: 0 15px 50px 15px;
    color: #fff;
    top: 45%;
    left: 6%;
}

.service-card3 {
  max-width: 768px;
}

/* 共通構造 */
.image3 {
  width: 100%;
  display: block;
  margin-top: -5px;
}

.title3 {
    width: 90%;
    padding: 50px 0;
    margin: 0 auto;
    display: block;
}

.service-card__text3 {
    width: 100%;
    font-size: 24px;
    line-height: 1.6;
    padding: 0 15px 50px 15px;
}

.service-card4 {
  max-width: 768px;
}

/* 共通構造 */
.image4 {
  width: 100%;
  display: block;
}

/* 共通構造 */
.service-card__title4 {
    text-align: center;
    font-size: 40px;
    font-family: "Noto Serif JP";
    font-weight: 700;
    padding: 30px 0;
}

.service-card__text4 {
    width: 100%;
    font-size: 24px;
    line-height: 1.6;
    padding: 0 15px 50px 15px;
}

.service-card5 {
  max-width: 768px;
}

/* 共通構造 */
.image5 {
  width: 100%;
  display: block;
}

/* 共通構造 */
.service-card__title5 {
    text-align: center;
    font-size: 40px;
    font-family: "Noto Serif JP";
    font-weight: 700;
    padding: 30px 0;
}

.service-card__text5 {
    width: 100%;
    font-size: 24px;
    line-height: 1.6;
    padding: 0 15px 50px 15px;
}

.service-card6 {
  position: relative;
  max-width: 768px;
}

.service-card__image6 {
  width: 100%;
  display: block;
}

.service-card__overlay6 {
  position: absolute;
  top: 28%; /* 調整ポイント */
  left: 5%;
  width: 90%;
  z-index: 2;
  color: #000;
}

.service-card__title6 {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 1rem;
  text-align: center;
  font-family: "Noto serif JP";
  font-weight: 700;
}

.service-card__title6 span {
  font-size: 40px;
}

.service-card__text6 {
    font-size: 24px;
    line-height: 1.7;
    margin-bottom: 50px;
    margin-left: 10px;
}

.service-card7 {
  max-width: 768px;
  position: relative;
}

.service-card__title7 {
  text-align: center;
  font-size: 40px;
  font-family: "Noto Serif JP";
  font-weight: 700;
  padding: 30px 0;
}

.service-card__text7 {
  width: 100%;
  font-size: 24px;
  line-height: 1.6;
  padding: 0 15px 50px 15px;
  margin-top: 30px;
}

.footer {
  position: relative;
  color: #fff;
  font-family: "Noto Sans JP", sans-serif;
  text-align: left;
  box-sizing: border-box;
  margin-top: 50px;
}


.footer-line-img {
  height: auto;
  display: block;
  width: 100%;
  max-width: 768px;
  margin: -50px auto;
}

.footer-inner {
  max-width: 360px;
  margin: 0 auto;
}



.footer-company {
  position: absolute; 
  z-index: 1;
  top: 13%;
  left: 15%;
  font-size: 24px;
  margin: 0 0 8px;
}

.footer-desc {
  position: absolute; 
  z-index: 1;
  top: 19%;
  left: 20%;
  font-size: 14px;
  margin: 0 0 32px;
}

.footer-contact__list {
  position: absolute; 
  z-index: 1;
  top: 24.5%;
  left: 12%;
  font-size: 25px;
  margin-bottom: 12px;
  list-style: none;
  line-height: 1.7;
}

.footer-buttons {
  position: absolute; 
  z-index: 1;
  top: 50%;
  left: 11%;
  display: flex;
  flex-direction: column;
  gap: 25px;
  margin-bottom: 32px;
}

.btn {
  display: block;
  text-align: center;
  padding: 12px 30px;
  font-size: 24px;
  font-weight: bold;
  text-decoration: none;
}

.btn--yellow {
  background-color: #ffcc00;
  color: #000;
}

.btn--white {
  background-color: #fff;
  color: #000;
}

.footer-address__title {
  font-size: 24px;
  position: absolute; 
  z-index: 1;
  top: 84%;
  left: 41%;
  margin-bottom: 8px;
}

.footer-address address {
  position: absolute; 
  z-index: 1;
  top: 90%;
  left: 14%;
  font-style: normal;
  font-size: 18px;
  line-height: 1.5;
  margin: 0;
  text-align: center;
}

@media (min-width: 768px) {
.sp_br {
  display: none;
}
.navbar {
    font-size: 40px;
}

.nav-item {
    margin-right: 35px;
}

.image1 {
    width: 50vw;
    max-width: none;
    margin-left: auto;
}

.service-card1 {
    max-width: none;
    position: relative;
    padding-bottom: 10vw;
}

.title1 {
  width: 35%;
  position: absolute;
  top: 0;
  left: 6%;
}

.service-card__text1 {
  position: absolute;
  margin: 0 auto;
  max-width: 1000px;
  font-size: 2vw;
  bottom: 0;
  left: 6%;
}

.image2 {
  width: 50vw;
  max-width: none;
}

.title2 {
  width: 50%;
  position: absolute;
  top: 0;
  right: 0;
}

.service-card2 {
    position: relative;
    max-width: none;
    margin: 0 auto;
    overflow: hidden;
    padding-bottom: 15vw;
}

.service-card__text2 {
  width: initial;
  right: 3%;
  font-size: 2vw;
  top: 40%;
  left: initial;
}

.image3 {
  width: 50vw;
  max-width: none;
  margin-left: auto;
}

.service-card3 {
    max-width: none;
    position: relative;
    padding-bottom: 10vw;
    margin-top: 5vw;
}

.title3 {
  width: 60%;
  width: 35%;
  position: absolute;
  top: 0;
  left: 6%;
}

.service-card__text3 {
  position: absolute;
  margin: 0 auto;
  max-width: 1000px;
  font-size: 2vw;
  bottom: 0;
  left: 6%;
}

.image4 {
  width: 50vw;
  max-width: none;
  margin-right: auto;
}


.service-card4 {
    max-width: none;
    position: relative;
    margin-top: 5vw;
}

.service-card__title4 {
  width: 60%;
  width: 35%;
  position: absolute;
  bottom: 0;
  left: 13%;
  color: #FFF;
  text-shadow:0 0 10px #000;
}

.service-card__text4 {
  position: absolute;
  margin: 0 auto;
  max-width: 1000px;
  width: initial;
  right: 7%;
  font-size: 2vw;
  top: 0;
  left: initial;
}

.image5 {
  width: 50vw;
  max-width: none;
  margin-left: auto;
}

.service-card5 {
    max-width: none;
    position: relative;
    margin-top: 5vw;
}

.service-card__title5 {
  width: 60%;
  width: 35%;
  position: absolute;
  bottom: 0;
  right: 6%;
  color: #FFF;
  text-shadow:0 0 10px #000;
  font-size: 3vw;
}

.service-card__text5 {
  position: absolute;
  margin: 0 auto;
  max-width: 1000px;
  width: initial;
  left: 7%;
  font-size: 2vw;
  top: 27%;
}

.service-card__image6 {
  width: 50vw;
  max-width: none;
  margin-right: auto;
}

.service-card6 {
    max-width: none;
    position: relative
}

.service-card__overlay6 {
  top: 0;
  bottom: 0;
}

.service-card__title6 {
  position: absolute;
  bottom: 0;
  right: 3%;
  color: #FFF;
  text-shadow:0 0 10px #000;
  font-size: 2vw;
}

.service-card__text6 {
  position: absolute;
  margin: 0 auto;
  max-width: 1000px;
  width: initial;
  right: 4vw;
  font-size: 2vw;
  top: 6vw;
}

.image7 {
  width: 50vw;
  max-width: none;
  margin-left: auto;
}

.service-card7 {
    max-width: none;
    position: relative;
    margin-top: 5vw;
}

.service-card__title7 {
  width: 60%;
  width: 35%;
  position: absolute;
  bottom: 0;
  left: 6%;
  color: #FFF;
  text-shadow:0 0 10px #000;
  font-size: 3vw;
}

.service-card__text7 {
  position: absolute;
  margin: 0 auto;
  max-width: 1000px;
  width: initial;
  left: -3%;
  font-size: 2vw;
  top: 27%;
}

.footer-company {
    top: 35%;
    left: 33%;
    font-size: 3vw;
    font-weight: bold;
}

.footer-desc {
    top: 42%;
    left: 34%;
    font-size: 2vw;
}

.footer-contact__list {
    top: 58%;
    left: 12%;
    font-size: 2vw;
    line-height: 2;
}

.footer-buttons {
  top: 56%;
  right: 10%;
  gap: 2vw;
  left: initial;
}


.footer-address__title {
    font-size: 2vw;
    top: 80%;
    left: 48%;
    font-weight: bold;
}


.footer-address address {
    top: 87%;
    left: 36%;
    font-size: 1.6vw;
    line-height: 1.5;
}

.btn {
    font-size: 50px;
}

.footer-line-img {
    width: 100vw;
    max-width: none;
    margin-top: 100px;
}

.service-card__title6 span {
    font-size: 3vw;
}




}


.footer-company-info {
  position: relative;
  width: 100%;
  margin-top: 1vw;
  padding-top: 1vw;
  background-color: #363737;
}

.footer-company-info table {
  margin: auto;
  margin-top: 30px;
}

.footer-company-info table td,
.footer-company-info table th {
  font-size: 2vw;
  line-height: 1.5;
  color: #FFF;
  display: block;
  margin-bottom: 10px;
}

.footer-company-info table td {
  margin-bottom: 40px;
  font-size: 1.6vw;
}

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

@media (max-width: 769px) {
  .footer-company-info table td {
    font-size: 18px;
    margin-bottom: 30px;
  }
  .footer-company-info table th {
    font-size: 24px;
    font-weight: 500;
  }
}

#footer-navbar {
  position: absolute;
  bottom: 2vw; 
}

#footer-navbar {
  background-color: #363737;
  color: #fff;
}

#footer-navbar .nav-item a {
  color: #fff;
}

#footer-navbar .nav-item a.active {
  color: #fff;
  border: 2px solid #FFF;
}

@media (max-width: 769px) {
  #footer-navbar {
    flex-direction: column;
    text-align: left;
    padding-left: 11vw;
    gap: 10px;
  }
  #footer-navbar .nav-item a {
    font-size: 20px;
  }
}

/* デザイン修正 */

.mainvisual_pc {
  display: none;
}

@media (min-width: 768px) {
  .mainvisual_sp {
    display: none;
  }
  .mainvisual_pc {
    display: block;
  }
  .contact-info p, .contact-hour p {
    font-size: 4vw;
  }
  .recruit-text {
    transform: initial;
    left: 10%;
  }
  .btn {
    font-size: 4vw;
    padding: 1vw 30px;
  }
  .nav-item a {
    font-size: min(4vw, 40px);
  }
}