/* mainvisual */
.mv_container {
  height: 100vh;
  background-image: linear-gradient(
      rgba(89, 89, 89, 0.25),
      rgba(89, 89, 89, 0.25)
    ),
    url("/wp-content/themes/center/images/main_visual01.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}
.mv_textBox {
  position: absolute;
  bottom: 5rem;
  left: 5rem;
}
.mv_title {
  font-family: var(--secondary-font);
  font-size: 4.5rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--default-color);
}
.mv_text {
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--default-color);
}
@media (max-width: 768px) {
  .mv_textBox {
    bottom: 3rem;
    left: 3rem;
  }
  .mv_title {
    font-size: 3.5rem;
  }
  .mv_text {
    font-size: 1.3rem;
  }
}
@media (max-width: 640px) {
  .mv_textBox {
    left: 2rem;
  }
  .mv_title {
    font-size: 3rem;
    line-height: 1.1;
  }
  .mv_text {
    font-size: 1rem;
    line-height: 1.3;
  }
}

/* about */
.about {
  padding: 2.5rem;
}
.about_inner {
  background-color: var(--main-color);
  border-radius: 20px;
  padding: 5rem 0;
}
.about_heading {
  padding-left: 5rem;
}
.about_title-en {
  font-family: var(--secondary-font);
  font-size: 6rem;
  font-weight: 600;
  line-height: 1.15;
  color: var(--default-color);
}
.about_title-ja {
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--default-color);
}
.about_main {
  margin-top: 2.5rem;
  text-align: center;
  position: relative;
}
.about_main-head {
  font-size: 6.4rem;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.05rem;
  color: var(--default-color);
}
.about_main-text {
  margin-top: 2.5rem;
  max-width: 1060px;
  width: 100%;
  margin-inline: auto;
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 3;
  letter-spacing: 0.1rem;
  color: var(--default-color);
  font-feature-settings: "palt";
}
.fade-in {
  opacity: 0;
  transform: translateY(30px);
}
.about_main-text-bold {
  font-size: 2.1875rem;
  font-weight: 600;
}
.about_main-bg-logo {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0.05;
  max-width: 50%;
  width: 100%;
}
.about_main-img {
  max-width: 80.1%;
  width: 100%;
  margin-inline: auto;
  margin-top: 10rem;
}

@media (max-width: 768px) {
  .about {
    padding: 1.5rem;
  }
  .about_inner {
    padding: 2.5rem 0;
  }
  .about_heading {
    padding-left: 2.5rem;
  }
  .about_title-en {
    font-size: 5rem;
  }
  .about_title-ja {
    font-size: 1.325rem;
  }
  .about_main {
    margin-top: 1.75rem;
  }
  .about_main-head {
    font-size: 3.5rem;
  }
  .about_main-text {
    line-height: 2;
    letter-spacing: 0.08rem;
    max-width: 90.98%;
    width: 100%;
    margin-inline: auto;
  }
  .about_main-bg-logo {
    max-width: 90%;
  }
  .about_main-img {
    margin-top: 4rem;
  }
}

@media (max-width: 450px) {
  .about {
    padding: 2.5rem 0.624rem;
  }
  .about_heading {
    padding-left: 1rem;
  }
  .about_title-en {
    font-size: 3rem;
  }
  .about_title-ja {
    font-size: 0.825rem;
  }
  .about_main-head {
    font-size: 2rem;
  }
  .about_main-text {
    margin-top: 1rem;
    font-size: 1rem;
  }
  .about_main-text-bold {
    font-size: 1.3rem;
  }
  .about_main-img {
    margin-top: 2rem;
  }
}
@media (max-width: 375px) {
  .about_main-head {
    font-size: 1.875rem;
  }
}

/* service */
.service {
  padding: 5rem 0;
  background-color: var(--main-color);
}
.service_inner {
  display: flex;
  justify-content: end;
  align-items: start;
  gap: 7.5rem;
}
.service_left-content {
  margin-left: 7.5rem;
}
.service_title-en {
  font-size: 4.5rem;
  font-family: var(--secondary-font);
  color: var(--default-color);
  line-height: 1.15;
}
.service_title-ja {
  font-size: 1.25rem;
  color: var(--default-color);
  line-height: 1.3;
}
.service_button {
  margin-top: 2.5rem;
}
.btn-arrow {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 9999px;
  background-color: var(--main-color);
  display: flex;
  justify-content: center;
  align-items: center;
}
.btn-arrow svg {
  display: inline-block;
  transition: none;
}
.btn-arrow:hover svg {
  animation: arrowFly 0.6s ease forwards;
}
@keyframes arrowFly {
  0% {
    transform: translateX(0);
    opacity: 1;
  }
  50% {
    transform: translateX(20px);
    opacity: 0;
  }
  51% {
    transform: translateX(-20px);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}
.service_right-content {
  background-color: var(--default-color);
  border-radius: 20px 0 0 20px;
}
.service_item {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2.5rem;
  padding: 20px;
}
.service_item:not(:last-child) {
  border-bottom: 1px #ededed solid;
}
.service_item-img {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 31.25%;
  aspect-ratio: 280 / 210;
  background-color: var(--bg-blue-color);
  border-radius: 15px;
}
.service_item-img img {
  width: 50%;
}
.service_item-content {
  width: 64.2%;
}
.service_item-title {
  font-size: 2rem;
  font-weight: 600;
  line-height: 1;
}
.service_item-category {
  margin-left: 1.5rem;
  font-size: 0.75rem;
  font-weight: 400;
}
.service_item-text {
  margin-top: 1.5rem;
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.5;
  letter-spacing: 0.03rem;
  font-feature-settings: "palt";
}

@media (max-width: 768px) {
  .service_inner {
    flex-direction: column;
    gap: 2.5rem;
  }
  .service_left-content {
    display: contents;
  }
  .service_heading {
    order: 1;
    margin-left: 1.5rem;
  }
  .service_button {
    order: 3;
    margin-top: 1.5rem;
    margin-inline: auto;
  }
  .service_right-content {
    order: 2;
    border-radius: 20px;
    max-width: 91.46%;
    width: 100%;
    margin-inline: auto;
  }
  .service_item {
    flex-direction: column;
    height: auto;
    gap: 1rem;
  }
  .service_item-img {
    width: 100%;
  }
  .service_item-content {
    width: 100%;
  }
  .service_item-category {
    margin-left: 1rem;
  }
}
@media (max-width: 450px) {
  .service_title-en {
    font-size: 2.5rem;
  }
  .service_title-ja {
    font-size: 0.875rem;
  }
  .service_item-category {
    display: block;
    margin-left: 0;
    margin-top: 0.5rem;
  }
}

.company {
  padding: 5rem 0;
}
.company_inner {
  max-width: 83.3%;
  width: 100%;
  margin-inline: auto;
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 5rem;
}
.company_title-en {
  font-size: 4.5rem;
  font-weight: 600;
  line-height: 1.15;
  font-family: var(--secondary-font);
}
.company_title-ja {
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.3;
}
.company_info {
  margin-top: 5rem;
}
.company_info-item {
  display: flex;
  justify-content: start;
  align-items: start;
  gap: 2rem;
  padding: 1.5rem;
  border-bottom: 1px solid var(--bg-blue-color);
}
.company_info-item:nth-child(1) {
  border-top: 1px solid var(--bg-blue-color);
}
.company_info-term {
  width: 70px;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.5;
}
.company_info-desc {
  font-size: 1rem;
  line-height: 1.5;
}
.company_map {
  flex: 1;
  display: flex;
}
.company_map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}
@media (max-width: 768px) {
  .company_inner {
    flex-direction: column;
    max-width: 91.46%;
    margin-inline: auto;
    gap: 1.5rem;
  }
  .company_info {
    margin-top: 2.5rem;
  }
  .company_info-item {
    flex-direction: column;
    gap: 0.5rem;
    padding: 1rem;
  }
  .company_info-term {
    width: 100%;
  }
  .company_map {
    width: 100%;
    display: block;
  }
  .company_map iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
  }
}
@media (max-width: 450px) {
  .company {
    padding: 2.5rem 0;
  }
  .company_title-en {
    font-size: 2.5rem;
  }
  .company_title-ja {
    font-size: 0.875rem;
  }
  .company_map iframe {
    height: 400px;
  }
}

/* news */
.news {
  padding: 2.5rem 0;
}
.news_inner {
  max-width: 72.2%;
  width: 100%;
  margin-inline: auto;
  background-color: var(--main-color);
  border-radius: 40px;
  display: flex;
  justify-content: center;
  align-items: start;
  gap: 10rem;
  padding: 2.5rem 0;
}
.news_title-en {
  font-size: 4.5rem;
  font-weight: 600;
  font-family: var(--secondary-font);
  line-height: 1.15;
  color: var(--default-color);
}
.news_title-ja {
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--default-color);
}
.news_button {
  margin-top: 2.5rem;
}
.news_contents {
  width: 50.9%;
}
.news_details-item {
  padding: 1rem 0;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.news_details-date {
  font-size: 1rem;
  font-weight: 600;
  font-family: var(--default-color);
  line-height: 1;
  color: var(--default-color);
}
.news_details-title {
  font-size: 1rem;
  line-height: 1;
  color: var(--default-color);
  transition: color 0.3s;
}
.news_details-link:hover .news_details-title {
  color: var(--primary-black-color);
}
@media (max-width: 768px) {
  .news_inner {
    flex-direction: column;
    padding: 2.5rem 1rem;
    gap: unset;
    max-width: 91.46%;
  }
  .news_heading {
    display: contents;
  }
  .news_title-en {
    order: 1;
  }
  .news_title-ja {
    order: 2;
  }
  .news_contents {
    order: 3;
    margin-top: 1.5rem;
    width: 100%;
  }
  .news_button {
    order: 4;
    margin-inline: auto;
  }
}
@media (max-width: 450px) {
  .news_title-en {
    font-size: 2.5rem;
  }
  .news_title-ja {
    font-size: 0.875rem;
  }
}
