body {
  font-family: "Shippori Mincho", serif;
}
.site-header {
  background: #fff;
  padding: 30px;
}

.site-header__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* ロゴ部分 */
.site-logo__main {
  width: 100%;
  max-width: 14.375rem;
}

.site-logo__sub {
  font-size: 1.25rem;
  color: #555;
  margin-top: 0.25rem;
  text-align: center;
}
.site-nav {
  display: flex;
  align-items: center;
}
/* ナビゲーション */
.site-nav__list {
  list-style: none;
  display: flex;
  gap: 2.5rem; /* 項目間のスペース */
  margin: 0;
  padding: 0;
}
.site-nav__item {
  border-right: 1px solid #000;
  padding-right: 30px;
}
.site-nav__item:last-child {
  border: none;
}

.site-nav__item a {
  text-decoration: none;
  color: #333;
  font-size: 1.25rem;
  transition: color 0.3s;
}

.site-nav__item a:hover {
  color: #007acc; /* ホバー時の色 */
}

/* ハンバーガーメニュー */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 0.8rem;
  border-radius: 8px;
  transition: background-color 0.3s ease;
  margin-left: 1rem;
}
.hamburger span {
  width: 48px;
  height: 2px;
  background-color: #000;
  display: block;
  margin: 5px 0;
}
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(10px, 11px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100vw;
  height: 100vh;
  background: #fff;
  transition: right 0.3s ease;
  z-index: 1001;
  padding: 40px;
  overflow-y: auto;
  color: #000;
}
.mobile-menu__list li {
  margin-bottom: 30px;
  text-align: center;
}
.mobile-menu.active {
  right: 0;
}

/* メインコンテンツ */
.main-content {
  margin-top: 90px;
  padding: 2rem;
}

.hero {
  background: white;
  padding: 3rem 2rem;
  border-radius: 15px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  text-align: center;
  margin-bottom: 2rem;
}

.hero h1 {
  color: #333;
  margin-bottom: 1rem;
  font-size: 2.5rem;
}

.hero p {
  color: #666;
  font-size: 1.1rem;
}

/* ここまで */

.content-inner {
  width: 100%;
  max-width: 1200px;
  padding-left: 20px;
  padding-right: 20px;
  margin-inline: auto;
}
.about {
  padding-top: 40px;
}
.about__text-box {
  text-align: center;
}
.about p {
  font-size: 1rem;
  line-height: 1.5;
  padding-bottom: 20px;
}
.product-list {
  padding-top: 100px;
}
.product-list__item-main-contents {
  display: flex;
  flex-direction: row;
  gap: 60px;
  padding-inline: 20px;
  margin-bottom: 80px;
}
.product-list__item-main-contents p {
  font-size: 1rem;
  text-align: center;
  line-height: 1.8;
}
.product-list__item-contents {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  row-gap: 80px;
  column-gap: 30px;
  margin-bottom: 100px;
}
.product-list__item-contents p {
  text-align: center;
  font-size: 1rem;
  line-height: 1.8;
}
.info a {
  display: block;
  margin-bottom: 80px;
  line-height: 1.8;
}
.footer__inner {
  padding: 35px;
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
}
.footer__flex-box {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.footer__left h2 {
  width: 380px;
  margin-bottom: 20px;
}
.footer__left h2 span {
  font-size: 1rem;
  text-align: center;
  display: block;
}
.footer__left-address {
  font-size: 1.25rem;
  line-height: 1.5;
  margin-bottom: 40px;
}
.footer__left-info {
  font-size: 1.25rem;
  line-height: 1.5;
}
.footer__left-info a {
  display: block;
}
.footer__center {
  padding-top: 80px;
}
.footer__center-nav li a {
  font-size: 1.25rem;
  line-height: 2;
}
.footer__right-link--top {
  border: 1px solid #000;
  display: block;
  padding: 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  margin-bottom: 40px;
}
.footer__right-link--top p {
  font-size: 1rem;
  text-align: center;
}
.footer__right-link--top img {
  width: 250px;
}
.footer__right-link--bottom {
  border: 1px solid #000;
  display: block;
  padding: 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.footer__right-link--bottom p {
  font-size: 1rem;
  text-align: center;
}
.footer__right-link--bottom img {
  width: 250px;
}
.footer__sns {
  margin-bottom: 40px;
}
.footer__copy {
  text-align: center;
  font-size: 14px;
}
/* レスポンシブデザイン */
@media screen and (max-width: 768px) {
  .site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1100;   /* ← これでヘッダー（=ハンバーガー）を最前面に */
    padding: 5px;
    background: #fff;
  }
  :root { --header-h: 100px; } /* 必要なら数値調整 */
  .mobile-menu {
    top: var(--header-h);                       /* ← 0から変更 */
    height: calc(100vh - var(--header-h));      /* ← 被らない */
    z-index: 1000;                              /* ← ヘッダーより下 */
    right: -100%;
  }
  .hamburger {
    display: flex;
  }

  .site-nav__list {
    display: none;
  }

  .site-header__inner {
    padding: 1rem;
  }

  .content-inner {
    padding-inline: 10px;
    padding-block: 10px;
  }

  .main-view {
    padding-top: 117px;

  }
  .about {
  padding-top: 10px;
}

  .site-logo {
    gap: 0.5rem;
  }
  .site-logo__main {
    margin-bottom: 0;
    width:90%;
  }
  .site-logo__main img {
    height: auto;
  }

  .site-logo__sub {
    font-size: 0.7rem;
    padding: 0.2rem 0.6rem;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .main-content {
    padding: 1rem;
  }

  .hero {
    padding: 2rem 1rem;
  }
  .product-list__item-main-contents {
    flex-direction: column;
    padding-inline: 0;
  }
  .product-list__item-contents {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer__left h2 {
    width: 100%;
  }

  .footer__flex-box {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
  .footer__flex-box .footer__right:nth-child(3) {
    /* 3番目の要素を1列目から最終列まで（2列分）にまたがらせる */
    grid-column: 1 / -1;
  }
  .footer__center {
    padding-top: 0;
  }
}

@media (max-width: 500px) {
  .footer__flex-box {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 30px;
  }
}
.footer__sns {
  margin-top: 20px;
}

.footer__sns--insta img {
  width: 24px;
  height: 24px;
  margin-right: 10px;
}
.footer__sns--x img {
  width: 24px;
  height: 24px;
  margin-right: 10px;
}
.footer__sns--map img {
  width: 24px;
  height: 24px;
}

:root { --header-h:100px; } /* 初期値。JSで上書きされます */

section[id],
[id][data-anchor],      /* idが付いた見出し等 */
.anchor-target {        /* 必要なら専用クラスを付けてもOK */
  scroll-margin-top: calc(var(--header-h) + 12px); /* ちょい余白 */
}