/* リミックスアイコン用モンキーパッチ */
:where([class^="ri-"])::before { content: "\f3c2"; }

/* ベース */
body {
  font-family: 'Noto Sans JP', sans-serif;
}

/* ヒーロー */
.hero-section {
  background-position: center;
  background-size: cover;
  position: relative;
}
.hero-overlay {
  background: linear-gradient(90deg,
    rgba(255,255,255,0.95) 0%,
    rgba(255,255,255,0.85) 50%,
    rgba(255,255,255,0.3) 100%);
}

/* フローティングCTA */
.floating-cta {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 100;
}

/* フォーカス時 */
input:focus,
textarea:focus {
  outline: none;
  border-color: #0066cc;
}

/* カスタムチェックボックス */
.custom-checkbox {
  position: relative;
  display: flex;
  align-items: center;
  cursor: pointer;
}
.custom-checkbox input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}
.checkmark {
  height: 20px;
  width: 20px;
  background-color: #fff;
  border: 2px solid #ddd;
  border-radius: 4px;
  margin-right: 8px;
}
.custom-checkbox input:checked ~ .checkmark {
  background-color: #0066cc;
  border-color: #0066cc;
}
.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}
.custom-checkbox input:checked ~ .checkmark:after {
  display: block;
}
/* 統合されたチェックマークスタイル */
.custom-checkbox .checkmark:after {
  left: 7px;
  top: 3px;
  width: 6px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* スイッチトグル */
.switch {
  position: relative;
  display: inline-block;
  width: 48px;
  height: 24px;
}
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: .4s;
  border-radius: 24px;
}
.slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: .4s;
  border-radius: 50%;
}
input:checked + .slider {
  background-color: #0066cc;
}
input:checked + .slider:before {
  transform: translateX(24px);
}

/* プライバシーポリシーページ */
.privacy-policy * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.privacy-policy .container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.privacy-policy .header {
    background: linear-gradient(135deg, #0066cc 0%, #004499 100%);
    color: white;
    padding: 40px 0;
    text-align: center;
    margin-bottom: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 102, 204, 0.2);
}

/* プライバシーポリシー専用スタイル */

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

body {
    font-family: 'Noto Sans JP', sans-serif;
    line-height: 1.8;
    color: #333;
    background-color: #f8f9fa;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.header {
    background: linear-gradient(135deg, #0066cc 0%, #004499 100%);
    color: white;
    padding: 40px 0;
    text-align: center;
    margin-bottom: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 102, 204, 0.2);
}

.header h1 {
    font-size: 2.5em;
    margin-bottom: 10px;
    font-weight: 700;
}

.header p {
    font-size: 1.1em;
    opacity: 0.9;
}

.content {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 40px;
}

.section {
    margin-bottom: 40px;
}

.section h2 {
    color: #0066cc;
    font-size: 1.5em;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #0066cc;
    font-weight: 600;
}

.section h3 {
    color: #004499;
    font-size: 1.2em;
    margin-bottom: 15px;
    margin-top: 25px;
    font-weight: 600;
}

.section p {
    margin-bottom: 15px;
    line-height: 1.8;
}

.section ul {
    margin-left: 20px;
    margin-bottom: 15px;
}

.section li {
    margin-bottom: 8px;
}

.highlight {
    background: #e3f2fd;
    padding: 20px;
    border-left: 4px solid #0066cc;
    margin: 20px 0;
    border-radius: 5px;
}

.contact-info {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 8px;
    border: 1px solid #dee2e6;
    margin: 20px 0;
}

.contact-info h4 {
    color: #0066cc;
    margin-bottom: 15px;
    font-size: 1.1em;
    font-weight: 600;
}

.contact-info p {
    margin-bottom: 8px;
    font-weight: 500;
}

.back-link {
    text-align: center;
    margin-top: 40px;
    padding: 20px;
}

.back-link a {
    display: inline-block;
    background: #0066cc;
    color: white;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 102, 204, 0.3);
}

.back-link a:hover {
    background: #004499;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 102, 204, 0.4);
}

.footer {
    text-align: center;
    padding: 20px;
    color: #666;
    font-size: 0.9em;
}

@media (max-width: 768px) {
    .container {
        padding: 10px;
    }
    
    .header h1 {
        font-size: 2em;
    }
    
    .content {
        padding: 20px;
    }
    
    .section h2 {
        font-size: 1.3em;
    }
}