/*
Theme Name: chronogear
Description: corporate_simple
Version: 1.0
Author: Seiya Ishikawa
*/

*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --brand-color: #004aaf;
  --brand-sub-color: #3bafff;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}

body {
  font-family: "Zen Kaku Gothic New", "Helvetica Neue",
    "Hiragino Kaku Gothic ProN", "Yu Gothic medium", "Hiragino Sans", Meiryo,
    sans-serif;
  font-size: 16px;
}

.sp-only {
  display: none;
}

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

.image-mask {
  overflow: hidden;
}

.ttl-wrapper {
  color: var(--brand-color);
}

.ttl-wrapper span {
  display: block;
}

.ttl-wrapper .ruby {
  margin-bottom: 28px;
  font-weight: 500;
}

.ttl-wrapper .sec-ttl {
  font-size: 55px;
  font-weight: 600;
}

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

.btn-wrapper a {
  position: relative;
  display: inline-block;
  padding: 16px 90px 16px 30px;
  border-radius: 30px;
}

.btn-wrapper a::after {
  position: absolute;
  content: "";
  height: 8px;
  width: 8px;
  top: 50%;
  right: 29px;
  border: solid;
  border-width: 2px 2px 0 0;
  transform: rotate(45deg) translateY(-50%);
  transition: 0.2s;
}

.btn-wrapper a:hover:after {
  right: 24px;
}

.btn-wrapper a span {
  justify-content: center;
  align-items: center;
  font-weight: 500;
}

.blue-btn {
  color: #fff;
  background: var(--brand-color);
  background: linear-gradient(
    90deg,
    var(--brand-color) 0%,
    var(--brand-sub-color) 100%
  );
}

.blue-btn::after {
  border-color: #fff;
}

.white-btn {
  color: var(--brand-color);
  background-color: #fff;
}

.white-btn::after {
  border-color: var(--brand-color);
}

.btn-flash {
  overflow: hidden;
}

.btn-flash::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  height: 100%;
  width: 100%;
  background-image: linear-gradient(
    130deg,
    rgba(255, 255, 255, 0) 20%,
    rgba(255, 255, 255, 0.5) 50%,
    rgba(255, 255, 255, 0) 80%
  );
  transition: 0.5s;
}

.btn-flash:hover::before {
  top: 0;
  left: 100%;
}

.header {
  position: fixed;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding: 20px 100px 20px 30px;
  height: 95px;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(6px);
  z-index: 10;
}

.logo {
  height: 100%;
}

.logo img {
  height: 100%;
}

.nav ul {
  display: flex;
}

.nav li {
  font-size: 16px;
}

.nav li + li {
  margin-left: 30px;
}

.nav-button {
  position: absolute;
}

.slide-menu {
  position: absolute;
}

.top-visual {
  height: 100vh;
}

.top-visual .swiper {
  position: relative;
  height: 100%;
}

.top-visual .swiper-slide[class*="-active"] .slide-title {
  animation: mv01-fadeIn 2s 0.5s var(--easing) both;
}

.top-visual .slide-media {
  position: relative;
  height: 100%;
  overflow: hidden;
}

.top-visual .slide-media img {
  position: absolute;
  top: 50%;
  left: 50%;
  height: 100%;
  width: 100%;
  transform: translate(-50%, -50%);
  object-fit: cover;
  transition: 8s 1s linear;
}

.top-visual .swiper-slide[class*="-active"] .slide-media img {
  transition-delay: 0s;
  transform: translate(-50%, -50%) scale(1.2);
}

.top-visual .top-text {
  color: #fff;
  position: absolute;
  left: 120px;
  bottom: 120px;
  line-height: 1.5;
  z-index: 100;
}

.top-visual .top-text .top-title {
  font-size: 40px;
  font-weight: 500;
  font-family: "Montserrat", "Zen Kaku Gothic New", "Helvetica Neue",
    "Hiragino Kaku Gothic ProN", "Yu Gothic medium", "Hiragino Sans", Meiryo,
    sans-serif;
  margin-bottom: 20px;
}

.top-visual .scroll-down {
  position: absolute;
  right: 32px;
  bottom: 20px;
  z-index: 100;
}

.top-visual .scroll-down::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 1px;
  height: 30px;
  background: #fff;
  animation: scrollmove 1.4s ease-in-out infinite;
  opacity: 0;
  z-index: 100;
}

.top-visual .scroll-down span {
  position: absolute;
  left: 0;
  transform: translateX(-50%);
  bottom: 92px;
  font-size: 14px;
  color: #fff;
  z-index: 100;
  writing-mode: vertical-rl;
}

.top-visual [class^="swiper-button-"] {
  height: 40px;
  width: 40px;
  border-top: 1px solid #fff;
  border-left: 1px solid #fff;
}

.top-visual .swiper-button-prev {
  transform: rotate(-45deg);
  left: 40px;
}

.top-visual .swiper-button-next {
  transform: rotate(135deg);
  right: 40px;
}

.top-visual [class^="swiper-button-"]::after {
  content: "";
}

.about {
  padding: 100px 0;
  background-color: #f8fafc;
}

.about .about-wrapper {
  display: flex;
}

.about .about-l {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  margin-top: 48px;
  width: 40%;
}

.about .about-l p + p {
  margin-top: 32px;
}

.about .about-l p:last-of-type {
  margin-bottom: 48px;
}

.about .about-r {
  margin-top: -60px;
  padding-left: 60px;
  width: 60%;
}

.about .about-image-area {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
}

.about .image-mask {
  position: absolute;
  border-radius: 16px;
}

.about .image-mask:first-child {
  width: 75%;
  top: 0;
  left: 0;
}

.about .image-mask:last-child {
  width: 60%;
  bottom: 0;
  right: 0;
}

.technology {
  padding: 100px 0;
  background-color: var(--brand-color);
  background-image: radial-gradient(at 20% 0%, var(--brand-color), transparent),
    radial-gradient(at 80% 100%, var(--brand-sub-color), transparent),
    radial-gradient(at 50% 100%, #6b65ff, transparent);
}

.technology .ttl-wrapper {
  color: #fff;
}

.technology .technology-list {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin: 40px 0 30px 120px;
}

.technology .technology-list li {
  display: flex;
  height: 250px;
  background-color: #f8fafc;
  border-radius: 20px;
}

.technology .technology-list li + li {
  margin-top: 20px;
}

.technology .technology-image {
  width: 36%;
}

.technology .image-mask {
  position: relative;
  height: 100%;
  width: 100%;
  aspect-ratio: 8/5;
  border-radius: 20px 0 0 20px;
}

.technology .image-mask img {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translate(-50%, -50%);
  transition: transform 0.3s ease;
}

.technology .technology-content {
  padding: 24px 40px;
  width: 64%;
}

.technology .technology-content h3 {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  font-size: 24px;
  font-weight: 500;
}

.technology .technology-content h3 span {
  font-size: 48px;
  color: transparent;
  -webkit-text-stroke: 1px var(--brand-color);
}

.technology .technology-content p + p {
  margin-top: 24px;
}

.product {
  padding: 100px 0 30px;
}

.product .product-area {
  overflow: hidden;
}

.product .swiper {
  overflow: visible;
}

.product .swiper .swiper-slide {
  width: 300px;
}

.product .swiper .swiper-controller {
  display: flex;
  gap: 12px;
  justify-content: space-between;
  align-items: center;
  margin-top: 30px;
}

.product .swiper .swiper-pagination {
  position: static;
  width: calc(100% - 200px);
  margin-right: auto;
}

.product .swiper .swiper-button-prev,
.product .swiper .swiper-button-next {
  position: relative;
  left: auto;
  right: auto;
  height: 60px;
  width: 60px;
  margin-top: 0;
}

.product .swiper .swiper-button-prev::before,
.product .swiper .swiper-button-next::before {
  position: absolute;
  content: "";
  height: 60px;
  width: 60px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border: 2px solid var(--brand-color);
  border-radius: 30px;
}

.product .swiper .swiper-button-prev::after,
.product .swiper .swiper-button-next::after {
  position: absolute;
  content: "";
  height: 12px;
  width: 12px;
  top: 50%;
  left: 50%;
  border: solid var(--brand-color);
  border-width: 2px 2px 0 0;
}

.product .swiper .swiper-button-prev::after {
  transform: translate(-50%, -50%) translateX(2px) rotate(-135deg);
}

.product .swiper .swiper-button-next::after {
  transform: translate(-50%, -50%) translateX(-2px) rotate(45deg);
}

.product .product-list {
  display: flex;
  justify-content: space-between;
  margin-top: 60px;
}

.product .product-list li {
  width: calc(33% - 8px);
  margin-bottom: 28px;
}

.product .product-list a {
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: center;
}

.product .image-mask {
  border-radius: 20px;
  border: 2px solid var(--brand-color);
}

.wave {
  position: relative;
  margin-top: 30px;
  height: 200px;
}

.wave canvas {
  position: absolute;
  bottom: 0;
  left: 0;
}

.news-release {
  max-width: 1100px;
  width: calc(100% - 200px);
  margin: 0 auto;
  padding-bottom: 100px;
}

.news-release .news-list {
  display: flex;
  flex-direction: column;
  margin: 50px 0;
}

.news-release .news-list li {
  display: flex;
  width: 100%;
  font-weight: 400;
  border-bottom: 1px solid #000;
}

.news-release .news-list li:first-child {
  border-top: 1px solid #000;
}

.news-release .news-list a {
  position: relative;
  display: flex;
  align-items: center;
  gap: 24px;
  width: 100%;
  padding: 36px 80px 36px 16px;
}

.news-release .news-list a:hover {
  background-color: #eff2f2;
}

.news-release .news-list a::before,
.news-release .news-list a::after {
  position: absolute;
  content: "";
}

.news-release .news-list a::after {
  height: 8px;
  width: 8px;
  top: 50%;
  right: 29px;
  border: solid #000;
  border-width: 1px 1px 0 0;
  transform: rotate(45deg) translateY(-50%);
  transition: 0.2s;
}

.news-release .news-list a:hover:after {
  right: 24px;
  border-color: var(--brand-color);
}

.news-release .news-head {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-shrink: 0;
}

.news-release .date {
  width: 156px;
}

.news-release .cat {
  display: inline-block;
  width: 100px;
  font-size: 14px;
  border: 1px solid var(--brand-color);
  color: var(--brand-color);
  background-color: #fff;
  text-align: center;
  padding: 2px 0;
}

.news-release .news-list a:hover p {
  text-decoration: underline;
}

.news-release .news-content {
  font-size: 20px;
}

.company {
  padding-bottom: 100px;
}

.company .company-info {
  display: flex;
  gap: 40px;
}

.company .company-info a {
  position: relative;
  display: flex;
  border-radius: 20px;
  overflow: hidden;
}

.company .company-info a img {
  width: 100%;
  transition: all 0.3s;
}

.company .company-info a:hover img {
  transform: scale(1.08);
}

.company .company-info a p {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  font-size: 28px;
  font-weight: 700;
}

.contact {
  padding: 100px 0;
  background-color: var(--brand-color);
  background-image: radial-gradient(at 20% 0%, var(--brand-color), transparent),
    radial-gradient(at 80% 100%, var(--brand-sub-color), transparent),
    radial-gradient(at 50% 100%, #6b65ff, transparent);
  text-align: center;
}

.contact .ttl-wrapper {
  color: #fff;
  margin-bottom: 30px;
}

.contact .contact-message {
  color: #fff;
}

.contact .contact-area {
  max-width: 800px;
  display: flex;
  margin: 20px auto 0 auto;
  background-color: #fff;
}

.contact .contact-area li {
  width: 50%;
  padding: 30px;
}

.contact .contact-area li:first-child {
  border-right: 1px solid #ccc;
}

.contact .contact-area li:last-child {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.contact .tel {
  margin: 8px 0;
  font-size: 24px;
  color: var(--brand-color);
  font-weight: 700;
}

.contact .tel span {
  font-size: 32px;
}

.contact .hours {
  font-size: 14px;
}

iframe {
  width: 100%;
  aspect-ratio: 16/9;
}

.footer {
  padding-top: 40px;
  background-color: #eee;
}

.footer .footer-content {
  display: flex;
  justify-content: space-between;
}

.footer .company-name p {
  margin-top: 20px;
  font-weight: 500;
}

.footer .logo img {
  height: 55px;
}

.footer address {
  margin-top: 30px;
  font-size: 15px;
  line-height: 1.4;
}

.footer .footer-r {
  display: flex;
  justify-content: space-between;
  margin-left: 60px;
  line-height: 1.8;
  width: 100%;
  max-width: 800px;
}

.footer .footer-r li {
  display: flex;
  flex-direction: column;
}

.footer .footer-r > li > a {
  font-weight: 700;
  margin-bottom: 12px;
}

.footer .sub-list {
  padding-left: 16px;
}

.footer .footer-copy {
  margin-top: 20px;
  padding: 20px 0;
  border-top: 1px solid #ccc;
  font-size: 12px;
  text-align: center;
}

@media (max-width: 1348px) {
  .container {
    padding: 0 24px;
  }
}

@media (max-width: 840px) {
  .sp-only {
    display: block;
  }

  .container {
    padding: 0 16px;
  }

  .ttl-wrapper .sec-ttl {
    font-size: 36px;
  }

  .ttl-wrapper .ruby {
    margin-bottom: 20px;
    font-size: 14px;
  }

  .nav{
    position: absolute;
    opacity: 0;
  }

  .top-visual {
    height: 50vh;
  }

  .top-visual .top-text {
    left: 40px;
    bottom: 150px;
  }

  .top-visual .top-text .top-title {
    font-size: 24px;
  }

  .top-visual .top-text p {
    font-size: 14px;
  }

  .about {
    padding: 60px 0;
  }

  .about .about-wrapper {
    flex-direction: column;
  }

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

  .about .about-r {
    width: 100%;
    margin-top: 0;
    padding-left: 0;
  }

  .technology {
    padding: 60px 0;
  }

  .technology .technology-image {
    width: 100%;
  }

  .technology .image-mask {
    border-radius: 12px 12px 0 0;
  }

  .technology .technology-list {
    margin-left: 0;
  }

  .technology .technology-list li {
    flex-direction: column;
    height: auto;
    padding: 20px;
  }

  .technology .technology-content {
    padding: 0;
    width: 100%;
  }

  .technology .technology-content h3 {
    margin-top: 16px;
    font-size: 20px;
  }

  .technology .technology-content h3 span {
    font-size: 40px;
  }

  .news-release {
    width: calc(100% - 40px);
    padding-bottom: 56px;
  }

  .news-release .news-list a {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 36px 20px 0;
  }

  .news-release .date {
    width: 100px;
    font-size: 14px;
  }

  .news-release .news-cat {
    color: #666;
    min-width: 120px;
    font-size: 14px;
  }

  .news-release .news-content {
    font-size: 14px;
  }

  .company {
    padding-bottom: 40px;
  }

  .company .company-info {
    flex-direction: column;
    gap: 16px;
  }

  .contact {
    padding: 60px 0;
  }

  .contact .contact-area {
    flex-direction: column;
  }

  .contact .contact-area li {
    width: 100%;
    padding: 20px;
  }

  .contact .contact-area li:first-child {
    border-right: none;
    border-bottom: 1px solid #ccc;
  }

  .contact .contact-area li:last-child p {
    margin-bottom: 16px;
  }

  .contact .tel {
    font-size: 16px;
  }

  .contact .tel span {
    font-size: 24px;
  }

  .footer .footer-r {
    display: none;
  }
}

@keyframes mv01-fadeIn {
  0% {
    transform: scale(0.5);
    opacity: 0;
    filter: blur(300px);
  }
  100% {
    transform: scale(1);
    opacity: 1;
    filter: blur(0);
  }
}

@keyframes scrollmove {
  0% {
    height: 0;
    top: -80px;
    opacity: 0;
  }
  30% {
    height: 30px;
    opacity: 1;
  }
  100% {
    height: 0;
    top: -30px;
    opacity: 0;
  }
}
