@charset "UTF-8";
/* src/scss/components/_button.scss */
.border-button {
  font-family: "Arial", sans-serif;
  font-size: 1rem;
  color: #7a7a7a;
  border: 1px solid #7a7a7a; /* ボーダーの色 */
  padding: 0.625rem 1.25rem;
  border-radius: 1.875rem; /* 丸みを追加 */
  background-color: transparent; /* 背景を透明に */
  outline: none;
  cursor: pointer;
  position: relative;
  z-index: 1; /* 横線の下にボタンを配置する */
  width: 18.75rem;
  text-align: center;
  text-decoration: none;
}
.border-button:hover {
  text-decoration: none;
  background-color: #7a7a7a; /* 背景色を変更 */
  color: #ffffff; /* テキストの色を変更 */
  border-color: #7a7a7a; /* ボーダーの色を変更 */
}

.border-button-container {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.border-button-container::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -3.125rem; /* 横線の長さを調整 */
  transform: translateY(-50%);
  width: 6.25rem; /* 横線の長さ */
  height: 1px;
  background: linear-gradient(to right, #7a7a7a 50%, #7a7a7a 50%);
  z-index: 1;
  transition: background 0.3s ease;
  pointer-events: none;
}

.border-button-container:hover::after {
  background: linear-gradient(to right, #ffffff 50%, #7a7a7a 50%);
}

.nav-item {
  margin-left: 1.25rem;
}

@media (max-width: 991.98px) {
  body {
    margin: 0;
    padding: 0;
  }
  header {
    margin: 0;
    padding: 0;
  }
  .navbar {
    margin: 0;
    padding: 0;
  }
  .navbar-toggler {
    order: 2;
    margin-left: auto;
    border: none;
    padding: 0.75rem;
    background: transparent;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 1002;
    min-width: 48px;
    min-height: 48px;
  }
  .navbar-toggler:focus {
    outline: none;
    box-shadow: none;
  }
  .navbar-toggler:hover {
    background: rgba(0, 0, 0, 0.05);
  }
  .navbar-toggler .navbar-toggler-icon {
    background-image: none;
    position: relative;
    width: 28px;
    height: 20px;
    display: inline-block;
    background: none;
  }
  .navbar-toggler .navbar-toggler-icon::before {
    content: "";
    position: absolute;
    top: 9px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #333;
    border-radius: 1px;
    transition: all 0.3s ease;
  }
  .navbar-toggler .navbar-toggler-icon::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #333;
    border-radius: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 18px 0 #333;
  }
  .navbar-toggler[aria-expanded=true] .navbar-toggler-icon::before {
    opacity: 0;
  }
  .navbar-toggler[aria-expanded=true] .navbar-toggler-icon::after {
    top: 9px;
    transform: rotate(45deg);
    box-shadow: 0 0 0 #333;
  }
  .navbar-toggler[aria-expanded=true] .navbar-toggler-icon::before {
    opacity: 1;
    top: 9px;
    transform: rotate(-45deg);
  }
  .navbar-collapse {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px);
    transition: all 0.3s ease;
  }
  .navbar-collapse.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  .navbar-brand {
    order: 1;
    margin-bottom: 2rem;
  }
  .navbar-brand img {
    width: 200px !important;
  }
  .navbar-nav {
    flex-direction: column;
    gap: 1.5rem;
  }
  .navbar-nav .nav-item {
    margin-left: 0;
  }
  .navbar-nav .nav-item .nav-link {
    font-size: 1.25rem;
    font-weight: 500;
    color: #333;
    text-align: center;
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
  }
  .navbar-nav .nav-item .nav-link:hover {
    background: rgba(0, 0, 0, 0.05);
    transform: translateY(-2px);
  }
}
.hero-section {
  background-color: #fff;
}
@media (max-width: 768px) {
  .hero-section {
    margin-top: 0;
    padding-top: 0;
    background-color: #f8f9fa;
  }
}
.hero-section .hero-slider {
  width: 100%;
  height: 100vh;
}
@media (max-width: 768px) {
  .hero-section .hero-slider {
    height: auto;
    aspect-ratio: 16/9;
  }
}
.hero-section .hero-slider .swiper-slide picture {
  width: 100%;
  height: 100%;
  display: block;
}
.hero-section .hero-slider .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-section .swiper-pagination .swiper-pagination-bullet {
  width: 0.75rem;
  height: 0.75rem;
  background: #fff;
  opacity: 0.5;
}
.hero-section .swiper-pagination .swiper-pagination-bullet-active {
  opacity: 1;
}
.hero-section .hero-catchcopy {
  padding: 2rem 1rem;
  margin: 1.5rem 0;
  text-align: center;
}
.hero-section .hero-catchcopy p {
  font-size: 1.125rem;
  font-weight: 500;
  color: #8f8f8f;
  margin: 0;
  line-height: 1.6;
  font-family: "Shippori Mincho B1", serif;
}

html {
  overflow-x: hidden;
}

body {
  color: #8f8f8f;
  font-family: "Shippori Mincho B1", serif;
  background-color: #f8f9fa;
  overflow-x: hidden;
}
@media (max-width: 768px) {
  body {
    margin: 0;
    padding: 0;
  }
}

.custom-body-style {
  color: #8f8f8f;
  font-family: "Shippori Mincho B1", serif;
  background-color: #f8f9fa;
}

@media (min-width: 769px) {
  .header-left {
    font-size: 2.5em !important;
  }
}

.blue-texture, .green-texture {
  padding: 3.75rem 0;
  position: relative !important;
  overflow: visible !important;
  background-clip: padding-box !important;
}
.blue-texture::before, .green-texture::before {
  content: "";
  position: absolute;
  top: -3.125rem;
  right: -11.25rem;
  width: calc(100% + 15.625rem);
  height: calc(100% + 15.625rem);
  background-repeat: no-repeat;
  background-position: inherit;
  background-size: 43.75rem;
  z-index: -1;
}

.img-rounded {
  max-width: 100%;
  height: auto;
  border-radius: 2.5rem;
}

.row-content {
  padding: 2rem;
}

.heading {
  display: inline-block;
}
.heading h2 {
  font-size: 4rem;
  margin: 0;
  color: #737272;
  font-family: "Jost";
  letter-spacing: 0.15rem;
}
@media (max-width: 768px) {
  .heading h2 {
    font-size: 3rem;
    text-align: center;
  }
}
.heading span {
  font-size: 0.9rem;
  color: #8f8f8f;
  text-align: right;
  display: block;
}
@media (max-width: 768px) {
  .heading span {
    text-align: center;
  }
}

p.copy {
  font-size: 1.6375rem;
  margin-bottom: 1rem;
  color: #8f8f8f;
  text-align: left;
  line-height: 1.4;
  font-weight: 500;
}
@media (max-width: 768px) {
  p.copy {
    font-size: 1.25rem;
    text-align: center;
  }
}

.message-container p {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: #8f8f8f;
}
@media (max-width: 768px) {
  .message-container p {
    font-size: 1rem;
  }
}

.bg-gray {
  background-color: #e4e3de;
}

.bg-light-blue {
  background-color: rgb(223, 251, 242);
}

.curve-divider {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}
.curve-divider::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}
.curve-divider.gray-curve::before {
  background-color: #e4e3de;
  -webkit-mask: url("../img/curve_mask_pc.svg") center/cover no-repeat;
  mask: url("../img/curve_mask_pc.svg") center/cover no-repeat;
}
.curve-divider.white-curve::before {
  background-color: #f8f9fa;
  -webkit-mask: url("../img/curve_mask_pc.svg") center/cover no-repeat;
  mask: url("../img/curve_mask_pc.svg") center/cover no-repeat;
}
.curve-divider .curve-svg {
  opacity: 0;
}

.curve-svg {
  width: 100%;
  height: auto;
  display: block;
  max-width: none;
}

.service-icon {
  max-width: 250px;
}
@media (max-width: 768px) {
  .service-icon {
    width: 150px;
  }
}

@media (min-width: 769px) {
  .service-icons .col-md-6:first-child {
    justify-content: flex-end !important;
    padding-right: 4rem;
  }
  .service-icons .col-md-6:last-child {
    justify-content: flex-start !important;
    padding-left: 4rem;
  }
}

@media (max-width: 768px) {
  .service-section .row {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.5rem;
    justify-content: center;
    padding: 0 1rem;
  }
  .service-section .row .col-md-6 {
    flex: 0 1 auto;
    max-width: none;
    min-width: 0;
  }
}

.youtube-16-9 {
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
  max-width: 600px;
  display: block;
  margin: auto;
}
@media (max-width: 768px) {
  .youtube-16-9 {
    margin: 1.5rem auto;
  }
}

.coming-soon-box {
  background-color: #6c757d;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: bold;
  font-family: "Jost";
}

.location-card {
  width: 400px;
}
@media (max-width: 768px) {
  .location-card {
    width: 100%;
    max-width: 350px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .location-section .row .col-md-6:first-child .location-card {
    margin-bottom: 2.5rem;
  }
}

.location-image {
  width: 100%;
  height: 300px;
  object-fit: cover;
}
@media (max-width: 768px) {
  .location-image {
    height: 250px;
  }
}

.contact-cards {
  padding: 3.125rem 1.875rem;
  margin: 2.5rem 0;
  border-radius: 0.9375rem;
}
@media (max-width: 768px) {
  .contact-cards {
    padding: 1.875rem 0.9375rem;
    margin: 1.875rem 0;
  }
}

.contact-card {
  background-color: white;
  border-radius: 1.25rem;
  padding: 1.875rem 1.5625rem;
  margin: 0 0.625rem;
  box-shadow: 0 0.125rem 0.5rem rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
  text-align: center;
  color: inherit;
  text-decoration: none;
  display: block;
}
.contact-card:hover {
  transform: translateY(-0.1875rem);
}
.contact-card h5 {
  color: #8f8f8f;
  font-size: 0.875rem;
  margin-bottom: 1.5625rem;
  font-weight: normal;
  letter-spacing: 0.5px;
}
.contact-card .contact-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.9375rem;
  flex-wrap: wrap;
}
.contact-card .contact-icon i {
  font-size: 1.25rem;
  color: white;
  background-color: #7a7a7a;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-card .contact-info {
  color: #8f8f8f;
  font-size: 1rem;
  font-weight: 600;
  word-break: break-all;
  flex: 1;
}
@media (max-width: 768px) {
  .contact-card {
    margin: 0.9375rem 0;
    padding: 1.25rem 0.9375rem;
  }
  .contact-card h5 {
    font-size: 0.75rem;
    margin-bottom: 0.9375rem;
  }
  .contact-card .contact-content {
    flex-direction: column;
    gap: 0.625rem;
  }
  .contact-card .contact-icon i {
    font-size: 1.125rem;
    width: 2.1875rem;
    height: 2.1875rem;
  }
  .contact-card .contact-info {
    font-size: 0.875rem;
    text-align: center;
    word-break: break-word;
  }
}

.footer {
  padding: 2rem 0;
}
.footer .footer-logo img {
  width: 15.625rem;
  height: 15.625rem;
}
.footer .footer-logo img a {
  text-decoration: none;
}
.footer .nav-item {
  margin: 0 0.625rem;
}
.footer .nav-link {
  color: #8f8f8f;
}
@media (max-width: 768px) {
  .footer .footer-nav {
    display: none;
  }
}

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

.philosophy-section .row-content {
  padding: 2rem;
}
@media (max-width: 768px) {
  .philosophy-section .row-content {
    padding: 1.5rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .philosophy-section .row-content > * {
    width: 100%;
    max-width: 20rem;
  }
}
.philosophy-section .message-container {
  margin-bottom: 1.5rem;
}
.philosophy-section .message-container p {
  font-size: 1rem;
  line-height: 1.6;
  text-align: left;
  margin-bottom: 0.25rem;
}
.philosophy-section .message-container p:last-child {
  margin-bottom: 0;
}
@media (max-width: 768px) {
  .philosophy-section .message-container p {
    font-size: 1rem;
  }
}

.green-texture::before {
  background-image: url("../img/herois_texture001.png");
}

.blue-texture::before {
  background-image: url("../img/herois_texture002.png");
}

.about-page .about-section {
  position: relative;
}
.about-page .about-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("../img/herois_logo.svg");
  background-repeat: no-repeat;
  background-position: right 12.5rem top -7.5rem;
  background-size: 37.5rem;
  opacity: 0.5;
  z-index: -1;
}
.about-page .company-details {
  display: grid;
  grid-template-columns: 12.5rem 1fr;
  gap: 1.5rem 2rem;
  margin-top: 2rem;
  max-width: 50rem;
}
.about-page .company-details dt {
  font-weight: bold;
  position: relative;
}
.about-page .company-details dd {
  margin: 0;
}
@media (max-width: 768px) {
  .about-page main {
    margin-top: -5rem;
  }
  .about-page .about-section {
    background-color: #e4e3de;
    padding-top: 5rem;
    margin-bottom: 0 !important;
  }
  .about-page .about-section::before {
    display: none;
  }
  .about-page .about-section .row-content {
    text-align: center;
  }
  .about-page .about-section .company-info {
    text-align: left;
  }
  .about-page .company-details {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
  .about-page .company-details dd {
    margin-bottom: 1.5rem;
    border-bottom: 1px solid #bbb;
    padding-bottom: 1rem;
  }
}

.philosophy-page main {
  margin-top: 0;
  padding-top: 0;
}
@media (max-width: 768px) {
  .philosophy-page .philosophy-hero .row.my-4 {
    margin-top: 0 !important;
  }
}
.philosophy-page .philosophy-hero-image {
  width: 100%;
  height: auto;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  border-top-right-radius: 2.5rem;
  border-bottom-right-radius: 2.5rem;
  display: block;
}
.philosophy-page .philosophy-intro {
  padding: 3.75rem 2.5rem;
}
@media (max-width: 768px) {
  .philosophy-page .philosophy-intro {
    padding: 2.5rem 1.5rem;
  }
}
.philosophy-page .copy {
  margin: 0 0 1.5rem 0;
}
.philosophy-page .message-container p {
  font-size: 1rem;
  text-align: left;
  line-height: 1.8;
  color: #8f8f8f;
  margin: 0;
}
.philosophy-page .philosophy-message {
  padding: 2rem 1.5rem;
}
.philosophy-page .philosophy-message p {
  font-size: 1rem;
  line-height: 1.6;
  margin: 0;
}
@media (max-width: 768px) {
  .philosophy-page .philosophy-message {
    padding: 1.5rem 1rem;
  }
}
.philosophy-page .philosophy-content .green-texture:first-child {
  background-position: left -6.25rem top;
}
.philosophy-page .philosophy-content .green-texture:last-child {
  background-position: right -6.25rem top 0;
}
@media (max-width: 768px) {
  .philosophy-page .philosophy-hero-image {
    border-radius: 0;
    margin-bottom: 0;
  }
  .philosophy-page .philosophy-intro {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .philosophy-page .philosophy-intro > * {
    width: 100%;
    max-width: 20rem;
  }
  .philosophy-page .copy {
    margin-bottom: 1.25rem;
  }
  .philosophy-page .message-container {
    text-align: left;
  }
  .philosophy-page .message-container p {
    font-size: 1rem;
    text-align: left;
  }
}

.stacked-images {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-template-rows: repeat(4, 1fr);
  width: 100%;
  gap: 0.625rem;
}
.stacked-images img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 0.625rem;
  box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.1);
}

@media (min-width: 769px) {
  .stacked-images-1 .ph01 {
    grid-column: 2/4;
    grid-row: 1/3;
    z-index: 1;
    transform: scale(0.9);
  }
  .stacked-images-1 .ph02 {
    grid-column: 4/7;
    grid-row: 2/4;
    z-index: 2;
    transform: scale(1) translateY(0%) translateX(-10%);
  }
  .stacked-images-1 .ph03 {
    grid-column: 1/4;
    grid-row: 3/5;
    z-index: 3;
    transform: scale(1.1);
  }
  .stacked-images-2 .ph04 {
    grid-column: 1/4;
    grid-row: 1/4;
    z-index: 1;
    transform: scale(0.6) translateY(-60%);
  }
  .stacked-images-2 .ph05 {
    grid-column: 3/6;
    grid-row: 3/6;
    z-index: 2;
    transform: scale(1) translateY(-50%);
  }
}
@media (max-width: 768px) {
  .philosophy-page .stacked-images {
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(4, 1fr);
    margin-bottom: 1rem;
    gap: 0.5rem;
  }
  .philosophy-page .stacked-images img {
    object-fit: contain;
  }
  .stacked-images-1 .ph01 {
    grid-column: 1/3;
    grid-row: 1/2;
    z-index: 1;
    transform: scale(0.9) translateX(15%);
  }
  .stacked-images-1 .ph02 {
    grid-column: 3/5;
    grid-row: 2/3;
    z-index: 2;
    transform: scale(1) translateY(-10%);
  }
  .stacked-images-1 .ph03 {
    grid-column: 1/4;
    grid-row: 3/5;
    z-index: 3;
    transform: scale(1.1) translateX(8%);
  }
  .stacked-images-2 .ph04 {
    grid-column: 1/3;
    grid-row: 1/3;
    z-index: 1;
    transform: scale(1.2) translateX(10%);
  }
  .stacked-images-2 .ph05 {
    grid-column: 2/5;
    grid-row: 2/4;
    z-index: 2;
    transform: scale(1.05) translateY(10%);
  }
}
.service-details-section .row-content .copy {
  font-weight: 500;
}
.service-details-section .row-content .message-container p {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 0.5rem;
}
.service-details-section .row-content .message-container p:last-child {
  margin-bottom: 0;
}
@media (max-width: 768px) {
  .service-details-section .row-content .message-container p {
    font-size: 1rem;
  }
}

.recruit-section .row-content .message-container p {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 0.5rem;
}
.recruit-section .row-content .message-container p:last-child {
  margin-bottom: 0;
}
@media (max-width: 768px) {
  .recruit-section .row-content .message-container p {
    font-size: 1rem;
  }
}