/* ================================
   Global base
=================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  overflow: auto;
}

body {
  font-family: "Roboto", sans-serif;
  font-weight: 300;
  font-size: 16px;
  line-height: 150%;
  overflow-x: hidden;
}

img {
  max-width: 100%;
}

a {
  transition: 0.5s;
}

:root {
  --ja: "Noto Sans JP", sans-serif;
  --myOrange: #ff9d00;
}

/* PC / SP 切り替え用 */
.pc {
  display: block;
}
.sp {
  display: none;
}

/* ================================
   Layout
=================================== */
/* container */
.container {
  max-width: 1188px;
  padding: 0 4%;
  margin: 0 auto;
}

/* section space */
.products,
.about,
.shop,
.contact {
  padding: 80px 0;
}

/* section title */
.ttl {
  font-size: 30px;
  padding-bottom: 25px;
  margin-bottom: 60px;
  text-align: center;
  position: relative;
}

.ttl::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 2px;
  background-color: var(--myOrange);
}

/* ================================
   Header / Menu
=================================== */
.menu ul {
  display: flex;
}

.menu li {
  padding: 0 40px;
}

.menu a {
  font-size: 20px;
}

header .menu {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 10000;
  height: 80px;
  background-color: rgba(0, 0, 0, 0.8);
}

header .menu ul {
  height: 80px;
  align-items: center;
}

header .menu li:not(:last-of-type) {
  border-right: solid 1px #fff;
}

header .menu a {
  color: #fff;
}

.menu a:hover {
  color: var(--myOrange);
}

/* ================================
   KV
=================================== */
.kv {
  position: relative;
}
.kv h3 {
  position: absolute;
  top: 100px;
  left: 11%;
  color: #fff;
  font-size: 25px;
  line-height: 1.15;
  font-weight: 500;
  z-index: 100;
  text-shadow: 5px 5px 10px rgba(0, 0, 0, 0.3);
}
.kv h1 {
  position: absolute;
  top: 145px;
  left: 11%;
  color: #fff;
  font-size: 80px;
  line-height: 1.15;
  font-weight: 500;
  z-index: 100;
  text-shadow: 5px 5px 10px rgba(0, 0, 0, 0.3);
}

.my-swiper img {
  max-width: none;
  width: 100%;
  height: auto;
}

/* ================================
   Products
=================================== */
.products ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 60px 20px;
  margin-bottom: 60px;
}

.products p {
  margin-top: 20px;
  text-align: center;
}

/* ================================
   About
=================================== */
.about {
  background-image: url(../img/about.jpg);
  color: #fff;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
}

.about h3 {
  color: #fff;
  text-align: center;
  font-size: 24px;
}

.about p {
  padding: 40px 0;
  font-size: 24px;
  line-height: 133%;
  width: 700px;
  margin: 0 auto;
}

/* ボタン（CONTACT / MORE など共通） */
.btn {
  display: block;
  border: solid 1px;
  width: 300px;
  height: 80px;
  margin: 0 auto;
  text-align: center;
  line-height: 80px;
  position: relative;
  z-index: 10;

  /* 追加：タイポグラフィ調整 */
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 1px;
  color: #fff;
}

.btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 157, 0, 0.95);
  z-index: -1;
  transform: scale(0, 1);
  transform-origin: top left;
  transition: 0.5s;
}

.btn:hover::before {
  transform: scale(1, 1);
}

.btn::after {
  position: absolute;
  content: ">";
  top: 50%;
  right: 40px;
  transform: translateY(-50%);
}

.btn:hover::after {
  right: 30px;
  transition: 0.5s;
}

/* SNSリンクの横並び */
.sns-links {
  display: flex;
  justify-content: center;
  gap: 35px; /* 4つの間の余白 */
  margin: 20px 0 40px; /* 上下の余白（調整OK） */
}

.sns-links a {
  font-size: 18px;
  color: #6c4fde; /* 紫寄りの色 */
  text-decoration: none;
  font-weight: 500;
  transition: 0.3s;
}

.sns-links a:hover {
  color: var(--myOrange); /* ホバーでオレンジ */
}
/* ================================
   Contact section
=================================== */
.contact {
  background-image: url(../img/contact.jpg);
  color: #fff;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
  margin-bottom: 80px;
}

.contact p {
  font-size: 30px;
  text-align: center;
}

.contact p:first-of-type {
  padding-bottom: 40px;
}

.contact p a:hover {
  color: var(--myOrange);
}

/* ================================
   Footer
=================================== */
footer {
  border-top: solid 1px #707070;
  padding: 40px 0;
  text-align: center;
}

footer p {
  font-size: 20px;
  margin-bottom: 40px;
}

footer .menu ul {
  justify-content: center;
  margin-bottom: 40px;
}

footer .menu li:not(:last-of-type) {
  border-right: solid 1px;
}

footer small {
  font-size: 14px;
  display: block;
}

/* ================================
   タブレット用 (横幅 751px〜1024px)
=================================== */
@media screen and (max-width: 1024px) and (min-width: 751px) {
  /* KV タイトルを少し小さくして写真とのバランス調整 */
  .kv h1 {
    font-size: 52px;
    line-height: 1.15;
    top: 130px;
    left: 8%;
  }

  .menu a {
    font-size: 18px;
  }

  .about p {
    width: 90%;
    font-size: 20px;
  }

  .btn {
    width: 280px;
    height: 72px;
    line-height: 72px;
    font-size: 22px;
  }

  .contact p {
    font-size: 26px;
  }
}

/* ================================
   スマホ用 (〜750px)
=================================== */
@media screen and (max-width: 750px) {
  .sns-links {
    flex-direction: column; /* 縦並び */
    align-items: center; /* 中央寄せ維持 */
    gap: 10px; /* 間隔ちょい狭め */
    margin: 16px 0 32px;
  }

  .sns-links a {
    font-size: 14px; /* 文字サイズ小さめ */
  }

  /* PC/SP 切り替え */
  .pc {
    display: none;
  }
  .sp {
    display: block;
  }

  /* section space */
  .products,
  .about,
  .shop,
  .contact {
    padding: 60px 0;
  }

  /* section title */
  .ttl {
    margin-bottom: 40px;
    font-size: 24px;
  }

  /* ハンバーガーボタン */
  .h-btn {
    width: 50px;
    height: 50px;
    background-color: rgba(0, 0, 0, 0.8);
    position: fixed;
    top: 0;
    right: 0;
    z-index: 10000;
  }

  .h-btn div {
    width: calc(100% - 20px);
    height: 100%;
    margin: 0 auto;
    position: relative;
  }

  .h-btn div span {
    position: absolute;
    width: 100%;
    height: 1px;
    right: 0;
    background-color: #fff;
    transition: 0.5s;
  }

  .h-btn div span:first-of-type {
    top: 19px;
  }

  .h-btn div span:last-of-type {
    top: 30px;
    width: 50%;
  }

  .h-btn.active div span {
    top: 50%;
  }

  .h-btn.active div span:first-of-type {
    transform: translateY(-50%) rotate(45deg);
  }

  .h-btn.active div span:last-of-type {
    transform: translateY(-50%) rotate(-45deg);
    width: 100%;
  }

  /* ドロワーメニュー */
  .menu ul {
    flex-wrap: wrap;
  }

  .menu li {
    width: 100%;
    padding: 0%;
    text-align: center;
  }

  header .menu {
    top: 50px;
    width: 210px;
    height: calc(100vh - 50px);
    padding-top: 60px;
    transform: translateX(100vw);
    transition: 0.5s;
  }

  header .menu ul {
    height: auto;
    gap: 40px 0;
  }

  header .menu li:not(:last-of-type) {
    border: transparent;
  }

  header .menu.active {
    transform: translateX(0);
  }

  /* KV タイトル */
  .kv h1 {
    top: 60px;
    left: 4%;
    font-size: 32px;
    line-height: 1.2;
  }

  /* Products */
  .products li {
    width: 100%;
  }

  .products ul {
    gap: 40px 0;
  }

  /* About */
  .about {
    background-image: url(../img/sp/about.jpg);
    background-attachment: scroll; /* モバイルでのカクつき対策 */
  }

  .about p {
    width: 100%;
    font-size: 16px;
    padding: 24px 0;
  }

  /* ボタン（スマホでは少し小さめ） */
  .btn {
    width: 260px;
    height: 64px;
    line-height: 64px;
    font-size: 18px;
  }

  /* Shop */
  .shop iframe {
    height: 307px;
  }

  .shop p {
    font-size: 16px;
    padding-top: 20px;
  }

  /* Contact */
  .contact {
    background-image: url(../img/sp/contact.jpg);
    background-attachment: scroll;
    margin-bottom: 40px;
  }

  .contact p:first-of-type {
    padding-bottom: 20px;
  }

  .contact p {
    font-size: 20px;
  }

  /* Footer */
  footer .menu ul {
    gap: 20px 0;
  }

  footer .menu li:not(:last-of-type) {
    border-right: transparent;
  }

  footer p {
    font-size: 16px;
    margin-bottom: 24px;
  }
}
