@charset "utf-8";

/* 共通 */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 120px;
}

body {
  background-color: #F4F8E1;
  color: #292929;
  line-height: 1.8;
  font-family: "Noto Sans JP", sans-serif;
}

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

li {
  list-style-type: none;
}

img {
  width: 100%;
  border-radius: 20px;
  vertical-align: bottom;
}

h1 {
  width: 100px;
}

.flex_header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 100px 20px 80px;
  position: fixed;
  top: 0;
  z-index: 999;
  width: 100%;
}

.header_nav {
  width: 700px;
  background-color: #fff;
  border-radius: 20px;
  padding: 10px;
}

.header_nav ul {
  display: flex;
  justify-content: space-evenly;
  align-items: flex-start;
  gap: 24px;
}

.header_nav li:hover a {
  color: #00D910;
  transition: 0.3s;
}

.header_nav a {
  font-weight: bold;
}

.header_nav span {
  display: block;
  font-size: 0.75rem;
  margin-top: -5px;
}

.toggle {
  display: none;
}

.bg {
  display: none;
}

.hamburger_nav {
  display: none;
}

section {
  margin-bottom: 120px;
}

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

.kv {
  position: relative;
  overflow: hidden;
}

.kv_container {
  width: 60vw;
  max-width: 900px;
  aspect-ratio: 1 / 1;
  margin-left: auto;
  margin-right: -100px;
  margin-top: -200px;
  border-radius: 50%;
  overflow: hidden;
  position: relative;
}

.kv_container img {
  border-radius: 50%;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}


.kv_container img.active {
  opacity: 1;
}

.line1 {
  position: absolute;
  top: 60%;
  left: 55%;
  width: 200px;
  height: 15px;
  background: linear-gradient(45deg, #dcff3e8e, #00d90ed8);
  border-radius: 20px;
  transform: rotate(-40deg);
  transform-origin: top left;
  animation: line3 2s ease-out infinite;
}

@keyframes line1 {
  0% {
    width: 0;
    opacity: 0;
  }

  100% {
    width: 150px;
    opacity: 1;
  }
}

.line2 {
  position: absolute;
  top: 39%;
  left: 0;
  width: 300px;
  height: 7px;
  background: linear-gradient(45deg, #dcff3e8e, #FE5619);
  border-radius: 20px;
  transform: rotate(-40deg);
  transform-origin: top left;
  animation: line2 3s ease-out infinite;
}

@keyframes line2 {
  0% {
    width: 0;
    opacity: 0;
  }

  100% {
    width: 300px;
    opacity: 1;
  }
}

.line3 {
  position: absolute;
  top: 32%;
  left: 0;
  width: 120px;
  height: 10px;
  background: linear-gradient(45deg, #dcff3e8e, #00d90ed8);
  border-radius: 20px;
  transform: rotate(-40deg);
  transform-origin: top left;
  animation: line3 2s ease 1s infinite;
}

@keyframes line3 {
  0% {
    width: 0;
    opacity: 0;
  }

  100% {
    width: 100px;
    opacity: 1;
  }
}

h2 {
  position: absolute;
  top: 30%;
  left: 0;
  padding-left: 80px;
  font-size: 3.5rem;
}

.page_title_en {
  position: relative;
  display: inline-block;
  font-size: 8rem;
  font-weight: 100;
  font-family: "Poppins", sans-serif;
  color: #92EC8D;
}

.page_title_ja {
  position: absolute;
  bottom: 0;
  left: 21%;
  font-size: 1.5rem;
  font-weight: bold;
  color: #292929;
  padding-left: 40px;
}

.page_title_ja::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  transform: translate(-50%);
  width: 50px;
  border: 5px solid #292929;
  border-radius: 20px;
}

.kv_txt {
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: -1;
  font-size: 12rem;
  font-weight: 100;
  font-family: "Poppins", sans-serif;
  color: #92EC8D;
  white-space: nowrap;
  animation: flowing 40s linear infinite;
}

@keyframes flowing {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-100%);
  }
}

h3 {
  color: #00D910;
  font-size: 4rem;
  margin-bottom: 40px;
}

.btn {
  width: 280px;
  background-color: #fff;
  border: 2px solid #292929;
  border-radius: 20px;
  margin-left: auto;
}

.btn a {
  display: inline-block;
  width: 100%;
  position: relative;
  font-weight: bold;
  font-size: 1.125rem;
  text-align: center;
  padding: 20px;
  overflow: hidden;
  transition: 0.3s;
}

.btn a span {
  position: absolute;
  top: 50%;
  right: 5%;
  z-index: 1;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #292929;
  transform: translateY(-50%);
  transition: transform 0.3s ease, width 0.3s ease, height 0.3s ease;
}

.btn a span::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  width: 10px;
  height: 10px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  transform: translate(-50%, -50%) rotate(45deg);
}

.btn:hover span {
  width: 60px;
  height: 60px;
  transform: translateY(-50%) scale(1.1);
}



/* -------------index.html--------------------- */

/* news */
.ticker {
  width: 450px;
  height: 70px;
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 30px;
  background: #fff;
  border-radius: 20px 0 0 20px;
  padding: 0;
  margin-left: auto;
  margin-top: 10px;
}

.ticker li div {
  padding: 10px;
}

.ticker span {
  display: inline-block;
  margin: 0 10px 0 0;
}


.category {
  background-color: #292929;
  color: #fff;
  border-radius: 10px;
  padding: 5px 10px;
  margin-left: 30px;
  margin-top: 10px;
}

/* message */
.message {
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url(../images/top/message.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  padding: 40px 0;
}

.message_lead {
  position: relative;
  font-size: 2.5rem;
  color: #fff;
  margin-bottom: 40px;
  overflow: hidden;
}

.message_lead span {
  position: relative;
  display: inline-block;
  padding: 0 10px;
  color: #fff;
  z-index: 1;
}

.message_lead span::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 0;
  width: 0%;
  height: 80%;
  background-color: #292929;
  z-index: -1;
  transition: width 0.8s ease;
}

.message_lead span.in-view::before {
  width: 100%;
}

.message_lead span:nth-child(1).in-view::before {
  transition-delay: 0s;
}

.message_lead span:nth-child(2).in-view::before {
  transition-delay: 0.3s;
}

.message_lead span:nth-child(3).in-view::before {
  transition-delay: 0.6s;
}

.message_txt {
  width: 50%;
  color: #fff;
  font-size: 1.5rem;
  text-align: justify;
}

/* feature */
.fadein {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 1s ease, transform 1s ease;
}

.fadein.active {
  opacity: 1;
  transform: translateY(0);
}

.flex_feature {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  margin-bottom: 80px;
}

.feature_left {
  position: relative;
  width: 50%;
  margin-top: 40px;
}

.feature_title {
  position: absolute;
  top: -50px;
  left: 0;
  line-height: 2.5rem;
  font-size: 2rem;
}

.feature_right {
  position: relative;
  z-index: -1;
  width: 60%;
  margin-left: -50px;
}

.feature_right p {
  position: absolute;
  bottom: -15%;
  left: 0;
  background-color: #fff;
  padding: 40px 20px 40px 60px;
  border-radius: 20px;
}

/* service */
.service_lead {
  max-width: 850px;
  margin: 0 auto 40px;
}

.flex_service {
  max-width: 850px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 100px;
}

.service_left {
  position: sticky;
  top: 150px;
  align-self: flex-start;
}

.service_left>p {
  margin-bottom: 40px;
}

.service_left .btn a {
  transition: none;
}

.service_left .btn {
  transition: background-color 0.4s ease, border 0.4s ease, color 0.4s ease;
}

.service_left .btn:hover {
  background-color: #00D910;
  border-color: #00D910;
}

.service_left .btn:hover a {
  color: #fff;
}

.service_right_box {
  background-color: #fff;
  border: 2px solid #00D910;
  border-radius: 20px;
  padding: 20px 30px;
  margin-bottom: 40px;
}

.service_right_box>p {
  margin-bottom: 16px;
}

.service_right_box .category {
  margin-left: 0;
  margin-bottom: 8px;
  display: inline-block;
}

.service_title {
  font-size: 1.25rem;
}

/* works */
.works_slider_container {
  margin-bottom: 40px;
}

.works_slider_box {
  background-color: #fff;
  border: 2px solid #00D910;
  border-radius: 22px;
  padding-bottom: 20px;
  margin-left: 20px;
  margin-right: 20px;
}

.slick-slide img {
  width: 100%;
  height: 205px;
  object-fit: cover;
  margin-bottom: 30px;
}

.slick-slide p {
  font-size: 0.875rem;
  margin-left: 20px;
}

.slick-slide div {
  margin-left: 20px;
  margin-bottom: 30px;
}

.slick-prev,
.slick-next {
  width: 50px;
  height: 50px;
  background-color: #fff;
  border: 2px solid #292929;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  transform-origin: center;
  transition: 0.3s ease;
  z-index: 10;
  cursor: pointer;
}

.slick-prev::before,
.slick-next::before {
  content: "";
  display: block;
  width: 10px;
  height: 10px;
  border-top: 2px solid #292929;
  border-left: 2px solid #292929;
}

.slick-prev::before {
  transform: rotate(-45deg);
}

.slick-next::before {
  transform: rotate(135deg);
}

.slick-prev:hover,
.slick-next:hover {
  background-color: #fff;
  transform: translateY(-50%) scale(1.1);
}

.slick-prev:active,
.slick-next:active,
.slick-prev:focus,
.slick-next:focus {
  background-color: #fff;
}

/* recruit */
.bg_green {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  width: 90%;
  background-color: #00D910;
  border-radius: 0 20px 20px 0;
}

.recruit .inner {
  padding: 20px 0 40px 5%;
}

.recruit h3 {
  color: #fff;
}

.recruit_contents {
  width: 70%;
}

.recruit_contents>p {
  margin-bottom: 40px;
}

.recruit_lead {
  font-size: 2.5rem;
  font-weight: bold;
  line-height: 3.5rem;
}

.recruit_txt {
  width: 100%;
  text-align: justify;
}

.recruit .btn {
  width: 100%;
  margin-left: 0;
}

.recruit_image_container {
  width: 100%;
}

.recruit_image img {
  opacity: 0;
  transform: scale(1);
  transition: 1s ease-out;
}

.type1 {
  position: relative;
  top: 0;
  right: 50px;
  width: 450px;
}

.recruit_image div {
  position: absolute;
}

.type2 {
  position: absolute;
  top: 0;
  left: -60px;
  width: 275px;
}

.type3 {
  position: absolute;
  top: 80px;
  left: 270px;
  width: 250px;
}


/* btn_container */
.flex_btn {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 200px;
}

.contact_btn,
.recruit_btn {
  width: 450px;
  height: 250px;
  margin-left: 0;
  line-height: 210px;
}

.contact_btn a,
.recruit_btn a {
  font-size: 2rem;
}

.contact_btn {
  border-color: #FE5619;
}

.contact_btn a {
  color: #FE5619;
}

.contact_btn a span {
  background-color: #FE5619;
}

.recruit_btn {
  background-color: #FE5619;
  border: none;
}

.recruit_btn a {
  color: #fff;
}

.recruit_btn a span::before {
  border-color: #FE5619;
}

.recruit_btn a span {
  background-color: #fff;
}

/* footer */
footer {
  background-color: #fff;
  padding-top: 40px;
}

.flex_footer {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  gap: 100px;
  padding-bottom: 40px;
}

.flex_map {
  display: flex;
  justify-content: flex-start;
  align-items: flex-end;
  gap: 10px;
}

.map {
  width: 40px;
  aspect-ratio: 1 / 1;
  border: 1px solid #292929;
  border-radius: 50%;
  overflow: hidden;
}

.map img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.footer_right {
  width: 700px;
  border-radius: 20px;
  padding: 10px;
}

.footer_right ul {
  display: flex;
  justify-content: space-evenly;
  align-items: flex-start;
  gap: 24px;
}

.footer_right li:hover a {
  color: #00D910;
  transition: 0.3s;
}

.footer_right a {
  font-weight: bold;
}

.footer_right span {
  display: block;
  font-size: 0.75rem;
  margin-top: -5px;
}

small {
  display: block;
  text-align: center;
  background-color: #F4F8E1;
  padding: 20px;
}


/* -------------service.html------------------- */
#civil,
#architecture,
#housing {
  margin-bottom: 80px;
  /* padding-top: 120px; */
}

.flex_works {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

h3.service_category {
  font-size: 3.5rem;
  width: 40%;
}

.service_txt {
  width: 60%;
}

/* -------------company.html------------------- */
.greeting {
  position: relative;
}

.greeting .inner {
  padding: 20px 0 40px 10%;
  margin: 0;
}

.greeting .bg_green {
  height: 500px;
}

.greeting_container {
  position: absolute;
  top: 20%;
  left: 8%;
}

.greeting h3 {
  color: #fff;
}

.greeting_img {
  position: relative;
}

.greeting_txt {
  position: absolute;
  top: 50%;
  left: 10%;
  transform: translate(-10%, -50%);
  z-index: 999;
  width: 50%;
  font-size: 1.25rem;
}

.greeting_txt p:nth-of-type(1) {
  margin-bottom: 16px;
}

.greeting_detail {
  width: 70%;
  margin: 240px auto 0;
}

table {
  width: 70%;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 20px;
  margin: 20px auto;
  overflow: hidden;
}

th,
td {
  padding: 15px;
  text-align: left;
}

th {
  background-color: #00D910;
  color: #fff;
}

td {
  background-color: #fff;
}

tr:first-child th:first-child {
  border-top-left-radius: 20px;
}

tr:first-child th:last-child {
  border-top-right-radius: 20px;
}

tr:last-child td:first-child {
  border-bottom-left-radius: 20px;
}

tr:last-child td:last-child {
  border-bottom-right-radius: 20px;
}

iframe {
  width: 100%;
  margin-bottom: 40px;
}

.address_container {
  position: relative;
  width: 70%;
  margin: 0 auto;
  padding-left: 20px;
}

.address_container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 150px;
  background-color: #00D910;
  border-radius: 20px;
}

.address_title {
  font-size: 1.25rem;
  font-weight: bold;
}

/* -------------recruit.html------------------- */
.bg-slider {
  width: 100%;
  min-height: 100vh;
  background-image: url('../images/recruit/recruit_bg01.jpg');
  background-size: cover !important;
  background-position: center;
  background-attachment: scroll;
}

.title_position {
  background-color: #00000062;
  padding-right: 60px;
}

.title_position .page_title_ja {
  color: #fff;
}

.title_position .page_title_ja::before {
  border-color: #fff;
}

.recruit_wrapper {
  position: relative;
  top: 0;
  z-index: 99;
}

.recruit_message {
  background-color: #00d90eb5;
  padding: 40px 0;
}

.recruit_message h3,
.recruit_message p {
  color: #fff;
}

.intern {
  width: 350px;
  margin: 40px auto;
  text-align: center;
}

.charm h3,
.interview h3 {
  color: #292929;
}

.charm_container {
  width: 85%;
  background-color: #ffffffbd;
  border-radius: 20px 0 0 20px;
  margin-left: auto;
  padding: 80px 0;
}

.charm_container h3 {
  padding-left: 60px;
}

.charm_content {
  position: relative;
  width: 70%;
  margin: 0 auto 80px;
}

.charm_content::before {
  content: "";
  position: absolute;
  top: 20px;
  left: -30px;
  width: 10px;
  height: 100%;
  background-color: #00D910;
  border-radius: 20px;
}

.charm_flex {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 16px;
}

.charm_left {
  font-size: 3.5rem;
  color: #00D910;
}

.charm_right {
  font-size: 2rem;
  padding-top: 20px;
}

.interview {
  width: 85%;
  background-color: #dcff3ec5;
  border-radius: 0 20px 20px 0;
  padding: 80px 80px 80px 120px;
}

.interview_txt {
  width: 70%;
  margin-left: auto;
  margin-bottom: 40px;
}

.interview_flex {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  gap: 40px;
}

.interview_box {
  background-color: #fff;
  border-radius: 20px;
}

.interview_box div {
  padding: 20px;
}

.interview_image {
  border-radius: 20px;
  background-color: #000;
  overflow: hidden;
}

.interview_box img {
  transition: 0.3s;
}

.interview_box img:hover {
  opacity: 0.5;
  transform: scale(1.1);
}

/* -------------contact.html------------------- */
.contact h2 {
  position: static;
  transform: none;
  margin: 120px 0;
  padding-left: 0;
  text-align: center;
}

.contact_title {
  position: relative;
}

.contact h2 .page_title_ja {
  position: absolute;
  bottom: 0;
  left: 33%;
}

.form_detail {
  margin-bottom: 120px;
  text-align: center;
}

.form_container {
  position: relative;
  max-width: 850px;
  margin: 0 auto;
  background-color: #fff;
  padding: 80px 40px;
  border-radius: 20px;
}

.tel {
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  width: 300px;
  background-color: #292929;
  color: #fff;
  font-size: 1.5rem;
  border-radius: 20px;
  padding: 20px;
  text-align: center;
}

.form-group p {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  margin-bottom: 15px;
}

#form-privacy {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
}

#form-privacy p {
  display: block;
}

#form-privacy p:nth-of-type(1) {
  margin-top: 30px;
  margin-left: 25px;
}

label {
  width: 40%;
  font-weight: bold;
  color: #555;
}

input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
  padding: 10px;
  margin-top: 5px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 5px;
  box-sizing: border-box;
}

input[type="checkbox"] {
  margin-right: 5px;
}

input[type="submit"] {
  display: block;
  width: 250px;
  margin: 40px auto 0;
  padding: 10px;
  background-color: #FE5619;
  border: 2px solid #FE5619;
  color: #fff;
  border-radius: 20px;
  font-size: 1.125rem;
  cursor: pointer;
}

input[type="submit"]:hover {
  background-color: #fff;
  color: #FE5619;
  border: 2px solid #FE5619;
}

span.required {
  color: #fff;
  background-color: #00D910;
  border-radius: 20px;
  padding: 3px 10px;
  font-size: 0.875rem;
  margin-left: 10px;
}

textarea {
  resize: vertical;
}

.form-group-checkbox {
  display: flex;
  align-items: center;
}

.form-group {
  margin-bottom: 15px;
}

.privacy {
  width: 60%;
  margin-left: auto;
}

input[type="checkbox"] {
  appearance: checkbox;
}


/* single.php------------------------------ */
.item_inner {
  padding-bottom: 80px;
}

.flex_item {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  gap: 50px;
  margin: 120px 0 60px;
}

.item_left {
  width: 60%;
}

.item_left img {
  height: 400px;
  object-fit: cover;
}

.item_right {
  width: 40%;
}

.item_name {
  font-size: 2.4rem;
  margin-bottom: 40px;
}

.item_right div {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 50px;
  font-size: 1.2rem;
  margin-bottom: 20px;
  border-bottom: 1px solid #555;
}

.item_right div p:nth-of-type(1) {
  width: 100px;
}

.item_btn {
  width: 150px;
  margin: 0 auto;
}

.item_btn a {
  padding: 10px;
}

/*--------------------------------------------  */
@media (min-width:769px) and (max-width:1024px) {
  .kv_container {
    margin-top: -100px;
  }

  .inner {
    max-width: 750px;
  }

  .message_txt {
    width: 100%;
    margin-bottom: 40px;
  }

  .type1 {
    width: 300px;
  }

  .type2 {
    width: 200px;
  }

  .type3 {
    left: 170px;
    width: 150px;
  }

  .flex_btn {
    gap: 40px;
  }

  /* service.html */
  h3.service_category {
    font-size: 2.4rem;
  }

  /* recruit.html */
  .interview {
    padding: 60px 40px 120px 60px;
  }

}


/* -------------------------------------------- */
@media(max-width:768px) {

  header {
    position: relative;
  }

  .flex_header {
    padding: 0;
  }

  .header_nav {
    display: none;
  }

  .hamburger_nav {
    display: none;
    position: fixed;
    top: 100px;
    right: 30px;
    z-index: 999;
  }

  .contact_nav {
    top: 0;
  }

  .hamburger_nav li span {
    display: block;
    font-size: 0.875rem;
    margin-top: -8px;
  }

  .hamburger_nav li a {
    font-size: 1.5rem;
    color: #fff;
  }

  .toggle {
    display: block;
    position: relative;
    width: 60px;
    height: 60px;
    background-color: #ffffffcc;
    border-radius: 50%;
    padding: 10px;
    margin-left: auto;
    margin-right: 30px;
  }

  .toggle span {
    position: absolute;
    width: 50%;
    height: 2px;
    background-color: #292929;
    transition: 0.3s;
  }

  .toggle span:nth-of-type(1) {
    top: 25px;
    left: 50%;
    transform: translateX(-50%);
  }

  .toggle span:nth-of-type(2) {
    top: 35px;
    left: 50%;
    transform: translateX(-50%);
  }

  .open .hamburger_nav {
    display: block;
  }

  .open .toggle {
    background-color: transparent;
  }

  .open .toggle span:nth-of-type(1) {
    top: 50%;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    z-index: 999;
    background-color: #fff;
  }

  .open .toggle span:nth-of-type(2) {
    top: 50%;
    left: 50%;
    transform: translateX(-50%) rotate(-45deg);
    z-index: 999;
    background-color: #fff;
  }

  .bg {
    display: block;
  }

  .open .bg {
    display: block;
    width: 100vw;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    background-color: #00d90ec4;
  }

  .kv_container {
    width: 100vw;
    margin-top: -100px;
    margin-right: -100px;
  }

  h2 {
    position: static;
    font-size: 2.2rem;
    padding-left: 0;
    padding: 0 20px;
    margin-bottom: 60px;
  }

  h3 {
    font-size: 3rem;
  }

  .btn {
    width: 100%;
  }

  section {
    margin-bottom: 60px;
  }

  .inner {
    padding: 0 40px;
  }

  .news {
    padding-left: 20px;
  }

  #ticker div {
    font-size: 0.875rem;
  }

  .message_lead {
    font-size: 1.6rem;
  }

  .message_lead span::before {
    top: 6px;
  }

  .message_txt {
    width: 100%;
    font-size: 1rem;
    margin-bottom: 40px;
  }

  .flex_feature {
    flex-direction: column;
  }

  .feature_title {
    font-size: 1.8rem;
  }

  .feature_left,
  .feature_right {
    width: 100%;
  }

  .feature_right {
    margin-left: 0;
  }

  .feature_right p {
    position: static;
    width: 100%;
    padding: 40px 20px;
  }

  .flex_service {
    flex-direction: column;
    gap: 0;
  }

  .service_left {
    width: 100%;
    position: static;
  }

  .slick-prev {
    left: 0;
  }

  .slick-next {
    right: 0;
  }

  .bg_green {
    width: 90%;
  }

  .recruit .inner {
    padding-left: 5%;
  }

  .recruit_contents {
    width: 90%;
  }

  .recruit_lead {
    font-size: 1.8rem;
  }

  .type1 {
    width: 200px;
  }

  .type2 {
    left: -30px;
    width: 100px;
  }

  .type3 {
    top: 30px;
    left: 100px;
    width: 100px;
  }

  .flex_btn {
    flex-direction: column;
    gap: 60px;
    margin-top: 200px;
  }

  .contact_btn,
  .recruit_btn {
    width: 100%;
  }

  .flex_footer {
    flex-direction: column;
  }

  .footer_right ul {
    flex-wrap: wrap;
  }

  .footer_right ul li {
    width: calc(100% / 4);
  }

  .footer_right {
    width: 100%;
  }

  /* service.html------------------------ */

  .page_title_en {
    font-size: 4.7rem;
  }

  .page_title_ja {
    bottom: 50px;
  }

  .flex_works {
    flex-direction: column;
  }

  h3.service_category {
    width: 100%;
    margin-bottom: 0;
    font-size: 2.4rem;
  }

  .service_txt {
    width: 100%;
    margin-bottom: 20px;
  }

  /* company.html ---------------------------*/

  .greeting_img img {
    height: 300px;
    object-fit: cover;
  }

  .greeting_detail {
    width: 100%;
    padding: 0 10px;
    margin-top: 20px;
  }

  .greeting_txt {
    font-size: 1rem;
  }

  table {
    width: 100%;
  }

  .address_container {
    width: 100%;
  }

  /* recruit.html ------------------------- */
  .title_position {
    display: inline-block;
    position: absolute;
    top: 70%;
  }

  .title_position .page_title_ja {
    bottom: 0;
  }

  .charm_container {
    width: 90%;
  }

  .charm_flex {
    flex-direction: column;
    gap: 0;
  }

  .charm_left {
    font-size: 2.4rem;
  }

  .charm_right {
    font-size: 1.6rem;
    padding-top: 0;
  }

  .intern {
    width: 90%;
  }

  .interview {
    width: 90%;
    padding: 0;
    padding-left: 30px;
    padding-bottom: 60px;
  }

  .interview .inner {
    padding-left: 0;
  }

  .interview_txt {
    width: 95%;
    margin-left: 0;
  }

  .interview_flex {
    padding-right: 20px;
  }

  /* contact.html --------------------------*/
  .form-group p {
    flex-direction: column;
    align-items: flex-start;
  }

  #form-privacy {
    flex-direction: column;
  }

  label {
    width: 100%;
  }

  input[type="text"],
  input[type="email"],
  input[type="tel"],
  textarea {
    width: 100%;
  }

  .privacy {
    width: 100%;
    margin-left: 0;
  }

  /* single.php---------------------------------- */
  .flex_item {
    flex-direction: column;
  }

  .item_left {
    width: 100%;
  }

  .item_right {
    width: 100%;
  }
}

@media (max-width:480px) {
  .kv_container {
    width: 100vw;
    margin-top: -100px;
    margin-right: -100px;
  }

  .bg_green {
    display: block;
    overflow: hidden;
  }

  .recruit_image_container {
    overflow: visible;
  }

  .recruit_image div {
    position: relative;
  }

  .type1 {
    left: 25%;
    width: 250px;
  }

  .type2 {
    position: relative;
    left: 10%;
    width: 120px;
  }

  .type3 {
    position: relative;
    top: -70px;
    left: 55%;
    width: 100px;
  }

  .interview_flex {
    flex-direction: column;
  }

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

  .interview_box img {
    height: 225px;
    object-fit: cover;
    object-position: 50% 15%;
  }

  .item_left img {
    height: 250px;
    object-fit: cover;
  }

  .tel {
    font-size: 1.2rem;
  }
}