/* ================= common.css ======================

1.customproperty
2.reset
3.base

========================================================= */
/* =========================================================

1. customproperty

========================================================= */
:root {
  --border-radius: 0.6rem;
  /* border-radius */
  --border-radius-sm: 0.4rem;
  --border-radius-lg: 1.2rem;
  /* color */
  --color-dark: #111;
  --color-white: #fff;
  --color-red: #e60012;
  --color-red-hover: #b8121f;
  --color-light-red: #db1827;
  --color-light-red-hover: #b11c28;
  --color-dark-red: #933940;
  --color-dark-red-hover: #661d23;
  --color-dark-red: #933940;
  --color-dark-red-hover: #661d23;
  --color-dark-blue: #356;
  --color-dark-blue-hover: #1e3b49;
  /* color-course */
  --color-course: var(--color-dark);
  --color-course-pink: #ff1361;
  --color-course-pink-dark: #ff1361;
  --color-course-orange: #ff7a00;
  --color-course-orange-dark: #ff7a00;
  --color-course-purple: #ba5ad3;
  --color-course-purple-dark: #ba5ad3;
  --color-course-green: #00934e;
  --color-course-green-dark: #00934e;
  --color-course-blue: #1a4a8f;
  --color-course-blue-dark: #1a4a8f;
  /* color-tag */
  --color-tag-pink: #e01c6e;
  --color-tag-green: #25ba00;
  /* color-font */
  --color-font-dark: var(--color-dark);
  --color-font-white: var(--color-white);
  /* color-bg */
  --color-bg-dark-blue: #34424a;
  --color-bg-gray: #efefef;
  --color-bg-white: var(--color-white);
  /* color-border */
  --color-border-gray: rgba(0, 0, 0, 0.12);
  --color-border-dark-gray: rgba(0, 0, 0, 0.25);
  --color-border-white: rgba(255, 255, 255, 1);
  --color-border-white-light: rgba(255, 255, 255, 0.3);
  /* color-link */
  --color-link: var(--color-dark);
  --color-link-hover: var(--color-dark);
  /* color-sns */
  --color-line: #01B638;
  --color-youtube: #f00;
  --color-x: #000;
  --color-instagram: #ea3373;
  --color-facebook: #5aa8df;
  /* font-size */
  --font-size-body-xl: 1.6rem;
  --font-size-body-lg: 1.5rem;
  --font-size-body-md: 1.6rem;
  --font-size-body-sm: 1.4rem;
  --font-size-body-xs: 1.3rem;
  --font-size-body-2xs: 1.2rem;
  --font-size-body-3xs: 1.1rem;
  --font-size-heading-2xl: 4.4rem;
  --font-size-heading-xl: 4rem;
  --font-size-heading-lg: 3.2rem;
  --font-size-heading-md: 2.4rem;
  --font-size-heading-sm: 2rem;
  --font-size-heading-xs: 1.8rem;
  --font-size-heading-2xs: 1.6rem;
  --font-size-heading-3xs: 1.4rem;
  --font-size-heading-4xs: 1.2rem;
  /* font-weight */
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  /* line-height */
  --line-height-body: 1.8;
  --line-height-body-sm: 1.6;
  --line-height-heading: 1.5;
  --line-height-copy: 1.5;
  --line-height-heading-eng: 1.2;
  /* letter-spacing */
  --letter-spacing-body: 0.1em;
  --letter-spacing-heading: 0.1em;
  --letter-spacing-heading-en: 0.06em;
  --letter-spacing-copy: 0.1em;
  --letter-spacing-xxl: 0.2em;
  --letter-spacing-xl: 0.15em;
  --letter-spacing-l: 0.12em;
  --letter-spacing-m: 0.1em;
  --letter-spacing-s: 0.05em;
  --letter-spacing-xs: 0.02em;
  --letter-spacing-no: 0;
  /* font-family */
  --font-family-sans: "Noto Sans JP", hiragino-kaku-gothic-pron, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", yugothic, meiryo,
    sans-serif;
  --font-family-eng: "Barlow Condensed", sans-serif;
  /* site-padding */
  --site-padding: 6rem;
  /* space */
  --space-section: 10rem;
  --space-section-bottom: 12rem;
  /* header-height */
  --header-height: 10rem;
  --header-height-sm: 8rem;
  /* kv-footer-height */
  --kv-footer-height: 7rem;
  --duration--base: 0.3s;
  --duration--button: --duration--base;
  --duration--link: --duration--base;
  --duration--fade: --duration--base;
  /* width */
  --width--contents: 112rem;
}
:root.is-scrolled {
  --header-height: 8rem;
}
:root [data-course=equipment] {
  --color-course: var(--color-red);
}
:root [data-course=game] {
  --color-course: var(--color-course-pink);
  --color-course-2: var(--color-course-pink-dark);
}
:root [data-course=illust] {
  --color-course: var(--color-course-orange);
  --color-course-2: var(--color-course-orange-dark);
}
:root [data-course=cg] {
  --color-course: var(--color-course-purple);
  --color-course-2: var(--color-course-purple-dark);
}
:root [data-course=e-sports] {
  --color-course: var(--color-course-green);
  --color-course-2: var(--color-course-green-dark);
}
:root [data-course=ai] {
  --color-course: var(--color-course-blue);
  --color-course-2: var(--color-course-blue-dark);
}
:root [data-tag-color=pink] {
  --color-tag: var(--color-tag-pink);
}
:root [data-tag-color=green] {
  --color-tag: var(--color-tag-green);
}
@media (max-width: 1024px) {
  :root {
    /* font-size */
    --font-size-heading-2xl: 4rem;
    --font-size-heading-xl: 3.6rem;
    --font-size-heading-lg: 2.8rem;
    --font-size-heading-md: 2.2rem;
    --font-size-heading-sm: 1.8rem;
    --font-size-heading-xs: 1.6rem;
    --font-size-heading-2xs: 1.5rem;
    --font-size-heading-3xs: 1.4rem;
    --font-size-heading-4xs: 1.2rem;
    /* space */
    --space-section-lg: 14rem;
    --space-section-md: 12rem;
    --space-section-sm: 8rem;
    /* site-padding */
    --site-padding: 2.4rem;
    /* space */
    --space-section: 8rem;
    --space-section-bottom: 10rem;
    /* header-height */
    --header-height: 8rem;
  }
  :root.is-scrolled {
    --header-height: 8rem;
  }
}
@media (max-width: 767px) {
  :root {
    --font-size-body-xl: 1.6rem;
    --font-size-body-lg: 1.5rem;
    --font-size-body-md: 1.4rem;
    --font-size-body-sm: 1.3rem;
    --font-size-body-xs: 1.2rem;
    --font-size-body-2xs: 1.1rem;
    --font-size-body-3xs: 1rem;
    /* font-size */
    --font-size-heading-2xl: 3.2rem;
    --font-size-heading-xl: 2.8rem;
    --font-size-heading-lg: 2.4rem;
    --font-size-heading-md: 1.9rem;
    --font-size-heading-sm: 1.7rem;
    --font-size-heading-xs: 1.5rem;
    --font-size-heading-2xs: 1.4rem;
    --font-size-heading-3xs: 1.3rem;
    --font-size-heading-4xs: 1.1rem;
    /* site-padding */
    --site-padding: min(2.6666666667vw, 1rem);
    /* space */
    --space-section: 6rem;
    --space-section-bottom: 6rem;
    /* space */
    --space-section-lg: 10rem;
    --space-section-md: 8rem;
    --space-section-sm: 6rem;
    /* header-height */
    --header-height: 6rem;
    /* kv-footer-height */
    --kv-footer-height: 5rem;
  }
  :root.is-scrolled {
    --header-height: 6rem;
  }
}

/* =========================================================

2. reset

========================================================= */
/*! destyle.css v4.0.0 | MIT License | https://github.com/nicolas-cusan/destyle.css */
/* Reset box-model and set borders */
/* ============================================ */
*,
::before,
::after {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  border-style: solid;
  border-width: 0;
}

/* Document */
/* ============================================ */
/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 * 3. Remove gray overlay on links for iOS.
 */
html {
  line-height: 1.15; /* 1 */
  -webkit-text-size-adjust: 100%;
     -moz-text-size-adjust: 100%;
      -ms-text-size-adjust: 100%;
          text-size-adjust: 100%; /* 2 */
  -webkit-tap-highlight-color: transparent; /* 3 */
}

/* Sections */
/* ============================================ */
/**
 * Remove the margin in all browsers.
 */
body {
  margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
  display: block;
}

/* Vertical rhythm */
/* ============================================ */
p,
table,
blockquote,
address,
pre,
iframe,
form,
figure,
dl {
  margin: 0;
}

/* Headings */
/* ============================================ */
h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  font-size: inherit;
  font-weight: inherit;
}

/* Lists (enumeration) */
/* ============================================ */
ul,
ol {
  padding: 0;
  margin: 0;
  list-style: none;
}

/* Lists (definition) */
/* ============================================ */
dt {
  font-weight: bold;
}

dd {
  margin-left: 0;
}

/* Grouping content */
/* ============================================ */
/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
  -webkit-box-sizing: content-box;
          box-sizing: content-box; /* 1 */
  height: 0; /* 1 */
  margin: 0;
  overflow: visible; /* 2 */
  clear: both;
  color: inherit;
  border-top-width: 1px;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
  font-family: monospace, monospace; /* 1 */
  font-size: inherit; /* 2 */
}

address {
  font-style: inherit;
}

/* Text-level semantics */
/* ============================================ */
/**
 * Remove the gray background on active links in IE 10.
 */
a {
  color: inherit;
  text-decoration: none;
  background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
  -webkit-text-decoration: underline dotted;
          text-decoration: underline dotted; /* 2 */
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
  font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
  font-family: monospace, monospace; /* 1 */
  font-size: inherit; /* 2 */
}

/**
 * Add the correct font size in all browsers.
 */
small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
  position: relative;
  font-size: 75%;
  line-height: 0;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Replaced content */
/* ============================================ */
/**
 * Prevent vertical alignment issues.
 */
svg,
img,
embed,
object,
iframe {
  vertical-align: bottom;
}

/* Forms */
/* ============================================ */
/**
 * Reset form fields to make them styleable.
 * 1. Make form elements stylable across systems iOS especially.
 * 2. Inherit text-transform from parent.
 */
button,
input,
optgroup,
select,
textarea {
  padding: 0;
  margin: 0;
  font: inherit;
  color: inherit;
  text-align: inherit;
  text-transform: inherit; /* 2 */
  vertical-align: middle; /* 1 */
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  background: transparent;
  border-radius: 0;
}

/**
 * Correct cursors for clickable elements.
 */
button,
[type=button],
[type=reset],
[type=submit] {
  cursor: pointer;
}

button:disabled,
[type=button]:disabled,
[type=reset]:disabled,
[type=submit]:disabled {
  cursor: default;
}

/**
 * Improve outlines for Firefox and unify style with input elements & buttons.
 */
:-moz-focusring {
  outline: auto;
}

select:disabled {
  opacity: inherit;
}

/**
 * Remove padding
 */
option {
  padding: 0;
}

/**
 * Reset to invisible
 */
fieldset {
  min-width: 0;
  padding: 0;
  margin: 0;
}

legend {
  padding: 0;
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
  vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
  overflow: auto;
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type=number]::-webkit-inner-spin-button,
[type=number]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * Correct the outline style in Safari.
 */
[type=search] {
  outline-offset: -2px; /* 1 */
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type=search]::-webkit-search-decoration {
  -webkit-appearance: none;
          appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Fix font inheritance.
 */
::-webkit-file-upload-button {
  font: inherit; /* 2 */
  -webkit-appearance: button;
          appearance: button; /* 1 */
}

/**
 * Fix appearance for Firefox
 */
[type=number] {
  -webkit-appearance: textfield;
     -moz-appearance: textfield;
          appearance: textfield;
}

/**
 * Clickable labels
 */
label[for] {
  cursor: pointer;
}

/* Interactive */
/* ============================================ */
/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
  display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
  display: list-item;
}

/*
 * Remove outline for editable content.
 */
[contenteditable]:focus {
  outline: auto;
}

/* Tables */
/* ============================================ */
/**
1. Correct table border color inheritance in all Chrome and Safari.
*/
table {
  border-collapse: collapse;
  border-color: inherit; /* 1 */
}

caption {
  text-align: left;
}

td,
th {
  padding: 0;
  vertical-align: top;
}

th {
  font-weight: bold;
  text-align: left;
}

/* =========================================================

3. base

========================================================= */
html {
  font-size: clamp(8px, 0.6944444444vw, 11px);
  /*font-size: clamp(10px, 0.6944444444vw, 12px);*/
}
html.is-modal-show {
  overflow: hidden;
}
@media (max-width: 1024px) {
  html {
    font-size: 10px;
  }
}
@media (max-width: 767px) {
  html {
    font-size: 10px;
  }
}

body {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  overflow-x: hidden;
  font-family: var(--font-family-sans);
  font-weight: 400;
  -webkit-font-feature-settings: "palt";
          font-feature-settings: "palt";
  -webkit-font-kerning: normal;
          font-kerning: normal;
  line-height: 1;
  color: var(--color-font-dark);
  word-wrap: break-word;
  white-space: normal;
  vertical-align: baseline;
  background-color: var(--color-bg-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.is-unscroll body {
  overflow: hidden;
}
.has-scroll-smooth body {
  height: 100%;
  overflow: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
}

a {
  color: var(--color-link);
  -webkit-transition: opacity var(-duration--link) ease;
  transition: opacity var(-duration--link) ease;
  -webkit-tap-highlight-color: transparent;
}
a:hover {
  color: var(--color-link-hover);
  text-decoration: none;
}
a:focus {
  text-decoration: none;
}
@media (max-width: 1024px) {
  a {
    -webkit-transition: none;
    transition: none;
  }
}

a,
a:focus,
a:active,
a:hover,
a:visited,
:focus,
:active,
:hover,
:visited {
  text-decoration: none;
  outline: none !important;
}

blockquote {
  margin: 0;
}

button,
html input[type=button],
input[type=reset],
input[type=submit] {
  -webkit-appearance: button;
     -moz-appearance: button;
          appearance: button;
  cursor: pointer;
}

button[disabled],
html input[disabled] {
  cursor: default;
}

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