@charset "UTF-8";@layer foundations, layouts, components, utilities;/* foundations */@layer foundations{

/* メディアクエリで使用するブレイクポイント
   ========================================================================== */

/* hover動作が使えるPC */

/* hoverができない端末（スマホ、タブレット） */

/* ダークモード */
}@layer foundations{

/*! sanitize.css v13.0.0 | CC0 License | github.com/csstools/sanitize.css */

/* Document
 * ========================================================================== */

/**
 * 1. Add border box sizing in all browsers (opinionated).
 * 2. Backgrounds do not repeat by default (opinionated).
 */

 *,
 ::before,
 ::after {
   box-sizing: border-box; /* 1 */
   background-repeat: no-repeat; /* 2 */
 }
 
 /**
  * 1. Add text decoration inheritance in all browsers (opinionated).
  * 2. Add vertical alignment inheritance in all browsers (opinionated).
  */
 
 ::before,
 ::after {
   text-decoration: inherit; /* 1 */
   vertical-align: inherit; /* 2 */
 }
 
 /**
  * 1. Use the default cursor in all browsers (opinionated).
  * 2. Change the line height in all browsers (opinionated).
  * 3. Breaks words to prevent overflow in all browsers (opinionated).
  * 4. Use a 4-space tab width in all browsers (opinionated).
  * 5. Remove the grey highlight on links in iOS (opinionated).
  * 6. Prevent adjustments of font size after orientation changes in iOS.
  */
 
 :where(:root) {
   cursor: default; /* 1 */
   line-height: 1.5; /* 2 */
   overflow-wrap: break-word; /* 3 */
   -moz-tab-size: 4; /* 4 */
   -o-tab-size: 4;
      tab-size: 4; /* 4 */
   -webkit-tap-highlight-color: transparent; /* 5 */
   -webkit-text-size-adjust: 100%; /* 6 */
   -moz-text-size-adjust: 100%;
        text-size-adjust: 100%; /* 6 */
 }
 
 /* Sections
  * ========================================================================== */
 
 /**
  * Remove the margin in all browsers (opinionated).
  */
 
 :where(body) {
   margin: 0;
 }
 
 /**
  * Correct the font size and margin on `h1` elements within `section` and
  * `article` contexts in Chrome, Edge, Firefox, and Safari.
  */
 
 :where(h1) {
   font-size: 2em;
   margin: 0.67em 0;
 }
 
 /* Grouping content
  * ========================================================================== */
 
 /**
  * Remove the margin on nested lists in Chrome, Edge, and Safari.
  */
 
 :where(dl, ol, ul) :where(dl, ol, ul) {
   margin: 0;
 }
 
 /**
  * 1. Correct the inheritance of border color in Firefox.
  * 2. Add the correct box sizing in Firefox.
  */
 
 :where(hr) {
   color: inherit; /* 1 */
   height: 0; /* 2 */
 }
 
 /**
  * Remove the list style on navigation lists in all browsers (opinionated).
  */
 
 :where(nav) :where(ol, ul) {
   list-style-type: none;
   padding: 0;
 }
 
 /**
  * Prevent VoiceOver from ignoring list semantics in Safari (opinionated).
  */
 /* 不要なためコメントアウト
 :where(nav li)::before {
   content: "\200B";
   float: left;
 }
 */
 
 /**
  * 1. Correct the inheritance and scaling of font size in all browsers.
  * 2. Correct the odd `em` font sizing in all browsers.
  * 3. Prevent overflow of the container in all browsers (opinionated).
  */
 
 :where(pre) {
   font-family: monospace, monospace; /* 1 */
   font-size: 1em; /* 2 */
   overflow: auto; /* 3 */
 }
 
 /* Text-level semantics
  * ========================================================================== */
 
 /**
  * Add the correct text decoration in Safari.
  */
 
 :where(abbr[title]) {
   text-decoration: underline;
   -webkit-text-decoration: underline dotted;
           text-decoration: underline dotted;
 }
 
 /**
  * Add the correct font weight in Chrome, Edge, and Safari.
  */
 
 :where(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.
  */
 
 :where(code, kbd, samp) {
   font-family: monospace, monospace; /* 1 */
   font-size: 1em; /* 2 */
 }
 
 /**
  * Add the correct font size in all browsers.
  */
 
 :where(small) {
   font-size: 80%;
 }
 
 /* Embedded content
  * ========================================================================== */
 
 /*
  * Change the alignment on media elements in all browsers (opinionated).
  */
 
 :where(audio, canvas, iframe, img, svg, video) {
   vertical-align: middle;
 }
 
 /**
  * Remove the border on iframes in all browsers (opinionated).
  */
 
 :where(iframe) {
   border-style: none;
 }
 
 /**
  * Change the fill color to match the text color in all browsers (opinionated).
  */
 
 :where(svg:not([fill])) {
   fill: currentColor;
 }
 
 /* Tabular data
  * ========================================================================== */
 
 /**
  * 1. Collapse border spacing in all browsers (opinionated).
  * 2. Correct table border color in Chrome, Edge, and Safari.
  * 3. Remove text indentation from table contents in Chrome, Edge, and Safari.
  */
 
 :where(table) {
   border-collapse: collapse; /* 1 */
   border-color: currentColor; /* 2 */
   text-indent: 0; /* 3 */
 }
 
 /* Forms
  * ========================================================================== */
 
 /**
  * Remove the margin on controls in Safari.
  */
 
 :where(button, input, select) {
   margin: 0;
 }
 
 /**
  * Correct the inability to style buttons in iOS and Safari.
  */
 
 :where(button, [type="button" i], [type="reset" i], [type="submit" i]) {
   -webkit-appearance: button;
 }
 
 /**
  * Change the inconsistent appearance in all browsers (opinionated).
  */
 
 :where(fieldset) {
   border: 1px solid #a0a0a0;
 }
 
 /**
  * Add the correct vertical alignment in Chrome, Edge, and Firefox.
  */
 
 :where(progress) {
   vertical-align: baseline;
 }
 
 /**
  * 1. Remove the margin in Firefox and Safari.
  * 3. Change the resize direction in all browsers (opinionated).
  */
 
 :where(textarea) {
   margin: 0; /* 1 */
   resize: vertical; /* 3 */
 }
 
 /**
  * 1. Correct the odd appearance in Chrome, Edge, and Safari.
  * 2. Correct the outline style in Safari.
  */
 
 :where([type="search" i]) {
   -webkit-appearance: textfield; /* 1 */
   outline-offset: -2px; /* 2 */
 }
 
 /**
  * Correct the cursor style of increment and decrement buttons in Safari.
  */
 
 ::-webkit-inner-spin-button,
 ::-webkit-outer-spin-button {
   height: auto;
 }
 
 /**
  * Correct the text style of placeholders in Chrome, Edge, and Safari.
  */
 
 ::-webkit-input-placeholder {
   color: inherit;
   opacity: 0.54;
 }
 
 /**
  * Remove the inner padding in Chrome, Edge, and Safari on macOS.
  */
 
 ::-webkit-search-decoration {
   -webkit-appearance: none;
 }
 
 /**
  * 1. Correct the inability to style upload buttons in iOS and Safari.
  * 2. Change font properties to `inherit` in Safari.
  */
 
 ::-webkit-file-upload-button {
   -webkit-appearance: button; /* 1 */
   font: inherit; /* 2 */
 }
 
 /* Interactive
  * ========================================================================== */
 
 /*
  * Add the correct styles in Safari.
  */
 
 :where(dialog) {
   background-color: white;
   border: solid;
   color: black;
   height: -moz-fit-content;
   height: fit-content;
   left: 0;
   margin: auto;
   padding: 1em;
   position: absolute;
   right: 0;
   width: -moz-fit-content;
   width: fit-content;
 }
 
 :where(dialog:not([open])) {
   display: none;
 }
 
 /*
  * Add the correct display in Safari.
  */
 
 :where(details > summary:first-of-type) {
   display: list-item;
 }
 
 /* Accessibility
  * ========================================================================== */
 
 /**
  * Change the cursor on busy elements in all browsers (opinionated).
  */
 
 :where([aria-busy="true" i]) {
   cursor: progress;
 }
 
 /*
  * Change the cursor on disabled, not-editable, or otherwise
  * inoperable elements in all browsers (opinionated).
  */
 
 :where([aria-disabled="true" i], [disabled]) {
   cursor: not-allowed;
 }
 
 /*
  * Change the display on visually hidden accessible elements
  * in all browsers (opinionated).
  */
 
 :where([aria-hidden="false" i][hidden]) {
   display: initial;
 }
 
 :where([aria-hidden="false" i][hidden]:not(:focus)) {
   clip: rect(0, 0, 0, 0);
   position: absolute;
 }
}@layer foundations{

/* リセットCSSに付け加える用のベーススタイル
   ========================================================================== */

* {
  /* flexboxのオーバーフローを防ぐ用 */
  min-inline-size: 0;
}

html {
  cursor: auto;
  scroll-behavior: smooth;
  scroll-padding-top: 60px;
  overflow-wrap: anywhere;
  word-break: auto-phrase; /* 文節での改行。Chrome、Edgeのみ。 */
}

body {
  font-family: var(--font-gothic);
  color: var(--color-black-rgb);
  font-size: 1rem;
  letter-spacing: 0.05em;

  /* 【注意】：antialiased を設定するとスッキリとした見た目にはなるものの、文字の印象が弱めになり、背景色とのコントラスト等により見難くなる場合がある。 */
  /*
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: antialiased;
  font-smoothing: antialiased;
  */

  /* プロポーショナルメトリクスを有効にする指定(日本語フォントの自動カーニング) 
  ※ Safariはpaltが効かないかもしれない */
  font-feature-settings: "palt" 1;
}

p {
  line-height: 1.8;
}

a {
  &[target="_blank"] > svg {
    vertical-align: baseline;
    margin-inline-start: 0.2rem;
    width: 0.8em;
  }
}
}@layer foundations{
*[inert] {
  filter: blur(4px);
}
}@layer foundations{

/* 定数
   ========================================================================== */

:root {
  /* Font Weight */
  --font-thin: 100; /* Thin (Hairline) */
  --font-extra-light: 200; /* Extra Light (Ultra Light) */
  --font-light: 300;
  --font-normal: 400; /* Regular */
  --font-medium: 500;
  --font-semi-bold: 600; /* Semi Bold (Demi Bold) */
  --font-bold: 700;
  --font-extra-bold: 800; /* Extra Bold (Ultra Bold) */
  --font-black: 900; /* Black (Heavy) */

  /* Font Family */
  --font-gothic:
    "Helvetica Neue",
    Arial,
    "Hiragino Kaku Gothic ProN",
    "Hiragino Sans",
    "Noto Sans JP",
    sans-serif;

  /* Color */
  --color-black: 8 19 26;
  --color-black-rgb: rgb(var(--color-black));

  /* 間隔 */
  --px-page: 14px;
}
}/* layouts */@layer layouts{
.l-container {
  margin-inline: auto;
  width: min(calc(100% - var(--px-page) * 2), 1200px);
}
}@layer layouts{
.l-footer {
  margin-block-start: 80px;
  border-top: 2px solid var(--color-black-rgb);
  padding-block: 20px;
  text-align: center;

  > p {
    margin: 0;
  }
}
}/* components */@layer components{

.c-section {
  margin-block-start: 4rem;
}

.c-section__primaryTitle {
  padding-block-end: 0.3em;
  border-bottom: 2px solid rgb(var(--color-black) / 0.5);
}
}@layer components{
.c-definitionList {
  > dt {
    font-size: 1.17em;
    font-weight: bold;
    margin-block: 1.5em 1em;
  }

  > dd {
    margin-inline-start: 1em;
  }
}
}@layer components{

.c-skills__title {
  margin-block-start: 2.5rem;
}

.c-skills__list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  grid-gap: 1rem;
  padding-inline-start: 0;
  list-style-type: none;
}

.c-skills__item {
  padding: 10px;
  border: 1px solid #000;
  border-radius: 5px;

  > *:not(h3) {
    margin-inline-start: 1em;
  }

  > *:last-child {
    margin-block-end: 1em;
  }
}

.c-skills__itemTitle {
  margin-block: 1em;
  font-size: 1.17em;
  font-weight: bold;
}

.c-skills__years {
  display: flex;
  align-items: baseline;
  -moz-column-gap: 1em;
       column-gap: 1em;

  > .__title::after {
    content: ":";
    margin-inline-start: 0.25em;
  }

  > .__year {
    margin-inline-start: 0;
  }
}

.c-skills__smallTitle {
  padding-inline-start: 0.5em;
  font-size: 0.7em;
  font-weight: normal;
}
}@layer components{

.c-works {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  grid-gap: 1rem;
  margin-block-start: 2rem;
  padding-inline-start: 0;
  list-style-type: none;
}

.c-works__item {
  padding: 10px;
  border: 1px solid #000;
  border-radius: 5px;

  > h3 {
    margin-block-start: 0;
  }

  > dl {
    margin-block-start: 1em;

    > dt {
      margin-block-end: 0.2em;
      font-weight: bold;
    }

    > dd {
      display: flex;
      flex-wrap: wrap;
      -moz-column-gap: 0.5em;
           column-gap: 0.5em;
      margin-inline-start: 0;

      > span {
        white-space: nowrap;
      }
    }
  }
}

.c-works__item__description {
  margin-block-start: 1em;

  &::before {
    content: "";
    display: block;
    width: 100%;
    height: 1px;
    background-color: #aaa;
  }
}
}@layer components{

.c-mv {
  background-color: rgb(var(--color-black) / 0.05);
  border-radius: 20px;
  padding: 30px;

  > :last-child {
    margin-block-end: 0;
  }
}

.c-mv__title {
  margin-block-start: 0;
}
}@layer components{

.c-header {
  position: sticky;
  z-index: 1;
  top: 0;
  padding-block: 5px;
  width: 100%;
  background-color: #fff;
  transition: box-shadow 0.3s ease;

  &.is-scrolled {
    box-shadow: 0px 3px 4px -4px #777;
  }
}

.c-header__list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-block: 0;
  font-size: 20px;
  text-align: center;
}

.c-header__button {
  display: none;
  background-color: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;

  img {
    width: 100%;
    height: 100%;
    -o-object-fit: contain;
       object-fit: contain;
  }
}

.c-header__repoItem {
  line-height: 1;
}

.c-header__repoLink {
  --icon-size: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px;

  > img {
    width: var(--icon-size);
    height: auto;
    aspect-ratio: 1;
  }
}
}@layer components{

.c-profile__list {
  > li + li {
    --mt: 1em;
    margin-block-start: var(--mt);
  }
}
}@layer components{

.c-list__item {
  &:not(:first-child) {
    margin-top: 0.5em;
  }
}
}/* utilities */@layer utilities{
/* display */
.u-hidden {
  display: none;
}

/* overscroll-behavior */
.u-overscroll-y-none {
  overscroll-behavior-y: none;
}
}@media (width >= 768px){
  :root {
    --px-page: 30px;
  }
  .c-header {
    padding-block: 10px;
  }

  .c-header__list {
    display: flex;
    justify-content: center;
    align-items: center;
    grid-template-columns: none;
    font-size: 18px;
    gap: 30px;
  }

  .c-header__repoLink {
    --icon-size: 24px;
    padding: 0;
  }
  .c-profile__list {
    > li + li {
      --mt: 0.5em;
    }
  }
}@media not all and (width >= 768px){
  .c-header__button {
    display: block;
    width: 30px;
    aspect-ratio: 1;
    margin-inline: auto 10px;
    padding: 6px;
    box-sizing: content-box;

    /* メニューが閉じている */
    &[aria-expanded="false"] + .c-header__nav {
      display: none;
    }
  }

  .c-header__nav {
    position: absolute;
    background-color: #fff;
    width: 100%;
    padding: 20px;
  }
  .c-list {
    padding-inline-start: 1em;
  }
}@media (hover: hover) and (pointer: fine){
  a {
    transition: opacity 0.2s;

    &:hover {
      opacity: 0.8;
    }
  }
}
