:root {
  --white-color:                  #ffffff;
  --primary-color:                #0A00FF;
  
  --body-font-family:             "Noto Sans JP", serif;
  --montserrat-family:            "Montserrat", serif;

  --nav-color:                    #002984;
  --font-color:                   #000;
  --font2-color:                  #4691DB;

  --gradient1-color:               #55FFF8;
  --gradient2-color:               #0014FF;
  --error-color:                  red;

  --point-color:                   #D32F2F;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: var(--body-font-family);
}


html {
  font-size: 16px; /* 1rem = 16px */
}

a {
  color: var(--font-color);
  text-decoration: none;
}

a:hover {
  opacity: 0.8;
}

img {
  width: 100%;
}

body {
  font-family: var(--body-font-family);  
  font-size: 1rem;
  color: var(--font-color);
  overflow-x: hidden;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
}
.navbar {
  background-color: rgba(255, 255, 255, .8);
  color: white;
  display: flex;
  justify-content: space-between;
  padding: 3.125rem 5rem;
  transition: padding 0.3s ease; 
  align-items: center;
}

.navbar .logo a {
  font-size: 2.5rem;
  text-decoration: none;
  color: var(--primary-color);
  font-family: var(--logo-font-family);
  font-weight: bold;
}

.navbar .logo a img {
  width: 14.688rem;
}
.navbar .links {
  display: flex;
  gap: 6.063rem;
}

.navbar .links ul {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 4.375rem;
}

.navbar .links a {
  text-decoration: none;
  color: var(--font-color);
  transition: 0.2s ease;
  font-family: var(--nav-font-family);
}
.navbar .links a:hover {
  opacity:0.5;
}

.navbar .buttons a {
  text-decoration: none;
  color: var(--primary-color);
  font-size: 1rem;
  padding: 13px 20px;
  transition: 0.2s ease;
  background: var(--nav-color);
  font-weight: 600;
  font-family: var(--body-font-family);
}

.navbar .buttons a:not(:last-child) {
  margin-right: 30px;
}

.navbar .buttons .signin:hover {
  color: var(--white-color);
}

.navbar .buttons .signup {
  border: 1px solid #fff;
  padding: 10px 20px;
  border-radius: 0.375rem;
  text-align: center;
  transition: 0.2s ease;
}

.navbar .buttons .signup:hover {
  background-color: var(--primary-color);
  color: #fff;
}

#menu-toggle {
  display: none;
}

#hamburger-btn {
  font-size: 1.8rem;
  color: var(--font1-color);
  cursor: pointer;
  display: none;
  order: 1;
}


.main-visual {
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: end;
  transition: background-image 1s ease-in-out;
  position: relative;
  margin-top: 10.256rem;
  overflow: hidden;
}

.visual {
  position: relative;
  width: 32.125rem;
  margin-right: 4.938rem;
  max-height: 568px;
}

.visual img {
  width: 100%;
  transition: opacity 1s ease;
  opacity: 1;
}

.visual img.fade-out {
  opacity: 0;
}

.main-visual .content {
  font-family: var(--montserrat-family);
  font-size: 6.5rem;
  position: absolute;
  left: 8.25rem;
  z-index: 2;
  line-height: 6.688rem;
}

.rotating-word-wrapper {
  display: inline-block;
  position: relative;
  height: 6.688rem;  
  overflow: hidden;  
  vertical-align: bottom;
  min-width: 40rem;
}

.rotating-word {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  line-height: 6.688rem;
  transition: transform 1s ease, opacity 1s ease;
  font-family: var(--montserrat-family);
}
.main-visual .content .sub_content {
  font-size: 1.875rem;
  display: block;
  line-height: 2.5;
  padding-left: 0.5rem;
}

.section {
  margin-top: 1rem;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 8rem;
  text-align: center;
  position: relative;
}

h1 {
  font-family: var(--montserrat-family);
  font-size: 3.125rem;
}

h2 {
  font-size: 1.875rem;
  font-family: var(--montserrat-family);
  line-height: 3.125rem;
  word-break: auto-phrase;
}

h3 {
  font-size: 1.25rem;
  font-weight: normal;
}

.sub-title {
  margin-top: 5rem;
  position: relative;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
  min-width: 146px;
  width: 100%;
}

.sub-title:after {
  content: '';
  position: absolute;
  bottom: -1.3rem;
  height: 0.7rem;
  width: 9.125rem;
  background: linear-gradient(90deg, var(--primary-color), var(--gradient1-color));
  left: 0;
  border-radius: 1.1rem;
  left: 50%;
  transform: translateX(-50%);
}

.sub-title h3 {
  padding-bottom: .2rem;
}

.sub-title span.no {
  position: absolute;
  left: 0;
  font-size: 5rem;
  font-family: var(--montserrat-family);
  opacity: 0.15;
  top: -20px;
}

.gradient-button {
  display: inline-block;
  padding: 0.8rem 4.5rem;
  font-size: 1.25rem;
  font-family: var(--montserrat-family);
  color: white;
  text-decoration: none;
  text-align: center;
  border-radius: 50px;
  background: linear-gradient(90deg, var(--gradient2-color), var(--gradient1-color));
  transition: 0.3s ease;
  border: none;
  cursor: pointer;
  min-width: 18rem;
}

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

.gradient-button:hover {
  opacity: 0.8;
}

.container {
  width: 64.688rem;
  padding-top: 4.25rem;
  margin-left: auto;
  margin-right: auto;
  overflow: hidden;
}

#service {
  overflow: hidden;
}

#service .service_img, .wide_img {
  display: block;
  width: calc(100% + 18.4375rem);
  margin-left: -10.9375rem;
  margin-bottom: 1rem;
  position: relative;
  top: -1rem;
}

.wide_img.up {
  top: -3rem;
}

#vision .container, #recruit .container {
  display: flex;
  gap: 5rem;
  align-items: center;
}

.imageContent {
  display: flex;
  align-items: center;
  gap: 75.38px;
  margin-top: 5rem;
  margin-left: auto;
  margin-right: auto;
}

.container .content, .imageContent .content {
  flex: 1;
  text-align: left;
  max-width: 40%;
  padding: 0px 3.5rem;
}

.page #recruit .container .content {
  padding: 0px 1.5rem;
}

.imageContent .content {
  padding: 0px 0.5rem;
}

.container .content h1 {
  font-size: 1.875rem;
  margin-bottom: 1rem;
  font-family: var(--body-font-family);
  font-weight: normal;
  line-height: 3.125rem;
}

.container .content p, .imageContent .content {
  font-size: 1.25rem;
  line-height: 2.5rem;
}

.container .content a {
  margin-top: 1.5rem;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  width: fit-content;
  justify-content: center;
}


.container .image, .imageContent .image {
  flex: 1;
  max-width: 60%;
  text-align: right;
  min-width: 378px;
}

.reversal.container .content, .reversal .content {
  order: 1;
}

.reversal.container .image, .reversal .image {
  order: 2;
}

#news {
  margin-bottom: 0;
}

#news .container {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.news-card {
  width: calc( (100% / 3) - 2.5rem);
  background: white;
  overflow: hidden;
}

.news-card.news-detail {
  width: 100%;
  max-width: 47.688rem;
}

.news-card:hover {
  opacity: 0.8;
}

.news-card.news-detail .news-card:hover {
  opacity: unset;
}

.news-image img {
  width: 100%;
  height: 12.5rem;
  object-fit: cover;
  border-radius: 1.25rem;
}

.news-meta {
  display: flex;
  padding: 0.6rem 0;
  gap: 0.5rem;
  align-items: center;
}

.news-date {
  font-family: var(--montserrat-family);
}

.news-category {
  color: var(--primary-color);
  background: #fff;
  border-color: var(--primary-color);
  padding: 0.1rem 2rem;
  border-radius: 40px;
  font-size: 0.75rem;
  border: 1px solid;
}

.news-title {
  font-size: 1.25rem;
  padding: 0.6rem 0;
  text-align: left;
}

.news-card.news-detail .news-title {
  padding: 0;
  margin-bottom: 1rem;
}

.news-card.news-detail .news-image img {
  height: 23.25rem;
}

.news-excerpt {
  font-size: 1rem;
  padding: 0;
  text-align: left;
}

.news-card.news-detail .news-excerpt {
  margin-top: 1rem;
}

.news-arrow {
  display: block;
  text-align: right;
  position: relative;
  height: 2rem;
  padding-right: 0.688rem;
}

.news-arrow:after {
  position: absolute;
  content: '';
  border: 1px solid var(--primary-color);
  border-radius: 50%;
  width: 1.875rem;
  height: 1.875rem;
  right: 0;
}

.news-more {
  margin-top: 2.5rem;
}

.btn {
  display: inline-block;
  padding: 0.5rem 5rem 0.7rem;
  font-size: 1.25rem;
  color: var(--primary-color);
  text-decoration: none;
  border: 1px solid var(--primary-color);
  border-radius: 30px;
  transition: 0.3s ease;
  min-width: 18rem;
}

.btn.small {
  min-width: unset;
  padding: 0.5rem 2rem 0.7rem;
}

.btn.disabled {
  background-color: #ccc;
  color: #888;
  pointer-events: none;
  cursor: default;
  border-color: #ccc;
}

.btn:hover {
  background: var(--primary-color);
  color: white;
}

#contact {
  background: url(./imgs/grapic.svg);
  background-position-y: 50%;
  padding-top: 4rem;
  margin-top: 0;
  overflow: hidden;
}

.marquee-container {
  display: flex;
  width: 100%;
}

.marquee {
  width: auto;
  height: 9.875rem; 
  animation: marqueeAnimation 25s linear infinite;
}

.contact-container {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1.8rem 4rem;
  background: linear-gradient(135deg, var(--gradient1-color), var(--gradient2-color));
  border-radius: 6.25rem;
  text-align: center;
  position: relative;
  max-width: 686px;
  margin: 0 auto;
  flex-direction: column;
  margin-top: 3.5rem;
}

.contact-title {
  font-size: 1.875rem;
  color: white;
  font-family: var(--montserrat-family);
  margin-bottom: 0.4rem;
  line-height: 2rem;
}

.contact-subtitle {
  font-size: 1.25rem;
  color: white;
  margin-bottom: 1rem;
  line-height: 1.2rem;
}

.contact-button {
  display: inline-block;
  padding: 0.6rem 3rem 0.8rem;
  font-size: 1.25rem;
  color: var(--font2-color);
  text-decoration: none;
  background: white;
  border-radius: 50px;
  transition: 0.3s ease;
}


.footer {
  background-color: var(--nav-color);
  padding: 3.125rem 5rem 2rem;
  border-radius: 3.75rem 3.75rem 0 0;
  text-align: center;
  color: white;
}

body:not(.home) .footer {
  margin-top: 10rem;
}


.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 auto;
}


.footer-logo img {
  height: 3rem;
}

.footer-nav {
  list-style: none;
  padding: 0;
  display: flex;
  justify-content: center;
  gap: 4.375rem;
}

.footer-nav li {
  display: inline-block;
}

.footer-nav a {
  color: white;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-bottom {
  margin-top: 9rem;
  font-size: 0.9rem;
  opacity: 0.8;
}

.js-rellax {
  z-index: 1;
}

.circle-visual-01 {
  position: absolute;
  top: 0;
  right: -1rem;
  width: 10.313rem;
}

.circle-visual-02 {
  position: absolute;
  top: 5rem;
  left: -1rem;
  width: 4.125rem;
  opacity: 0.3;
}

.circle-visual-03 {
  position: absolute;
  top: 16rem;
  left: 15.5rem;
  width: 13.313rem;
  opacity: 0.3;
}

.circle-service-01 {
  position: absolute;
  bottom: -6rem;
  right: 0;
  width: 10.313rem;
  z-index: -1;
}

.circle-vision-01 {
  position: absolute;
  top: -48%;
  left: -1rem;
  width: 4.155rem;
  opacity: 0.3;
}

.circle-vision-02 {
  position: absolute;
  top: 94%;
  left: 48%;
  width: 5.625rem;
  opacity: 0.3;
  z-index: -1;
}

.section.page {
  margin-top: 11rem;
  padding-left: 1rem;
  padding-right: 1rem;
  overflow: hidden;
}

#vision.section.page, #recruit.section.page {
  padding-left: 0;
  padding-right: 0;
}

.table {
  display: flex;
  flex-direction: column;
  max-width: 868px;
  margin: 0 auto;
  margin-top: 3rem;
  font-weight: 500;
  line-height: 2.5;
}

#recruit .table {
  margin-top: 5rem;
}

.table-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 0.3rem 0.6rem;
  border-radius: 1.25rem;
}

.table-row:nth-child(odd) {
  background: #f4f4f4;
}

.table-row:nth-child(even) {
  background: none;
}

.table-label {
  color:var(--primary-color);
  min-width: 15rem;
  flex-shrink: 0;
  padding-left: 4rem;
  text-align: left;
}

#recruit .table-label{
  min-width: 13rem;
}

.table-content {
  flex: 1;
  text-align: left;
}

.multi-content {
  background: #e8e8e8;
}

.table-content a {
  color: #0055ff;
  text-decoration: none;
  font-weight: bold;
}

.table-content a:hover {
  text-decoration: underline;
}

.back-button-container {
  text-align: center;
  margin-top: 2.5rem;
}

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
}

.page-numbers {
  color: var(--primary-color);
  font-family: var(--montserrat-family);
  font-size: 1.25rem;
}

.prev, .next {
  font-family: var(--body-font-family);
  font-size: 1rem;
}

.post-navigation {
  margin-top: 3rem;
  margin-bottom: 4rem;
  display: flex;
  max-width: 47.688rem;
  margin-left: auto;
  margin-right: auto;
  justify-content: space-between;
  align-items: center;
}

.sp {
  display: none;
}

.pc {
  display: block;
}

.vision-circle-01 {
  position: absolute;
  top: 0;
  right: -2rem;
  width: 11.438rem;
}

.vision-circle-02 {
  position: absolute;
  top: 1.5%;
  left: -1rem;
  width: 3.75rem;
  opacity: 0.3;
}

.vision-circle-03 {
  position: absolute;
  top: 40%;
  left: 78%;
  width: 8.375rem;
  opacity: 0.89;
}

.vision-circle-04 {
  position: absolute;
  top: 26%;
  left: 7%;
  width: 5.625rem;
  opacity: 0.6;
  z-index: -2;
}

.vision-circle-05 {
  position: absolute;
  top: 61%;
  left: 78%;
  width: 8.375rem;
  opacity: 0.9;
}

.vision-circle-06 {
  position: absolute;
  top: 102%;
  left: 7%;
  width: 5.625rem;
  opacity: 0.3;
}

.desc {
  margin-top: 3rem;
  padding-left: 1rem;
  padding-right: 1rem;
}

.big-text {
  font-size: 2.5rem;
  font-weight: 500;
}

.big-text.mt {
  margin-top: 1rem;
}

.small-text {
  font-size: 1.25rem;
  margin-top: 1rem;
  line-height: 1.875rem;
}

.small-text.line-height {
  line-height: 2.5rem;
}

.vision-recruit {
  display: flex;
  gap: 2.938rem;
  margin-left: auto;
  margin-right: auto;
  width: 32rem;
  margin-top: 2rem;
  align-items: center;
  justify-content: space-between;
}

.vision-recruit .recruit-image img {
  width: 13.438rem;
}

.vision-recruit .recruit-text {
  font-size: 1.25rem;
  line-height: 2.5rem;
  text-align: left;
}

.vision-button {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  width: fit-content;
  align-items: center;
  margin-left: auto;
  margin-right: auto;
  margin-top: 3rem;
}

.ja {
  font-family: var(--body-font-family);
}

.normal {
  font-weight: normal;
}

.serviceContainer {
  display: flex;
  gap: 1.875rem;
  width: max-content;
  margin-left: auto;
  margin-right: auto;
  margin-top: 1.5rem;
}

.service-card {
  position: relative;
  width: calc(100% / 3 - 0.8rem);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-card img {
  width: 20.25rem;
  height: auto;
  object-fit: cover;
}

.service-text {
  position: absolute;
  color: white;
  text-align: center;
  font-weight: 500;
}

.service-text p {
  margin: 0;
  font-size: 1.25rem;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5); 
  line-height: 2.5rem;
}

.service-circle-01 {
  position: absolute;
  top: 19%;
  right: 10%;
  width: 5.625rem;
  opacity: 0.33;
}

.service-circle-02 {
  position: absolute;
  top: 20%;
  left: 8%;
  width: 4.313rem;
  opacity: 0.91;
}

.wpcf7-form {
  max-width: 800px;
  margin: 0 auto;
  font-family: 'Arial', sans-serif;
  margin-top: 3rem;
}

.wpcf7-row {
  display: flex;
  align-items: start;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.wpcf7-row label {
  width: 25%;
  font-size: 1.25rem;
  text-align: left;
  padding-right: 15px;
}

.wpcf7-row label span.required {
  color: var(--primary-color);
}

.wpcf7-row .wpcf7-form-control-wrap {
  width: 75%;
  text-align: left;
}

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form textarea {
  width: 100%;
  padding: 5px;
  border: 1px solid #707070;
  border-radius: 5px;
  font-size: 1.25rem;
}

.wpcf7-form input:focus,
.wpcf7-form textarea:focus {
  border-color: #0055ff;
  box-shadow: 0 0 5px rgba(0, 85, 255, 0.3);
  outline: none;
}

.wpcf7-row.textarea-row {
  align-items: flex-start;
}

.wpcf7-form textarea {
  height: 150px;
  resize: vertical;
}

.wpcf7-form .wpcf7-radio {
  display: flex;
  gap: 4px;
  flex-direction: column;
  font-size: 1.25rem;
}

.wpcf7-form .wpcf7-radio label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.25rem;
  cursor: pointer;
  width: 100%;
}

.wpcf7-not-valid-tip {
  color: var(--error-color);
  font-size: 0.9rem !important;
  margin-top: 5px;
}

.wpcf7-response-output {
  margin-top: 15px;
  padding: 10px;
  font-size: 1rem;
  border-radius: 5px;
  text-align: center;
}

.wpcf7-form .wpcf7-radio input[type="radio"] {
  appearance: none;
  width: 20px;
  height: 20px;
  border: 2px solid #333;
  border-radius: 50%;
  position: relative;
  cursor: pointer;
}

.wpcf7-form .wpcf7-radio input[type="radio"]:checked {
  border-color: var(--primary-color);
  background-color: var(--primary-color);
}

.wpcf7-form .wpcf7-radio input[type="radio"]:checked::before {
  content: "";
  width: 10px;
  height: 10px;
  background: var(--primary-color);
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.wpcf7-list-item {
  margin: 0 !important;
}

.menu-pc {
  display: block;
}

.menu-sp {
  display: none;
}

.point {
  color: var(--point-color);
}


@media screen and (min-width: 1024px) {
  .navbar.scrolled {
    padding: 1rem 5rem;
  }

  .w-800 {
    width: 800px;
  }

  .service-card.fisrt {
    display: none;
  }

  .w-868 {
    width: 868px;
  }
 }

@media screen and (min-width: 769px) {
  .navbar.scrolled {
    padding: 1rem 5rem;
  }
}

@media screen and (max-width: 1024px) {

  .navbar .logo a {
    font-size: 1.5rem;
  }

}

@media (max-width: 768px) {

  .menu-pc {
    display: none;
  }
  
  .menu-sp {
    display: block;
  }
  

  .navbar {
    padding: 1rem 1rem;
    align-items: start;
  }

  .links {
    position: fixed;
    top: 0;
    left: -1000px;
    width: 80%;
    padding-top: 4rem;
    padding-bottom: 4rem;
    background: #80a6fffa;
    flex-direction: column;
    transition: 0.3s left ease;
    border-top-right-radius: 60px;
    border-bottom-right-radius: 60px;
    align-items: center;
    font-size: 1.875rem;
    font-family: var(--montserrat-family);
  }
  .navbar #menu-toggle:checked ~ .links {
    left:0;
  }
  .navbar #hamburger-btn {
    display: block;
  }

  .svg-container {
    cursor: pointer;
    width: 105px;
    height: 45px;
  }

  .mobile-menu {
    width: 100%;
  }

  .bar {
      transition: transform 0.3s ease-in-out;
      transform-origin: center;
  }

  .svg-container.active .bar-top {
      transform: translateY(18px) rotate(16deg);
      width: 110px;
  }

  .svg-container.active .bar-middle {
      opacity: 0;
  }

  .svg-container.active .bar-bottom {
      width: 110px;
      x: 0;
      transform: translateY(-18px) rotate(-16deg);
  }
  
  .navbar .links {
    padding-top: 3rem;
    margin-right: 1rem;
    gap: 0;
  }

  .navbar .links ul {
    gap: 0;
    flex-direction: column;
    align-items: baseline;
    margin-top: 1rem;
  }

  .navbar .links ul li {
    width: 100%;
    padding: 0.5rem 2.5rem;
    position: relative;
  }

  .navbar .links ul li:before {
    content: '';
    position: absolute;
    display: inline-block;
    width: 12px;
    height: 12px;
    background: #fff;
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
  }

  .navbar .links a {
    text-decoration: none;
    color: var(--font1-color);
    font-size: 1.5rem;
    padding: 10px 30px;
    transition: 0.2s ease;
    font-family: var(--body-font-family);
    display: block;
  }

  .navbar .buttons {
    margin-top: -2px;
  }

  .navbar .buttons span {
    display: none;
  }

  .navbar .links a:hover, .navbar .buttons .signin:hover {
    color: var(--white-color);
  }

  .main-visual {
    margin-top: 6.256rem;
  }

  .visual {
    min-height: 568px;
  }

  .visual img {
    width: 64%;
    transition: opacity 1sease;
    opacity: 1;
    /* height: 50%; */
    position: absolute;
    bottom: 0;
    right: -40px;
  }

  .main-visual .content {
    left: 2.25rem;
    font-size: 5.5rem;
  }

  
  #service {
    margin-top: 3rem;
  }

  #service .service_img, .wide_img {
    width: calc(100% + 41.4375rem);
    margin-left: -21.9375rem;
  }

  #vision .container, #recruit .container, .imageContent {
    gap: 2rem;
  }

  .imageContent {
    flex-direction: column;
    width: 600px;
  }

  .container .content, .imageContent .content {
    max-width: unset;
  }

  .container .image {
    margin-left: -5rem;
  }

  .reversal.container .image {
    margin-left: 0;
    margin-right: -5rem;
  }


  .news-card {
    width: 100%;
  }

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

  .footer-nav {
    gap: 1rem;
    flex-direction: column;
    margin-top: 2rem;
  }

  .footer-bottom {
    margin-top: 3rem;
  }

  .section.page {
    margin-top: 7rem;
  }

  .vision .desc {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .big-text {
    font-size: 2rem;
  }

  .wide_img.up {
    top: 0;
  }

  .small-text {
    font-size: 1rem;
  }

  .vision-recruit {
    flex-direction: column;
    width: 100%;
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .vision-recruit .recruit-image img {
    width: 100%;
  }

  h2 br {
    display: none;
  }

  .service-card img {
    width: 100%;
  }

  .serviceContainer {
    flex-wrap: wrap;
    width: 100%;
    gap: 1rem;
  }

  .service-card {
    width: calc(50% - 0.5rem);
  }

  .service-card.fisrt {
    display: flex;
  }

  .service-card .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, var(--gradient1-color), var(--primary-color));
    border-radius: 20px;
  }

  .sub-title span.no {
    position: relative;
    top: 0;
  }

  .service-circle-01 {
    position: absolute;
    top: 24%;
    right: -1%;
    width: 5.625rem;
    opacity: 0.33;
  }

  .service-circle-02 {
    position: absolute;
    top: 9%;
    left: 1%;
    width: 4.313rem;
    opacity: 0.91;
  }

  .container {
    width: 100%;
    padding: 1rem;
    margin-top: 3rem;
  }

  .container .content, .imageContent .content {
    padding: 0;
  }
  
  #news .container {
    gap: 1rem;
  }

  .news-card {
    width: calc(50% - 0.5rem);
  }

  .home .news-card:nth-child(3) {
    display: none;
  }

  .p-x {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}


@media (max-width: 480px) {

  .pc {
    display: none;
  }

  .sp {
    display: block;
  }

  .main-visual .content {
    left: 1.25rem;
    font-size: 3.5rem;
    line-height: 3.688rem;
  }

  .rotating-word {
    line-height: 3.688rem;
  }

  .rotating-word-wrapper {
    height: 3.688rem;
    min-width: 40rem;
  }

  .visual {
    width: 16.125rem;
    margin-right: 1.938rem;
    max-height: 289px;
  }

  .main-visual .content .sub_content {
    font-size: 1.3rem;
    line-height: 2;
  }

  .circle-visual-01, .circle-service-01 {
    width: 6.313rem;
  }

  h1 {
    font-size: 2.125rem;
  }

  .container {
    width: 100%;
    flex-direction: column;
    padding: 0 1rem;
    margin-top: 3rem;
  }

  body:not(.home) .container {
    padding: 0;
  }

  .rotating-word-wrapper {
    min-width: 31rem;
    display: block; 
  }

  .imageContent {
    width: 100%;
  }

  .container .image, .imageContent .image {
    max-width: unset;
    min-width: unset;
    margin-left: unset;
  }

  .reversal.container .image {
    margin-right: unset;
  }


  .container .content {
    padding: 0;
  }

  .container .content h1 {
    font-size: 1.5rem;
    line-height: 1.5;
    text-align: center;
  }

  .container .content p, .imageContent .content {
    font-size: 1rem;
    line-height: 2rem;
  }

  .gradient-button {
    font-size: 1rem;
  }

  .contact-container {
    padding: 1.8rem 0rem;
    border-radius: 2.25rem;
    margin-left: 1rem;
    margin-right: 1rem;
  }
  
  .contact-button {
    font-size: 1rem;
  }

  .table-row {
    flex-direction: column;
  }

  .table-label {
    padding-left: 1rem;
  }

  .table-content {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .btn {
    font-size: 1rem;
  }

  .post-navigation .btn {
    min-width:fit-content;
    padding: 0.5rem 2rem 0.7rem;
  }

  .gradient-button.full {
    width: 100%;
  }

  .vision-circle-01 {
    width: 6.438rem;
  }

  #service .service_img, .wide_img {
    width: calc(100% + 30.4375rem);
    margin-left: -15.9375rem;
  }

  h2 br {
    display: block;
  }

  .serviceContainer {
    flex-direction: column;
    width: 100%;
  }

  .service-card {
    width: 100%;
  }

  .service-card img {
    width: 100%;
  }

  .service-card.fisrt {
    display: none;
  }

  .news-card {
    width: 100%;
  }

  .wpcf7-row {
    flex-direction: column;
    gap: 0.6rem;
  }

  .wpcf7-row label, .wpcf7-row .wpcf7-form-control-wrap {
    width: 100%;
  }

  .wpcf7-form .wpcf7-radio label, .wpcf7-row label {
    font-size: 1rem;
  }

  .wpcf7-form input[type="text"], .wpcf7-form input[type="email"], .wpcf7-form input[type="tel"], .wpcf7-form textarea {
    font-size: 1rem;
  }

  .svg-container {
    width: 70px;
  }

  .navbar .logo a img {
    width: 12.688rem;
  }

  .links {
    width: 75%;
  }

  .navbar .links a {
    font-size: 1.2rem;
  }

  .visual {
    min-height: 295px;
  }
  
  .visual img {
    width: 52%;
    opacity: 1;
    position: absolute;
    bottom: 30px;
    right: -6px;
  }
}

@keyframes marqueeAnimation {
  from {
    transform: translateX(20%);
  }
  to {
    transform: translateX(-100%);
  }
}