html {
  font-size: 16px;
}
/* 1rem = 16px */
* {
  box-sizing: border-box;
  font-family: "Zen Maru Gothic", sans-serif, 'Noto Sans JP', sans-serif;
  -webkit-font-smoothing: antialiased;
  font-weight: 700;
}

a {
  text-decoration: none;
  color: #000000;
}

.header-nav a:hover, .menu-nav a:hover, .menu-contact a:hover, .service-category1:hover::before, .service-category2:hover::before, .service-category3:hover::before, .service-category4:hover::before, .news-btn-box a:hover, .sns-btn-box a:hover, .recruit-btn:hover {
  opacity: 0.7;
}

[id] {
  scroll-margin-top: 90px;
}

@media screen and (max-width: 1024px) {
  [id] {
    scroll-margin-top: 60px;
  }
}

ul {
  list-style-type: none;
}

h2 {
  font-size: 2rem;
  letter-spacing: 0.1em;
}

@media screen and (max-width: 430px) {
  h2 {
    font-size: 1.5rem;
  }
}

h3 {
  font-size: 4rem;
}

@media screen and (max-width: 600px) {
  h3 {
    font-size: 3rem;
  }
}

@media screen and (max-width: 430px) {
  h3 {
    font-size: 2rem;
  }
}

.style-flex {
  display: flex;
}

main,
footer {
  padding-left: clamp(30px, 4.17vw, 60px);
  padding-right: clamp(30px, 4.17vw, 60px);
}

.hero {
  width: 100vw;
  height: 100vh;
  background-color: #fabf13;
  position: relative;
}

.top-logo-pc {
  display: block;
  position: absolute;
  top: 7vh;
  left: 6vw;
  z-index: 999;
  width: 300px;
}

.top-logo-tb {
  display: none;
}

@media screen and (max-width: 1024px) {
  .top-logo-pc {
    top: 8vh;
    width: 26vw;
  }
}

@media screen and (max-width: 600px) {
  .top-logo-pc {
    display: none;
  }

  .top-logo-tb {
    display: block;
    max-width: 550px;
    width: 72vw;
    position: absolute;
    top: 5vh;
    left: 50%;
    transform: translateX(-50%);
    z-index: 999;
  }
}

.vertical-text {
  position: absolute;
  top: 7vh;
  right: 6.9vw;
  /* 右寄り */
  writing-mode: vertical-rl;
  /* 縦書き */
  z-index: 999;
}

.vertical-text span {
  display: inline-block;
  padding: 12px 3px;
  margin: 8px;
  background-color: #fff;
  /* 白塗り */
  color: #000;
  /* 文字色 黒 */
  border-radius: 5px;
  font-size: clamp(1rem, 2.2vw, 2rem);
}

@media screen and (max-width: 600px) {
  .vertical-text {
    writing-mode: horizontal-tb;
    /* left: 1rem; */
    left: clamp(8px, 2.67vw, 16px);
    bottom: clamp(180px, 28vh, 280px);
    top: auto;
    right: auto;
    line-height: 1;
    font-size: 16px;
  }

  .vertical-text span {
    padding: 6px;
    margin: 0;
  }
}

.vertical-copyright {
  position: fixed;
  bottom: 60px;
  right: 40px;
  transform: rotate(90deg);
  transform-origin: right bottom;
  font-size: 0.75rem;
  font-family: "Quicksand", sans-serif;
  letter-spacing: 0.05em;
  z-index: 999;
  font-weight: 600;
}

@media screen and (max-width: 820px) {
  .vertical-copyright {
    right: clamp(19px, 3.7vw, 30px);
  }
}

@media screen and (max-width: 600px) {
  .vertical-copyright {
    font-size: 0.625rem;
  }
}

.slider {
  width: 100vw;
  height: 100vh;
  display: flex;
  transition: transform 0.5s ease;
}

.slider img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 2s;
}

@media screen and (min-width: 431px) and (max-width: 1024px) {
  .slider-img4 {
    object-position: 70% center;
  }
}

@media screen and (max-width: 430px) {
  .slider-img3 {
    transform: scale(0.9);
  }
  .slider-img4 {
    transform: scale(0.9);
    object-position: 60% center;
  }
}

.clippath {
  display: block;
}

.clippath-sp {
  display: none;
}

.mask {
  -webkit-clip-path: url(#clippath);
  clip-path: url(#clippath);
}

@media screen and (max-width: 600px) {
  .clippath {
    display: none;
  }
  
  .clippath-sp {
    display: block;
  }
  .slider {
    position: relative;
  }

  .mask {
    -webkit-clip-path: url(#clippath-sp);
    clip-path: url(#clippath-sp);
  }
}

.dots {
  position: absolute;
  bottom: 20px;
  width: 100%;
  text-align: center;
  z-index: 999;
}

.dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin: 0 5px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: background-color 0.3s;
  z-index: 999;
}

.dot.active {
  background-color: rgba(255, 255, 255, 1);
}

.header {
  opacity: 0;
  /* 初期は透明 */
  /* transform: translateY(-20px);   */
  transition: opacity 1.5s ease, transform 1.5s ease;
  /* ゆっくりフェード＆スライド */
  padding-left: clamp(16px, 4.17vw, 60px);
  padding-right: clamp(16px, 4.17vw, 60px);
  height: 90px;
  width: 100%;
  position: relative;
}

@media (max-width: 1024px) {
  .header {
    height: 60px;
  }
}

.header-container {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transform: translateY(-20px);
  transition: opacity 1.5s ease, transform 1.5s ease;
}

.header.visible {
  opacity: 1;
  transform: translateY(0);
  /* 元の位置にスライド */
}

.header.visible .header-container {
  transform: translateY(0);
}

.header-logo {
  max-width: 280px;
  height: auto;
}

@media screen and (max-width: 600px) {
  .header-logo {
    max-width: 45vw;
    min-width: 185px;
  }
}

.header-nav ul {
  display: flex;
}

.header-nav li {
  padding: 5px;
  font-size: 0.8rem;
}

.header-nav a {
  transition: opacity 0.5s ease;
}

/* ハンバーガー */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
}

.hamburger span {
  width: 24px;
  height: 1px;
  background: #fabf13;
}

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

  .hamburger {
    display: flex;
  }
}

.hamburger-menu {
  position: fixed;
  inset: 0;
  background: #fff;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease, visibility 0.5s ease;
  height: 100vh;
  pointer-events: none;
}

.hamburger-menu.is-open {
  opacity: 1;
  visibility: visible;
  background: #fff;
  pointer-events: auto;
}

/* 上部：ロゴ＋閉じる */
.menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  /* padding: 20px; */
  padding-left: clamp(16px, 4.17vw, 60px);
  padding-right: clamp(16px, 4.17vw, 60px);
  height: 60px;
}

.menu-logo {
  height: 32px;
}

/* .menu-close {
  font-size: 24px;
  background: none;
  border: none;
  cursor: pointer;
} */
.menu-close {
  position: relative;
  width: 24px;
  height: 24px;
  background: transparent;
  border: none;
  cursor: pointer;
}

.menu-close::before,
.menu-close::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 24px;
  height: 1px;
  background: #fabf13;
  transform-origin: center;
}

.menu-close::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.menu-close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

/* 中央エリア */
.menu-body {
  height: calc(100vh - 80px);
  display: flex;
  flex-direction: column;
  /* justify-content: center; */
  align-items: center;
  /* gap: 40px; */
}

/* ナビ */
.menu-nav {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: center;
}

.menu-nav li+li {
  margin-top: 20px;
}

.menu-nav a {
  font-size: clamp(20px, 2.5vw, 24px);
  text-decoration: none;
  color: #000;
  transition: opacity 0.5s ease;
}

.menu-nav p {
  color: #fabf13;
  font-size: clamp(10px, 1.4vw, 14px);
  font-family: "Quicksand", sans-serif;
}

/* 電話番号の箱 */
.menu-contact {
  padding: 14px 26px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  background: #fffad2;
  font-size: clamp(10px, 1.4vw, 14px);
  margin-top: 40px;
  margin-bottom: 20px;
}

.menu-contact span {
  color: #fabf13;
}

.menu-contact a {
  transition: opacity 0.3s ease;
}

.menu-tel {
  font-size: 28px;
  font-family: "Quicksand", sans-serif;
  font-weight: 600;
  color: #fabf13;
  text-decoration: none;
  padding-left: 1rem;
}

@media (max-width: 375px) {
  .menu-logo {
    height: 21px;
  }
  .menu-contact {
    margin-top: 40px;
    margin-bottom: 0;
    padding: 7.5px 20px;
  }

  .sns-name img {
    width: 10px;
    height: 10px;
  }

  .font10 {
    font-size: 10px;
  }

  .font9 {
    font-size: 9px;
  }

}
.font-qs {
  font-family: "Quicksand", sans-serif;
}

@media (max-width: 430px) {
  .font12 {
    font-size: 12px;
  }
}

/* ハンバーガーメニューここまで */

.tel-box {
  position: absolute;
  /* 最初は header下に配置 */
  right: 60px;
  width: 160px;
  height: 90px;
  background: #fffad2;
  border-radius: 10px;
  opacity: 0;
  transform: translateY(-20px);
  transition: opacity 1.5s ease 0.5s, transform 1.5s ease 0.5s;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

/* フェードイン */
.tel-box.visible {
  opacity: 1;
  transform: translateY(0);
}

/* 固定表示 */
.tel-box.fixed {
  position: fixed;
  top: 100px;
  /* 固定位置 */
}

.tel-box-container span {
  color: #fabf13;
}

.tel-box-container a {
  color: #fabf13;
  font-size: 1.25rem;
  font-family: "Quicksand", sans-serif;
}

.header.fixed {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
  background-color: #fff;
}

body.header-fixed {
  padding-top: 90px;
  /* header高さ */
}

@media (max-width: 1024px) {
  .header.fixed {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    background-color: #fff;
  }

  body.header-fixed {
    padding-top: 60px;
    /* header高さ */
  }

  .tel-box {
    display: none;
  }

  .tel-box.visible {
    display: none;
  }
}

#about {
  padding-top: 60px;
  padding-bottom: 60px;
}

.section-title {
  align-items: baseline;
  padding-bottom: 50px;
}

@media (max-width: 430px) {
  #about {
    padding-top: 20px;
  }
}

.section-title p {
  color: #fabf13;
  padding-left: 16px;
  font-family: "Quicksand", sans-serif;
  letter-spacing: 0.1em;
}

@media (max-width: 430px) {
  .section-title {
    flex-direction: column;
    padding-bottom: 30px;
  }

  .section-title p {
    padding-left: 0;
    padding-top: 10px;
    font-size: 0.75rem;
  }
}

.about-container {
  justify-content: space-between;
}

.about-container img {
  height: 360px;
  width: 45.8vw;
  object-fit: cover;
  border-radius: 15px 70px 15px 15px;
}

.about-textbox {
  width: 45.8vw;
  padding-top: 50px;
  padding-right: 24px;
  padding-left: clamp(60px, calc(20vw - 168px), 120px);
  line-height: 2;
}

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

  .about-container img, .about-textbox {
    width: 100%;
  }

  .about-textbox {
    padding-right: 0;
    padding-left: 0;
    padding-top: 27px;
  }

}
@media screen and (max-width: 430px) {
  .about-container img {
    height: 190px;
  }
}
.about-text-title {
  font-size: 2rem;
  padding-bottom: 70px;
  line-break: strict;
  line-height: 1.75;
}

@media screen and (max-width: 768px) {
  .about-text-title {
    padding-bottom: 30px;
  }
}

@media screen and (max-width: 600px) {
  .about-text-title {
    font-size: 1.5rem;
  }
}

.about-text {
  line-break: strict;

}

#service, #news, #recruit {
  padding-top: 90px;
  padding-bottom: 60px;
}

@media (max-width: 768px) {
  #about, #service, #news, #recruit {
    padding-bottom: 0;
  }
}

@media (max-width: 430px) {
  #service, #news, #recruit {
    padding-top: 80px;
  }
}

.service-wrapper, .contact-wrapper,.contact-wrapper {
  height: auto;
  background-color: #fffad2;
  border-radius: 20px 100px 20px 20px;
}

@media screen and (max-width: 430px) {
  .service-wrapper,
  .contact-wrapper {
    margin-left: calc(-1 * clamp(30px, 4.17vw, 60px));
    margin-right: calc(-1 * clamp(30px, 4.17vw, 60px));
  }
}

.service-container,
.contact-container {
  width: 100%;
  padding: 80px;
}

.news-container {
  padding: 60px 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media screen and (max-width: 1024px) {
  .service-container,
  .news-container {
    padding: 40px 30px;
  }
}

.grid {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr 1fr 1fr 1fr;
}

@media screen and (max-width: 820px) {
  .grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media screen and (max-width: 430px) {
  .grid {
    gap: 10px;
  }
}

.service-grid-box {
  height: 300px;
  border-radius: 20px;
  overflow: hidden;
}

@media screen and (max-width: 430px) {
  .service-grid-box {
    height: 170px;
  }
}
.service-category1, .service-category2, .service-category3, .service-category4 {
  position: relative;
  overflow: hidden;
}

.service-category1::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(
      rgba(230, 140, 160, 0.85),
      rgba(230, 140, 160, 0.85)
    ),
    url(img/service_category1.jpg);
  background-size: cover,210%;
  background-position: center;
  z-index: 1;
  transition: opacity 0.5s ease;
}

.service-category2::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(
      rgba(120, 190, 200, 0.85),
      rgba(120, 190, 200, 0.85)
    ),
    url(img/service_category2.jpg);
    background-size: cover;
    background-position: center, 65% center;
    z-index: 1;
    transition: opacity 0.5s ease;
}

.service-category3::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(
      rgba(170, 205, 90, 0.85),
      rgba(170, 205, 90, 0.85)
    ),
    url(img/service_category3.jpg);
    background-size: cover;
    background-position: center;
    z-index: 1;
    transition: opacity 0.5s ease;
}

.service-category4::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(
      rgba(150, 160, 220, 0.85),
      rgba(150, 160, 220, 0.85)
    ),
    url(img/service_category4.jpg);
    background-size: cover;
    background-position: center, 75% center;
    z-index: 1;
    transition: opacity 0.5s ease;
}

@media screen and (min-width: 821px) and (max-width: 1140px) {
  .service-category1::before {
    background-size: cover, 250%;
  }
  .service-category4::before {
    background-position: center, 68% bottom;
    background-size: cover, 230%;
  }
}
@media screen and (max-width: 430px) {
  .service-category1::before {
    background-size: cover, 200%;
  }
}
/* .service-grid-item {
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  z-index: 2;
  height: 100%;
} */

.service-grid-item {
  padding: 20px;
  display: grid;
  grid-template-rows: 1fr auto 1fr;
  align-items: center;
  position: relative;
  z-index: 2;
  height: 100%;
}

@media screen and (max-width: 430px) {
  .service-grid-item {
    padding: 12px;
  }
}
.item-number {
  align-self: start;
  height: 44px;
}

.item-number span {
  /* display: inline-block; */
  font-family: "Quicksand", sans-serif;
  font-weight: 600;
  font-size: 1.875rem;
  color: white;
  width: auto;
}

.item-title {
  font-size: 2.25rem;
  color: white;
  margin: 0 auto;
  text-align: center;
  align-self: center;
}

@media screen and (max-width: 430px) {
  .item-number span {
    font-size: 1.125rem;
  }

  .item-title {
    font-size: 1.125rem;
  }
}

.item-arrow {
  text-align: right;
  align-self: end;
}

.item-arrow img{
  width: 40px;
}

@media screen and (max-width: 430px) {
  .item-arrow img{
    width: 20px;
  }
}

.categories {
  background-color: #fff;
  border-radius: 20px;
  padding: 80px;
  margin-top: 20px;
  text-align: center;
}

@media screen and (max-width: 820px) {
  .categories {
    padding: 80px 30px;
  }
}

@media screen and (max-width: 430px) {
  .categories {
    padding: 50px 20px;
  }
}

.categories-title {
  display: inline-flex;
  align-items: center;
  color: #fff;
  padding: 0 18px;
  border-radius: 10px;
}
.categories-title span {
  transform: translateY(-2px);
}
.categories-text-title {
  font-size: 2rem;
  padding: 30px 16px;
}

@media screen and (max-width: 430px) {
  .categories-text-title {
    font-size: 20px;
    padding: 30px 0;
  }
}

.color-pink {
  color: #e68ca0;
}

.color-blue {
  color: #78bec8;
}

.color-green {
  color: #aacd5a;
}

.color-violet {
  color: #96a0dc;
}

.pink-text {
  display: inline-block;
  font-size: 1.375rem;
  border-bottom: 3px solid #e68ca0;
}

.categories-text {
  line-height: 2;
  padding-bottom: 48px;
}

.category1-title {
  background-color: #e68ca0;
}

@media screen and (max-width: 430px) {
  .pink-text {
    display: none;
  }

  .categories-text {
    padding-bottom: 30px;
    font-size: 12px;
    text-align: left;
  }
}

.category2-title {
  background-color: #78bec8;
}

.category3-title {
  background-color: #aacd5a;
}

.category4-title {
  background-color: #96a0dc;
}

.category1-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr 1fr 1fr;
  padding-top: 40px;
  padding-bottom: 70px;
}
.category4-message {
  font-size: 32px;
  font-weight: 400;
  padding: 20px 0;
}
/* .category1-grid img {
  width: 100%;
  height: 170px;
  border-radius: 20px;
  object-fit: cover;
} */

.category1-grid p {
  font-weight: 500;
}

@media screen and (max-width: 430px) {
  .category1-grid {
    gap: 10px;
    grid-template-columns: 1fr 1fr;
    padding-top: 0;
    padding-bottom: 30px;
  }

  .category1-grid img {
    height: 70px;
  }

  .category1-grid p {
    font-size: 10px;
  }

  .category4-message {
    font-size: 24px;
  }
}

.categories-image {
  width: 100%;
  height: 386px;
  border-radius: 20px;
  object-fit: cover;
  margin-bottom: 70px;
}

#category2 .categories-image {
  object-position: center top;
}

@media screen and (max-width: 1140px) {
  .categories-image {
    height: 270px;
  }
}

.table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.table th {
  padding: 24px 16px;
  display: flex;
  justify-content: flex-end;
}

.inner {
  width: 150px;
  padding-left: 16px;
  text-align: left;
  position: relative;
}


@media screen and (max-width: 430px) {
  .categories-image {
    height: 165px;
    margin-bottom: 30px;
  }

  .table {
    font-size: 12px;

  }

  .table th {
    padding: 16px;
    display: table-cell;
    vertical-align: top;
  }

  .inner {
    width: 100px;
  }
}


/* 上半分 */
.inner1::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 3px;
  height: 50%;
  background: #e68ca0;
}

/* 下半分 */
.inner1::after,
.inner2::after,
.inner3::after,
.inner4::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 3px;
  height: 50%;
  background: #fabf13;
}

.inner2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 3px;
  height: 50%;
  background: #78bec8;
}

.inner3::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 3px;
  height: 50%;
  background: #aacd5a;
}

.inner4::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 3px;
  height: 50%;
  background: #96a0dc;
}

.table td {
  width: 60%;
  font-weight: 500;
  padding-left: 16px;
  padding-right: 16px;
}

@media screen and (max-width: 1300px) {
  .table td {
    width: auto;
  }
}

@media screen and (max-width: 430px) {
  .table td {
    padding: 16px;
  }
}

.category1-table tr:nth-child(odd) th,
.category1-table tr:nth-child(odd) td {
  background-color: #fcf3f5;
}

.category2-table tr:nth-child(odd) th,
.category2-table tr:nth-child(odd) td {
  background-color: #f1f8f9;
}

.category3-table tr:nth-child(odd) th,
.category3-table tr:nth-child(odd) td {
  background-color: #f6faee;
}

.category4-table tr:nth-child(odd) th,
.category4-table tr:nth-child(odd) td {
  background-color: #f4f5fb;
}

.table tr:nth-child(even) th,
.table tr:nth-child(even) td {
  background-color: #fff;
}

.table tr:nth-child(odd) th:first-child {
  border-top-left-radius: 16px;
  border-bottom-left-radius: 16px;
}

.table tr:nth-child(odd) td:last-child {
  border-top-right-radius: 16px;
  border-bottom-right-radius: 16px;
}

.contact {
  padding-top: 90px;
}

.news-wrapper {
  height: auto;
  background-image: url(img/news-bg.png);
  background-size: cover;
  background-position: center;
  border-radius: 20px 100px 20px 20px;
}

.news-message {
  font-size: 1.7rem;
  margin: 0 auto;
  text-align: center;
}

@media screen and (max-width: 768px) {
  .news-wrapper {
    height: 351px;
  }
  .news-message {
    margin-top: 16px;
  }
}

@media screen and (max-width: 430px) {
  .news-wrapper  {
    margin-left: calc(-1 * clamp(30px, 4.17vw, 60px));
    margin-right: calc(-1 * clamp(30px, 4.17vw, 60px));
    height: 306px;
  }
  .news-message {
    margin-top: 8px;
  }
}



.news-btn-box {
  /* padding-top: 40px; */
  text-align: center;
  height: 96px;
}

@media screen and (max-width: 430px) {
  .news-btn-box {
    font-size: 12px;
    height: 90px;
  }
  .news-message {
    font-size: 1rem;
  }
}

.news-btn-box a,
.sns-btn-box a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 2px solid black;
  border-radius: 30px;
  width: clamp(152px, 40vw, 240px);
  /* width: 240px; */
  height: 60px;
  background-color: #fff;
  margin: 20px auto 0 auto;
  transition: opacity 0.5s ease;
}

.recruit-wrapper {
  height: auto;
  background-image: url(img/recruit_bg.jpg);
  background-size: cover;
  background-position: center 70%;
  position: relative;
  border-radius: 20px 100px 20px 20px;
  overflow: hidden;
}

@media screen and (max-width: 430px) {
  .recruit-wrapper {
    margin-left: calc(-1 * clamp(30px, 4.17vw, 60px));
    margin-right: calc(-1 * clamp(30px, 4.17vw, 60px));
  }
  .news-btn-box a,
  .sns-btn-box a {
    height: 45px;
  }
}

.recruit-wrapper::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(67, 177, 73, 0.95);
  z-index: 1;
}

.recruit-container {
  width: 100%;
  padding: 80px;
  position: relative;
  z-index: 2;
  justify-content: center;
  align-items: center;
}

@media screen and (max-width: 820px) {
  .recruit-container {
    padding: 40px 30px;
  }
}

@media screen and (max-width: 768px) {
  .recruit-container {
    flex-direction: column;
  }
}
.recruit-img-wrap {
    display: block;
    width: 430px;
    height: 330px;
    overflow: hidden;
    border-radius: 20px; 
}
.recruit-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* object-position: center bottom; */
  transform: scale(1.2);
}
@media screen and (max-width: 1024px) {
  .recruit-img {
    transform: scale(1.1);
  }
}
@media screen and (max-width: 820px) {
  .recruit-img {
    transform: scale(1.0);
  }
}
.recruit-text-box {
  padding-right: 80px;
  color: #fff;
  line-height: 2;
}
.recruit-btn-box {
  padding-top: 50px;
}

.recruit-btn-box a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #fff;
  border: 2px solid #fff;
  border-radius: 30px;
  max-width: 240px;
  height: 60px;
  transition: opacity 0.5s ease;
}

.recruit-img-sp {
  display: none;
}

.section-title.recruit-title {
  padding-bottom: 40px;
}

@media screen and (max-width: 820px) {
  .recruit-text-box {
    padding-right: 24px;
  }
}

@media screen and (max-width: 768px) {
  .recruit-text-box {
    width: 100%;
    padding-right: 0;
  }

  .section-title.recruit-title {
    padding-bottom: 50px;
  }

  .recruit-text {
    padding-top: 30px;
  }

  .recruit-img-sp {
    display: block;
    height: 190px;
    width: 100%;
    object-fit: cover;
    border-radius: 20px;
  }

  .recruit-img-wrap {
    display: none;
  }

  .recruit-btn-box {
    padding-top: 30px;
  }

  .recruit-btn-box a {
    margin: 0 auto;
  }
}

@media screen and (max-width: 430px) {
  .recruit-text {
    font-size: 12px;
  }

  .recruit-btn {
    font-size: 12px;
  }
  .recruit-title h2 {
    height: 35px;
  }
  .recruit-title p {
    height: 25px;
  }
}

.company-wrapper {
  padding-top: 150px;
  max-width: 960px;
  width: 100%;
  margin: 0 auto;
}

.company-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  padding: 24px 16px;
}

.company-table th {
  padding: 24px 45px;
  max-width: 160px;
  vertical-align: top;
}

.company-table td {
  font-weight: 500;
  padding: 16px;
}

@media screen and (max-width: 430px) {
  .company-table {
    font-size: 12px;
  }

  .company-table th {
    padding: 16px;
    max-width: 100px;
  }

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


.company-table tr:nth-child(odd) th,
.company-table tr:nth-child(odd) td {
  background-color: #f5f5f5;
}

.table tr:nth-child(even) th,
.table tr:nth-child(even) td {
  background-color: #fff;
}

.company-table tr:nth-child(odd) th:first-child {
  border-top-left-radius: 16px;
  border-bottom-left-radius: 16px;
}

.company-table tr:nth-child(odd) td:last-child {
  border-top-right-radius: 16px;
  border-bottom-right-radius: 16px;
}

@media screen and (max-width: 430px) {
  .service-wrapper,
  .contact-wrapper {
    margin-left: calc(-1 * clamp(30px, 4.17vw, 60px));
    margin-right: calc(-1 * clamp(30px, 4.17vw, 60px));
  }
}
/* .contact-container {
  max-width: 960px;
  width: 100%;
  margin: 0 12.5vw;
  padding: 80px 0;
} */

/* @media screen and (max-width: 820px) {
  .contact-container {
    margin: 0 30px;
  }
} */

@media screen and (max-width: 1024px) {
  .contact-container {
    padding: 40px 30px;
  }
}

.footer {
  height: 340px;
  width: 100vw;
  background-color: #fabf13;
  margin-top: 60px;
}

.footer-container {
  padding-top: 60px;
  padding-bottom: 60px;
  justify-content: space-between;
  align-items: center;
}

.footer-info {
  align-items: center;
}

.footer-logo {
  width: 200px;
  height: 200px;
}

/* @media screen and (max-width: 1065px) {
  .footer-logo {
    width: 180px;
    height: 180px;
  }
} */
.footer-info-text {
  padding-left: clamp(16px, 4.17vw, 60px);
}

.footer-company {
  align-items: center;
}

.footer-info-top p {
  font-size: 14px;
  font-weight: 500;
}

.footer-info-top img {
  width: 258px;
}

.footer-info-bottom {
  padding-top: 30px;
}

.footer-info-bottom a {
  color: #000;
}
.font12-pc, .font12-pc a, .font12-pc p {
  font-size: 12px;
  font-weight: 500;
}
.font14 {
  font-size: 0.875rem;
}

.sns-btn {
  padding-right: 16px;
}

.sns-name {
  align-items: center;
  justify-content: center;
  padding-top: 5px;
}

.sns-name img {
  margin-right: 10px;
  width: 12px;
  height: 12px;
}

.sns-name p {
  font-size: 12px;
  font-family: "Quicksand", sans-serif;
  font-weight: 500;
}

@media screen and (max-width: 430px) {
  .sns-name img {
    width: 9px;
    height: 9px;
  }
  
  .sns-name p {
    font-size: 9px;
  }
}

/* 改行 */
.tb-br-430 {
  display: none;
}

.cut-br-430 {
  display: block;
}

.cut-br-768 {
  display: block;
}

.tb-br-768 {
  display: none;
}

.tb-br-820 {
  display: none;
}

.cut-br-820 {
  display: block;
}

.tb-br-1024 {
  display: none;
}

.cut-br-1024 {
  display: block;
}

.br-1024-768 {
  display: none;
}

.br-820-430 {
  display: none;
}

@media screen and (max-width: 430px) {
  .tb-br-430 {
    display: block;
  }

  .cut-br-430 {
    display: none;
  }
}

@media screen and (max-width: 768px) {
  .cut-br-768 {
    display: none;
  }

  .tb-br-768 {
    display: block;
  }
}

@media screen and (max-width: 820px) {
  .tb-br-820 {
    display: block;
  }

  .cut-br-820 {
    display: none;
  }
} 

@media screen and (max-width: 1024px) {
  .tb-br-1024 {
    display: block;
  }
  .cut-br-1024 {
    display: none;
  }
}

@media screen and (min-width: 768px) and (max-width: 1024px) {
  .br-1024-768 {
    display: block;
  }
}

@media screen and (min-width: 431px) and (max-width: 820px) {
  .br-820-430 {
    display: block;
  }
}

/* フッターのレスポンシブ */
.tb-br-1060 {
  display: none;
}

@media screen and (max-width: 1060px) {
  .tb-br-1060 {
    display: block;
  }

  .footer {
    height: auto;
  }

  .footer-container {
    padding-top: 40px;
    padding-bottom: 40px;
    flex-direction: column;
    /* justify-content: space-between;
    align-items: center; */
  }

  .footer-info {
    flex-direction: column;
  }

  .footer-info-text {
    text-align: center;
    padding-top: 30px;
    padding-bottom: 30px;
    padding-left: 0;
  }

  .footer-company {
    padding-bottom: 16px;
  }

  .tb-center {
    justify-content: center;
  }

  .sns-btn {
    display: flex;
    padding-right: 0;
  }

  .sns-btn-box {
    padding-left: 5px;
    padding-right: 5px;
  }
}

@media screen and (max-width: 430px) {
  .footer-info-text {
    font-size: 12px;
  }

  .footer-info-text img {
    margin-bottom: 12px;
  }

  .font14 {
    font-size: 12px;
  }
}

