@charset "utf-8";

* {
  box-sizing: border-box;
  border: none;
  margin: 0;
  padding: 0;
}

:root {
  /* 背景色 */
  --bg-color: #f5f5f5;
  --bg-white: #ffffff;
  --bg-input: #f0f0f0;
  --bg-input-focus: #e8e8e8;
  --bg-modal-search-focus: #f9f9f9;

  /* テキスト色 */
  --text-color: #333;
  --text-secondary: #666;
  --text-white: #ffffff;
  --text-placeholder: #999;

  /* ボタン・インタラクション */
  --primary-green: #34a853;
  --primary-green-hover: #2d8e47;
  --search-orange: #ff9500;
  --search-orange-hover: #ff8800;
  --search-orange-active: #e68700;
  --button-color: #ccc;
  --button-hover-color: #bbb;

  /* ボーダー・区切り線 */
  --border-color: #ddd;
  --border-light: #eee;

  /* シャドウ */
  --shadow-overlay: rgba(0, 0, 0, 0.5);
  --shadow-card: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-elevation: 0 2px 8px rgba(0, 0, 0, 0.15);

  --bg-color: #f4f7fb;
  --bg-white: #ffffff;
  --surface: #ffffff;
  --text-color: #1f2937;
  --text-secondary: #6b7280;
  --primary: #2563eb;
  --primary-hover: #1d4ed8;
  --line-color: #dbe3f0;
  --shadow: 0 12px 30px rgba(15, 23, 42, 0.12);
  --modal-overlay: rgba(15, 23, 42, 0.55);
}

html {
  font-size: 62.5%;
}

body {
  font-family: "Noto sans JP", sans-serif;
  background-color: var(--bg-color);
  color: var(--text-color);
  padding: 0;
}

header {
  background-color: var(--bg-white);
  padding: 16px;
  box-shadow: var(--shadow-elevation);
  position: sticky;
  top: 0;
  z-index: 100;
}
header h1 {
  font-size: 2rem;
  color: var(--text-color);
}
img {
  object-fit: cover;
}
/* Chrome, Safari用 */
::-webkit-scrollbar {
  display: none;
}
dialog {
  justify-self: center;
  align-self: center;
  border: none;
  border-radius: 8px;
  padding: 20px;
  width: 80%;
  text-align: center;
  initial-letter: 1rem;
}
/* 背景（暗転部分）のスタイル */
dialog::backdrop {
  background-color: rgba(0, 0, 0, 0.5);
}
dialog h2 {
  font-size: 2rem;
  color: var(--search-orange);
}
dialog p {
  font-size: 1.5rem;
  padding: 1rem;
}
dialog button {
  align-self: auto;
  justify-self: center;
  padding: 0.5rem 1rem;
  margin: 0.5rem 0;
  background-color: var(--bg-white);
  border: var(--text-secondary) 1px solid;
  border-radius: 8px;
}
