/*!
foundation > base
------------------------------
*/
body {
  line-height: 1.8;
  font-size: 14px;
  color: var(--color-font-base);
  font-family: var(--font-family-base);
  background-color: var(--color-bg-base);
}

@media screen and (min-width: 768px) {
  body {
    font-size: 16px;
  }
}

/*!
global > color
------------------------------
*/
:root {
  --color-bg-base: #ffffff;
  --color-bg-primary: #67a2b7;
  --color-bg-primary-light: #b0c9d2;
  --color-bg-primary-extra-light: #e7eff2;
  --color-bg-secondary: #f9f9f9;
  --color-bg-black: #333333;
  --color-bg-white: #ffffff;
  --color-bg-gold: #ae9b52;
  --color-bg-accent: #f7f1ad;
  --color-border-gray: #dddddd;
  --color-border-primary: #67a2b7;
  --color-border-black: #333333;
  --color-font-gray: #dddddd;
  --color-font-primary: #67a2b7;
  --color-font-primary-light: #b0c9d2;
  --color-font-primary-extra-light: #e7eff2;
  --color-font-black: #333333;
  --color-font-white: #ffffff;
  --color-font-gold: #ae9b52;
  --color-font-link: #4895e6;
}

/*!
global > content-width
------------------------------
*/
:root {
  --width-content-s: 760px;
  --width-content: 1000px;
}

/*!
global > font
------------------------------
*/
:root {
  --font-family-base: 'Noto Serif JP', serif;
}

/*!
global > z-index
------------------------------
*/
:root {
  --z-index-header: 10;
  --z-index-default: 1;
}

/*!
global > scrolll
------------------------------
*/
:root {
  scroll-behavior: smooth;
}

/*!
utility > utility
------------------------------
*/
.u-visually-hidden {
  position: absolute !important;
  white-space: nowrap !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  border: 0 !important;
  padding: 0 !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  margin: -1px !important;
}

/*!
component > form > text
------------------------------
*/
.c-input-text {
  height: 100%;
  width: 100%;
  border: 1px solid var(--color-border-gray);
  border-radius: 8px;
  padding: 8px;
}

/*!
component > form > checkbox
------------------------------
*/
.c-input-text {
  height: 100%;
  width: 100%;
  border: 1px solid var(--color-border-gray);
  border-radius: 8px;
  padding: 8px;
}

/*!
component > button
------------------------------
*/
button {
  width: 100%;
}

.c-button {
  /* border-radius: 100vh; */
  font-weight: bold;
  text-align: center;
  padding: 8px 16px;
  display: inline-block;
  transition: opacity 0.3s;
}

@media screen and (min-width: 768px) {
  .c-button:hover {
    opacity: 0.7;
  }
}

.c-button--accent {
  background-color: var(--color-bg-accent);
  color: var(--color-font-black);
  border: 2px solid var(--color-border-black);
}
.c-button--white {
  background-color: var(--color-bg-white);
  border: 2px solid var(--color-border-primary);
  color: var(--color-font-primary);
}
.c-button--black {
  color: var(--color-font-white);
  background-color: var(--color-bg-black);
}
.c-button--center {
  margin: 0 auto;
}

/* top-about-item button */

.c-button--effect {
  --x-gradient: linear-gradient(
    90deg,
    #323232 0 10px,
    transparent 0 calc(100% - 10px),
    #323232 calc(100% - 10px)
  );

  --y-gradient: linear-gradient(
    #323232 0 10px,
    transparent 0 calc(100% - 10px),
    #323232 calc(100% - 10px)
  );
  padding: 1em;
  width: 100%;
  background-color: var(--color-bg-base);
  background-image: var(--x-gradient), var(--y-gradient), var(--x-gradient),
    var(--y-gradient);
  background-repeat: no-repeat;
  background-size: 100% 1px, 1px 100%, 100% 1px, 1px 100%;
  background-position: top, right, bottom, left;
  color: #323232;
  text-decoration: none;
  transition: 0.5s;
}

.c-button--effect:hover {
  background-position: bottom, left, top, right;
  background-color: var(--color-bg-accent);
}

/*!
component > title
------------------------------
*/
.c-title-level1 {
  font-family: 'Lora', serif;
  font-weight: bold;
  font-size: 32px;
  letter-spacing: 0.5em;
  line-height: 1;
  -webkit-text-stroke: 1px var(--color-font-black);
  /* text-stroke: 1px var(--color-font-black); */
  color: rgba(255, 255, 255, 0.7);
}

.c-title-level1--center {
  text-align: center;
}

@media screen and (min-width: 768px) {
  .c-title-level1 {
    font-size: 60px;
    letter-spacing: 0.5em;
  }
}

.h1-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: -2vh;
}

@media screen and (min-width: 768px) {
  .h1-title {
    margin-top: -4vh;
  }
}

.h1-sub-title {
  letter-spacing: 0.2em;
}

.c-title-level2 {
  font-family: 'Lora', serif;
  font-weight: bold;
  font-size: 22px;
  color: var(--color-font-primary);
}
@media screen and (min-width: 768px) {
  .c-title-level2 {
    font-size: 32px;
  }
}
.c-title-level2--center {
  text-align: center;
}

.c-title-level3 {
  font-family: 'Lora', serif;
  font-weight: bold;
  font-size: 18px;
  color: var(--color-font-primary);
}
@media screen and (min-width: 768px) {
  .c-title-level3 {
    font-size: 20px;
  }
}

/*!
component > pagenation
------------------------------
*/
.visuallyhidden {
  border: 0;
  clip: rect(0 0 0 0);
  height: auto;
  margin: 0;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  white-space: nowrap;
}

.pagination {
  display: flex;
  justify-content: center;
  border-top: 1px solid #eee;
  padding: 2em 0;
}

@media screen and (min-width: 768px) {
  .pagination {
    padding: 2em 0 4em 0;
  }
}

.pagination-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
}

.pagination-item {
  margin: 0 1px;
}

.pagination a {
  display: block;
  padding: 0.5em 1em;
  border: 1px solid #999;
  border-radius: 0.2em;
  text-decoration: none;
}

.pagination a[aria-current='page'] {
  background-color: #999;
  color: #fff;
}

/*!
layout > container
------------------------------
*/
.l-container,
.l-container-s {
  width: 90%;
  margin: 0 auto;
}

.l-container-s {
  max-width: var(--width-content-s);
}

.l-container {
  max-width: var(--width-content);
}

/*!
layout > section
------------------------------
*/
.l-section {
  padding: 64px 0;
}
@media screen and (min-width: 768px) {
  .l-section {
    padding: 96px 0;
  }
}

/*!
layout > section-body
------------------------------
*/
.l-section-body {
  margin-top: 32px;
}
@media screen and (min-width: 768px) {
  .l-section-body {
    margin-top: 40px;
  }
}

/*!
layout > header
------------------------------
*/

.header {
  /* padding: 8px; */
  height: 60px;
  background-color: transparent;
  position: sticky;
  left: 0;
  top: 0;
  z-index: var(--z-index-header);
}

@media screen and (min-width: 768px) {
  .header {
    height: 75px;
  }
}

.header-logo {
  width: 120px;
  background: var(--color-bg-base);
  padding: 0.8em;
  box-shadow: -3px -3px 15px 3px rgba(208, 178, 246, 0.6),
    3px 3px 15px 3px rgba(69, 189, 187, 0.28);
}

@media screen and (min-width: 768px) {
  .header-logo {
    width: 150px;
    padding: 2em;
    border-radius: 50%;
  }
}

.header-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 16px 16px 0;
}

@media screen and (min-width: 768px) {
  .header-wrap {
    align-items: center;
    padding: 1.5em 3em 1.5em 1.5em;
  }
}

@media screen and (min-width: 1280px) {
  .header-wrap {
    padding: 3em;
  }
}

/*!
layout > nav
------------------------------
*/
.Menu {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 20;
  width: 80%;
  max-width: 400px;
  height: 100vh;
  background-color: #fff;
  transform: translateX(100%);
  transition: all 0.3s;
}

.Menu-Header {
  width: 100%;
  height: 60px;
  background-color: var(--color-bg-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-font-white);
  font-weight: bold;
  font-size: 32px;
}

.Menu-List {
  width: 100%;
  padding-left: 8px;
  padding-right: 8px;
}

.Menu-List-Item {
  color: var(--color-font-black);
  border-bottom: 1px solid #ccc;
  width: 100%;
  padding-top: 16px;
  padding-bottom: 16px;
  padding-left: 32px;
  font-weight: bold;
}

.Menu-List-Item:first-child {
  color: var(--color-font-primary);
}

.Menu-List-Item a {
  position: relative;
}

.Menu-List-Item a::after {
  position: absolute;
  left: 0;
  content: '';
  width: 100%;
  height: 2px;
  background: var(--color-border-primary);
  bottom: -1px;
  transform: scale(0, 1);
  transform-origin: right top;
  transition: transform 0.3s;
}

.Menu-List-Item a:hover::after {
  transform: scale(1, 1);
  transform-origin: left top;
}

.MenuIsOpen {
  transform: translateX(0);
}

.Overlay {
  visibility: hidden;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.2);
  opacity: 0;
  transition: all 0.3s;
}

/* toggle */
.OverlayIsOpen {
  visibility: visible;
  opacity: 1;
}

.IsScrollAllowed {
  overflow: hidden;
}

/* nav button */
.Button {
  cursor: pointer;
  z-index: 30;
  margin-top: 10px;
}

@media screen and (min-width: 768px) {
  .Button {
    margin-top: -70px;
  }
}

@media screen and (min-width: 1280px) {
  .Button {
    margin-top: -120px;
  }
}

.Button span {
  background-color: black;
  width: 35px;
  height: 2px;
  display: block;
  margin-bottom: 9px;
  transition: transform 0.7s;
}

.Button > span:last-child {
  margin-bottom: 0;
}

.ButtonIsOpen.Button span {
  background-color: var(--color-bg-base);
}

.Menu-Header {
  background-color: var(--color-bg-primary-light);
}

.IsScrollAllowed .Button > span:nth-child(1) {
  transition-delay: 70ms;
  transform: translateY(11px) rotate(135deg);
}
.IsScrollAllowed .Button > span:nth-child(2) {
  transition-delay: 0s;
  transform: translateX(-18px) scaleX(0);
}
.IsScrollAllowed .Button > span:nth-child(3) {
  transition-delay: 140ms;
  transform: translateY(-11px) rotate(-135deg);
}
/* end button */

/*!
layout > footer
------------------------------
*/
.footer {
  padding: 40px 0 16px;
  background-color: var(--color-bg-primary-light);
}

.footer-copyright {
  display: block;
  text-align: center;
  font-size: 12px;
  margin-top: 24px;
}

/*!
page > top > top-kv
------------------------------
*/

.top-kv {
  padding: 20px 0 0 50px;
  background-color: var(--color-bg-base);
  position: relative;
  margin: 0 auto;
}

@media screen and (min-width: 768px) {
  .top-kv {
    padding: 96px 0;
  }
}

.top-kv .l-container {
  width: 100%;
}

@media screen and (min-width: 768px) {
  .top-kv .l-container {
    width: 90%;
  }
}

.top-kv-inner {
  position: relative;
}

@media screen and (min-width: 768px) {
  .top-kv-inner {
    width: 75%;
    margin-left: auto;
  }
}

@media screen and (min-width: 1280px) {
  .top-kv-inner {
    width: 85%;
  }
}

.top-kv-copy {
  position: absolute;
  top: 62%;
  left: -11%;
  z-index: 2;
}

@media screen and (min-width: 768px) {
  .top-kv-copy {
    top: 62%;
    left: -8%;
  }
}

@media screen and (min-width: 1080px) {
  .top-kv-copy {
    top: 62%;
    left: -6%;
  }
}

@media screen and (min-width: 1280px) {
  .top-kv-copy {
    top: 57%;
    left: -11%;
  }
}

.top-kv-copy02 {
  position: absolute;
  top: 85%;
  left: -8%;
  color: var(--color-font-primary);
  font-family: 'Overlock', cursive;
  letter-spacing: 0.05em;
  font-size: 1em;
}

@media screen and (min-width: 768px) {
  .top-kv-copy02 {
    top: 80%;
    left: -8%;
    font-size: 1.5em;
    letter-spacing: 0.2em;
  }
}

@media screen and (min-width: 1080px) {
  .top-kv-copy02 {
    top: 78%;
    left: -5%;
    font-size: 1.5em;
    letter-spacing: 0.2em;
  }
}

@media screen and (min-width: 1280px) {
  .top-kv-copy02 {
    top: 72%;
    left: -4%;
  }
}

/*!
page > top > top-about
------------------------------
*/
.top-about.l-section {
  padding-top: 0;
}

@media screen and (min-width: 768px) {
  .top-about.l-section {
    padding: 96px 0;
  }
}

@media screen and (min-width: 1280px) {
  .top-about.l-section {
    padding: 192px 0 96px 0;
  }
}

.top-about-list {
  margin: 0 auto;
  display: flex;
  flex-flow: column;
}

.top-about-item {
  display: flex;
  flex-flow: column;
  align-items: center;
  padding: 24px 16px;
}

@media screen and (min-width: 768px) {
  .top-about-item {
    display: flex;
    flex-flow: initial;
  }
}

.top-about-img {
  position: relative;
  max-width: 200px;
  margin-left: -30px;
  z-index: 2;
}

@media screen and (min-width: 768px) {
  .top-about-img {
    max-width: 400px;
    margin-top: -360px;
    margin-left: 0;
    margin-right: -40px;
    flex-basis: 40%;
  }
}

.top-about-list-wrap {
  position: relative;
  display: flex;
  flex-flow: column;
  justify-content: center;
  margin-top: -40px;
  padding-top: 60px;
  padding-bottom: 16px;
  background-color: var(--color-bg-secondary);
  z-index: 1;
}

@media screen and (min-width: 768px) {
  .top-about-list-wrap {
    flex-flow: column;
    flex-basis: 60%;
    padding: 40px 60px 16px;
  }
}

.top-about-list-wrap .c-title-level2 {
  margin-left: 16px;
}

/*!
page > top > top-work
------------------------------
*/
.top-work {
  background-color: var(--color-bg-primary-extra-light);
}

@media screen and (min-width: 768px) {
  .top-work-list {
    display: flex;
    gap: 30px;
  }
}

.top-work-item {
  padding: 40px 0;
  display: flex;
  flex-flow: column;
}
@media screen and (min-width: 768px) {
  .top-work-item {
    display: flex;
    justify-content: space-between;
  }
}

.top-work-item-text {
  margin-top: 24px;
}

@media screen and (min-width: 1080px) {
  .top-work-item-text {
    margin-top: 40px;
  }
}

.top-work-item-title {
  color: var(--color-font-primary);
  letter-spacing: 0.1em;
  font-weight: bold;
  font-size: 18px;
}

@media screen and (min-width: 768px) {
  .top-work-item-title {
    font-size: 20px;
  }
}

.top-work-item-description {
  margin-top: 8px;
  letter-spacing: 0.1em;
}

.top-work-item-img {
  max-width: 400px;
}

@media screen and (min-width: 768px) {
  .top-work-item-img {
    flex-shrink: 0;
    width: 100%;
  }
}

.top-work-item-img img {
  box-shadow: rgba(106, 106, 106, 0.2) 0px 7px 25px 0px;
}

button.top-work-item-button {
  width: 100%;
  margin-top: 30px;
}

@media screen and (min-width: 768px) {
  button.top-work-item-button {
    width: 100%;
  }
}

/*!
page > about > 
------------------------------
*/

/* top背景画像 */

.top-bg {
  margin-top: -75px;
  width: 100vw;
  height: 22vh;
  background: url('../img/top-bg-sp.jpg') no-repeat;
}

@media screen and (min-width: 768px) {
  .top-bg {
    margin-top: -84px;
    width: 100vw;
    height: 36vh;
    background: url('../img/top-bg-pc.jpg') no-repeat;
  }
}

/* about */

.about {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

@media screen and (min-width: 768px) {
  .about {
    flex-direction: inherit;
    gap: 40px;
  }
}

/* skill */
.about-img {
  max-width: 600px;
}

@media screen and (min-width: 768px) {
  .about-img {
    flex: 1;
  }
}

@media screen and (min-width: 768px) {
  .about-text {
    flex: 1;
  }
}

.aboutskill-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-bottom: 1px solid var(--color-border-gray);
  padding-bottom: 30px;
}

.aboutskill-list:not(:first-child) {
  margin-top: 30px;
}

.aboutskill-item-icon {
  display: flex;
  justify-content: flex-start;
  gap: 5px;
}

.aboutskill-item-icon:not(:first-child) {
  padding-top: 0;
}

.aboutskill-item-icon img {
  width: 40%;
}

.aboutskill-item-icon:last-child img {
  width: 40%;
}

@media screen and (min-width: 768px) {
  .aboutskill-item-icon img {
    width: 50px;
    height: 50px;
  }
}

@media screen and (min-width: 768px) {
  .aboutskill-item-icon img:last-child {
    width: 200px;
    height: 50px;
  }
}

/*!
page > work > 
------------------------------
*/

/* work nav */
.work-list {
  display: flex;
  flex-direction: column;
}

@media screen and (min-width: 768px) {
  .work-list {
    flex-direction: inherit;
    flex-wrap: wrap;
  }
}

.work-item {
  padding: 20px 10px;
  border-bottom: 1px solid var(--color-border-black);
  position: relative;
}

.work-item a::after {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  pointer-events: auto;
  content: '';
  background-color: transparent;
}

@media screen and (min-width: 768px) {
  .work-item {
    width: 47%;
  }
}

@media screen and (min-width: 768px) {
  .work-item:nth-child(odd) {
    border-bottom: 1px solid var(--color-border-black);
    margin-right: 30px;
  }
}

@media screen and (min-width: 768px) {
  .work-item:nth-child(2) {
    border-top: 1px solid var(--color-border-black);
  }
}

.work-item:first-child {
  border-top: 1px solid var(--color-border-black);
}

.work-item--current {
  background-color: var(--color-bg-primary-extra-light);
}

/* タイトル */

.work-title-index-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: var(--color-bg-primary-light);
}

.work-title-index {
  color: var(--color-font-black);
  font-size: 30px;
  font-weight: bold;
  margin-top: -3vh;
  letter-spacing: 0.3em;
}

@media screen and (min-width: 768px) {
  .work-title-index {
    font-size: 40px;
    margin-top: -3.5vh;
  }
}

@media screen and (min-width: 1080px) {
  .work-title-index {
    margin-top: -4vh;
  }
}

.work-title {
  color: var(--color-font-black);
  font-weight: bold;
  line-height: 1.5;
  padding-bottom: 10px;
}

/* work-archive */

@media screen and (min-width: 768px) {
  .work-wrap {
    display: flex;
    gap: 30px;
  }
}

@media screen and (min-width: 768px) {
  .work-wrap:not(:first-child) {
    margin-top: 42px;
  }
}

.work-archive-img {
  background-color: var(--color-bg-secondary);
  max-width: 720px;
  margin: 0 auto;
  padding: 2em;
}

@media screen and (min-width: 768px) {
  .work-archive-img {
    flex: 1;
  }
}

@media screen and (min-width: 768px) {
  .work-archive-text {
    flex: 1;
  }
}

.work-archive-text dl {
  margin-top: 32px;
}

@media screen and (min-width: 768px) {
  .work-archive-text dl {
    max-width: 720px;
    margin: 0 auto;
    margin-top: 40px;
  }
}

.work-archive-text dt {
  font-weight: bold;
}

.work-archive-text dt:not(:first-child) {
  margin-top: 10px 0;
}

@media screen and (min-width: 768px) {
  .work-archive-text dt:not(:first-child) {
    margin-top: 20px 0;
  }
}

.work-archive-text dd {
  margin-bottom: 10px;
}

@media screen and (min-width: 768px) {
  .work-archive-text dd {
    margin-bottom: 20px;
  }
}

/* work>otherページ */
.work-archive-p {
  font-weight: bold;
  color: var(--color-border-primary);
}

.work-archive-item {
  display: flex;
  flex-direction: row-reverse;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  padding-left: 20px;
  background: var(--color-bg-primary-extra-light);
}

.work-archive-item-img img {
  width: 100px;
  height: 100px;
  object-fit: cover;
}

.work-archive-item dd {
  margin-bottom: 0;
}
