/* OSK Web - グローバルスタイル */

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', sans-serif;
  background-color: #f2f2f7;
  color: #1c1c1e;
}

a {
  color: #007aff;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* ドキュメント系・カード系共通 */
.card {
  background: #ffffff;
  border-radius: 16px;
  padding: 40px 32px;
  max-width: 640px;
  width: 100%;
  margin: 0 auto;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}

/* ローディングスピナー */
.loading {
  text-align: center;
  padding: 60px 20px;
  color: #8e8e93;
}

.loading-spinner {
  width: 32px;
  height: 32px;
  border: 3px solid #e5e5ea;
  border-top-color: #2563EB;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 0 auto 12px;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* エラーカード */
.error-card {
  text-align: center;
  padding: 40px 20px;
}

.error-icon {
  font-size: 48px;
  margin-bottom: 12px;
}

.error-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

.error-msg {
  color: #8e8e93;
  font-size: 14px;
}

/* アプリバナー */
.app-banner {
  background: #1c1c1e;
  color: #fff;
  border-radius: 16px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.app-banner-text {
  font-size: 14px;
  color: #aeaeb2;
}

.app-banner-title {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 2px;
}

.app-banner-btn {
  background: #2563EB;
  color: #fff;
  border-radius: 20px;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.app-banner-btn:hover {
  text-decoration: none;
  opacity: 0.9;
}

/* セクション内カード */
.inner-card {
  background: #fff;
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 16px;
}

.section-title {
  font-size: 13px;
  font-weight: 600;
  color: #8e8e93;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
}

/* 情報行 */
.info-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 15px;
}

.info-row:last-child {
  margin-bottom: 0;
}

.info-icon {
  font-size: 16px;
  min-width: 20px;
  text-align: center;
  margin-top: 1px;
}

.info-value {
  color: #1c1c1e;
}

/* 評価 */
.rating-row {
  display: flex;
  align-items: center;
  gap: 6px;
}

.stars {
  color: #f4c430;
}

.rating-count {
  color: #8e8e93;
  font-size: 13px;
}

/* 営業時間テーブル */
.hours-table {
  width: 100%;
  font-size: 14px;
  border-collapse: collapse;
}

.hours-table td {
  padding: 4px 0;
}

.hours-table td:first-child {
  color: #8e8e93;
  width: 40px;
}

.today {
  font-weight: 700;
  color: #1c1c1e !important;
}

/* URLリスト */
.url-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.url-link {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #007AFF;
  text-decoration: none;
  font-size: 15px;
}

.url-link:hover {
  text-decoration: underline;
}

/* ナビゲーションボタン */
.nav-buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  border: none;
}

.btn:hover {
  text-decoration: none;
  opacity: 0.9;
}

.btn-primary {
  background-color: #2563EB;
  color: #fff;
}

.btn-secondary {
  background-color: #f2f2f7;
  color: #1c1c1e;
}
