@charset "UTF-8";

/* A Modern CSS Reset */
*,
*::before,
*::after {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
  line-height: 1;
}

body,
h1,
h2,
h3,
h4,
p,
figure,
blockquote,
dl,
dd {
  margin: 0;
}

ul,
ol {
  list-style-type: none;
}

html:focus-within {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  text-rendering: optimizeSpeed;
  line-height: 1.5;
}

a:not([class]) {
  -webkit-text-decoration-skip: ink;
  text-decoration-skip-ink: auto;
}

img,
picture {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 2%;
}

input,
button,
textarea,
select {
  font: inherit;
}

@media (prefers-reduced-motion: reduce) {
  html:focus-within {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
}

/* mixinの定義 */
/* _mixinで定義したものを読み込む際は設定した名称の頭にm.と記述をする */
html {
  font-size: 62.5%;
}

html body {
  background-color: #f2f2f2;
}

html body .wrapper {
  max-width: 1000px;
  padding: 0 20px;
  margin: 0 auto;
}

html body .mainWork {
  margin: 20vh auto;
}

html body h3 {
  padding: 20px 0;
  font-family: "Shippori Mincho", serif;
  font-weight: 400;
  font-size: 2.4rem;
  color: #bfbfbf;
  line-height: 1.8;
  text-align: center;
}

html body h4 {
  padding: 0;
  font-family: "Shippori Mincho", serif;
  font-weight: 500;
  font-size: 1.8rem;
  color: #404040;
  line-height: 2.8;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  margin-bottom: 1.6rem;
}

html body h4 img {
  margin-top: 5px;
  /* width: 18vw; */
  max-width: 300px;
  padding: 2rem;
}

html body h5 img {
  margin-top: 5px;
  width: 14vw;
  padding: 1rem 0;
}

html body p {
  font-family: "Shippori Mincho", serif;
  font-weight: 300;
  font-size: 1.4rem;
  color: #404040;
  line-height: 1.5;
  text-align: justify;
}

html body a {
  text-decoration: none;
}

html body nav li a img {
  /* width: 18vw; */
  max-width: 250px;
  /* padding: 2rem; */
}

html body .gallery {
  padding: 1.6rem;
}

html body header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #f2f2f2;
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  width: 100%;
  height: 12vh;
  padding: 20px;
}

html body header h1 {
  max-width: 350px;
  margin-left: 2vw;
}

html body header h1 a {
  width: 10%;
}

html body header nav {
  max-width: 650px;
  margin-right: 2vw;
}

html body header nav ul {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

html body header nav ul li a {
  width: 14vw;
  transition: 0.2s;
  padding: 0.4rem 1rem;
  margin: 4px;
}

html body header nav ul li a:hover {
  opacity: 0.6;
}

html body main section.wrapper {
  margin-top: 10vh;
}

/* 
html body main .top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  height: 100vh;
  max-height: 822px;
  padding-top: calc(2.4rem + 40px);
  justify-content: left;
  background-image: url(../img/kv/kv1_768.jpg);
  background-size: 100%;
  background-repeat: no-repeat;
} */

html body main .works ul {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 80px;
}

html body main .works li img {
  box-shadow: 0 0 3px rgba(64, 64, 64, 0.1);
}

html body main .works p a {
  margin-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: "Shippori Mincho", serif;
  font-weight: 400;
  font-size: 1.6rem;
  color: #8e95bf;
  line-height: 1.8;
  justify-content: center;
}

html body main .about .flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

html body main .about .flex>p {
  max-width: 350px;
  margin-left: 2vw;
  padding: 0 30px 0 0;
}

html body main .about .flex div {
  max-width: 650px;
  margin-right: 2vw;
  padding: 0;
}

html body main .other div.contact_wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

html body main .other ul {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

html body main .other ul li {
  width: calc(50% - 15px);
}

html body footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  align-items: end;
  background-color: #bfbfbf;
  padding: 150px 0 50px 0;
}

html body footer nav {
  max-width: 350px;
  margin-left: 2vw;
}

html body footer nav ul li a {
  font-family: "Shippori Mincho", serif;
  font-weight: 300;
  font-size: 1.4rem;
  color: #404040;
  line-height: 1.5;
  text-align: justify;
  color: #fff;
}

html body footer small {
  max-width: 650px;
  margin-right: 2vw;
  font-family: "Shippori Mincho", serif;
  font-weight: 300;
  font-size: 1.4rem;
  color: #404040;
  line-height: 1.5;
  text-align: justify;
  text-align: right;
  color: #fff;
}

.contact-section {
  /* background: url('path-to-background-image.jpg') center/cover no-repeat, #8e95bf; */
  background-image: url(../img/contact.jpg);
  background-color: rgba(255, 255, 255, 0.4);
  background-blend-mode: lighten;
  padding: 80px 20px;
  text-align: center;
  color: #404040;
  background-size: cover;
  /* ← "contain" から "cover" に変更 */
  background-position: center;
  /* 画像を中央配置 */
  background-repeat: no-repeat;
  /* 画像を繰り返さない */
  /* width: 100vw; */
  /* ← 画面幅いっぱいにする */
}

.about h2 {
  font-size: 2em;
  font-family: "Shippori Mincho", serif;
  font-weight: 500;
  color: #404040;
  margin: 24px 0 10px 0;
}


.contact-section h2 {
  font-size: 2em;
  font-family: "Shippori Mincho", serif;
  font-weight: 500;
  color: #404040;
}

.contact-section h3 {
  font-size: 2.5em;
  margin-bottom: 10px;
  color: #404040;
}

.contact-section p {
  font-size: 1.2em;
  margin-bottom: 40px;
  text-align: center;
}

.contact-buttons {
  display: flex;
  justify-content: center;
  gap: 50px;
  flex-wrap: wrap;
}

.personal-contact,
.business-contact {
  background: rgba(255, 255, 255, 0.9);
  padding: 20px;
  border-radius: 10px;
  width: 300px;
}

.btn {
  display: block;
  text-decoration: none;
  padding: 10px;
  margin: 10px 0;
  border-radius: 5px;
  font-size: 1em;
  font-weight: bold;
  transition: 0.3s;
}

.skeb-btn {
  background: #8e95bf;
  color: white;
}

.pixiv-btn {
  background: #8e95bf;
  color: white;
}

.business-btn {
  background: #8e95bf;
  color: white;
}

.btn:hover {
  opacity: 0.8;
}

#other {
  margin-top: 100px;
  padding: 0;
}

.workstag {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.6rem;
  justify-content: space-evenly;
  align-items: center;
}

.otherwrapper h4 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  justify-content: center;
  align-items: center;
}


.originalworks,
.clientworks {
  opacity: 0.5;
}




/* スライドショーの基本スタイル */
.slideshow {
  position: relative;
  width: 100%;
  height: 500px;
  /* 適宜調整 */
  overflow: hidden;
}



.slideshow .slide {
  position: absolute;
  /* これがないと消える */
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* 画像をキレイにフィット */
  opacity: 0;
  transition: opacity 2s ease-in-out;
  object-position: center 12%;
}

/* JavaScriptで切り替わるactiveクラス */
.slideshow .slide.active {
  opacity: 1;
}

/* PC用スライドショー */
.slideshow.pc {
  display: block;
}


@media screen and (min-width: 769px) {
  .slideshow.pc {
    height: 100vh;
    /* ビューポート全体の高さ */
    position: relative;
    /* 子要素の絶対配置を有効にする */
    overflow: hidden;
    /* 念のため */
    margin-top: 12vh;
  }
}

/* モバイル用スライドショー（最初は非表示） */
.slideshow.mobile {
  display: none;
}

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


@media screen and (max-width: 768px) {
  html body main .top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100vw;
    height: 441px;
    padding-top: calc(2.4rem + 40px);
    justify-content: left;
    background-image: url(../img/kv/kv1_768.jpg);
    background-size: 100%;
    background-repeat: no-repeat;
  }

  .contact-section {
    /* background: url('path-to-background-image.jpg') center/cover no-repeat, #8e95bf; */
    background-image: url(../img/contact_768.jpg);
    background-color: rgba(255, 255, 255, 0.4);
    background-blend-mode: lighten;
    padding: 80px 20px;
    text-align: center;
    color: #404040;
    background-size: cover;
    /* ← "contain" から "cover" に変更 */
    background-position: left;
    /* 画像を中央配置 */
    background-repeat: no-repeat;
    /* 画像を繰り返さない */
    /* width: 100vw; */
    /* ← 画面幅いっぱいにする */
  }


  /* メディアクエリでモバイル用を表示、PC用を非表示 */
  .slideshow.pc {
    display: none;
  }

  .slideshow.mobile {
    display: block;
  }
}





@media screen and (max-width: 414px) {

  html body header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #f2f2f2;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 8vh;
  }


  html body main .top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100vw;
    height: 441px;
    padding-top: calc(2.4rem + 40px);
    justify-content: left;
    background-image: url(../img/kv/kv1_750_882.jpg);
    background-size: 100%;
    background-repeat: no-repeat;
    box-sizing: border-box;
  }

  html body main .about .flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: column;
  }

  /* html body main .about .flex p img .pfimg {
    width: 200px;
    height: auto;
  } */
  /* 
  html body main section.wrapper {
    margin-top: 0px;
  } */

  html body main section.wrapper,
  html body main section.aboutwrapper,
  html body section.otherwrapper {
    margin-top: 40px;
  }

  html body .wrapper {
    max-width: 1000px;
    padding: 0 40px;
    margin: 0 auto;
  }

  html body .mainWork {
    margin: 8vh auto;
  }

  html body h4 img {
    max-width: 250px;
    padding: 2rem;
    margin: 0 auto;
  }

  .workstag {
    padding: 1rem;
  }

  html body h5 img {
    margin-top: 5px;
    width: 24vw;
    padding: 1rem 0;
  }

  #works {
    margin-top: 40px;
  }

  html body main .works ul {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 48px;
    justify-content: center;
  }

  .contact-section {
    /* background: url('path-to-background-image.jpg') center/cover no-repeat, #8e95bf; */
    background-image: url(../img/contact_768.jpg);
    background-color: rgba(255, 255, 255, 0.4);
    background-blend-mode: lighten;
    padding: 80px 20px;
    text-align: center;
    color: #404040;
    background-size: cover;
    /* ← "contain" から "cover" に変更 */
    background-position: left;
    /* 画像を中央配置 */
    background-repeat: no-repeat;
    /* 画像を繰り返さない */
    /* width: 100vw; */
    /* ← 画面幅いっぱいにする */
  }

}