/*
 * foundation
 */
/***
    The new CSS reset - version 1.11.3 (last updated 25.08.2024)
    GitHub page: https://github.com/elad2412/the-new-css-reset
***/
/*
    Remove all the styles of the "User-Agent-Stylesheet", except for the 'display' property
    - The "symbol *" part is to solve Firefox SVG sprite bug
    - The "html" element is excluded, otherwise a bug in Chrome breaks the CSS hyphens property (https://github.com/elad2412/the-new-css-reset/issues/36)
 */
*:where(:not(html, iframe, canvas, img, svg, video, audio):not(svg *, symbol *)) {
  all: unset;
  display: revert;
}

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

/* Fix mobile Safari increase font-size on landscape mode */
html {
  -moz-text-size-adjust: none;
  -webkit-text-size-adjust: none;
  text-size-adjust: none;
}

/* Reapply the pointer cursor for anchor tags */
a, button {
  cursor: revert;
}

/* Remove list styles (bullets/numbers) */
ol, ul, menu, summary {
  list-style: none;
}

/* Firefox: solve issue where nested ordered lists continue numbering from parent (https://bugzilla.mozilla.org/show_bug.cgi?id=1881517) */
ol {
  counter-reset: revert;
}

/* For images to not be able to exceed their container */
img {
  max-inline-size: 100%;
  max-block-size: 100%;
}

/* removes spacing between cells in tables */
table {
  border-collapse: collapse;
}

/* Safari - solving issue when using user-select:none on the <body> text input doesn't working */
input, textarea {
  -webkit-user-select: auto;
}

/* revert the 'white-space' property for textarea elements on Safari */
textarea {
  white-space: revert;
}

/* minimum style to allow to style meter element */
meter {
  -webkit-appearance: revert;
  appearance: revert;
}

/* preformatted text - use only for this feature */
:where(pre) {
  all: revert;
  box-sizing: border-box;
}

/* reset default text opacity of input placeholder */
::placeholder {
  color: unset;
}

/* fix the feature of 'hidden' attribute.
   display:revert; revert to element instead of attribute */
:where([hidden]) {
  display: none;
}

/* revert for bug in Chromium browsers
   - fix for the content editable attribute will work properly.
   - webkit-user-select: auto; added for Safari in case of using user-select:none on wrapper element*/
:where([contenteditable]:not([contenteditable=false])) {
  -moz-user-modify: read-write;
  -webkit-user-modify: read-write;
  overflow-wrap: break-word;
  -webkit-line-break: after-white-space;
  -webkit-user-select: auto;
}

/* apply back the draggable feature - exist only in Chromium and Safari */
:where([draggable=true]) {
  -webkit-user-drag: element;
}

/* Revert Modal native behavior */
:where(dialog:modal) {
  all: revert;
  box-sizing: border-box;
}

/* Remove details summary webkit styles */
::-webkit-details-marker {
  display: none;
}

:root {
  --c-text-main: #333;
  --header-height: 64px;
  --content-width: 1600px;
  --content-padding: 5%;
}

@media screen and (min-width: 1024px) {
  :root {
    --content-padding: 6.5%;
  }
}
html {
  font-size: 62.5%;
}

@font-face {
  font-family: "NotoSansJP";
  font-style: normal;
  font-weight: 400;
  src: url("./font/NotoSansJP-Regular.woff2") format("woff2");
}
@font-face {
  font-family: "NotoSansJP";
  font-style: bold;
  font-weight: 600;
  src: url("./font/NotoSansJP-Bold.woff2") format("woff2");
}
body {
  color: var(--c-text-main);
  font-family: "NotoSansJP", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  letter-spacing: 0.1em;
}

/*
 * Layout
 */
.l-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  padding-inline: var(--content-padding);
}
.l-header__content {
  display: flex;
  justify-content: space-between;
  width: 100%;
  max-width: var(--content-width);
  margin-inline: auto;
}
.l-header__menu {
  display: none;
}
.l-header__menu-button {
  width: var(--header-height);
  height: var(--header-height);
}

#header-toggle {
  display: none;
}

#header-toggle:checked ~ .l-header__menu {
  display: block;
}

@media screen and (min-width: 1024px) {
  .l-header__menu {
    display: block;
  }
  .l-header__menu-list {
    display: flex;
  }
  .l-header__menu-item {
    font-size: 1.6rem;
  }
  .l-header__menu-button {
    display: none;
  }
}
.l-container {
  padding-inline: var(--content-padding);
  margin-top: 104px;
}

.l-content {
  max-width: var(--content-width);
  margin-inline: auto;
}

@media screen and (min-width: 1024px) {
  .l-container {
    margin-top: 152px;
  }
}
/* 
 *Object
 */
.c-works-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 72px 6.5%;
}

@media screen and (min-width: 1024px) {
  .c-works-list {
    grid-template-columns: repeat(3, 1fr);
    gap: 88px 8%;
  }
}
.c-card__title {
  font-weight: 600;
}

.p-main-visual {
  height: 100svh;
}
.p-main-visual__bg {
  --grad1: linear-gradient(180deg, rgba(185, 216, 223, 1), rgba(212, 225, 224, 1) 50%, rgba(227, 199, 177, 1) 70%, rgba(201, 193, 190, 1));
  --grad2: linear-gradient(180deg, rgba(184, 177, 194, 1), rgba(178, 166, 203, 1) 50%, rgba(148, 163, 210, 1) 70%, rgba(167, 208, 228, 1));
  --grad3: linear-gradient(180deg, rgba(166, 210, 230, 1), rgba(160, 178, 208, 1) 60%, rgba(129, 150, 191, 1) 80%, rgba(64, 120, 172, 1));
  height: 100%;
  background-image: var(--grad1);
  animation: grad 10s infinite;
}

@keyframes grad {
  0% {
    background: var(--grad1);
  }
  50% {
    background: var(--grad2);
  }
  100% {
    background: var(--grad3);
  }
}

/*# sourceMappingURL=style.css.map */
