@charset "UTF-8";
/* Hero Section */
.hero {
  height: 70vh;
  position: relative;
  overflow: hidden;
  margin-top: 105px;
}

.hero video {
  width: 100%;
  height: 70vh;
  object-fit: cover;
  position: fixed;
  top: 105px;
  left: 0;
  z-index: -1;
}

.hero-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: white;
  background: rgba(0, 0, 0, 0.3);
  text-align: center;
}

.hero-content h1 {
  font-size: 3em;
  margin-bottom: 0.417em;
  font-weight: normal;
}

@media screen and (max-width: 576px) {
  .hero-content h1 {
    font-size: 2.5em;
  }
}
/* Latest News Section */
.section {
  padding: 10vh 0;
  position: relative;
}
.section.bg-blur-12 {
  backdrop-filter: blur(12px);
  background-color: rgba(255, 255, 255, 0.8);
}
.section.final-section {
  padding-block-end: 20vh;
}

.section-title {
  text-align: left;
  position: relative;
  margin-block-end: 3vh;
}
.section-title h2 {
  font-size: 2.875em;
  line-height: 1.4em;
  font-weight: 600;
  color: #D12B01;
  position: relative;
  margin-block-end: 0.25em;
  width: fit-content;
  padding-inline-start: 0.3em;
  letter-spacing: 0.05em;
  z-index: 10;
  --line-color-ff: #C1EDF5FF;
  --line-color-00: #C1EDF500;
  text-transform: uppercase;
}
.section-title h2::before {
  content: "";
  display: block;
  width: 150%;
  max-width: 90vw;
  height: 0.6em;
  background-image: linear-gradient(90deg, var(--line-color-ff) 67%, var(--line-color-00) 100%);
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: -1;
}
.section-title p {
  color: #2f2f2f;
  font-size: 1.125em;
  font-weight: 600;
  line-height: 1.2em;
  padding-inline-start: 1.5em;
}
.section-title p.sub-lighter {
  color: #959595;
}
.section-title.center {
  text-align: center;
}
.section-title.center h2 {
  margin-inline: auto;
  padding-inline-start: 0;
}
.section-title.center h2::before {
  left: -25%;
  background-image: linear-gradient(90deg, var(--line-color-00) 0%, var(--line-color-ff) 25%, var(--line-color-ff) 75%, var(--line-color-00) 100%);
}
.section-title.center p {
  padding-inline-start: 0;
}
.section-title.right {
  text-align: right;
}
.section-title.right h2 {
  margin-inline: auto 0;
  padding-inline-start: 0;
  padding-inline-end: 0.3em;
}
.section-title.right h2::before {
  right: 0;
  left: auto;
  background-image: linear-gradient(90deg, var(--line-color-00) 0%, var(--line-color-ff) 33%);
}
.section-title.right p {
  padding-inline-start: 0;
}
.section-title.light-line h2 {
  --line-color-ff: #FFFFFFFF;
  --line-color-00: #FFFFFF00;
}
.section-title.dark-line h2 {
  --line-color-ff: #292929FF;
  --line-color-00: #29292900;
  text-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
  color: #fff;
}

.view-all {
  position: absolute;
  right: 0;
  top: 10px;
  font-size: 12px;
  color: #666;
}

#latest-news-section .container {
  padding: 0 0 0 5vw;
}

/* ニュースセクションのレイアウト */
.news-section {
  display: flex;
  gap: 1.5vw;
  flex-wrap: wrap; /* 追加：画面幅が狭い時に折り返す */
}

/* 大きな固定記事 */
.featured-news {
  width: calc(30% - 1.5vw);
  border: 1px solid #eee;
  background: #fff;
  transition: all 0.5s;
  overflow: hidden;
}

.featured-news:hover {
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transform: translateY(-5px);
}

.featured-img {
  height: 300px;
  overflow: hidden;
}

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

.featured-content {
  padding: 20px;
}

.news-date {
  font-size: 12px;
  color: #999;
  margin-bottom: 5px;
}

.news-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
}

.news-desc {
  font-size: 14px;
  color: #666;
}

/* カルーセルコンテナ */
.carousel-container {
  width: 70%;
  position: relative;
  overflow: visible; /* 変更：overflowをvisibleに変更して4つ目を表示できるようにする */
}

/* カルーセル */
.carousel {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE/Edge */
  gap: 15px;
  padding-bottom: 20px; /* スクロールバー用スペース */
  padding-right: 60px; /* 追加：右側に余白を追加して、スクロールボタンの下に4つ目が隠れないようにする */
}

/* Chrome, Safari, Operaでスクロールバーを非表示 */
.carousel::-webkit-scrollbar {
  display: none;
}

/* カルーセル内のニュースアイテム */
.news-item {
  flex: 0 0 auto;
  width: calc(33.333% - 10px); /* 変更前：各アイテムの幅 */
  min-width: 250px;
  border: 1px solid #eee;
  background: #fff;
  overflow: hidden;
  transition: all 0.5s;
}

/* 大画面での表示調整 */
@media screen and (min-width: 1025px) {
  .news-item {
    width: calc(30% - 10px); /* 変更：アイテムの幅を少し狭めて4つ目を表示 */
  }
}
.news-item:hover {
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transform: translateY(-5px);
}

.news-img {
  height: 180px;
  overflow: hidden;
}

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

.news-content {
  padding: 15px;
}

/* カルーセルのナビゲーションボタン */
.carousel-nav {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 15px;
}

.carousel-btn {
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid #ddd;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  transition: all 0.5s;
}

.carousel-btn:hover {
  background: #fff;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}

.carousel-btn.prev {
  left: 10px;
}

.carousel-btn.next {
  right: 10px;
}

.carousel-btn svg {
  width: 20px;
  height: 20px;
  fill: #666;
}

/* レスポンシブ対応 */
@media screen and (max-width: 1024px) {
  .news-item {
    width: calc(50% - 10px);
  }
  .carousel-container {
    overflow: hidden; /* タブレット以下ではoverflow: hiddenに戻す */
  }
}
@media screen and (max-width: 768px) {
  .featured-news {
    width: 100%;
    max-width: 600px;
    margin: 0 auto 20px;
  }
  .carousel-container {
    width: 100%;
  }
  .featured-img {
    height: 250px;
  }
  .carousel-btn {
    width: 30px;
    height: 30px;
  }
  .carousel-btn svg {
    width: 16px;
    height: 16px;
  }
  .section-title h2 {
    font-size: 2.4em;
  }
}
@media screen and (max-width: 576px) {
  .section {
    padding: 5vh 0;
  }
  #latest-news-section .container {
    padding: 0;
  }
  .featured-news {
    width: 90%;
    margin: 0 auto 20px;
  }
  .featured-img {
    height: 200px;
  }
  .featured-content {
    padding: 15px;
  }
  .news-title {
    font-size: 16px;
  }
  .news-item {
    width: 85%;
    min-width: 200px;
  }
  .news-img {
    height: 150px;
  }
  .view-all {
    position: static;
    display: block;
    text-align: right;
    margin-top: 10px;
  }
  .section-title {
    text-align: left;
  }
  .section-title h2 {
    font-size: 2em;
  }
  .news-section {
    gap: 15px;
  }
}
/* Special Section */
#special-section {
  position: relative;
}
#special-section .container {
  max-width: 1280px;
  position: relative;
}
#special-section::before {
  content: "";
  display: block;
  width: 100vw;
  height: 60%;
  background-color: #fff;
  position: absolute;
  left: 0;
  bottom: -15%;
  transform: skewY(-5deg);
}

.special-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
}

.special-item {
  position: relative;
  background-color: #fff;
}
.special-item .special-img {
  aspect-ratio: 16/10;
  overflow: hidden;
}
.special-item .special-img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.special-content {
  position: relative;
  top: 0;
  left: 0;
  padding: 1.5em 1em;
  width: 100%;
  color: #555;
  background-color: #fff;
}

/* Technology Section */
#tech-section {
  background-color: #fff;
  position: relative;
}
#tech-section::before {
  content: "";
  display: block;
  width: 100vw;
  height: 50%;
  position: absolute;
  left: 0;
  bottom: 0;
  background-image: linear-gradient(0deg, #e9e9e9, rgba(233, 233, 233, 0.3607843137));
}
#tech-section .container {
  position: relative;
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.tech-item {
  text-align: center;
  width: calc((94vw - 40px) / 3);
  background-color: #fff;
  transition: all 0.3s ease;
}
.tech-item:hover {
  transform: translateY(-3px);
}

.tech-img {
  width: 100%;
  height: calc((94vw - 40px) / 3);
  margin-bottom: 0;
}

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

.tech-title {
  font-size: 2.125em;
  line-height: 1.2em;
  padding: 1em 5%;
  font-weight: normal;
  text-align: left;
}

.tech-desc {
  line-height: 1.8em;
  color: #666;
  text-align: left;
  padding: 0 5% 20px;
}

@media screen and (max-width: 576px) {
  .tech-grid {
    grid-template-columns: 1fr;
  }
  .tech-item {
    width: 100%;
  }
  .tech-item:hover {
    transform: none;
  }
  .tech-img {
    width: 100%;
    height: auto;
    aspect-ratio: 1/1;
  }
  .tech-title {
    font-size: 1.8em;
  }
}
/* Products Section */
.products-section {
  background: url(../images/bg_products.jpg) no-repeat center;
  background-attachment: fixed;
  background-size: cover;
  position: relative;
  padding: 0;
}
.products-section .container {
  backdrop-filter: blur(8px);
  background-color: rgba(255, 255, 255, 0.5);
  padding-top: 80px;
  padding-bottom: 80px;
}

.products-grid {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 3vw;
  margin-bottom: 30px;
  max-width: 1280px;
  justify-content: center;
  margin: 0 auto 5vh;
}

.product-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  width: calc((100% - 6vw) / 3);
  max-width: 400px;
  aspect-ratio: 1;
  margin: 0 auto;
  transition: all 0.5s;
  overflow: hidden;
}
.product-item h3 {
  width: 100%;
  height: 100%;
  aspect-ratio: 1/1;
}
.product-item h3 a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  aspect-ratio: 1/1;
  color: #D12B01;
  font-size: 2.2em;
  font-weight: normal;
  line-height: 1.2em;
  text-align: center;
}

.product-item:hover {
  background: #fff;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
  transform: scale(1.05);
}

.product-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 900px;
  margin: 5vh auto;
}

.product-link {
  padding: 1em 2em;
  font-size: 1.4em;
  line-height: 1em;
  transition: all 0.5s;
  background-color: rgba(255, 255, 255, 0.8);
  border-radius: 0.5em;
  text-align: center;
  color: #D12B01;
}

.product-link:hover {
  transform: scale(1.05);
  background-color: #fff;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

@media screen and (max-width: 820px) {
  .product-item h3 a {
    font-size: 2em;
  }
}
@media screen and (max-width: 576px) {
  .product-item {
    width: calc((100% - 3vw) / 2);
    transition: none;
  }
  .product-item h3 a {
    font-size: 1.6em;
  }
  .product-item:hover {
    transform: none;
  }
  .product-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 900px;
    margin: 5vh auto;
  }
  .product-link {
    font-size: 1.3em;
    padding: 1em;
    display: flex;
    justify-content: center;
    align-items: center;
  }
}
/* Global Topics Section */
.skew-section {
  height: calc(45vh + 2.62vw);
  overflow: hidden;
  --skew-deg: 3deg;
  position: relative;
}
.skew-section.left-up {
  transform: skewY(var(--skew-deg));
}
.skew-section.left-up .container {
  transform: skewY(calc(var(--skew-deg) * -1));
}
.skew-section.left-up .container:hover {
  transform: skewY(calc(var(--skew-deg) * -1)) scale(1.01);
}
.skew-section.right-up {
  transform: skewY(calc(var(--skew-deg) * -1));
}
.skew-section.right-up .container {
  transform: skewY(var(--skew-deg));
}
.skew-section.right-up .container:hover {
  transform: skewY(var(--skew-deg)) scale(1.01);
}
.skew-section .container {
  height: 100%;
  background-repeat: no-repeat;
  background-size: cover;
  transition: all 0.3s;
}
.skew-section .container:hover {
  transform: scale(1.01);
}
.skew-section .container a {
  display: block;
  height: 100%;
}
.skew-section:not(.no-skew) {
  height: calc(45vh + 5.24vw);
  top: -2.62vw;
  margin-block-end: -5.24vw;
}
.skew-section:not(.no-skew) .container {
  height: calc(100% + 5.24vw);
  position: relative;
  top: -2.62vw;
}
.skew-section .section-title {
  position: relative;
  top: 30%;
}

#place-section .container {
  background-image: url(../images/bg_place.jpg);
  background-position: center top;
}

/* Sustainability Section */
#sustainability-section .container {
  background-image: url(../images/bg_sustainability.jpg);
  background-position: left bottom -2.62vw;
}

@media screen and (max-width: 820px) {
  #sustainability-section .container {
    background-position: left center;
  }
}
@media screen and (max-width: 576px) {
  .skew-section {
    height: calc(30vh + 2.62vw);
  }
  .skew-section:not(.no-skew) {
    height: calc(30vh + 5.24vw);
  }
  #sustainability-section .container {
    background-position: left center;
  }
}
.sustainability-img {
  width: 100%;
  height: 300px;
  overflow: hidden;
}

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

#recruit-section .container {
  background-image: url(../images/bg_recruit.jpg);
  background-position: center top;
}

/* Company Section */
#company-section {
  background-image: linear-gradient(180deg, #fff 3%, rgba(255, 255, 255, 0) 20%);
}

.company-grid {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 2px;
  width: 94vw;
  max-width: 1280px;
  margin: 0 auto;
}

.company-item {
  position: relative;
  overflow: hidden;
  height: 28vh;
}
.company-item a {
  display: block;
  height: 100%;
}
.company-item a img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: all 0.5s;
}
.company-item a:hover img {
  transform: scale(1.05);
  filter: blur(5px);
}

#company-item-vision,
#company-item-sustainability,
#company-item-ir,
#company-item-press {
  width: calc((100% - 2px) / 2);
}

#company-item-message,
#company-item-profile,
#company-item-history {
  width: calc((100% - 4px) / 3);
}

#company-item-ir,
#company-item-press {
  height: 14vh;
}

.company-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.1);
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 20%;
}
.company-content h3 {
  text-align: center;
  font-size: 1.875em;
  line-height: 1.2em;
  font-weight: bold;
  text-transform: uppercase;
  color: #fff;
}
.company-content h3 span {
  font-size: 0.467em;
  font-weight: normal;
  display: block;
}

@media screen and (max-width: 576px) {
  .company-content h3 {
    font-size: 1em;
  }
}
#company-item-ir .company-content,
#company-item-press .company-content {
  padding-top: 5%;
}

/* Topics Section */
#topics-section {
  background-color: #fff;
}
#topics-section::before {
  content: "";
  display: block;
  width: 100vw;
  height: 50%;
  position: absolute;
  left: 0;
  bottom: -4.375vw;
  background-image: linear-gradient(0deg, #e9e9e9, rgba(233, 233, 233, 0.3607843137));
  transform: skewY(-5deg);
}
#topics-section .container {
  position: relative;
}
#topics-section .container .view-more-btn {
  max-width: 500px;
  margin: 0 auto;
}

.topics-list {
  list-style: none;
  max-width: 1280px;
  margin: 0 auto 5vh;
}

.topic-item {
  background-color: #fff;
  height: 4em;
  border-radius: 2px;
  box-shadow: 0 3px 10px 0 rgba(0, 0, 0, 0.16);
  margin-block-end: 1em;
  transition: all 0.2s;
}
.topic-item:hover {
  transform: scale(1.01);
  box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.1);
}
.topic-item a {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  height: 100%;
  position: relative;
}
.topic-item a::before, .topic-item a::after {
  content: "";
  display: block;
  position: absolute;
  transform-origin: center;
}
.topic-item a::before {
  width: 2em;
  height: 2em;
  right: 1em;
  top: 50%;
  border-radius: 50%;
  background-color: var(--super-light-gray);
  transform: translateY(-50%);
}
.topic-item a::after {
  width: 0.6em;
  height: 0.6em;
  right: 1.75em;
  top: 50%;
  border-block-start: 2px solid #fff;
  border-inline-end: 2px solid #fff;
  transform: translateY(-50%) rotate(45deg);
  transition: all 0.5s;
}
.topic-item a:hover::after {
  transform: translateY(-50%) rotate(405deg);
}
.topic-item .topic-date {
  width: 20%;
  color: #333;
  font-size: 1em;
  line-height: 1em;
  font-weight: 700;
  text-align: right;
  position: relative;
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  align-items: center;
  gap: 1em;
}
.topic-item.new .topic-date::before {
  content: "";
  display: block;
  width: 0.6em;
  height: 0.6em;
  background-color: #ed1d1d;
  transform: rotate(45deg);
}

.topic-tag {
  min-width: 10em;
  padding: 0 2em 0 1em;
}

.tag {
  display: inline-block;
  padding: 2px 10px;
  font-size: 0.625em;
  letter-spacing: 0.1em;
  color: #fff;
  background-color: #fff;
  border-radius: 3px;
}
.tag.category-csr {
  background-color: #ff6666;
}
.tag.category-events {
  background-color: #ff9c66;
}
.tag.category-ir {
  background-color: #ffb366;
}
.tag.category-recruit {
  background-color: #a6d946;
}
.tag.category-other {
  background-color: #51bd53;
}
.tag.category-news {
  background-color: #35d4b7;
}
.tag.category-press {
  background-color: #20bed4;
}
.tag.category-media {
  background-color: #23a6e8;
}
.tag.category-exhibition {
  background-color: #3489d9;
}
.tag.category-technical {
  background-color: #aa7cc9;
}
.tag.category-uncategorized {
  background-color: #e678b4;
}

.topic-title {
  width: -webkit-fill-available;
}

.view-more-btn {
  display: block;
  width: 100%;
  padding: 15px;
  background: #e74c3c;
  color: white;
  text-align: center;
  margin-top: 20px;
  border: none;
  cursor: pointer;
  transition: all 0.5s;
}

.view-more-btn:hover {
  background: #c0392b;
}

@media screen and (max-width: 576px) {
  .topic-item {
    height: auto;
    padding: 0.8em 0 0 0;
  }
  .topic-item a {
    flex-wrap: wrap;
  }
  .topic-item .topic-date {
    width: 35%;
  }
  .topic-title {
    width: 100%;
    padding: 0.5em 5vw 0.5em 1em;
  }
}/*# sourceMappingURL=style.css.map */