/* 共通設定 */
html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    font-size: 62.5%;
    background:#f6f1e9;
    color: #333;
    box-sizing: border-box;
    overflow-x: hidden;
  }
  .vertical-line {
    position: fixed;
    top: 0;
    left: 20px; /* 20pxくらいで控えめ */
    width: 1px;
    height: 100vh;
    background-color: rgba(150, 127, 96, 0.5); /* ベージュっぽい色に透明感 */
    z-index: 2;
  }
  
    /* グーグルフォントCSS設定 */
    html{
        font-family: "Noto Sans JP", sans-serif;
        font-optical-sizing: auto;
        font-weight: 400;
        font-style: normal;
      }
      .poppins {
        font-family: "Poppins", sans-serif;
        font-optical-sizing: auto;
        font-weight: 500;
        font-style: normal; 
    }
    .kiwi-maru-medium {
        font-family: "Kiwi Maru", serif;
        font-weight: 500;
        font-style: italic;
      }
      /* 玉ねぎフォント　*/
      @font-face {
        font-family: 'TamanegiGeki';
        src: url('tamanegi-geki.ttf') format('truetype');
        font-weight: normal;
        font-style: normal;
      }
      /* 後で名前つけて適用させる */
      .aaa {
        font-family: 'TamanegiGeki', sans-serif;
      }
            
      
  
  /* レイアウト用ラッパー */
  .site-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
  }
  /* 新ヘッダー */
  .mobile-header {
    display: flex;
    justify-content: space-between;
    box-sizing: border-box; /* ← これが重要 */
    align-items: center;
    background:#f6f1e9;
    padding: 0 1.5rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    max-width: 100%;
    top: 0%;
    z-index: 1;
    opacity: 85%;
  }
/* ロゴ画像 */
.logo img {
  height: 64px; 
  max-height: 100%;
  max-width: 100%;
  width: auto;
  display: block;
  transition: transform 0.3s ease, opacity 0.3s ease;
  z-index: 3;
}

/* ロゴのホバー動作 */  
  .logo:hover img {
    transform: scale(1.05); /* 少し拡大 */
    opacity: 0.8;            /* 少し透過で反応 */
    filter: brightness(0.9);
  }

  .menu-toggle {
    padding: 0.5rem;      
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 4px;
  }
  
  .menu-toggle .bar {
    width: 25px;
    height: 3px;
    background-color: #333;
    display: block;
    transition: 0.3s;
  }
  .menu-toggle:hover .bar {
    background-color: rgb(78, 135, 222); /* ホバーで色変化 */
  }  
  
  .side-menu {
    position: fixed;
    top: 64px;
    right: -100%;
    width: 70%;
    height: calc(100% - 64px);
    overflow: hidden;
    background: rgba(51, 51, 51, 0.8);
    z-index: 3;
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
  }
  
  
  .side-menu.open {
    right: 0;
  }
  
  .side-menu .close-menu {
    background: none;
    border: none;
    font-size: 2rem;
    color: white;
    position: absolute;
    top: 1rem;
    right: 1rem;
    cursor: pointer;
  }
  
  .side-menu ul {
    list-style: none;
    padding: 0;
    margin-top: 3rem;
  }
  
  .side-menu li {
    margin: 1.5rem 0;
  }
  
  .side-menu a {
    color: white;
    text-decoration: none;
    font-size: 1.7rem;
    font-weight: bold;
    transition: 0.3s;
    padding-left: 0.5rem;
  }
  .side-menu a:hover {
    color: rgb(78, 135, 222); /* カーソルを合わせたときの色 */
  }
/* メニューバー内の購入ボタン ボタン２ */
.menu-purchase-btn {
    display: inline-block;
    padding: 0.7rem 1.5rem;
    background: linear-gradient(145deg, #5a441e, #7c6033); 
    color: #5a441e;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    font-size: 1rem;
    margin: 2rem auto 0 auto;  /* 上にスペース＋中央配置 */
    transition: background-color 0.3s, transform 0.2s;
    text-align: center;
    /* 中央にする */
    align-self: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  }
  
  .menu-purchase-btn:hover {
    background: linear-gradient(145deg, #4a3717, #6e512a);
    transform: translateY(-2px);
    color: #fff !important; /* ← これで強制上書き */
  }
  .menu-purchase-btn i {
    margin-right: 0.5rem;
    color: inherit; /* ボタンの文字色と揃える */
  }
  .hero-purchase-btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(145deg, #5a441e, #7c6033); 
    color: white;
    font-weight: bold;
    text-decoration: none;
    border-radius: 8px;
    font-size: 1.3rem;
    transition: background-color 0.3s ease, transform 0.2s ease;
  }
  
  .hero-purchase-btn:hover {
    background: linear-gradient(145deg, #4a3717, #6e512a);
    transform: translateY(-2px);
  }

  /* メニューバーのカートに関するボタン */
  .cart-icon-wrapper {
    position: relative;
    display: inline-block;
    margin-left: auto; 
  }
  
  .cart-icon {
    width: 32px;
    height: auto;
    transition: transform 0.2s ease, opacity 0.2s ease, filter 0.2s ease;
  }
  .cart-icon:hover {
    transform: scale(1.1); /* 少し拡大 */
    opacity: 0.8;            /* 少し透過で反応 */
    filter: brightness(0.9);
  }

  .cart-count {
    display: none;
    position: absolute;
    top: -6px;
    right: -6px;
    background-color: red;
    color: white;
    font-size: 12px;
    padding: 2px 6px;
    border-radius: 50%;
    font-weight: bold;
  }
  
  


  /* ボタン3. ホームに戻るボタン */
.button-back-home {
    display: inline-block;
    padding: 0.7rem 1.5rem;
    background-color: #333;
    color: #fff;
    font-weight: bold;
    font-size: 1rem;
    border: none;
    border-radius: 8px;
    text-decoration: none;
    margin-top: 1rem;
    transition: background-color 0.3s, transform 0.2s;
  }
  
  .button-back-home:hover {
    background-color: #555;
    transform: translateY(-2px);
  }
  /* ヒーローセクション */
  /* ヒーロー全体フェードイン */
.hero {
  position: relative;
  width: 100%;
  height: 100%;
  max-width: 900px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  border-radius: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-image: url('img/townpolice.png');
  background-size: cover;
  background-position: center;
  overflow: hidden; /* ★ズーム背景をはみ出させない */
  animation: heroFadeIn 1.5s ease-out forwards;
  margin-bottom: 6rem;
}

/* 背景ズーム用 */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: inherit;
  background-size: 100%;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 30px; /* 角丸を保つ */
  z-index: 0;
  animation: heroZoom 30s ease-in-out forwards;
}

/* オーバーレイ（黒い半透明） */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.5);
  z-index: 1;
  border-radius: 30px;
}

/* コンテンツを前面に */
.hero-content {
  position: relative;
  z-index: 2;
  color: white;
  opacity: 0;
  transform: translateY(20px);
  animation: heroTextFadeIn 1.5s ease-out 1.5s forwards; /* ← 1.5秒後にふわっと */
}

@keyframes heroTextFadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


.hero-content p {
  font-size: 2rem;
}

.hero-content h1 {
  font-family: 'TamanegiGeki', sans-serif;
  font-size: 5rem;
  margin-bottom: 1.5rem;
}


@media screen and (max-width: 768px) {
  .hero-content h1 {
    font-size: 4rem;
  }
  .hero-content p{
    font-size: 1.7rem;
  }

  .hero {
    height: 300px;
  }

}

/* フェードインのアニメーション */
@keyframes heroFadeIn {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 背景の超スローズーム */
@keyframes heroZoom {
  0% {
    background-size: 100%;
  }
  100% {
    background-size: 110%;
  }
}
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translate(-30%, 0); /* ← 最初から基準位置をここに */
  font-size: 1.5rem;
  color: white;
  opacity: 0;
  animation: scrollFadeIn 1s ease-out 2.8s forwards, scrollBounce 2s 3.8s infinite;
  z-index: 2;
}

/* 最初にフェードイン＋位置キープ */
@keyframes scrollFadeIn {
  from {
    opacity: 0;
    transform: translate(-50%, 0);
  }
  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

/* そのあと上下にゆらゆら */
@keyframes scrollBounce {
  0%, 100% {
    transform: translate(-50%, 0);
  }
  50% {
    transform: translate(-50%, 10px);
  }
}

/* ロゴセクション全体 */
.company-intro p {
  font-family: 'TamanegiGeki', sans-serif;
  font-size: 2.1rem;
  margin-bottom: 1.5rem;
  line-height: 1.6;
  color: #292929c6;
}

/* ロゴ画像本体 */
.hero-logo {
  width: 220px;
  max-width: 90%;
  height: auto;
  border-radius: 0;
  animation: logoFadeInUp 1.2s ease forwards;
  opacity: 0;
  transform: translateY(20px);
}

/* フェード＋上昇アニメーション */
@keyframes logoFadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


  /* セクション共通 */
  section {
    padding: 2rem;
    max-width: 900px;
    margin: auto;
    background:#f6f1e9;
    margin-bottom: 2rem;
    border-radius: 10px;
  }


  /* 水玉のアニメ */
  .water-splash {
    position: relative;
    width: 100%;
    height: 100px;
    overflow: hidden;
    margin-top: -2rem;
  }
  
  .drop {
    position: absolute;
    bottom: 0;
    width: 8px;
    height: 8px;
    background: 	#e6d3a6;
    border-radius: 50%;
    animation: splash 2s ease-out infinite;
  }
  
  /* 水滴それぞれにランダムっぽい設定 */
  .drop:nth-child(1) {
    left: 20%;
    animation-delay: 0s;
    width: 6px;
    height: 6px;
  }
  
  .drop:nth-child(2) {
    left: 35%;
    animation-delay: 0.5s;
    width: 8px;
    height: 8px;
  }
  
  .drop:nth-child(3) {
    left: 50%;
    animation-delay: 0.2s;
    width: 7px;
    height: 7px;
  }
  
  .drop:nth-child(4) {
    left: 65%;
    animation-delay: 0.8s;
    width: 9px;
    height: 9px;
  }
  
  .drop:nth-child(5) {
    left: 80%;
    animation-delay: 0.3s;
    width: 5px;
    height: 5px;
  }
  
  .drop:nth-child(6) {
    left: 90%;
    animation-delay: 1s;
    width: 6px;
    height: 6px;
  }
  
  /* 飛び方にもバラつき感を演出 */
  @keyframes splash {
    0% {
      transform: translateY(0) scale(1);
      opacity: 1;
    }
    50% {
      transform: translateY(-40px) scale(1.3);
      opacity: 0.9;
    }
    70% {
      transform: translateY(-70px) scale(0.8);
      opacity: 0.6;
    }
    100% {
      transform: translateY(-90px) scale(0.5);
      opacity: 0;
    }
  }

  .character-wrapper {
    text-align: center;
    margin: 3rem 0;
  }
  
  .character-img {
    max-width: 300px;
    width: 80%;
    height: auto;
    animation: floaty 3s ease-in-out infinite;
  }
  
  @keyframes floaty {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
  }
  
  
  .character-caption {
    margin-top: 0.5rem;
    font-size: 1rem;
    color: #555;
    line-height: 1.4;
  }
  .character-wrapper {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1s ease, transform 1s ease;
  }
  
  .character-wrapper.active {
    opacity: 1;
    transform: translateY(0);
  }
  
  
   /* セクション１の上の余白 */
   #section1 {
    margin-top: 5rem;
   }

/* セクション全体 */
.fade-section {
  position: relative; 
  padding: 4rem 1rem;
  text-align: center;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s ease, transform 1s ease;
}
/* 各セクションの数字 */
.section-number {
  position: absolute;
  top: 0.5rem;
  left: 0.3rem;
  font-size: 1rem;
  color: #bfa74f;
  font-weight: bold;
}

/* アクティブになったら表示 */
.fade-section.active {
  opacity: 1;
  transform: translateY(0);
}

/* 数字の横の英語表記 */
.section-label {
  font-size: 2.5rem;
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-weight: bold;
  color: #bfa74f;
  text-align: center;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-section.active .section-label {
  opacity: 1;
  transform: translateY(0);
}

/* グリッド全体 */
/* まず今あるこれ（全体共通）はそのままでOK！ */
.list-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.list-item {
  display: flex;
  flex-direction: column;
  width: calc(45% - 1rem); /* ←マイナス1remでgap調整してるね */
  max-width: 400px;
  border: 1px solid rgba(160, 134, 99, 0.5);
  border-radius: 15px; /* ここの丸みもOK */
  overflow: hidden;
  background: transparent;
  padding: 2rem;
  transition: transform 0.3s ease;
  z-index: 1;
}

.list-item:hover {
  transform: translateY(-6px);
}

/* 画像部分 */
.image-overlay {
  position: relative;
  width: 100%;
}

.image-overlay img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  border-radius: 3px;
}

.item-title {
  font-size: 1.5rem;
  font-weight: bold;
  text-align: center;
  color: #333;
  white-space: nowrap;
  padding: 1rem;
}

/* 画像の下の説明文 */
.item-description {
  padding: 0 2rem 2rem; /* 上 0、左右 2rem、下 2rem */
  font-size: 1.5rem;
  color: #333;
  line-height: 1.6;
  text-align: center;
}


/* スマホ対応 */
@media (max-width: 768px) {
  .item-title{
    font-size: 1rem;
    padding:1.5rem 1.5rem 0;
    min-height: 3rem;
  }
  .list-item {
    width: calc(45% - 1rem);
    max-width: none;
    padding: 0.5rem; /* ここ好み。スマホならpadding小さめでもいい */
  }
  .list-grid {
    gap: 1rem; /* スマホではギャップ（間隔）も少し狭めると綺麗 */
  }
  .item-description {
    padding: 0 1rem 2rem; /* 上 0、左右 2rem、下 2rem */
    font-size: 1.1rem;
    color: #333;
    line-height: 1.6;
    text-align: left;
  }
  }



/* タイピングアニメーション共通設定 */
.typing-title {
    white-space: nowrap;
    font-size: 1.5rem;
    overflow: hidden;
    display: inline-block;
    opacity: 0;
    width: 0; /* 初期幅 */
  }
  
  .typing-title.visible {
    opacity: 1;
    border-right: none;
  }
  .typing-title.typed {
    opacity: 1;
    width: auto; /* ← これが重要！ */
  }
  
  
  /* タイピングのキーアニメーション */
  @keyframes typing {
    from { width: 0 }
    to { width: 100% }
  }
  
  
  /* 画像 */
  img {
    width: 100%;
    height: auto;
    border-radius: 30px;
  }
  .column-2 {
    width: 48%;
}
  .column-40 {
    width: 40%;
}
.column-55 {
    width: 55%;
}

/* ▼ Moreボタンと矢印 */
.more-button-wrapper {
  position: relative;
  text-align: right;
  margin-top: 2rem;
  padding-right: 1rem;
}

.more-button {
  background: transparent;
  border: none;
  color: #6e6e6ec6;
  font-weight: bold;
  cursor: pointer;
  position: relative;
  z-index: 1;
  font-size: 1rem;
}

.arrow-symbol {
  display: inline-block;
  width: 1.2rem;
  height: 0.6rem;
  background: transparent;
  position: relative;
  margin-left: 0;
}

.arrow-symbol::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 0;
  height: 0;
  border-top: 0.6rem solid transparent;
  border-left: 1.2rem solid #575555c6;
}


/* ▼ MOREボタン押した効果 */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  z-index: 5;
  justify-content: center;
  align-items: center;
  padding: 1rem;
  opacity: 0;
  pointer-events: none; /* クリック防止 */
  transition: opacity 0.6s ease;
  display: flex; /* 最初から flex（←ここが重要） */
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}


/* これが中央表示の白文字のみ */
.modal-text {
  color: #fff;
  font-size: 1.5rem;
  text-align: center;
  line-height: 1.5;
  padding: 1rem;
  max-width: 90vw;
}
.modal-section-number {
  font-family: 'Courier New', monospace; /* 機械的な等幅フォント */
  font-size: 2rem;
  color: #bfa74f; /* ゴールドっぽい色 */
  text-align: center;
  margin-bottom: 1.5rem;
  letter-spacing: 0.1em;
  font-weight: bold;
}

@media (max-width: 768px) {
  .modal-text{
    font-size: 1.3rem;

  }
}

/* 製品一覧ページのcss */
/* ゴールドタイトルがフェードアップするやつ */
.gold-title-animated {
    font-size: 2rem;
    font-weight: bold;
    color: #bfa74f;
    text-align: center;
    margin-bottom: 1rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUpGold 1s ease-out forwards;
    position: relative;
  }
  
  .gold-title-animated::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: #bfa74f;
    margin: 0.5rem auto 0 auto;
    border-radius: 10px;
  }
  
  /* フェードアップアニメーション */
  @keyframes fadeUpGold {
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
/* 製品一覧グリッド */
.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    max-width: 900px;
    margin: 2rem auto;
  }
  
  .product-item {
    background: white;
    padding: 0.1rem;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
  }
  
  .product-item img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 6px;
  }
  .product-item a {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: #007acc;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-size: 0.9rem;
  }
  
  .product-price {
    color: #7a5c2e;
    font-size: 1rem;
    margin: 0.5rem 0;
  }
  

  .lightbox {
    display: none;
    position: fixed;
    z-index: 4;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
  }
  
  .lightbox.open {
    display: flex;
  }
  
  .lightbox-content {
    background: white;
    padding: 1rem;
    border-radius: 10px;
    text-align: center;
    max-width: 90vw;
    max-height: 80vh;
  }
  
  .lightbox-content img {
    max-width: 100%;
    max-height: 70vh;
  }
  
  .lightbox-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    font-size: 2rem;
    color: white;
    cursor: pointer;
  }
  .product-item img {
    cursor: pointer;
  }
  
  
  
  /* レスポンシブ対応 */
 /* スマホ（480px以下）でも2列を維持 */
@media screen and (max-width: 480px) {
    .product-grid {
      grid-template-columns: repeat(2, 1fr);
    }
    .product-title {
        font-size: 0.7rem;
    }
  }
  
  /* タブレット（768px以下）なら3列にする */
  @media screen and (max-width: 768px) {
    .product-grid {
      grid-template-columns: repeat(3, 1fr);
    }
    .product-title {
        font-size: 0.8rem;
    }
  }
  
  /* カート内のcss */
  .cart-item {
    background-color: #fff;
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  }
  
  .cart-item-title {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: #333;
  }
  
  .cart-item-details {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    font-size: 0.95rem;
    color: #555;
  }
  
  .item-subtotal {
    font-weight: bold;
    color: #333;
  }
  
  .remove-btn {
    margin-top: 0.8rem;
    padding: 0.5rem 1rem;
    background-color: #ccc;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9rem;
  }
  
  .remove-btn:hover {
    background-color: #999;
    color: white;
  }
  /* 合計金額に関するcss */
  #cart-summary {
    font-size: 1.2rem;
    font-weight: bold;
    text-align: center;
    margin-top: 1rem;
    padding: 1rem;
  }
  
  #total-price {
    font-size: 1.6rem;
    color: #bfa74f; /* 落ち着いた金色でアクセント */
    margin-left: 0.5rem;
  }
   

  /* 会社概要のレイアウト */
  .company-info h2 {
    font-size: 2rem;
    text-align: center;
    color: #bfa74f; /* 落ち着いた金色系 */
    position: relative;
    margin-bottom: 2rem;
  }
  
  .company-info h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: #bfa74f;
    margin: 0.5rem auto 0 auto;
    border-radius: 10px;
  }
  
  .info-table {
    background: #fff;
    padding: 1rem;
    border-radius: 10px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
    display: grid;
    row-gap: 1.5rem;
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.5rem;
  }
  .info-table .row {
    display: grid;
    grid-template-columns: 100px 1fr;
    align-items: center;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eee;
  }
  
  .info-table .label {
    font-weight: bold;
    color: #7a5c2e;
  }
  
  .info-table .value {
    color: #333;
  }
  /* 会社概要のアニメーション */
  .company-info {
    animation: fadeUp 1s ease-out;
  }
  
  @keyframes fadeUp {
    from {
      opacity: 0;
      transform: translateY(40px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
    

 /* 横並び */
 .flex {
    display:flex;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: center;
 }


 #section6 p {
  font-size: 1.2rem;
  line-height: 1.8;
  color: #333;
  text-align: center;
  margin-top: 1rem;
}


  /* 代表紹介の中のCSS */
  /* フェードアップアニメーション */
/* 代表紹介タイトルのカスタム */
.representative-title {
    font-size: 2rem;            /* 少し大きめ */
    font-weight: 700;           /* 太字 */
    color: #bfa74f;             /* 落ち着いた金色 */
    margin-bottom: 2rem;
    opacity: 0;
    transform: translateX(250px);
    animation: fadeInRight 1s ease-out forwards;
  }
  
  /* アニメーション */
  @keyframes fadeInRight {
    to {
      opacity: 1;
      transform: translateX(0);
    }
  }  

  /* 左→右（代表取締役） */
.fade-in-left {
    opacity: 0;
    transform: translateX(-60px);
    animation: fadeInLeft 0.8s ease-out forwards;
  }
  @keyframes fadeInLeft {
    to {
      opacity: 1;
      transform: translateX(0);
    }
  }
  
  .representative-container{
    padding-top: 0.8rem; 
    margin-bottom: 2rem;
  }
  
  .rep-name {
    font-size: 1.8rem;
    font-weight: 600;
    text-align: center;
    margin: 2rem 0 2rem 0;
  }
  
  .rep-photo {
    text-align: center;
    margin-bottom: 2rem;
  }
  .rep-photo img {
    width: 250px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  }

  /* アニメーション定義 */
@keyframes fadeInUp {
    from {
      opacity: 0;
      transform: translateY(20px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  /* アニメーション適用クラス */
  .fade-in-up {
    opacity: 0;
    animation: fadeInUp 1s ease-out forwards;
  }
  
  .rep-profile p {
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
  }
  
  .rep-message {
    margin-top: 1rem;
    background-color:#ece7e2;
    padding: 2rem;
    border-radius: 10px;
    font-size:1.3rem;
  }
  .rep-message p{
    font-size: 1.5rem;
  }
  @media screen and (max-width: 768px) {
    .rep-message p{
        font-size: 1.2rem;
        text-align: left;
    }
    .rep-profile p {
        line-height: 1.8;
        margin-bottom: 1.5rem;
        font-size: 1.3rem;
    }
  }

  .greeting-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: #7a5c2e;
    padding: 0.3em 0.8em;
    margin: 0 auto 1rem auto;
    display: inline-block;
    line-height: 1.4;
    border-radius: 5px;
  }
  
    /* 代表紹介の中のインスタリンク */
    .social-link {
        text-align: center;
        margin-top: 2rem;
      }
      
      .social-link a {
        color: #e1306c; /* Instagramカラー */
        font-size: 1.5rem;
        text-decoration: none;
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
        transition: color 0.3s;
      }
      
      .social-link a:hover {
        color: #b22159;
      }
      
      .social-link i {
        font-size: 1.5rem;
      }
/* プライバシーポリシー */
.privacy-style {
  text-align: center;
  font-weight: bold;
}
 /* ===== お問い合わせフォーム 共通スタイル ===== */
form {
    max-width: 600px;
    margin: 0 auto;
    padding: 0.5rem;
    box-sizing: border-box;
  }
   
.under-title {
    padding-top: 1rem;
    font-size: 1.3rem;
}
  form label {
    font-weight: bold;
    margin: 0;
    display: block;
    font-size: 1rem;
  }
  
  form input[type="text"],
  form input[type="email"],
  form textarea {
    width: 100%;
    padding: 0.6rem;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1rem;
    box-sizing: border-box;
    margin-bottom: 0.1rem;
    background-color: #fff;
  }
  
  form textarea {
    resize: vertical;
  }
  
  form button {
    padding: 0.75rem 2rem;
    background-color: #007acc;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s;
    display: block;           /* 中央寄せのために block に */
    margin: 1rem auto 0 auto; /* 上:1rem・左右:autoで中央・下:0 */
    max-width: 200px;         /* ボタンが大きくなりすぎないよう制限 */
    text-align: center;
  }
  
  form button:hover {
    background-color: #005fa3;
  }     

  /* 購入後ページのcss */
  .gold-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: #bfa74f;
    text-align: center;
    margin-bottom: 1rem;
  }
    
  /* メインタグ内の設定 */
  main {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    padding: 64px 0;
    background:#f6f1e9;
    border-radius: 10px;
    /* box-shadow: 0 4px 12px rgba(0,0,0,0.05); */
    font-size: 1rem;
    line-height: 1.6;
    flex-grow: 1; /* mainが足りないとき空きスペースを埋める */
  }

  main h1 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    text-align: center;
  }
  main p {
    margin-bottom: 1rem;
  }
  main form {
    margin-top: 1.5rem;
  }

  /* ラジオボタンを非表示にして独自スタイルを上書き */
input[type="radio"] {
    appearance: none;
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid #7a5c2e; /* 外枠：濃いゴールド系 */
    border-radius: 50%;
    outline: none;
    cursor: pointer;
    position: relative;
    margin-right: 0.6rem;
  }
  
  /* 選択されたときの内側の丸（擬似要素） */
  input[type="radio"]::before {
    content: "";
    display: block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #7a5c2e; /* 内側の色：深いブラウン */
    position: absolute;
    top: 4px;
    left: 4px;
    opacity: 0;
    transition: 0.2s ease;
  }
  
  /* チェックされたら内側の丸を表示 */
  input[type="radio"]:checked::before {
    opacity: 1;
  }

  .divider {
    border: none;
    height: 1px;
    background: linear-gradient(
        to right,
        rgba(212, 176, 106, 0),   /* 左端: 透明 */
        rgba(212, 176, 106, 0.6), /* 中央付近: 半透明 */
        rgba(212, 176, 106, 1),   /* 中央: 濃い */
        rgba(212, 176, 106, 0.6), /* 中央付近: 半透明 */
        rgba(212, 176, 106, 0)    /* 右端: 透明 */
        );
    margin: 1.5rem 0;
    border-radius: 3px;
  }
  /* 購入ページの数量選択 */
  form select {
    width: 100%;
    max-width: 200px;
    padding: 0.5rem;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 6px;
    background-color: white;
    margin-bottom: 1rem;
  }
  
   .checkout-button {
    padding: 0.75rem 2rem;
    background-color: #bfa74f; /* 落ち着いた金色 */
    color: #3b2f1c;
    border: none;
    border-radius: 8px;
    font-size: 1.5rem;
    white-space: normal;
    font-weight: bold;
    text-align: center;
    display: block;           /* インライン要素からブロック要素に変更 */
    margin: 2rem auto 0 auto;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
  }

  .checkout-button:hover {
    background-color: #a9913e;
    transform: scale(1.05);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.3);
  }
  main button:disabled {
    background-color: #ccc;
    cursor: not-allowed;
  }
  /* PayPayボタン */
.paypay-button {
    background-color: #d93c30; /* PayPayっぽい赤 */
    color: white;
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s;
    display: block;           /* インライン要素からブロック要素に変更 */
    margin: 2rem auto 0 auto;
  }
  
  .paypay-button:hover {
    background-color: #c5332a; /* 少し暗めの赤に変化 */
  }
  
  /* 無効状態 */
  button:disabled {
    background-color: #ccc;
    cursor: not-allowed;
  }
  hr {
    margin: 2rem 0;
    border: none;
    border-top: 1px solid #ddd;
  }
  /* 購入ページのスマホ対応 */
  @media screen and (max-width: 768px) {
    main {
      width: 90%;
      padding: 64px 1rem;
      flex-grow: 1; /* ここが重要！mainが足りないとき空きスペースを埋める */
    }
    .gold-title{
        font-size: 2.2rem;
    }
  
    main h1 {
      font-size: 1.5rem;
      text-align: center;
      margin-bottom: 1rem;
    }
  
    main p {
      font-size: 1.1rem;
      line-height: 1.6;
      text-align: center;
    }
    form label {
      display: block;
      font-size: 1.2rem;
      margin-bottom: 0.5rem;
    }
  
    form input[type="radio"] {
      margin-right: 0.5rem;
      transform: scale(1.2); /* ラジオボタンを少し大きく */
    }
  
    form button {
      font-size: 1.1rem;
      padding: 1rem;
      width: 100%;
      max-width: 300px;
      margin: 1rem auto;
      display: block;
    }

  }
  
  /* 購入後のありがとうページ */
  .thanks-container {
    max-width: 900px;
    margin: 2rem auto;
    text-align: center;
    padding: 2rem;
    font-size: 1.3rem;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    flex-grow: 1;
  }
  .thanks-icon {
    font-size: 5rem;
    color: #bfa74f; /* 落ち着いた金色 */
    margin-bottom: 1rem;
    animation: pop 0.5s ease-out;
  }
  @keyframes pop {
    0% { transform: scale(0); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
  }
  .thanks-img {
    position: fixed;
    bottom: 20rem;
    right: 50rem;
    width: 170px;
    height: auto;
    opacity: 0.9;
    z-index: 2;
    animation: gentleBow 3s ease-in-out infinite;
    transform-origin: bottom center;
  }
  @keyframes gentleBow {
    0%, 100% {
      transform: rotate(0deg);
    }
    50% {
      transform: rotate(-3deg);
    }
  }
  @media screen and (max-width: 768px) {
    .thanks-img {
      width: 150px;
      bottom: 20rem;
      right: 1rem;
    }
  }
  .horizontal-line {
    height: 1px;
    width: 100%;
    background: linear-gradient(
      to right,
      rgba(191, 167, 79, 0),   /* 左透明 */
      rgba(191, 167, 79, 0.6), /* 中間少し濃く */
      rgba(191, 167, 79, 1),   /* 中央濃い */
      rgba(191, 167, 79, 0.6), /* 中間少し濃く */
      rgba(191, 167, 79, 0)    /* 右透明 */
    );
    margin: 2rem 0;
  }
    
       .footer-bar {
        position: relative;
        background-image: url("img/back2.PNG");
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center;
        color: #fff;
        padding: 2rem 1rem 1rem;
        overflow: hidden;
        box-shadow: 0 -4px 7px rgba(0, 0, 0, 0.4);
      }
      
      .footer-bar::before {
        content: "";
        position: absolute;
        inset: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 0;
      }
      .footer-bar > * {
        position: relative;
        z-index: 1;
      }
      
      
      /* 横並び */
      .footer-inner {
        max-width: 1200px;
        margin: 0 auto;
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        gap: 2rem;
      }
      
      /* 左側ナビ */
      .footer-nav ul {
        list-style: none;
        padding: 0;
        margin: 0;
      }
      
      .footer-nav li {
        margin-bottom: 0.5rem;
      }
      
      .footer-nav a {
        color: #fff;
        text-decoration: none;
        transition: color 0.3s ease;
        font-size: 1.5rem;
      }
      
      .footer-nav a:hover {
        color: #bfa74f;
      }
      
      /* 右側 */
      .footer-info {
        text-align: right;
      }
      
      .instagram-icon {
        width: 32px;
        height: 32px;
        margin-bottom: 0.5rem;
      }
      
      .character-img {
        max-width: 100px;
        height: auto;
        padding: 2rem;
      }
      
      .character-caption {
        font-size: 0.7rem;
        line-height: 1.2;
        margin-top: 0.3rem;
        color: #ccc;
      }
      
      /* 著作権表記：中央揃え */
      .footer-copy {
        text-align: center;
        margin-top: 1rem;
        font-size: 1.3rem;
        color: #ffffff;
      }

      .footer-bar-short{
        text-align: center;
        padding:7px;
        background-color: #1c1c1c;
        color:white;
      }
      .footer-legal-link {
  text-align: center;
  margin-bottom: 0.5rem;
}

.footer-legal-link a {
  font-size: 1.2rem;
  color: #ccc;
  text-decoration: underline;
}

.footer-legal-link a:hover {
  color: #fff;
}


      .instagram-icon{
        padding: 2.5rem;
      }

  /* スマホ対応 */
  @media screen and (max-width: 768px) {
    .flex {
      flex-direction: column;
    }
    .column-2,.column-40,.column-55 {
        width: 100%
    }
    .header nav ul {
      flex-direction: column;
      width: 100%;
      gap: 0.5rem;
    }
  
    section {
        padding-left: 1rem;
        padding-right: 1rem;
        margin: 0 auto;
        box-sizing: border-box;
    }
    .text {
        padding: 0;
        margin: 0;
        width: 100%;
        text-align: left;
    }
     form{
        padding: 1rem;
     }
    
    
      form input[type="text"],
      form input[type="email"],
      form textarea {
        font-size: 1rem;
      }
    
      form button {
        width: auto;
        text-align: center;
        padding: 1rem 2rem;
        font-size: 1.1rem;
      }
      .footer-bar{
        font-size: 10px;
    }

   .footer-inner {
    flex-direction: row;            /* 横並びを維持 */
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    padding: 0 1rem;
  }

  .footer-nav,
  .footer-info {
    flex: 0 0 40%;                 /* 幅を45%ずつに制限 */
    max-width: 40%;
  }

  .footer-nav ul {
    padding-left: 0;
  }

  .footer-info {
    text-align: right;
  }

  .character-img {
    max-width: 100px;              /* キャラも少し縮めてスマホ向けに */
  }

  .instagram-icon {
    width: 60px;
    height: 60px;
  }
    .footer-copy {
      font-size: 1.1rem;
      margin-top: 1rem;
    }
  .info-table {
    font-size: 1.2rem; /* モバイルで少し小さく */
    padding: 1rem;
  }

  .info-table .row {
    display: block; /* 横並びから縦並びに */
    padding-bottom: 1.5rem;
  }

  .info-table .label {
    font-weight: bold;
    color: #7a5c2e;
    margin-bottom: 0.5rem;
  }

  .info-table .value {
    word-break: break-word;
  }
}

      
