// アイコン群（シンプルなラインアイコン）
const Icon = ({ children, size = 24, stroke = 1.6, color = "currentColor", style }) => (
  <svg width={size} height={size} viewBox="0 0 24 24" fill="none"
       stroke={color} strokeWidth={stroke} strokeLinecap="round" strokeLinejoin="round"
       style={style}>{children}</svg>
);
const IconPhone = (p) => <Icon {...p}><path d="M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72c.13.96.36 1.9.7 2.81a2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45c.91.34 1.85.57 2.81.7A2 2 0 0 1 22 16.92z"/></Icon>;
const IconClock = (p) => <Icon {...p}><circle cx="12" cy="12" r="10"/><polyline points="12 6 12 12 16 14"/></Icon>;
const IconYen = (p) => <Icon {...p}><path d="M6 4l6 8 6-8"/><path d="M6 12h12"/><path d="M6 16h12"/><path d="M12 12v8"/></Icon>;
const IconShield = (p) => <Icon {...p}><path d="M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z"/><path d="M9 12l2 2 4-4"/></Icon>;
const IconHeart = (p) => <Icon {...p}><path d="M20.84 4.61a5.5 5.5 0 0 0-7.78 0L12 5.67l-1.06-1.06a5.5 5.5 0 0 0-7.78 7.78l1.06 1.06L12 21.23l7.78-7.78 1.06-1.06a5.5 5.5 0 0 0 0-7.78z"/></Icon>;
const IconMapPin = (p) => <Icon {...p}><path d="M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z"/><circle cx="12" cy="10" r="3"/></Icon>;
const IconMail = (p) => <Icon {...p}><rect x="2" y="4" width="20" height="16" rx="2"/><path d="M22 7l-10 6L2 7"/></Icon>;
const IconLine = ({ size = 24 }) => (
  <svg width={size} height={size} viewBox="0 0 24 24" fill="currentColor">
    <path d="M19.365 9.89c.401 0 .737.335.737.737 0 .401-.336.737-.737.737h-2.05v1.312h2.05c.401 0 .737.336.737.738 0 .4-.336.736-.737.736h-2.787a.738.738 0 0 1-.737-.736V7.836c0-.4.336-.737.737-.737h2.787c.401 0 .737.337.737.737 0 .401-.336.737-.737.737h-2.05V9.89h2.05zm-4.476 3.523a.738.738 0 0 1-.738.736.74.74 0 0 1-.59-.295l-2.852-3.876v3.435a.738.738 0 0 1-.737.736.738.738 0 0 1-.737-.736V7.836c0-.317.21-.6.5-.7a.728.728 0 0 1 .832.27l2.876 3.892V7.836c0-.4.336-.737.737-.737.401 0 .737.337.737.737v5.577h-.028zm-6.55 0a.738.738 0 0 1-.737.736.74.74 0 0 1-.737-.736V7.836c0-.4.336-.737.737-.737.4 0 .738.337.738.737v5.577zm-2.523 0a.738.738 0 0 1-.737.736H2.292a.74.74 0 0 1-.737-.736V7.836c0-.4.336-.737.737-.737.401 0 .737.337.737.737v4.84h2.05c.4 0 .737.337.737.737M24 10.314C24 4.943 18.615.572 12 .572S0 4.943 0 10.314c0 4.811 4.27 8.842 10.035 9.608.391.083.923.258 1.058.594.121.305.079.778.039 1.09l-.165 1.025c-.04.305-.245 1.196 1.06.652 1.305-.546 7.034-4.143 9.595-7.092C23.391 14.245 24 12.36 24 10.314"/>
  </svg>
);
const IconInstagram = ({ size = 22 }) => (
  <svg width={size} height={size} viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="1.6">
    <rect x="3" y="3" width="18" height="18" rx="5"/>
    <circle cx="12" cy="12" r="4"/>
    <circle cx="17.5" cy="6.5" r="0.8" fill="currentColor"/>
  </svg>
);
const IconFacebook = ({ size = 22 }) => (
  <svg width={size} height={size} viewBox="0 0 24 24" fill="currentColor">
    <path d="M22 12c0-5.5-4.5-10-10-10S2 6.5 2 12c0 5 3.66 9.13 8.44 9.88V14.9H7.9V12h2.54V9.8c0-2.51 1.49-3.89 3.78-3.89 1.09 0 2.24.2 2.24.2v2.46h-1.26c-1.24 0-1.63.77-1.63 1.56V12h2.78l-.45 2.9h-2.34v6.98C18.34 21.13 22 17 22 12z"/>
  </svg>
);
const IconArrowRight = (p) => <Icon {...p}><line x1="5" y1="12" x2="19" y2="12"/><polyline points="12 5 19 12 12 19"/></Icon>;
const IconCheck = (p) => <Icon {...p}><polyline points="20 6 9 17 4 12"/></Icon>;
const IconCar = (p) => <Icon {...p}><path d="M3 17h2v2a1 1 0 0 0 1 1h2a1 1 0 0 0 1-1v-2h6v2a1 1 0 0 0 1 1h2a1 1 0 0 0 1-1v-2h2v-5l-2-5H5l-2 5v5z"/><circle cx="7.5" cy="14.5" r="1.5"/><circle cx="16.5" cy="14.5" r="1.5"/></Icon>;
const IconWheelchair = (p) => <Icon {...p}><circle cx="11" cy="5" r="2"/><path d="M11 7v5h6l1 4"/><path d="M17 19a5 5 0 1 1-5-5"/></Icon>;
const IconCalendar = (p) => <Icon {...p}><rect x="3" y="4" width="18" height="18" rx="2"/><line x1="16" y1="2" x2="16" y2="6"/><line x1="8" y1="2" x2="8" y2="6"/><line x1="3" y1="10" x2="21" y2="10"/></Icon>;
const IconHospital = (p) => <Icon {...p}><path d="M3 21V8l9-5 9 5v13"/><path d="M3 21h18"/><path d="M12 10v6"/><path d="M9 13h6"/></Icon>;

Object.assign(window, {
  IconPhone, IconClock, IconYen, IconShield, IconHeart, IconMapPin, IconMail,
  IconLine, IconInstagram, IconFacebook, IconArrowRight, IconCheck, IconCar,
  IconWheelchair, IconCalendar, IconHospital
});
