// iPhoneまたは、Androidの場合は振り分けを判断
if (document.referrer.indexOf('kumadaclinic.com') == -1 && ((navigator.userAgent.indexOf('iPhone') > 0 && navigator.userAgent.indexOf('iPad') == -1) || navigator.userAgent.indexOf('iPod') > 0 || navigator.userAgent.indexOf('Android') > 0)) {
    location.href = 'http://www.kumadaclinic.com/iphone/index.html';
}

