@charset "utf-8";
/* CSS Document */

//* ===== BASE STYLES ===== */

/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: "Noto Sans JP", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-size: 16px;
  line-height: 1.7;
  color: #333;
  background-color: #f8f9fa;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 1rem;
}

h2 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

h3 {
  font-size: 1.3rem;
  margin-bottom: 1.2rem;
}

h4 {
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1.2rem;
  padding: 0 0.5rem;
}

/* Links */
a {
  color: #007bff;
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: #0056b3;
  text-decoration: underline;
}

.external-link::after {
  content: " \f35d";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 0.8em;
  margin-left: 0.3rem;
}

/* Lists - リセットしてカスタム実装 */
ul, ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Images */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Utility Classes */
.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

.font-weight-bold {
  font-weight: 600;
}

.font-weight-normal {
  font-weight: 400;
}

.attention {
  color: #dc3545 !important;
  font-weight: 700;
  font-size: 1.1em;
  background: #fff5f5;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  border: 1px solid #f8d7da;
  display: inline-block;
  margin: 0 0.1rem;
}

.highlight {
  background-color: #fff3cd;
  padding: 0.75rem 1rem;
  border-radius: 0.25rem;
  border-left: 4px solid #ffc107;
  margin: 0.5rem 0;
}

.price {
  font-size: 1.2em;
  font-weight: 600;
  color: #28a745;
}

.note {
  font-size: 0.9rem;
  color: #6c757d;
  font-style: italic;
  padding: 0.5rem 1rem;
}

.warning {
  color: #dc3545;
  font-weight: 500;
}

/* Screen Reader Only */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Focus Styles */
*:focus {
  outline: 2px solid #007bff;
  outline-offset: 2px;
}

/* Print Styles */
@media print {
  body {
    background: white;
    color: black;
    font-size: 12pt;
  }
  
  .no-print {
    display: none !important;
  }
  
  a {
    color: black;
    text-decoration: underline;
  }
  
  .info-card,
  .content-box {
    border: 1px solid #000;
    break-inside: avoid;
  }
}