@charset "utf-8";

:root {
  --base-color-a: #f0e0d8;
  --base-color-b: #f0e4d8;
  --base-color-c: #e2dfdb;
  --main-color-a: #9b6259;
  --main-color-b: #c59991;
  --main-color-c: #461811;
  --accent-color-a: #f09789;
  --accent-color-b: #82b5ae;
  --accent-color-c: #557993;
}

a {
  color: inherit;
  text-decoration: none;
}

body {
  line-height: 1.8;
  color: var(--main-color-c);
  letter-spacing: 2px;
  font-family: "Itim", "Noto Sans JP", sans-serif;
  /* font-weight: 300; */
  font-size: 14px;
  font-style: normal;
  font-optical-sizing: auto;
  scrollbar-gutter: stable;
}

h2 {
  position: relative;
  width: 100%;
  text-align: center;
  letter-spacing: -1px;
  font-size: 2em;
  font-style: italic;
  font-weight: normal;
}

.header {
  width: 100%;
}

.nav_area {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.nav_area h1 {
  position: fixed;
  z-index: 10000;
  top: 0;
  left: 0;
  width: 100px;
  margin: 40px;
}

/* @-webkit-keyframes logo-rotate {
  0% {
    rotate: 0deg
  }

  100% {
    rotate: 1440deg;
  }
}

@keyframes logo-rotate {
  0% {
    rotate: 0deg
  }

  100% {
    rotate: 1440deg;
  }
} */
.nav_area h1 img {
  width: 100%;
  -webkit-animation: logo-rotate linear;
  animation: logo-rotate linear;
  perspective: 1000;
  will-change: transform;
  animation-timeline: scroll();
}

nav {
  position: absolute;
  z-index: 1000;
  top: 70px;
  right: 20px;
  width: 60%;
  max-width: 1100px;
  letter-spacing: 0;
  font-size: 1.3em;
}

nav ul {
  display: flex;
  justify-content: space-evenly;
}

nav li {
  width: 100px;
  height: 1.6em;
  list-style: none;
  text-align: center;
}

.hero-header {
  height: 100lvh;
}

.hero-header-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  background: url(../images/01.jpg) no-repeat center center;
  background-size: cover;
}

.infoBannerArea {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 200px;
  background: var(--base-color-c);
}

.infoBannerArea a {
  display: flex;
  justify-content: center;
  /* width: 33%; */
  max-width: 480px;
  /* height: 100%; */
  padding: 1em;
}

.infoBannerArea a img {
  width: 100%;
}

.swiper {
  width: 50%;
  min-width: 490px;
}

@media screen and (min-width: 800px) {
  .swiper {
    width: 100%;
    max-width: 1400px;
  }
}

.swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.swiper-button-next, .swiper-button-prev {
  color: #461811;
}

.swiper-pagination-bullet-active {
  background: #461811;
}

.concept {
  padding: 120px 0;
  color: var(--main-color-c);
  background: var(--base-color-c);
  text-align: center;
}

.concept h3, .concept p {
  line-height: 1.6em;
  margin-top: 24px;
  letter-spacing: 2px;
  font-family: "Noto Sans jp", sans-serif;
}

.concept span {
  display: inline-block;
  margin: 0.6em 0;
}

.feature {
  padding: 120px 0;
  background: #fff;
}

.feature h2 {
  width: 100%;
  text-align: center;
}

.feature_detail {
  max-width: 960px;
  margin: 120px auto;
}

.feature_detail li {
  display: flex;
  align-items: center;
  width: 100%;
  margin: 0 0 80px;
}

.feature_detail li:nth-child(2) {
  flex-direction: row-reverse;
}

.feature_detail li dl {
  width: 50%;
  padding: 0 3em;
}

.feature_detail li dl dd {
  margin: 1.6em 0 0;
}

.feature_detail li picture {
  position: relative;
  width: 50%;
  line-height: 0;
}

.feature_detail li picture img {
  position: relative;
}

.feature_detail li picture::before {
  display: inline-block;
  position: absolute;
  bottom: 18px;
  left: 36px;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(#e1dbd4 30%, transparent 30%);
  background-repeat: repeat;
  background-size: 8px 8px;
  content: "";
}

.feature_detail li:nth-child(2) picture::before {
  bottom: -18px;
  left: -54px;
}

.feature_detail li:nth-child(3) picture::before {
  bottom: 54px;
  left: 50%;
  width: 60%;
}

.product {
  padding: 120px 0;
  background: #fff;
}

.item_img {
  display: inline-block;
  position: relative;
  width: 100%;
  cursor: pointer;
}

/* .item_img div {
  right: 10px;
  bottom: 16px;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
} */
.item_img::before {
  display: inline-block;
  position: absolute;
  right: 8px;
  bottom: 16px;
  line-height: 0;
  padding: 1.2em 1.4em;
  border-radius: 2em;
  background: #eee;
  content: "詳細を開く";
  /* animation: ball-scale 1.2s 0s linear infinite; */
  animation: buttonborder 0.6s 0s linear infinite alternate;
  letter-spacing: 1px;
  font-size: 12px;
}

@keyframes buttonborder {
  0% {
    border: solid 2px #ccc;
  }

  100% {
    border: solid 2px #eee;
  }
}

/* .item_img div::before {
  animation-delay: -0.6s;
} */
.item_img::after {
  animation-delay: 0.4s;
}

@keyframes ball-scale {
  0% {
    opacity: 0;
    transform: scale(0.4);
  }

  5% {
    opacity: 1;
  }

  100% {
    transform: scale(1);
    opaity: 0;
  }
}

.product ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  max-width: 1040px;
  margin: 80px auto 0;
}

.product ul li {
  width: calc(100% / 3 - 16px);
  margin: 0 8px 50px;
  list-style: none;
}

.product dl {
  margin: 1em;
}

.item_detail {
  display: none;
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  overflow: auto;
  width: 100vw;
  height: 100vh;
  background: rgb(211 201 186 / 70%);
  font-family: "Noto Sans JP", sans-serif;
}

.item_detail_outer {
  position: fixed;
  top: 5lvh;
  left: 50%;
  overflow: auto;
  width: 66%;
  height: 90lvh;
  padding: 4em 5%;
  border-radius: 10px;
  background: #fff;
  box-shadow: #c1c1c1 0px 0px 20px;
  transform: translateX(-50%);
  filter: blur(0);
}

.item_detail_outer .item_detail_inner {
  margin: 3em auto 2em;
}

.item_detail_outer .item_detail_inner:first-child {
  margin: 2em auto;
}

.item_detail h3::after {
  display: block;
  position: relative;
  bottom: 0.3em;
  width: 100%;
  height: 0.2em;
  background: var(--base-color-c);
  content: "";
}

.item_detail h4 {
  margin: 0.6em 0;
}

.item_detail dt {
  position: relative;
  left: -1em;
}

.item_detail dt::before {
  display: inline-block;
  width: 0.8em;
  height: 0.8em;
  margin-right: 0.2em;
  background: url(../images/list_dog.png) no-repeat center center;
  background-size: contain;
  content: "";
}

.item_detail h3 + div {
  display: flex;
  width: 100%;
  margin-left: 1em;
}

.item_detail h3 + div > div:first-child {
  width: 60%;
}

.item_detail h3 + div > div:last-child {
  width: 40%;
}

.item_detail h3 + div > div:last-child img {
  width: 100%;
}

.item_detail .footnote {
  width: 100%;
  margin: 2em;
  font-size: 0.8em;
}

.item_detail .footnote li {
  width: 100%;
  list-style: decimal;
}

.item_detail .footnote li::marker {
  content: "※";
}

.item_detail_show {
  display: block;
  animation: detail_show 0.3s 1 linear;
}

@keyframes detail_show {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

.detail_close_button {
  position: fixed;
  top: 5%;
  right: 14%;
  width: 40px;
  height: 40px;
  color: #333;
  cursor: pointer;
  transform: rotate(45deg);
  font-size: 0.8em;
}

.detail_close_button::before, .detail_close_button::after {
  display: block;
  position: absolute;
  content: "";
}

.detail_close_button::before {
  top: 19px;
  width: 40px;
  height: 0px;
  border-top: solid 2px #333;
}

.detail_close_button::after {
  top: 0;
  left: 19px;
  width: 0;
  height: 40px;
  border-left: solid 2px #333;
}

.detail_close_button div {
  position: absolute;
  top: 24px;
  left: 24px;
  width: 40px;
  height: 40px;
  transform: rotate(-45deg);
  text-align: center;
}

.product .purchase {
  max-width: 1040px;
  padding: 40px;
  margin: 40px auto 80px;
  background: #efefef;
  text-align: center;
}

.product .purchase ul {
  justify-content: space-around;
  margin-top: 20px;
}

.product .purchase ul li {
  width: calc(100% / 2 - 40px);
  min-width: 24em;
  margin-bottom: 0;
}

.purchase li {
  border-radius: 4px;
  color: #fff;
  background-color: var(--accent-color-a);
  box-shadow: 2px 2px 4px #bbb;
}

.purchase li a {
  display: inline-block;
  width: 100%;
  padding: 0.6em;
}

.purchase li a span {
  display: block;
  letter-spacing: 1px;
  font-family: "Noto Sans JP";
  font-size: 0.9em;
  font-weight: 300;
}

.story {
  padding: 120px 0;
  background: var(--base-color-c);
}

.story h2 {
  z-index: 1;
}

.story div:nth-child(2), .message {
  position: relative;
  max-width: 800px;
  line-height: 3em;
  padding: 60px 80px;
  margin: -1.5em auto 40px;
  background: var(--base-color-a);
  font-family: 'Noto Sans JP', sans-serif;
}

.story div:nth-child(2)::after, .message::after {
  display: inline-block;
  position: absolute;
  z-index: 0;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background: #fff;
  content: "";
  transform: rotate(1deg);
}

.story > div {
  max-width: 800px;
  padding: 60px 80px;
  margin: -1.5em auto 0;
  background: #ead7d0;
  font-family: 'Noto Sans JP', sans-serif;
}

.story dl {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 2em auto;
}

.story dd {
  padding-left: 1em;
}

.story p, .story h3 {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: auto;
  margin-top: 1em;
  font-weight: normal;
}

.story h4 {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: auto;
  margin: 3em auto 0;
}

.lower_siteimage {
  width: 100%;
  height: 480px;
  background: url(../images/05.jpg) no-repeat center center / cover;
}

.contact {
  padding: 120px 0;
  background: var(--base-color-c);
}

.contact > div {
  display: flex;
  position: relative;
  z-index: 1;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 560px;
  height: 240px;
  margin: 0 auto;
  background: #fff;
  text-align: center;
}

.contact > div::after {
  position: absolute;
  z-index: 0;
  top: -2em;
  left: -2em;
  width: calc(100% + 4em);
  height: calc(100% + 4em);
  background-image: linear-gradient(#c0bdba 30%, transparent 30%);
  background-repeat: repeat;
  background-size: 2px 2px;
  content: "";
}

.contact div div {
  display: flex;
  position: relative;
  z-index: 1;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 40px;
  background: #fff;
}

.footer_area {
  width: 100%;
  background: #c0bdba;
  font-family: "Noto Sans jp", sans-serif;
}

.footer_area p {
  padding: 0.6em 0;
  color: #fff;
  text-align: center;
  font-size: 12px;
}

.footer {
  display: flex;
  justify-content: space-around;
  max-width: 600px;
  padding: 80px 0 40px;
  margin: 0 auto;
}

.footer ul {
  width: 40%;
}

.footer ul:last-child {
  padding-left: calc(40% - 4.6em);
}

.footer li {
  padding: 0;
  margin-top: 0.3em;
  list-style: none;
}

.footer li img {
  width: 66%;
}

.to_top {
  display: inline-block;
  position: fixed;
  right: 80px;
  bottom: 80px;
  padding: 0 0 0 16px;
  opacity: 0.8;
  color: #000;
  vertical-align: middle;
  font-size: 15px;
  text-decoration: none;
}

.to_top::before, .to_top::after {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  margin: auto;
  content: "";
  vertical-align: middle;
}

.to_top::before {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #333;
}

.to_top::after {
  top: 2px;
  left: 24px;
  width: 16px;
  height: 16px;
  border-top: 4px solid #fff;
  border-right: 4px solid #fff;
  transform: rotate(315deg);
}

@media screen and (max-width: 740px) {
  .main {
    overflow: hidden;
  }

  h2 {
    margin-left: 24px;
    text-align: left;
  }

  .concept h3, .concept p {
    margin: 24px;
    text-align: left;
    font-size: 0.8em;
  }

  .nav_area h1 {
    width: 80px;
    /* position: absolute; */
    margin-top: 2rem;
    margin-left: 1.6rem;
  }

  nav {
    top: 32px;
    right: 0;
    justify-content: end;
    width: 100%;
  }

  nav ul {
    flex-wrap: wrap;
    justify-content: end;
  }

  nav ul li {
    width: 50%;
    margin-right: 1.6em;
    margin-bottom: 8px;
    text-align: right;
  }

  .infoBannerArea {
    width: 100%;
    height: auto;
  }

  .infoBannerArea a {
    display: flex;
    pointer-events: none;
  }

  .infoBannerArea a img {
    width: 100%;
  }

  .swiper {
    width: 100%;
  }

  .concept {};

  .product .purchase {
    padding: 40px 20px;
  }

  .product .purchase ul li {
    width: 100%;
    margin: 0 0 40px;
  }

  .purchase li a span {
    font-size: 0.8em;
  }

  .feature h2 {
    text-align: left;
  }

  .feature_detail {
    margin-top: 40px;
  }

  .feature_detail li {
    flex-wrap: wrap;
    justify-content: center;
  }

  .feature_detail li dl {
    width: 100%;
    padding: 0 2em;
  }

  .feature_detail li dl dd {
    font-size: 0.8em;
  }

  .feature_detail li picture {
    width: 90%;
    margin-top: 3em;
  }

  .product ul {
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 40px;
  }

  .product ul li {
    width: 90%;
    margin-bottom: 24px;
  }

  .story div:nth-child(2), .message, .story > div {
    line-height: 2em;
    padding: 40px 24px;
    font-size: 0.8em;
  }

  .story div:nth-child(2), .message, .story > div {
    width: 98%;
  }

  .story div:nth-child(2)::after, .message::after {
    transform: rotate(1deg) translateX(0);
  }

  .contact h2 {
    margin-left: 0;
    text-align: center;
  }

  .contact > div {
    width: 90%;
  }

  .contact div div {
    padding: 24px;
  }

  .to_top {
    z-index: 10000;
    right: 64px;
    bottom: 56px;
  }

  .footer {
    display: block;
    padding-left: 3em;
    font-family: "Noto Sans jp";
  }

  .footer ul {
    width: 100%;
  }

  .footer li img {
    width: 8em;
  }

  .footer ul:last-child {
    padding: 0;
    margin-top: 1em;
  }

  .item_detail {
    z-index: 99999;
    font-size: 0.9em;
  }

  .item_detail_outer {
    top: 5px;
    left: 50%;
    width: calc(100vw - 10px);
    height: calc(100lvh - 10px);
    border-radius: 5px;
    transform: translateX(-50%);
  }

  .item_detail_inner {
    margin: 2em auto;
  }

  .item_detail h3 + div {
    flex-direction: column-reverse;
    margin-left: 0;
  }

  .item_detail h3 + div > div:first-child {
    width: 100%;
  }

  .item_detail h3 + div > div:last-child {
    width: 100%;
  }

  .item_detail h3 + div > div:last-child img {
    width: 100%;
  }

  .item_detail .footnote {
    width: 80%;
    margin: 2em;
    font-size: 0.8em;
  }

  .detail_close_button {
    position: fixed;
    top: 20px;
    right: 20px;
  }

  .to_top {
    right: 56px;
    bottom: 46px;
  }

  .to_top::before {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #00000075;
  }

  .to_top::after {
    top: 2px;
    left: 18px;
    width: 16px;
    height: 16px;
    border-top: 3px solid #fff;
    border-right: 3px solid #fff;
    transform: rotate(315deg);
  }
}
