:root {
  --navy: #19243d;
  --blue: #0069d9;
  --steel: #63738d;
  --line: #c8ced7;
  --red: #d73831;
  --pale: #f6f7f9;
  --text: #17233a;
}
/* =============
 * タグ
 ============= */
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  color: var(--text);
  background: #fff;
  font-family:
    "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, Arial, sans-serif;
  font-size: 16px;
  letter-spacing: 0;
}

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

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

/* =============
 * ヒーローイメージ
 ============= */
.hero-area {
  position: relative;
  min-height: 1080px;
  overflow: hidden;
}

.hero-area::after {
  content: "";
  position: absolute;
  right: 34px;
  bottom: 34px;
  width: 28px;
  height: 28px;
  border-right: 3px solid #3a87ff;
  border-bottom: 3px solid #3a87ff;
}

.hero-photo {
  width: 95%;
  height: 1000px;
  object-fit: cover;
}

.hero-area .vertical-word,
.hero-area .large-word {
  position: absolute;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-family: Arial, sans-serif;
  font-weight: 300;
  z-index: 2;
}

.hero-area .vertical-word {
  left: 2%;
  top: 120px;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-size: 180px;
}

.hero-area .large-word {
  left: 190px;
  bottom: 134px;
  font-size: 180px;
}

/* =============
 * section
 ============= */
.normal-section {
  width: min(1240px, calc(100% - 96px));
  margin: 0 auto;
  padding: 112px 0;
}
.section-title {
  margin-bottom: 70px;
  color: var(--steel);
  display: inline-block;
  position: relative;
}
.section-title h2 {
  display: inline-block;
  position: relative;
  margin: 0;
  font-size: 64px;
  line-height: 0.9;
  font-weight: 900;
}
.section-title h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -20px;
  height: 2px;
  background: var(--steel);
  width: 140px;
}
.section-title span {
  font-weight: 800;
  font-size: 14px;
  position: absolute;
  bottom: -30px;
  right: 10px;
}

/* =============
 * ボタン
 ============= */
.common-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  color: #fff;
  background: var(--navy);
  font-weight: 800;
  cursor: pointer;
}

.common-button:hover {
  color: var(--navy);
  background: #fff;
  border: 2px solid var(--navy);
}

.common-button.mini {
  min-width: 178px;
  height: 40px;
  padding: 0 22px;
  border-radius: 999px;
  font-size: 13px;
}

.common-button.submit {
  width: 220px;
  height: 64px;
  margin: 54px auto 0;
  border-radius: 999px;
  font-size: 16px;
}

/* =============
 * サービス概要コンテンツ
 ============= */
.service-row {
  display: grid;
  grid-template-columns: 1fr 1.16fr;
  gap: 92px;
  align-items: center;
  margin-bottom: 128px;
}
.service-row--reverse {
  grid-template-columns: 1.16fr 1fr;
}
.service-row--reverse .service-row-text {
  order: 2;
}
.service-row--reverse .service-row-image {
  order: 1;
}
.service-row-text h3 {
  margin: 0 0 36px;
  color: var(--blue);
  font-size: 36px;
  line-height: 1.25;
  font-weight: 900;
}

.service-row-text p {
  margin: 0;
  line-height: 2;
  font-weight: 700;
}

.service-row-image {
  position: relative;
  z-index: 0;
  margin: 0;
}
.service-row-image::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -34px;
  z-index: -1;
  width: 54%;
  height: 52%;
  background: var(--steel);
}

.service-row--reverse .service-row-image img {
  margin-left: auto;
}

.service-row--reverse .service-row-image::after {
  right: auto;
  left: 0px;
}
.service-row-image img {
  width: 92%;
  aspect-ratio: 751 / 496;
  object-fit: cover;
  object-position: center;
}

/* =============
 * 入力フォームエリア
 ============= */
.form-grid {
  display: grid;
  gap: 24px;
  max-width: 940px;
  margin: 0 auto;
}
.form-grid label {
  display: grid;
  grid-template-columns: 180px 1fr;
  align-items: center;
  gap: 34px;
  font-weight: 800;
  color: var(--navy);
}
.form-grid input[type="text"],
.form-grid input[type="email"],
.form-grid input[type="tel"],
.form-grid select,
.form-grid textarea {
  width: 100%;
  min-height: 54px;
  padding: 0 28px;
  border: 2px solid #c9cdd4;
  color: var(--navy);
  background: #fff;
  font: inherit;
  font-weight: 800;
}
.form-grid textarea {
  min-height: 116px;
  padding-top: 22px;
  resize: vertical;
}
.form-grid ::placeholder {
  color: #b5c0cf;
  opacity: 1;
}
.privacy {
  margin-top: 36px;
  padding-top: 36px;
  border-top: 1px solid #aeb6c1;
  color: var(--navy);
  font-weight: 800;
}
.privacy > label {
  display: flex;
  gap: 12px;
  margin: 24px 0;
}
.privacy-box {
  padding: 22px;
  border: 2px solid #c9cdd4;
  color: #647186;
  font-size: 12px;
  line-height: 2;
  font-weight: 700;
}

/* =============
 * 協力会社募集バナー
 ============= */
.partner-banner {
  font-family: Arial, sans-serif;
  position: relative;
  width: min(1470px, calc(100% - 180px));
  margin: 0 auto 130px;
  overflow: hidden;
}

.partner-banner img {
  width: 100%;
  height: 600px;
  object-fit: cover;
}

.partner-banner::before {
  content: "PARTNER";
  position: absolute;
  left: 57px;
  top: 20px;
  writing-mode: sideways-lr;
  color: rgba(255, 255, 255, 0.78);
  font-size: 85px;
  line-height: 1;
  font-weight: 600;
  letter-spacing: 0.1em;
  z-index: 1;
  text-shadow: -5px 5px 0px rgba(0, 0, 0, 0.3);
}

.partner-banner::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 90px;
  background: #000;
}
.partner-banner-label {
  position: absolute;
  right: 44px;
  bottom: 16px;
  z-index: 1;
  color: #fff;
  font-size: 45px;
  font-weight: 600;
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.55);
}

/* =============
 * サブビジュアル
 ============= */
.sub-hero {
  position: relative;
  height: 500px;
  overflow: hidden;
  color: #fff;
  background: var(--navy);
}
.sub-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.86;
}
.sub-hero::after {
  content: "";
  position: absolute;
  inset: 70px 0 0;
  background: rgba(0, 0, 0, 0.2);
}
.sub-hero div {
  position: absolute;
  left: 10%;
  top: 250px;
  z-index: 1;
}
.sub-hero h1 {
  position: relative;
  margin: 0 0 8px;
  font-size: 58px;
  line-height: 1;
  font-weight: 900;
}
.sub-hero h1::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -20px;
  height: 2px;
  background: #fff;
  width: 80px;
}
.sub-hero span {
  display: block;
  text-align: center;
  font-size: 13px;
  font-weight: 800;
}

/* =============
 * 会社概要
 ============= */
.outline-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  font-weight: 800;
  color: var(--steel);
}
.outline-table th,
.outline-table td {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 28px 34px;
  vertical-align: top;
}

.outline-table td .center {
  margin: 6px;
}

.outline-table th {
  width: 220px;
  color: var(--steel);
  letter-spacing: 0.18em;
}
.outline-table ol {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 60px;
  margin: 0;
  padding-left: 22px;
}

/* =============
 * モーション
 ============= */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 900px) {
  /* =============
 * ヒーローイメージ
  ============= */
  .hero-area {
    min-height: 620px;
  }

  .hero-area::after {
    display: none;
  }

  .hero-photo,
  .hero-area > img {
    width: 100%;
    height: 900px;
  }

  .hero-area .vertical-word {
    font-size: 110px;
    bottom: 167px;
    top: auto;
  }

  .hero-area .large-word {
    left: 2%;
    bottom: 40px;
    font-size: 110px;
  }

  .hero-text-area {
    left: 28px;
    right: 28px;
    top: 100px;
  }
  .hero-text-area h1,
  .hero-text-area {
    font-size: 28px;
  }

  .vertical-word {
    left: 18px;
    top: 400px;
    font-size: 80px;
  }

  .large-word {
    left: 30px;
    bottom: 44px;
    font-size: 80px;
  }
  .normal-section {
    width: min(100% - 40px, 720px);
    padding: 72px 0;
  }

  .section-title-area {
    text-align: center;
  }

  .section-title h2 {
    font-size: 42px;
  }

  .service-row,
  .service-row--reverse {
    display: block;
  }
  .service-row {
    margin-bottom: 76px;
  }
  .service-row-text {
    margin-bottom: 30px;
  }
  .service-row--reverse .service-row-text,
  .service-row--reverse .service-row-image {
    order: initial;
  }
  .form-grid label {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .partner-banner {
    width: min(100%, 720px);
    margin: 0 auto;
  }

  .partner-banner::before {
    left: 22px;
    top: 30px;
    font-size: 50px;
  }
  .partner-banner::after {
    height: 54px;
  }
  .partner-banner-label {
    right: 18px;
    bottom: 12px;
    font-size: 22px;
  }
  .partner-banner img {
    height: 400px;
    object-position: left center;
    transform: scale(1.2);
  }

  .sub-hero {
    height: 360px;
  }
  .sub-hero div {
    left: 36px;
    top: 170px;
  }
  .sub-hero h1 {
    font-size: 42px;
  }

  .sub-hero h1::after {
    width: 60px;
  }

  .outline-table th,
  .outline-table td {
    padding: 20px 15px;
  }

  .outline-table th {
    width: 180px;
  }
}

@media (max-width: 600px) {
  /* =============
 * ヒーローイメージ
  ============= */
  .hero-area .vertical-word {
    left: 2px;
    font-size: 90px;
    bottom: 150px;
    top: auto;
  }

  .hero-area .large-word {
    left: 15px;
    font-size: 90px;
  }

  .service-row-text p {
    font-size: 0.9rem;
  }

  .outline-table th,
  .outline-table td {
    display: block;
    width: 100%;
    padding: 18px 0;
  }

  .outline-table td .center {
    text-align: center;
  }

  .outline-table ol {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 370px) {
  .hero-area .vertical-word {
    font-size: 80px;
    bottom: 133px;
  }

  .hero-area .large-word {
    font-size: 80px;
  }

  .service-row-text h3 {
    font-size: 28px;
  }
}
