/* リセット */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
.notice-item + .notice-item {
  border-top: 1px solid #eee;
}
.logo img {
  height: 50px;
}
body {
  font-family: "Times New Roman", serif;
  color: #333;
  line-height: 1.6;
  background-color: #f9f9f9;
}

/* コンテナ */
.container {
  max-width: 1500px;;
  margin: 0 auto;
  padding: 0 20px;
}

/* ヘッダー */
header {
  background-color: #111;
  color: #fcd34d;
  padding: 15px 0;
}
header .logo {
  font-size: 1.8rem;
  font-weight: bold;
  white-space: nowrap;
}
header .nav-links a {
  margin: 0 15px;
  color: #fff;
  text-decoration: none;
  transition: color 0.3s;
}
header .nav-links a:hover {
  color: #fcd34d;
}
header .language-switch button {
  margin-left: 10px;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
}
header .language-switch button:hover {
  color: #fcd34d;
}
.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.chat-container {
  max-width: 600px;
  margin: auto;
  background: #e5f0ff;
  padding: 10px;
}

.message {
  margin-bottom: 8px;
}

.user {
  font-weight: bold;
  margin-right: 5px;
}

.text {
  background: #fff;
  padding: 6px 10px;
  border-radius: 8px;
}

.input-box {
  display: flex;
  margin-top: 10px;
}

/* フッター */
footer {
  background-color: #111;
  color: #fcd34d;
  padding: 40px 0;
  text-align: center;
}
footer a {
  color: #fcd34d;
  text-decoration: none;
  margin: 0 5px;
}
footer a:hover {
  text-decoration: underline;
}
.hero {
  position: relative;
  height: 60vh;
  background:
    linear-gradient(rgba(0,0,0,0.55), rgba(0,0,0,0.55)),
    url("../images/mattya.png") center / cover no-repeat;
}
.trinity {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1200px;
  margin: 80px auto;
  padding: 0 20px;
}

.trinity-item {
  text-align: center;
}

.trinity-item img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.25);
}

.trinity-item h3 {
  margin-top: 20px;
  font-size: 1.3rem;
  letter-spacing: 0.1em;
}

.trinity-item p {
  font-size: 0.9rem;
  opacity: 0.85;
}
@media (max-width: 768px) {
  .trinity {
    grid-template-columns: repeat(3, 80%);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }

  .trinity-item {
    scroll-snap-align: center;
  }
}

/* レスポンシブ */
@media (max-width: 768px) {
  .cards {
    flex-direction: column;
    align-items: center;
  }
  .header-container {
    flex-direction: column;
    gap: 10px;
  }
}
.btn-orange {
  display: inline-block;
  padding: 10px 18px;
  background-color: #ff8c00;   /* オレンジ */
  color: white;
  text-decoration: none;
  font-weight: bold;
  border-radius: 9999px;  /* ← ここがポイント */
  transition: background-color 0.2s ease, transform 0.1s ease;
}

.btn-orange:hover {
  background-color: #ff7400;
  transform: translateY(-1px);
}

.btn-orange:active {
  transform: translateY(0);
}
.header-login {
  position: absolute;
  top: 15px;
  right: 20px;
}
/*ベルマーク*/
.header {
  height: 50px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 0 16px;
  background: #fff;
  border-bottom: 1px solid #ddd;
}

.nav-links .bell {
  position: relative;
  width: 28px;              /* ← 幅を固定 */
  height: 28px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  display: inline-flex;
}
.bell-icon {
  display: block;           /* ← inline をやめる */
  font-size: 22px;
  line-height: 1;
}


@keyframes bell-blink {
  0%   { transform: rotate(0deg); }
  25%  { transform: rotate(-15deg); }
  50%  { transform: rotate(15deg); }
  75%  { transform: rotate(-10deg); }
  100% { transform: rotate(0deg); }
}

/* 🔴 未読バッジ */
.bell-badge {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 9px;
  height: 9px;
  background: red;
  border-radius: 50%;
}

.hidden {
  display: none;
}
@keyframes bell-shake {
  0%   { transform: rotate(0); }
  10%  { transform: rotate(15deg); }
  20%  { transform: rotate(-15deg); }
  30%  { transform: rotate(10deg); }
  40%  { transform: rotate(-10deg); }
  50%  { transform: rotate(5deg); }
  60%  { transform: rotate(-5deg); }
  100% { transform: rotate(0); }
}

.bell-icon.shake {
  animation: bell-shake 0.6s ease-in-out;
  transform-origin: top center;
}
/*ベルマーク*/
.bell-popup {
  position: absolute;
  top: 36px;
  right: 0;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 13px;
  color: #333;
  box-shadow: 0 6px 18px rgba(0,0,0,.15);
  white-space: nowrap;
  z-index: 1000;
}
.bell-popup {
  position: absolute;
  top: 36px;
  right: 0;
  width: 260px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  z-index: 9999;
  padding: 6px 0;
}

/* 非表示 */
.bell-popup.hidden {
  display: none;
}

/* 🔔 通知1件 */
.notice-item {
  padding: 10px 14px;
  font-size: 14px;
  line-height: 1.4;
  cursor: pointer;
  white-space: normal;     /* 折り返しOK */
  word-break: break-word;  /* 日本語対応 */
}

/* hover */
.notice-item:hover {
  background: #f5f5f5;
}

/* 区切り線（複数件時） */
.notice-item + .notice-item {
  border-top: 1px solid #eee;
}
.bell {
  position: relative;
  cursor: pointer;
}


.hero-overlay {
   /* position: absolute; */
  inset: 0;
  background-color: rgba(0,0,0,0.5);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #fff;
}
.hero-overlay h1 {
  font-size: 3rem;
  margin-bottom: 20px;
}
.cta-btn {
  background-color: #fcd34d;
  color: #111;
  padding: 10px 25px;
  text-decoration: none;
  font-weight: bold;
  border-radius: 5px;
  transition: background 0.3s;
}
.cta-btn:hover {
  background-color: #fbbf24;
}

/* 体験・商品紹介 */
.experiences {
  padding: 80px 0;
  text-align: center;
  background-color: #f9f9f9;
}
.experiences h2 {
  font-size: 2.5rem;
  margin-bottom: 50px;
}
.cards {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}
.card {
  background: #fff;
  width: 300px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s, box-shadow 0.3s;
  padding-bottom: 15px;
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}
.card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}
.card h3 {
  font-size: 1.3rem;
  margin: 15px 0 10px;
}
.card p {
  padding: 0 15px 10px;
  font-size: 0.95rem;
}
.card a {
  display: inline-block;
  margin: 0 0 10px;
  color: #fcd34d;
  text-decoration: none;
}
.card a:hover {
  text-decoration: underline;
}
.special-experience a {
  display: inline-block;
  margin: 3px 5px;
}

/* 予約フォーム */
.booking {
  padding: 80px 0;
  background-color: #fff;
  text-align: center;
}
.booking h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}
.booking form {
  max-width: 400px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.booking input, .booking select {
  padding: 12px;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 5px;
}
.booking button {
  padding: 12px;
  font-size: 1rem;
  font-weight: bold;
  background-color: #fcd34d;
  color: #111;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s;
}
.booking button:hover {
  background-color: #fbbf24;
}

/* フッター */
footer {
  background-color: #111;
  color: #fcd34d;
  padding: 40px 0;
  text-align: center;
}
footer a {
  color: #fcd34d;
  text-decoration: none;
  margin: 0 5px;
}
footer a:hover {
  text-decoration: underline;
}
.hero {
  position: relative;
  height: 60vh;
  background:
    linear-gradient(rgba(0,0,0,0.55), rgba(0,0,0,0.55)),
    url("../images/mattya.png") center / cover no-repeat;
}
.trinity {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1200px;
  margin: 80px auto;
  padding: 0 20px;
}

.trinity-item {
  text-align: center;
}

.trinity-item img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.25);
}

.trinity-item h3 {
  margin-top: 20px;
  font-size: 1.3rem;
  letter-spacing: 0.1em;
}

.trinity-item p {
  font-size: 0.9rem;
  opacity: 0.85;
}
@media (max-width: 768px) {
  .trinity {
    grid-template-columns: repeat(3, 80%);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }

  .trinity-item {
    scroll-snap-align: center;
  }
}

/* レスポンシブ */
@media (max-width: 768px) {
  .cards {
    flex-direction: column;
    align-items: center;
  }
  .header-container {
    flex-direction: column;
    gap: 10px;
  }
}
.btn-orange {
  display: inline-block;
  padding: 10px 18px;
  background-color: #ff8c00;   /* オレンジ */
  color: white;
  text-decoration: none;
  font-weight: bold;
  border-radius: 9999px;  /* ← ここがポイント */
  transition: background-color 0.2s ease, transform 0.1s ease;
}

.btn-orange:hover {
  background-color: #ff7400;
  transform: translateY(-1px);
}

.btn-orange:active {
  transform: translateY(0);
}
.header-login {
  position: absolute;
  top: 15px;
  right: 20px;
}

/* �q�[���[�Z�N�V���� */
.hero {
  position: relative;
  height: 50vh;
  background: url('https://source.unsplash.com/1600x900/?japan,fortune,calligraphy') center/cover no-repeat;
}
.hero-overlay {
   /* position: absolute; */
  inset: 0;
  background-color: rgba(0,0,0,0.6);
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-text {
  max-width: 600px; /* ���������� */
  text-align: center;
  color: #fff;
  padding: 20px;
}
.hero-text h1 {
  font-size: 2.5rem;
  margin-bottom: 15px;
}
.hero-text p {
  font-size: 1.1rem;
}

/* �肢�E���Ď��t�H�[�� */
.fortune-section {
  padding: 60px 20px;
  max-width: 400px;   /* �t�H�[�������� */
  margin: 0 auto;     /* �y�[�W���� */
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  text-align: center;
}
.fortune-section h2 {
  font-size: 2rem;
  margin-bottom: 30px;
}
.section-title {
  font-size: 1.8rem;
  letter-spacing: 0.08em;
  margin-bottom: 30px;
}
.fortune-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.fortune-form label {
  display: block;
  text-align: left;
  font-weight: bold;
  margin-bottom: 5px;
}
.fortune-form input {
  width: 100%;
  padding: 12px;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 5px;
}
.fortune-form button {
  width: 100%;
  padding: 12px;
  font-size: 1rem;
  font-weight: bold;
  background-color: #fcd34d;
  color: #111;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s;
}
.fortune-form button:hover {
  background-color: #fbbf24;
}
.result {
  margin-top: 30px;
  font-size: 1.2rem;
  font-weight: bold;
  text-align: center;
}

/* �t�b�^�[ */
footer {
  background-color: #111;
  color: #fcd34d;
  padding: 40px 0;
  text-align: center;
}
footer a {
  color: #fcd34d;
  text-decoration: none;
  margin: 0 5px;
}
footer a:hover {
  text-decoration: underline;
}
.fortune-section {
  position: relative;
  padding: 80px 20px;
  max-width: 420px;
  margin: 80px auto;
  /*background-image: url("images/onmyoji-divination.jpg");*/
  background-size: cover;
  background-position: center;
  border-radius: 12px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.35);
  color: #fff;
}

/* ���������ǂ߂�悤�ɈÖ����d�˂� */
.fortune-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
  border-radius: 12px;
  z-index: 0;
}

.fortune-section > * {
  position: relative;
  z-index: 1;
}
.fortune-visual img {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 25px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}
.autocomplete-suggestion {
  padding: 10px;
  cursor: pointer;
  color: #111;             /* �� �����F��Z���߂Ɏw�� */
  background-color: #fff;  /* �� �w�i�͔��̂܂� */
}

.autocomplete-suggestion:hover {
  background-color: #f0f0f0;
  color: #000;             /* �� �z�o�[���̕����F */
}
.result-box {
  max-width: 420px;
  margin: 40px auto;
  padding: 20px;
}

.result-box img {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
}

.ateji-list li {
  display: flex;
}

.ateji-list .kanji {
  width: 2em;      /* �����������d�v */
  font-weight: bold;
}
/* �� ��������p�]�[�� */
.fortune-section .section,
.fortune-section .ateji-list,
.fortune-section .ateji-list li,
.fortune-section .result-box {
  text-align: left;
}
/* === ���CTA�{�^�� === */
.cta-seal-button {
  display: block;
  width: 100%;
  margin: 30px auto 10px;
  padding: 16px 20px;

  font-family: "Times New Roman", serif;
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  font-weight: bold;

  color: #111;
  background: linear-gradient(135deg, #fcd34d, #fbbf24);
  border: none;
  border-radius: 999px; /* �� ������ */
  cursor: pointer;

  box-shadow:
    0 8px 20px rgba(0,0,0,0.25),
    inset 0 1px 0 rgba(255,255,255,0.6);

  transition: 
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease;
}

.cta-seal-button:hover {
  transform: translateY(-2px);
  box-shadow:
    0 12px 30px rgba(0,0,0,0.35),
    inset 0 1px 0 rgba(255,255,255,0.7);
}

.cta-seal-button:active {
  transform: translateY(0);
  box-shadow:
    0 6px 15px rgba(0,0,0,0.3),
    inset 0 2px 4px rgba(0,0,0,0.2);
}
.kanji {
  font-size: 40px;   /* �D���ȃT�C�Y�� */
  font-weight: bold; /* �C�� */
}

    /* フォーム中央寄せ + ヒーローキャッチコピー狭め */
    body {
      font-family: "Times New Roman", serif;
      background-color: #f9f9f9;
      margin: 0;
    }
    .fortune-section {
      padding: 60px 20px;
      max-width: 400px;
      margin: 0 auto;
      background-color: #fff;
      border-radius: 10px;
      box-shadow: 0 4px 15px rgba(0,0,0,0.1);
      text-align: center;
    }
    .fortune-form {
      display: flex;
      flex-direction: column;
      gap: 15px;
    }
    .fortune-form label {
      display: block;
      text-align: left;
      font-weight: bold;
      margin-bottom: 5px;
    }
    .fortune-form input {
      width: 100%;
      padding: 12px;
      font-size: 1rem;
      border: 1px solid #ccc;
      border-radius: 5px;
    }
    .fortune-form button {
      width: 100%;
      padding: 12px;
      font-size: 1rem;
      font-weight: bold;
      background-color: #fcd34d;
      color: #111;
      border: none;
      border-radius: 5px;
      cursor: pointer;
      transition: background 0.3s;
    }
    .fortune-form button:hover {
      background-color: #fbbf24;
    }
    .autocomplete-suggestions {
      border: 1px solid #ccc;
      border-top: none;
      max-height: 150px;
      overflow-y: auto;
      position: absolute;
      width: 100%;
      background-color: #fff;
      z-index: 1000;
    }
    .autocomplete-suggestion {
      padding: 10px;
      cursor: pointer;
    }
    .autocomplete-suggestion:hover {
      background-color: #f0f0f0;
    }
    .result {
      margin-top: 30px;
      font-size: 1.2rem;
      font-weight: bold;
    }
    .autocomplete-wrapper {
      position: relative;
      width: 100%;
    }