@charset "UTF-8";
/* CSS Document */
/* {
    outline: 1px solid red!important;
}*/
@import url(../../css/common.css);
:root {
  --base-width: min(100%, 980px);
  --base-bottom: auto auto 30px auto;
  --base-font-color: #333333;
}
html {
  font-size: clamp(16px, 1.6vw, 20px);
  line-height: 1.7;
  box-sizing: border-box;
}
body {
  color: #583D2C;
  font-family: "游ゴシック体", YuGothic, "游ゴシック Medium", "Yu Gothic", "メイリオ", sans-serif;
  background-image: url("../img/z.png");
}
/*ロゴローディング画面ここから*/
.loading {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 100;
  background-color: #FCF9F2;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeOut 3.0s 2.5s forwards;
  background-image: url("../../img/z.png");
  pointer-events: none;
}
.loading__logo {
  padding-left: 20px;
  font-family: 筑紫A丸ゴシック;
  display: flex;
  font-size: 20px;
  opacity: 0;
  animation: logo_fade 3s 0.5s forwards;
  width: 220px;
  text-align: center;
}
@keyframes fadeOut {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    visibility: hidden;
  }
}
.loading::before {
  animation: img-wrap 3s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  background: #fff;
  content: '';
  inset: 0;
  pointer-events: none;
  position: absolute;
  z-index: 1;
}
@keyframes img-wrap {
  100% {
    transform: translateX(100%);
  }
}
@keyframes logo_fade {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  60% {
    opacity: 1;
    transform: translateY(0);
  }
  100% {
    opacity: 0;
  }
}
/*ロゴローディング画面ここまで*/
.header-5 {
  box-sizing: border-box;
  width: 100%;
  margin-top: 70px;
}
.header-inner {
  display: flex;
  align-items: center;
  max-width: 1024px;
  height: 60px;
  padding: 0 0.8em;
  margin: 0 auto;
  font-size: 1.2em;
  text-align: center;
  justify-content: center;
  margin-top: 50px;
}
.header-nav-list {
  display: flex;
  justify-content: start;
  list-style: none;
  text-align: right;
  margin-bottom: 20px;
}
.header-nav-list img {
  display: flex;
  width: 50px;
  height: auto;
  padding-right: 10px;
  text-align: right;
}
.header-nav-item {
  float: left;
  padding: 12px;
  font-size: 14px;
  font-weight: bold;
  color: #ccc;
  text-align: center;
  list-style: none;
  justify-content: start;
}
.header-nav-item a {
  text-decoration: none;
}
.header-ham {
  display: none;
}
.header-nav-item:hover {
  background: #eee;
}
.logo img {
  width: 90px;
  padding-top: 10px;
}
.person:hover, .heart:hover, .cart:hover {
  opacity: 0.5;
  transition: 0.3s;
}
/*スライドここから*

*/
.slider {
  width: 70vw;
  aspect-ratio: 16 / 9;
  list-style: none;
  display: flex;
  overflow: hidden;
  margin: 0 auto;
}
.slider-item {
  width: 70vw;
  aspect-ratio: 16 / 9;
}
.slider-item img {
  width: 100%;
  height: auto;
  object-fit: cover;
  text-align: center;
}
.slider > :first-child {
  -webkit-animation-name: scroll;
  animation-name: scroll;
  -webkit-animation-duration: 20s;
  animation-duration: 20s;
  -webkit-animation-delay: 2;
  animation-delay: 2s;
  -webkit-animation-iteration-count: infinite;
  animation-iteration-count: infinite;
}
.topbar {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  padding: 6px 0;
  background: #A86134;
  z-index: 99;
  visibility: visible;
  opacity: 1;
  animation: slide 0.5s ease-in-out;
}
.topbar h3 {
  text-align: center;
  color: #fff;
  font-size: 13px;
  font-family: "Yu Gothic", "游ゴシック", YuGothic, "游ゴシック体";
  font-weight: 600;
}
/*スライドここまで*/
.swiper-slide img {
  height: auto;
  width: 100%;
}
@keyframes scroll {
  0% {
    margin-left: 0;
  }
  20% {
    margin-left: -100%;
  }
  25% {
    margin-left: -100%;
  }
  45% {
    margin-left: -200%;
  }
  50% {
    margin-left: -200%;
  }
  70% {
    margin-left: -300%;
  }
  75% {
    margin-left: -300%;
  }
  95% {
    margin-left: -400%;
  }
  100% {
    margin-left: -400%;
  }
}
/*FontAwesomeを使用しています。*/
.header-6 {
  box-sizing: border-box;
  width: 100%;
  height: 120px;
}
.box {
  box-sizing: border-box;
  margin-bottom: 20px;
}
/* ========== header ========== */
.box-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 80px;
}
.logo-img {
  width: 100px;
}
.box-nav {
  height: 40px;
}
/* ========== nav ========== */
.inner-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 100 auto;
  list-style: none;
  padding-top: 10px;
  font-size: 0.9rem;
}
.inner-nav a {
  color: #D9A891;
  text-decoration: none;
}
.menu {
  padding: 0 4em;
  cursor: pointer;
  color: #D9A891;
}
.menu:hover {
  color: #DED0CA;
}
.en {
  margin: 0;
  text-align: center;
  font-size: 0.8em;
  font-weight: bold;
}
/*パールニットについて*/
h2 {
  font-family: 筑紫A丸ゴシック;
  color: #A86134;
  letter-spacing: 0.1em;
}
.text {
  text-align: center;
  padding-bottom: 50px;
  font-family: ヒラギノ明朝 ProN;
  line-height: 2.2rem;
  font-size: 1rem;
}
.text span {
  font-size: 1.2rem;
}
/*タイピング風ここから*/
.text h2 {
  width: 40ch;
  color: #A86134;
  white-space: nowrap;
  overflow: hidden;
  border-right: 3px solid #bdaa9f;
  animation: typing 5s steps(17), typingEffect 1s step-end infinite alternate;
  text-align: center;
  margin: auto;
  animation-iteration-count: 30; /*1秒後にアニメーション開始*/
  animation-duration: 5s; /*1秒間でアニメーションを完了する*/
}
@keyframes typing {
  from {
    width: 0
  }
}
@keyframes typingEffect {
  100% {
    border-color: transparent;
  }
}
/*タイピング風ここまで*/
/**/
/*動画ここから*/
.videoouter {
  text-align: center;
}
.videoouter video {
  width: 40%;
  height: 40%;
}
/*動画ここまで*/
/*パールニットについて*/
h2 {
  color: #583D2C;
  text-decoration: none;
  text-align: center;
  font-size: 2rem;
  font-family: 筑紫A丸ゴシック;
}
/*編み物写真列ここから*/
.topic {
  padding: 1em;
}
.topic-image {
  display: flex;
  flex-wrap: wrap;
  max-width: 1000px;
  margin: 0 auto;
  padding: 1em;
  list-style-type: none;
}
.topic-image li {
  --margin-left: 10px;
  /*  width: calc(25% - (3 * var(--margin-left) / 4));*/
  width: calc(100% / 4 - var(--margin-left));
  margin-bottom: 1em;
  margin-left: var(--margin-left);
}
.topic-image li:nth-of-type(4n + 1) {
  margin-left: 0;
  border-radius: 10%;
}
.topic-image li img {
  width: 100%;
  height: auto;
  border-radius: 10%;
  box-shadow: 0 0 4px gray;
}
/*試し*/
.new {
  position: relative;
  width: 9em;
  margin: 0 auto;
}
.new::after {
  position: absolute;
  top: 0;
  left: 0;
  padding: 0.1em 0.7em;
  margin: 10px;
  font-size: 0.8rem;
  color: #583D2C;
  content: 'New';
  font-family: 筑紫A丸ゴシック;
  border: solid 2px #583D2C; /*線*/
  background-color: rgba(252, 249, 242, 0.8);
  border-radius: 50%;
}
.new:hover {
  opacity: 0.6;
}
.new-1:hover {
  opacity: 0.6;
}
.category-nav li {
  list-style-type: none;
}
.category-nav-nav {
  padding: 10px;
  background-size: cover;
  justify-content: center;
  margin: auto;
  letter-spacing: 0.1em;
}
.category-nav-nav a {
  color: #FFFFFF;
  text-decoration: none;
  background-size: cover;
  position: relative;
  display: flex;
  justify-content: space-around;
  align-items: center;
  max-width: 240px;
  padding: 20px;
  transition: 0.3s ease-in-out;
  font-weight: 600;
  background: #D9A891;
  border-radius: 20px;
}
.category-nav-nav a:hover {
  background-color: #DEBEAF;
}
.category-nav {
  display: flex;
  flex-direction: row;
}
/*　　　　編み物写真列ここまで　　　　*/
/*パンクズここから*/
.breadcrumb-001 {
  display: flex;
  gap: 0 22px;
  list-style: none;
  padding: 0;
  font-size: .9em;
}
.breadcrumb-001 li {
  display: flex;
  align-items: center;
}
.breadcrumb-001 li:first-child::before {
  display: inline-block;
  width: 1em;
  height: 1em;
  margin-right: 4px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 20C20 20.5523 19.5523 21 19 21H5C4.44772 21 4 20.5523 4 20V11L1 11L11.3273 1.6115C11.7087 1.26475 12.2913 1.26475 12.6727 1.6115L23 11L20 11V20ZM11 13V19H13V13H11Z' fill='%23583d2c'%3E%3C/path%3E%3C/svg%3E");
  background-repeat: no-repeat;
  content: '';
}
.breadcrumb-001 li:not(:last-child)::after {
  display: inline-block;
  transform: rotate(45deg);
  width: .3em;
  height: .3em;
  margin-left: 10px;
  border-top: 1px solid #583d2c;
  border-right: 1px solid #583d2c;
  content: '';
}
.breadcrumb-001 a {
  color: #583d2c;
  text-decoration: none;
}
/*パンクズここまで*/

/*
フッターここから
*/
.footer-001 {
  display: flex;
  align-items: left;
  justify-content: center;
  flex-direction: column;
  font-size: 15px;
  border-top: solid #D5C4BD;
}
.footer-001 img {
  padding: 10px;
}
.footer-001__list {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0 1.5em;
  list-style-type: none;
  padding: .5em;
}
.footer-001 p {
  color: #583D2C;
  justify-content: center;
}
.footer-001__link {
  color: #583D2C;
  font-weight: 200;
  text-decoration: none;
}
.footer-001__copyright {
  display: flex;
  margin: 0;
  color: #583D2C;
  font-weight: 200;
}
/*タイピング風アニメーション*/
.text h2 {
  width: 40ch;
  color: #A86134;
  white-space: nowrap;
  overflow: hidden;
  border-right: 3px solid #583D2C;
  animation: typing 5s steps(17), typingEffect 2s step-end infinite alternate circle;
  text-align: center;
  margin: auto;
  margin-top: 30px;
  animation-delay: infinite;
  animation-iteration-count: 2s; /*1秒後にアニメーション開始*/
  animation-duration: 5s; /*1秒間でアニメーションを完了する*/
  font-size: 1.7rem;
}
@keyframes typing {
  from {
    width: 0
  }
}
@keyframes typingEffect {
  50% {
    border-color: #583D2C;
  }
  .text h2 {
    animation: circle-move 2s infinite;
  }
  @keyframes circle-move {
    20% {
      transform: scale(1.1, 0.9) translateY(40px);
    }
    40% {
      transform: scale(1) translateY(0);
    }
    60% {
      transform: scale(1.1, 0.9) translateY(40px);
    }
    80% {
      transform: scale(1) translateY(0);
    }
    100% {
      margin-left: 100%;
    }
  }
}
/*タイピング風アニメーションここまで*/
/*
無限横スクロールここから*/
@keyframes infinity-scroll-left {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}
.scroll-infinity__wrap {
  display: flex;
  overflow: hidden;
}
.scroll-infinity__list {
  display: flex;
  list-style: none;
  padding: 0
}
.scroll-infinity__list--left {
  animation: infinity-scroll-left 80s infinite linear 0.5s both;
}
.scroll-infinity__item {
  width: calc(90vw / 2);
}
.scroll-infinity__item > video {
  width: 90%;
}
.video-1 {
  margin-top: 50px;
}
/*横ローディングここまで*/
.fade {
  opacity: 0;
  transform: translateY(50px);
  animation-name: fadeIn;
  animation-duration: 5s;
  animation-fill-mode: forwards;
}
@keyframes fadeIn {
  0% {}
  100% {
    opacity: 1;
    transform: translate(0);
  }
}
/*ここからスマホ対応*/
@media screen and (max-width: 760px) {
  .loading__logo {
    font-size: 14px;
    width: 190px;
  }
  .text h2 {
    font-size: 1.4rem;
  }
  .en {
    font-size: 0.8em;
  }
  .topic-image li {
    width: calc(100% / 2 - var(--margin-left));
  }
  .slider {
    width: 90vw;
    aspect-ratio: 16 / 9;
    list-style: none;
    display: flex;
    overflow: hidden;
    margin: 0 auto;
  }
  .footer-001 img {
    width: 90px;
    padding-top: 10px;
  }
  .box-nav {
    height: 40px;
  }
  .menu {
    padding: 0 2em;
  }
  .header-nav-list img {
    width: 40px;
  }
}