/* =========================
   RESET
========================= */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Noto Sans JP", sans-serif;
  color: #171717;
  background: #fff;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}


/* =========================
   HEADER
========================= */

.header {
  width: 100%;
  height: 94px;
  padding: 0 4.2%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo {
  display: flex;
  align-items: center;
  gap: 17px;
  flex-shrink: 0;
}

.logo-mark {
  width: 29px;
  height: 30px;
  background: #171717;
  clip-path: polygon(0 0, 100% 0, 83% 100%, 17% 100%);
}

.logo-text {
  font-size: 25px;
  font-weight: 700;
  letter-spacing: 0.19em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 15px;
}

.nav a {
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
  transition: opacity 0.3s;
}

.nav a:hover {
  opacity: 0.5;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: none;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 25px;
  height: 2px;
  background: #171717;
  margin: 6px auto;
  transition: 0.3s;
}


/* =========================
   HERO
========================= */

.hero {
  min-height: 650px;
  height: calc(100vh - 94px);
  max-height: 900px;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #e8eff0;
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(255,255,255,0.43) 0%,
    rgba(255,255,255,0.18) 48%,
    rgba(255,255,255,0) 100%
  );
  z-index: 1;
}

.hero-content {
  width: 100%;
  max-width: 1320px;
  padding: 0 7.8%;
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: clamp(36px, 4vw, 58px);
  line-height: 1.65;
  font-weight: 800;
  letter-spacing: 0.04em;
  margin-bottom: 40px;
}

.hero-content > p {
  font-size: 17px;
  line-height: 2.25;
  font-weight: 500;
  margin-bottom: 38px;
}

.hero-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 240px;
  padding: 13px 25px;
  border: 1px solid #333;
  font-size: 16px;
  font-weight: 700;
  transition: 0.3s;
}

.hero-button:hover {
  background: #171717;
  color: #fff;
}

.scroll {
  position: absolute;
  left: 50%;
  bottom: 35px;
  z-index: 2;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.scroll span {
  display: block;
  width: 13px;
  height: 13px;
  border-right: 1px solid #171717;
  border-bottom: 1px solid #171717;
  transform: rotate(45deg);
  margin: 12px auto 0;
}


/* =========================
   COMMON SECTION
========================= */

.section {
  padding: 110px 8%;
}

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

.section-label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  margin-bottom: 22px;
}

.section-title {
  font-size: 36px;
  line-height: 1.6;
  font-weight: 700;
  margin-bottom: 30px;
}

.section-text {
  font-size: 15px;
  line-height: 2.2;
  color: #555;
}

.text-link {
  display: inline-block;
  margin-top: 35px;
  padding-bottom: 8px;
  border-bottom: 1px solid #222;
  font-size: 14px;
  font-weight: 700;
}

.text-link span {
  margin-left: 20px;
}


/* =========================
   ABOUT
========================= */

.about {
  background: #f7f8f7;
  text-align: center;
}

.about .section-text {
  max-width: 760px;
  margin: 0 auto;
}


/* =========================
   BUSINESS
========================= */

.business {
  background: #fff;
}

.business-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  margin-top: 50px;
}

.business-card {
  border: 1px solid #e8e8e8;
  transition: 0.3s;
}

.business-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.07);
}

.business-card-image {
  height: 210px;
  background: #e9eeee;
  overflow: hidden;
}

.business-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.business-card:hover img {
  transform: scale(1.05);
}

.business-card-content {
  padding: 25px;
}

.business-card-content h3 {
  font-size: 19px;
  margin-bottom: 12px;
}

.business-card-content p {
  font-size: 13px;
  color: #666;
  line-height: 1.9;
}

.business-arrow {
  display: block;
  text-align: right;
  margin-top: 18px;
  font-size: 20px;
}


/* =========================
   NEWS
========================= */

.news {
  background: #f7f8f7;
}

.news-list {
  margin-top: 40px;
  border-top: 1px solid #ddd;
}

.news-item {
  display: grid;
  grid-template-columns: 120px 130px 1fr 30px;
  align-items: center;
  gap: 20px;
  padding: 25px 5px;
  border-bottom: 1px solid #ddd;
  transition: 0.3s;
}

.news-item:hover {
  opacity: 0.6;
}

.news-item time {
  font-size: 13px;
  color: #666;
}

.news-category {
  display: inline-block;
  width: fit-content;
  padding: 5px 12px;
  border: 1px solid #ccc;
  font-size: 11px;
}

.news-item p {
  font-size: 14px;
  line-height: 1.8;
}

.news-arrow {
  font-size: 20px;
  text-align: right;
}


/* =========================
   RECRUIT
========================= */

.recruit {
  min-height: 450px;
  display: flex;
  align-items: center;
  padding: 80px 8%;
  background:
    linear-gradient(rgba(255,255,255,0.72), rgba(255,255,255,0.72)),
    url("https://images.unsplash.com/photo-1497366754035-f200968a6e72?auto=format&fit=crop&w=1800&q=85")
    center / cover no-repeat;
}

.recruit-content {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
}

.recruit h2 {
  font-size: 38px;
  line-height: 1.7;
  margin-bottom: 20px;
}

.recruit-content > p:not(.section-label) {
  font-size: 15px;
  line-height: 2;
  margin-bottom: 30px;
}


/* =========================
   IR / JOURNAL
========================= */

.ir {
  background: #fff;
}

.journal {
  background: #f7f8f7;
}


/* =========================
   FOOTER
========================= */

.footer {
  background: #171717;
  color: #fff;
  padding: 65px 8% 30px;
}

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

.footer-logo {
  margin-bottom: 40px;
}

.footer-logo .logo-mark {
  background: #fff;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
  padding-bottom: 45px;
  border-bottom: 1px solid #555;
}

.footer-nav a {
  font-size: 13px;
  transition: opacity 0.3s;
}

.footer-nav a:hover {
  opacity: 0.5;
}

.copyright {
  padding-top: 25px;
  font-size: 11px;
  color: #aaa;
}


/* =========================
   TABLET
========================= */

@media (max-width: 1100px) {

  .header {
    padding: 0 3%;
  }

  .logo-text {
    font-size: 21px;
  }

  .nav {
    gap: 17px;
  }

  .nav a {
    font-size: 12px;
  }

}


/* =========================
   MOBILE
========================= */

@media (max-width: 768px) {

  .header {
    height: 72px;
    padding: 0 20px;
  }

  .logo {
    gap: 12px;
  }

  .logo-mark {
    width: 23px;
    height: 25px;
  }

  .logo-text {
    font-size: 18px;
    letter-spacing: 0.13em;
  }

  .menu-toggle {
    display: block;
    position: relative;
    z-index: 102;
  }

  .nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    width: 100%;
    padding: 25px 25px 35px;
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    box-shadow: 0 10px 20px rgba(0,0,0,0.06);
  }

  .nav.is-open {
    display: flex;
  }

  .nav a {
    width: 100%;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
    font-size: 14px;
  }

  .menu-toggle.is-open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .menu-toggle.is-open span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.is-open span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }


  /* HERO */

  .hero {
    height: 680px;
    min-height: 580px;
    max-height: none;
    align-items: center;
  }

  .hero-image {
    object-position: 60% center;
  }

  .hero::after {
    background: linear-gradient(
      90deg,
      rgba(255,255,255,0.72),
      rgba(255,255,255,0.28)
    );
  }

  .hero-content {
    padding: 0 25px;
  }

  .hero h1 {
    font-size: clamp(32px, 8vw, 43px);
    line-height: 1.7;
    margin-bottom: 25px;
  }

  .hero-content > p {
    font-size: 13px;
    line-height: 2.1;
    margin-bottom: 28px;
  }

  .pc-only {
    display: none;
  }

  .hero-button {
    min-width: 210px;
    font-size: 13px;
  }

  .scroll {
    left: 50%;
    bottom: 25px;
  }


  /* SECTIONS */

  .section {
    padding: 75px 25px;
  }

  .section-label {
    font-size: 11px;
    margin-bottom: 16px;
  }

  .section-title {
    font-size: 27px;
    margin-bottom: 22px;
  }

  .section-text {
    font-size: 13px;
    line-height: 2.1;
  }


  /* BUSINESS */

  .business-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 35px;
  }

  .business-card-image {
    height: 220px;
  }

  .business-card-content {
    padding: 22px;
  }


  /* NEWS */

  .news-item {
    grid-template-columns: 1fr 30px;
    gap: 10px;
    padding: 20px 0;
  }

  .news-item time {
    grid-column: 1;
  }

  .news-category {
    grid-column: 1;
    grid-row: 2;
  }

  .news-item p {
    grid-column: 1;
    grid-row: 3;
    font-size: 13px;
  }

  .news-arrow {
    grid-column: 2;
    grid-row: 1 / 4;
  }


  /* RECRUIT */

  .recruit {
    min-height: 420px;
    padding: 70px 25px;
  }

  .recruit h2 {
    font-size: 28px;
  }

  .recruit-content > p:not(.section-label) {
    font-size: 13px;
  }


  /* FOOTER */

  .footer {
    padding: 50px 25px 25px;
  }

  .footer-logo {
    margin-bottom: 30px;
  }

  .footer-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    padding-bottom: 30px;
  }

  .footer-nav a {
    font-size: 12px;
  }

  .copyright {
    font-size: 10px;
    line-height: 1.8;
  }

}


/* =========================
   PAGE TOP BUTTON
========================= */

.page-top {
  position: fixed;
  right: 35px;
  bottom: 35px;
  z-index: 999;

  width: 65px;
  height: 65px;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;

  background: #171717;
  color: #fff;
  border: none;
  border-radius: 50%;

  cursor: pointer;

  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);

  transition:
    opacity 0.4s ease,
    transform 0.4s ease,
    visibility 0.4s;
}

.page-top span {
  font-size: 25px;
  line-height: 1;
}

.page-top small {
  font-size: 9px;
  letter-spacing: 0.1em;
}

.page-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.page-top:hover {
  background: #555;
  transform: translateY(-5px);
}

/* スマホ */
@media (max-width: 768px) {
  .page-top {
    width: 52px;
    height: 52px;
    right: 18px;
    bottom: 20px;
  }

  .page-top span {
    font-size: 21px;
  }

  .page-top small {
    font-size: 8px;
  }
}