@charset "utf-8";

/* ===== 変数 (CSS Custom Properties) ===== */
:root {
  /* Typography */
  --font-family: "Noto Sans JP", sans-serif;

  /* Color Palette */
  --color-black: #021725;
  --color-white: #ffffff;
  --color-primary: #009080;
  --color-btn: #08f2ba;
  --color-gray-10: #f2f3f4;
  --color-gray-30: #c8c8c8;
  --color-gray-60: #97a3a1;

  /* Radius */
  --radius-l: 20px;
  --radius-m: 10px;

  /* Layout */
  --max-width: 1040px;

  /* Break Point PC: 1100px ~ TB: 600px ~ 1099px SP: 0 ~ 599px 明示のため定義*/
  --window_pc_min: 1100px;
  --window_tb_max: 1099px;
  --window_tb_min: 600px;
  --window_sp_max: 599px;
}

/* ---------- animation ---------- */
.js-ctf-parallaxObj {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.7s, transform 0.7s;

  &.is-already {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---------- common btn is-aquaからcolor、width変更 ---------- */
.ctf-btn {
  align-items: center;
  background: var(--color-btn);
  border-radius: 50px;
  color: var(--color-black);
  display: flex;
  font-size: 16px;
  height: 60px;
  justify-content: center;
  margin: 40px auto 0;
  max-width: 100%;
  position: relative;
  transition: border-color 0.3s, color 0.3s;
  width: 280px;
}
.ctf-btn:focus,
.ctf-btn:hover {
  opacity: 0.8;
  text-decoration: underline;
}
.ctf-btn .icon-blank {
  line-height: 1;
  margin: 0;
  margin-top: -10px;
  position: absolute;
  right: 28px;
  top: 50%;
}

/* ---------- Main ---------- */
.ctf {
  font-family: var(--font-family);
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-size: 16px;
  line-height: 1.5;
}
.ctfMain {
  max-width: var(--max-width);
  margin: 0 auto;
  text-align: center;
  padding: 108px 0 56px;
}

.ctfMain__title {
  position: relative;
  padding-bottom: 40px;
}
.ctfMain__title::before {
  position: absolute;
  width: 100%;
  height: 2px;
  content: "";
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    var(--color-primary) 50%,
    rgba(255, 255, 255, 0) 100%
  );
}

.ctfMain__lead {
  font-size: 20px;
  font-weight: bold;
  max-width: 840px;
  margin: 40px auto 64px;
}

.ctfMain__badges {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-bottom: 48px;
}

.ctfMain__badges li img {
  width: auto;
  height: 96px;
}

.ctfMain__notes li {
  font-size: 12px;
  display: inline-flex;
  color: var(--color-gray-60);
  margin-right: 12px;
}

/* ---------- Sections ---------- */
.ctf__sec--bg {
  background: var(--color-gray-10);
}
.ctf__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 100px 0;
}

.ctf__inner p {
  font-size: 16px;
  color: var(--color-black);
}

.ctf__inner p + p {
  margin-top: 20px;
}

.ctf__title {
  font-size: 48px;
  font-weight: bold;
  color: var(--color-primary);
  margin-bottom: 40px;
}

.ctf__titleEn {
  display: block;
  font-size: 14px;
  color: var(--color-black);
  margin-bottom: 20px;
}

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

.ctf__subTitle {
  font-size: 20px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 40px;
}

.ctf__subTitle--sm {
  font-size: 16px;
}

.ctf__lead {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 40px;
}

/* ---------- About ---------- */
.ctfAbout {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 40px;
  align-items: center;
}

/* ---------- Record ---------- */
.ctfRecord {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.ctfRecordTable {
  width: 100%;
  max-width: 880px;
  border-collapse: collapse;
}

.ctfRecordTable tr {
  vertical-align: baseline;
}
.ctfRecordTable td {
  padding: 20px 16px;
  border-top: 1px solid var(--color-gray-30);
  text-align: left;
}
.ctfRecordTable tr td:nth-child(1),
.ctfRecordTable tr td:nth-child(2) {
  width: 120px;
}
.ctfRecordTable tr td:nth-child(2) {
  font-size: 18px;
  font-weight: bold;
  color: var(--color-primary);
}

/* ---------- Join ---------- */
.ctfJoin__content {
  display: grid;
  grid-template-columns: 1fr 440px;
  gap: 40px;
  align-items: center;
}

.ctfJoin__content p span {
  display: block;
}

.ctfJoin__benefits {
  padding-top: 100px;
  margin-top: 100px;
  border-top: 1px solid var(--color-gray-30);
}

.ctfJoin__list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.ctfJoin__list li {
  display: grid;
  align-items: center;
  font-size: 18px;
  font-weight: bold;
  color: var(--color-primary);
  background: var(--color-white);
  border-radius: var(--radius-m);
  padding: 20px;
  text-align: center;
}

.ctfJoin__list li span {
  display: block;
}

/* ---------- Recruit ---------- */
.ctfRecruit {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.ctfRecruit__links {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.ctfRecruit__links li {
  border: 1px solid var(--color-gray-30);
  padding: 40px;
  border-radius: var(--radius-l);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.ctfRecruit__links li img {
  margin-bottom: 40px;
}
.ctfRecruit__links li a {
  margin-top: auto;
}
/* ===== tb style ===== */
@media (min-width: 600px) and (max-width: 1099px) {
  /* ---------- Main ---------- */
  .ctfMain {
    padding: 108px 15px 56px;
  }
  /* ---------- Sections ---------- */
  .ctf__inner {
    padding: 100px 15px;
  }
  /* ---------- About ---------- */
  .ctfAbout {
    grid-template-columns: 250px 1fr;
    gap: 20px;
  }
  /* ---------- Join ---------- */
  .ctfJoin__content {
    grid-template-columns: 1fr 250px;
    gap: 20px;
  }
  .ctfJoin__content p span {
    display: inline;
  }
  .ctfJoin__list li span {
    display: contents;
  }
}

/* ===== sp style ===== */
@media (max-width: 599px) {
  /* ---------- Main ---------- */
  .ctfMain {
    padding: 100px 0 24px;
  }
  .ctfMain__title {
    padding-bottom: 20px;
  }
  .ctfMain__title::before {
    width: 90%;
  }
  .ctfMain__lead {
    font-size: 14px;
    margin: 20px auto;
  }
  .ctfMain__lead span {
    display: block;
  }
  .ctfMain__badges {
    flex-direction: column;
    gap: 0;
    width: 200px;
    margin: 0 auto;
  }
  .ctfMain__notes {
    margin-top: 12px;
  }
  .ctfMain__notes li {
    font-size: 12px;
    display: block;
    margin-right: 0;
    text-align: left;
    padding: 0 15px;
  }
  /* ---------- Sections ---------- */
  .ctf__inner {
    padding: 100px 15px 60px;
  }
  .ctf__title {
    font-size: 42px;
  }

  /* ---------- About ---------- */
  .ctfAbout {
    position: relative;
    display: grid;
    grid-template-columns: inherit;
  }
  .ctfAbout__img {
    position: absolute;
    top: -60px;
    right: 0;
    width: 128px;
  }

  /* ---------- Record ---------- */
  .ctfRecordTable td {
    padding: 20px 0 20px 10px;
  }
  .ctfRecordTable tr td:nth-child(1) {
    width: 68px;
  }
  .ctfRecordTable tr td:nth-child(2) {
    width: 84px;
    font-size: 18px;
    font-weight: bold;
    color: var(--color-primary);
  }

  /* ---------- Join ---------- */
  .ctfJoin__content {
    display: grid;
    grid-template-columns: inherit;
    gap: 40px;
    align-items: center;
  }
  .ctfJoin__content p span {
    display: inline;
  }
  .ctfJoin__benefits {
    padding-top: 40px;
    margin-top: 40px;
  }
  .ctfJoin__list {
    display: flex;
    flex-direction: column;
  }
  .ctfJoin__list li span {
    display: contents;
  }
  /* ---------- Recruit ---------- */
  .ctfRecruit__links {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
}
