/*
Theme Name: ODD FUTURE
Theme URI: oddfuture.net
Author: nejiki
Author URI: 作成者のアドレス
Description: テーマの説明
Version: バージョン
License: ライセンス
*/

* {
  letter-spacing: 0.015em;
  line-height: 1.6;
  box-sizing: border-box;
}

body {
  font-family: "Inter", "Noto Sans JP";
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  margin-top: 0 !important;
}

.container {
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
}

.top_page_container {
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
}

.top_firstview_content {
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: left;
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0px;
  left: 0px;
  color: #101010;
  justify-content: center;
  align-items: center;
  padding: 36px;
}

.top_firstview_content_mobile {
  text-align: left;
  position: absolute;
  bottom: 10%;
  left: 10%;
  width: calc(100% - 20px);
  color: #101010;
  display: none;
}

.top_firstview_content_box_area {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 1080px;
  width: 100%;
}

.top_firstview_content_box {
  background-color: #101010;
  color: white;
  padding: 8px 12px;
  border-radius: 2px;
  font-size: 12px;
  font-weight: bold;
}

.top_firstview_content_title {
  font-size: 40px;
  font-weight: bold;
  max-width: 1080px;
  width: 100%;
}

.news_container {
  width: 90%;
  max-width: 980px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
}

.news-grid {
  flex: 1;
}

.menu-toggle {
  display: block;
  font-size: 24px;
  cursor: pointer;
}

.menu {
  display: none;
  flex-direction: column;
  align-items: flex-start;
}

.menu a {
  color: #101010;
  text-decoration: none;
}

.menu_element {
  margin-left: 10px;
  margin-right: 10px;
  font-size: 85%;
  white-space: nowrap;
  transition: transform 0.3s ease;
}

.menu_element_mobile_none {
  margin-left: 10px;
  margin-right: 10px;
  font-size: 85%;
  white-space: nowrap;
  transition: transform 0.3s ease;
}

.menu_element:hover {
  opacity: 0.5;
}

.menu_element_.top_header_mobile_none:hover {
  opacity: 0.5;
}

.menu a:hover {
  color: #1f2937;
}

nav {
  display: none;
}

.top_header_image {
  width: 100%;
  height: auto;
  margin-top: 38px;
}

.top_header_mobile_image {
  display: none;
  width: 100%;
  object-fit: cover;
  margin-top: 70px;
}

.section {
  padding: 32px 28px;
}

.section_blog {
  padding: 32px 28px;
  background-color: rgba(40, 223, 102, 0.08);
}

.section-light {
  background-color: #ffffff;
}

.section_header {
  display: flex;
  justify-content: space-between;
  margin-top: 3%;
  padding-bottom: 36px;
}

.section-dark {
  background-color: #f8f8f8;
  color: #ffffff;
  padding: 24px 0;
}

.text-center {
  text-align: center;
}

.text-right {
  text-align: right;
}

.title {
  font-size: 36px;
  font-weight: bold;
  margin-bottom: 16px;
}

.subtitle {
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 0;
  margin-top: 0;
}

.read_more_link {
  height: 35px;
  background-color: #101010;
  width: 120px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  text-decoration: none;
  font-size: 80%;
  border: solid 1px white;
}

.business_top_read_more_link {
  height: 40px;
  background-color: #101010;
  width: auto;
  padding: 0 8px 0 14px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  text-decoration: none;
  font-size: 13px;
  font-weight: bold;
  border: solid 1px white;
  line-height: 1;
}

.business_buttom_read_more_link {
  height: 35px;
  background-color: #101010;
  width: auto;
  display: none;
  justify-content: space-between;
  align-items: center;
  color: white;
  text-decoration: none;
  font-size: 80%;
  border: solid 1px white;
  padding-left: 15px;
  padding-right: 15px;
  margin-top: 15px;
}

.business_buttom_read_more_link:hover .right_arrow {
  transform: translateX(5px);
  transition: transform 0.3s ease;
}

.business_top_read_more_link:hover .right_arrow {
  transform: translateX(5px);
  transition: transform 0.3s ease;
}

.blog_top_read_more_link {
  height: 40px;
  background-color: #101010;
  width: auto;
  padding: 0 8px 0 14px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  text-decoration: none;
  font-size: 12px;
  font-weight: bold;
  border: solid 1px white;
  line-height: 1;
}

.blog_buttom_read_more_link {
  height: 35px;
  background-color: #101010;
  width: auto;
  display: none;
  justify-content: space-between;
  align-items: center;
  color: white;
  text-decoration: none;
  font-size: 80%;
  border: solid 1px white;
  padding-left: 15px;
  padding-right: 15px;
  margin-top: 15px;
}

.blog_buttom_read_more_link:hover .right_arrow {
  transform: translateX(5px);
  transition: transform 0.3s ease;
}

.blog_top_read_more_link:hover .right_arrow {
  transform: translateX(5px);
  transition: transform 0.3s ease;
}

.blog_card_area {
  padding-top: 36px;
  border-top: solid 0.5px rgba(16, 16, 16, 0.2);
}

.blog_content_area {
  padding: 12px;
  background-color: #fff;
}

.blog_content_area img {
  display: none;
}

.read_more_link_light {
  height: 40px;
  width: 120px;
  background-color: #ffffff;
  width: 120px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #101010;
  text-decoration: none;
  font-size: 80%;
  border: solid 0.5px rgba(16, 16, 16, 0.2);
}

.line_left {
  position: relative;
  padding-left: 1.5em;
  margin-top: 0;
  font-size: 14px;
  font-weight: bold;
}

.line_left::before {
  content: "";
  position: absolute;
  left: 0;
  top: 45%;
  width: 1em;
  border-top: 2px solid #2abd28;
}

.news_card {
  border-bottom: solid 0.5px rgba(16, 16, 16, 0.2);
  text-decoration: none;
  display: flex;
  padding-bottom: 11px;
  margin-right: 3%;
}

.news_card:hover {
  opacity: 0.5;
  cursor: pointer;
  transition: 0.3s ease;
}

.news_card_header {
  display: flex;
}

.news_date {
  font-size: 12px;
  color: #898989;
  margin: auto;
  width: 110px;
  white-space: nowrap;
}

.news_title {
  font-weight: bold;
  font-size: 14px;
  margin-left: 0;
  margin-right: 0;
  margin-top: auto;
  margin-bottom: auto;
  color: #101010;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
}

.news_tag {
  background-color: rgba(16, 16, 16, 0.04);
  color: #101010;
  font-size: 11px;
  font-weight: bold;
  text-align: center;
  margin: auto 2%;
  border-radius: 20px;
  padding: 2px 10px;
  white-space: nowrap;
}

.news_read_more_link {
  height: 40px;
  background-color: white;
  width: 150px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #101010;
  text-decoration: none;
  font-size: 12px;
  font-weight: bold;
  border: solid 1px #101010;
}

.news_read_more_link:hover .right_arrow {
  transform: translateX(5px);
  transition: transform 0.3s ease;
}

.business_head_area {
  display: flex;
  justify-content: space-between;
  padding-bottom: 36px;
  border-bottom: solid 0.5px rgba(16, 16, 16, 0.2);
  align-items: flex-end;
}

.business_card_area {
  margin-top: 5%;
  text-align: center;
}

.business_title {
  color: #101010;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  font-size: 16px;
}

.business_card_content_area {
  display: flex;
  justify-content: space-between;
  padding-left: 10px;
  padding-right: 10px;
  border-bottom: solid 1px #101010;
  font-size: 18px;
  margin-top: 12px;
  padding-bottom: 12px;
  align-items: center;
}

.blog_images {
  text-align: center;
  width: 100%;
  object-fit: cover;
  overflow: hidden;
}

.blog_info_section {
  display: flex;
  font-size: 13px;
  font-weight: normal;
}

.blog_content_section {
  margin-top: 2%;
  text-align: left;
  color: #101010;
}

.blog_date {
  color: #898989;
  margin: 0;
}

.blog_hashtag {
  background-color: rgba(16, 16, 16, 0.04);
  color: #101010;
  font-size: 11px;
  text-align: center;
  border-radius: 20px;
  padding: 4px 10px;
  white-space: nowrap;
  font-weight: bold;
  margin-left: 10px;
  line-height: 1;
}

.blog_title {
  margin: 0;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.blog_content {
  font-size: 12px;
  color: #101010;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  padding-top: 4px;
  line-height: 1.6;
  font-weight: normal;
  letter-spacing: 0.015em;
  opacity: 0.7;
}

.card:hover .blog_images {
  transform: scale(1.01);
  transition: transform 0.3s ease;
}

.right_arrow {
  height: 50%;
}

.read_more_link:hover .right_arrow {
  transform: translateX(5px);
  transition: transform 0.3s ease;
}

.right_arrow_green {
  width: 22px;
  fill: #2abd28;
}

.company_right_arrow {
  width: 18px;
}

.read_more_link_light:hover .company_right_arrow {
  transform: translateX(5px);
  transition: transform 0.3s ease;
}

.read_more_link_light:hover .right_arrow {
  transform: translateX(5px);
  transition: transform 0.3s ease;
}

.card {
  margin-bottom: 16px;
  font-weight: bold;
  text-decoration: none;
  text-align: center;
  border-radius: 4px;
  overflow: hidden;
}

.blog_page_related_article .card {
  border: 0.5px solid #e5e5e5;
}

.business_images_wrap {
  width: 100%;
  height: auto;
  /* aspect-ratio: 2 / 3; */
  object-fit: cover;
  overflow: hidden;
}

.business_images_wrap img:hover {
  transform: scale(1.05);
  transition: transform 0.3s ease;
}

/*
.card:hover .business_images {
  transform: scale(1.01);
  transition: transform 0.3s ease;
}
*/

.card:hover .right_arrow_green {
  transform: translateX(5px);
  transition: transform 0.3s ease;
}

.card img {
  max-width: 100%;
  height: auto !important;
}

.blog_card {
  background-color: #ffffff;
  margin-bottom: 16px;
  font-weight: bold;
  text-decoration: none;
}

.company_info_content_area {
  margin-top: 12px;
  margin-bottom: 15px;
  display: flex;
  justify-content: space-between;
  padding-left: 5%;
  padding-right: 5%;
  align-items: center;
}

.company_info_image {
  height: 280px;
  width: 100%;
}

.company_info_title {
  margin-top: 0;
  margin-bottom: 0;
}

.company_info_line_left {
  position: relative;
  padding-left: 1.5em;
  margin-top: 0;
  font-size: 75%;
}

.company_info_line_left::before {
  content: "";
  position: absolute;
  left: 0;
  top: 45%;
  width: 1em;
  border-top: 2px solid #2abd28;
}

.company_info_grid .company_info_card:first-child {
  border-right: 0;
}

.company_info_card {
  margin-bottom: 16px;
  font-weight: bold;
  text-decoration: none;
  text-align: center;
  border: solid 1px rgba(16, 16, 16, 0.16);
}

.company_info_card img {
  max-width: 100%;
  object-fit: cover;
}

.green_line::after {
  content: "";
  display: block;
  width: 48px;
  height: 4px;
  background-color: #2abd28;
  position: absolute;
  bottom: 0;
}

.copyright_content {
  color: rgba(255, 255, 255, 0.3);
}

.page_major_content_area_mobile {
  display: none;
  bottom: 0;
  left: 0;
  color: white;
  padding-left: 24px;
  padding-bottom: 12px;
  text-align: left;
}

.page_majar_title_mobile {
  font-size: 28px;
}

.page_majar_title {
  font-size: 40px;
}

.page_majar_content {
  position: absolute;
  bottom: 0;
  left: 0;
  color: white;
  padding-left: 10%;
  padding-bottom: 3%;
  font-size: 16px;
  margin-left: 5%;
}

.page_head_line_left {
  position: relative;
  padding-left: 1.5em;
  margin-top: 0;
  font-size: 14px;
  font-weight: bold;
}

.page_head_line_left::before {
  content: "";
  position: absolute;
  left: 0;
  top: 40%;
  width: 1em;
  border-top: 2px solid #2abd28;
}

.page_majar_content_mobile {
  bottom: 0;
  left: 0;
  color: white;
  font-size: 16px;
}

.image_with_text {
  position: relative;
}

.image_with_text_mobile {
  position: relative;
}

.image_with_text .business_header_image {
  width: 100%;
  height: auto;
}

.image_with_text .page_major_content_area {
  position: absolute;
  bottom: 0;
  left: 0;
  color: white;
  padding: 10px;
  padding-left: 10%;
  padding-bottom: 3%;
  text-align: left;
}

.image_with_text_mobile .business_header_mobile_image {
  width: 100%;
}

.image_with_text_mobile .page_major_content_area {
  position: absolute;
  bottom: 0;
  left: 0;
  color: white;
  padding: 10px;
  padding-left: 10%;
  padding-bottom: 3%;
  text-align: left;
  margin-left: 5%;
}

.image_with_text_mobile .page_major_content_area_mobile {
  position: absolute;
  bottom: 0;
  left: 0;
  color: white;
  padding-bottom: 24px;
  text-align: left;
}

.pagination {
  margin-top: 48px;
}

.pagination-links {
  display: flex;
  justify-content: center;
  list-style: none;
  padding: 0;
}

.pagination-links li {
  margin: 0 5px;
}

.pagination-links a {
  text-decoration: none;
}

.pagination-links .prev-link,
.pagination-links .next-link {
  opacity: 1;
}

.pagination-links .prev-link[style="opacity: 0.5;"],
.pagination-links .next-link[style="opacity: 0.5;"] {
  pointer-events: none;
  cursor: default;
}

.page-numbers {
  display: block;
  border: solid 0.5px rgba(16, 16, 16, 0.2);
  width: 40px;
  height: 40px;
  text-align: center;
  padding: auto;
  line-height: 40px;
  color: #101010;
  transition: background-color 0.3s, color 0.3s;
}

.page-numbers:hover {
  background-color: black;
  color: white;
}

.current {
  background-color: #101010;
  color: white !important;
}

.current-item {
  display: inline-block;
  padding: 0;
  width: auto;
  max-width: 100%;
  margin-top: -3px;
  vertical-align: middle;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: bold;
}

.grid {
  display: grid;
  gap: 16px;
}

.company_info_grid {
  display: grid;
}

.grid-cols-1 {
  grid-template-columns: 1fr;
}

.grid-cols-2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid-cols-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-cols-4 {
  grid-template-columns: repeat(4, 1fr);
}

.grid-cols-5 {
  grid-template-columns: repeat(5, 1fr);
}

@media (min-width: 768px) {
  nav {
    display: flex;
  }

  .menu {
    display: flex;
    flex-direction: row;
    align-items: center;
  }

  .menu-toggle {
    display: none;
  }

  .md\:grid-cols-2 {
    grid-template-columns: repeat(2, 1fr);
  }

  .md\:grid-cols-3 {
    grid-template-columns: repeat(3, 1fr);
  }

  .md\:grid-cols-4 {
    grid-template-columns: repeat(4, 1fr);
  }

  .md\:grid-cols-5 {
    grid-template-columns: repeat(5, 1fr);
  }
}

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

  .menu {
    display: flex;
  }

  .news_container {
    flex-direction: column;
    padding: 15px;
  }

  .news_card_header {
    display: flex;
  }

  .news_card {
    flex-direction: column;
    text-align: start;
    margin-right: 0;
  }

  .news_date {
    width: auto;
    padding: 5px;
    margin-bottom: 10px;
    margin: 0;
  }

  .news_tag {
    width: auto;
    padding: 5px;
    margin-bottom: 10px;
    margin: 0;
  }

  .news_title {
    font-size: 90%;
  }

  .news_link_area {
    margin-left: auto;
    margin-top: 4%;
  }

  .business_section {
    padding: 0 28px;
  }

  .business_container {
    flex-direction: column;
  }
  .business_content_area,
  .business_card_area {
    width: 100%;
  }

  .business_content_area {
    margin-bottom: 30px;
  }

  .business_images {
    height: 200px !important;
    width: 100% !important;
    object-fit: cover !important;
    overflow: hidden !important;
    object-position: bottom;
  }

  .business_top_read_more_link {
    display: none;
  }

  .business_buttom_read_more_link {
    display: flex;
    height: 48px;
  }

  .blog_top_read_more_link {
    display: none;
  }

  .blog_buttom_read_more_link {
    display: flex;
    height: 48px;
    font-size: 16px;
    font-weight: bold;
  }

  .business_buttom_read_more_link span {
    font-size: 16px;
    font-weight: bold;
  }

  .top_header_image {
    display: none;
  }

  .top_header_mobile_image {
    display: flex;
  }

  .top_firstview_content {
    display: none;
  }
  .company_info_image {
    height: 180px;
    width: 100%;
  }

  .page_major_content_area {
    display: none;
  }

  .page_major_content_area_mobile {
    display: block;
  }

  .company_info_grid .company_info_card:first-child {
    border: solid 1px rgba(16, 16, 16, 0.16);
  }
}

@media (max-width: 782px) {
  .top_header_image {
    margin-top: 25px;
  }
  .top_firstview_content_title {
    font-size: 28px;
    margin-top: 8px;
  }
  .top_firstview_content_mobile {
    position: relative;
    width: 100%;
    padding: 28px;
    left: 0;
    bottom: 0;
  }
}
