@charset "UTF-8";

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

img {
  max-width: 100%;
}

/* {
  outline: 2px solid red;
}*/
body {
  font-size: 100%;
  scroll-behavior: smooth;
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "BIZ UDPGothic", sans-serif;
  line-height: 1.7;
  margin: 0;
  color: #000;
}

/* レイアウト */


/* ヘッダー */
.title {
  position: absolute;
  left: 20px;
  transform: translateY(-50%);
  line-height: 1.7;
  letter-spacing: 0.3rem;
  z-index: 2;
}

.page-header {
  background: #fff;
  display: flex;
  flex-flow: row nowrap;
  justify-content: center;
  align-items: center;

  position: relative;
}

nav {
  width: 100%;
  display: flex;
  justify-content: flex-end;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: 2em;
  font-size: 1.5rem;
  list-style: none;
}

.main-nav li:last-child {
  margin-right: 1.5rem;
}

.main-nav a {
  color: #432;
}

.main-nav a:hover {
  color: #0bd;
}

.nav-items {
  padding-top: 250px;
  padding-bottom: 200px;
}

/* ナビのリンク */
.nav-items__item a {
  color: black;
  width: 100%;
  display: block;
  text-align: center;
  font-size: 20px;
  margin-bottom: 24px;
}

.nav-items__item:last-child a {
  margin-bottom: 0;
}

/* 最初は非表示 */
.header__nav {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(240, 240, 240, 0.9);
  z-index: 999;
  text-align: center;
}

ul {
  list-style-type: none;
}

li {
  display: list-item;
  text-align: -webkit-match-parent;
  unicode-bidi: isolate;
}


/* active クラスがついたら表示 */
.header__nav.active {
  display: block;
  align-items: center;
}

/*ハンバーガーメニュー*/
.header__hamburger {
  width: 48px;
  height: 100%;
}

.hamburger {
  background-color: transparent;
  /*buttonタグデフォルトスタイルを打ち消し*/
  border-color: transparent;
  /*buttonタグデフォルトスタイルを打ち消し*/
  z-index: 9999;
}

.hamburger span {
  width: 100%;
  height: 1px;
  background-color: #000;
  position: relative;
  transition: ease .4s;
  /*ハンバーガーメニュークリック時の三本線の動きを遅延*/
  display: block;
}

.hamburger span:nth-child(1) {
  top: 0;
}

.hamburger span:nth-child(2) {
  margin: 8px 0;
}

.hamburger span:nth-child(3) {
  top: 0;
}

/* ハンバーガーメニュークリック後のスタイル */
.header__nav.active {
  transform: translateX(0);
}

.hamburger.active span:nth-child(1) {
  top: 5px;
  transform: rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  top: -13px;
  transform: rotate(-45deg);
}

.img-frame {
  position: relative;
  max-width: 100%;
  width: 100%;
  height: 500px;
  overflow: hidden;
  margin: 0 auto;
}

.img-01,
.img-02,
.img-03 {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

.img-01 {
  background-image: url('imges/header1.jpg');
  animation: slide-animation-01 24s infinite;
}

.img-02 {
  background-image: url('imges/header2.jpg');
  animation: slide-animation-02 24s infinite;
}

.img-03 {
  background-image: url('imges/header3.jpg');
  animation: slide-animation-03 24s infinite;
}

@keyframes slide-animation-01 {
  0% {
    opacity: 1;
    transform: scale(1.0);
  }

  30% {
    opacity: 1;
  }

  40% {
    opacity: 0;
    transform: scale(1.15);
  }

  90% {
    opacity: 0
  }

  100% {
    opacity: 1;
    transform: scale(1.0);
  }
}

@keyframes slide-animation-02 {
  0% {
    opacity: 0;
  }

  30% {
    opacity: 0;
    transform: scale(1.1);
  }

  40% {
    opacity: 1;
  }

  60% {
    opacity: 1;
  }

  70% {
    opacity: 0;
    transform: scale(1.0);
  }

  100% {
    opacity: 0;
  }
}

@keyframes slide-animation-03 {
  0% {
    opacity: 0;
  }

  60% {
    opacity: 0;
    transform: scale(1.0);
  }

  70% {
    opacity: 1;
  }

  90% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform: scale(1.1);
  }
}

/* ボタン */
.btn.slide {
  cursor: pointer;
  transition: .2s cubic-bezier(0.45, 0, 0.55, 1);
  background: #d9d9d9;
  border: 2px solid #d9d9d9;
  border-radius: 60px;
  color: #565656;
  display: block;
  font-weight: bold;
  max-width: 300px;
  padding: 15px 40px;
  text-align: center;
  overflow: hidden;
  position: relative;
  z-index: 1;

}

.btn.slide::after {
  position: absolute;
  top: 0;
  left: 0;
  content: '';
  width: 100%;
  height: 100%;
  transform: scale(0.1);
  transform-origin: left top;
  transition: .2s cubic-bezier(0.45, 0, 0.55, 1);
  z-index: -1;
}

.btn.slide:hover {
  color: #d9d9d9;
}

.btn.slide:hover::after {
  transform: scale(1, 1);
}

.btn {
  display: inline-block;
  font-size: 1.5rem;
  background-color: #fff;
  color: #000;
  padding: .75rem 1.5rem;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.btn:hover {
  background-color: #565656;
  transform: scale(1.1);
}

/*アバウト*/
.About {
  text-align: center;
  font-size: 24px;
}

/*プロダクト*/
.wrapper {
  background-color: rgb(247, 198, 189, 0.4);
}

.wrapper h1 {
  text-align: center;
  font-size: 36px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
  padding: 0 5vw;
}

.product-grid img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
}
/* プロダクトページ */

/* フッター */
footer {
  padding-top: 4rem;
  padding-bottom: 2rem;
  color: #000;
}

/*コンタクト*/
#Contact {
  margin-top: 4rem;
}

.c-container {
  max-width: 1600px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 200px;
  text-align: center;
}

.p-footer__info__card {
  flex-direction: column;
  padding: 90px calc((50% - 5px) * .1481481481) 70px;
}

.p-footer__info__card__title {
  text-align: center;
  font-size: 36px;
  font-family: var(--font-family-en);
  font-weight: 400;
}

.p-footer__info__card--contact {
  background-color: rgb(247, 198, 189);
  --color-button-bg: rgb(var(--rgb-color-bg));
  --color-button-text: rgb(var(--rgb-color-text));
}

.p-footer__info__card__heading {
  margin-top: 10px;
  text-align: center;
  line-height: 26px;
  font-size: 16px;
}

footer h2 {
  display: flex;
  align-items: center;
  padding-left: 20px;
  height: 120px;
  font-size: 36px;
  line-height: 1.7;
  letter-spacing: 0.3rem;
  bottom: auto;
  z-index: 2;
  margin-top: 50px;
}

.footer-nav {
  display: flex;
  justify-content: center;
  gap: 2em;
  font-size: 1.5rem;
  list-style: none;
}

.footer-nav a {
  color: #432;
}

.copyright {
  font-weight: 200;
  font-style: normal;
  text-align: center;
}